Fan air flow regulation system, method, device, computer device and storage medium
By using a fan airflow control system to adjust fan speed and airflow velocity in real time, the problem of fan airflow causing hard drive vibration is solved, hard drive read and write performance is improved, and server heat dissipation is ensured.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- INSPUR SUZHOU INTELLIGENT TECH CO LTD
- Filing Date
- 2024-02-29
- Publication Date
- 2026-06-23
AI Technical Summary
In existing technologies, when a fan cools a hard drive, the high-speed airflow, accompanied by noise, blows directly onto the hard drive, causing it to vibrate and affecting its read and write performance.
A fan airflow control system is adopted, including a control module, a fan control module, an airflow direction control module, and an airflow noise control module. By acquiring fan speed and hard drive performance parameters, the fan speed, airflow velocity, and noise are adjusted in real time to reduce the vibration impact of fan airflow on the hard drive.
This effectively reduces the vibration from the fan rotation on the hard drive, improves the hard drive's read and write performance, and maximizes the server's heat dissipation performance.
Smart Images

Figure CN117889096B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer technology, specifically to a fan airflow control system, method, apparatus, computer equipment, and storage medium. Background Technology
[0002] With the global development of informatization, datafication, and intelligentization, servers are increasingly widely used as infrastructure. As server computing power continues to increase, the power consumption of server hardware such as CPU (Central Processing Unit) chips, memory, and hard drives is also rising, leading to a significant increase in heat generation. This necessitates high-speed fans for cooling. The faster the fans rotate, the faster the airflow, and the louder the high-frequency noise carried by the airflow. This high-speed airflow and accompanying noise have a significant impact on hard drive vibration, which can reduce read / write performance and even shorten the hard drive's lifespan.
[0003] Therefore, the related technology has the problem of using a fan to cool the hard drive, which causes the high-speed fan airflow, mixed with noise, to blow directly onto the hard drive, causing the hard drive to vibrate and affecting its read and write performance. Summary of the Invention
[0004] In view of this, the present invention provides a fan airflow control system, method, device, computer equipment, and storage medium to solve the problem in the related art where using a fan to dissipate heat from a hard drive results in a high-speed fan airflow mixed with noise blowing directly onto the hard drive, causing the hard drive to vibrate and affecting its read and write performance.
[0005] In a first aspect, the present invention provides a fan airflow control system, the system comprising: a control module, a fan control module, an airflow direction control module, and an airflow noise control module;
[0006] The control module is used to obtain the fan speed and the first performance parameters of a first preset number of hard drives within a preset time period, and to activate the fan control module, the airflow direction control module, and the airflow noise control module according to the fan speed and the first performance parameters.
[0007] The airflow direction control module is used to reduce the airflow velocity of the fan;
[0008] The airflow noise control module is used to reduce noise in the fan airflow;
[0009] The fan control module is used to adjust the fan speed.
[0010] The fan airflow control system provided in this embodiment activates the fan control module, airflow direction control module, and airflow noise control module based on the fan speed and a first performance parameter. This reduces the fan airflow speed and noise, and adjusts the fan speed. This reduces the fan rotation vibration experienced by the hard drive, thereby improving read / write performance. It solves the problem of using a fan to cool the hard drive, where high-speed fan airflow mixed with noise blows directly onto the hard drive, causing vibration and affecting read / write performance.
[0011] In one alternative implementation, the control module includes a baseboard management controller and a complex programmable logic device;
[0012] The baseboard management controller is used to obtain the fan speed and first performance parameter within a preset time period. Based on the fan speed, it determines whether the fan speed is on an increasing trend. If so, it obtains the first ratio corresponding to each hard drive based on the first performance parameter and the preset performance parameter. It compares the first ratio with a first preset threshold and uses the hard drive with the first ratio less than the first preset threshold as the first target hard drive.
[0013] A complex programmable logic device is used to activate the airflow direction control module corresponding to the first target hard disk;
[0014] The baseboard management controller is used to obtain the second performance parameters of the hard disk after the airflow direction control module is started, and obtain the second ratio corresponding to each hard disk according to the second performance parameters and the preset performance parameters. The second ratio is compared with the first preset threshold, and the hard disk with the second ratio less than the first preset threshold is used as the second target hard disk.
[0015] The complex programmable logic device is used to activate the airflow noise control module corresponding to the second target hard drive, or, if there is no second target hard drive, to keep the airflow direction control module in the open state until the fan speed is less than the second preset threshold, and then to turn off the airflow direction control module.
[0016] The baseboard management controller is used to obtain the third performance parameters of the hard disk after the airflow noise control module is started, and obtain the third ratio corresponding to each hard disk based on the third performance parameters and the preset performance parameters. The third ratio is compared with the first preset threshold, and the hard disk with the third ratio less than the first preset threshold is used as the third target hard disk.
[0017] The complex programmable logic device is used to start the fan control module corresponding to the third target hard disk, and use the fan control module to reduce the fan speed by a preset ratio. Alternatively, if there is no third target hard disk, the airflow direction control module and the airflow direction control module are kept on until the fan speed is less than the second preset threshold, and then the airflow direction control module and the airflow direction control module are turned off.
[0018] The baseboard management controller is used to obtain the fourth performance parameter of the hard drive after the airflow noise control module is started, and obtain the fourth ratio corresponding to each hard drive according to the fourth performance parameter and the preset performance parameter. It determines whether there is a fourth ratio less than the first preset threshold. If there is, it uses a complex programmable logic device to start the fan control module corresponding to the third target hard drive. Until there is no fourth ratio less than the first preset threshold, the complex programmable logic device maintains the airflow direction control module and the airflow direction control module in the on state until the fan speed is less than the second preset threshold, and then turns off the airflow direction control module and the airflow direction control module.
[0019] In this embodiment, the baseboard management controller in the control module acquires the performance parameters of the hard drives and calculates the ratio corresponding to each hard drive based on preset performance parameters. The ratio is then used to identify the target hard drive with insufficient read / write performance. The complex programmable logic device sequentially activates the fan control module, airflow direction control module, and airflow noise control module corresponding to the target hard drive. This reduces fan airflow interference with the target hard drive, lowers its vibration, improves the read / write performance of the mechanical hard drive, and maximizes the server's heat dissipation performance.
[0020] In one alternative implementation, the airflow noise control module includes a resonator, a fixing structure, and a base;
[0021] The resonator is fixed to the fixed structure, the fixed structure is fixed to the base, and the base is fixed to the chassis base;
[0022] The resonator is used to emit a preset wave to the fan after the airflow noise control module is activated. The frequency of the preset wave is obtained based on the fan speed.
[0023] In this embodiment, a fixed resonator is used in the airflow noise control module to emit a preset wave to the fan, which can reduce the vibration and noise generated by the current fan rotation.
[0024] In one optional implementation, the airflow direction control module includes a drive motor, gears, a moving arm with spur teeth, a second preset number of blades, an outer frame, and positioning screws.
[0025] The gear is fixed to the drive motor, which is used to drive the gear to rotate.
[0026] The gear meshes with the spur gear. When the gear rotates, it drives the spur gear to move linearly, and the spur gear drives the moving arm to move up and down.
[0027] The positioning screws pass through the holes in the movable arm and are fixed to the outer frame to limit the vertical movement distance of the movable arm;
[0028] The movable arm has a third preset number of protrusions. When the movable arm moves up and down, the protrusions drive the blades to open or close.
[0029] The outer frame is fixed to the chassis base;
[0030] After the airflow direction control module is activated, the drive motor starts, which drives the gear to rotate, causing the moving arm to move downward or upward by a preset distance.
[0031] The fan airflow control method provided in this embodiment calculates a first ratio reflecting whether the hard drive's read / write performance has decreased when the fan speed is increasing, using a first performance parameter and a preset performance parameter. If the hard drive's read / write performance decreases, the fan control module, airflow direction control module, and airflow noise control module are activated to reduce the fan airflow speed and noise, and adjust the fan speed. This reduces the fan rotation vibration experienced by the hard drive, thereby improving read / write performance. It solves the problem of using a fan to cool the hard drive, where high-speed fan airflow mixed with noise blows directly onto the hard drive, causing vibration and affecting read / write performance.
[0032] Secondly, the present invention provides a fan airflow control method, the method comprising:
[0033] Obtain the fan speed and performance parameters of a first preset number of hard drives within a preset time period;
[0034] Based on the fan speed within a preset time period, determine whether the fan speed is on an increasing trend. If so, obtain the first ratio based on the performance parameters and the preset performance parameters.
[0035] The first ratio is compared with the first preset threshold. If the first ratio is less than the first preset threshold, the fan airflow is adjusted according to the fan control module, the airflow direction control module, and the airflow noise control module. The airflow direction control module is used to reduce the flow rate of the fan airflow, the airflow noise control module is used to reduce the noise in the fan airflow, and the fan control module is used to adjust the fan speed.
[0036] In this embodiment, the airflow direction control module uses a drive motor to drive a gear to rotate, the gear to drive a spur tooth to move up and down, the spur tooth to drive a moving arm to move, and the protrusions on the moving arm to rotate the blades. The blades will appropriately block the fan airflow, reduce the fan airflow speed, and achieve optimized airflow and noise.
[0037] In an optional implementation, before obtaining the first ratio based on the performance parameters and preset performance parameters, the method further includes:
[0038] Set the fan speed to the preset value;
[0039] Get the number of read / write operations per second of the hard drive and use the number of read / write operations per second as the preset performance parameter.
[0040] In this embodiment, the number of read / write operations per second of the hard drive when the fan speed is set to a preset value is obtained and used as a preset performance parameter. This facilitates the subsequent calculation of various ratios, and the ratios are used to determine whether the hard drive's read / write performance has degraded.
[0041] Thirdly, the present invention provides a fan airflow control device, the device comprising:
[0042] The first acquisition module is used to acquire the fan speed and the performance parameters of a first preset number of hard drives within a preset time period.
[0043] The judgment module is used to determine whether the fan speed is on an increasing trend based on the fan speed within a preset time period. If so, it obtains a first ratio based on the performance parameters and preset performance parameters.
[0044] The control module is used to compare the first ratio with the first preset threshold. If the first ratio is less than the first preset threshold, the fan airflow is controlled according to the fan control module, the airflow direction control module, and the airflow noise control module. The airflow direction control module is used to reduce the flow rate of the fan airflow, the airflow noise control module is used to reduce the noise in the fan airflow, and the fan control module is used to adjust the fan speed.
[0045] Fourthly, the present invention provides a computer device, comprising: a memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the computer instructions to perform the fan airflow control method of the first aspect or any corresponding embodiment described above.
[0046] Fifthly, the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to perform the fan airflow control method of the first aspect or any corresponding embodiment described above.
[0047] In a sixth aspect, the present invention provides a computer program product, including computer instructions for causing a computer to execute the fan airflow control method of the first aspect or any corresponding embodiment described above. Attached Figure Description
[0048] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0049] Figure 1This is a schematic diagram of the structure of a fan airflow control system according to an embodiment of the present invention;
[0050] Figure 2 This is a flowchart of a fan rotation vibration optimization and control scheme according to an embodiment of the present invention;
[0051] Figure 3 This is a schematic diagram of the airflow noise control module according to an embodiment of the present invention;
[0052] Figure 4 This is a schematic diagram of the airflow direction control module according to an embodiment of the present invention;
[0053] Figure 5 This is a schematic diagram of the moving arm in the airflow direction control module according to an embodiment of the present invention;
[0054] Figure 6 This is a schematic flowchart of a fan airflow control method according to an embodiment of the present invention;
[0055] Figure 7 This is a structural block diagram of a fan airflow control device according to an embodiment of the present invention;
[0056] Figure 8 This is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. Detailed Implementation
[0057] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, 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.
[0058] This invention provides a fan airflow control system that employs a louver control module, a muffler control module, and a fan control module to achieve triple optimization measures. It defines the optimization control sequence and scheme, and adjusts the corresponding optimization measures in real time according to the performance of each hard drive, achieving precise control of fan airflow. This not only optimizes the airflow field and noise vibration in front of the fan, improving the read / write performance of the hard drives, but also achieves rational utilization of fan resources through fine-grained control, maximizing the server's heat dissipation performance.
[0059] This embodiment provides a fan airflow control system, which includes: a control module, a fan control module, an airflow direction control module, and an airflow noise control module;
[0060] The control module is used to obtain the fan speed and the first performance parameters of a first preset number of hard drives within a preset time period, and to activate the fan control module, the airflow direction control module, and the airflow noise control module according to the fan speed and the first performance parameters.
[0061] The airflow direction control module is used to reduce the airflow velocity of the fan;
[0062] The airflow noise control module is used to reduce noise in the fan airflow;
[0063] The fan control module is used to adjust the fan speed.
[0064] Specifically, this embodiment sets the optimization control sequence and control scheme for each control module, and adjusts the corresponding optimization measures in real time according to the performance of each mechanical hard drive to achieve precise control of fan airflow. For example, a 2U server uses four 8056 fans, each fan corresponding to a set of optimization scheme structures. There are four sets of optimization scheme structures, each containing a fan control module, an airflow direction control module, and an airflow noise control module. The airflow direction control module and the airflow noise control module are located in front of the fan corresponding to the hard drive. When the read / write performance of the mechanical hard drive in front of this set of optimization scheme structures decreases, this set of optimization structures is activated to perform small-scale control of fan airflow, thereby optimizing airflow and noise. Figure 1 As shown: 1 is the fan control module, 2 is the louver control module (airflow direction control module), 3 is the muffler control module (airflow noise control module), and 4 is the server's hard drive. The fan control module 1, airflow direction control module 2, and airflow noise control module 3 are controlled by the server system's internal control module.
[0065] The control module will acquire the fan speed within a preset time period, such as 3 seconds or 5 seconds. The fan speed will be collected once per second. If the fan speed increases sequentially within 5 consecutive seconds, it can be determined that the fan speed is on an upward trend.
[0066] If the fan speed is increasing, the control module will also obtain the first performance parameters of a first preset number of hard drives. The first preset number indicates multiple drives, and the value is determined according to the total number of hard drives installed in the server. For example, the first preset number is 4, 8, 10, etc. The first performance parameters can reflect the read and write performance of the hard drives, such as IOPS (Input / Output Operations Per Second).
[0067] The control module determines whether the hard drive's read / write performance has decreased based on the first performance parameter. If it has, it activates the fan control module, airflow direction control module, and airflow noise control module according to the optimized control sequence to adjust the corresponding fan of the hard drive.
[0068] The optimized control sequence is as follows: first activate the airflow direction control module, then the airflow noise control module, and finally the fan control module. When the airflow direction control module is activated, its mechanical structure, such as the blades, appropriately obstructs the fan airflow, reducing its velocity and optimizing both airflow and noise. When the airflow noise control module is activated, it sends a half-field wave to the fan airflow, reducing noise. The fan control module is used to adjust the fan speed.
[0069] It should be noted that a fan is used to cool one or more hard drives. Whenever the read / write performance of a hard drive corresponding to a fan decreases, the fan control module, airflow direction control module, and airflow noise control module on the front of the fan will be activated to regulate the airflow of the fan. The purpose is to reduce the fan rotation vibration on the hard drive, thereby improving read / write performance.
[0070] The fan airflow control system provided in this embodiment activates the fan control module, airflow direction control module, and airflow noise control module based on the fan speed and a first performance parameter. This reduces the fan airflow speed and noise, and adjusts the fan speed. This reduces the fan rotation vibration experienced by the hard drive, thereby improving read / write performance. It solves the problem of using a fan to cool the hard drive, where high-speed fan airflow mixed with noise blows directly onto the hard drive, causing vibration and affecting read / write performance.
[0071] In some alternative implementations, the control module includes a baseboard management controller and a complex programmable logic device;
[0072] The baseboard management controller is used to obtain the fan speed and first performance parameter within a preset time period. Based on the fan speed, it determines whether the fan speed is on an increasing trend. If so, it obtains the first ratio corresponding to each hard drive based on the first performance parameter and the preset performance parameter. It compares the first ratio with a first preset threshold and uses the hard drive with the first ratio less than the first preset threshold as the first target hard drive.
[0073] A complex programmable logic device is used to activate the airflow direction control module corresponding to the first target hard disk;
[0074] The baseboard management controller is used to obtain the second performance parameters of the hard disk after the airflow direction control module is started, and obtain the second ratio corresponding to each hard disk according to the second performance parameters and the preset performance parameters. The second ratio is compared with the first preset threshold, and the hard disk with the second ratio less than the first preset threshold is used as the second target hard disk.
[0075] The complex programmable logic device is used to activate the airflow noise control module corresponding to the second target hard drive, or, if there is no second target hard drive, to keep the airflow direction control module in the open state until the fan speed is less than the second preset threshold, and then to turn off the airflow direction control module.
[0076] The baseboard management controller is used to obtain the third performance parameters of the hard disk after the airflow noise control module is started, and obtain the third ratio corresponding to each hard disk based on the third performance parameters and the preset performance parameters. The third ratio is compared with the first preset threshold, and the hard disk with the third ratio less than the first preset threshold is used as the third target hard disk.
[0077] The complex programmable logic device is used to start the fan control module corresponding to the third target hard disk, and use the fan control module to reduce the fan speed by a preset ratio. Alternatively, if there is no third target hard disk, the airflow direction control module and the airflow direction control module are kept on until the fan speed is less than the second preset threshold, and then the airflow direction control module and the airflow direction control module are turned off.
[0078] The baseboard management controller is used to obtain the fourth performance parameter of the hard drive after the airflow noise control module is started, and obtain the fourth ratio corresponding to each hard drive according to the fourth performance parameter and the preset performance parameter. It determines whether there is a fourth ratio less than the first preset threshold. If there is, it uses a complex programmable logic device to start the fan control module corresponding to the third target hard drive. Until there is no fourth ratio less than the first preset threshold, the complex programmable logic device maintains the airflow direction control module and the airflow direction control module in the on state until the fan speed is less than the second preset threshold, and then turns off the airflow direction control module and the airflow direction control module.
[0079] Specifically, the control module consists of a Baseboard Management Controller (BMC) and a Complex Programmable Logic Device (CPLD) in the server system.
[0080] Combination Figure 2 The specific control process and mechanism of BMC and CPLD are explained.
[0081] BMC captures the IOPS (Input / Output Operations Per Second) value of the hard drive when the fan is at 30% duty, and uses it as the base value, which is the preset performance parameter. 30% duty means 30% of the maximum fan speed.
[0082] BMC acquires fan speeds over a preset time period, such as 3 seconds or 5 seconds, collecting fan speed data once per second. If the fan speed increases sequentially within 5 consecutive seconds, it indicates an upward trend. BMC also acquires the first performance parameters of a first preset number of hard drives. The first preset number indicates multiple drives, and its value is determined based on the total number of hard drives installed in the server. Examples of the first preset number are 4, 8, and 10. The first performance parameters reflect the read / write performance of the hard drives, such as IOPS. If an upward trend in fan speed is determined, BMC calculates a first ratio for each hard drive based on the first performance parameters and preset performance parameters. For example: Figure 2 As shown, when the fan speed increases, the BMC captures the IOPS value Now of the mechanical hard drive in real time, calculates the real-time IOPS value / baseline IOPS value (i.e., first performance parameter ÷ preset performance parameter), and obtains the first ratio. In this invention, Result represents the ratio. The number of first ratios output corresponds to the number of mechanical hard drives in the server. If the server has 12 hard drives, the first ratios will be numbered Result1, Result2, ..., Result12.
[0083] The BMC sequentially compares each first ratio with a first preset threshold, for example, 80%. The BMC designates hard drives with first ratios less than the first preset threshold as first target hard drives and sends these first target hard drives back to the CPLD. The above process is as follows: Figure 2 As shown, it determines whether the Result value is below 80%. If so, it sends a feedback to the CPLD module.
[0084] The CPLD identifies the fan directly behind the hard drive whose IOPS is below the target level (the first target hard drive). It then determines which airflow control module needs to be activated. The CPLD activates this module, which uses a drive motor to adjust the louvers' rotation downwards or upwards, optimizing fan airflow and noise. After the airflow control module is activated, the BMC captures the hard drive's second performance parameter in real time, such as IOPS. Using this second performance parameter and preset performance parameters, it calculates the second ratio (Result) for each hard drive. The above process is as follows: Figure 2 As shown: Feedback is sent to the CPLD module, which identifies the fan directly behind the mechanical hard drive whose IOPS is below the standard. The CPLD first activates the louvers on the front side of the fan to optimize airflow and noise. By driving the motor of the louver module, the louvers are adjusted to rotate downwards, and IOPS is captured in real time and the Result is calculated.
[0085] The BMC compares the second ratio with the first preset threshold, designates hard drives with a second ratio less than the first preset threshold as the second target hard drive, and feeds the second target hard drive back to the CPLD. The above process is as follows: Figure 2As shown: Determine if the Result value is below 80%. If so, send feedback to the CPLD module.
[0086] The CPLD identifies the fan directly behind the second target hard drive and determines which airflow noise control module needs to be activated, then activates that module. If the BMC does not identify the second target hard drive, the CPLD will keep the airflow direction control module active until the fan speed falls below a second preset threshold, at which point it will deactivate the airflow direction control module. The second preset threshold is, for example, 50% of the fan's maximum speed. The above process is as follows: Figure 2 As shown: If there is a Result value below 80%, the CPLD will activate the silencer (half-wave resonator) on the front of the fan, and emit a half-wave at the same frequency as the current fan speed in the direction of the fan to reduce the vibration and noise generated by the current fan rotation. The IOPS will be captured in real time and the Result will be calculated. If there is no Result value below 80%, the CPLD will maintain the current optimization scheme until the fan speed recovers to below 50%, and then turn off the louver control.
[0087] After the airflow noise control module is activated, the BMC captures the third performance parameter of the hard drive in real time, such as IOPS. Using this third performance parameter and preset performance parameters, it calculates the third ratio (Result) for each hard drive. The BMC compares this third ratio with a first preset threshold, designating hard drives with third ratios less than the first preset threshold as the third target hard drives, and feeding this information back to the CPLD. The above process is as follows: Figure 2 As shown: BMC captures IOPS in real time and calculates Result, and determines whether the Result value is lower than 80%. If so, it feeds back to the CPLD module.
[0088] The CPLD identifies the fan directly behind the third target hard drive and determines which fan control module needs to be activated. This module reduces the fan speed by a preset percentage, such as 5% of the maximum fan speed. If the BMC does not identify the third target hard drive, the CPLD maintains the airflow direction control module and its associated module active until the fan speed falls below a second preset threshold, at which point the modules are deactivated. The above process is as follows: Figure 2 As shown: If the Result value is below 80%, the CPLD will adjust the fan speed again, reduce the fan duty by 5%, capture IOPS in real time and calculate the Result; if the Result value is not below 80%, the CPLD will maintain the current optimization scheme until the fan speed recovers to below 50%, and then turn off the louver control and half-wave resonator control.
[0089] After the airflow noise control module is activated, the BMC captures the fourth performance parameter of the hard drive in real time, such as IOPS. It then uses this fourth performance parameter and preset performance parameters to calculate the fourth ratio (Result) for each hard drive. The BMC compares this fourth ratio with a first preset threshold, checking if each ratio is less than the first preset threshold. If a ratio is found to be less than the first preset threshold, it is fed back to the CPLD. The CPLD then activates the fan control module corresponding to the third target hard drive, reducing the fan speed by a preset percentage until no fourth ratio is found to be less than the first preset threshold. The CPLD maintains the airflow direction control module and the airflow direction adjustment module in the active state until the fan speed is less than a second preset threshold, at which point the airflow direction control module and the airflow direction adjustment module are deactivated. The above process is as follows: Figure 2 As shown: If there is a Result value below 80%, then "feedback to the CPLD module, the CPLD adjusts the fan speed again, reduces the fan duty by 5%, captures IOPS in real time and calculates Result" is executed again; if there is no Result value below 80%, feedback to the CPLD module is executed to maintain the current optimization scheme until the fan speed recovers to below 50%, and then the louver control and half-wave resonator control are turned off.
[0090] Additionally, the above method improves hard drive read / write performance by continuously reducing the fan speed at a preset ratio, thus minimizing the impact of fan airflow. Alternatively, the fan speed can be directly adjusted to an optimal value to simplify the process; the specific steps are as follows:
[0091] The server sets temperature coefficient, vibration coefficient, and vibration reference parameters; collects temperature adjustment parameters and real-time vibration data; calculates the target fan speed based on these parameters; and sends the target speed to the fan controller. The server's BMC connects to multiple fans, multiple temperature sensors, and multiple vibration sensors. Temperature sensors monitor the temperature at various test points within the server. A varying number of vibration sensors are placed at different locations on the hard drive backplane to detect vibration in corresponding areas in real time—specifically, monitoring the vibration closest to the hard drive. The vibration sensors output analog signals, and the BMC collects these outputs to calculate the vibration data at the corresponding location in real time. The BMC calculates the fan speed based on temperature and vibration conditions, using different factors to achieve a balance between temperature and vibration. The BMC controls each fan individually, independently controlling its PWM signal so that each fan can operate at a different speed.
[0092] The target fan speed can be calculated using formula (1), as follows:
[0093] Target rotational speed = Ki * temperature parameter + Kp * (vibration reference data, real-time vibration data) (1)
[0094] The temperature parameters are based on the current server's control strategy. Vibration baseline data is obtained after all hard drives have been running stably; this was determined during the machine development phase. Real-time vibration data is collected in real-time by the BMC via the ADC (analog-to-digital converter) module. Ki and Kp are selected in different combinations depending on the server model; for example, for general-purpose computing servers, Ki = 0.9, Kp = 0.1; for 36-disk storage servers, Ki = 0.7, Kp = 0.3, etc.
[0095] In this embodiment, the baseboard management controller in the control module acquires the performance parameters of the hard drives and calculates the ratio corresponding to each hard drive based on preset performance parameters. The ratio is then used to identify the target hard drive with insufficient read / write performance. The complex programmable logic device sequentially activates the fan control module, airflow direction control module, and airflow noise control module corresponding to the target hard drive. This reduces fan airflow interference with the target hard drive, lowers its vibration, improves the read / write performance of the mechanical hard drive, and maximizes the server's heat dissipation performance.
[0096] In some alternative implementations, the airflow noise control module includes a resonator, a mounting structure, and a base;
[0097] The resonator is fixed to the fixed structure, the fixed structure is fixed to the base, and the base is fixed to the chassis base;
[0098] The resonator is used to emit a preset wave to the fan after the airflow noise control module is activated. The frequency of the preset wave is obtained based on the fan speed.
[0099] Specifically, in combination Figure 3 The structure of the airflow noise control module is described.
[0100] The airflow noise control module includes a resonator 5, a base 6, and a fixing structure 7. The resonator 5 is, for example, a half-long-wave resonator with a cylindrical structure. The fixing structure 7 is a ring structure. The resonator 5 is fixed on the fixing structure 7. After both are fixed, they are installed on the base with screws. The base is installed on the chassis base with screws.
[0101] After the CPLD activates the airflow noise control module, the resonator emits a preset wave to the fan. This preset wave, such as a half-field wave, can reduce the vibration and noise generated by the current fan rotation. The frequency of the preset wave is the same as the frequency of the current fan speed.
[0102] In this embodiment, a fixed resonator is used in the airflow noise control module to emit a preset wave to the fan, which can reduce the vibration and noise generated by the current fan rotation.
[0103] In some alternative implementations, the airflow direction control module includes a drive motor, gears, a moving arm with spur teeth, a second preset number of blades, an outer frame, and positioning screws.
[0104] The gear is fixed to the drive motor, which is used to drive the gear to rotate.
[0105] The gear meshes with the spur gear. When the gear rotates, it drives the spur gear to move linearly, and the spur gear drives the moving arm to move up and down.
[0106] The positioning screws pass through the holes in the movable arm and are fixed to the outer frame to limit the vertical movement distance of the movable arm;
[0107] The movable arm has a third preset number of protrusions. When the movable arm moves up and down, the protrusions drive the blades to open or close.
[0108] The outer frame is fixed to the chassis base;
[0109] After the airflow direction control module is activated, the drive motor starts, which drives the gear to rotate, causing the moving arm to move downward or upward by a preset distance.
[0110] Specifically, in combination Figure 4 and Figure 5 The structure of the airflow direction control module is explained.
[0111] The airflow direction control module includes: a drive motor and gear 8, a moving arm 9 with straight teeth, a louver structure 10, an outer frame 11, a positioning screw 12, and holes 13 in the moving arm. The louver structure 10 includes a second preset number of blades, where the second preset number indicates multiple blades. The outer frame 11 is the outer frame of the louver window.
[0112] like Figure 4 As shown, the gear is fixed to the drive motor, which drives the gear to rotate. The gear meshes with the spur gear, and when the gear rotates, it converts the rotational motion of the gear into the linear motion of the spur gear, which in turn drives the moving arm to move up and down.
[0113] The positioning screw 12 passes through the hole 13 of the moving arm and is fixed to the right side of the outer frame 11. The positioning screw 12 can limit the vertical movement distance of the moving arm, for example, limiting the vertical movement of the moving arm to 5mm. The limited distance can be modified by adjusting the size of the hole.
[0114] The surface of the mobile arm has a third preset number of protrusions, such as small cylinders, etc. Figure 4 or Figure 5As shown. Each blade corresponds to two protrusions; therefore, the third preset number is twice the second preset number. When the moving arm moves up and down, the protrusions will cause the blades in the louver structure to move down or up a preset distance, for example, 5mm, thus opening or closing. The bottom surface of the outer frame 11 has two fixing studs for connecting with the chassis base screws and fixing it to the chassis base.
[0115] After the CPLD starts the airflow direction control module, the drive motor starts, which drives the gear to rotate, causing the moving arm to move downward or upward by a preset distance. This adjusts the rotation of the blades in the louver structure, which will appropriately block the fan airflow, reduce the fan airflow speed, and optimize airflow and noise.
[0116] In this embodiment, the airflow direction control module uses a drive motor to drive a gear to rotate, the gear to drive a spur tooth to move up and down, the spur tooth to drive a moving arm to move, and the protrusions on the moving arm to rotate the blades. The blades will appropriately block the fan airflow, reduce the fan airflow speed, and achieve optimized airflow and noise.
[0117] According to an embodiment of the present invention, a fan airflow control method embodiment is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a device with data processing capabilities, such as a microcontroller, a computer, a server, etc. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than that shown here.
[0118] This embodiment provides a fan airflow control method, which can be used in the aforementioned computer equipment. Figure 6 This is a flowchart of a fan airflow control method according to an embodiment of the present invention, such as... Figure 6 As shown, the process includes the following steps:
[0119] Step S601: Obtain the fan speed and performance parameters of the first preset number of hard drives within a preset time period.
[0120] Specifically, the control module will acquire the fan speed within a preset time period, such as 3 seconds or 5 seconds. The fan speed is collected once per second. If the fan speed increases sequentially within 5 consecutive seconds, it can be determined that the fan speed is on an upward trend.
[0121] The control module will also obtain the first performance parameters of a first preset number of hard drives. The first preset number indicates multiple drives, and the value is determined according to the total number of hard drives installed in the server. For example, the first preset number is 4, 8, 10, etc. The first performance parameters can reflect the read and write performance of the hard drives, such as IOPS (Input / Output Operations Per Second).
[0122] Step S602: Based on the fan speed within a preset time period, determine whether the fan speed is on an increasing trend. If so, obtain the first ratio based on the performance parameters and the preset performance parameters.
[0123] Specifically, if the fan speed increases sequentially within a preset time period (e.g., a preset time period of 5 seconds, with fan speed collected once per second), and if the fan speed increases sequentially within 5 consecutive seconds, it can be determined that the fan speed is on an increasing trend. If the fan speed is determined to be on an increasing trend, the first ratio is calculated by dividing the performance parameter by the preset performance parameter.
[0124] Step S603: Compare the first ratio with the first preset threshold. If the first ratio is less than the first preset threshold, adjust the fan airflow according to the fan control module, the airflow direction control module, and the airflow noise control module. The airflow direction control module is used to reduce the flow rate of the fan airflow, the airflow noise control module is used to reduce the noise in the fan airflow, and the fan control module is used to adjust the fan speed.
[0125] Specifically, the first ratio is compared with a first preset threshold, for example, 80%. The first ratio determines whether the hard drive's read / write performance has decreased. If the first ratio is less than 80%, it indicates a decrease in hard drive read / write performance. If a decrease is observed, the fan control module, airflow direction control module, and airflow noise control module are activated according to the optimized control sequence to regulate the corresponding fan of the hard drive, thereby optimizing airflow and noise.
[0126] The optimized control sequence is as follows: first activate the airflow direction control module, then the airflow noise control module, and finally the fan control module. When the airflow direction control module is activated, its mechanical structure, such as the blades, appropriately obstructs the fan airflow, reducing its velocity and optimizing both airflow and noise. When the airflow noise control module is activated, it sends a half-field wave to the fan airflow, reducing noise. The fan control module is used to adjust the fan speed.
[0127] The fan airflow control method provided in this embodiment calculates a first ratio reflecting whether the hard drive's read / write performance has decreased when the fan speed is increasing, using a first performance parameter and a preset performance parameter. If the hard drive's read / write performance decreases, the fan control module, airflow direction control module, and airflow noise control module are activated to reduce the fan airflow speed and noise, and adjust the fan speed. This reduces the fan rotation vibration experienced by the hard drive, thereby improving read / write performance. It solves the problem of using a fan to cool the hard drive, where high-speed fan airflow mixed with noise blows directly onto the hard drive, causing vibration and affecting read / write performance.
[0128] In some optional implementations, before obtaining the first ratio based on the performance parameters and preset performance parameters, the method further includes:
[0129] Set the fan speed to the preset value;
[0130] Get the number of read / write operations per second of the hard drive and use the number of read / write operations per second as the preset performance parameter.
[0131] Specifically, the fan speed can be adjusted using the fan control module. For example, the fan speed can be adjusted to 30% duty, where 30% duty means 30% of the fan's maximum speed.
[0132] At this point, the BMC in the control module captures the number of read / write operations per second (IOPS) of the hard drive when the fan speed is 30% duty, and uses this number of read / write operations per second (IOPS) as the base value, i.e., the preset performance parameter.
[0133] In this embodiment, the number of read / write operations per second of the hard drive when the fan speed is set to a preset value is obtained and used as a preset performance parameter. This facilitates the subsequent calculation of various ratios, and the ratios are used to determine whether the hard drive's read / write performance has degraded.
[0134] This embodiment also provides a fan airflow control device for implementing the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0135] This embodiment provides a fan airflow control device, such as... Figure 7 As shown, it includes:
[0136] The first acquisition module 701 is used to acquire the fan speed and the performance parameters of a first preset number of hard drives within a preset time period.
[0137] The judgment module 702 is used to determine whether the fan speed is on an increasing trend based on the fan speed within a preset time period. If so, it obtains a first ratio based on the performance parameters and the preset performance parameters.
[0138] The control module 703 is used to compare the first ratio with the first preset threshold. If the first ratio is less than the first preset threshold, the fan airflow is controlled according to the fan control module, the airflow direction control module and the airflow noise control module. The airflow direction control module is used to reduce the flow rate of the fan airflow, the airflow noise control module is used to reduce the noise in the fan airflow, and the fan control module is used to adjust the fan speed.
[0139] In some alternative embodiments, the device further includes:
[0140] The settings module is used to set the fan speed to a preset value;
[0141] The second acquisition module is used to acquire the number of read / write operations per second of the hard drive and use the number of read / write operations per second as a preset performance parameter.
[0142] Further functional descriptions of the above modules and units are the same as those in the corresponding embodiments described above, and will not be repeated here.
[0143] In this embodiment, the fan airflow control device is presented in the form of a functional unit. Here, a unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that execute one or more software or fixed programs, and / or other devices that can provide the above functions.
[0144] This invention also provides a computer device having the above-described features. Figure 7 The fan airflow control device shown.
[0145] Please see Figure 8 , Figure 8 This is a schematic diagram of the structure of a computer device provided in an optional embodiment of the present invention, such as... Figure 8 As shown, the computer device includes one or more processors 81, memory 82, and interfaces for connecting the components, including high-speed interfaces and low-speed interfaces. The components communicate with each other via different buses and can be mounted on a common motherboard or otherwise installed as needed. The processors can process instructions executed within the computer device, including instructions stored in or on memory to display graphical information of a GUI on external input / output devices (such as display devices coupled to the interfaces). In some alternative implementations, multiple processors and / or multiple buses can be used with multiple memories and multiple memory modules, if desired. Similarly, multiple computer devices can be connected, each providing some of the necessary operations (e.g., as a server array, a group of blade servers, or a multiprocessor system). Figure 8 Take the 81 processor as an example.
[0146] Processor 81 may be a central processing unit, a network processor, or a combination thereof. Processor 81 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The programmable logic device may be a complex programmable logic device (CAMP), a field-programmable gate array (FPGA), a general-purpose array logic (GDA), or any combination thereof.
[0147] The memory 82 stores instructions executable by at least one processor 81 to cause the at least one processor 81 to perform the method shown in the above embodiments.
[0148] The memory 82 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the computer device. Furthermore, the memory 82 may include high-speed random access memory and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, the memory 82 may optionally include memory remotely located relative to the processor 81, and these remote memories may be connected to the computer device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0149] The memory 82 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk or solid-state drive; the memory 82 may also include a combination of the above types of memory.
[0150] The computer device also includes a communication interface 83 for communicating with other devices or communication networks.
[0151] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code, which, when accessed and executed by the computer, processor, or hardware, implements the methods shown in the above embodiments.
[0152] A portion of this invention can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to the invention through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.
[0153] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.
Claims
1. A fan airflow control system, characterized in that, The system includes: a control module, a fan control module, an airflow direction control module, and an airflow noise control module; The control module is used to obtain the fan speed and the first performance parameters of a first preset number of hard drives within a preset time period, and to activate the fan control module, the airflow direction control module, and the airflow noise control module according to the fan speed and the first performance parameters. The airflow direction control module is used to reduce the airflow speed of the fan; The airflow noise control module is used to reduce the noise in the fan airflow; The fan control module is used to adjust the fan speed; The control module includes a baseboard management controller and a complex programmable logic device; The baseboard management controller is used to obtain the fan speed and the first performance parameter within the preset time period. Based on the fan speed, it determines whether the fan speed is on an increasing trend. If so, it obtains the first ratio corresponding to each hard disk based on the first performance parameter and the preset performance parameter, compares the first ratio with a first preset threshold, and takes the hard disk with the first ratio less than the first preset threshold as the first target hard disk. The complex programmable logic device is used to activate the airflow direction control module corresponding to the first target hard disk; The baseboard management controller is used to obtain the second performance parameters of the hard disk after the airflow direction control module is started, and obtain the second ratio corresponding to each hard disk according to the second performance parameters and the preset performance parameters, compare the second ratio with the first preset threshold, and take the hard disk with the second ratio less than the first preset threshold as the second target hard disk. The complex programmable logic device is used to activate the airflow noise control module corresponding to the second target hard drive, or, if the second target hard drive does not exist, to maintain the airflow direction control module in the on state until the fan speed is less than the second preset threshold, and then to turn off the airflow direction control module. The baseboard management controller is used to obtain the third performance parameters of the hard disk after the airflow noise control module is started, and obtain the third ratio value corresponding to each hard disk according to the third performance parameters and the preset performance parameters, compare the third ratio value with the first preset threshold, and take the hard disk with the third ratio value less than the first preset threshold as the third target hard disk. The complex programmable logic device is used to activate the fan control module corresponding to the third target hard drive, and use the fan control module to reduce the fan speed by a preset ratio. Alternatively, if the third target hard drive does not exist, the airflow direction control module and the airflow noise control module are kept on until the fan speed is less than the second preset threshold, at which point the airflow direction control module and the airflow noise control module are turned off. The baseboard management controller is used to acquire the fourth performance parameter of the hard drive after the airflow noise control module is started, and obtain the fourth ratio corresponding to each hard drive according to the fourth performance parameter and the preset performance parameter. It determines whether there is a fourth ratio less than the first preset threshold. If there is, it uses the complex programmable logic device to start the fan control module corresponding to the third target hard drive until there is no fourth ratio less than the first preset threshold. Then, the complex programmable logic device maintains the airflow direction control module and the airflow noise control module in the on state until the fan speed is less than the second preset threshold, and then turns off the airflow direction control module and the airflow noise control module.
2. The system according to claim 1, characterized in that, The airflow noise control module includes a resonator, a fixed structure, and a base; The resonator is fixed to the fixed structure, the fixed structure is fixed to the base, and the base is fixed to the chassis base; The resonator is used to emit a preset wave to the fan after the airflow noise control module is activated, wherein the frequency of the preset wave is obtained according to the fan speed.
3. The system according to claim 1, characterized in that, The airflow direction control module includes a drive motor, gears, a moving arm with straight teeth, a second preset number of blades, an outer frame, and positioning screws. The gear is fixed to the drive motor, and the drive motor is used to drive the gear to rotate; The gear meshes with the spur gear, and when the gear rotates, it drives the spur gear to move linearly, which in turn drives the moving arm to move up and down. The positioning screw passes through the hole in the movable arm and is fixed to the outer frame to limit the vertical movement distance of the movable arm; The movable arm has a third preset number of protrusions. When the movable arm moves up and down, the protrusions drive the blade to open or close. The outer frame is fixed to the chassis base; After the airflow direction control module is activated, the drive motor starts, driving the gear to rotate, causing the moving arm to move downward by a preset distance, or upward by the preset distance.
4. A method for regulating airflow in a fan, characterized in that, The method is applicable to the fan airflow control system according to any one of claims 1 to 3, and the method includes: Obtain the fan speed and performance parameters of a first preset number of hard drives within a preset time period; Based on the fan speed within the preset time period, determine whether the fan speed is on an increasing trend. If so, obtain a first ratio based on the performance parameters and preset performance parameters. The first ratio is compared with a first preset threshold. If the first ratio is less than the first preset threshold, the fan airflow is adjusted according to the fan control module, the airflow direction control module, and the airflow noise control module. The airflow direction control module is used to reduce the flow rate of the fan airflow, the airflow noise control module is used to reduce the noise in the fan airflow, and the fan control module is used to adjust the fan speed.
5. The method according to claim 4, characterized in that, Before obtaining the first ratio based on the performance parameters and the preset performance parameters, the method further includes: Set the fan speed to a preset value; The number of read / write operations per second of the hard disk is obtained, and the number of read / write operations per second is used as the preset performance parameter.
6. A computer device, characterized in that, include: A memory and a processor are interconnected, the memory storing computer instructions, and the processor executing the computer instructions to perform the fan airflow control method of any one of claims 4 to 5.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing the computer to perform the fan airflow control method according to any one of claims 4 to 5.
8. A computer program product, characterized in that, Includes computer instructions for causing a computer to perform the fan airflow control method as described in any one of claims 4 to 5.