CN113849055A - Server fan control system and method - Google Patents

Server fan control system and method Download PDF

Info

Publication number
CN113849055A
CN113849055A CN202111090199.8A CN202111090199A CN113849055A CN 113849055 A CN113849055 A CN 113849055A CN 202111090199 A CN202111090199 A CN 202111090199A CN 113849055 A CN113849055 A CN 113849055A
Authority
CN
China
Prior art keywords
fan
pwm
temperature
storage module
speed
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.)
Granted
Application number
CN202111090199.8A
Other languages
Chinese (zh)
Other versions
CN113849055B (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

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mechanical Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (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 arranged in a substrate management controller, wherein before the substrate management controller and the temperature sensors are started, a plurality of PWM (pulse width modulation) generation modules are respectively controlled to correspondingly generate a plurality of PWM signals according to rotating speed parameters stored in a first storage module, and rotating speeds of the corresponding plurality of fans are controlled; 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 plurality of temperature sensors; when the interrupt triggering condition is reached, triggering the PWM controller to interrupt, and informing the central processing unit of interrupting processing so as to improve the abnormal condition corresponding to the triggered interrupt; the invention also provides a server fan control method, which effectively reduces the hardware cost and improves the reliability of server fan control.

Description

Server fan control system and method
Technical Field
The invention relates to the field of server fan control, in particular to a server fan control system and a server fan control method.
Background
With the continuous development of cloud computing and big data, the social demand for servers is larger and larger, and the number of servers stored in a machine room is also larger and larger. 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 server noise.
At present, the fan speed is controlled by a BMC (Baseboard management Controller) to control a PWM (Pulse width modulation) Controller, so as to provide a PWM Pulse, thereby controlling the fan speed. The PWM mainly modulates the width of a digital pulse signal according to requirements, can output a plurality of paths of pulse signals with different frequencies and duty ratios, and controls the rotating speed of a fan by controlling different duty ratios. Various temperature sensors are arranged on the server, the temperature in various periods is obtained, the temperature is fed back to the BMC through a Central Processing Unit (CPU), the BMC calculates the corresponding fan rotating speed according to the fed-back temperature, and the PWM controller adjusts the duty ratio of PWM signals to adjust the fan rotating speed, so that the aim of cooling the device is fulfilled.
The PWM controller is mainly implemented by hardware such as a CPLD (Complex Programmable logic device) or an FPGA (Field Programmable Gate Array), for example, in CN201710618056.7, the FPGA or CPLD is added to a server circuit board to serve as the PWM controller, and when a complete power-on signal of the server is received, the operation of the FPGA or CPLD is stopped and the cpu is handed to the BMC to control the rotation speed of the fan.
However, the technical scheme in the CN201710618056.7 document does not work after the server is started up, so that the great waste of hardware resources is caused; the temperature information read by the temperature sensor is forwarded to the BMC through the CPU, the temperature of the temperature sensor needs to be continuously read by the CPU due to real-time change of the temperature sensor, processing resources of the CPU are greatly occupied in the process, and once the rotating speed of the temperature sensor or the fan reaches the maximum, corresponding control processing is lacked, so that the reliability of fan control is not improved.
Disclosure of Invention
The invention aims to solve the problems in the prior art, and innovatively provides a server fan control system and a server fan control method, so that the problems of high hardware cost and poor reliability in the prior art are effectively solved, the hardware cost is effectively reduced, and the server fan control reliability is improved.
The 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 way, is arranged in a substrate management controller and comprises: the temperature acquisition module is in communication connection with the central processing unit, the temperature acquisition module and the PWM generation module respectively, and is used for controlling the PWM generation modules to generate a plurality of PWM signals correspondingly according to the rotating speed parameters stored in the first storage module under the control of the central processing unit and controlling the rotating speeds of the corresponding fans respectively before the substrate management controller and the temperature sensor are started; after the substrate management controller and the temperature sensors are started, the temperatures of the plurality of temperature sensors are respectively obtained through the temperature obtaining modules, and the plurality of PWM generating modules are respectively controlled to correspondingly generate a plurality of PWM signals according to the temperatures of the plurality of temperature sensors; when the interrupt triggering condition is reached, triggering the PWM control module to interrupt, and informing the central processing unit of interrupting processing so as to improve the abnormal condition corresponding to the triggered 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 correspond one to one.
Optionally, the system further comprises a second storage module, wherein the PWM control module is in communication with the second storage module and is configured to store the correspondence among the PWM signal duty cycle, the fan speed, and the temperature in the second storage module in real time; the second storage module is a random access memory.
Optionally, the rotation speed parameter stored in the first storage module is determined by the rotation speed parameter stored in the second storage module, and the rotation speed stored in the first storage module is specifically an average value of the rotation speeds of all the fans stored in the second storage module in all the time periods.
Optionally, the interrupt trigger condition includes that any temperature difference value obtained by the temperature sensor in unit time is greater than a preset value or that any fan speed reaches full speed.
Further, when the interrupt trigger condition is that the rotating speed of any fan reaches full speed, the central processing unit acquires the serial number of the fan with the rotating speed reaching full speed, and controls the device to be monitored corresponding to the fan with the rotating 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 acquired by the temperature sensor in unit time is greater than a preset value, the central processing unit acquires the temperature sensor number of which the temperature difference value is greater than the preset value in unit time, and controls the fan corresponding to the temperature sensor of which the temperature difference value is greater than the preset value in unit time to increase the rotating speed of the fan according to the corresponding relation between the temperature sensor and the device to be monitored and the fan.
Further, 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 unit time is controlled to be reduced.
A second aspect of the present invention provides a server fan control method, implemented based on the server fan control system according to the first aspect of the present invention, running inside a baseboard management controller, including:
before the substrate management controller and the temperature sensor are started, the PWM control module acquires and respectively controls the PWM generation modules to correspondingly generate a plurality of PWM signals according to the rotating speed parameters stored in the first storage module under the control of the central processing unit, 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 plurality of temperature sensors, and respectively controlling the plurality of PWM generating modules to correspondingly generate a plurality of PWM signals according to the temperatures of the plurality of temperature sensors;
and when the interrupt triggering condition is reached, triggering the PWM control module to interrupt, and informing the central processing unit of interrupting the process so as to improve the abnormal condition corresponding to the triggered interrupt.
Optionally, before the interrupt triggering condition is reached, further comprising:
the PWM control module stores the corresponding relation among the PWM signal duty ratio, the fan rotating speed and the temperature into a second storage module in real time;
and periodically updating the rotating speed parameters 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 the average value of the rotating speeds of all the fans stored in the second storage module in all the time periods.
Optionally, when the interrupt trigger condition is that the rotating speed of any fan reaches full speed, the central processing unit obtains the serial number of the fan with the rotating speed reaching full speed, and controls the device to be monitored corresponding to the fan with the rotating speed reaching full speed to reduce power consumption according to the corresponding relationship between the fan and the device to be monitored; when the interrupt triggering condition is that any temperature difference value acquired by the temperature sensor in unit time is larger than a preset value, the central processing unit acquires the serial number of the temperature sensor of which the temperature difference value is larger than the preset value in unit time, and controls the fan corresponding to the temperature sensor of which the temperature difference value is larger than the preset value in unit time to increase the rotating speed of the fan according to the corresponding relation among the temperature sensor, a device to be monitored and the fan; and if the temperature difference value is not changed or the corresponding fan rotating speed reaches full speed, controlling 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 unit time to be reduced.
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 is reduced, and the control reliability 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 is the same correspondingly, and the temperature sensors, the fans and the devices to be monitored are in one-to-one correspondence, so that the reliability of server fan control is guaranteed, the corresponding devices to be monitored can be conveniently determined according to the temperature acquisition condition of the temperature sensors or the rotating speed condition of the fans, and the operation condition of each device to be monitored can be acquired timely by maintenance personnel.
3. The PWM control module is communicated with the second storage module and is used for storing the corresponding relation among the duty ratio of the PWM signal, the rotating speed of the fan and the temperature into the second storage module in real time; the PWM control module can directly determine the corresponding fan rotating speed and the duty ratio of the corresponding PWM signal according to the temperature, the corresponding PWM generation 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 conveniently.
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 the average value of the rotating speeds of all the fans stored in the second storage module in all time periods, the rotating speed of the fans can be controlled before the BMC and the temperature sensor are not started, 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 fans, and compared with the full speed operation, the noise of the fans is reduced.
5. In the technical scheme of the invention, when the interrupt triggering condition is that the rotating speed of any fan reaches full speed, the central processing unit acquires the serial number of the fan with the rotating speed reaching full speed, and controls the device to be monitored corresponding to the fan with the rotating 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 acquired by the temperature sensor in unit time is greater than a preset value, the central processing unit acquires the temperature sensor number of which the temperature difference value is greater than the preset value in unit time, and controls the fan corresponding to the temperature sensor of which the temperature difference value is greater than the preset value in unit time to increase the rotating speed of the fan according to the corresponding relation between the temperature sensor and the device to be monitored and the fan, so that the CPU can timely process and control the abnormal condition corresponding to the trigger interrupt, 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 unit time is controlled to be reduced, the abnormal condition corresponding to the triggering interruption is further improved, and the control reliability of the server fan 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
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without any creative effort.
FIG. 1 is a schematic diagram of a system according to an embodiment of the present invention;
FIG. 2 is a schematic flow diagram of a second method in accordance with embodiments of the present invention;
FIG. 3 is another schematic flow chart of a second method embodiment of the present invention.
Detailed Description
In order to clearly explain the technical features of the present invention, the following detailed description of the present invention is provided with reference to the accompanying drawings. The following disclosure provides many different embodiments, or examples, for implementing different features of the invention. To simplify the disclosure of the present invention, the 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 procedures are omitted so as to not unnecessarily limit the invention.
Example one
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 temperature control system comprises a PWM control module 41, a first storage module 42, a temperature acquisition module 43 and a PWM generation module 44, wherein the PWM control module 41 is respectively in communication connection with the central processing unit 1, the first storage module 42, the temperature acquisition module 43 and the PWM generation module 44, and is used for respectively controlling the plurality of PWM generation modules 44 to correspondingly generate a plurality of PWM signals according to rotating speed parameters stored in the first storage module 42 under the control of the central processing unit 1 and controlling the rotating speeds of the corresponding plurality of fans 3 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 temperatures of the plurality of temperature sensors 2 are respectively obtained through the temperature obtaining module 43, and the plurality of PWM generating modules 44 are respectively controlled to correspondingly generate a plurality of PWM signals according to the temperatures of the plurality of temperature sensors 2; when the interrupt triggering condition is reached, triggering the PWM control module 41 to interrupt, and informing the central processing unit 1 of interrupt processing so as to improve the abnormal condition corresponding to the triggered interrupt; the first storage 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 storage 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 in the second storage module 45 in real time; the second storage module 45 is a Random Access Memory (RAM). When storing, only sequential storage is performed, and previous data is not overwritten. The PWM control module 41 may correspondingly store the new temperature data, the new rotational speed data, and the new duty ratio data in the second storage module 45 every time a new temperature is obtained and a new rotational speed (a new duty ratio of the PWM signal) is determined according to the new temperature. The storage form may be as shown in the following table.
Figure BDA0003267101550000081
Figure BDA0003267101550000091
Specifically, the speed parameter stored in the first storage module 42 is determined by the speed parameter in the second storage module 45, and the speed stored in the first storage module 42 is specifically an average value of the speeds of all the fans stored in the second storage module over all the time periods. The correspondence between the duty ratio of the PWM signal, the rotational speed of the fan, and the temperature stored in the second storage module 45 may facilitate the PWM control module 41 to determine the rotational speed of the fan corresponding to the corresponding temperature sensor 2 according to the correspondence between the duty ratio of the PWM signal, the rotational 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 corresponding to the duty ratio; the second storage module 45 may also store a temperature history curve collected 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 substrate management controller 4 is turned on but before the substrate management controller is turned on, obtains the rotation speed parameters stored in the first storage module 42, configures various parameters including the reference frequency of the working clock, the duty ratio and the like for the PWM generation module 44, and controls the PWM generation module to generate PWM signals (the rotation speeds of different fans are the same) with corresponding duty ratios according to the corresponding relationship between the rotation speed and the duty ratio; the PWM control module 41 may further determine a corresponding rotation 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 rotation speeds of different fans are generally different) according to the corresponding relationship between the rotation speed and the duty ratio, and modify the data stored in the first storage module 42 according to the rotation speed parameter in the second storage module 45. The PWM control module 41 is mainly responsible for parameter calculation and configuration (corresponding relationship of temperature, rotation speed and duty ratio) for generating corresponding PWM signal pulses, and generates a control signal to transmit to the PWM generation module 44; meanwhile, the PWM control module 41 may also implement operations such as starting and closing of the PWM generation module 44, temperature reading of the temperature acquisition module 43, reading and writing of historical data in the second storage module 45, and updating of data in the first storage module 42.
The first storage module 42 is a read-only memory, i.e., a programmable and erasable ROM, and is characterized in that after power is off, the content in the ROM can be saved, and after power is on, the content in the ROM can be erased through a circuit, and new content can be rewritten; the first storage module 42 is used to store default configuration parameters of the PWM generation module 44, the parameters still exist after power down, and the PWM control module 41 can read the parameters from the ROM after power up, and also can update the data in the ROM.
The PWM generating module 44 is configured to generate PWM pulses with different duty ratios, and generate pulses with corresponding duty ratios according to parameters (including corresponding relationship between the rotation speed, and the duty ratio) transmitted by the PWM controlling module 41, so as to control the rotation speed of the external fan.
After the substrate management controller 1 and the temperature sensor 2 are started, the PWM control module 41 configures a new parameter to the PWM generation module 44 according to the temperature collected by the temperature sensor 2 fed back by the temperature acquisition module 43, so as to generate a PWM pulse with a new duty ratio; and the PWM control module 41 modifies the default parameters in the ROM.
Further, the PWM control module 41 may control the N PWM generation modules 44 at the same time, so as to control the N fans at the same time (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 one of the PWM generation modules 44.
Further, the interrupt trigger condition includes that any temperature difference value acquired by the temperature sensor 2 in a unit time is greater than a preset value or any fan speed reaches full speed.
When the interrupt triggering condition is that the rotating speed of any fan reaches full speed, the central processing unit 1 acquires the serial number of the fan 3 with the rotating speed reaching full speed, and controls the device to be monitored corresponding to the fan 3 with the rotating 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 include a high power consumption mode and a low power consumption mode, and the device to be monitored is correspondingly set from the high power consumption mode to the low power consumption mode so as to reduce the power consumption of the device to be monitored.
When the interrupt trigger condition is that any temperature difference value acquired by the temperature sensor 2 in unit time is greater than a preset value, the central processing unit 1 acquires the serial number of the temperature sensor 2 with the temperature difference value greater than the preset value in unit time, and controls the fan 3 corresponding to the temperature sensor 2 with the temperature difference value greater than the preset value in unit time to increase the rotating speed of the fan according to the corresponding relation between the temperature sensor 2 and the device to be monitored and the fan 3.
Further, if the temperature difference value is not changed or the corresponding fan speed reaches full speed, the power consumption of the device to be monitored corresponding to the temperature sensor 2 with the temperature difference value larger than the preset value in unit time is controlled to be reduced. Specifically, the power consumption modes of the device to be monitored at least include a high power consumption mode and a low power consumption mode, and the device to be monitored is correspondingly set from the high power consumption mode to the low 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 is reduced, and the control reliability of the server fan is improved.
According to the technical scheme, the number of the temperature sensors, the PWM generating modules and the fans is the same correspondingly, and the temperature sensors, the fans and the devices to be monitored are in one-to-one correspondence, so that the reliability of server fan control is guaranteed, the corresponding devices to be monitored can be conveniently determined according to the temperature acquisition condition of the temperature sensors or the rotating speed condition of the fans, and the operation condition of each device to be monitored can be acquired timely by maintenance personnel.
The PWM control module is communicated with the second storage module and is used for storing the corresponding relation among the duty ratio of the PWM signal, the rotating speed of the fan and the temperature into the second storage module in real time; the PWM control module can directly determine the corresponding fan rotating speed and the duty ratio of the corresponding PWM signal according to the temperature, the corresponding PWM generation 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 conveniently.
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 the average value of the rotating speeds of all the fans stored in the second storage module in all time periods, the rotating speed of the fans can be controlled before the BMC and the temperature sensor are not started, 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 fans, and compared with the full speed operation, the noise of the fans is reduced.
In the technical scheme of the invention, when the interrupt triggering condition is that the rotating speed of any fan reaches full speed, the central processing unit acquires the serial number of the fan with the rotating speed reaching full speed, and controls the device to be monitored corresponding to the fan with the rotating 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 acquired by the temperature sensor in unit time is greater than a preset value, the central processing unit acquires the temperature sensor number of which the temperature difference value is greater than the preset value in unit time, and controls the fan corresponding to the temperature sensor of which the temperature difference value is greater than the preset value in unit time to increase the rotating speed of the fan according to the corresponding relation between the temperature sensor and the device to be monitored and the fan, so that the CPU can timely process and control the abnormal condition corresponding to the trigger interrupt, 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 unit time is controlled to be reduced, the abnormal condition corresponding to the triggering interruption is further improved, and the control reliability of the server fan 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 a baseboard management controller, including:
s1, before the substrate management controller and the temperature sensor are started, the PWM control module obtains and respectively controls the PWM generation modules to correspondingly generate a plurality of PWM signals according to the rotating speed parameters stored in the first storage module under the control of the central processing unit, 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;
s3, when the substrate management controller and the temperature sensors are started, respectively acquiring the temperatures of the plurality of temperature sensors, and respectively controlling the plurality of PWM generating modules to correspondingly generate a plurality of PWM signals according to the temperatures of the plurality of temperature sensors;
and S5, when the interrupt triggering condition is reached, triggering the PWM control module to interrupt, and informing the central processing unit of interrupt processing so as to improve the abnormal condition corresponding to the triggered interrupt.
In step S1, the numbers 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 substrate management controller is started but before the substrate management controller is started, acquires the rotating speed parameters stored in the first storage module, configures various parameters including the reference frequency of a working clock, the duty ratio and the like of the PWM generation module, and controls the PWM generation module to generate PWM signals (the rotating speeds of different fans are the same) with corresponding duty ratios according to the corresponding relation between the rotating speed and the duty ratios;
in step S3, the PWM control module may further determine a corresponding rotation speed according to the temperature of the temperature sensor after the bmc is completely started (i.e., the start is completed), and control the PWM generation module to generate respective PWM signals (the rotation speeds of different fans are generally different) according to the corresponding relationship between the rotation speed and the duty ratio, and modify the data stored in the first storage module according to the rotation speed parameter in the second storage module. The PWM control module is mainly responsible for parameter calculation and configuration (corresponding relation of temperature, rotating speed and duty ratio) of the generated corresponding PWM signal pulse, and generates a control signal and transmits 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 the interruption triggering condition is reached, further comprising:
s41, the PWM control module stores the corresponding relation among the PWM signal duty ratio, the fan rotating speed and the temperature into a second storage module in real time;
and S42, periodically updating the rotating speed parameters 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 the average value of the rotating speeds of all the fans stored in the second storage module in all the time periods.
Further, in the steps S41-S42, the PWM control module communicates with the second storage module, and stores the correspondence among the PWM signal duty ratio, the fan speed, and the temperature in the second storage module in real time; the second storage module is a Random Access Memory (RAM). When storing, only sequential storage is performed, and previous data is not overwritten.
Specifically, the rotation speed parameter stored in the first storage module is determined by the rotation speed parameter stored in the second storage module, and the rotation speed stored in the first storage module is specifically an average value of the rotation speeds of all the fans stored in the second storage module in all the time periods. The correspondence among the duty ratio of the PWM signal, the rotating speed of the fan and the temperature stored in the second storage module can facilitate the PWM control module to determine the rotating speed of the fan corresponding to the corresponding temperature sensor according to the correspondence among the duty ratio of the PWM signal, the rotating speed of the fan 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 curve collected by each temperature sensor and send the temperature history curve to the central processing unit according to the command of the central processing unit.
In step S5, when the interrupt trigger condition is that the rotational speed of any fan reaches full speed, the central processing unit obtains the serial number of the fan whose rotational speed reaches full speed, and controls the device to be monitored corresponding to the fan whose rotational speed reaches full speed to reduce power consumption according to the corresponding relationship between the fan and the device to be monitored; when the interrupt triggering condition is that any temperature difference value acquired by the temperature sensor in unit time is larger than a preset value, the central processing unit acquires the serial number of the temperature sensor of which the temperature difference value is larger than the preset value in unit time, and controls the fan corresponding to the temperature sensor of which the temperature difference value is larger than the preset value in unit time to increase the rotating speed of the fan according to the corresponding relation among the temperature sensor, a device to be monitored and the fan; and if the temperature difference value is not changed or the corresponding fan rotating speed reaches full speed, controlling 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 unit time to be reduced.
Specifically, the power consumption modes of the device to be monitored at least include a high power consumption mode and a low power consumption mode, and the device to be monitored is correspondingly set from the high power consumption mode to the low 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 is reduced, and the control reliability of the server fan is improved.
According to the technical scheme, the number of the temperature sensors, the PWM generating modules and the fans is the same correspondingly, and the temperature sensors, the fans and the devices to be monitored are in one-to-one correspondence, so that the reliability of server fan control is guaranteed, the corresponding devices to be monitored can be conveniently determined according to the temperature acquisition condition of the temperature sensors or the rotating speed condition of the fans, and the operation condition of each device to be monitored can be acquired timely by maintenance personnel.
The PWM control module is communicated with the second storage module and is used for storing the corresponding relation among the duty ratio of the PWM signal, the rotating speed of the fan and the temperature into the second storage module in real time; the PWM control module can directly determine the corresponding fan rotating speed and the duty ratio of the corresponding PWM signal according to the temperature, the corresponding PWM generation 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 conveniently.
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 the average value of the rotating speeds of all the fans stored in the second storage module in all time periods, the rotating speed of the fans can be controlled before the BMC and the temperature sensor are not started, 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 fans, and compared with the full speed operation, the noise of the fans is reduced.
In the technical scheme of the invention, when the interrupt triggering condition is that the rotating speed of any fan reaches full speed, the central processing unit acquires the serial number of the fan with the rotating speed reaching full speed, and controls the device to be monitored corresponding to the fan with the rotating 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 acquired by the temperature sensor in unit time is greater than a preset value, the central processing unit acquires the temperature sensor number of which the temperature difference value is greater than the preset value in unit time, and controls the fan corresponding to the temperature sensor of which the temperature difference value is greater than the preset value in unit time to increase the rotating speed of the fan according to the corresponding relation between the temperature sensor and the device to be monitored and the fan, so that the CPU can timely process and control the abnormal condition corresponding to the trigger interrupt, 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 unit time is controlled to be reduced, the abnormal condition corresponding to the triggering interruption is further improved, and the control reliability of the server fan is improved.
Although the embodiments of the present invention have been described with reference to the accompanying drawings, it is not intended to limit the scope of the present invention, and it should be understood by those skilled in the art that various modifications and variations can be made without inventive efforts by those skilled in the art based on the technical solution of the present invention.

Claims (10)

1. The utility model provides a server fan control system, respectively with central processing unit, a plurality of temperature sensor, a plurality of fan communication connection, characterized by sets up inside the base plate management controller, includes: the temperature acquisition module is in communication connection with the central processing unit, the temperature acquisition module and the PWM generation module respectively, and is used for controlling the PWM generation modules to generate a plurality of PWM signals correspondingly according to the rotating speed parameters stored in the first storage module under the control of the central processing unit and controlling the rotating speeds of the corresponding fans respectively before the substrate management controller and the temperature sensor are started; after the substrate management controller and the temperature sensors are started, the temperatures of the plurality of temperature sensors are respectively obtained through the temperature obtaining modules, and the plurality of PWM generating modules are respectively controlled to correspondingly generate a plurality of PWM signals according to the temperatures of the plurality of temperature sensors; when the interrupt triggering condition is reached, triggering the PWM control module to interrupt, and informing the central processing unit of interrupting processing so as to improve the abnormal condition corresponding to the triggered 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.
2. The server fan control system according to claim 1, wherein 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.
3. The server fan control system according to claim 1, further comprising a second storage module, wherein the PWM control module is in communication with the second storage module and is configured to store the correspondence among the PWM signal duty ratio, the fan speed, and the temperature in the second storage module in real time; the second storage module is a random access memory.
4. The server fan control system of claim 1, wherein the speed parameter stored in the first memory module is determined by a speed parameter stored in the second memory module, and wherein the speed stored in the first memory module is specifically an average of the speeds of all the fans stored in the second memory module over all the time periods.
5. The server fan control system of any of claims 1-4, wherein the interrupt trigger condition comprises any temperature difference obtained by the temperature sensor being greater than a predetermined value per unit time or any fan speed reaching full speed.
6. The server fan control system according to claim 5, wherein when the interrupt trigger condition is that the rotational speed of any fan reaches full speed, the central processing unit obtains the serial number of the fan with the rotational speed reaching full speed, and controls the device to be monitored corresponding to the fan with the rotational speed reaching full speed to reduce power consumption according to the corresponding relationship between the fan and the device to be monitored;
when the interrupt triggering condition is that any temperature difference value acquired by the temperature sensor in unit time is greater than a preset value, the central processing unit acquires the temperature sensor number of which the temperature difference value is greater than the preset value in unit time, and controls the fan corresponding to the temperature sensor of which the temperature difference value is greater than the preset value in unit time to increase the rotating speed of the fan according to the corresponding relation between the temperature sensor and the device to be monitored and the fan.
7. The server fan control system of claim 6, wherein if the temperature difference is not changed or the corresponding fan 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 unit time is controlled to be reduced.
8. A server fan control method implemented based on the server fan control system of any one of claims 1 to 7, running inside a baseboard management controller, comprising:
before the substrate management controller and the temperature sensor are started, the PWM control module acquires and respectively controls the PWM generation modules to correspondingly generate a plurality of PWM signals according to the rotating speed parameters stored in the first storage module under the control of the central processing unit, 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 plurality of temperature sensors, and respectively controlling the plurality of PWM generating modules to correspondingly generate a plurality of PWM signals according to the temperatures of the plurality of temperature sensors;
and when the interrupt triggering condition is reached, triggering the PWM control module to interrupt, and informing the central processing unit of interrupting the process so as to improve the abnormal condition corresponding to the triggered interrupt.
9. The server fan control method of claim 8, further comprising, before the interrupt trigger condition is reached:
the PWM control module stores the corresponding relation among the PWM signal duty ratio, the fan rotating speed and the temperature into a second storage module in real time;
and periodically updating the rotating speed parameters 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 the average value of the rotating speeds of all the fans stored in the second storage module in all the time periods.
10. The server fan control method according to claim 8, wherein when the interrupt trigger condition is that the rotational speed of any fan reaches full speed, the central processing unit obtains the serial number of the fan with the rotational speed reaching full speed, and controls the device to be monitored corresponding to the fan with the rotational speed reaching full speed to reduce power consumption according to the corresponding relationship between the fan and the device to be monitored; when the interrupt triggering condition is that any temperature difference value acquired by the temperature sensor in unit time is larger than a preset value, the central processing unit acquires the serial number of the temperature sensor of which the temperature difference value is larger than the preset value in unit time, and controls the fan corresponding to the temperature sensor of which the temperature difference value is larger than the preset value in unit time to increase the rotating speed of the fan according to the corresponding relation among the temperature sensor, a device to be monitored and the fan; and if the temperature difference value is not changed or the corresponding fan rotating speed reaches full speed, controlling 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 unit time to be reduced.
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 true CN113849055A (en) 2021-12-28
CN113849055B 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)

Cited By (1)

* 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

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130135820A1 (en) * 2011-11-28 2013-05-30 Inventec Corporation Server rack system for managing fan rotation speed
US20140062372A1 (en) * 2012-09-03 2014-03-06 Chih-Yuan Hsu Fan speed control circuit
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
US20170094840A1 (en) * 2015-09-24 2017-03-30 Hon Hai Precision Industry Co., Ltd. Control system and method for controlling server
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

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130135820A1 (en) * 2011-11-28 2013-05-30 Inventec Corporation Server rack system for managing fan rotation speed
US20140062372A1 (en) * 2012-09-03 2014-03-06 Chih-Yuan Hsu Fan speed control circuit
CN104696250A (en) * 2013-12-10 2015-06-10 中国航空工业第六一八研究所 Stable control method for rotating speed of axial flow fan
US20170094840A1 (en) * 2015-09-24 2017-03-30 Hon Hai Precision Industry Co., Ltd. Control system and method for controlling server
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

Cited By (1)

* 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

Also Published As

Publication number Publication date
CN113849055B (en) 2024-04-26

Similar Documents

Publication Publication Date Title
CN101477403B (en) Automatic control method for system power consumption
US20120136498A1 (en) Rack server system
CN109611367B (en) Fan control system and server based on CPLD
CN109614293A (en) A kind of management system and method for FPGA isomery accelerator card
US20180164795A1 (en) Fan monitoring system
CN111984498A (en) Server cluster monitoring and management system
CN107420336A (en) A kind of high reliability fan control device and method based on server
WO2021051915A1 (en) Method and device for temperature compensation, storage medium, and thermostat
CN108280016A (en) A kind of fan detection method, device, equipment and computer readable storage medium
CN113849055B (en) Server fan control system and method
CN103368755A (en) A far-end server operation management system and management method
CN111124086A (en) Method and device for regulating and controlling rotating speed of server fan
CN204904112U (en) Device based on multichannel temperature data collection and fan control
CN114756105A (en) Fan speed regulation method and device, electronic equipment and storage medium
CN111324503B (en) Machine frame management device, method and computer readable storage medium
CN112698712B (en) Method and apparatus for energy consumption management
CN105240303A (en) Efficient and energy-saving method for adjusting and controlling fans of SmartRack cabinet
CN109826822B (en) Fan control method and related device
LU100947B1 (en) Device connection system and method of operation
CN101673090A (en) Method for controlling equipment, equipment-controlling device and system
CN109491237A (en) A kind of fan of the single control storage equipment during booting powers on surely controls method and device
CN113202804B (en) Method for flexibly adjusting rotating speed of server fan
CN112460053A (en) Fan control method, system, equipment and storage medium
CN104728144B (en) Fan control system and method
CN114281169A (en) Method and system for regulating and controlling server fan and server

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