A method and device for controlling a server fan, an electronic device, and a storage medium
By responding to the startup signal of the server power module, the reverse state of the PSU cooling fan is judged and processed to ensure its normal startup, which solves the problem of startup failure caused by fan reversal during PSU hot swap, and improves the server's power supply security and cooling effect.
Patent Information
- Application Number
- CN202411303808.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-18
- Publication Date
- 2024-12-20
- Estimated Expiration
- 2044-09-18
AI Technical Summary
When performing hot-swap replacement in the server, the cooling fan may be reversed because the internal air pressure of the chassis is lower than that of the outside, resulting in a failed startup, triggering the PSU protection to turn off the power output, causing a risk of power supply.
By responding to the start signal of the server power module, determine the tachometer cycle signal, judge the state of the cooling fan, and perform forward switching processing during the reverse state to ensure that the fan starts normally, and adopt reverse speed regulation control to improve the heat dissipation effect and power supply stability.
It effectively avoids PSU startup failure, ensures the safety of server power supply, improves the heat dissipation effect of the power module, and reduces the probability of power supply failure.
Smart Images

Figure CN118819261B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of heat dissipation technology, and in particular to a control method and device for a server fan, electronic equipment, and a storage medium. Background Art
[0002] The efficient and stable operation of the server cooling system is crucial to the server. The cooling system of an air-cooled server is usually composed of multiple cooling fans inside the server. Among them, the reliable operation of the cooling fan of the PSU (Power Supply Unit) has a significant impact on the cooling effect of the server.
[0003] Generally speaking, in addition to the common cooling fan settings in the server, each PSU will also have an independent cooling fan inside to dissipate the heat of the PSU itself.
[0004] When performing a hot-swap replacement of a PSU without shutting down the server, it is generally necessary to first disconnect the PSU's AC (Alternating Current) power cord, unplug the PSU, insert a new PSU, and then insert the AC power cord; however, during the replacement process, especially during the period between inserting the new PSU and inserting the AC power cord. Since the air pressure inside the chassis is lower than that outside the chassis, the PSU will have a reverse airflow, driving the cooling fan in the PSU to reverse. When other cooling fans in the server are at a higher speed, the larger airflow will drive the cooling fan in the PSU to reverse at high speed, which can easily cause the cooling fan in the PSU to fail to start after the AC power cord is inserted, and then trigger the PSU protection and shut down the power output. This causes the PSU power supply to fail, bringing power supply risks to the server system. Summary of the invention
[0005] In view of the above problems, a method for controlling a server fan is proposed to overcome the above problems or at least partially solve the above problems, including:
[0006] A method for controlling a server fan, the method comprising:
[0007] In response to a start signal of the server power module, determining a tachometer period signal fed back by the power module;
[0008] 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 state according to the state information;
[0009] If the cooling fan is in the reverse rotation state, the cooling fan is switched to the forward rotation state.
[0010] Optionally, after the cooling fan is switched to forward rotation, the method further includes:
[0011] Determine whether the cooling fan is still in the reverse state; if the cooling fan is still in the reverse state, perform reverse speed regulation on the cooling fan.
[0012] Optionally, determining the status information of the cooling fan in the power module according to the tachometer periodic signal includes:
[0013] Determining duty cycle information of the periodic signal according to the tachometer periodic signal;
[0014] According to the duty cycle information, state information of a cooling fan in the power module is determined.
[0015] Optionally, the reversing speed regulation process of the cooling fan includes:
[0016] The temperature information of the power module is obtained, and the cooling fan is reversed and speed-regulated according to the temperature information.
[0017] Optionally, after the heat dissipation fan is subjected to the reverse speed regulation process, the method further comprises:
[0018] The restart threshold information corresponding to the cooling fan and the target reverse speed information of the reverse speed regulation process are obtained, and according to the restart threshold information and the target reverse speed information, it is determined whether to perform the forward rotation switching process on the cooling fan again.
[0019] Optionally, judging whether to perform the forward rotation switching process on the cooling fan again according to the restart threshold information and the target reverse rotation speed information includes:
[0020] Determine whether the cooling fan speed cannot reach the target reverse speed and whether the cooling fan speed is less than the restart threshold; if the cooling fan speed is less than the restart threshold or the cooling fan speed cannot reach the target reverse speed, perform the forward switching process on the cooling fan again.
[0021] Optionally, the determining whether the speed of the cooling fan cannot reach the target reverse speed includes:
[0022] Acquire a preset time threshold corresponding to the reverse speed regulation process, and acquire first speed information of the cooling fan after the reverse speed regulation process has passed a time length corresponding to the preset time threshold;
[0023] 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.
[0024] Optionally, determining the duty cycle information of the periodic signal according to the tachometer periodic signal includes:
[0025] Determine first time information corresponding to a peak of a rectangular wave and second time information corresponding to a trough of the rectangular wave in the tachometer periodic signal;
[0026] The duty cycle information of the periodic signal is determined according to the first time information and the second time information.
[0027] Optionally, performing reverse speed regulation processing on the cooling fan according to the temperature information includes:
[0028] The electric brake force parameter of the cooling fan is determined according to the temperature information, and the cooling fan is reversed and speed-regulated according to the electric brake force parameter.
[0029] Optionally, the method further includes:
[0030] If the cooling fan is not in the reverse rotation state, the cooling fan is speed-controlled according to a preset forward rotation speed control strategy.
[0031] Optionally, after determining whether the cooling fan is still in the reverse state, the method further includes:
[0032] If the cooling fan is not in the reverse rotation state, the cooling fan is speed-controlled according to a preset forward rotation speed control strategy.
[0033] Optionally, the state information of the cooling fan includes forward rotation state information, reverse rotation state information and stationary state information.
[0034] An electronic device comprises a processor, a memory and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the above-mentioned method for controlling a server fan when executed by the processor.
[0035] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the server fan control method described above is implemented.
[0036] A computer program product includes a computer program, and when the computer program is executed by a processor, the computer program implements the above-mentioned method for controlling a server fan.
[0037] The embodiments of the present invention have the following advantages:
[0038] In the embodiment of the present invention, by responding to the start signal of the server power module, the tachometer cycle signal fed back by the power module is determined; then, according to the tachometer cycle signal, the status information of the cooling fan in the power module is determined, and according to the status information, it is judged whether the cooling fan is in a reverse state; if the cooling fan is in a reverse state, the cooling fan is switched to forward rotation, so that when the server PSU is replaced with hot-swapped PSU without stopping the server and the cooling fan reverses at a high speed due to the internal air pressure of the chassis being lower than the external air pressure of the chassis, the status of the cooling fan in the power module is confirmed in time, and the forward rotation switching is performed when the cooling fan is in a reverse state, thereby ensuring the correct startup of the power module, ensuring the power supply safety of the server, improving the heat dissipation effect of the power module itself, and reducing the probability of power supply failure in the server system. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solution of the present invention, the accompanying drawings required for use in the description of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0040] Figure 1 It is an overall schematic diagram of a server heat dissipation system in the related technology provided by the present invention;
[0041] Figure 2 is an overall schematic diagram of a server cooling system when a PSU fan is reversed according to some embodiments of the present invention;
[0042] Figure 3 is a flow chart of steps of a method for controlling a server fan provided by some embodiments of the present invention;
[0043] Figure 4 It is a schematic diagram of the control interface of the PSU fan in the related art provided by the present invention;
[0044] Figure 5 It is a schematic diagram of the waveform of the tachometer signal of the PSU cooling fan in the related art provided by the present invention;
[0045] Figure 6 is a schematic diagram of a TACH signal waveform generation scheme provided by some embodiments of the present invention;
[0046] Figure 7 is a schematic diagram of a speed feedback solution of the heat dissipation solution of the present invention provided in some embodiments of the present invention;
[0047] Figure 8 is a flow chart of the internal reverse speed regulation control of a fan according to some embodiments of the present invention;
[0048] Fig. 9 is a flow chart of fan reverse speed regulation control performed by a PSU controller of the present invention provided by some embodiments of the present invention;
[0049] Fig.10 The present invention is a schematic structural diagram of a control device for a server fan provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0050] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all 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.
[0051] The efficient and stable operation of the server cooling system is crucial to the server. The cooling system of an air-cooled server is usually composed of multiple cooling fans inside the server; among them, the reliable operation of the cooling fan in the PSU has a significant impact on the cooling effect of the server.
[0052] like Figure 1 The figure shows the overall schematic diagram of the server cooling system in the related art. The server usually includes two or more PSUs (i.e. Figure 1 Power module 1 and power module 2) and 4 or more independent cooling fans of 60mm / 80mm in size (i.e. Figure 1 In the figure, there are fans 3, 4, 5 and 6). Each PSU generally has a 40mm cooling fan and AC interface for PSU cooling. The cooling fans of the server shown are all located at the rear window. The fans exhaust air to the outside of the chassis, making the air pressure inside the chassis lower than that outside the chassis. The airflow direction and AC power supply direction when the server is operating normally are marked.
[0053] When performing a non-stop hot-swap replacement of a PSU, you generally need to disconnect the PSU's AC power cord first, unplug the PSU, plug in the new PSU, and then plug in the AC power cord; however, if Figure 2As shown, during the replacement process, especially during the period from the time when the new PSU is inserted (i.e., hot-swap replacement of PSU2 in the figure) to the time when the AC power cord is inserted. Since the air pressure inside the chassis is lower than that outside the chassis, there will be reverse airflow in the PSU, driving the cooling fan in the PSU to reverse. When other cooling fans in the server are at a higher speed, the larger airflow will drive the cooling fan in the PSU to reverse at high speed, which may easily cause the cooling fan in the PSU to fail to start after the AC power cord is inserted, and then trigger the PSU protection to shut down the power output. This will cause the PSU power supply to fail, bringing power supply risks to the server system.
[0054] In the embodiment of the present invention, based on the core technical concept of determining the state of the cooling fan in the power module according to the tachometer periodic signal and performing forward switching processing on the cooling fan when the state of the cooling fan in the power module is in the reverse state, the control method of the server fan in the related art is improved. The present invention will be described in detail in conjunction with the accompanying drawings as follows:
[0055] Reference Figure 3 , shows a flow chart of a method for controlling a server fan provided by some embodiments of the present invention, which may specifically include the following steps:
[0056] Step 301, in response to a start signal of the server power module, determining a tachometer period signal fed back by the power module;
[0057] In the specific implementation, Figure 4 The figure shows a schematic diagram of the control interface of the PSU fan in the related art. The controller in the PSU can control the fan speed through the PWM (Pulse width modulation) signal, and the fan can feedback the actual speed through the TACH (Tachometer) signal. Since the TACH signal flip frequency is proportional to the fan forward speed, the controller can convert the fan speed information by measuring the frequency of the TACH signal.
[0058] Further, such as Figure 5 The figure shows a schematic diagram of the tachometer signal waveform of the PSU cooling fan in the related art. Generally speaking, for a server cooling fan driven by a brushless DC motor, a rectangular wave of one cycle in the TACH signal represents 360 electrical degrees. Assuming that the number of pole pairs is 2, 2 cycles of rectangular waves will be output for every 360 mechanical degrees, that is, the TACH signal speed conversion satisfies:
[0059] T=T1+T2+T3+T4=60 / N
[0060] Wherein, N is the mechanical speed; T is the mechanical cycle; the pole pair number 2 means that there are two electrical cycles in one mechanical cycle, that is, T1+T2 is one electrical cycle, T3+T4 is one electrical cycle, T1 and T3 refer to the time information corresponding to the peak of the rectangular wave in the corresponding electrical cycle, and T2 and T4 refer to the time information corresponding to the trough of the rectangular wave in the corresponding electrical cycle.
[0061] When the cooling fan in the PSU reverses, the TACH signal will turn off the TACH signal flip output, that is, the cooling fan in the PSU will only output the TACH signal when it is in the forward state, and there is no TACH signal flip output when the fan is in the static state and the reverse state. When the cooling fan in the PSU is driven by the reverse airflow to reverse at high speed in the aforementioned situation, causing the PSU to fail to start, the cooling fan in the PSU will not output the TACH signal. The PSU controller detects that the cooling fan speed in the PSU is 0, and then considers that there is an abnormality in the cooling fan, triggers protection and shuts down the power output.
[0062] Therefore, based on the above content, in response to the start signal of the server power module, the tachometer period signal fed back by the power module can be determined for use in subsequent judgment and adjustment processing.
[0063] Step 302, determining the state information of the cooling fan in the power module according to the tachometer periodic signal, and judging whether the cooling fan is in a reverse state according to the state information;
[0064] In the specific implementation, Figure 6 As shown, the forward and reverse rotation states of the cooling fan can be indicated by adjusting the duty cycle of each cycle signal. For example, during the normal rotation of the cooling fan, the rotation speed is approximately uniform within 360 mechanical angles, and (T1+T2)≈(T3+T4) can be obtained. Therefore, it can be defined that the fan is in the forward rotation state when T1=T2 and T3=T4; further, it can be defined that the situation other than T1=T2 and T3=T4 is the reverse rotation state, for example, it can be defined that the fan is in the reverse rotation state when 3*T1=T2 and 3*T3=T4, or it can be defined as 2*T1=T2, or 4*T1=T2, etc. The specific adjustment can be made according to the actual situation as long as it can be clearly distinguished from the forward rotation state.
[0065] Further, based on the above content, the duty cycle information in the tachometer periodic signal can be determined to determine the state of the cooling fan in the power module. For example, when the fan is in the forward rotation state when T1=T2 and T3=T4 is defined, the duty cycle at this time can be calculated to be T1 / (T1+T2)=50%, that is, when the duty cycle is 50%, it can be considered that the cooling fan in the power module is in the forward rotation state, and when the fan is in the reverse rotation state when 3*T1=T2 and 3*T3=T4 is defined, the duty cycle at this time can be calculated to be T1 / (T1+T2)=25%, that is, when the duty cycle is 25%, it can be considered that the cooling fan in the power module is in the reverse rotation state, so that in subsequent steps, subsequent processing adjustments and other operations can be performed according to the actual state of the cooling fan in the power module.
[0066] In some embodiments of the present invention, determining the status information of the cooling fan in the power module according to the tachometer periodic signal includes:
[0067] Determining duty cycle information of the periodic signal according to the tachometer periodic signal;
[0068] According to the duty cycle information, state information of a cooling fan in the power module is determined.
[0069] In practical applications, such as Figure 7 As shown, the original frequency generator can be replaced with a frequency duty cycle generator inside the cooling fan, so that the speed value of the cooling fan can be fed back through the TACH signal frequency, 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 with a frequency duty cycle measurement unit in the PSU controller to make a forward and reverse rotation judgment of the fan, and then execute the corresponding forward or reverse speed control strategy according to the forward and reverse rotation state of the fan.
[0070] Specifically, when the PSU fan starts to rotate forward normally, for example, when T1=T2, T3=T4 is defined, the fan is in the forward rotation state, and the duty cycle at this time can be calculated to be T1 / (T1+T2)=50%, that is, when the duty cycle is 50%, it can be considered that the cooling fan in the power module is in the forward rotation state; and when the fan feeds back a TACH signal with a duty cycle of 50%, the controller can determine the state information of the cooling fan in the power module through the frequency duty cycle measurement unit and obtain the forward rotation speed of the fan, and use the existing forward rotation speed control strategy to control the fan speed. The airflow direction during regulation can be as follows Figure 1 As shown, the airflow direction of the PSU is outlet.
[0071] When the PSU fan is driven by the reverse airflow to reverse at high speed and fails to start during hot-swap replacement, for example, when the fan is in the reverse state when 3*T1=T2 and 3*T3=T4 is defined, the duty cycle at this time can be calculated to be T1 / (T1+T2)=25%; thus, the TACH signal with a duty cycle of 25% can be fed back by the fan, and the controller determines the status information of the cooling fan in the power module through the frequency duty cycle measurement unit and obtains the reverse speed of the fan, and uses the preset reverse speed control strategy to control the fan speed. Figure 2 As shown, when PSU2 is in reverse speed control, the airflow direction of PSU2 can be air intake, and the PSU2 fan is in electric brake working state. The fan reverse speed can be controlled by braking to achieve control of the air intake volume of PSU2, thereby improving the heat dissipation effect and power supply stability of the server.
[0072] In some embodiments of the present invention, determining the duty cycle information of the periodic signal according to the tachometer periodic signal includes:
[0073] Determine first time information corresponding to a peak of a rectangular wave and second time information corresponding to a trough of the rectangular wave in the tachometer periodic signal;
[0074] The duty cycle information of the periodic signal is determined according to the first time information and the second time information.
[0075] In the specific implementation, generally speaking, for a server cooling fan driven by a brushless DC motor, one period of rectangular wave in the TACH signal represents 360 electrical degrees. Assuming the number of pole pairs is 2, two periods of rectangular waves will be output for every 360 mechanical degrees, that is, the TACH signal speed conversion satisfies:
[0076] T=T1+T2+T3+T4=60 / N
[0077] Wherein, N is the mechanical speed; T is the mechanical cycle; the pole pair number 2 means that there are two electrical cycles in one mechanical cycle, that is, T1+T2 is one electrical cycle, T3+T4 is one electrical cycle, T1 and T3 refer to the time information corresponding to the peak of the rectangular wave in the corresponding electrical cycle (that is, the first time information corresponding to the peak of the rectangular wave in the tachometer cycle signal), and T2 and T4 refer to the time information corresponding to the trough of the rectangular wave in the corresponding electrical cycle (that is, the second time information corresponding to the trough of the rectangular wave in the tachometer cycle signal).
[0078] When the cooling fan in the PSU reverses, the TACH signal will turn off the TACH signal flip output, that is, the cooling fan in the PSU will only output the TACH signal when it is in the forward state, and there is no TACH signal flip output when the fan is in the static state and the reverse state. When the cooling fan in the PSU is driven by the reverse airflow to reverse at high speed in the aforementioned situation, causing the PSU to fail to start, the cooling fan in the PSU will not output the TACH signal. The PSU controller detects that the cooling fan speed in the PSU is 0, and then considers that there is an abnormality in the cooling fan, triggers protection and shuts down the power output.
[0079] Furthermore, the forward and reverse rotation states of the cooling fan can be indicated by adjusting the duty cycle of each cycle signal. For example, during the normal rotation of the cooling fan, the rotation speed is approximately uniform within 360 mechanical angles, and (T1+T2)≈(T3+T4) can be obtained. Therefore, it can be defined that the fan is in the forward rotation state when T1=T2 and T3=T4; further, it can be defined that the situations other than T1=T2 and T3=T4 are the reverse rotation state. For example, it can be defined that the fan is in the reverse rotation state when 3*T1=T2 and 3*T3=T4, or it can be defined as 2*T1=T2, or 4*T1=T2, etc. The specific adjustment can be made according to the actual situation as long as it can be clearly distinguished from the forward rotation state.
[0080] Further, based on the above content, the duty cycle information in the tachometer periodic signal can be determined to determine the state of the cooling fan in the power module. For example, when the fan is in the forward rotation state when T1=T2 and T3=T4 is defined, the duty cycle at this time can be calculated to be T1 / (T1+T2)=50%, that is, when the duty cycle is 50%, it can be considered that the cooling fan in the power module is in the forward rotation state, and when the fan is in the reverse rotation state when 3*T1=T2 and 3*T3=T4 is defined, the duty cycle at this time can be calculated to be T1 / (T1+T2)=25%, that is, when the duty cycle is 25%, it can be considered that the cooling fan in the power module is in the reverse rotation state, so that in subsequent steps, subsequent processing adjustments and other operations can be performed according to the actual state of the cooling fan in the power module.
[0081] In some embodiments of the present invention, the state information of the cooling fan includes forward rotation state information, reverse rotation state information and stationary state information.
[0082] In actual applications, the status information of the cooling fan can be set to include forward status information, reverse status information and stationary status information, so that the corresponding cooling control strategy can be executed in response to the actual status of the cooling fan. For example, when the fan is in a stationary state or a forward rotation state, a normal stationary start or forward rotation start strategy can be executed, and when the fan is in a reverse state, a preset reverse speed control strategy can be executed to meet the cooling requirements when the PSU starts, etc.
[0083] Step 303: If the cooling fan is in the reverse rotation state, the cooling fan is switched to the forward rotation state.
[0084] In practical applications, it can be seen from the above content that the subsequent control processing flow when the cooling fan in the PSU is in the reverse state can be divided into two parts: fan internal control and PSU controller control;
[0085] Specifically, for the internal control of the fan, Figure 8 As shown, after the fan is powered on, the aforementioned steps of determining the cooling fan status and detecting the speed can be performed inside the fan. If it is determined that the fan is in a stationary state or a forward rotation state, the normal stationary start or forward rotation start process can be performed on the fan, and the corresponding forward rotation TACH signal can be fed back; if the fan is in a reverse rotation state, the forward rotation switching process can be performed on the fan (that is, the process of trying to switch from the reverse rotation state back to the forward rotation state, which can be a process from reverse-brake-forward rotation, and the goal is to switch the cooling 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 speed control (reverse speed control process) process can be entered. Reverse speed control can be performed according to the PWM duty cycle, and the speed of the fan during reverse rotation can be adjusted by the electric brake, and the corresponding reverse TACH signal can be fed back.
[0086] Specifically, when the reverse speed control is actually realized through FOC (Field-Oriented Control) control, the strength of the electric brake can be achieved by adjusting the magnitude of the motor q-axis current. As shown in the following formula, the strength of the electric brake can be negatively correlated with the duty cycle of the PWM signal given by the PSU controller:
[0087] |-Iq | ∝ (1-Dpwm)
[0088] Among them, -Iq is the magnitude of the motor q-axis current. The larger the |-Iq |, the greater the braking force. 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. The larger the Dpwm, the greater the target speed of the PSU fan during speed control.
[0089] Furthermore, when the speed of the system cooling fan inside the chassis decreases, as the pressure difference between the inside and outside of the chassis decreases, the PSU air intake volume will decrease. 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 execute the forward switching process again and try to switch from reverse speed control back to normal forward speed control.
[0090] Among them, regarding the restart threshold, the reason why the reverse speed regulation process is entered in the aforementioned steps is because the reverse airflow is too large, resulting in the failure of the PSU forward switching process, but the ultimate goal is to achieve the cooling fan switching back to normal forward speed regulation control. When the reverse airflow decreases, the reverse speed of the PSU fan will decrease. Therefore, it can be set that when the reverse speed of the PSU fan is lower than the preset restart threshold, the forward switching process of the cooling fan is attempted again. The restart threshold can be determined by the reverse start-up capability of the fan and can be used as a preset parameter of the cooling fan. As for the target reverse speed, the target reverse speed can be the target speed during the aforementioned reverse speed control. When the reverse speed of the fan cannot reach the target reverse speed during the reverse speed control, the forward switching process of the cooling fan can be attempted again to achieve the cooling fan switching back to normal forward speed regulation control.
[0091] Furthermore, for the PSU controller control, if Fig. 9 As shown, the PSU controller can calculate the cooling fan speed information and the cooling fan status information through the frequency information and duty cycle information of the TACH signal fed back by the cooling fan in the PSU.
[0092] When the PSU cooling fan starts to rotate forward normally, the cooling fan can feedback a TACH signal with a duty cycle of 50%. The PSU controller can obtain the forward rotation speed of the cooling fan through the frequency duty cycle measurement unit, so that the preset forward speed control strategy can be used to control the fan speed.
[0093] When the PSU fan is driven by the reverse airflow to reverse at high speed and fails to start during hot-swap replacement of the PSU, the cooling fan can feedback a TACH signal with a duty cycle of 25%. The PSU controller can obtain the fan's reverse speed 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 based on the temperature information of the PSU, as shown in the following formula, and the output PWM signal duty cycle can be proportional to the target reverse speed:
[0094] Dpwm ∝ Nr*
[0095] Wherein, Dpwm is the duty cycle of the PWM signal sent by the PSU controller to the PSU fan, which is used for speed regulation of the PSU fan. The larger the Dpwm, the greater the target speed of the PSU fan; Nr* is the target reverse speed of the reverse speed control.
[0096] Similarly, when the speed of the system cooling fan inside the chassis decreases, and the reverse speed is lower than the restart threshold or the reverse speed cannot reach the target reverse speed, the forward switching process can be executed again inside the fan. After switching back to forward speed control, the PSU controller can switch to the preset forward speed control strategy for fan speed control after detecting that the fan is in the forward state.
[0097] Among them, as to how to judge that the reverse speed cannot reach the target reverse speed, when the time elapsed after the reverse speed control is executed inside the fan exceeds the preset threshold, it can be judged that the reverse speed cannot reach the target reverse speed. For example, the PSU controller sets the target speed for the fan reversal but fails to reach the target value set by Dpwm, that is, when the fan detects that there is still a difference between the actual speed and the target value after the speed regulation time corresponding to the preset threshold has passed, it is judged that the reverse speed cannot reach the target reversal speed.
[0098] In some embodiments of the present invention, after the heat dissipation fan is switched to forward rotation, the method further includes:
[0099] Determine whether the cooling fan is still in the reverse state; if the cooling fan is still in the reverse state, perform reverse speed regulation on the cooling fan.
[0100] In a specific implementation, the subsequent control processing flow when the cooling fan in the PSU is in the reverse state can be divided into two parts: fan internal control and PSU controller control;
[0101] Specifically, for the internal control of the fan, Figure 8 As shown, after the fan is powered on, the aforementioned steps of determining the cooling fan status and detecting the speed can be performed inside the fan. If it is determined that the fan is in a stationary state or a forward rotation state, the normal stationary start or forward rotation start process can be performed on the fan, and the corresponding forward rotation TACH signal can be fed back; if the fan is in a reverse rotation state, the forward rotation switching process can be performed on the fan (that is, the process of trying to switch from the reverse rotation state back to the forward rotation state, which can be a process from reverse-brake-forward rotation, and the goal is to switch the cooling 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 speed control (reverse speed control process) process can be entered. Reverse speed control can be performed according to the PWM duty cycle, and the speed of the fan during reverse rotation can be adjusted by the electric brake, and the corresponding reverse TACH signal can be fed back.
[0102] Specifically, when the reverse speed control is actually realized through FOC control, the strength of the electric brake can be achieved by adjusting the magnitude of the motor q-axis current, as shown in the following formula. The strength of the electric brake can be negatively correlated with the duty cycle of the PWM signal given by the PSU controller:
[0103] |-Iq | ∝ (1-Dpwm)
[0104] Among them, -Iq is the magnitude of the motor q-axis current. The larger the |-Iq |, the greater the braking force. 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. The larger the Dpwm, the greater the target speed of the PSU fan during speed control.
[0105] Furthermore, when the speed of the system cooling fan inside the chassis decreases, as the pressure difference between the inside and outside of the chassis decreases, the PSU air intake volume will decrease. 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 execute the forward switching process again and try to switch from reverse speed control back to normal forward speed control.
[0106] Furthermore, for the PSU controller control, if Fig. 9 As shown, the PSU controller can calculate the cooling fan speed information and the cooling fan status information through the frequency information and duty cycle information of the TACH signal fed back by the cooling fan in the PSU.
[0107] When the PSU cooling fan starts to rotate forward normally, the cooling fan can feedback a TACH signal with a duty cycle of 50%. The PSU controller can obtain the forward rotation speed of the cooling fan through the frequency duty cycle measurement unit, so that the preset forward speed control strategy can be used to control the fan speed.
[0108] When the PSU fan is driven by the reverse airflow to reverse at high speed and fails to start during hot-swap replacement of the PSU, the cooling fan can feedback a TACH signal with a duty cycle of 25%. The PSU controller can obtain the fan's reverse speed 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 based on the temperature information of the PSU, as shown in the following formula, and the output PWM signal duty cycle can be proportional to the target reverse speed:
[0109] Dpwm ∝ Nr*
[0110] Wherein, Dpwm is the duty cycle of the PWM signal sent by the PSU controller to the PSU fan, which is used for speed regulation of the PSU fan. The larger the Dpwm, the greater the target speed of the PSU fan; Nr* is the target reverse speed of the reverse speed control.
[0111] Similarly, when the speed of the system cooling fan inside the chassis decreases, and the reverse speed is lower than the restart threshold or the reverse speed cannot reach the target reverse speed, the forward switching process can be executed again inside the fan. After switching back to forward speed control, the PSU controller can switch to the preset forward speed control strategy for fan speed control after detecting that the fan is in the forward state.
[0112] Through the above reverse speed control related process, the heat dissipation demand of the PSU can be met as much as possible when the PSU cooling fan is in the reverse state, thereby ensuring the power supply safety and heat dissipation effect of the server.
[0113] In some embodiments of the present invention, the reverse speed regulation of the cooling fan includes:
[0114] The temperature information of the power module is obtained, and the cooling fan is reversed and speed-regulated according to the temperature information.
[0115] In practical applications, when the cooling fan is reversed and the speed is adjusted, the temperature information of the power module can be obtained, and the cooling fan can be reversed and the speed is adjusted according to the temperature information; specifically, Fig. 9 As shown, when it is detected that the temperature of the power module decreases, the pulse width modulation duty cycle can be reduced through the PSU controller, thereby controlling the cooling fan to increase |-Iq| and reduce the fan reverse speed; and when it is detected that the temperature of the power module increases, the pulse width modulation duty cycle can be increased through the PSU controller, thereby controlling the fan to reduce |-Iq| and increase the fan reverse speed, thereby adaptively adjusting the fan reverse speed in time to ensure the heat dissipation effect of the PSU itself.
[0116] In some embodiments of the present invention, after the heat dissipation fan is subjected to reverse speed regulation, the method further includes:
[0117] The restart threshold information corresponding to the cooling fan and the target reverse speed information of the reverse speed regulation process are obtained, and according to the restart threshold information and the target reverse speed information, it is determined whether to perform the forward rotation switching process on the cooling fan again.
[0118] In the specific implementation, when the speed of the system cooling fan inside the chassis decreases, as the pressure difference between the inside and outside of the chassis decreases, the PSU air intake will decrease. 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 execute the forward switching process again and try to switch from reverse speed control back to normal forward speed control.
[0119] In some embodiments of the present invention, judging whether to perform the forward rotation switching process on the cooling fan again according to the restart threshold information and the target reverse rotation speed information includes:
[0120] Determine whether the cooling fan speed cannot reach the target reverse speed and whether the cooling fan speed is less than the restart threshold; if the cooling fan speed is less than the restart threshold or the cooling fan speed cannot reach the target reverse speed, perform the forward switching process on the cooling fan again.
[0121] In the specific implementation, when the speed of the system cooling fan inside the chassis decreases, the PSU air intake will decrease as the pressure difference between the inside and outside of the chassis 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 execute the forward switching process again and try to switch from reverse speed control back to normal forward speed control. After switching back to forward speed control, the PSU controller can switch to the preset forward speed control strategy for fan speed control after detecting that the fan is in the forward state.
[0122] Among them, regarding the restart threshold, the reason why the reverse speed regulation process is entered in the aforementioned steps is because the reverse airflow is too large, resulting in the failure of the PSU forward switching process, but the ultimate goal is to achieve the cooling fan switching back to normal forward speed regulation control. When the reverse airflow decreases, the reverse speed of the PSU fan will decrease. Therefore, it can be set that when the reverse speed of the PSU fan is lower than the preset restart threshold, the forward switching process of the cooling fan is attempted again. The restart threshold can be determined by the reverse start-up capability of the fan and can be used as a preset parameter of the cooling fan. As for the target reverse speed, the target reverse speed can be the target speed during the aforementioned reverse speed control. When the reverse speed of the fan cannot reach the target reverse speed during the reverse speed control, the forward switching process of the cooling fan can be attempted again to achieve the cooling fan switching back to normal forward speed regulation control.
[0123] In some embodiments of the present invention, determining whether the speed of the cooling fan cannot reach the target reverse speed includes:
[0124] Acquire a preset time threshold corresponding to the reverse speed regulation process, and acquire first speed information of the cooling fan after the reverse speed regulation process has passed a time length corresponding to the preset time threshold;
[0125] 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.
[0126] In practical applications, as to how to judge whether the reverse speed cannot reach the target reverse speed, when the time elapsed after the reverse speed control is executed inside the fan exceeds a preset threshold, it can be judged that the reverse speed cannot reach the target reverse speed. For example, the PSU controller sets the target speed for the fan reversal but fails to reach the target value set by Dpwm, that is, when the fan detects that there is still a difference between the actual speed and the target value after the speed regulation time corresponding to the preset threshold has passed, it is judged that the reverse speed cannot reach the target reversal speed.
[0127] In some embodiments of the present invention, the reversing speed regulation process of the cooling fan according to the temperature information includes:
[0128] The electric brake force parameter of the cooling fan is determined according to the temperature information, and the cooling fan is reversed and speed-regulated according to the electric brake force parameter.
[0129] In a specific implementation, the subsequent control processing flow when the cooling fan in the PSU is in the reverse state can be divided into two parts: fan internal control and PSU controller control;
[0130] Specifically, for the internal control of the fan, after the fan is powered on, the aforementioned steps of determining the state of the cooling fan and detecting the speed can be performed inside the fan. If it is determined that the fan is in a stationary state or a forward rotation state, the normal stationary start-up or forward rotation start-up process can be performed on the fan, and the corresponding forward rotation TACH signal can be fed back; if the fan is in a reverse rotation state, the forward rotation switching process can be performed on the fan (that is, the process of trying to switch from the reverse rotation state back to the forward rotation state, which can be a process from reverse rotation-brake-forward rotation, and the goal is to switch the cooling 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 speed control (reverse speed control process) process can be entered. Reverse speed control can be performed according to the PWM duty cycle, and the speed of the fan during reverse rotation can be adjusted by the electric brake, and the corresponding reverse TACH signal can be fed back.
[0131] Specifically, when the reverse speed control is actually realized through FOC control, the strength of the electric brake can be achieved by adjusting the magnitude of the motor q-axis current, as shown in the following formula. The strength of the electric brake can be negatively correlated with the duty cycle of the PWM signal given by the PSU controller:
[0132] |-Iq | ∝ (1-Dpwm)
[0133] Among them, -Iq is the magnitude of the motor q-axis current. The larger the |-Iq |, the greater the braking force. 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. The larger the Dpwm, the greater the target speed of the PSU fan during speed control.
[0134] Furthermore, when the speed of the system cooling fan inside the chassis decreases, as the pressure difference between the inside and outside of the chassis decreases, the PSU air intake volume will decrease. 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 execute the forward switching process again and try to switch from reverse speed control back to normal forward speed control.
[0135] Furthermore, for the PSU controller control, the PSU controller can calculate the cooling fan speed information and the cooling fan status information through the frequency information and duty cycle information of the TACH signal fed back by the cooling fan in the PSU.
[0136] When the PSU cooling fan starts to rotate forward normally, the cooling fan can feedback a TACH signal with a duty cycle of 50%. The PSU controller can obtain the forward rotation speed of the cooling fan through the frequency duty cycle measurement unit, so that the preset forward speed control strategy can be used to control the fan speed.
[0137] When the PSU fan is driven by the reverse airflow to reverse at high speed and fails to start during hot-swap replacement of the PSU, the cooling fan can feedback a TACH signal with a duty cycle of 25%. The PSU controller can obtain the fan's reverse speed 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 based on the temperature information of the PSU, as shown in the following formula, and the output PWM signal duty cycle can be proportional to the target reverse speed:
[0138] Dpwm ∝ Nr*
[0139] Wherein, Dpwm is the duty cycle of the PWM signal sent by the PSU controller to the PSU fan, which is used for speed regulation of the PSU fan. The larger the Dpwm, the greater the target speed of the PSU fan; Nr* is the target reverse speed of the reverse speed control.
[0140] In some embodiments of the present invention, the method further comprises:
[0141] If the cooling fan is not in the reverse rotation state, the cooling fan is speed-controlled according to a preset forward rotation speed control strategy.
[0142] In practical applications, the subsequent control processing flow when the cooling fan in the PSU is in the reverse state can be divided into two parts: fan internal control and PSU controller control;
[0143] Specifically, for the internal control of the fan, after the fan is powered on, the aforementioned steps of determining the state of the cooling fan and detecting the speed can be performed inside the fan. If it is determined that the fan is in a stationary state or a forward rotation state, the normal stationary start-up or forward rotation start-up process can be performed on the fan, and the corresponding forward rotation TACH signal can be fed back; if the fan is in a reverse rotation state, the forward rotation switching process can be performed on the fan (that is, the process of trying to switch from the reverse rotation state back to the forward rotation state, which can be a process from reverse rotation-brake-forward rotation, and the goal is to switch the cooling 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 speed control (reverse speed control process) process can be entered. Reverse speed control can be performed according to the PWM duty cycle, and the speed of the fan during reverse rotation can be adjusted by the electric brake, and the corresponding reverse TACH signal can be fed back.
[0144] In some embodiments of the present invention, after determining whether the cooling fan is still in the reverse state, the method further includes:
[0145] If the cooling fan is not in the reverse rotation state, the cooling fan is speed-controlled according to a preset forward rotation speed control strategy.
[0146] In actual applications, when the speed of the system cooling fan inside the chassis decreases, as the pressure difference between the inside and outside of the chassis decreases, the PSU air intake will decrease. 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 execute the forward switching process again, and try to switch from reverse speed control back to normal forward speed control; after switching back to forward speed control, the PSU controller can switch to the preset forward speed control strategy for fan speed control after detecting that the fan is in the forward state.
[0147] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0148] Reference Fig.10 , shows a schematic structural diagram of a server fan control device provided by an embodiment of the present invention, which may specifically include the following modules:
[0149] A periodic signal determination module 1001, adapted to determine a tachometer periodic signal fed back by the power module in response to a start signal of the server power module;
[0150] A reverse state determination module 1002, configured to determine state information of a cooling fan in the power module according to the tachometer periodic signal, and determine whether the cooling fan is in a reverse state according to the state information;
[0151] The forward rotation switching processing module 1003 is used to perform forward rotation switching processing on the cooling fan if the cooling fan is in a reverse rotation state.
[0152] In some embodiments of the present invention, the device further comprises:
[0153] The reverse speed regulation processing module is used to determine whether the cooling fan is still in the reverse state, and if the cooling fan is still in the reverse state, perform reverse speed regulation processing on the cooling fan.
[0154] In some embodiments of the present invention, the reversal state determination module 1002 includes:
[0155] A duty cycle determination submodule, used to determine the duty cycle information of the periodic signal according to the tachometer periodic signal;
[0156] The state information determination submodule is used to determine the state information of the cooling fan in the power module according to the duty cycle information.
[0157] In some embodiments of the present invention, the reverse speed regulation processing module includes:
[0158] The reverse speed regulation processing submodule is used to obtain the temperature information of the power module and perform reverse speed regulation processing on the cooling fan according to the temperature information.
[0159] In some embodiments of the present invention, the device further comprises:
[0160] The forward switching processing re-execution module is used to obtain the restart threshold information corresponding to the cooling fan and the target reversal speed information of the reverse speed regulation processing, and determine whether to perform the forward switching processing on the cooling fan again based on the restart threshold information and the target reversal speed information.
[0161] In some embodiments of the present invention, the forward switching process re-execution module includes:
[0162] The forward switching processing is executed again as a submodule, which is used to determine whether the cooling fan speed cannot reach the target reverse speed and whether the cooling fan speed is less than the restart threshold. If the cooling fan speed is less than the restart threshold or the cooling fan speed cannot reach the target reverse speed, the forward switching processing is performed on the cooling fan again.
[0163] In some embodiments of the present invention, the forward switching process re-executes a submodule, including:
[0164] A first speed information acquisition unit, configured to acquire a preset time threshold corresponding to the reverse speed regulation process, and acquire first speed information of the cooling fan after the reverse speed regulation process has passed a time period corresponding to the preset time threshold;
[0165] The target reverse rotation speed determination unit is used 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.
[0166] In some embodiments of the present invention, the duty cycle determination submodule includes:
[0167] A time information determination unit, used to determine first time information corresponding to a peak of a rectangular wave and second time information corresponding to a trough of the rectangular wave in the tachometer periodic signal;
[0168] A duty cycle information determining unit is used to determine the duty cycle information of the periodic signal according to the first time information and the second time information.
[0169] In some embodiments of the present invention, the reverse speed regulation processing submodule includes:
[0170] The reverse speed regulation processing unit is used to determine the electric brake force parameter of the cooling fan according to the temperature information, and perform reverse speed regulation processing on the cooling fan according to the electric brake force parameter.
[0171] In some embodiments of the present invention, the device further comprises:
[0172] The first forward speed control module is used to control the speed of the cooling fan according to a preset forward speed control strategy if the cooling fan is not in a reverse state.
[0173] In another embodiment of the present invention, the device further comprises:
[0174] The second forward speed control module is used to control the speed of the cooling fan according to a preset forward speed control strategy if the cooling fan is not in the reverse state.
[0175] An embodiment of the present invention further provides an electronic device, which may include a processor, a memory, and a computer program stored in the memory and capable of running on the processor. When the computer program is executed by the processor, the above server fan control method is implemented.
[0176] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the above method for controlling a server fan is implemented.
[0177] An embodiment of the present invention further provides a computer program product, including a computer program, which implements the above-mentioned server fan control method when executed by a processor.
[0178] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0179] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0180] Those skilled in the art will appreciate that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0181] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0182] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0183] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0184] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
[0185] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the above elements.
[0186] The above provides a detailed introduction to a control method and device for a server fan, an electronic device, and a storage medium. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for a person skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A method for controlling a server fan, It is characterized in that The method comprises: In response to a start signal of the server power module, determining a tachometer period signal fed back by the 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 state according to the state information; If the cooling fan is in a reverse rotation state, switching the cooling fan to a forward rotation state; Wherein, the power module includes a frequency duty cycle generator, and the frequency duty cycle generator is used to feedback the forward and reverse rotation state of the cooling fan by feeding back the tachometer periodic signal containing duty cycle information, and the state information of the cooling fan in the power module is determined according to the tachometer periodic signal, including: Determining duty cycle information of the periodic signal according to the tachometer periodic signal; According to the duty cycle information, state information of a cooling fan in the power module is determined.
2. The method according to claim 1, It is characterized in that After the cooling fan is switched to forward rotation, the method further includes: Determine whether the cooling fan is still in the reverse state; if the cooling fan is still in the reverse state, perform reverse speed regulation on the cooling fan.
3. The method according to claim 2, It is characterized in that The reversing speed regulation process of the cooling fan includes: The temperature information of the power module is obtained, and the cooling fan is reversed and speed-regulated according to the temperature information.
4. The method according to claim 2, It is characterized in that After the heat dissipation fan is subjected to reverse speed regulation, the method further comprises: The restart threshold information corresponding to the cooling fan and the target reverse speed information of the reverse speed regulation process are obtained, and according to the restart threshold information and the target reverse speed information, it is determined whether to perform the forward rotation switching process on the cooling fan again.
5. The method according to claim 4, It is characterized in that The determining, based on the restart threshold information and the target reverse rotation speed information, whether to perform the forward rotation switching process on the cooling fan again includes: Determine whether the cooling fan speed cannot reach the target reverse speed and whether the cooling fan speed is less than the restart threshold; if the cooling fan speed is less than the restart threshold or the cooling fan speed cannot reach the target reverse speed, perform the forward switching process on the cooling fan again.
6. The method according to claim 5, It is characterized in that The determining whether the speed of the cooling fan cannot reach the target reverse speed includes: Acquire a preset time threshold corresponding to the reverse speed regulation process, and acquire first speed information of the cooling fan after the reverse speed regulation process has passed 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.
7. The method according to claim 1, It is characterized in that Determining duty cycle information of the periodic signal according to the tachometer periodic signal includes: Determine first time information corresponding to a peak of a rectangular wave and second time information corresponding to a trough of the rectangular wave in the tachometer periodic signal; The duty cycle information of the periodic signal is determined according to the first time information and the second time information.
8. The method according to claim 3, It is characterized in that The step of performing reverse speed regulation on the cooling fan according to the temperature information includes: The electric brake force parameter of the cooling fan is determined according to the temperature information, and the cooling fan is reversed and speed-regulated according to the electric brake force parameter.
9. The method according to claim 1, It is characterized in that The method further comprises: If the cooling fan is not in the reverse rotation state, the cooling fan is speed-controlled according to a preset forward rotation speed control strategy.
10. The method according to claim 2, It is characterized in that After determining whether the cooling fan is still in the reverse state, the method further includes: If the cooling fan is not in the reverse rotation state, the cooling fan is speed-controlled according to a preset forward rotation speed control strategy.
11. The method according to claim 1, It is characterized in that The state information of the cooling fan includes forward rotation state information, reverse rotation state information and stationary state information.
12. An electronic device, It is characterized in that The invention comprises a processor, a memory and a computer program stored in the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the method for controlling a server fan according to any one of claims 1 to 11 is implemented.
13. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for controlling a server fan according to any one of claims 1 to 11 is implemented.
14. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method for controlling a server fan according to any one of claims 1 to 11 is implemented.
Citation Information
Patent Citations
Method, device and system for controlling fan
CN102817862A
A server power module fan rotating speed control method and device
CN109739323A
