TW201925969A - Temperature control device and method thereof - Google Patents

Temperature control device and method thereof Download PDF

Info

Publication number
TW201925969A
TW201925969A TW106140475A TW106140475A TW201925969A TW 201925969 A TW201925969 A TW 201925969A TW 106140475 A TW106140475 A TW 106140475A TW 106140475 A TW106140475 A TW 106140475A TW 201925969 A TW201925969 A TW 201925969A
Authority
TW
Taiwan
Prior art keywords
temperature
value
parameter
control
fan
Prior art date
Application number
TW106140475A
Other languages
Chinese (zh)
Other versions
TWI660263B (en
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 英業達股份有限公司 filed Critical 英業達股份有限公司
Priority to TW106140475A priority Critical patent/TWI660263B/en
Application granted granted Critical
Publication of TWI660263B publication Critical patent/TWI660263B/en
Publication of TW201925969A publication Critical patent/TW201925969A/en

Links

Landscapes

  • Feedback Control In General (AREA)
  • Control Of Temperature (AREA)

Abstract

A temperature control device comprises a fan, a temperature sensor, a parameter modulating unit and a proportional-integral-derivative (PID) controller. The fan is configured to control the temperature of a controlled area by airflow. The temperature sensor obtains a detected temperature and is disposed at the controlled area. The detected temperature indicates the temperature of the controlled area. The parameter modulating unit calculates a temperature deviation value according to the detected temperature, an external environment value, a targeted temperature, and obtains a cooling parameter group according to the temperature deviation value. The PID controller controls the fan according to an initial parameter group which includes initial parameters with the same value when the temperature deviation value is larger than a judgment threshold, and controls the fan according to the cooling parameter group when the temperature deviation value is equal to or less than the judgment threshold.

Description

溫度控制裝置及其方法Temperature control device and method thereof

本發明係關於一種溫度控制裝置,特別係關於一種具有比例積分微分控制器的溫度控制裝置。The present invention relates to a temperature control device, and more particularly to a temperature control device having a proportional integral derivative controller.

在伺服器領域中,傳統的溫度控制裝置由於溫度感測及風扇轉速調控的時間差,往往產生系統過度冷卻的狀況,同時導致風扇電力過度地耗費。為了降低電力的消耗,現今的溫度控制裝置導入回授控制技術,其中以比例積分微分(Proportional-integral-derivative,PID)控制最為常見。In the field of servers, conventional temperature control devices often cause excessive cooling of the system due to temperature sensing and time difference of fan speed regulation, and at the same time cause excessive power consumption of the fan. In order to reduce power consumption, today's temperature control devices incorporate feedback control techniques, with Proportional-integral-derivative (PID) control being the most common.

PID控制風扇的效果優劣主要在於控制參數的設計,而目前的控制參數設計係透過重複性的設定、實驗驗證及調校,即透過試誤法(Trial and error)以得到參數組合,其缺點在於耗費人力及時間,且測試出的參數組合通常並非為最佳值。另外,現今的PID控制風扇僅以一組固定的參數組合來設定PID控制器內的控制參數。當控制參數設定數值較大時,在暫態響應區間(即溫度一開始上升的期間),風扇轉速會因偵測到突然的溫度差而急速攀升,造成過度冷卻的狀況;而當控制參數設定數值較小時,雖可減緩風扇轉速在暫態響應區間的反應,然而暫態響應的循跡效果不佳,難以迅速進入穩態響應區間,也因此在進入穩態響應區域前,容易有溫度過衝的情況。此外,固定控制參數亦易造成在穩態響應區間中風扇轉速的震盪(Oscillation)現象。The effect of PID control fan is mainly due to the design of control parameters. The current control parameter design is through repetitive setting, experimental verification and adjustment, that is, through Trial and error to obtain the parameter combination. It takes a lot of manpower and time, and the combination of parameters tested is usually not the best value. In addition, today's PID control fans set control parameters within the PID controller with only a fixed set of parameters. When the control parameter setting value is large, in the transient response interval (ie, during the period when the temperature starts to rise), the fan speed will rise sharply due to the detection of a sudden temperature difference, causing excessive cooling; and when the control parameter is set When the value is small, although the response of the fan speed in the transient response interval can be slowed down, the tracking effect of the transient response is not good, and it is difficult to quickly enter the steady-state response interval, so that it is easy to have a temperature before entering the steady-state response region. Overshoot situation. In addition, the fixed control parameters are also likely to cause Oscillation of the fan speed in the steady-state response interval.

因此,以固定的參數組合來設定PID控制器內的控制參數並無法同時滿足暫態響應區間及穩態響應區間的需求。Therefore, setting the control parameters in the PID controller with a fixed parameter combination cannot meet the requirements of the transient response interval and the steady-state response interval at the same time.

鑒於上述,本發明提供一種溫度控制裝置及其控制方法以滿足上述需求。In view of the above, the present invention provides a temperature control device and a control method thereof to meet the above needs.

依據本發明一實施例的溫度控制裝置,包含風扇、溫度感測器、參數調整單元及比例積分微分(Proportional-integral-derivative,PID)控制器。風扇用以驅動氣流而控制受控區的溫度。溫度感測器用以取得偵測溫度值且設置於受控區,而偵測溫度值用於表示受控區的溫度。參數調整單元依據偵測溫度值、外在環境溫度值及目標溫度值計算出溫度誤差值,並依據溫度誤差值及調變方程式計算出降溫參數組合。PID控制器在溫度誤差值大於判斷閾值時,依據初始參數組合控制風扇,並在該溫度誤差值等於或小於該判斷閾值時,依據降溫參數組合控制風扇。其中初始參數組合包含多個皆等於預設數值的初始參數。A temperature control device according to an embodiment of the invention includes a fan, a temperature sensor, a parameter adjustment unit, and a Proportional-integral-derivative (PID) controller. The fan is used to drive the airflow to control the temperature of the controlled zone. The temperature sensor is used to obtain the detected temperature value and is set in the controlled area, and the detected temperature value is used to indicate the temperature of the controlled area. The parameter adjustment unit calculates the temperature error value according to the detected temperature value, the external ambient temperature value and the target temperature value, and calculates the combination of the cooling parameter according to the temperature error value and the modulation equation. When the temperature error value is greater than the determination threshold, the PID controller controls the fan according to the initial parameter combination, and when the temperature error value is equal to or less than the determination threshold, the fan is controlled according to the combination of the cooling parameter. The initial parameter combination includes a plurality of initial parameters that are equal to preset values.

依據本發明一實施例的溫度控制方法,適用於包含PID控制器及風扇的溫度控制裝置,其中溫度控制裝置係用以控制受控區的溫度。所述轉速控制方法包含:取得偵測溫度值,其中偵測溫度值係用於表示受控區的溫度;依據偵測溫度值、外在環境溫度值及目標溫度值計算得到溫度誤差值;依據溫度誤差值及調變方程式計算得到降溫參數組合;當溫度誤差值大於判斷閾值時,設定PID控制器的多個控制參數為初始參數組合以控制該風扇,其中初始參數組合包含與控制參數數量相同的多個初始參數,且所述初始參數皆等於一預設數值;以及當溫度誤差值等於或小於判斷閾值時,依據降溫參數組合設定PID控制器的控制參數以控制風扇。A temperature control method according to an embodiment of the present invention is applicable to a temperature control device including a PID controller and a fan, wherein the temperature control device is for controlling the temperature of the controlled zone. The speed control method includes: obtaining a detected temperature value, wherein the detected temperature value is used to represent the temperature of the controlled area; and calculating a temperature error value according to the detected temperature value, the external ambient temperature value, and the target temperature value; The temperature error value and the modulation equation are calculated to obtain a combination of cooling parameters; when the temperature error value is greater than the determination threshold, a plurality of control parameters of the PID controller are set as initial parameter combinations to control the fan, wherein the initial parameter combination includes the same number of control parameters. a plurality of initial parameters, wherein the initial parameters are equal to a preset value; and when the temperature error value is equal to or less than the determination threshold, the control parameters of the PID controller are set according to the combination of the cooling parameters to control the fan.

藉由上述結構,本案所揭示的溫度控制裝置及其控制方法,在受控區初啟動時以初始參數組合控制風扇,並在溫度誤差值等於或小於判斷閾值時,依據溫度誤差值及調變方程式動態地調整PID控制器的控制參數,避免在暫態響應區間內,風扇轉速因溫度差及控制參數的加乘而急遽攀升進而導致過度冷卻的情況,亦可避免在進入穩態響應區域前環境溫度過衝的情況,以及降低在穩態響應區間中,風扇轉速的震盪現象。此外,透過溫度控制裝置自動運算取得PID控制參數的控制方式,不僅可以達到最佳化控制,亦降低由操作人員執行參數調校的人力成本。With the above structure, the temperature control device and the control method thereof disclosed in the present invention control the fan with the initial parameter combination when the controlled area is initially started, and according to the temperature error value and the modulation when the temperature error value is equal to or smaller than the determination threshold value. The equation dynamically adjusts the control parameters of the PID controller to prevent the fan speed from rising sharply due to the temperature difference and the addition of control parameters in the transient response interval, resulting in excessive cooling and avoiding entering the steady-state response region. The ambient temperature overshoot condition and the fluctuation of the fan speed in the steady state response range. In addition, the control method of automatically obtaining the PID control parameters through the temperature control device not only achieves optimal control, but also reduces the labor cost for the operator to perform parameter adjustment.

以上之關於本揭露內容之說明及以下之實施方式之說明係用以示範與解釋本發明之精神與原理,並且提供本發明之專利申請範圍更進一步之解釋。The above description of the disclosure and the following description of the embodiments of the present invention are intended to illustrate and explain the spirit and principles of the invention, and to provide further explanation of the scope of the invention.

以下在實施方式中詳細敘述本發明之詳細特徵以及優點,其內容足以使任何熟習相關技藝者了解本發明之技術內容並據以實施,且根據本說明書所揭露之內容、申請專利範圍及圖式,任何熟習相關技藝者可輕易地理解本發明相關之目的及優點。以下之實施例係進一步詳細說明本發明之觀點,但非以任何觀點限制本發明之範疇。The detailed features and advantages of the present invention are set forth in the Detailed Description of the Detailed Description of the <RTIgt; </ RTI> <RTIgt; </ RTI> </ RTI> </ RTI> <RTIgt; The objects and advantages associated with the present invention can be readily understood by those skilled in the art. The following examples are intended to describe the present invention in further detail, but are not intended to limit the scope of the invention.

請參考圖1,圖1係依據本發明一實施例所繪示的溫度控制裝置的功能方塊圖。如圖1所示,溫度控制裝置1包含風扇11、溫度感測器13、參數調整單元15以及比例積分微分(Proportional-integral-derivative,PID)控制器17,其中PID控制器17電性連接於風扇11、溫度感測器13以及參數調整單元15。Please refer to FIG. 1. FIG. 1 is a functional block diagram of a temperature control apparatus according to an embodiment of the invention. As shown in FIG. 1, the temperature control device 1 includes a fan 11, a temperature sensor 13, a parameter adjustment unit 15, and a Proportional-integral-derivative (PID) controller 17, wherein the PID controller 17 is electrically connected to The fan 11, the temperature sensor 13, and the parameter adjustment unit 15.

風扇11係用以驅動氣流而控制受控區的溫度。詳細來說,溫度控制裝置1的風扇11會受控以控制受控區的溫度趨近於目標溫度值,其中受控區可以係一空間或是一電子元件,而目標溫度值可以指示所述受控區中的電子元件或是作為受控區的電子元件具有最佳工作效率的工作溫度。Fan 11 is used to drive the airflow to control the temperature of the controlled zone. In detail, the fan 11 of the temperature control device 1 is controlled to control the temperature of the controlled zone to approach the target temperature value, wherein the controlled zone may be a space or an electronic component, and the target temperature value may indicate the The electronic components in the controlled zone or the electronic components that are controlled zones have an optimum operating temperature.

溫度感測器13例如是熱電偶、熱敏電阻、電阻溫度檢測器(Resistance temperature detector,RTD)或是積體電路(Integrated circuit,IC)溫度感測器。溫度感測器13用以取得偵測溫度值並設置於受控區,其中偵測溫度值可用於表示受控區的溫度,意即,偵測溫度值可以表示一空間的溫度或是特定電子元件的溫度。The temperature sensor 13 is, for example, a thermocouple, a thermistor, a resistance temperature detector (RTD), or an integrated circuit (IC) temperature sensor. The temperature sensor 13 is configured to obtain a detected temperature value and is set in the controlled area, wherein the detected temperature value can be used to indicate the temperature of the controlled area, that is, the detected temperature value can represent a space temperature or a specific electron. The temperature of the component.

參數調整單元15例如是晶片或是微控制器,依據偵測溫度值、外在環境溫度值及目標溫度值計算得到溫度誤差值。其中偵測溫度值係由溫度感測器13所測得受控區的內在環境溫度,而外在環境溫度值例如係由設置於受控區之外的第二溫度感測器所測得的溫度值。舉例來說,當受控區係一伺服器時,偵測溫度值表示伺服器內部的環境溫度,而外在環境溫度值表示伺服器的入風口的溫度。於另一實施例中,外在環境溫度值亦可由使用者於參數調整單元15進行設定。而目標溫度值如前所述,係指示受控區中的電子元件或是作為受控區的電子元件具有最佳工作效率的工作溫度。目標溫度值可以係參數調整單元15自受控區取得其電子元件特性據以設定,或是由使用者進行設定。參數調整單元15依據上述三個溫度值進行計算以取得溫度誤差值,再依據溫度誤差值及調變方程式計算得到降溫參數組合,其中關於溫度誤差值的計算方法以及調變方程式的詳細內容將於後描述。The parameter adjustment unit 15 is, for example, a chip or a microcontroller, and calculates a temperature error value according to the detected temperature value, the external ambient temperature value, and the target temperature value. The detected temperature value is measured by the temperature sensor 13 to measure the internal temperature of the controlled area, and the external ambient temperature value is measured, for example, by a second temperature sensor disposed outside the controlled area. Temperature value. For example, when the controlled zone is a server, the detected temperature value represents the ambient temperature inside the server, and the external ambient temperature value represents the temperature of the air inlet of the server. In another embodiment, the external ambient temperature value can also be set by the user in the parameter adjustment unit 15. The target temperature value, as previously described, indicates that the electronic component in the controlled zone or the electronic component that is the controlled zone has an optimum operating temperature. The target temperature value may be set by the parameter adjustment unit 15 from the controlled area, or set by the user. The parameter adjusting unit 15 calculates the temperature error value according to the above three temperature values, and then calculates the cooling parameter combination according to the temperature error value and the modulation equation, wherein the calculation method of the temperature error value and the details of the modulation equation will be Described later.

PID控制器17例如是進階精簡指令集機器(Advanced RISC Machine, ARM)晶片,會依據多個控制參數產生驅動訊號,以控制風扇11的轉速。PID控制器17在溫度誤差值大於判斷閾值時,會依據初始參數組合以控制風扇11,也就是說,當溫度誤差值大於判斷閾值時,PID控制器17會將所述的控制參數設定為初始參數組合;而當溫度誤差值等於或小於判斷閾值時,PID控制器17則會依據參數調整單元15所計算出的降溫參數組合,以控制風扇11,即將控制參數設定為降溫參數組合。The PID controller 17 is, for example, an Advanced RISC Machine (ARM) chip that generates a drive signal based on a plurality of control parameters to control the rotational speed of the fan 11. When the temperature error value is greater than the determination threshold, the PID controller 17 combines the initial parameters to control the fan 11, that is, when the temperature error value is greater than the determination threshold, the PID controller 17 sets the control parameter to the initial value. When the temperature error value is equal to or smaller than the determination threshold, the PID controller 17 controls the fan 11 according to the combination of the temperature reduction parameters calculated by the parameter adjustment unit 15, that is, the control parameter is set as the combination of the cooling parameters.

接下來將進一步地說明溫度控制裝置的溫度控制方法及運作,請一併參考圖1及圖2,其中圖2係依據本發明一實施例所繪示的溫度控制方法的流程圖。The temperature control method and operation of the temperature control device will be further described. Referring to FIG. 1 and FIG. 2 together, FIG. 2 is a flow chart of a temperature control method according to an embodiment of the invention.

於步驟S21~S22中,溫度控制裝置1的參數調整單元15自溫度感測器13取得受控區的偵測溫度值(即內在環境溫度值),並依據偵測溫度值、外在環境溫度值及目標溫度值以計算得到溫度誤差值。詳細來說,參數調整單元15將三個溫度值進行正規化,將目標溫度值與偵測溫度值的差值及目標溫度值與外在環境溫度值的差值進行除法運算,以得到溫度誤差值,如下列公式所示:In steps S21 to S22, the parameter adjustment unit 15 of the temperature control device 1 acquires the detected temperature value (ie, the internal ambient temperature value) of the controlled area from the temperature sensor 13, and according to the detected temperature value and the external ambient temperature. The value and the target temperature value are calculated to obtain a temperature error value. In detail, the parameter adjustment unit 15 normalizes the three temperature values, divides the difference between the target temperature value and the detected temperature value, and the difference between the target temperature value and the external ambient temperature value to obtain a temperature error. The value is as shown in the following formula:

,其中為溫度誤差值;為目標溫度值;為偵測溫度值;為外在環境溫度值。 ,among them Temperature error value; Is the target temperature value; To detect the temperature value; For external ambient temperature values.

再來於步驟S23中,參數調整單元15依據溫度誤差值以及調變方程式計算得到降溫參數組合,其中降溫參數組合包含了多個降溫參數分別對應於PID控制器17的控制參數,即比例參數、積分參數以及微分參數。於一實施例中,調變方程式指示溫度誤差值與第一參數值及第二參數值的差值相乘,再加上第二參數值以得到對應於比例參數、積分參數或微分參數的降溫參數的數值,如下列方程式:In step S23, the parameter adjusting unit 15 calculates a cooling parameter combination according to the temperature error value and the modulation equation, wherein the cooling parameter combination includes a plurality of cooling parameters respectively corresponding to the control parameters of the PID controller 17, that is, the proportional parameter, Integral parameters and differential parameters. In an embodiment, the modulation equation indicates that the temperature error value is multiplied by the difference between the first parameter value and the second parameter value, and the second parameter value is added to obtain a temperature drop corresponding to the proportional parameter, the integral parameter, or the differential parameter. The value of the parameter, such as the following equation:

,其中K為降溫參數的數值;K1為第一參數值;K2為第二參數值。 Where K is the value of the cooling parameter; K1 is the first parameter value; K2 is the second parameter value.

一般而言,PID控制參數係利用Tyreus-Luyben方法或是Ziegler-Nichols方法來取得。其中Tyreus-Luyben方法係一種強健性系統的參數控制方法,其定義的溫度系統如下列方程式表示:In general, PID control parameters are obtained using the Tyreus-Luyben method or the Ziegler-Nichols method. The Tyreus-Luyben method is a parameter control method for a robust system. The defined temperature system is expressed by the following equation:

其中分別為系統增益值(System gain)、時間延遲(Time delay)及時間常數(Time constant)。此溫度系統經系統鑑別(System identification)極限增益常數Ku1 及極限週期常數Pu1 後,可依據下列關係式分別取得比例參數P1 、積分參數I1 以及微分參數D1among them , and They are the system gain, the time delay, and the time constant. This differential temperature of the system via the system (System identification) limits a gain constant and the limit cycle constant Ku-Pu after 1, respectively to obtain a scale parameter P 1, the integral parameter I 1 and the derivative parameter D 1 according to the following relationship.

P1 =Ku2 /2.2P 1 =Ku 2 /2.2

I1 =Pu1 /0.45I 1 =Pu 1 /0.45

D1 =Pu1 /6.3D 1 =Pu 1 /6.3

而Ziegler-Nichols方法則係一種穩定系統的參數控制方法,且定義溫度系統以下列方程式表示:The Ziegler-Nichols method is a parameter control method for a stable system, and the defined temperature system is expressed by the following equation:

其中參數符號同上述Ziegler-Nichols方法中的參數符號,於此不再贅述。同樣地,此溫度系統經系統鑑別極限增益常數Ku2 及極限週期常數Pu2 後,可依據下列關係式分別取得比例參數P2 、積分參數I2 以及微分參數D2The parameter symbols are the same as those in the above Ziegler-Nichols method, and will not be described here. Similarly, after the temperature system systematically identifies the limit gain constant Ku 2 and the limit period constant Pu 2 , the proportional parameter P 2 , the integral parameter I 2 , and the differential parameter D 2 can be respectively obtained according to the following relationship.

P2 =Ku2 /1.7P 2 =Ku 2 /1.7

I2 =Pu2 /2I 2 =Pu 2 /2

D2 =Pu2 /8D 2 =Pu 2 /8

比較上述兩方法所取得的PID控制參數,Tyreus-Luyben方法所取得的PID控制參數在大部分的溫度區間內皆可以達到穩定的控制,但其控制過程耗能;而Ziegler-Nichols方法所取得的PID控制參數僅可在小範圍的線性區間,即平衡點(set-point)附近穩定地控制風扇11。Comparing the PID control parameters obtained by the above two methods, the PID control parameters obtained by the Tyreus-Luyben method can achieve stable control in most temperature ranges, but the control process consumes energy; and the Ziegler-Nichols method achieves The PID control parameter can only stably control the fan 11 in a small range of linear intervals, that is, near a set-point.

因此,於本發明的一實施例中,參數調整單元15可將Tyreus-Luyben方法所取得的PID控制參數的其中之一的數值作為第一參數值,並將Ziegler-Nichols方法所取得的PID控制參數的其中之一的數值作為第二參數值以計算出降溫參數組合中的降溫參數的數值。舉例來說,參數調整單元15可以依據Tyreus-Luyben方法所取得的比例參數及Ziegler-Nichols方法所取得的比例參數計算得到降溫參數組合中對應於比例參數的降溫參數,而對應於積分參數及微分參數的降溫參數亦同理可得。隨著溫度誤差值的減少(即偵測溫度值越來越接近目標溫度值),降溫參數組合中的降溫參數越接近Ziegler-Nichols方法所取得的PID控制參數。如此一來,參數調整單元15可以依據溫度誤差值適應性地調整降溫參數,以達到穩定且低耗能的控制過程。Therefore, in an embodiment of the present invention, the parameter adjustment unit 15 may use the value of one of the PID control parameters obtained by the Tyreus-Luyben method as the first parameter value, and control the PID obtained by the Ziegler-Nichols method. The value of one of the parameters is used as the second parameter value to calculate the value of the temperature drop parameter in the combination of the temperature drop parameters. For example, the parameter adjustment unit 15 can calculate the cooling parameter corresponding to the proportional parameter in the combination of the cooling parameter according to the proportional parameter obtained by the Tyreus-Luyben method and the proportional parameter obtained by the Ziegler-Nichols method, and corresponds to the integral parameter and the differential parameter. The cooling parameters of the parameters are also available in the same way. As the temperature error value decreases (ie, the detected temperature value is closer to the target temperature value), the temperature drop parameter in the cooling parameter combination is closer to the PID control parameter obtained by the Ziegler-Nichols method. In this way, the parameter adjustment unit 15 can adaptively adjust the temperature drop parameter according to the temperature error value to achieve a stable and low power consumption control process.

接下來,於步驟S24中, PID控制器17自參數調整單元15取得溫度誤差值,並判斷溫度誤差值是否大於判斷閾值,其中判斷閾值可以係PID控制器17中的預設值或由使用者進行設定,例如為0.3。於步驟S25中,當溫度誤差值大於判斷閾值時,PID控制器17設定其控制參數為初始參數組合,其中初始參數組合包含分別對應於比例參數、積分參數以及微分參數的多個初始參數,且這些初始參數皆等於一預設數值,例如為零或近似零的數值。如此一來,可以避免在受控區初啟動時,風扇11的轉速因巨大的溫度差及控制參數的加乘而急遽攀升,導致過度冷卻且耗費不必要的電力的情況。而當溫度誤差值大於判斷閾值時,如步驟S26所示,PID控制器17便會依據前述參數調整單元15所計算出的降溫參數組合來設定控制參數以控制風扇11。Next, in step S24, the PID controller 17 obtains the temperature error value from the parameter adjustment unit 15 and determines whether the temperature error value is greater than the determination threshold, wherein the determination threshold may be a preset value in the PID controller 17 or by the user. Make the setting, for example, 0.3. In step S25, when the temperature error value is greater than the determination threshold, the PID controller 17 sets its control parameter to an initial parameter combination, wherein the initial parameter combination includes a plurality of initial parameters respectively corresponding to the proportional parameter, the integral parameter, and the differential parameter, and These initial parameters are all equal to a predetermined value, such as a value of zero or approximately zero. In this way, it is possible to avoid the situation that the rotational speed of the fan 11 rises sharply due to a large temperature difference and the addition of control parameters when the controlled zone is initially started, resulting in excessive cooling and unnecessary power consumption. When the temperature error value is greater than the determination threshold, as shown in step S26, the PID controller 17 sets the control parameters to control the fan 11 according to the combination of the temperature reduction parameters calculated by the parameter adjustment unit 15.

比較上述實施例所述的溫度控制方法以及習知的溫度控制方法,請參考圖3A及3B,其中圖3A係依據本發明一實施例及習知技術所繪示的溫度控制方法的時間-風扇占空比圖,而圖3B係依據本發明一實施例及習知技術所繪示的溫度控制方法的時間-溫度圖。如圖3A及3B所示,在受控區初啟動的階段,此時溫度誤差值相當大,以習知的溫度控制方法控制風扇將使其占空比大幅上升。而本發明的實施例所提供的溫度控制方法,在此階段可以判斷溫度誤差值大於判斷閾值因而設定PID控制參數為零,降低過度的耗能,亦避免風扇轉速劇烈提升而導致受控區過度冷卻的情況。再來,當溫度誤差值等於或小於判斷閾值時,本發明的實施例所提供的溫度控制方法便依據溫度誤差值以及調變方程式動態地調整PID控制參數,以減少風扇轉速的震盪(Oscillation)現象,平穩地進入穩態響應區域。For comparison with the temperature control method and the conventional temperature control method described in the above embodiments, please refer to FIG. 3A and FIG. 3B, wherein FIG. 3A is a time-fan according to a temperature control method according to an embodiment of the present invention and the prior art. The duty cycle diagram, and FIG. 3B is a time-temperature diagram of the temperature control method according to an embodiment of the invention and the prior art. As shown in Figures 3A and 3B, at the initial stage of the controlled zone, the temperature error value is quite large at this time, and controlling the fan with a conventional temperature control method will greatly increase its duty ratio. However, the temperature control method provided by the embodiment of the present invention can determine that the temperature error value is greater than the determination threshold value at this stage, thereby setting the PID control parameter to zero, reducing excessive energy consumption, and avoiding excessive increase of the fan speed, resulting in excessive controlled area. Cooling situation. Further, when the temperature error value is equal to or smaller than the determination threshold, the temperature control method provided by the embodiment of the present invention dynamically adjusts the PID control parameter according to the temperature error value and the modulation equation to reduce the oscillation of the fan speed (Oscillation). Phenomenon, smoothly enter the steady-state response area.

藉由上述結構,本案所揭示的溫度控制裝置及其控制方法,在受控區初啟動時以初始參數組合控制風扇,並在溫度誤差值等於或小於判斷閾值時,依據溫度誤差值及調變方程式動態地調整PID控制器的控制參數,避免在暫態響應區間內,風扇轉速因溫度差及控制參數的加乘而急遽攀升進而導致過度冷卻的情況,亦可避免在進入穩態響應區域前環境溫度過衝的情況,以及降低在穩態響應區間中,風扇轉速的震盪現象。此外,透過溫度控制裝置自動運算取得PID控制參數的控制方式,不僅可以達到最佳化控制,亦降低由操作人員執行參數調校的人力成本。With the above structure, the temperature control device and the control method thereof disclosed in the present invention control the fan with the initial parameter combination when the controlled area is initially started, and according to the temperature error value and the modulation when the temperature error value is equal to or smaller than the determination threshold value. The equation dynamically adjusts the control parameters of the PID controller to prevent the fan speed from rising sharply due to the temperature difference and the addition of control parameters in the transient response interval, resulting in excessive cooling and avoiding entering the steady-state response region. The ambient temperature overshoot condition and the fluctuation of the fan speed in the steady state response range. In addition, the control method of automatically obtaining the PID control parameters through the temperature control device not only achieves optimal control, but also reduces the labor cost for the operator to perform parameter adjustment.

雖然本發明以前述之實施例揭露如上,然其並非用以限定本發明。在不脫離本發明之精神和範圍內,所為之更動與潤飾,均屬本發明之專利保護範圍。關於本發明所界定之保護範圍請參考所附之申請專利範圍。Although the present invention has been disclosed above in the foregoing embodiments, it is not intended to limit the invention. It is within the scope of the invention to be modified and modified without departing from the spirit and scope of the invention. Please refer to the attached patent application for the scope of protection defined by the present invention.

1‧‧‧溫度控制裝置1‧‧‧temperature control device

11‧‧‧風扇11‧‧‧Fan

13‧‧‧溫度感測器13‧‧‧Temperature Sensor

15‧‧‧參數調整單元15‧‧‧Parameter adjustment unit

17‧‧‧比例積分微分控制器17‧‧‧Proportional Integral Derivative Controller

圖1係依據本發明一實施例所繪示的溫度控制裝置的功能方塊圖。 圖2 係依據本發明一實施例所繪示的溫度控制方法的流程圖。 圖3A係依據本發明一實施例及習知技術所繪示的溫度控制方法的時間-風扇占空比圖。 圖3B係依據本發明一實施例及習知技術所繪示的溫度控制方法的時間-溫度圖。1 is a functional block diagram of a temperature control device according to an embodiment of the invention. 2 is a flow chart of a temperature control method according to an embodiment of the invention. 3A is a time-fan duty cycle diagram of a temperature control method according to an embodiment of the invention and the prior art. FIG. 3B is a time-temperature diagram of a temperature control method according to an embodiment of the invention and the prior art.

Claims (10)

一種溫度控制裝置,包含:一風扇,用以驅動氣流而控制一受控區的溫度;一溫度感測器,取得一偵測溫度值,其中該溫度感測器係用於設置於該受控區,而該偵測溫度值係用於表示該受控區的該溫度;一參數調整單元,電性連接於該溫度感測器,依據該偵測溫度值、一外在環境溫度值及一目標溫度值計算得到一溫度誤差值,並依據該溫度誤差值及一調變方程式計算得到一降溫參數組合;以及一比例積分微分(PID)控制器,連接於該風扇、該溫度感測器及該參數調整單元,該PID控制器在該溫度誤差值大於一判斷閾值時,依據一初始參數組合控制該風扇,且在該溫度誤差值等於或小於該判斷閾值時,該PID控制器依據該降溫參數組合控制該風扇;其中該初始參數組合包含多個初始參數,且該些初始參數皆等於一預設數值。A temperature control device includes: a fan for driving a gas flow to control a temperature of a controlled zone; and a temperature sensor for obtaining a detected temperature value, wherein the temperature sensor is configured to be controlled by the temperature sensor And the detected temperature value is used to indicate the temperature of the controlled area; a parameter adjusting unit is electrically connected to the temperature sensor, according to the detected temperature value, an external ambient temperature value, and a Calculating a temperature error value according to the target temperature value, and calculating a cooling parameter combination according to the temperature error value and a modulation equation; and a proportional integral derivative (PID) controller connected to the fan, the temperature sensor and The parameter adjustment unit, when the temperature error value is greater than a determination threshold, the fan controller controls the fan according to an initial parameter combination, and when the temperature error value is equal to or less than the determination threshold, the PID controller is configured according to the cooling The parameter combination controls the fan; wherein the initial parameter combination includes a plurality of initial parameters, and the initial parameters are equal to a preset value. 如請求項1所述的溫度控制裝置,用於控制一內在環境溫度或一元件溫度於該目標溫度以下,且該溫度感測器依據該內在環境溫度或該元件溫度取得該偵測溫度值。The temperature control device of claim 1 is configured to control an intrinsic ambient temperature or a component temperature below the target temperature, and the temperature sensor obtains the detected temperature value according to the intrinsic ambient temperature or the component temperature. 如請求項1所述的溫度控制裝置,更包含一第二溫度感測器,用於設置於該受控區之外以取得該外在環境溫度。The temperature control device of claim 1, further comprising a second temperature sensor for being disposed outside the controlled area to obtain the external ambient temperature. 如請求項1所述的溫度控制裝置,其中該預設數值為零。The temperature control device of claim 1, wherein the preset value is zero. 如請求項1所述的溫度控制裝置,其中該參數調整單元將該目標溫度值與該偵測溫度值的差值及該目標溫度值與該外在環境溫度值的差值進行除法運算以得到該溫度誤差值。The temperature control device of claim 1, wherein the parameter adjustment unit divides the difference between the target temperature value and the detected temperature value and the difference between the target temperature value and the external ambient temperature value to obtain This temperature error value. 一種溫度控制方法,適用於包含一PID控制器及一風扇的一溫度控制裝置,該溫度控制裝置係用以控制一受控區的溫度,且該轉速控制方法包含:取得一偵測溫度值,其中該偵測溫度值係用於表示該受控區的該溫度;依據該偵測溫度值、一外在環境溫度值及一目標溫度值計算得到一溫度誤差值;依據該溫度誤差值及一調變方程式計算得到一降溫參數組合;當該溫度誤差值大於一判斷閾值時,設定該PID控制器的多個控制參數為一初始參數組合以控制該風扇,其中該初始參數組合包含與該些控制參數的數量相同的多個初始參數,且該些初始參數皆等於一預設數值;以及當該溫度誤差值等於或小於該判斷閾值時,依據該降溫參數組合設定該PID控制器的該些控制參數以控制該風扇。A temperature control method is applicable to a temperature control device including a PID controller and a fan, wherein the temperature control device is configured to control a temperature of a controlled zone, and the rotational speed control method includes: obtaining a detected temperature value, The detected temperature value is used to indicate the temperature of the controlled area; a temperature error value is calculated according to the detected temperature value, an external ambient temperature value, and a target temperature value; The modulation equation is calculated to obtain a combination of cooling parameters; when the temperature error value is greater than a determination threshold, the plurality of control parameters of the PID controller are set as an initial parameter combination to control the fan, wherein the initial parameter combination includes Controlling a plurality of initial parameters of the same number of parameters, and the initial parameters are equal to a preset value; and when the temperature error value is equal to or less than the determination threshold, setting the PID controller according to the cooling parameter combination Control parameters to control the fan. 如請求項6所述的溫度控制方法,其中該預設數值為零。The temperature control method of claim 6, wherein the preset value is zero. 如請求項6所述的溫度控制方法,其中該溫度誤差值係由該目標溫度值與該偵測溫度值的差值及該目標溫度值與該外在環境溫度值的差值進行除法運算而得到。The temperature control method according to claim 6, wherein the temperature error value is divided by a difference between the target temperature value and the detected temperature value and a difference between the target temperature value and the external ambient temperature value. get. 如請求項6所述的溫度控制方法,其中該調變方程式指示該溫度誤差值與一第一參數值及一第二參數值之差值相乘,再加上該第二參數值以得到該降溫參數組合的多個降溫參數的其中之一的數值。The temperature control method of claim 6, wherein the modulation equation indicates that the temperature error value is multiplied by a difference between a first parameter value and a second parameter value, and the second parameter value is added to obtain the The value of one of the plurality of cooling parameters of the cooling parameter combination. 如請求項6所述的溫度控制方法,其中該第一參數值係依據Ziegler-Nichols方法所取得的多個PID控制參數的其中之一,且該第二參數值係依據Tyreus-Luyben方法所取得的多個PID控制參數的其中之一。The temperature control method according to claim 6, wherein the first parameter value is one of a plurality of PID control parameters obtained according to the Ziegler-Nichols method, and the second parameter value is obtained according to the Tyreus-Luyben method. One of the multiple PID control parameters.
TW106140475A 2017-11-22 2017-11-22 Temperature control device and method thereof TWI660263B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106140475A TWI660263B (en) 2017-11-22 2017-11-22 Temperature control device and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106140475A TWI660263B (en) 2017-11-22 2017-11-22 Temperature control device and method thereof

Publications (2)

Publication Number Publication Date
TWI660263B TWI660263B (en) 2019-05-21
TW201925969A true TW201925969A (en) 2019-07-01

Family

ID=67347984

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106140475A TWI660263B (en) 2017-11-22 2017-11-22 Temperature control device and method thereof

Country Status (1)

Country Link
TW (1) TWI660263B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI811858B (en) * 2021-11-19 2023-08-11 英業達股份有限公司 Temperature control system and temperature control method thereof

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110362130B (en) * 2019-08-21 2022-02-11 昂纳信息技术(深圳)有限公司 Drive control method of temperature control system
CN114280183B (en) * 2021-12-23 2024-02-23 华谱科仪(北京)科技有限公司 Temperature control device and method for column temperature box of liquid chromatograph

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101876320B (en) * 2010-06-13 2014-11-05 中兴通讯股份有限公司 Method and device for controlling fan speed
US8594856B2 (en) * 2011-02-15 2013-11-26 Nuvoton Technology Corporation Processor cooling by temperature range and multiple algorithm fan speed control
CN106970692B (en) * 2017-03-31 2019-11-08 新华三信息技术有限公司 Rotation speed of the fan adjusting method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI811858B (en) * 2021-11-19 2023-08-11 英業達股份有限公司 Temperature control system and temperature control method thereof

Also Published As

Publication number Publication date
TWI660263B (en) 2019-05-21

Similar Documents

Publication Publication Date Title
US10352603B2 (en) Control apparatus for cooling system
US5929581A (en) Proportional integral fan controller for computer
US8489250B2 (en) Fan control system and method for a computer system
US7490479B2 (en) Method and system of advanced fan speed control
TWI498484B (en) Fan control system, computer system, and fan controlling method thereof
CN107762936A (en) Temperature control equipment and its method
US8253364B2 (en) Heat-dissipating device and method for controlling fan speed
TWI540262B (en) Fan controll system and method for controlling fan speed
US20120329377A1 (en) Fan control system, computer system, and method for controlling fan speed thereof
TW201823922A (en) Predictive thermal control management using temperature and power sensors
TW201925969A (en) Temperature control device and method thereof
US11032938B2 (en) Temperature control device and control method thereof
WO2018033075A1 (en) Proactive fan speed adjustment
CN106569926A (en) Monitoring system for operating situation of electronic equipment
US20190159366A1 (en) Temperature control device and method thereof
TW201918824A (en) Temperature control device and control method thereof
US8640968B2 (en) Temperature gain control device and method thereof
US9382915B2 (en) Control method of fan rotation speed
CN107882763A (en) Revolution speed control device and its method
TW201925968A (en) Device and method for controlling temperature
CN110159577B (en) Control method and system of heat dissipation device
TWI460587B (en) Method and device for controlling fan speed
TWI819468B (en) Electronic apparatus, dynamic control heat dissipation method and dynamic heat dissipation control system
TWI487844B (en) Method for fan monitoring and server system using the same
TW201924208A (en) Rotational speed contorlling device and method thereof