Fan characteristic test method, system, computer device and storage medium

By implementing a fan characteristic testing method in the power supply, generating target curves and optimizing control strategies, the problem of unstable fan speed caused by differences in fan characteristics among different manufacturers is solved, thereby improving the power supply's heat dissipation efficiency and lifespan.

CN116677635BActive Publication Date: 2026-05-12INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
INSPUR SUZHOU INTELLIGENT TECH CO LTD
Filing Date
2023-05-22
Publication Date
2026-05-12

AI Technical Summary

Technical Problem

Existing power supplies cannot provide personalized control based on fan characteristics when using fans from different manufacturers, resulting in unstable fan speeds, which affects heat dissipation and lifespan.

Method used

A fan characteristic testing method is provided, which obtains the fan's control parameters and target speed through the power module without disassembling the casing, generates a target curve, and detects the amount of change and smoothness when the fan is adjusted to the target speed to complete the fan characteristic test.

Benefits of technology

Without disassembling the power supply casing, it accurately identifies and optimizes the characteristics of fans from different manufacturers, improves the precision of fan speed control, ensures the power supply operates in a stable temperature environment, and reduces troubleshooting time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116677635B_ABST
    Figure CN116677635B_ABST
Patent Text Reader

Abstract

The application relates to a fan characteristic test method, a system, computer equipment and a storage medium. The method comprises the following steps: when a fan rotating speed control adjustment instruction issued by a server host is received, a power module enters a fan rotating speed control adjustment mode; control parameters corresponding to a target fan and a target rotating speed are obtained, and the initial rotating speed of the target fan is adjusted; a target actual rotating speed value obtained by the target fan in the adjustment process is linearly connected to generate a target curve; when it is detected that the change amount between the current actual rotating speed corresponding to the target fan adjustment to the target rotating speed gear and the previous actual rotating speed is less than a first preset value, and the smoothness of the target curve is greater than a second preset value, the characteristic test of the target fan is completed. According to the application, the characteristics of the fan can be found out by testing the fan control for fans of different manufacturers, and the characteristics of the fan are optimized to improve the precision of controlling the rotating speed of the fan.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of fan control technology, and in particular to a fan characteristic testing method, system, computer device, and storage medium. Background Technology

[0002] The power supply that powers a server requires an internal fan to generate airflow, expelling heat from inside the power supply to the outside and maintaining its internal temperature within a certain range. This ensures stable power delivery and extends the power supply's lifespan. Currently, power supplies typically use fans from various brands, each with different characteristics. Common power supply fans include... Figure 1 As shown, a 4-wire fan is used, with the PWM CONTROL (fan characteristic test signal line) providing the input signal for fan characteristic testing. The actual fan speed output signal can then be obtained from the REVOLUTION SIGNAL (fan speed detection signal line). Existing power supplies use a single control method to control fan speed. When using fans from different manufacturers, it is found that the control results of a certain manufacturer's fan are poor, leading to unstable fan speeds. In such cases, the power supply needs to be removed from the server, the power supply casing needs to be opened, and the fan needs to be removed from the power supply to determine the fan brand. If the characteristics of the fans used by different manufacturers are different, it is necessary to repeatedly verify and find a fan characteristic testing strategy that is acceptable for all fans. It is impossible to achieve optimal control for a specific fan manufacturer. As the number of fans used increases, it is found that some individual fans have upper and lower limits of specifications, causing unstable control of some fans and affecting the power supply's heat dissipation mechanism. It is necessary to adjust the fan control strategy again according to the characteristics of the encountered fans. However, the existing fan control strategy cannot be adjusted according to the characteristics of individual manufacturers' fans, resulting in poor fan characteristic testing, affecting the power supply's heat dissipation and lifespan.

[0003] Therefore, there is an urgent need to propose a fan characteristic testing method, system, computer equipment, and storage medium to test fans from different manufacturers without disassembling the power supply casing, thereby identifying fan characteristics and providing accurate control strategies. Summary of the Invention

[0004] Therefore, it is necessary to provide a method, system, computer equipment, and storage medium for testing fan characteristics to address the aforementioned technical problems.

[0005] On the one hand, a fan characteristic testing method is provided, applied to a power supply, the method comprising:

[0006] Upon receiving a fan speed control adjustment command from the server host, the power module enters the fan speed control adjustment mode;

[0007] Based on the fan speed control adjustment mode, the control parameters and target speed of the target fan are obtained, and the initial speed of the target fan is adjusted accordingly.

[0008] The target actual speed values ​​obtained during the adjustment process of the target fan are linearly connected to generate a target curve.

[0009] When the change between the current actual speed of the target fan adjusted to the target speed gear and the previous actual speed is less than a first preset value, and the smoothness of the target curve is greater than a second preset value, the characteristic test of the target fan is completed.

[0010] In one embodiment, it further includes:

[0011] In response to detecting that the change between the current actual speed of the target fan adjusted to the target speed gear and the previous actual speed is greater than or equal to a first preset value, and / or the smoothness of the target curve is less than or equal to a second preset value, the control parameters corresponding to the target fan are reacquired and adjusted until the change between the current actual speed of the target fan adjusted to the target speed gear and the previous actual speed is less than the first preset value, and the smoothness of the target curve is greater than the second preset value.

[0012] In one embodiment, the method for obtaining the control parameters corresponding to the target fan includes:

[0013] Reset the timer value;

[0014] Adjust the target fan speed from its initial speed to the first target speed and start timing;

[0015] Read the actual speed value of the target fan after adjustment;

[0016] In response to detecting that the change in the current actual speed value of the target fan from the previous actual speed value is less than a first preset value, the timing is stopped and the first timing value is read;

[0017] Reset the timer value;

[0018] The target fan speed is adjusted from the first target speed to the second target speed, and a timer is started, wherein the second target speed is greater than the first target speed;

[0019] Read the instantaneous current value of the target fan when it is adjusted to the second target speed;

[0020] In response to the detection that the instantaneous current value meets the preset standard, the actual speed value of the adjusted target fan is read;

[0021] In response to detecting that the change in the current actual speed value of the target fan from the previous actual speed value is less than a first preset value, the timing is stopped and a second timing value is read;

[0022] Based on the first timing value, the second timing value, and the instantaneous current value, the first control parameters of the target fan are determined.

[0023] In one embodiment, the method for obtaining the control parameters corresponding to the target fan further includes:

[0024] Reset the timer value;

[0025] Adjust the target fan speed from the third target speed to the fourth target speed and start timing;

[0026] Read the actual speed value of the target fan after adjustment;

[0027] In response to detecting that the change in the current actual speed value of the target fan from the previous actual speed value is less than a first preset value, the timing is stopped and a third timing value is read;

[0028] Define the second control parameter based on the third timing value;

[0029] Where |Z1-Z2|<|Z3-Z4|, Z1 represents the third target speed value, Z2 represents the fourth target speed value, Z3 represents the first target speed value, and Z4 represents the second target speed value.

[0030] In one embodiment, the method for obtaining the target actual rotational speed value includes:

[0031] In response to detecting that the change between the current actual speed and the previous actual speed of the target fan adjusted to the target speed gear is less than a first preset value, the value corresponding to the current actual speed is defined as the target actual speed value.

[0032] In one embodiment, the method for calculating the change includes:

[0033]

[0034] Where A represents the change, X1 represents the current actual speed, and X2 represents the previous actual speed.

[0035] On the other hand, a fan characteristic testing system is provided, the system including a current detection device, a server host, a fan and a power module;

[0036] The server host is communicatively connected to the power module and is used to send fan characteristic test and adjustment commands to the power module;

[0037] The power module is used to enter the fan speed control adjustment mode in response to receiving a fan speed control adjustment command from the server host, to obtain the control parameters and target speed of the fan, to adjust the initial speed of the fan, to linearly connect the target actual speed value obtained by the target fan during the adjustment process, to generate a target curve, and to complete the characteristic test of the target fan when it is detected that the change between the current actual speed corresponding to the target speed gear and the previous actual speed is less than a first preset value, and the smoothness of the target curve is greater than a second preset value.

[0038] The current detection device is connected to the power module and is used to detect the instantaneous current value obtained by the fan during the adjustment process, so that the power module can obtain the corresponding control parameters of the fan.

[0039] In one embodiment, the power module further includes a first detection unit, a second detection unit, a control unit, a control chip, a recording unit, a display unit, a timing unit, and a communication unit.

[0040] The communication unit is used for communication connection between the power module and the server host.

[0041] The first detection unit is used to read the actual speed value obtained during the fan speed adjustment process;

[0042] The second detection unit is used to read the instantaneous current value uploaded by the current detection device;

[0043] The control unit is used to control the fan speed;

[0044] The timing unit is used to acquire timing values ​​during the fan adjustment process;

[0045] The control chip is used to acquire the control parameters corresponding to the fan;

[0046] The recording unit is used to record and store the data obtained during the adjustment process;

[0047] The display unit is used to display the control parameters and instantaneous current value of the fan.

[0048] In another aspect, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to perform the following steps:

[0049] Upon receiving a fan speed control adjustment command from the server host, the power module enters the fan speed control adjustment mode;

[0050] Based on the fan speed control adjustment mode, the control parameters and target speed of the target fan are obtained, and the initial speed of the target fan is adjusted accordingly.

[0051] The target actual speed values ​​obtained during the adjustment process of the target fan are linearly connected to generate a target curve.

[0052] When the change between the current actual speed of the target fan adjusted to the target speed gear and the previous actual speed is less than a first preset value, and the smoothness of the target curve is greater than a second preset value, the characteristic test of the target fan is completed.

[0053] In another aspect, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, performs the following steps:

[0054] Upon receiving a fan speed control adjustment command from the server host, the power module enters the fan speed control adjustment mode;

[0055] Based on the fan speed control adjustment mode, the control parameters and target speed of the target fan are obtained, and the initial speed of the target fan is adjusted accordingly.

[0056] The target actual speed values ​​obtained during the adjustment process of the target fan are linearly connected to generate a target curve.

[0057] When the change between the current actual speed of the target fan adjusted to the target speed gear and the previous actual speed is less than a first preset value, and the smoothness of the target curve is greater than a second preset value, the characteristic test of the target fan is completed.

[0058] The aforementioned fan characteristic testing method, system, computer equipment, and storage medium include the following steps: Upon receiving a fan speed control adjustment command from a server host, the power module enters a fan speed control adjustment mode; based on the fan speed control adjustment mode, the control parameters and target speed corresponding to the target fan are obtained, and the initial speed of the target fan is adjusted; the target actual speed value obtained during the adjustment process is linearly connected to generate a target curve; and upon detecting that the change between the current actual speed corresponding to the target fan's adjusted speed level and the previous actual speed is less than a first preset value, and the smoothness of the target curve is greater than a second preset value, the characteristic test of the target fan is completed. This application can identify the characteristics of fans from different manufacturers through fan control testing methods without disassembling the power supply casing, and optimize the fan characteristics to improve the accuracy of fan speed control. Attached Figure Description

[0059] Figure 1 This is a schematic diagram of the structure of a conventional power supply fan provided in the background art;

[0060] Figure 2 This is a flowchart illustrating a fan characteristic testing method in one embodiment;

[0061] Figure 3 This is a schematic diagram of the fan characteristic testing system in one embodiment;

[0062] Figure 4 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0063] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0064] It should be understood that, in the description of this application, unless the context explicitly requires it, words such as "including" or "comprising" throughout the specification should be interpreted as including rather than exclusive or exhaustive; that is, meaning "including but not limited to".

[0065] It should also be understood that the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance. Furthermore, in the description of this application, unless otherwise stated, "a plurality of" means two or more.

[0066] It should be noted that the terms "S1," "S2," etc., are used only for descriptive purposes and do not specifically refer to the order or sequence, nor are they intended to limit this application. They are merely for the convenience of describing the method of this application and should not be construed as indicating the sequential order of the steps. Furthermore, the technical solutions of the various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. When the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed in this application.

[0067] Example 1: In one example, as Figure 2 As shown, a fan characteristic testing method is provided, applied to a power supply, including the following steps:

[0068] S1: Upon receiving a fan speed control adjustment command from the server host, the power module enters the fan speed control adjustment mode.

[0069] It should be noted that the server host (CPU, Central Processing Unit) refers to a computer host with a faster processing speed, such as a personal desktop computer (PC). It is equipped with a high-power power supply specially designed for the server host. The power supply module (PSU) is usually located inside the server host casing and is responsible for powering the server host. Its calculation and adjustment process is operated by a microcontroller (MCU) located in the power supply module. In this application, the host computer communicates with the communication unit of the power supply module through the I2C communication interface. That is, the host computer is the server host and is used to send commands, and the slave is the power supply module and is used to receive commands.

[0070] Furthermore, when fan characteristic testing and adjustment are required, the server host sends a fan characteristic testing and adjustment command to the power module. When the power module's control chip (DSP, Digital Signal Processing) receives the fan characteristic testing and adjustment command, it enters the fan speed control adjustment mode and sets the fan adjustment status flag. After the power module detects that the fan adjustment status flag has been set, it will release the control of the fan in normal mode to avoid interference when measuring fan characteristics in adjustment mode.

[0071] S2: Based on the fan speed control adjustment mode, obtain the control parameters and target speed corresponding to the target fan and adjust the initial speed of the target fan.

[0072] It should be noted that the method for obtaining the control parameters corresponding to the target fan includes:

[0073] Reset the timer value;

[0074] The control unit adjusts the target fan from its initial speed to the first target speed and starts the timing unit. For example, the first target speed can be 10% * the maximum speed. The maximum speed is defined by the fan manufacturer's specification. For example, the fan manufacturer may define the maximum speed (full speed) as 25000rpm ±10%, which means that the fan can operate at a maximum speed between 22500rpm (22500 revolutions per minute) and 27500rpm. The initial speed can be set to 0% * the maximum speed, that is, the fan is adjusted from the stopped state to the state of 10% * the maximum speed.

[0075] The first detection unit reads the actual speed value of the target fan after adjustment. That is, when the speed is adjusted from the initial speed to the first target speed, the actual speed may not be the exact first target speed due to factors such as friction, but may fluctuate. Therefore, the actual speed value of the target fan is read here for subsequent calculation of the change.

[0076] In response to detecting that the change in the current actual speed value of the target fan from the previous actual speed value is less than a first preset value, the timing is stopped, and a first timing value is read. The preferred value for this change is 1%, wherein the method for calculating the change includes:

[0077]

[0078] Where A represents the change, X1 represents the current actual speed, and X2 represents the previous actual speed. This calculation formula is also applicable to the calculation of the change mentioned below, and will not be repeated here.

[0079] For example, assuming the fan's maximum speed is 25,000 rpm, when a 10% command is set, the fan speed will begin to approach 10% * 25,000 rpm = 2,500 rpm (ideal value). Because the fan motor is a mechanical response, it takes some time to complete the speed command. The DSP will determine in real time the change between the current detected fan speed (e.g., 2512 rpm) and the previous detected speed (e.g., 2487 rpm) = [(2512-2487) / 2512] * 100% = 0.995%. As long as it is less than 1%, the fan speed is considered stable.

[0080] When the fan speed is stable, the recording unit records the fan speed set value, the actual fan speed value, and the timing value (the stable time of fan control, i.e., the first timing value).

[0081] Furthermore, reset the timer value;

[0082] The target fan speed is adjusted from the first target speed to the second target speed, and the timing unit is started to start timing. The second target speed is greater than the first target speed. For example, the second target speed can be 100% * the maximum speed.

[0083] Based on the second detection unit, the instantaneous current value of the target fan when it is adjusted to the second target speed is read from the current detection device, that is, the instantaneous full-speed current value of the fan;

[0084] The system uses a control chip (DSP) to determine whether the instantaneous full-speed current value of the fan meets the specifications defined in the fan datasheet, i.e., the preset standard. If it does not meet the standard, it will exit the adjustment mode and return to the normal mode, and display the fan abnormality on the display unit to remind the user to repair it in time.

[0085] If the instantaneous current value is detected to meet the preset standard, the actual speed value of the adjusted target fan is read using the first detection unit;

[0086] In response to the detection that the change in the current actual speed value of the target fan from the previous actual speed value is less than a first preset value, the timing is stopped, and the second timing value (the stabilization time of the fan control), as well as the fan speed setting value, the actual fan speed value, and the current value of the fan at instantaneous full speed (the current value varies for fans from different manufacturers) are read.

[0087] Based on the first timing value, the second timing value, and the instantaneous current value, the first control parameters of the target fan are determined. The fan contains a fan motor and a microcontroller. The power module essentially sends commands to the microcontroller, which then controls the fan motor. The microcontroller also reads the fan motor's output signal, and the power module then reads the actual rotational speed. The firmware inside the microcontroller is controlled by each fan manufacturer based on the characteristics of the fan motor (fan bearings, lubrication devices, fan blade shape affecting airflow and noise control, etc.). Comparing the specifications of fans from different manufacturers reveals differences in the maximum speed range and current values ​​(each fan manufacturer uses different motor / microcontroller circuits). Therefore, the fan manufacturer and its characteristics can be determined using the first timing value, the second timing value, and the instantaneous current value, thus obtaining its initial control parameters, i.e., the first control parameters.

[0088] The method for obtaining the aforementioned first control parameter is to obtain the instantaneous full-speed current value by commanding a large change in speed from 10% to 100% (i.e., a command to jump from 10% to 100%), and record the first timing value and the second timing value to determine the fan model and the first control parameter corresponding to that model. This is used to provide multiple selectable control parameters, and to shorten inspection time and reduce other losses caused by power failure when there are potential problems with the fan, without the need for manual confirmation.

[0089] Furthermore, the method for obtaining the control parameters corresponding to the target fan also includes:

[0090] Reset the timer value;

[0091] The target fan speed is adjusted from the third target speed to the fourth target speed, and the timing unit is started to begin timing. Here, the speed value is reset after obtaining the first control parameter. For example, the third target speed can be 0% * maximum speed, and the fourth target speed can be 10% * maximum speed; or, the third target speed can be 10% * maximum speed, and the fourth target speed can be 20% * maximum speed, and so on. According to the preset step settings, the third target speed can also be: 20% * maximum speed, 30% * maximum speed, 40% * maximum speed, 50% * maximum speed, 60% * maximum speed, 70% * maximum speed, 80% * maximum speed, 90% * maximum speed, 100% * maximum speed, 90% * maximum speed. The fourth target speeds corresponding to 80%*maximum speed, 70%*maximum speed, 60%*maximum speed, 50%*maximum speed, 40%*maximum speed, 30%*maximum speed, and 20%*maximum speed can be: 30%*maximum speed, 40%*maximum speed, 50%*maximum speed, 60%*maximum speed, 70%*maximum speed, 80%*maximum speed, 90%*maximum speed, 100%*maximum speed, 90%*maximum speed, 80%*maximum speed, 70%*maximum speed, 60%*maximum speed, 50%*maximum speed, 40%*maximum speed, 30%*maximum speed, 20%*maximum speed, and 10%*maximum speed, etc., are tested based on the one-to-one correspondence of the above speed values;

[0092] The first detection unit is used to read the actual speed of the target fan after adjustment.

[0093] In response to detecting that the change in the current actual speed value of the target fan from the previous actual speed value is less than a first preset value, the timing is stopped and a third timing value is read, wherein the third timing value can be the result obtained by testing each one-to-one correspondence speed value;

[0094] Define the second control parameter based on the third timing value;

[0095] Where |Z1-Z2|<|Z3-Z4|, Z1 represents the third target speed value, Z2 represents the fourth target speed value, Z3 represents the first target speed value, and Z4 represents the second target speed value.

[0096] The first control parameter is the control parameter corresponding to the large dynamic range fan command, and the second control parameter is the control parameter corresponding to the small dynamic range fan command.

[0097] S3: Linearly connect the actual target speed value obtained during the adjustment process of the target fan to generate the target curve.

[0098] It should be noted that the method for obtaining the target actual rotational speed value includes:

[0099] In response to detecting that the change between the current actual speed and the previous actual speed of the target fan adjusted to the target speed gear is less than a first preset value, the value corresponding to the current actual speed is defined as the target actual speed value. Here, the target speed gear refers to command values ​​such as 10% and 20%, such as the first gear and second gear commonly found on fans. As in the example above, the target actual speed value here can be 2512 rpm.

[0100] Furthermore, the target actual speed values ​​corresponding to the point values ​​formed in each segment are linearly connected, that is, points are taken and connected on a two-dimensional coordinate axis, such as a curve connected on a two-dimensional coordinate axis. For example, when controlling the fan speed, in order to avoid large fluctuations in fan speed caused by large command changes, in practical applications, the speed will gradually approach the target speed. Assuming that the current speed is 10% and the target speed is 50%, it will first be set to 11%, and then after a period of time, it will be set to 12%, and then gradually approach 50%. The response time of the fan under different speed commands is known, that is, the control parameters obtained above. Therefore, in the process of setting the fan speed from 11% to 50%, different fan control stabilization times will be used in different command segments to allow the fan speed to stabilize. A smooth rise is possible, but if the fan control's settling time doesn't match the fan motor's response time, the fan speed will be uneven. If the fan control's settling time is shorter than the fan motor's response time, the fan speed hasn't reached the target speed of the previous command before the next command arrives, making the fan acceleration / deceleration process unstable. If the fan control's settling time is longer than the fan motor's response time, the acceleration process will be like a step, accelerating step by step, rather than a near-linear acceleration. For example, assuming the settling time for 10%-20% is 3 seconds, then the fan waits 3 seconds for each 1% increase. Here, 3 seconds refers to a single segment, generating a point value. By linearly connecting the target actual speed values ​​corresponding to multiple point values, the target curve can be generated.

[0101] S4: When it is detected that the change between the current actual speed of the target fan adjusted to the target speed gear and the previous actual speed is less than a first preset value, and the smoothness of the target curve is greater than a second preset value, the characteristic test of the target fan is completed.

[0102] It should be noted that, based on the control parameters obtained above, the target fan speed is controlled. When the change between the current actual speed and the previous actual speed corresponding to the target speed gear is less than the first preset value, and the smoothness of the target curve is greater than the second preset value, it is determined that the control parameter meets the requirements. Then, the control chip uses the control parameter to replace the original control parameter, resets the fan adjustment status flag, and after the power module detects that the fan adjustment status flag has been reset, it will regain control of the fan in normal mode.

[0103] Furthermore, in response to detecting that the change between the current actual speed of the target fan adjusted to the target speed gear and the previous actual speed is greater than or equal to a first preset value, and / or the smoothness of the target curve is less than or equal to a second preset value, the control parameters corresponding to the target fan are reacquired and adjusted until the change between the current actual speed of the target fan adjusted to the target speed gear and the previous actual speed is less than the first preset value, and the smoothness of the target curve is greater than the second preset value.

[0104] In the aforementioned fan characteristic testing method, upon receiving a fan speed control adjustment command from the server host, the power module enters a fan speed control adjustment mode; based on the fan speed control adjustment mode, the control parameters and target speed corresponding to the target fan are obtained, and the initial speed of the target fan is adjusted; the target actual speed values ​​obtained by the target fan during the adjustment process are linearly connected to generate a target curve; upon detecting that the change between the current actual speed corresponding to the target fan adjusted to the target speed level and the previous actual speed is less than a first preset value, and the smoothness of the target curve is greater than a second preset value, the characteristic test of the target fan is completed. In the specific implementation process of this application, the control chip (DSP) inside the power module is used to control... The system detects and records the fan speed response characteristics, including the instantaneous current value when the fan rapidly spins up. It calculates optimized control parameters for individual fans, allowing for precise fan speed control during normal use, ensuring the power supply operates in a relatively stable temperature environment. It can also quickly determine if fan aging is causing control problems, ensuring the power supply provides stable output over extended periods and preventing power supply malfunctions from affecting server operation. Furthermore, when a fan from a particular brand has potential issues, the system can use command execution to obtain relevant fan parameters and characteristics to identify the fan brand, quickly filtering out power supplies using the same brand of fans without requiring manual inspection by opening the power supply casing, thus shortening inspection time and reducing other losses caused by power supply failures.

[0105] It should be understood that, although Figure 2The steps in the flowchart are shown sequentially as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order in which these steps are executed, and they can be performed in other orders. Figure 2 At least some of the steps in the process may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.

[0106] Example 2: In one example, as Figure 3 As shown, a fan characteristic testing system is provided. The system includes a current detection device, a server host, a fan, and a power supply module, wherein:

[0107] The server host is connected to the power module via I2C communication and is used to send fan characteristic test and adjustment commands to the power module;

[0108] The power module is used to enter the fan speed control adjustment mode in response to receiving a fan speed control adjustment command from the server host, to obtain the control parameters and target speed of the fan, to adjust the initial speed of the fan, to linearly connect the target actual speed value obtained by the target fan during the adjustment process, to generate a target curve, and to complete the characteristic test of the target fan when it is detected that the change between the current actual speed corresponding to the target speed gear and the previous actual speed is less than a first preset value, and the smoothness of the target curve is greater than a second preset value.

[0109] The current detection device is connected to the power module and is used to detect the instantaneous current value obtained by the fan during the adjustment process, so that the power module can obtain the corresponding control parameters of the fan.

[0110] Furthermore, the power module includes a first detection unit, a second detection unit, a control unit, a control chip, a recording unit, a display unit, a timing unit, and a communication unit;

[0111] The communication unit is used for communication connection between the power module and the server host.

[0112] The first detection unit is used to read the actual speed value obtained during the fan speed adjustment process;

[0113] The second detection unit is used to read the instantaneous current value uploaded by the current detection device;

[0114] The control unit is used to control the fan speed;

[0115] The timing unit is used to acquire timing values ​​during the fan adjustment process;

[0116] The control chip is used to acquire the control parameters corresponding to the fan;

[0117] The recording unit is used to record and store the data obtained during the adjustment process;

[0118] The display unit is used to display the control parameters and instantaneous current value of the fan.

[0119] Specific limitations regarding the fan characteristic testing system can be found in the limitations of the fan characteristic testing method described above, and will not be repeated here. Each module in the aforementioned fan characteristic testing system can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in hardware or independent of the processor in the computer device, or stored in software in the memory of the computer device, so that the processor can call and execute the corresponding operations of each module.

[0120] Example 3: In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows. Figure 4 As shown, the computer device includes a processor, memory, network interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The network interface is used to communicate with external terminals via a network connection. When the computer program is executed by the processor, it implements a fan characteristic testing method. The display screen can be an LCD screen or an e-ink screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the computer device casing, or an external keyboard, touchpad, or mouse.

[0121] Those skilled in the art will understand that Figure 4 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0122] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to perform the following steps:

[0123] S1: Upon receiving a fan speed control adjustment command from the server host, the power module enters the fan speed control adjustment mode;

[0124] S2: Based on the fan speed control adjustment mode, obtain the control parameters and target speed corresponding to the target fan and adjust the initial speed of the target fan accordingly;

[0125] S3: Linearly connect the actual target speed values ​​obtained during the adjustment process of the target fan to generate a target curve;

[0126] S4: When it is detected that the change between the current actual speed of the target fan adjusted to the target speed gear and the previous actual speed is less than a first preset value, and the smoothness of the target curve is greater than a second preset value, the characteristic test of the target fan is completed.

[0127] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0128] In response to detecting that the change between the current actual speed of the target fan adjusted to the target speed gear and the previous actual speed is greater than or equal to a first preset value, and / or the smoothness of the target curve is less than or equal to a second preset value, the control parameters corresponding to the target fan are reacquired and adjusted until the change between the current actual speed of the target fan adjusted to the target speed gear and the previous actual speed is less than the first preset value, and the smoothness of the target curve is greater than the second preset value.

[0129] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0130] Reset the timer value;

[0131] Adjust the target fan speed from its initial speed to the first target speed and start timing;

[0132] Read the actual speed value of the target fan after adjustment;

[0133] In response to detecting that the change in the current actual speed value of the target fan from the previous actual speed value is less than a first preset value, the timing is stopped and the first timing value is read;

[0134] Reset the timer value;

[0135] The target fan speed is adjusted from the first target speed to the second target speed, and a timer is started, wherein the second target speed is greater than the first target speed;

[0136] Read the instantaneous current value of the target fan when it is adjusted to the second target speed;

[0137] In response to the detection that the instantaneous current value meets the preset standard, the actual speed value of the adjusted target fan is read;

[0138] In response to detecting that the change in the current actual speed value of the target fan from the previous actual speed value is less than a first preset value, the timing is stopped and a second timing value is read;

[0139] Based on the first timing value, the second timing value, and the instantaneous current value, the first control parameters of the target fan are determined.

[0140] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0141] Reset the timer value;

[0142] Adjust the target fan speed from the third target speed to the fourth target speed and start timing;

[0143] Read the actual speed value of the target fan after adjustment;

[0144] In response to detecting that the change in the current actual speed value of the target fan from the previous actual speed value is less than a first preset value, the timing is stopped and a third timing value is read;

[0145] Define the second control parameter based on the third timing value;

[0146] Where |Z1-Z2|<|Z3-Z4|, Z1 represents the third target speed value, Z2 represents the fourth target speed value, Z3 represents the first target speed value, and Z4 represents the second target speed value.

[0147] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0148] In response to detecting that the change between the current actual speed and the previous actual speed of the target fan adjusted to the target speed gear is less than a first preset value, the value corresponding to the current actual speed is defined as the target actual speed value.

[0149] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0150] The change is calculated using the following formula:

[0151]

[0152] Where A represents the change, X1 represents the current actual speed, and X2 represents the previous actual speed.

[0153] Example 4: In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, performs the following steps:

[0154] S1: Upon receiving a fan speed control adjustment command from the server host, the power module enters the fan speed control adjustment mode;

[0155] S2: Based on the fan speed control adjustment mode, obtain the control parameters and target speed corresponding to the target fan and adjust the initial speed of the target fan accordingly;

[0156] S3: Linearly connect the actual target speed values ​​obtained during the adjustment process of the target fan to generate a target curve;

[0157] S4: In response to detecting that the change between the current actual speed of the target fan adjusted to the target speed gear and the previous actual speed is less than a first preset value, and the smoothness of the target curve is greater than a second preset value, the characteristic test of the target fan is completed.

[0158] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0159] In response to detecting that the change between the current actual speed of the target fan adjusted to the target speed gear and the previous actual speed is greater than or equal to a first preset value, and / or the smoothness of the target curve is less than or equal to a second preset value, the control parameters corresponding to the target fan are reacquired and adjusted until the change between the current actual speed of the target fan adjusted to the target speed gear and the previous actual speed is less than the first preset value, and the smoothness of the target curve is greater than the second preset value.

[0160] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0161] Reset the timer value;

[0162] Adjust the target fan speed from its initial speed to the first target speed and start timing;

[0163] Read the actual speed value of the target fan after adjustment;

[0164] In response to detecting that the change in the current actual speed value of the target fan from the previous actual speed value is less than a first preset value, the timing is stopped and the first timing value is read;

[0165] Reset the timer value;

[0166] The target fan speed is adjusted from the first target speed to the second target speed, and a timer is started, wherein the second target speed is greater than the first target speed;

[0167] Read the instantaneous current value of the target fan when it is adjusted to the second target speed;

[0168] In response to the detection that the instantaneous current value meets the preset standard, the actual speed value of the adjusted target fan is read;

[0169] In response to detecting that the change in the current actual speed value of the target fan from the previous actual speed value is less than a first preset value, the timing is stopped and a second timing value is read;

[0170] Based on the first timing value, the second timing value, and the instantaneous current value, the first control parameters of the target fan are determined.

[0171] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0172] Reset the timer value;

[0173] Adjust the target fan speed from the third target speed to the fourth target speed and start timing;

[0174] Read the actual speed value of the target fan after adjustment;

[0175] In response to detecting that the change in the current actual speed value of the target fan from the previous actual speed value is less than a first preset value, the timing is stopped and a third timing value is read;

[0176] Define the second control parameter based on the third timing value;

[0177] Where |Z1-Z2|<|Z3-Z4|, Z1 represents the third target speed value, Z2 represents the fourth target speed value, Z3 represents the first target speed value, and Z4 represents the second target speed value.

[0178] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0179] In response to detecting that the change between the current actual speed and the previous actual speed of the target fan adjusted to the target speed gear is less than a first preset value, the value corresponding to the current actual speed is defined as the target actual speed value.

[0180] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0181] The change is calculated using the following formula:

[0182]

[0183] Where A represents the change, X1 represents the current actual speed, and X2 represents the previous actual speed.

[0184] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0185] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0186] The embodiments described above are merely examples of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application.

Claims

1. A fan characteristic testing method, applied to a power supply, characterized in that, The method includes: Upon receiving a fan speed control adjustment command from the server host, the power module enters the fan speed control adjustment mode; Based on the fan speed control adjustment mode, the control parameters and target speed of the target fan are obtained, and the initial speed of the target fan is adjusted accordingly. The target actual speed values ​​obtained during the adjustment process of the target fan are linearly connected to generate a target curve. When the change between the current actual speed of the target fan adjusted to the target speed gear and the previous actual speed is less than a first preset value, and the smoothness of the target curve is greater than a second preset value, the characteristic test of the target fan is completed. The method for obtaining the control parameters corresponding to the target fan includes: Reset the timer value; Adjust the target fan speed from its initial speed to the first target speed and start timing; Read the actual speed value of the target fan after adjustment; In response to detecting that the change in the current actual speed value of the target fan from the previous actual speed value is less than a first preset value, the timing is stopped and the first timing value is read; Reset the timer value; The target fan speed is adjusted from the first target speed to the second target speed, and a timer is started, wherein the second target speed is greater than the first target speed; Read the instantaneous current value of the target fan when it is adjusted to the second target speed; In response to the detection that the instantaneous current value meets the preset standard, the actual speed value of the adjusted target fan is read; In response to detecting that the change in the current actual speed value of the target fan from the previous actual speed value is less than a first preset value, the timing is stopped and a second timing value is read; Based on the first timing value, the second timing value, and the instantaneous current value, the first control parameters of the target fan are determined; The method for obtaining the control parameters corresponding to the target fan also includes: Reset the timer value; Adjust the target fan speed from the third target speed to the fourth target speed and start timing; Read the actual speed value of the target fan after adjustment; In response to detecting that the change in the current actual speed value of the target fan from the previous actual speed value is less than a first preset value, the timing is stopped and a third timing value is read; Define the second control parameter based on the third timing value; in, , This represents the third target rotational speed value. This represents the fourth target rotational speed value. This represents the first target rotational speed value. This indicates the second target rotational speed value.

2. The fan characteristic testing method according to claim 1, characterized in that, The method further includes: In response to detecting that the change between the current actual speed of the target fan adjusted to the target speed gear and the previous actual speed is greater than or equal to a first preset value, and / or the smoothness of the target curve is less than or equal to a second preset value, the control parameters corresponding to the target fan are reacquired and adjusted until the change between the current actual speed of the target fan adjusted to the target speed gear and the previous actual speed is less than the first preset value, and the smoothness of the target curve is greater than the second preset value.

3. The fan characteristic testing method according to claim 1, characterized in that, The method for obtaining the target actual rotational speed value includes: In response to detecting that the change between the current actual speed and the previous actual speed of the target fan adjusted to the target speed gear is less than a first preset value, the value corresponding to the current actual speed is defined as the target actual speed value.

4. The fan characteristic testing method according to any one of claims 1-3, characterized in that, The method for calculating the change includes: ; in, Indicates the amount of change. Indicates the current actual speed. This indicates the previous actual rotational speed.

5. A fan characteristic testing system, characterized in that, The system includes a current detection device, a server host, a fan, and a power module; The server host is communicatively connected to the power module and is used to send fan characteristic test and adjustment commands to the power module; The power module is used to enter the fan speed control adjustment mode in response to receiving a fan speed control adjustment command from the server host, to obtain the control parameters and target speed of the fan, to adjust the initial speed of the fan, to linearly connect the target actual speed value obtained by the target fan during the adjustment process, to generate a target curve, and to complete the characteristic test of the target fan when it is detected that the change between the current actual speed corresponding to the target speed gear and the previous actual speed is less than a first preset value, and the smoothness of the target curve is greater than a second preset value. The current detection device is connected to the power module and is used to detect the instantaneous current value obtained by the fan during the adjustment process, so that the power module can obtain the corresponding control parameters of the fan.

6. The fan characteristic testing system according to claim 5, characterized in that, The power module includes a first detection unit, a second detection unit, a control 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 module and the server host. The first detection unit is used to read the actual speed value obtained during the fan speed adjustment process; The second detection unit is used to read the instantaneous current value uploaded by the current detection device; The control unit is used to control the fan speed; The timing unit is used to acquire timing values ​​during the fan adjustment process; The control chip is used to acquire the control parameters corresponding to the fan; The recording unit is used to record and store the data obtained during the adjustment process; The display unit is used to display the control parameters and instantaneous current value of the fan.

7. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 4.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 4.