Server fan control method and apparatus, electronic device, and storage medium

By judging the status of the cooling fan inside the server power module and performing corresponding forward or reverse speed adjustment, the power supply risk caused by fan reversal during PSU hot-swapping is resolved, ensuring stable server operation and heat dissipation.

WO2026061103A1PCT designated stage Publication Date: 2026-03-26INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-07-07
Publication Date
2026-03-26

AI Technical Summary

Technical Problem

During the hot-swapping of the server PSU, the cooling fan may reverse, causing the PSU power supply to fail and posing a risk to the server system's power supply.

Method used

By responding to the start signal of the server power module, determining the tachometer cycle signal, judging the status of the cooling fan, and performing forward rotation switching or reverse speed adjustment when in reverse state, the timely adjustment of the fan status is ensured.

Benefits of technology

This ensures the normal operation of the cooling fan during hot-swapping of the PSU without downtime, avoids power supply failures, and improves the power supply safety and heat dissipation of the server.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025107329_26032026_PF_FP_ABST
    Figure CN2025107329_26032026_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a server fan control method and apparatus, an electronic device, and a storage medium. The method comprises: in response to a startup signal of a server power supply unit (PSU), determining a tachometer periodic signal fed back by the PSU; determining state information of a cooling fan in the PSU on the basis of the tachometer periodic signal, and on the basis of the state information, determining whether the cooling fan is in a reverse rotation state; and if the cooling fan is in the reverse rotation state, performing forward rotation switching processing on the cooling fan. During hot-swapping of the PSU without shutdown, when the server PSU experiences high-speed reverse rotation of the cooling fan due to the air pressure inside a chassis being lower than the air pressure outside the chassis, the state of the cooling fan in the PSU is confirmed instantly, and forward rotation switching processing is performed when the cooling fan is in the reverse rotation state, thereby guaranteeing proper startup of the PSU, ensuring safe power supply to a server, and improving the cooling effect on the PSU.
Need to check novelty before this filing date? Find Prior Art

Description

Method and device for controlling server fan, electronic device, and storage medium

[0001] Cross-reference to Related Applications

[0002] This application claims priority to the Chinese patent application No. 202411303808.7, filed on September 18, 2024, and entitled "Method and device for controlling server fan, electronic device, and storage medium", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD

[0003] The present application relates to the field of heat dissipation technology, and in particular, to a method and device for controlling a server fan, an electronic device, and a storage medium. BACKGROUND

[0004] Efficient and stable operation of a server heat dissipation system is crucial for the server. The heat dissipation system of an air-cooled heat dissipation server is usually composed of multiple heat dissipation fans inside the server. The reliable operation of the heat dissipation fan of the PSU (Power Supply Unit) has a significant impact on the heat dissipation effect of the server.

[0005] Generally, in addition to the common heat dissipation fan settings in the server, a heat dissipation fan is independently set inside each PSU for the heat dissipation of the PSU itself.

[0006] When performing hot-swap replacement of the PSU without stopping the server, the AC (Alternating Current) power supply line of the PSU needs to be disconnected first, the PSU is pulled out, and then the new PSU is inserted and the AC power supply line is inserted. However, during the replacement process, especially during the period from the insertion of the new PSU to the insertion of the AC power supply line. Since the air pressure inside the case is lower than that outside the case, the PSU will have a reverse airflow flowing through it, which will drive the heat dissipation fan in the PSU to reverse. When other heat dissipation fans in the server are at a high speed, the large airflow will drive the heat dissipation fan in the PSU to reverse at a high speed, which can easily cause the heat dissipation fan in the PSU to fail to start after the AC power supply line is inserted, and then trigger the PSU protection to shut down the power output. This results in PSU power failure and brings risks to the server system power supply. SUMMARY

[0007] In view of the above problems, a method for controlling a server fan is provided to overcome the above problems or at least partially solve the above problems, comprising:

[0008] A method for controlling a server fan, the method comprising:

[0009] determining a tachometer periodic signal fed back by the power module in response to a start signal of a server power module;

[0010] determining state information of a cooling fan in the power module according to the tachometer periodic signal, and judging whether the cooling fan is in a reverse rotation state according to the state information;

[0011] if the cooling fan is in the reverse rotation state, performing a forward rotation switching process on the cooling fan.

[0012] In some embodiments, after performing the forward rotation switching process on the cooling fan, the method further comprises:

[0013] determining whether the cooling fan is still in the reverse rotation state, and if the cooling fan is still in the reverse rotation state, performing a reverse rotation speed adjustment process on the cooling fan.

[0014] In some embodiments, the determining of the state information of the cooling fan in the power module according to the tachometer periodic signal comprises:

[0015] determining duty cycle information of the tachometer periodic signal according to the tachometer periodic signal;

[0016] determining the state information of the cooling fan in the power module according to the duty cycle information.

[0017] In some embodiments, the performing of the reverse rotation speed adjustment process on the cooling fan comprises:

[0018] obtaining temperature information of the power module, and performing the reverse rotation speed adjustment process on the cooling fan according to the temperature information.

[0019] In some embodiments, after performing the reverse rotation speed adjustment process on the cooling fan, the method further comprises:

[0020] obtaining restart threshold information corresponding to the cooling fan and target reverse rotation speed information of the reverse rotation speed adjustment process, and judging whether to perform a forward rotation switching process again on the cooling fan according to the restart threshold information and the target reverse rotation speed information.

[0021] In some embodiments, the judging of whether to perform the forward rotation switching process again on the cooling fan according to the restart threshold information and the target reverse rotation speed information comprises:

[0022] judging whether a rotation speed of the cooling fan cannot reach the target reverse rotation speed and whether the rotation speed of the cooling fan is less than the restart threshold, and if the rotation speed of the cooling fan is less than the restart threshold or the rotation speed of the cooling fan cannot reach the target reverse rotation speed, performing the forward rotation switching process again on the cooling fan.

[0023] In some embodiments, the judging of whether the rotation speed of the cooling fan cannot reach the target reverse rotation speed comprises:

[0024] The preset time threshold corresponding to the reverse speed regulation processing is obtained, and the first rotation speed information of the heat dissipation fan is obtained after the reverse speed regulation processing lasts for a time length corresponding to the preset time threshold.

[0025] If the first rotation speed is less than the target reverse rotation speed, it is determined that the rotation speed of the heat dissipation fan cannot reach the target reverse rotation speed.

[0026] In some embodiments, according to the tachometer periodic signal, the duty cycle information of the periodic signal is determined, including:

[0027] The first time information corresponding to the peak of the rectangular wave in the tachometer periodic signal and the second time information corresponding to the trough of the rectangular wave are determined.

[0028] According to the first time information and the second time information, the duty cycle information of the periodic signal is determined.

[0029] In some embodiments, according to the temperature information, the reverse speed regulation processing is performed on the heat dissipation fan, including:

[0030] According to the temperature information, the electric brake force parameter of the heat dissipation fan is determined, and the reverse speed regulation processing is performed on the heat dissipation fan according to the electric brake force parameter.

[0031] In some embodiments, the method further includes:

[0032] If the heat dissipation fan is not in the reverse state, the speed regulation control is performed on the heat dissipation fan according to the preset forward rotation speed regulation control strategy.

[0033] In some embodiments, after determining whether the heat dissipation fan is still in the reverse state, the method further includes:

[0034] If the heat dissipation fan is not in the reverse state, the speed regulation control is performed on the heat dissipation fan according to the preset forward rotation speed regulation control strategy.

[0035] In some embodiments, the state information of the heat dissipation fan includes forward rotation state information, reverse rotation state information and static state information.

[0036] An electronic device includes a processor, a memory, and a computer program stored on the memory and capable of running on the processor, and the computer program is executed by the processor to implement the above-mentioned server fan control method.

[0037] A computer non-volatile readable storage medium, a computer program is stored on the computer non-volatile readable storage medium, and the computer program is executed by the processor to implement the above-mentioned server fan control method.

[0038] A computer program product includes a computer program, and the computer program is executed by the processor to implement the above-mentioned server fan control method.

[0039] The embodiments of the present application have the following advantages:

[0040] In the embodiments of the present application, the tachometer period signal fed back by the power module is determined in response to the start signal of the server power module; then the state information of the cooling fan in the power module is determined according to the tachometer period signal, and it is judged whether the cooling fan is in the reverse rotation state according to the state information; if the cooling fan is in the reverse rotation state, the positive rotation switching processing of the cooling fan is performed, which realizes the timely confirmation of the state of the cooling fan in the power module when the high-speed reverse rotation phenomenon of the cooling fan occurs due to the fact that the air pressure inside the case is lower than the outside of the case under the condition that the server PSU is not shut down for PSU hot plug replacement and the like, and the positive rotation switching processing is performed when the cooling fan is in the reverse rotation state, which ensures the correct start of the power module, guarantees the power supply safety of the server, improves the heat dissipation effect of the power module itself, and reduces the probability of power supply failure of the server system. BRIEF DESCRIPTION OF DRAWINGS

[0041] In order to more clearly illustrate the technical solutions of the present application, the drawings needed to be used in the description of the present application will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0042] Fig. 1 is a whole schematic diagram of a server cooling system in the related art provided by the present application;

[0043] Fig. 2 is a whole schematic diagram of a server cooling system when the PSU fan is reversed in some embodiments of the present application;

[0044] Fig. 3 is a step flow chart of a server fan control method in some embodiments of the present application;

[0045] Fig. 4 is a control interface schematic diagram of a PSU fan in the related art provided by the present application;

[0046] Fig. 5 is a tachometer signal waveform schematic diagram of a PSU cooling fan in the related art provided by the present application;

[0047] Fig. 6 is a TACH signal waveform generation scheme schematic diagram provided by the present application in some embodiments of the present application;

[0048] Fig. 7 is a cooling scheme tachometer feedback scheme schematic diagram provided by the present application in some embodiments of the present application;

[0049] Fig. 8 is an internal reverse speed control flow chart of a fan provided by the present application in some embodiments of the present application;

[0050] Fig. 9 is a flowchart of a fan reverse rotation speed control process performed by a PSU controller according to some embodiments of the present application;

[0051] Fig. 10 is a schematic diagram of a server fan control device according to an embodiment of the present application. DETAILED DESCRIPTION

[0052] In order to make the above objectives, features and advantages of the present application more clear and easily understood, the following further specifically describes the present application with reference to the accompanying drawings and embodiments. Obviously, the described embodiments are some embodiments of the present application, rather than all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort fall within the scope of protection of the present application.

[0053] Efficient and stable operation of a server cooling system is crucial for a server. A cooling system of an air-cooled server is usually composed of multiple cooling fans inside the server. Reliable operation of cooling fans in a PSU has a significant impact on the cooling effect of the server.

[0054] As shown in Fig. 1, it is a schematic diagram of a server cooling system in the related art. A server usually contains two or more PSUs (i.e., power module 1 and power module 2 in Fig. 1) and four or more independent cooling fans of 60mm / 80mm size (i.e., fan 1, fan 2, fan 3 and fan 4 in Fig. 1). Each PSU usually also has a 40mm size cooling fan and an AC interface for cooling the PSU itself. The cooling fans of the server are located at the rear window. Air is discharged outside the case through the fans, so that the air pressure inside the case is lower than that outside the case. The airflow direction and the AC power supply direction of the server during normal operation are indicated.

[0055] When performing hot-swap replacement of a PSU without stopping the server, the AC power supply line of the PSU needs to be disconnected first, the PSU needs to be pulled out, and then the AC power supply line needs to be inserted after inserting the new PSU. However, as shown in Fig. 2, during the replacement process, especially after inserting the new PSU (i.e., performing hot-swap replacement of PSU 2) and before inserting the AC power supply line, there will be reverse airflow flowing through the PSU due to the lower air pressure inside the case than outside the case, which will drive the cooling fan in the PSU to reverse rotation. When other cooling fans in the server are at a high speed, the large airflow will drive the cooling fan in the PSU to reverse rotation at a high speed, which will easily cause the cooling fan in the PSU to fail to start after the AC power supply line is inserted, and then trigger the PSU protection to shut down the power output. This will cause the PSU power supply to fail, and bring the risk of server system power supply.

[0056] The core technical concept of the embodiments of the present application is to determine the state of the heat dissipation fan in the power module based on the tachometer periodic signal and to switch the heat dissipation fan to forward rotation when the state of the heat dissipation fan in the power module is a reverse rotation state, which improves the control method of the server fan in the related art. The present application will be described in detail below with reference to the accompanying drawings:

[0057] Referring to FIG. 3, a flowchart of the steps of the control method of the server fan provided by some embodiments of the present application is shown, which can specifically include the following steps:

[0058] Step 301, in response to a start signal of a server power module, a tachometer periodic signal fed back by the power module is determined.

[0059] In a specific implementation, as shown in FIG. 4, a control interface diagram of the PSU fan in the related art is shown. The controller in the PSU can control the fan speed through a PWM (Pulse Width Modulation) signal, and the fan can feed back the actual speed through a TACH (Tachometer) signal. Since the frequency of the TACH signal is proportional to the forward rotation speed of the fan, the controller can convert the fan speed information by measuring the frequency of the TACH signal.

[0060] Further, as shown in FIG. 5, a tachometer signal waveform diagram of the PSU heat dissipation fan in the related art is shown. Generally, for a server heat dissipation fan driven by a direct-current brushless motor, one period of the rectangular wave in the TACH signal represents 360 electrical degrees. Assuming that the number of pole pairs is 2, 2 periods of the rectangular wave will be outputted for every 360 mechanical degrees, that is, the speed conversion of the TACH signal satisfies:

[0061] T=T1+T2+T3+T4=60 / N

[0062] Wherein, N is the mechanical speed; T is the mechanical period; the number of pole pairs 2 indicates that there are two electrical periods in one mechanical period, that is, T1+T2 is one electrical period and T3+T4 is one electrical period. T1 and T3 refer to the time information corresponding to the peaks of the rectangular wave in the corresponding electrical period, and T2 and T4 refer to the time information corresponding to the troughs of the rectangular wave in the corresponding electrical period.

[0063] When the heat dissipation fan in the PSU is reversed, the TACH signal will turn off the TACH signal flip output, that is, the heat dissipation fan in the PSU will only output the TACH signal when it is in the forward rotation state, and there is no TACH signal flip output when the fan is in the static state and the reverse rotation state. When the PSU fails to start due to the reverse rotation of the heat dissipation fan in the PSU caused by the reverse airflow as described above, the heat dissipation fan in the PSU will always have no TACH signal output, and the PSU controller will detect that the rotation speed of the heat dissipation fan in the PSU is 0 after conversion, and then consider that the heat dissipation fan is abnormal, triggering protection to turn off the power output.

[0064] Therefore, on the basis of the above, the rotation speed meter period signal fed back by the power supply module can be determined in response to the start signal of the server power supply module for subsequent judgment and adjustment processing.

[0065] In step 302, the state information of the heat dissipation fan in the power supply module is determined according to the rotation speed meter period signal, and whether the heat dissipation fan is in the reverse rotation state is judged according to the state information.

[0066] In a specific implementation, as shown in FIG. 6, the forward and reverse rotation states of the heat dissipation fan can be represented by adjusting the duty cycle of each period signal, for example, in the normal rotation process of the heat dissipation fan, the rotation speed is approximately uniform in 360 mechanical degrees, and (T1+T2)≈(T3+T4) can be obtained, so that T1=T2 and T3=T4 can be defined as the forward rotation state of the fan. Further, conditions other than T1=T2 and T3=T4 can also be defined as the reverse rotation state, for example, 3*T1=T2 and 3*T3=T4 can be defined as the reverse rotation state of the fan, or 2*T1=T2, or 4*T1=T2, etc. can be defined, which can be adjusted according to actual conditions and can be clearly distinguished from the forward rotation state.

[0067] Further, on the basis of the above, the duty cycle information in the rotation speed meter period signal can be determined to determine the state of the heat dissipation fan in the power supply module, for example, when T1=T2 and T3=T4 are defined as the forward rotation state of the fan, the duty cycle at this time can be calculated as T1 / (T1+T2)=50%, that is, when the duty cycle is 50%, it is considered that the heat dissipation fan in the power supply module is in the forward rotation state, and when 3*T1=T2 and 3*T3=T4 are defined as the reverse rotation state of the fan, the duty cycle at this time can be calculated as T1 / (T1+T2)=25%, that is, when the duty cycle is 25%, it is considered that the heat dissipation fan in the power supply module is in the reverse rotation state, so that subsequent processing, adjustment and other operations can be performed according to the actual state of the heat dissipation fan in the power supply module in the subsequent steps.

[0068] In some embodiments of the present application, the state information of the heat dissipation fan in the power supply module is determined according to the rotation speed meter period signal, including:

[0069] determining duty cycle information of the periodic signal according to the tachometer periodic signal;

[0070] determining state information of the heat dissipation fan in the power supply module according to the duty cycle information.

[0071] In actual application, as shown in FIG. 7, the original frequency generator can be replaced by a frequency duty cycle generator inside the heat dissipation fan, so as to feed back the rotation speed value of the heat dissipation fan through the frequency of the TACH signal, and the forward and reverse rotation state of the fan can be fed back through the duty cycle information of the TACH signal; and the frequency measurement unit can be replaced by a frequency duty cycle measurement unit in the PSU controller, which is used for judging the forward and reverse rotation of the fan, and then corresponding forward or reverse rotation speed control strategy is executed according to the forward and reverse rotation state of the fan.

[0072] Specifically, when the PSU fan is normally started to rotate forward, for example, when the fan is in the forward rotation state in the definition of T1=T2, T3=T4, the duty cycle at this time can be calculated as T1 / (T1+T2)=50%, that is, it is considered that the heat dissipation fan in the power supply module is in the forward rotation state when the duty cycle is 50%; and when the fan feeds back the TACH signal with the duty cycle of 50%, the state information of the heat dissipation fan in the power supply module can be determined by the frequency duty cycle measurement unit of the controller, and the forward rotation speed of the fan is obtained, and the existing forward rotation speed control strategy is used for fan speed control. The air flow direction during the regulation can be as shown in FIG. 1, that is, the air flow direction of the PSU is outflow.

[0073] When the PSU fan is started to rotate reversely at high speed and fails to start due to the reverse air flow during the hot plug replacement of the PSU, for example, when the fan is in the reverse rotation state in the definition of 3*T1=T2, 3*T3=T4, the duty cycle at this time can be calculated as T1 / (T1+T2)=25%; so that the TACH signal with the duty cycle of 25% fed back by the fan, the state information of the heat dissipation fan in the power supply module can be determined by the frequency duty cycle measurement unit of the controller, and the reverse rotation speed of the fan is obtained, and the preset reverse rotation speed control strategy is used for fan speed control. As shown in FIG. 2, the air flow direction of the PSU2 during the reverse rotation speed control of the PSU2 can be inflow, the PSU2 fan is in the electric brake working state, the reverse rotation speed of the fan can be controlled by the brake, the control of the inflow amount of the PSU2 is realized, and the heat dissipation effect and the power supply stability of the server are improved.

[0074] In some embodiments of the present application, the duty cycle information of the periodic signal is determined according to the tachometer periodic signal, comprising:

[0075] determining first time information corresponding to a peak of a rectangular wave and second time information corresponding to a valley of the rectangular wave in the tachometer periodic signal;

[0076] According to the first time information and the second time information, duty cycle information of the periodic signal is determined.

[0077] In a specific implementation, generally speaking, for a direct-current brushless motor driven server cooling fan, a period of rectangular wave in the TACH signal represents 360 electrical degrees, assuming that the number of pole pairs is 2, then 2 periods of rectangular wave are outputted per 360 mechanical degrees, that is, the TACH signal rotation speed conversion satisfies: T=T1+T2+T3+T4=60 / N

[0078] Wherein, N is the mechanical speed; T is the mechanical period; the number of pole pairs 2 indicates that there are two electrical periods in one mechanical period, that is, T1+T2 is one electrical period and T3+T4 is one electrical period, T1 and T3 refer to the time information corresponding to the peaks of the rectangular wave in the corresponding electrical period (i.e., the first time information corresponding to the peaks of the rectangular wave in the tachometer period signal), and T2 and T4 refer to the time information corresponding to the troughs of the rectangular wave in the corresponding electrical period (i.e., the second time information corresponding to the troughs of the rectangular wave in the tachometer period signal).

[0079] When the cooling fan in the PSU is reversed, the TACH signal will be turned off, that is, the cooling fan in the PSU will only output the TACH signal when it is in the forward rotation state, and there is no TACH signal flip output when the fan is in the stationary state and the reverse rotation state. When the above-mentioned situation occurs that the cooling fan in the PSU is driven by the reverse airflow to rotate at high speed and causes the PSU to fail to start, the cooling fan in the PSU will always have no TACH signal output, and the PSU controller detects that the rotation speed of the cooling fan in the PSU is 0, and then considers that the cooling fan is abnormal, triggers protection and turns off the power output.

[0080] Further, the forward and reverse rotation states of the cooling fan can be represented by adjusting the duty cycle of the periodic signal, for example, during the normal rotation of the cooling fan, the rotation speed is approximately uniform in 360 mechanical degrees, and (T1+T2)≈(T3+T4) can be obtained, so that T1=T2 and T3=T4 can be defined as the forward rotation state of the fan, and further, the state other than T1=T2 and T3=T4 can be defined as the reverse rotation state, for example, 3*T1=T2 and 3*T3=T4 can be defined as the reverse rotation state of the fan, or 2*T1=T2, or 4*T1=T2, etc. The specific adjustment can be made according to the actual situation, which can be clearly distinguished from the forward rotation state.

[0081] Further, on the basis of the above, the duty cycle information in the tachometer cycle signal can be determined to determine the state of the heat dissipation fan in the power module. For example, when T1 = T2 and T3 = T4, the fan is in a forward rotation state, and the duty cycle at this time can be calculated as T1 / (T1+T2) = 50%, that is, when the duty cycle is 50%, it is considered that the heat dissipation fan in the power module is in a forward rotation state. When 3*T1 = T2 and 3*T3 = T4, the fan is in a reverse rotation state, and the duty cycle at this time can be calculated as T1 / (T1+T2) = 25%, that is, when the duty cycle is 25%, it is considered that the heat dissipation fan in the power module is in a reverse rotation state. Thus, in subsequent steps, the actual state of the heat dissipation fan in the power module can be used to perform subsequent processing, adjustment, and other operations.

[0082] In some embodiments of the present application, the state information of the heat dissipation fan includes forward rotation state information, reverse rotation state information, and static state information.

[0083] In actual applications, the state information of the heat dissipation fan can include forward rotation state information, reverse rotation state information, and static state information. Thus, corresponding heat dissipation control strategies can be executed in response to the actual state of the heat dissipation fan. For example, when the fan is in a static state or a forward rotation state, normal static start or forward rotation start strategies can be executed. When the fan is in a reverse rotation state, a preset reverse rotation speed regulation strategy can be executed to meet the heat dissipation requirements during PSU start-up.

[0084] In step 303, if the heat dissipation fan is in a reverse rotation state, forward rotation switching processing is performed on the heat dissipation fan.

[0085] In actual applications, as known from the above, the subsequent control processing flow when the heat dissipation fan in the PSU is in a reverse rotation state can be divided into fan internal control and PSU controller control.

[0086] Specifically, for fan internal control, as shown in FIG. 8, after the fan is powered on, the fan internal can first perform the aforementioned heat dissipation fan state determination and rotation speed detection steps. If it is determined that the fan is in a static state or a forward rotation state, the fan can be executed with a normal static start or forward rotation start flow, and a corresponding forward rotation TACH signal can be fed back. If the fan is in a reverse rotation state, the fan can be executed with a forward rotation switching processing flow (i.e., a flow of attempting to switch from a reverse rotation state back to a forward rotation state, which can be a process of reverse rotation-brake-forward rotation, and the goal is to switch the heat dissipation fan back to a forward rotation state). If the forward rotation switching processing is successful, a corresponding forward rotation TACH signal can be fed back. If the forward rotation switching processing fails, a reverse rotation speed regulation control (reverse rotation speed regulation processing) flow can be entered. The reverse rotation speed regulation control can be performed according to the PWM duty cycle, and the rotation speed of the fan in reverse rotation can be regulated through the electric brake, and a corresponding reverse rotation TACH signal can be fed back.

[0087] Specifically, the strength of the electric brake during the reverse speed control realized by the FOC (Field-Oriented Control, magnetic field oriented control) control can be realized by adjusting the q-axis current of the motor, as shown in the following formula, and the strength of the electric brake can be negatively correlated with the duty cycle of the PWM signal given by the PSU controller: |-Iq|∝(1-Dpwm)

[0088] wherein -Iq is the q-axis current of the motor, and the larger |-Iq| means the greater the brake strength. Dpwm is the duty cycle of the PWM signal sent by the PSU controller to the PSU fan, which can be used for speed control of the PSU fan, and the larger Dpwm, the greater the target speed of the PSU fan during speed control.

[0089] Further, when the speed of the system cooling fan inside the case is reduced, the PSU air intake will decrease as the pressure difference between the inside and outside of the case decreases. When the reverse speed of the cooling fan is lower than the restart threshold or the reverse speed cannot reach the target reverse speed, the cooling fan can again perform the forward switching processing flow to attempt to switch back to normal forward speed control from reverse speed control;

[0090] wherein, regarding the restart threshold, the reason for entering the reverse speed processing flow in the foregoing step is that the reverse airflow is too large to cause the PSU forward switching processing to fail, but the ultimate goal is to switch the cooling fan back to normal forward speed control. When the reverse airflow decreases, the reverse speed of the PSU fan decreases, so the forward switching processing of the cooling fan can be performed again when the reverse speed of the PSU fan is lower than the preset restart threshold. The restart threshold can be determined by the reverse starting capability of the fan and can be used as a preset parameter of the cooling fan. Regarding the target reverse speed, the target reverse speed can be the target speed during the reverse speed control. When the reverse speed of the fan cannot reach the target reverse speed during the reverse speed control, the forward switching processing of the cooling fan can be performed again to switch the cooling fan back to normal forward speed control.

[0091] Further, for the PSU controller control, as shown in FIG. 9, the PSU controller can calculate the cooling fan speed information and the cooling fan state information through the frequency information and the duty cycle information of the TACH signal fed back by the cooling fan in the PSU.

[0092] When the PSU cooling fan normally starts forward rotation, the cooling fan can feed back a TACH signal with a duty cycle of 50%, and the PSU controller can obtain the forward rotation speed of the cooling fan through the frequency and duty cycle measurement unit, so that the preset forward speed control strategy can be used for fan speed control.

[0093] When the PSU fan is reversed by the reverse airflow and fails to start when the PSU is hot-plugged and replaced, the cooling fan can feed a TACH signal with a duty cycle of 25%, and the PSU controller can obtain the reverse rotation speed of the fan through the frequency duty cycle measurement unit, and perform fan reverse speed control according to the reverse speed control strategy. For example, the PSU controller can perform fan speed closed-loop control according to the temperature information of the PSU, and the output PWM signal duty cycle can be proportional to the target reverse rotation speed: Dpwm∝Nr*

[0094] Dpwm is the PWM signal duty cycle sent by the PSU controller to the PSU fan for speed control, and the greater Dpwm is, the greater the target speed of the PSU fan is; and Nr* is the target reverse rotation speed of the reverse speed control.

[0095] Similarly, when the system cooling fan inside the case reduces the rotation speed and the reverse rotation speed is lower than the restart threshold or the reverse rotation speed cannot reach the target reverse rotation speed, the fan can again perform the forward rotation switching process, and when the fan is switched back to forward rotation speed control, the PSU controller can switch to the preset forward rotation speed control strategy for fan speed control after detecting that the fan is in the forward rotation state.

[0096] Wherein, as to how to judge whether the reverse rotation speed cannot reach the target reverse rotation speed, when the time elapsed after the reverse rotation speed control is performed inside the fan exceeds the preset threshold, it is determined that the reverse rotation speed cannot reach the target reverse rotation speed, for example, when the target speed of the fan reverse is set by the PSU controller but cannot reach the target value set by Dpwm, that is, when there is a difference between the actual measured speed and the target value after the preset threshold corresponding to the speed control time is detected inside the fan, it is determined that the reverse rotation speed cannot reach the target reverse rotation speed.

[0097] In some embodiments of the present application, after the forward rotation switching process of the cooling fan is performed, the method further comprises:

[0098] Determining whether the cooling fan is still in the reverse rotation state, and if the cooling fan is still in the reverse rotation state, performing reverse speed control on the cooling fan.

[0099] In specific implementation, the subsequent control process of the cooling fan in the PSU in the reverse rotation state can be divided into two parts: internal fan control and PSU controller control.

[0100] Specifically, for the fan internal control, as shown in FIG. 8, after the fan is powered on, the fan internal can first perform the aforementioned heat dissipation fan state determination and rotation speed detection steps. If it is determined that the fan is in a static state or a forward rotation state, the fan can be executed normal static start or forward rotation start process, and the corresponding forward rotation TACH signal is fed back; if the fan is in a reverse rotation state, the fan can be executed forward rotation switching processing flow (i.e. the flow of trying to switch from reverse rotation state back to forward rotation state, which can be from reverse rotation-brake-forward rotation, the target is to switch the heat dissipation fan back to the forward rotation state). If the forward rotation switching processing is successful, the corresponding forward rotation TACH signal can be fed back; if the forward rotation switching processing fails, the reverse rotation speed control (reverse rotation speed processing) flow can be entered. The reverse rotation speed control can be performed according to the PWM duty cycle, and the rotation speed of the fan during reverse rotation can be regulated by the electric brake, and the corresponding reverse rotation TACH signal is fed back.

[0101] Specifically, the strength of the electric brake during actual reverse rotation speed control through FOC control can be realized by adjusting the motor q-axis current size, as shown below, the strength of the electric brake can be negatively correlated with the PWM signal duty cycle given by the PSU controller: |-Iq|∝(1-Dpwm)

[0102] Wherein, -Iq is the motor q-axis current size, and the larger |-Iq| means the greater the brake strength. Dpwm is the PWM signal duty cycle sent by the PSU controller to the PSU fan, which can be used for speed control of the PSU fan, and the larger Dpwm, the greater the target rotation speed of the PSU fan during speed control.

[0103] Further, when the rotation speed of the system heat dissipation fan inside the case is reduced, the PSU air intake will decrease as the pressure difference inside and outside the case decreases, and when the reverse rotation speed of the heat dissipation fan is lower than the restart threshold or the reverse rotation speed cannot reach the target reverse rotation speed, the heat dissipation fan can again execute the forward rotation switching processing flow to try to switch from reverse rotation speed control back to normal forward rotation speed control;

[0104] Further, for the PSU controller control, as shown in FIG. 9, the PSU controller can calculate the heat dissipation fan rotation speed information and the heat dissipation fan state information through the frequency information and the duty cycle information of the TACH signal feedback by the heat dissipation fan in the PSU.

[0105] When the PSU heat dissipation fan is normally started forward rotation, the heat dissipation fan can feedback the TACH signal with a duty cycle of 50%, and the PSU controller can obtain the forward rotation speed of the heat dissipation fan through the frequency duty cycle measurement unit, so that the preset forward rotation speed control strategy can be used for fan speed control.

[0106] When the PSU fan is reversed by the reverse airflow and fails to start when the PSU is hot-plugged and replaced, the cooling fan can feed a TACH signal with a duty cycle of 25%, and the PSU controller can obtain the reverse rotation speed of the fan through the frequency duty cycle measurement unit, and perform fan reverse rotation speed control according to the reverse rotation speed control strategy. For example, the PSU controller can perform fan speed closed-loop control according to the temperature information of the PSU, and the output PWM signal duty cycle can be proportional to the target reverse rotation speed: Dpwm∝Nr*

[0107] Dpwm is the PWM signal duty cycle sent by the PSU controller to the PSU fan for speed control, and the greater Dpwm is, the greater the target speed of the PSU fan is; and Nr* is the target reverse rotation speed of the reverse rotation speed control.

[0108] Similarly, when the system cooling fan inside the chassis reduces the rotation speed and the reverse rotation speed is lower than the restart threshold or the reverse rotation speed cannot reach the target reverse rotation speed, the fan can again perform the forward rotation switching process, and when the fan is switched back to forward rotation speed control, the PSU controller can switch to the preset forward rotation speed control strategy for fan speed control after detecting that the fan is in the forward rotation state.

[0109] Through the above reverse rotation speed control related processes, the heat dissipation demand of the PSU can be met as much as possible when the PSU cooling fan is in the reverse rotation state, and the power supply safety and heat dissipation effect of the server are guaranteed.

[0110] In some embodiments of the present application, the reverse rotation speed control of the cooling fan includes:

[0111] Obtaining temperature information of the power supply module, and performing reverse rotation speed control of the cooling fan according to the temperature information.

[0112] In actual application, the temperature information of the power supply module can be obtained when the reverse rotation speed control of the cooling fan is performed, and the reverse rotation speed control of the cooling fan is performed according to the temperature information. Specifically, as shown in FIG. 9, when the temperature of the power supply module is detected to be reduced, the pulse width modulation duty cycle can be reduced through the PSU controller, so as to control the cooling fan to increase |-Iq| and reduce the reverse rotation speed of the fan; and when the temperature of the power supply module is detected to be increased, the pulse width modulation duty cycle can be increased through the PSU controller, so as to control the fan to reduce |-Iq| and increase the reverse rotation speed of the fan, so as to timely adaptively adjust the reverse rotation speed of the fan and ensure the heat dissipation effect of the PSU itself.

[0113] In some embodiments of the present application, after the reverse rotation speed control of the cooling fan is performed, the reverse rotation speed control of the cooling fan further includes:

[0114] The restart threshold information corresponding to the heat dissipation fan and the target reverse rotation speed information of the reverse speed regulation process are acquired, and whether the heat dissipation fan is switched again to forward rotation is determined according to the restart threshold information and the target reverse rotation speed information.

[0115] In a specific implementation, when the rotation speed of the system heat dissipation fan inside the chassis decreases, the PSU air intake amount will decrease as the pressure difference between the inside and outside of the chassis decreases. When the reverse rotation speed of the heat dissipation fan is lower than the restart threshold or the reverse rotation speed cannot reach the target reverse rotation speed, the heat dissipation fan can perform the forward rotation switching process again to attempt to switch back to normal forward rotation speed regulation control from reverse rotation speed regulation control.

[0116] In some embodiments of the present application, whether the heat dissipation fan is switched again to forward rotation is determined according to the restart threshold information and the target reverse rotation speed information, including:

[0117] Whether the rotation speed of the heat dissipation fan cannot reach the target reverse rotation speed and whether the rotation speed of the heat dissipation fan is lower than the restart threshold is determined. If the rotation speed of the heat dissipation fan is lower than the restart threshold or the rotation speed of the heat dissipation fan cannot reach the target reverse rotation speed, the heat dissipation fan is switched again to forward rotation.

[0118] In a specific implementation, when the rotation speed of the system heat dissipation fan inside the chassis decreases, the PSU air intake amount will decrease as the pressure difference between the inside and outside of the chassis decreases. When the reverse rotation speed of the heat dissipation fan is lower than the restart threshold or the reverse rotation speed cannot reach the target reverse rotation speed, the heat dissipation fan can perform the forward rotation switching process again to attempt to switch back to normal forward rotation speed regulation control from reverse rotation speed regulation control. When the heat dissipation fan is switched back to forward rotation speed regulation control, the PSU controller can switch to the preset forward rotation speed regulation control strategy for fan speed regulation control after detecting that the fan is in the forward rotation state.

[0119] In the foregoing steps, the reverse rotation speed regulation process is entered because the forward rotation switching process of the PSU fails due to too large reverse air flow, but the ultimate goal is to switch the heat dissipation fan back to normal forward rotation speed regulation control. When the reverse air flow decreases, the reverse rotation speed of the PSU fan decreases, and therefore the heat dissipation fan can be switched to forward rotation again when the reverse rotation speed of the PSU fan is lower than the preset restart threshold. The restart threshold can be determined by the reverse rotation starting capability of the fan and can be a preset parameter of the heat dissipation fan. The target reverse rotation speed can be the target rotation speed in the reverse rotation speed regulation control. When the reverse rotation speed of the fan cannot reach the target reverse rotation speed in the reverse rotation speed regulation control, the heat dissipation fan can be switched to forward rotation again to switch back to normal forward rotation speed regulation control.

[0120] In some embodiments of the present application, whether the rotation speed of the heat dissipation fan cannot reach the target reverse rotation speed is determined, including:

[0121] obtaining a preset time threshold corresponding to the reverse speed regulation processing, and obtaining first rotation speed information of the heat dissipation fan after the reverse speed regulation processing lasts for a time length corresponding to the preset time threshold;

[0122] If the first rotation speed is less than the target reverse rotation speed, it is determined that the rotation speed of the heat dissipation fan cannot reach the target reverse rotation speed.

[0123] In actual application, how to determine that the reverse rotation speed cannot reach the target reverse rotation speed can be that the time elapsed after the reverse rotation speed control is performed inside the fan exceeds a preset threshold, for example, the target rotation speed of the fan reverse is set by the PSU controller, but the target value set by Dpwm cannot be reached, that is, when there is still a difference between the actual measured rotation speed and the target value after the fan inside detects the speed regulation time corresponding to the preset threshold, it is determined that the reverse rotation speed cannot reach the target reverse rotation speed.

[0124] In some embodiments of the present application, according to the temperature information, the reverse speed regulation processing is performed on the heat dissipation fan, comprising:

[0125] According to the temperature information, the electric brake force parameter of the heat dissipation fan is determined, and the reverse speed regulation processing is performed on the heat dissipation fan according to the electric brake force parameter.

[0126] In specific implementation, the subsequent control processing flow when the heat dissipation fan in the PSU is in the reverse state can be divided into two parts: fan internal control and PSU controller control.

[0127] Specifically, for the fan internal control, after the fan is powered on, the fan inside can first perform the foregoing heat dissipation fan state determination and rotation speed detection steps. If it is determined that the fan is in a stationary state or a forward rotation state, the fan can be executed a normal stationary start or forward rotation start flow, and a corresponding forward rotation TACH signal is fed back; if the fan is in a reverse rotation state, the fan can be executed a forward rotation switching processing flow (i.e. a flow of trying to switch from a reverse rotation state back to a forward rotation state, which can be a process of reverse-brake-forward rotation, and the target is to switch the heat dissipation fan back to the forward rotation state). If the forward rotation switching processing is successful, a corresponding forward rotation TACH signal is fed back; if the forward rotation switching processing fails, the reverse speed regulation control (reverse speed regulation processing) flow is entered. The reverse speed regulation control can be performed according to the PWM duty cycle, and the rotation speed of the fan during reverse rotation can be regulated by the electric brake, and a corresponding reverse rotation TACH signal is fed back.

[0128] Specifically, when the reverse speed regulation control is actually implemented by FOC control, the force of the electric brake can be realized by adjusting the q-axis current of the motor, as shown in the following formula, the force of the electric brake can be negatively correlated with the PWM signal duty cycle given by the PSU controller: |-Iq|∝(1-Dpwm)

[0129] wherein, -Iq is the motor q-axis current size, the larger |-Iq| means the greater the braking force. Dpwm is the PWM signal duty cycle sent by the PSU controller to the PSU fan, which can be used for speed control of the PSU fan, the larger Dpwm, the greater the target speed of the PSU fan when performing speed control.

[0130] Further, when the speed of the system cooling fan inside the case is reduced, the PSU air intake will decrease as the pressure difference between the inside and outside of the case decreases, and when the reverse rotation speed of the cooling fan is lower than the restart threshold or the reverse rotation speed cannot reach the target reverse rotation speed, the cooling fan can perform the forward rotation switching process again to switch back to normal forward rotation speed control from reverse rotation speed control.

[0131] Further, for the PSU controller control, the PSU controller can calculate the cooling fan speed information and the cooling fan state information through the frequency information and the duty cycle information of the TACH signal feedback by the cooling fan in the PSU.

[0132] When the PSU cooling fan normally starts forward rotation, the cooling fan can feedback a TACH signal with a duty cycle of 50%, and the PSU controller can obtain the forward rotation speed of the cooling fan through the frequency and duty cycle measurement unit, so that the preset forward rotation speed control strategy can be used for fan speed control.

[0133] When the PSU hot plug replacement occurs, the PSU fan is driven by the reverse airflow at high speed and fails to start, the cooling fan can feedback a TACH signal with a duty cycle of 25%, the PSU controller can obtain the reverse rotation speed of the fan through the frequency and duty cycle measurement unit, and perform fan reverse rotation speed control according to the reverse rotation speed control strategy. For example, the PSU controller can perform fan speed closed-loop control according to the temperature information of the PSU, and the output PWM signal duty cycle can be proportional to the target reverse rotation speed: Dpwm∝Nr*

[0134] wherein, Dpwm is the PWM signal duty cycle sent by the PSU controller to the PSU fan, which is used for speed control of the PSU fan, the larger Dpwm, the greater the target speed of the PSU fan; Nr* is the target reverse rotation speed of the reverse rotation speed control.

[0135] In some embodiments of the present application, the method further comprises:

[0136] If the cooling fan is not in the reverse rotation state, the cooling fan is controlled according to the preset forward rotation speed control strategy.

[0137] In actual application, the subsequent control process flow when the heat dissipation fan in the PSU is in the reverse state can be divided into fan internal control and PSU controller control two parts.

[0138] Specifically, for the fan internal control, after the fan is powered on, the fan can first perform the aforementioned heat dissipation fan state determination and speed detection steps. If it is determined that the fan is in a stationary state or a forward rotation state, the fan can be executed normal stationary start or forward rotation start flow, and the corresponding forward rotation TACH signal is fed back; if the fan is in a reverse rotation state, the fan can be executed forward rotation switching process (i.e. the process of trying to switch from reverse rotation state back to forward rotation state, which can be from reverse brake forward rotation, the goal is to switch the heat dissipation fan back to the forward rotation state). If the forward rotation switching process is successful, the corresponding forward rotation TACH signal can be fed back; if the forward rotation switching process fails, the reverse rotation speed control (reverse rotation speed control process) flow can be entered. The reverse rotation speed control can be performed according to the PWM duty cycle, and the speed of the fan in reverse rotation can be regulated by the electric brake, and the corresponding reverse rotation TACH signal is fed back.

[0139] In some embodiments of the present application, after determining whether the heat dissipation fan is still in the reverse rotation state, further comprising:

[0140] If the heat dissipation fan is not in the reverse rotation state, the speed of the heat dissipation fan is controlled according to the preset forward rotation speed control strategy.

[0141] In actual application, when the speed of the system heat dissipation fan inside the case is reduced, the PSU air intake will decrease as the pressure difference inside and outside the case decreases, and when the reverse rotation speed of the heat dissipation fan is lower than the restart threshold or the reverse rotation speed cannot reach the target reverse rotation speed, the heat dissipation fan can again perform the forward rotation switching process to try to switch from reverse rotation speed control back to normal forward rotation speed control; after switching back to forward rotation speed control, the PSU controller can switch to the preset forward rotation speed control strategy for fan speed control after detecting that the fan is in the forward rotation state.

[0142] It should be noted that for the method embodiment, in order to simply describe, it is expressed as a series of action combinations, but those skilled in the art should know that the embodiments of the present application are not limited by the order of the described actions, because according to the embodiments of the present application, certain steps can be performed in other order or simultaneously. Secondly, those skilled in the art should know that the embodiments described in the specification all belong to the embodiments of the present application, and the actions involved are not necessarily necessary for the embodiments of the present application.

[0143] Referring to FIG. 10, a structural schematic diagram of a server fan control device according to an embodiment of the present application is shown, which can specifically include the following modules:

[0144] The period signal determination module 1001 is configured to determine a tachometer period signal fed back by the power module in response to a start signal of a server power module.

[0145] The reverse state determination module 1002 is configured to determine state information of a cooling fan in the power module according to the tachometer period signal, and determine whether the cooling fan is in a reverse state according to the state information.

[0146] The forward switching processing module 1003 is configured to perform forward switching processing on the cooling fan if the cooling fan is in the reverse state.

[0147] In some embodiments of the present application, the device further comprises:

[0148] The reverse speed regulation processing module is configured to determine whether the cooling fan is still in the reverse state, and perform reverse speed regulation processing on the cooling fan if the cooling fan is still in the reverse state.

[0149] In some embodiments of the present application, the reverse state determination module 1002 comprises:

[0150] The duty cycle determination submodule is configured to determine duty cycle information of the period signal according to the tachometer period signal.

[0151] The state information determination submodule is configured to determine the state information of the cooling fan in the power module according to the duty cycle information.

[0152] In some embodiments of the present application, the reverse speed regulation processing module comprises:

[0153] The reverse speed regulation processing submodule is configured to obtain temperature information of the power module, and perform reverse speed regulation processing on the cooling fan according to the temperature information.

[0154] In some embodiments of the present application, the device further comprises:

[0155] The forward switching processing re-execution module is configured to obtain restart threshold information corresponding to the cooling fan and target reverse speed information of the reverse speed regulation processing, and determine whether to perform forward switching processing on the cooling fan again according to the restart threshold information and the target reverse speed information.

[0156] In some embodiments of the present application, the forward switching processing re-execution module comprises:

[0157] The forward switching processing re-execution submodule is configured to determine whether the speed of the cooling fan cannot reach the target reverse speed and whether the speed of the cooling fan is less than the restart threshold, and perform forward switching processing on the cooling fan again if the speed of the cooling fan is less than the restart threshold or the speed of the cooling fan cannot reach the target reverse speed.

[0158] In some embodiments of the present application, the positive rotation switching processing re-execution submodule comprises:

[0159] The first rotation speed information acquisition unit is configured to acquire a preset time threshold corresponding to the reverse rotation speed regulation processing, and acquire the first rotation speed information of the cooling fan after the reverse rotation speed regulation processing lasts for a time length corresponding to the preset time threshold.

[0160] The target reverse rotation speed determination unit is configured to determine that the rotation speed of the cooling fan cannot reach the target reverse rotation speed if the first rotation speed is less than the target reverse rotation speed.

[0161] In some embodiments of the present application, the duty cycle determination submodule comprises:

[0162] The time information determination unit is configured to determine first time information corresponding to a peak of the rectangular wave in the rotation speed meter periodic signal and second time information corresponding to a trough of the rectangular wave.

[0163] The duty cycle information determination unit is configured to determine the duty cycle information of the periodic signal according to the first time information and the second time information.

[0164] In some embodiments of the present application, the reverse rotation speed regulation processing submodule comprises:

[0165] The reverse rotation speed regulation processing unit is configured to determine an electric brake intensity parameter of the cooling fan according to the temperature information, and perform reverse rotation speed regulation processing on the cooling fan according to the electric brake intensity parameter.

[0166] In some embodiments of the present application, the device further comprises:

[0167] The first positive rotation speed regulation control module is configured to perform speed regulation control on the cooling fan according to a preset positive rotation speed regulation control strategy if the cooling fan is not in the reverse rotation state.

[0168] In another embodiment of the present application, the device further comprises:

[0169] The second positive rotation speed regulation control module is configured to perform speed regulation control on the cooling fan according to a preset positive rotation speed regulation control strategy if the cooling fan is not in the reverse rotation state.

[0170] An embodiment of the present application further provides an electronic device, which can comprise a processor, a memory, and a computer program stored on the memory and capable of running on the processor, and the computer program is executed by the processor to implement the control method of the server fan.

[0171] An embodiment of the present application further provides a computer non-volatile readable storage medium, and a computer program is stored on the computer non-volatile readable storage medium, and the computer program is executed by the processor to implement the control method of the server fan.

[0172] An embodiment of the present application further provides a computer program product comprising a computer program which, when executed by a processor, implements the server fan control method as above

[0173] For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts are described in the part of the method embodiment.

[0174] Each embodiment in the present specification is described in a progressive manner, and each embodiment mainly describes the differences from other embodiments, and the same and similar parts between the embodiments can be referred to each other.

[0175] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, device, or computer program product. Therefore, the embodiments of the present application can be in the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the embodiments of the present application can be in the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memory, CD-ROM, optical memory, etc.) containing computer-usable program code.

[0176] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams according to the method, terminal device (system), and computer program product of the embodiments of the present application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and the combination of the flows and / or blocks can be implemented by computer program instructions. These computer program instructions can be provided to a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device produce a device for implementing the functions specified in one or more flows of the flowcharts and / or one or more blocks of the block diagrams.

[0177] These computer program instructions can also be stored in a computer-readable memory that can guide the computer or other programmable data processing terminal device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a product comprising instruction devices, which implement the functions specified in one or more flows of the flowcharts and / or one or more blocks of the block diagrams.

[0178] These computer program instructions can also be loaded into a computer or other programmable data processing terminal device, so that a series of operational steps are performed on the computer or other programmable terminal device to generate a computer-implemented process, so that the instructions executed on the computer or other programmable terminal device provide steps for implementing the functions specified in one or more flows of the flowchart and / or one or more blocks of the block diagram.

[0179] Although some embodiments of the application have been described, those skilled in the art will readily recognize additional modifications and variations that are within the scope of the present application. Accordingly, the appended claims are intended to cover all such modifications and variations as falling within the scope of the application.

[0180] Finally, it should be noted that, in this document, the terms "first" and "second" and the like are used merely to distinguish one entity or action from another, and do not necessarily require or imply any actual such relationship or order between such entities or actions. Moreover, the terms "comprises", "comprising", or any other variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises... a" does not, without more constraints, exclude the existence of additional identical elements in the process, method, article, or apparatus that comprises the a single element. The terms "an embodiment", "one embodiment", or the like, do not necessarily refer to the same embodiment or embodiments.

[0181] The above provides a kind of server fan control method and device, electronic equipment, storage medium, are introduced in detail, the principle and implementation mode of the present application are described in this paper by specific example, the above example is only for helping to understand the method of the present application and its core idea;For the general technical personnel of the field, according to the idea of the present application, there will be changes in specific implementation mode and application range, on the basis of the above, the content of the specification should not be understood as the limitation of the present application.

Claims

1. A control method of a server fan, characterized by, The method comprises: determining a tachometer periodic signal fed back by the power module in response to a start signal of the server power module; determining state information of a cooling fan in the power module according to the tachometer periodic signal, and judging whether the cooling fan is in a reverse rotation state according to the state information; if the cooling fan is in the reverse rotation state, performing forward rotation switching processing on the cooling fan.

2. The method of claim 1, wherein, After the forward rotation switching processing on the cooling fan, the method further comprises: determining whether the cooling fan is still in the reverse rotation state, and if the cooling fan is still in the reverse rotation state, performing reverse rotation speed regulation processing on the cooling fan.

3. The method of claim 1, wherein, The determination of the state information of the cooling fan in the power module according to the tachometer periodic signal comprises: determining duty cycle information of the periodic signal according to the tachometer periodic signal; determining the state information of the cooling fan in the power module according to the duty cycle information.

4. The method of claim 2, wherein, The reverse rotation speed regulation processing on the cooling fan comprises: acquiring temperature information of the power module, and performing reverse rotation speed regulation processing on the cooling fan according to the temperature information.

5. The method of claim 2, wherein, After the reverse rotation speed regulation processing on the cooling fan, the method further comprises: acquiring restart threshold information corresponding to the cooling fan and target reverse rotation speed information of the reverse rotation speed regulation processing, and judging whether to perform the forward rotation switching processing on the cooling fan again according to the restart threshold information and the target reverse rotation speed information.

6. The method of claim 5, wherein, The judgment of whether to perform the forward rotation switching processing on the cooling fan again according to the restart threshold information and the target reverse rotation speed information comprises: judging whether the rotation speed of the cooling fan cannot reach the target reverse rotation speed and whether the rotation speed of the cooling fan is less than the restart threshold, and if the rotation speed of the cooling fan is less than the restart threshold or the rotation speed of the cooling fan cannot reach the target reverse rotation speed, performing the forward rotation switching processing on the cooling fan again.

7. The method of claim 6, wherein, The judgment of whether the rotation speed of the cooling fan cannot reach the target reverse rotation speed comprises: acquiring a preset time threshold corresponding to the reverse rotation speed regulation processing, and acquiring first rotation speed information of the cooling fan after the reverse rotation speed regulation processing has lasted for a time length corresponding to the preset time threshold; if the first rotation speed is less than the target reverse rotation speed, it is determined that the rotation speed of the cooling fan cannot reach the target reverse rotation speed.

8. The method of claim 3, wherein, The determination of the duty cycle information of the periodic signal according to the tachometer periodic signal comprises: determining first time information corresponding to a peak of a rectangular wave and second time information corresponding to a valley of the rectangular wave in the tachometer periodic signal; determining the duty cycle information of the periodic signal according to the first time information and the second time information.

9. The method of claim 4, wherein, The reverse rotation speed regulation processing on the cooling fan according to the temperature information comprises: determining an electric brake intensity parameter of the cooling fan according to the temperature information, and performing reverse rotation speed regulation processing on the cooling fan according to the electric brake intensity parameter.

10. The method of claim 1, wherein, The method further comprises: If the heat dissipation fan is not in the reverse rotation state, the heat dissipation fan is controlled according to a preset forward rotation speed control strategy.

11. The method of claim 2, wherein, The method further comprises, after determining whether the heat dissipation fan is still in the reverse rotation state: If the heat dissipation fan is not in the reverse rotation state, the heat dissipation fan is controlled according to a preset forward rotation speed control strategy.

12. The method of claim 1, wherein, The state information of the heat dissipation fan includes forward rotation state information, reverse rotation state information and static state information.

13. The method of claim 1, wherein, The power module includes a frequency duty cycle generator, The frequency duty cycle generator is configured to feed back the forward and reverse rotation state of the heat dissipation fan by feeding back the tachometer cycle signal containing duty cycle information.

14. The method of claim 1, wherein, The method further comprises, according to the state information, determining whether the heat dissipation fan is in a reverse rotation state, comprising: In the case that the time information corresponding to the rectangular wave peak and the time information corresponding to the rectangular wave valley in the same electrical cycle are the same, the heat dissipation fan is in a forward rotation state; In the case that the time information corresponding to the rectangular wave peak and the time information corresponding to the rectangular wave valley in the same electrical cycle are not the same, the heat dissipation fan is in a reverse rotation state.

15. The method of claim 9, wherein, The method further comprises, according to the electric brake strength parameter, performing reverse rotation speed control on the heat dissipation fan, comprising: The electric brake strength parameter is controlled by the motor q-axis current to perform reverse rotation speed control on the heat dissipation fan.

16. The method of claim 9, wherein, The electric brake strength parameter is negatively correlated with the duty cycle of the PWM signal.

17. The method of claim 6, wherein, The restart threshold is determined based on the reverse rotation starting capability of the heat dissipation fan, and the target reverse rotation speed is the target speed during reverse rotation speed control.

18. An electronic device, comprising: The computer program is stored on the memory and can be run on the processor, and when the computer program is executed by the processor, the control method of the server fan is realized.

19. A computer non-volatile readable storage medium characterized in that, The computer program is stored on the computer non-volatile readable storage medium, and when the computer program is executed by the processor, the control method of the server fan is realized.

20. A computer program product comprising a computer program which, when executed by a processor, implements the control method of the server fan according to any one of claims 1 to 17.

Citation Information

Patent Citations

  • Method, device and system for controlling fan

    CN102817862A

  • Method, device and equipment for testing fan of power module in server and medium

    CN116006491A

  • Server power supply fan control system and method

    CN117090789A

  • Automatic control method of cooling fan

    CN118601928A

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

    CN118819261A