CN114439768A - Fan rotating speed control method and device, computer equipment and storage medium - Google Patents

Fan rotating speed control method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN114439768A
CN114439768A CN202210301282.3A CN202210301282A CN114439768A CN 114439768 A CN114439768 A CN 114439768A CN 202210301282 A CN202210301282 A CN 202210301282A CN 114439768 A CN114439768 A CN 114439768A
Authority
CN
China
Prior art keywords
fan
rotating speed
controlled
duty ratio
current
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
CN202210301282.3A
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.)
Formovie Chongqing Innovative Technology Co Ltd
Original Assignee
Formovie Chongqing Innovative Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Formovie Chongqing Innovative Technology Co Ltd filed Critical Formovie Chongqing Innovative Technology Co Ltd
Priority to CN202210301282.3A priority Critical patent/CN114439768A/en
Publication of CN114439768A publication Critical patent/CN114439768A/en
Pending legal-status Critical Current

Links

Images

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
    • 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/66Combating cavitation, whirls, noise, vibration or the like; Balancing
    • F04D29/661Combating cavitation, whirls, noise, vibration or the like; Balancing especially adapted for elastic fluid pumps

Abstract

The present application relates to a fan speed control method, apparatus, computer device, storage medium, and computer program product. The method comprises the following steps: acquiring the current rotating speed and the current duty ratio of a fan to be controlled which operates at a preset gear; judging whether the current rotating speed of the fan to be controlled meets a preset rotating speed range or not, and judging whether the current duty ratio of the fan to be controlled meets a maximum adjustable duty ratio range or not; and if the current rotating speed of the fan to be controlled does not meet the preset rotating speed range and the current duty ratio of the fan to be controlled meets the maximum adjustable duty ratio range, adjusting the current duty ratio according to the current rotating speed. By adopting the method, the rotating speed adjusting precision and the heat dissipation effect of the fan to be controlled can be improved.

Description

Fan rotating speed control method and device, computer equipment and storage medium
Technical Field
The present disclosure relates to the field of fan control technologies, and in particular, to a method and an apparatus for controlling a rotational speed of a fan, a computer device, a storage medium, and a computer program product.
Background
Since electronic devices generate a large amount of heat during use, many electronic devices are equipped with a heat sink.
The most common heat dissipation device in electronic equipment is a fan, for example, in equipment such as a computer host, a projector, etc., the fan is widely used, and 4-wire fans are mainly used in the market, and the tolerance of the rotating speed of the fan is plus or minus 300rpm, and the maximum tolerance of 600rpm exists.
The existing fan heat dissipation strategy usually sets the duty ratio of a fan according to a fan rotating speed and PWM duty ratio correspondence table, and cannot realize accurate control on the rotating speed of the fan, so that the problem of poor heat dissipation effect of electronic equipment is caused.
Disclosure of Invention
In view of the above, it is necessary to provide a fan rotation speed control method, an apparatus, a computer device, a computer readable storage medium, and a computer program product, which can realize accurate control of fan rotation speed, in view of the above technical problems.
In a first aspect, the present application provides a method for controlling a rotational speed of a fan. The method comprises the following steps:
acquiring the current rotating speed and the current duty ratio of a fan to be controlled which operates at a preset gear;
judging whether the current rotating speed of the fan to be controlled meets a preset rotating speed range or not, and judging whether the current duty ratio of the fan to be controlled meets a maximum adjustable duty ratio range or not;
and if the current rotating speed of the fan to be controlled does not meet the preset rotating speed range and the current duty ratio of the fan to be controlled meets the maximum adjustable duty ratio range, adjusting the current duty ratio according to the current rotating speed.
In one embodiment, the determining whether the current rotation speed of the fan to be controlled meets a preset rotation speed range includes:
judging whether the current rotating speed of the fan to be controlled is greater than the difference value between the gear rotating speed of the preset gear and the preset rotating speed tolerance or not, and judging whether the current rotating speed of the fan to be controlled is less than the sum of the gear rotating speed of the preset gear and the preset rotating speed tolerance or not;
if the current rotating speed of the fan to be controlled is greater than the difference value between the gear rotating speed of the preset gear and the preset rotating speed tolerance and is less than the sum of the gear rotating speed of the preset gear and the preset rotating speed tolerance, the current rotating speed of the fan to be controlled meets a preset rotating speed range;
otherwise, the current rotating speed of the fan to be controlled does not meet the preset rotating speed range.
In one embodiment, the determining whether the current duty ratio of the fan to be controlled satisfies the maximum adjustable duty ratio range includes:
judging whether the current duty ratio of the fan to be controlled is greater than the sum of the preset duty ratio of the preset gear and a preset duty ratio threshold value, and judging whether the current duty ratio of the fan to be controlled is less than the difference value of the preset duty ratio of the preset gear and the preset duty ratio threshold value;
if the current duty ratio of the fan to be controlled is greater than the difference value between the preset duty ratio of the preset gear and the preset duty ratio threshold value, and the current duty ratio of the fan to be controlled is less than the sum of the preset duty ratio of the preset gear and the preset duty ratio threshold value, the current duty ratio of the fan to be controlled meets the maximum adjustable duty ratio range;
otherwise, the current duty ratio of the fan to be controlled does not meet the maximum adjustable duty ratio range.
In one embodiment, the fan speed control method further includes: if the current rotating speed of the fan to be controlled meets a preset rotating speed range, not adjusting the current rotating speed of the fan to be controlled;
if the current rotating speed of the fan to be controlled does not meet the preset rotating speed range but the current duty ratio of the fan to be controlled exceeds the upper limit of the maximum adjustable duty ratio range, adjusting the current rotating speed of the fan to be controlled according to the upper limit of the maximum adjustable duty ratio range; and if the current duty ratio of the fan to be controlled is lower than the lower limit of the maximum adjustable duty ratio range, adjusting the current rotating speed of the fan to be controlled according to the lower limit of the maximum adjustable duty ratio range.
In one embodiment, the adjusting the current duty cycle according to the current rotation speed includes:
if the current rotating speed of the fan to be controlled is greater than the gear rotating speed of the preset gear, reducing the current duty ratio of the fan to be controlled;
and if the current rotating speed of the fan to be controlled is less than the gear rotating speed of the preset gear, increasing the current duty ratio of the fan to be controlled.
In one embodiment, the fan speed control method further includes: and judging whether other fans to be controlled need to be adjusted, and if so, adjusting the current duty ratios of the other fans to be controlled according to the current rotating speeds of the other fans to be controlled.
In a second aspect, the present application further provides a fan speed control apparatus. The device comprises:
the control device comprises an acquisition module, a control module and a control module, wherein the acquisition module is used for acquiring the current rotating speed and the current duty ratio of a fan to be controlled which operates at a preset gear;
the judging module is used for judging whether the current rotating speed of the fan to be controlled meets a preset rotating speed range or not and judging whether the current duty ratio of the fan to be controlled meets a maximum adjustable duty ratio range or not;
and the adjusting module is used for adjusting the current duty ratio according to the current rotating speed when the current rotating speed of the fan to be controlled does not meet a preset rotating speed range and the current duty ratio of the fan to be controlled meets a maximum adjustable duty ratio range.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor implementing the following steps when executing the computer program:
acquiring the current rotating speed and the current duty ratio of a fan to be controlled which operates at a preset gear;
judging whether the current rotating speed of the fan to be controlled meets a preset rotating speed range or not, and judging whether the current duty ratio of the fan to be controlled meets a maximum adjustable duty ratio range or not;
and if the current rotating speed of the fan to be controlled does not meet the preset rotating speed range and the current duty ratio of the fan to be controlled meets the maximum adjustable duty ratio range, adjusting the current duty ratio according to the current rotating speed.
In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
acquiring the current rotating speed and the current duty ratio of a fan to be controlled which operates at a preset gear;
judging whether the current rotating speed of the fan to be controlled meets a preset rotating speed range or not, and judging whether the current duty ratio of the fan to be controlled meets a maximum adjustable duty ratio range or not;
and if the current rotating speed of the fan to be controlled does not meet the preset rotating speed range and the current duty ratio of the fan to be controlled meets the maximum adjustable duty ratio range, adjusting the current duty ratio according to the current rotating speed.
In a fifth aspect, the present application further provides a computer program product. The computer program product comprising a computer program which when executed by a processor performs the steps of:
acquiring the current rotating speed and the current duty ratio of a fan to be controlled which operates at a preset gear;
judging whether the current rotating speed of the fan to be controlled meets a preset rotating speed range or not, and judging whether the current duty ratio of the fan to be controlled meets a maximum adjustable duty ratio range or not;
and if the current rotating speed of the fan to be controlled does not meet the preset rotating speed range and the current duty ratio of the fan to be controlled meets the maximum adjustable duty ratio range, adjusting the current duty ratio according to the current rotating speed.
According to the fan rotating speed control method, the fan rotating speed control device, the computer equipment, the storage medium and the computer program product, when the fan to be controlled runs at the preset gear, the current rotating speed and the current duty ratio of the fan to be controlled are obtained, whether the current rotating speed of the fan to be controlled meets the preset rotating speed range or not is judged, whether the current duty ratio of the fan to be controlled meets the maximum adjustable duty ratio range or not is judged, when the current rotating speed of the fan to be controlled does not meet the preset rotating speed range and the current duty ratio of the fan to be controlled meets the maximum adjustable duty ratio range or not, the current duty ratio is adjusted according to the current rotating speed, the rotating speed adjustment of the fan to be controlled is realized, the rotating speed of the fan to be controlled can be accurately controlled within the set range, and the heat dissipation effect of the fan to be controlled is improved; meanwhile, the rotating speed of the fan to be controlled is accurately controlled, and the noise of the fan to be controlled can be effectively controlled.
Drawings
FIG. 1 is a flow chart illustrating a method for controlling a fan speed according to an embodiment;
FIG. 2 is a flow chart illustrating a fan speed control step according to another embodiment;
FIG. 3 is a block diagram of a fan speed control apparatus according to an embodiment;
FIG. 4 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The fan rotating speed control method provided by the embodiment of the application can be applied to various electronic equipment comprising fans; such as servers, personal computers, laptops, projectors, and the like.
In one embodiment, a method for controlling the rotation speed of a fan is provided, and an electronic device applied by the method is taken as a projector as an example, and the method comprises the following steps:
and 102, acquiring the current rotating speed and the current duty ratio of the fan to be controlled which operates at a preset gear.
Specifically, in the electronic apparatus, the number of fans to be controlled is not less than one, that is, at least one; if the number of the fans to be controlled is one, the fans to be controlled operate at a preset gear, and the current rotating speed and the current duty ratio of the fans are obtained; if the number of the fans to be controlled is multiple, the multiple fans to be controlled respectively operate at respective preset gears, the preset gears of the fans to be controlled can be the same or different, the current rotating speed and the current duty ratio of the fans to be controlled are respectively obtained, and the fans to be controlled can be fans of the same type or fans of different types.
And 104, judging whether the current rotating speed of the fan to be controlled meets a preset rotating speed range or not, and judging whether the current duty ratio of the fan to be controlled meets a maximum adjustable duty ratio range or not.
Specifically, judging whether the current rotating speed of the fan to be controlled meets a preset rotating speed range is to judge whether the current rotating speed of the fan to be controlled is within the preset rotating speed range; judging whether the current duty ratio of the fan to be controlled meets the maximum adjustable duty ratio range or not, namely judging whether the current duty ratio of the fan to be controlled is in the maximum adjustable duty ratio range or not; for the same fan, the preset rotating speed range and the maximum adjustable duty ratio range correspond to the preset gear; different preset gears correspond to different preset rotating speed ranges and maximum adjustable duty ratio ranges. If one fan to be controlled is needed, only judging whether the current rotating speed of the fan to be controlled meets a preset rotating speed range or not and judging whether the current duty ratio of the fan to be controlled meets a maximum adjustable duty ratio range or not; if the number of the fans to be controlled is multiple, respectively judging whether the current rotating speed of each fan to be controlled meets a preset rotating speed range or not, and judging whether the current duty ratio of each fan to be controlled meets a maximum adjustable duty ratio range or not; the preset rotating speed range and the maximum adjustable duty ratio range of the fans of different models may be different and need to be respectively judged.
And 106, if the current rotating speed of the fan to be controlled does not meet a preset rotating speed range and the current duty ratio of the fan to be controlled meets a maximum adjustable duty ratio range, adjusting the current duty ratio according to the current rotating speed.
Specifically, if the current rotating speed of the fan to be controlled does not meet the preset rotating speed range and the current duty ratio of the fan to be controlled meets the maximum adjustable duty ratio range, the rotating speed of the fan to be controlled is adjusted by adjusting the current duty ratio of the fan to be controlled according to the current rotating speed of the fan to be controlled. If the number of the fans to be controlled is multiple, the current duty ratio of the fan to be controlled is adjusted respectively to adjust the rotating speed of each fan to be controlled, and when the current duty ratio of each fan to be controlled is adjusted, the fans can be adjusted simultaneously or one by one in sequence.
According to the fan rotating speed control method, the current rotating speed and the current duty ratio of the fan to be controlled are obtained, whether the current rotating speed of the fan to be controlled meets a preset rotating speed range or not is judged, whether the current duty ratio of the fan to be controlled meets a maximum adjustable duty ratio range or not is judged, when the current rotating speed of the fan to be controlled does not meet the preset rotating speed range and the current duty ratio of the fan to be controlled meets the maximum adjustable duty ratio range or not, the current duty ratio is adjusted according to the current rotating speed, rotating speed adjustment of the fan to be controlled is achieved, the rotating speed of the fan to be controlled can be accurately controlled within a set range, and the heat dissipation effect of the fan to be controlled is improved; meanwhile, the rotating speed of the fan to be controlled is accurately controlled, and the noise of the fan to be controlled can be effectively controlled.
In one embodiment, the determining whether the current rotation speed of the fan to be controlled meets a preset rotation speed range includes:
judging whether the current rotating speed of the fan to be controlled is greater than the difference value between the gear rotating speed of the preset gear and the preset rotating speed tolerance or not, and judging whether the current rotating speed of the fan to be controlled is less than the sum of the gear rotating speed of the preset gear and the preset rotating speed tolerance or not;
if the current rotating speed of the fan to be controlled is greater than the difference value between the gear rotating speed of the preset gear and the preset rotating speed tolerance and is less than the sum of the gear rotating speed of the preset gear and the preset rotating speed tolerance, the current rotating speed of the fan to be controlled meets a preset rotating speed range;
otherwise, the current rotating speed of the fan to be controlled does not meet the preset rotating speed range.
Specifically, when judging whether the current rotational speed of waiting to control the fan satisfies predetermined rotational speed scope, judge whether the current rotational speed of waiting to control the fan is greater than the difference of the gear rotational speed of predetermineeing the gear and the rotational speed tolerance of predetermineeing to and judge whether the current rotational speed of waiting to control the fan is less than the gear rotational speed of predetermineeing the gear and the sum of predetermined rotational speed tolerance, the gear rotational speed of predetermineeing the gear obtains through reading the parameter of waiting to control the fan with predetermined rotational speed tolerance, and to the waiting to control fan of different models, it is different probably the gear rotational speed of predetermineeing the gear and predetermined rotational speed tolerance. If the current rotating speed of the fan to be controlled is greater than the difference value between the gear rotating speed of the preset gear and the preset rotating speed tolerance, and the current rotating speed of the fan to be controlled is less than the sum of the gear rotating speed of the preset gear and the preset rotating speed tolerance, the current rotating speed of the fan to be controlled meets a preset rotating speed range; and if the current rotating speed of the fan to be controlled is less than or equal to the difference value between the gear rotating speed of the preset gear and the preset rotating speed tolerance, and the current rotating speed of the fan to be controlled is greater than or equal to the sum of the gear rotating speed of the preset gear and the preset rotating speed tolerance, the current rotating speed of the fan to be controlled does not meet the preset rotating speed range.
In this embodiment, whether the current rotating speed of the fan to be controlled is greater than the difference between the gear rotating speed of the preset gear and the preset rotating speed tolerance or not is judged, and whether the current rotating speed of the fan to be controlled is less than the sum of the gear rotating speed of the preset gear and the preset rotating speed tolerance or not is judged, so that whether the current rotating speed of the fan to be controlled meets the preset rotating speed range or not is judged, and the adjusting precision of the fan to be controlled is improved.
In one embodiment, the determining whether the current duty cycle of the fan to be controlled satisfies the maximum adjustable duty cycle range includes:
judging whether the current duty ratio of the fan to be controlled is greater than the sum of the preset duty ratio of the preset gear and a preset duty ratio threshold value, and judging whether the current duty ratio of the fan to be controlled is less than the difference value of the preset duty ratio of the preset gear and the preset duty ratio threshold value;
if the current duty ratio of the fan to be controlled is greater than the difference value between the preset duty ratio of the preset gear and the preset duty ratio threshold value, and the current duty ratio of the fan to be controlled is less than the sum of the preset duty ratio of the preset gear and the preset duty ratio threshold value, the current duty ratio of the fan to be controlled meets the maximum adjustable duty ratio range;
otherwise, the current duty ratio of the fan to be controlled does not meet the maximum adjustable duty ratio range.
Specifically, when judging whether the current duty ratio of the fan to be controlled meets the maximum adjustable duty ratio range, judging whether the current duty ratio of the fan to be controlled is larger than the sum of the preset duty ratio of the preset gear and a preset duty ratio threshold value, and judging whether the current duty ratio of the fan to be controlled is smaller than the difference value between the preset duty ratio of the preset gear and the preset duty ratio threshold value; the preset duty ratio and the preset duty ratio threshold of the preset gear are obtained by reading parameters of the fan to be controlled, and the preset duty ratio threshold of the preset gear may be different for different types of fans to be controlled. If the current duty ratio of the fan to be controlled is larger than the difference value between the preset duty ratio of the preset gear and the preset duty ratio threshold value, and the current duty ratio of the fan to be controlled is smaller than the sum of the preset duty ratio of the preset gear and the preset duty ratio threshold value, the current duty ratio of the fan to be controlled meets the maximum adjustable duty ratio range; and if the current duty ratio of the fan to be controlled is less than or equal to the difference between the preset duty ratio of the preset gear and the preset duty ratio threshold, or the current duty ratio of the fan to be controlled is greater than or equal to the sum of the preset duty ratio of the preset gear and the preset duty ratio threshold, the current duty ratio of the fan to be controlled does not meet the maximum adjustable duty ratio range.
In this embodiment, by determining whether the current duty ratio of the fan to be controlled is greater than the sum of the preset duty ratio of the preset gear and the preset duty ratio threshold, and determining whether the current duty ratio of the fan to be controlled is less than the difference between the preset duty ratio of the preset gear and the preset duty ratio threshold, the determination of whether the current duty ratio of the fan to be controlled meets the maximum adjustable duty ratio range is achieved, and the adjustment accuracy of the fan to be controlled is improved.
In one embodiment, the fan speed control method further includes:
if the current rotating speed of the fan to be controlled meets a preset rotating speed range, not adjusting the current rotating speed of the fan to be controlled;
if the current rotating speed of the fan to be controlled does not meet the preset rotating speed range but the current duty ratio of the fan to be controlled exceeds the upper limit of the maximum adjustable duty ratio range, adjusting the current rotating speed of the fan to be controlled according to the upper limit of the maximum adjustable duty ratio range; and if the current duty ratio of the fan to be controlled is lower than the lower limit of the maximum adjustable duty ratio range, adjusting the current rotating speed of the fan to be controlled according to the lower limit of the maximum adjustable duty ratio range.
Specifically, if the current rotating speed of the fan to be controlled meets the preset rotating speed range, the fan to be controlled runs well, and the current rotating speed of the fan to be controlled is not adjusted; and if the current rotating speed of the fan to be controlled does not meet the preset rotating speed range, further comparing the current duty ratio of the fan to be controlled with the maximum adjustable duty ratio range. If the current duty ratio of the fan to be controlled exceeds the upper limit of the maximum adjustable duty ratio range, adjusting the current rotating speed of the fan to be controlled according to the upper limit of the maximum adjustable duty ratio range; and if the current duty ratio of the fan to be controlled is lower than the lower limit of the maximum adjustable duty ratio range, adjusting the current rotating speed of the fan to be controlled according to the lower limit of the maximum adjustable duty ratio range.
In this embodiment, when the current rotating speed of the fan to be controlled meets the preset rotating speed range, the current rotating speed of the fan to be controlled is not adjusted; when the current rotating speed of the fan to be controlled does not meet the preset rotating speed range, but the current duty ratio of the fan to be controlled exceeds the upper limit of the maximum adjustable duty ratio range, the current rotating speed of the fan to be controlled is adjusted according to the upper limit of the maximum adjustable duty ratio range, if the current duty ratio of the fan to be controlled is lower than the lower limit of the maximum adjustable duty ratio range, the current rotating speed of the fan to be controlled is adjusted according to the lower limit of the maximum adjustable duty ratio range, and the noise of the fan to be controlled can be reduced by accurately adjusting the fan to be controlled according to the current rotating speed and/or the current duty ratio of the fan to be controlled.
Optionally, in other embodiments, if the current rotation speed of the fan to be controlled does not satisfy the preset rotation speed range and the current duty ratio of the fan to be controlled does not satisfy the maximum adjustable duty ratio range, the current rotation speed of the fan to be controlled may not be adjusted.
In one embodiment, said adjusting said current duty cycle in accordance with said current speed comprises:
if the current rotating speed of the fan to be controlled is greater than the preset current gear rotating speed, reducing the current duty ratio of the fan to be controlled;
and if the current rotating speed of the fan to be controlled is less than the preset current gear rotating speed, increasing the current duty ratio of the fan to be controlled.
Specifically, when the current duty ratio is adjusted, if the current rotating speed of the fan to be controlled is greater than the preset current gear rotating speed, the current duty ratio of the fan to be controlled is reduced; and if the current rotating speed of the fan to be controlled is less than the preset current gear rotating speed, increasing the current duty ratio of the fan to be controlled. When the duty ratio of the fan to be controlled is reduced or increased, the current duty ratio of the fan to be controlled can be adjusted by a pulse width modulation method, and the preset duty ratio adjustment amount is reduced or increased for the current duty ratio of the fan to be controlled, so that the rotation speed of the fan to be controlled is adjusted. For example, if the maximum rotation speed of the fan is 5000 revolutions, the minimum unit of the duty ratio of the fan to be controlled is 1%, and the maximum unit is 100%, the rotation speed of the corresponding fan to be controlled is 0-5000 revolutions, and when the current duty ratio of the fan to be controlled is adjusted, the corresponding rotation speed of the fan is increased or decreased by 50 revolutions every time the current duty ratio of 1% is increased or decreased, and the rotation speed of the fan is controlled by adjusting the current duty ratio of the fan to be controlled.
In the embodiment, when the current rotating speed of the fan to be controlled is greater than the preset current gear rotating speed, the current duty ratio of the fan to be controlled is reduced; when the current rotating speed of the fan to be controlled is smaller than the preset current gear rotating speed, the current duty ratio of the fan to be controlled is increased, the current rotating speed of the fan to be controlled is adjusted by adjusting the current duty ratio of the fan to be controlled, and the rotating speed adjusting precision of the fan to be controlled is improved.
In one embodiment, the fan speed control method further includes:
and judging whether other fans to be controlled need to be adjusted, and if so, adjusting the current duty ratios of the other fans to be controlled according to the current rotating speeds of the other fans to be controlled.
Specifically, after the rotating speed of the fan to be controlled is adjusted, whether other fans to be controlled need to be adjusted is judged, and the judging method also judges whether the current rotating speeds of the other fans to be controlled meet a preset rotating speed range or not and judges whether the current duty ratios of the other fans to be controlled meet a maximum adjustable duty ratio range or not. If other fans to be controlled need to adjust the current rotating speed, the current duty ratios of the other fans to be controlled are adjusted according to the current rotating speeds of the other fans to be controlled, and the adjusting method is also used for adjusting the current duty ratios of the other fans to be controlled by operating a pulse width modulation method so as to adjust the rotating speeds of the other fans to be controlled. And when the rotating speeds of all the fans to be controlled are adjusted, ending the control flow.
In this embodiment, after the adjustment of the fan to be controlled is completed, whether other fans to be controlled need to be adjusted is determined, and if the other fans to be controlled need to be adjusted, the current duty ratios of the other fans to be controlled are adjusted according to the current rotating speeds of the other fans to be controlled, so that the rotating speed adjustment of the multiple fans is realized, and the adjustment precision of the fan to be controlled is improved.
Fig. 2 is a schematic flow chart illustrating a fan rotation speed control step in another embodiment, as shown in fig. 2, when the fan to be controlled operates at a preset gear, the current rotation speed and the current duty ratio of the fan to be controlled are obtained, whether the current rotation speed of the fan to be controlled meets a preset rotation speed range is determined, and if the current rotation speed of the fan to be controlled meets the preset rotation speed range, the current rotation speed of the fan to be controlled is not adjusted. If the current rotating speed of the fan to be controlled does not meet the preset rotating speed range, judging whether the current duty ratio of the fan to be controlled meets the maximum adjustable duty ratio range: if the current rotating speed of the fan to be controlled does not meet the preset rotating speed range and the current duty ratio of the fan to be controlled does not meet the maximum adjustable duty ratio range, not adjusting the current rotating speed of the fan to be controlled; and if the current rotating speed of the fan to be controlled does not meet the preset rotating speed range and the current duty ratio of the fan to be controlled meets the maximum adjustable duty ratio range, adjusting the current duty ratio according to the current rotating speed. When the fan to be controlled is adjusted, if the current rotating speed of the fan to be controlled is greater than the preset current gear rotating speed, the current duty ratio of the fan to be controlled is reduced; and if the current rotating speed of the fan to be controlled is less than the preset current gear rotating speed, increasing the current duty ratio of the fan to be controlled. And after the fan to be controlled is adjusted, judging whether other fans to be controlled need to be adjusted, if so, adjusting the current duty ratios of the other fans to be controlled according to the current rotating speeds of the other fans to be controlled, and if not, ending the whole control flow.
It should be understood that, although the steps in the flowcharts related to the embodiments as described above are sequentially displayed as indicated by arrows, the steps are not necessarily performed sequentially as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts related to the embodiments described above may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the execution order of the steps or stages is not necessarily sequential, but may be rotated or alternated with other steps or at least a part of the steps or stages in other steps.
Based on the same inventive concept, the embodiment of the present application further provides a fan rotation speed control device for implementing the above-mentioned fan rotation speed control method. The solution of the problem provided by the apparatus is similar to the solution described in the above method, so the specific limitations in one or more embodiments of the fan speed control apparatus provided below can be referred to the limitations of the fan speed control method in the above, and are not described herein again.
In one embodiment, as shown in fig. 3, there is provided a fan speed control apparatus 300 including: an obtaining module 301, a judging module 302 and an adjusting module 303, wherein:
the obtaining module 301 is configured to obtain a current rotation speed and a current duty ratio of a fan to be controlled that operates at a preset gear.
The determining module 302 is configured to determine whether the current rotation speed of the fan to be controlled meets a preset rotation speed range, and determine whether the current duty ratio of the fan to be controlled meets a maximum adjustable duty ratio range.
And the adjusting module 303 is configured to adjust the current duty ratio according to the current rotating speed when the current rotating speed of the fan to be controlled does not meet a preset rotating speed range and the current duty ratio of the fan to be controlled meets a maximum adjustable duty ratio range.
In an embodiment, the determining module 302 is specifically configured to: judging whether the current rotating speed of the fan to be controlled is greater than the difference value between the gear rotating speed of the preset gear and the preset rotating speed tolerance or not, and judging whether the current rotating speed of the fan to be controlled is less than the sum of the gear rotating speed of the preset gear and the preset rotating speed tolerance or not; if the current rotating speed of the fan to be controlled is greater than the difference value between the gear rotating speed of the preset gear and the preset rotating speed tolerance and is less than the sum of the gear rotating speed of the preset gear and the preset rotating speed tolerance, the current rotating speed of the fan to be controlled meets a preset rotating speed range; otherwise, the current rotating speed of the fan to be controlled does not meet the preset rotating speed range.
In one embodiment, the determining module 302 is further configured to: judging whether the current duty ratio of the fan to be controlled is greater than the sum of the preset duty ratio of the preset gear and a preset duty ratio threshold value, and judging whether the current duty ratio of the fan to be controlled is less than the difference value of the preset duty ratio of the preset gear and the preset duty ratio threshold value; if the current duty ratio of the fan to be controlled is greater than the difference value between the preset duty ratio of the preset gear and the preset duty ratio threshold value, and the current duty ratio of the fan to be controlled is less than the sum of the preset duty ratio of the preset gear and the preset duty ratio threshold value, the current duty ratio of the fan to be controlled meets the maximum adjustable duty ratio range; otherwise, the current duty ratio of the fan to be controlled does not meet the maximum adjustable duty ratio range.
In one embodiment, the adjusting module 303 is further configured to: if the current rotating speed of the fan to be controlled meets a preset rotating speed range, not adjusting the current rotating speed of the fan to be controlled; if the current rotating speed of the fan to be controlled does not meet the preset rotating speed range but the current duty ratio of the fan to be controlled exceeds the upper limit of the maximum adjustable duty ratio range, adjusting the current rotating speed of the fan to be controlled according to the upper limit of the maximum adjustable duty ratio range; and if the current duty ratio of the fan to be controlled is lower than the lower limit of the maximum adjustable duty ratio range, adjusting the current rotating speed of the fan to be controlled according to the lower limit of the maximum adjustable duty ratio range.
In one embodiment, the adjusting module 303 is further configured to: if the current rotating speed of the fan to be controlled is greater than the gear rotating speed of the preset gear, reducing the current duty ratio of the fan to be controlled; and if the current rotating speed of the fan to be controlled is less than the gear rotating speed of the preset gear, increasing the current duty ratio of the fan to be controlled.
In one embodiment, the adjusting module 303 is further configured to: and judging whether other fans to be controlled need to be adjusted, and if so, adjusting the current duty ratios of the other fans to be controlled according to the current rotating speeds of the other fans to be controlled.
According to the fan rotating speed control device, the current rotating speed and the current duty ratio of the fan to be controlled are obtained, whether the current rotating speed of the fan to be controlled meets a preset rotating speed range or not is judged, whether the current duty ratio of the fan to be controlled meets a maximum adjustable duty ratio range or not is judged, when the current rotating speed of the fan to be controlled does not meet the preset rotating speed range or not, the current duty ratio of the fan to be controlled meets the maximum adjustable duty ratio range or not is judged, the current duty ratio is adjusted according to the current rotating speed, rotating speed adjustment of the fan to be controlled is achieved, and rotating speed adjusting precision and heat dissipation effect of the fan to be controlled are improved.
Each module in the fan rotation speed control device may be wholly or partially implemented by software, hardware, or a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 4. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a fan speed control method.
Those skilled in the art will appreciate that the architecture shown in fig. 4 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
acquiring the current rotating speed and the current duty ratio of a fan to be controlled which operates at a preset gear;
judging whether the current rotating speed of the fan to be controlled meets a preset rotating speed range or not, and judging whether the current duty ratio of the fan to be controlled meets a maximum adjustable duty ratio range or not;
and if the current rotating speed of the fan to be controlled does not meet the preset rotating speed range and the current duty ratio of the fan to be controlled meets the maximum adjustable duty ratio range, adjusting the current duty ratio according to the current rotating speed.
In one embodiment, the processor, when executing the computer program, further performs the steps of: whether the current rotating speed of the fan to be controlled is larger than the difference value between the gear rotating speed of the preset gear and the preset rotating speed tolerance or not is judged, and whether the current rotating speed of the fan to be controlled is smaller than the sum of the gear rotating speed of the preset gear and the preset rotating speed tolerance or not is judged; if the current rotating speed of the fan to be controlled is greater than the difference value between the gear rotating speed of the preset gear and the preset rotating speed tolerance and is less than the sum of the gear rotating speed of the preset gear and the preset rotating speed tolerance, the current rotating speed of the fan to be controlled meets a preset rotating speed range; otherwise, the current rotating speed of the fan to be controlled does not meet the preset rotating speed range.
In one embodiment, the processor, when executing the computer program, further performs the steps of: judging whether the current duty ratio of the fan to be controlled is greater than the sum of the preset duty ratio of the preset gear and a preset duty ratio threshold value, and judging whether the current duty ratio of the fan to be controlled is less than the difference value of the preset duty ratio of the preset gear and the preset duty ratio threshold value; if the current duty ratio of the fan to be controlled is larger than the difference value between the preset duty ratio of the preset gear and the preset duty ratio threshold value, and the current duty ratio of the fan to be controlled is smaller than the sum of the preset duty ratio of the preset gear and the preset duty ratio threshold value, the current duty ratio of the fan to be controlled meets the maximum adjustable duty ratio range; otherwise, the current duty ratio of the fan to be controlled does not meet the maximum adjustable duty ratio range.
In one embodiment, the processor, when executing the computer program, further performs the steps of: if the current rotating speed of the fan to be controlled meets a preset rotating speed range, not adjusting the current rotating speed of the fan to be controlled; if the current rotating speed of the fan to be controlled does not meet the preset rotating speed range but the current duty ratio of the fan to be controlled exceeds the upper limit of the maximum adjustable duty ratio range, adjusting the current rotating speed of the fan to be controlled according to the upper limit of the maximum adjustable duty ratio range; and if the current duty ratio of the fan to be controlled is lower than the lower limit of the maximum adjustable duty ratio range, adjusting the current rotating speed of the fan to be controlled according to the lower limit of the maximum adjustable duty ratio range.
In one embodiment, the processor, when executing the computer program, further performs the steps of: if the current rotating speed of the fan to be controlled is greater than the gear rotating speed of the preset gear, reducing the current duty ratio of the fan to be controlled; and if the current rotating speed of the fan to be controlled is less than the gear rotating speed of the preset gear, increasing the current duty ratio of the fan to be controlled.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and judging whether other fans to be controlled need to be adjusted, and if so, adjusting the current duty ratios of the other fans to be controlled according to the current rotating speeds of the other fans to be controlled.
According to the computer equipment, the current rotating speed and the current duty ratio of the fan to be controlled are obtained, whether the current rotating speed of the fan to be controlled meets a preset rotating speed range or not is judged, whether the current duty ratio of the fan to be controlled meets a maximum adjustable duty ratio range or not is judged, when the current rotating speed of the fan to be controlled does not meet the preset rotating speed range or not, the current duty ratio of the fan to be controlled meets the maximum adjustable duty ratio range, the current duty ratio is adjusted according to the current rotating speed, rotating speed adjustment of the fan to be controlled is achieved, and rotating speed adjusting precision and heat dissipation effect of the fan to be controlled are improved.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring the current rotating speed and the current duty ratio of a fan to be controlled which operates at a preset gear;
judging whether the current rotating speed of the fan to be controlled meets a preset rotating speed range or not, and judging whether the current duty ratio of the fan to be controlled meets a maximum adjustable duty ratio range or not;
and if the current rotating speed of the fan to be controlled does not meet the preset rotating speed range and the current duty ratio of the fan to be controlled meets the maximum adjustable duty ratio range, adjusting the current duty ratio according to the current rotating speed.
In one embodiment, the computer program when executed by the processor further performs the steps of: whether the current rotating speed of the fan to be controlled is greater than the difference value between the gear rotating speed of the preset gear and the preset rotating speed tolerance or not is judged, and whether the current rotating speed of the fan to be controlled is less than the sum of the gear rotating speed of the preset gear and the preset rotating speed tolerance or not is judged; if the current rotating speed of the fan to be controlled is greater than the difference value between the gear rotating speed of the preset gear and the preset rotating speed tolerance and is less than the sum of the gear rotating speed of the preset gear and the preset rotating speed tolerance, the current rotating speed of the fan to be controlled meets a preset rotating speed range; otherwise, the current rotating speed of the fan to be controlled does not meet the preset rotating speed range.
In one embodiment, the computer program when executed by the processor further performs the steps of: judging whether the current duty ratio of the fan to be controlled is greater than the sum of the preset duty ratio of the preset gear and a preset duty ratio threshold value or not, and judging whether the current duty ratio of the fan to be controlled is smaller than the difference value of the preset duty ratio of the preset gear and the preset duty ratio threshold value or not; if the current duty ratio of the fan to be controlled is greater than the difference value between the preset duty ratio of the preset gear and the preset duty ratio threshold value, and the current duty ratio of the fan to be controlled is less than the sum of the preset duty ratio of the preset gear and the preset duty ratio threshold value, the current duty ratio of the fan to be controlled meets the maximum adjustable duty ratio range; otherwise, the current duty ratio of the fan to be controlled does not meet the maximum adjustable duty ratio range.
In one embodiment, the computer program when executed by the processor further performs the steps of: if the current rotating speed of the fan to be controlled meets a preset rotating speed range, not adjusting the current rotating speed of the fan to be controlled; if the current rotating speed of the fan to be controlled does not meet the preset rotating speed range but the current duty ratio of the fan to be controlled exceeds the upper limit of the maximum adjustable duty ratio range, adjusting the current rotating speed of the fan to be controlled according to the upper limit of the maximum adjustable duty ratio range; and if the current duty ratio of the fan to be controlled is lower than the lower limit of the maximum adjustable duty ratio range, adjusting the current rotating speed of the fan to be controlled according to the lower limit of the maximum adjustable duty ratio range.
In one embodiment, the computer program when executed by the processor further performs the steps of: if the current rotating speed of the fan to be controlled is greater than the gear rotating speed of the preset gear, reducing the current duty ratio of the fan to be controlled; and if the current rotating speed of the fan to be controlled is less than the gear rotating speed of the preset gear, increasing the current duty ratio of the fan to be controlled.
In one embodiment, the computer program when executed by the processor further performs the steps of: and judging whether other fans to be controlled need to be adjusted, and if so, adjusting the current duty ratios of the other fans to be controlled according to the current rotating speeds of the other fans to be controlled.
The storage medium obtains the current rotating speed and the current duty ratio of the fan to be controlled, judges whether the current rotating speed of the fan to be controlled meets a preset rotating speed range or not, judges whether the current duty ratio of the fan to be controlled meets a maximum adjustable duty ratio range or not, adjusts the current duty ratio according to the current rotating speed when the current rotating speed of the fan to be controlled does not meet the preset rotating speed range and meets the maximum adjustable duty ratio range, achieves rotating speed adjustment of the fan to be controlled, and improves rotating speed adjustment precision and heat dissipation effect of the fan to be controlled.
In one embodiment, a computer program product is provided, comprising a computer program which, when executed by a processor, performs the steps of:
acquiring the current rotating speed and the current duty ratio of a fan to be controlled which operates at a preset gear;
judging whether the current rotating speed of the fan to be controlled meets a preset rotating speed range or not, and judging whether the current duty ratio of the fan to be controlled meets a maximum adjustable duty ratio range or not;
and if the current rotating speed of the fan to be controlled does not meet the preset rotating speed range and the current duty ratio of the fan to be controlled meets the maximum adjustable duty ratio range, adjusting the current duty ratio according to the current rotating speed.
In one embodiment, the computer program when executed by the processor further performs the steps of: whether the current rotating speed of the fan to be controlled is greater than the difference value between the gear rotating speed of the preset gear and the preset rotating speed tolerance or not is judged, and whether the current rotating speed of the fan to be controlled is less than the sum of the gear rotating speed of the preset gear and the preset rotating speed tolerance or not is judged; if the current rotating speed of the fan to be controlled is greater than the difference value between the gear rotating speed of the preset gear and the preset rotating speed tolerance and is less than the sum of the gear rotating speed of the preset gear and the preset rotating speed tolerance, the current rotating speed of the fan to be controlled meets a preset rotating speed range; otherwise, the current rotating speed of the fan to be controlled does not meet the preset rotating speed range.
In one embodiment, the computer program when executed by the processor further performs the steps of: judging whether the current duty ratio of the fan to be controlled is greater than the sum of the preset duty ratio of the preset gear and a preset duty ratio threshold value, and judging whether the current duty ratio of the fan to be controlled is less than the difference value of the preset duty ratio of the preset gear and the preset duty ratio threshold value; if the current duty ratio of the fan to be controlled is greater than the difference value between the preset duty ratio of the preset gear and the preset duty ratio threshold value, and the current duty ratio of the fan to be controlled is less than the sum of the preset duty ratio of the preset gear and the preset duty ratio threshold value, the current duty ratio of the fan to be controlled meets the maximum adjustable duty ratio range; otherwise, the current duty ratio of the fan to be controlled does not meet the maximum adjustable duty ratio range.
In one embodiment, the computer program when executed by the processor further performs the steps of: if the current rotating speed of the fan to be controlled meets a preset rotating speed range, not adjusting the current rotating speed of the fan to be controlled; if the current rotating speed of the fan to be controlled does not meet the preset rotating speed range but the current duty ratio of the fan to be controlled exceeds the upper limit of the maximum adjustable duty ratio range, adjusting the current rotating speed of the fan to be controlled according to the upper limit of the maximum adjustable duty ratio range; and if the current duty ratio of the fan to be controlled is lower than the lower limit of the maximum adjustable duty ratio range, adjusting the current rotating speed of the fan to be controlled according to the lower limit of the maximum adjustable duty ratio range.
In one embodiment, the computer program when executed by the processor further performs the steps of: if the current rotating speed of the fan to be controlled is greater than the gear rotating speed of the preset gear, reducing the current duty ratio of the fan to be controlled; and if the current rotating speed of the fan to be controlled is less than the gear rotating speed of the preset gear, increasing the current duty ratio of the fan to be controlled.
In one embodiment, the computer program when executed by the processor further performs the steps of: and judging whether other fans to be controlled need to be adjusted, and if so, adjusting the current duty ratios of the other fans to be controlled according to the current rotating speeds of the other fans to be controlled.
According to the computer program product, the current rotating speed and the current duty ratio of the fan to be controlled are obtained, whether the current rotating speed of the fan to be controlled meets a preset rotating speed range or not is judged, whether the current duty ratio of the fan to be controlled meets a maximum adjustable duty ratio range or not is judged, when the current rotating speed of the fan to be controlled does not meet the preset rotating speed range or not, the current duty ratio of the fan to be controlled meets the maximum adjustable duty ratio range, the current duty ratio is adjusted according to the current rotating speed, rotating speed adjustment of the fan to be controlled is achieved, and rotating speed adjusting precision and heat dissipation effect of the fan to be controlled are improved.
It should be noted that, the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high-density embedded nonvolatile Memory, resistive Random Access Memory (ReRAM), Magnetic Random Access Memory (MRAM), Ferroelectric Random Access Memory (FRAM), Phase Change Memory (PCM), graphene Memory, and the like. Volatile Memory can include Random Access Memory (RAM), external cache Memory, and the like. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others. The databases referred to in various embodiments provided herein may include at least one of relational and non-relational databases. The non-relational database may include, but is not limited to, a block chain based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic devices, quantum computing based data processing logic devices, etc., without limitation.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.

Claims (10)

1. A method of controlling fan speed, the method comprising:
acquiring the current rotating speed and the current duty ratio of a fan to be controlled which operates at a preset gear;
judging whether the current rotating speed of the fan to be controlled meets a preset rotating speed range or not, and judging whether the current duty ratio of the fan to be controlled meets a maximum adjustable duty ratio range or not;
and if the current rotating speed of the fan to be controlled does not meet the preset rotating speed range and the current duty ratio of the fan to be controlled meets the maximum adjustable duty ratio range, adjusting the current duty ratio according to the current rotating speed.
2. The method according to claim 1, wherein the determining whether the current rotating speed of the fan to be controlled meets a preset rotating speed range comprises:
judging whether the current rotating speed of the fan to be controlled is greater than the difference value between the gear rotating speed of the preset gear and the preset rotating speed tolerance or not, and judging whether the current rotating speed of the fan to be controlled is less than the sum of the gear rotating speed of the preset gear and the preset rotating speed tolerance or not;
if the current rotating speed of the fan to be controlled is greater than the difference value between the gear rotating speed of the preset gear and the preset rotating speed tolerance and is less than the sum of the gear rotating speed of the preset gear and the preset rotating speed tolerance, the current rotating speed of the fan to be controlled meets a preset rotating speed range;
otherwise, the current rotating speed of the fan to be controlled does not meet the preset rotating speed range.
3. The method of claim 2, wherein the determining whether the current duty cycle of the fan to be controlled satisfies a maximum adjustable duty cycle range comprises:
judging whether the current duty ratio of the fan to be controlled is greater than the sum of the preset duty ratio of the preset gear and a preset duty ratio threshold value, and judging whether the current duty ratio of the fan to be controlled is less than the difference value of the preset duty ratio of the preset gear and the preset duty ratio threshold value;
if the current duty ratio of the fan to be controlled is greater than the difference value between the preset duty ratio of the preset gear and the preset duty ratio threshold value, and the current duty ratio of the fan to be controlled is less than the sum of the preset duty ratio of the preset gear and the preset duty ratio threshold value, the current duty ratio of the fan to be controlled meets the maximum adjustable duty ratio range;
otherwise, the current duty ratio of the fan to be controlled does not meet the maximum adjustable duty ratio range.
4. The method of claim 1, wherein the fan speed control method further comprises:
if the current rotating speed of the fan to be controlled meets a preset rotating speed range, not adjusting the current rotating speed of the fan to be controlled;
if the current rotating speed of the fan to be controlled does not meet the preset rotating speed range but the current duty ratio of the fan to be controlled exceeds the upper limit of the maximum adjustable duty ratio range, adjusting the current rotating speed of the fan to be controlled according to the upper limit of the maximum adjustable duty ratio range; and if the current duty ratio of the fan to be controlled is lower than the lower limit of the maximum adjustable duty ratio range, adjusting the current rotating speed of the fan to be controlled according to the lower limit of the maximum adjustable duty ratio range.
5. The method of claim 2, wherein the adjusting the current duty cycle as a function of the current speed comprises:
if the current rotating speed of the fan to be controlled is greater than the gear rotating speed of the preset gear, reducing the current duty ratio of the fan to be controlled;
and if the current rotating speed of the fan to be controlled is less than the gear rotating speed of the preset gear, increasing the current duty ratio of the fan to be controlled.
6. The method of claim 5, wherein the fan speed control method further comprises:
and judging whether other fans to be controlled need to be adjusted, and if so, adjusting the current duty ratios of the other fans to be controlled according to the current rotating speeds of the other fans to be controlled.
7. A fan speed control apparatus, comprising:
the control device comprises an acquisition module, a control module and a control module, wherein the acquisition module is used for acquiring the current rotating speed and the current duty ratio of a fan to be controlled which operates at a preset gear;
the judging module is used for judging whether the current rotating speed of the fan to be controlled meets a preset rotating speed range or not and judging whether the current duty ratio of the fan to be controlled meets a maximum adjustable duty ratio range or not;
and the adjusting module is used for adjusting the current duty ratio according to the current rotating speed when the current rotating speed of the fan to be controlled does not meet the preset rotating speed range and the current duty ratio of the fan to be controlled meets the maximum adjustable duty ratio range.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 6.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
10. A computer program product comprising a computer program, characterized in that the computer program realizes the steps of the method of any one of claims 1 to 6 when executed by a processor.
CN202210301282.3A 2022-03-25 2022-03-25 Fan rotating speed control method and device, computer equipment and storage medium Pending CN114439768A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210301282.3A CN114439768A (en) 2022-03-25 2022-03-25 Fan rotating speed control method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210301282.3A CN114439768A (en) 2022-03-25 2022-03-25 Fan rotating speed control method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114439768A true CN114439768A (en) 2022-05-06

Family

ID=81359981

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210301282.3A Pending CN114439768A (en) 2022-03-25 2022-03-25 Fan rotating speed control method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114439768A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120035769A1 (en) * 2010-08-06 2012-02-09 Hon Hai Precision Industry Co., Ltd. System and method for controlling an electronic device fan
CN111120383A (en) * 2019-12-28 2020-05-08 苏州浪潮智能科技有限公司 Control method and control device for equipment fan, switch and storage medium
CN111706539A (en) * 2020-06-09 2020-09-25 深圳市汇川技术股份有限公司 Method and device for regulating and controlling rotating speed of motor fan and readable storage medium
CN112324693A (en) * 2020-10-29 2021-02-05 山东云海国创云计算装备产业创新中心有限公司 Monitoring method, monitoring device, monitoring equipment and storage medium for fan rotating speed
CN114153693A (en) * 2021-11-26 2022-03-08 苏州浪潮智能科技有限公司 Server fan state monitoring method and device and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120035769A1 (en) * 2010-08-06 2012-02-09 Hon Hai Precision Industry Co., Ltd. System and method for controlling an electronic device fan
CN111120383A (en) * 2019-12-28 2020-05-08 苏州浪潮智能科技有限公司 Control method and control device for equipment fan, switch and storage medium
CN111706539A (en) * 2020-06-09 2020-09-25 深圳市汇川技术股份有限公司 Method and device for regulating and controlling rotating speed of motor fan and readable storage medium
CN112324693A (en) * 2020-10-29 2021-02-05 山东云海国创云计算装备产业创新中心有限公司 Monitoring method, monitoring device, monitoring equipment and storage medium for fan rotating speed
CN114153693A (en) * 2021-11-26 2022-03-08 苏州浪潮智能科技有限公司 Server fan state monitoring method and device and storage medium

Similar Documents

Publication Publication Date Title
CN113133286B (en) Heat dissipation control method, device, equipment and storage medium
EP2277103A2 (en) Ranking visualization types based upon fitness for visualizing a data set
WO2017084505A1 (en) Method and device for obtaining capacity of application cluster
US11068507B2 (en) Methods and systems for multi-dimensional aggregation using composition
US9274581B2 (en) Date adjusted power budgeting for an information handling system
WO2021254455A1 (en) Backlight brightness value adjustment method and apparatus, and electronic device and storage medium
CN106292954A (en) Fan rotational frequency control method and device
US20080306633A1 (en) Optimized power and airflow multistage cooling system
CN113530659A (en) Fan control method and device, electronic equipment and medium
CN114282727A (en) Computer room temperature prediction method and system and electronic equipment
CN114439768A (en) Fan rotating speed control method and device, computer equipment and storage medium
CN109324941B (en) Temperature acquisition method, terminal and storage medium
CN110873069A (en) Method and device for controlling fan parameters
CN114635868A (en) Method and device for controlling rotating speed of cooling fan, computer equipment and storage medium
CN116360566A (en) Fan speed regulating method, device, computer equipment, storage medium and program product
CN116954334A (en) Heat dissipation control method, device, server, computer equipment and storage medium
CN115977985A (en) Fan control method and device, electronic equipment and storage medium
CN115492674A (en) Control method and device for electric water pump and cooling fan
CN112253516B (en) Speed regulation method and device
CN114135513A (en) Fan control method, device, equipment and storage medium
CN115051002A (en) Heat dissipation control method and device, computer equipment and storage medium
CN113311926A (en) Fan speed regulation method and device, electronic equipment and computer readable storage medium
TWI723332B (en) Computer system management method and computer system
CN117570049A (en) Fan control method and device, baseboard management controller and server
TW202004570A (en) Model constructing method, system, and non-transitory computer 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