TWI479085B - Fan rotational speed control system and method for controlling rotation speed of fan - Google Patents

Fan rotational speed control system and method for controlling rotation speed of fan Download PDF

Info

Publication number
TWI479085B
TWI479085B TW101145889A TW101145889A TWI479085B TW I479085 B TWI479085 B TW I479085B TW 101145889 A TW101145889 A TW 101145889A TW 101145889 A TW101145889 A TW 101145889A TW I479085 B TWI479085 B TW I479085B
Authority
TW
Taiwan
Prior art keywords
management controller
fan
signal
programmable logic
logic device
Prior art date
Application number
TW101145889A
Other languages
Chinese (zh)
Other versions
TW201422923A (en
Inventor
Chiahsiang Chen
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to TW101145889A priority Critical patent/TWI479085B/en
Publication of TW201422923A publication Critical patent/TW201422923A/en
Application granted granted Critical
Publication of TWI479085B publication Critical patent/TWI479085B/en

Links

Description

風扇轉速控制系統及用以控制風扇轉速之方法Fan speed control system and method for controlling fan speed

本發明係關於一種控制系統與控制方法,特別是一種風扇轉速控制系統及用以控制風扇轉速之方法。The invention relates to a control system and a control method, in particular to a fan speed control system and a method for controlling the fan speed.

隨著科技的進展,現行伺服器系統往往包括了大量的電子計算裝置,這些電子計算裝置在運行時,會產生大量的熱能,若無適當的散熱裝置,很容易導致電子計算裝置當機或損壞。With the advancement of technology, current server systems often include a large number of electronic computing devices that generate a large amount of thermal energy during operation. Without proper heat dissipation devices, electronic computing devices can easily crash or become damaged. .

因此,目前的伺服器系統皆設有多個溫度感應裝置(thermal sensor)、基板管理控制器(Baseboard Management Controller,簡稱BMC)與多個散熱風扇,以控制伺服器系統內部的溫度。簡單來說,溫度感應裝置將所偵測到的溫度回傳至基板管理控制器,而後基板管理控制器根據此溫度來調整個別風扇的轉速,以達有效散熱之目的。Therefore, the current server system is provided with a plurality of thermal sensors, a Baseboard Management Controller (BMC) and a plurality of cooling fans to control the temperature inside the server system. Briefly, the temperature sensing device returns the detected temperature to the substrate management controller, and the rear substrate management controller adjusts the speed of the individual fans according to the temperature for effective heat dissipation.

然而,此種設計不盡完善;主要原因在於基板管理控制器的嵌入式系統於執行一段期間後,有可能會發生無法預期之錯誤。當此錯誤發生時,若系統散熱風扇之轉速控制腳位正巧皆處於全高準位(High)狀態,則將致使所有風扇皆以全速旋轉。在此種情形中,雖然系統不會因過熱而損壞,但並非所有風扇皆需全速運轉才能散熱,此時所需消耗之高電力將造成不必要之浪費。或者是,當上述錯誤發生時,若系統散熱風扇之轉速控制腳位剛好全數處於 全低準位(Low)狀態,則將導致所有風扇皆停止運轉,將使系統發生因溫度過高而損壞的機率大幅提升。上述風扇為高準位運轉(active High)或低準位運轉(active Low)須視各別電路設計而訂。However, this design is not perfect; the main reason is that the embedded system of the baseboard management controller may have unexpected errors after a period of execution. When this error occurs, if the speed control pin of the system cooling fan happens to be at the full high level, all fans will rotate at full speed. In this case, although the system will not be damaged by overheating, not all fans need to run at full speed to dissipate heat, and the high power consumption required at this time will cause unnecessary waste. Or, when the above error occurs, if the speed control pin of the system cooling fan is just in full A low-low state will cause all fans to stop, which will greatly increase the chances of damage to the system due to excessive temperature. The above-mentioned fans are active high or active low and are ordered according to the individual circuit design.

由此可知,相關領域亟需一種新穎的散熱方法,其能夠有效地控制伺服器系統內部的溫度;更佳的是,此種散熱方法即使是在基板管理控制器發生錯誤時,仍能有效地控制個別風扇的轉速,以避免硬體裝置的損壞。It can be seen that there is a need in the related art for a novel heat dissipation method capable of effectively controlling the temperature inside the server system; more preferably, the heat dissipation method can effectively be used even when an error occurs in the substrate management controller. Control the speed of individual fans to avoid damage to the hardware.

本發明內容之一目的是在提供一種風扇轉速控制系統及用以控制風扇轉速之方法,藉以有效地控制伺服器系統內部的溫度。It is an object of the present invention to provide a fan speed control system and a method for controlling the speed of the fan to effectively control the temperature inside the server system.

為達上述目的,本發明內容之一技術態樣係關於一種風扇轉速控制系統,係用以控制至少一風扇。前述風扇轉速控制系統包括基板管理控制器、可程式化邏輯裝置以及切換電路。於結構上,基板管理控制器電性耦接至該些風扇,可程式化邏輯裝置電性耦接至基板管理控制器,而切換電路電性耦接至風扇、基板管理控制器與可程式化邏輯裝置。In order to achieve the above object, a technical aspect of the present invention relates to a fan speed control system for controlling at least one fan. The aforementioned fan speed control system includes a baseboard management controller, a programmable logic device, and a switching circuit. The circuit management controller is electrically coupled to the fan, the programmable logic device is electrically coupled to the substrate management controller, and the switching circuit is electrically coupled to the fan, the substrate management controller, and the programmable Logic device.

於操作上,基板管理控制器輸出風扇脈波訊號以及心跳位元,可程式化邏輯裝置係接收心跳位元,並根據心跳位元判斷基板管理控制器是否發生錯誤,用以於基板管理控制器發生錯誤時,產生及輸出切換訊號與接管脈波訊 號。切換電路係於基板管理控制器未發生錯誤時,接收及輸出風扇脈波訊號,而於基板管理控制器發生錯誤時,接收切換訊號與接管脈波訊號,以輸出接管脈波訊號。In operation, the substrate management controller outputs a fan pulse signal and a heartbeat bit, and the programmable logic device receives the heartbeat bit, and determines whether the substrate management controller has an error according to the heartbeat bit, and is used for the substrate management controller. Generate and output switching signals and take over pulse signals when an error occurs number. The switching circuit receives and outputs the fan pulse signal when the substrate management controller does not generate an error, and receives the switching signal and the pulse signal when the substrate management controller generates an error to output the pulse signal.

根據本發明一實施例,前述基板管理控制器係於被致能後輸出開始訊號至可程式化邏輯裝置。According to an embodiment of the invention, the substrate management controller outputs a start signal to the programmable logic device after being enabled.

根據本發明另一實施例,前述基板管理控制器係輸出風扇之目前轉速訊號至可程式化邏輯裝置。According to another embodiment of the present invention, the substrate management controller outputs a current rotational speed signal of the fan to the programmable logic device.

根據本發明再一實施例,前述可程式化邏輯裝置包括暫存器、控制模組以及至少一脈波產生模組。控制模組係電性耦接至基板管理控制器與切換電路,而該些脈波產生模組係電性耦接至控制模組。暫存器係儲存有風扇轉速表,控制模組接收心跳位元與目前轉速訊號,以根據心跳位元判斷基板管理控制器是否發生錯誤,而於判斷基板管理控制器發生錯誤時輸出切換訊號以及根據風扇轉速表與目前轉速訊號產生及輸出一控制訊號。該些脈波產生模組接收及根據控制訊號產生及輸出接管脈波訊號。此外,當控制模組判斷得知基板管理控制器恢復正常時,則輸出回復訊號至切換電路,以使切換電路接收及輸出風扇脈波訊號。According to still another embodiment of the present invention, the programmable logic device includes a temporary register, a control module, and at least one pulse wave generating module. The control module is electrically coupled to the substrate management controller and the switching circuit, and the pulse generating modules are electrically coupled to the control module. The register system stores a fan tachometer, and the control module receives the heartbeat bit and the current speed signal to determine whether the substrate management controller has an error according to the heartbeat bit, and outputs a switching signal when determining that the substrate management controller has an error and A control signal is generated and output according to the fan tachometer and the current speed signal. The pulse wave generating modules receive and output pulse signals according to the control signals. In addition, when the control module determines that the substrate management controller returns to normal, it outputs a reply signal to the switching circuit, so that the switching circuit receives and outputs the fan pulse signal.

根據本發明又一實施例,前述可程式化邏輯裝置更包括時間控制模組以及開關單元。於結構上,時間控制模組電性耦接至控制模組,而開關單元電性耦接至該些脈波產生模組與時間控制模組。時間控制模組於接收到控制訊號時開始計數,用以於超過一預設時間時產生及輸出一導通 訊號。開關單元接收導通訊號與接管脈波訊號,用以根據導通訊號而輸出接管脈波訊號。According to still another embodiment of the present invention, the foregoing programmable logic device further includes a time control module and a switch unit. The time control module is electrically coupled to the control module, and the switch unit is electrically coupled to the pulse generation module and the time control module. The time control module starts counting when receiving the control signal, and generates and outputs a conduction when the preset time exceeds a preset time. Signal. The switch unit receives the pilot signal and the pulse signal for receiving the pulse signal according to the communication number.

為達上述目的,本發明內容之另一技術態樣係關於一種用以控制風扇轉速之方法,係適用伺服器,此伺服器包括基板管理控制器、可程式化邏輯裝置、切換電路與風扇。前述方法包括以下步驟:基板管理控制器產生及輸出風扇脈波訊號以及心跳位元;可程式化邏輯裝置係接收心跳位元,並根據心跳位元判斷基板管理控制器是否發生錯誤;當可程式化邏輯裝置判斷得知基板管理控制器發生錯誤時,產生及輸出切換訊號與接管脈波訊號;以及切換電路接收切換訊號與接管脈波訊號,並輸出接管脈波訊號;其中,當基板管理控制器未發生錯誤時,切換電路係接收及輸出風扇脈波訊號。In order to achieve the above object, another aspect of the present invention relates to a method for controlling a fan speed, which is applicable to a server, which includes a substrate management controller, a programmable logic device, a switching circuit, and a fan. The method includes the following steps: the substrate management controller generates and outputs a fan pulse signal and a heartbeat bit; the programmable logic device receives the heartbeat bit, and determines whether the substrate management controller has an error according to the heartbeat bit; The logic device determines that an error occurs in the substrate management controller, generates and outputs a switching signal and a pulse signal; and the switching circuit receives the switching signal and the pulse signal, and outputs a pulse signal; wherein, when the substrate management control When no error occurs, the switching circuit receives and outputs the fan pulse signal.

根據本發明一實施例,前述用以控制風扇轉速之方法更包括:基板管理控制器於被致能後輸出開始訊號;以及基板管理控制器輸出風扇之一目前轉速訊號。According to an embodiment of the invention, the method for controlling the fan speed further includes: the substrate management controller outputs a start signal after being enabled; and the substrate management controller outputs a current speed signal of the fan.

根據本發明另一實施例,前述當可程式化邏輯裝置判斷得知基板管理控制器發生錯誤時,產生及輸出接管脈波訊號之步驟包括:接收目前轉速訊號; 當判斷得知基板管理控制器發生錯誤時,讀取內建之風扇轉速表;根據風扇轉速表與目前轉速訊號產生控制訊號;以及根據控制訊號產生及輸出接管脈波訊號。According to another embodiment of the present invention, when the programmable logic device determines that an error occurs in the substrate management controller, the step of generating and outputting the pulse signal includes: receiving the current speed signal; When it is determined that the substrate management controller has an error, the built-in fan tachometer is read; the control signal is generated according to the fan tachometer and the current speed signal; and the pulse signal is generated according to the control signal generation and output.

根據本發明再一實施例,前述當可程式化邏輯裝置判斷得知基板管理控制器發生錯誤時,產生及輸出接管脈波訊號之步驟更包括:接收到控制訊號時開始計數,並判斷是否超過預設時間;當判斷得知超過預設時間時,產生導通訊號;以及根據導通訊號而輸出接管脈波訊號。According to still another embodiment of the present invention, when the programmable logic device determines that the substrate management controller has an error, the step of generating and outputting the pulse signal is further included: when the control signal is received, counting starts, and determining whether the error is exceeded. The preset time; when it is judged that the preset time is exceeded, the communication number is generated; and the pulse signal is output according to the communication number.

根據本發明又一實施例,前述用以控制風扇轉速之方法更包括當判斷得知基板管理控制器恢復正常時,可程式化邏輯裝置係輸出回復訊號,以使切換電路接收及輸出風扇脈波訊號。According to still another embodiment of the present invention, the method for controlling the fan speed further includes: when it is determined that the substrate management controller returns to normal, the programmable logic device outputs a reply signal, so that the switching circuit receives and outputs the fan pulse. Signal.

因此,根據本發明之技術內容,本發明實施例藉由提供一種風扇轉速控制系統及用以控制風扇轉速之方法,藉以有效地控制伺服器系統內部的溫度,且無論基板管理控制器是否發生錯誤,均能正確控制風扇的轉速,以避免硬體裝置的損壞。Therefore, according to the technical content of the present invention, an embodiment of the present invention provides a fan speed control system and a method for controlling the fan speed, thereby effectively controlling the temperature inside the server system, and whether the substrate management controller has an error or not The fan speed can be properly controlled to avoid damage to the hardware.

為了使本揭示內容之敘述更加詳盡與完備,可參照所附之圖式及以下所述各種實施例,圖式中相同之號碼代表 相同或相似之元件。但所提供之實施例並非用以限制本發明所涵蓋的範圍,而結構運作之描述非用以限制其執行之順序,任何由元件重新組合之結構,所產生具有均等功效的裝置,皆為本發明所涵蓋的範圍。In order to make the description of the present disclosure more detailed and complete, reference is made to the accompanying drawings and the various embodiments described below. The same or similar components. However, the embodiments provided are not intended to limit the scope of the invention, and the description of the operation of the structure is not intended to limit the order of its execution, and any device that is recombined by the components produces equal devices. The scope covered by the invention.

其中圖式僅以說明為目的,並未依照原尺寸作圖。另一方面,眾所週知的元件與步驟並未描述於實施例中,以避免對本發明造成不必要的限制。The drawings are for illustrative purposes only and are not drawn to the original dimensions. On the other hand, well-known elements and steps are not described in the embodiments to avoid unnecessarily limiting the invention.

第1圖係依照本發明一實施例繪示一種風扇轉速控制系統的電路方塊圖。風扇轉速控制系統用以控制至少一風扇,其包括基板管理控制器(Baseboard Management Controller,BMC)110、可程式化邏輯裝置(Complex Programmable Logic Device,CPLD)120以及複數個切換電路130~180。於結構上,基板管理控制器110電性耦接至該些風扇,可程式化邏輯裝置120電性耦接至基板管理控制器110,而切換電路130電性耦接至風扇、基板管理控制器110與可程式化邏輯裝置120。1 is a circuit block diagram of a fan speed control system according to an embodiment of the invention. The fan speed control system is configured to control at least one fan, and includes a Baseboard Management Controller (BMC) 110, a Complex Programmable Logic Device (CPLD) 120, and a plurality of switching circuits 130-180. The circuit management controller 110 is electrically coupled to the fan, the programmable logic device 120 is electrically coupled to the substrate management controller 110, and the switching circuit 130 is electrically coupled to the fan and the substrate management controller. 110 and programmable logic device 120.

進一步而言,以切換電路130為例,切換電路130包括輸入端與輸出端134,切換電路130之輸入端則包括第一輸入端口131以及第二輸入端口132。於結構上,第一輸入端口131電性耦接於基板管理控制器110,而第二輸入端口132電性耦接於可程式化邏輯裝置120,再者,輸出端134則電性耦接於風扇135。Further, taking the switching circuit 130 as an example, the switching circuit 130 includes an input end and an output end 134, and the input end of the switching circuit 130 includes a first input port 131 and a second input port 132. The first input port 131 is electrically coupled to the substrate management controller 110, and the second input port 132 is electrically coupled to the programmable logic device 120. The output terminal 134 is electrically coupled to the output terminal 134. Fan 135.

於操作上,切換電路130之輸入端可於第一輸入端口131及第二輸入端口132之間進行切換。當切換電路130 之輸入端切換至第一輸入端口131時,由基板管理控制器110輸出控制訊號至切換電路130,此控制訊號經由切換電路130並透過切換電路130之輸出端134而輸出至風扇135,風扇135接收並根據此控制訊號而決定其轉速。In operation, the input of the switching circuit 130 can be switched between the first input port 131 and the second input port 132. When switching circuit 130 When the input end is switched to the first input port 131, the substrate management controller 110 outputs a control signal to the switching circuit 130. The control signal is output to the fan 135 via the switching circuit 130 and through the output terminal 134 of the switching circuit 130. The fan 135 Receive and determine the speed based on this control signal.

另外,當切換電路130之輸入端切換至第二輸入端口132時,由可程式化邏輯裝置120輸出控制訊號至切換電路130,此控制訊號經由切換電路130並透過切換電路130之輸出端134而輸出至風扇135,風扇135接收並根據此控制訊號而決定其轉速。至於何時需將切換電路130之輸入端切換至第一輸入端口131,又於何時需將切換電路130之輸入端切換至第二輸入端口132,亦即風扇轉速控制系統的切換機制,將於後文中詳述。In addition, when the input end of the switching circuit 130 is switched to the second input port 132, the programmable logic device 120 outputs a control signal to the switching circuit 130, and the control signal passes through the switching circuit 130 and passes through the output terminal 134 of the switching circuit 130. Output to the fan 135, the fan 135 receives and determines its rotational speed based on the control signal. When it is necessary to switch the input end of the switching circuit 130 to the first input port 131, and when it is necessary to switch the input end of the switching circuit 130 to the second input port 132, that is, the switching mechanism of the fan speed control system will be Detailed in the text.

在此需說明的是,切換電路140、150、160、170、180之結構及功能係相似於切換電路130,為使本發明說明簡潔,於此不再贅述。然第1圖所示之配置方式並非用以限定本發明,熟習此技藝者當可依照實際需求來配置切換電路130~180與風扇135、145、155、165、175、185。It should be noted that the structures and functions of the switching circuits 140, 150, 160, 170, and 180 are similar to those of the switching circuit 130. For brevity of the description of the present invention, details are not described herein. However, the configuration shown in FIG. 1 is not intended to limit the present invention. Those skilled in the art can configure the switching circuits 130-180 and the fans 135, 145, 155, 165, 175, 185 according to actual needs.

為使風扇轉速控制系統的切換機制更易於理解,首先,介紹風扇轉速控制系統的初始狀態。在初始狀態下,切換電路130之輸入端切換至第一輸入端口131,由基板管理控制器110透過切換電路130來對風扇135進行控制。然而,基板管理控制器110於執行一段期間後,有可能會發生無法預期之錯誤,此時,需要另一電子元件來協助基板管理控制器110以控制風扇135,並需要一適當的 切換機制以於基板管理控制器110發生錯誤時,將風扇轉速控制系統的控制權由基板管理控制器110切換到另一電子元件。In order to make the switching mechanism of the fan speed control system easier to understand, first, the initial state of the fan speed control system is introduced. In the initial state, the input terminal of the switching circuit 130 is switched to the first input port 131, and the substrate management controller 110 controls the fan 135 through the switching circuit 130. However, after the substrate management controller 110 performs a period of time, an unexpected error may occur. At this time, another electronic component is needed to assist the substrate management controller 110 to control the fan 135, and an appropriate one is needed. The switching mechanism switches the control of the fan rotational speed control system from the baseboard management controller 110 to another electronic component when an error occurs in the baseboard management controller 110.

上述另一電子元件可藉由可程式化邏輯裝置120來實現,以於基板管理控制器110發生錯誤時,由可程式化邏輯裝置120來協助基板管理控制器110以控制風扇135。此外,切換機制之實現方式如下所述,首先,由基板管理控制器110輸出風扇脈波訊號以及心跳位元(Heart bit or Heart Beat)至可程式化邏輯裝置120,由可程式化邏輯裝置120接收心跳位元,並根據心跳位元判斷基板管理控制器110是否發生錯誤,接著,當可程式化邏輯裝置120判斷得知基板管理控制器110發生錯誤時,產生及輸出切換訊號與接管脈波訊號至切換電路130,此時,風扇轉速控制系統的控制權由基板管理控制器110切換到可程式化邏輯裝置120。The other electronic component can be implemented by the programmable logic device 120 to assist the substrate management controller 110 to control the fan 135 by the programmable logic device 120 when an error occurs in the substrate management controller 110. In addition, the implementation of the switching mechanism is as follows. First, the substrate management controller 110 outputs a fan pulse signal and a heart bit or heart beat to the programmable logic device 120. The programmable logic device 120 is provided by the programmable logic device 120. Receiving the heartbeat bit, and determining whether the substrate management controller 110 has an error according to the heartbeat bit. Then, when the programmable logic device 120 determines that the substrate management controller 110 has an error, generating and outputting the switching signal and the receiving pulse wave The signal is switched to the switching circuit 130. At this time, the control of the fan speed control system is switched by the baseboard management controller 110 to the programmable logic unit 120.

詳細而言,當可程式化邏輯裝置120持續接收到基板管理控制器110所輸出的心跳位元時,可程式化邏輯裝置120判斷得知基板管理控制器110未發生錯誤,切換電路130之輸入端不做切換,切換電路130之輸入端依然電性耦接於基板管理控制器110,而由切換電路130接收及輸出風扇脈波訊號至風扇135,風扇135根據風扇脈波訊號而調整其轉速。在此,切換電路140~180的控制方法相似於切換電路130,同理可知,當可程式化邏輯裝置120判斷得知基板管理控制器110未發生錯誤時,切換電路 130~180之輸入端不做切換,而由切換電路130接收及輸出風扇脈波訊號至風扇135~185,風扇135根據風扇脈波訊號而調整其轉速。In detail, when the programmable logic device 120 continues to receive the heartbeat bit output by the substrate management controller 110, the programmable logic device 120 determines that the substrate management controller 110 has not generated an error, and inputs the switching circuit 130. The input terminal of the switching circuit 130 is still electrically coupled to the substrate management controller 110, and the switching pulse signal is received and output by the switching circuit 130 to the fan 135. The fan 135 adjusts the rotation speed according to the fan pulse signal. . Here, the control method of the switching circuits 140-180 is similar to the switching circuit 130. Similarly, when the programmable logic device 120 determines that the substrate management controller 110 has not generated an error, the switching circuit The input ends of 130~180 are not switched, and the switching pulse circuit 130 receives and outputs the fan pulse signal to the fans 135~185, and the fan 135 adjusts the rotation speed according to the fan pulse signal.

再者,當可程式化邏輯裝置120未接收到基板管理控制器110所輸出的心跳位元時,可程式化邏輯裝置120判斷得知基板管理控制器110發生錯誤,由可程式化邏輯裝置120輸出切換訊號至切換電路130,切換電路130之輸入端接收切換訊號以由第一輸入端口131切換至第二輸入端口132,同時,由可程式化邏輯裝置120輸出接管脈波訊號,由切換電路130接收後輸出接管脈波訊號至風扇135,風扇135根據接管脈波訊號而調整其轉速。在此,切換電路140~180的控制方法相似於切換電路130,同理可知,當可程式化邏輯裝置120判斷得知基板管理控制器110發生錯誤時,切換電路130~180之輸入端接收切換訊號以由第一輸入端口131、141、151、161、171、181切換至第二輸入端口132、142、152、162、172、182,同時,由可程式化邏輯裝置120輸出接管脈波訊號,由切換電路130~180接收後輸出接管脈波訊號至風扇135~185,風扇135~185根據接管脈波訊號而調整其轉速。Moreover, when the programmable logic device 120 does not receive the heartbeat bit output by the substrate management controller 110, the programmable logic device 120 determines that the substrate management controller 110 has an error, and the programmable logic device 120 The switching signal is output to the switching circuit 130. The input end of the switching circuit 130 receives the switching signal to be switched from the first input port 131 to the second input port 132. At the same time, the programmable logic device 120 outputs the pulse signal, and the switching circuit is used. After receiving 130, the output receives the pulse signal to the fan 135, and the fan 135 adjusts the rotation speed according to the pulse signal. Here, the control method of the switching circuits 140-180 is similar to the switching circuit 130. Similarly, when the programmable logic device 120 determines that the substrate management controller 110 has an error, the input terminals of the switching circuits 130-180 receive the switching. The signal is switched to the second input port 132, 142, 152, 162, 172, 182 by the first input port 131, 141, 151, 161, 171, 181, and the pulse signal is taken over by the programmable logic device 120. After receiving by the switching circuits 130-180, the output pulse signals are sent to the fans 135~185, and the fans 135~185 adjust the rotation speed according to the pulse signals.

如此一來,風扇轉速控制系統運用上述切換機制,當基板管理控制器110正常運作時,由基板管理控制器110透過切換電路130~180傳送風扇脈波訊號至風扇135~185,以控制風扇135~185的轉速,而當基板管理控制器110發生錯誤時,藉由切換電路130~180之輸入端由第 一輸入端口131~181切換至第二輸入端口132~182,將風扇轉速控制系統的控制權由基板管理控制器110切換到可程式化邏輯裝置120,由可程式化邏輯裝置120透過切換電路130~180傳送接管脈波訊號,以控制風扇135~185的轉速。因此,無論基板管理控制器110是否發生錯誤,風扇轉速控制系統均能正確控制風扇130~180的轉速。In this way, the fan speed control system uses the above switching mechanism. When the substrate management controller 110 is operating normally, the substrate management controller 110 transmits the fan pulse signal to the fans 135-185 through the switching circuits 130-180 to control the fan 135. The rotation speed of ~185, and when the substrate management controller 110 has an error, the input end of the switching circuit 130-180 is An input port 131-181 is switched to the second input port 132-182, and the control of the fan speed control system is switched from the substrate management controller 110 to the programmable logic device 120, and the programmable logic device 120 transmits the switching circuit 130. ~180 transmits the pulse signal to control the speed of the fan 135~185. Therefore, regardless of whether the substrate management controller 110 has an error, the fan speed control system can correctly control the rotational speed of the fans 130-180.

在一實施例中,由於基板管理控制器110剛被開啟時,其狀態尚未穩定,因此,可程式化邏輯裝置120於基板管理控制器110剛被開啟時,先不判斷基板管理控制器110是否錯誤,待基板管理控制器110穩定後,例如基板管理控制器於被致能後,由基板管理控制器110輸出開始訊號至可程式化邏輯裝置120,此時,可程式化邏輯裝置120於接收到開始訊號後,才開始接收並偵測基板管理控制器110所輸出之心跳位元,以判斷基板管理控制器110是否發生錯誤。In an embodiment, since the state of the substrate management controller 110 is not yet stable, the programmable logic device 120 does not determine whether the substrate management controller 110 is first when the substrate management controller 110 is turned on. In the error, after the substrate management controller 110 is stabilized, for example, after the substrate management controller is enabled, the substrate management controller 110 outputs a start signal to the programmable logic device 120. At this time, the programmable logic device 120 receives After the start signal, the heartbeat bit outputted by the substrate management controller 110 is detected and detected to determine whether the substrate management controller 110 has an error.

於實現本發明之實施例時,可程式化邏輯裝置120可包括暫存器121,用以儲存風扇轉速表,風扇轉速表內則紀錄了風扇135~185的個別轉速。一般而言,基板管理控制器110可用以監控伺服器之運作狀況以決定風扇135~185的轉速,以使風扇135~185有效率地對伺服器進行散熱。然而可程式化邏輯裝置120無法監控伺服器之運作狀況,若由可程式化邏輯裝置120來控制風扇135~185的轉速,將無法有效率地對伺服器進行散熱。In implementing embodiments of the present invention, the programmable logic device 120 can include a register 121 for storing a fan tachometer, and the fan tachometer records individual speeds of the fans 135-185. In general, the substrate management controller 110 can be used to monitor the operating conditions of the servers to determine the rotational speed of the fans 135-185, so that the fans 135-185 can efficiently dissipate the servers. However, the programmable logic device 120 cannot monitor the operation of the server. If the programmable logic device 120 controls the speed of the fans 135-185, the server cannot be efficiently dissipated.

因此,當基板管理控制器110正常運作時,基板管理 控制器110根據伺服器之運作狀況,輸出風扇135~185之目前轉速訊號至可程式化邏輯裝置120,以設定暫存器121中的風扇轉速表所紀錄之風扇135~185的個別轉速。當基板管理控制器110發生錯誤,而由可程式化邏輯裝置120來控制風扇135~185時,可程式化邏輯裝置120可根據基板管理控制器110所預先設定的風扇轉速表之風扇135~185的個別轉速,以對風扇135~185進行控制,如此一來,可程式化邏輯裝置120亦可根據預先設定的風扇轉速表,以有效率地對伺服器進行散熱。Therefore, when the substrate management controller 110 is operating normally, the substrate management The controller 110 outputs the current rotational speed signals of the fans 135-185 to the programmable logic device 120 according to the operating conditions of the server to set the individual rotational speeds of the fans 135-185 recorded by the fan tachometer in the temporary storage unit 121. When the substrate management controller 110 generates an error and the fans 135-185 are controlled by the programmable logic device 120, the programmable logic device 120 can be based on the fan 135-185 of the fan tachometer preset by the substrate management controller 110. The individual rotational speeds are used to control the fans 135~185. In this way, the programmable logic device 120 can also efficiently dissipate the server according to a preset fan tachometer.

在另一實施例中,於實作上,可程式化邏輯裝置120更包括控制模組122以及至少一脈波產生模組(例如Fan1~Fan6的其中之一)。於結構上,控制模組122係電性耦接至基板管理控制器110與切換電路130~180,脈波產生模組Fan1~Fan6係電性耦接至控制模組122與切換電路之間。然而本發明並不以第1圖所示之電子元件配置方式為限,在不脫離本發明的精神下,對第1圖所示的電子元件進行之其餘配置方式均落入本發明之範圍。In another embodiment, in practice, the programmable logic device 120 further includes a control module 122 and at least one pulse wave generating module (for example, one of Fan1~Fan6). The control module 122 is electrically coupled to the substrate management controller 110 and the switching circuits 130-180. The pulse wave generating modules Fan1~Fan6 are electrically coupled between the control module 122 and the switching circuit. However, the present invention is not limited to the electronic component arrangement mode shown in Fig. 1, and the remaining arrangement of the electronic component shown in Fig. 1 is within the scope of the invention without departing from the spirit of the invention.

於操作上,控制模組122由基板管理控制器110處接收心跳位元與目前轉速訊號,以根據心跳位元判斷基板管理控制器110是否發生錯誤,而於判斷基板管理控制器110發生錯誤時,輸出切換訊號以及根據風扇轉速表與目前轉速訊號產生及輸出控制訊號。脈波產生模組Fan1~Fan6接收及根據控制訊號產生及輸出接管脈波訊號。當控制模組122判斷得知基板管理控制器110恢復正常時,則輸出回 復訊號至切換電路130~180,以使切換電路130~180接收及輸出風扇脈波訊號至風扇135~185,風扇135~185根據風扇脈波訊號而調整其轉速。In operation, the control module 122 receives the heartbeat bit and the current speed signal from the substrate management controller 110 to determine whether the substrate management controller 110 has an error according to the heartbeat bit, and when determining that the substrate management controller 110 has an error. The output switching signal is generated and the control signal is generated and output according to the fan tachometer and the current speed signal. The pulse wave generating module Fan1~Fan6 receives and generates a pulse signal according to the control signal generation and output. When the control module 122 determines that the substrate management controller 110 is back to normal, it outputs back The signal is transmitted to the switching circuits 130-180 so that the switching circuits 130-180 receive and output the fan pulse signals to the fans 135-185, and the fans 135-185 adjust the rotation speed according to the fan pulse signals.

在另一實施例中,可程式化邏輯裝置120有可能會有誤判基板管理控制器110發生錯誤的狀況,因此,當可程式化邏輯裝置120判斷得知基板管理控制器110發生錯誤時,若直接將風扇轉速控制系統的主控權由基板管理控制器110交給可程式化邏輯裝置120並不恰當。In another embodiment, the programmable logic device 120 may have a misjudgment that the substrate management controller 110 has an error. Therefore, when the programmable logic device 120 determines that the substrate management controller 110 has an error, It is not appropriate to directly transfer the master control of the fan speed control system from the baseboard management controller 110 to the programmable logic device 120.

為預防可程式化邏輯裝置120誤判,本發明實施例之風扇轉速控制系統更包括時間控制模組123以及開關單元(例如開關單元124~129),當可程式化邏輯裝置120判定基板管理控制器110發生錯誤時,由時間控制模組123接收控制模組122所輸出的控制訊號,時間控制模組123於接收到控制訊號時開始計數,用以於超過預設時間時產生及輸出導通訊號,例如預設時間為10秒鐘,當時間控制模組123於接收到控制訊號時開始計數超過10秒鐘,代表基板管理控制器110的確發生錯誤,而非被可程式化邏輯裝置120誤判,控制模組122於此時間點輸出切換訊號,如此可以避免基板管理控制器110在預設時間內,就恢復正常時,而風扇135~185卻已經轉由可程式化邏輯裝置120所控制的狀況發生。To prevent miscalculation of the programmable logic device 120, the fan speed control system of the embodiment of the present invention further includes a time control module 123 and a switch unit (eg, switch units 124-129). When the programmable logic device 120 determines the baseboard management controller When the error occurs, the time control module 123 receives the control signal output by the control module 122, and the time control module 123 starts counting when receiving the control signal, and generates and outputs the communication number when the preset time is exceeded. For example, the preset time is 10 seconds. When the time control module 123 starts counting for more than 10 seconds when receiving the control signal, it indicates that the substrate management controller 110 does not have an error, instead of being misjudged by the programmable logic device 120, the control is performed. The module 122 outputs a switching signal at this time point, so that the substrate management controller 110 can be prevented from returning to normal within a preset time, and the fans 135-185 have been transferred to the state controlled by the programmable logic device 120. .

另外,控制模組122亦可於判斷得知基板管理控制器110發生錯誤時就輸出(不管有無超過預設時間),因為只要判斷得知基板管理控制器110正常時,控制模組122就會 發出回復訊號到切換電路130~180,以使切換電路130~180接收及輸出風扇脈波訊號至風扇135~185。In addition, the control module 122 can also output (whether or not the preset time is exceeded) when it is determined that the substrate management controller 110 has an error, because the control module 122 will be determined as long as it is determined that the substrate management controller 110 is normal. A reply signal is sent to the switching circuits 130-180, so that the switching circuits 130-180 receive and output the fan pulse signals to the fans 135-185.

此外,開關單元124~129接收導通訊號與接管脈波訊號,用以根據導通訊號而輸出接管脈波訊號至至風扇135~185。進一步而言,於實現本發明時,開關124~129可為電晶體、及閘或其餘能達到開關操作之電子元件。In addition, the switch units 124-129 receive the pilot signal and the pulse signal for receiving the pulse signal to the fans 135-185 according to the communication number. Further, in implementing the present invention, the switches 124-129 can be transistors, gates, or other electronic components that can achieve switching operations.

在又一實施例中,風扇轉速表包括風扇135~185的工作周期(Duty Cycle),如下表所示: In yet another embodiment, the fan tachometer includes a duty cycle of the fans 135-185, as shown in the following table:

當可程式化邏輯裝置120判斷得知基板管理控制器110發生錯誤時,可程式化邏輯裝置120輸出切換訊號至切換電路130~180,切換電路130~180之輸入端根據切換訊號以切換至可程式化邏輯裝置120,由可程式化邏輯裝置120根據表一所示之風扇轉速表並透過切換電路130~180以控制風扇135~185的每一者之個別轉速。When the programmable logic device 120 determines that an error occurs in the substrate management controller 110, the programmable logic device 120 outputs a switching signal to the switching circuits 130-180, and the input terminals of the switching circuits 130-180 are switched according to the switching signal. The stylized logic device 120 controls the individual rotational speeds of each of the fans 135-185 by the programmable logic device 120 according to the fan tachometer shown in Table 1 and through the switching circuits 130-180.

第2圖係依照本發明另一實施例繪示一種用以控制風扇轉速之方法200的流程示意圖,係適用伺服器,伺服器包括基板管理控制器、可程式化邏輯裝置、切換電路與風扇。如圖所示,前述方法包括以下步驟:基板管理控制器於被致能後輸出開始訊號(步驟210);基板管理控制器輸出風扇之目前轉速訊號(步驟220);基板管理控制器產生及輸出風扇脈波訊號以及心跳位元(步驟230);可程式化邏輯裝置係接收心跳位元,並根據心跳位元判斷基板管理控制器是否發生錯誤(步驟240);當可程式化邏輯裝置判斷得知基板管理控制器發生錯誤時,產生及輸出切換訊號與接管脈波訊號(步驟250);切換電路接收切換訊號與接管脈波訊號,並輸出接管脈波訊號(步驟260);當基板管理控制器未發生錯誤時,切換電路係接收及輸出風扇脈波訊號(步驟270)。FIG. 2 is a schematic flow chart of a method 200 for controlling a fan speed according to another embodiment of the present invention. The server is applicable to a server, and the server includes a substrate management controller, a programmable logic device, a switching circuit, and a fan. As shown in the figure, the foregoing method includes the following steps: the substrate management controller outputs a start signal after being enabled (step 210); the substrate management controller outputs a current speed signal of the fan (step 220); and the substrate management controller generates and outputs a fan pulse signal and a heartbeat bit (step 230); the programmable logic device receives the heartbeat bit and determines whether the baseboard management controller has an error based on the heartbeat bit (step 240); when the programmable logic device determines When the substrate management controller generates an error, the switching signal is generated and outputted (step 250); the switching circuit receives the switching signal and the pulse signal, and outputs the pulse signal (step 260); when the substrate management control When no error occurs, the switching circuit receives and outputs a fan pulse signal (step 270).

為使本發明實施例之用以控制風扇轉速之方法200更易於理解,在此將配合第1圖,以一併例示性地說明上述流程。首先,步驟210與步驟240係為預防基板管理控制器110剛被開啟時,其狀態尚未穩定,而導致可程式化邏輯裝置120可能會誤判的狀況,詳述如下。由於基板管理控制器110剛被開啟時,其狀態尚未穩定,因此,可程式化邏輯裝置120於基板管理控制器110剛被開啟時,先不判斷基板管理控制器110是否錯誤。當基板管理控制器110如步驟210所示於被致能後,輸出開始訊號至可程式化邏輯裝置120,在此,步驟240多加一道限制,亦即可程式 化邏輯裝置120於接收到開始訊號後,才開始接收基板管理控制器110所輸出之心跳位元,並根據心跳位元判斷基板管理控制器110是否發生錯誤。然本發明並不以此為限,另一種基板管理控制器110與可程式化邏輯裝置120之相互配合方式如步驟230與240所示。In order to make the method 200 for controlling the fan speed in the embodiment of the present invention easier to understand, the above-described flow will be exemplarily illustrated together with FIG. 1 . First, steps 210 and 240 are for preventing the situation that the state of the programmable logic device 120 may be misjudged when the substrate management controller 110 is just turned on, and the details may be as follows. Since the state of the substrate management controller 110 is not yet stable when the substrate management controller 110 is turned on, the programmable logic device 120 does not judge whether the substrate management controller 110 is erroneous when the substrate management controller 110 is just turned on. After the substrate management controller 110 is enabled as shown in step 210, the start signal is outputted to the programmable logic device 120. Here, the step 240 adds a limit, that is, the program. After receiving the start signal, the logic device 120 starts to receive the heartbeat bit output by the substrate management controller 110, and determines whether the substrate management controller 110 has an error according to the heartbeat bit. However, the present invention is not limited thereto, and another substrate management controller 110 and the programmable logic device 120 cooperate with each other as shown in steps 230 and 240.

在步驟230中,基板管理控制器110產生及輸出風扇脈波訊號及心跳位元至可程式化邏輯裝置120。接著,於步驟240中,可程式化邏輯裝置120可不需接收開始訊號,而直接接收心跳位元,並根據心跳位元判斷基板管理控制器110是否發生錯誤。In step 230, the substrate management controller 110 generates and outputs a fan pulse signal and a heartbeat bit to the programmable logic device 120. Next, in step 240, the programmable logic device 120 can directly receive the heartbeat bit without receiving the start signal, and determine whether the substrate management controller 110 has an error according to the heartbeat bit.

此外,步驟220之用意在於,當基板管理控制器110正常運作時,基板管理控制器110根據伺服器之運作狀況,以輸出風扇之目前轉速訊號,來設定可程式化邏輯裝置120內的風扇轉速表所紀錄之風扇135~185的個別轉速,當基板管理控制器110發生錯誤,而由可程式化邏輯裝置120來控制風扇135~185時,可程式化邏輯裝置120可根據基板管理控制器110所預先設定的風扇轉速表之風扇135~185的個別轉速,以對風扇135~185進行控制,如此一來,藉由可程式化邏輯裝置120亦可根據預先設定的風扇轉速表,以有效率地對伺服器進行散熱。In addition, the step 220 is intended to: when the baseboard management controller 110 is operating normally, the baseboard management controller 110 sets the fan speed in the programmable logic device 120 by outputting the current rotational speed signal of the fan according to the operating condition of the server. The individual rotational speeds of the fans 135-185 recorded in the table, when the substrate management controller 110 has an error, and the programmable logic device 120 controls the fans 135-185, the programmable logic device 120 can be based on the substrate management controller 110. The preset speeds of the fans 135~185 of the fan tachometer are used to control the fans 135~185. Thus, the programmable logic device 120 can also be efficiently operated according to a preset fan tachometer. Ground the server to dissipate heat.

當可程式化邏輯裝置120判斷得知基板管理控制器110發生錯誤時,如步驟250所示,可程式化邏輯裝置120產生及輸出切換訊號與接管脈波訊號。隨後,切換電路如步驟260所示接收切換訊號與接管脈波訊號,並輸出接管 脈波訊號至風扇135~185,風扇135~185根據接管脈波訊號而調整其轉速。當執行完步驟260後,回頭執行步驟240。此外,當可程式化邏輯裝置120判斷得知基板管理控制器110恢復正常時,可程式化邏輯裝置120係輸出回復訊號,以使切換電路130~180接收及輸出風扇脈波訊號。When the programmable logic device 120 determines that an error has occurred in the baseboard management controller 110, as shown in step 250, the programmable logic device 120 generates and outputs a switching signal and a takeover pulse signal. Then, the switching circuit receives the switching signal and the pulse signal as shown in step 260, and outputs the takeover. Pulse signal to fan 135~185, fan 135~185 adjust its speed according to the pulse signal. When step 260 is performed, step 240 is performed. In addition, when the programmable logic device 120 determines that the substrate management controller 110 is back to normal, the programmable logic device 120 outputs a reply signal to cause the switching circuits 130-180 to receive and output the fan pulse signal.

再者,在步驟240之後,當可程式化邏輯裝置120判斷得知基板管理控制器110未發生錯誤時,如步驟270所示,切換電路係接收及輸出風扇脈波訊號至風扇135~185,風扇135~185根據風扇脈波訊號而調整其轉速。當執行完步驟270後,回頭執行步驟240,藉由可程式化邏輯裝置120持續對基板管理控制器110進行監控。Moreover, after the step 240, when the programmable logic device 120 determines that the substrate management controller 110 has not generated an error, as shown in step 270, the switching circuit receives and outputs the fan pulse signal to the fans 135-185. Fans 135~185 adjust their speed according to the fan pulse signal. After step 270 is performed, step 240 is performed to continue monitoring the substrate management controller 110 by the programmable logic device 120.

在一實施例中,步驟250包括:接收目前轉速訊號;當判斷得知基板管理控制器發生錯誤時,讀取內建之風扇轉速表;根據風扇轉速表與目前轉速訊號產生控制訊號;以及根據控制訊號產生及輸出接管脈波訊號。於實現本步驟時,控制模組122由基板管理控制器110處接收心跳位元與目前轉速訊號,以根據心跳位元判斷基板管理控制器110是否發生錯誤,而於判斷基板管理控制器110發生錯誤時,讀取內建之風扇轉速表。接著,控制模組122根據風扇轉速表與目前轉速訊號產生及輸出控制訊號。脈波產生模組Fan1~Fan6接收及根據控制訊號產生及輸出接管脈波訊號。In an embodiment, the step 250 includes: receiving the current speed signal; when determining that the substrate management controller has an error, reading the built-in fan speed table; generating a control signal according to the fan speed meter and the current speed signal; Control signal generation and output take over the pulse signal. When the step is implemented, the control module 122 receives the heartbeat bit and the current speed signal from the substrate management controller 110 to determine whether the substrate management controller 110 has an error according to the heartbeat bit, and determines that the substrate management controller 110 is generated. When the error occurs, read the built-in fan tachometer. Then, the control module 122 generates and outputs a control signal according to the fan tachometer and the current rotational speed signal. The pulse wave generating module Fan1~Fan6 receives and generates a pulse signal according to the control signal generation and output.

在另一實施例中,步驟250包括:接收到控制訊號時開始計數,並判斷是否超過預設時間;當判斷得知超過預 設時間時,產生導通訊號;以及根據導通訊號而輸出接管脈波訊號。此步驟係用以預防可程式化邏輯裝置120誤判,其機制如下所述。可程式化邏輯裝置120有可能會有誤判基板管理控制器110發生錯誤的狀況,因此,當可程式化邏輯裝置120判定基板管理控制器110發生錯誤時,若直接將風扇轉速控制系統的主控權由基板管理控制器110交給可程式化邏輯裝置120並不恰當。In another embodiment, step 250 includes: counting when the control signal is received, and determining whether the preset time is exceeded; When the time is set, the pilot number is generated; and the pulse signal is output according to the communication number. This step is used to prevent miscalculation of the programmable logic device 120, the mechanism of which is as follows. The programmable logic device 120 may have a misjudgment to the substrate management controller 110. Therefore, when the programmable logic device 120 determines that the substrate management controller 110 has an error, if the fan speed control system is directly controlled, It is not appropriate for the base management controller 110 to hand over to the programmable logic device 120.

為預防可程式化邏輯裝置120誤判,當可程式化邏輯裝置120判定基板管理控制器110發生錯誤時,由時間控制模組123接收控制模組122所輸出的控制訊號,時間控制模組123於接收到控制訊號時開始計數,當判斷得知超過預設時間時產生及輸出導通訊號。例如預設時間為10秒鐘,當時間控制模組123於接收到控制訊號時開始計數超過10秒鐘,代表基板管理控制器110的確發生錯誤,而非被可程式化邏輯裝置120誤判,此時,開關單元124~129根據導通訊號而輸出接管脈波訊號至風扇135~185,風扇135~185根據接管脈波訊號而調整其轉速。In order to prevent the erroneous determination of the programmable logic device 120, when the programmable logic device 120 determines that the substrate management controller 110 has an error, the time control module 123 receives the control signal output by the control module 122, and the time control module 123 When the control signal is received, the counting starts, and when it is determined that the preset time is exceeded, the communication number is generated and output. For example, the preset time is 10 seconds. When the time control module 123 starts counting for more than 10 seconds when receiving the control signal, it indicates that the substrate management controller 110 does not generate an error, instead of being misjudged by the programmable logic device 120. When the switch units 124~129 output the pulse signal to the fans 135~185 according to the communication number, the fans 135~185 adjust the rotation speed according to the pulse signal.

如上所述之用以控制風扇轉速的方法皆可由軟體、硬體與/或軔體來執行。舉例來說,若以執行速度及精確性為首要考量,則基本上可選用硬體與/或軔體為主;若以設計彈性為首要考量,則基本上可選用軟體為主;或者,可同時採用軟體、硬體及軔體協同作業。應瞭解到,以上所舉的這些例子並沒有所謂孰優孰劣之分,亦並非用以限制本發明,熟習此項技藝者當視當時需要彈性設計之。The method for controlling the fan speed as described above can be performed by software, hardware, and/or carcass. For example, if the execution speed and accuracy are the primary considerations, the hardware and/or the carcass may be mainly used; if the design flexibility is the primary consideration, the software may be mainly used; or At the same time, the software, hardware and carcass work together. It should be understood that the above examples are not intended to limit the present invention, and are not intended to limit the present invention. Those skilled in the art will need to design elastically at that time.

再者,所屬技術領域中具有通常知識者當可明白,用以控制風扇轉速之方法中之各步驟依其執行之功能予以命名,僅係為了讓本案之技術更加明顯易懂,並非用以限定該等步驟。將各步驟予以整合成同一步驟或分拆成多個步驟,或者將任一步驟更換到另一步驟中執行,皆仍屬於本揭示內容之實施方式。Moreover, those skilled in the art can understand that the steps in the method for controlling the fan speed are named according to the functions they perform, only to make the technology of the present invention more obvious and understandable, and not to limit These steps. It is still an embodiment of the present disclosure to integrate the steps into the same step or to split into multiple steps, or to replace any of the steps into another step.

由上述本發明實施方式可知,應用本發明具有下列優點。本發明實施例藉由提供一種風扇轉速控制系統及用以控制風扇轉速之方法,藉以有效地控制伺服器系統內部的溫度,且無論基板管理控制器是否發生錯誤,均能正確控制風扇的轉速,以避免硬體裝置的損壞。It will be apparent from the above-described embodiments of the present invention that the application of the present invention has the following advantages. The embodiment of the invention provides a fan speed control system and a method for controlling the fan speed, thereby effectively controlling the temperature inside the server system, and the fan speed can be correctly controlled regardless of whether the substrate management controller has an error. To avoid damage to the hardware.

雖然本發明已以實施方式揭露如上,然其並非用以限定本發明,任何熟習此技藝者,在不脫離本發明之精神和範圍內,當可作各種之更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and the present invention can be modified and modified without departing from the spirit and scope of the present invention. The scope is subject to the definition of the scope of the patent application attached.

110‧‧‧基板管理控制器110‧‧‧Baseboard Management Controller

120‧‧‧可程式化邏輯裝置120‧‧‧Programmable logic device

121‧‧‧暫存器121‧‧‧ register

122‧‧‧控制模組122‧‧‧Control Module

123‧‧‧時間控制模組123‧‧‧Time Control Module

124、125、126、127、128、129‧‧‧開關單元124, 125, 126, 127, 128, 129‧‧‧ switch units

130、140、150、160、170、180‧‧‧切換電路130, 140, 150, 160, 170, 180‧‧‧ switching circuits

131、141、151、161、171、181‧‧‧第一輸入端口131, 141, 151, 161, 171, 181‧‧‧ first input port

132、142、152、162、172、182‧‧‧第二輸入端口132, 142, 152, 162, 172, 182‧‧‧ second input port

134、144、154、164、174、184‧‧‧輸出端134, 144, 154, 164, 174, 184‧‧ ‧ outputs

135、145、155、165、175、185‧‧‧風扇135, 145, 155, 165, 175, 185‧ ‧ fans

Fan 1~6‧‧‧脈波產生模組Fan 1~6‧‧‧ Pulse Generation Module

200‧‧‧用以控制風扇轉速之方法200‧‧‧Method for controlling fan speed

210~270‧‧‧步驟210~270‧‧‧Steps

為讓本發明之上述和其他目的、特徵、優點與實施例能更明顯易懂,所附圖式之說明如下:第1圖係依照本發明一實施例繪示一種風扇轉速控制系統的電路方塊圖。The above and other objects, features, advantages and embodiments of the present invention will become more <RTIgt; </ RTI> <RTIgt; </ RTI> <RTIgt; </ RTI> <RTIgt; Figure.

第2圖係繪示依照本發明另一實施例的一種用以控制風扇轉速之方法的流程示意圖。2 is a flow chart showing a method for controlling a fan speed according to another embodiment of the present invention.

110‧‧‧基板管理控制器110‧‧‧Baseboard Management Controller

120‧‧‧可程式化邏輯裝置120‧‧‧Programmable logic device

121‧‧‧暫存器121‧‧‧ register

122‧‧‧控制模組122‧‧‧Control Module

123‧‧‧時間控制模組123‧‧‧Time Control Module

124、125、126、127、128、129‧‧‧開關單元124, 125, 126, 127, 128, 129‧‧‧ switch units

130、140、150、160、170、180‧‧‧切換電路130, 140, 150, 160, 170, 180‧‧‧ switching circuits

131、141、151、161、171、181‧‧‧第一輸入端口131, 141, 151, 161, 171, 181‧‧‧ first input port

132、142、152、162、172、182‧‧‧第二輸入端口132, 142, 152, 162, 172, 182‧‧‧ second input port

134、144、154、164、174、184‧‧‧輸出端134, 144, 154, 164, 174, 184‧‧ ‧ outputs

135、145、155、165、175、185‧‧‧風扇135, 145, 155, 165, 175, 185‧ ‧ fans

Fan 1~6‧‧‧脈波產生模組Fan 1~6‧‧‧ Pulse Generation Module

Claims (10)

一種風扇轉速控制系統,用以控制至少一風扇,該風扇轉速控制系統包括:一基板管理控制器,電性耦接至該些風扇,該基板管理控制器輸出一風扇脈波訊號以及一心跳位元;一可程式化邏輯裝置,電性耦接至該基板管理控制器,該可程式化邏輯裝置係接收該心跳位元,並根據該心跳位元判斷該基板管理控制器是否發生錯誤,用以於該基板管理控制器發生錯誤時,產生及輸出一切換訊號與一接管脈波訊號;以及一切換電路,電性耦接至該風扇、該基板管理控制器與該可程式化邏輯裝置,該切換電路係於該基板管理控制器未發生錯誤時,接收及輸出該風扇脈波訊號,而於該基板管理控制器發生錯誤時,接收該切換訊號與該接管脈波訊號,以輸出該接管脈波訊號。A fan speed control system for controlling at least one fan, the fan speed control system comprising: a substrate management controller electrically coupled to the fans, the substrate management controller outputs a fan pulse signal and a heartbeat position a programmable logic device electrically coupled to the baseboard management controller, the programmable logic device receiving the heartbeat bit, and determining whether the baseboard management controller has an error according to the heartbeat bit, And generating, by the substrate management controller, a switching signal and a pulse signal; and a switching circuit electrically coupled to the fan, the substrate management controller, and the programmable logic device; The switching circuit receives and outputs the fan pulse signal when the substrate management controller does not generate an error, and receives the switching signal and the take-up pulse wave signal when the substrate management controller generates an error to output the takeover Pulse signal. 如請求項1所述之風扇轉速控制系統,其中該基板管理控制器係於被致能後輸出一開始訊號至該可程式化邏輯裝置。The fan speed control system of claim 1, wherein the baseboard management controller outputs a start signal to the programmable logic device when enabled. 如請求項1所述之風扇轉速控制系統,其中該基板管理控制器係輸出該風扇之一目前轉速訊號至該可程式化邏輯裝置。The fan speed control system of claim 1, wherein the baseboard management controller outputs a current speed signal of the fan to the programmable logic device. 如請求項3所述之風扇轉速控制系統,其中該可程式化邏輯裝置包括:一暫存器,係儲存有該風扇轉速表; 一控制模組,係電性耦接至該基板管理控制器與該切換電路,並接收該心跳位元與該目前轉速訊號,以根據該心跳位元判斷該基板管理控制器是否發生錯誤,而於判斷該基板管理控制器發生錯誤時輸出該切換訊號以及根據該風扇轉速表與該目前轉速訊號產生及輸出一控制訊號;以及至少一脈波產生模組,係電性耦接至該控制模組,並接收及根據該控制訊號產生及輸出該接管脈波訊號;其中,當該控制模組判斷得知該基板管理控制器恢復正常時,則輸出一回復訊號至該切換電路,以使該切換電路接收及輸出該風扇脈波訊號。The fan speed control system of claim 3, wherein the programmable logic device comprises: a register, wherein the fan tachometer is stored; a control module electrically coupled to the baseboard management controller and the switching circuit, and receiving the heartbeat bit and the current rotational speed signal to determine whether the baseboard management controller has an error according to the heartbeat bit Outputting the switching signal when determining that the substrate management controller is in error, and generating and outputting a control signal according to the current speed signal and the current speed signal; and at least one pulse wave generating module electrically coupled to the control mode And receiving and outputting the take-up pulse signal according to the control signal; wherein, when the control module determines that the baseboard management controller returns to normal, outputting a reply signal to the switching circuit to enable the The switching circuit receives and outputs the fan pulse signal. 如請求項4所述之風扇轉速控制系統,其中該可程式化邏輯裝置更包括:一時間控制模組,電性耦接至該控制模組,並於接收到該控制訊號時開始計數,用以於超過一預設時間時產生及輸出一導通訊號;以及一開關單元,電性耦接至該脈波產生模組與該時間控制模組,並接收該導通訊號與該接管脈波訊號,用以根據該導通訊號而輸出該接管脈波訊號。The fan speed control system of claim 4, wherein the programmable logic device further comprises: a time control module electrically coupled to the control module, and starting to count when receiving the control signal, Generating and outputting a pilot communication number when a predetermined time is exceeded; and a switch unit electrically coupled to the pulse wave generating module and the time control module, and receiving the pilot communication number and the pulse signal of the takeover, The output pulse signal is output according to the communication number. 一種用以控制風扇轉速之方法,係適用一伺服器,該伺服器包括一基板管理控制器、一可程式化邏輯裝置、一切換電路與一風扇,該用以控制風扇轉速之方法包括:該基板管理控制器產生及輸出一風扇脈波訊號以及一心跳位元;該可程式化邏輯裝置係接收該心跳位元,並根據該心 跳位元判斷該基板管理控制器是否發生錯誤;當該可程式化邏輯裝置判斷得知該基板管理控制器發生錯誤時,產生及輸出一切換訊號與一接管脈波訊號;以及該切換電路接收該切換訊號與該接管脈波訊號,並輸出該接管脈波訊號;其中,當該基板管理控制器未發生錯誤時,該切換電路係接收及輸出該風扇脈波訊號。A method for controlling a fan speed is applied to a server, the server includes a substrate management controller, a programmable logic device, a switching circuit and a fan, and the method for controlling the fan speed includes: The substrate management controller generates and outputs a fan pulse signal and a heartbeat bit; the programmable logic device receives the heartbeat bit and according to the heart The jump bit determines whether the substrate management controller has an error; when the programmable logic device determines that the substrate management controller has an error, generates and outputs a switching signal and a take-over pulse wave signal; and the switching circuit receives The switching signal and the pulse signal are received, and the pulse signal is outputted; wherein, when the substrate management controller does not generate an error, the switching circuit receives and outputs the fan pulse signal. 如請求項6所述之用以控制風扇轉速之方法,更包括:該基板管理控制器於被致能後輸出一開始訊號;以及該基板管理控制器輸出該風扇之一目前轉速訊號。The method for controlling the fan speed as described in claim 6, further comprising: the baseboard management controller outputs a start signal after being enabled; and the baseboard management controller outputs a current speed signal of the fan. 如請求項7所述之用以控制風扇轉速之方法,其中當該可程式化邏輯裝置判斷得知該基板管理控制器發生錯誤時,產生及輸出該接管脈波訊號之步驟包括:接收該目前轉速訊號;當判斷得知該基板管理控制器發生錯誤時,讀取內建之一風扇轉速表;根據該風扇轉速表與該目前轉速訊號產生一控制訊號;以及根據該控制訊號產生及輸出該接管脈波訊號。The method for controlling the fan speed as described in claim 7, wherein when the programmable logic device determines that the substrate management controller has an error, the step of generating and outputting the take-up pulse signal includes: receiving the current a speed signal; when it is determined that the substrate management controller has an error, reading a built-in fan tachometer; generating a control signal according to the fan tachometer and the current speed signal; and generating and outputting the control signal according to the control signal Take over the pulse signal. 如請求項8所述之用以控制風扇轉速之方法,其中當該可程式化邏輯裝置判斷得知該基板管理控制器發生錯誤時,產生及輸出該接管脈波訊號之步驟更包括: 接收到該控制訊號時開始計數,並判斷是否超過一預設時間;當判斷得知超過該預設時間時,產生一導通訊號;以及根據該導通訊號而輸出該接管脈波訊號。The method of claim 8, wherein the step of generating and outputting the pulse signal is further included when the programmable logic device determines that the substrate management controller has an error: When the control signal is received, the counting starts, and it is determined whether the preset time is exceeded. When it is determined that the preset time is exceeded, a guiding communication number is generated; and the receiving pulse signal is output according to the guiding communication number. 如請求項6所述之用以控制風扇轉速之方法,更包括當判斷得知該基板管理控制器恢復正常時,該可程式化邏輯裝置係輸出一回復訊號,以使該切換電路接收及輸出該風扇脈波訊號。The method for controlling the fan speed as described in claim 6, further comprising: when determining that the baseboard management controller returns to normal, the programmable logic device outputs a reply signal to enable the switching circuit to receive and output The fan pulse signal.
TW101145889A 2012-12-06 2012-12-06 Fan rotational speed control system and method for controlling rotation speed of fan TWI479085B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW101145889A TWI479085B (en) 2012-12-06 2012-12-06 Fan rotational speed control system and method for controlling rotation speed of fan

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101145889A TWI479085B (en) 2012-12-06 2012-12-06 Fan rotational speed control system and method for controlling rotation speed of fan

Publications (2)

Publication Number Publication Date
TW201422923A TW201422923A (en) 2014-06-16
TWI479085B true TWI479085B (en) 2015-04-01

Family

ID=51393872

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101145889A TWI479085B (en) 2012-12-06 2012-12-06 Fan rotational speed control system and method for controlling rotation speed of fan

Country Status (1)

Country Link
TW (1) TWI479085B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109162953A (en) * 2018-11-01 2019-01-08 郑州云海信息技术有限公司 A kind of fan control device and server
TWI683961B (en) * 2018-12-05 2020-02-01 英業達股份有限公司 Fan control circuit and fan control system
CN110043498B (en) * 2019-04-11 2021-03-12 苏州浪潮智能科技有限公司 Server fan rotating speed regulating and controlling device, method and system
TWI757606B (en) * 2019-06-21 2022-03-11 神雲科技股份有限公司 Server device and communication method between baseboard management controller and programmable logic unit thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101089835A (en) * 2007-05-30 2007-12-19 华为技术有限公司 Control method, system and equipment of single serial port multi-CPU
US7966389B2 (en) * 2003-04-22 2011-06-21 Hewlett-Packard Development Company, L.P. System and method for application programming interface for extended intelligent platform management
CN102638369A (en) * 2012-03-29 2012-08-15 华为技术有限公司 Method, device and system for arbitrating main/standby switch

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7966389B2 (en) * 2003-04-22 2011-06-21 Hewlett-Packard Development Company, L.P. System and method for application programming interface for extended intelligent platform management
CN101089835A (en) * 2007-05-30 2007-12-19 华为技术有限公司 Control method, system and equipment of single serial port multi-CPU
CN102638369A (en) * 2012-03-29 2012-08-15 华为技术有限公司 Method, device and system for arbitrating main/standby switch

Also Published As

Publication number Publication date
TW201422923A (en) 2014-06-16

Similar Documents

Publication Publication Date Title
US20140142764A1 (en) Fan rotational speed control system and method for controlling rotational speed of fan
US8656003B2 (en) Method for controlling rack system using RMC to determine type of node based on FRU&#39;s message when status of chassis is changed
TWI582585B (en) Rack control system
US20080281475A1 (en) Fan control scheme
TWI479085B (en) Fan rotational speed control system and method for controlling rotation speed of fan
JP5991088B2 (en) Power supply control apparatus, information processing apparatus, and power supply control method
JP5441875B2 (en) Computer system
WO2016169222A1 (en) Method and device for controlling server fan of complete machine cabinet
US20070174020A1 (en) Method of latent fault checking a cooling module
TW201118596A (en) Server management system
JP2013168107A (en) Information processing device, abnormality detection method, and program
US10325474B2 (en) Method, device, and system for fault unit indication
CN106940676B (en) Monitoring system of cabinet
CN110469529B (en) Server fan control system
US10284134B2 (en) Method for controlling a fan module of a server rack and controller unit for implementing the same
JP2014142840A (en) Information processing device, power consumption control method, and program
JP6800935B2 (en) How to control a fan in an electronic system
TW201918880A (en) Device for detection before booting and operation method thereof
US20140327384A1 (en) Electronic device and control method
US20170185118A1 (en) Control method, information processing apparatus, and storage medium
TWI700583B (en) Servo method, servo system, main board and computer readable storage medium
TWI590013B (en) Complex programmable logic controlling device
JP2015175239A (en) Monitoring device, monitoring method, and program
TWI509393B (en) Computer system and the control method thereof
JP2015036634A (en) Power supply monitoring device, power supply device, information processing system and power supply monitoring method