CN100565469C - Method and device for detecting temperature of CPU - Google Patents

Method and device for detecting temperature of CPU Download PDF

Info

Publication number
CN100565469C
CN100565469C CN 200510023074 CN200510023074A CN100565469C CN 100565469 C CN100565469 C CN 100565469C CN 200510023074 CN200510023074 CN 200510023074 CN 200510023074 A CN200510023074 A CN 200510023074A CN 100565469 C CN100565469 C CN 100565469C
Authority
CN
Grant status
Grant
Patent type
Prior art keywords
method
device
detecting
temperature
cpu
Prior art date
Application number
CN 200510023074
Other languages
Chinese (zh)
Other versions
CN1991781A (en )
Inventor
刘大鹏
Original Assignee
联想(北京)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Grant date

Links

Abstract

本发明提供一种侦测CPU温度的装置和方法。 The present invention provides an apparatus and method for detecting the temperature of the CPU. 该装置包括CPU内部测温传感器和控制器,其中所述的控制器包括温度侦测模块,该温度侦测模块用于侦测CPU实时温度值;所述的控制器还包括电流侦测模块和计算模块,所述的电流侦测模块用于侦测CPU实时电流值并把侦测的结果输入到计算模块中,所述的计算模块用于将从温度侦测模块输出的CPU实时温度值和从电流侦测模块输出的实时电流值进行数据分析处理得到CPU实时温度修正值,并将该温度修正值输入到受控设备中。 The apparatus includes a CPU internal temperature sensor and a controller, wherein said controller includes a temperature detection module, the temperature detection means for detecting the value of real-time temperature CPU; said controller further includes a current detection module, and calculating module, a current detection means for detecting a real current value detected CPU and the result is input to the calculation module, a module for calculating the real time temperature value from the temperature detection module CPU and output data from real-time analysis module outputs a detection current value of the CPU in real time to give a temperature correction value, and inputs the temperature correction value to the controlled device. 该方法在原有温控侦测方法的基础上,增加侦测CPU电流的实时信号,并采用有效的数值分析方法,准确而实时的跟踪CPU热量变化,能够更好的反映CPU温度,提高温度侦测的实时性和准确性。 The temperature control method based on the original method of detecting the increase of real-time signal detection current CPU, and using the numerical analytical method effective, accurate and real-time tracking CPU thermal change, to better reflect the CPU temperature, increasing the temperature investigation real-time measurement and accuracy.

Description

一种侦测CPU温度的方法和装置 A method and apparatus for detecting temperature CPU

技术领域 FIELD

木发明涉及一种侦测温度的方法和装置,特别是涉及一种侦测CPU温度 Wood invention relates to a method and apparatus for detecting temperature, particularly to a temperature detection CPU

的方法和装置。 Method and apparatus. 背景技术 Background technique

计算机系统散热是现代计算机技术的重要组成部分。 Computer cooling system is an important part of modern computer technology. 随着快速计算技术 With the rapid computing technology

的发展,CPU的主频和功耗不断提升,散热方面的要求也日渐突出,温度控 Development, CPU clock speed and power consumption rising, heat dissipation requirements become more prominent aspects of temperature control

制技术已经成为计算机技术发展的重要方向。 System technology has become an important direction of development of computer technology. 其中计算机系统的温控技术中 Wherein the temperature control of the computer system

两个重要技术方面包括对X〕PU温度的准确侦测以及对散热设备转速的精确控目前,对于CPU温度的侦测,业界通用的方法是采用CPU内部测温传 Two important techniques include X] PU accurately detect the temperature of the cooling equipment, and precise control of the current speed, to detect the temperature of the CPU, the standard industry method is to use an internal temperature CPU pass

感器与用于外部侦测的专用温度侦测和处理的控制芯片配合而共同完成,其 Sensors for controlling the chip temperature sensors with special detection and treatment of the common external completed, the

中CPU内部测温传感器可以是热敏二极管。 The internal CPU may be a thermal diode temperature sensor. 该温度侦测的具体方法是利用CPU内部的热敏二极管(该热敏二极管被内置到CPU内核中,能够直接准确的体现CPU内核温度),在计算机主板设计中将CPU内部集成的热敏二极管 The specific method is the use of the temperature sensors inside the thermal diode CPU (thermal diode is built into the CPU core, can accurately reflect direct CPU core temperature), the internal computer motherboard CPU integrated in the design of thermal diode

以特定的电气连接方式连接到执行温度侦测和实现温度处理的控制芯片中, 这种控制芯片种类很多,目前常用的是计算机主板上的温度控制器,该芯片 Electrically connected to a particular connection and to perform a temperature detection temperature treatment to achieve control chip, the control chip which many types are currently used in a temperature controller on the computer motherboard, the chip

提供了CPU温度信号接收和处理的功能。 Providing the functions of the CPU of the signal reception and processing temperature. 它和CPU之间的电气连接关系如 Electrical connections between the CPU and it as

图1所示。 1 shown in FIG. 温度控制器利用内部的功能模块接收温度信号,并在其内部用特定的计算公式对该温度信号进行处理,然后,把计算结果存储在温度控制器 Temperature Controller using internal functional block receives a temperature signal, and processes the temperature signal with a specific calculation formula in its interior, then, the calculated result is stored in the temperature controller

内部的寄存器中以便在系统读取CPU温度时使用。 Internal registers to be used when the system reads the temperature of the CPU. 关于该方法更详细的内容在中国发明专利申请公开号为CN1474062A己经给出清楚的揭示。 The method in more detail on the contents of the Chinese Patent Application Publication No. CN1474062A invention has given clear disclosure.

上述对CPU温度侦测的方法,虽然实施简単.,但是该方法对CPU温度反映的实时性差。 The above-described method of detecting the temperature of the CPU, although the embodiment Jane radiolabeling., But the method for real-time CPU temperature difference reflected. 由于CPU温度的变化存在着惰性,因此,CPU内部测温传感器不能快速的反映CPU温度随着系统使用情况变化而变化的真实状况,从 Due to the presence of an inert CPU temperature change, and therefore, CPU internal temperature sensor can not quickly reflect the true state of the system as the CPU usage temperature change varies, from

而影响到对后端散热设备控制的实时性和准确度。 And affect the degree of real-time and accurate control of the rear end of the cooling equipment. 而且,由于温度的变化过 Further, since the temperature changes over

4禾呈是缓慢的,对于温度变化的准确侦测就需要温度侦测模块中的AD元件具有很高的采样:精度,如果选用具有较低采样精度的AD元件就不能真实的反映CPU温度的变化。 4 He was slow, temperature change detection requires accurate temperature measuring element modules having very high sampling AD: accuracy, if the AD selection element having a lower sampling accuracy can not reflect the real CPU temperature Variety. 另夕卜,在系统正常使用过程中,CPU的温度曲线应该是一条缓慢变化的平滑曲线,但是由于系统的不稳定性,会引起CPU的温度在某一点突然出现异常值,通常将该现象称为系统的瞬间扰动。 Another Bu Xi, in the system during normal use, the temperature profile of the CPU should be a slowly varying smooth curve, but due to instability of the system, the temperature of the CPU causes the sudden abnormal value at a certain point, this phenomenon is usually called momentary disturbance of the system. 系统的瞬间扰动对温度侦测的精确度影响很大,并且如果以该温度异常值作为控制信号在对散热设备进行控制时会有瞬间噪音产生,因此需要在温度侦测时把这种异常温度值进行过滤。 Disturbance of the instant system accuracy temperature sensors great influence, and if the abnormal temperature value as a control signal for an instant noise generated when controlling the cooling equipment, it is necessary that the temperature at the abnormal temperature sensors value filter. 但是现有的温度侦测方法无法避免上述的问题。 However, the conventional temperature detection methods can not avoid the above problems. 发明内容、 SUMMARY OF THE INVENTION

本发明利用CPU电流值对CPU温度值进行修正的原理是:CPU散热量与系统负荷呈正相关,而系统负荷的大小变化直接反映到CPU电流,整个过程快速而又实时。 The present invention, by the CPU on the CPU current temperature value is corrected principle is: the amount of cooling system CPU load positive correlation, and the size change of the system load current is directly reflected to the CPU, the entire process is fast and in real time. 所以,侦测CPU实时电流值就可以很好的反映CPU负载, 预知CPU的热量变化。 So, the real-time detection of CPU current value can be a good reflection of the CPU load, to predict changes in the heat of the CPU. 但是,由于CPU电流的变化是快速的,可以称得上是实时的,而CPU温度的变化相对是有惰性的,所以,将所侦测到的CPU 实时温度值和实时电流值通过求平均值的算法进行数据平均值处理后得到的CPU实时温度修正值实时性好,能够更为准确而实时的反映CPU温度的变化。 However, due to changes in the current CPU is fast, can be called a real-time, CPU temperature change is relatively inert, so the temperature detected by the real-time value of the CPU and the real-time current values ​​by averaging CPU real-time temperature value after correction algorithm for data averaging process resulting real-time performance, a more accurate reflection of changes in real time CPU temperature.

本发明为克服现有技术中存在的问题,利用上述原理提供了: The present invention provides to overcome the problems in the prior art, using the above principle:

一种侦测CPU温度的装置,该装置包括CPU内部测温传感器和控制器, 其中所述控制器包括温度侦测模块,该温度侦测模块用于从所述CPU内部测 An apparatus for detecting CPU temperature, the temperature sensor means comprises an internal CPU, and a controller, wherein said controller comprises a CPU for detecting an internal temperature of the detection module, means for detecting the temperature from

、温传感器获取CPU实时温度值;所述的控制器还包括电流侦测模块和计算模块:所述的电流侦测模块用于侦测CPU实时电流值并把侦测的结果输入到所 , The temperature sensor of acquiring real-time temperature values ​​in the CPU; said controller further includes a current detection module and the calculation module: a current detecting means for detecting a current value of the real CPU, and inputs the result to the detected

:述计算模块中作为权值;计算模块,用于在至少两个时间点中的每一时间点 : Said weights are calculated as the module; calculating means for each time point at the point in time at least two

上,将从温度侦测模块输出的CPU实时温度值,和该时间点从电流侦测模块 , The output from the temperature detection module CPU real-time temperature values, and from that time point the current detection module

$俞出的CPU实时电流值相乘得到一乘积;对预先设定的所有时间点的所述乘 $ Yu the CPU real-time current value obtained by multiplying a product; all the time point preset by

积相加得到一第一和值,以所述第一和值除以所述所有时间点上的电流值相 And the product obtained by adding a first value to said first value and at all time points by dividing the current values

加后的第二和值,得到一CPU实时温度修正值,并将该温度修正值输入到一 And adding a second value to obtain a real CPU temperature correction value and the temperature corrected value is input to a

受控设备中。 Controlled device. 、 所述的控制器是单片机或专有控制芯片。 Said controller is a microcontroller or specific control chip. 所述的控制器根据计算模块输出的CPU实时温度修正值对受控设备进行 The controller module of the controlled apparatus based on the calculated correction value output from the CPU real-time temperature

控制。 control. _ _

所述的受控设备是散热装置9 Said controlled device is a heat sink 9

所述的CPU内部测温传感器是热敏二极管。 It said CPU internal temperature sensor is a thermal diode.

一种侦测CPU温度的方法,包括以下步骤:步骤一,侦测CPU实时温度值,同时侦测CPU实时电流值;步骤二,在至少两个时间点中的每一时间 A method for detecting CPU temperature, comprising the steps of: a step, real-time temperature values ​​detected CPU, while the real-time current value detected CPU; Step two, each time at least two points in time

点上,根据所述CPU实时电流值的变化,将CPU实时温度值和该时间点的 Point, real-time changes in accordance with a current value of the CPU, the point value of the CPU and the real-time temperature time

CPU实时电流值相乘得到一乘积;对预先设定的所有时间点的所述乘积相加 CPU real-time current value obtained by multiplying a product; the product of the pre-set for all time points are added

得到一第一和值,以所述第一和值除以所述所有时间点上的电流值相加后的 To obtain a first sum value to said first value and said dividing all time points after adding the current value

.第二和值,得到一CPU实时温度修正值,输出所述CPU实时温度修正值。 The second sum value to obtain a real CPU temperature correction value, the output of the CPU real temperature correction value. 所述的CPU实时温度值的侦测由CPU内部测温传感器与控制芯片配合 Detecting the real temperature sensor and the control of the CPU chip with temperature by the internal CPU

iW共同完成。 iW work together.

所述的CPU实时电流值的侦测由电流传感器与控制芯片配合而共同完 Real-time detection of the current value by the current sensor and the control CPU chip fit together Ends

成。 to make. one

与现有技术相比,本发明可以有效克服原有温度侦测方案的不足,提高温度侦测的实时性和准确性。 Compared with the prior art, the present invention can effectively overcome the shortcomings of the existing program of temperature sensors, real-time and improve the accuracy of temperature sensors. 与传统的温度侦测方法相比较,由于加入了能 Compared with the conventional temperature detection method, since the energy added

够实时反映系统负载的OPU电流因素,所以修正后的温度值实时性好,能够更好的反映CPU温度的变化。 Enough to reflect real-time OPU current system load factor, the temperature corrected value of good real change to better reflect the CPU temperature. 另夕卜,本装置中对温度侦测模块中的AD元件 Another Bu Xi, AD components of the present apparatus to detect the temperature of the module

的采样精度要求不高,可以降低开发成本。 Sampling accuracy is not required, it is possible to reduce development costs. 由于对温度值进行了加权平均, 因此该方法还可以有效的过虑瞬间扰动引起的温度异常值,从而提高对散热 Since the temperature values ​​of the weighted average, this method can also be effectively misplaced instantaneous value of the disturbance caused by the abnormal temperature, so as to enhance heat dissipation

设备控制的实吋性和准确性。 Solid inch and accuracy of the control device. 本发明对实时温度修正值的运算采用ic内部 The present invention uses the real-time operation of the internal ic temperature correction value

(S叩erIO)硬件运算,不需要软件参与,实时性好,占用系统资源少,执行效率高。 (S knock erIO) computing hardware, no software involved, real-time, take up less system resources, high efficiency. 附图说明 BRIEF DESCRIPTION

图1是现有技术温度控制器与CPU之间的电气连接关系图。 FIG FIG 1 is an electrical connection relationship between the prior art temperature controller and the CPU. 图2是本发明的侦测CPU温度的装置模块图。 FIG 2 is a CPU temperature detection device module of the present invention of FIG. 图3是本发明的侦测CPU温度的方法流程图。 FIG 3 is a method for detecting the temperature of the CPU according to the present invention. FIG. 具体实施方式 detailed description

以下将结合附图对本发明进行详细描述。 The present invention will be described in detail in conjunction with the accompanying drawings. .如图3所示为本发明的侦测CPU温度的方法的流程图,具体过程如下:在步骤一屮,首先,系统初始化,然后,如图2所示的温度侦测模块对CPU的温度值进行实时侦测,电流侦测模块对CPU的电流值进行实时侦测, 并且将上述所侦测到的结果均输入到计算模块中。 . CPU flowchart of a method to detect the temperature of the present invention shown in FIG. 3, the specific process is as follows: In a step Cao, first, system initialization, then, the temperature detection module of the CPU 2 shown in FIG. time detection value, the current value of the current detection module detects the CPU in real time, and the above detected results are inputted to the calculation module.

CPU的温度侦测方式很多,这里以目前业界通用的CPU温度的侦测方式为例进行说明。 Many CPU temperature detection methods, where the current industry-wide way to detect CPU temperature as an example. 目前业界通用的CPU温度的侦测方式是由CPU内部测温传感器与控制芯片配合而共同完成。 Current industry-wide CPU temperature detection methods is the control chip temperature sensor fitted together to complete the internal CPU. CPU内部测温传感器可以利用CPU内部的热敏二极管,由于热敏二极管被内置到CPU内核中,因此能够很准确的体现CPU的内核温度.(CPU的发热量^:现在CPU的内核温度上,CPU内核温度超过某一规定值工作就不稳定,甚至烧毁CPU)。 CPU internal thermal diode temperature sensor may be utilized inside the CPU, since the thermal diode is built into the CPU core, it can be accurately reflect the temperature of the CPU core (CPU heat ^: now on the CPU core temperature, CPU core temperature exceeds a specified value work is unstable, and even burned the CPU). 在目前的CPU中,已经提供了这项功能的支持,也就是CPU内部集成了热敏二极管,以供用户侦测温 In the current CPU it has been provided to support this feature, which is integrated within the CPU thermal diode for the user to detect temperature

度之用。 Degree purposes.

CPU内部集成的热敏二极管连接到专有控制芯片Super I/O中,这种芯片种类很多,可以是单片机。 Internal CPU integrated thermal diode connected to the specific control chip Super I / O, many types chip, the microcontroller may be.

对于CPU电流的侦测目前有很多方案。 For detection of CPU current there are many programs. 可以由控制芯片与电流传感器配合而共同完成。 It may be jointly performed by the control chip with the current sensor. 许多型号的单片机都可以作为控制芯片实现该功能。 Many types of microcontrollers can achieve this function as a control chip. 其中可以选用盛扬推出的A/D型8位单片机HT46R232,该型号的单片机具备4K OTP程序存储器及192字节通用数据存储器。 Wherein the launched Sheng Yang can use A / D Type 8-bit microcontrollers HT46R232, the model includes a 4K OTP MCU program memory and 192 bytes of memory data common. 它的40个I/O管脚可供设计者进行多输入及输出控制的设备应用,如外部按键输入控制、直接驱动LED显示,控制外部开关器件如TRIAC、 Relay等。 It is 40 I / O pins available to the designer and multiple-input-output control application device, such as an external key input control, drive the LED, external control switching devices such as TRIAC, Relay like. 其8通道10位分辨率的A/D转换输入町监测外部模拟信兮。 Its 8-channel 10-bit resolution A / D converter inputs an analog signal Xi cho external monitor. 配合电流传感器,可以实现电流侦测功能。 With the current sensor, the current detection function can be realized.

在步骤二中,图2所示的计算模块将从温度侦测模块输出的CPU实时温度值和从电流侦测模块输出的CPU实时电流值进行数据分析处理得到CPU 实吋温度修正值,并将该温度修正值输入到受控设备中。 In step two, the real-time temperature value calculating CPU module shown in FIG. 2 outputted from the temperature detection module and a real-time current value from the current detection output from the CPU module CPU data analysis process to obtain a solid inch temperature correction value, and the temperature correction value is input to the controlled device.

本发明利用CPU散热量与系统负荷(Loading)的正相关性,由于系统负荷的大小变化直接反映到CPU电流,整个过程快速而又实时。 The present invention utilizes the heat dissipation system CPU load (Loading) positive correlation, since the size variation of the system load current is directly reflected to the CPU, the entire process is fast and in real time. 所以,侦测CPU实时电流值就可以很好的反映CPU负载,预知CPU的热量变化。 So, the real-time detection of CPU current value can be a good reflection of the CPU load, to predict changes in the heat of the CPU. 艮口: CPJ电流大,热量发生大,需要较大的散热能力;反之,CPU电流小,热量发生小,需要较小的散热能力就可以满足系统稳定运行的需求。 Gen mouth: CPJ current, a large amount of heat occurs, you need a larger cooling capacity; on the contrary, CPU current, the heat generated is small, requires less cooling capacity to meet the demand for stable operation of the system.

但是,由f CPU电流的变化是快速的,可以称得上是实时的,而CPU However, by the current rapid changes f CPU, and it can be called a real-time, and CPU

7温度的变化相对是有惰性的,所以,将所侦测到的CPU实时温度值和CPU 实时电流值通过求平均值的算法进行数据处理后得到的CPU实时温度修正值实时性好,.能够更为准确而实时的反映CPU温度的变化。 7 is the change in temperature is relatively inert, so the temperature detected by real-time and real-time current value of a CPU in real time value CPU CPU temperature correction value obtained by the algorithm of data processing, real-time averaging good. Can be more accurate, real-time reflect changes in CPU temperature. :

现以计算模块采用加权平均的方法对所侦测到的CPU实时温度值和 Module is to calculate the weighted average of the method of real-time temperature values ​​detected by the CPU and

CPU实时电流值进行数据处理为例进行详细说明: CPU real-time current value for data processing is described in detail as an example:

—首先预定义,CPU侦测温度函数为T, CPU电流函数为I, t为时间变量。 - First predefined, CPU function to detect the temperature T, CPU functions as a current I, t is a time variable.

则: then:

r二r(t); ,r=g(t) r = r (t);, r = g (t)

'对于不同的时间点(离散化),则对应实际温度值(Tn)和实际CPU电 'For different time points (discretization), corresponding to the actual temperature value (Tn) and the actual CPU of the electric

流值a)分别为: . - Current value a) are: -

i广f(tO' I?,4'(t7.).....In=f(t„) i wide f (tO 'I?, 4' (t7.) ..... In = f (t ")

Ti二g(ti), T?=g(t;0 .....T,产g(t,') n:-1,2,3..... Two Ti g (ti), T = g (t; 0 ..... T, yield g (t, ') n:? -1,2,3 .....

定义系统加权温度值为Tp。 The system defined weighted temperature value Tp. wei.,经过加权计算后的实时温度修正值能够更为准确的反映CPU温度的变化。 wei., via real-time temperature correction value can reflect changes in the weighted CPU temperature more accurate. 定义采样周期为n(采用周期的选取根据CPU 的特性试验确定)。 The sampling period is defined as n (with a period determined according to the characteristics of the selected test the CPU).

Tpowter Tpowter

通过上述公式就可以得到不同时间点的CPU温度修正值,该温度修正值 The above equation can be obtained at different time points CPU temperature correction value, the temperature correction value

是通过将不同时间点的温度值和电流值通过加权平均的算法进行计算后得到 After the temperature value is obtained by the current values ​​and different time points is calculated by a weighted average algorithm

的,能够更为准确而实时的反映CPU的温度的变化,并且可以对瞬间扰动产 Can be more accurate, real-time to reflect changes in the temperature of the CPU, and can instantly produce disturbances

生的异常温度值进行有效的过虑。 Abnormal temperature effective raw misplaced.

该CPU实时温度修正值还可以通过对CPU的温度值和CPU的电流值采 The CPU can also be real-time temperature correction value by the current value of the CPU and CPU temperature Mining

用自相关或互相关的数值分析方法进行数据处理而得到,但是采用自相关或互相关的数值分析方法计算量很大,运算速度比用加权平均算法慢,占用系统资源较大,执行效率低。 Autocorrelation or cross-correlation of the numerical analysis method for data processing obtained, but using a large cross-correlation or autocorrelation analysis numerical calculation, calculation speed slower than the weighted average of the algorithm, a large system resources, low efficiency . 与传统的温度控制方法相比较,由于加入了能够实时反映系统负载的 Compared with the conventional temperature control method, the addition of the system load in real time to reflect

CPU电流因素,修正后的CPU实时温度值能够更好的反映CPU温度的变化, CPU current factor, real-time CPU temperature corrected to better reflect changes in the temperature of the CPU,

所以修正后的温度值实时性好,进而提高了对散热设备控制的实时性和准确性。 The temperature corrected value of real-time, thus improving the timeliness and accuracy of cooling equipment control.

上述所输出的CPU实时温度修正值可以作为受控设备的控制信号。 Said CPU in real time temperature correction value is outputted as a control signal to the controlled device. 该受控设备可以是散热装置,包括CPU风扇和散热风扇。 The controlled device may be a heat sink, a fan and a cooling fan includes a CPU. CPU实时温度修正值作 CPU real-time temperature correction value for

为受控设备的控制信号,该控制信号对控制脉冲进行脉宽调制,使散热设备的供电电压发生变化,从而实现对散热设备转速的控制。 A control signal for the controlled device, the control signal pulse width modulated control pulses to the heat dissipating device supply voltage changes, thus controlling the rotational speed of the cooling equipment.

最后所应说明的是,以上实施例仅用以说明本发明的技术方案而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或者等同替换,而不脱离本发明技术方案的精神和范围,其均应涵盖在本发明的权利要求范围当中。 Finally, it should be noted that the above embodiments are intended to illustrate and not limit the present invention, although the present invention has been described in detail with reference to preferred embodiments, those of ordinary skill in the art should be understood that the techniques of the present invention program modifications or equivalent replacements without departing from the spirit and scope of the technical solutions of the present invention, which should be covered by the present invention as claimed in which the required range.

Claims (8)

  1. 1.一种侦测CPU温度的装置,该装置包括CPU内部测温传感器和控制器,其中所述控制器包括温度侦测模块,该温度侦测模块用于从所述CPU内部测温传感器获取CPU实时温度值; 所述的控制器还包括电流侦测模块和计算模块: 所述的电流侦测模块用于侦测CPU实时电流值并把侦测的结果输入到所述计算模块中作为权值; 计算模块,用于在至少两个时间点中的每一时间点上,将从温度侦测模块输出的CPU实时温度值,和该时间点从电流侦测模块输出的CPU实时电流值相乘得到一乘积;对预先设定的所有时间点的所述乘积相加得到一第一和值,以所述第一和值除以所述所有时间点上的电流值相加后的第二和值,得到一CPU实时温度修正值,并将该温度修正值输入到一受控设备中。 1. An apparatus for detecting CPU temperature, the apparatus includes a CPU internal temperature sensor and a controller, wherein said controller comprises a temperature measurement module, the temperature detection module is configured to obtain from the CPU internal temperature sensor CPU real temperature; said controller further includes a current detection module and the calculation module: a current detecting means for detecting a current value of the CPU and the real-time detection result is input to the computing module as the weight value; on a computing means for at least two time points at each time point, CPU real-time temperature value from the temperature detection module output, a CPU and a real-time current value of the current time point outputted from the phase detection module by obtaining a product; the product of all time points obtained by adding a predetermined value to a first and to said first value divided by the upper and at all time points after adding the second current value and values, obtain a real CPU temperature correction value, and inputs the temperature correction value to a controlled device.
  2. 2. 如权利要求1所述的侦测CPU温度的装置,其特征在于:所述的控制器是单片机或专有控制芯片。 It means detecting the temperature of the CPU as claimed in claim 1, wherein: said controller is a microcontroller or specific control chip.
  3. 3. 如权利要求1所述的侦测CPU温度的装置,其特征在于:所述的控制器根据计算模块输出的CPU实时温度修正值对受控设备进行控制。 CPU temperature detecting apparatus according to claim 1, wherein: said controller controls the controlled apparatus according to the CPU real-time temperature correction value calculating module output.
  4. 4. 如权利要求3所述的侦测CPU温度的装置,其特征在于:所述的受控设备是散热装置。 It means detecting the temperature of the CPU as claimed in claim 3, wherein: said controlled device is a heat sink.
  5. 5. 如权利要求1所述的侦测CPU温度的装置,其特征在于:所述的CPU内部测温传感器是热敏二极管。 5. The apparatus detects the temperature of CPU claimed in claim 1, wherein: said CPU internal temperature sensor is a thermal diode.
  6. 6. —种侦测CPU温度的方法,包括以下步骤:步骤一,侦测CPU实时温度值,同时侦测CPU实时电流值;步骤二,在至少两个时间点中的每一时间点上,根据所述CPU实时电流值的变化,将CPU实时温度值和该时间点的CPU实时电流值相乘得到一乘积;对预先设定的所有时间点的所述乘积相加得到一第一和值,以所述第一和值除以所述所有时间点上的电流值相加后的第二和值,得到一CPU实时温度修正值,输出所述CPU实时温度修正值。 6. - Species CPU temperature detecting method, comprising the steps of: a temperature detecting real CPU, real-time current value of the CPU while detecting step; two step, at each time point in at least two time points, the real-time changes to the current value of CPU, the CPU and the real-time temperature of the CPU real-time current value obtained by multiplying a time point product; the product of all time points obtained by adding a predetermined value and a first , and a second value to said first value and said current value divided by the sum of all the time points to obtain a real CPU temperature correction value, the output of the CPU real temperature correction value.
  7. 7. 如权利要求6所述的侦测CPU温度的方法,其特征在于:所述的CPU 实时温度值的侦测由CPU内部测温传感器与控制芯片配合而共同完成。 7. A method for detecting the temperature of the CPU according to claim 6, wherein: the real-time temperature values ​​detected by the CPU within the CPU chip temperature sensor and fit together to complete the control.
  8. 8.如权利要求6所述的侦测CPU温度的方法,其特征在于:所述的CPU 实时电流值的侦测由电流传感器与控制芯片配合而共同完成。 8. A method for detecting the temperature of the CPU according to claim 6, wherein: real-time detection of the current value by the current sensor and the control CPU chip fit together to complete.
CN 200510023074 2005-12-26 2005-12-26 Method and device for detecting temperature of CPU CN100565469C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200510023074 CN100565469C (en) 2005-12-26 2005-12-26 Method and device for detecting temperature of CPU

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200510023074 CN100565469C (en) 2005-12-26 2005-12-26 Method and device for detecting temperature of CPU

Publications (2)

Publication Number Publication Date
CN1991781A true CN1991781A (en) 2007-07-04
CN100565469C true CN100565469C (en) 2009-12-02

Family

ID=38214052

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200510023074 CN100565469C (en) 2005-12-26 2005-12-26 Method and device for detecting temperature of CPU

Country Status (1)

Country Link
CN (1) CN100565469C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103309375A (en) * 2012-03-12 2013-09-18 鸿富锦精密工业(深圳)有限公司 Device, system and method for thermal protection critical temperature setting
CN105278578A (en) * 2015-10-20 2016-01-27 浪潮电子信息产业股份有限公司 Inlet air temperature correction method based on rotation speed of fan

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6058012A (en) 1996-08-26 2000-05-02 Compaq Computer Corporation Apparatus, method and system for thermal management of an electronic system having semiconductor devices
CN1381784A (en) 2001-04-19 2002-11-27 梅捷企业股份有限公司 Control module for system state display
CN1474062A (en) 2002-08-07 2004-02-11 联想(北京)有限公司 Method and device for closed-loop controlling cooling fan rotation speed according to CPU temperature

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6058012A (en) 1996-08-26 2000-05-02 Compaq Computer Corporation Apparatus, method and system for thermal management of an electronic system having semiconductor devices
CN1381784A (en) 2001-04-19 2002-11-27 梅捷企业股份有限公司 Control module for system state display
CN1474062A (en) 2002-08-07 2004-02-11 联想(北京)有限公司 Method and device for closed-loop controlling cooling fan rotation speed according to CPU temperature

Also Published As

Publication number Publication date Type
CN1991781A (en) 2007-07-04 application

Similar Documents

Publication Publication Date Title
US20070198864A1 (en) Systems and methods for determining and using power profiles for software programs executing on data processors
US20120053897A1 (en) Determining transistor leakage for an integrated circuit
US20100146316A1 (en) Optimizing Power Consumption by Tracking How Program Runtime Performance Metrics Respond to Changes in Operating Frequency
US7304905B2 (en) Throttling memory in response to an internal temperature of a memory device
US6959258B2 (en) Methods and structure for IC temperature self-monitoring
US20110291746A1 (en) Realtime power management of integrated circuits
US20060218423A1 (en) Advanced thermal management using an average power controller over an adjustable time window
US6701272B2 (en) Method and apparatus for optimizing thermal solutions
US20130311799A1 (en) Weighted control in a voltage scaling system
CN101635540A (en) Device and method for tracking photovoltaic maximum power point
Konstantakos et al. Energy consumption estimation in embedded systems
US8531225B1 (en) Configurable critical path emulator
US20130117589A1 (en) Stability control in a voltage scaling system
CN101761500A (en) Method and device for controlling rotating speed of fan and method and device for controlling heat dissipation speed
US20090323277A1 (en) Information Processing Apparatus
US20130311792A1 (en) Voltage scaling architecture on system-on-chip platform
US20080317086A1 (en) Self-calibrating digital thermal sensors
US20130117582A1 (en) Offline communication in a voltage scaling system
US7235943B2 (en) System and method for controlling the rotating speed of a fan
CN101453163A (en) Apparatus and method for regulating working frequency of step-down conversion circuit by detection current
US20110301889A1 (en) Flexible power reporting in a computing system
CN201392500Y (en) Speed regulation radiating server
CN104360144A (en) Method for determining zero crossing point of alternating current signal and system for determining zero crossing point of alternating current signal
CN101813950A (en) Device for controlling equipment to dissipate heat and equipment having same
US20030230939A1 (en) Dynamic temperature control method for a computer system

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C14 Granted