Nothing Special   »   [go: up one dir, main page]

CN113931860B - Fan rotation speed control method and device, terminal equipment and storage medium - Google Patents

Fan rotation speed control method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN113931860B
CN113931860B CN202111067770.4A CN202111067770A CN113931860B CN 113931860 B CN113931860 B CN 113931860B CN 202111067770 A CN202111067770 A CN 202111067770A CN 113931860 B CN113931860 B CN 113931860B
Authority
CN
China
Prior art keywords
fan
rotating speed
temperature
temperature curve
determining
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.)
Active
Application number
CN202111067770.4A
Other languages
Chinese (zh)
Other versions
CN113931860A (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.)
China Great Wall Technology Group Co ltd
Original Assignee
China Great Wall Technology Group 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 China Great Wall Technology Group Co ltd filed Critical China Great Wall Technology Group Co ltd
Priority to CN202111067770.4A priority Critical patent/CN113931860B/en
Publication of CN113931860A publication Critical patent/CN113931860A/en
Application granted granted Critical
Publication of CN113931860B publication Critical patent/CN113931860B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F04POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
    • F04DNON-POSITIVE-DISPLACEMENT PUMPS
    • F04D25/00Pumping installations or systems
    • F04D25/02Units comprising pumps and their driving means
    • F04D25/08Units comprising pumps and their driving means the working fluid being air, e.g. for ventilation
    • 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
    • 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/004Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids by varying driving speed
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F04POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
    • F04DNON-POSITIVE-DISPLACEMENT PUMPS
    • F04D29/00Details, component parts, or accessories
    • F04D29/002Details, component parts, or accessories especially adapted for elastic fluid pumps

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Cooling Or The Like Of Electrical Apparatus (AREA)
  • Control Of Electric Motors In General (AREA)
  • Control Of Positive-Displacement Air Blowers (AREA)

Abstract

The application is suitable for the technical field of control, and provides a fan rotating speed control method, a device, terminal equipment and a storage medium. According to the embodiment of the application, the ambient temperature of the fan is obtained through the communication interface, and the rotating speed corresponding to the ambient temperature is determined according to a preset ambient temperature curve; determining the device temperature according to the environment temperature, and determining the rotating speed corresponding to the device temperature according to a preset device temperature curve; determining a target rotating speed of the fan according to the rotating speed corresponding to the ambient temperature and/or the rotating speed corresponding to the device temperature; and controlling the fan rotor of the fan to rotate at the target rotating speed, so that the problem of energy waste caused by single-point failure of the control end of the fan is avoided.

Description

Fan rotation speed control method and device, terminal equipment and storage medium
Technical Field
The present application relates to the field of control technologies, and in particular, to a method and apparatus for controlling a rotational speed of a fan, a terminal device, and a storage medium.
Background
With the development of society, terminal devices using fans are more and more common in life of people, for example, a desktop machine, a server, a computer, etc., the desktop machine generally adopts a CPLD or EC for fan control, and the server generally uses a BMC for fan control. However, when a single point of failure occurs in the control terminals, such as the BMC fails, the fan cannot be dynamically adjusted according to different requirements. Thereby causing energy waste.
Disclosure of Invention
The embodiment of the application provides a fan rotating speed control method, a device, terminal equipment and a storage medium, which can solve the problem of energy waste caused by single-point failure of a control end of a fan.
In a first aspect, an embodiment of the present application provides a method for controlling a rotational speed of a fan, including:
Acquiring the ambient temperature of a fan through a communication interface, and determining the rotating speed corresponding to the ambient temperature according to a preset ambient temperature curve;
determining the device temperature according to the environment temperature, and determining the rotating speed corresponding to the device temperature according to a preset device temperature curve;
determining a target rotating speed of the fan according to the rotating speed corresponding to the ambient temperature and/or the rotating speed corresponding to the device temperature;
And controlling a fan rotor of the fan to rotate at the target rotating speed.
In one embodiment, before determining the target rotation speed of the fan according to the rotation speed corresponding to the ambient temperature and/or the rotation speed corresponding to the device temperature, the method includes:
acquiring the current rotating speed of the fan;
and when the current rotating speed is determined to be not in accordance with the requirement according to the rotating speed corresponding to the ambient temperature, controlling the fan rotor of the fan to rotate at the rotating speed corresponding to the ambient temperature.
In one embodiment, before determining the rotation speed corresponding to the ambient temperature according to a preset ambient temperature curve, the method includes:
obtaining product requirements, and performing simulation treatment according to the product requirements to obtain an initial environmental temperature curve;
and correcting the initial ambient temperature curve to obtain the ambient temperature curve.
In one embodiment, after obtaining the initial ambient temperature profile, it comprises:
Based on the initial environmental temperature curve, testing the fan at a preset temperature to obtain a test result;
correspondingly, the correcting the initial environmental temperature curve to obtain the environmental temperature curve includes:
and correcting the initial environmental temperature curve according to the test result to obtain the environmental temperature curve.
In one embodiment, the determining the target rotation speed of the fan according to the rotation speed corresponding to the ambient temperature and/or the rotation speed corresponding to the device temperature includes:
And selecting the rotation speed with the maximum value from the rotation speed corresponding to the ambient temperature and the rotation speed corresponding to the device temperature, and determining the rotation speed with the maximum value as the target rotation speed.
In one embodiment, the method comprises:
acquiring the current condition of the fan;
when the current condition accords with the condition corresponding to the preset fault, determining the fault number of the current condition;
And sending the fault number to a maintenance system so that the maintenance system performs maintenance according to the fault number.
In one embodiment, the sending the fault number to a maintenance system to enable the maintenance system to maintain the fan according to the fault number includes:
And acquiring product information of the fan, and sending the product information to the maintenance system so that the maintenance system maintains the fan according to the product information and the fault number.
In a second aspect, an embodiment of the present application provides a fan rotation speed control apparatus, including:
The first rotation speed determining module is used for obtaining the ambient temperature of the fan through the communication interface and determining the rotation speed corresponding to the ambient temperature according to a preset ambient temperature curve;
the second rotating speed determining module is used for determining the device temperature according to the environment temperature and determining the rotating speed corresponding to the device temperature according to a preset device temperature curve;
The third rotating speed determining module is used for determining the target rotating speed of the fan according to the rotating speed corresponding to the ambient temperature and/or the rotating speed corresponding to the device temperature;
And the rotation control module is used for controlling the fan rotor of the fan to rotate at the target rotating speed.
In a third aspect, an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor implements the steps of any one of the fan speed control methods when executing the computer program.
In a fourth aspect, an embodiment of the present application provides a computer readable storage medium storing a computer program, where the computer program when executed by a processor implements the steps of any one of the above-described fan speed control methods.
In a fifth aspect, an embodiment of the present application provides a computer program product, which when run on a terminal device, causes the terminal device to perform any one of the fan speed control methods of the first aspect above.
According to the embodiment of the application, the environment temperature of the fan is obtained through the communication interface, and the rotating speed corresponding to the environment temperature is determined according to the preset environment temperature curve, so that the optimal rotating speed of the fan corresponding to the environment temperature is determined according to the environment temperature. And determining the device temperature according to the environment temperature, and determining the rotating speed corresponding to the device temperature according to a preset device temperature curve so as to determine the optimal rotating speed of the fan corresponding to the device temperature according to the device temperature. Still further, the target rotational speed of the fan is determined according to the rotational speed corresponding to the ambient temperature and/or the rotational speed corresponding to the device temperature, so that the target rotational speed of the fan is determined through both the ambient and/or the device, thereby improving the reliability of the fan while avoiding energy waste, and finally controlling the fan rotor of the fan to rotate at the target rotational speed. According to the embodiment, the temperature and the rotating speed of the fan are obtained through the communication interface, so that the rotating speed of the fan rotor is controlled according to the obtained temperature and the rotating speed as required, management by a third party is not relied on any more, and the problem of energy waste caused by the fact that the fan cannot be dynamically adjusted as required when a single-point fault occurs at the control end of the fan is avoided.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments or the description of the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a fan speed control method according to an embodiment of the present application;
Fig. 2 is a schematic diagram of a second flow of a fan speed control method according to an embodiment of the present application;
Fig. 3 is a schematic structural diagram of a fan rotation speed control device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in the present description and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
Furthermore, the terms "first," "second," "third," and the like in the description of the present specification and in the appended claims, are used for distinguishing between descriptions and not necessarily for indicating or implying a relative importance.
Fig. 1 is a schematic flow chart of a method for controlling a rotational speed of a fan according to an embodiment of the present application, where an execution body of the method may be a terminal device with a fan, for example, a computer, a desktop machine, a server, etc., and as shown in fig. 1, the method for controlling a rotational speed of a fan may include the following steps:
Step S101, obtaining the ambient temperature of the fan through a communication interface, and determining the rotating speed corresponding to the ambient temperature according to a preset ambient temperature curve.
In this embodiment, the communication interface includes, but is not limited to, an I 2 C interface. The above-mentioned ambient temperature includes, but is not limited to, an air outlet temperature, an air inlet temperature, and a temperature of an external environment where the terminal device is located. The preset environment temperature curve is a curve obtained by fitting the environment temperature and the rotating speed, so that the control chip in the terminal equipment can determine the rotating speed corresponding to the environment temperature according to the acquired environment temperature, the purpose of adjusting the rotating speed through the environment is achieved, and the reliability of the terminal equipment is improved.
Alternatively, the above-mentioned ambient temperature profile may include ambient temperatures of 0 °,5 °,10 ° to 45 °, i.e. a temperature profile suitable for each critical device in the product. The control chip can adopt a CPLD chip.
It will be appreciated that the fan may operate independently by obtaining information via the I 2 C interface.
In one embodiment, since the ambient temperature curve is determined in advance if the rotation speed corresponding to the ambient temperature is to be determined, before step S101, the method may include: the control chip in the terminal equipment obtains the product requirement of the terminal equipment stored in the storage chip connected with the control chip, so that the control chip can perform simulation processing through the heat dissipation simulation software (Flotherm) according to the product requirement to obtain an initial environment temperature curve, wherein the initial environment temperature curve is a static curve. And correcting the initial environmental temperature curve to obtain the environmental temperature curve. The product requirements are design requirements of the product, and are generally stored in the memory chip when the product leaves the factory, including but not limited to requirements of heat dissipation, noise and the like.
In one embodiment, since different products have some difference in actual use, and the rotational speeds corresponding to different temperatures need to be verified on occasion only according to the product requirement, after obtaining the initial environmental temperature curve, the method may include: and the terminal equipment tests the fan at a preset temperature based on the initial environmental temperature curve, so that a test result is obtained. The preset temperature may be set according to the requirement, for example, in a certain temperature interval, the preset temperature may be equally divided into temperature sub-intervals, and when the temperature reaches the temperature sub-interval, a rotation speed test is performed, so as to obtain an optimal rotation speed of the product in the temperature sub-interval, that is, the test result. Correspondingly, the correcting the initial environmental temperature curve to obtain the environmental temperature curve may include: and when the terminal equipment finds that the rotating speed at a certain temperature is inconsistent according to the calculated test result, correcting the rotating speed at the corresponding temperature of the initial environmental temperature curve, and obtaining the environmental temperature curve after the whole temperature interval is tested, namely the corrected initial environmental temperature curve, thereby improving the accuracy of the environmental temperature curve.
It can be understood that after the above-mentioned environmental temperature curve is obtained, the control chip burns the above-mentioned environmental temperature curve into the memory chip through the I 2 C interface, and when the demand is needed, obtains corresponding environmental temperature curve from the memory chip and carries out the determination of corresponding rotational speed.
Step S102, determining the device temperature according to the environment temperature, and determining the rotating speed corresponding to the device temperature according to a preset device temperature curve.
In this embodiment, the terminal device determines the device temperature according to the temperature of the external environment where the terminal device is located in the above-mentioned environmental temperatures, for example, if the current temperature of the CPU is read to be 90 ° and the temperature of the external environment where the terminal device is located is 25 °, the CPU temperature is actually 75 °, and the corresponding rotational speed is determined according to 75 °. The preset device temperature curve is a curve fitted by the device temperature and the rotating speed, so that the rotating speed corresponding to the device temperature can be obtained according to the determined device temperature, the purpose of adjusting the rotating speed through the device temperature is achieved, and the reliability of the terminal equipment is improved. The device temperature may be an important device temperature in the whole machine where the fan is located, or an important device temperature inside the fan, which includes but is not limited to a CPU temperature, a PCIE bridge temperature, a network controller temperature, or other important controller temperatures, where the network controller temperature includes but is not limited to a SATA controller temperature, and all the key devices have channels with I 2 C, so that the internal real-time temperature can be directly read.
In one embodiment, since the device temperature curve is determined in advance if the rotation speed corresponding to the device temperature is to be determined, before step S102, the method may include: the control chip in the terminal equipment obtains the product requirement of the terminal equipment stored in the storage chip connected with the control chip, so that the simulation process is carried out through the heat dissipation simulation software (Flotherm) according to the product requirement, and an initial device temperature curve is obtained, and the initial device temperature curve is a static curve. And correcting the initial device temperature curve to obtain the device temperature curve. The product requirements are design requirements of the product, and are generally stored in the memory chip when the product leaves the factory, including but not limited to requirements of heat dissipation, noise and the like.
In one embodiment, since different products have some difference in actual use, and the rotational speeds corresponding to different temperatures are only fit according to the product requirements, and whether the product is fit needs to be verified sometimes, after the initial device temperature curve is obtained, the method may include: and the terminal equipment tests the fan at a preset temperature based on the initial device temperature curve, so that a test result is obtained. The preset temperature may be set according to the requirement, for example, in a certain temperature interval, the preset temperature may be equally divided into temperature sub-intervals, and when the temperature reaches the temperature sub-interval, a rotation speed test is performed, so as to obtain an optimal rotation speed of the product in the temperature sub-interval, that is, the test result. Correspondingly, the correcting the initial device temperature curve to obtain the device temperature curve may include: and when the terminal equipment finds that the rotating speed at a certain temperature is inconsistent according to the calculated test result, correcting the rotating speed at the corresponding temperature of the initial device temperature curve, and obtaining the device temperature curve after the whole temperature interval is tested, namely the corrected initial device temperature curve, thereby improving the accuracy of the device temperature curve.
It can be understood that after the device temperature curve is obtained, the control chip burns the device temperature curve into the memory chip through the I 2 C interface, and when the device temperature curve is required, the corresponding device temperature curve is obtained from the memory chip to determine the corresponding rotating speed.
In one embodiment, the current rotation speed of the fan may be obtained in advance by the terminal device before determining the target rotation speed of the fan in step S103, the current rotation speed may be obtained through the I 2 C interface, and the current rotation speed may be determined, and when the current rotation speed is determined to be not in accordance with the requirement according to the rotation speed corresponding to the ambient temperature, the fan rotor of the fan may be controlled to rotate at the rotation speed corresponding to the ambient temperature, so as to achieve the purpose of quickly responding to the product requirement, and further improve the reliability of the product and save energy, for example, the rotation speed of the fan may be fast in a certain ambient temperature, and after obtaining the ambient temperature, the energy may be saved by comparing the adjustment rotation speeds.
Step S103, determining the target rotating speed of the fan according to the rotating speed corresponding to the ambient temperature and/or the rotating speed corresponding to the device temperature.
In this embodiment, the terminal device may determine the target rotation speed according to at least one of the rotation speed corresponding to the ambient temperature and the rotation speed corresponding to the device temperature, so as to improve product reliability, where the method of determining the target rotation speed includes, but is not limited to, selecting a maximum value from the two rotation speeds, selecting a mean value, or assigning different weights and calculating a sum thereof. It can be understood that the upper limit and the lower limit of the target rotating speed can be determined through the rotating speed corresponding to the ambient temperature and the rotating speed corresponding to the device temperature, and the target rotating speed is selected within the upper limit and the lower limit range, so that the reliability of the intelligent terminal equipment can be improved.
Optionally, the environmental temperature and the device temperature can be processed to determine the temperature corresponding to some preset sensitive problems, and then the rotating speed of the temperature corresponding to the sensitive temperature is determined according to a preset problem temperature curve, so that the target rotating speed of the fan is determined according to the comprehensive processing of the rotating speed corresponding to the environmental temperature and the rotating speed corresponding to the device temperature.
Illustratively, the step S103 includes: and selecting the rotation speed with the maximum value from the rotation speed corresponding to the ambient temperature and the rotation speed corresponding to the device temperature, and determining the rotation speed with the maximum value as the target rotation speed.
Step S104, controlling the fan rotor of the fan to rotate at the target rotation speed.
In this embodiment, the control chip of the terminal device controls the fan rotor through a Pulse Width Modulation (PWM) signal, and acquires a feedback signal (TAC value) of the fan rotor in real time.
In one embodiment, the fan has an excessively long service life, which may cause the rotation speed of the fan rotor to be inconsistent with the target rotation speed controlled by the control chip, resulting in a decrease in rotation speed accuracy, and when the fan has an excessively long service life, the initial environmental temperature curve and the device temperature curve are insufficient to improve the reliability of the product. Therefore, the control chip can acquire the current rotating speed of the fan in the feedback signal, and calculate the service life of the fan according to the current rotating speed and the target rotating speed, so as to correct the environmental temperature curve and the device temperature curve according to the calculated service life.
Optionally, the control chip calculates a difference between the current rotation speed and the target rotation speed of the fan, analyzes the service life of the fan corresponding to the difference according to big data, and determines a rotation speed correction number corresponding to the service life according to preset correction data, so that an environmental temperature curve and a device temperature curve are corrected according to the rotation speed correction number.
In one embodiment, as shown in FIG. 2, includes:
step S201, the current state of the fan is obtained.
Step S202, when the current condition accords with the condition corresponding to the preset fault, determining the fault number of the current condition.
Step S203, the fault number is sent to a maintenance system, so that the maintenance system performs maintenance according to the fault number.
In this embodiment, because some problems may exist in the chip, in order to discover and perform corresponding maintenance in time, the storage chip of the terminal device may store in advance fault numbers corresponding to various problems existing in the chip, and acquire the current status of the fan in real time, so as to determine whether the fan has a fault according to the current status, if the fault of the fan is a preset fault, determine the fault number corresponding to the preset fault, so as to facilitate the fan to locate the problem according to the fault number, and further prompt the maintenance system to perform maintenance according to the fault number.
By way of specific example and not limitation, when there is a rotational failure of the fan, this may be caused by poor contact of the power supply. When the control chip in the terminal equipment determines that the fan has a rotation fault according to the feedback signal (TAC value), the control chip sends the corresponding fault number to the maintenance system through the communication interface, so that the maintenance system or related maintenance personnel can determine the corresponding solution strategy according to the fault number after knowing the fault number through the maintenance system, and maintenance is directly performed. The maintenance system can interact with the control chip through the BMC or the MCU, and the control chip sends product information to the BMC or the MCU and the like through the I 2 C interface. And when the control chip in the terminal equipment determines that the rotating speed of the fan rotor which is required to rotate at present is lower than a certain preset value according to the TAC value, a conclusion that the fan has a rotating fault is obtained.
As a specific example, but not limited to, when the control chip controls the target rotation speed of the fan rotor of the fan to be an a value, and the TAC value obtained by the control chip is a B value, and a difference between the a value and the B value is a preset threshold value, which indicates that the fan is seriously aged, the control chip sends a corresponding fault number to the maintenance system through the communication interface, so that the maintenance system or a related maintenance person knows the fault number through the maintenance system, and then determines a corresponding solution strategy according to the fault number, thereby directly performing maintenance.
In one embodiment, in order to increase the processing speed of the maintenance system and improve the accuracy of the maintenance system in processing the corresponding problems, the step S203 may include: the control chip of the terminal equipment obtains the product information of the fan stored in the storage chip through the communication interface, and the product information is sent to the maintenance system through the communication interface, so that the maintenance system maintains the fan according to the product information and the fault number. The product information includes, but is not limited to, manufacturer, model, factory time, accumulated working time, etc. of the fan.
According to the embodiment of the application, the environment temperature of the fan is obtained through the communication interface, and the rotating speed corresponding to the environment temperature is determined according to the preset environment temperature curve, so that the optimal rotating speed of the fan corresponding to the environment temperature is determined according to the environment temperature. And determining the device temperature according to the environment temperature, and determining the rotating speed corresponding to the device temperature according to a preset device temperature curve so as to determine the optimal rotating speed of the fan corresponding to the device temperature according to the device temperature. Still further, the target rotational speed of the fan is determined according to the rotational speed corresponding to the ambient temperature and/or the rotational speed corresponding to the device temperature, so that the target rotational speed of the fan is determined through both the ambient and/or the device, thereby improving the reliability of the fan while avoiding energy waste, and finally controlling the fan rotor of the fan to rotate at the target rotational speed. According to the embodiment, the temperature and the rotating speed of the fan are obtained through the communication interface, so that the rotating speed of the fan rotor is controlled according to the obtained temperature and the rotating speed as required, management by a third party is not relied on any more, and the problem of energy waste caused by the fact that the fan cannot be dynamically adjusted as required when a single-point fault occurs at the control end of the fan is avoided.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present application.
Fig. 3 is a schematic structural diagram of a fan speed control device according to an embodiment of the present application, and as shown in fig. 3, the fan speed control device may include:
The first rotation speed determining module 301 is configured to obtain an ambient temperature of the fan through the communication interface, and determine a rotation speed corresponding to the ambient temperature according to a preset ambient temperature curve.
The second rotation speed determining module 302 is configured to determine a device temperature according to the environmental temperature, and determine a rotation speed corresponding to the device temperature according to a preset device temperature curve.
And a third rotation speed determining module 303, configured to determine a target rotation speed of the fan according to the rotation speed corresponding to the ambient temperature and/or the rotation speed corresponding to the device temperature.
The rotation control module 304 is configured to control the fan rotor of the fan to rotate at the target rotation speed.
In one embodiment, the fan speed control apparatus may further include:
the rotating speed acquisition module is used for acquiring the current rotating speed of the fan.
And the control module is used for controlling the fan rotor of the fan to rotate at the rotating speed corresponding to the ambient temperature when the current rotating speed is determined to be not in accordance with the requirement according to the rotating speed corresponding to the ambient temperature.
In one embodiment, the fan speed control apparatus may further include:
And the simulation module is used for acquiring the product demand, and performing simulation processing according to the product demand to obtain an initial environment temperature curve.
And the correction module is used for correcting the initial environmental temperature curve to obtain the environmental temperature curve.
In one embodiment, the fan speed control apparatus may further include:
and the testing module is used for testing the fan at a preset temperature based on the initial environmental temperature curve to obtain a testing result.
Accordingly, the correction module may include:
And the correcting unit is used for correcting the initial environmental temperature curve according to the test result to obtain the environmental temperature curve.
In one embodiment, the third rotation speed determining module 303 may include:
And the selecting unit is used for selecting the rotating speed with the maximum value from the rotating speed corresponding to the ambient temperature and the rotating speed corresponding to the device temperature, and determining the rotating speed with the maximum value as the target rotating speed.
In one embodiment, the fan speed control apparatus may further include:
and the condition acquisition module is used for acquiring the current condition of the fan.
And the number determining module is used for determining the fault number of the current condition when the current condition accords with the condition corresponding to the preset fault.
And the maintenance module is used for sending the fault number to a maintenance system so that the maintenance system can maintain according to the fault number.
In one embodiment, the maintenance module may include:
And the information acquisition unit is used for acquiring the product information of the fan and sending the product information to the maintenance system so that the maintenance system can maintain the fan according to the product information and the fault number.
According to the embodiment of the application, the environment temperature of the fan is obtained through the communication interface, and the rotating speed corresponding to the environment temperature is determined according to the preset environment temperature curve, so that the optimal rotating speed of the fan corresponding to the environment temperature is determined according to the environment temperature. And determining the device temperature according to the environment temperature, and determining the rotating speed corresponding to the device temperature according to a preset device temperature curve so as to determine the optimal rotating speed of the fan corresponding to the device temperature according to the device temperature. Still further, the target rotational speed of the fan is determined according to the rotational speed corresponding to the ambient temperature and/or the rotational speed corresponding to the device temperature, so that the target rotational speed of the fan is determined through both the ambient and/or the device, thereby improving the reliability of the fan while avoiding energy waste, and finally controlling the fan rotor of the fan to rotate at the target rotational speed. According to the embodiment, the temperature and the rotating speed of the fan are obtained through the communication interface, so that the rotating speed of the fan rotor is controlled according to the obtained temperature and the rotating speed as required, management by a third party is not relied on any more, and the problem of energy waste caused by the fact that the fan cannot be dynamically adjusted as required when a single-point fault occurs at the control end of the fan is avoided.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the apparatus and modules described above may refer to corresponding procedures in the foregoing system embodiments and method embodiments, which are not described herein again.
Fig. 4 is a schematic structural diagram of a terminal device according to an embodiment of the present application. For convenience of explanation, only portions relevant to the embodiments of the present application are shown.
As shown in fig. 4, the terminal device 4 of this embodiment includes: at least one processor 400 (only one shown in fig. 4), a memory 401 coupled to the processor 400, and a computer program 402, such as a fan speed control program, stored in the memory 401 and executable on the at least one processor 400. The steps of the respective fan speed control method embodiments described above, such as steps S101 to S104 shown in fig. 1, are implemented when the processor 400 executes the computer program 402. Or the processor 400, when executing the computer program 402, performs the functions of the modules in the apparatus embodiments, such as the functions of the modules 301 to 304 shown in fig. 3.
Illustratively, the computer program 402 may be partitioned into one or more modules that are stored in the memory 401 and executed by the processor 400 to accomplish the present application. The one or more modules may be a series of computer program instruction segments capable of performing specific functions for describing the execution of the computer program 402 in the terminal device 4. For example, the computer program 402 may be divided into a first rotational speed determining module 301, a second rotational speed determining module 302, a third rotational speed determining module 303, and a rotation control module 304, where the specific functions of the modules are as follows:
the first rotation speed determining module 301 is configured to obtain an ambient temperature of the fan through the communication interface, and determine a rotation speed corresponding to the ambient temperature according to a preset ambient temperature curve;
The second rotation speed determining module 302 is configured to determine a device temperature according to the environmental temperature, and determine a rotation speed corresponding to the device temperature according to a preset device temperature curve;
A third rotation speed determining module 303, configured to determine a target rotation speed of the fan according to a rotation speed corresponding to the ambient temperature and/or a rotation speed corresponding to the device temperature;
The rotation control module 304 is configured to control the fan rotor of the fan to rotate at the target rotation speed.
The terminal device 4 may include, but is not limited to, a processor 400, a memory 401. It will be appreciated by those skilled in the art that fig. 4 is merely an example of the terminal device 4 and is not meant to be limiting as to the terminal device 4, and may include more or fewer components than shown, or may combine certain components, or different components, such as may also include input and output devices, network access devices, buses, etc.
The Processor 400 may be a central processing unit (Central Processing Unit, CPU), the Processor 400 may also be other general purpose processors, digital signal processors (DIGITAL SIGNAL processors, DSP), application SPECIFIC INTEGRATED Circuit (ASIC), off-the-shelf Programmable gate array (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 401 may in some embodiments be an internal storage unit of the terminal device 4, such as a hard disk or a memory of the terminal device 4. The memory 401 may also be an external storage device of the terminal device 4 in other embodiments, for example, a plug-in hard disk, a smart memory card (SMART MEDIA CARD, SMC), a Secure Digital (SD) card, a flash memory card (FLASH CARD) or the like, which are provided on the terminal device 4. Further, the memory 401 may also include both an internal storage unit and an external storage device of the terminal device 4. The memory 401 is used for storing an operating system, an application program, a Boot Loader (Boot Loader), data, other programs, and the like, such as program codes of the computer programs. The above-described memory 401 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, the specific names of the functional units and modules are only for distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other manners. For example, the apparatus/terminal device embodiments described above are merely illustrative, e.g., the division of the modules or units described above is merely a logical function division, and there may be additional divisions in actual implementation, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units described above, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application may implement all or part of the flow of the method of the above embodiment, and may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, where the computer program, when executed by a processor, may implement the steps of each of the method embodiments described above. The computer program comprises computer program code, and the computer program code can be in a source code form, an object code form, an executable file or some intermediate form and the like. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing device/terminal apparatus, recording medium, computer Memory, read-Only Memory (ROM), random access Memory (RAM, random Access Memory), electrical carrier signals, telecommunications signals, and software distribution media. Such as a U-disk, removable hard disk, magnetic or optical disk, etc. In some jurisdictions, computer readable media may not be electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (8)

1. A fan rotational speed control method, comprising:
Acquiring the ambient temperature of a fan through a communication interface, and determining the rotating speed corresponding to the ambient temperature according to a preset ambient temperature curve;
determining the device temperature according to the environment temperature, and determining the rotating speed corresponding to the device temperature according to a preset device temperature curve;
determining a target rotating speed of the fan according to the rotating speed corresponding to the ambient temperature and/or the rotating speed corresponding to the device temperature;
Controlling a fan rotor of the fan to rotate at the target rotation speed;
The control chip controls the fan rotor through the pulse width modulation signal and acquires a feedback signal of the fan rotor in real time; the control chip acquires the current rotating speed of the fan in the feedback signal, calculates the service life of the fan according to the current rotating speed and the target rotating speed, and corrects the environment temperature curve and the device temperature curve according to the service life;
The control chip calculates the difference value between the current rotating speed and the target rotating speed of the fan, analyzes the service life of the fan corresponding to the difference value according to big data, determines a rotating speed correction number corresponding to the service life according to preset correction data, and corrects the environment temperature curve and the device temperature curve according to the rotating speed correction number;
Before determining the rotating speed corresponding to the ambient temperature according to a preset ambient temperature curve, the method comprises the following steps:
Obtaining a product demand, and performing simulation treatment according to the product demand to obtain an initial environmental temperature curve;
correcting the initial environmental temperature curve to obtain the environmental temperature curve;
after obtaining the initial ambient temperature profile, it comprises:
Based on the initial environmental temperature curve, testing the fan at a preset temperature to obtain a test result;
Correspondingly, the correcting the initial environmental temperature curve to obtain the environmental temperature curve includes:
And correcting the initial environmental temperature curve according to the test result to obtain the environmental temperature curve.
2. The fan rotational speed control method as claimed in claim 1, comprising, before determining the target rotational speed of the fan from the rotational speed corresponding to the ambient temperature and/or the rotational speed corresponding to the device temperature:
Acquiring the current rotating speed of the fan;
when the current rotating speed is determined to be not in accordance with the requirement according to the rotating speed corresponding to the ambient temperature, controlling a fan rotor of the fan to rotate at the rotating speed corresponding to the ambient temperature.
3. The fan rotational speed control method as claimed in claim 1, wherein the determining the target rotational speed of the fan according to the rotational speed corresponding to the ambient temperature and/or the rotational speed corresponding to the device temperature comprises:
and selecting the rotating speed with the maximum numerical value from the rotating speeds corresponding to the environment temperature and the device temperature, and determining the rotating speed with the maximum numerical value as the target rotating speed.
4. A fan rotation speed control method as claimed in any one of claims 1 to 3, comprising:
acquiring the current condition of the fan;
when the current condition accords with the condition corresponding to the preset fault, determining the fault number of the current condition;
and sending the fault number to a maintenance system so that the maintenance system performs maintenance according to the fault number.
5. The method of claim 4, wherein said sending the fault number to a maintenance system to cause the maintenance system to maintain the fan according to the fault number comprises:
And acquiring product information of the fan, and sending the product information to the maintenance system so that the maintenance system maintains the fan according to the product information and the fault number.
6. A fan rotational speed control apparatus, comprising:
The first rotation speed determining module is used for obtaining the ambient temperature of the fan through the communication interface and determining the rotation speed corresponding to the ambient temperature according to a preset ambient temperature curve;
the second rotating speed determining module is used for determining the device temperature according to the environment temperature and determining the rotating speed corresponding to the device temperature according to a preset device temperature curve;
The third rotating speed determining module is used for determining the target rotating speed of the fan according to the rotating speed corresponding to the ambient temperature and/or the rotating speed corresponding to the device temperature;
the rotation control module is used for controlling a fan rotor of the fan to rotate at the target rotating speed;
The control chip controls the fan rotor through the pulse width modulation signal and acquires a feedback signal of the fan rotor in real time; the control chip acquires the current rotating speed of the fan in the feedback signal, calculates the service life of the fan according to the current rotating speed and the target rotating speed, and corrects the environment temperature curve and the device temperature curve according to the service life;
The control chip calculates the difference value between the current rotating speed and the target rotating speed of the fan, analyzes the service life of the fan corresponding to the difference value according to big data, determines a rotating speed correction number corresponding to the service life according to preset correction data, and corrects the environment temperature curve and the device temperature curve according to the rotating speed correction number;
the fan rotation speed control device further includes:
the simulation module is used for obtaining the product demand, and performing simulation treatment according to the product demand to obtain an initial environment temperature curve;
the correction module is used for correcting the initial environmental temperature curve to obtain the environmental temperature curve;
the fan rotation speed control device further includes:
the testing module is used for testing the fan at a preset temperature based on the initial environmental temperature curve to obtain a testing result;
accordingly, the correction module includes:
and the correcting unit is used for correcting the initial environment temperature curve according to the test result to obtain the environment temperature curve.
7. Terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of a fan speed control method according to any of claims 1 to 5 when the computer program is executed.
8. A computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the steps of a fan speed control method according to any one of claims 1 to 5.
CN202111067770.4A 2021-09-13 2021-09-13 Fan rotation speed control method and device, terminal equipment and storage medium Active CN113931860B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111067770.4A CN113931860B (en) 2021-09-13 2021-09-13 Fan rotation speed control method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111067770.4A CN113931860B (en) 2021-09-13 2021-09-13 Fan rotation speed control method and device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113931860A CN113931860A (en) 2022-01-14
CN113931860B true CN113931860B (en) 2024-08-16

Family

ID=79275599

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111067770.4A Active CN113931860B (en) 2021-09-13 2021-09-13 Fan rotation speed control method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113931860B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115857641B (en) * 2022-11-28 2024-10-25 宁畅信息产业(北京)有限公司 Control method, device and equipment for fan rotor and storage medium
CN118728750A (en) * 2024-09-03 2024-10-01 西安星源博锐新能源技术有限公司 Fan rotating speed control method, device, equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110778516A (en) * 2019-09-21 2020-02-11 深圳市奥拓电子股份有限公司 Fan speed regulation method and device of display screen controller and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3655206B2 (en) * 2001-03-22 2005-06-02 リンナイ株式会社 Combustion device adjustment system
CN100385369C (en) * 2003-06-27 2008-04-30 精拓科技股份有限公司 Apparatus and method for controlling rotation speed of multistage speed and intelligent fan
TWI323838B (en) * 2006-01-02 2010-04-21 Lite On Technology Corp Mthod for contrlling the rotational speed of a cooling fan in an electronic system and electronic system utilizing the same
CN103644136B (en) * 2013-12-24 2016-03-02 华为技术有限公司 A kind of fan control system, system administration manager and fan
CN107957763A (en) * 2017-11-30 2018-04-24 紫光华山信息技术有限公司 The control method for fan and control device of server
CN109441864B (en) * 2018-09-04 2020-07-17 深圳市宝德计算机系统有限公司 Server fan control method, device, equipment and computer storage medium
CN113282160B (en) * 2021-04-19 2023-03-24 深圳市伊力科电源有限公司 UPS service life prediction method, equipment and computer readable storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110778516A (en) * 2019-09-21 2020-02-11 深圳市奥拓电子股份有限公司 Fan speed regulation method and device of display screen controller and storage medium

Also Published As

Publication number Publication date
CN113931860A (en) 2022-01-14

Similar Documents

Publication Publication Date Title
CN113931860B (en) Fan rotation speed control method and device, terminal equipment and storage medium
US20120136502A1 (en) Fan speed control system and fan speed reading method thereof
CN104763665A (en) Fan fault detection method and device of network device
CN112255552B (en) Fault diagnosis method and device for temperature acquisition device of fuel cell and vehicle
CN114151373B (en) Method, system, terminal and storage medium for regulating and controlling rotation speed of server fan
CN112099597A (en) Board adapting method, device, equipment and machine readable storage medium
CN111983412B (en) Monitoring system, monitoring method, monitoring terminal and storage medium
CN110703096A (en) Motor working state detection method, device, equipment and storage medium
CN108334427B (en) Fault diagnosis method and device in storage system
CN115467819B (en) Electronic water pump fault detection method and device, equipment and storage medium
CN112328033A (en) Automatic fan control method in BMC and related equipment
CN115729333A (en) Cooling control method, controller and server
CN103821746A (en) Fan monitoring method and sever system
CN114635865B (en) Fan alarm method, terminal and storage medium
CN112099599A (en) Temperature control method and device for electronic equipment
CN113254304B (en) Method for determining shutdown type of server, server and storage medium
CN117873819A (en) Information system CPU temperature detection method, device and information system
CN116954334A (en) Heat dissipation control method, device, server, computer equipment and storage medium
CN113241741B (en) DC line protection method, device and equipment for preventing AC fault from being started by mistake
CN112904113B (en) Method and device for detecting overload of brake resistor
CN115858292A (en) IPMI management method and system based on MCU
CN110011519B (en) Servo device with current monitoring function and current monitoring method thereof
CN112415388A (en) Motor fault detection method and device, electronic equipment and heating and ventilation equipment
CN111208889A (en) Server temperature control method and system and substrate management controller
CN114745162B (en) Access control method, device, terminal equipment and storage medium

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