Method for detecting and controlling temperatures of processor

A detection control and processor technology, which is applied in the direction of temperature control and hardware monitoring by electric means, can solve the problems of increasing the layout and wiring of the main board, and increasing the design cost of the main board, so as to achieve the effect of improving control accuracy and reducing dependence.

CN103995766AInactive Publication Date: 2014-08-20SHANDONG CHAOYUE DATA CONTROL ELECTRONICS CO LTD
4 Cites 12 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Publication Date
2014-08-20
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
Patent Text Reader

Abstract

The invention provides a method for detecting and controlling the temperatures of a processor. The method includes the steps of firstly, initializing a kernel timer for initializing the structure of the timer, setting the cycle of the timer, designating the interrupt processing function of the timer and inserting the timer into a timer global array; secondly, calling the interrupt processing function of the timer when timeout of the timer occurs, reading data of a temperature sensor, and processing the read temperature data so as to determine a PWM control signal; thirdly, reactivating the kernel timer in the timer interrupt processing function so as to conduct the next time of temperature collection and so as to adjust the rotating speed of a fan. The temperature data collected by the temperature sensor connected to a south bridge chip are read periodically through the kernel timer, after software filtering is conducted on the temperature data, corresponding control information is generated according to the interval where the processed temperature data are located and is then transmitted to the south bridge chip so that the south bridge chip can be controlled to output corresponding PWM signals, and therefore the aims of adjusting the rotating speed of the fan and controlling the temperatures of the processor are achieved. According to the method, the temperatures of the processor are collected and controlled through basic elements on a main board, software filtering is conducted on the temperature data, and control accuracy is improved.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical field of computer applications, in particular to a method for detecting and controlling the temperature of a processor. A method for realizing processor temperature detection and control by using a kernel timer is applicable to the detection and control of processor temperature in computer equipment such as notebooks and desktops. Background technique

[0002] The detection and control of the temperature of the existing computer equipment processor usually adopts the method of welding the MCU chip on the motherboard, the temperature sensor and the smart fan are connected to the controller, and the MCU controls the speed of the smart fan according to the collected temperature data. The method of adding MCU chips to the main board increases the design cost of the main board on the one hand, and increases the difficulty of layout and wiring of the main board when the requirements on the size of the main board are rel...

Examples

Embodiment Construction

[0016] The method of the present invention is described in detail below with reference to the accompanying drawings.

[0017] In order to further illustrate the technical means and effects adopted by the present invention, the specific implementation of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0018] Such as figure 1 As shown, it is a schematic diagram of the system structure of a specific embodiment of the present invention, including: a temperature sensor 101 , an intelligent fan 102 , a data communication line 103 and a processor 104 . There are also an initialization module 201 , a kernel timer initialization module 202 , a timer overtime judging module 203 and a timer interrupt handler module 204 .

[0019] In this example, the temperature sensor 101 is composed of four temperature sensors with SMBus bus interface, which are respectively installed on the outside of the four edges of the processor, and connec...