CN117846998A - Fan speed regulation method, device, equipment and storage medium based on chip power consumption - Google Patents

Fan speed regulation method, device, equipment and storage medium based on chip power consumption Download PDF

Info

Publication number
CN117846998A
CN117846998A CN202410078419.2A CN202410078419A CN117846998A CN 117846998 A CN117846998 A CN 117846998A CN 202410078419 A CN202410078419 A CN 202410078419A CN 117846998 A CN117846998 A CN 117846998A
Authority
CN
China
Prior art keywords
chip
power consumption
temperature
fan
strategy
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410078419.2A
Other languages
Chinese (zh)
Inventor
邱红彬
李海平
罗纤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dongguan Memory Storage Technology Co ltd
Original Assignee
Dongguan Memory Storage 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 Dongguan Memory Storage Technology Co ltd filed Critical Dongguan Memory Storage Technology Co ltd
Priority to CN202410078419.2A priority Critical patent/CN117846998A/en
Publication of CN117846998A publication Critical patent/CN117846998A/en
Pending legal-status Critical Current

Links

Classifications

    • 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

Landscapes

  • Cooling Or The Like Of Electrical Apparatus (AREA)

Abstract

The embodiment of the application discloses a fan speed regulating method, a device, equipment and a storage medium based on chip power consumption, wherein the method is used for controlling a cooling fan and comprises the steps of converting a temperature analog signal extracted from current temperature information of a chip to be cooled into chip temperature data of a digital signal; analyzing the temperature analog signal to obtain current power consumption information of the chip to be cooled; analyzing the chip temperature data and the chip power consumption data according to the fan rotating speed regulation strategy to obtain chip temperature prediction information; checking the chip temperature prediction information according to a chip power consumption judgment strategy and generating comparison check result information, wherein the chip power consumption judgment strategy comprises a power consumption variation amplitude threshold value for checking; and adjusting and calculating the control intensity coefficient according to the fan rotating speed adjusting instruction to obtain a designated rotating speed for controlling the cooling fan to rotate. The method for implementing the embodiment of the application adopts dynamic switching of the Kp value to adjust the rotation speed of the fan, and solves the problem of oscillation of the rotation speed of the fan caused by fluctuation of power consumption of the chip.

Description

Fan speed regulation method, device, equipment and storage medium based on chip power consumption
Technical Field
The present disclosure relates to the field of semiconductor technologies, and in particular, to a method, an apparatus, a device, and a storage medium for speed regulation of a fan based on chip power consumption.
Background
In the heat dissipation design of high power consumption electronic equipment, PID (proportional-integral-derivative) speed regulation is a common fan regulation strategy. The rotating speed of the fan is controlled by adjusting three parameters of proportion (P), integral (I) and derivative (D), so as to achieve the purpose of controlling the temperature of equipment. The PID speed regulation can dynamically regulate the rotating speed of the fan according to the actual temperature of the equipment and the preset target temperature so as to keep the temperature of the equipment stable. Taking a high-power consumption CPU of a server as an example, the temperature control of the CPU is a key in heat dissipation design due to the large power consumption. In the conventional PID regulation strategy, kp (proportional gain) is usually set to be large in order to prevent the CPU from rapidly rising in temperature when switching from no load directly to full load. By doing so, the fan can be ensured to rapidly speed up when the power consumption of the CPU suddenly increases, thereby preventing the CPU from overheating and overtemperature. However, in the case of CPU power consumption fluctuation, the conventional PID regulation strategy is very sensitive to the variation of CPU power consumption due to the large Kp value, which causes the fan speed to oscillate periodically. The vibration not only can cause the noise of the fan to be suddenly high or low and influence the user experience, but also accelerates the abrasion of the fan and reduces the service life of the fan. More importantly, the periodic oscillation of the fan speed causes unstable control of the CPU temperature and even risk of CPU over-temperature. Therefore, to solve this problem, there is a need to improve the conventional PID throttling strategy so that it can better cope with the CPU power consumption fluctuation.
Disclosure of Invention
The embodiment of the application provides a fan speed regulating method, device and equipment based on chip power consumption and a storage medium, and aims to solve the problem of periodic oscillation of the rotating speed of a chip cooling fan.
In a first aspect, an embodiment of the present application provides a fan speed adjustment method based on chip power consumption, including: converting the temperature analog signals extracted from the obtained current temperature information of the chip to be cooled into chip temperature data of digital signals; analyzing the temperature analog signal to obtain current power consumption information of the chip to be cooled, and converting the power consumption analog signal extracted from the current power consumption information into chip power consumption data of a digital signal; analyzing chip temperature data and chip power consumption data according to a preset fan rotating speed regulating strategy to obtain chip temperature prediction information, wherein the fan rotating speed regulating strategy comprises a calculation formula generated based on a preset control intensity coefficient; checking the chip temperature prediction information according to a preset chip power consumption judgment strategy and generating comparison check result information, wherein the chip power consumption judgment strategy comprises a power consumption variation amplitude threshold value for checking; and adjusting the control intensity coefficient according to a fan rotating speed adjusting instruction in the comparison and verification result information so as to calculate the designated rotating speed for controlling the cooling fan to rotate.
In a second aspect, an embodiment of the present application further provides a fan speed adjusting device based on chip power consumption, including: the first signal conversion unit is used for converting the temperature analog signals extracted from the acquired current temperature information of the chip to be cooled into chip temperature data of digital signals; the second signal conversion unit is used for analyzing the temperature analog signal to obtain current power consumption information of the chip to be cooled, and converting the power consumption analog signal extracted from the current power consumption information into chip power consumption data of the digital signal; the analysis unit is used for analyzing the chip temperature data and the chip power consumption data according to a preset fan rotating speed regulation strategy to obtain chip temperature prediction information; the first information generating unit is used for checking the chip temperature prediction information according to a preset chip power consumption judging strategy and generating comparison checking result information; the first calculation unit is used for adjusting the control intensity coefficient according to the fan rotating speed adjusting instruction in the comparison and verification result information so as to calculate the designated rotating speed to control the cooling fan to rotate.
In a third aspect, an embodiment of the present application further provides a computer device, including a memory and a processor, where the memory stores a computer program, and the processor implements the method when executing the computer program.
In a fourth aspect, embodiments of the present application also provide a computer readable storage medium storing a computer program comprising program instructions which, when executed by a processor, implement the above-described method.
The embodiment of the application provides a fan speed regulating method, device and equipment based on chip power consumption and a storage medium. Converting a temperature analog signal extracted from the acquired current temperature information of a chip to be cooled into chip temperature data of a digital signal; analyzing the temperature analog signal to obtain current power consumption information of the chip to be cooled, and converting the power consumption analog signal extracted from the current power consumption information into chip power consumption data of a digital signal; analyzing chip temperature data and chip power consumption data according to a preset fan rotating speed regulating strategy to obtain chip temperature prediction information, wherein the fan rotating speed regulating strategy comprises a calculation formula generated based on a preset control intensity coefficient; checking the chip temperature prediction information according to a preset chip power consumption judgment strategy and generating comparison check result information, wherein the chip power consumption judgment strategy comprises a power consumption variation amplitude threshold value for checking; and adjusting the control intensity coefficient according to a fan rotating speed adjusting instruction in the comparison and verification result information so as to calculate the designated rotating speed for controlling the cooling fan to rotate. The method has the advantages that overheat or other heat related faults are prevented by taking measures in advance through predicting the temperature change trend of the chip, the reliability and the service life of the server are improved, the heat dissipation management efficiency of the server is improved, the energy use is optimized, the noise and vibration are reduced, the overall performance and the reliability of the server are improved, and the problem of periodic oscillation of the rotating speed of the chip cooling fan is fundamentally solved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a fan speed regulation method based on chip power consumption according to an embodiment of the present application;
fig. 2 is a schematic sub-flowchart of a fan speed regulation method based on chip power consumption according to an embodiment of the present application;
FIG. 3 is a schematic diagram of another sub-flow of a fan speed regulation method based on chip power consumption according to an embodiment of the present disclosure;
FIG. 4 is a schematic block diagram of a fan speed regulation device based on chip power consumption provided in an embodiment of the present application;
fig. 5 is a schematic block diagram of a computer device provided in an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
It should be understood that the terms "comprises" and "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to any and all combinations of one or more of the associated listed items, and includes such combinations.
The embodiment of the application provides a fan speed regulating method, device and equipment based on chip power consumption and a storage medium.
The execution main body of the fan speed regulating method based on the chip power consumption can be the fan speed regulating device based on the chip power consumption provided by the embodiment of the application or computer equipment integrated with the fan speed regulating device based on the chip power consumption, wherein the fan speed regulating device based on the chip power consumption can be realized in a hardware or software mode, the computer equipment can be a terminal or a server, and the terminal can be a smart phone, a tablet personal computer, a palm computer, a notebook computer or the like.
The fan speed regulation method based on chip power consumption is applied to the computer equipment 500 in fig. 5.
Fig. 1 is a flow chart of a fan speed regulation method based on chip power consumption according to an embodiment of the present application. As shown in fig. 1, the method includes the following steps S110 to S150.
S110, converting the acquired temperature analog signals extracted from the current temperature information of the chip to be cooled into chip temperature data of digital signals.
S120, analyzing the temperature analog signals to obtain current power consumption information of the chip to be cooled, and converting the power consumption analog signals extracted from the current power consumption information into chip power consumption data of digital signals.
S130, analyzing the chip temperature data and the chip power consumption data according to a preset fan rotating speed regulation strategy to obtain chip temperature prediction information.
And S140, checking the chip temperature prediction information according to a preset chip power consumption judgment strategy and generating comparison check result information.
If the temperature value to be regulated belongs to the chip overtemperature state, generating a fan rotating speed regulating instruction which is a wind speed regulating instruction; if the temperature value to be regulated belongs to the chip self-adaptive state, judging that the fan rotating speed regulating instruction is a wind speed regulating instruction.
And S150, adjusting the control intensity coefficient according to a fan rotating speed adjusting instruction in the comparison and verification result information so as to calculate the designated rotating speed to control the cooling fan to rotate.
In the actual operation of the server, the power consumption of the CPU fluctuates due to the load variation. In order to effectively manage heat dissipation, the rotation speed of the fan needs to be dynamically adjusted according to the change of the CPU power consumption. This adjustment is typically accomplished by a tuning parameter such as the scaling factor Kp, the control intensity factor disclosed in the present method embodiment. This proportionality coefficient Kp determines the relationship between fan speed and CPU temperature or power consumption variation. The strategy of dynamically switching the speed regulation parameter can be regarded as a feedback control mechanism, which adjusts the control parameter (proportionality coefficient Kp) according to the current state of the system (CPU power consumption change) to achieve the best cooling effect and energy efficiency. In practice, this strategy may involve more complex algorithms, such as using a PID controller (proportional-integral-derivative controller) to dynamically adjust the Kp value to more precisely control the fan speed. The PID controller can comprehensively adjust the Kp value according to the rate of change (proportion) of the CPU temperature, the cumulative amount of temperature change (integral), and the trend of change (derivative). In summary, dynamically switching the speed regulation parameter is a strategy to optimize fan speed based on CPU power consumption changes, which helps the server to manage heat dissipation more efficiently while conserving energy and reducing noise.
In the specific implementation process, the method generates heat when the chip works, and cooling equipment such as a fan is needed to dissipate the heat. In order to ensure the normal operation of the chip and prolong the service life of the chip, the temperature and the power consumption of the chip need to be monitored in real time, and the rotating speed of the fan needs to be adjusted in time, so that the chip is kept in a safe operating temperature range. And extracting a temperature analog signal from the acquired current temperature information of the chip to be cooled, and converting the temperature analog signal into a digital signal to form chip temperature data. This step is an analog signal digitizing process that provides a standardized data format for subsequent processing. For example, an analog signal may be converted into a digital signal by an ADC (analog-to-digital converter). And analyzing the temperature analog signal to obtain the current power consumption information of the chip to be cooled, and then converting the power consumption analog signal into a digital signal to form chip power consumption data. This step is similar to the first step, but concerns about power consumption information, as well as the need for digitizing. For example, the power consumption data of the chip can be obtained by analyzing the power consumption analog signal. And analyzing the chip temperature data and the power consumption data to be converted by using a preset fan rotating speed regulating strategy. The strategy comprises a calculation formula generated based on a preset control intensity coefficient, and relates to a certain algorithm or mathematical model for predicting the future temperature change of the chip. For example, a temperature prediction model can be used to predict the temperature change of the chip in a future period of time according to the current temperature and power consumption data. And checking the chip temperature information to be predicted by adopting a preset chip power consumption judging strategy, and generating comparison checking result information. This step includes a threshold value for verifying the amplitude of the power consumption variation to determine whether the chip is in an over-temperature or adaptive state. According to different states, generating a command for adjusting the rotating speed of the fan, and adjusting the wind speed to be high or low. For example, if the predicted chip temperature exceeds a set over-temperature threshold, then an instruction to increase wind speed is generated; if the predicted chip temperature is within the adaptive range, then an instruction to lower wind speed is generated. The adjusted control intensity coefficient is used to calculate a specified rotational speed value that is used to control the rotation of the cooling fan to maintain the optimum operating temperature of the chip. For example, if the adjustment command is that the wind speed is increased, the control intensity coefficient is increased, so that the rotation speed of the fan is increased to increase the heat dissipation effect; if the adjustment command is a wind speed adjustment down, the control intensity coefficient is reduced, so that the rotation speed of the fan is reduced to reduce the heat dissipation effect.
In summary, the method solves the problem of fan rotation speed oscillation caused by chip power consumption change by dynamically adjusting the proportionality coefficient Kp of the PID controller. The strategy has the bright point that the control parameters can be flexibly adjusted according to the power consumption variation, so that the fluctuation of the rotating speed of the fan is reduced, and the risks of server noise and chip overheating are reduced. The system continuously monitors the power consumption of the CPU and calculates the amount of change between two consecutive power consumption readings. And according to the power consumption variation, the system dynamically adjusts the proportionality coefficient Kp of the PID controller. If the amount of power consumption variation is small, it means that the temperature variation of the chip is also small, so that the Kp value can be reduced to reduce the fluctuation of the fan rotation speed. In contrast, if the amount of change in power consumption is large, indicating that the temperature change of the chip is large, it is necessary to increase the Kp value at this time to ensure sufficient heat dissipation capability. In order to ensure that measures can be taken immediately when the chip temperature is too high, judgment logic of a high-temperature protection point is integrated in the system. When the chip temperature approaches or reaches a preset high temperature protection point, the system automatically switches to a corresponding Fan table, which contains preset values for the Fan speed under high temperature conditions. And calculating proper fan rotating speed according to the adjusted Kp value system, and sending a rotating speed adjusting instruction through a fan control interface so as to control the rotating speed of the fan. The method has the advantages that the fan rotating speed can be controlled more finely, unnecessary fluctuation is reduced, and therefore the energy efficiency and the reliability of the server are improved. Meanwhile, by integrating the high-temperature protection point judgment logic, the method can also ensure that actions can be rapidly taken when the temperature of the chip is too high, so that the chip is prevented from being damaged. In a word, the method provides an efficient and intelligent fan rotating speed control strategy by dynamically switching the PID proportion coefficient Kp and integrating the high-temperature protection point judgment logic, is suitable for various server working scenes, and is beneficial to improving the overall performance and reliability of the server.
By monitoring the temperature and power consumption data of the chip in real time, the system can quickly respond to the thermal load change of the chip, and timely adjustment of heat dissipation measures is ensured. Based on the analysis of the temperature and power consumption data, the system can generate an accurate fan rotation speed adjustment instruction to adapt to the thermal load change of the chip, thereby improving the heat dissipation efficiency. Through dynamic adjustment of the rotating speed of the fan, the system can optimize the heat dissipation performance according to the actual demands of the chip, and the situation of excessive cooling or insufficient heat dissipation is avoided. Through intelligent control fan rotational speed, the system can reduce the energy consumption when guaranteeing the heat dispersion, improves the whole energy efficiency of server. By avoiding frequent or severe fan speed changes, the system can reduce noise and vibration of the server, improve the stability and reliability of operation of the server, and fundamentally solve the problem of periodic oscillation of the chip cooling fan speed. According to the temperature state and the power consumption change of the chip, the rotating speed of the fan is automatically adjusted, so that self-adaptive temperature management is realized, and the chip is ensured to run in a safe and optimal working temperature range.
In a more specific embodiment, as shown in FIG. 2, performing step S130 further specifically includes performing steps S131-S134.
S131, carrying out statistical calculation on chip temperature data according to a temperature change statistical strategy in a fan rotating speed regulating strategy so as to obtain a chip temperature change rate in a preset statistical duration; s132, calculating chip power consumption data according to a chip power consumption calculation strategy in a fan rotating speed adjustment strategy to obtain a chip power consumption change rate based on a statistic duration; s133, performing fitting calculation based on the chip temperature change rate and the chip power consumption change rate to obtain a temperature-power consumption correlation curve; s134, predicting the chip temperature change trend according to the temperature-power consumption correlation curve so as to generate chip temperature prediction information.
Specifically, in a more specific embodiment, the chip temperature data is statistically analyzed according to a temperature variation statistical strategy in the fan speed adjustment strategy. This includes calculating a rate of change of core temperature over a preset statistical period of time. For example, the rate of change of temperature per minute or per second may be calculated to understand the trend and speed of temperature change. And calculating the chip power consumption data according to the chip power consumption calculation strategy in the fan rotating speed regulation strategy. This involves calculating the rate of change of chip power consumption over a statistical period of time. Similar to the rate of temperature change, the rate of power consumption may help to understand fluctuations in power consumption. And carrying out fitting calculation based on the chip temperature change rate and the chip power consumption change rate to obtain a temperature-power consumption correlation curve. This curve may reflect the relationship between temperature and power consumption, e.g. how the temperature changes as the power consumption increases. Fitting may be performed by various mathematical methods, such as linear regression, polynomial regression, or nonlinear regression. And predicting the temperature change trend of the chip according to the temperature-power consumption correlation curve to generate chip temperature prediction information. This may be done by integrating the temperature-power consumption correlation curve to predict future temperature values, or using more complex prediction models such as time series analysis, machine learning, etc. Through these steps, the system can more accurately predict the temperature change of the chip and adjust the fan speed according to the predictions, so as to realize more effective heat dissipation and energy management. The method can reduce the rotation speed oscillation of the fan caused by temperature fluctuation and improve the stability and energy efficiency of the server.
In a more specific embodiment, as shown in FIG. 3, performing step S140 further comprises performing steps S141-S142.
S141, calculating to obtain the maximum amplitude value of the chip power consumption change in the chip temperature prediction information according to the power consumption calculation strategy in the chip power consumption judgment strategy; s142, judging whether the maximum amplitude value exceeds a power consumption variation amplitude threshold value; if the maximum amplitude value exceeds the power consumption variation amplitude threshold, step S1421 is executed to generate a corresponding fan rotation speed adjustment instruction as comparison verification result information according to the fan rotation speed adjustment strategy.
Specifically, in a more specific embodiment, the execution of step S140 is further refined as follows: and calculating the maximum amplitude value of the chip power consumption change in the chip temperature prediction information according to the power consumption calculation strategy in the chip power consumption judgment strategy. This value may be the maximum power consumption variation in the predicted period of time, reflecting the severity of the power consumption fluctuation. And judging whether the calculated maximum amplitude value exceeds a preset power consumption variation amplitude threshold value. This threshold is a critical point beyond which it may mean that more aggressive heat dissipation measures need to be taken. If the maximum amplitude exceeds the power consumption variation amplitude threshold, which indicates that the power consumption of the chip fluctuates greatly, the fan rotation speed may need to be adjusted to adapt to the variation. Thus, step S1421 is performed: and generating a corresponding fan rotating speed adjusting instruction according to the fan rotating speed adjusting strategy. These instructions will be used to adjust the rotational speed of the fan to provide the proper heat dissipation capability to cope with the large fluctuations in power consumption. Through the steps, the system can monitor the power consumption change of the chip in real time, and adjust the rotating speed of the fan according to the change amplitude, so that the chip is ensured not to be overheated or overcooled due to power consumption fluctuation. This dynamic adjustment strategy helps to improve the energy efficiency and reliability of the server while reducing noise and energy consumption.
In a more specific embodiment, performing step S1421 further comprises performing steps S1422-S1425. S1422, carrying out numerical screening on the chip temperature data according to a temperature-rotating speed matching strategy in the fan rotating speed adjusting strategy to obtain a temperature value to be adjusted; s1423, setting the chip temperature state type into a chip overtemperature state and a chip self-adaptive state according to the temperature value change amplitude in the chip temperature prediction information; s1424, judging a temperature value to be regulated according to a rotational speed customization strategy in the fan rotational speed regulation strategy so as to determine an instruction type; s1425, generating a corresponding fan rotating speed adjusting instruction as comparison verification result information according to the instruction type.
Specifically, in a more specific embodiment, the execution of step S1421 is further refined as follows: and carrying out numerical screening on the chip temperature data according to a temperature-rotating speed matching strategy in the fan rotating speed adjusting strategy to obtain a temperature value to be adjusted. This step may involve determining whether the current temperature needs to be adjusted, and the adjusted target temperature. And setting the chip temperature state type as a chip over-temperature state or a chip self-adaptive state according to the temperature value variation amplitude in the chip temperature prediction information. An over-temperature condition may require immediate action to reduce the temperature, while an adaptive condition may allow for some temperature fluctuation. And judging the temperature value to be regulated according to a rotational speed customization strategy in the fan rotational speed regulation strategy so as to determine the instruction type. This may involve determining whether to increase or decrease the fan speed based on the current temperature and a preset speed profile. And generating a corresponding fan rotating speed adjusting instruction according to the instruction type. These instructions will be used to adjust the rotational speed of the fan to provide proper heat dissipation capability in response to large fluctuations in power consumption or abnormal changes in temperature. Through these steps, the system can control the fan speed more finely to adapt to the change of the chip temperature, ensure that the chip operates in a safe and effective temperature range. This strategy helps to improve the energy efficiency and reliability of the server while reducing noise and energy consumption.
More specifically, performing step S150 includes performing steps S151-S152.
S151, if the fan rotation speed adjusting instruction is a lowering instruction, lowering the control intensity coefficient; and S152, if the fan rotating speed adjusting instruction is an increasing instruction, increasing the control intensity coefficient.
Specifically, in a more specific embodiment, performing step S150 involves adjusting the control intensity coefficient according to a fan speed adjustment command. This step can be further refined into the following two sub-steps: if the fan speed adjustment command indicates a reduced speed, the system adjusts the control intensity coefficient down. The control intensity coefficient may be associated with an adjustment amplitude of the fan speed, and decreasing the coefficient means decreasing the adjustment amount of the fan speed to avoid excessive cooling or in response to a decrease in power consumption. If the fan speed adjustment command indicates an increase in speed, the system will control the intensity factor to be increased. This typically occurs when the power consumption of the chip increases or the temperature increases, requiring an increase in fan speed to provide additional heat dissipation capability. The control intensity coefficient is increased to ensure that the adjustment of the rotating speed of the fan can timely respond to the change of temperature or power consumption. Through these steps, the system can adjust the fan speed according to the actual heat dissipation demand, thereby optimizing the heat dissipation performance of the server while taking into account energy efficiency and noise control. The dynamic adjustment strategy is helpful for ensuring that the chip operates in a safe and effective temperature range, and improving the reliability and energy efficiency of the server.
Fig. 4 is a schematic block diagram of a fan speed regulating device based on chip power consumption according to an embodiment of the present application. As shown in fig. 4, corresponding to the above fan speed adjusting method based on chip power consumption, the present application further provides a fan speed adjusting device 100 based on chip power consumption. The fan speed regulating device based on the chip power consumption comprises a unit for executing the fan speed regulating method based on the chip power consumption, and the device can be configured in a desktop computer, a tablet computer, a portable computer, and other terminals. Specifically, referring to fig. 4, the fan speed adjusting device 100 based on chip power consumption includes a first signal converting unit 110 for converting a temperature analog signal extracted from obtained current temperature information of a chip to be cooled into chip temperature data of a digital signal; the second signal conversion unit 120 is configured to parse the temperature analog signal to obtain current power consumption information of the chip to be cooled, and convert the power consumption analog signal extracted from the current power consumption information into chip power consumption data of a digital signal; the analyzing unit 130 is configured to analyze the chip temperature data and the chip power consumption data according to a preset fan rotation speed adjustment policy, so as to obtain chip temperature prediction information; the first information generating unit 140 is configured to verify the chip temperature prediction information according to a preset chip power consumption judging policy and generate comparison verification result information; the first calculating unit 150 is configured to adjust the control intensity coefficient according to a fan rotation speed adjustment instruction in the comparison and verification result information, so as to calculate a specified rotation speed for controlling the cooling fan to rotate.
In addition, more specifically, the device may further include a statistics unit, configured to perform statistical calculation on the chip temperature data according to a temperature variation statistical policy in the fan rotation speed adjustment policy, so as to obtain a chip temperature variation rate based on a preset statistical duration; the second calculation unit is used for calculating the chip power consumption data according to a chip power consumption calculation strategy in the fan rotating speed adjustment strategy so as to obtain a chip power consumption change rate in the statistic duration; the third calculation unit is used for performing fitting calculation based on the chip temperature change rate and the chip power consumption change rate to obtain a temperature-power consumption correlation curve; and the second information unit is used for predicting the chip temperature change trend according to the temperature-power consumption correlation curve so as to generate the chip temperature prediction information. A fourth calculation unit, configured to calculate a maximum amplitude value of a chip power consumption change in the chip temperature prediction information according to a power consumption calculation policy in the chip power consumption determination policy; and the judging unit is used for judging whether the maximum amplitude value exceeds the power consumption variation amplitude threshold value.
It should be noted that, as those skilled in the art can clearly understand, the specific implementation process of the fan speed adjusting device and each unit based on the chip power consumption may refer to the corresponding description in the foregoing method embodiment, and for convenience and brevity of description, the description is omitted here.
The fan speed adjustment based on chip power consumption described above may be implemented in the form of a computer program that can be run on a computer device as shown in fig. 5.
Referring to fig. 5, fig. 5 is a schematic block diagram of a computer device according to an embodiment of the present application. The computer device 500 may be a terminal or a server, where the terminal may be an electronic device with a communication function, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a personal digital assistant, and a wearable device. The server may be an independent server or a server cluster formed by a plurality of servers.
With reference to FIG. 5, the computer device 500 includes a processor 502, memory, and a network interface 505 connected by a system bus 501, where the memory may include a non-volatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer program 5032 includes program instructions that, when executed, cause the processor 502 to perform a method of fan speed regulation based on chip power consumption.
The processor 502 is used to provide computing and control capabilities to support the operation of the overall computer device 500.
The internal memory 504 provides an environment for the execution of a computer program 5032 in the non-volatile storage medium 503, which computer program 5032, when executed by the processor 502, causes the processor 502 to perform a fan speed method based on chip power consumption.
The network interface 505 is used for network communication with other devices. Those skilled in the art will appreciate that the architecture shown in fig. 5 is merely a block diagram of a portion of the architecture in connection with the present application and is not intended to limit the computer device 500 to which the present application is applied, and that a particular computer device 500 may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
It should be appreciated that in embodiments of the present application, the processor 502 may be a central processing unit (Central Processing Unit, CPU), the processor 502 may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSPs), application specific integrated circuits (Application Specific Integrated Circuit, ASICs), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. Wherein the general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Those skilled in the art will appreciate that all or part of the flow in a method embodying the above described embodiments may be accomplished by computer programs instructing the relevant hardware. The computer program comprises program instructions, and the computer program can be stored in a storage medium, which is a computer readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present application also provides a storage medium. The storage medium may be a computer readable storage medium. The storage medium stores a computer program, wherein the computer program includes program instructions. The program instructions, when executed by the processor, cause the processor to perform the steps of:
converting the temperature analog signals extracted from the obtained current temperature information of the chip to be cooled into chip temperature data of digital signals; analyzing the temperature analog signal to obtain current power consumption information of the chip to be cooled, and converting the power consumption analog signal extracted from the current power consumption information into chip power consumption data of a digital signal; analyzing chip temperature data and chip power consumption data according to a preset fan rotating speed regulating strategy to obtain chip temperature prediction information, wherein the fan rotating speed regulating strategy comprises a calculation formula generated based on a preset control intensity coefficient; checking the chip temperature prediction information according to a preset chip power consumption judgment strategy and generating comparison check result information, wherein the chip power consumption judgment strategy comprises a power consumption variation amplitude threshold value for checking; and adjusting the control intensity coefficient according to a fan rotating speed adjusting instruction in the comparison and verification result information so as to calculate the designated rotating speed for controlling the cooling fan to rotate.
The storage medium may be a U-disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk, or other various computer-readable storage media that can store program codes.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of the two, and that the elements and steps of the examples have been generally described in terms of function in the foregoing description to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed.
The steps in the method of the embodiment of the application can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the application can be combined, divided and deleted according to actual needs. In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The integrated unit may be stored in a storage medium if implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application is essentially or a part contributing to the prior art, or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a terminal, or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present application.
While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A fan speed regulation method based on chip power consumption for controlling a cooling fan, comprising:
converting the temperature analog signals extracted from the obtained current temperature information of the chip to be cooled into chip temperature data of digital signals;
analyzing the temperature analog signal to obtain current power consumption information of a chip to be cooled, and converting the power consumption analog signal extracted from the current power consumption information into chip power consumption data of a digital signal;
analyzing the chip temperature data and the chip power consumption data according to a preset fan rotating speed regulating strategy to obtain chip temperature prediction information, wherein the fan rotating speed regulating strategy comprises a calculation formula generated based on a preset control intensity coefficient;
checking the chip temperature prediction information according to a preset chip power consumption judgment strategy and generating comparison check result information, wherein the chip power consumption judgment strategy comprises a power consumption variation amplitude threshold value for checking;
and adjusting the control intensity coefficient according to a fan rotating speed adjusting instruction in the comparison and verification result information so as to calculate a designated rotating speed for controlling the cooling fan to rotate.
2. The method of claim 1, wherein the analyzing the chip temperature data and the chip power consumption data according to a preset fan speed adjustment strategy to obtain chip temperature prediction information comprises:
carrying out statistical calculation on the chip temperature data according to a temperature change statistical strategy in the fan rotating speed regulating strategy so as to obtain a chip temperature change rate based on a preset statistical duration;
calculating the chip power consumption data according to a chip power consumption calculation strategy in the fan rotating speed regulation strategy to obtain a chip power consumption change rate based on the statistical duration;
fitting calculation is carried out based on the chip temperature change rate and the chip power consumption change rate so as to obtain a temperature-power consumption correlation curve;
and predicting the chip temperature change trend according to the temperature-power consumption correlation curve so as to generate the chip temperature prediction information.
3. The method for adjusting speed of a fan based on power consumption of a chip according to claim 2, wherein the verifying the chip temperature prediction information according to a preset chip power consumption judgment policy and generating comparison verification result information includes:
calculating according to a power consumption calculation strategy in the chip power consumption judgment strategy to obtain a maximum amplitude value of chip power consumption change in the chip temperature prediction information;
judging whether the maximum amplitude value exceeds the power consumption variation amplitude threshold value or not;
and if the maximum amplitude value exceeds the power consumption variation amplitude threshold value, generating a corresponding fan rotating speed adjusting instruction as the comparison verification result information according to the fan rotating speed adjusting strategy.
4. The method for adjusting speed of a fan based on power consumption of a chip as claimed in claim 3, wherein generating a fan speed adjustment command corresponding to the fan speed adjustment command as the comparison result information according to the fan speed adjustment strategy includes:
performing numerical screening on the chip temperature data according to a temperature-rotating speed matching strategy in the fan rotating speed adjusting strategy to obtain a temperature value to be adjusted;
setting the chip temperature state type to be a chip over-temperature state and a chip self-adaptive state according to the temperature value variation amplitude in the chip temperature prediction information;
judging the temperature value to be regulated according to a rotational speed customization strategy in the fan rotational speed regulation strategy so as to determine an instruction type;
and generating a corresponding fan rotating speed adjusting instruction as the comparison and verification result information according to the instruction type.
5. The method of claim 4, wherein the adjusting the control intensity coefficient according to the fan speed adjustment command in the comparison and verification result information comprises:
if the fan rotating speed adjusting instruction is a lowering instruction, lowering the control intensity coefficient;
and if the fan rotating speed adjusting instruction is a heightening instruction, heightening the control intensity coefficient.
6. A fan speed regulating device based on chip power consumption, applying the fan speed regulating method based on chip power consumption according to any one of claims 1 to 5, characterized in that the fan speed regulating device comprises:
the first signal conversion unit is used for converting the temperature analog signals extracted from the acquired current temperature information of the chip to be cooled into chip temperature data of digital signals;
the second signal conversion unit is used for analyzing the temperature analog signal to obtain current power consumption information of the chip to be cooled, and converting the power consumption analog signal extracted from the current power consumption information into chip power consumption data of a digital signal;
the analysis unit is used for analyzing the chip temperature data and the chip power consumption data according to a preset fan rotating speed regulation strategy to obtain chip temperature prediction information;
the first information generating unit is used for checking the chip temperature prediction information according to a preset chip power consumption judging strategy and generating comparison check result information;
and the first calculation unit is used for adjusting the control intensity coefficient according to the fan rotating speed adjusting instruction in the comparison and verification result information so as to calculate the designated rotating speed to control the cooling fan to rotate.
7. The chip power consumption based fan speed regulator of claim 6, wherein the fan speed regulator comprises:
the statistics unit is used for carrying out statistics calculation on the chip temperature data according to a temperature change statistics strategy in the fan rotating speed regulation strategy so as to obtain a chip temperature change rate in a preset statistics duration;
the second calculation unit is used for calculating the chip power consumption data according to a chip power consumption calculation strategy in the fan rotating speed adjustment strategy so as to obtain a chip power consumption change rate in the statistic duration;
the third calculation unit is used for performing fitting calculation based on the chip temperature change rate and the chip power consumption change rate to obtain a temperature-power consumption correlation curve;
and the second information unit is used for predicting the chip temperature change trend according to the temperature-power consumption correlation curve so as to generate the chip temperature prediction information.
8. The chip power consumption based fan speed regulator of claim 6, wherein the fan speed regulator comprises:
a fourth calculation unit, configured to calculate a maximum amplitude value of a chip power consumption change in the chip temperature prediction information according to a power consumption calculation policy in the chip power consumption determination policy;
and the judging unit is used for judging whether the maximum amplitude value exceeds the power consumption variation amplitude threshold value.
9. A computer device, characterized in that it comprises a memory and a processor, on which a computer program is stored, which processor implements the method according to any of claims 1-5 when executing the computer program.
10. A computer readable storage medium, characterized in that the storage medium stores a computer program comprising program instructions which, when executed by a processor, can implement the method of any of claims 1-5.
CN202410078419.2A 2024-01-18 2024-01-18 Fan speed regulation method, device, equipment and storage medium based on chip power consumption Pending CN117846998A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410078419.2A CN117846998A (en) 2024-01-18 2024-01-18 Fan speed regulation method, device, equipment and storage medium based on chip power consumption

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410078419.2A CN117846998A (en) 2024-01-18 2024-01-18 Fan speed regulation method, device, equipment and storage medium based on chip power consumption

Publications (1)

Publication Number Publication Date
CN117846998A true CN117846998A (en) 2024-04-09

Family

ID=90534505

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410078419.2A Pending CN117846998A (en) 2024-01-18 2024-01-18 Fan speed regulation method, device, equipment and storage medium based on chip power consumption

Country Status (1)

Country Link
CN (1) CN117846998A (en)

Similar Documents

Publication Publication Date Title
US8539269B2 (en) Apparatus and method for high current protection
EP2962169B1 (en) System and method for thermal management in a portable computing device using thermal resistance values to predict optimum power levels
US7464278B2 (en) Combining power prediction and optimal control approaches for performance optimization in thermally limited designs
US7194645B2 (en) Method and apparatus for autonomic policy-based thermal management in a data processing system
US10037258B2 (en) System and method for intelligent thermal management using dynamic performance floors in a portable computing device
US8700925B2 (en) Regulating power using a fuzzy logic control system
US8594856B2 (en) Processor cooling by temperature range and multiple algorithm fan speed control
EP2702461B1 (en) Method and system for reducing thermal load by monitoring and controlling current flow in a portable computing device
US7792597B2 (en) Control systems and method using a shared component actuator
US8977874B2 (en) System and method for battery load management in a portable computing device
US20110055596A1 (en) Regulating power within a shared budget
US7917772B1 (en) Dynamic chip control
US20150169016A1 (en) System and method for adaptive thermal management in a portable computing device
US7890219B2 (en) Cooling fan with speed maintained during wait period despite decreasing temperature
US20130311794A1 (en) System and method for dynamic battery current load management in a portable computing device
US20170322616A1 (en) Adaptive Optimization of Low Power Strategies
WO2015077671A1 (en) System and method for multi-correlative learning thermal management of a system on a chip in a portable computing device
CN114490275A (en) MCU-based host monitoring control method, system, electronic equipment and medium
CN117846998A (en) Fan speed regulation method, device, equipment and storage medium based on chip power consumption
CN115263793B (en) Speed regulation method, speed regulation device, equipment and medium for server fan
CN116700390A (en) Liquid inlet temperature control method, system, equipment and storage medium for energy storage liquid cooling system
CN109213300B (en) Method and system for processor power scaling, and storage medium
CN114326855B (en) Device temperature control method and system
CN114356570A (en) Processor adjusting method and system and electronic equipment
CN115934350A (en) Power consumption adjusting method and device

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