The present invention generally relates to the field of detecting temperature of a central processing unit (CPU) of a computer system, and more particularly to an apparatus and method for regulating the temperature of the CPU.
Generally, a CPU of a computer system may include thousands, or hundreds of thousands, or even millions of transistors in a single package. Much current flows through the numerous transistors at an extremely high rate each second, which may cause overheating problem of the CPU. Overheating of the CPU not only risks shortening the useful lifetime of the CPU, but also possibly leads to failure of the computer system. Overheating of CPUs has already been a significant problem for many years. It is generally accepted that the operating speed capabilities of CPUs will continue to increase in future, and that the problem of overheating of CPUs is likely to approach even larger.
In order to measure temperature of a CPU in a computer system, some computer manufacturers install a plurality of temperature sensors near or on the CPU of the computer system. However, if the sensing mode of some temperature sensors does not match to the outputting mode of the CPU, the temperature measuring way will lose its efficiency. For example, sometimes the temperature of the CPU is very high, while the temperature detected by the temperature sensor is low. That is, the temperature measuring way can not accurately measure the temperature of the CPU.
What is needed, therefore, is an apparatus and method for regulating temperature of a CPU, which can detect a temperature of the CPU of the computer system, and dynamically regulate the temperature of the CPU according to the temperature detected by a temperature sensor so as to lower the temperature of the computer system.
An apparatus for regulating temperature of a central processing unit (CPU) of a computer system in accordance with a preferred embodiment includes a temperature sensor, a timer interruption generator, a timer interruption processing module, and a temperature monitor. Wherein the timer interruption processing module may be embedded in a basic input output system (BIOS), or any other suitable application of the computer system.
The temperature sensor is used for obtaining a current temperature of the CPU, and transforming the current temperature into corresponding temperature parameters. The timer interruption generator is used for setting a time interval, and generating a timer interruption signal at each time interval. The timer interruption processing module is used for calculating an appropriate temperature value according to the temperature parameters from the temperature sensor when a timer interruption signal is received from the timer interruption generator, and transmitting the temperature value to the temperature monitor. The temperature monitor is used for automatically regulating the current temperature of the CPU according to the calculated temperature value.
Another preferred embodiment provides a computerized method for regulating temperature of a CPU of a computer system by utilizing the above apparatus. The method includes the steps of: (a) setting a time interval; (b) generating a timer interruption signal at each time interval; (c) obtaining a current temperature of the CPU; (d) transforming the current temperature to corresponding temperature parameters; (e) determining whether a timer interruption signal has been received; (f) processing the timer interruption signal and obtaining the temperature parameters, if the timer interruption signal has been received; (g) calculating an appropriate temperature value according to the obtained temperature parameters; and (h) regulating the current temperature of the CPU according to the calculated temperature value.
In summary, the apparatus and method for regulating temperature of a CPU can detect temperatures of the CPU of the computer, and dynamically regulate the temperature of the CPU according to the temperature detected by the temperature sensor.
Other advantages and novel features of the embodiments will be drawn from the following detailed description with reference to the attached drawings, in which:
The CPU 10 generates heat when executing various programs (such as an operating system, or other applications) installed in the computer system, and the heat can be sensed by the temperature sensor 11. The temperature sensor 11 obtains a current temperature of the CPU 10 according to the heat, and transforms the current temperature into corresponding temperature parameters for processing by the timer interruption processing module 13. The timer interruption generator 12 is used for setting a time interval for each two timer interruptions (such as 8 seconds), generating a timer interruption signal at each time interval, and sending the timer interruption signal to the timer interruption processing module 13. The timer interruption processing module 13 is used for calculating an appropriate temperature value according to the temperature parameters from the temperature sensor 11 when a timer interruption signal is received from the timer interruption generator 12, and transmitting the temperature value to the temperature monitor 14. The temperature monitor 14 is used for automatically regulating the current temperature of the CPU 10 to the calculated temperature value.
According to step S33 described above, if the interruption signal is not a timer interruption signal, in step S37, the CPU 10 executes a corresponding interruption program to process the interruption signal. In step S38, the CPU 10 determines whether an end command for exiting the OS has been received. If the CPU 10 has not received such end command, the procedure returns to step S31. Otherwise, if the CPU 10 has received such end command, the procedure is finished.
Although the present invention has been specifically described on the basis of a preferred embodiment and preferred method, the invention is not to be construed as being limited thereto. Various changes or modifications may be made to the embodiment and method without departing from the scope and spirit of the invention.
Number | Date | Country | Kind |
---|---|---|---|
094105766 | Feb 2005 | TW | national |