CN116321995A - Fan rotating speed control device, method, equipment and medium of air cooling server - Google Patents

Fan rotating speed control device, method, equipment and medium of air cooling server Download PDF

Info

Publication number
CN116321995A
CN116321995A CN202310495634.8A CN202310495634A CN116321995A CN 116321995 A CN116321995 A CN 116321995A CN 202310495634 A CN202310495634 A CN 202310495634A CN 116321995 A CN116321995 A CN 116321995A
Authority
CN
China
Prior art keywords
speed control
rotating speed
fan
control register
management controller
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.)
Pending
Application number
CN202310495634.8A
Other languages
Chinese (zh)
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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN202310495634.8A priority Critical patent/CN116321995A/en
Publication of CN116321995A publication Critical patent/CN116321995A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K7/00Constructional details common to different types of electric apparatus
    • H05K7/20Modifications to facilitate cooling, ventilating, or heating
    • H05K7/20009Modifications to facilitate cooling, ventilating, or heating using a gaseous coolant in electronic enclosures
    • H05K7/20209Thermal management, e.g. fan control
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K7/00Constructional details common to different types of electric apparatus
    • H05K7/20Modifications to facilitate cooling, ventilating, or heating
    • H05K7/20709Modifications to facilitate cooling, ventilating, or heating for server racks or cabinets; for data centers, e.g. 19-inch computer racks
    • H05K7/20718Forced ventilation of a gaseous coolant
    • 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)
  • Microelectronics & Electronic Packaging (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Thermal Sciences (AREA)
  • Mechanical Engineering (AREA)
  • Computer Hardware Design (AREA)
  • Cooling Or The Like Of Electrical Apparatus (AREA)

Abstract

The application discloses fan rotating speed control device, method, equipment and medium of an air cooling server, relates to the field of servers, and comprises the following steps: a baseboard management controller, a complex programmable logic device, and a fan; the complex programmable logic device comprises a data gate, a first rotating speed control register and a second rotating speed control register; the complex programmable logic device controls the data gate to the first rotating speed control register when the baseboard management controller works normally, and controls the data gate to the second rotating speed control register when the baseboard management controller starts; the baseboard management controller controls the rotating speed of the fan according to a first duty ratio and a first rotating speed control register determined by the temperature information; the second rotational speed control register controls the rotational speed of the fan based on a second duty cycle determined by the on-site condition of each device connector. In this application, the baseboard management controller can rotate according to the connector in place rather than at full speed during start-up, reducing noise and saving power.

Description

Fan rotating speed control device, method, equipment and medium of air cooling server
Technical Field
The present invention relates to the field of servers, and in particular, to a fan rotation speed control device, method, apparatus and medium for an air-cooled server.
Background
With the increasing demands of society for big data and cloud computing, a server plays an important role as an actual carrier of big data and cloud computing. The server generates a large amount of heat in the process of processing information and data, and overheating can cause a series of disastrous problems such as frequency reduction and shutdown to the server, which makes heat dissipation of the server particularly important, so that the baseboard management controller (Baseboard Management Controller, BMC) becomes very critical for adjusting the heat dissipation strategy of the server. However, a problem with many servers is that when the baseboard management controller is in a start-up phase, the fan of the server is basically in a full-rotation state, which makes the fan at a high speed rotate during the period without heat dissipation policy control to cause the server to be very noisy, and at the same time, the fan at a high speed rotates not to be required by the heat dissipation of the server itself, which causes great electric energy waste.
Therefore, when the baseboard management controller is in the starting stage, how to avoid the fan of the server from being in a full rotation state all the time, further avoid high decibel noise caused by full rotation and avoid waste of electric energy is a problem to be solved in the art.
Disclosure of Invention
In view of the above, the present invention provides a fan rotation speed control device, method, device and medium for an air-cooled server, which can avoid the fan of the server from always being in a full rotation state when a baseboard management controller is in a start stage, further avoid high db noise caused by full rotation and avoid waste of electric energy, and the specific scheme is as follows:
in a first aspect, the present application discloses a fan rotational speed control apparatus of an air-cooled server, including:
baseboard management controller, complex programmable logic device and fan; the complex programmable logic device comprises a data gate, a first rotating speed control register and a second rotating speed control register; wherein,,
the complex programmable logic device is used for controlling the data gate to the first rotating speed control register when the baseboard management controller is in a normal working state, and controlling the data gate to the second rotating speed control register when the baseboard management controller is in a starting state;
the substrate management controller is used for determining a first duty ratio according to the acquired temperature sensor information after the data strobe is strobed to the first rotational speed control register, and controlling the rotational speed of the fan according to the first duty ratio and the first rotational speed control register;
and the second rotating speed control register is used for determining a second duty ratio based on the in-place condition of the connectors of all the devices in the air cooling server after detecting that the data strobe is strobed by the data strobe, and controlling the rotating speed of the fan according to the second duty ratio.
Optionally, the complex programmable logic device further includes:
and the first general input/output interface is used for receiving a signal which is output by the baseboard management controller and used for representing the working state of the baseboard management controller, and sending the signal to the data gate so as to control the data gate to determine the working state of the baseboard management controller according to the signal.
Optionally, the complex programmable logic device is configured to:
when a square wave signal is received, determining that the baseboard management controller is in a normal working state, and controlling the data strobe to the first rotational speed control register; and when a continuous high-level or low-level signal is received, determining that the baseboard management controller is in a starting state, and controlling the data gate to the second rotating speed control register.
Optionally, the complex programmable logic device is configured to:
and when a continuous high-level or low-level signal is received and the square wave signal is not received within a first preset time, determining that the baseboard management controller is in a fault state, and controlling the data gate to the second rotating speed control register.
Optionally, the second rotation speed control register is configured to:
when the data strobe is detected to be strobed by the data strobe, determining the second duty ratio by using a preset duty ratio selection table, and controlling the rotating speed of the fan according to the second duty ratio; and setting the corresponding relation between the in-place conditions of connectors of different devices and the second duty ratio in the preset duty ratio selection table.
Optionally, the complex programmable logic device further includes:
the rotating speed monitoring module is used for collecting rotating speed information of the fan so as to monitor the state of the fan according to the rotating speed information of the fan.
Optionally, the complex programmable logic device further includes:
and the plurality of second general input/output interfaces are used for representing the in-place condition of connectors of all devices in the air-cooled server.
In a second aspect, the application discloses a method for controlling a fan rotation speed of an air-cooled server, including:
when the baseboard management controller is in a normal working state, the data gate is controlled to gate to a first rotating speed control register, and when the baseboard management controller is in a starting state, the data gate is controlled to gate to a second rotating speed control register;
after the data strobe device is strobed to the first rotating speed control register, determining a first duty ratio according to the acquired temperature sensor information, and controlling the rotating speed of the fan according to the first duty ratio and the first rotating speed control register;
and after the data strobe is detected to be strobed by the data strobe, determining a second duty ratio based on the in-place condition of connectors of all devices in the air cooling server, and controlling the rotating speed of the fan according to the second duty ratio.
In a third aspect, the present application discloses an electronic device comprising:
a memory for storing a computer program;
and the processor is used for executing the computer program to realize the fan rotating speed control method of the air cooling server.
In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; the fan rotating speed control method of the air cooling server is realized when the computer program is executed by the processor.
Therefore, the present application provides a fan rotation speed control device of an air cooling server, including: baseboard management controller, complex programmable logic device and fan; the complex programmable logic device comprises a data gate, a first rotating speed control register and a second rotating speed control register; the complex programmable logic device is used for controlling the data gate to the first rotating speed control register when the baseboard management controller is in a normal working state, and controlling the data gate to the second rotating speed control register when the baseboard management controller is in a starting state; the substrate management controller is used for determining a first duty ratio according to the acquired temperature sensor information after the data strobe is strobed to the first rotational speed control register, and controlling the rotational speed of the fan according to the first duty ratio and the first rotational speed control register; and the second rotating speed control register is used for determining a second duty ratio based on the in-place condition of the connectors of all the devices in the air cooling server after detecting that the data strobe is strobed by the data strobe, and controlling the rotating speed of the fan according to the second duty ratio. In summary, in the baseboard management controller in the present application, during the startup period, the data strobe device will strobe to the second rotational speed control register, the second rotational speed control register determines the second duty ratio based on the in-place condition of the connectors of each device in the air cooling server, and further controls the rotational speed of the fan according to the second duty ratio, that is, the fan can rotate according to the in-place condition of the connectors of the devices rather than in the full-speed full-rotation state, thus, the high db noise generated by the high-speed rotation of the fan during the startup period of the baseboard management controller is greatly reduced, the good experience of the user in the use process is greatly enhanced, and the waste of the electric energy of the baseboard management controller during the startup period is effectively reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a fan rotation speed control device of an air-cooled server disclosed in the present application;
fig. 2 is a schematic structural diagram of a fan speed control device of a first specific air-cooled server disclosed in the present application;
fig. 3 is a schematic structural diagram of a fan speed control device of a second specific air-cooled server disclosed in the present application;
FIG. 4 is a schematic structural diagram of a fan speed control device of a more specific air-cooled server disclosed in the present application;
FIG. 5 is a flow chart of a method for controlling fan speed of an air-cooled server disclosed in the present application;
fig. 6 is a block diagram of an electronic device disclosed in the present application.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
When the baseboard management controller is in the starting stage, the fan of the server is basically in a full rotation state, so that the fan at a high speed rotates to cause the server to be very noisy during the period of no heat dissipation strategy control, and meanwhile, the fan at a high speed rotates not to be required by the heat dissipation of the server, so that great electric energy waste is caused.
Therefore, the embodiment of the application provides a fan rotating speed control scheme of an air-cooled server, which can prevent the fan of the server from being in a full rotation state all the time when a substrate management controller is in a starting stage, and further prevent high decibel noise caused by full rotation and avoid waste of electric energy.
The embodiment of the application discloses a fan rotational speed control device of air-cooled server, see the shown in fig. 1, the device includes: a baseboard management controller 11, a complex programmable logic device 12, and a fan 13; the complex programmable logic device comprises a data gate 121, a first rotating speed control register 122 and a second rotating speed control register 123; wherein,,
the complex programmable logic device 12 is configured to control the data gate 121 to the first rotational speed control register 122 when the baseboard management controller 11 is in a normal operation state, and control the data gate 121 to the second rotational speed control register 123 when the baseboard management controller 11 is in an activated state.
In some embodiments, the data gate 121 is a MUX (data gate of two or more), the first speed control register 122 is a speed control register of the baseboard management controller 11, and the second speed control register 123 is a speed control register of the complex programmable logic device 12.
In this embodiment, when the baseboard management controller 11 is in a normal working state, the data gate 121 is controlled to gate to the first rotation speed control register 122, and when the baseboard management controller 11 is in a starting state, the data gate 121 is controlled to gate to the second rotation speed control register 123, so that the data gate realizes a gating function of one or two.
It should be noted that, in this embodiment, the working state of the baseboard management controller 11 may be determined by detecting a signal output by a watch (timer circuit) in the baseboard management controller 11, specifically, referring to fig. 2, the complex programmable logic device 12 in this application further includes: the first general purpose input/output interface 14 (GPIO, general Purpose Input Output), in this application, receives a watchdog signal output by the baseboard management controller 11 and used for indicating the working state of the baseboard management controller 11 through the first general purpose input/output interface 14, and sends the watchdog signal to the data gate 121, so as to control the data gate 121 to determine the working state of the baseboard management controller 11 according to the signal.
In a specific embodiment, when receiving the square wave signal, it is determined that the baseboard management controller 11 is in a normal operation state, and the data gate 121 is controlled to gate to the first rotational speed control register 122; when a continuous high or low signal is received, it is determined that the baseboard management controller 11 is in a start state, and the data gate strobe 121 is controlled to the second rotation speed control register 123.
In another specific embodiment, when a continuous high level or low level signal is received and the square wave signal is not received within a first preset time, it is determined that the baseboard management controller 11 is in a fault state, and the data gate 121 is controlled to gate to the second rotation speed control register 123. Illustratively, assuming that a continuous high or low signal is received and a square wave signal is not received within five minutes, the baseboard management controller is considered to be in a fault state, and the data gate strobe 121 is controlled to the second rotational speed control register 123.
The baseboard management controller 11 is configured to determine a first duty ratio according to the collected temperature sensor information after the data gate 121 gates into the first rotational speed control register 122, and control the rotational speed of the fan 13 according to the first duty ratio and the first rotational speed control register 122.
In this embodiment, after the data gate 121 gates into the first rotational speed control register 122, the baseboard management controller 11 determines a first duty ratio according to the collected temperature sensor information and outputs the first duty ratio to the first rotational speed control register 122 so as to precisely control the rotational speed of the fan through the first duty ratio.
The second rotation speed control register 123 is configured to determine a second duty ratio based on the on-site situation of the connectors of each device in the air-cooled server after detecting that the data strobe 121 is strobed, and control the rotation speed of the fan 13 according to the second duty ratio.
In this embodiment, after detecting that the data strobe 121 is strobed, determining the second duty ratio by using a preset duty ratio selection table, and controlling the rotation speed of the fan according to the second duty ratio; the preset duty ratio selection table sets a corresponding relation between the in-place condition of connectors of different devices and the second duty ratio, where the connectors of the devices include, but are not limited to, an OCP (Open Compute Project, open source server hardware) network card, a GPU (Graphics processing unit, a graphics processor), a PCIE (high-speed serial computer expansion bus standard) label card, and the like.
In summary, the present application not only can control the rotational speed of the fan by the complex programmable logic device during the startup of the baseboard management controller, but also can completely take over the control right of the rotational speed of the fan when the baseboard management controller fails, and the rotational speed of the fan is controlled by the complex programmable logic device.
Therefore, the present application provides a fan rotation speed control device of an air cooling server, including: baseboard management controller, complex programmable logic device and fan; the complex programmable logic device comprises a data gate, a first rotating speed control register and a second rotating speed control register; the complex programmable logic device is used for controlling the data gate to the first rotating speed control register when the baseboard management controller is in a normal working state, and controlling the data gate to the second rotating speed control register when the baseboard management controller is in a starting state; the substrate management controller is used for determining a first duty ratio according to the acquired temperature sensor information after the data strobe is strobed to the first rotational speed control register, and controlling the rotational speed of the fan according to the first duty ratio and the first rotational speed control register; and the second rotating speed control register is used for determining a second duty ratio based on the in-place condition of the connectors of all the devices in the air cooling server after detecting that the data strobe is strobed by the data strobe, and controlling the rotating speed of the fan according to the second duty ratio. In summary, in the baseboard management controller in the present application, during the startup period, the data strobe device will strobe to the second rotational speed control register, the second rotational speed control register determines the second duty ratio based on the in-place condition of the connectors of each device in the air cooling server, and further controls the rotational speed of the fan according to the second duty ratio, that is, the fan can rotate according to the in-place condition of the connectors of the devices rather than in the full-speed full-rotation state, thus, the high db noise generated by the high-speed rotation of the fan during the startup period of the baseboard management controller is greatly reduced, the good experience of the user in the use process is greatly enhanced, and the waste of the electric energy of the baseboard management controller during the startup period is effectively reduced.
The embodiment further describes and optimizes the fan speed control device of the air cooling server, as shown in fig. 3, and the fan speed control device of the air cooling server specifically further includes the following parts:
the rotation speed monitoring module 15 is configured to collect rotation speed information of the fan, so as to monitor a state of the fan according to the rotation speed information of the fan.
A number of second universal input/output interfaces 16 are used to represent the presence of connectors of each device in the air-cooled server.
In this embodiment, whether the rotation speed of the fan is normal can be detected by acquiring TACH (rotation speed) information of the fan; the presence of the connector of each device in the air-cooled server can be represented by a number of second general purpose input/output interfaces (GPIOs) 16, and it should be noted that when the connector is in place, the corresponding CPLD GPIOs will be pulled to GND by the hardware.
Therefore, the present application provides a fan rotation speed control device of an air cooling server, including: baseboard management controller, complex programmable logic device and fan; the complex programmable logic device comprises a data gate, a first rotating speed control register, a second rotating speed control register, a plurality of second common input/output interfaces and a rotating speed monitoring module; the complex programmable logic device is used for controlling the data gate to the first rotating speed control register when the baseboard management controller is in a normal working state, and controlling the data gate to the second rotating speed control register when the baseboard management controller is in a starting state; the substrate management controller is used for determining a first duty ratio according to the acquired temperature sensor information after the data strobe is strobed to the first rotational speed control register, and controlling the rotational speed of the fan according to the first duty ratio and the first rotational speed control register; the second rotating speed control register is used for determining a second duty ratio based on the in-place condition of connectors of all devices in the air cooling server after detecting that the data strobe device is strobed, and controlling the rotating speed of the fan according to the second duty ratio; the rotating speed monitoring module is used for collecting rotating speed information of the fan so as to monitor the state of the fan according to the rotating speed information of the fan; and the plurality of second general input/output interfaces are used for representing the in-place condition of connectors of all devices in the air-cooled server. In summary, in the baseboard management controller in the present application, during the startup period, the data strobe device will strobe to the second rotational speed control register, the second rotational speed control register determines the second duty ratio based on the in-place condition of the connectors of each device in the air cooling server, and further controls the rotational speed of the fan according to the second duty ratio, that is, the fan can rotate according to the in-place condition of the connectors of the devices rather than in the full-speed full-rotation state, thus, the high db noise generated by the high-speed rotation of the fan during the startup period of the baseboard management controller is greatly reduced, the good experience of the user in the use process is greatly enhanced, and the waste of the electric energy of the baseboard management controller during the startup period is effectively reduced. And the rotational speed information of fan can be gathered through rotational speed monitoring module to this application is in order to according to the rotational speed information monitoring of fan the state of fan.
Fig. 4 is a schematic diagram of a fan speed control device of an air-cooled server, where fig. 4 includes a BMC control management chip, a CPLD logic implementation chip, a connector for a fan and a device, and so on.
Because the BMC needs a certain time to start, during the BMC starting, the rotating speed of the fan cannot be adjusted and can only be carried out in a full-speed rotating mode, and the noise is very high, the data strobe MUX is arranged in the mainboard CPLD, and the state detection of the BMC is realized through the waveform output by the watchdog of the BMC. Specifically, if the square wave is output, the BMC normally works, and at this time, the gate is switched on to a first rotational speed control register (working PWM register), further, the BMC can output a duty ratio to the first rotational speed control register of the CPLD through a SMB_I2C11_PLD channel, wherein the duty ratio is the duty ratio obtained by the BMC according to the acquired temperature information of the temperature sensor, and TACH information of the fan in a CPLD FAN TACH register (rotational speed monitoring module) is acquired through the channel, so that the fan state is monitored. When the BMC is in the start-up phase and cannot normally output square waves, the motherboard CPLD controls the gating device to gate to a second rotational speed control register (FIXED rotational speed control register), and at this time, the rotational speed of the fan is controlled by the duty cycle output by the FIXED PWM register, and the FIXED PWM register is a FIXED value PWM selection table set according to the on-site condition (DEVICE PRESENT) of the connector of the device, and the number of PWM values selectable in the selection table depends on the configuration developed by the server. Taking the configuration of only the OCP network card and the GPU as an example except the PCIE standard card, when the DEVICE is in place, the corresponding CPLD GPIO is pulled to GND by hardware, and the fixed PWM selection table references table 1.
TABLE 1
Figure BDA0004212093660000091
Figure BDA0004212093660000101
According to the selection of the duty ratio in table 1, it can be ensured that the rotation speed of the fan can be controlled by selecting a fixed PWM value according to the configuration during the period that the BMC does not enter normal operation, high decibel noise caused by too high rotation speed of the fan under the condition that the fan cannot be controlled in a full rotation state is avoided, and electric energy consumption is saved for users. According to the method and the device, high decibel noise generated by high-speed rotation of the fan when the server is started during abnormal operation of the BMC is greatly reduced, good experience of a user in the use process is greatly enhanced, and the use comfort of the product is improved; the invention effectively reduces the waste of electric energy of the server during the use and starting, reduces the electric charge support for the client and simultaneously reduces the pollution to the environment.
Correspondingly, the embodiment of the application also discloses a fan rotating speed control method of the air cooling server, and referring to fig. 5, the method comprises the following steps:
step S11: and when the baseboard management controller is in a normal working state, controlling the data gate to the first rotating speed control register, and when the baseboard management controller is in a starting state, controlling the data gate to the second rotating speed control register.
In some embodiments, the data gate is a MUX (one-out-of-two data gate), the first speed control register is a speed control register of the baseboard management controller, and the second speed control register is a speed control register of the complex programmable logic device.
In this embodiment, when the baseboard management controller is in a normal working state, the data gate is controlled to gate to the first rotation speed control register, and when the baseboard management controller is in a starting state, the data gate is controlled to gate to the second rotation speed control register, so that the data gate realizes a gating function of one of two.
It should be noted that, in this embodiment, the working state of the baseboard management controller may be determined by detecting a signal output by a watch (timer circuit) in the baseboard management controller, and in a specific embodiment, when a square wave signal is received, it is determined that the baseboard management controller is in a normal working state, and the data gate is controlled to gate to the first rotational speed control register; and when a continuous high-level or low-level signal is received, determining that the baseboard management controller is in a starting state, and controlling the data gate to the second rotating speed control register. In another specific embodiment, when a continuous high level or low level signal is received and the square wave signal is not received within a first preset time, the baseboard management controller is determined to be in a fault state, and the data gate is controlled to gate to the second rotating speed control register. Illustratively, assuming that a continuous high or low signal is received and a square wave signal is not received within five minutes, the baseboard management controller is considered to be in a fault state, and the data gate is controlled to gate to the second rotational speed control register.
Step S12: after the data strobe device is strobed to the first rotating speed control register, a first duty ratio is determined according to the collected temperature sensor information, and the rotating speed of the fan is controlled according to the first duty ratio and the first rotating speed control register.
In this embodiment, after the data gate is gated to the first rotational speed control register, the baseboard management controller determines a first duty ratio according to the acquired temperature sensor information and outputs the first duty ratio to the first rotational speed control register, so as to accurately control the rotational speed of the fan by the first duty ratio.
Step S13: and after the data strobe is detected to be strobed by the data strobe, determining a second duty ratio based on the in-place condition of connectors of all devices in the air cooling server, and controlling the rotating speed of the fan according to the second duty ratio.
In this embodiment, after detecting that the data strobe device is strobed, determining the second duty ratio based on the in-place situation of the connectors of each device in the air-cooled server, and controlling the rotational speed of the fan according to the second duty ratio specifically includes: when the data strobe is detected to be strobed by the data strobe, determining the second duty ratio by using a preset duty ratio selection table, and controlling the rotating speed of the fan according to the second duty ratio; the preset duty ratio selection table sets a corresponding relation between the in-place condition of connectors of different devices and the second duty ratio, where the connectors of the devices include, but are not limited to, an OCP (Open Compute Project, open source server hardware) network card, a GPU (Graphics processing unit, a graphics processor), a PCIE (high-speed serial computer expansion bus standard) label card, and the like.
In summary, the present application not only can control the rotational speed of the fan by the complex programmable logic device during the startup of the baseboard management controller, but also can completely take over the control right of the rotational speed of the fan when the baseboard management controller fails, and the rotational speed of the fan is controlled by the complex programmable logic device.
As can be seen, the present application provides a method for controlling a fan rotation speed of an air-cooled server, including: when the baseboard management controller is in a normal working state, the data gate is controlled to gate to a first rotating speed control register, and when the baseboard management controller is in a starting state, the data gate is controlled to gate to a second rotating speed control register; after the data strobe device is strobed to the first rotating speed control register, determining a first duty ratio according to the acquired temperature sensor information, and controlling the rotating speed of the fan according to the first duty ratio and the first rotating speed control register; and after the data strobe is detected to be strobed by the data strobe, determining a second duty ratio based on the in-place condition of connectors of all devices in the air cooling server, and controlling the rotating speed of the fan according to the second duty ratio. In summary, in the baseboard management controller in the present application, during the startup period, the data strobe device will strobe to the second rotational speed control register, the second rotational speed control register determines the second duty ratio based on the in-place condition of the connectors of each device in the air cooling server, and further controls the rotational speed of the fan according to the second duty ratio, that is, the fan can rotate according to the in-place condition of the connectors of the devices rather than in the full-speed full-rotation state, thus, the high db noise generated by the high-speed rotation of the fan during the startup period of the baseboard management controller is greatly reduced, the good experience of the user in the use process is greatly enhanced, and the waste of the electric energy of the baseboard management controller during the startup period is effectively reduced.
Further, the embodiment of the application also provides electronic equipment. Fig. 6 is a block diagram of an electronic device 20, according to an exemplary embodiment, and the contents of the diagram should not be construed as limiting the scope of use of the present application in any way.
Fig. 6 is a schematic structural diagram of an electronic device 20 according to an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a display screen 23, an input output interface 24, a communication interface 25, a power supply 26, and a communication bus 27. Wherein the memory 22 is used for storing a computer program, which is loaded and executed by the processor 21 for realizing the following steps:
when the baseboard management controller is in a normal working state, the data gate is controlled to gate to a first rotating speed control register, and when the baseboard management controller is in a starting state, the data gate is controlled to gate to a second rotating speed control register;
after the data strobe device is strobed to the first rotating speed control register, determining a first duty ratio according to the acquired temperature sensor information, and controlling the rotating speed of the fan according to the first duty ratio and the first rotating speed control register;
and after the data strobe is detected to be strobed by the data strobe, determining a second duty ratio based on the in-place condition of connectors of all devices in the air cooling server, and controlling the rotating speed of the fan according to the second duty ratio.
In this embodiment, the power supply 26 is used to provide an operating voltage for each hardware device on the electronic device 20; the communication interface 25 can create a data transmission channel between the electronic device 20 and an external device, and the communication protocol to be followed is any communication protocol applicable to the technical solution of the present application, which is not specifically limited herein; the input/output interface 24 is used for obtaining external input data or outputting external output data, and the specific interface type thereof may be selected according to the specific application needs, which is not limited herein.
The memory 22 may be a read-only memory, a random access memory, a magnetic disk, an optical disk, or the like, and the resources stored thereon may include the computer program 221, which may be stored in a temporary or permanent manner. The computer program 221 may further include a computer program for performing other specific tasks, in addition to a computer program for performing the fan speed control method of the air-cooled server executed by the electronic device 20 disclosed in any of the foregoing embodiments.
Further, the embodiment of the application also discloses a computer readable storage medium for storing a computer program; the fan rotating speed control method of the air cooling server is realized when the computer program is executed by the processor.
For specific steps of the method, reference may be made to the corresponding contents disclosed in the foregoing embodiments, and no further description is given here.
In this application, each embodiment is described in a progressive manner, and each embodiment focuses on the difference from other embodiments, and the same or similar parts between the embodiments refer to the devices disclosed in the embodiments, so that the description is relatively simple because it corresponds to the method disclosed in the embodiments, and the relevant parts refer to the description of the method section.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software modules may be disposed in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above description is provided in detail of a method, a device, an apparatus, and a storage medium for controlling a fan rotation speed of an air-cooled server, and specific examples are applied to illustrate principles and embodiments of the present application, where the above description of the embodiments is only for helping to understand the method and core ideas of the present application; meanwhile, as those skilled in the art will have modifications in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (10)

1. A fan speed control apparatus for an air-cooled server, comprising: baseboard management controller, complex programmable logic device and fan; the complex programmable logic device comprises a data gate, a first rotating speed control register and a second rotating speed control register; wherein,,
the complex programmable logic device is used for controlling the data gate to the first rotating speed control register when the baseboard management controller is in a normal working state, and controlling the data gate to the second rotating speed control register when the baseboard management controller is in a starting state;
the substrate management controller is used for determining a first duty ratio according to the acquired temperature sensor information after the data strobe is strobed to the first rotational speed control register, and controlling the rotational speed of the fan according to the first duty ratio and the first rotational speed control register;
and the second rotating speed control register is used for determining a second duty ratio based on the in-place condition of the connectors of all the devices in the air cooling server after detecting that the data strobe is strobed by the data strobe, and controlling the rotating speed of the fan according to the second duty ratio.
2. The fan speed control apparatus of an air-cooled server according to claim 1, wherein the complex programmable logic device further comprises:
and the first general input/output interface is used for receiving a signal which is output by the baseboard management controller and used for representing the working state of the baseboard management controller, and sending the signal to the data gate so as to control the data gate to determine the working state of the baseboard management controller according to the signal.
3. The fan speed control apparatus of an air-cooled server according to claim 2, wherein the complex programmable logic device is configured to:
when a square wave signal is received, determining that the baseboard management controller is in a normal working state, and controlling the data strobe to the first rotational speed control register; and when a continuous high-level or low-level signal is received, determining that the baseboard management controller is in a starting state, and controlling the data gate to the second rotating speed control register.
4. A fan speed control apparatus for an air-cooled server according to claim 3, wherein the complex programmable logic device is configured to:
and when a continuous high-level or low-level signal is received and the square wave signal is not received within a first preset time, determining that the baseboard management controller is in a fault state, and controlling the data gate to the second rotating speed control register.
5. The fan speed control apparatus of claim 4, wherein the second speed control register is configured to:
when the data strobe is detected to be strobed by the data strobe, determining the second duty ratio by using a preset duty ratio selection table, and controlling the rotating speed of the fan according to the second duty ratio; and setting the corresponding relation between the in-place conditions of connectors of different devices and the second duty ratio in the preset duty ratio selection table.
6. The fan speed control apparatus of an air-cooled server according to claim 1, wherein the complex programmable logic device further comprises:
the rotating speed monitoring module is used for collecting rotating speed information of the fan so as to monitor the state of the fan according to the rotating speed information of the fan.
7. The fan speed control apparatus of an air-cooled server according to any one of claims 1 to 6, wherein the complex programmable logic device further comprises:
and the plurality of second general input/output interfaces are used for representing the in-place condition of connectors of all devices in the air-cooled server.
8. The fan rotating speed control method of the air cooling server is characterized by comprising the following steps of:
when the baseboard management controller is in a normal working state, the data gate is controlled to gate to a first rotating speed control register, and when the baseboard management controller is in a starting state, the data gate is controlled to gate to a second rotating speed control register;
after the data strobe device is strobed to the first rotating speed control register, determining a first duty ratio according to the acquired temperature sensor information, and controlling the rotating speed of the fan according to the first duty ratio and the first rotating speed control register;
and after the data strobe is detected to be strobed by the data strobe, determining a second duty ratio based on the in-place condition of connectors of all devices in the air cooling server, and controlling the rotating speed of the fan according to the second duty ratio.
9. An electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the fan speed control method of the air-cooled server according to claim 8.
10. A computer-readable storage medium for storing a computer program; wherein the computer program when executed by a processor implements the fan speed control method of the air-cooled server according to claim 8.
CN202310495634.8A 2023-04-27 2023-04-27 Fan rotating speed control device, method, equipment and medium of air cooling server Pending CN116321995A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310495634.8A CN116321995A (en) 2023-04-27 2023-04-27 Fan rotating speed control device, method, equipment and medium of air cooling server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310495634.8A CN116321995A (en) 2023-04-27 2023-04-27 Fan rotating speed control device, method, equipment and medium of air cooling server

Publications (1)

Publication Number Publication Date
CN116321995A true CN116321995A (en) 2023-06-23

Family

ID=86829047

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310495634.8A Pending CN116321995A (en) 2023-04-27 2023-04-27 Fan rotating speed control device, method, equipment and medium of air cooling server

Country Status (1)

Country Link
CN (1) CN116321995A (en)

Similar Documents

Publication Publication Date Title
TWI684859B (en) Method for remote system recovery
US7921203B2 (en) Specifying associations among attributes of entities in
US8677160B2 (en) Managing power consumption of a computer
US7925911B2 (en) Managing computer power among a plurality of computers
JP5707321B2 (en) Sleep processor
JP5246673B2 (en) Method, computer system and computer program for managing power consumption of a computer
US20030226047A1 (en) Portable terminal with enhanced power management function and method for managing power of the same
US20070294561A1 (en) Providing independent clock failover for scalable blade servers
CN110332140B (en) Fan control method of electronic equipment and electronic equipment
CN101169682B (en) Hard disk hot-plug support system
CN114911332B (en) Method and system for regulating and controlling server fan, electronic equipment and storage medium
US6460005B1 (en) Apparatus and method for monitoring environmental conditions in a computing device
US20050086460A1 (en) Apparatus and method for wakeup on LAN
CN116321995A (en) Fan rotating speed control device, method, equipment and medium of air cooling server
CN115263794A (en) Fan rotating speed adjusting method, device, equipment and medium
CN115840684A (en) Method, device, equipment and medium for prompting abnormity of server heat dissipation air duct
CN116449800A (en) Control logic switching method, device, equipment and medium
CN111176958A (en) Information monitoring method, system and storage medium
US7870370B2 (en) Determining thermal characteristics of instruction sets
CN105095043A (en) Monitoring management system and method thereof
CN109162954B (en) Fan control device
CN103376858A (en) Computer device and heat dissipation method of independent display unit thereof
JP2004164530A (en) Battery condition reading method by operation system of portable computer
CN101281398A (en) Method and system for monitoring rotary speed signal of multiple fans
CN111124504A (en) Startup control method and equipment of switch system and storage medium

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