A server fan regulation method, system, device and readable storage medium
Patent Information
- Application Number
- CN202211574017.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-08
- Publication Date
- 2026-10-27
- Estimated Expiration
- 2042-12-08
AI Technical Summary
上电即可开机通常由CPLD进行控制,按下电源按钮键后,风扇即开始转动,此种方式风扇直接固定转速,保证开机过程中所有部件不会超温但是会造成在安静的环境下突然产生较大噪声
[0016]对比现有技术,本发明有益效果在于:本发明公开了一种服务器风扇调控方法、系统、装置及可读存储介质,通过优化设计,使服务器内部散热效率提10%以上,整机节能15%以上,整机噪声降低20%以上。使服务器获得更高的换热效率、更低的能耗和更低噪声值,极大提升了计算密度和性能。
Smart Images

Figure CN115793817B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer technology, and more specifically to a server fan control method, system, device, and readable storage medium. Background Technology
[0002] As modern society develops, people's quality of life and living standards are rising, and their demands for quality of life are also increasing. Simultaneously, with the increasing demand for computing power, servers have gradually entered offices and even ordinary homes. Consequently, the noise performance of servers, which was originally prioritized during operation, is no longer sufficient to meet the user experience needs of customers and consumers, who are now demanding higher standards for startup noise levels.
[0003] Traditional servers often feature multiple fan modules to accelerate heat convection and exchange heat with electronic components, thereby reducing the temperature of high-temperature components inside the server. While existing technologies can use larger, more powerful fans or increase the number of fans to improve heat dissipation efficiency, increasing the number of fans or their power can encroach on the space available for internal electronic components and even generate more noise. Therefore, it is necessary to enhance heat dissipation technology and optimize control schemes to meet the server's cooling requirements.
[0004] Currently, servers typically have two power-on methods: instant power-on and controlled power-on. Instant power-on is usually controlled by a CPLD. After pressing the power button, the fan starts spinning immediately. This method keeps the fan speed constant, ensuring that all components do not overheat during power-on, but it can cause a sudden increase in noise in a quiet environment. The controlled power-on method involves no response after pressing the power button after power-on; the server can only be powered on after the BMC is activated. This method has better noise control, but because the server cannot be powered on immediately after power-on, customers often mistakenly believe that there is a power-on failure. Summary of the Invention
[0005] To address the above problems, the present invention aims to provide a server fan control method, system, device, and readable storage medium, which enables servers to achieve higher heat exchange efficiency, lower energy consumption, and lower noise levels, thereby greatly improving computing density and performance.
[0006] To achieve the above objectives, this invention provides a server fan control method through the following technical solution, comprising: When the current server is configured with an OCP network card, the server's power-on status is identified, and the first control strategy is initiated to control the fan speed according to the power-on status until the BMC is activated and the fan speed is controlled through the BMC. When the server is not currently configured with an OCP network card, the server's power-on status is identified, and the second control strategy is initiated to control the fan speed based on the power-on status until the BMC is activated and the fan speed is controlled through the BMC. BMC monitors the ambient temperature through the server's built-in temperature sensor to determine changes in the ambient temperature, and then uses a preset ambient temperature linear speed control table to adjust the fan speed based on these changes. BMC identifies fan abnormalities by monitoring the fan status signals in real time. When a fan malfunctions, it executes an abnormal speed regulation mechanism using a preset abnormal speed control table.
[0007] Furthermore, when the current server is configured with an OCP network card, the server's power-on status is identified, and a first control strategy is initiated based on the power-on status to control the fan speed until the BMC is activated, at which point the fan speed is controlled via the BMC, including: When the server is powered on immediately, the fan speed is controlled to start from 10% of the maximum speed, and the fan duty is increased by 5% every 30 seconds until it reaches 45% of the maximum speed. After the BMC is activated, the fan speed is controlled through the BMC. When the server is powered on after the BMC is activated, the fan speed is directly controlled through the BMC after the BMC is activated and the server is powered on.
[0008] Furthermore, when the current server is not configured with an OCP network card, the server's power-on status is identified, and a second control strategy is initiated based on the power-on status to control the fan speed until the BMC is activated, at which point the fan speed is controlled via the BMC, including: When the server is powered on but not turned on, the fan speed is controlled to start at 10% of the maximum speed after power-on, increasing by 5% every 30 seconds until it reaches 30% of the maximum speed. When the server is powered on immediately, the fan speed is controlled to start at 10% of the maximum speed, increasing by 5% every 30 seconds until it reaches 45% of the maximum speed. After the BMC is activated, the fan speed is controlled through the BMC. When the server is powered on after the BMC is activated, the fan speed is directly controlled through the BMC after the server is powered on.
[0009] Furthermore, the BMC monitors the ambient temperature using a built-in temperature sensor to determine changes in the ambient temperature. Based on these changes, it executes a preset ambient temperature linear speed control table to regulate the fan speed, including: When the BMC first obtains a temperature sensor reading, it adjusts the fan speed according to the heating control parameters in the preset ambient temperature linear speed control table. If the current temperature sensor reading is higher than the previous cycle's reading, it is determined that the ambient temperature has increased, and the fan speed is adjusted according to the heating control parameters in the preset ambient temperature linear speed control table. If the current temperature sensor reading is lower than the previous cycle's reading, it is determined that the ambient temperature has decreased, and the fan speed is adjusted according to the cooling control parameters in the preset ambient temperature linear speed control table. If the current temperature sensor reading is the same as the previous cycle's reading, it is determined that the ambient temperature remains unchanged, and the fan speed of the previous cycle is maintained.
[0010] Furthermore, the BMC identifies fan anomalies by monitoring the fan's status signals in real time. When a fan malfunctions, it executes an abnormal speed regulation mechanism using a preset abnormal speed control table, including: The BMC monitors the fan's position information in real time by reading the fan's position signal to determine whether the fan is in position. If the fan's position information is not obtained for two consecutive scan cycles, it is determined that the fan's position is abnormal, and an abnormal speed regulation mechanism is executed using a preset abnormal speed control table. If the fan's position information is not obtained for 60 consecutive scan cycles, the BMC generates an alarm log. When the fan is determined to be in an abnormal position, the BMC continues to read the fan's position signal. If it can be obtained, normal control is restored.
[0011] Furthermore, the BMC identifies fan anomalies by monitoring the fan's status signals in real time. When a fan malfunctions, it executes an abnormal speed regulation mechanism using a preset abnormal speed control table, including: The BMC monitors the fan speed signal in real time. If the fan speed signal is not acquired for two consecutive scan cycles, it is determined that the fan speed is abnormal, and an abnormal speed control mechanism is executed using a preset abnormal speed control table. If the fan speed signal is not acquired for 60 consecutive scan cycles, the BMC generates an alarm log. When the fan is determined to be abnormal, the BMC continues to read the fan speed signal. If it can be acquired, normal control is restored.
[0012] Furthermore, the method also includes: If the CPLD does not receive a feedback signal from the BMC for 5 consecutive seconds, it assumes that the BMC has failed and the CPLD takes over the fan speed control. If the BMC fails to receive a signal from the temperature sensor for 5 consecutive times, a log will be generated and an alarm will be issued.
[0013] Accordingly, the present invention also discloses a server fan control system, comprising: The first control module is used to identify the server's power-on status when the current server is configured with an OCP network card, and to start the first control strategy to control the fan speed according to the power-on status until the BMC is activated and then controls the fan speed through the BMC. The second control module is used to identify the server's power-on status when the current server is not configured with an OCP network card, and to start the second control strategy to control the fan speed according to the power-on status until the BMC is activated and then the fan speed is controlled by the BMC. The real-time control module is used to control the BMC to monitor the ambient temperature through the temperature sensor built into the server to determine the changes in the ambient temperature, and to execute the preset ambient temperature linear speed control table to adjust the fan speed according to the changes in the ambient temperature. The abnormal control module is used to control the BMC to identify fan abnormalities by monitoring the fan status signals in real time. When a fan abnormality occurs, the abnormal speed control mechanism is executed using a preset abnormal speed control table.
[0014] Accordingly, the present invention discloses a server fan control device, comprising: Memory, used to store server fan control programs; A processor is configured to implement the steps of the server fan control method as described in any of the preceding descriptions when executing the server fan control program.
[0015] Accordingly, the present invention discloses a readable storage medium storing a server fan control program, which, when executed by a processor, implements the steps of the server fan control method described in any of the above descriptions.
[0016] Compared with existing technologies, the advantages of this invention are as follows: This invention discloses a server fan control method, system, device, and readable storage medium. Through optimized design, it improves the internal heat dissipation efficiency of the server by more than 10%, saves more than 15% on the overall energy, and reduces the overall noise by more than 20%. This enables the server to achieve higher heat exchange efficiency, lower energy consumption, and lower noise levels, greatly improving computing density and performance.
[0017] After using this invention, the server can be turned on at any time after power-on, with a wide range of user points, a user-friendly startup process, and startup sound that blends into the ambient noise, resulting in an excellent user experience.
[0018] This invention improves equipment safety and ensures normal operation by using more abnormal feedback signals to intelligently adjust the fan.
[0019] This invention addresses the shortcomings of existing server fan control by optimizing three parts: the speed control mechanism during power-on, the speed control mechanism for changes in ambient temperature during normal operation, and the feedback mechanism when abnormalities occur. Through this optimization, server operating noise is effectively reduced, making server operation more user-friendly and intelligent.
[0020] Therefore, it is evident that the present invention has outstanding substantive features and significant progress compared with the prior art, and the beneficial effects of its implementation are also obvious. Attached Figure Description
[0021] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0022] Figure 1 This is a flowchart illustrating a specific embodiment of the present invention.
[0023] Figure 2 This is a system structure diagram of a specific embodiment of the present invention.
[0024] In the diagram, 1 is the first control module; 2 is the second control module; 3 is the real-time control module; and 4 is the abnormal control module. Detailed Implementation
[0025] The core of this invention is to provide a server fan control method. In existing technologies, automatic power-on is usually controlled by a CPLD. After pressing the power button, the fan starts to rotate. This method directly fixes the fan speed, ensuring that all components do not overheat during power-on, but it can cause a sudden increase in noise in a quiet environment. The controlled power-on scheme does not respond after pressing the power button after the server is powered on, and can only be powered on after the BMC is activated. This scheme has better noise control, but because it cannot be powered on immediately after power-on, customers often mistakenly believe that there is a power-on failure.
[0026] The server fan control method provided by this invention firstly identifies the server's power-on status when the server is equipped with an OCP network card, and initiates a first control strategy to control the fan speed based on the power-on status until the BMC is activated and controls the fan speed through the BMC. Secondly, when the server is not equipped with an OCP network card, it identifies the server's power-on status, initiates a second control strategy to control the fan speed based on the power-on status, and controls the fan speed through the BMC after activation. In this case, the BMC monitors the ambient temperature through the server's built-in temperature sensor to determine changes in the ambient temperature, and executes a preset ambient temperature linear speed control table to adjust the fan speed based on these changes. Finally, the BMC identifies fan anomalies by monitoring the fan's status signals in real time. When a fan anomaly occurs, it executes an abnormal speed control mechanism using a preset abnormal speed control table. Therefore, this invention addresses the shortcomings of existing server fan control methods by optimizing the speed control mechanism in three parts: the power-on speed control mechanism, the normal operation ambient temperature change speed control mechanism, and the feedback mechanism when an anomaly occurs. This optimization effectively reduces server operating noise, making server operation more user-friendly and intelligent.
[0027] To enable those skilled in the art to better understand the present invention, the invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. Obviously, the described embodiments are merely some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0028] Example 1: like Figure 1 As shown, this embodiment provides a server fan control method, including the following steps: S1: When the current server is configured with an OCP network card, identify the server's power-on status, and start the first control strategy to control the fan speed according to the power-on status until the BMC is activated and then controls the fan speed through the BMC.
[0029] Specifically, when the current server is configured with an OCP network card, the server's power-on status includes two situations: power-on upon power-up and power-on after BMC activation.
[0030] When the server is powered on immediately, the fan speed is controlled to start from 10% of the maximum speed, and the fan duty is increased by 5% every 30 seconds until it reaches 45% of the maximum speed. After the BMC is activated, the fan speed is controlled through the BMC. When the server is powered on after the BMC is activated, the fan speed is directly controlled through the BMC after the BMC is activated and the server is powered on.
[0031] S2: When the current server is not configured with an OCP network card, identify the server's power-on status and start the second control strategy to control the fan speed according to the power-on status until the BMC is activated and then controls the fan speed through the BMC.
[0032] Specifically, when the server is not configured with an OCP network card, the server's power-on status includes three situations: not powering on after power-on, powering on immediately after power-on, and powering on after BMC activation.
[0033] When the server is powered on but not turned on, the fan speed is controlled to start at 10% of the maximum speed after power-on, increasing by 5% every 30 seconds until it reaches 30% of the maximum speed. When the server is powered on immediately, the fan speed is controlled to start at 10% of the maximum speed, increasing by 5% every 30 seconds until it reaches 45% of the maximum speed. After the BMC is activated, the fan speed is controlled through the BMC. When the server is powered on after the BMC is activated, the fan speed is directly controlled through the BMC after the server is powered on.
[0034] S3: The BMC monitors the ambient temperature through the server's built-in temperature sensor to determine changes in the ambient temperature, and then uses a preset ambient temperature linear speed control table to adjust the fan speed based on these changes.
[0035] Specifically, when the BMC first obtains a temperature sensor reading, it adjusts the fan speed according to the heating control parameters in the ambient temperature linear speed control table. If the current temperature sensor reading is higher than the previous cycle's reading, it is determined that the ambient temperature has increased, and the fan speed is adjusted according to the heating control parameters in the ambient temperature linear speed control table. If the current temperature sensor reading is lower than the previous cycle's reading, it is determined that the ambient temperature has decreased, and the fan speed is adjusted according to the cooling control parameters in the ambient temperature linear speed control table. If the current temperature sensor reading is the same as the previous cycle's reading, it is determined that the ambient temperature remains unchanged, and the fan speed of the previous cycle is maintained.
[0036] As an example, fan speed is adjusted according to the ambient temperature linear speed control table provided in Table 1. Specifically, this includes: 1. When the BMC obtains the ambient temperature reading for the first time, it adjusts the fan speed according to the Up table of the ambient temperature linear speed control table.
[0037] 2. If the current ambient temperature reading is higher than the previous cycle reading, it is determined that the ambient temperature has increased. The fan speed is then adjusted according to the Up table of the ambient temperature linear speed control table.
[0038] 3. If the current ambient temperature reading is lower than the previous cycle reading, it is determined that the ambient temperature has decreased, and the fan speed is adjusted according to the Down table of the ambient temperature linear speed control table.
[0039] 4. If the current ambient temperature reading is the same as the reading in the previous cycle, it is determined that the ambient temperature remains unchanged, and the fan speed of the previous cycle is maintained.
[0040] Table 1 - Ambient Temperature Linear Speed Regulation Table
[0041] S4: BMC identifies fan abnormalities by monitoring the fan status signals in real time. When a fan malfunctions, it executes an abnormal speed regulation mechanism using a preset abnormal speed control table.
[0042] This step mainly involves two aspects: identifying fan anomalies and handling the corresponding anomalies.
[0043] Firstly, the BMC monitors the fan's position information in real time by reading the fan's position signal to determine whether the fan is in position. If the fan's position information is not obtained for two consecutive scan cycles, it is determined that the fan's position is abnormal, and an abnormal speed control mechanism is executed using an abnormal speed control table. If the fan's position information is not obtained for 60 consecutive scan cycles, the BMC generates an alarm log. When the fan is determined to be in an abnormal position, the BMC continues to read the fan's position signal. If it can be obtained, normal control is restored.
[0044] Secondly, the BMC monitors the fan speed signal in real time. If the fan speed signal is not acquired for two consecutive scan cycles, it is determined that the fan speed is abnormal, and an abnormal speed control mechanism is executed using the abnormal speed control table. If the fan speed signal is not acquired for 60 consecutive scan cycles, the BMC generates an alarm log. When the fan is determined to be abnormal, the BMC continues to read the fan speed signal. If it can be acquired, normal control is restored.
[0045] As an example, this step handles fan malfunctions according to the abnormal speed control table provided in Table 2. Specifically, it includes: 1. The fan is equipped with an on-duty signal, and the BMC monitors the fan's on-duty information in real time to determine whether the fan is in position.
[0046] If the readings are abnormal for two consecutive retry cycles, the fan is considered to be in an abnormal position, and an abnormal speed control mechanism is executed with reference to the abnormal speed control table. If the readings are abnormal for 60 consecutive retry cycles (not exceeding 1 minute), the BMC generates an alarm log. After confirming the fan is in an abnormal position, it continues to acquire the position signal. If the signal is acquired, normal control is restored.
[0047] 2. The BMC monitors the fan speed in real time and uses the real-time speed as the basis for judgment to determine whether the fan is abnormal.
[0048] If two consecutive retry cycles show abnormal readings, the fan speed is determined to be abnormal, and the abnormal speed control mechanism is executed according to the abnormal speed control table. If 60 consecutive retry cycles show abnormal readings, the BMC generates an alarm log. After confirming the fan speed is abnormal, the speed is still acquired; if acquired, normal control is restored.
[0049] 3. If the CPLD does not receive a feedback signal from the BMC for 5 seconds, it is considered that the BMC has failed, and the fan speed control is taken over by the CPLD.
[0050] 4. If the BMC does not receive a feedback signal from the temperature sensor for 5 consecutive times, it will generate a log and issue an alarm.
[0051] Table 2 - Abnormal Speed Control Table
[0052] This embodiment provides a server fan control method. By optimizing the speed control mechanism during server power-on, the speed control mechanism for changes in ambient temperature during normal operation, and the feedback mechanism when an anomaly occurs, the internal heat dissipation efficiency of the server is improved by more than 10%, the overall energy saving is improved by more than 15%, and the overall noise is reduced by more than 20%. This enables the server to achieve higher heat exchange efficiency, lower energy consumption, and lower noise levels, greatly improving computing density and performance.
[0053] Example 2: Based on Example 1, such as Figure 2 As shown, the present invention also discloses a server fan control system, including: a first control module 1, a second control module 2, a real-time control module 3, and an abnormal control module 4.
[0054] The first control module 1 is used to identify the server's power-on status when the current server is configured with an OCP network card, and to start the first control strategy to control the fan speed according to the power-on status until the BMC is activated and then controls the fan speed through the BMC.
[0055] The second control module 2 is used to identify the server's power-on status when the current server is not configured with an OCP network card, and to start the second control strategy to control the fan speed according to the power-on status until the BMC is activated and then controls the fan speed through the BMC.
[0056] The real-time control module 3 is used to control the BMC to monitor the ambient temperature through the temperature sensor built into the server to determine the changes in the ambient temperature, and to execute the preset ambient temperature linear speed control table to adjust the fan speed according to the changes in the ambient temperature.
[0057] The abnormal control module 4 is used to control the BMC to identify fan abnormalities by monitoring the fan status signal in real time. When the fan is abnormal, it uses a preset abnormal speed control table to execute an abnormal speed regulation mechanism.
[0058] This embodiment provides a server fan control system. It optimizes the control design of three parts to address the shortcomings of existing server fan control systems: the speed control mechanism during power-on, the speed control mechanism for changes in ambient temperature during normal operation, and the feedback mechanism when abnormalities occur. After optimization, the server operating noise is effectively reduced, making the server operation more user-friendly and intelligent.
[0059] Example 3: This embodiment discloses a server fan control device, including a processor and a memory; wherein, when the processor executes the server fan control program stored in the memory, it performs the following steps: 1. When the current server is configured with an OCP network card, the server's power-on status is identified, and the first control strategy is initiated to control the fan speed according to the power-on status until the BMC is activated and then the fan speed is controlled through the BMC.
[0060] 2. When the server is not currently configured with an OCP network card, identify the server's power-on status and start the second control strategy to control the fan speed according to the power-on status until the BMC is activated and then controls the fan speed through the BMC.
[0061] 3. The BMC monitors the ambient temperature through the server's built-in temperature sensor to determine changes in the ambient temperature, and then uses a preset ambient temperature linear speed control table to adjust the fan speed based on these changes.
[0062] 4. The BMC identifies fan abnormalities by monitoring the fan status signals in real time. When a fan malfunctions, it executes an abnormal speed regulation mechanism using a preset abnormal speed control table.
[0063] Furthermore, the server fan control device in this embodiment may also include: The input interface is used to acquire server fan control programs imported from external sources and save these programs to the memory. It can also acquire various instructions and parameters transmitted from external terminal devices and transmit them to the processor, allowing the processor to perform corresponding processing using these instructions and parameters. In this embodiment, the input interface may specifically include, but is not limited to, a USB interface, a serial interface, a voice input interface, a fingerprint input interface, and a hard disk read interface.
[0064] An output interface is used to output various data generated by the processor to connected terminal devices, so that other terminal devices connected to the output interface can obtain the various data generated by the processor. In this embodiment, the output interface may specifically include, but is not limited to, a USB interface, a serial interface, etc.
[0065] A communication unit is used to establish a remote communication connection between the server fan control device and an external server, so that the server fan control device can mount the image file to the external server. In this embodiment, the communication unit may include, but is not limited to, a remote communication unit based on wireless communication technology or wired communication technology.
[0066] The keyboard is used to acquire various parameter data or commands input by the user through real-time keystrokes.
[0067] The monitor is used to display relevant information in real time regarding the process of locating a short circuit in the server's power supply line.
[0068] A mouse can be used to assist users in inputting data and simplifying user operations.
[0069] Example 4: This embodiment also discloses a readable storage medium, which includes random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable hard disk, CD-ROM, or any other form of storage medium known in the art. The readable storage medium stores a server fan control program, which, when executed by a processor, performs the following steps: 1. When the current server is configured with an OCP network card, the server's power-on status is identified, and the first control strategy is initiated to control the fan speed according to the power-on status until the BMC is activated and then the fan speed is controlled through the BMC.
[0070] 2. When the server is not currently configured with an OCP network card, identify the server's power-on status and start the second control strategy to control the fan speed according to the power-on status until the BMC is activated and then controls the fan speed through the BMC.
[0071] 3. The BMC monitors the ambient temperature through the server's built-in temperature sensor to determine changes in the ambient temperature, and then uses a preset ambient temperature linear speed control table to adjust the fan speed based on these changes.
[0072] 4. The BMC identifies fan abnormalities by monitoring the fan status signals in real time. When a fan malfunctions, it executes an abnormal speed regulation mechanism using a preset abnormal speed control table.
[0073] In summary, this invention enables servers to achieve higher heat exchange efficiency, lower energy consumption, and lower noise levels, greatly improving computing density and performance.
[0074] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. The methods disclosed in the embodiments are described simply because they correspond to the systems disclosed in the embodiments; relevant details can be found in the method section.
[0075] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0076] In the embodiments provided by this invention, it should be understood that the disclosed systems, methods, and approaches can be implemented in other ways. For example, the system embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between systems or units may be electrical, mechanical, or other forms.
[0077] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0078] In addition, the functional modules in the various embodiments of the present invention can be integrated into one processing unit, or each module can exist physically separately, or two or more modules can be integrated into one unit.
[0079] Similarly, in the various embodiments of the present invention, each processing unit can be integrated into a functional module, or each processing unit can exist physically, or two or more processing units can be integrated into a functional module.
[0080] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
[0081] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0082] The server fan control method, system, device, and readable storage medium provided by this invention have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this invention. The descriptions of the embodiments above are only for the purpose of helping to understand the method and core ideas of this invention. It should be noted that those skilled in the art can make various improvements and modifications to this invention without departing from its principles, and these improvements and modifications also fall within the protection scope of the claims of this invention.
Claims
1. A server fan control method, characterized in that, include: When the server is currently configured with an OCP network card, the server's power-on status is identified, and the first control strategy is initiated based on the power-on status to control the fan speed until the BMC is activated, at which point the fan speed is controlled through the BMC. When the server is currently configured with an OCP network card, the server's power-on status includes two cases: power-on immediately upon power-on and power-on after BMC activation. When the server's power-on status is power-on immediately upon power-on, the fan speed is controlled to start rotating at 10% of the maximum speed, increasing the fan duty by 5% every 30 seconds until it reaches 45% of the maximum speed. After BMC activation, the fan speed is controlled through the BMC. When the server's power-on status is power-on after BMC activation, the fan speed is directly controlled through the BMC after the BMC is activated and the server is powered on. When the server is not currently configured with an OCP network card, the server's power-on status is identified, and the second control strategy is initiated to control the fan speed based on the power-on status until the BMC is activated and the fan speed is controlled through the BMC. When the server is not configured with an OCP network card, the server's power-on status includes three scenarios: not powered on after power-on, powered on immediately after power-on, and powered on after BMC activation. When the server is not powered on after power-on, the fan starts rotating at 10% of its maximum speed after power-on, increasing the fan duty cycle by 5% every 30 seconds until it reaches 30% of its maximum speed. When the server is powered on immediately after power-on, the fan starts rotating at 10% of its maximum speed, increasing the fan duty cycle by 5% every 30 seconds until it reaches 45% of its maximum speed, and the fan speed is controlled by the BMC after BMC activation. When the server is powered on after BMC activation, the fan speed is directly controlled by the BMC after BMC activation and power-on. BMC monitors the ambient temperature through the server's built-in temperature sensor to determine changes in the ambient temperature, and then uses a preset ambient temperature linear speed control table to adjust the fan speed based on these changes. BMC identifies fan abnormalities by monitoring the fan status signals in real time. When a fan malfunctions, it executes an abnormal speed regulation mechanism using a preset abnormal speed control table. The BMC identifies fan anomalies by monitoring fan status signals in real time. When a fan malfunctions, it executes an abnormal speed control mechanism using a preset abnormal speed control table, including: The fan is equipped with an on-duty signal. The BMC monitors the fan's on-duty information in real time by reading the on-duty signal to determine whether the fan is in position. If the fan's on-duty information is not obtained for two consecutive scan cycles, it is determined that the fan is in an abnormal position, and an abnormal speed regulation mechanism is executed using a preset abnormal speed control table. If the fan's on-duty information is not obtained for 60 consecutive scan cycles, the BMC generates an alarm log. When the fan is determined to be in an abnormal position, the on-duty signal is read again. If it is obtained, normal control is restored. The BMC identifies fan anomalies by monitoring the fan's status signals in real time. When a fan malfunctions, it executes an abnormal speed regulation mechanism using a preset abnormal speed control table. The mechanism also includes: BMC monitors the fan speed signal in real time; If no fan speed signal is acquired for two consecutive scan cycles, the fan speed is determined to be abnormal, and an abnormal speed regulation mechanism is executed using a preset abnormal speed control table. If no fan speed signal is acquired for 60 consecutive scan cycles, the BMC generates an alarm log message. Once the fan is determined to be running at an abnormal speed, the system continues to read the fan speed signal. If the signal can be obtained, normal control is restored.
2. The server fan control method according to claim 1, characterized in that, The BMC monitors the ambient temperature using a built-in temperature sensor to determine changes in the ambient temperature. Based on these changes, it executes a preset ambient temperature linear speed control table to adjust the fan speed, including: When the BMC first obtains the temperature sensor reading, it adjusts the fan speed according to the temperature rise control parameters in the preset ambient temperature linear speed control table. If the current temperature sensor reading is higher than the previous cycle reading, it is determined that the ambient temperature has increased, and the fan speed is adjusted according to the temperature rise control parameters in the preset ambient temperature linear speed control table. If the current temperature sensor reading is lower than the previous cycle reading, it is determined that the ambient temperature has decreased, and the fan speed is adjusted according to the cooling control parameters in the preset ambient temperature linear speed control table. If the current temperature sensor reading is the same as the previous cycle's reading, it is determined that the ambient temperature remains unchanged, and the fan speed of the previous cycle is maintained.
3. The server fan control method according to claim 1, characterized in that, The method further includes: If the CPLD does not receive a feedback signal from the BMC for 5 consecutive seconds, it assumes that the BMC has failed and the CPLD takes over the fan speed control. If the BMC fails to receive a signal from the temperature sensor for 5 consecutive times, a log will be generated and an alarm will be issued.
4. A server fan control system, characterized in that, include: The first control module is used to identify the server's power-on status when the current server is configured with an OCP network card, and to start the first control strategy to control the fan speed according to the power-on status until the BMC is activated and then controls the fan speed through the BMC. When the current server is configured with an OCP network card, the server's power-on status includes two situations: power-on immediately and power-on after BMC activation. When the server's power-on status is power-on immediately, the fan speed is controlled to start rotating at 10% of the maximum speed, and the fan duty is increased by 5% every 30 seconds until it reaches 45% of the maximum speed. After the BMC is activated, the fan speed is controlled through the BMC. When the server's power-on status is power-on after BMC activation, the fan speed is directly controlled through the BMC after the BMC is activated and the server is powered on. The second control module is used to identify the server's power-on status when the current server is not configured with an OCP network card, and to start the second control strategy to control the fan speed according to the power-on status until the BMC is activated and then the fan speed is controlled by the BMC. When the server is not configured with an OCP network card, the server's power-on status includes three scenarios: not powered on after power-on, powered on immediately after power-on, and powered on after BMC activation. When the server is not powered on after power-on, the fan starts rotating at 10% of its maximum speed after power-on, increasing the fan duty cycle by 5% every 30 seconds until it reaches 30% of its maximum speed. When the server is powered on immediately after power-on, the fan starts rotating at 10% of its maximum speed, increasing the fan duty cycle by 5% every 30 seconds until it reaches 45% of its maximum speed, and the fan speed is controlled by the BMC after BMC activation. When the server is powered on after BMC activation, the fan speed is directly controlled by the BMC after BMC activation and power-on. The real-time control module is used to control the BMC to monitor the ambient temperature through the temperature sensor built into the server to determine the changes in the ambient temperature, and to execute the preset ambient temperature linear speed control table to adjust the fan speed according to the changes in the ambient temperature. The abnormal control module is used to control the BMC to identify fan abnormalities by monitoring the fan status signal in real time. When the fan is abnormal, it uses a preset abnormal speed control table to execute an abnormal speed regulation mechanism. The BMC identifies fan anomalies by monitoring fan status signals in real time. When a fan malfunctions, it executes an abnormal speed control mechanism using a preset abnormal speed control table, including: The fan is equipped with an on-duty signal. The BMC monitors the fan's on-duty information in real time by reading the on-duty signal to determine whether the fan is in position. If the fan's on-duty information is not obtained for two consecutive scan cycles, it is determined that the fan is in an abnormal position, and an abnormal speed regulation mechanism is executed using a preset abnormal speed control table. If the fan's on-duty information is not obtained for 60 consecutive scan cycles, the BMC generates an alarm log. When the fan is determined to be in an abnormal position, the on-duty signal is read again. If it is obtained, normal control is restored. The BMC identifies fan anomalies by monitoring the fan's status signals in real time. When a fan malfunctions, it executes an abnormal speed regulation mechanism using a preset abnormal speed control table. The mechanism also includes: BMC monitors the fan speed signal in real time; If no fan speed signal is acquired for two consecutive scan cycles, the fan speed is determined to be abnormal, and an abnormal speed regulation mechanism is executed using a preset abnormal speed control table. If no fan speed signal is acquired for 60 consecutive scan cycles, the BMC generates an alarm log message. Once the fan is determined to be running at an abnormal speed, the system continues to read the fan speed signal. If the signal can be obtained, normal control is restored.
5. A server fan control device, characterized in that, include: Memory, used to store server fan control programs; A processor, configured to implement the steps of the server fan control method as described in any one of claims 1 to 3 when executing the server fan control program.
6. A readable storage medium, characterized in that: The readable storage medium stores a server fan control program, which, when executed by a processor, implements the steps of the server fan control method as described in any one of claims 1 to 3.
Citation Information
Patent Citations
Intelligent regulation and control method for server fan in S5 state
CN112065757A
Method, device and equipment for processing abnormal rotating speed of fan
CN114153656A
Server fan regulation and control method and system, electronic equipment and storage medium
CN114911332A