CN105221467B - Rotation speed of the fan adjusts system and method - Google Patents

Rotation speed of the fan adjusts system and method Download PDF

Info

Publication number
CN105221467B
CN105221467B CN201510790460.3A CN201510790460A CN105221467B CN 105221467 B CN105221467 B CN 105221467B CN 201510790460 A CN201510790460 A CN 201510790460A CN 105221467 B CN105221467 B CN 105221467B
Authority
CN
China
Prior art keywords
cpu
function
fan
temperature
rate
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201510790460.3A
Other languages
Chinese (zh)
Other versions
CN105221467A (en
Inventor
郭宏兵
朱玉琴
郭澍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianchang Wanke Electrical Appliance Accessory Factory
Original Assignee
Jiangsu Yuanhua Light Equipment Co Ltd
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
Application filed by Jiangsu Yuanhua Light Equipment Co Ltd filed Critical Jiangsu Yuanhua Light Equipment Co Ltd
Priority to CN201510790460.3A priority Critical patent/CN105221467B/en
Publication of CN105221467A publication Critical patent/CN105221467A/en
Application granted granted Critical
Publication of CN105221467B publication Critical patent/CN105221467B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Cooling Or The Like Of Electrical Apparatus (AREA)
  • Control Of Positive-Displacement Air Blowers (AREA)

Abstract

The present invention provides a kind of rotation speed of the fan adjustment system and method, and the system includes:Sampling module, is sampled when temperature-sensitive sticker is normal to CPU usage, temperature value and rotation speed of the fan value;Creation module, utilization rate function, temperature funtion and speed functions are built according to the utilization rate of sampling, temperature value and tachometer value;The first function that creation module is set up between temperature value and tachometer value always according to temperature funtion and speed functions;The second function that creation module is set up between utilization rate and temperature value always according to utilization rate function and temperature funtion;Creation module builds the 3rd function between utilization rate and tachometer value always according to first function and second function;Acquisition module, obtains CPU usage in real time;Computing module, corresponding rotation speed of the fan value is calculated according to the utilization rate obtained in real time and the 3rd function;And adjusting module, current rotation speed of the fan value is adjusted to calculate to obtained tachometer value.The present invention remains to normally adjust rotation speed of the fan in the case where temperature-sensitive sticker is damaged.

Description

Fan rotating speed adjusting system and method
Technical Field
The invention relates to a fan rotating speed adjusting system and method.
Background
Nowadays, the application of servers is more and more extensive, and the size of the servers in an idc (internet Data center) room is more and more large, so that a large number of servers generate a large amount of heat during operation, so that the ambient temperature is increased, and the normal operation of the servers is affected, wherein a CPU is a main source for generating heat. In order to dissipate heat for the CPU, a temperature sensor and a heat dissipation fan are usually disposed in the server, the temperature sensor detects the temperature of the CPU, and the fan adjusts the rotation speed of the CPU according to the temperature detected by the temperature sensor. However, some temperature sensors may be damaged, and at this time, the fan cannot adjust the rotation speed normally, so that the CPU temperature is too high, which affects the normal operation of the server.
Disclosure of Invention
In view of the above, it is desirable to provide a system and a method for adjusting a rotation speed of a fan, which are used to solve the above-mentioned problems.
The invention provides a fan speed adjusting system, which runs in a server, wherein the server is provided with a temperature sensor and a fan, the fan is used for radiating heat for a CPU of the server, and the temperature sensor is used for detecting the temperature of the CPU, and the system comprises:
the sampling module is used for sampling the CPU utilization rate, the CPU temperature value detected by the temperature sensor and the fan rotating speed value within a preset time period when the temperature sensor works normally;
the creating module is used for creating a CPU utilization function C, CPU temperature value according to the sampled CPU utilization rate to create a temperature function H and a fan rotating speed value to create a fan rotating speed function F;
the creating module is further used for creating a first function phi between the CPU temperature value and the fan rotating speed value according to the temperature function and the fan rotating speed function when the temperature sensor works normally, wherein F is phi H;
the creating module is further configured to create a second function xi between the CPU usage rate and the temperature value according to the CPU usage rate function and the CPU temperature value function when the temperature sensor normally works, wherein H ═ C;
the creating module is further used for creating a third function F ═ Φ C between the CPU utilization rate and the fan rotation speed value according to the first function Φ and the second function xi, wherein C is the CPU utilization rate, and F is the corresponding fan rotation speed value of the CPU under the utilization rate;
the acquisition module is used for acquiring the utilization rate of the CPU in real time;
the calculation module is used for calculating a corresponding fan rotating speed value according to the CPU utilization rate and the third function which are acquired in real time; and
and the adjusting module is used for adjusting the current fan rotating speed value into the calculated fan rotating speed value.
The invention also provides a fan rotating speed adjusting method, which is applied to a server, wherein the server is provided with a temperature sensor and a fan, the fan is used for radiating heat for a CPU of the server, and the temperature sensor is used for detecting the temperature of the CPU, and the method comprises the following steps:
when the temperature sensor works normally, sampling the CPU utilization rate, the CPU temperature value detected by the temperature sensor and the fan rotating speed value in a preset time period;
constructing a CPU utilization function C, CPU temperature value construction temperature function H and a fan rotating speed value construction fan rotating speed function F according to the sampled CPU utilization;
establishing a first function phi between a CPU temperature value and a fan rotating speed value according to a temperature function and a fan rotating speed function of a temperature sensor in normal operation, wherein F is phi H;
establishing a second function xi between the CPU usage rate and the temperature value according to the CPU usage rate function and the CPU temperature value function when the temperature sensor normally works, wherein H ═ C;
constructing a third function F ═ Φ C between the CPU utilization rate and the fan speed value according to the first function Φ and the second function xi, wherein C is the CPU utilization rate, and F is the corresponding fan speed value of the CPU under the utilization rate;
acquiring the utilization rate of a CPU in real time;
calculating a corresponding fan rotating speed value according to the CPU utilization rate and a third function acquired in real time; and
and adjusting the current fan rotating speed value into the calculated fan rotating speed value.
Compared with the prior art, the fan rotating speed adjusting system and method provided by the invention have the advantages that the relation function between the CPU utilization rate and the fan rotating speed value is constructed, so that the rotating speed of the fan in the server can be adjusted on the basis of the CPU utilization rate instead of the temperature, and the fan can still normally adjust the rotating speed even if the temperature sensor in the server is damaged.
Drawings
FIG. 1 is a block diagram of a fan speed adjustment system according to a preferred embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for adjusting a rotational speed of a fan according to a preferred embodiment of the present invention.
Description of the main elements
Server 1
Processing unit 10
Temperature sensor 11
Fan with cooling device 12
Fan rotating speed adjusting system 100
Sampling module 101
Creation module 102
Acquisition module 103
Computing module 104
Adjusting module 105
The following detailed description will further illustrate the invention in conjunction with the above-described figures.
Detailed Description
Referring to fig. 1, a diagram of an application structure of a fan speed adjusting system 100 according to the present invention is shown. The fan speed adjustment system 100 operates in a server 1. The server 1 includes a CPU (Central Processing Unit) 10, and the server 1 is further provided with a temperature sensor 11 and a fan 12. The fan 12 is used to dissipate heat from the CPU 10. The temperature sensor 11 is used for detecting the temperature of the CPU 10.
The fan speed adjustment system 100 includes a number of modules that are a series of program instruction segments that can be executed by the CPU10 and that can perform predetermined functions. The modules include a sampling module 101, a creating module 102, an obtaining module 103, a calculating module 104, and an adjusting module 105. The modules are stored in the server 1.
The sampling module 101 is configured to sample a CPU utilization rate, a CPU temperature value detected by the temperature sensor 11, and a fan rotation speed value within a preset time period when the temperature sensor 11 normally operates. Specifically, the sampling module 101 performs timing sampling on the CPU utilization of the server 1, the CPU temperature detected by the temperature sensor 11, and the fan speed within a preset time period (e.g., 1 hour). In this embodiment, the sampling module 101 samples the three parameters every 1 second.
The creating module 102 is configured to construct a CPU utilization function C, CPU according to the sampled CPU utilization, construct a temperature function H according to the temperature value, and construct a fan speed function F according to the fan speed value. Specifically, the constructed CPU utilization function is:
wherein,is the CPU utilization difference, c is the sampled CPU utilization, c0As a default to the rate of CPU usage,for the difference in the rate of change of CPU usage,is the rate of change of CPU usage over a preset time period,is the default CPU usage rate change rate. In this embodiment, the creating module 102 may create a time-varying sampled CPU usage graph, and determine the CPU usage rate variation rate in a preset time period by calculating the slope of the curve between each adjacent sampleThe constructed CPU temperature function H is:
wherein,is the CPU temperature difference, h is the sampled CPU temperature value, h0Is the default value of the CPU temperature,as the CPU temperature change rate difference value,is the change rate of the CPU temperature value within a preset time period,is the default CPU temperature change rate. In this embodiment, the creating module 102 may create a time-varying graph of the sampled CPU temperature, and determine the CPU temperature value variation rate in the preset time period by calculating the slope of the curve between each adjacent samplingThe constructed fan speed function F is:
wherein,is the difference of the fan rotation speed, f is the sampled fan rotation speed value, f0In order to be the default value of the fan speed,is the difference in the rate of change of the fan speed,is the rate of change of the fan speed within a preset time period,is the default fan speed rate of change. In this embodiment, the creating module 102 may create a time-varying sampled fan speed curve, and determine the fan speed variation rate in the preset time period by calculating the slope of the curve between each adjacent sample
The creating module 102 is further configured to create a first function Φ between the CPU temperature value and the fan speed value according to the temperature function and the fan speed function when the temperature sensor 11 works normally, wherein,
F′=ΦH′ (4)
in this embodiment, the first function Φ is a 2 × 2 matrix, and a functional relation is constructed according to the fan speed function F, CPU and the temperature function H:
known as HH-T1, wherein H-TIs the inverse of the transpose matrix of H, equation (4) can be converted to:
FH-T=ΦHH-T=Φ (6)
combining equation (5) and equation (6) yields:
the creating module 102 is further configured to create a second function xi between the CPU usage and the temperature value according to the CPU usage function and the CPU temperature value function when the temperature sensor 11 normally operates, wherein,
H′=ΞC′ (8)
in this embodiment, the second function xi is a 2 × 2 matrix, and the functional relation is constructed according to the CPU temperature function H and the CPU usage function C:
known CC-T1, wherein C-TIs the inverse of the transpose matrix of C, equation (8) can be transformed:
HC-T=ΞCC-T=Ξ (10)
combining equation (9) and equation (10) yields:
the creating module 102 is further configured to construct a third function between the CPU usage and the fan speed according to the first function Φ and the second function xi:
F′=ΦΞC′ (12)
wherein C 'is the CPU utilization, and F' is the fan speed corresponding to the CPU10 at the utilization.
The acquisition module 103 is used for acquiring the utilization rate of the CPU10 in real time.
The calculating module 104 is configured to calculate a corresponding fan speed value according to the real-time acquired CPU utilization and the third function. Specifically, by combining the above formula (1), formula (2), formula (3), formula (7), formula (11), and formula (12), the corresponding fan rotation speed value at the utilization rate can be obtained according to the obtained CPU utilization rate.
The adjusting module 105 is configured to adjust the current fan speed value to the calculated fan speed value.
Please refer to fig. 2, which is a flowchart illustrating a method for adjusting a rotational speed of a fan according to the present invention.
Step S101, when the temperature sensor 11 works normally, the CPU utilization rate, the CPU temperature value detected by the temperature sensor, and the fan rotation speed value are sampled within a preset time period.
Step S102, constructing a CPU utilization function C, CPU temperature value construction temperature function H and a fan rotating speed value construction fan rotating speed function F according to the sampled CPU utilization.
In step S103, a first function Φ between the CPU temperature value and the fan speed value is established according to the temperature function and the fan speed function when the temperature sensor 11 normally operates, where F 'is Φ H'.
In step S104, a second function xi between the CPU usage and the temperature value is established according to the CPU usage function and the CPU temperature value function when the temperature sensor 11 normally operates, wherein H 'xi C'.
In step S105, a third function F ' between the CPU utilization and the fan speed value is constructed according to the first function Φ and the second function xi, where C ' is the CPU utilization and F ' is the corresponding fan speed value of the CPU10 at the utilization.
In step S106, the usage rate of the CPU10 is acquired in real time.
And step S107, calculating a corresponding fan rotating speed value according to the CPU utilization rate and the third function acquired in real time.
And step S108, adjusting the current fan rotating speed value to the calculated fan rotating speed value.

Claims (2)

1. A fan speed adjusting system runs in a server, a temperature sensor and a fan are arranged in the server, the fan is used for radiating heat for a CPU of the server, and the temperature sensor is used for detecting the temperature of the CPU, and the system is characterized by comprising:
the sampling module is used for sampling the CPU utilization rate, the CPU temperature value detected by the temperature sensor and the fan rotating speed value within a preset time period when the temperature sensor works normally;
the creating module is used for creating a CPU utilization function C, CPU temperature value according to the sampled CPU utilization, creating a temperature function H and a fan speed value, creating a fan speed function F, and respectively:
wherein,is the CPU utilization difference, c is the sampled CPU utilization, c0As a default to the rate of CPU usage,for the difference in the rate of change of CPU usage,is the rate of change of CPU usage over a preset time period,to be the default rate of change of CPU usage,is the CPU temperature difference, h is the sampled CPU temperature value, h0Is the default value of the CPU temperature,as the CPU temperature change rate difference value,is the change rate of the CPU temperature value within a preset time period,as a default rate of change of the CPU temperature,is the difference between the fan speeds, and f is the sampleValue of fan speed, f0In order to be the default value of the fan speed,is the difference in the rate of change of the fan speed,is the rate of change of the fan speed within a preset time period,the default fan speed change rate;
the creating module is further used for creating a first function phi between the CPU temperature value and the fan rotating speed value according to the temperature function and the fan rotating speed function when the temperature sensor works normally, wherein F '═ Ph',
the creating module is further configured to create a second function xi between the CPU usage and the temperature value according to the CPU usage function and the CPU temperature value function when the temperature sensor normally operates, wherein H '. xi.C',
the creating module is further configured to construct a third function F '═ Φ C' between the CPU usage rate and the fan speed value according to the first function Φ and the second function xi, where C 'is the CPU usage rate and F' is the corresponding fan speed value of the CPU at the usage rate;
the acquisition module is used for acquiring the utilization rate of the CPU in real time;
the calculation module is used for calculating a corresponding fan rotating speed value according to the CPU utilization rate and the third function which are acquired in real time; and
and the adjusting module is used for adjusting the current fan rotating speed value into the calculated fan rotating speed value.
2. A method for adjusting the rotating speed of a fan is applied to a server, the server is provided with a temperature sensor and the fan, the fan is used for radiating heat for a CPU of the server, and the temperature sensor is used for detecting the temperature of the CPU, and the method is characterized by comprising the following steps:
when the temperature sensor works normally, sampling the CPU utilization rate, the CPU temperature value detected by the temperature sensor and the fan rotating speed value in a preset time period;
according to the sampled CPU utilization rate, a CPU utilization rate function C, CPU is constructed, a temperature function H is constructed according to the temperature value, and a fan rotating speed function F is constructed according to the fan rotating speed value, wherein the temperature function H and the fan rotating speed function F are respectively as follows:
wherein,is the CPU utilization difference, c is the sampled CPU utilization, c0As a default to the rate of CPU usage,for the difference in the rate of change of CPU usage,is the rate of change of CPU usage over a preset time period,to be the default rate of change of CPU usage,is the CPU temperature difference, h is the sampled CPU temperature value, h0Is the default value of the CPU temperature,as the CPU temperature change rate difference value,is the change rate of the CPU temperature value within a preset time period,as a default rate of change of the CPU temperature,is the difference of the fan rotation speed, f is the sampled fan rotation speed value, f0In order to be the default value of the fan speed,is the difference in the rate of change of the fan speed,is the rate of change of the fan speed within a preset time period,the default fan speed change rate;
establishing a first function phi between the CPU temperature value and the fan rotating speed value according to the temperature function and the fan rotating speed function when the temperature sensor works normally, wherein F '═ phi H',
establishing a second function xi between the CPU usage rate and the temperature value according to the CPU usage rate function and the CPU temperature value function when the temperature sensor normally works, wherein H '. XI ' C ',
constructing a third function F '═ Φ C' between the CPU utilization rate and the fan speed value according to the first function Φ and the second function xi, wherein C 'is the CPU utilization rate, and F' is the corresponding fan speed value of the CPU under the utilization rate;
acquiring the utilization rate of a CPU in real time;
calculating a corresponding fan rotating speed value according to the CPU utilization rate and a third function acquired in real time; and adjusting the current fan rotating speed value into the calculated fan rotating speed value.
CN201510790460.3A 2015-11-16 2015-11-16 Rotation speed of the fan adjusts system and method Active CN105221467B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510790460.3A CN105221467B (en) 2015-11-16 2015-11-16 Rotation speed of the fan adjusts system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510790460.3A CN105221467B (en) 2015-11-16 2015-11-16 Rotation speed of the fan adjusts system and method

Publications (2)

Publication Number Publication Date
CN105221467A CN105221467A (en) 2016-01-06
CN105221467B true CN105221467B (en) 2017-10-13

Family

ID=54990651

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510790460.3A Active CN105221467B (en) 2015-11-16 2015-11-16 Rotation speed of the fan adjusts system and method

Country Status (1)

Country Link
CN (1) CN105221467B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106774739A (en) * 2016-12-18 2017-05-31 滁州昭阳电信通讯设备科技有限公司 The method and computer of a kind of cpu fan rotating speed control
CN106837838A (en) * 2016-12-29 2017-06-13 郑州云海信息技术有限公司 The control system and method for server fan rotating speed
CN109976478B (en) * 2017-12-28 2020-12-29 浙江宇视科技有限公司 Multi-CPU heat dissipation control system and heat dissipation control method
CN108984305B (en) * 2018-07-13 2021-03-09 威创集团股份有限公司 Task processing method, device and system
CN109445545A (en) * 2018-09-13 2019-03-08 华东计算技术研究所(中国电子科技集团公司第三十二研究所) System fan control method, system and computer readable storage medium
CN109683687A (en) * 2018-12-25 2019-04-26 浪潮电子信息产业股份有限公司 A kind of server and its control method for lowering temp, device, equipment
CN112443507B (en) * 2019-08-30 2022-06-28 宏碁股份有限公司 Intelligent fan rotating speed adjusting method, computer device and server

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6470289B1 (en) * 1999-08-05 2002-10-22 Compaq Information Technologies Group, L.P. Independently controlling passive and active cooling in a computer system
CN1324421C (en) * 2004-08-23 2007-07-04 联想(北京)有限公司 Method and apparatus for central processor frequency conversion and central processor fan speed change
US20080112571A1 (en) * 2006-11-09 2008-05-15 Thomas Michael Bradicich Noise control in proximity to a computer system
CN103032357B (en) * 2011-10-02 2016-05-18 神讯电脑(昆山)有限公司 Fan rotational frequency control method, control circuit and electronic installation
CN103793039A (en) * 2012-10-31 2014-05-14 鸿富锦精密工业(深圳)有限公司 Temperature control system and method for processor

Also Published As

Publication number Publication date
CN105221467A (en) 2016-01-06

Similar Documents

Publication Publication Date Title
CN105221467B (en) Rotation speed of the fan adjusts system and method
US8897925B2 (en) Heat dissipation control system and control method thereof
CN106411947B (en) A kind of real time threshold adaptive flow method for early warning and device
CN106302350B (en) URL monitoring method, device and equipment
US20120218707A1 (en) Cooling fan control system
JP2012110359A5 (en)
JP2015520436A5 (en)
JP6611677B2 (en) System and method for detecting outliers in real time for univariate time series signals
CN104252209A (en) Method and system for automatically regulating rotation speed of fan
WO2017020696A1 (en) Fan control method and device for multiple service boards
WO2016139067A3 (en) Vehicle reference velocity estimation apparatus and method
CN105891585B (en) Effective value calculating method and device when a kind of sine wave freuqency is slowly varying
CN104359559B (en) A kind of method for extending refrigeration mode temp measuring system temperature-measuring range
TW202044753A (en) A signal processing method, device and system
CN104951025A (en) Fan speed control system and method and server for controlling fan speed
JP6359985B2 (en) Depth estimation model generation device and depth estimation device
JP6300713B2 (en) Method and apparatus for analyzing lifetime of trap in semiconductor device
CN116954334A (en) Heat dissipation control method, device, server, computer equipment and storage medium
US20200400494A1 (en) Sensor device and methods of use
TW201344427A (en) System and method of monitoring server
CN109185209A (en) A kind of rotation speed of the fan method of adjustment and device
CN108241665B (en) Data processing method and client device
CN109407793A (en) A kind of temprature control method, relevant apparatus and readable storage medium storing program for executing
TWI544318B (en) Thermal prediction system and method thereof
JP2018088584A5 (en)

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information

Inventor after: Guo Hongbing

Inventor after: Zhu Yuqin

Inventor after: Guo Shu

Inventor before: Yao Huangen

CB03 Change of inventor or designer information
TA01 Transfer of patent application right

Effective date of registration: 20170908

Address after: 224043 Yancheng City province Jiangsu Dagang Town Park Road No. 1, machine equipment

Applicant after: Jiangsu Yuanhua Light Chemical Equipment Co., Ltd.

Address before: 312400 Zhejiang city of Shaoxing province Shengzhou city town Yao Village

Applicant before: Yao Huangen

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20191206

Address after: 239300 Xin Xin road, Qin Lan economic development zone, Chuzhou City Tianzhang City of Anhui Province

Patentee after: TIANCHANG WANKE ELECTRICAL APPLIANCE ACCESSORY FACTORY

Address before: 224043 No. 1 Yuanwei Road, Shoe Machinery Equipment, Dagang Town, Yancheng City, Jiangsu Province

Patentee before: Jiangsu Yuanhua Light Chemical equipment Co., Ltd.

TR01 Transfer of patent right