CN109857232B - Fan control method, system, device and computer readable storage medium - Google Patents

Fan control method, system, device and computer readable storage medium Download PDF

Info

Publication number
CN109857232B
CN109857232B CN201910151145.4A CN201910151145A CN109857232B CN 109857232 B CN109857232 B CN 109857232B CN 201910151145 A CN201910151145 A CN 201910151145A CN 109857232 B CN109857232 B CN 109857232B
Authority
CN
China
Prior art keywords
fan
rotating speed
current target
current
target rotating
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
CN201910151145.4A
Other languages
Chinese (zh)
Other versions
CN109857232A (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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN201910151145.4A priority Critical patent/CN109857232B/en
Publication of CN109857232A publication Critical patent/CN109857232A/en
Application granted granted Critical
Publication of CN109857232B publication Critical patent/CN109857232B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Control Of Positive-Displacement Air Blowers (AREA)

Abstract

The application discloses a fan control method, which comprises the following steps: acquiring the current air flow temperature of the air flow passing through the fan through a detection device arranged on the fan; determining a current target rotating speed according to the current wind flow temperature; and when the fan meets the autonomous control condition, controlling the fan to operate according to the current target rotating speed. According to the scheme, when the fan cannot read the control signal sent by the system, autonomous control is turned into, the current rotating speed of the fan is automatically adjusted through the acquired current wind flow temperature, and the system is prevented from being in a high-temperature state and affecting normal work of the system. The application also discloses a fan control system, a fan control device and a computer readable storage medium, which have the same beneficial effects as the fan control method.

Description

Fan control method, system, device and computer readable storage medium
Technical Field
The present disclosure relates to the field of server systems, and in particular, to a method, a system, an apparatus, and a computer-readable storage medium for controlling a fan.
Background
At present, a high-operation and high-storage system mainly achieves a heat dissipation effect through a fan, the fan is mainly controlled by a BMC (Baseboard Management Controller) or a CPLD (Complex Programmable Logic Device), the BMC or the CPLD can obtain a current system temperature through a signal sent by a heat sensor, and a corresponding PWM (Pulse Width Modulation) rotating speed signal is sent to the fan according to the current system temperature to control a rotating speed of the fan. When the BMC or CPLD or the thermal sensor in the system fails, the current temperature of the system cannot be known, so that the fan cannot be effectively controlled, and the system may be damaged due to a high temperature state.
Therefore, how to provide a solution to the above technical problem is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The invention aims to provide a fan control method, a system, a device and a computer readable storage medium, wherein when a fan cannot read a control signal sent by a system, the control signal is converted into autonomous control, and the current rotating speed of the fan is autonomously adjusted through the acquired current air flow temperature, so that the system is prevented from being in a high-temperature state and affecting the normal work of the system.
In order to solve the above technical problem, the present application provides a fan control method, including:
acquiring the current air flow temperature of the air flow passing through the fan through a detection device arranged on the fan;
determining a current target rotating speed according to the current wind flow temperature;
and when the fan meets the autonomous control condition, controlling the fan to operate according to the current target rotating speed.
Preferably, when the fan meets the autonomous control condition, the process of controlling the fan to operate at the current target rotation speed specifically includes:
and when the BMC and/or the first thermal sensor and/or the PWM rotating speed signal line is in fault, controlling the fan to operate at the current target rotating speed.
Preferably, when the fan meets the autonomous control condition, the process of controlling the fan to operate at the current target rotation speed specifically includes:
and when the rotating speed in the PWM signal sent by the BMC is less than the current target rotating speed, controlling the fan to operate according to the current target rotating speed.
Preferably, the process of controlling the fan to operate at the current target rotation speed specifically includes:
and sending a PWM rotating speed signal comprising the current target rotating speed to the fan through the detection device so as to control the fan to operate according to the current target rotating speed.
Preferably, the detection means comprises a second thermal sensor.
In order to solve the above technical problem, the present application further provides a fan control system, including:
the detection module is used for acquiring the current air flow temperature of the air flow passing through the fan through a detection device arranged on the fan;
the determining module is used for determining the current target rotating speed according to the current wind flow temperature;
and the control module is used for controlling the fan to operate according to the current target rotating speed when the fan meets the autonomous control condition.
Preferably, when the fan meets the autonomous control condition, the process of controlling the fan to operate at the current target rotation speed specifically includes:
and when the BMC and/or the first thermal sensor and/or the PWM rotating speed signal line is in fault, controlling the fan to operate at the current target rotating speed.
Preferably, when the fan meets the autonomous control condition, the process of controlling the fan to operate at the current target rotation speed specifically includes:
and when the rotating speed in the PWM signal sent by the BMC is less than the current target rotating speed, controlling the fan to operate according to the current target rotating speed.
In order to solve the above technical problem, the present application further provides a fan control device, including:
a memory for storing a computer program;
a processor for implementing the steps of the fan control method as claimed in any one of the above when executing the computer program.
To solve the above technical problem, the present application further provides a computer-readable storage medium having a computer program stored thereon, where the computer program is executed by a processor to implement the steps of the fan control method according to any one of the above.
The application provides a fan control method, which comprises the following steps: acquiring the current air flow temperature of the air flow passing through the fan through a detection device arranged on the fan; determining a current target rotating speed according to the current wind flow temperature; and when the fan meets the autonomous control condition, controlling the fan to operate according to the current target rotating speed. Therefore, in practical application, by adopting the scheme of the application, when the fan cannot read the control signal sent by the system, the control is converted into autonomous control, and the current rotating speed of the fan is autonomously adjusted through the acquired current wind flow temperature, so that the system is prevented from being in a high-temperature state and affecting the normal work of the system. The application also provides a fan control system, a fan control device and a computer readable storage medium, which have the same beneficial effects as the fan control method.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the prior art and the embodiments are briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a flow chart illustrating steps of a method for controlling a fan according to the present disclosure;
fig. 2 is a schematic structural diagram of a fan control system provided in the present application.
Detailed Description
The core of the application is to provide a fan control method, a system, a device and a computer readable storage medium, when a fan cannot read a control signal sent by a system, the control signal is converted into autonomous control, and the current rotating speed of the fan is autonomously adjusted through the acquired current air flow temperature, so that the system is prevented from being in a high-temperature state and affecting the normal work of the system.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for controlling a fan according to the present application, including:
step 1: acquiring the current air flow temperature of the air flow passing through the fan through a detection device arranged on the fan;
it should be noted that, the server system usually uses the BMC or CPLD to read the current temperature of the server system, and then sends a PWM signal to the fan according to the current temperature to control the rotation speed of the fan, and the BMC or CPLD also monitors a TACH (Tachometer) signal sent by the fan in real time to confirm that the current rotation speed of the fan is normal, so as to implement the heat dissipation management of the server system through the bidirectional circuit design, where the TACH signal is a square wave signal output from the inside of the fan, and the frequency of the signal represents the rotation speed of the fan.
Specifically, considering that if the fan cannot receive a valid control signal, the server system cannot control the fan, which may cause the internal temperature of the server system to rise and damage other internal devices, the present application combines a detection device (which may include a thermal sensor) with the fan, and uses the temperature of the wind flowing through the fan as another basis for controlling the fan. The effective control signal may be a control signal sent by an external controller such as a BMC or a CPLD.
Step 2: determining a current target rotating speed according to the current wind flow temperature;
and step 3: and when the fan meets the autonomous control condition, controlling the fan to operate according to the current target rotating speed.
As a preferred embodiment, the process of controlling the fan to operate at the current target rotation speed specifically includes:
and sending a PWM rotating speed signal comprising the current target rotating speed to the fan through the detection device so as to control the fan to operate according to the current target rotating speed.
Specifically, this application has predetermined the corresponding relation of wind current temperature and fan rotational speed, and when the fan satisfied autonomic control condition, the control fan was according to the current target rotational speed operation that corresponds with current wind current temperature to realize the autonomic control of fan, thereby avoid when the fan meets unable received effective signal, lose control, lead to server system to work under high temperature state.
The PWM rotating speed signal can be sent to the fan through the detection device so as to control the fan to operate at the current target rotating speed.
The application provides a fan control method, which comprises the following steps: acquiring the current air flow temperature of the air flow passing through the fan through a detection device arranged on the fan; determining a current target rotating speed according to the current wind flow temperature; and when the fan meets the autonomous control condition, controlling the fan to operate according to the current target rotating speed. Therefore, in practical application, by adopting the scheme of the application, when the fan cannot read the control signal sent by the system, the control is converted into autonomous control, and the current rotating speed of the fan is autonomously adjusted through the acquired current wind flow temperature, so that the system is prevented from being in a high-temperature state and affecting the normal work of the system.
On the basis of the above-described embodiment:
as a preferred embodiment, when the fan satisfies the autonomous control condition, the process of controlling the fan to operate at the current target rotation speed specifically includes:
and when the BMC and/or the first thermal sensor and/or the PWM rotating speed signal line is in fault, controlling the fan to operate at the current target rotating speed.
As a preferred embodiment, when the fan satisfies the autonomous control condition, the process of controlling the fan to operate at the current target rotation speed specifically includes:
and when the rotating speed in the PWM signal sent by the BMC is less than the current target rotating speed, controlling the fan to operate according to the current target rotating speed.
Specifically, the method for determining whether the fan satisfies the autonomous control condition may include two methods, that is, when the controller (such as BMC or CPLD), the first thermal sensor, or the PWM signal line in the server system fails and the fan cannot read an effective control signal, determining that the fan satisfies the autonomous control condition; and secondly, when the rotating speed value in the PWM signal sent by the BMC is smaller than the rotating speed required by the fan self-detection temperature, the fan is judged to meet the self-control condition, the abnormal high temperature in the server system is avoided, and the safety in the server system is improved.
To sum up, this application combines heat sensor and fan, lets the fan can the self-checking present temperature that the wind flows through the fan when the operation to reach the purpose of self-regulation fan speed, when fan control signal in the server system had a problem, the fan decided its self rotational speed according to the wind flow temperature that self detected, accomplished the adjustment to system temperature.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a fan control system provided in the present application, including:
the detection module 1 is used for acquiring the current air flow temperature of the air flow passing through the fan through a detection device arranged on the fan;
the determining module 2 is used for determining the current target rotating speed according to the current wind flow temperature;
and the control module 3 is used for controlling the fan to operate according to the current target rotating speed when the fan meets the autonomous control condition.
As a preferred embodiment, when the fan satisfies the autonomous control condition, the process of controlling the fan to operate at the current target rotation speed specifically includes:
and when the BMC and/or the first thermal sensor and/or the PWM rotating speed signal line is in fault, controlling the fan to operate at the current target rotating speed.
As a preferred embodiment, when the fan satisfies the autonomous control condition, the process of controlling the fan to operate at the current target rotation speed specifically includes:
and when the rotating speed in the PWM signal sent by the BMC is less than the current target rotating speed, controlling the fan to operate according to the current target rotating speed.
As a preferred embodiment, the process of controlling the fan to operate at the current target rotation speed specifically includes:
and sending a PWM rotating speed signal comprising the current target rotating speed to the fan through the detection device so as to control the fan to operate according to the current target rotating speed.
As a preferred embodiment, the detection means comprise a second thermal sensor.
The fan control system provided by the application has the same beneficial effects as the fan control method.
For an introduction of a fan control system provided in the present application, please refer to the above embodiments, which are not described herein again.
Correspondingly, this application still provides a fan controlling means, includes:
a memory for storing a computer program;
a processor for implementing the steps of the fan control method as any one of above when executing the computer program.
The fan control device provided by the application has the same beneficial effects as the fan control method.
For the introduction of the fan control device provided in the present application, please refer to the above embodiments, which are not described herein again.
Accordingly, the present application also provides a computer readable storage medium having a computer program stored thereon, which when executed by a processor, performs the steps of the fan control method as any one of the above.
The computer-readable storage medium provided by the application has the same beneficial effects as the fan control method.
For the introduction of a computer-readable storage medium provided in the present application, please refer to the above embodiments, which are not described herein again.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (5)

1. A fan control method, comprising:
acquiring the current air flow temperature of the air flow passing through the fan through a detection device arranged on the fan;
determining a current target rotating speed according to the current wind flow temperature;
when the fan meets the autonomous control condition, controlling the fan to operate according to the current target rotating speed;
the process of controlling the fan to operate at the current target rotating speed specifically comprises the following steps:
sending a PWM rotating speed signal comprising the current target rotating speed to the fan through the detection device so as to control the fan to operate according to the current target rotating speed;
the autonomous control condition includes:
a BMC and/or first thermal sensor and/or PWM slew signal line fault;
the autonomous control condition further includes:
and the rotating speed in the PWM signal sent by the BMC is less than the current target rotating speed.
2. The fan control method according to claim 1, wherein the detection means includes a second thermal sensor.
3. A fan control system, comprising:
the detection module is used for acquiring the current air flow temperature of the air flow passing through the fan through a detection device arranged on the fan;
the determining module is used for determining the current target rotating speed according to the current wind flow temperature;
the control module is used for controlling the fan to operate according to the current target rotating speed when the fan meets the autonomous control condition;
the process of controlling the fan to operate at the current target rotating speed specifically comprises the following steps:
sending a PWM rotating speed signal comprising the current target rotating speed to the fan through the detection device so as to control the fan to operate according to the current target rotating speed;
the autonomous control condition includes:
a BMC and/or first thermal sensor and/or PWM slew signal line fault;
the autonomous control condition further includes:
and the rotating speed in the PWM signal sent by the BMC is less than the current target rotating speed.
4. A fan control apparatus, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the fan control method according to any of claims 1-2 when executing the computer program.
5. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the fan control method according to any one of claims 1-2.
CN201910151145.4A 2019-02-28 2019-02-28 Fan control method, system, device and computer readable storage medium Active CN109857232B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910151145.4A CN109857232B (en) 2019-02-28 2019-02-28 Fan control method, system, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910151145.4A CN109857232B (en) 2019-02-28 2019-02-28 Fan control method, system, device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109857232A CN109857232A (en) 2019-06-07
CN109857232B true CN109857232B (en) 2021-08-10

Family

ID=66899334

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910151145.4A Active CN109857232B (en) 2019-02-28 2019-02-28 Fan control method, system, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109857232B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2572065Y (en) * 2002-08-29 2003-09-10 建准电机工业股份有限公司 Radiation fan with temp. sensor
CN201475020U (en) * 2009-09-04 2010-05-19 科博达技术有限公司 Controller of automobile-engine cooling fans
CN105114346A (en) * 2015-08-10 2015-12-02 浪潮电子信息产业股份有限公司 Device and method for automatically controlling fan during power-on of server

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103135706A (en) * 2011-12-02 2013-06-05 鸿富锦精密工业(深圳)有限公司 Machine box of electronic device
CN102419625A (en) * 2011-12-31 2012-04-18 曙光信息产业股份有限公司 Heat dissipation system and fan controlling device
CN106569926A (en) * 2015-10-09 2017-04-19 鸿富锦精密工业(深圳)有限公司 Monitoring system for operating situation of electronic equipment
CN106647995A (en) * 2016-12-14 2017-05-10 英业达科技有限公司 Fan monitoring system
CN107191406B (en) * 2017-07-26 2019-07-26 郑州云海信息技术有限公司 A kind of system and method for start process reducing fan noise sound

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2572065Y (en) * 2002-08-29 2003-09-10 建准电机工业股份有限公司 Radiation fan with temp. sensor
CN201475020U (en) * 2009-09-04 2010-05-19 科博达技术有限公司 Controller of automobile-engine cooling fans
CN105114346A (en) * 2015-08-10 2015-12-02 浪潮电子信息产业股份有限公司 Device and method for automatically controlling fan during power-on of server

Also Published As

Publication number Publication date
CN109857232A (en) 2019-06-07

Similar Documents

Publication Publication Date Title
US20120136502A1 (en) Fan speed control system and fan speed reading method thereof
US20160057889A1 (en) Fan Control Method For A Computer System Based On A Time Variable Rate of Current
US20180195517A1 (en) Fan control system
CN106371540B (en) System power management method, chip and electronic equipment
CN112181771A (en) Server and liquid leakage protection system thereof
CN112506739B (en) Method, system, equipment and medium for solving fan reversion problem
CN103870379A (en) Fan abnormity alarming system and method
CN109857232B (en) Fan control method, system, device and computer readable storage medium
US10284134B2 (en) Method for controlling a fan module of a server rack and controller unit for implementing the same
CN110941529A (en) Method and device for acquiring temperature of intelligent network card and adjusting rotating speed of system fan
US20140379162A1 (en) Server system and monitoring method
CN103821746B (en) Fan monitoring method and server system
US20190339992A1 (en) Modifying operating settings based on system performance data
JP6711931B2 (en) Power supply unit with cold redundancy detection function
CN112433580A (en) Fan control method and device, computer equipment and storage medium
CN108279761B (en) Server power circuit supporting fan hot plug and control method
JP2020009398A (en) Method for controlling fan in electronic system
WO2013114630A1 (en) Electronic device and control method
CN104121212A (en) Electronic device and control device and method of cooling fan of electronic device
US20150046128A1 (en) Filtration method for abnormal sensing data of monitoring chip
US9206809B2 (en) Electronic device, and control device and method for controlling fan employed in the electronic device
CN112737023A (en) Method and device for controlling powered device in fast charging mode and powered device
US20140184124A1 (en) Computing device and method for protecting fan of computing device
CN114356687B (en) Signal detection method and device and electronic equipment
CN109917884A (en) A kind of server and its fan control system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant