[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN117489627A - Fan locked rotor test method and device, control terminal equipment and storage medium - Google Patents

Fan locked rotor test method and device, control terminal equipment and storage medium Download PDF

Info

Publication number
CN117489627A
CN117489627A CN202311829133.5A CN202311829133A CN117489627A CN 117489627 A CN117489627 A CN 117489627A CN 202311829133 A CN202311829133 A CN 202311829133A CN 117489627 A CN117489627 A CN 117489627A
Authority
CN
China
Prior art keywords
fan
locked
rotor
stall
locked rotor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202311829133.5A
Other languages
Chinese (zh)
Other versions
CN117489627B (en
Inventor
张鹏
刘坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Metabrain Intelligent Technology Co Ltd
Original Assignee
Suzhou Metabrain Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Metabrain Intelligent Technology Co Ltd filed Critical Suzhou Metabrain Intelligent Technology Co Ltd
Priority to CN202311829133.5A priority Critical patent/CN117489627B/en
Publication of CN117489627A publication Critical patent/CN117489627A/en
Application granted granted Critical
Publication of CN117489627B publication Critical patent/CN117489627B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P29/00Arrangements for regulating or controlling electric motors, appropriate for both AC and DC motors
    • H02P29/02Providing protection against overload without automatic interruption of supply
    • H02P29/024Detecting a fault condition, e.g. short circuit, locked rotor, open circuit or loss of load
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F04POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
    • F04DNON-POSITIVE-DISPLACEMENT PUMPS
    • F04D27/00Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids
    • F04D27/001Testing thereof; Determination or simulation of flow characteristics; Stall or surge detection, e.g. condition monitoring
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B30/00Energy efficient heating, ventilation or air conditioning [HVAC]
    • Y02B30/70Efficient control or regulation technologies, e.g. for control of refrigerant flow, motor or heating

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Control Of Electric Motors In General (AREA)

Abstract

The invention relates to the technical field of computers, and discloses a fan locked rotor test method, a device, control terminal equipment and a storage medium, wherein the method comprises the following steps: acquiring a fan locked rotor test instruction; acquiring fan operation parameter information corresponding to the fan locked rotor test instruction based on the fan locked rotor test instruction and a fan locked rotor influence factor; generating a fan locked rotor strategy according to the fan operation parameter information and the fan locked rotor influence factor; and performing locked rotor testing on the controlled fan according to the fan locked rotor strategy. According to the invention, different locked rotor strategies can be generated to perform full and complete locked rotor test on the fan, manual participation is not needed, and the locked rotor tool is not required to be in physical contact with the fan blade to forcibly prevent the fan blade from running, so that the safety of a tester can be ensured, the damage of the fan blade caused by the intervention of the locked rotor tool can be prevented, and compared with the manual test, the automatic locked rotor test has higher efficiency, more accurate result and good practicability.

Description

Fan locked rotor test method and device, control terminal equipment and storage medium
Technical Field
The invention relates to the technical field of computers, in particular to a fan locked rotor test method, a device, control terminal equipment and a storage medium.
Background
In the performance test project of the server, one test is a locked rotor test, and under the condition that the server is almost fully loaded, the locked rotor tool is utilized to extend into the fan blade of the power supply fan of the server to stop rotating so as to test the related performance of the server.
Disclosure of Invention
In view of the above, the present invention provides a method, an apparatus, a control terminal device and a storage medium for testing fan stall, so as to solve the problem that the manual operation of the fan stall test of the server is inconvenient and has a certain risk.
In a first aspect, the present invention provides a method for testing fan stall, where the method is applied to a control terminal for controlling a power fan, and includes:
acquiring a fan locked rotor test instruction;
acquiring fan operation parameter information corresponding to the fan locked rotor test instruction based on the fan locked rotor test instruction and a fan locked rotor influence factor;
generating a fan locked rotor strategy according to the fan operation parameter information and the fan locked rotor influence factor;
and performing locked rotor testing on the controlled fan according to the fan locked rotor strategy.
By the mode, the fan locked rotor test instruction is obtained; acquiring fan operation parameter information corresponding to the fan locked rotor test instruction based on the fan locked rotor test instruction and a fan locked rotor influence factor; generating a fan locked rotor strategy according to the fan operation parameter information and the fan locked rotor influence factor; and performing locked rotor testing on the controlled fan according to the fan locked rotor strategy. When the locked rotor test is carried out, corresponding fan operation parameter information and a fan locked rotor influence factor are obtained based on a locked rotor test instruction sent by the control terminal, a locked rotor strategy is generated, the controlled fan is subjected to the locked rotor test according to the locked rotor strategy, different locked rotor strategies can be generated to carry out the more complete locked rotor test on the fan, manual participation is not needed, and the locked rotor tool and the fan blade are not needed to be in physical contact to forcibly prevent the fan blade from running, so that the safety of a tester can be ensured, the fan blade can be prevented from being damaged due to the intervention of the locked rotor tool, the automatic locked rotor test is higher in efficiency compared with the manual test, the result is more accurate, and the practicability is good.
In an alternative embodiment, the controlled fan includes a motor, and when the fan stall command is a first stall command, the fan operation information includes: the current steering of the controlled fan, the current rotating speed of the controlled fan and the first locked-rotor time range, and generating a fan locked-rotor strategy according to the fan operation parameter information and the fan locked-rotor influence factor, comprises the following steps:
Determining the locked-rotor direction of the motor of the controlled fan according to the current steering;
determining the locked rotor speed of a motor of a controlled fan according to the current rotating speed and a fan locked rotor influence factor;
and generating a first fan locked rotor strategy according to the locked rotor direction, the locked rotor speed and the first locked rotor time range.
By the method, the locked rotor direction of the motor of the controlled fan is determined according to the current steering, for example, the current steering is clockwise, the locked rotor direction is anticlockwise, namely, the reverse direction of the current steering is determined as the locked rotor direction of the motor of the controlled fan, the current rotating speed and the fan locked rotor influence factor are calculated, the locked rotor speed of the motor of the controlled fan is obtained, and a first fan locked rotor strategy is generated according to the locked rotor direction, the locked rotor speed and a first locked rotor time range.
In an alternative embodiment, generating a first fan stall strategy according to stall direction, stall speed, and first stall time frame includes:
according to the locked-rotor direction and the locked-rotor speed, controlling the blades of the controlled fan to stop rotating;
when the rotation stopping time of the fan blades is in a first locked rotor time range, setting a value of a preset fan state storage area to be a first state value corresponding to a first locked rotor instruction, wherein the first state value is used for indicating that a locked rotor test is a first locked rotor test corresponding to the first locked rotor instruction;
When a first locked rotor stopping test instruction is received within a first locked rotor time range, identifying whether a value of a preset fan state storage area is a first state value or not;
and when the value of the preset fan state storage area is determined to be the first state value, recovering the rotation of the fan blades of the controlled fan.
By the above mode, when the rotation stopping time of the fan blade is within the first rotation blocking time range, the current rotation blocking test is the first rotation blocking test, the value of the preset fan state storage area is set to be the first state value corresponding to the first rotation blocking instruction, when the value of the preset fan state storage area is determined to be the first state value, and the rotation stopping instruction is received within the first rotation blocking time range, and the rotation of the fan blade of the controlled fan is recovered.
In an alternative embodiment, the controlled fan includes a motor, and when the fan stall command is a second stall command, the fan operation information includes: the current steering of the controlled fan, the current rotating speed of the controlled fan, the first locked-rotor time range and the second locked-rotor time range, and generating a fan locked-rotor strategy according to the fan operation parameter information and the fan locked-rotor influence factor, comprises the following steps:
determining the locked-rotor direction of the motor of the controlled fan according to the current steering;
Determining the locked rotor speed of a motor of a controlled fan according to the current rotating speed and a fan locked rotor influence factor;
and generating a second fan locked rotor strategy according to the locked rotor direction, the locked rotor speed, the first locked rotor time range and the second locked rotor time range.
By the method, the locked rotor direction of the motor of the controlled fan is determined according to the current steering, for example, the current steering is clockwise, the locked rotor direction is anticlockwise, namely, the reverse direction of the current steering is determined as the locked rotor direction of the motor of the controlled fan, the current rotating speed and the fan locked rotor influence factor are calculated, the locked rotor speed of the motor of the controlled fan is obtained, and a second fan locked rotor strategy is generated according to the locked rotor direction, the locked rotor speed, the first locked rotor time range and the second locked rotor time range.
In an alternative embodiment, generating the second fan stall policy according to the stall direction, stall speed, first stall time range, and second stall time range includes:
controlling the blades of the fan to stop rotating according to the locked rotating direction and the locked rotating speed;
when the time for controlling the fan blades to stop rotating is within a first locked-rotor time range, setting the value of a preset fan state storage area as a first state value;
When the time for controlling the fan blades to stop rotating enters a second locked-rotor time range, the first state value of the preset fan state storage area is modified to be a second state value corresponding to a second locked-rotor instruction, wherein the second state value is used for indicating that the locked-rotor test is a second locked-rotor test corresponding to the second locked-rotor instruction.
Through the mode, the blade of the fan can be controlled to stop rotating according to the locked rotating direction and the locked rotating speed; and controlling the rotation stopping time to exceed a first locked-rotor time range, when the rotation stopping time exceeds the first locked-rotor time range, setting the value of a preset fan state storage area as a first state value, and when the rotation stopping time of the control fan blade enters a second locked-rotor time range, modifying the first state value into a second state value corresponding to a second locked-rotor instruction, so that all steps in a second locked-rotor test can be fully completed, and the test sufficiency is ensured.
In an alternative embodiment, the controlled fan includes a motor driving circuit, the motor driving circuit includes a first enabling end and a second enabling end, determining a locked rotation direction of a motor of the controlled fan according to a current rotation direction, including:
generating a first level value of a first enabling end and a second level value of a second enabling end according to the current steering;
And controlling the locked-rotor direction of the motor of the controlled fan by using the first level value and the second level value.
By the mode, the level values of the two enabling ends of the motor driving circuit can be used for controlling the locked-rotor direction of the motor of the controlled fan.
In an alternative embodiment, the fan stall influence factor includes a current of the controlled fan, a current temperature of the controlled fan, and a current rotational speed of the controlled fan; determining the locked rotor speed of the motor of the controlled fan according to the current rotating speed and the fan locked rotor influence factor, comprising:
determining a locked rotor correction coefficient of the controlled fan according to the current of the controlled fan, the current temperature of the controlled fan and the current rotating speed of the controlled fan;
and determining the locked rotor speed of the controlled fan according to the locked rotor correction coefficient and the current rotating speed.
In an alternative embodiment, the locked rotor speed of the controlled fan is determined according to the locked rotor correction coefficient and the current rotation speed, specifically by the following formula:
wherein,for the correction coefficient of locked rotor->For the locked speed of the controlled fan, +.>Is the current rotational speed.
In an alternative embodiment, the locked rotor correction coefficient of the controlled fan is determined according to the current of the controlled fan, the current temperature of the controlled fan and the current rotating speed of the controlled fan, specifically by the following formula:
Wherein,for the correction coefficient of locked rotor->For the current rotational speed +.>For the current of the controlled fan, +.>A, b, c, d, e and f are constant, a, for the temperature of the fan being controlled<b,c<d,e<f。
In an alternative embodiment, when the value of the preset fan state storage area is determined to be the first state value, recovering the rotation of the fan blade of the controlled fan includes:
controlling the level value of the first enabling end to be a third level value and controlling the level value of the second enabling end to be a fourth level value;
and controlling the blades of the controlled fan to resume rotation by using the third level value and the fourth level value.
In an alternative embodiment, after modifying the first state value of the preset fan state storage area to the second state value corresponding to the second stall instruction, the method further includes:
and when a second locked rotor test instruction is received in the second locked rotor time range, controlling the blades of the fan to stop rotating.
In an alternative embodiment, when the second stall testing instruction is received within the second stall time range, continuing to control the blades of the fan to stop rotating, including:
and continuously executing the locked-rotor test corresponding to the first locked-rotor test instruction so as to control the fan blades of the controlled fan to stop rotating.
In an alternative embodiment, when the stop locked rotation test command is received within the second locked rotation time range, controlling the blade of the fan to stop rotating includes:
identifying whether a value of a preset fan state storage area is a second state value;
when the value of the preset fan state storage area is determined to be the second state value, the current of the motor of the controlled fan is cut off so as to control the fan blades of the controlled fan to stop rotating.
In an alternative embodiment, the second stall time range is greater than the first stall time range.
In an alternative embodiment, the first stall time range is greater than or equal to 1 second and less than 6 seconds.
In an alternative embodiment, the second stall time range is greater than or equal to 6 seconds.
In a second aspect, the present invention provides a fan stall testing apparatus, comprising:
the first acquisition module is used for acquiring a fan locked rotor test instruction;
the second acquisition module is used for acquiring fan operation parameter information and a fan locked rotor influence factor corresponding to the fan locked rotor test instruction based on the fan locked rotor test instruction;
the generation module is used for generating a fan locked rotor strategy according to the fan operation parameter information and the fan locked rotor influence factor;
And the locked rotor test module is used for carrying out locked rotor test on the controlled fan according to the fan locked rotor strategy.
In some alternative embodiments, the controlled fan includes a motor, and when the fan stall command is a first stall command, the fan operation information includes: the current steering of the controlled fan, the current rotating speed of the controlled fan and the first locked-rotor time range, the generating module comprises:
the first determining unit is used for determining the locked-rotor direction of the motor of the controlled fan according to the current steering;
the second determining unit is used for determining the locked rotor speed of the motor of the controlled fan according to the current rotating speed and the fan locked rotor influence factor;
the first generation unit is used for generating a first fan locked rotor strategy according to the locked rotor direction, the locked rotor speed and the first locked rotor time range.
In some alternative embodiments, the first generating unit includes:
the first control subunit is used for controlling the blades of the controlled fan to stop rotating according to the locked rotating direction and the locked rotating speed;
the first configuration subunit is configured to set a value of a preset fan state storage area to a first state value corresponding to a first stall instruction when the rotation stopping time of the fan blade is within a first stall time range, wherein the first state value is used for indicating that the stall test is a first stall test corresponding to the first stall instruction;
The first identifying subunit is used for identifying whether the value of the preset fan state storage area is a first state value or not when a first locked-rotor stopping test instruction is received in a first locked-rotor time range;
and the recovery subunit is used for recovering the rotation of the fan blades of the controlled fan when the value of the preset fan state storage area is determined to be the first state value.
In some alternative embodiments, the controlled fan includes a motor, and when the fan stall command is a second stall command, the fan operation information includes: the current steering of the controlled fan, the current rotating speed of the controlled fan, the first locked-rotor time range and the second locked-rotor time range, the generating module comprises:
the third determining unit is used for determining the locked-rotor direction of the motor of the controlled fan according to the current steering;
a fourth determining unit, configured to determine a locked rotor speed of the motor of the controlled fan according to the current rotation speed and a fan locked rotor influence factor;
and the second generation unit is used for generating a second fan locked rotor strategy according to the locked rotor direction, the locked rotor speed, the first locked rotor time range and the second locked rotor time range.
In some alternative embodiments, the second generating unit includes:
the second control subunit is used for controlling the blades of the fan to stop rotating according to the locked rotating direction and the locked rotating speed;
The second configuration subunit is used for setting the value of the preset fan state storage area as a first state value when the time for controlling the fan blades to stop rotating is in a first locked-rotor time range;
and the modification subunit is used for modifying the first state value of the preset fan state storage area into a second state value corresponding to a second locked-rotor instruction when the time for controlling the fan blades to stop rotating is in a second locked-rotor time range, wherein the second state value is used for indicating that the locked-rotor test is a second locked-rotor test corresponding to the second locked-rotor instruction.
In some alternative embodiments, the controlled fan includes a motor drive circuit including a first enabling terminal and a second enabling terminal, and the first determining unit includes:
a generating subunit, configured to generate a first level value of the first enabling terminal and a second level value of the second enabling terminal according to the current steering;
and the third control subunit is used for controlling the locked-rotor direction of the motor of the controlled fan by using the first level value and the second level value.
In some alternative embodiments, the fan stall influence factor includes a current of the controlled fan, a current temperature of the controlled fan, and a current rotational speed of the controlled fan, and the second determining unit includes:
The first determining subunit is used for determining a locked rotor correction coefficient of the controlled fan according to the current of the controlled fan, the current temperature of the controlled fan and the current rotating speed of the controlled fan;
and the second determination subunit is used for determining the locked rotor speed of the controlled fan according to the locked rotor correction coefficient and the current rotating speed.
In some alternative embodiments, the second determining subunit is specifically implemented by the following formula:
wherein,for the correction coefficient of locked rotor->For the locked speed of the controlled fan, +.>Is the current rotational speed.
In some alternative embodiments, the first determining subunit is specifically implemented by the following formula:
wherein,for the correction coefficient of locked rotor->For the current rotational speed +.>For the current of the controlled fan, +.>A, b, c, d, e and f are constant, a, for the temperature of the fan being controlled<b,c<d,e<f。
In some alternative embodiments, the recovery subunit is specifically configured to:
controlling the level value of the first enabling end to be a third level value and controlling the level value of the second enabling end to be a fourth level value; and controlling the blades of the controlled fan to resume rotation by using the third level value and the fourth level value.
In some alternative embodiments, the apparatus further comprises:
And the control module is used for controlling the blades of the fan to stop rotating when receiving a second locked-rotor stopping test instruction within the second locked-rotor time range.
In some alternative embodiments, the control module includes:
and the execution unit is used for continuously executing the locked-rotor test corresponding to the first locked-rotor test instruction so as to control the fan blades of the controlled fan to stop rotating.
In some alternative embodiments, the control module includes:
a second identifying unit, configured to identify whether a value of a preset fan state storage area is a second state value;
and the cutting-off unit is used for cutting off the current of the motor of the controlled fan when the value of the preset fan state storage area is determined to be the second state value so as to control the fan blades of the controlled fan to stop rotating.
In some alternative embodiments, the second stall time range is greater than the first stall time range.
In some alternative embodiments, the first stall time range is greater than or equal to 1 second and less than 6 seconds.
In some alternative embodiments, the second stall time range is greater than or equal to 6 seconds.
In a third aspect, the present invention provides a control terminal device, including: the fan stall testing method comprises the steps of enabling a processor to be in communication connection with a memory, storing control terminal instructions, and executing the fan stall testing method according to the first aspect or any mode corresponding to the first aspect through the processor by executing the control terminal instructions.
In a fourth aspect, the present invention provides a fan locked rotor test circuit, including a motor driving circuit and a control terminal device of the third aspect, where the motor driving circuit includes a first enabling end and a second enabling end, and the control terminal device is connected with the first enabling end and the second enabling end.
In a fifth aspect, the present invention provides a control terminal readable storage medium, where a control terminal instruction is stored on the control terminal readable storage medium, where the control terminal instruction is used to make a control terminal execute the fan stall testing method according to the first aspect or any embodiment corresponding to the first aspect.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a locked rotor tool;
FIG. 2 is a schematic diagram of another locked-rotor tool;
FIG. 3 is a flow chart of a method for testing fan stall according to an embodiment of the present invention;
FIG. 4 is a flow chart of another fan stall testing method according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a fan motor drive circuit according to an embodiment of the present invention;
FIG. 6 is a flow chart of a method for testing the stall of a server power fan according to an embodiment of the present invention;
FIG. 7 is a block diagram of a fan stall testing apparatus according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a hardware structure of a control terminal device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The era in which we are located is the time of rapid development, the intelligence has gradually spread to every corner of the world, the core of the intelligence is an algorithm, the support of the algorithm needs big data as a pad, the generation of a server solves the worry of the algorithm about how to store such huge databases, the server is also a kind of computer, but the appearance of the server is different from that of the computer, more memories, hard disks, network cards and the like can be inserted, the operation speed is higher than that of the computer, the load which can be supported is larger, and the price is generally higher. The server typically provides operation or application services for the normal operation of other devices (cell phones, cash dispensers, computers, military systems, power systems, contact systems, etc.), and typically has two or more central processing units, which enable ultra-high operation capabilities, long-term reliable operation, and large data throughput capabilities, and multiple expansion ports that can extend the proprietary capabilities of many other aspects.
The internal structure of the server is basically the same as that of a common computer, and the server comprises a Central Processing Unit (CPU), a memory, a hard disk, a network card, a system and the like, and a power supply unit (Power Supply Unit, PSU for short) of the server is different from that of the common computer, and the PSU is used for converting external input voltage into direct current to supply power to a main board and various components, so that the performance of the PSU is directly influenced.
When the performance test is carried out on the PSU of the server, one is the locked rotor PSU fan test, the power supply performance of the PSU reaches the maximum under the condition that the server system is fully loaded, at the moment, the fan of the PSU almost rotates fully, a locked rotor tool extends into the PSU fan to block the fan blades, and the fan blades stop rotating, so that the operation has a certain risk, the safety of operators is threatened, and the fan blades of the PSU can be damaged to a certain extent.
At present, two kinds of blocking tools are generally used for blocking the rotation of a fan of a server PSU, one kind of blocking tools is a strip made of plastic materials (shown in fig. 1), the other kind of blocking tools is a folded paper strip (shown in fig. 2), and when the fan of the server PSU runs at a high speed, one end of the strip extends between blades of the PSU fan to block the blades from rotating, so that the purpose of blocking the rotation of the PSU fan is achieved. The method has a certain danger to operators, is easy to damage fan blades, and has a certain operation error due to manual operation, so that the test result is not very accurate.
Based on this, according to an embodiment of the present invention, there is provided a fan stall testing method embodiment, it being noted that the steps shown in the flowchart of the drawings may be performed in a control terminal system such as a set of control terminal executable instructions, and that although a logical order is shown in the flowchart, in some cases the steps shown or described may be performed in an order different from that herein.
In this embodiment, a method for testing fan stall is provided, which may be used in the above mobile terminal, such as a control terminal of a server power fan, and fig. 3 is a flowchart of a method for testing fan stall according to an embodiment of the present invention, as shown in fig. 3, where the flowchart includes the following steps:
step S101, obtaining a fan locked rotor test instruction.
Specifically, the locked rotor test instruction is obtained based on a performance test standard of the server power supply fan, such as a locked rotor alarm test, a locked rotor fault test, an input voltage test, a circuit breaking protection test, and the like.
In an alternative example, for example, the locked rotor alarm test instruction is obtained in a locked rotor alarm test, which includes setting an alarm threshold of the device or the system, that is, setting a threshold of a locked rotor alarm according to the specification and the requirement of the device or the system, for example, the rotation speed of the fan is lower than a certain value or the rotation is stopped, and the locked rotor test in the invention is to stop the rotation. And simulating a locked-rotor condition, namely controlling the environment of the equipment or the system to enable the equipment to be in a locked-rotor state. Monitoring the alarm signal, i.e. monitoring whether the equipment or system can correctly identify the locked state, and triggering the corresponding alarm signal, such as sound, light, log record, etc. And verifying alarm processing, namely, after the alarm is triggered by the confirmation device or the system, corresponding processing measures such as shutting down the device, switching the standby device and the like can be executed.
Step S102, fan operation parameter information and a fan stall influence factor corresponding to the fan stall test instruction are obtained based on the fan stall test instruction.
Specifically, each fan stall testing instruction corresponds to a respective fan operating parameter and a fan stall influencing factor.
In an alternative example, the fan operation parameters include information such as a fan rotation speed, a fan rotation direction, etc. during the operation of the fan, and the fan stall influence factor is a factor that affects the fan stall, such as information such as a fan blade area of the fan, a current of the fan, a voltage of the fan, and a current temperature of the fan.
In an alternative example, a detecting device such as a sensor may be installed in the fan to obtain information such as temperature, rotation speed, and rotation direction of the fan in real time, and other information may also be obtained by a monitoring device or a detecting device.
Step S103, generating a fan locked rotor strategy according to the fan operation parameter information and the fan locked rotor influence factor.
Specifically, a fan stall policy is generated according to the fan operation parameter information and the fan stall influence factor, for example, information such as a steering direction and a rotating speed of the fan operation is extracted from the fan operation parameter information, a stall direction and a stall speed are further determined, correction is performed according to the fan stall influence factor, and the fan stall policy is generated, wherein the fan stall policy may include stall time, operation after stall, and the like.
Step S104, performing locked rotor test on the controlled fan according to the fan locked rotor strategy.
Specifically, the controlled fan is controlled to perform the locked rotor test according to the locked rotor strategy of the fan.
The fan locked rotor test method provided by the embodiment obtains a fan locked rotor test instruction; acquiring fan operation parameter information corresponding to the fan locked rotor test instruction based on the fan locked rotor test instruction and a fan locked rotor influence factor; generating a fan locked rotor strategy according to the fan operation parameter information and the fan locked rotor influence factor; and performing locked rotor testing on the controlled fan according to the fan locked rotor strategy. When the locked rotor test is carried out, corresponding fan operation parameter information and a fan locked rotor influence factor are obtained based on a locked rotor test instruction sent by the control terminal, a locked rotor strategy is generated, the controlled fan is subjected to the locked rotor test according to the locked rotor strategy, different locked rotor strategies can be generated to carry out the more complete and comprehensive locked rotor test on the fan, manual participation is not needed, and the locked rotor tool and the fan blade are not needed to be in physical contact to forcibly prevent the fan blade from running, so that the safety of a tester can be ensured, the fan blade can be prevented from being damaged due to the intervention of the locked rotor tool, the automatic locked rotor test is higher in efficiency compared with the manual test, the result is more accurate, and the practicability is good.
In this embodiment, a method for testing fan stall is provided, which may be used in the above mobile terminal, such as a control terminal of a server power fan, and fig. 4 is a flowchart of a method for testing fan stall according to an embodiment of the present invention, as shown in fig. 4, where the flowchart includes the following steps:
step S201, a fan locked rotor test instruction is obtained. Please refer to step S101 in the embodiment shown in fig. 3 in detail, which is not described herein.
Step S202, obtaining fan operation parameter information and a fan stall influence factor corresponding to the fan stall test instruction based on the fan stall test instruction. Please refer to step S102 in the embodiment shown in fig. 3 in detail, which is not described herein.
Step S203, generating a fan stall strategy according to the fan operation parameter information and the fan stall influence factor.
Specifically, the step S203 includes:
step S2031, determining a locked rotor direction of the motor of the controlled fan according to the current steering.
Specifically, the locked-rotor direction of the motor of the controlled fan should be opposite to the current direction of the controlled fan, for example, the current direction is clockwise, and the locked-rotor direction is counterclockwise, so that the fan can be reduced in rotation speed or stopped.
In an alternative embodiment, the controlled fan includes a motor driving circuit, where the motor driving circuit includes a first enabling terminal and a second enabling terminal, and the step S2031 includes:
Step a1, generating a first level value of a first enabling end and a second level value of a second enabling end according to the current steering.
Specifically, the opposite direction of the current steering is used as a target steering, and a first level value of a first enabling end and a second level value of a second enabling end are generated according to the target steering.
And a2, controlling the locked-rotor direction of the motor of the controlled fan by using the first level value and the second level value.
In an alternative example, as shown in fig. 5, a current inverting module is added on a circuit board of an original fan controller, the original fan controller is provided with four external wires, two power supply wires, a PWM control wire and a monitoring wire, the two external wires are newly added on the original fan controller to form the current inverting module, the two external wires enable the motor driving circuit to have a first enabling end EN and a second enabling end EM, when a target turns to forward, the EM end is set to be high level, the EN end is set to be low level, and the current inverting module can use a diode or a MOS tube as a switching element to control the on and off of current through the switching element so as to control the current direction and further control the blocking direction of the motor.
Step S2032, determining the locked rotor speed of the motor of the controlled fan according to the current rotation speed and the fan locked rotor influencing factor.
Specifically, the stall speed of the motor of the controlled fan is determined according to the current rotation speed and the fan stall influence factor, the current rotation speed is also one of the fan stall influence factors, in some optional examples, the fan stall influence factor may also include current, voltage, temperature, fan blade area, friction force between the fan blade and the bearing, and the like of the fan, and specifically, a factor with a larger influence may be selected according to actual situations. Generating a fan locked rotor correction coefficient by using the fan locked rotor influence factor, and determining the locked rotor speed of the motor of the controlled fan by combining the current rotating speed.
In an alternative embodiment, the fan stall impact factor includes a current of the controlled fan, a current temperature of the controlled fan, and a current rotation speed of the controlled fan, where step S2032 includes:
and b1, determining a locked rotor correction coefficient of the controlled fan according to the current of the controlled fan, the current temperature of the controlled fan and the current rotating speed of the controlled fan.
Specifically, a sensor may be installed in the fan, and the control terminal may acquire information such as a rotation speed and a temperature of the fan in real time or at a certain interval through a monitoring line, for example, acquire the rotation speed and the temperature of the fan once at intervals of 500 ms, and then determine a locked rotor correction coefficient of the controlled fan according to the current of the controlled fan, the current temperature of the controlled fan and the current rotation speed of the controlled fan.
In an alternative embodiment, the stall correction factor may be obtained by the following formula:
(equation 1)
Wherein,for the correction coefficient of locked rotor->For the current rotational speed +.>For the current of the controlled fan, +.>A, b, c, d, e and f are constant, a, for the temperature of the fan being controlled<b,c<d,e<f。
In an alternative embodiment, the range of values for a, b, c, d, e and f can be set,,/>,/>,/>,/>
and b2, determining the locked rotor speed of the controlled fan according to the locked rotor correction coefficient and the current rotating speed.
Specifically, the target correction speed may be determined according to the locked rotor correction coefficient and the current rotation speed, and the locked rotor speed may be determined according to the target correction speed and the current rotation speed.
In an alternative embodiment, the stall speed may be obtained by the following formula:
(equation 2)
Wherein,for the correction coefficient of locked rotor->For the locked speed of the controlled fan, +.>Is the current rotational speed.
After the fan is subjected to speed regulation control, the current rotating speed of the fan can be obtained in real time at a time interval of 1-100 milliseconds, and when the rotating speed of the fan is still determined, the locked-rotor speed is continuously calculated through the formula 1 and the formula 2, and the fan is controlled to be kept in a locked-rotor state.
Step S2033, generating a first fan stall policy according to the stall direction, stall speed, and first stall time range.
Specifically, a first fan stall policy is generated according to the stall direction, the stall speed and the first stall time range, and the first fan stall policy may be, for example, a stall policy corresponding to a stall alarm test, or may also be a stall policy corresponding to a stall fault test, which may be specifically determined according to an actual situation.
And S204, performing locked rotor test on the controlled fan according to the fan locked rotor strategy. Please refer to step S104 in the embodiment shown in fig. 3, which is not described herein.
In an alternative embodiment, step S2033 includes:
and step c1, controlling the blades of the controlled fan to stop rotating according to the locked rotating direction and the locked rotating speed.
Specifically, the locked-rotor direction is the opposite direction of the current direction of the controlled fan, and the locked-rotor speed counteracts the current rotation speed to stop the rotation of the fan blades of the controlled fan.
And c2, setting the value of the preset fan state storage area to be a first state value corresponding to a first stall instruction when the rotation stopping time of the fan blades is within a first stall time range.
Specifically, the first state value is used for indicating that the locked rotor test is a first locked rotor test corresponding to the first locked rotor instruction.
In an alternative embodiment, the first stall time range may be greater than or equal to 1 second and less than 6 seconds. The preset fan state storage area may be specifically determined according to a model or a type of a control terminal of an actual fan, for example, in a programmable logic device FPGA or a CPLD of a main board of the control terminal, the first stall test may be a fan stall warning test, the first state value is a value returned by an address bit of a power register, which is used to indicate a current running state of a power supply, for example, a normal state, an over-temperature state, a stall warning state, a stall fault, and the like, the address bit of the power register is a power state word, the power state word may be "79", when the fan is in the stall warning test state, the value returned by the state word is "0400", and the specific value is determined according to the actual situation, which is only illustrated herein.
And c3, when a first stall testing instruction is received and stopped within a first stall time range, identifying whether the value of the preset fan state storage area is a first state value or not.
And c4, when the value of the preset fan state storage area is determined to be the first state value, recovering the rotation of the fan blades of the controlled fan.
Specifically, when the first stall testing instruction is received within the first stall time range, it is identified whether the value of the preset fan state storage area (i.e. the power state word) is a first state value, for example, "0400", and when the value is determined to be the first state value, the rotation of the controlled fan blade is resumed.
In an alternative embodiment, step c4 specifically includes:
step c41, controlling the level value of the first enabling terminal to be a third level value and controlling the level value of the second enabling terminal to be a fourth level value.
And c42, controlling the blades of the controlled fan to resume rotation by using the third level value and the fourth level value.
Specifically, the level value of the first enabling end is controlled to be a third level value, the level value of the second enabling end is controlled to be a fourth level value, for example, the level value of the first enabling end is made to be a high level "1", the level value of the second enabling end is made to be a low level "0", and the fan is enabled to resume rotation, namely, the level values of the two enabling ends are consistent with the level values of the two enabling ends when the fan rotates normally.
By the method, the locked rotor direction of the motor of the controlled fan is determined according to the current steering, for example, the current steering is clockwise, the locked rotor direction is anticlockwise, namely, the reverse direction of the current steering is determined as the locked rotor direction of the motor of the controlled fan, the current rotating speed and the fan locked rotor influence factor are calculated, the locked rotor speed of the motor of the controlled fan is obtained, and a first fan locked rotor strategy is generated according to the locked rotor direction, the locked rotor speed and a first locked rotor time range.
In an alternative embodiment, when the fan stall command is a second stall command, the fan operation information includes: the step S103 includes the method steps as shown in fig. 6, where the current steering direction of the controlled fan, the current rotational speed of the controlled fan, the first stall time range and the second stall time range are as follows:
step S601, determining the locked-rotor direction of the motor of the controlled fan according to the current steering. Please refer to step S2031 in the embodiment shown in fig. 4 in detail, which is not described herein.
Step S602, determining the locked rotor speed of the motor of the controlled fan according to the current rotating speed and the fan locked rotor influence factor. Please refer to step S2032 in the embodiment shown in fig. 4 in detail, which is not described herein.
Step S603, generating a second fan stall policy according to the stall direction, stall speed, first stall time range and second stall time range.
Specifically, the second fan locked rotor strategy may be a locked rotor fault test strategy, and when the fan is locked rotor for a certain period of time, for example, when the fan enters a second locked rotor time range beyond the first locked rotor time range, a second locked rotor test is performed, and the second fan locked rotor strategy is generated according to the locked rotor direction, the locked rotor speed, the first locked rotor time range and the second locked rotor time range.
By the method, the locked rotor direction of the motor of the controlled fan is determined according to the current steering, for example, the current steering is clockwise, the locked rotor direction is anticlockwise, namely, the reverse direction of the current steering is determined as the locked rotor direction of the motor of the controlled fan, the current rotating speed and the fan locked rotor influence factor are calculated, the locked rotor speed of the motor of the controlled fan is obtained, and a second fan locked rotor strategy is generated according to the locked rotor direction, the locked rotor speed, the first locked rotor time range and the second locked rotor time range.
In an alternative embodiment, step S603 includes the following method steps:
and d1, controlling the blades of the fan to stop rotating according to the locked rotating direction and the locked rotating speed. Please refer to step c1 in detail, which is not described herein.
And d2, setting the value of the preset fan state storage area as a first state value when the time for controlling the fan blades to stop rotating is within a first locked-rotor time range.
And d3, when the time for controlling the fan blades to stop rotating enters a second locked-rotor time range, modifying the first state value of the preset fan state storage area into a second state value corresponding to a second locked-rotor instruction.
Specifically, the second state value is used for indicating that the locked-rotor test is a second locked-rotor test corresponding to the second locked-rotor instruction.
In an alternative example, for example, when the state of stopping rotation is kept within the first locked-rotor time range, for example, 1 second to 6 seconds, the preset fan state storage area in the control terminal chip, for example, the value of the preset fan state register is set to be a first state value, where the first state value is a value representing the first locked-rotor test state, for example, when the first locked-rotor test is the locked-rotor alarm test, the corresponding state value is "0400", and the specific state value needs to be set according to the actual chip, and is only illustrated herein. When the time for stopping rotation exceeds the first locked-rotor time range and enters the second locked-rotor time range, the fan is instructed to enter a second locked-rotor test, the value of the preset fan state storage area is modified to be a second state value corresponding to the second locked-rotor test, the second state value can be 0C40, and the current fan state is indicated to be a state corresponding to the second locked-rotor test, such as a fault state.
In an alternative embodiment, after modifying the first state value of the preset fan state storage area to the second state value corresponding to the second stall instruction, the method further includes:
and when a second locked rotor test instruction is received in the second locked rotor time range, controlling the blades of the fan to stop rotating.
Specifically, in an alternative example, the second stall test is a stall fault test, and when the stall fault test is performed, even if the fan receives an instruction to stop the stall test, the rotation cannot be recovered. There are two embodiments as follows:
an alternative embodiment is to switch off the current of the fan when the fan stall condition is within the second stall time range, for example, a current switch, such as a diode, a MOS transistor, or the like, may be installed between the fan and the motor, and the switch is controlled to be in an off state to switch off the current of the fan, so that the fan cannot resume rotation even if it receives an instruction to stop the stall test.
In another alternative embodiment, whether the value of the preset fan state storage area is the second state value is identified, and when the value is determined to be the second state value, the first locked-rotor test is continuously executed, so that the fan is still in the locked-rotor state, and the second locked-rotor test is completed.
In an alternative example, to ensure that the fan keeps in a locked state all the time during the locked test, the fan state may be corrected at a certain time interval, so as to obtain the fan operation parameter information and the fan locked influence factor, ensure that the fan keeps in the locked state continuously, and the time interval may be set to 1 ms or 100 ms, which is specifically limited according to the actual situation.
In an alternative example, in order to intuitively distinguish the first locked-rotor test and the second locked-rotor test, a lamp display device may be utilized, when the first locked-rotor test is performed, the LED lamp of the power supply where the fan is controlled to turn into amber and keep 1HZ frequency to flash, when the second locked-rotor test is performed, the LED lamp of the power supply where the fan is controlled to keep amber and always bright, so that it can be intuitively observed whether the current locked-rotor test is the first locked-rotor test or the second locked-rotor test.
In order to make the fan locked-rotor testing method of the present invention clearer, the present invention also provides a specific application scenario embodiment, for example, the locked-rotor testing flowchart of the server power supply fan shown in fig. 6, where the control terminal may be an upper computer, and send a locked-rotor testing instruction to the fan controller through the power management bus (Power Management Bus, PMBus), control the fan motor to enter a locked-rotor mode (stop rotating), and monitor the fan status signal in real time or at regular time, so as to ensure the locked-rotor test. In the test process, the detecting device (the monitoring signal wire) can monitor the rotation speed and state of the fan in real time, and feeds back the fan operation parameters and the blocking factor to the control terminal in real time, the control terminal analyzes the data transmitted by the detecting device, calculates and analyzes the forward and reverse rotation duration of the control current, so that the fan blade can stop rotating immediately, a current reverse module can be added on the basis of the original fan motor driving circuit by utilizing the motor driving circuit shown in fig. 5, and the original fan controller is provided with four external wires, two power supply wires, a Pulse-width modulation (PWM) control wire and another monitoring signal wire. The current reverse-positive module is provided with two enabling ends, the first enabling end is EN, the second enabling end is EM, when the EN end gives a low level, the EM end gives a high level, a forward rotation circuit is conducted, the forward rotation of the fan motor of the server PSU is realized through an electric element diode and a resistor, otherwise, the EN end gives a high level, and the EM end gives a low level, so that the reverse rotation of the fan motor of the server PSU can be realized.
When PSU gets electricity, EN end is low level under default condition, EM end is high level, fan motor is positively conducted, PSU fan starts to positively rotate, monitoring signal line records parameter information such as rotation speed and temperature of fan in real time, control terminal obtains data collected by monitoring line through PMBus instruction, the control terminal is built-in with memory and arithmetic unit, and sends instruction to terminal sensor of monitoring line at intervals of 500 ms all the time to obtain information such as rotation speed and temperature of PSU fan.
When the upper computer sends a command of stopping rotating the PSU fan to the controller through a PMBus command, the controller obtains the rotating speed of the current PSU fan in real time, adjusts the rotating speed through the arithmetic unit, obtains the current rotating speed of the fan in real time at a time interval of 1-100 milliseconds after adjusting the speed of the controller, calculates the rotating speed which needs to be adjusted currently through a calculation formula, adjusts the speed of the fan through the PMBus command in the controller, and when the voltage at the EN end becomes high level, the voltage at the EM end becomes low level, the reverse rotation of the fan can be realized, the calculated reverse rotation number can be given to the fan after forward rotation through giving the calculated rotating speed of the fan, and the calculated rotating number of the current rotating speed is given to reverse rotation at a time interval of 100 milliseconds, so that the PSU fan can always keep a stopped state. When the state of stopping is kept for 1 to 6 seconds, the controller can control the LED lamp of the PSU to turn amber and keep 1HZ to flash, meanwhile, the controller reports a slight fan fault alarm (fan fault warning), PSU fan alarm information can be obtained through PMBus, the purpose of finishing PSU fan locked-rotor alarm is achieved, at the moment, an instruction for restoring PSU forward rotation is issued through the upper computer, the controller can cancel a current fan rotating speed correction mode, the EN end keeps low level, the EM end keeps high level, the PSU fan rotates forward, the control terminal changes the LED lamp of the PSU to be normally bright green while rotating forward, fan fault warning alarms are cancelled, the value of a status word is '00', and meanwhile, the 79 status word of the PSU obtained through the PMBus instruction by the upper computer returns to '00', and the alarm state is cancelled.
When the PSU fan rotation stopping fault simulation is required to be completed, the upper computer sends a stall fault test instruction to the PSU fan controller through the PMBus, the control terminal enables the PSU fan to keep in a stop state all the time in the same mode as the first stall test, after the rotation stopping is performed for more than 6 seconds, the controller can control the LED lamp of the PSU to display normally-on amber color, send out fault information corresponding to the second stall test, read the 79 state word of the PSU through the upper computer and return to 0C40, at the moment, send a recovery rotating speed command to the PSU controller through the upper computer, and the power LED lamp is normally-on amber color, the fan can not resume rotating because the PSU has reported the fault information at the moment, and still keeps in the stop state, so that the PSU fan fault simulation test is completed, namely the second stall test.
The locked rotor test can be expressed by the following formula:
F A =(equation 3)
Wherein,for the correction coefficient of locked rotor->For the locked speed of the controlled fan, +.>The current rotation speed is T, the stall time is T, and the unit is seconds.
In this embodiment, a fan locked rotor testing device is further provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and is not described herein. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
The present embodiment provides a fan locked rotor testing device, as shown in fig. 7, including:
a first obtaining module 701, configured to obtain a fan locked rotor test instruction;
a second obtaining module 702, configured to obtain, based on the fan locked rotor test instruction, fan operation parameter information and a fan locked rotor influence factor corresponding to the fan locked rotor test instruction;
a generating module 703, configured to generate a fan stall policy according to the fan operation parameter information and the fan stall influencing factor;
and the locked rotor test module 704 is used for performing locked rotor test on the controlled fan according to the fan locked rotor strategy.
In some alternative embodiments, when the fan stall command is a first stall command, the fan operation information includes: the current steering direction, the current rotation speed and the first locked-rotor time range of the controlled fan, the generating module 703 includes:
the first determining unit is used for determining the locked-rotor direction of the motor of the controlled fan according to the current steering;
the second determining unit is used for determining the locked rotor speed of the motor of the controlled fan according to the current rotating speed and the fan locked rotor influence factor;
the first generation unit is used for generating a first fan locked rotor strategy according to the locked rotor direction, the locked rotor speed and the first locked rotor time range.
In some alternative embodiments, the first generating unit includes:
the first control subunit is used for controlling the blades of the controlled fan to stop rotating according to the locked rotating direction and the locked rotating speed;
the first configuration subunit is configured to set a value of a preset fan state storage area to a first state value corresponding to a first stall instruction when the rotation stopping time of the fan blade is within a first stall time range, wherein the first state value is used for indicating that the stall test is a first stall test corresponding to the first stall instruction;
the first identifying subunit is used for identifying whether the value of the preset fan state storage area is a first state value or not when a first locked-rotor stopping test instruction is received in a first locked-rotor time range;
and the recovery subunit is used for recovering the rotation of the fan blades of the controlled fan when the value of the preset fan state storage area is determined to be the first state value.
In some alternative embodiments, when the fan stall command is a second stall command, the fan operation information includes: the generating module 703 includes:
The third determining unit is used for determining the locked-rotor direction of the motor of the controlled fan according to the current steering;
a fourth determining unit, configured to determine a locked rotor speed of the motor of the controlled fan according to the current rotation speed and a fan locked rotor influence factor;
and the second generation unit is used for generating a second fan locked rotor strategy according to the locked rotor direction, the locked rotor speed, the first locked rotor time range and the second locked rotor time range.
In some alternative embodiments, the second generating unit includes:
the second control subunit is used for controlling the blades of the fan to stop rotating according to the locked rotating direction and the locked rotating speed;
the second configuration subunit is used for setting the value of the preset fan state storage area as a first state value when the time for controlling the fan blades to stop rotating is in a first locked-rotor time range;
and the modification subunit is used for modifying the first state value of the preset fan state storage area into a second state value corresponding to a second locked-rotor instruction when the time for controlling the fan blades to stop rotating is in a second locked-rotor time range, wherein the second state value is used for indicating that the locked-rotor test is a second locked-rotor test corresponding to the second locked-rotor instruction.
In some alternative embodiments, the controlled fan includes a motor drive circuit including a first enabling terminal and a second enabling terminal, and the first determining unit includes:
A generating subunit, configured to generate a first level value of the first enabling terminal and a second level value of the second enabling terminal according to the current steering;
and the third control subunit is used for controlling the locked-rotor direction of the motor of the controlled fan by using the first level value and the second level value.
In some alternative embodiments, the fan stall influence factor includes a current of the controlled fan, a current temperature of the controlled fan, and a current rotational speed of the controlled fan, and the second determining unit includes:
the first determining subunit is used for determining a locked rotor correction coefficient of the controlled fan according to the current of the controlled fan, the current temperature of the controlled fan and the current rotating speed of the controlled fan;
and the second determination subunit is used for determining the locked rotor speed of the controlled fan according to the locked rotor correction coefficient and the current rotating speed.
In some alternative embodiments, the second determining subunit is specifically implemented by the following formula:
wherein,for the correction coefficient of locked rotor->For the locked speed of the controlled fan, +.>Is the current rotational speed.
In some alternative embodiments, the first determining subunit is specifically implemented by the following formula:
wherein,for the correction coefficient of locked rotor->For the current rotational speed +. >For the current of the controlled fan, +.>A, b, c, d, e and f are constant, a, for the temperature of the fan being controlled<b,c<d,e<f。
In some alternative embodiments, the recovery subunit is specifically configured to:
controlling the level value of the first enabling end to be a third level value and controlling the level value of the second enabling end to be a fourth level value; and controlling the blades of the controlled fan to resume rotation by using the third level value and the fourth level value.
In some alternative embodiments, the apparatus further comprises:
the control module 705 is configured to control the fan blade to stop rotating when the second stall testing instruction is received within the second stall time range.
In some alternative embodiments, the control module 705 includes:
and the execution unit is used for continuously executing the locked-rotor test corresponding to the first locked-rotor test instruction so as to control the fan blades of the controlled fan to stop rotating.
In some alternative embodiments, the control module 705 includes:
a second identifying unit, configured to identify whether a value of a preset fan state storage area is a second state value;
and the cutting-off unit is used for cutting off the current of the motor of the controlled fan when the value of the preset fan state storage area is determined to be the second state value so as to control the fan blades of the controlled fan to stop rotating.
In some alternative embodiments, the second stall time range is greater than the first stall time range.
In some alternative embodiments, the first stall time range is greater than or equal to 1 second and less than 6 seconds.
In some alternative embodiments, the second stall time range is greater than or equal to 6 seconds.
Further functional descriptions of the above respective modules and units are the same as those of the above corresponding embodiments, and are not repeated here.
The fan stall testing apparatus in this embodiment is presented as a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit ) circuit, processor and memory executing one or more software or fixed programs, and/or other devices that can provide the functionality described above.
The embodiment of the invention also provides control terminal equipment, which is provided with the fan locked rotor testing device shown in the figure 7.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a control terminal device according to an alternative embodiment of the present invention, as shown in fig. 8, the control terminal device includes: one or more processors 10, memory 20, and interfaces for connecting the various components, including high-speed interfaces and low-speed interfaces. The various components are communicatively coupled to each other using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions executing within the control terminal device, including instructions stored in or on memory to display graphical information of the GUI on an external input/output device, such as a display device coupled to the interface. In some alternative embodiments, multiple processors and/or multiple buses may be used, if desired, along with multiple memories and multiple memories. Also, a plurality of control terminal devices may be connected, each device providing a portion of the necessary operations (e.g., as a server array, a set of blade servers, or a multiprocessor system). One processor 10 is illustrated in fig. 8.
The processor 10 may be a central processor, a network processor, or a combination thereof. The processor 10 may further include a hardware chip, among others. The hardware chip may be an application specific integrated circuit, a programmable logic device, or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general-purpose array logic, or any combination thereof.
Wherein the memory 20 stores instructions executable by the at least one processor 10 to cause the at least one processor 10 to perform a method for implementing the embodiments described above.
The memory 20 may include a storage program area that may store an operating system, at least one application program required for functions, and a storage data area; the storage data area may store data created according to the use of the control terminal device, and the like. In addition, the memory 20 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, the memory 20 may optionally comprise a memory located remotely from the processor 10, which may be connected to the control terminal device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk, or solid state disk; the memory 20 may also comprise a combination of the above types of memories.
The control terminal device further comprises a communication interface 30 for the control terminal device to communicate with other devices or communication networks.
The embodiment of the invention also provides a fan locked rotor test circuit, which comprises a motor drive circuit and a control terminal device as shown in fig. 8, wherein the motor drive circuit comprises a first enabling end and a second enabling end, and the control terminal device is connected with the first enabling end and the second enabling end.
The embodiments of the present invention also provide a control terminal readable storage medium, and the above-described method according to the embodiments of the present invention may be implemented in hardware, firmware, or as a recordable storage medium, or as control terminal code originally stored in a remote storage medium or a non-transitory machine-readable storage medium and to be stored in a local storage medium downloaded through a network, so that the method described herein may be stored on such software processes on a storage medium using a general purpose control terminal, a special purpose processor, or programmable or special purpose hardware. The storage medium can be a magnetic disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk, a solid state disk or the like; further, the storage medium may also comprise a combination of memories of the kind described above. It will be appreciated that the control terminal, processor, microprocessor control terminal or programmable hardware comprises a memory component that can store or receive software or control terminal code that, when accessed and executed by the control terminal, processor or hardware, implements the methods illustrated by the above embodiments.
Although embodiments of the present invention have been described in connection with the accompanying drawings, various modifications and variations may be made by those skilled in the art without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope of the invention as defined by the appended claims.

Claims (20)

1. A fan stall testing method, wherein the method is applied to a control terminal for controlling a power fan, the method comprising:
acquiring a fan locked rotor test instruction;
acquiring fan operation parameter information and a fan stall influence factor corresponding to the fan stall test instruction based on the fan stall test instruction;
generating a fan locked rotor strategy according to the fan operation parameter information and the fan locked rotor influence factor;
and performing locked rotor testing on the controlled fan according to the fan locked rotor strategy.
2. The method of claim 1, wherein the controlled fan comprises a motor, and wherein when the fan stall command is a first stall command, the fan operation information comprises: the current steering of the controlled fan, the current rotating speed of the controlled fan and the first locked-rotor time range, the generating a fan locked-rotor strategy according to the fan operation parameter information and the fan locked-rotor influence factor comprises the following steps:
Determining the locked rotor direction of the motor of the controlled fan according to the current steering;
determining the locked rotor speed of the motor of the controlled fan according to the current rotating speed and the fan locked rotor influence factor;
and generating a first fan locked rotor strategy according to the locked rotor direction, the locked rotor speed and the first locked rotor time range.
3. The method of claim 2, wherein the generating a first fan stall strategy based on the stall direction, the stall speed, and the first stall time frame comprises:
according to the locked rotation direction and the locked rotation speed, controlling the fan blades of the controlled fan to stop rotating;
when the time for stopping rotation of the fan blades is within the first locked-rotor time range, setting a value of a preset fan state storage area to be a first state value corresponding to the first locked-rotor instruction, wherein the first state value is used for indicating that the locked-rotor test is a first locked-rotor test corresponding to the first locked-rotor instruction;
when a first locked rotor stopping test instruction is received within a first locked rotor time range, identifying whether the value of the preset fan state storage area is the first state value or not;
And when the value of the preset fan state storage area is determined to be the first state value, recovering the rotation of the fan blades of the controlled fan.
4. The method of claim 1, wherein the controlled fan comprises a motor, and wherein when the fan stall command is a second stall command, the fan operation information comprises: the current steering of the controlled fan, the current rotating speed of the controlled fan, the first locked-rotor time range and the second locked-rotor time range, the generating a fan locked-rotor strategy according to the fan operation parameter information and the fan locked-rotor influence factor comprises the following steps:
determining the locked rotor direction of the motor of the controlled fan according to the current steering;
determining the locked rotor speed of the motor of the controlled fan according to the current rotating speed and the fan locked rotor influence factor;
and generating a second fan locked rotor strategy according to the locked rotor direction, the locked rotor speed, the first locked rotor time range and the second locked rotor time range.
5. The method of claim 4, wherein the generating a second fan stall strategy based on the stall direction, the stall speed, the first stall time range, and the second stall time range comprises:
Controlling the blades of the controlled fan to stop rotating according to the locked rotation direction and the locked rotation speed;
when the time for controlling the fan blades to stop rotating is within the first locked-rotor time range, setting the value of a preset fan state storage area as a first state value;
when the time for controlling the fan blades to stop rotating enters the second locked-rotor time range, the first state value of the preset fan state storage area is modified to be a second state value corresponding to the second locked-rotor instruction, wherein the second state value is used for indicating that the locked-rotor test is a second locked-rotor test corresponding to the second locked-rotor instruction.
6. A method according to claim 3, wherein the controlled fan comprises a motor drive circuit comprising a first enabling terminal and a second enabling terminal, the determining a stall direction of a motor of the controlled fan based on the current steering direction comprising:
generating a first level value of the first enabling end and a second level value of the second enabling end according to the current steering;
and controlling the locked rotation direction of the motor of the controlled fan by using the first level value and the second level value.
7. A method according to claim 2 or 3, characterized in that the fan stall influence factor comprises the current of the controlled fan, the current temperature of the controlled fan and the current rotational speed of the controlled fan; the determining the locked rotor speed of the motor of the controlled fan according to the current rotation speed and the fan locked rotor influence factor comprises the following steps:
determining a locked rotor correction coefficient of the controlled fan according to the current of the controlled fan, the current temperature of the controlled fan and the current rotating speed of the controlled fan;
and determining the locked rotor speed of the controlled fan according to the locked rotor correction coefficient and the current rotating speed.
8. The method of claim 7, wherein determining the stall speed of the controlled fan based on the stall correction factor and the current rotational speed is accomplished by:
wherein,for the locked rotor correction factor, < >>For the locked speed of the controlled fan, < >>And the current rotating speed is the current rotating speed.
9. The method of claim 7, wherein determining the locked rotor correction factor for the controlled fan based on the current of the controlled fan, the current temperature of the controlled fan, and the current rotational speed of the controlled fan is accomplished by:
Wherein,for the locked rotor correction factor, < >>For the current rotational speed, +.>For the current of the controlled fan, +.>For the temperature of the controlled fan, a, b, c, d, e and f are constant, a<b,c<d,e<f。
10. The method of claim 6, wherein restoring rotation of the blades of the controlled fan when the value of the preset fan state storage area is determined to be the first state value comprises:
controlling the level value of the first enabling end to be a third level value and controlling the level value of the second enabling end to be a fourth level value;
and controlling the fan blades of the controlled fan to resume rotation by using the third level value and the fourth level value.
11. The method of claim 5, wherein after modifying the first state value of the preset fan state storage region to a second state value corresponding to the second stall instruction, the method further comprises:
and when a second locked rotor test instruction is received in the second locked rotor time range, controlling the fan blades of the controlled fan to stop rotating.
12. The method of claim 11, wherein continuing to control the blades of the controlled fan to stop rotating when a stop second stall test command is received within a second stall time frame comprises:
And continuously executing a first locked-rotor test so as to control the blades of the controlled fan to stop rotating.
13. The method of claim 11, wherein controlling the blades of the controlled fan to stop rotating when a stop stall test command is received within a second stall time frame comprises:
identifying whether the value of the preset fan state storage area is the second state value;
and when the value of the preset fan state storage area is determined to be the second state value, cutting off the current of the motor of the controlled fan so as to control the fan blades of the controlled fan to stop rotating.
14. The method of any one of claims 4 to 5 or 11 to 13, wherein the second stall time range is greater than the first stall time range.
15. The method of claim 14, wherein the first stall time range is greater than or equal to 1 second and less than 6 seconds.
16. The method of claim 14, wherein the second locked-rotor time range is greater than or equal to 6 seconds.
17. A fan stall testing apparatus, the apparatus comprising:
the first acquisition module is used for acquiring a fan locked rotor test instruction;
The second acquisition module is used for acquiring fan operation parameter information and a fan locked rotor influence factor corresponding to the fan locked rotor test instruction based on the fan locked rotor test instruction;
the generation module is used for generating a fan locked rotor strategy according to the fan operation parameter information and the fan locked rotor influence factor;
and the locked rotor test module is used for carrying out locked rotor test on the controlled fan according to the fan locked rotor strategy.
18. A control terminal device, characterized by comprising:
the fan stall testing method of any one of claims 1 to 16, comprising a memory and a processor, wherein the memory and the processor are in communication connection, the memory stores control terminal instructions, and the processor executes the control terminal instructions, thereby executing the fan stall testing method of any one of claims 1 to 16.
19. A fan stall testing circuit, wherein the circuit comprises a motor drive circuit and the control terminal device of claim 18, the motor drive circuit comprising a first enabling terminal and a second enabling terminal, the control terminal device being connected to the first enabling terminal and the second enabling terminal.
20. A control terminal readable storage medium, wherein control terminal instructions for causing a control terminal to execute the fan stall testing method of any of claims 1 to 16 are stored on the control terminal readable storage medium.
CN202311829133.5A 2023-12-28 2023-12-28 Fan locked rotor test method and device, control terminal equipment and storage medium Active CN117489627B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311829133.5A CN117489627B (en) 2023-12-28 2023-12-28 Fan locked rotor test method and device, control terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311829133.5A CN117489627B (en) 2023-12-28 2023-12-28 Fan locked rotor test method and device, control terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN117489627A true CN117489627A (en) 2024-02-02
CN117489627B CN117489627B (en) 2024-03-29

Family

ID=89680365

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311829133.5A Active CN117489627B (en) 2023-12-28 2023-12-28 Fan locked rotor test method and device, control terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117489627B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107102635A (en) * 2017-05-25 2017-08-29 上海沪工汽车电器有限公司 A kind of PWM cooling fan controllers test platform
CN109031124A (en) * 2018-09-26 2018-12-18 青岛艾普智能仪器有限公司 A kind of motor rotation blockage test method
CN112578280A (en) * 2020-12-17 2021-03-30 珠海泰芯半导体有限公司 Locked rotor testing method of non-inductive motor
CN114509700A (en) * 2022-01-14 2022-05-17 苏州浪潮智能科技有限公司 Device and method for testing CRPS power supply of server
CN115032536A (en) * 2022-05-25 2022-09-09 深圳市愿力创科技有限公司 Power module locked rotor test method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107102635A (en) * 2017-05-25 2017-08-29 上海沪工汽车电器有限公司 A kind of PWM cooling fan controllers test platform
CN109031124A (en) * 2018-09-26 2018-12-18 青岛艾普智能仪器有限公司 A kind of motor rotation blockage test method
CN112578280A (en) * 2020-12-17 2021-03-30 珠海泰芯半导体有限公司 Locked rotor testing method of non-inductive motor
CN114509700A (en) * 2022-01-14 2022-05-17 苏州浪潮智能科技有限公司 Device and method for testing CRPS power supply of server
CN115032536A (en) * 2022-05-25 2022-09-09 深圳市愿力创科技有限公司 Power module locked rotor test method

Also Published As

Publication number Publication date
CN117489627B (en) 2024-03-29

Similar Documents

Publication Publication Date Title
DE102015115533B4 (en) Apparatus, computer-readable storage media and method for a drive assembly control strategy
WO2022198972A1 (en) Method, system and apparatus for fault positioning in starting process of server
CN112286709B (en) Diagnosis method, diagnosis device and diagnosis equipment for server hardware faults
CN114168401B (en) Log recording method and device and electronic equipment
CN108872762B (en) Electronic equipment leakage detection method and device, electronic equipment and storage medium
CN104699589A (en) Fan error detection system and method
CN117251333A (en) Method, device, equipment and storage medium for acquiring hard disk information
CN110704228A (en) Solid state disk exception handling method and system
CN105426289A (en) Baseboard management controller and method for monitoring fan and fan controller
CN114676019B (en) Method, device, equipment and storage medium for monitoring state of central processing unit
CN117489627B (en) Fan locked rotor test method and device, control terminal equipment and storage medium
CN113672306B (en) Server component self-checking abnormity recovery method, device, system and medium
JPH1091289A (en) Memory initialization device and method
CN115525486A (en) SSD SMBUS temperature alarm and low power consumption state test verification method and device
CN109947628B (en) Management control method, management control system and server
CN113590405A (en) Hard disk error detection method and device, storage medium and electronic device
CN116225812B (en) Baseboard management controller system operation method, device, equipment and storage medium
CN116974804A (en) Debugging method, device, equipment and storage medium for managing engine suspension
CN112181740A (en) Method, device and storage medium for eliminating faults
CN105893196A (en) Server debugging auxiliary tool and system
CN115080132A (en) Information processing method, information processing apparatus, server, and storage medium
CN109766235A (en) Configuration file detection method, system, equipment and medium based on software supervision
CN112486785A (en) Method, system, terminal and storage medium for positioning downtime phase of server
CN114562475B (en) Control method and device of fan controller and substrate manager
CN117079702B (en) NVMe solid state disk temperature cycle read-write power failure test method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant