Search

CN-116677635-B - Fan characteristic testing method, system, computer device and storage medium

CN116677635BCN 116677635 BCN116677635 BCN 116677635BCN-116677635-B

Abstract

The application relates to a fan characteristic testing method, a system, computer equipment and a storage medium, wherein the method comprises the steps that a power supply module enters a fan rotating speed control adjusting mode in response to receiving a fan rotating speed control adjusting instruction sent by a server host; the method comprises the steps of obtaining control parameters corresponding to a target fan and a target rotating speed, adjusting the initial rotating speed of the target fan, linearly connecting target actual rotating speed values obtained in the adjusting process of the target fan to generate a target curve, and completing characteristic test of the target fan when detecting that the change between the current actual rotating speed corresponding to the target rotating speed gear and the previous actual rotating speed of the target fan is smaller than a first preset value and the smoothness of the target curve is larger than a second preset value. The application can find out the characteristics of the fans according to the fan control test method of different manufacturers, optimize the characteristics of the fans and improve the accuracy of controlling the rotating speed of the fans.

Inventors

  • HUANG TINGXI

Assignees

  • 苏州浪潮智能科技有限公司

Dates

Publication Date
20260512
Application Date
20230522

Claims (8)

  1. 1. A method for testing fan characteristics, applied to a power supply, the method comprising: responding to a fan rotating speed control adjustment instruction sent by a server host, and enabling the power supply module to enter a fan rotating speed control adjustment mode; based on the fan rotating speed control adjustment mode, acquiring control parameters corresponding to a target fan and the target rotating speed to adjust the initial rotating speed of the target fan; linearly connecting target actual rotation speed values obtained by the target fan in the adjustment process to generate a target curve; In response to detecting that the change amount between the current actual rotating speed corresponding to the target rotating speed gear and the previous actual rotating speed is smaller than a first preset value, and the smoothness of the target curve is larger than a second preset value, the characteristic test of the target fan is completed; The method for acquiring the control parameters corresponding to the target fan comprises the following steps: Resetting the timer value; Adjusting the target fan from the initial rotating speed to a first target rotating speed, and starting timing; Reading the actual rotation speed value of the target fan after adjustment; stopping timing and reading a first timing value when the change of the current actual rotating speed value and the previous actual rotating speed value of the target fan is smaller than a first preset value; Resetting the timer value; adjusting the target fan from the first target rotating speed to a second target rotating speed, and starting timing, wherein the second target rotating speed is larger than the first target rotating speed; reading an instantaneous current value of the target fan when the target fan is adjusted to the second target rotating speed; reading the adjusted target fan actual rotating speed value in response to detecting that the instantaneous current value meets a preset standard; Stopping timing and reading a second timing value when the change amount of the current actual rotating speed value and the previous actual rotating speed value of the target fan is smaller than a first preset value; Determining a first control parameter of the target fan based on the first timing value, the second timing value, and the instantaneous current value; The method for acquiring the control parameters corresponding to the target fan further comprises the following steps: Resetting the timer value; Adjusting the target fan from the third target rotating speed to the fourth target rotating speed, and starting timing; Reading the actual rotation speed value of the target fan after adjustment; stopping timing and reading a third timing value when the change amount of the current actual rotating speed value and the previous actual rotating speed value of the target fan is smaller than a first preset value; defining a second control parameter based on the third timing value; Wherein, the , A third target rotational speed value is indicated, A fourth target rotational speed value is indicated, A first target rotational speed value is indicated, Representing a second target rotational speed value.
  2. 2. The method of testing fan characteristics according to claim 1, further comprising: And in response to detecting that the change amount between the current actual rotating speed corresponding to the target rotating speed gear and the last actual rotating speed is larger than or equal to a first preset value, and/or when the smoothness of the target curve is smaller than or equal to a second preset value, the control parameters corresponding to the target fan are acquired again and adjusted until the change amount between the current actual rotating speed corresponding to the target rotating speed gear and the last actual rotating speed is smaller than the first preset value, and the smoothness of the target curve is larger than the second preset value.
  3. 3. The method for testing fan characteristics according to claim 1, wherein the method for acquiring the target actual rotation speed value includes: and in response to detecting that the change amount between the current actual rotating speed corresponding to the target rotating speed gear and the previous actual rotating speed is smaller than a first preset value, defining the value corresponding to the current actual rotating speed as the target actual rotating speed value.
  4. 4. A fan characteristic testing method according to any one of claims 1 to 3, wherein the variation calculating method includes: ; Wherein, the The amount of change is indicated and the amount of change, Indicating the current actual rotational speed, Indicating the previous actual rotational speed.
  5. 5. A fan characteristic test system is characterized in that the system comprises a current detection device, a server host, a fan and a power module; The server host is in communication connection with the power supply module and is used for sending a fan characteristic test adjustment instruction to the power supply module; The power supply module is used for entering a fan rotating speed control adjustment mode when receiving a fan rotating speed control adjustment instruction sent by the server host, acquiring a control parameter corresponding to the fan and a target rotating speed to adjust the initial rotating speed of the fan, linearly connecting a target actual rotating speed value obtained in the adjustment process of the target fan, generating a target curve, and completing characteristic test of the target fan when detecting that the change between the current actual rotating speed corresponding to the target rotating speed gear and the previous actual rotating speed is smaller than a first preset value and the smoothness of the target curve is larger than a second preset value; The current detection device is connected with the power module and is used for detecting an instant current value obtained in the adjusting process of the fan so as to be used for the power module to acquire control parameters corresponding to the fan.
  6. 6. The system of claim 5, wherein the power module comprises a first detection unit, a second detection unit, a control chip, a recording unit, a display unit, a timing unit, and a communication unit; the communication unit is used for communication connection between the power supply module and the server host; the first detection unit is used for reading an actual rotating speed value obtained in the fan rotating speed adjusting process; The second detection unit is used for reading the instant current value uploaded by the current detection device; the control unit is used for controlling the rotating speed of the fan; The timing unit is used for acquiring a timing value in the fan adjusting process; The control chip is used for acquiring control parameters corresponding to the fan; the recording unit is used for recording and storing the data obtained in the adjustment process; the display unit is used for displaying control parameters and instantaneous current values corresponding to the fan.
  7. 7. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any one of claims 1 to 4 when the computer program is executed.
  8. 8. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 4.

Description

Fan characteristic testing method, system, computer device and storage medium Technical Field The present application relates to the field of fan control technologies, and in particular, to a method and a system for testing fan characteristics, a computer device, and a storage medium. Background The server operates the power supply of the energy source, the inside needs to have fan to produce the wind current, dispel the heat accumulation in the power to the outside of the power, let the temperature in the power keep in a certain range, ensure the power supply that the power can be steady, also can guarantee the life of the power. In general, various kinds of fans in the existing power supply are used, the characteristics of each fan are different, a common power supply fan is shown in fig. 1, a 4-wire fan is used, an input signal for testing the fan characteristics is provided through a PWM CONTROL (fan characteristic test signal line), then an output signal of the actual rotation speed of the fan can be obtained from REVOLUTION SIGNAL (fan rotation speed detection signal line), the existing power supply fan uses a single CONTROL method to CONTROL the rotation speed of the fan, when fans of different manufacturers are used, the fan CONTROL result of a certain manufacturer is found to be poor, when the situation that the rotation speed of the fan is unstable occurs, the power supply fan needs to be removed from a server, then a power supply shell is disassembled, the fan is taken out from the power supply, the manufacturer can only know the brand of the fan to use, if the characteristics of each fan used by the power supply are different, the fan characteristic test strategy which can be accepted by each fan must be repeatedly verified, the best CONTROL can not be performed for a certain fan factory, when the number of fans is increased, the fan CONTROL mechanism of the upper and lower individual fans which are used is found to have the upper and lower specifications, when the number of fans are used are found to be poor, the fan CONTROL mechanism of the fan CONTROL characteristics is required to be adjusted according to the fan CONTROL characteristics, the fan CONTROL characteristics of the fan CONTROL mechanism is required to be poor, and the fan CONTROL characteristics cannot be adjusted according to the fan CONTROL characteristics to the existing fan CONTROL strategies. Therefore, there is a need to provide a method, a system, a computer device and a storage medium for testing the characteristics of fans of different manufacturers without disassembling the power supply housing, so as to find the characteristics of the fans and provide an accurate control strategy. Disclosure of Invention In view of the foregoing, it is desirable to provide a method, system, computer device, and storage medium for testing fan characteristics. In one aspect, a method for testing fan characteristics is provided, and the method is applied to a power supply, and includes: responding to a fan rotating speed control adjustment instruction sent by a server host, and enabling the power supply module to enter a fan rotating speed control adjustment mode; based on the fan rotating speed control adjustment mode, acquiring control parameters corresponding to a target fan and the target rotating speed to adjust the initial rotating speed of the target fan; linearly connecting target actual rotation speed values obtained by the target fan in the adjustment process to generate a target curve; And responding to the detection that the change amount between the current actual rotating speed corresponding to the target rotating speed gear and the previous actual rotating speed is smaller than a first preset value, and finishing the characteristic test of the target fan when the smoothness of the target curve is larger than a second preset value. In one embodiment, the method further comprises: And in response to detecting that the change amount between the current actual rotating speed corresponding to the target rotating speed gear and the last actual rotating speed is larger than or equal to a first preset value, and/or when the smoothness of the target curve is smaller than or equal to a second preset value, the control parameters corresponding to the target fan are acquired again and adjusted until the change amount between the current actual rotating speed corresponding to the target rotating speed gear and the last actual rotating speed is smaller than the first preset value, and the smoothness of the target curve is larger than the second preset value. In one embodiment, the method for acquiring the control parameters corresponding to the target fan further comprises the following steps: Resetting the timer value; Adjusting the target fan from the initial rotating speed to a first target rotating speed, and starting timing; Reading the actual rotation speed value of the target fan after adjustment; stopping timing and reading a firs