[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN113849055B - Server fan control system and method - Google Patents

Server fan control system and method Download PDF

Info

Publication number
CN113849055B
CN113849055B CN202111090199.8A CN202111090199A CN113849055B CN 113849055 B CN113849055 B CN 113849055B CN 202111090199 A CN202111090199 A CN 202111090199A CN 113849055 B CN113849055 B CN 113849055B
Authority
CN
China
Prior art keywords
fan
temperature
pwm
module
storage module
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
CN202111090199.8A
Other languages
Chinese (zh)
Other versions
CN113849055A (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.)
Shandong Yunhai Guochuang Cloud Computing Equipment Industry Innovation Center Co Ltd
Original Assignee
Shandong Yunhai Guochuang Cloud Computing Equipment Industry Innovation Center 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 Shandong Yunhai Guochuang Cloud Computing Equipment Industry Innovation Center Co Ltd filed Critical Shandong Yunhai Guochuang Cloud Computing Equipment Industry Innovation Center Co Ltd
Priority to CN202111090199.8A priority Critical patent/CN113849055B/en
Publication of CN113849055A publication Critical patent/CN113849055A/en
Application granted granted Critical
Publication of CN113849055B publication Critical patent/CN113849055B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/20Cooling means
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F04POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
    • F04DNON-POSITIVE-DISPLACEMENT PUMPS
    • F04D27/00Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids
    • F04D27/004Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids by varying driving speed
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F05INDEXING SCHEMES RELATING TO ENGINES OR PUMPS IN VARIOUS SUBCLASSES OF CLASSES F01-F04
    • F05DINDEXING SCHEME FOR ASPECTS RELATING TO NON-POSITIVE-DISPLACEMENT MACHINES OR ENGINES, GAS-TURBINES OR JET-PROPULSION PLANTS
    • F05D2270/00Control
    • F05D2270/30Control parameters, e.g. input parameters
    • F05D2270/303Temperature
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Mechanical Engineering (AREA)
  • Cooling Or The Like Of Electrical Apparatus (AREA)

Abstract

The invention provides a server fan control system which is respectively in communication connection with a central processing unit, a plurality of temperature sensors and a plurality of fans, and is arranged in a baseboard management controller; after the substrate management controller and the temperature sensors are started, respectively controlling the PWM generating modules to correspondingly generate a plurality of PWM signals according to the temperatures of the temperature sensors; triggering the PWM controller to interrupt when the interrupt triggering condition is reached, and informing the central processing unit to perform interrupt processing so as to improve the abnormal condition corresponding to the triggering interrupt; the invention also provides a server fan control method, which effectively reduces the hardware cost and improves the reliability of the server fan control.

Description

Server fan control system and method
Technical Field
The present invention relates to the field of server fan control, and in particular, to a system and a method for controlling a server fan.
Background
With the continuous development of cloud computing and big data, the demand of society for servers is increasing, and the number of servers stored in a machine room is also increasing. The server fan is an important way to cool down the temperature of each important device in the server, and the fan noise is the largest source of the current server noise.
Currently, the fan speed is controlled by controlling a PWM (Pulse width modulation ) controller through a BMC (Baseboard Manager Controller, baseboard management controller) to provide PWM pulses. The PWM mainly modulates the width of the digital pulse signal according to the requirement, can output pulse signals with different frequencies and duty ratios, and controls the rotating speed of the fan by controlling different duty ratios. Various temperature sensors are arranged on the server, temperatures in various periods are obtained, the temperatures are fed back to the BMC through a CPU (central processing unit, a central processing unit), the BMC calculates corresponding fan rotating speeds according to the fed-back temperatures, and the fan rotating speeds are adjusted by adjusting the duty ratio of PWM signals through a PWM controller, so that the aim of cooling devices is achieved.
The PWM controller is mainly implemented by hardware such as a CPLD (Complex Programmable logic device ) or an FPGA (Field Programmable GATE ARRAY, field programmable gate array), for example, in CN201710618056.7, an FPGA or a CPLD device is added to a server circuit board to be used as the PWM controller, and when a complete start signal of the server is received, the FPGA or the CPLD device is stopped to work and the rotation speed of the fan is controlled by the BMC.
However, the technical scheme in the CN201710618056.7 file has no effect on the FPGA or the CPLD device after the server is started, so that the great waste of hardware resources is produced; and the CPU is used for forwarding the temperature information of the temperature sensor to the BMC, and the CPU is required to constantly read the temperature of the temperature sensor due to the real-time change of the temperature sensor, so that a large amount of processing resources of the CPU are occupied in the process, and once the rotation speed of the temperature sensor or the fan reaches the maximum, corresponding control processing is lacking, so that the reliability of fan control is not facilitated.
Disclosure of Invention
In order to solve the problems in the prior art, the invention innovatively provides a server fan control system and a server fan control method, which effectively solve the problems of high hardware cost and poor reliability caused by the prior art, effectively reduce the hardware cost and improve the reliability of server fan control.
The first aspect of the present invention provides a server fan control system, which is respectively connected with a central processing unit, a plurality of temperature sensors and a plurality of fans in a communication manner, and is disposed inside a baseboard management controller, and includes: the system comprises a PWM control module, a first storage module, a temperature acquisition module and a PWM generation module, wherein the PWM control module is respectively in communication connection with a central processing unit, the first storage module, the temperature acquisition module and the PWM generation module and is used for respectively controlling a plurality of PWM generation modules to correspondingly generate a plurality of PWM signals according to rotating speed parameters stored by the first storage module under the control of the central processing unit before a substrate management controller and a temperature sensor are started; after the substrate management controller and the temperature sensors are started, the temperatures of the temperature sensors are respectively obtained through the temperature obtaining module, and the PWM generating modules are respectively controlled to correspondingly generate a plurality of PWM signals according to the temperatures of the temperature sensors; when the interrupt triggering condition is reached, triggering the PWM control module to interrupt, and informing the central processing unit to perform interrupt processing so as to improve the abnormal condition corresponding to the triggering interrupt; the first storage module is a read-only memory, and the rotating speed corresponding to the PWM signal generated according to the rotating speed parameter stored in the first storage module is smaller than the full speed of the fan.
Optionally, the number of the temperature sensors, the number of the PWM generating modules and the number of the fans are the same, and the temperature sensors, the fans and the devices to be monitored are in one-to-one correspondence.
Optionally, the system further comprises a second storage module, wherein the PWM control module is communicated with the second storage module and is used for storing the corresponding relation among the PWM signal duty ratio, the fan rotating speed and the temperature into the second storage module in real time; the second storage module is a random access memory.
Optionally, the rotational speed parameter stored in the first memory module is determined by the rotational speed parameter in the second memory module, and the rotational speed stored in the first memory module is in particular an average value of the rotational speeds of all fans stored in the second memory module over all time periods.
Optionally, the interrupt trigger condition includes any temperature difference obtained by the temperature sensor being greater than a preset value or any fan speed reaching full speed per unit time.
Further, when the interrupt triggering condition is that any fan rotation speed reaches full speed, the central processing unit obtains the fan number of which the rotation speed reaches full speed, and controls the device to be monitored corresponding to the fan of which the rotation speed reaches full speed to reduce power consumption according to the corresponding relation between the fan and the device to be monitored;
When the interrupt triggering condition is that any temperature difference value obtained by the temperature sensor in unit time is larger than a preset value, the central processing unit obtains the number of the temperature sensor with the temperature difference value larger than the preset value in unit time, and according to the corresponding relation between the temperature sensor and the device to be monitored as well as the fan, the fan corresponding to the temperature sensor with the temperature difference value larger than the preset value in unit time is controlled to increase the rotating speed of the fan.
Further, if the temperature difference is not changed or the corresponding fan rotation speed reaches full speed, the power consumption of the device to be monitored corresponding to the temperature sensor with the temperature difference larger than the preset value in the unit time is controlled to be reduced.
The second aspect of the present invention provides a method for controlling a server fan, which is implemented on the basis of the server fan control system according to the first aspect of the present invention, and operates in a baseboard management controller, and includes:
Before the substrate management controller and the temperature sensor are started, under the control of the central processing unit, the PWM control module respectively controls the PWM generation modules to correspondingly generate a plurality of PWM signals according to the rotating speed parameters stored by the first storage module, and controls the rotating speeds of the corresponding fans; the first storage module is a read-only memory, and the rotating speed corresponding to the PWM signal generated according to the rotating speed parameter stored in the first storage module is less than the full speed of the fan;
After the substrate management controller and the temperature sensors are started, respectively acquiring the temperatures of the temperature sensors, and respectively controlling the PWM generation modules to correspondingly generate a plurality of PWM signals according to the temperatures of the temperature sensors;
When the interrupt triggering condition is reached, the PWM control module is triggered to interrupt, and the central processing unit is informed to carry out interrupt processing so as to improve the abnormal condition corresponding to the triggering interrupt.
Optionally, before the interrupt trigger condition is reached, the method further comprises:
The PWM control module stores the corresponding relation among the PWM signal duty ratio, the fan rotating speed and the temperature in the second storage module in real time;
And the rotating speed parameters stored in the first storage module are updated regularly according to the rotating speed data in the second storage module, wherein the rotating speed stored in the first storage module is specifically an average value of the rotating speeds of all fans stored in the second storage module in all time periods.
Optionally, when the interrupt triggering condition is that any fan rotation speed reaches full speed, the central processing unit obtains the fan number when the rotation speed reaches full speed, and controls the device to be monitored corresponding to the fan with the rotation speed reaching full speed to reduce power consumption according to the corresponding relation between the fan and the device to be monitored; when the interrupt triggering condition is that any temperature difference value obtained by the temperature sensor in unit time is larger than a preset value, the central processing unit obtains the number of the temperature sensor with the temperature difference value larger than the preset value in unit time, and according to the corresponding relation between the temperature sensor and the device to be monitored as well as the fan, the fan corresponding to the temperature sensor with the temperature difference value larger than the preset value in unit time is controlled to increase the rotating speed of the fan; and if the temperature difference value is not changed or the corresponding fan rotating speed reaches full speed, controlling the device to be monitored corresponding to the temperature sensor with the temperature difference value larger than a preset value in unit time to reduce power consumption.
The technical scheme adopted by the invention comprises the following technical effects:
1. According to the invention, the PWM control module, the first storage module, the temperature acquisition module and the PWM generation module are integrated in the substrate management controller, so that the problems of high hardware cost and poor reliability caused by the prior art are effectively solved, the hardware cost is effectively reduced, the noise generated when the server fan runs at full speed when the substrate management controller and the temperature sensor are not started, and the reliability of the control of the server fan is improved.
2. According to the technical scheme, the number of the temperature sensors, the PWM generating modules and the fans are the same, the temperature sensors, the fans and the devices to be monitored are in one-to-one correspondence, the control reliability of the server fan is ensured, the corresponding devices to be monitored are conveniently determined according to the temperature acquisition condition of the temperature sensors or the rotation speed condition of the fans, and maintenance personnel can acquire the operation condition of each device to be monitored in time.
3. In the technical scheme of the invention, the PWM control module is communicated with the second storage module and is used for storing the corresponding relation among the duty ratio of PWM signals, the rotating speed of the fan and the temperature into the second storage module in real time; the PWM control module is convenient to directly determine the corresponding fan rotating speed and the corresponding duty ratio of the PWM signal according to the temperature, the corresponding PWM generating module is controlled to generate the PWM signal with the corresponding duty ratio, and maintenance personnel can know the temperature condition of each device to be monitored in real time.
4. According to the technical scheme, the rotating speed parameter stored in the first storage module is determined by the rotating speed parameter in the second storage module, the rotating speed stored in the first storage module is specifically an average value of the rotating speeds of all fans stored in the second storage module in all time periods, so that the rotating speed of the fans of the server can be controlled before the BMC and the temperature sensor are started, the rotating speed corresponding to PWM signals generated according to the rotating speed parameter stored in the first storage module is smaller than the full speed of the fans, and compared with the full speed operation, the noise of the fans is reduced.
5. When the interrupt triggering condition in the technical scheme is that any fan rotation speed reaches full speed, the central processing unit obtains the fan number of which the rotation speed reaches full speed, and controls the device to be monitored corresponding to the fan of which the rotation speed reaches full speed to reduce power consumption according to the corresponding relation between the fan and the device to be monitored; when the interrupt triggering condition is that any temperature difference value obtained through the temperature sensor in unit time is larger than a preset value, the central processing unit obtains the number of the temperature sensor with the temperature difference value larger than the preset value in unit time, and according to the corresponding relation between the temperature sensor and the device to be monitored and the fan, the fan corresponding to the temperature sensor with the temperature difference value larger than the preset value in unit time is controlled to increase the rotating speed of the fan, so that the CPU can process and control the abnormal condition corresponding to the trigger interrupt in time, and the abnormal condition corresponding to the trigger interrupt is improved.
6. In the technical scheme of the invention, if the temperature difference value is not changed or the corresponding fan rotating speed reaches full speed, the power consumption of the device to be monitored corresponding to the temperature sensor with the temperature difference value larger than the preset value in the unit time is controlled to be reduced, the abnormal condition corresponding to triggering interruption is further improved, and the reliability of the fan control of the server is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention as claimed.
Drawings
For a clearer description of embodiments of the invention or of the solutions of the prior art, reference will be made to the accompanying drawings, which are used in the description of the embodiments or of the prior art, and it will be obvious to those skilled in the art that other drawings can be obtained from these without inventive labour.
FIG. 1 is a schematic diagram of a system according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a second method according to the embodiment of the invention;
FIG. 3 is a schematic flow chart of a second method according to the embodiment of the invention.
Detailed Description
In order to clearly illustrate the technical features of the present solution, the present invention will be described in detail below with reference to the following detailed description and the accompanying drawings. The following disclosure provides many different embodiments, or examples, for implementing different structures of the invention. In order to simplify the present disclosure, components and arrangements of specific examples are described below. Furthermore, the present invention may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. It should be noted that the components illustrated in the figures are not necessarily drawn to scale. Descriptions of well-known components and processing techniques and processes are omitted so as to not unnecessarily obscure the present invention.
Example 1
As shown in fig. 1, the present invention provides a server fan control system, which is respectively connected to a central processing unit 1, a plurality of temperature sensors 2, and a plurality of fans 3 in a communication manner, and is disposed inside a baseboard management controller 4, and includes: the PWM control module 41, the first storage module 42, the temperature obtaining module 43, and the PWM generating module 44, where the PWM control module 41 is respectively in communication connection with the central processing unit 1, the first storage module 42, the temperature obtaining module 43, and the PWM generating module 44, and is configured to respectively control the PWM generating modules 44 to generate a plurality of PWM signals according to the rotation speed parameters stored in the first storage module 42 and control the rotation speeds of the corresponding fans 3 under the control of the central processing unit 1 before the substrate management controller 4 and the temperature sensor 2 are started; after the substrate management controller 4 and the temperature sensors 2 are started, the temperature acquisition module 43 acquires the temperatures of the temperature sensors 2, and the PWM generation modules 44 are controlled to correspondingly generate PWM signals according to the temperatures of the temperature sensors 2; when the interrupt triggering condition is reached, the PWM control module 41 is triggered to interrupt, and the central processing unit 1 is informed to perform interrupt processing so as to improve the abnormal condition corresponding to the triggering interrupt; the first Memory module 42 is a Read-Only Memory (ROM), and the rotation speed corresponding to the PWM signal generated according to the rotation speed parameter stored in the first Memory module 42 is less than the full speed of the fan.
The number of the temperature sensors 2, the number of the PWM generating modules 44 and the number of the fans 3 are the same, and the temperature sensors 2, the fans 3 and the devices to be monitored are in one-to-one correspondence.
Further, the server fan control system provided by the invention further comprises a second storage module 45, wherein the PWM control module 41 is in communication with the second storage module 45 and is used for storing the corresponding relation among the PWM signal duty ratio, the fan rotating speed and the temperature into the second storage module 45 in real time; the second memory module 45 is a random access memory (RAM, random Access Memory). When storing, only storing in sequence, and not overwriting the previous data. The PWM control module 41 will store the new temperature data, the rotation speed data, and the duty cycle data into the second storage module 45 each time a new temperature is obtained and a new rotation speed (a duty cycle of a new PWM signal) is determined according to the new temperature. The storage form may be as shown in the following table.
Specifically, the rotational speed parameter stored in the first memory module 42 is determined by the rotational speed parameter in the second memory module 45, and the rotational speed stored in the first memory module 42 is specifically an average value of the rotational speeds of all fans stored in the second memory module over all time periods. The corresponding relation among the duty ratio of the PWM signal, the rotation speed of the fan and the temperature stored in the second storage module 45 can facilitate the PWM control module 41 to determine the rotation speed of the fan corresponding to the corresponding temperature sensor 2 according to the corresponding relation among the duty ratio of the PWM signal, the rotation speed of the fan and the temperature stored in the second storage module 45, and control the PWM generation module 44 to generate the PWM signal with the corresponding duty ratio; the second storage module 45 may also store a temperature history curve acquired by each temperature sensor 2, and send the temperature history curve to the central processing unit 1 according to a command of the central processing unit 1.
The PWM control module 41 receives the configuration signal from the central processing unit 1 after the baseboard management controller 4 is started but before the startup is completed, obtains the rotation speed parameter stored in the first storage module 42, configures each parameter of the PWM generation module 44, including the reference frequency of the working clock, the duty cycle, and the like, and controls the PWM generation module to generate PWM signals (the rotation speeds of different fans are the same) of the corresponding duty cycle according to the corresponding relation between the rotation speed and the duty cycle; the PWM control module 41 may also determine the corresponding rotational speed according to the temperature of the temperature sensor 2 after the baseboard management controller 1 is completely started (i.e. the startup is completed), and control the PWM generation module 44 to generate respective PWM signals (the rotational speeds of different fans are generally different) according to the corresponding relationship between the rotational speed and the duty cycle, and modify the data stored in the first storage module 42 according to the rotational speed parameter in the second storage module 45. The PWM control module 41 is mainly responsible for generating parameter calculations and configurations (corresponding relation of temperature, rotation speed, duty cycle) of the corresponding PWM signal pulses, and generates control signals to be transmitted to the PWM generation module 44; meanwhile, the PWM control module 41 may also implement operations such as the PWM generation module 44 being turned on and off, the temperature obtaining module 43 reading the temperature, the second storage module 45 reading and writing the history data, and updating the data in the first storage module 42.
The first memory module 42 is a read-only memory, i.e. a ROM that can be erased, and is characterized in that after power-down, the content in the ROM can be saved, and after power-up, the content in the ROM can be erased by a circuit, and new content can be rewritten; the function of the first storage module 42 is to store default configuration parameters of the PWM generation module 44, the parameters still exist after power failure, and the PWM control module 41 can read the parameters from the ROM after power up, and also update the data in the ROM.
The PWM generation module 44 is configured to generate PWM pulses with different duty ratios, and generate pulses with corresponding duty ratios according to parameters (including rotational speed, corresponding relation between rotational speed and duty ratio) transmitted by the PWM control module 41, so as to control the rotational speed of the external fan.
After the substrate management controller 1 and the temperature sensor 2 are started, the PWM control module 41 configures new parameters to the PWM generation module 44 according to the temperature collected by the temperature sensor 2 and fed back by the temperature acquisition module 43, so as to generate PWM pulses with a new duty ratio; and, the PWM control module 41 modifies default parameters in the ROM.
Further, the PWM control module 41 may control the N PWM generation modules 44 simultaneously, so as to control the N fans simultaneously (the number of the temperature sensors 2 and the number of the devices to be monitored are also N), where the PWM control module 41 may also control to start or stop a certain PWM generation module 44.
Further, the interrupt trigger condition includes that any temperature difference value obtained by the temperature sensor 2 in a unit time is larger than a preset value or any fan rotation speed reaches full speed.
When the interrupt triggering condition is that any fan rotation speed reaches full speed, the central processing unit 1 obtains the serial number of the fan 3 with the rotation speed reaching full speed, and controls the device to be monitored corresponding to the fan 3 with the rotation speed reaching full speed to reduce power consumption according to the corresponding relation between the fan 3 and the device to be monitored; specifically, the power consumption modes of the device to be monitored at least comprise a high power consumption mode and a low power consumption mode, and the device to be monitored is correspondingly set to the low power consumption mode from the high power consumption mode so as to reduce the power consumption of the device to be monitored.
When the interrupt triggering condition is that any temperature difference value obtained by the temperature sensor 2 in unit time is larger than a preset value, the central processing unit 1 obtains the number of the temperature sensor 2 with the temperature difference value larger than the preset value in unit time, and according to the corresponding relation between the temperature sensor 2 and the device to be monitored as well as the fan 3, the fan 3 corresponding to the temperature sensor 2 with the temperature difference value larger than the preset value in unit time is controlled to increase the fan rotating speed.
Further, if the temperature difference is not changed or the corresponding fan rotation speed reaches full speed, the power consumption of the device to be monitored corresponding to the temperature sensor 2 with the temperature difference larger than the preset value in the unit time is controlled to be reduced. Specifically, the power consumption modes of the device to be monitored at least comprise a high power consumption mode and a low power consumption mode, and the device to be monitored is correspondingly set to the low power consumption mode from the high power consumption mode so as to reduce the power consumption of the device to be monitored.
According to the invention, the PWM control module, the first storage module, the temperature acquisition module and the PWM generation module are integrated in the substrate management controller, so that the problems of high hardware cost and poor reliability caused by the prior art are effectively solved, the hardware cost is effectively reduced, the noise generated when the server fan runs at full speed when the substrate management controller and the temperature sensor are not started, and the reliability of the control of the server fan is improved.
According to the technical scheme, the number of the temperature sensors, the PWM generating modules and the fans are the same, the temperature sensors, the fans and the devices to be monitored are in one-to-one correspondence, the control reliability of the server fan is ensured, the corresponding devices to be monitored are conveniently determined according to the temperature acquisition condition of the temperature sensors or the rotation speed condition of the fans, and maintenance personnel can acquire the operation condition of each device to be monitored in time.
In the technical scheme of the invention, the PWM control module is communicated with the second storage module and is used for storing the corresponding relation among the duty ratio of PWM signals, the rotating speed of the fan and the temperature into the second storage module in real time; the PWM control module is convenient to directly determine the corresponding fan rotating speed and the corresponding duty ratio of the PWM signal according to the temperature, the corresponding PWM generating module is controlled to generate the PWM signal with the corresponding duty ratio, and maintenance personnel can know the temperature condition of each device to be monitored in real time.
According to the technical scheme, the rotating speed parameter stored in the first storage module is determined by the rotating speed parameter in the second storage module, the rotating speed stored in the first storage module is specifically an average value of the rotating speeds of all fans stored in the second storage module in all time periods, so that the rotating speed of the fans of the server can be controlled before the BMC and the temperature sensor are started, the rotating speed corresponding to PWM signals generated according to the rotating speed parameter stored in the first storage module is smaller than the full speed of the fans, and compared with the full speed operation, the noise of the fans is reduced.
When the interrupt triggering condition in the technical scheme is that any fan rotation speed reaches full speed, the central processing unit obtains the fan number of which the rotation speed reaches full speed, and controls the device to be monitored corresponding to the fan of which the rotation speed reaches full speed to reduce power consumption according to the corresponding relation between the fan and the device to be monitored; when the interrupt triggering condition is that any temperature difference value obtained through the temperature sensor in unit time is larger than a preset value, the central processing unit obtains the number of the temperature sensor with the temperature difference value larger than the preset value in unit time, and according to the corresponding relation between the temperature sensor and the device to be monitored and the fan, the fan corresponding to the temperature sensor with the temperature difference value larger than the preset value in unit time is controlled to increase the rotating speed of the fan, so that the CPU can process and control the abnormal condition corresponding to the trigger interrupt in time, and the abnormal condition corresponding to the trigger interrupt is improved.
In the technical scheme of the invention, if the temperature difference value is not changed or the corresponding fan rotating speed reaches full speed, the power consumption of the device to be monitored corresponding to the temperature sensor with the temperature difference value larger than the preset value in the unit time is controlled to be reduced, the abnormal condition corresponding to triggering interruption is further improved, and the reliability of the fan control of the server is improved.
Example two
As shown in fig. 2, the technical solution of the present invention further provides a server fan control method, implemented based on the server fan control system in the first embodiment, running inside the baseboard management controller, including:
s1, when the substrate management controller and the temperature sensor are started and finished, under the control of a central processing unit, the PWM control module respectively controls the PWM generation modules to correspondingly generate a plurality of PWM signals according to the rotation speed parameters stored by the first storage module, and controls the rotation speeds of the corresponding fans; the first storage module is a read-only memory, and the rotating speed corresponding to the PWM signal generated according to the rotating speed parameter stored in the first storage module is less than the full speed of the fan;
S3, after the substrate management controller and the temperature sensors are started, respectively acquiring the temperatures of the temperature sensors, and respectively controlling the PWM generation modules to correspondingly generate a plurality of PWM signals according to the temperatures of the temperature sensors;
And S5, triggering the PWM control module to interrupt when the interrupt triggering condition is reached, and informing the central processing unit to perform interrupt processing so as to improve the abnormal condition corresponding to the triggering interrupt.
In step S1, the number of the temperature sensors, the PWM generating modules, and the fans are the same, and the temperature sensors, the fans, and the devices to be monitored are in one-to-one correspondence.
The PWM control module receives a configuration signal from the central processing unit after the baseboard management controller is started but before the baseboard management controller is started, acquires the rotating speed parameters stored in the first storage module, configures various parameters of the PWM generation module, including the reference frequency of a working clock, the duty ratio and the like, and controls the PWM generation module to generate PWM signals with corresponding duty ratios (the rotating speeds of different fans are the same) according to the corresponding relation between the rotating speeds and the duty ratios;
In step S3, after the baseboard management controller is completely started (i.e. the startup is completed), the PWM control module may further determine a corresponding rotation speed according to the temperature of the temperature sensor, and control the PWM generation module to generate respective PWM signals (the rotation speeds of different fans are generally different) according to the correspondence between the rotation speeds and the duty ratios, and modify the data stored in the first storage module according to the rotation speed parameters in the second storage module. The PWM control module is mainly responsible for generating parameter calculation and configuration (corresponding relation of temperature, rotating speed and duty ratio) of corresponding PWM signal pulses, and generating a control signal and transmitting the control signal to the PWM generation module; meanwhile, the PWM control module can also realize the work of starting and closing the PWM generation module, reading the temperature of the temperature acquisition module, reading and writing historical data in the second storage module, updating data in the first storage module and the like.
Further, as shown in fig. 3, the technical solution of the present invention further provides a server fan control method, before reaching the interrupt trigger condition, further including:
s41, the PWM control module stores the corresponding relation among the PWM signal duty ratio, the fan rotating speed and the temperature in the second storage module in real time;
S42, periodically updating the rotating speed parameter stored in the first storage module according to the rotating speed data in the second storage module, wherein the rotating speed stored in the first storage module is specifically an average value of the rotating speeds of all fans stored in the second storage module in all time periods.
Further, in steps S41-S42, the PWM control module communicates with the second storage module, and stores the correspondence between the PWM signal duty ratio, the fan rotation speed, and the temperature in the second storage module in real time; the second Memory module is a random access Memory (RAM, randomAccess Memory). When storing, only storing in sequence, and not overwriting the previous data.
In particular, the rotational speed parameter stored in the first memory module is determined by the rotational speed parameter in the second memory module, the rotational speed stored in the first memory module being in particular the average of the rotational speeds of all fans stored in the second memory module over all time periods. The corresponding relation among the PWM signal duty ratio, the fan rotating speed and the temperature stored in the second storage module can be convenient for the PWM control module to determine the rotating speed of the fan corresponding to the corresponding temperature sensor according to the corresponding relation among the PWM signal duty ratio, the fan rotating speed and the temperature stored in the second storage module, and control the PWM generation module to generate the PWM signal corresponding to the duty ratio; the second storage module can also store the temperature history curves acquired by each temperature sensor and send the temperature history curves to the central processing unit according to the command of the central processing unit.
In step S5, when the interrupt trigger condition is that any fan rotation speed reaches full speed, the central processing unit obtains the fan number when the rotation speed reaches full speed, and controls the device to be monitored corresponding to the fan with the rotation speed reaching full speed to reduce power consumption according to the corresponding relation between the fan and the device to be monitored; when the interrupt triggering condition is that any temperature difference value obtained by the temperature sensor in unit time is larger than a preset value, the central processing unit obtains the number of the temperature sensor with the temperature difference value larger than the preset value in unit time, and according to the corresponding relation between the temperature sensor and the device to be monitored as well as the fan, the fan corresponding to the temperature sensor with the temperature difference value larger than the preset value in unit time is controlled to increase the rotating speed of the fan; and if the temperature difference value is not changed or the corresponding fan rotating speed reaches full speed, controlling the device to be monitored corresponding to the temperature sensor with the temperature difference value larger than the preset value in unit time to reduce the power consumption.
Specifically, the power consumption modes of the device to be monitored at least comprise a high power consumption mode and a low power consumption mode, and the device to be monitored is correspondingly set to the low power consumption mode from the high power consumption mode so as to reduce the power consumption of the device to be monitored.
According to the invention, the PWM control module, the first storage module, the temperature acquisition module and the PWM generation module are integrated in the substrate management controller, so that the problems of high hardware cost and poor reliability caused by the prior art are effectively solved, the hardware cost is effectively reduced, the noise generated when the server fan runs at full speed when the substrate management controller and the temperature sensor are not started, and the reliability of the control of the server fan is improved.
According to the technical scheme, the number of the temperature sensors, the PWM generating modules and the fans are the same, the temperature sensors, the fans and the devices to be monitored are in one-to-one correspondence, the control reliability of the server fan is ensured, the corresponding devices to be monitored are conveniently determined according to the temperature acquisition condition of the temperature sensors or the rotation speed condition of the fans, and maintenance personnel can acquire the operation condition of each device to be monitored in time.
In the technical scheme of the invention, the PWM control module is communicated with the second storage module and is used for storing the corresponding relation among the duty ratio of PWM signals, the rotating speed of the fan and the temperature into the second storage module in real time; the PWM control module is convenient to directly determine the corresponding fan rotating speed and the corresponding duty ratio of the PWM signal according to the temperature, the corresponding PWM generating module is controlled to generate the PWM signal with the corresponding duty ratio, and maintenance personnel can know the temperature condition of each device to be monitored in real time.
According to the technical scheme, the rotating speed parameter stored in the first storage module is determined by the rotating speed parameter in the second storage module, the rotating speed stored in the first storage module is specifically an average value of the rotating speeds of all fans stored in the second storage module in all time periods, so that the rotating speed of the fans of the server can be controlled before the BMC and the temperature sensor are started, the rotating speed corresponding to PWM signals generated according to the rotating speed parameter stored in the first storage module is smaller than the full speed of the fans, and compared with the full speed operation, the noise of the fans is reduced.
When the interrupt triggering condition in the technical scheme is that any fan rotation speed reaches full speed, the central processing unit obtains the fan number of which the rotation speed reaches full speed, and controls the device to be monitored corresponding to the fan of which the rotation speed reaches full speed to reduce power consumption according to the corresponding relation between the fan and the device to be monitored; when the interrupt triggering condition is that any temperature difference value obtained through the temperature sensor in unit time is larger than a preset value, the central processing unit obtains the number of the temperature sensor with the temperature difference value larger than the preset value in unit time, and according to the corresponding relation between the temperature sensor and the device to be monitored and the fan, the fan corresponding to the temperature sensor with the temperature difference value larger than the preset value in unit time is controlled to increase the rotating speed of the fan, so that the CPU can process and control the abnormal condition corresponding to the trigger interrupt in time, and the abnormal condition corresponding to the trigger interrupt is improved.
In the technical scheme of the invention, if the temperature difference value is not changed or the corresponding fan rotating speed reaches full speed, the power consumption of the device to be monitored corresponding to the temperature sensor with the temperature difference value larger than the preset value in the unit time is controlled to be reduced, the abnormal condition corresponding to triggering interruption is further improved, and the reliability of the fan control of the server is improved.
While the foregoing description of the embodiments of the present invention has been presented in conjunction with the drawings, it should be understood that it is not intended to limit the scope of the invention, but rather, it is intended to cover all modifications or variations within the scope of the invention as defined by the claims of the present invention.

Claims (7)

1. A server fan control system is respectively in communication connection with a central processing unit, a plurality of temperature sensors and a plurality of fans, and is characterized by being arranged inside a baseboard management controller and comprising: the system comprises a PWM control module, a first storage module, a temperature acquisition module and a PWM generation module, wherein the PWM control module is respectively in communication connection with a central processing unit, the first storage module, the temperature acquisition module and the PWM generation module and is used for respectively controlling a plurality of PWM generation modules to correspondingly generate a plurality of PWM signals according to rotating speed parameters stored by the first storage module under the control of the central processing unit before a substrate management controller and a temperature sensor are started; after the substrate management controller and the temperature sensors are started, the temperatures of the temperature sensors are respectively obtained through the temperature obtaining module, and the PWM generating modules are respectively controlled to correspondingly generate a plurality of PWM signals according to the temperatures of the temperature sensors; when the interrupt triggering condition is reached, triggering the PWM control module to interrupt, and informing the central processing unit to perform interrupt processing so as to improve the abnormal condition corresponding to the triggering interrupt; the first storage module is a read-only memory, the rotating speed corresponding to the PWM signals generated according to the rotating speed parameters stored in the first storage module is smaller than the full speed of the fan, and the rotating speeds corresponding to the PWM signals generated according to the rotating speed parameters stored in the first storage module among different fans are the same; the PWM control module is communicated with the second storage module and is used for storing the corresponding relation among the PWM signal duty ratio, the fan rotating speed and the temperature into the second storage module in real time; the second storage module is a random access memory; when in storage, only the data are stored sequentially, and the previous data are not covered; the PWM control module correspondingly stores the new temperature data, the rotating speed data and the duty ratio data into the second storage module every time the new temperature is acquired and the new rotating speed is determined according to the new temperature; the rotational speed parameter stored in the first memory module is determined by the rotational speed parameter in the second memory module, the rotational speed stored in the first memory module being in particular the average of the rotational speeds of all fans stored in the second memory module over all time periods.
2. The server fan control system of claim 1, wherein the number of temperature sensors, PWM generation modules, fans are the same, and the temperature sensors, fans, and devices to be monitored are in one-to-one correspondence.
3. The server fan control system of claim 1 or 2, wherein the interrupt trigger condition includes any temperature difference obtained by the temperature sensor per unit time being greater than a preset value or any fan speed reaching full speed.
4. The server fan control system according to claim 3, wherein when the interrupt trigger condition is that any fan rotation speed reaches full speed, the central processing unit obtains a fan number when the rotation speed reaches full speed, and controls the device to be monitored corresponding to the fan with the rotation speed reaching full speed to reduce power consumption according to the corresponding relation between the fan and the device to be monitored;
When the interrupt triggering condition is that any temperature difference value obtained by the temperature sensor in unit time is larger than a preset value, the central processing unit obtains the number of the temperature sensor with the temperature difference value larger than the preset value in unit time, and according to the corresponding relation between the temperature sensor and the device to be monitored as well as the fan, the fan corresponding to the temperature sensor with the temperature difference value larger than the preset value in unit time is controlled to increase the rotating speed of the fan.
5. The server fan control system of claim 4, wherein if the temperature difference is unchanged or the corresponding fan speed reaches full speed, the power consumption of the device to be monitored corresponding to the temperature sensor having the temperature difference greater than the preset value in the unit time is controlled to be reduced.
6. A server fan control method implemented on the basis of the server fan control system according to any one of claims 1-5, running inside a baseboard management controller, comprising:
Before the substrate management controller and the temperature sensor are started, under the control of the central processing unit, the PWM control module respectively controls the PWM generation modules to correspondingly generate a plurality of PWM signals according to the rotating speed parameters stored by the first storage module, and controls the rotating speeds of the corresponding fans; the first storage module is a read-only memory, the rotating speed corresponding to the PWM signals generated according to the rotating speed parameters stored in the first storage module is smaller than the full speed of the fan, and the rotating speeds corresponding to the PWM signals generated according to the rotating speed parameters stored in the first storage module among different fans are the same;
After the substrate management controller and the temperature sensors are started, respectively acquiring the temperatures of the temperature sensors, and respectively controlling the PWM generation modules to correspondingly generate a plurality of PWM signals according to the temperatures of the temperature sensors;
The PWM control module stores the corresponding relation among the PWM signal duty ratio, the fan rotating speed and the temperature in the second storage module in real time; when in storage, only the data are stored sequentially, and the previous data are not covered; the PWM control module correspondingly stores the new temperature data, the rotating speed data and the duty ratio data into the second storage module every time the new temperature is acquired and the new rotating speed is determined according to the new temperature;
The rotating speed parameters stored in the first storage module are updated regularly according to the rotating speed data in the second storage module, and the rotating speed stored in the first storage module is specifically an average value of the rotating speeds of all fans stored in the second storage module in all time periods;
When the interrupt triggering condition is reached, the PWM control module is triggered to interrupt, and the central processing unit is informed to carry out interrupt processing so as to improve the abnormal condition corresponding to the triggering interrupt.
7. The method of claim 6, wherein when the interrupt trigger condition is that any fan has a full speed, the central processing unit obtains a fan number when the speed has the full speed, and controls the device to be monitored corresponding to the fan with the full speed to reduce power consumption according to the corresponding relation between the fan and the device to be monitored; when the interrupt triggering condition is that any temperature difference value obtained by the temperature sensor in unit time is larger than a preset value, the central processing unit obtains the number of the temperature sensor with the temperature difference value larger than the preset value in unit time, and according to the corresponding relation between the temperature sensor and the device to be monitored as well as the fan, the fan corresponding to the temperature sensor with the temperature difference value larger than the preset value in unit time is controlled to increase the rotating speed of the fan; and if the temperature difference value is not changed or the corresponding fan rotating speed reaches full speed, controlling the device to be monitored corresponding to the temperature sensor with the temperature difference value larger than a preset value in unit time to reduce power consumption.
CN202111090199.8A 2021-09-17 2021-09-17 Server fan control system and method Active CN113849055B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111090199.8A CN113849055B (en) 2021-09-17 2021-09-17 Server fan control system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111090199.8A CN113849055B (en) 2021-09-17 2021-09-17 Server fan control system and method

Publications (2)

Publication Number Publication Date
CN113849055A CN113849055A (en) 2021-12-28
CN113849055B true CN113849055B (en) 2024-04-26

Family

ID=78974513

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111090199.8A Active CN113849055B (en) 2021-09-17 2021-09-17 Server fan control system and method

Country Status (1)

Country Link
CN (1) CN113849055B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114562473A (en) * 2022-01-28 2022-05-31 山东云海国创云计算装备产业创新中心有限公司 Fan control method, device, equipment and medium
TWI837881B (en) * 2022-10-13 2024-04-01 緯穎科技服務股份有限公司 Fan control method, processing device, and fan control system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104696250A (en) * 2013-12-10 2015-06-10 中国航空工业第六一八研究所 Stable control method for rotating speed of axial flow fan
CN106292960A (en) * 2016-08-12 2017-01-04 深圳市云海麒麟计算机系统有限公司 A kind of server radiating intelligent management
CN107191406A (en) * 2017-07-26 2017-09-22 郑州云海信息技术有限公司 A kind of system and method for start process reducing fan noise sound
US9846444B1 (en) * 2017-06-07 2017-12-19 Aic Inc. Method for controlling and adjusting fans of electronic apparatus
CN107654407A (en) * 2017-11-15 2018-02-02 郑州云海信息技术有限公司 A kind of control method of multi-fan control system and multi-fan based on server
CN109139524A (en) * 2017-06-19 2019-01-04 中兴通讯股份有限公司 A kind of method, apparatus and storage medium of fan speed regulation
CN110602922A (en) * 2019-08-30 2019-12-20 宁波三星智能电气有限公司 Charging pile internal temperature control method based on PWM fan control
CN111090214A (en) * 2018-10-23 2020-05-01 台达电子工业股份有限公司 Projector and projector protection method
CN113359963A (en) * 2021-04-29 2021-09-07 山东英信计算机技术有限公司 Method, device and equipment for monitoring fan aging and readable medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103138974A (en) * 2011-11-28 2013-06-05 英业达科技有限公司 Server rack system of managing rotating speeds of fan
TWI507607B (en) * 2012-09-03 2015-11-11 Hon Hai Prec Ind Co Ltd Fan speed control circuit
TWI563371B (en) * 2015-09-24 2016-12-21 Hon Hai Prec Ind Co Ltd A server control system and method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104696250A (en) * 2013-12-10 2015-06-10 中国航空工业第六一八研究所 Stable control method for rotating speed of axial flow fan
CN106292960A (en) * 2016-08-12 2017-01-04 深圳市云海麒麟计算机系统有限公司 A kind of server radiating intelligent management
US9846444B1 (en) * 2017-06-07 2017-12-19 Aic Inc. Method for controlling and adjusting fans of electronic apparatus
CN109139524A (en) * 2017-06-19 2019-01-04 中兴通讯股份有限公司 A kind of method, apparatus and storage medium of fan speed regulation
CN107191406A (en) * 2017-07-26 2017-09-22 郑州云海信息技术有限公司 A kind of system and method for start process reducing fan noise sound
CN107654407A (en) * 2017-11-15 2018-02-02 郑州云海信息技术有限公司 A kind of control method of multi-fan control system and multi-fan based on server
CN111090214A (en) * 2018-10-23 2020-05-01 台达电子工业股份有限公司 Projector and projector protection method
CN110602922A (en) * 2019-08-30 2019-12-20 宁波三星智能电气有限公司 Charging pile internal temperature control method based on PWM fan control
CN113359963A (en) * 2021-04-29 2021-09-07 山东英信计算机技术有限公司 Method, device and equipment for monitoring fan aging and readable medium

Also Published As

Publication number Publication date
CN113849055A (en) 2021-12-28

Similar Documents

Publication Publication Date Title
CN113849055B (en) Server fan control system and method
US20120136498A1 (en) Rack server system
CN111984498A (en) Server cluster monitoring and management system
CN109611367B (en) Fan control system and server based on CPLD
CN108050092B (en) The rotation speed of the fan adjusting method and device of fuel cell, computer storage medium and equipment
CN109614293A (en) A kind of management system and method for FPGA isomery accelerator card
CN103016382B (en) Refrigerator and condensation fan speed-adjusting and control system thereof and method
CN106647995A (en) Fan monitoring system
CN103455404A (en) Server fan running monitoring system and method
WO2021068696A1 (en) Control method and device for laser system
CN111734667A (en) Method and device for regulating and controlling rotating speed of server fan
CA3038915A1 (en) Control of ultrasonic nebulizers in a humidifier
CN105446446A (en) Power supply control device and method of hardware watchdog
CN204904112U (en) Device based on multichannel temperature data collection and fan control
CN105240303A (en) Efficient and energy-saving SmartRack cabinet fan regulation and control method
CN109488627A (en) A kind of system and method for remote control server radiator fan working condition
LU100947B1 (en) Device connection system and method of operation
CN101673090A (en) Method for controlling equipment, equipment-controlling device and system
US11600170B2 (en) Fan system and fan driving method
CN109491237A (en) A kind of fan of the single control storage equipment during booting powers on surely controls method and device
CN116954334A (en) Heat dissipation control method, device, server, computer equipment and storage medium
CN114151121B (en) Hydraulic support control system, method and device
CN109144131A (en) A kind of the intelligent temperature control method and storage medium of matrix switch system
CN104728144B (en) Fan control system and method
CN114857059B (en) Fan system and fan driving method

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