CN111350686B - Control method and control device - Google Patents

Control method and control device Download PDF

Info

Publication number
CN111350686B
CN111350686B CN201811574412.0A CN201811574412A CN111350686B CN 111350686 B CN111350686 B CN 111350686B CN 201811574412 A CN201811574412 A CN 201811574412A CN 111350686 B CN111350686 B CN 111350686B
Authority
CN
China
Prior art keywords
temperature
current
value
pwm value
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811574412.0A
Other languages
Chinese (zh)
Other versions
CN111350686A (en
Inventor
吴振辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201811574412.0A priority Critical patent/CN111350686B/en
Publication of CN111350686A publication Critical patent/CN111350686A/en
Application granted granted Critical
Publication of CN111350686B publication Critical patent/CN111350686B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K5/00Manipulating of pulses not covered by one of the other main groups of this subclass
    • H03K5/01Shaping pulses
    • H03K5/04Shaping pulses by increasing duration; by decreasing duration
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F05INDEXING SCHEMES RELATING TO ENGINES OR PUMPS IN VARIOUS SUBCLASSES OF CLASSES F01-F04
    • F05DINDEXING SCHEME FOR ASPECTS RELATING TO NON-POSITIVE-DISPLACEMENT MACHINES OR ENGINES, GAS-TURBINES OR JET-PROPULSION PLANTS
    • F05D2270/00Control
    • F05D2270/30Control parameters, e.g. input parameters
    • F05D2270/303Temperature

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Nonlinear Science (AREA)
  • Control Of Electric Motors In General (AREA)

Abstract

The embodiment of the invention provides a control method and a control device, wherein the method comprises the following steps: determining a first adjusting coefficient according to the current temperature and the temperature base value of the equipment; determining a target PWM value according to the first regulating coefficient and the current PWM value; wherein the current PWM value is determined according to the current temperature, the temperature base value and the alarm temperature of the equipment; and controlling the rotating speed of the fan according to the target PWM value. The embodiment of the invention can continuously maintain the temperature of the equipment near the temperature basic value so as to improve the running stability of the equipment, avoid the condition that the fan continuously runs at the maximum rotating speed and further reduce the power consumption of the fan.

Description

Control method and control device
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to a control method and a control device.
Background
PWM (Pulse Width Modulation) control technology is a very effective technology for controlling an analog circuit by using a digital output of a microprocessor, and is widely used in many fields from measurement, communication to power control and conversion.
For example, the fan speed of the base station board card can be controlled by using the PWM control technology to adjust the temperature of the base station board card, thereby avoiding the situation that the base station board card is reset due to over-high temperature.
Specifically, the rotation speed of the fan can be controlled in two ways: firstly, the PWM duty ratio is set to a certain fixed value so as to control the fan to operate at a fixed rotating speed. And secondly, setting a plurality of temperature intervals, wherein each temperature interval corresponds to a fixed PWM (pulse-width modulation) duty ratio, and setting the PWM duty ratio corresponding to the temperature interval by judging the temperature interval where the temperature of the base station board card is located so as to control the fan to operate at different rotating speeds in different temperature intervals, thereby realizing the hierarchical control of the temperature of the base station board card.
However, the first fixed rotation speed control method is single, and the rotation speed of the fan cannot be flexibly controlled according to the temperature of the base station board, and if the temperature of the base station board is high and the rotation speed of the fan is low, the temperature of the base station board cannot be effectively reduced, so that the stability of the base station is affected. The second temperature-step control method may control the fan to operate at different rotation speeds in different temperature intervals, but if the fan is continuously operated at the maximum rotation speed, the power consumption of the fan will be too high.
Disclosure of Invention
The embodiment of the invention provides a control method and a control device, which can improve the stability of equipment and reduce the power consumption of a fan.
The embodiment of the invention provides a control method, which comprises the following steps:
determining a first adjusting coefficient according to the current temperature and the temperature base value of the equipment;
determining a target PWM value according to the first regulating coefficient and the current PWM value; wherein the current PWM value is determined according to the current temperature, the temperature base value and the alarm temperature of the equipment;
and controlling the rotating speed of the fan according to the target PWM value.
An embodiment of the present invention provides a control device, where the control device includes:
the first determining module is used for determining a first adjusting coefficient according to the current temperature and the temperature base value of the equipment;
the second determining module is used for determining a target PWM value according to the first regulating coefficient and the current PWM value; wherein the current PWM value is determined according to the current temperature, the temperature base value and the alarm temperature of the equipment;
and the control module is used for controlling the rotating speed of the fan according to the target PWM value.
The embodiment of the invention has the following advantages:
the embodiment of the invention can determine a first regulating coefficient according to the current temperature and the temperature base value of the equipment, determine a target PWM value according to the first regulating coefficient and the current PWM value, and control the rotating speed of the fan according to the target PWM value. The current PWM value is determined according to the current temperature of the equipment, the temperature base value and the alarm temperature, so that the current PWM value can control the temperature of the equipment to be close to the temperature base value and not exceed the alarm temperature, and the equipment can normally operate;
in addition, the first adjusting coefficient is determined according to the current temperature and the temperature base value of the equipment, so that the first adjusting coefficient can reflect the difference between the current temperature and the temperature base value, the embodiment of the invention can continuously adjust the current PWM value according to the first adjusting coefficient to obtain the target PWM value, so that the target PWM value can reflect the dynamic difference between the current temperature and the temperature base value of the equipment, and the rotating speed of the fan is dynamically adjusted according to the target PWM value, so that the temperature of the equipment can be continuously maintained near the temperature base value, and the running stability of the equipment is improved;
furthermore, the first adjusting coefficient is adjusted in real time according to the current temperature of the equipment, so that the condition that the fan continuously runs at the maximum rotating speed can be avoided, and the power consumption of the fan can be further reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a flow chart of a first embodiment of a control method of the present invention;
FIG. 2 is a flow chart of a second embodiment of a control method of the present invention;
fig. 3 shows a block diagram of an embodiment of a control device according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Method embodiment one
Referring to fig. 1, a flowchart of a first embodiment of a control method according to the present invention is shown, which may specifically include:
step 101, determining a first adjusting coefficient according to the current temperature and the temperature base value of the equipment;
step 102, determining a target PWM value according to the first regulating coefficient and the current PWM value; wherein the current PWM value is determined according to the current temperature, the temperature base value and the alarm temperature of the equipment;
and 103, controlling the rotating speed of the fan according to the target PWM value.
The embodiment of the invention can be applied to an application scene of controlling the rotating speed of the fan through PWM to adjust the temperature of equipment. Wherein, the device may specifically include: the base station board card, the CPU, the display card, the mainboard chip set, the hard disk, the chassis, the power supply and other devices capable of generating heat. It is to be understood that the embodiments of the present invention do not limit the specific type of the apparatus described. For convenience of description, in the embodiments of the present invention, a base station board is taken as an example for description, and other types of devices may be referred to each other.
Specifically, according to the embodiment of the invention, the current PWM value can be determined according to the current temperature, the temperature base value and the alarm temperature, so as to control the temperature of the device to be near the temperature base value and not to exceed the alarm temperature, so that the device can normally operate.
According to the embodiment of the invention, the rotating speed of the fan can be controlled according to the target PWM value. For example, the rotation speed of the fan may be controlled by sending PWM signals with different duty ratios to the fan according to the target PWM value.
In the embodiment of the present invention, the current temperature may specifically be a highest temperature among all current board temperature monitoring points. The temperature base value may specifically be an optimal temperature at which the device operates, for example, a default value of the optimal temperature may be set to 50 °, that is, the temperature base value may be set to 50 °. Of course, in practical applications, different devices may have different optimal temperatures, and those skilled in the art may flexibly set the temperature base value according to practical situations.
Optionally, the embodiment of the present invention may further set the temperature base value as a sum of the optimal temperature and an adjustment threshold. For example, the temperature base value may be set as follows:
temperature base value-optimum temperature (default 50 °) + adjustment threshold value (default 5 °)
The first adjustment coefficient may be configured to implement step-by-step acceleration or step-by-step deceleration on the rotation speed of the fan, for example, if the current temperature is greater than the temperature base value, the rotation speed of the fan may be gradually increased according to the first adjustment coefficient, so as to steadily decrease the temperature of the device; or, if the current temperature is less than the temperature base value, the rotation speed of the fan can be gradually reduced according to the first adjusting coefficient so as to stably increase the temperature of the equipment.
In an embodiment of the present invention, the current PWM value may be determined according to the current temperature, the temperature base value, and an alarm temperature of the device. Specifically, the current PWM value can be calculated by the following formula:
current PWM value 100 x offset parameter +100+ first PWM value (1)
Wherein, the offset parameter is (current temperature-optimum temperature)/(alarm temperature-optimum temperature) (2)
The first PWM value may specifically be a minimum PWM value, for example, the minimum PWM value may be 50. In an application example of the present invention, assuming that the current temperature of the base station board card is 70 °, the alarm temperature of the base station board card is 70 °, the optimal temperature of the base station board card is 50 °, and the offset parameter can be calculated to be 1, then the current PWM value is 100+100+50 — 250; similarly, if the current temperature of the base station board card is 30 °, the offset parameter can be calculated to be-1, and then the current PWM value is 50.
It is to be understood that the above-mentioned manner for calculating the current PWM value is only an application example of the present invention, and the embodiment of the present invention does not limit the specific manner for calculating the current PWM value.
In an optional embodiment of the present invention, the determining a first adjustment coefficient according to the current temperature of the device and the temperature base value may specifically include:
if the current temperature of the equipment is smaller than the temperature basic value of the equipment, determining a first adjusting coefficient according to the difference between the temperature basic value and the current temperature and a second adjusting coefficient; or
And if the current temperature of the equipment is greater than the temperature base value of the equipment, determining a first adjusting coefficient according to the difference between the current temperature and the temperature base value and a second adjusting coefficient.
Specifically, if the current temperature is less than the temperature base value, the first adjustment coefficient is calculated as follows:
first adjustment coefficient ═ second adjustment coefficient + (base temperature-current temperature) (3)
If the current temperature is greater than the temperature base value, the calculation process of the first adjustment coefficient is as follows:
first adjustment coefficient ═ second adjustment coefficient + (current temperature-temperature base value) (4)
In the embodiment of the present invention, a value range of the second adjustment coefficient may be set to [1,5], when the value of the second adjustment coefficient is 1, the fan speed is adjusted slowly, and when the value of the second adjustment coefficient is 5, the fan speed is adjusted quickly.
In a specific application, a suitable second adjustment coefficient may be selected according to a difference between a current temperature of the device and a temperature base value, for example, when the difference between the current temperature and the temperature base value is large, the rotation speed of the fan needs to be continuously adjusted, and the second adjustment coefficient may be set to 5.
It should be understood that the value range of the second adjustment coefficient is only an application example of the present invention, and the specific value of the second adjustment coefficient is not limited in the embodiment of the present invention.
In an optional embodiment of the present invention, the determining a target PWM value according to the first adjustment coefficient and the current PWM value may specifically include:
if the current temperature is smaller than the temperature basic value, determining a target PWM value according to the difference between the current PWM value and the first regulating coefficient; or
And if the current temperature is greater than the temperature base value, determining a target PWM value according to the sum of the current PWM value and the first regulating coefficient.
Specifically, if the current temperature is less than the temperature base value, the calculation process of the target PWM value is as follows:
target PWM value-current PWM value-first adjustment factor (5)
If the current temperature is greater than the temperature base value, the calculation process of the target PWM value is as follows:
target PWM value is equal to current PWM value + first regulating coefficient (6)
In a specific application, if the current temperature is less than the temperature base value, the rotation speed of the fan can be gradually reduced to gradually increase the temperature of the equipment to the temperature base value, and therefore, the first adjusting coefficient can be subtracted from the current PWM value to reduce the current PWM value; if the current temperature is higher than the temperature base value, the rotating speed of the fan can be gradually increased to gradually reduce the temperature of the equipment to the temperature base value, and therefore, a first adjusting coefficient can be added to the current PWM value to increase the current PWM value; if the current temperature is equal to the temperature base value, the current rotational speed of the fan may be maintained, and thus, the current PWM value may be maintained.
In an optional embodiment of the invention, the method may further comprise:
if the current temperature is smaller than a first temperature threshold value, setting a target PWM value as a first PWM value; or
And if the current temperature is greater than a second temperature threshold value, setting the target PWM value as a second PWM value.
The first temperature threshold refers to the lowest temperature at which the equipment normally works, for example, the lowest temperature at which the base station board card normally works is 20 degrees; the second temperature threshold refers to a maximum temperature at which the device normally operates, for example, the maximum temperature at which the base station board card normally operates is 63 °.
The first PWM value may specifically be a minimum PWM value, for example, the minimum PWM value may be 50, and if the current temperature is less than the first temperature threshold, it indicates that the current temperature of the device is low, and the temperature of the device needs to be rapidly increased.
The second PWM value may specifically be a maximum PWM value, for example, the maximum PWM value may be 250, and if the current temperature is greater than the second temperature threshold, it indicates that the current temperature of the device is higher, and the temperature of the device needs to be reduced quickly.
In a specific application, it may be initially set that the current temperature is greater than the first temperature threshold and less than the second temperature threshold. During the operation of the device, the current temperature of the device can be monitored in real time, if the current temperature is detected to be less than the first temperature threshold value, the target PWM value can be set to be the first PWM value, and if the current temperature is detected to be greater than the second temperature threshold value, the target PWM value can be set to be the second PWM value.
It is understood that the specific values of the first temperature threshold, the second temperature threshold, the first PWM value, and the second PWM value are not limited in the embodiments of the present invention.
In an optional embodiment of the invention, the method may further comprise:
step S11, acquiring the temperature of the equipment at the previous moment;
step S12, if the current temperature is lower than the previous time temperature, updating the first adjustment coefficient according to a difference between the previous time temperature and the current temperature;
and step S13, if the current temperature is greater than the previous time temperature, updating the first adjusting coefficient according to the difference between the current temperature and the previous time temperature.
The embodiment of the invention can also acquire the temperature of the equipment at the previous moment, compare the current temperature with the temperature at the previous moment, and compensate the first adjusting coefficient according to the difference between the current temperature and the temperature at the previous moment so as to realize the stable control of the temperature of the equipment.
Specifically, if the current temperature is less than the temperature at the previous time, the first adjustment coefficient is updated as:
current first adjustment coefficient + (previous time temperature-current temperature) (7)
If the current temperature is greater than the temperature at the previous moment, updating the first adjusting coefficient as follows:
current first adjustment coefficient + (current temperature-previous time temperature) (8)
Therefore, the embodiment of the invention can dynamically adjust the first adjusting coefficient according to the difference between the temperature at the previous moment and the current temperature, further realize the stable control of the temperature of the equipment, stably maintain the temperature of the equipment near the temperature basic value, and further improve the working stability of the equipment.
In summary, the embodiment of the present invention may determine the first adjustment coefficient according to the current temperature of the device and the temperature base value, determine the target PWM value according to the first adjustment coefficient and the current PWM value, and control the rotation speed of the fan according to the target PWM value. The current PWM value is determined according to the current temperature of the equipment, the temperature base value and the alarm temperature, so that the current PWM value can control the temperature of the equipment to be close to the temperature base value and not exceed the alarm temperature, and the equipment can normally operate;
in addition, the first adjusting coefficient is determined according to the current temperature and the temperature base value of the equipment, so that the first adjusting coefficient can reflect the difference between the current temperature and the temperature base value, the embodiment of the invention can continuously adjust the current PWM value according to the first adjusting coefficient to obtain the target PWM value, so that the target PWM value can reflect the dynamic difference between the current temperature and the temperature base value of the equipment, and the rotating speed of the fan is dynamically adjusted according to the target PWM value, so that the temperature of the equipment can be continuously maintained near the temperature base value, and the running stability of the equipment is improved;
furthermore, the first adjusting coefficient is adjusted in real time according to the current temperature of the equipment, so that the condition that the fan continuously runs at the maximum rotating speed can be avoided, and the power consumption of the fan can be further reduced.
Method embodiment two
Referring to fig. 2, a flowchart of a second embodiment of a control method according to the present invention is shown, which may specifically include:
step 201, initializing and assigning an initial value;
specifically, the current temperature may be set to be the highest temperature among all board card temperature monitoring points, and the temperature base value may be set to be: optimum temperature (50 ° by default) + adjustment threshold (5 ° by default).
Step 202, judging whether the control mode is a fixed rotating speed control mode, if so, executing step 203; otherwise, go to step 204;
step 203, controlling the rotating speed of the fan according to a preset fixed PWM value;
step 204, judging whether the control mode is a temperature grading control mode, if so, executing step 205, otherwise, executing step 206;
step 205, controlling the rotating speed of the fan according to a temperature grading control mode;
and step 206, controlling the rotating speed of the fan according to a stable temperature control mode.
In the step 205 of temperature-based hierarchical control, the temperature of the device is divided into a plurality of temperature intervals, each temperature interval is set to correspond to a fixed PWM value, the target PWM value is set to be the PWM value corresponding to the temperature interval by determining the temperature interval where the current temperature of the device is located, and the rotation speed of the fan is controlled according to the target PWM value.
In an application example of the present invention, step 205 may specifically include the following steps:
step 2051, judging whether the current temperature of the equipment is greater than or equal to 70, if so, setting the target PWM value to 250; otherwise, go to step 2052;
step 2052, judging whether the current temperature of the equipment is greater than or equal to 60 and less than 70, if so, setting the target PWM value to 200; otherwise, go to step 2053;
step 2053, judging whether the current temperature of the equipment is more than or equal to 50 and less than 60, if so, setting the target PWM value to 170; otherwise, go to step 2054;
step 2054, judging whether the current temperature of the equipment is more than or equal to 40 and less than 50, if so, setting the target PWM value to 150; otherwise, go to step 2055;
step 2055, judging whether the current temperature of the equipment is more than or equal to 35 and less than 40, if so, setting the target PWM value to 120; otherwise, go to step 2056;
step 2056, judging whether the current temperature of the equipment is more than or equal to 25 and less than 35, if so, setting the target PWM value to 100; otherwise, go to step 2057;
step 2057 sets the target PWM value to 50.
It can be understood that the value range of the temperature interval and the PWM value corresponding to each temperature interval are only used as an application example of the present invention, and the value range of the temperature interval and the specific value of the PWM value corresponding to each temperature interval are not limited in the embodiment of the present invention.
The temperature stabilizing control method in step 206 is the control method according to the first embodiment of the present invention. In an application example of the present invention, step 206 may include the following steps:
step 2061, judging whether the current temperature of the equipment is lower than the lowest temperature (the default value is 20 degrees) of the normal work of the equipment, if so, setting the target PWM value to be 50; otherwise, go to step 2062;
step 2062, judging whether the current temperature of the equipment is greater than the highest temperature (the default value is 63 degrees) of normal operation of the equipment, if so, setting the target PWM value to be 250; otherwise, go to step 2063;
step 2063, judging whether the current temperature of the equipment is less than the temperature base value, if so, setting a first adjusting coefficient according to the formula (3); otherwise, setting a first adjusting coefficient according to the formula (4);
step 2064, judging whether the current temperature of the equipment is lower than the temperature at the previous moment, if so, updating the first adjusting coefficient according to a formula (7); otherwise, updating the first adjustment coefficient according to formula (8);
step 2065, judging whether the current temperature of the equipment is less than the temperature base value, if so, setting a target PWM value according to the formula (5); otherwise, setting a target PWM value according to a formula (6);
and step 2066, controlling the rotating speed of the fan according to the target PWM value.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Device embodiment
Referring to fig. 3, a block diagram of a control device according to an embodiment of the present invention is shown, which may specifically include:
a first determining module 301, configured to determine a first adjustment coefficient according to a current temperature of the device and a temperature base value;
a second determining module 302, configured to determine a target PWM value according to the first adjustment coefficient and the current PWM value; wherein the current PWM value is determined according to the current temperature, the temperature base value and the alarm temperature of the equipment;
and the control module 303 is configured to control the rotation speed of the fan according to the target PWM value.
Optionally, the first determining module includes:
the first determining submodule is used for determining a first adjusting coefficient according to the difference between the temperature base value and the current temperature and a second adjusting coefficient if the current temperature of the equipment is smaller than the temperature base value of the equipment; or
And the second determining submodule is used for determining a first adjusting coefficient according to the difference between the current temperature and the temperature base value and the second adjusting coefficient if the current temperature of the equipment is greater than the temperature base value of the equipment.
Optionally, the second determining module includes:
a third determining submodule, configured to determine a target PWM value according to a difference between the current PWM value and the first adjustment coefficient if the current temperature is smaller than the temperature base value; or
And the fourth determining submodule is used for determining a target PWM value according to the sum of the current PWM value and the first regulating coefficient if the current temperature is greater than the temperature base value.
Optionally, the apparatus further comprises:
the first setting module is used for setting the target PWM value as a first PWM value if the current temperature is smaller than a first temperature threshold value; or
And the second setting module is used for setting the target PWM value as a second PWM value if the current temperature is greater than a second temperature threshold value.
Optionally, the apparatus further comprises:
the acquisition module is used for acquiring the temperature of the equipment at the previous moment;
a first updating module, configured to update the first adjustment coefficient according to a difference between the previous-time temperature and the current temperature if the current temperature is less than the previous-time temperature;
and the second updating module is used for updating the first adjusting coefficient according to the difference between the current temperature and the temperature at the previous moment if the current temperature is greater than the temperature at the previous moment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The above detailed description is provided for a control method and a control device provided by the present invention, and the principle and the implementation of the present invention are explained by applying specific examples, and the description of the above embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (8)

1. A control method, characterized in that the method comprises:
determining a first adjusting coefficient according to the current temperature and the temperature base value of the equipment;
determining a target PWM value according to the first regulating coefficient and the current PWM value; wherein the current PWM value is determined according to the current temperature, the temperature base value and the alarm temperature of the equipment;
controlling the rotating speed of the fan according to the target PWM value;
the determining a first adjustment coefficient according to the current temperature of the equipment and the temperature base value comprises the following steps:
if the current temperature of the equipment is smaller than the temperature basic value of the equipment, determining a first adjusting coefficient according to the difference between the temperature basic value and the current temperature and a second adjusting coefficient; or
And if the current temperature of the equipment is greater than the temperature base value of the equipment, determining a first adjusting coefficient according to the difference between the current temperature and the temperature base value and a second adjusting coefficient.
2. The method of claim 1, wherein determining a target PWM value based on the first adjustment factor and a current PWM value comprises:
if the current temperature is smaller than the temperature basic value, determining a target PWM value according to the difference between the current PWM value and the first regulating coefficient; or
And if the current temperature is greater than the temperature base value, determining a target PWM value according to the sum of the current PWM value and the first regulating coefficient.
3. The method of claim 1, further comprising:
if the current temperature is smaller than a first temperature threshold value, setting a target PWM value as a first PWM value; or
And if the current temperature is greater than a second temperature threshold value, setting the target PWM value as a second PWM value.
4. The method of claim 1, further comprising:
acquiring the temperature of the equipment at the previous moment;
if the current temperature is lower than the temperature at the previous moment, updating the first adjusting coefficient according to the difference between the temperature at the previous moment and the current temperature;
and if the current temperature is greater than the temperature at the previous moment, updating the first adjusting coefficient according to the difference between the current temperature and the temperature at the previous moment.
5. A control device, characterized in that the device comprises:
the first determining module is used for determining a first adjusting coefficient according to the current temperature and the temperature base value of the equipment;
the second determining module is used for determining a target PWM value according to the first regulating coefficient and the current PWM value; wherein the current PWM value is determined according to the current temperature, the temperature base value and the alarm temperature of the equipment;
the control module is used for controlling the rotating speed of the fan according to the target PWM value;
the first determining module includes:
the first determining submodule is used for determining a first adjusting coefficient according to the difference between the temperature base value and the current temperature and a second adjusting coefficient if the current temperature of the equipment is smaller than the temperature base value of the equipment; or
And the second determining submodule is used for determining a first adjusting coefficient according to the difference between the current temperature and the temperature base value and the second adjusting coefficient if the current temperature of the equipment is greater than the temperature base value of the equipment.
6. The apparatus of claim 5, wherein the second determining module comprises:
a third determining submodule, configured to determine a target PWM value according to a difference between the current PWM value and the first adjustment coefficient if the current temperature is smaller than the temperature base value; or
And the fourth determining submodule is used for determining a target PWM value according to the sum of the current PWM value and the first regulating coefficient if the current temperature is greater than the temperature base value.
7. The apparatus of claim 5, further comprising:
the first setting module is used for setting the target PWM value as a first PWM value if the current temperature is smaller than a first temperature threshold value; or
And the second setting module is used for setting the target PWM value as a second PWM value if the current temperature is greater than a second temperature threshold value.
8. The apparatus of claim 5, further comprising:
the acquisition module is used for acquiring the temperature of the equipment at the previous moment;
a first updating module, configured to update the first adjustment coefficient according to a difference between the previous-time temperature and the current temperature if the current temperature is less than the previous-time temperature;
and the second updating module is used for updating the first adjusting coefficient according to the difference between the current temperature and the temperature at the previous moment if the current temperature is greater than the temperature at the previous moment.
CN201811574412.0A 2018-12-21 2018-12-21 Control method and control device Active CN111350686B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811574412.0A CN111350686B (en) 2018-12-21 2018-12-21 Control method and control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811574412.0A CN111350686B (en) 2018-12-21 2018-12-21 Control method and control device

Publications (2)

Publication Number Publication Date
CN111350686A CN111350686A (en) 2020-06-30
CN111350686B true CN111350686B (en) 2021-07-09

Family

ID=71195404

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811574412.0A Active CN111350686B (en) 2018-12-21 2018-12-21 Control method and control device

Country Status (1)

Country Link
CN (1) CN111350686B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111927811B (en) * 2020-07-30 2022-06-24 长沙景嘉微电子股份有限公司 Control method, device, terminal and medium for display card fan
CN113048092B (en) * 2021-05-10 2023-02-10 北京中航电科科技有限公司 Fan rotating speed self-adaption method and device
CN115474031A (en) * 2022-09-13 2022-12-13 峰米(重庆)创新科技有限公司 Projection equipment heat dissipation method and device, projection equipment and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100458652C (en) * 2005-01-20 2009-02-04 英业达股份有限公司 Heat radiation method
US8140196B2 (en) * 2007-06-06 2012-03-20 Hewlett-Packard Development Company, L.P. Method of controlling temperature of a computer system
CN101832287A (en) * 2009-03-10 2010-09-15 华为技术有限公司 Method and device for speed regulation of fan and communication system
CN104391555B (en) * 2014-12-05 2017-08-25 浪潮集团有限公司 A kind of server fan speed regulating method
CN105242763A (en) * 2015-10-10 2016-01-13 浪潮电子信息产业股份有限公司 Energy-saving computer fan regulation and control strategy
CN105443424B (en) * 2015-12-18 2017-03-22 南京南瑞继保电气有限公司 Control device and method for inverter cooling fan
CN108691795B (en) * 2017-04-05 2019-09-06 营邦企业股份有限公司 The fan control of electronic equipment and modification method
CN108279754B (en) * 2018-01-22 2020-06-16 苏州浪潮智能科技有限公司 Fan heat dissipation method, system, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN111350686A (en) 2020-06-30

Similar Documents

Publication Publication Date Title
CN111350686B (en) Control method and control device
CN107272876B (en) Method and apparatus for managing global chip power on a multi-core system-on-a-chip
CN102878102B (en) Speed adjustment processing method and device of fan
CN101832287A (en) Method and device for speed regulation of fan and communication system
CN113503269B (en) Fan speed regulating method, device, computer equipment and computer readable storage medium
CN108352828B (en) Digital pre-compensation for voltage slewing in a power converter
CN104391555A (en) Server fan speed adjusting method
CN109139524B (en) Method and device for regulating speed of fan and storage medium
CN109424570B (en) Fan control method and device
CN114415454A (en) Projection equipment heat dissipation control method and device, projection equipment and storage medium
CN104165141A (en) Control method and control device of compressor
CN113568805B (en) Real-time adjustment method and device for power consumption of server and electronic equipment
CN106708218A (en) Noise-preventing control method and device of fan
CN110725806A (en) Fan rotating speed control method and device and server
CN117491721A (en) Zero sequence voltage control method and device, electronic equipment and storage medium
CN103821746A (en) Fan monitoring method and sever system
CN110736242B (en) Control method and device of air conditioner, storage medium and processor
CN116048222A (en) Intelligent temperature control fan control method, system, medium and terminal
CN116163976A (en) Fan speed regulation method, device, equipment and machine-readable storage medium
CN111536068B (en) Fan rotating speed control method and device and head-mounted equipment
CN114922842A (en) Fan speed regulation control method, device, equipment and readable storage medium
CN110989762B (en) Photovoltaic power generation control method, device and system
US20090261768A1 (en) System and method for adjusting pulse width modulation signals according to component temperatures in a computer
US20150005948A1 (en) Electronic device and method for controlling rotation speed of fan thereof
CN106125784B (en) A kind of control method and electronic equipment

Legal Events

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