CN111927811B - Control method, device, terminal and medium for display card fan - Google Patents
Control method, device, terminal and medium for display card fan Download PDFInfo
- Publication number
- CN111927811B CN111927811B CN202010752492.5A CN202010752492A CN111927811B CN 111927811 B CN111927811 B CN 111927811B CN 202010752492 A CN202010752492 A CN 202010752492A CN 111927811 B CN111927811 B CN 111927811B
- Authority
- CN
- China
- Prior art keywords
- duty ratio
- pwm duty
- current temperature
- determining
- temperature deviation
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 63
- 230000008859 change Effects 0.000 claims description 85
- 238000004590 computer program Methods 0.000 claims description 22
- 230000009466 transformation Effects 0.000 claims description 2
- 230000017525 heat dissipation Effects 0.000 abstract description 14
- 230000000694 effects Effects 0.000 abstract description 11
- 230000009467 reduction Effects 0.000 abstract description 5
- 238000005516 engineering process Methods 0.000 abstract description 3
- 230000008569 process Effects 0.000 description 18
- 238000010586 diagram Methods 0.000 description 16
- 230000006870 function Effects 0.000 description 11
- 238000012545 processing Methods 0.000 description 8
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 239000000306 component Substances 0.000 description 3
- 230000009977 dual effect Effects 0.000 description 3
- 238000013459 approach Methods 0.000 description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000013021 overheating Methods 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 239000008358 core component Substances 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 238000009499 grossing Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 239000000523 sample Substances 0.000 description 1
Images
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F04—POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
- F04D—NON-POSITIVE-DISPLACEMENT PUMPS
- F04D27/00—Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids
- F04D27/004—Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids by varying driving speed
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/20—Cooling means
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Mechanical Engineering (AREA)
- Control Of Temperature (AREA)
Abstract
The embodiment of the application provides a control method, a control device, a control terminal and a control medium of a display card fan, relates to a display card heat dissipation technology, and aims to solve the problem that in the related technology, a good heat dissipation effect and noise reduction are difficult to achieve. The control method comprises the following steps: acquiring the current temperature of the display card, and determining the current temperature deviation amount of the display card; the current temperature deviation amount is the difference between the current temperature and the set temperature; determining a Pulse Width Modulation (PWM) duty ratio according to the current temperature deviation amount; and when the PWM duty ratio exceeds the maximum duty ratio corresponding to the noise requirement, controlling the rotating speed of the display card fan according to the maximum duty ratio.
Description
Technical Field
The present disclosure relates to a graphics card heat dissipation technology, and in particular, to a method, an apparatus, a terminal and a medium for controlling a graphics card fan.
Background
The graphics card is an important component for connecting the display and the computer motherboard. The display card is used for converting display information required by the computer system to drive the display, providing progressive or interlaced scanning signals for the display and controlling the display to display correctly. The display card mainly comprises a display card mainboard, a GPU (Graphics Processing Unit), a display memory and the like; the GPU is a core component of the display card and is mainly used for constructing and rendering input video information.
In the process of operating the graphics card, the GPU generates a large amount of heat, and in order to prevent the GPU from being damaged due to overheating, in the related art, a graphics card fan for dissipating heat is generally configured for the graphics card. In the process of the rotation of the display card fan, the fan blades of the display card fan can accelerate the air flow around the display card, and the heat emitted by the display card can be dissipated along with the flowing air. In the process of rotation of the display card fan, noise is generated by vibration, air flow and the like of the display card fan; the higher the speed of the graphics card fan, the more noise it generates. Therefore, how to achieve both good heat dissipation effect and noise reduction is a problem to be solved urgently.
Disclosure of Invention
The embodiment of the application provides a method, a device, a terminal and a medium for controlling a graphics card fan, which are used for solving the problems that good heat dissipation effect and noise reduction are difficult to be considered in the related art.
A first aspect of an embodiment of the present application provides a method for controlling a graphics card fan, including:
acquiring the current temperature of a display card, and determining the current temperature deviation amount of the display card; the current temperature deviation amount is the difference between the current temperature and the set temperature;
determining a Pulse Width Modulation (PWM) duty ratio according to the current temperature deviation amount;
and when the PWM duty ratio exceeds the maximum duty ratio corresponding to the noise requirement, controlling the rotating speed of the display card fan according to the maximum duty ratio.
A second aspect of the embodiments of the present application provides a control device for a graphics card fan, including:
the first determining module is used for acquiring the current temperature of the display card and determining the current temperature deviation amount of the display card; the current temperature deviation amount is the difference between the current temperature and the set temperature;
the second determining module is used for determining the duty ratio of Pulse Width Modulation (PWM) according to the current temperature deviation amount;
and the control module is used for controlling the rotating speed of the display card fan according to the maximum duty ratio when the PWM duty ratio exceeds the maximum duty ratio corresponding to the noise requirement.
A third aspect of the embodiments of the present application provides a terminal, including:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement a method as claimed in any preceding claim.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium having a computer program stored thereon; the computer program is executed by a processor to implement a method as claimed in any preceding claim.
The control method, the device, the terminal and the medium for the display card fan can determine the PWM duty ratio according to the current temperature deviation amount, compare the PWM duty ratio with the maximum duty ratio corresponding to the noise requirement, and control the rotating speed of the display card fan according to the maximum duty ratio when the PWM duty ratio exceeds the maximum duty ratio corresponding to the noise requirement, so that the noise generated in the rotation process of the display card fan can be favorably ensured to meet the noise requirement, and the heat dissipation effect of the display card can be favorably ensured.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic flowchart of a method for controlling a graphics card fan according to an exemplary embodiment;
fig. 2 is a control flow of a method for controlling a graphics card fan according to an exemplary embodiment;
FIG. 3 is a control block diagram of dual mode control provided by an exemplary embodiment;
fig. 4 is a block diagram of a control device of a graphics card fan according to an exemplary embodiment.
Detailed Description
In order to make the technical solutions and advantages of the embodiments of the present application more apparent, the following further detailed description of the exemplary embodiments of the present application with reference to the accompanying drawings makes it clear that the described embodiments are only a part of the embodiments of the present application, and are not exhaustive of all embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
In the related art, to prevent the GPU (Graphics Processing Unit) from being damaged due to overheating, a Graphics card fan is usually configured for dissipating heat of the Graphics card. In the process of the rotation of the display card fan, the fan blades of the display card fan can accelerate the air flow around the display card, and the heat emitted by the display card can be dissipated along with the flowing air. The higher the rotating speed of the display card fan is, the better the heat dissipation effect on the display card is. However, in the process of the rotation of the graphics card fan, the vibration of the graphics card fan and the air flow generate noise; the higher the speed of the graphics card fan, the more noise it generates. Therefore, how to achieve both good heat dissipation effect and noise reduction is a problem to be solved urgently.
In order to overcome the above problems, the present embodiment provides a method, an apparatus, a terminal and a medium for controlling a graphics card fan, which can control the rotation speed of the graphics card fan according to a temperature deviation amount and under a condition that a noise requirement is met, so as to facilitate both a good heat dissipation effect and low noise of the graphics card.
The following describes functions and implementation processes of the control method of the graphics card fan according to this embodiment with reference to the accompanying drawings.
Fig. 1 is a schematic flowchart of a method for controlling a graphics card fan according to an exemplary embodiment.
As shown in fig. 1, the method for controlling a graphics card fan provided in this embodiment includes:
s101, acquiring the current temperature of the display card, and determining the current temperature deviation amount of the display card; the temperature deviation amount is the difference between the current temperature and the set temperature;
s102, determining a Pulse Width Modulation (PWM) duty ratio according to the current temperature deviation value;
s103, when the PWM duty ratio exceeds the maximum duty ratio corresponding to the noise requirement, controlling the rotating speed of the display card fan according to the maximum duty ratio;
and S104, when the PWM duty ratio is smaller than or equal to the maximum duty ratio corresponding to the noise requirement, controlling the rotating speed of the display card fan according to the PWM duty ratio.
The display card is provided with a temperature sensing element, and the temperature sensing element is used for detecting the temperature of the display card. The temperature sensing element may be a temperature sensing probe. At least one area of the display card is provided with a temperature sensing element. The display card can be provided with a plurality of temperature sensing pieces, and the plurality of temperature sensing pieces can be respectively arranged in different areas of the display card. The average value of the temperatures detected by the temperature sensing elements can be used as the current temperature of the display card. In other examples, the highest temperature value detected in the plurality of temperature sensing elements can be used as the current temperature of the display card. Of course, the current temperature of the display card is not limited thereto, and the embodiment is only illustrated here.
Fig. 2 is a control flow of a method for controlling a graphics card fan according to an exemplary embodiment.
As shown in fig. 2, in step S101, the current temperature of the graphics card is obtained, and the current temperature deviation amount of the graphics card is determined according to the current temperature and the set temperature. The current temperature deviation amount may specifically be a difference between the current temperature and the set temperature. The set temperature can be set by a person skilled in the art according to actual needs, and the embodiment is not specifically limited herein. The set temperature may be the same or different for graphics cards used in different classes.
In step S102, a pulse width modulation PWM duty ratio is determined according to the current temperature deviation amount. In this example, a dual mode control approach may be employed to determine the PWM duty cycle; the control block diagram for the dual mode control may be as shown in fig. 3. The mode decision in fig. 3 is: and comparing the current temperature deviation amount with the set deviation range. When the deviation of the current temperature relative to the set temperature is relatively large, namely the deviation amount of the current temperature exceeds the set temperature difference range, the PWM duty ratio is determined by adopting a fuzzy control method, so that the interference of uncertain factors such as the fan type, the ambient temperature and the like is favorably avoided; the execution subject of the control process may include a fuzzy controller. When the deviation of the current temperature relative to the set temperature is relatively small, namely the deviation amount of the current temperature is within the set temperature difference range, the PWM duty ratio can be determined through a linear control method, so that the rotating speed of the display card fan can be finely controlled, the good heat dissipation effect on the display card can be ensured, and the noise reduction can be favorably realized; the execution body of the control process may include a PI (proportional integral) controller.
Illustratively, step S102 includes:
when the current temperature deviation amount exceeds a preset deviation range, determining a PWM duty ratio according to a preset rule table; the rule table comprises a corresponding relation between a plurality of temperature deviation amounts and PWM duty ratios;
and when the current temperature deviation amount is within a preset deviation range, determining the PWM duty ratio according to a preset linear control model.
The following illustrates the implementation process of the fuzzy control algorithm adopted when the current temperature deviation amount exceeds the preset deviation range.
Optionally, the rule table includes a correspondence relationship between a plurality of temperature deviation amounts and a plurality of temperature change rates and a PWM duty ratio.
Before determining the PWM duty ratio according to a preset rule table, the method further comprises the following steps:
determining the current temperature change rate of the display card; the current rate of temperature change is the quotient of the temperature difference and the corresponding time difference. Illustratively, TR=(P1-P0)/(T1-T0) (ii) a Wherein, TRRepresents a temperature change rate; p1Display card T1The time, that is, the temperature value at the current time; t is0Time prior to T1Time of day; p is0Display card T0I.e. the temperature value at the previous moment.
Determining the PWM duty ratio according to a preset rule table, comprising: and determining corresponding PWM duty ratios from the corresponding relations among the plurality of temperature deviation amounts, the plurality of temperature change rates and the PWM duty ratios according to the current temperature deviation amount and the current temperature change rate.
In this example, the logic of the fuzzy control is as follows: firstly, converting the output temperature deviation amount, the temperature change rate and the output duty ratio from continuous amounts into fuzzy languages, namely positive large, positive middle, positive small, zero, negative small, negative middle and negative large; taking the temperature deviation as an example, the temperature deviation is +15 ℃, +5 ℃, +2 ℃, 0, -2 ℃, -5 ℃, -15 ℃; the division of the rate of temperature change and the output duty cycle is similar. Second, a weight value of each language is determined so that a control section of the fuzzy language can be covered.
For example, as shown in table 1 below, table 1 is a rule table determined according to the fuzzy control logic, and is used for selecting the PWM duty ratio according to the temperature deviation amount and the temperature change rate. The first column in table 1 (column in the vertical direction in the table) is the temperature deviation amount. The first row in table 1 (the row in the lateral direction in the table) is the temperature change rate. The remaining values in table 1 represent the steps of the duty cycle, which correspond to the respective PWM duty cycles; specifically, the PWM duty cycles corresponding to the gears 0-7 of the duty cycle may be respectively: 0%, 6%, 10%, 16%, 20%, 26%, 30%, 36%.
It should be noted that: in this embodiment, the temperature deviation amount, the temperature change rate, the gear position of the duty ratio, and the specific value corresponding to the PWM duty ratio are not limited. The specific values of the present embodiment are merely illustrated for ease of understanding; in different environments or scenes, the degree deviation amount, the temperature change rate, the gear of the duty ratio and the specific value corresponding to the PWM duty ratio can be changed correspondingly; in the specific implementation process, the temperature deviation amount, the temperature change rate, the gear of the duty ratio and the specific value corresponding to the PWM duty ratio can be set according to actual needs.
TABLE 1 rule Table
The rule shows that when the current temperature is lower than the set temperature, the PWM duty ratio does not change obviously; when the current temperature approaches the set temperature and exceeds the set temperature, the PWM duty cycle is significantly increased.
During specific implementation, the rotating speed of the fan is set according to the PWM duty ratio after the smoothing of the rule table; record T0Temperature value P at time0(ii) a Record T1Temperature value P at time1,T0Time prior to T1Time of day; the rate of temperature change TR=(P1-P0)/(T1-T0) According to the temperature value P1Deviation from set temperature and temperatureRate of change TRAnd looking up a table to obtain a new PWM duty ratio, and setting the rotating speed of the fan according to the PWM duty ratio. And circulating the steps until the current temperature of the display card is within the set temperature range.
In other examples, since the temperature is set to be a known amount and the temperature deviation amount is in one-to-one correspondence with the current temperature, the column to which the temperature deviation amount corresponds in the above rule table 1 may be replaced by the current temperature.
Setting a weight value for each fuzzy language in advance; wherein the sum of the weight values of every two adjacent fuzzy languages is 100%. The specific value of the weight value is not limited in this embodiment, and may be specifically set according to actual needs.
When the current temperature deviation amount is between two temperature deviation amounts in the rule table, respectively determining corresponding PWM duty ratios according to the two temperature deviation amounts, the current temperature change rate and the rule table, and determining the PWM duty ratio corresponding to the current temperature deviation amount according to the determined PWM duty ratio and the weight values of the two temperature deviation amounts; or,
when the current temperature deviation amount is equal to the temperature deviation amount in the rule table, determining a corresponding PWM duty ratio according to the current temperature deviation amount, the current temperature change rate and the rule table, and determining the PWM duty ratio as the PWM duty ratio corresponding to the current temperature deviation amount.
When the current temperature change rate is between two temperature change rates in the rule table, respectively determining corresponding PWM duty ratios according to the two temperature change rates, the current temperature deviation amount and the rule table, and determining the PWM duty ratio corresponding to the current temperature change rate according to the determined PWM duty ratios and the weighted values of the two temperature change rates; or,
when the current temperature change rate is equal to the temperature change rate in the rule table, determining a corresponding PWM duty ratio according to the current temperature change rate, the current temperature deviation amount and the rule table, and determining the PWM duty ratio as the PWM duty ratio corresponding to the current temperature change rate.
For example, the preset temperature deviation amount is 20% corresponding to 5 ℃, and the preset temperature deviation amount is 80% corresponding to 15 ℃; when the actually obtained current temperature deviation amount is between 5 ℃ and 15 ℃ and the temperature change rate is 3 ℃/s, the PWM duty ratio corresponding to 5 ℃, 3 ℃/s is 5, the PWM duty ratio corresponding to 15 ℃, 3 ℃/s is 7, and the PWM duty ratio corresponding to the current temperature deviation amount is 5 x 20% +7 x 80% + 6.6; in a specific implementation, the obtained numerical value may be subjected to rounding or rounding, and the present embodiment is not limited herein.
The preset weight value corresponding to the temperature deviation amount of 2 ℃ is 40%, and the preset weight value corresponding to the temperature deviation amount of 5 ℃ is 60%; when the actually obtained current temperature deviation amount is between 2 ℃ and 5 ℃ and the temperature change rate is 3 ℃/s, the PWM duty ratio corresponding to 2 ℃, 3 ℃/s is 3, the PWM duty ratio corresponding to 5 ℃, 3 ℃/s is 5, and the PWM duty ratio corresponding to the current temperature deviation amount is 3 x 40% +7 x 60% + 5.4; in a specific implementation, the obtained numerical value may be subjected to rounding or rounding, and the present embodiment is not limited herein.
When the actually obtained current temperature deviation amount and the current temperature change rate do not correspond to the corresponding conditions in the rule table: the PWM duty ratio can be preferentially determined according to the two temperature deviation values and the weight value under one temperature change rate; under another temperature change rate, determining PWM duty ratio according to the two temperature deviation values and the weight value; and finally, determining the actually obtained temperature deviation amount and the PWM duty ratio corresponding to the temperature change rate according to the PWM duty ratios under the two temperature change rates and the weight values of the two temperature change rates.
Or, when the actually obtained current temperature deviation amount and the current temperature change rate do not correspond to the corresponding conditions in the rule table: the PWM duty ratio can be preferentially determined according to the two temperature change rates and the weight value under one temperature deviation amount; under the other temperature deviation value, determining PWM duty ratio according to the two temperature change rates and the weight value; and finally, determining the actually obtained temperature deviation amount and the PWM duty ratio corresponding to the temperature change rate according to the PWM duty ratios under the two temperature deviation amounts and the weight values of the two temperature deviation amounts.
The implementation of linear control is illustrated below.
Before determining the PWM duty ratio according to a preset linear control model, the method further comprises the following steps:
and acquiring the gain deviation value of the display card.
Optionally, obtaining a gain offset value of the graphics card includes:
determining the gain deviation value of the display card according to the following formula, namely a proportional-integral model:
U=Kp(ΔTi1-ΔTi0)+KIKPΔTi1
wherein U represents a gain offset value; kpRepresents a scaling factor; k isIRepresenting an integral coefficient; delta Ti1Indicating the current temperature deviation amount; delta Ti0Indicating the last temperature deviation. Coefficient of proportionality KpAnd an integral coefficient KIMay be obtained by trial and error.
The linear control model includes:
Upwm=KTU
wherein, UpwmRepresents a PWM duty cycle; kTRepresenting a model conversion coefficient, and obtaining the model conversion coefficient by fitting a general model of the relationship between the gain deviation value and the PWM duty ratio; u represents a gain offset value;
in specific implementation, the PI controller is used for realizing fine control of the rotating speed of the fan near a set temperature, and the realization mode is incremental PI control. The core formula of the incremental PI control is a proportional-integral model. Inputting the gain deviation value U obtained by the proportional-integral model into a linear control model to obtain a PWM duty ratio Upwm。
And comparing the PWM duty ratio obtained in the step S102 with the maximum duty ratio corresponding to the noise requirement. In step S103, if the obtained PWM duty exceeds the maximum duty, the rotation speed of the graphics card fan is controlled according to the maximum duty, so as to prevent the noise of the graphics card fan from exceeding the noise requirement due to the excessive duty, and to achieve a good heat dissipation effect for the graphics card under the condition of meeting the noise requirement. In step S104, if the obtained PWM duty ratio is less than or equal to the maximum duty ratio corresponding to the noise requirement, the rotation speed of the graphics card fan is controlled according to the PWM duty ratio, so as to ensure a good heat dissipation effect on the graphics card.
In this example, the noise requirements may include decibel levels or other parameters that characterize the level of noise. Different noise requirements correspond to different maximum duty cycles. The specific values of the noise requirement and the maximum duty ratio are not limited in this embodiment, and those skilled in the art can set the values according to actual needs.
Optionally, after controlling the rotation speed of the display card fan, the method further includes:
continuously acquiring the current temperature of the display card;
when the current temperature of the display card exceeds the set temperature range, the steps are continuously adopted to control the rotating speed of the display card fan, and the process is repeated until the current temperature of the display card is within the set temperature range to determine the temperature deviation amount of the display card, so that the heat dissipation of the display card fan is realized under the condition that the noise of the display card fan meets the noise requirement, and the temperature of the display card fan can be within the set temperature range. The set temperature range may be set according to actual needs, and the present embodiment is not limited herein, and the set temperature is within the set temperature range.
The present embodiment further provides a control device for a graphics card fan, which is an embodiment of the device corresponding to the foregoing method embodiment, and the functions and implementation processes of the control device are the same as or similar to those of the foregoing embodiment, and are not repeated herein.
Fig. 4 is a block diagram of a control device of a graphics card fan according to an exemplary embodiment.
As shown in fig. 4, the control device for a graphics card fan provided in this embodiment includes:
the first determining module 41 is configured to obtain a current temperature of the graphics card, and determine a current temperature deviation amount of the graphics card; the current temperature deviation amount is the difference between the current temperature and the set temperature;
a second determining module 42, configured to determine a Pulse Width Modulation (PWM) duty ratio according to the current temperature deviation amount;
and the control module 43 is configured to control the rotation speed of the graphics card fan according to the maximum duty ratio when the PWM duty ratio exceeds the maximum duty ratio corresponding to the noise requirement.
The control module 43 is further configured to control the rotation speed of the graphics card fan according to the PWM duty ratio when the PWM duty ratio is less than or equal to the maximum duty ratio corresponding to the noise requirement.
In one possible implementation manner, the second determining module 42 is specifically configured to:
when the current temperature deviation amount exceeds a preset deviation range, determining a PWM duty ratio according to a preset rule table; the rule table comprises corresponding relations between a plurality of temperature deviation amounts and PWM duty ratios;
and when the current temperature deviation amount is within a preset deviation range, determining the PWM duty ratio according to a preset linear control model.
In one possible implementation manner, the rule table includes a corresponding relationship between a plurality of temperature deviation amounts and a plurality of temperature change rates and a PWM duty ratio;
the second determining module 42 is further configured to:
determining the current temperature change rate of the display card according to the current temperature deviation amount of the display card; the current rate of temperature change is the quotient of the temperature difference and the corresponding time difference.
In one possible implementation manner, the second determining module 42 is specifically configured to:
and determining corresponding PWM duty ratios from the corresponding relations among the plurality of temperature deviation amounts, the plurality of temperature change rates and the PWM duty ratios according to the current temperature deviation amount and the current temperature change rate.
In one possible implementation manner, the second determining module 42 is specifically configured to:
when the current temperature deviation amount is between two temperature deviation amounts in the rule table, respectively determining corresponding PWM duty ratios according to the two temperature deviation amounts, the current temperature change rate and the rule table, and determining the PWM duty ratio corresponding to the current temperature deviation amount according to the determined PWM duty ratio and the weight values of the two temperature deviation amounts; or,
when the current temperature deviation amount is equal to the temperature deviation amount in the rule table, determining a corresponding PWM duty ratio according to the current temperature deviation amount, the current temperature change rate and the rule table, and determining the PWM duty ratio as the PWM duty ratio corresponding to the current temperature deviation amount.
In one possible implementation manner, the second determining module 42 is specifically configured to:
when the current temperature change rate is between two temperature change rates in the rule table, respectively determining corresponding PWM duty ratios according to the two temperature change rates, the current temperature deviation amount and the rule table, and determining the PWM duty ratio corresponding to the current temperature change rate according to the determined PWM duty ratios and the weighted values of the two temperature change rates; or,
when the current temperature change rate is equal to the temperature change rate in the rule table, determining a corresponding PWM duty ratio according to the current temperature change rate, the current temperature deviation amount and the rule table, and determining the PWM duty ratio as the PWM duty ratio corresponding to the current temperature change rate.
In one possible implementation, the linear control model includes:
Upwm=KTU
wherein, UpwmRepresents a PWM duty cycle; kTRepresenting a model transformation coefficient; u represents a gain offset value;
in one possible implementation manner, the first determining module 41 is further configured to:
and acquiring the gain deviation value of the display card.
In one possible implementation manner, the first determining module 41 is further specifically configured to:
determining the gain deviation value of the display card according to the following formula:
U=Kp(ΔTi1-ΔTi0)+KIKPΔTi1
wherein U represents a gain offset value; kpRepresents a scaling factor; kIRepresents an integral coefficient; delta Ti1Indicating the current temperature deviation amount; delta Ti0Indicating the last temperature deviation.
In one possible implementation manner, the first determining module 41 is further configured to:
after the rotating speed of the display card fan is controlled, the current temperature of the display card is obtained;
when the current temperature of the display card exceeds the set temperature range, the control module 43 continues to control the rotation speed of the fan of the display card according to the PWM duty ratio or the maximum duty ratio determined by the second determination module 42 until the current temperature of the display card is within the set temperature range to determine the temperature deviation amount of the display card.
In this example, the PWM duty ratio can be compared with the maximum duty ratio corresponding to the noise requirement according to the PWM duty ratio of the current temperature deviation amount, and when the PWM duty ratio exceeds the maximum duty ratio corresponding to the noise requirement, the rotating speed of the display card fan is controlled according to the maximum duty ratio, so that the noise generated in the rotation process of the display card fan can be favorably ensured to meet the noise requirement, and the heat dissipation effect of the display card can be favorably ensured.
The present embodiment further provides a terminal, including:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the control method as in any of the preceding examples.
The functions and implementation processes of the control method are the same as those of the previous example, and are not described herein again.
The memory is used for storing a computer program, and the processor executes the computer program after receiving the execution instruction, and the method executed by the apparatus defined by the flow process disclosed in the foregoing corresponding embodiments can be applied to or implemented by the processor.
The Memory may comprise a Random Access Memory (RAM) and may also include a non-volatile Memory, such as at least one disk Memory. The memory can implement communication connection between the system network element and at least one other network element through at least one communication interface (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used.
The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the method disclosed in the first embodiment may be implemented by hardware integrated logic circuits in a processor or instructions in the form of software. The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The corresponding methods, steps, and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software elements in the decoding processor. The software elements may be located in ram, flash, rom, prom, or eprom, registers, etc. as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
The present embodiment also provides a computer-readable storage medium having a computer program stored thereon; the computer program is executed by a processor to implement the control method as in any of the preceding examples. The functions and implementation processes of the control method are the same as those of the previous example, and are not described herein again.
It should be noted that: unless specifically stated otherwise, the relative steps, numerical expressions, and values of the components and steps set forth in these embodiments do not limit the scope of the present invention. In all examples shown and described herein, unless otherwise specified, any particular value should be construed as merely illustrative, and not restrictive, and thus other examples of example embodiments may have different values.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a unit, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application 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.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. 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 apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, 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 apparatus 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 apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those 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 alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.
Claims (8)
1. A control method of a display card fan is characterized by comprising the following steps:
acquiring the current temperature of a display card, and determining the current temperature deviation amount of the display card; the current temperature deviation amount is the difference between the current temperature and the set temperature;
determining the duty ratio of Pulse Width Modulation (PWM) according to the current temperature deviation amount, wherein the duty ratio comprises the following steps:
when the current temperature deviation amount exceeds a preset deviation range, determining a PWM duty ratio according to a preset rule table; the rule table comprises a corresponding relation between a plurality of temperature deviation amounts and PWM duty ratios; in the rule table, when the current temperature is lower than the set temperature, the PWM duty ratio does not change obviously; when the current temperature is close to the set temperature and exceeds the set temperature, the PWM duty ratio is obviously increased;
the rule table comprises a corresponding relation among a plurality of temperature deviation amounts, a plurality of temperature change rates and PWM duty ratios;
before the determining the PWM duty ratio according to the preset rule table, the method further includes:
determining the current temperature change rate of the display card; the current temperature change rate is the quotient of the temperature difference and the corresponding time difference;
the determining the PWM duty ratio according to the preset rule table comprises the following steps:
determining corresponding PWM duty ratios from the corresponding relations among the plurality of temperature deviation amounts, the plurality of temperature change rates and the PWM duty ratios according to the current temperature deviation amount and the current temperature change rate; the method specifically comprises the following steps:
when the actually obtained current temperature deviation amount and the current temperature change rate do not correspond to the corresponding conditions in the rule table: under one temperature change rate, determining a PWM duty ratio according to the two temperature deviation values and the weight value; under another temperature change rate, determining a PWM duty ratio according to the two temperature deviation values and the weighted value; finally, according to the PWM duty ratios under the two temperature change rates and the weight values of the two temperature change rates, determining the actually obtained temperature deviation amount and the PWM duty ratio corresponding to the temperature change rate;
or, when the actually obtained current temperature deviation amount and the current temperature change rate do not correspond to the corresponding conditions in the rule table: under one temperature deviation amount, determining a PWM duty ratio according to the two temperature change rates and the weight value; under the other temperature deviation value, determining a PWM duty ratio according to the two temperature change rates and the weight value; finally, determining the actually obtained temperature deviation amount and the PWM duty ratio corresponding to the temperature change rate according to the PWM duty ratios under the two temperature deviation amounts and the weight values of the two temperature deviation amounts;
when the current temperature deviation amount is within a preset deviation range, determining a PWM duty ratio according to a preset linear control model;
and when the PWM duty ratio exceeds the maximum duty ratio corresponding to the noise requirement, controlling the rotating speed of the display card fan according to the maximum duty ratio.
2. The control method according to claim 1, after determining a Pulse Width Modulation (PWM) duty ratio according to the current temperature deviation amount, further comprising:
and when the PWM duty ratio is smaller than or equal to the maximum duty ratio corresponding to the noise requirement, controlling the rotating speed of the display card fan according to the PWM duty ratio.
3. The control method according to claim 1, wherein said determining a corresponding PWM duty ratio from the correspondence of the plurality of temperature deviation amounts, the plurality of temperature change rates, and the PWM duty ratio based on the current temperature deviation amount and the current temperature change rate comprises:
when the current temperature deviation amount is between two temperature deviation amounts in the rule table, respectively determining corresponding PWM duty ratios according to the two temperature deviation amounts, the current temperature change rate and the rule table, and determining the PWM duty ratio corresponding to the current temperature deviation amount according to the determined PWM duty ratio and the weight values of the two temperature deviation amounts; or,
when the current temperature deviation amount is equal to the temperature deviation amount in the rule table, determining a corresponding PWM duty ratio according to the current temperature deviation amount, the current temperature change rate and the rule table, and determining the PWM duty ratio as the PWM duty ratio corresponding to the current temperature deviation amount.
4. The control method according to claim 1, wherein determining the corresponding PWM duty cycle from a rule table according to the current temperature deviation amount and the current temperature change rate comprises:
when the current temperature change rate is between two temperature change rates in the rule table, respectively determining corresponding PWM duty ratios according to the two temperature change rates, the current temperature deviation amount and the rule table, and determining the PWM duty ratio corresponding to the current temperature change rate according to the determined PWM duty ratio and the weight values of the two temperature change rates; or,
and when the current temperature change rate is equal to the temperature change rate in the rule table, determining a corresponding PWM duty ratio according to the current temperature change rate, the current temperature deviation amount and the rule table, and determining the PWM duty ratio as the PWM duty ratio corresponding to the current temperature change rate.
5. The control method according to claim 1, further comprising, before the determining the PWM duty ratio according to a preset linear control model:
acquiring a gain deviation value of the display card;
the linear control model includes:
Upwm=KTU
wherein, UpwmRepresents a PWM duty cycle; kTRepresenting a model transformation coefficient; u denotes a gain offset value.
6. The method as claimed in claim 5, wherein the obtaining the gain offset value of the graphics card comprises:
determining a gain deviation value of the display card according to the following formula:
U=Kp(ΔTi1-ΔTi0)+KIKPΔTi1
wherein U represents a gain offset value; kpRepresents a scaling factor; k isIRepresenting an integral coefficient; delta Ti1Indicating the current temperature deviation amount; delta Ti0Indicating the last temperature deviation.
7. A terminal, comprising:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of any one of claims 1-6.
8. A computer-readable storage medium, having stored thereon a computer program; the computer program is executed by a processor to implement the method of any one of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010752492.5A CN111927811B (en) | 2020-07-30 | 2020-07-30 | Control method, device, terminal and medium for display card fan |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010752492.5A CN111927811B (en) | 2020-07-30 | 2020-07-30 | Control method, device, terminal and medium for display card fan |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111927811A CN111927811A (en) | 2020-11-13 |
CN111927811B true CN111927811B (en) | 2022-06-24 |
Family
ID=73314920
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010752492.5A Active CN111927811B (en) | 2020-07-30 | 2020-07-30 | Control method, device, terminal and medium for display card fan |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111927811B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1969156A (en) * | 2004-04-12 | 2007-05-23 | 约克国际公司 | Chiller sound reduction control system and method |
CN101160712A (en) * | 2005-02-16 | 2008-04-09 | 德克萨斯仪器股份有限公司 | Programmable closed loop fan control |
CN102799208A (en) * | 2012-07-20 | 2012-11-28 | 黄克亚 | Photovoltaic power generation maximum power point tracking fuzzy proportion integration differentiation (PID) control method |
CN104156017A (en) * | 2014-08-19 | 2014-11-19 | 江苏科技大学 | High-power high-frequency transformer double-layer oil temperature monitoring system and method thereof |
CN105673540A (en) * | 2014-11-19 | 2016-06-15 | 中兴通讯股份有限公司 | Rotating speed adjustment method and device for fan and rotating speed adjustment system for fan |
CN106640716A (en) * | 2015-07-31 | 2017-05-10 | 中兴通讯股份有限公司 | Fan control method and device capable of giving consideration to all service panels |
CN110063787A (en) * | 2019-04-30 | 2019-07-30 | 北京博海康源医疗器械有限公司 | A kind of temprature control method and device of RF ablation device |
CN111350686A (en) * | 2018-12-21 | 2020-06-30 | 大唐移动通信设备有限公司 | Control method and control device |
-
2020
- 2020-07-30 CN CN202010752492.5A patent/CN111927811B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1969156A (en) * | 2004-04-12 | 2007-05-23 | 约克国际公司 | Chiller sound reduction control system and method |
CN101160712A (en) * | 2005-02-16 | 2008-04-09 | 德克萨斯仪器股份有限公司 | Programmable closed loop fan control |
CN102799208A (en) * | 2012-07-20 | 2012-11-28 | 黄克亚 | Photovoltaic power generation maximum power point tracking fuzzy proportion integration differentiation (PID) control method |
CN104156017A (en) * | 2014-08-19 | 2014-11-19 | 江苏科技大学 | High-power high-frequency transformer double-layer oil temperature monitoring system and method thereof |
CN105673540A (en) * | 2014-11-19 | 2016-06-15 | 中兴通讯股份有限公司 | Rotating speed adjustment method and device for fan and rotating speed adjustment system for fan |
CN106640716A (en) * | 2015-07-31 | 2017-05-10 | 中兴通讯股份有限公司 | Fan control method and device capable of giving consideration to all service panels |
CN111350686A (en) * | 2018-12-21 | 2020-06-30 | 大唐移动通信设备有限公司 | Control method and control device |
CN110063787A (en) * | 2019-04-30 | 2019-07-30 | 北京博海康源医疗器械有限公司 | A kind of temprature control method and device of RF ablation device |
Also Published As
Publication number | Publication date |
---|---|
CN111927811A (en) | 2020-11-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2021150956A5 (en) | ||
US20180059747A1 (en) | Predictive thermal control management using temperature and power sensors | |
CN104729017A (en) | Constant-air-flow control method and device for air conditioner | |
US10965236B2 (en) | Motor control system and associated method to control motor speed | |
US20080306633A1 (en) | Optimized power and airflow multistage cooling system | |
CN111927811B (en) | Control method, device, terminal and medium for display card fan | |
KR20200026050A (en) | Control device and control method | |
US20140191817A1 (en) | Pwm signal generating circuit, printer, and pwm signal generating method | |
US9009209B2 (en) | Processor, control method of processor, and computer readable storage medium storing processing program for division operation | |
CN111023267B (en) | Self-cleaning control method and device and multi-split air conditioner | |
JP5674844B2 (en) | Duty ratio detection circuit and method for PWM signal | |
CN110843746B (en) | Anti-lock brake control method and system based on reinforcement learning | |
US8643663B2 (en) | Efficient radial gradient fills | |
CN114065121A (en) | Calculation method and equipment for solving Itanium model | |
JP2022168480A (en) | Magnet temperature estimation device | |
JP2007166711A (en) | Method and apparatus for driving/controlling brushless motor | |
CN111429715B (en) | Information processing method, device and computer readable storage medium | |
JP5111057B2 (en) | Control device | |
TWI599873B (en) | Electronic device and methods for processing temperature values of an electronic device | |
CN115580273B (en) | Signal generation circuit, signal generation method and voltage control method | |
JP6768084B2 (en) | Vehicle control device | |
CN113807630B (en) | Method, device, equipment and storage medium for acquiring requirements of robot service platform | |
CN115937051B (en) | Image noise processing method, device, equipment and storage medium | |
CN117028017B (en) | Vehicle intercooling water pump control method and vehicle | |
JP2020205715A (en) | Estimation device and estimation method |
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 |