Movatterモバイル変換


[0]ホーム

URL:


TW202449563A - Method for controlling a system’s total power consumption by setting parameters in a controller according to the phases - Google Patents

Method for controlling a system’s total power consumption by setting parameters in a controller according to the phases
Download PDF

Info

Publication number
TW202449563A
TW202449563ATW112121619ATW112121619ATW202449563ATW 202449563 ATW202449563 ATW 202449563ATW 112121619 ATW112121619 ATW 112121619ATW 112121619 ATW112121619 ATW 112121619ATW 202449563 ATW202449563 ATW 202449563A
Authority
TW
Taiwan
Prior art keywords
power consumption
controller
control
temperature
fan
Prior art date
Application number
TW112121619A
Other languages
Chinese (zh)
Inventor
李彪
張連飛
Original Assignee
英業達股份有限公司
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 英業達股份有限公司filedCritical英業達股份有限公司
Priority to TW112121619ApriorityCriticalpatent/TW202449563A/en
Publication of TW202449563ApublicationCriticalpatent/TW202449563A/en

Links

Images

Landscapes

Abstract

A method for controlling a system’s total power consumption by setting parameters in a controller according to the phases, for applying in the system having at least one heat generating element, a fan, and the controller, including: the controller setting a rising temperature parameter and a dropping temperature parameter; the controller sensing the heat generating element’s a real-time temperature value and a previous temperature value; and the controller comparing the real-time temperature value and the previous temperature value to determine it’s a rising temperature phase or a dropping temperature phase, wherein when it’s the rising temperature phase, the controller controls the fan by the rising temperature parameter, and when it’s the dropping temperature phase, the controller controls the fan by the dropping temperature parameter, whereby the controller controls the fan to control the system’s total power consumption.

Description

Translated fromChinese
依據階段來設定控制器參數以控制系統總功耗的方法Method for setting controller parameters according to phase to control total system power consumption

本發明係關於一種依據階段來設定控制器參數以控制系統總功耗的方法,尤其是指一種具有升溫控制參數、以及降溫控制參數之控制系統總功耗的方法。The present invention relates to a method for controlling the total power consumption of a system by setting controller parameters according to stages, and more particularly to a method for controlling the total power consumption of a system having temperature increase control parameters and temperature decrease control parameters.

一般來說,在現有技術當中,伺服器(server)的整機系統需要於所設定的特定環境與狀況之下來進行溫度與整機系統總功耗等的測試動作。伺服器的整機系統內配置包含有至少以下的各項設備:一中央處理器(central processing unit,簡稱CPU)、一記憶體、一硬碟、一網卡、以及一圖形處理器(graphic processing unit,簡稱GPU)等,並且實際測試的一種情況之下,係要求整機系統在25度C的環境溫度下所測得的整機系統之瞬間最大總功耗不得超過900W。Generally speaking, in the existing technology, the whole system of the server needs to be tested for temperature and total power consumption of the whole system under a specific environment and conditions. The whole system of the server is configured with at least the following equipment: a central processing unit (CPU), a memory, a hard drive, a network card, and a graphic processing unit (GPU), etc., and in one case of actual testing, it is required that the total instantaneous maximum power consumption of the whole system measured at an ambient temperature of 25 degrees C should not exceed 900W.

而在此25度C的環境溫度之條件下,圖形處理器的安全工作之臨界溫度Tsp(setpoint,以下簡稱SP)為72度C,負載(loading)壓力則是從10%一直加壓至100%為止,每10%的負載壓力測試一組結果,而單一組的測試時間長為20分鐘。測試結果顯示,於穩定階段的整機系統之總功耗低於870W,但整機系統功耗會存在有數個尖峰(peak),此尖峰的暫態功耗最高則是達到了930W,顯著地大於整機系統的穩定時的設定總功耗900W。為了要能夠滿足對於暫態總功耗不超過900W的要求,此處就必須要能夠消除整機系統的此功耗尖峰。Under the condition of 25 degrees Celsius ambient temperature, the critical temperature Tsp (setpoint, hereinafter referred to as SP) for safe operation of the graphics processor is 72 degrees Celsius. The loading pressure is increased from 10% to 100%, and a set of results is tested for each 10% load pressure, and the test time for a single set is 20 minutes. The test results show that the total power consumption of the whole system in the stable stage is less than 870W, but the power consumption of the whole system will have several peaks. The maximum transient power consumption of this peak is 930W, which is significantly greater than the set total power consumption of 900W when the whole system is stable. In order to meet the requirement that the total transient power consumption does not exceed 900W, it is necessary to be able to eliminate the power consumption peak of the entire system.

有鑒於在先前技術當中,整機系統的總功耗會產生有數個功耗尖峰,並不穩定,因此,要能夠得到一個較為穩定的整機系統的總功耗就成為了一個亟需解決的課題。In view of the fact that in the previous technology, the total power consumption of the entire system will produce several power consumption peaks and is not stable, therefore, obtaining a more stable total power consumption of the entire system has become an issue that needs to be solved urgently.

本發明為解決先前技術之問題,所採用的必要技術手段是提供一種依據階段來設定控制器參數以控制系統總功耗的方法,係應用於至少具有一發熱元件、一風扇、以及一控制器之一系統當中,本方法包含:設定控制器具有一升溫控制參數、以及一降溫控制參數;控制器讀取發熱元件之一現在溫度、以及一前一刻溫度;以及控制器比較現在溫度與前一刻溫度以判斷發熱元件係處於一升溫階段或一降溫階段;其中,當判斷發熱元件係處於升溫階段時,控制器依據升溫控制參數以回饋控制風扇,而當判斷發熱元件係處於降溫階段時,控制器依據降溫控制參數以回饋控制風扇,用以控制系統之總功耗。The present invention is to solve the problems of the prior art. The necessary technical means adopted is to provide a method for setting controller parameters according to the stage to control the total power consumption of the system. The method is applied to a system having at least one heating element, one fan, and one controller. The method includes: setting the controller to have a heating control parameter and a cooling control parameter; the controller reads a current temperature and a previous temperature of the heating element; and the controller compares the current temperature with the previous temperature to determine whether the heating element is in a heating stage or a cooling stage; wherein, when it is determined that the heating element is in the heating stage, the controller controls the fan according to the heating control parameter for feedback, and when it is determined that the heating element is in the cooling stage, the controller controls the fan according to the cooling control parameter for feedback, so as to control the total power consumption of the system.

在上述必要技術手段所衍生之一附屬技術手段中,還包括一步驟:控制器判斷是否需啟動一PID控速策略。One of the subsidiary technical means derived from the above necessary technical means also includes a step: the controller determines whether a PID speed control strategy needs to be started.

在上述必要技術手段所衍生之一附屬技術手段中,升溫控制參數大於降溫控制參數。In one of the subsidiary technical means derived from the above-mentioned necessary technical means, the temperature increase control parameter is greater than the temperature decrease control parameter.

如上所述,由於本發明之依據階段來設定控制器參數以控制系統總功耗的方法是利用不同的升溫控制參數、以及降溫控制參數來控制系統總功耗的方法,藉此,本發明確實可以有效的達到較為穩定的系統總功耗。As described above, since the method of setting controller parameters according to the stage to control the total power consumption of the system is a method of controlling the total power consumption of the system by using different temperature increase control parameters and temperature decrease control parameters, the present invention can effectively achieve a relatively stable total power consumption of the system.

本發明所採用的具體實施例,將藉由以下之實施例及圖式作進一步之說明。The specific embodiments of the present invention will be further described by the following embodiments and drawings.

請綜合參閱第一圖至第二圖,第一圖係顯示本發明較佳實施例所提供之依據階段來設定控制器參數以控制系統總功耗的方法之流程圖;以及第二圖係顯示本發明較佳實施例所提供之依據階段來設定控制器參數以控制系統總功耗的方法之實施結構示意圖。Please refer to the first and second figures in combination. The first figure is a flow chart showing a method for setting controller parameters according to stages to control the total power consumption of the system provided by a preferred embodiment of the present invention; and the second figure is a schematic diagram showing an implementation structure of the method for setting controller parameters according to stages to control the total power consumption of the system provided by a preferred embodiment of the present invention.

如第一圖所示,本發明所揭露之一種依據階段來設定控制器參數以控制系統總功耗的方法,係應用於至少具有一發熱元件、一風扇40、以及一控制器之一系統當中。其中,控制器可以例如是一基板管理控制器(baseboard management controller,簡稱BMC)20,其內含有PID控制器,或者是具有一PID控制值儲存於其儲存單元22內來透過計算單元23進行計算。其中,發熱元件可以是例如第二圖中所示的元件10,通常是指會產生熱量的發熱元件,例如是中央處理器(central processing unit,簡稱CPU),或者是圖形處理器(graphic processing unit,簡稱GPU)等。As shown in the first figure, a method disclosed in the present invention for setting controller parameters according to the stage to control the total power consumption of the system is applied to a system having at least a heat generating element, afan 40, and a controller. The controller may be, for example, a baseboard management controller (BMC) 20, which contains a PID controller, or has a PID control value stored in itsstorage unit 22 to be calculated by acalculation unit 23. The heat generating element may be, for example, theelement 10 shown in the second figure, which generally refers to a heat generating element that generates heat, such as a central processing unit (CPU), or a graphic processing unit (GPU).

本發明之方法包含:首先,開始(步驟S01)實驗的測試流程,設定控制器具有一升溫控制參數、以及一降溫控制參數。接者,控制器讀取元件10之一現在溫度、一前一刻溫度、與風扇40之一轉速(步驟S02)。再來,控制器判斷是否需要啟動一PID控速策略(步驟S03)。若是需要的話,則啟動PID控速策略(步驟S04)。The method of the present invention includes: first, starting (step S01) the test process of the experiment, setting the controller to have a temperature increase control parameter and a temperature decrease control parameter. Then, the controller reads a current temperature of thecomponent 10, a temperature at the last moment, and a speed of the fan 40 (step S02). Next, the controller determines whether it is necessary to start a PID speed control strategy (step S03). If necessary, the PID speed control strategy is started (step S04).

而所謂的PID控速,全稱為「比例、積分、微分控制」,其所具有的PID控制值包含有Kp、Ki和Kd的比例係數、積分係數、以及微分係數,這是一般常使用的風扇40控制策略,通常在負載加壓測試中啟動,目的是在於快速調整出合適的風扇40轉速以滿足元件10的控溫要求。The so-called PID speed control, the full name of which is "proportional, integral, and differential control", has PID control values including proportional coefficients, integral coefficients, and differential coefficients of Kp, Ki, and Kd. This is a commonly usedfan 40 control strategy, which is usually activated during a load pressure test. The purpose is to quickly adjust theappropriate fan 40 speed to meet the temperature control requirements of thecomponent 10.

再來,控制器比較現在溫度與前一刻溫度用以判斷元件10之溫度係為上升趨勢、或者是下降趨勢,亦即係處於一升溫階段、或者是一降溫階段(步驟S05)。在此需要特別說明的是,此一判斷元件10之溫度係處於上升階段、或者是下降階段的判斷方法,例如可以是看現在溫度與前一刻溫度的數值大小來判斷係處於上升趨勢、或者是下降趨勢,也可以是看這兩個溫度的數值之數值差距需大於一特定閥值(threshold)之情況下而來決定出其是處於上升趨勢、或者是下降趨勢等的溫度趨勢判斷方法,皆可以適用於本發明當中。Next, the controller compares the current temperature with the temperature at the previous moment to determine whether the temperature of thecomponent 10 is increasing or decreasing, that is, whether it is in a temperature increase phase or a temperature decrease phase (step S05). It should be noted that the method for determining whether the temperature of theelement 10 is in an ascending stage or a descending stage may be, for example, to determine whether the temperature is in an ascending trend or a descending trend by looking at the numerical value of the current temperature and the temperature at the previous moment, or to determine whether the temperature is in an ascending trend or a descending trend by looking at the difference between the numerical values of the two temperatures being greater than a specific threshold, etc. All of these temperature trend determination methods may be applicable to the present invention.

若是判斷元件10之溫度係為下降趨勢,亦即處於降溫階段時,控制器則依據降溫控制參數,例如是一種PID控制值來計算出風扇40的脈波寬度調變值(pulse-width modulation,以下簡稱為PWM)(步驟S06)作為最後所輸出的風扇40最終的現在脈波寬度調變值PWM(i)(步驟S08),藉此,透過控制器以回饋控制風扇40,用以控制系統之總功耗。If it is determined that the temperature of thecomponent 10 is on a downward trend, that is, it is in the cooling stage, the controller calculates the pulse-width modulation (PWM) value of the fan 40 (step S06) based on a cooling control parameter, such as a PID control value, as the final output of thefan 40, the final current pulse-width modulation value PWM(i) (step S08). In this way, the controller controls thefan 40 through feedback to control the total power consumption of the system.

若是判斷元件10之溫度係為上升趨勢,亦即處於升溫階段時,控制器則依據升溫控制參數,例如是另一種不同的PID控制值來計算出風扇40的脈波寬度調變值(步驟S07)作為最後所輸出的風扇40最終的現在脈波寬度調變值PWM(i)(步驟S08),藉此,透過控制器以回饋控制風扇40,用以控制系統之總功耗,結束(步驟S09)此實驗流程。If it is determined that the temperature of thecomponent 10 is on an upward trend, that is, it is in the heating stage, the controller calculates the pulse width modulation value of the fan 40 (step S07) based on the heating control parameter, such as another different PID control value, as the final output of thefan 40 The final current pulse width modulation value PWM(i) (step S08), thereby, through the controller, feedback is used to control thefan 40 to control the total power consumption of the system, and the experimental process ends (step S09).

在此要特別說明的是,控制器透過PID控速策略來計算出風扇40的脈波寬度調變值之方式說明如下:控制器依據風扇40的前一刻脈波寬度調變值PWM(i-1)、以及風扇40的脈波寬度調變差值PWM(i)而得出現在脈波寬度調變值PWM(i),亦即依據以下公式計算得出:PWM(i)=PWM(i-1)+PWM(i)。而風扇40的脈波寬度調變差值ΔPWM(i)的具體計算方式係依據如下所示的公式來進行計算所得出:PWM(i)=Kp*[e(i)–e(i-1)]+Ki*e(i)+Kd*[T(i)–2*T(i-1)+T(i-2)]。其中,e(i)=T(i)-Tsp,T(i)為元件10在第i時刻、也就是當前時刻的溫度;Tsp是元件10安全工作的臨界溫度;而Kp、Ki和Kd則是基板管理控制器20內所儲存具有的PID控制值,分別為比例係數、積分係數、以及微分係數。其中,當處於降溫階段時,其PID控制值為降溫控制參數代入進行計算而得出現在脈波寬度調變值PWM(i);而當處於升溫階段時,其PID控制值為升溫控制參數代入進行計算而得出現在脈波寬度調變值PWM(i)。It is particularly noted that the controller uses the PID speed control strategy to calculate the pulse width modulation value of thefan 40 as follows: The controller calculates the pulse width modulation value PWM(i-1) of thefan 40 at the last moment and the pulse width modulation difference of thefan 40. PWM(i) is used to obtain the current pulse width modulation value PWM(i), which is calculated according to the following formula: PWM(i)=PWM(i-1)+ PWM(i). The specific calculation method of the pulse width modulation differenceΔPWM (i) of thefan 40 is calculated according to the following formula: PWM(i)=Kp*[e(i)–e(i-1)]+Ki*e(i)+Kd*[T(i)–2*T(i-1)+T(i-2)]. Wherein, e(i)=T(i)-Tsp, T(i) is the temperature of thecomponent 10 at the i-th moment, that is, the current moment; Tsp is the critical temperature of thecomponent 10 for safe operation; and Kp, Ki and Kd are the PID control values stored in thebaseboard management controller 20, which are the proportional coefficient, integral coefficient, and differential coefficient, respectively. Among them, when it is in the cooling stage, its PID control value is the cooling control parameter substituted into the calculation to obtain the current pulse width modulation value PWM(i); and when it is in the heating stage, its PID control value is the heating control parameter substituted into the calculation to obtain the current pulse width modulation value PWM(i).

相關硬體設備說明如下,請參考第二圖,係顯示本發明較佳實施例所提供之依據階段來設定控制器參數以控制系統總功耗的方法之實施結構示意圖。以上所述本發明的PID控速策略係通過程式的方式寫入基板管理控制器20當中,其具體的控制邏輯如下:基板管理控制器20與元件10和複雜可程式化邏輯裝置(complex programmable logic device,簡稱CPLD)30進行通訊,基板管理控制器20之輸入單元21讀取到元件10的溫度、以及風扇40的轉速等資訊,基板管理控制器20之儲存單元22中的散熱策略(包含PID控速策略)與輸入單元21所讀取到的前述資訊共同傳送到基板管理控制器20之計算單元23內,計算單元23判斷整體機台是否處於正常工作狀態,用以決定是否需要啟動PID控速,以及啟動PID控速的計算方式等,並將計算出的風扇40之脈波寬度調變差值ΔPWM(i)作為一風扇控制指令由基板管理控制器20之輸出單元24傳送到複雜可程式化邏輯裝置30,複雜可程式化邏輯裝置30再將基板管理控制器20所傳送的風扇控制指令傳送至風扇40,風扇40將依據複雜可程式化邏輯裝置30傳送的風扇控制指令決定是否調整和如何調整風扇40的轉速,最終完成基板管理控制器20對風扇40之控制。另外,風扇40亦將一風扇訊號,包含例如有轉速等資訊先傳送給複雜可程式化邏輯裝置30,複雜可程式化邏輯裝置30再將其回饋傳送至輸入單元21內。因此,風扇40轉速的變化將造成元件10之溫度發生改變,進而反作用於基板管理控制器20內的控制,實現了元件10的溫度與風扇40的轉速的雙向作用。The related hardware equipment is described as follows. Please refer to the second figure, which is a schematic diagram showing the implementation structure of the method for setting controller parameters according to the stage to control the total power consumption of the system provided by the preferred embodiment of the present invention. The PID speed control strategy of the present invention described above is written into thebaseboard management controller 20 by programming. The specific control logic is as follows: thebaseboard management controller 20, thecomponent 10 and the complex programmable logic device (CPLD) The BMC 20 communicates with theCPLD 30, and theinput unit 21 of the BMC 20 reads the temperature of thecomponent 10 and the speed of thefan 40. The heat dissipation strategy (including the PID speed control strategy) in thestorage unit 22 of the BMC 20 and the aforementioned information read by theinput unit 21 are transmitted to thecalculation unit 23 of the BMC 20. Thecalculation unit 23 determines whether the whole machine is in a normal working state, and determines whether to start the PID speed control and the calculation method of starting the PID speed control. The calculated pulse width modulation difference ΔPWM(i) of thefan 40 is used as a fan control instruction by theoutput unit 24 of thebaseboard management controller 20 to be transmitted to the complexprogrammable logic device 30. The complexprogrammable logic device 30 then transmits the fan control instruction transmitted by thebaseboard management controller 20 to thefan 40. Thefan 40 will decide whether to adjust and how to adjust the speed of thefan 40 according to the fan control instruction transmitted by the complexprogrammable logic device 30, and finally thebaseboard management controller 20 completes the control of thefan 40. In addition, thefan 40 also transmits a fan signal including information such as rotation speed to theCPLD 30, and theCPLD 30 then transmits the feedback to theinput unit 21. Therefore, the change of the rotation speed of thefan 40 will cause the temperature of thecomponent 10 to change, which in turn reacts to the control in thebaseboard management controller 20, thus realizing the two-way effect of the temperature of thecomponent 10 and the rotation speed of thefan 40.

於本實驗測試當中,係利用一特定的負載壓力測試軟體來進行實驗測試,尤其是針對伺服器整機系統的圖形處理器,而在實驗過程中,圖形處理器的功耗將瞬間減半而後快速恢復到滿功耗,呈現先急速下降後又急速上升的現象,使得圖形處理器的溫度隨之先快速下降後又快速上升。然而,由於此負載壓力加壓條件下的散熱風險點和風扇40之控速點均在圖形處理器,亦即加壓條件下的圖形處理器會是唯一決定風扇40轉速的元件。因此,圖形處理器於每一個週期的結束和開啟會造成風扇40轉速的劇烈波動。In this experimental test, a specific load stress test software is used to conduct the experimental test, especially for the graphics processor of the server system. During the experiment, the power consumption of the graphics processor will be instantly reduced by half and then quickly restored to full power consumption, showing a phenomenon of rapid decline and then rapid rise, so that the temperature of the graphics processor first drops rapidly and then rises rapidly. However, because the heat dissipation risk point and the speed control point of thefan 40 under this load stress pressure condition are both in the graphics processor, that is, the graphics processor under stress conditions will be the only component that determines the speed of thefan 40. Therefore, the end and start of the graphics processor at each cycle will cause a dramatic fluctuation in the speed of thefan 40.

由於圖形處理器的溫度與其功耗緊密相關,而風扇40的轉速需先讀到圖形處理器的溫度再行調整,因此風扇40的轉速對於圖形處理器功耗的響應存在一定的延遲,而這種延遲必然導致風扇40轉速的調整存在過量,造成風扇40轉速和功耗均存在尖峰,進而造成系統總功耗存在有尖峰。Since the temperature of the graphics processor is closely related to its power consumption, and the speed offan 40 needs to read the temperature of the graphics processor before adjusting, there is a certain delay in the response of the speed offan 40 to the power consumption of the graphics processor. This delay will inevitably lead to excessive adjustment of the speed offan 40, resulting in spikes in both the speed and power consumption offan 40, and thus causing a spike in the total power consumption of the system.

基於以上分析,為減小圖形處理器於每一個週期的結束和再開啟這一過程會對風扇40轉速的影響,從而達到控制整機系統總功耗的目的,本發明提出了以下的PID控速策略:於控制器內,在升溫階段和降溫階段設置有不同的PID控制值之參數。具體來講,在圖形處理器處於升溫階段時設置有較大的PID控制值之參數,用來快速回應圖形處理器溫度的變化;而在圖形處理器處於降溫階段時設置有較小的PID控制值之參數,用以減小風扇40轉速的下降程度。舉例來說,圖形處理器處於升溫階段時升溫控制參數的PID控制值之參數分別為3、0.5和0.1,而圖形處理器處於降溫階段時降溫控制參數的PID控制值之參數則是分別為1、0.2和0.1,可以明顯的看出,升溫控制參數大於降溫控制參數。Based on the above analysis, in order to reduce the impact of the graphics processor at the end and restart of each cycle on the speed of thefan 40, so as to achieve the purpose of controlling the total power consumption of the whole system, the present invention proposes the following PID speed control strategy: in the controller, different PID control value parameters are set in the temperature rise stage and the temperature drop stage. Specifically, when the graphics processor is in the temperature rise stage, a larger PID control value parameter is set to quickly respond to the change of the graphics processor temperature; and when the graphics processor is in the temperature drop stage, a smaller PID control value parameter is set to reduce the degree of decrease in the speed of thefan 40. For example, when the graphics processor is in the heating stage, the PID control value parameters of the heating control parameter are 3, 0.5 and 0.1 respectively, while when the graphics processor is in the cooling stage, the PID control value parameters of the cooling control parameter are 1, 0.2 and 0.1 respectively. It can be clearly seen that the heating control parameter is greater than the cooling control parameter.

更詳細地來說,通過在升溫階段和降溫階段設置有不同的PID控制值之參數,升溫控制參數較大,而降溫控制參數較小,因此,當處於升溫階段時,圖形處理器的溫度上升較快,利用較大的升溫控制參數的PID控制值之參數可以產生較大的脈波寬度調變差值PWM(i),利於快速拉升風扇40之轉速,從而降低圖形處理器的溫度;而當處於降溫階段時,利用較小的降控制參數的PID控制值之參數可以計算得出較小的脈波寬度調變差值PWM(i),使得週期結束時的風扇40轉速下降幅度較小,儘管週期再開啟時圖形處理器的溫度上升,但此時風扇40的轉速較大,可減緩圖形處理器的溫升速度,減少圖形處理器的溫度達到最高點後的風扇40超調,從而達到降低風扇40之功耗尖峰和系統總功耗的尖峰之目的。In more detail, by setting different PID control value parameters in the heating stage and the cooling stage, the heating control parameter is larger, while the cooling control parameter is smaller. Therefore, when in the heating stage, the temperature of the graphics processor rises faster. The PID control value parameter with a larger heating control parameter can produce a larger pulse width modulation difference. PWM(i) is helpful to quickly increase the speed of thefan 40, thereby reducing the temperature of the graphics processor; and when in the cooling stage, the PID control value parameter with a smaller drop control parameter can be used to calculate a smaller pulse width modulation difference. PWM(i) makes the speed drop offan 40 at the end of the cycle smaller. Although the temperature of the graphics processor rises when the cycle is restarted, the speed offan 40 is relatively large at this time, which can slow down the temperature rise rate of the graphics processor and reduce the overshoot offan 40 after the temperature of the graphics processor reaches the highest point, thereby achieving the purpose of reducing the power consumption peak offan 40 and the peak of total system power consumption.

本發明之主要目的在於減少圖形處理器於降溫階段時風扇40轉速的下降程度,在降溫階段時的PID控制值的參數較小,使得圖形處理器的溫度降低時風扇40轉速的下降程度較小,提高了圖形處理器於週期結束到再開啟階段的風扇40最低轉速,從而儘管週期結束到再開啟的功耗和溫度上升,但此時風扇40之轉速仍然較大,故拉升風扇40的需求減小,風扇40的功耗和系統總功耗將隨之下降。The main purpose of the present invention is to reduce the degree of decrease in the speed of thefan 40 when the graphics processor is in the cooling stage. The parameters of the PID control value in the cooling stage are relatively small, so that the degree of decrease in the speed of thefan 40 is relatively small when the temperature of the graphics processor decreases, and the minimum speed of thefan 40 in the graphics processor from the end of the cycle to the restart stage is increased. Therefore, although the power consumption and temperature increase from the end of the cycle to the restart, the speed of thefan 40 is still relatively large at this time, so the need to increase thefan 40 is reduced, and the power consumption of thefan 40 and the total power consumption of the system will decrease accordingly.

而本實驗的最後結果,係圖形處理器於週期過程當中的功耗將先急速下降後又急速上升,使得圖形處理器的溫度、風扇40的轉速、風扇40的功耗和整機系統的總功耗均出現先快速下降而後又迅速上升的現象,提出了一種有效的PID控速策略,透過設定有二個不同的升溫控制參數、以及降溫控制參數,來減小風扇40的最大轉速,降低風扇40的功耗,從而達到實現降低整機系統瞬間最大總功耗的目的,滿足不希望見到功耗尖峰的要求。The final result of this experiment is that the power consumption of the graphics processor during the cycle process will first drop rapidly and then rise rapidly, causing the temperature of the graphics processor, the speed of thefan 40, the power consumption of thefan 40 and the total power consumption of the entire system to first drop rapidly and then rise rapidly. An effective PID speed control strategy is proposed. By setting two different temperature increase control parameters and temperature decrease control parameters, the maximum speed of thefan 40 is reduced and the power consumption of thefan 40 is reduced, thereby achieving the purpose of reducing the instantaneous maximum total power consumption of the entire system and meeting the requirement of not wanting to see power consumption spikes.

以上需要特別說明的是,上述策略的重點在於控制策略本身,而所舉例的升溫控制參數與降溫控制參數之內容並非是唯一,亦可根據需求的變化做出進一步調整和優化,重點是通過本發明之策略來達到降低風扇40的最大轉速和整機系統最大總功耗的目的。It should be specially pointed out above that the focus of the above strategy is on the control strategy itself, and the contents of the temperature increase control parameters and the temperature decrease control parameters cited are not unique, and further adjustments and optimizations can be made according to changes in demand. The focus is to achieve the purpose of reducing the maximum speed of thefan 40 and the maximum total power consumption of the entire system through the strategy of the present invention.

此外,需要說明的是,上述策略雖然是針對圖形處理器來進行實際負載加壓的壓測軟體所進行的實驗結果,但仍然可以用於其他具有功耗劇烈波動並對整機系統總功耗有嚴格要求的整機系統配置和機台上。In addition, it should be noted that although the above strategy is the experimental result of the stress testing software that performs actual load stress on the graphics processor, it can still be used in other system configurations and machines with drastic fluctuations in power consumption and strict requirements on the total power consumption of the entire system.

經由負載壓力測試軟體來對圖形處理器進行實際測試後發現,在過程中圖形處理器的功耗將會先急速下降後又急速上升,使得圖形處理器的溫度、風扇40的轉速、風扇40的功耗和整機系統總功耗均出現了先快速下降而後又迅速上升的現象。因此,本發明確實提出了一種有效的控制策略,其優點在於:After the load stress test software was used to conduct actual testing on the graphics processor, it was found that during the process, the power consumption of the graphics processor would first drop rapidly and then rise rapidly, causing the temperature of the graphics processor, the speed of thefan 40, the power consumption of thefan 40 and the total power consumption of the whole system to first drop rapidly and then rise rapidly. Therefore, the present invention does propose an effective control strategy, and its advantages are:

1. 能根據元件10,例如圖形處理器的溫度來調整風扇40的轉速,具有回應速度快,控制精度高,且能快速實現穩定控制的特點。1. The speed of thefan 40 can be adjusted according to the temperature of thecomponent 10, such as a graphics processor, and has the characteristics of fast response speed, high control accuracy, and the ability to quickly achieve stable control.

2. 在升降溫階段採用不同的PID控制值之參數,通過減小降溫階段的風扇40轉速,有效降低了升溫階段的風扇40之最大轉速和整機系統之總功耗。2. Different PID control value parameters are used in the temperature rise and fall stages. By reducing the speed of thefan 40 in the temperature fall stage, the maximum speed of thefan 40 in the temperature rise stage and the total power consumption of the entire system are effectively reduced.

3. 系統整機的功耗曲線較為平緩,無強烈的功耗尖峰,對於供電設備的衝擊小,利於延長設備的壽命。3. The power consumption curve of the entire system is relatively flat, without strong power consumption peaks, which has little impact on power supply equipment and helps extend the life of the equipment.

4. 此種控制策略均僅需在基板管理控制器20的控速指令中做出一定的增減,改動難度小,且改動的成本低。4. This control strategy only requires a certain increase or decrease in the speed control command of thebaseboard management controller 20, and the modification is easy and the cost of modification is low.

綜上所述,由於本發明之依據階段來設定控制器參數以控制系統總功耗的方法是利用不同的升溫控制參數、以及降溫控制參數來控制系統總功耗的方法,藉此,本發明確實可以有效的達到較為穩定的系統總功耗。In summary, since the method of setting controller parameters according to the stage to control the total power consumption of the system is a method of controlling the total power consumption of the system by using different temperature increase control parameters and temperature decrease control parameters, the present invention can effectively achieve a relatively stable total power consumption of the system.

藉由以上較佳具體實施例之詳述,係希望能更加清楚描述本發明之特徵與精神,而並非以上述所揭露的較佳具體實施例來對本發明之範疇加以限制。相反地,其目的是希望能涵蓋各種改變及具相等性的安排於本發明所欲申請之專利範圍的範疇內。The above detailed description of the preferred specific embodiments is intended to more clearly describe the features and spirit of the present invention, but is not intended to limit the scope of the present invention by the preferred specific embodiments disclosed above. On the contrary, the purpose is to cover various changes and arrangements with equivalents within the scope of the patent application for the present invention.

10:元件 20:基板管理控制器 21:輸入單元 22:儲存單元 23:計算單元 24:輸出單元 30:複雜可程式化邏輯裝置 40:風扇 S01~S09:步驟10: Components20: Baseboard Management Controller21: Input Unit22: Storage Unit23: Computing Unit24: Output Unit30: Complex Programmable Logic Device40: FanS01~S09: Steps

第一圖係顯示本發明較佳實施例所提供之依據階段來設定控制器參數以控制系統總功耗的方法之流程圖;以及 第二圖係顯示本發明較佳實施例所提供之依據階段來設定控制器參數以控制系統總功耗的方法之實施結構示意圖。The first figure is a flow chart showing a method for setting controller parameters according to the stage to control the total power consumption of the system provided by the preferred embodiment of the present invention; andThe second figure is a schematic diagram showing the implementation structure of the method for setting controller parameters according to the stage to control the total power consumption of the system provided by the preferred embodiment of the present invention.

S01~S09:步驟S01~S09: Steps

Claims (9)

Translated fromChinese
一種依據階段來設定控制器參數以控制系統總功耗的方法,係應用於至少具有一發熱元件、一風扇、以及一控制器之一系統當中,該方法包含: 設定該控制器具有一升溫控制參數、以及一降溫控制參數; 該控制器讀取該發熱元件之一現在溫度、以及一前一刻溫度;以及 該控制器比較該現在溫度與該前一刻溫度以判斷該發熱元件係處於一升溫階段或一降溫階段; 其中,當判斷該發熱元件係處於該升溫階段時,該控制器依據該升溫控制參數以回饋控制該風扇,而當判斷該發熱元件係處於該降溫階段時,該控制器依據該降溫控制參數以回饋控制該風扇,用以控制該系統之總功耗。A method for setting controller parameters according to a stage to control the total power consumption of a system is applied to a system having at least a heating element, a fan, and a controller, and the method comprises: Setting the controller to have a heating control parameter and a cooling control parameter; The controller reads a current temperature of the heating element and a temperature at a previous moment; and The controller compares the current temperature with the temperature at a previous moment to determine whether the heating element is in a heating stage or a cooling stage; Wherein, when it is determined that the heating element is in the heating stage, the controller controls the fan according to the heating control parameter for feedback, and when it is determined that the heating element is in the cooling stage, the controller controls the fan according to the cooling control parameter for feedback, so as to control the total power consumption of the system.如請求項1所述之依據階段來設定控制器參數以控制系統總功耗的方法,其中,該發熱元件為一圖形處理器(graphic processing unit,GPU)。A method for setting controller parameters according to stages to control total system power consumption as described in claim 1, wherein the heat generating element is a graphic processing unit (GPU).如請求項1所述之依據階段來設定控制器參數以控制系統總功耗的方法,其中,該控制器為一基板管理控制器。A method for setting controller parameters according to stages to control total system power consumption as described in claim 1, wherein the controller is a baseboard management controller.如請求項1所述之依據階段來設定控制器參數以控制系統總功耗的方法,其中,還包括一步驟:該控制器判斷是否需啟動一PID控速策略。The method for setting controller parameters according to the stage to control the total power consumption of the system as described in claim 1 further includes a step: the controller determines whether a PID speed control strategy needs to be started.如請求項4所述之依據階段來設定控制器參數以控制系統總功耗的方法,其中,該控制器所具有之該升溫控制參數、以及該降溫控制參數,分別具有一比例係數、一積分係數、以及一微分係數。A method for setting controller parameters according to stages to control total system power consumption as described in claim 4, wherein the temperature increase control parameter and the temperature decrease control parameter of the controller respectively have a proportional coefficient, an integral coefficient, and a differential coefficient.如請求項5所述之依據階段來設定控制器參數以控制系統總功耗的方法,其中,該升溫控制參數之該比例係數、該積分係數、以及該微分係數分別為3、0.5、以及0.1。A method for setting controller parameters according to stages to control total system power consumption as described in claim 5, wherein the proportional coefficient, the integral coefficient, and the differential coefficient of the temperature rise control parameter are 3, 0.5, and 0.1, respectively.如請求項5所述之依據階段來設定控制器參數以控制系統總功耗的方法,其中,該降溫控制參數之該比例係數、該積分係數、以及該微分係數分別為1、0.2、以及0.1。A method for setting controller parameters according to stages to control total system power consumption as described in claim 5, wherein the proportional coefficient, the integral coefficient, and the differential coefficient of the cooling control parameter are 1, 0.2, and 0.1, respectively.如請求項1所述之依據階段來設定控制器參數以控制系統總功耗的方法,其中,該升溫控制參數大於該降溫控制參數。A method for setting controller parameters according to stages to control total system power consumption as described in claim 1, wherein the temperature increase control parameter is greater than the temperature decrease control parameter.如請求項1所述之依據階段來設定控制器參數以控制系統總功耗的方法,其中,該控制器依據該升溫控制參數以回饋控制該風扇,以及依據該降溫控制參數以回饋控制該風扇之步驟,係透過該控制器計算並輸出該風扇之一現在脈波寬度調變值。A method for setting controller parameters based on stages to control total system power consumption as described in claim 1, wherein the controller controls the fan based on the temperature increase control parameter for feedback, and the step of controlling the fan based on the temperature decrease control parameter for feedback is performed by the controller calculating and outputting a current pulse width modulation value of the fan.
TW112121619A2023-06-092023-06-09Method for controlling a system’s total power consumption by setting parameters in a controller according to the phasesTW202449563A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
TW112121619ATW202449563A (en)2023-06-092023-06-09Method for controlling a system’s total power consumption by setting parameters in a controller according to the phases

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
TW112121619ATW202449563A (en)2023-06-092023-06-09Method for controlling a system’s total power consumption by setting parameters in a controller according to the phases

Publications (1)

Publication NumberPublication Date
TW202449563Atrue TW202449563A (en)2024-12-16

Family

ID=94735356

Family Applications (1)

Application NumberTitlePriority DateFiling Date
TW112121619ATW202449563A (en)2023-06-092023-06-09Method for controlling a system’s total power consumption by setting parameters in a controller according to the phases

Country Status (1)

CountryLink
TW (1)TW202449563A (en)

Similar Documents

PublicationPublication DateTitle
CN107269567A (en)A kind of realization method and system of the PID fan regulation and controlling strategies based on environment temperature
US9213394B1 (en)System and method for determining power consumption
CN103790846B (en)Fan rotational frequency control method and device
TWI819468B (en)Electronic apparatus, dynamic control heat dissipation method and dynamic heat dissipation control system
CN114810319B (en)Control method of temperature control module, electronic device and computer readable storage medium
US12158789B1 (en)Method for controlling total power consumption of system by setting controller parameters based on phases
TW202449563A (en)Method for controlling a system’s total power consumption by setting parameters in a controller according to the phases
TWI845339B (en)Method for controlling a system's total power consumption by setting parameters in a controller according to the temperature difference
TW201901083A (en) Boiler combustion control system and boiler combustion control method
TW202449296A (en)Method for controlling a system’s total power consumption by setting a fan’s maximum rotating speed
CN118860098A (en) A method, device, equipment and storage medium for controlling the speed of a server fan
CN112068691B (en)Fan rotating speed regulation and control method and system introducing power algorithm
US20250169026A1 (en)Fan speed control method
CN113483455A (en)High-voltage protection control method and device, air conditioner and computer readable storage medium
US20240407141A1 (en)Method for controlling fan based on temperature variation trend
CN114167963B (en)Fan control management method, device, equipment and machine-readable storage medium
CN116591981A (en) A kind of fan control method
US11216048B1 (en)System and method for controlling computer cooling using ideal cooling system settings, actual cooling system settings, and computer component data
CN112943528A (en)Control method and device of wind generating set
TWI858763B (en)Method for controlling a fan via temperature trend
US20240402774A1 (en)Method for controlling total power consumption of system by setting maximum rotation speed of fan
CN117212215B (en) A method, device, electronic device and storage medium for determining fan speed regulation parameters
TWI881560B (en)Fan speed control method
CN113759998A (en)Temperature adjusting method and system suitable for storage device
CN115560448B (en) Air conditioner control method, device, air conditioner and computer readable storage medium

[8]ページ先頭

©2009-2025 Movatter.jp