CN114151373A - Server fan rotating speed regulating method, system, terminal and storage medium - Google Patents

Server fan rotating speed regulating method, system, terminal and storage medium Download PDF

Info

Publication number
CN114151373A
CN114151373A CN202111265599.8A CN202111265599A CN114151373A CN 114151373 A CN114151373 A CN 114151373A CN 202111265599 A CN202111265599 A CN 202111265599A CN 114151373 A CN114151373 A CN 114151373A
Authority
CN
China
Prior art keywords
rotating speed
fan
duty ratio
ratio signal
difference
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.)
Granted
Application number
CN202111265599.8A
Other languages
Chinese (zh)
Other versions
CN114151373B (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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202111265599.8A priority Critical patent/CN114151373B/en
Publication of CN114151373A publication Critical patent/CN114151373A/en
Application granted granted Critical
Publication of CN114151373B publication Critical patent/CN114151373B/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
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K7/00Constructional details common to different types of electric apparatus
    • H05K7/20Modifications to facilitate cooling, ventilating, or heating
    • H05K7/20709Modifications to facilitate cooling, ventilating, or heating for server racks or cabinets; for data centers, e.g. 19-inch computer racks
    • H05K7/20836Thermal management, e.g. server temperature control
    • 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
    • F05D2260/00Function
    • F05D2260/81Modelling or simulation
    • 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
    • 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/70Type of control algorithm
    • F05D2270/706Type of control algorithm proportional-integral-differential
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention provides a method, a system, a terminal and a storage medium for regulating and controlling the rotating speed of a server fan, wherein the method comprises the following steps: acquiring the temperature of a server component, and generating a fan regulation and control rotating speed according to a set temperature regulation and control strategy and the component temperature; collecting the actual rotating speed of the fan and calculating the difference value between the regulated rotating speed and the actual rotating speed; if the actual rotating speed is 0 or the difference value does not exceed a set regulation threshold value, converting the difference value into a duty ratio signal and sending the duty ratio signal to the fan; and if the difference exceeds a set regulation threshold, inputting the difference into a PID model to obtain the required rotating speed of the fan, converting the required rotating speed into a duty ratio signal and sending the duty ratio signal to the fan. According to the invention, the fan is controlled to dissipate heat in an auxiliary manner through the actual rotating speed of the fan and the ambient temperature, the fan state is detected, the credibility state of the fan is output, operation and maintenance personnel are prompted, the cooling fan is controlled more friendly, and the user experience is improved.

Description

Server fan rotating speed regulating method, system, terminal and storage medium
Technical Field
The invention relates to the technical field of server heat dissipation, in particular to a method, a system, a terminal and a storage medium for regulating and controlling the rotating speed of a server fan.
Background
At present, when a server uses a fan to dissipate heat, the duty ratio of the fan is calculated by obtaining the temperature of each part, the duty ratio is directly output through an interface to control the fan, and when the fan fails or is aged to cause inaccurate rotating speed control, a further regulation and control method is not provided and prompt information is not output to be referred and maintained by operation and maintenance personnel. Meanwhile, under different environmental temperatures, the requirement on the change rate of the rotating speed of the fan is inconsistent, when the environmental temperature is higher, the response of the fan is faster, and when the environmental temperature is lower, the response speed of the fan can be slower, so that a user has better use experience.
Disclosure of Invention
In view of the above-mentioned deficiencies of the prior art, the present invention provides a method, a system, a terminal and a storage medium for regulating and controlling a rotational speed of a server fan, so as to solve the above-mentioned technical problems.
In a first aspect, the present invention provides a method for regulating and controlling a rotational speed of a server fan, including:
acquiring the temperature of a server component, and generating a fan regulation and control rotating speed according to a set temperature regulation and control strategy and the component temperature;
collecting the actual rotating speed of the fan and calculating the difference value between the regulated rotating speed and the actual rotating speed;
if the actual rotating speed is 0 or the difference value does not exceed a set regulation threshold value, converting the difference value into a duty ratio signal and sending the duty ratio signal to the fan;
and if the difference exceeds a set regulation threshold, inputting the difference into a PID model to obtain the required rotating speed of the fan, converting the required rotating speed into a duty ratio signal and sending the duty ratio signal to the fan.
Further, if the difference does not exceed a set regulation threshold, converting the difference into a duty ratio signal, and sending the duty ratio signal to a fan, including:
and writing the duty ratio signal, the regulated rotating speed and the actual rotating speed into a log while sending the duty ratio signal to the fan.
Further, if the actual rotating speed is 0 or the difference exceeds a set regulation threshold, inputting the difference into a PID model to obtain a required rotating speed of the fan, converting the required rotating speed into a duty ratio signal, and sending the duty ratio signal to the fan, including:
acquiring a first correction coefficient, a second correction coefficient and a third correction coefficient according to the corresponding relation between the difference and a preset difference and a PID model correction coefficient;
taking the product of the proportional parameter of the PID model and the first correction coefficient as a new proportional parameter, taking the product of the integral parameter and the second correction coefficient as a new integral parameter, and taking the product of the differential parameter and the third correction coefficient as a new differential parameter;
and substituting the new proportional parameter, the new integral parameter and the new differential parameter into the PID model to obtain the required rotating speed of the fan corresponding to the temperature of the server reduced to the set normal value.
Further, the method further comprises:
and writing the difference value exceeding the regulation threshold value into an alarm prompt, and storing the alarm prompt into a log file.
In a second aspect, the present invention provides a system for regulating and controlling a rotational speed of a server fan, including:
the basic regulation and control unit is used for acquiring the temperature of the server component and generating a fan regulation and control rotating speed according to a set temperature regulation and control strategy and the component temperature;
the rotating speed calculating unit is used for acquiring the actual rotating speed of the fan and calculating the difference value between the regulated rotating speed and the actual rotating speed;
the first regulating and controlling unit is used for converting the difference value into a duty ratio signal and sending the duty ratio signal to the fan if the actual rotating speed is 0 or the difference value does not exceed a set regulating and controlling threshold value;
and the second regulating and controlling unit is used for inputting the difference value into a PID model to obtain the required rotating speed of the fan and converting the required rotating speed into a duty ratio signal to send the duty ratio signal to the fan if the difference value exceeds a set regulating and controlling threshold value.
Further, the first regulatory unit includes:
and the information recording module is used for writing the duty ratio signal, the regulation and control rotating speed and the actual rotating speed into a log while sending the duty ratio signal to the fan.
Further, the second regulatory unit comprises:
the coefficient generation module is used for acquiring a first correction coefficient, a second correction coefficient and a third correction coefficient according to the corresponding relation between the difference and a preset difference and a PID model correction coefficient;
the model correction module is used for taking the product of the proportional parameter of the PID model and the first correction coefficient as a new proportional parameter, taking the product of the integral parameter and the second correction coefficient as a new integral parameter, and taking the product of the differential parameter and the third correction coefficient as a new differential parameter;
and the rotating speed generation module is used for substituting the new proportional parameter, the new integral parameter and the new differential parameter into the PID model to obtain the required rotating speed of the fan corresponding to the temperature of the server reduced to the set normal value.
Further, the second regulatory unit comprises:
and the alarm recording module is used for writing the difference value exceeding the regulation threshold value into an alarm prompt and storing the alarm prompt into a log file.
In a third aspect, a terminal is provided, including:
a processor, a memory, wherein,
the memory is used for storing a computer program which,
the processor is used for calling and running the computer program from the memory so as to make the terminal execute the method of the terminal.
In a fourth aspect, a computer storage medium is provided having stored therein instructions that, when executed on a computer, cause the computer to perform the method of the above aspects.
The method, the system, the terminal and the storage medium for regulating the rotating speed of the server fan have the advantages that the regulating and controlling rotating speed of the fan is generated by collecting the temperature of a server component according to a set temperature regulating and controlling strategy and the temperature of the component, then the actual rotating speed of the fan is collected, the difference value between the regulating and controlling rotating speed and the actual rotating speed is calculated, the regulating and controlling strategy is selected based on the difference value, specifically, if the actual rotating speed is 0 or the difference value does not exceed a set regulating and controlling threshold value, the difference value is converted into a duty ratio signal, and the duty ratio signal is sent to the fan; and if the difference exceeds a set regulation threshold, inputting the difference into a PID model to obtain the required rotating speed of the fan, converting the required rotating speed into a duty ratio signal and sending the duty ratio signal to the fan. The invention can carry out closed-loop control on the rotating speed of the fan when the rotating speed cannot be accurately controlled due to the failure or the aging of the fan, ensures the normal work of a server when the fan fails, judges the state of the fan by monitoring the difference between the actual rotating speed of the fan and the set rotating speed, and outputs the failure state of the fan to a Log file, so that operation and maintenance personnel can timely and accurately know the state of the fan.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Drawings
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a schematic flow diagram of a method of one embodiment of the invention.
FIG. 2 is a schematic block diagram of a system of one embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. 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.
The following explains key terms appearing in the present invention.
The BMC executes a server remote Management controller, which is called Basebard Management controller in English. The method can perform operations such as firmware upgrading, machine equipment checking and the like on the machine in a state that the machine is not started. Fully implementing IPMI functionality in a BMC requires a powerful 16-bit or 32-bit microcontroller as well as RAM for data storage, flash memory and firmware for non-volatile data storage, providing basic remote manageability in terms of secure remote restart, secure re-power-up, LAN alerts and system health monitoring. In addition to the basic IPMI function and system operation monitoring function, the mBMC enables selection and protection of BIOS flash devices by storing the previous BIOS using one of 2 flash memories. For example, when the system cannot be started after the remote BIOS is upgraded, the remote administrator can switch back to the BIOS image that worked before to start the system. Once BIOS is upgraded, BIOS image can be locked to prevent virus from invading it.
FIG. 1 is a schematic flow diagram of a method of one embodiment of the invention. The execution main body in fig. 1 may be a server fan speed control system.
As shown in fig. 1, the method includes:
step 110, collecting the temperature of a server component, and generating a fan regulation and control rotating speed according to a set temperature regulation and control strategy and the component temperature;
step 120, collecting the actual rotating speed of the fan and calculating the difference value between the regulated rotating speed and the actual rotating speed;
step 130, if the actual rotating speed is 0 or the difference value does not exceed a set regulation threshold value, converting the difference value into a duty ratio signal, and sending the duty ratio signal to a fan;
step 140, if the difference exceeds a set regulation threshold, inputting the difference into a PID model to obtain a required rotating speed of the fan, converting the required rotating speed into a duty ratio signal, and sending the duty ratio signal to the fan.
In order to facilitate understanding of the present invention, the server fan speed control method provided by the present invention is further described below with reference to the principle of the server fan speed control method of the present invention and the process of controlling the server fan speed in the embodiments.
Specifically, the method for regulating and controlling the rotating speed of the server fan comprises the following steps:
and S1, acquiring the temperature of the server component, and generating a fan regulation and control rotating speed according to a set temperature regulation and control strategy and the component temperature.
The BMC acquires the current temperature values of various parts such as the CPU, the GPU and the SSD and the ambient temperature value through various temperature sensors.
Searching preset parameters according to the temperature of each component and the ambient temperature, determining a required fan rotating speed n1 and an actual rotating speed n2, determining a required duty ratio p1 according to n1, and determining a regulation parameter P, I, D of the PID model at the current temperature.
PID control, namely proportional, integral and differential control, has a simple and practical structure and is commonly used in the field of industrial production. P, I, D three parameters are used in PID control, the proportional controller is actually an amplifier with adjustable amplification factor, namely, delta P is Kp × e, Kp is proportional gain in the formula, namely Kp can be more than 1 or less than 1; e is the input to the controller, i.e. the difference between the measured value and the set value, also called the offset. It is noted that for most analog controllers, the proportional gain Kp is not used as a scale, but rather a scale is used, i.e., δ is 1/Kc × 100%. That is, the degree of proportionality is proportional to the inverse of the magnification of the controller; the smaller the controller's scale, the greater its magnification, the greater the offset amplification capability, and vice versa. The integral function of the controller is set for eliminating the residual difference of the automatic control system. The integral means accumulation over time, that is, when there is a deviation input e, the integral controller continuously accumulates the deviation over time, that is, the integral accumulation speed is proportional to the magnitude of the deviation e and the integration speed. The output of the integral controller changes as long as the deviation e is present, i.e. the integration is always active, and stops only if the deviation is not present. For a constant deviation, the essence of adjusting the integral action is to vary the rate of change of the controller output, measured by the period of time required for the output of the integral action to equal the output of the proportional action. The integration time is short, the integration speed is high, and the integration effect is strong; otherwise, if the integration time is long, the integration effect is weak. If the integration time is infinite, indicating no integration, the controller becomes a pure proportional controller. In practice, the integral effect is rarely used alone, and is usually used together with the proportional effect, so that it has both a proportional effect of enlarging (or reducing) the deviation and an integral effect of accumulating the deviation over time, and its direction of action is uniform. The output of the controller at this time is: the delta P is Ke plus delta Pi, and the delta P is the change of the output value of the controller; ke is the output caused by proportional action; Δ Pi is the output due to the integration effect. The differential action is mainly used for overcoming the hysteresis of a controlled object and is commonly used for a temperature control system. In addition to the use of differential action, the control system is used with care to account for measurement propagation hysteresis, such as the choice and mounting location of the temperature measuring elements. In the conventional PID controller, the output of the differential action varies in proportion to the differential time and the speed of variation of the deviation, regardless of the magnitude of the deviation, and the greater the speed of variation of the deviation, the longer the differential time, the greater the output of the differential action varies. But if the differential action is too strong, it may oscillate by itself due to the change being too fast, causing a significant "spike" or "kick" in the controller output. In order to avoid the disturbance, a differential-precedent PID operation rule can be used in the PID regulator and the DCS, namely, only the measured value PV is differentiated, when the given value SP of the controller is manually changed, the sudden change of the output of the controller cannot be caused, and the disturbance brought to a control system at the moment of changing the SP is avoided. If TDC-3000, a soft switch is added to the conventional PID algorithm, and the user can select whether the deviation or the measured value is differentiated by the controller during configuration. When a step signal is input, the ratio of the maximum change value output by the differentiator at the beginning to the output change after the differentiation action disappears is the differential amplification factor Kd, i.e. the differential gain, the unit of the differential gain is time, and the function of canceling the differential is realized by setting the differential time (or the differential gain) to be zero.
And S2, acquiring the actual rotating speed of the fan and calculating the difference between the regulated rotating speed and the actual rotating speed.
The BMC obtains the actual fan speed n2 from the fan controller and calculates the difference between the regulated speed and the actual speed.
And S3, if the actual rotating speed is 0 or the difference value does not exceed a set regulation threshold value, converting the difference value into a duty ratio signal, and sending the duty ratio signal to the fan.
And judging whether n2 is 0, if n2 is 0, indicating that the fan control strategy is started for the first time, converting the rotating speed into duty ratio output, and controlling the fan.
If the deviation between n1 and n2 is within an allowable range (not exceeding a set regulation threshold), the open-loop control is considered to meet the control requirement, and the control is directly carried out by using p 1.
And S4, if the difference exceeds the set regulation threshold, inputting the difference into a PID model to obtain the required rotating speed of the fan, converting the required rotating speed into a duty ratio signal and sending the duty ratio signal to the fan.
Acquiring a first correction coefficient, a second correction coefficient and a third correction coefficient according to the corresponding relation between the difference and a preset difference and a PID model correction coefficient; taking the product of the proportional parameter of the PID model and the first correction coefficient as a new proportional parameter, taking the product of the integral parameter and the second correction coefficient as a new integral parameter, and taking the product of the differential parameter and the third correction coefficient as a new differential parameter; and substituting the new proportional parameter, the new integral parameter and the new differential parameter into the PID model to obtain the required rotating speed of the fan corresponding to the temperature of the server reduced to the set normal value.
If n2 is not 0, n2 and n1 are compared, if the difference is too large, the difference between n1 and n2 is used as the input of PID control, the deviation between the actual rotating speed and the set rotating speed of the fan is greatly output to a Log file, and meanwhile, the correction coefficients Kp, Ki and Kd of PID are determined according to the difference. And n2-n1, Kp P, Ki i and Kd d are used as the input of PID control, the required rotating speed is calculated by PID and converted into the required duty ratio, and a duty ratio signal is output to control the fan.
As shown in fig. 2, the system 200 includes:
the basic regulation and control unit 210 is used for acquiring the temperature of the server component and generating a fan regulation and control rotating speed according to a set temperature regulation and control strategy and the component temperature;
a rotating speed calculating unit 220, configured to collect an actual rotating speed of the fan and calculate a difference between the regulated rotating speed and the actual rotating speed;
the first regulating unit 230 is configured to convert the difference into a duty ratio signal and send the duty ratio signal to the fan if the actual rotation speed is 0 or the difference does not exceed a set regulating threshold;
and a second control unit 240, configured to, if the difference exceeds a set control threshold, input the difference into a PID model to obtain a required rotation speed of the fan, and convert the required rotation speed into a duty ratio signal and send the duty ratio signal to the fan.
Optionally, as an embodiment of the present invention, the first regulation unit includes:
and the information recording module is used for writing the duty ratio signal, the regulation and control rotating speed and the actual rotating speed into a log while sending the duty ratio signal to the fan.
Optionally, as an embodiment of the present invention, the second regulatory unit includes:
the coefficient generation module is used for acquiring a first correction coefficient, a second correction coefficient and a third correction coefficient according to the corresponding relation between the difference and a preset difference and a PID model correction coefficient;
the model correction module is used for taking the product of the proportional parameter of the PID model and the first correction coefficient as a new proportional parameter, taking the product of the integral parameter and the second correction coefficient as a new integral parameter, and taking the product of the differential parameter and the third correction coefficient as a new differential parameter;
and the rotating speed generation module is used for substituting the new proportional parameter, the new integral parameter and the new differential parameter into the PID model to obtain the required rotating speed of the fan corresponding to the temperature of the server reduced to the set normal value.
Optionally, as an embodiment of the present invention, the second regulatory unit includes:
and the alarm recording module is used for writing the difference value exceeding the regulation threshold value into an alarm prompt and storing the alarm prompt into a log file.
Fig. 3 is a schematic structural diagram of a terminal 300 according to an embodiment of the present invention, where the terminal 300 may be used to execute the method for regulating and controlling the rotational speed of a server fan according to the embodiment of the present invention.
Among them, the terminal 300 may include: a processor 310, a memory 320, and a communication unit 330. The components communicate via one or more buses, and those skilled in the art will appreciate that the architecture of the servers shown in the figures is not intended to be limiting, and may be a bus architecture, a star architecture, a combination of more or less components than those shown, or a different arrangement of components.
The memory 320 may be used for storing instructions executed by the processor 310, and the memory 320 may be implemented by any type of volatile or non-volatile storage terminal or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The executable instructions in memory 320, when executed by processor 310, enable terminal 300 to perform some or all of the steps in the method embodiments described below.
The processor 310 is a control center of the storage terminal, connects various parts of the entire electronic terminal using various interfaces and lines, and performs various functions of the electronic terminal and/or processes data by operating or executing software programs and/or modules stored in the memory 320 and calling data stored in the memory. The processor may be composed of an Integrated Circuit (IC), for example, a single packaged IC, or a plurality of packaged ICs connected with the same or different functions. For example, the processor 310 may include only a Central Processing Unit (CPU). In the embodiment of the present invention, the CPU may be a single operation core, or may include multiple operation cores.
A communication unit 330, configured to establish a communication channel so that the storage terminal can communicate with other terminals. And receiving user data sent by other terminals or sending the user data to other terminals.
The present invention also provides a computer storage medium, wherein the computer storage medium may store a program, and the program may include some or all of the steps in the embodiments provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
Therefore, the method comprises the steps of acquiring the temperature of a server component, generating a fan regulation and control rotating speed according to a set temperature regulation and control strategy and the component temperature, then acquiring the actual rotating speed of the fan, calculating the difference value between the regulation and control rotating speed and the actual rotating speed, selecting the regulation and control strategy based on the difference value, specifically, converting the difference value into a duty ratio signal if the actual rotating speed is 0 or the difference value does not exceed a set regulation and control threshold value, and sending the duty ratio signal to the fan; and if the difference exceeds a set regulation threshold, inputting the difference into a PID model to obtain the required rotating speed of the fan, converting the required rotating speed into a duty ratio signal and sending the duty ratio signal to the fan. According to the invention, when the fan fails or is aged to cause that the rotating speed cannot be accurately controlled, closed-loop control can be performed on the rotating speed of the fan, so that the normal work of a server in the case of fan failure is ensured, the state of the fan is judged by monitoring the difference between the actual rotating speed of the fan and the set rotating speed, and the failure state of the fan is output to the Log file, so that operation and maintenance personnel can timely and accurately know the state of the fan.
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied in the form of a software product, where the computer software product is stored in a storage medium, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like, and the storage medium can store program codes, and includes instructions for enabling a computer terminal (which may be a personal computer, a server, or a second terminal, a network terminal, and the like) to perform all or part of the steps of the method in the embodiments of the present invention.
The same and similar parts in the various embodiments in this specification may be referred to each other. Especially, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant points can be referred to the description in the method embodiment.
In the embodiments provided in the present invention, it should be understood that the disclosed system and method can be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, systems or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
Although the present invention has been described in detail by referring to the drawings in connection with the preferred embodiments, the present invention is not limited thereto. Various equivalent modifications or substitutions can be made on the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and these modifications or substitutions are within the scope of the present invention/any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for regulating and controlling the rotating speed of a server fan is characterized by comprising the following steps:
acquiring the temperature of a server component, and generating a fan regulation and control rotating speed according to a set temperature regulation and control strategy and the component temperature;
collecting the actual rotating speed of the fan and calculating the difference value between the regulated rotating speed and the actual rotating speed;
if the actual rotating speed is 0 or the difference value does not exceed a set regulation threshold value, converting the difference value into a duty ratio signal and sending the duty ratio signal to the fan;
and if the difference exceeds a set regulation threshold, inputting the difference into a PID model to obtain the required rotating speed of the fan, converting the required rotating speed into a duty ratio signal and sending the duty ratio signal to the fan.
2. The method of claim 1, wherein if the difference does not exceed a set regulation threshold, converting the difference to a duty cycle signal and sending the duty cycle signal to a fan comprises:
and writing the duty ratio signal, the regulated rotating speed and the actual rotating speed into a log while sending the duty ratio signal to the fan.
3. The method of claim 1, wherein if the actual rotating speed is 0 or the difference value exceeds a set regulation threshold value, inputting the difference value into a PID model to obtain a required rotating speed of the fan, and converting the required rotating speed into a duty ratio signal to be sent to the fan, and the method comprises the following steps:
acquiring a first correction coefficient, a second correction coefficient and a third correction coefficient according to the corresponding relation between the difference and a preset difference and a PID model correction coefficient;
taking the product of the proportional parameter of the PID model and the first correction coefficient as a new proportional parameter, taking the product of the integral parameter and the second correction coefficient as a new integral parameter, and taking the product of the differential parameter and the third correction coefficient as a new differential parameter;
and substituting the new proportional parameter, the new integral parameter and the new differential parameter into the PID model to obtain the required rotating speed of the fan corresponding to the temperature of the server reduced to the set normal value.
4. The method of claim 3, further comprising:
and writing the difference value exceeding the regulation threshold value into an alarm prompt, and storing the alarm prompt into a log file.
5. A server fan speed regulation system, comprising:
the basic regulation and control unit is used for acquiring the temperature of the server component and generating a fan regulation and control rotating speed according to a set temperature regulation and control strategy and the component temperature;
the rotating speed calculating unit is used for acquiring the actual rotating speed of the fan and calculating the difference value between the regulated rotating speed and the actual rotating speed;
the first regulating and controlling unit is used for converting the difference value into a duty ratio signal and sending the duty ratio signal to the fan if the actual rotating speed is 0 or the difference value does not exceed a set regulating and controlling threshold value;
and the second regulating and controlling unit is used for inputting the difference value into a PID model to obtain the required rotating speed of the fan and converting the required rotating speed into a duty ratio signal to send the duty ratio signal to the fan if the difference value exceeds a set regulating and controlling threshold value.
6. The system of claim 5, wherein the first regulatory unit comprises:
and the information recording module is used for writing the duty ratio signal, the regulation and control rotating speed and the actual rotating speed into a log while sending the duty ratio signal to the fan.
7. The system of claim 5, wherein the second regulatory unit comprises:
the coefficient generation module is used for acquiring a first correction coefficient, a second correction coefficient and a third correction coefficient according to the corresponding relation between the difference and a preset difference and a PID model correction coefficient;
the model correction module is used for taking the product of the proportional parameter of the PID model and the first correction coefficient as a new proportional parameter, taking the product of the integral parameter and the second correction coefficient as a new integral parameter, and taking the product of the differential parameter and the third correction coefficient as a new differential parameter;
and the rotating speed generation module is used for substituting the new proportional parameter, the new integral parameter and the new differential parameter into the PID model to obtain the required rotating speed of the fan corresponding to the temperature of the server reduced to the set normal value.
8. The system of claim 7, wherein the second regulatory unit comprises:
and the alarm recording module is used for writing the difference value exceeding the regulation threshold value into an alarm prompt and storing the alarm prompt into a log file.
9. A terminal, comprising:
a processor;
a memory for storing instructions for execution by the processor;
wherein the processor is configured to perform the method of any one of claims 1-4.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-4.
CN202111265599.8A 2021-10-28 2021-10-28 Method, system, terminal and storage medium for regulating and controlling rotation speed of server fan Active CN114151373B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111265599.8A CN114151373B (en) 2021-10-28 2021-10-28 Method, system, terminal and storage medium for regulating and controlling rotation speed of server fan

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111265599.8A CN114151373B (en) 2021-10-28 2021-10-28 Method, system, terminal and storage medium for regulating and controlling rotation speed of server fan

Publications (2)

Publication Number Publication Date
CN114151373A true CN114151373A (en) 2022-03-08
CN114151373B CN114151373B (en) 2024-01-23

Family

ID=80458509

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111265599.8A Active CN114151373B (en) 2021-10-28 2021-10-28 Method, system, terminal and storage medium for regulating and controlling rotation speed of server fan

Country Status (1)

Country Link
CN (1) CN114151373B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114734847A (en) * 2022-05-17 2022-07-12 永联智慧能源科技(常熟)有限公司 Fan speed regulation control method and related device
CN115097919A (en) * 2022-07-28 2022-09-23 苏州浪潮智能科技有限公司 BMC-based heat dissipation compensation method, system, terminal and storage medium
CN115163540A (en) * 2022-09-06 2022-10-11 新华三人工智能科技有限公司 Fan rotating speed control method, device and equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105489526A (en) * 2014-09-17 2016-04-13 沈阳芯源微电子设备有限公司 Shunt supercharging device for semiconductor equipment and control method for shunt supercharging device
CN109236713A (en) * 2018-09-18 2019-01-18 郑州云海信息技术有限公司 A kind of intelligent fan regulation method and system applied to general type
CN109958646A (en) * 2019-03-20 2019-07-02 浪潮商用机器有限公司 Control method for fan and system
CN111158447A (en) * 2019-12-26 2020-05-15 山东英信计算机技术有限公司 Server heat dissipation parameter regulation and control method, device, equipment and readable storage medium
CN111706539A (en) * 2020-06-09 2020-09-25 深圳市汇川技术股份有限公司 Method and device for regulating and controlling rotating speed of motor fan and readable storage medium
CN112947044A (en) * 2019-12-11 2021-06-11 新疆金风科技股份有限公司 PID control method and device and computer equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105489526A (en) * 2014-09-17 2016-04-13 沈阳芯源微电子设备有限公司 Shunt supercharging device for semiconductor equipment and control method for shunt supercharging device
CN109236713A (en) * 2018-09-18 2019-01-18 郑州云海信息技术有限公司 A kind of intelligent fan regulation method and system applied to general type
CN109958646A (en) * 2019-03-20 2019-07-02 浪潮商用机器有限公司 Control method for fan and system
CN112947044A (en) * 2019-12-11 2021-06-11 新疆金风科技股份有限公司 PID control method and device and computer equipment
CN111158447A (en) * 2019-12-26 2020-05-15 山东英信计算机技术有限公司 Server heat dissipation parameter regulation and control method, device, equipment and readable storage medium
CN111706539A (en) * 2020-06-09 2020-09-25 深圳市汇川技术股份有限公司 Method and device for regulating and controlling rotating speed of motor fan and readable storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114734847A (en) * 2022-05-17 2022-07-12 永联智慧能源科技(常熟)有限公司 Fan speed regulation control method and related device
CN114734847B (en) * 2022-05-17 2023-07-18 永联智慧能源科技(常熟)有限公司 Fan speed regulation control method and related device
CN115097919A (en) * 2022-07-28 2022-09-23 苏州浪潮智能科技有限公司 BMC-based heat dissipation compensation method, system, terminal and storage medium
CN115097919B (en) * 2022-07-28 2023-08-22 苏州浪潮智能科技有限公司 BMC-based heat dissipation compensation method, system, terminal and storage medium
CN115163540A (en) * 2022-09-06 2022-10-11 新华三人工智能科技有限公司 Fan rotating speed control method, device and equipment

Also Published As

Publication number Publication date
CN114151373B (en) 2024-01-23

Similar Documents

Publication Publication Date Title
CN114151373A (en) Server fan rotating speed regulating method, system, terminal and storage medium
WO2018095105A1 (en) Method and device for limiting stator current utilized in automatic voltage regulator of electric generator
CN111720352B (en) Fan control method, device and system
JP2005071364A (en) System and method for controlling vlsi environment
JP2010140302A (en) Field device
WO2019134524A1 (en) Online parameter adjustment weighing method and system and storage medium
CN112324693A (en) Monitoring method, monitoring device, monitoring equipment and storage medium for fan rotating speed
JP2007224918A (en) Method of judging excess of limit value
CN114880192A (en) Server power consumption control method, system and storage medium
CN111141034B (en) Blower control method, blower control device and storage medium
CN111983412A (en) Monitoring system, monitoring method, monitoring terminal and storage medium
CN116465515B (en) Chip core temperature estimation method, device, electronic equipment, computer and medium
CN116498592A (en) Fan rotating speed stable regulation and control method, system, terminal and storage medium
CN113375302B (en) Air conditioner voltage fluctuation control system and control method, electronic equipment and storage medium
JP6687650B2 (en) Thermal displacement correction device and machine learning device
CN107703352B (en) Openpower platform-based power consumption monitoring method and system
CN114326999A (en) Thermal imaging based heat dissipation regulation and control method, system, equipment and storage medium
CN114167963A (en) Fan control management method, device, equipment and machine readable storage medium
JPH07281729A (en) Unit alarm managing device
CN110134210A (en) A kind of temprature control method, system, device and the storage medium of server all-in-one machine
CN113036716A (en) Generator winding fault protection method and device
CN117212215A (en) Fan speed regulation parameter determination method and device, electronic equipment and storage medium
CN113267679B (en) Phase signal detection/control method, circuit, control device and medium
CN113324320B (en) Air conditioner and control method thereof
CN108845647B (en) Method and device for cooling server 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