CN117365987A - Fan speed regulating method and device - Google Patents

Fan speed regulating method and device Download PDF

Info

Publication number
CN117365987A
CN117365987A CN202311425223.8A CN202311425223A CN117365987A CN 117365987 A CN117365987 A CN 117365987A CN 202311425223 A CN202311425223 A CN 202311425223A CN 117365987 A CN117365987 A CN 117365987A
Authority
CN
China
Prior art keywords
temperature
strategy
speed
equipment
regulated
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.)
Pending
Application number
CN202311425223.8A
Other languages
Chinese (zh)
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.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN202311425223.8A priority Critical patent/CN117365987A/en
Publication of CN117365987A publication Critical patent/CN117365987A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K7/00Constructional details common to different types of electric apparatus
    • H05K7/20Modifications to facilitate cooling, ventilating, or heating
    • H05K7/20009Modifications to facilitate cooling, ventilating, or heating using a gaseous coolant in electronic enclosures
    • H05K7/20136Forced ventilation, e.g. by fans
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K7/00Constructional details common to different types of electric apparatus
    • H05K7/20Modifications to facilitate cooling, ventilating, or heating
    • H05K7/20009Modifications to facilitate cooling, ventilating, or heating using a gaseous coolant in electronic enclosures
    • H05K7/20209Thermal management, e.g. fan control

Landscapes

  • Engineering & Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Physics & Mathematics (AREA)
  • Thermal Sciences (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Cooling Or The Like Of Electrical Apparatus (AREA)

Abstract

The specification provides a fan speed regulation method and device, and relates to the technical field of computers. A method of fan speed regulation, comprising: acquiring the inlet temperature and the outlet temperature of equipment to be regulated, and calculating the temperature difference between the outlet temperature and the inlet temperature; acquiring the temperature of a target device in equipment to be regulated, and calculating the temperature margin of the target device according to a device temperature threshold value set for the target device; acquiring the current complete machine load of the equipment to be regulated, and calculating a power coefficient according to the complete machine maximum load of the equipment to be regulated; and switching the speed regulation strategy according to the currently selected speed regulation strategy and the speed regulation parameters. By the method, the power consumption of the equipment to be regulated can be reduced.

Description

Fan speed regulating method and device
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to a method and an apparatus for speed regulation of a fan.
Background
With the increasing demand for networks, in order to maintain reliable operation of electronic devices, the demand for heat dissipation of electronic devices, such as network devices and servers, is also increasing, especially for environments where electronic devices such as data center rooms are concentrated. In order to maintain the reliability of the electronic device, a fan as a heat sink in the electronic device is maintained to operate at a high speed for a long period of time to provide redundant heat dissipation capability. These fans, while capable of maintaining the electronic device within a good temperature range, can themselves result in higher power consumption.
However, these electronic devices are not operated in a high load state for a long time, and the high-speed operation of the fan at this stage contributes little to lowering the operating temperature of the electronic devices, but rather causes additional power consumption. In light of the need for carbon reduction, how to reduce power consumption while maintaining reliable operation of electronic devices is a problem to be solved by those skilled in the art.
Disclosure of Invention
In order to overcome the problems in the related art, the present specification provides a method and apparatus for adjusting speed of a fan.
According to a first aspect of embodiments of the present disclosure, there is provided a fan speed regulation method, including:
acquiring inlet temperature and outlet temperature of equipment to be regulated, and calculating the temperature difference between the outlet temperature and the inlet temperature, wherein the inlet temperature is the temperature of an air inlet of the equipment to be regulated, and the outlet temperature is the temperature of an air outlet of the equipment to be regulated;
acquiring the temperature of a target device in equipment to be regulated, and calculating the temperature margin of the target device according to a device temperature threshold value set for the target device;
acquiring the current complete machine load of the equipment to be regulated, and calculating a power coefficient according to the complete machine maximum load of the equipment to be regulated;
if the first speed regulation strategy is currently selected by the equipment to be regulated and the first strategy regulation condition is not met, maintaining the first speed regulation strategy for fan speed regulation, wherein the speed regulation parameters of the first speed regulation strategy at least comprise the temperature of the target device and the device temperature threshold value corresponding to the target device; if the equipment to be regulated currently adopts a first speed regulation strategy and meets the first strategy regulation condition, switching to a second speed regulation strategy to regulate the speed of the fan, wherein the speed regulation parameters of the second speed regulation strategy comprise temperature differences;
if the second speed regulation strategy is currently selected by the equipment to be regulated and the second strategy regulation condition is not met, maintaining the second speed regulation strategy for fan speed regulation; and if the equipment to be regulated currently selects the second speed regulation strategy and meets the second strategy regulation condition, switching to the first speed regulation strategy to regulate the speed of the fan.
Optionally, the first policy adjustment condition includes at least three of the following:
the temperature difference is smaller than a first strategy threshold, wherein the first strategy threshold is the difference between the preset temperature of the whole machine and a first control value;
the power coefficient is smaller than a preset power coefficient, wherein the power coefficient is the ratio of the current load of the whole machine to the maximum load of the whole machine;
the temperature margin of the target device is greater than the corresponding temperature margin threshold.
Optionally, the second policy adjustment condition includes:
the temperature difference is larger than a second strategy threshold, wherein the second strategy threshold is the sum of the preset temperature of the whole machine and a second control value;
the first fan rotating speed is larger than the sum of the second fan rotating speed and the preset fan rotating speed, wherein the first fan rotating speed is calculated according to a first speed regulation strategy, and the second fan rotating speed is recorded when the second speed regulation strategy is switched;
the second policy adjustment condition is satisfied as any one of the second policy adjustment conditions is satisfied.
Optionally, the second policy adjustment condition further includes:
the first temperature sensor detecting the inlet temperature fails, or the second temperature sensor detecting the outlet temperature fails.
Optionally, the second policy adjustment condition further includes:
the fan speed change value determined based on the first speed regulation strategy is greater than a preset fan speed change value.
Optionally, the second policy adjustment condition further includes:
the temperature margin of the selected target device is less than the device temperature threshold of the selected target device.
According to a second aspect of embodiments of the present specification, there is provided a fan speed regulating device comprising:
the device comprises an acquisition unit, a control unit and a control unit, wherein the acquisition unit is used for acquiring the inlet temperature and the outlet temperature of equipment to be regulated, acquiring the temperature of a target device in the equipment to be regulated and acquiring the current overall load of the equipment to be regulated;
the calculating unit is used for calculating the temperature difference between the outlet temperature and the inlet temperature, calculating the temperature margin of the target device according to the device temperature threshold value set for the target device, and calculating the power coefficient according to the maximum load of the whole machine of the equipment to be regulated, wherein the inlet temperature is the temperature of an air inlet of the equipment to be regulated, and the outlet temperature is the temperature of an air outlet of the equipment to be regulated;
the first adjusting unit is used for maintaining the first speed adjusting strategy for fan speed adjustment if the first speed adjusting strategy is currently selected by the equipment to be adjusted and the first strategy adjusting condition is not met, wherein the speed adjusting parameter of the first speed adjusting strategy at least comprises the temperature of the target device and the device temperature threshold value corresponding to the target device; if the equipment to be regulated currently adopts a first speed regulation strategy and meets the first strategy regulation condition, switching to a second speed regulation strategy to regulate the speed of the fan, wherein the speed regulation parameters of the second speed regulation strategy comprise temperature differences;
the second adjusting unit is used for maintaining the second speed regulating strategy for fan speed regulation if the equipment to be speed regulated currently selects the second speed regulating strategy and does not meet the second strategy adjusting condition; and if the equipment to be regulated currently selects the second speed regulation strategy and meets the second strategy regulation condition, switching to the first speed regulation strategy to regulate the speed of the fan.
Optionally, the first policy adjustment condition includes at least three of the following:
the temperature difference is smaller than a first strategy threshold, wherein the first strategy threshold is the difference between the preset temperature of the whole machine and a first control value;
the power coefficient is smaller than a preset power coefficient, wherein the power coefficient is the ratio of the current load of the whole machine to the maximum load of the whole machine;
the temperature margin of the target device is greater than the corresponding temperature margin threshold.
Optionally, the second policy adjustment condition includes:
the temperature difference is larger than a second strategy threshold, wherein the second strategy threshold is the sum of the preset temperature of the whole machine and a second control value;
the first fan rotating speed is larger than the sum of the second fan rotating speed and the preset fan rotating speed, wherein the first fan rotating speed is calculated according to a first speed regulation strategy, and the second fan rotating speed is recorded when the second speed regulation strategy is switched;
the second policy adjustment condition is satisfied as any one of the second policy adjustment conditions is satisfied.
Optionally, the second policy adjustment condition further includes:
the first temperature sensor detecting the inlet temperature fails, or the second temperature sensor detecting the outlet temperature fails, or,
the fan speed change value determined based on the first speed regulation strategy is larger than a preset fan speed change value, or
The temperature margin of the selected target device is less than the device temperature threshold of the selected target device.
According to a third aspect of embodiments of the present specification, there is provided an electronic device comprising a processor, a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: method steps implementing any of the above.
According to a fourth aspect of embodiments of the present specification, there is provided a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to: method steps implementing any of the above.
The technical scheme provided by the embodiment of the specification can comprise the following beneficial effects:
in the embodiment of the specification, the first speed regulation strategy and the second speed regulation strategy which are executed in the electronic equipment and used for regulating the speed of the fan are switched by setting the first strategy regulation condition and the second strategy regulation condition, so that the electronic equipment can regulate the speed of the fan through the second speed regulation strategy with lower power consumption when the requirement is lower, and the electronic equipment is switched back to the first speed regulation strategy with more reliable heat dissipation under the condition that the electronic equipment judges that the heat dissipation requirement cannot be met, thereby avoiding larger power consumption caused by high-speed operation of the fan under the conditions of low-load operation and the like of the electronic equipment, and improving the energy saving effect of the electronic equipment.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the specification and together with the description, serve to explain the principles of the specification.
FIG. 1 is a flow chart of a method of fan speed regulation in accordance with the present disclosure;
FIG. 2 is a schematic diagram of a device to be speed-regulated to which the fan speed regulation method according to the present disclosure is applied;
fig. 3 is a schematic structural view of a fan speed regulating device according to the present disclosure;
fig. 4 is a schematic structural view of an electronic device according to the present specification.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present specification. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present description as detailed in the accompanying claims.
The terminology used in the description presented herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the description. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in this specification to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, the first information may also be referred to as second information, and similarly, the second information may also be referred to as first information, without departing from the scope of the present description. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context.
The application provides a fan speed regulation method, as shown in fig. 1, comprising the following steps:
s100, acquiring the inlet temperature and the outlet temperature of equipment to be regulated, and calculating the temperature difference between the outlet temperature and the inlet temperature.
The equipment to be regulated can be electronic equipment such as a server, a switch, a router, a personal computer and the like, as shown in fig. 2, and the equipment to be regulated comprises an air inlet and an air outlet, and is hereinafter collectively referred to as equipment to be regulated. Temperature sensors are arranged at the air inlet and the air outlet and can be respectively called a first temperature sensor and a second temperature sensor, and the two temperature sensors are respectively used for detecting the temperature of the air inlet and the temperature of the air outlet. The target device and the whole machine of the equipment to be regulated can be cooled by arranging a plurality of fans in the equipment to be regulated. In the equipment to be regulated, the rotating speed of the fan can be regulated according to the actual temperature and the target temperature.
The inlet temperature is the temperature of an air inlet of the equipment to be regulated, and the outlet temperature is the temperature of an air outlet of the equipment to be regulated. The equipment to be regulated can calculate according to the acquired inlet temperature and outlet temperature, and determine the temperature difference between the outlet temperature and the inlet temperature. Because the wind entering from the wind inlet side passes through the heating device in the equipment to be regulated, the wind blown out from the temperature of the wind outlet side is higher than the wind sucked from the wind outlet side, and the difference between the wind outlet temperature and the wind inlet temperature is a positive value.
S101, acquiring the temperature of a target device in equipment to be regulated, and calculating the temperature margin of the target device according to a device temperature threshold value set for the target device.
A plurality of target devices are arranged in the equipment to be regulated, and the target devices can comprise a processor, a magnetic disk, a memory, a display card, a PCIE (peripheral component interconnect express) card inserting assembly and the like. The temperature sensors can be arranged on the target devices and used for collecting the temperatures of the corresponding target devices, and the equipment to be regulated can also be used for controlling the fans corresponding to the target devices according to the temperatures of the target devices.
In order to improve the reliability of the overall operation of the equipment to be regulated, a first speed regulation strategy for the fan can be set in the equipment to be regulated, and the speed regulation parameters of the first speed regulation strategy at least comprise the temperature of a target device and a device temperature threshold value corresponding to the target device. That is, each target device may be controlled below the device temperature threshold based on the first pacing strategy, i.e., by the current temperature of the target device and the device temperature threshold.
And, according to the device temperature threshold value and the collected temperature of the target device, a temperature margin can be calculated, and the temperature margin can be understood as the range in which the target device can be heated.
In addition, in order to avoid higher power consumption caused by excessive heat dissipation of the equipment to be regulated under the conditions of lower load and lower overall temperature, a second speed regulation strategy is further arranged in the equipment to be regulated, under the strategy, the equipment to be regulated determines the current temperature of the whole machine (namely, the temperature difference is calculated by the outlet temperature and the inlet temperature) by collecting the inlet temperature and the outlet temperature, and carries out fan speed regulation through the linear corresponding relation between the fan rotating speed and the temperature difference. The larger the temperature difference is, the higher the temperature of the wind sucked into the equipment to be regulated is raised by the heating device in the equipment to be regulated, and the current heating in the equipment to be regulated can be represented
S102, acquiring the current complete machine load of the equipment to be regulated, and calculating a power coefficient according to the complete machine maximum load of the equipment to be regulated.
The equipment to be regulated can also acquire the current load of the whole machine, the maximum load of the equipment to be regulated can be recorded in the equipment to be regulated, the power coefficient can be determined through the ratio of the current load of the whole machine to the maximum load, the power coefficient can be used for representing the current running condition of the equipment to be regulated, the higher the power coefficient is, the more frequent the current processing of the data by the equipment to be regulated is, and the lower the power coefficient is, the less the data to be processed is.
S103, if the equipment to be regulated currently selects a first speed regulation strategy and the first strategy regulation condition is not met, the first speed regulation strategy is maintained to be selected for fan speed regulation.
S104, if the equipment to be regulated currently selects a first speed regulation strategy and meets the first strategy regulation condition, switching to a second speed regulation strategy to regulate the speed of the fan.
The speed regulation parameters of the first speed regulation strategy at least comprise the temperature of a target device and a device temperature threshold corresponding to the target device, and the speed regulation parameters of the second speed regulation strategy comprise the temperature difference.
In the present application, since the first speed regulation strategy focuses on the temperature of the target devices in the equipment to be speed-regulated, the reliability of each target device is more fully maintained, and therefore, the fan in the equipment to be speed-regulated can maintain a working state with a higher rotating speed so as to protect the target devices in a saturated manner and maintain the target devices at a lower temperature.
And a strategy adjustment condition is also configured in the equipment to be subjected to speed regulation, and the strategy adjustment condition is used for judging which speed regulation strategy is selected. The strategy adjustment conditions include two types, which may be referred to as a first strategy adjustment condition for determining a switch from a first speed adjustment strategy to a second speed adjustment strategy, and a second strategy adjustment condition for determining a switch from the second speed adjustment strategy to the first speed adjustment strategy. For the equipment to be regulated, it is most important to maintain stable operation of the target device, the requirement of the first strategy adjustment condition for switching to the second strategy is more strict, and the second strategy adjustment condition for switching to the first strategy is more relaxed, namely, the first strategy is switched to control the temperature of the target device in a saturated manner under the condition that the equipment to be regulated possibly has abnormal temperature is confirmed.
Specific content in the first policy adjustment condition and the second policy adjustment condition can be set according to actual requirements, and optionally, the first policy adjustment condition at least comprises the following three items:
the temperature difference is smaller than a first strategy threshold, wherein the first strategy threshold is the difference between the preset temperature of the whole machine and a first control value;
the power coefficient is smaller than a preset power coefficient, wherein the power coefficient is the ratio of the current load of the whole machine to the maximum load of the whole machine;
the temperature margin of the target device is greater than a corresponding temperature margin threshold.
A plurality of values can be preset in the equipment to be regulated, and correspond to the acquired data.
For example, the first strategy threshold corresponding to the temperature difference may be a difference between a preset temperature of the whole machine and a first control value, and is used to define an upper limit of the temperature of the whole machine capable of adopting the second speed regulation strategy. The preset temperature of the whole machine is used for representing an expected value of the temperature change of the whole machine of the equipment to be regulated, namely the temperature which the whole machine should maintain, and the first control value is used for representing the temperature which needs to be more strictly limited relative to the preset temperature of the whole machine. Assuming that the preset temperature of the whole machine is 30 °, the first control value may be set to 5 °, i.e., the temperature difference needs to be maintained below the difference between the preset temperature of the whole machine and the first control value (30 ° -5 ° =25°).
For another example, a preset power coefficient corresponding to the power coefficient is set in the equipment to be regulated, and the preset power coefficient is used for defining an upper power limit capable of adopting the second speed regulation strategy. The power coefficient is determined according to the current power of the whole machine and the maximum power of the whole machine of the equipment to be regulated, and is set to be a numerical value between 0 and 1, and the power coefficient is also indicated that the equipment to be regulated can regulate the speed of the fan under the second speed regulation strategy only when the power coefficient is smaller than the preset power coefficient.
Also for example, a temperature margin threshold corresponding to a temperature margin is provided in the equipment to be throttled, the temperature margin threshold being used to define a maximum temperature rise that the target device can withstand when the second throttle strategy can be employed. The temperature margin is the difference between the device temperature threshold of the target device and the current temperature of the target device. Because the equipment to be regulated contains a plurality of target devices, a worker can select the target device which needs to be used as a reference according to actual requirements, and other target devices can be omitted.
The three requirements are met respectively, and the equipment to be regulated can be switched to a second speed regulation strategy to regulate the speed of the fan in the equipment to be regulated. After entering the second speed regulation strategy, the to-be-regulated equipment regulates the speed of the fan by taking the temperature difference between the inlet temperature and the outlet temperature as a speed regulation parameter, so that the power consumption of the to-be-regulated equipment is prevented from rising caused by excessive heat dissipation by referencing each target device.
When the equipment to be regulated is in the first speed regulating strategy, if any one of the three items is not met, the equipment to be regulated continues to be maintained in the first speed regulating strategy for fan speed regulation so as to maintain the reliability of the operation of the equipment to be regulated.
Of course, the first strategy adjustment condition can also comprise more items, so that the equipment to be regulated enters the second strategy to have stricter conditions, and lower power consumption is realized on the premise of maintaining the operation reliability of the equipment to be regulated.
S105, if the equipment to be regulated adopts a second speed regulation strategy currently and the second strategy regulation condition is not met, maintaining to select the second speed regulation strategy for fan speed regulation.
S106, if the equipment to be regulated currently selects a second speed regulation strategy and meets the second strategy regulation condition, switching to the first speed regulation strategy to regulate the speed of the fan.
The second policy adjustment condition includes:
the temperature difference is larger than a second strategy threshold, wherein the second strategy threshold is the sum of the preset temperature of the whole machine and a second control value;
the first fan rotating speed is larger than the sum of the second fan rotating speed and the preset fan rotating speed, wherein the first fan rotating speed is calculated according to the first speed regulation strategy, and the second fan rotating speed is recorded when the second speed regulation strategy is switched to the second speed regulation strategy;
the meeting the second policy adjustment condition is any one of meeting the second policy adjustment condition.
Compared with the first strategy adjustment condition, the second strategy adjustment condition has lower requirements, namely when any one of the second strategy adjustment conditions is met, the switching from the second speed regulation strategy to the first speed regulation strategy is carried out, so that the condition that the speed is too slow to cause the temperature of a target device to be too high to damage the device to be speed-regulated is avoided.
The first term in the second policy adjustment condition may be that the temperature difference between the outlet temperature and the inlet temperature is above a second policy threshold. The second strategy threshold may be a sum of a preset temperature of the complete machine and a second control value for defining a lower temperature limit of the complete machine that needs to be switched back to the first speed regulation strategy. The preset temperature of the whole machine is used for representing an expected value of the temperature change of the whole machine of the equipment to be regulated, and the second control value is used for representing the maximum temperature rise which can be processed by the equipment to be regulated relative to the preset temperature of the whole machine. Assuming that the overall preset temperature is 30 deg., the second control value may be set to 3 deg., i.e. the temperature difference is greater than the sum of the preset temperature of the whole machine and the second control value (30 ° +3 ° =33°).
The second term in the second strategy adjustment condition may be used to determine whether the difference between the fan speeds determined by the two speed regulation strategies is greater than a preset value (i.e., a preset fan speed). If the first fan rotation speed calculated according to the first speed regulation strategy exceeds the second fan rotation speed more, the second fan rotation speed can be indicated to be difficult to maintain the reliable operation of the equipment to be regulated, and the first speed regulation strategy needs to be switched to carry out rotation speed regulation, so that overheating is avoided.
Optionally, on the basis of the above several items, the second policy adjustment condition further includes:
the first temperature sensor detecting the inlet temperature fails, or the second temperature sensor detecting the outlet temperature fails.
The states of the first temperature sensor and the second temperature sensor arranged at the air inlet and the air outlet can be periodically detected in the equipment to be regulated. If one of the temperature sensors fails due to a fault, the temperature difference serving as a speed regulation parameter cannot be confirmed, and at the moment, the equipment to be regulated needs to be immediately switched back to the first speed regulation strategy to regulate the rotating speed of the fan based on the temperature sensor serving as the target device, so that the equipment to be regulated is prevented from being faulty.
Optionally, on the basis of the above several items, the second policy adjustment condition further includes:
and determining that the fan rotating speed change value based on the first speed regulation strategy is larger than a preset fan rotating speed change value.
When the equipment to be regulated carries out fan speed regulation based on the second speed regulation strategy, the equipment to be regulated still needs to determine the fan speed based on the first speed regulation strategy. At this time, the fan rotation speed determined according to the first governor strategy is not implemented, but is used as one of the second-strategy adjustment conditions to determine whether or not switching from the second governor strategy to the first governor strategy is necessary.
Because in the second speed regulation strategy, the speed regulation process based on the temperature difference is nearly linear, and the temperature difference considers the change of the temperature of the whole machine, the extremely rapid change is difficult to occur in a short time. However, during the operation of a certain target device, there may be a great rise in temperature due to a sudden increase in load.
In the first speed regulation strategy, when the speed of the whole or part of fans in the equipment to be regulated is regulated based on the temperature margin of the target device, the rotating speed of the whole or part of fans can be quickly increased to cope with the temperature rise in a short time, and at this time, the heat dissipation requirement cannot be met if the equipment to be regulated still maintains the second speed regulation strategy. Therefore, when the fan rotating speed change value is determined to be larger than the preset fan rotating speed change value based on the first speed regulation strategy, the equipment to be regulated is switched back to the first speed regulation strategy from the second speed regulation strategy to regulate the fan, so that the problem that the second speed regulation strategy cannot cope with the rapid change of the fan rotating speed in a short time is avoided, and the operation reliability of the equipment to be regulated is further improved.
Optionally, on the basis of the above several items, the second policy adjustment condition further includes:
the temperature margin of the selected target device is less than the device temperature threshold of the selected target device.
Some target devices can be selected as references in the equipment to be regulated, which means that the target devices are more important devices, and the target devices can be devices which are more sensitive to temperature and need to be maintained to run more reliably. If the temperature margin of the target devices is smaller than the preset device temperature threshold, the first speed regulation strategy is needed to be immediately switched back to carry out speed regulation, so that the operation reliability of equipment to be subjected to speed regulation is further improved.
In addition, other items can be set according to the actual requirement in the second policy adjustment condition, which is not limited.
In contrast, the present application further provides a fan speed adjusting device, as shown in fig. 3, including:
the device comprises an acquisition unit, a control unit and a control unit, wherein the acquisition unit is used for acquiring the inlet temperature and the outlet temperature of equipment to be regulated, acquiring the temperature of a target device in the equipment to be regulated and acquiring the current overall load of the equipment to be regulated;
the calculating unit is used for calculating the temperature difference between the outlet temperature and the inlet temperature, calculating the temperature margin of the target device according to the device temperature threshold value set for the target device, and calculating the power coefficient according to the maximum load of the whole machine of the equipment to be regulated, wherein the inlet temperature is the temperature of an air inlet of the equipment to be regulated, and the outlet temperature is the temperature of an air outlet of the equipment to be regulated;
the first adjusting unit is used for maintaining the first speed adjusting strategy for fan speed adjustment if the equipment to be speed adjusted currently selects the first speed adjusting strategy and does not meet the first strategy adjusting condition, wherein the speed adjusting parameters of the first speed adjusting strategy at least comprise the temperature of the target device and the device temperature threshold value corresponding to the target device; if the equipment to be regulated currently adopts a first speed regulation strategy and meets the first strategy regulation condition, switching to a second speed regulation strategy to regulate the speed of the fan, wherein the speed regulation parameters of the second speed regulation strategy comprise the temperature difference;
the second adjusting unit is used for maintaining the second speed regulating strategy for fan speed regulation if the equipment to be speed regulated currently selects the second speed regulating strategy and does not meet the second strategy adjusting condition; and if the equipment to be regulated currently selects the second speed regulation strategy and meets the second strategy regulation condition, switching to the first speed regulation strategy to regulate the speed of the fan.
Optionally, the first policy adjustment condition includes at least three items:
the temperature difference is smaller than a first strategy threshold, wherein the first strategy threshold is the difference between the preset temperature of the whole machine and a first control value;
the power coefficient is smaller than a preset power coefficient, wherein the power coefficient is the ratio of the current load of the whole machine to the maximum load of the whole machine;
the temperature margin of the target device is greater than a corresponding temperature margin threshold.
Optionally, the second policy adjustment condition includes:
the temperature difference is larger than a second strategy threshold, wherein the second strategy threshold is the sum of the preset temperature of the whole machine and a second control value;
the first fan rotating speed is larger than the sum of the second fan rotating speed and the preset fan rotating speed, wherein the first fan rotating speed is calculated according to the first speed regulation strategy, and the second fan rotating speed is recorded when the second speed regulation strategy is switched to the second speed regulation strategy;
the meeting the second policy adjustment condition is any one of meeting the second policy adjustment condition.
Optionally, the second policy adjustment condition further includes:
the first temperature sensor detecting the inlet temperature fails, or the second temperature sensor detecting the outlet temperature fails, or,
the fan speed change value determined based on the first speed regulation strategy is larger than a preset fan speed change value, or
The temperature margin of the selected target device is less than the device temperature threshold of the selected target device.
Correspondingly, the application further provides an electronic device, as shown in fig. 4, which comprises a processor, a machine-readable storage medium, a first temperature sensor arranged at the air inlet and a second temperature sensor arranged at the air outlet, wherein the machine-readable storage medium stores machine-executable instructions capable of being executed by the processor, and the processor is caused by the machine-executable instructions to: method steps according to any of the preceding claims are carried out.
Correspondingly, the application also provides a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to: method steps according to any of the preceding claims are carried out.
In the embodiment of the specification, the first speed regulation strategy and the second speed regulation strategy which are executed in the electronic equipment and used for regulating the speed of the fan are switched by setting the first strategy regulation condition and the second strategy regulation condition, so that the electronic equipment can regulate the speed of the fan through the second speed regulation strategy with lower power consumption when the requirement is lower, and the electronic equipment is switched back to the first speed regulation strategy with more reliable heat dissipation under the condition that the electronic equipment judges that the heat dissipation requirement cannot be met, thereby avoiding larger power consumption caused by high-speed operation of the fan under the conditions of low-load operation and the like of the electronic equipment, and improving the energy saving effect of the electronic equipment.
The implementation process of the functions and roles of each module in the above device is specifically shown in the implementation process of the corresponding steps in the above method, and will not be described herein again.
The foregoing describes specific embodiments of the present disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
Other embodiments of the present description will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This specification is intended to cover any variations, uses, or adaptations of the specification following, in general, the principles of the specification and including such departures from the present disclosure as come within known or customary practice within the art to which the specification pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the specification being indicated by the following claims.
It is to be understood that the present description is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present description is limited only by the appended claims.
The foregoing description of the preferred embodiments is provided for the purpose of illustration only, and is not intended to limit the scope of the disclosure, since any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the disclosure are intended to be included within the scope of the disclosure.

Claims (12)

1. A method of regulating fan speed, comprising:
acquiring inlet temperature and outlet temperature of equipment to be regulated, and calculating the temperature difference between the outlet temperature and the inlet temperature, wherein the inlet temperature is the temperature of an air inlet of the equipment to be regulated, and the outlet temperature is the temperature of an air outlet of the equipment to be regulated;
acquiring the temperature of a target device in equipment to be regulated, and calculating the temperature margin of the target device according to a device temperature threshold value set for the target device;
acquiring the current complete machine load of equipment to be regulated, and calculating a power coefficient according to the complete machine maximum load of the equipment to be regulated;
if the first speed regulation strategy is currently selected by the equipment to be regulated and the first strategy regulation condition is not met, maintaining the first speed regulation strategy for fan speed regulation, wherein the speed regulation parameters of the first speed regulation strategy at least comprise the temperature of the target device and the device temperature threshold value corresponding to the target device; if the equipment to be regulated currently adopts a first speed regulation strategy and meets the first strategy regulation condition, switching to a second speed regulation strategy to regulate the speed of the fan, wherein the speed regulation parameters of the second speed regulation strategy comprise the temperature difference;
if the second speed regulation strategy is currently selected by the equipment to be regulated and the second strategy regulation condition is not met, maintaining the second speed regulation strategy for fan speed regulation; and if the equipment to be regulated currently selects the second speed regulation strategy and meets the second strategy regulation condition, switching to the first speed regulation strategy to regulate the speed of the fan.
2. The method of claim 1, wherein the first policy adjustment condition comprises at least three of:
the temperature difference is smaller than a first strategy threshold, wherein the first strategy threshold is the difference between the preset temperature of the whole machine and a first control value;
the power coefficient is smaller than a preset power coefficient, wherein the power coefficient is the ratio of the current load of the whole machine to the maximum load of the whole machine;
the temperature margin of the target device is greater than a corresponding temperature margin threshold.
3. The method of claim 1, wherein the second policy adjustment condition comprises:
the temperature difference is larger than a second strategy threshold, wherein the second strategy threshold is the sum of the preset temperature of the whole machine and a second control value;
the first fan rotating speed is larger than the sum of the second fan rotating speed and the preset fan rotating speed, wherein the first fan rotating speed is calculated according to the first speed regulation strategy, and the second fan rotating speed is recorded when the second speed regulation strategy is switched to the second speed regulation strategy;
the meeting the second policy adjustment condition is any one of meeting the second policy adjustment condition.
4. The method of claim 3, wherein the second policy adjustment condition further comprises:
the first temperature sensor detecting the inlet temperature fails, or the second temperature sensor detecting the outlet temperature fails.
5. The method of claim 3, wherein the second policy adjustment condition further comprises:
and determining that the fan rotating speed change value based on the first speed regulation strategy is larger than a preset fan rotating speed change value.
6. The method of claim 3, wherein the second policy adjustment condition further comprises:
the temperature margin of the selected target device is less than the device temperature threshold of the selected target device.
7. A fan speed control apparatus, comprising:
the device comprises an acquisition unit, a control unit and a control unit, wherein the acquisition unit is used for acquiring the inlet temperature and the outlet temperature of equipment to be regulated, acquiring the temperature of a target device in the equipment to be regulated and acquiring the current overall load of the equipment to be regulated;
the calculating unit is used for calculating the temperature difference between the outlet temperature and the inlet temperature, calculating the temperature margin of the target device according to the device temperature threshold value set for the target device, and calculating the power coefficient according to the maximum load of the whole machine of the equipment to be regulated, wherein the inlet temperature is the temperature of an air inlet of the equipment to be regulated, and the outlet temperature is the temperature of an air outlet of the equipment to be regulated;
the first adjusting unit is used for maintaining the first speed adjusting strategy for fan speed adjustment if the equipment to be speed adjusted currently selects the first speed adjusting strategy and does not meet the first strategy adjusting condition, wherein the speed adjusting parameters of the first speed adjusting strategy at least comprise the temperature of the target device and the device temperature threshold value corresponding to the target device; if the equipment to be regulated currently adopts a first speed regulation strategy and meets the first strategy regulation condition, switching to a second speed regulation strategy to regulate the speed of the fan, wherein the speed regulation parameters of the second speed regulation strategy comprise the temperature difference;
the second adjusting unit is used for maintaining the second speed regulating strategy for fan speed regulation if the equipment to be speed regulated currently selects the second speed regulating strategy and does not meet the second strategy adjusting condition; and if the equipment to be regulated currently selects the second speed regulation strategy and meets the second strategy regulation condition, switching to the first speed regulation strategy to regulate the speed of the fan.
8. The apparatus of claim 7, wherein the first policy adjustment condition comprises at least three of:
the temperature difference is smaller than a first strategy threshold, wherein the first strategy threshold is the difference between the preset temperature of the whole machine and a first control value;
the power coefficient is smaller than a preset power coefficient, wherein the power coefficient is the ratio of the current load of the whole machine to the maximum load of the whole machine;
the temperature margin of the target device is greater than a corresponding temperature margin threshold.
9. The apparatus of claim 7, wherein the second policy adjustment condition comprises:
the temperature difference is larger than a second strategy threshold, wherein the second strategy threshold is the sum of the preset temperature of the whole machine and a second control value;
the first fan rotating speed is larger than the sum of the second fan rotating speed and the preset fan rotating speed, wherein the first fan rotating speed is calculated according to the first speed regulation strategy, and the second fan rotating speed is recorded when the second speed regulation strategy is switched to the second speed regulation strategy;
the meeting the second policy adjustment condition is any one of meeting the second policy adjustment condition.
10. The apparatus of claim 9, wherein the second policy adjustment condition further comprises:
the first temperature sensor detecting the inlet temperature fails, or the second temperature sensor detecting the outlet temperature fails, or,
the fan speed change value determined based on the first speed regulation strategy is larger than a preset fan speed change value, or
The temperature margin of the selected target device is less than the device temperature threshold of the selected target device.
11. An electronic device comprising a processor, a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor being caused by the machine-executable instructions to: method steps of any one of claims 1-6 are carried out.
12. A machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to: method steps of any one of claims 1-6 are carried out.
CN202311425223.8A 2023-10-30 2023-10-30 Fan speed regulating method and device Pending CN117365987A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311425223.8A CN117365987A (en) 2023-10-30 2023-10-30 Fan speed regulating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311425223.8A CN117365987A (en) 2023-10-30 2023-10-30 Fan speed regulating method and device

Publications (1)

Publication Number Publication Date
CN117365987A true CN117365987A (en) 2024-01-09

Family

ID=89388965

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311425223.8A Pending CN117365987A (en) 2023-10-30 2023-10-30 Fan speed regulating method and device

Country Status (1)

Country Link
CN (1) CN117365987A (en)

Similar Documents

Publication Publication Date Title
JP6874216B2 (en) Server fan speed control
CN104863881B (en) The control method and device of rotation speed of the fan in electronic equipment
CN110836197B (en) Strategy for automatically optimizing energy consumption
US8842433B2 (en) Environmental control for module housing electronic equipment racks
US10375854B2 (en) Liquid cooling system and control method thereof
CN105402148B (en) A kind of method and device of PTN device fan speed-regulating
CN106762765A (en) Server fan under being configured for different type board regulates and controls method and system
CN115003114A (en) Self-adaptive control method and system for load power of machine room and electronic equipment
CN109489190B (en) Method and system for regulating and controlling cold quantity of machine room
CN105352119A (en) Control method and device for freezing water system in air conditioner
CN117365987A (en) Fan speed regulating method and device
CN112594902B (en) Control method and system of air conditioner
CN113028571A (en) Compressor control method and device of machine room air conditioner, air conditioner and medium
US20070284431A1 (en) Power Supply Unit with Smart Control on Cooling Device
CN112710072B (en) Outdoor unit temperature control method and device and air conditioner
CN116914325A (en) Temperature control method, electronic device, and computer-readable storage medium
EP4155532A1 (en) Cooling control method and system for wind-driven generator, device, and storage medium
CN115891770A (en) Battery temperature control method and device, computer readable storage medium and vehicle
CN113819639B (en) Control method and device for adjusting frequency of air conditioner compressor
CN114738955A (en) Air conditioner and control method and control device thereof
US11346563B2 (en) Heat source system controlling device, heat source system, heat source system controlling method, and heat source system controlling program
CN112612349A (en) Method and equipment for increasing CPU heat dissipation efficiency
CN115903945B (en) Air conditioner control system, control method, control device and storage medium of machine room
CN112146237B (en) Method and device for controlling operation of air conditioner and air conditioner
CN113776161A (en) Air conditioner operation control method and device, air conditioner and readable 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