CN114996096A - Server, and fan speed regulation method and circuit of server - Google Patents

Server, and fan speed regulation method and circuit of server Download PDF

Info

Publication number
CN114996096A
CN114996096A CN202210727067.XA CN202210727067A CN114996096A CN 114996096 A CN114996096 A CN 114996096A CN 202210727067 A CN202210727067 A CN 202210727067A CN 114996096 A CN114996096 A CN 114996096A
Authority
CN
China
Prior art keywords
fan
bmc
server
controller
cpld
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
CN202210727067.XA
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 Power Commercial Systems Co Ltd
Original Assignee
Inspur Power Commercial Systems 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 Power Commercial Systems Co Ltd filed Critical Inspur Power Commercial Systems Co Ltd
Priority to CN202210727067.XA priority Critical patent/CN114996096A/en
Publication of CN114996096A publication Critical patent/CN114996096A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3006Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling
    • 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
    • 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

Abstract

The application discloses a server, a fan speed regulation method of the server and a circuit, and relates to the field of servers. The circuit comprises a temperature acquisition module, a first I2C gating controller, a second I2C gating controller, a fan controller, a BMC and a CPLD; the second end of the first I2C gating controller is connected with the CPLD, and the third end of the first I2C gating controller is connected with the temperature acquisition module; the second end of the second I2C gating controller is connected with the CPLD, and the third end of the second I2C gating controller is connected with the fan controller; the CPLD is used for sending a first control instruction to the first I2C gating controller and the second I2C gating controller when the BMC is not in a normal working state; and generating a second control instruction and sending the second control instruction to the fan controller. Therefore, when the BMC is not in a normal working state, the CPLD, the temperature acquisition module and the fan controller are gated by sending the first control instruction, and the CPLD replaces the BMC to perform strategy temperature adjustment, so that the power consumption is effectively reduced.

Description

Server, and fan speed regulation method and circuit of server
Technical Field
The present disclosure relates to the field of servers, and in particular, to a server, a method and a circuit for regulating a speed of a fan of the server.
Background
Today, the development of the server technology is also in a new era along with the current environment, which provides higher requirements for the whole server field on the technological level. In the current server development technology, a heat dissipation strategy is generally completed by a Baseboard Management Controller (BMC), but in the process of updating the BMC, the heat dissipation strategy of the BMC stops running, and a fan is generally adjusted to rotate at full speed; the electric quantity that the fan of full-speed pivoted under the circumstances of stand-alone upgrading BMC consumed is not big, but if the machine of whole computer lab carries out under the circumstances of BMC upgrading, can't carry out the tactics according to the server actual temperature condition and adjust the temperature this moment, the fan of all machines all full-speed pivoted, and the electric quantity loss that causes is huge to can cause the very big waste of the energy.
Therefore, how to implement policy temperature adjustment according to the server temperature when the BMC is in an upgrade or suspended state is a problem to be solved urgently by those skilled in the art.
Disclosure of Invention
The application aims to provide a server, a fan speed regulation method of the server and a circuit, which are used for realizing strategy temperature regulation according to the temperature of the server when a BMC is in an upgrading or hanging state.
In order to solve the above technical problem, the present application provides a fan speed control circuit of a server, including:
the system comprises a temperature acquisition module, a first I2C gating controller, a second I2C gating controller, a fan controller, a BMC and a CPLD;
the first end of the first I2C gating controller is connected with the BMC, the second end of the first I2C gating controller is connected with the CPLD, and the fourth end of the first I2C gating controller is connected with the CPLD;
the temperature acquisition module is connected with the third end of the first I2C gating controller;
the first end of the second I2C gating controller is connected with the BMC, the second end of the second I2C gating controller is connected with the CPLD, and the fourth end of the second I2C gating controller is connected with the CPLD;
the fan controller is connected with the third end of the second I2C gating controller and the fan;
the CPLD is connected with the BMC and is used for judging whether the BMC is in a normal working state; if not, sending a first control instruction to the first I2C gating controller and the second I2C gating controller; and generating a second control instruction according to the current server temperature, and sending the second control instruction to the fan controller.
Preferably, the system also comprises a wireless routing module and a wireless network card module;
the wireless network card module is connected with the BMC and the CPLD;
the wireless routing module is connected with the wireless network card module through a wireless local area network.
Preferably, the system also comprises a BMC Flash connected with the BMC.
Preferably, the wireless router also comprises a display connected with the wireless routing module.
Preferably, the device also comprises an alarm device connected with the CPLD.
In order to solve the technical problem, the application further provides a server which comprises the fan speed regulating circuit of the server, and the effect is the same as that of the server.
In order to solve the above technical problem, the present application further provides a fan speed regulation method for a server, which is applied to a fan speed regulation circuit of a server including a temperature acquisition module, a first I2C gating controller, a BMC, a CPLD, a second gating controller, and a fan controller, and the method includes:
judging whether the BMC is in a normal working state;
if not, sending a first control instruction to the first I2C gating controller and the second I2C gating controller;
and generating a second control instruction according to the current server temperature, and sending the second control instruction to the fan controller.
Preferably, before determining whether the BMC is in a normal operating state, the method further includes:
receiving a pulse signal sent by the BMC;
correspondingly, the step of judging whether the BMC is in a normal working state comprises the following steps:
and judging whether the BMC is in a normal working state or not according to the pulse signal.
Preferably, the generating of the second control instruction according to the current server temperature includes:
obtaining a target rotating speed corresponding to the current server temperature according to a pre-established corresponding relation between the server temperature and the rotating speed of the fan;
acquiring the current rotating speed of the fan;
and generating a second control instruction according to the comparison result of the target rotating speed and the current rotating speed.
Preferably, if the BMC is in a normal operating state, the method further includes: a third control instruction is sent to the first I2C and second I2C pass controllers.
The fan speed regulation method of the server is applied to a fan speed regulation circuit of the server comprising a temperature acquisition module, a first I2C gating controller, a second gating controller, a fan controller, a BMC and a CPLD, and comprises the steps of judging whether the BMC is in a normal working state; if not, sending a first control instruction to the first I2C gating controller and the second I2C gating controller; and generating a second control instruction according to the current server temperature, and sending the second control instruction to the fan controller. Therefore, when the BMC is in an upgrading or hanging state, the CPLD, the temperature acquisition module and the fan controller are gated by sending the first control instruction, and the CPLD replaces the BMC to perform strategy temperature regulation, so that compared with a temperature regulation mode in which a fan rotates at full speed when the BMC is upgraded in the prior art, the power consumption is greatly reduced, and the cost is lower.
In addition, the server provided by the application comprises the fan speed regulation circuit of the server, and the effect is the same as the above.
Drawings
In order to more clearly illustrate the embodiments of the present application, the drawings needed for the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained by those skilled in the art without inventive effort.
FIG. 1 is a schematic diagram of a fan speed regulation circuit of a server according to the present application;
fig. 2 is a flowchart of a fan speed regulation method of a server according to the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the present application.
The core of the application is to provide a server, a fan speed regulation method of the server and a circuit, which are used for realizing strategy temperature regulation according to the temperature of the server when a BMC is in an upgrading or hanging state.
In order that those skilled in the art will better understand the disclosure, the following detailed description will be given with reference to the accompanying drawings.
It should be noted that the fan speed regulation method and circuit for the server provided by the present application are applicable to all current servers, and this embodiment does not limit this.
Fig. 1 is a schematic diagram of a fan speed regulation circuit of a server according to the present application, and the circuit shown in fig. 1 is described below.
Fan speed governing circuit of server includes: a temperature acquisition module 101, a first I2C gating controller 102, a second I2C gating controller 103, a fan controller 104, a BMC105, and a Complex Programmable Logic Device (CPLD);
the first end of the first I2C gating controller 102 is connected with the BMC105, the second end of the first I2C gating controller 102 is connected with the CPLD106, and the fourth end of the first I2C gating controller 102 is connected with the CPLD 106;
the temperature acquisition module 101 is connected with a third end of the first I2C gating controller 102;
a first end of the second I2C gating controller 103 is connected with the BMC105, a second end of the second I2C gating controller 103 is connected with the CPLD106, and a fourth end of the second I2C gating controller 103 is connected with the CPLD 106;
the fan controller 104 is connected with a third end of the second I2C gating controller 103 and the fan 107;
the CPLD106 is connected with the BMC105 and is used for judging whether the BMC105 is in a normal working state; if not, sending a first control instruction to the first I2C gating controller 102 and the second I2C gating controller 103; a second control instruction is generated based on the current server temperature and sent to the fan controller 104.
The temperature acquisition module 101 includes a temperature sensor for acquiring a temperature of the server, wherein the temperature sensor may be a contact sensor or a non-contact sensor, and because the space inside the server is limited, the temperature sensor in the temperature acquisition module 101 is usually a contact sensor. To ensure the effectiveness of the server temperature collected by the temperature collection module 101, the temperature collection module 101 is typically disposed in a region where the temperature inside the server is high, such as a region where a heat source element is located. As shown in fig. 1, each of the first I2C gating controller 102 and the second I2C gating controller 103 is composed of a controller and two switches, wherein the controller 109 in the first I2C gating controller 102 and the controller 108 in the second I2C gating controller 103 may be the same type of controller or different types of controllers, which is not limited in this embodiment. The fan controller 104 may be a dedicated controller dedicated to controlling the rotation speed of the fan 107 and obtaining the rotation speed of the fan 107, or may be a controller capable of implementing multiple functions, which is not limited in this embodiment, and in general, the fan controller 104 is dedicated to controlling the rotation speed of the fan 107 and obtaining the rotation speed of the fan 107. In addition, the BMC105 and the CPLD106 are existing devices inside the server, and the embodiment does not specifically describe the two devices.
As shown in fig. 1, in a specific implementation, if the BMC105 is in a normal state, the BMC105 may always send a pulse signal to the CPLD106 through a WATCHDOG (WATCHDOG), and when the BMC105 is in an upgrade or hang-up state, the BMC105 may not normally operate, and at this time, the WATCHDOG of the BMC105 may stop sending the pulse signal to the CPLD106, so that the CPLD106 may determine whether the BMC105 is in a normal operating state.
When the server is in a normal working state, the CPLD106 sends out a third control command through the SENSOR _ SEL to control the switch K1 to be closed, the first I2C is gated to gate the first end and the third end of the controller 102, the BMC _ I2C _ SENSOR and the SENSOR _ I2C are gated, and the switch K2 is opened, so that the second end and the third end of the first I2C gated controller 102 are opened; in addition, the CPLD106 also controls the switch K3 to close by sending a third control command through FAN _ SEL, gates the first terminal and the third terminal of the second I2C gating controller 103, BMC _ I2C _ FAN and FAN _ I2C are gated, and the switch K4 is opened, so that the second terminal and the third terminal of the second I2C gating controller 103 are opened. At this time, the BMC105 may acquire the server temperature from the temperature acquisition module 101 through BMC _ I2C _ SENSOR and SENSOR _ I2C, generate a second control command in combination with a heat dissipation adjustment policy preset in the BMC105, send the second control command to the FAN controller 104 through BMC _ I2C _ FAN and FAN _ I2C, and the FAN controller 104 controls the rotation speed of the FAN 107 according to the second control command. Specifically, if the server temperature acquired by the BMC105 from the temperature acquisition module 101 changes, for example, the internal temperature of the server increases, at this time, the BMC105 sends a FAN 107 rotation speed acquisition instruction to the FAN controller 104 through BMC _ I2C _ FAN and FAN _ I2C, and the FAN controller 104 acquires the current rotation speed information of the FAN 107 from the FAN 107 and feeds the information back to the BMC 105; after obtaining the current rotation speed of the fan 107, the BMC105 compares the current rotation speed of the fan 107 with the current server temperature obtained from the temperature acquisition module 101 according to a pre-established correspondence between the server temperature and the rotation speed of the fan 107, and determines whether a second control instruction needs to be sent to adjust the rotation speed of the fan 107 to cope with the change of the server temperature according to a heat dissipation adjustment strategy preset in the BMC 105.
When the server is in an upgrading or hanging-up state, the CPLD106 can send out a first control instruction through the SENSOR _ SEL to control the switch K2 to be closed and gate the second end and the third end of the controller 102 by the first I2C, at this time, the CPLD _ I2C _ SENSOR and the SENSOR _ I2C are gated, and the switch K1 is opened, so that the first I2C gates the first end and the third end of the controller 102 to be opened; in addition, the CPLD106 also controls the switch K4 to close and gate the second terminal and the third terminal of the second I2C gating controller 103 by sending the first control command through FAN _ SEL, at which time the CPLD _ I2C _ FAN and FAN _ I2C are gated, and the switch K3 is opened, so that the first terminal and the third terminal of the second I2C gating controller 103 are opened. At this time, the CPLD106 will obtain the server temperature from the temperature acquisition module 101 through the CPLD _ I2C _ SENSOR and SENSOR _ I2C; the CPLD106 generates a second control instruction according to the acquired server temperature and a heat dissipation adjustment strategy preset in the CPLD106, and sends the second control instruction to the FAN controller 104 through the CPLD _ I2C _ FAN and FAN _ I2C, and the FAN controller 104 controls the rotation speed of the FAN 107 according to the received second control instruction. Specifically, if the server temperature obtained by the CPLD106 from the temperature acquisition module 101 changes, for example, the internal temperature of the server increases, at this time, the CPLD106 sends a FAN 107 rotation speed obtaining instruction to the FAN controller 104 through the CPLD _ I2C _ FAN and FAN _ I2C, and the FAN controller 104 obtains the current rotation speed information from the FAN 107 and feeds the information back to the CPLD106 through the CPLD _ I2C _ FAN and FAN _ I2C; after the CPLD106 acquires the current rotation speed information of the fan 107, the current rotation speed of the fan 107 and the current server temperature acquired from the temperature acquisition module 101 are compared according to the pre-established correspondence between the server temperature and the rotation speed of the fan 107, and it is determined whether a second control instruction needs to be issued to adjust the rotation speed of the fan 107 to deal with the change of the server temperature according to a heat dissipation adjustment strategy preset in the CPLD 106.
The heat dissipation adjustment strategy preset in the BMC105 and the CPLD106 is: if the current rotating speed of the fan 107 is less than the target rotating speed required by the current heat dissipation of the server, the current rotating speed of the fan 107 is increased to ensure the heat dissipation effect of the server; if the current rotating speed of the fan 107 is equal to the target rotating speed required by the current heat dissipation of the server, maintaining the current rotating speed of the fan 107; if the current rotational speed of the fan 107 is greater than the target rotational speed required for the server to dissipate heat currently, the current rotational speed of the fan 107 is decreased to reduce energy consumption. In addition, in a specific implementation, the fan controller 104 adjusts the rotation speed of the fan 107 through Pulse Width Modulation (PWM), and specifically, the rotation speed of the fan 107 can be controlled by adjusting the Pulse width to change the magnitude of the output voltage of the fan controller 104.
The embodiment provides a fan speed regulation circuit of a server, which comprises a temperature acquisition module, a first I2C gating controller, a second I2C gating controller, a fan controller, a BMC and a CPLD; the first end of the first I2C gating controller is connected with the BMC, the second end of the first I2C gating controller is connected with the CPLD, and the fourth end of the first I2C gating controller is connected with the CPLD; the temperature acquisition module is connected with the third end of the first I2C gating controller; the first end of the second I2C gating controller is connected with the BMC, the second end of the second I2C gating controller is connected with the CPLD, and the fourth end of the second I2C gating controller is connected with the CPLD; the fan controller is connected with the third end of the second I2C gating controller and the fan; the CPLD is connected with the BMC and is used for judging whether the BMC is in a normal working state; if not, sending a first control instruction to the first I2C gating controller and the second I2C gating controller; and generating a second control instruction according to the current server temperature, and sending the second control instruction to the fan controller. Therefore, when the BMC is in an upgrading or hanging state, the CPLD, the temperature acquisition module and the fan controller are gated by sending the first control instruction, and the CPLD replaces the BMC to perform strategy temperature regulation, so that compared with a temperature regulation mode in which a fan rotates at full speed when the BMC is upgraded in the prior art, the power consumption is greatly reduced, and the cost is lower.
On the basis of the above embodiment, because the existing method for upgrading the BMC of the server is generally a wired network upgrade, that is, the server requiring the BMC upgrade is accessed to the management network through a network cable for upgrading, the method needs to allocate a network cable to each server requiring the BMC upgrade, which is tedious and high in cost, and in this embodiment, the fan speed regulation circuit of the server further includes a wireless network card module 110 and a wireless routing module 111; the wireless network card module 110 is connected with the BMC105 and the CPLD 106; the wireless routing module 111 is connected with the wireless network card module 110 through a wireless local area network to upgrade the BMC105 through Wifi technology.
In this embodiment, the wireless routing module 111 refers to a wireless router, and the wireless network card module 110 refers to a wireless network card. As shown in fig. 1, the BMC105 accesses the wireless network card module 110 through USART1, and the wireless network card module 110 may be connected to the wireless routing module 111 through a wireless Local Area Network (LAN), so as to realize the interconnection communication between the BMC105 and the wireless routing module 111.
Firmware (FW), which is typically stored in an Electrically Erasable Programmable ROM (EEPROM) or a memory chip (Flash) of a device, refers to a program that can be upgraded to a BMC by a user through a specific refresh program. As shown in fig. 1, in a specific implementation, a user may input a BMC FW to be upgraded to a client by operation, and after the client acquires the BMC FW to be upgraded, the client logs in to connect to the wireless routing module 111 through a user instruction and a key, so as to upload the BMC FW through an LAN; after the BMC FW is downloaded, the wireless network card module 110 transfers the BMC FW to the BMC105 through the USART1, and the BMC105 writes the FW information into the BMC Flash112 through the SPI, thereby upgrading the BMC 105. In addition, in the circuit shown in fig. 1, the wireless network card module 110 may also communicate with the CPLD106 through the USART2 to implement wireless upgrade of the CPLD106, and since the specific implementation of the wireless upgrade CPLD106 is similar to the implementation of the wireless upgrade BMC105, this embodiment will not be specifically described.
In addition, in the specific implementation, the BMC105 may obtain status information such as a Central Processing Unit (CPU), a memory, a power supply, a temperature and a voltage of a motherboard, a fan, and the like, and thus, may send the information to the client through the wireless network card technology to achieve the purpose of the wireless monitoring server. It should be noted that the client may be a computer, a mobile phone or other mobile devices, and the type of the client is not limited in this embodiment.
The fan speed regulation circuit of the server also comprises a wireless routing module and a wireless network card module, wireless upgrading of BMC FW can be realized only by meeting the requirement that the client is in the coverage range of wireless signals of the wireless routing module, and a network cable does not need to be equipped for each server to be upgraded, so that the upgrading cost is effectively reduced.
On the basis of the above embodiments, in order to store the state information of the CPU, the memory, the power supply, the temperature and voltage of the motherboard, the fan, and the like, and the FW information required for upgrading the BMC105, in this embodiment, the fan speed control circuit of the server is further provided with a BMC Flash112 connected to the BMC105, see fig. 1.
The number of the BMC Flash112 may be one or plural, and the present embodiment does not limit the number of the BMC Flash 112. As shown in fig. 1, after acquiring status information or FW information such as a CPU, a memory, a power supply, a temperature and a voltage of a motherboard, a fan, and the like, the BMC105 may write the acquired information into the BMC Flash112 through the SPI, so that the client may extract relevant information when the client needs to display the information.
The fan speed regulation circuit of the server is further provided with a BMC Flash connected with the BMC to store state information and FW information of the CPU, a memory, a power supply, a mainboard temperature and voltage, a fan and the like acquired by the BMC.
On the basis of the above embodiment, in order to facilitate the user to know the server status, in this embodiment, the fan speed control circuit of the server further includes a display 113 connected to the wireless routing module 111, see fig. 1.
As shown in fig. 1, after acquiring the state information of the CPU, the memory, the power supply, the temperature and voltage of the motherboard, the fan, etc., the BMC105 may upload the relevant information to the wireless network card module 110 through the USART1, and the wireless routing module 111 may transmit the relevant information from the wireless network card module 110 to the display 113 through the LAN for display. In addition, when the BMC105 is in an upgraded or hung state, the CPLD106 may obtain the relevant information instead of the BMC105, upload the relevant information to the wireless network card module 110 through the USART2, and further send the relevant information to the display 113 through the LAN by the wireless routing module 111 for displaying.
The fan speed regulation circuit of the server is further provided with a display connected with the wireless routing module, so that the BMC and the CPLD can upload the acquired state information of the server to the display through Wifi to display, a user can learn about the state of the server, and the purpose of wirelessly monitoring the server is achieved.
On the basis of the above embodiment, since the BMC105 may affect the normal operation of the server when being in the hang-up state for a long time, in order to facilitate the user to know whether the BMC105 is in the hang-up state, the fan speed control circuit of the server according to this embodiment further includes an alarm device connected to the CPLD 106.
The alarm device can be a buzzer, the alarm device can give an alarm by controlling the buzzer to normally sound, the alarm device can also be an indicator lamp, the alarm device can give an alarm by controlling the indicator lamp to normally light, the alarm device can also be a microphone, the alarm device can give an alarm by sending out related voice prompts, and the embodiment does not limit the types and the alarm modes of the alarm device. In a specific implementation, if the CPLD106 does not receive the pulse signal sent by the BMC105, it indicates that the BMC105 is in an upgrade or hang-up state, and at this time, the alarm device may be controlled to alarm, and the user may check whether the server is in the hang-up state, or may determine whether the alarm is needed after waiting for a certain time (upgrade time of the BMC).
The fan speed regulation circuit of the server also comprises an alarm device connected with the CPLD, and the alarm device is used for prompting a user that the BMC is not in a normal working state, and preventing the BMC from being in a hanging state for a long time to influence the normal operation of the server.
The above embodiments describe the fan speed control circuit of the server provided in the present application in detail, and in addition, the embodiments of the present application also provide a server, where the server includes the fan speed control circuit of the server described in the above embodiments.
It will be appreciated that the server includes a CPU in addition to the fan speed control circuitry of the server for maintaining proper operation of the server. In addition, the server further includes a fan 107 for performing heat dissipation processing on the server.
The server provided by the embodiment comprises a fan speed regulation circuit of the server, and the circuit comprises a temperature acquisition module, a first I2C gating controller, a second I2C gating controller, a fan controller, a BMC (baseboard management controller) and a CPLD (complex programmable logic device); the first end of the first I2C gating controller is connected with the BMC, the second end of the first I2C gating controller is connected with the CPLD, and the fourth end of the first I2C gating controller is connected with the CPLD; the temperature acquisition module is connected with the third end of the first I2C gating controller; the first end of the second I2C gating controller is connected with the BMC, the second end of the second I2C gating controller is connected with the CPLD, and the fourth end of the second I2C gating controller is connected with the CPLD; the fan controller is connected with the third end of the second I2C gating controller and the fan; the CPLD is connected with the BMC and is used for judging whether the BMC is in a normal working state; if not, sending a first control instruction to the first I2C gating controller and the second I2C gating controller; and generating a second control instruction according to the current server temperature, and sending the second control instruction to the fan controller. Therefore, when the BMC is in an upgrading or hanging state, the CPLD, the temperature acquisition module and the fan controller are gated by sending the first control instruction, and the CPLD replaces the BMC to perform strategy temperature regulation, so that compared with a temperature regulation mode in which a fan rotates at full speed when the BMC is upgraded in the prior art, the power consumption is greatly reduced, and the cost is lower.
Fig. 2 is a flowchart of a fan speed regulation method for a server provided in the present application, where the method is applied to a fan speed regulation circuit of a server including a temperature acquisition module, a first I2C gating controller, a BMC, a CPLD, a second gating controller, and a fan controller. As shown in fig. 2, the method includes:
s1: judging whether the BMC is in a normal working state; if not, go to step S2; if yes, the process proceeds to step S4.
S2: the first control instruction is sent to the first I2C and second I2C pass controllers.
S3: and generating a second control instruction according to the current server temperature, and sending the second control instruction to the fan controller.
S4: a third control instruction is sent to the first I2C and second I2C pass controllers.
Since the embodiment of the method portion corresponds to the embodiment of the apparatus portion, please refer to the description of the embodiment of the apparatus portion for the embodiment of the method portion, which is not repeated here.
The fan speed regulation method of the server provided by the embodiment is applied to a fan speed regulation circuit of the server comprising a temperature acquisition module, a first I2C gating controller, a second gating controller, a fan controller, a BMC (baseboard management controller) and a CPLD (complex programmable logic device), and comprises the steps of judging whether the BMC is in a normal working state; if not, sending a first control instruction to the first I2C gating controller and the second I2C gating controller; and generating a second control instruction according to the current server temperature, and sending the second control instruction to the fan controller. Therefore, when the BMC is in an upgrading or hanging state, the CPLD, the temperature acquisition module and the fan controller are gated by sending the first control instruction, and the CPLD replaces the BMC to perform strategy temperature regulation, so that compared with a temperature regulation mode in which a fan rotates at full speed when the BMC is upgraded in the prior art, the power consumption is greatly reduced, and the cost is lower.
On the basis of the foregoing embodiment, in order to identify whether the BMC is in a normal operating state, the present embodiment performs supplementary description on the step of determining the operating state of the BMC. The method comprises the following steps:
receiving a pulse signal sent by the BMC;
correspondingly, judging whether the BMC is in a normal working state comprises the following steps:
and judging whether the BMC is in a normal working state or not according to the pulse signal.
Specifically, if a pulse signal sent by the BMC is received, it is indicated that the BMC is in a normal working state at this time, and if the pulse signal sent by the BMC is not received, it is indicated that the BMC is in an upgraded or hung-up state at this time, a first control instruction is sent to the first I2C gating controller and the second I2C gating second end and third end of the first I2C gating controller and the second I2C gating controller, and the CPLD, the temperature acquisition module and the fan controller are further connected, the CPLD replaces the BMC to acquire the current server temperature from the temperature acquisition module, and sends a corresponding second control instruction to the fan controller according to the current server temperature, so as to control the current rotating speed of the fan to be consistent with the target rotating speed corresponding to the second control instruction.
On the basis of the above embodiments, in order to accurately adjust the fan rotation speed, and to ensure the heat dissipation effect and the economy, the present embodiment will supplement the description on the step of generating the second control command for controlling the fan rotation speed. The method comprises the following steps:
obtaining a target rotating speed corresponding to the current server temperature according to a pre-established corresponding relation between the server temperature and the rotating speed of the fan;
acquiring the current rotating speed of the fan;
and generating a second control instruction according to the comparison result of the target rotating speed and the current rotating speed.
Specifically, the corresponding relation between the server temperature and the fan rotating speed can be established according to the multiple groups of server temperature data and the fan rotating speed data required by heat dissipation corresponding to the server temperature data, so that after the current server temperature is obtained, the target rotating speed corresponding to the current server temperature can be obtained based on the pre-established corresponding relation between the server temperature and the fan rotating speed, a fan rotating speed obtaining instruction is sent to the fan controller, the current rotating speed of the fan is obtained from the fan by the fan controller and fed back to the CPLD, the target rotating speed and the current rotating speed of the fan can be compared, and a second control instruction is generated based on the comparison result between the target rotating speed and the current rotating speed to control the current rotating speed of the fan to be consistent with the target rotating speed.
It can be understood that, if the current rotating speed of the fan is less than the target rotating speed, the second control instruction is used for controlling the fan to increase the rotating speed; if the current rotating speed of the fan is equal to the target rotating speed, the second control instruction is used for controlling the fan to maintain the current rotating speed; and if the current rotating speed of the fan is greater than the target rotating speed, the second control instruction is used for controlling the fan to reduce the rotating speed.
In this embodiment, the step of generating the second control instruction is described in detail, and the second control instruction is generated according to a comparison result between the target rotation speed required by the heat dissipation of the server and the current rotation speed of the fan, so as to control the current rotation speed of the fan to be consistent with the target rotation speed, thereby ensuring the heat dissipation effect and giving consideration to the economy.
On the basis of the embodiment, if the BMC is in a normal working state, the BMC acquires the current server temperature and carries out strategy temperature adjustment. As shown in fig. 2, this step includes:
s4: a third control instruction is sent to the first I2C and second I2C pass controllers.
Specifically, if the CPLD receives a pulse signal sent by the BMC, it indicates that the BMC is in a normal operating state, and at this time, a third control instruction is sent to the first I2C gating controller and the second I2C gating controller, so as to gate the first end and the third end of the first I2C gating controller and the second I2C gating controller, and connect the BMC with the temperature acquisition module and the fan controller, so that the BMC can acquire the current server temperature from the temperature acquisition module and the current rotation speed of the fan from the fan controller, and further generate a second control instruction according to a comparison result between the target rotation speed corresponding to the current server temperature and the current rotation speed of the fan in combination with a pre-established correspondence between the server temperature and the fan rotation speed, so as to control the current rotation speed of the fan to be consistent with the target rotation speed.
The server, the fan speed control method of the server and the circuit provided by the application are described in detail above. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, without departing from the principle of the present application, the present application can also make several improvements and modifications, and those improvements and modifications also fall into the protection scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A fan speed regulation circuit of a server, comprising: the system comprises a temperature acquisition module, a first I2C gating controller, a second I2C gating controller, a fan controller, a BMC and a CPLD;
a first end of the first I2C gating controller is connected with the BMC, a second end of the first I2C gating controller is connected with the CPLD, and a fourth end of the first I2C gating controller is connected with the CPLD;
the temperature acquisition module is connected with the third end of the first I2C gating controller;
the first end of the second I2C gating controller is connected with the BMC, the second end of the second I2C gating controller is connected with the CPLD, and the fourth end of the second I2C gating controller is connected with the CPLD;
the fan controller is connected with the third end of the second I2C gating controller and a fan;
the CPLD is connected with the BMC and is used for judging whether the BMC is in a normal working state; if not, sending a first control instruction to the first I2C gating controller and the second I2C gating controller; and generating a second control instruction according to the current server temperature, and sending the second control instruction to the fan controller.
2. The fan speed regulation circuit of the server according to claim 1, further comprising a wireless routing module and a wireless network card module;
the wireless network card module is connected with the BMC and the CPLD;
the wireless routing module is connected with the wireless network card module through a wireless local area network.
3. The fan speed control circuit of the server according to claim 1, further comprising a BMC Flash connected to the BMC.
4. The server fan throttle circuit of claim 2, further comprising a display coupled to the wireless routing module.
5. The fan governor circuit of the server according to claim 1, further comprising an alarm device connected to the CPLD.
6. A server, comprising the fan governor circuit of the server of any one of claims 1 to 5.
7. A fan speed regulation method of a server is characterized by being applied to a fan speed regulation circuit of the server comprising a temperature acquisition module, a first I2C gating controller, a BMC, a CPLD, a second gating controller and a fan controller, and comprising the following steps:
judging whether the BMC is in a normal working state;
if not, sending a first control instruction to the first I2C gating controller and the second I2C gating controller;
and generating a second control instruction according to the current server temperature, and sending the second control instruction to the fan controller.
8. The method of claim 7, wherein before the determining whether the BMC is in a normal operating state, the method further comprises:
receiving a pulse signal sent by the BMC;
correspondingly, the judging whether the BMC is in a normal working state comprises the following steps:
and judging whether the BMC is in the normal working state or not according to the pulse signal.
9. The method according to claim 7, wherein the generating a second control command according to the current server temperature comprises:
obtaining a target rotating speed corresponding to the current server temperature according to a pre-established corresponding relation between the server temperature and the fan rotating speed;
acquiring the current rotating speed of the fan;
and generating the second control instruction according to the comparison result of the target rotating speed and the current rotating speed.
10. The method of claim 7, wherein if the BMC is in the normal operating state, the method further comprises: sending a third control instruction to the first I2C and the second I2C pass controllers.
CN202210727067.XA 2022-06-24 2022-06-24 Server, and fan speed regulation method and circuit of server Pending CN114996096A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210727067.XA CN114996096A (en) 2022-06-24 2022-06-24 Server, and fan speed regulation method and circuit of server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210727067.XA CN114996096A (en) 2022-06-24 2022-06-24 Server, and fan speed regulation method and circuit of server

Publications (1)

Publication Number Publication Date
CN114996096A true CN114996096A (en) 2022-09-02

Family

ID=83037453

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210727067.XA Pending CN114996096A (en) 2022-06-24 2022-06-24 Server, and fan speed regulation method and circuit of server

Country Status (1)

Country Link
CN (1) CN114996096A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115405550A (en) * 2022-09-06 2022-11-29 苏州浪潮智能科技有限公司 Fan control method, device, equipment and medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115405550A (en) * 2022-09-06 2022-11-29 苏州浪潮智能科技有限公司 Fan control method, device, equipment and medium
CN115405550B (en) * 2022-09-06 2024-01-19 苏州浪潮智能科技有限公司 Fan control method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN109558157B (en) Computer implemented method and system for saving firmware settings
CN109150579B (en) Method and system for configuring multi-chassis link and storage medium thereof
EP3470956A1 (en) Dynamically adjust maximum fan duty in a server system
EP3217270A1 (en) A scalable pooled nvme storage box
US9401940B2 (en) Terminal provided with networking module and method for receiving and transmitting data using the same
WO2021115477A1 (en) Program upgrade method and apparatus, electronic device and storage medium
US20120151233A1 (en) Network device for controlling power consumption and method employing the same
CN103377115A (en) System event log management system and system event log management method
CN104615447A (en) Method for reusing monitor management software of server of whole-machine cabinet
US10921870B2 (en) System and method for hybrid power supply
US10503489B1 (en) Updating firmware via a remote utility
CN114996096A (en) Server, and fan speed regulation method and circuit of server
EP3528125B1 (en) Power supply unit fan recovery process
CN104597983A (en) Regulation method of revolving speed of computer and mainboard system
US11354259B1 (en) Computer system configurations based on accessing data elements presented by baseboard management controllers
CN116644011B (en) Quick identification method, device and equipment of I2C equipment and storage medium
CN115562738B (en) Port configuration method, component and hard disk expansion device
CN116401109A (en) Control method, device and medium of chassis management system
CN108953205B (en) System and method for controlling rotating speed of server fan
CN109445545A (en) System fan control method, system and computer readable storage medium
CN113325940A (en) Power consumption control method, system, terminal and storage medium of intelligent device
CN117472289B (en) Storage configuration adjustment method, device, system, equipment and medium of server
CN109787225A (en) A kind of distribution network model deriving method and device, equipment, storage medium
CN114489292A (en) Heat dissipation regulation and control method, system and device and server
CN103729000A (en) Intelligent temperature control system based on outdoor electronic equipment

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