PSU fan control method, device and electronic equipment based on air pressure detection

By installing air pressure sensors on both sides of the PSU to detect and adjust the air pressure difference to adjust the fan speed, the problem of airflow backflow in the server is solved and the system heat dissipation and stability are improved.

CN115788934BActive Publication Date: 2024-10-18INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202211585347.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-09
Publication Date
2024-10-18
Estimated Expiration
2042-12-09

AI Technical Summary

Technical Problem

In servers, the difference in speed between the PSU fan and the system fan causes air flow to recirculate, affecting heat dissipation and causing system performance degradation or downtime.

Method used

By installing air pressure sensors on both sides of the PSU, the air pressure difference is detected, and the fan speed is adjusted based on the difference to achieve air pressure balance and avoid air flow backflow.

Benefits of technology

Ensure system cooling effect, improve system operation stability, avoid air flow backflow, and optimize fan speed to save energy consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115788934B_ABST
    Figure CN115788934B_ABST
Patent Text Reader

Abstract

The present invention provides a PSU fan control method, device and electronic device based on air pressure detection, the method comprising: receiving a control instruction sent by a target device, the control instruction conforming to the target communication protocol message format; in response to the control instruction, obtaining the air pressure values ​​on both sides of the power supply PSU of the server; determining the air pressure detection result of the PSU fan based on the air pressure value; and controlling the speed of the PSU fan based on the air pressure detection result. The present invention controls the speed of the PSU fan to achieve air pressure balance on both sides of the PSU, does not block the airflow of the fan of the PSU system, thereby avoiding the occurrence of airflow backflow of the fan, ensuring the heat dissipation effect of the system and improving the system operation stability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of server detection technology, and in particular to a PSU fan control method, device and electronic equipment based on air pressure detection. Background Art

[0002] In the server field, industrial power supply PSU has fans, and the fan speed is regulated by the temperature point inside the PSU to meet the internal heat dissipation requirements of the PSU. However, the PSU module will block the system fan air duct in the server. When the PSU fan speed differs too much from the system fan speed, it will cause the system fan airflow to reflux, affecting the system heat dissipation, causing system performance degradation, or even downtime.

[0003] Therefore, how to detect the PSU to ensure normal heat dissipation of the system and maintain the system performance in an optimal state is a technical problem that needs to be solved urgently. Summary of the invention

[0004] The present invention provides a PSU fan control method, device and electronic equipment based on air pressure detection, which are used to solve the defects in the prior art that the system fan airflow refluxes, affects the system heat dissipation, causes the system performance to be reduced, and even crashes. The air pressure on both sides of the PSU is detected to control the fan speed, thereby avoiding the fan airflow reflux and ensuring the heat dissipation effect of the system.

[0005] The present invention provides a PSU fan control method based on air pressure detection, comprising:

[0006] Receiving a control instruction sent by a target device, wherein the control instruction complies with a target communication protocol message format;

[0007] In response to the control instruction, obtaining air pressure values ​​at both sides of a power supply PSU of the server;

[0008] Determine an air pressure detection result of the PSU fan based on the air pressure value;

[0009] The PSU fan speed is controlled based on the air pressure detection result.

[0010] According to a PSU fan control method based on air pressure detection provided by the present invention, the air pressure values ​​on both sides of the power supply PSU of the server are obtained in response to the control instruction, including:

[0011] responding to the control instruction;

[0012] Acquire a first air pressure value at a first target side of the power supply PSU and a second air pressure value at a second target side of the PSU based on the control instruction;

[0013] Determine the air pressure difference between the two sides of the power supply PSU based on the first air pressure value and the second air pressure value;

[0014] The first target side and the second target side are opposite sides of the PSU fan axial direction, and air pressure sensors are provided on both the first target side and the second target side of the power supply PSU.

[0015] According to a PSU fan control method based on air pressure detection provided by the present invention, the air pressure detection result of the PSU fan is determined based on the air pressure value, including:

[0016] When the air pressure difference is greater than a first preset threshold, obtaining a first air pressure detection result of the PSU fan;

[0017] When the air pressure difference is greater than the second preset threshold and less than the first preset threshold, obtaining a second air pressure detection result of the PSU fan;

[0018] When the air pressure difference is greater than the third preset threshold and less than the second preset threshold, a third air pressure detection result of the PSU fan is obtained.

[0019] According to a PSU fan control method based on air pressure detection provided by the present invention, the PSU fan speed is controlled based on the air pressure detection result, including any of the following:

[0020] Based on the first air pressure detection result, increasing the PSU fan speed to a first gear;

[0021] Based on the second air pressure detection result, increasing the PSU fan speed to a second gear, or adjusting the fan speed from the first gear to the second gear;

[0022] Based on the third air pressure detection result, the PSU fan speed is increased to a third gear, or the fan speed is adjusted from the first gear to the third gear, or the fan speed is adjusted from the second gear to the third gear.

[0023] According to a PSU fan control method based on air pressure detection provided by the present invention, the control instruction sent by the target device is received, and the control instruction conforms to the target communication protocol message format, including:

[0024] A first control instruction sent by the target device is received at a first target time, and a second control instruction sent by the target device is received at a second target time, wherein a fixed time interval exists between the first target time and the second target time, and both the first control instruction and the second control instruction conform to a target communication protocol message format.

[0025] According to a PSU fan control method based on air pressure detection provided by the present invention, the air pressure values ​​at both sides of the power supply PSU of the server are obtained in response to the control instruction, including:

[0026] In response to a first control instruction, obtaining a first target air pressure value at both sides of the PSU based on the first control instruction;

[0027] After the fixed time period, in response to the second control instruction, obtaining second target air pressure values ​​at both sides of the PSU based on the second control instruction;

[0028] It is determined that there is a difference between the second target air pressure value and the first target air pressure value, and the first target air pressure value is replaced by the second target air pressure value.

[0029] According to a PSU fan control method based on air pressure detection provided by the present invention, the PSU fan speed is controlled based on the air pressure detection result, including:

[0030] Acquire a temperature value of the PSU, and determine a temperature detection result of the PSU based on the temperature value and a temperature threshold;

[0031] When the temperature value is lower than the temperature threshold, it is determined that the PSU is not in an abnormal temperature state temporarily, and the PSU fan speed is controlled based on the air pressure detection result.

[0032] The present invention also provides a PSU fan control device based on air pressure detection, which is applied to a server and includes:

[0033] A receiving module, used to receive a control instruction sent by a target device, wherein the control instruction complies with a target communication protocol message format;

[0034] An acquisition module, used for acquiring the air pressure values ​​at both sides of the power supply PSU of the server in response to the control instruction;

[0035] a determination module, configured to determine an air pressure detection result of the PSU fan based on the air pressure value;

[0036] A control module is used to control the PSU fan speed based on the air pressure detection result.

[0037] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a PSU fan control method based on air pressure detection as described above is implemented.

[0038] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the PSU fan control method based on air pressure detection as described in any one of the above is implemented.

[0039] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the above-mentioned PSU fan control methods based on air pressure detection.

[0040] The PSU fan control method, device and electronic device based on air pressure detection provided by the present invention receive control instructions sent by a target device, and then respond to the control instructions to obtain the air pressure values ​​on both sides of the server's power supply PSU, determine the air pressure detection results of the PSU fan based on the air pressure values, and finally control the PSU fan speed based on the air pressure detection results. By controlling the PSU fan speed to achieve air pressure balance on both sides of the PSU, the airflow of the fan of the PSU system is not blocked, thereby avoiding the occurrence of fan airflow backflow, ensuring the heat dissipation effect of the system and improving the system operation stability. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0042] Figure 1 It is one of the flow charts of the PSU fan control method based on air pressure detection provided by the present invention;

[0043] Figure 2 It is a result schematic diagram of the PSU and air pressure sensor in the present invention;

[0044] Figure 3 It is a structural schematic diagram of a PSU fan control device based on air pressure detection provided by the present invention;

[0045] Figure 4 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0047] In the server field, industrial power supply PSU has fans, and the fan speed is regulated by the temperature point inside the PSU to meet the internal heat dissipation requirements of the PSU. However, the PSU module will block the system fan air duct in the server. When the PSU fan speed differs too much from the system fan speed, it will cause the system fan airflow to reflux, affecting the system heat dissipation, causing system performance degradation, or even downtime.

[0048] The present invention places air pressure sensors on both sides of the PSU fan. When the PSU MCU detects that the air pressure on the rear side is greater than the air pressure on the front side, the fan speed is increased to achieve air pressure balance on both sides, without blocking the system fan airflow, avoiding backflow, and improving system operation stability. The PSU fan control method, device and electronic device based on air pressure detection provided by the present invention are described in detail below.

[0049] First of all, it should be noted that the execution subject of the PSU fan control method based on air pressure detection provided by the present invention can be an electronic device, a component in an electronic device, an integrated circuit, or a chip. The electronic device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc., and the non-mobile electronic device can be a server, a network attached storage (NAS) or a personal computer (PC), etc., which is not specifically limited by the present invention. The following describes in detail the steps of the present invention by using a computer to execute the PSU fan control method based on air pressure detection provided by the present invention.

[0050] Reference Figure 1 , the present invention provides a PSU fan control method based on air pressure detection, which is applied to a server, comprising: step 110, step 120, step 130 and step 140;

[0051] Step 110: receiving a control instruction sent by a target device, wherein the control instruction complies with a target communication protocol message format;

[0052] Step 120: In response to the control instruction, obtain the air pressure values ​​at both sides of the power supply PSU of the server;

[0053] Step 130: determining an air pressure detection result of the PSU fan based on the air pressure value;

[0054] Step 140: Control the PSU fan speed based on the air pressure detection result.

[0055] In the above step 110, it is necessary to first establish a communication connection between the target device and the server MCU. It should be noted that the target device can be a user terminal, and the MCU is a microprocessing unit of the server. Data can be exchanged between the target device and the server according to various communication protocols. The target communication protocol can be TCP, HTTP, PMBus, etc.

[0056] By receiving the control instructions sent by the target device, the server can be remotely controlled according to the control instructions.

[0057] In the above step 120, the server responds to the control instruction and obtains the air pressure values ​​at both sides of the power supply PSU of the server according to the control instruction.

[0058] PSU (Power supply unit) is a power supply for computers (different from battery-powered power supplies), which is responsible for converting standard AC power into low-voltage stable DC power for use by other components in the computer.

[0059] Reference Figure 2 , an air pressure detection device (air pressure sensor) is set on both sides of the PSU, which can be used to detect the air pressure on both sides of the PSU, and the detected air pressure is uniformly processed through the server.

[0060] In the above step 130, the air pressure detection result is determined according to the air pressure values ​​on both sides of the PSU. Specifically, the air pressure values ​​on both sides are subtracted, and the fan speed needs to be increased to a specific different gear according to the obtained difference.

[0061] The preset threshold can be set to compare the preset threshold with the difference. When the difference is greater than the preset threshold, it means that the fan speed is slow. Different preset thresholds can be further set to determine that the difference is in different intervals, thereby increasing the fan speed to different gears.

[0062] Finally, according to the above step 140, the speed of the fan is controlled according to different air pressure detection results, that is, the speed of the fan is increased to different gears.

[0063] By adjusting the fan speed in time, the air pressure on both sides of the PSU is maintained balanced, the fan airflow of the PSU is not blocked, and the backflow is reduced to ensure the heat dissipation effect inside the PSU.

[0064] The PSU fan control method based on air pressure detection provided by the present invention receives a control instruction sent by a target device, and then responds to the control instruction to obtain the air pressure values ​​on both sides of the power supply PSU of the server, determines the air pressure detection result of the PSU fan based on the air pressure value, and finally controls the PSU fan speed based on the air pressure detection result. By controlling the PSU fan speed to achieve air pressure balance on both sides of the PSU, the airflow of the fan of the PSU system is not blocked, thereby avoiding the occurrence of fan airflow backflow, ensuring the heat dissipation effect of the system and improving the system operation stability.

[0065] In some optional embodiments, obtaining the air pressure values ​​at both sides of the power supply PSU of the server in response to the control instruction includes:

[0066] responding to the control instruction;

[0067] Acquire a first air pressure value at a first target side of the power supply PSU and a second air pressure value at a second target side of the PSU based on the control instruction;

[0068] Determine the air pressure difference between the two sides of the power supply PSU based on the first air pressure value and the second air pressure value;

[0069] The first target side and the second target side are opposite sides of the PSU fan axial direction, and air pressure sensors are provided on both the first target side and the second target side of the power supply PSU.

[0070] It can be understood that this embodiment is a specific method of obtaining the air pressure values ​​on both sides of the PSU according to the control instruction.

[0071] It should be noted that the air pressure values ​​on both sides are the air pressures on both sides of the PSU fan, that is, the air pressures on the front and rear sides of the fan axis, which are recorded as P1 and P2 respectively.

[0072] The air pressure P1 at the front of the fan is obtained through the air pressure sensor at the front of the PSU, and the air pressure P2 at the back of the fan is obtained through the air pressure sensor at the back of the PSU. Then the air pressure difference is obtained based on P1 and P2. As shown in the following formula:

[0073] ΔP=P2-P1

[0074] Among them, ΔP is the air pressure difference.

[0075] It should be noted that the air pressure sensor in this embodiment can be fixed on both sides of the PSU and can be connected by bolts to facilitate fixing and disassembly.

[0076] The PSU fan control method based on air pressure detection provided by the present invention obtains the air pressure on both sides of the PSU respectively, and then obtains the air pressure difference. Different air pressure detection results can be determined according to the air pressure difference, and then the PSU fan speed is controlled based on the different air pressure detection results to achieve air pressure balance on both sides of the PSU, without blocking the airflow of the fan of the PSU system, thereby avoiding the occurrence of fan airflow backflow, ensuring the heat dissipation effect of the system, and improving the system operation stability.

[0077] In some optional embodiments, determining the air pressure detection result of the PSU fan based on the air pressure value includes:

[0078] When the air pressure difference is greater than a first preset threshold, obtaining a first air pressure detection result of the PSU fan;

[0079] When the air pressure difference is greater than the second preset threshold and less than the first preset threshold, obtaining a second air pressure detection result of the PSU fan;

[0080] When the air pressure difference is greater than the third preset threshold and less than the second preset threshold, a third air pressure detection result of the PSU fan is obtained.

[0081] Further, in some optional embodiments, controlling the PSU fan speed based on the air pressure detection result includes any one of the following:

[0082] Based on the first air pressure detection result, increasing the PSU fan speed to a first gear;

[0083] Based on the second air pressure detection result, increasing the PSU fan speed to a second gear, or adjusting the fan speed from the first gear to the second gear;

[0084] Based on the third air pressure detection result, the PSU fan speed is increased to a third gear, or the fan speed is adjusted from the first gear to the third gear, or the fan speed is adjusted from the second gear to the third gear.

[0085] It can be understood that this embodiment is a specific implementation process of determining different air pressure detection results according to the air pressure difference and the preset threshold, and controlling the fan speed according to the different air pressure detection results.

[0086] Referring to the above embodiment, the pressure difference ΔP is compared with the preset thresholds X, Y, and Z. In some embodiments, X, Y, and Z are 60, 40, and 20, respectively. The details are as follows:

[0087] When ΔP>X, that is, the pressure difference is greater than the first preset threshold value 60, it means that the pressure difference between the rear side and the front side of the PSU is too large, and the fan speed is too low. At this time, the probability of backflow is high, so it is necessary to increase the fan speed to the first gear to greatly increase the fan speed;

[0088] When Y<ΔP<X, that is, the air pressure difference is less than the first preset threshold but greater than the second preset threshold, it means that the air pressure difference between the back and front sides of the PSU is small and the fan speed is low. Backflow may occur at this time, but the possibility is not too high. Therefore, there is no need to increase the fan speed too fast. The fan speed can be increased to the second gear.

[0089] In some embodiments, after a period of time at the first gear of the fan speed, the air pressure difference slightly decreases, and the fan speed is controlled by switching the first gear of the fan speed to the second gear, thereby appropriately reducing energy consumption while ensuring the fan speed.

[0090] When Z<ΔP<Y, that is, the air pressure difference is less than the second preset threshold but greater than the third preset threshold, it means that the air pressure difference between the back and front sides of the PSU is small and the fan speed is low. At this time, there is a small probability that backflow may occur, but the possibility is low. Therefore, there is no need to increase the fan speed too fast, and the fan speed can be increased to the third gear.

[0091] In some embodiments, after a period of time at the first or second gear of the fan speed, the air pressure difference decreases, and the fan speed is controlled by switching the first gear of the fan speed to the third gear, or from the second gear to the third gear, so as to appropriately reduce energy consumption while ensuring the fan speed.

[0092] The PSU fan control method based on air pressure detection provided by the present invention compares the air pressure difference with a preset threshold value. When the air pressure difference is different, different air pressure detection results will be obtained. When the air pressure difference is large, the fan speed can be increased to achieve air pressure balance on both sides of the PSU, and the air flow of the fan of the PSU system is not blocked, thereby avoiding the air flow backflow of the fan, ensuring the heat dissipation effect of the system and improving the operation stability of the system. In addition, when the air pressure difference is small, the fan speed can be appropriately increased to save energy consumption.

[0093] In some optional embodiments, the receiving a control instruction sent by the target device, wherein the control instruction complies with a target communication protocol message format, includes:

[0094] A first control instruction sent by the target device is received at a first target time, and a second control instruction sent by the target device is received at a second target time, wherein a fixed time interval exists between the first target time and the second target time, and both the first control instruction and the second control instruction conform to a target communication protocol message format.

[0095] Specifically, the first target time and the second target time are two different times for issuing instructions. Receiving the target instructions at two different times reflects real-time reception of the target instructions, so as to continuously change the air pressure values ​​on both sides of the PSU in real time, thereby realizing real-time detection of the air pressure on both sides of the PSU.

[0096] It should be noted that the fixed duration of the interval between the first target time and the second target time can be determined according to the specific detection situation. For example, if the current time is the first target time, and the air pressure detection result obtained at the current time indicates that the fan needs to be controlled to increase the speed, the target instruction can be received again within a shorter interval to perform a secondary air pressure detection. If the air pressure detection result obtained at the current time indicates that the fan needs to be controlled to reduce the speed, it means that the temperature inside the PSU is stable at this time, and it is less likely to have a problem of poor heat dissipation within a longer period of time. Therefore, the target instruction can be received again within a longer interval to perform a secondary air pressure detection.

[0097] In some optional embodiments, in response to the control instruction, obtaining the air pressure values ​​at both sides of the power supply PSU of the server includes:

[0098] In response to a first control instruction, obtaining a first target air pressure value at both sides of the PSU based on the first control instruction;

[0099] After the fixed time period, in response to the second control instruction, obtaining second target air pressure values ​​at both sides of the PSU based on the second control instruction;

[0100] It is determined that there is a difference between the second target air pressure value and the first target air pressure value, and the first target air pressure value is replaced by the second target air pressure value.

[0101] It can be understood that this embodiment is an implementation method for receiving control instructions and performing air pressure detection at different times.

[0102] First, a first control instruction is received at a first target time, and a first target air pressure value on both sides of the PSU is obtained according to the first control instruction. That is, at the first time t1, the air pressure difference ΔP1 of the PSU is obtained. Then, after a fixed interval, a second target air pressure value on both sides of the PSU is obtained based on a second control instruction. That is, at the second time t2, the air pressure difference ΔP2 of the PSU is obtained.

[0103] It is determined whether there is a difference between the pressure difference ΔP1 at the first time t1 and the pressure difference ΔP2 at the second time t1. In other words, it is determined whether the pressure difference is affected after the pressure detection and the PSU fan speed control at the first time t1.

[0104] If there is a difference, it means that controlling the PSU fan speed has an impact on the pressure difference, so the pressure difference ΔP1 at t1 needs to be replaced by the pressure difference ΔP2 at time t2. If there is no difference, it means that controlling the PSU fan speed has no effect on the pressure difference or has little effect, which means that controlling the fan speed will not affect the pressure difference, which means that the original fan speed is maintained at this time, and the fan speed can continue to be controlled according to the pressure difference ΔP2.

[0105] The PSU fan control method based on air pressure detection provided in this embodiment performs air pressure detection according to control instructions at different times, obtains air pressure difference values ​​at different times, determines whether the air pressure difference value changes according to time, and uses the air pressure difference value at different times as the detection standard, thereby achieving real-time air pressure detection without blocking the airflow of the fan of the PSU system, avoiding the airflow backflow of the fan in real time, ensuring the heat dissipation effect of the system, and improving the system operation stability.

[0106] In some optional embodiments, controlling the PSU fan speed based on the air pressure detection result includes:

[0107] Acquire a temperature value of the PSU, and determine a temperature detection result of the PSU based on the temperature value and a temperature threshold;

[0108] When the temperature value is lower than the temperature threshold, it is determined that the PSU is not in an abnormal temperature state temporarily, and the PSU fan speed is controlled based on the air pressure detection result.

[0109] It can be understood that this embodiment is an implementation method for controlling the PSU fan speed by combining temperature and pressure.

[0110] First, the temperature of the PSU is obtained, which is recorded as T1, and then according to the relationship between the preset temperature threshold T and T1, it is determined whether the temperature of the PSU is abnormal.

[0111] When T1<T, it means that the temperature of the PSU is low and there is no abnormality. However, the temperature may not reach the threshold because the system has been running for a short time, the MCU load is low, or the overall ambient temperature of the server is low. It cannot be ruled out that the PSU fan has an abnormal air output.

[0112] Therefore, it is necessary to use air pressure detection to determine whether the PSU's air outlet is normal when the temperature is normal to eliminate other factors that interfere with the normal heat dissipation of the PSU.

[0113] The PSU fan control device based on air pressure detection provided by the present invention is described below. The PSU fan control device based on air pressure detection described below and the PSU fan control method based on air pressure detection described above can refer to each other.

[0114] Reference Figure 3 , Figure 3 A schematic structural diagram of a PSU fan control device based on air pressure detection provided by the present invention includes the following modules: a receiving module 310, an acquisition module 320, a determination module 330 and a control module 340;

[0115] A receiving module 310 is used to receive a control instruction sent by a target device, wherein the control instruction complies with a target communication protocol message format;

[0116] An acquisition module 320, configured to acquire air pressure values ​​at both sides of a power supply PSU of the server in response to the control instruction;

[0117] A determination module 330, configured to determine an air pressure detection result of the PSU fan based on the air pressure value;

[0118] The control module 340 is used to control the PSU fan speed based on the air pressure detection result.

[0119] In the receiving module 310, it is necessary to first establish a communication connection between the target device and the server MCU. It should be noted that the target device can be a user terminal, and the MCU is a microprocessing unit of the server. The target device and the server can exchange data according to various communication protocols. The target communication protocol can be TCP, HTTP, PMBus, etc.

[0120] By receiving the control instructions sent by the target device, the server can be remotely controlled according to the control instructions.

[0121] In the acquisition module 320, the server responds to the control instruction and acquires the air pressure values ​​at both sides of the power supply PSU of the server according to the control instruction.

[0122] PSU (Power supply unit) is a power supply for computers (different from battery-powered power supplies), which is responsible for converting standard AC power into low-voltage stable DC power for use by other components in the computer.

[0123] Air pressure detection devices (air pressure sensors) are set on both sides of the PSU to detect the air pressure on both sides of the PSU, and the detected air pressure is uniformly processed through the server.

[0124] In the determination module 330, the air pressure detection result is determined according to the air pressure values ​​on both sides of the PSU. Specifically, the air pressure values ​​on both sides are subtracted, and the fan speed needs to be increased to a specific different gear according to the obtained difference.

[0125] The preset threshold can be set to compare the preset threshold with the difference. When the difference is greater than the preset threshold, it means that the fan speed is slow. Different preset thresholds can be further set to determine that the difference is in different intervals, thereby increasing the fan speed to different gears.

[0126] The control module 340 controls the speed of the fan according to different air pressure detection results, that is, increases the speed of the fan to different gears.

[0127] By adjusting the fan speed in time, the air pressure on both sides of the PSU is maintained balanced, the fan airflow of the PSU is not blocked, and the backflow is reduced to ensure the heat dissipation effect inside the PSU.

[0128] The PSU fan control device based on air pressure detection provided by the present invention receives a control instruction sent by a target device, and then responds to the control instruction to obtain the air pressure values ​​on both sides of the power supply PSU of the server, determines the air pressure detection result of the PSU fan based on the air pressure value, and finally controls the PSU fan speed based on the air pressure detection result. By controlling the PSU fan speed to achieve air pressure balance on both sides of the PSU, the airflow of the fan of the PSU system is not blocked, thereby avoiding the occurrence of fan airflow backflow, ensuring the heat dissipation effect of the system and improving the system operation stability.

[0129] In some optional embodiments, the acquisition module is specifically used to:

[0130] responding to the control instruction;

[0131] Acquire a first air pressure value at a first target side of the power supply PSU and a second air pressure value at a second target side of the PSU based on the control instruction;

[0132] Determine the air pressure difference between the two sides of the power supply PSU based on the first air pressure value and the second air pressure value;

[0133] The first target side and the second target side are opposite sides of the PSU fan axial direction, and air pressure sensors are provided on both the first target side and the second target side of the power supply PSU.

[0134] It can be understood that this embodiment is a specific method of obtaining the air pressure values ​​on both sides of the PSU according to the control instruction.

[0135] It should be noted that the air pressure values ​​on both sides are the air pressures on both sides of the PSU fan, that is, the air pressures on the front and back sides of the fan, which are recorded as P1 and P2 respectively.

[0136] The air pressure P1 at the front of the fan is obtained through the air pressure sensor at the front of the PSU, and the air pressure P2 at the back of the fan is obtained through the air pressure sensor at the back of the PSU. Then the air pressure difference is obtained based on P1 and P2. As shown in the following formula:

[0137] ΔP=P2-P1

[0138] Among them, ΔP is the air pressure difference.

[0139] It should be noted that the air pressure sensor in this embodiment can be fixed on both sides of the PSU and can be connected by bolts to facilitate fixing and disassembly.

[0140] The PSU fan control device based on air pressure detection provided by the present invention obtains the air pressure on both sides of the PSU respectively and then obtains the air pressure difference. Different air pressure detection results can be determined according to the air pressure difference, and then the PSU fan speed is controlled based on the different air pressure detection results to achieve air pressure balance on both sides of the PSU, without blocking the airflow of the fan of the PSU system, thereby avoiding the occurrence of airflow backflow of the fan, ensuring the heat dissipation effect of the system and improving the system operation stability.

[0141] In some optional embodiments, the determining module is specifically used to:

[0142] When the air pressure difference is greater than a first preset threshold, obtaining a first air pressure detection result of the PSU fan;

[0143] When the air pressure difference is greater than the second preset threshold and less than the first preset threshold, obtaining a second air pressure detection result of the PSU fan;

[0144] When the air pressure difference is greater than the third preset threshold and less than the second preset threshold, a third air pressure detection result of the PSU fan is obtained.

[0145] In some optional embodiments, the control module is specifically used for any of the following:

[0146] Based on the first air pressure detection result, increasing the PSU fan speed to a first gear;

[0147] Based on the second air pressure detection result, increasing the PSU fan speed to a second gear, or adjusting the fan speed from the first gear to the second gear;

[0148] Based on the third air pressure detection result, the PSU fan speed is increased to a third gear, or the fan speed is adjusted from the first gear to the third gear, or the fan speed is adjusted from the second gear to the third gear.

[0149] It can be understood that this embodiment is a specific implementation process of determining different air pressure detection results according to the air pressure difference and the preset threshold, and controlling the fan speed according to the different air pressure detection results.

[0150] Referring to the above embodiment, the pressure difference ΔP is compared with the preset thresholds X, Y, and Z. In some embodiments, X, Y, and Z are 60, 40, and 20, respectively. The details are as follows:

[0151] When ΔP>X, that is, the pressure difference is greater than the first preset threshold value 60, it means that the pressure difference between the rear side and the front side of the PSU is too large, and the fan speed is too low. At this time, the probability of backflow is high, so it is necessary to increase the fan speed to the first gear to greatly increase the fan speed;

[0152] When Y<ΔP<X, that is, the air pressure difference is less than the first preset threshold but greater than the second preset threshold, it means that the air pressure difference between the back and front sides of the PSU is small and the fan speed is low. Backflow may occur at this time, but the possibility is not too high. Therefore, there is no need to increase the fan speed too fast. The fan speed can be increased to the second gear.

[0153] In some embodiments, after a period of time at the first gear of the fan speed, the air pressure difference slightly decreases, and the fan speed is controlled by switching the first gear of the fan speed to the second gear, thereby appropriately reducing energy consumption while ensuring the fan speed.

[0154] When Z<ΔP<Y, that is, the air pressure difference is less than the second preset threshold but greater than the third preset threshold, it means that the air pressure difference between the back and front sides of the PSU is small and the fan speed is low. At this time, there is a small probability that backflow may occur, but the possibility is low. Therefore, there is no need to increase the fan speed too fast, and the fan speed can be increased to the third gear.

[0155] In some embodiments, after a period of time at the first or second gear of the fan speed, the air pressure difference decreases, and the fan speed is controlled by switching the first gear of the fan speed to the third gear, or from the second gear to the third gear, so as to appropriately reduce energy consumption while ensuring the fan speed.

[0156] The PSU fan control device based on air pressure detection provided by the present invention compares the air pressure difference with a preset threshold value. When the air pressure difference is different, different air pressure detection results will be obtained. When the air pressure difference is large, the fan speed can be increased to achieve air pressure balance on both sides of the PSU, and the air flow of the fan of the PSU system is not blocked, thereby avoiding the air flow backflow of the fan, ensuring the heat dissipation effect of the system and improving the operation stability of the system. In addition, when the air pressure difference is small, the fan speed can be appropriately increased to save energy consumption.

[0157] In some optional embodiments, the receiving module is specifically used for:

[0158] A first control instruction sent by the target device is received at a first target time, and a second control instruction sent by the target device is received at a second target time, wherein a fixed time interval exists between the first target time and the second target time, and both the first control instruction and the second control instruction conform to a target communication protocol message format.

[0159] Specifically, the first target time and the second target time are two different times for issuing instructions. Receiving the target instructions at two different times reflects real-time reception of the target instructions, so as to continuously change the air pressure values ​​on both sides of the PSU in real time, thereby realizing real-time detection of the air pressure on both sides of the PSU.

[0160] It should be noted that the fixed duration of the interval between the first target time and the second target time can be determined according to the specific detection situation. For example, if the current time is the first target time, and the air pressure detection result obtained at the current time indicates that the fan needs to be controlled to increase the speed, the target instruction can be received again within a shorter interval to perform a secondary air pressure detection. If the air pressure detection result obtained at the current time indicates that the fan needs to be controlled to reduce the speed, it means that the temperature inside the PSU is stable at this time, and it is less likely to have a problem of poor heat dissipation within a longer period of time. Therefore, the target instruction can be received again within a longer interval to perform a secondary air pressure detection.

[0161] In some optional embodiments, the acquisition module is further used to:

[0162] In response to a first control instruction, obtaining a first target air pressure value at both sides of the PSU based on the first control instruction;

[0163] After the fixed time period, in response to the second control instruction, obtaining second target air pressure values ​​at both sides of the PSU based on the second control instruction;

[0164] It is determined that there is a difference between the second target air pressure value and the first target air pressure value, and the first target air pressure value is replaced by the second target air pressure value.

[0165] It can be understood that this embodiment is an implementation method for receiving control instructions and performing air pressure detection at different times.

[0166] First, a first control instruction is received at a first target time, and a first target air pressure value on both sides of the PSU is obtained according to the first control instruction. That is, at the first time t1, the air pressure difference ΔP1 of the PSU is obtained. Then, after a fixed interval, a second target air pressure value on both sides of the PSU is obtained based on a second control instruction. That is, at the second time t2, the air pressure difference ΔP2 of the PSU is obtained.

[0167] It is determined whether there is a difference between the pressure difference ΔP1 at the first time t1 and the pressure difference ΔP2 at the second time t1. In other words, it is determined whether the pressure difference is affected after the pressure detection and the PSU fan speed control at the first time t1.

[0168] If there is a difference, it means that controlling the PSU fan speed has an impact on the pressure difference, so the pressure difference ΔP1 at t1 needs to be replaced by the pressure difference ΔP2 at time t2. If there is no difference, it means that controlling the PSU fan speed has no effect on the pressure difference or has little effect, which means that controlling the fan speed will not affect the pressure difference, which means that the original fan speed is maintained at this time, and the fan speed can continue to be controlled according to the pressure difference ΔP2.

[0169] The PSU fan control device based on air pressure detection provided in the present embodiment performs air pressure detection according to control instructions at different times to obtain air pressure difference values ​​at different times, and determines whether the air pressure difference value changes according to time, thereby using the air pressure difference value at different times as a detection standard, thereby achieving real-time air pressure detection without blocking the airflow of the fan of the PSU system, avoiding the airflow backflow of the fan in real time, ensuring the heat dissipation effect of the system, and improving the system operation stability.

[0170] In some optional embodiments, the control module is further configured to:

[0171] Acquire a temperature value of the PSU, and determine a temperature detection result of the PSU based on the temperature value and a temperature threshold;

[0172] When the temperature value is lower than the temperature threshold, it is determined that the PSU is not in an abnormal temperature state temporarily, and the PSU fan speed is controlled based on the air pressure detection result.

[0173] It can be understood that this embodiment is an implementation method for controlling the PSU fan speed by combining temperature and pressure.

[0174] First, the temperature of the PSU is obtained, which is recorded as T1, and then according to the relationship between the preset temperature threshold T and T1, it is determined whether the temperature of the PSU is abnormal.

[0175] When T1<T, it means that the temperature of the PSU is low and there is no abnormality. However, the temperature may not reach the threshold because the system has been running for a short time, the MCU load is low, or the overall ambient temperature of the server is low. It cannot be ruled out that the PSU fan has an abnormal air output.

[0176] Therefore, it is necessary to use air pressure detection to determine whether the PSU's air outlet is normal when the temperature is normal to eliminate other factors that interfere with the normal heat dissipation of the PSU.

[0177] Figure 4 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 4 As shown, the electronic device may include: a processor 410, a communication interface 420, a memory 430 and a communication bus 440, wherein the processor 410, the communication interface 420 and the memory 430 communicate with each other through the communication bus 440. The processor 410 may call the logic instructions in the memory 430 to execute the PSU fan control method based on air pressure detection, and the method includes:

[0178] Receiving a control instruction sent by a target device, wherein the control instruction complies with a target communication protocol message format;

[0179] In response to the control instruction, obtaining air pressure values ​​at both sides of a power supply PSU of the server;

[0180] Determine an air pressure detection result of the PSU fan based on the air pressure value;

[0181] The PSU fan speed is controlled based on the air pressure detection result.

[0182] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0183] On the other hand, the present invention further provides a computer program product, the computer program product includes a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute the PSU fan control method based on air pressure detection provided by the above methods, the method includes:

[0184] Receiving a control instruction sent by a target device, wherein the control instruction complies with a target communication protocol message format;

[0185] In response to the control instruction, obtaining air pressure values ​​at both sides of a power supply PSU of the server;

[0186] Determine an air pressure detection result of the PSU fan based on the air pressure value;

[0187] The PSU fan speed is controlled based on the air pressure detection result.

[0188] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the PSU fan control method based on air pressure detection provided by the above methods is implemented, and the method includes:

[0189] Receiving a control instruction sent by a target device, wherein the control instruction complies with a target communication protocol message format;

[0190] In response to the control instruction, obtaining air pressure values ​​at both sides of a power supply PSU of the server;

[0191] Determine an air pressure detection result of the PSU fan based on the air pressure value;

[0192] The PSU fan speed is controlled based on the air pressure detection result.

[0193] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0194] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0195] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A PSU fan control method based on air pressure detection, characterized in that: Applicable to servers, including: Receiving a control instruction sent by a target device, wherein the control instruction complies with a target communication protocol message format; In response to the control instruction, obtaining air pressure values ​​at both sides of a power supply PSU of the server; Determine an air pressure detection result of the PSU fan based on the air pressure value; The PSU fan speed is controlled based on the air pressure detection result, wherein the air pressure values ​​at both sides of the power supply PSU of the server are obtained in response to the control instruction, including: responding to the control instruction; Acquire a first air pressure value at a first target side of the power supply PSU and a second air pressure value at a second target side of the PSU based on the control instruction; Determine the air pressure difference between the two sides of the power supply PSU based on the first air pressure value and the second air pressure value; Wherein, the first target side and the second target side are opposite sides of the PSU fan axial direction, and both the first target side and the second target side of the power supply PSU are provided with air pressure sensors; The determining the air pressure detection result of the PSU fan based on the air pressure value includes: When the air pressure difference is greater than a first preset threshold, obtaining a first air pressure detection result of the PSU fan; When the air pressure difference is greater than the second preset threshold and less than the first preset threshold, obtaining a second air pressure detection result of the PSU fan; When the air pressure difference is greater than the third preset threshold and less than the second preset threshold, obtaining a third air pressure detection result of the PSU fan; The controlling the PSU fan speed based on the air pressure detection result includes any one of the following: Based on the first air pressure detection result, increasing the PSU fan speed to a first gear; Based on the second air pressure detection result, increasing the PSU fan speed to a second gear, or adjusting the fan speed from the first gear to the second gear; Based on the third air pressure detection result, increasing the PSU fan speed to a third gear, or adjusting the fan speed from the first gear to the third gear, or adjusting the fan speed from the second gear to the third gear; The receiving a control instruction sent by the target device, wherein the control instruction complies with the target communication protocol message format, includes: receiving a first control instruction sent by the target device at a first target time, and receiving a second control instruction sent by the target device at a second target time, wherein the first target time and the second target time are separated by a fixed time interval, and both the first control instruction and the second control instruction conform to a target communication protocol message format; The step of obtaining the air pressure values ​​at both sides of the power supply PSU of the server in response to the control instruction includes: In response to a first control instruction, obtaining a first target air pressure value at both sides of the PSU based on the first control instruction; After the fixed time period, in response to the second control instruction, obtaining second target air pressure values ​​at both sides of the PSU based on the second control instruction; It is determined that there is a difference between the second target air pressure value and the first target air pressure value, and the first target air pressure value is replaced by the second target air pressure value.

2. The PSU fan control method based on air pressure detection according to claim 1, characterized in that: The controlling the PSU fan speed based on the air pressure detection result comprises: Acquire a temperature value of the PSU, and determine a temperature detection result of the PSU based on the temperature value and a temperature threshold; When the temperature value is lower than the temperature threshold, it is determined that the PSU is not in an abnormal temperature state temporarily, and the PSU fan speed is controlled based on the air pressure detection result.

3. A PSU fan control device based on air pressure detection, characterized in that: Applicable to servers, including: A receiving module, used to receive a control instruction sent by a target device, wherein the control instruction complies with a target communication protocol message format; An acquisition module, used for acquiring the air pressure values ​​at both sides of the power supply PSU of the server in response to the control instruction; a determination module, configured to determine an air pressure detection result of the PSU fan based on the air pressure value; A control module, used to control the PSU fan speed based on the air pressure detection result, wherein the acquisition module is specifically used to: responding to the control instruction; Acquire a first air pressure value at a first target side of the power supply PSU and a second air pressure value at a second target side of the PSU based on the control instruction; Determine the air pressure difference between the two sides of the power supply PSU based on the first air pressure value and the second air pressure value; Wherein, the first target side and the second target side are opposite sides of the PSU fan axial direction, and both the first target side and the second target side of the power supply PSU are provided with air pressure sensors; The determination module is specifically used for: When the air pressure difference is greater than a first preset threshold, obtaining a first air pressure detection result of the PSU fan; When the air pressure difference is greater than the second preset threshold and less than the first preset threshold, obtaining a second air pressure detection result of the PSU fan; When the air pressure difference is greater than the third preset threshold and less than the second preset threshold, obtaining a third air pressure detection result of the PSU fan; The control module is specifically used for any of the following: Based on the first air pressure detection result, increasing the PSU fan speed to a first gear; Based on the second air pressure detection result, increasing the PSU fan speed to a second gear, or adjusting the fan speed from the first gear to the second gear; Based on the third air pressure detection result, increasing the PSU fan speed to a third gear, or adjusting the fan speed from the first gear to the third gear, or adjusting the fan speed from the second gear to the third gear; The receiving module is specifically used for: receiving a first control instruction sent by the target device at a first target time, and receiving a second control instruction sent by the target device at a second target time, wherein the first target time and the second target time are separated by a fixed time interval, and both the first control instruction and the second control instruction conform to a target communication protocol message format; The acquisition module is further used for: In response to a first control instruction, obtaining a first target air pressure value at both sides of the PSU based on the first control instruction; After the fixed time period, in response to the second control instruction, obtaining second target air pressure values ​​at both sides of the PSU based on the second control instruction; It is determined that there is a difference between the second target air pressure value and the first target air pressure value, and the first target air pressure value is replaced by the second target air pressure value.

4. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the PSU fan control method based on air pressure detection as described in any one of claims 1 to 2 is implemented.

5. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the PSU fan control method based on air pressure detection as claimed in any one of claims 1 to 2 is implemented.

Citation Information

Patent Citations

  • Control method and device of airflow driving device, power supply device and electronic equipment

    CN112324691A

  • Server power supply fan control method and device, electronic equipment and storage medium

    CN114384989A

  • Reverse flow prevention

    CN114902154A

  • Electronic equipment and device for driving cooling fan

    JP2013025721A

  • Reverse Flow Prevention

    US20210204452A1