TWI808394B - System and method of controlling fan - Google Patents

System and method of controlling fan Download PDF

Info

Publication number
TWI808394B
TWI808394B TW110109335A TW110109335A TWI808394B TW I808394 B TWI808394 B TW I808394B TW 110109335 A TW110109335 A TW 110109335A TW 110109335 A TW110109335 A TW 110109335A TW I808394 B TWI808394 B TW I808394B
Authority
TW
Taiwan
Prior art keywords
power
monitoring
protection chip
fans
server system
Prior art date
Application number
TW110109335A
Other languages
Chinese (zh)
Other versions
TW202239108A (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 TW110109335A priority Critical patent/TWI808394B/en
Publication of TW202239108A publication Critical patent/TW202239108A/en
Application granted granted Critical
Publication of TWI808394B publication Critical patent/TWI808394B/en

Links

Images

Landscapes

  • Control Of Electric Motors In General (AREA)
  • Regulation And Control Of Combustion (AREA)
  • Cooling Or The Like Of Electrical Apparatus (AREA)

Abstract

A system of controlling fan is disclosed in the present invention. The system is applied to a server and includes a first monitoring and protecting chip, a second monitoring and protecting chip, a switch, a plurality of fans, and a CPLD(Complex Programmable Logic Device). When the server is at a S5 state, the CPLD is utilized to control the switch to make the fans receive a standby power and operate at a lower power. When the server changes to a S0 state, the CPLD is utilized to control the switch to make the fans receive a power-on power and operate at a higher power. A method of controlling fan is also disclosed in the present invention.

Description

風扇控制系統及其方法Fan control system and method thereof

本發明係有關於一種系統及方法,尤其是指一種風扇控制系統及其方法。The present invention relates to a system and method, in particular to a fan control system and method.

隨著科技的發展,伺服器系統的應用也更為廣泛。伺服器系統也因應各個公司或使用者應用的領域不同,而不斷的更新與優化以符合不同的使用需求。伺服器系統通常具有S0~S5六種狀態,其中,S0狀態為開機正常運作狀態,S5狀態為關機狀態,需說明的是,S5狀態指的關機狀態,是指伺服器系統關機且插頭插在插座上的狀態,表示伺服器系統雖然關機,但是仍然有在接收插座提供的市電。With the development of technology, the application of server system is also more extensive. The server system is also constantly updated and optimized in response to the different application fields of each company or user to meet different usage requirements. The server system usually has six states: S0~S5. Among them, the S0 state is the normal operation state of the power on, and the S5 state is the shutdown state. It should be noted that the S5 state refers to the shutdown state, which refers to the state where the server system is shut down and the plug is plugged into the socket. It means that although the server system is powered off, it still has the mains power provided by the receiving socket.

一般來說,伺服器系統的風扇在S5狀態並不會運作,而是在S0狀態才會開始運作。然而,隨著資料量逐漸增加,且伺服器系統內的不同元件可能會因應不同的使用需求而在S5狀態變開始運作,使得伺服器系統的散熱需求增加,風扇在S0狀態才開始運作,可能會無法滿足散熱需求。因此,先前技術存在改善的空間。Generally speaking, the fan of the server system will not work in the S5 state, but will start to work in the S0 state. However, as the amount of data gradually increases, and different components in the server system may start to operate in the S5 state in response to different usage requirements, the heat dissipation requirements of the server system increase, and the fans only start to operate in the S0 state, which may not be able to meet the heat dissipation requirements. Therefore, there is room for improvement in the prior art.

有鑒於在先前技術中,伺服器系統散熱需求增加所造成及衍生出的種種問題。本發明之一主要目的係提供一種風扇控制系統及其方法,用以解決先前技術中的至少一個問題。In view of the various problems caused and derived from the increased heat dissipation requirements of the server system in the prior art. One of the main objectives of the present invention is to provide a fan control system and its method to solve at least one problem in the prior art.

本發明為解決先前技術之問題,所採用之必要技術手段為提供一種風扇控制系統,係應用於一伺服器系統,該伺服器系統包含一供電單元,且該風扇控制系統並包含一第一監控保護晶片、一第二監控保護晶片、一切換開關、複數個風扇與一複雜可程式化邏輯裝置。第一監控保護晶片係電性連接該供電單元,用以在該伺服器系統處於一開機狀態時接收一開機電能。第二監控保護晶片係電性連接該供電單元,用以在該伺服器系統處於一關機狀態時接收一待機電能。切換開關係電性連接該第一監控保護晶片與該第二監控保護晶片。風扇係電性連接該切換開關。In order to solve the problems of the prior art, the necessary technical means adopted by the present invention is to provide a fan control system, which is applied to a server system. The server system includes a power supply unit, and the fan control system includes a first monitoring and protection chip, a second monitoring and protection chip, a switch, a plurality of fans and a complex programmable logic device. The first monitoring protection chip is electrically connected to the power supply unit, and used for receiving a power-on power when the server system is in a power-on state. The second monitoring protection chip is electrically connected to the power supply unit, and is used for receiving a standby power when the server system is in a shutdown state. The switching switch is electrically connected to the first monitoring protection chip and the second monitoring protection chip. The fan is electrically connected to the switching switch.

複雜可程式化邏輯裝置係電性連接該第一監控保護晶片、該第二監控保護晶片、該切換開關與該些風扇,用以在該伺服器系統處於該關機狀態並且偵測到該第二監控保護晶片接收到該待機電能時,啟用該第二監控保護晶片,控制該切換開關導通該第二監控保護晶片與該些風扇,藉以使該些風扇接收該待機電能,並控制該些風扇以一待機功率運轉;用以在偵測到該第一監控保護晶片接收到該開機電能時,啟用該第一監控保護晶片,控制該切換開關導通該第一監控保護晶片與該些風扇,使該些風扇接收該開機電能,並控制該些風扇以一高於該待機功率之正常功率運轉。The complex programmable logic device is electrically connected to the first monitoring and protection chip, the second monitoring and protection chip, the switch and the fans, and is used to enable the second monitoring and protection chip when the server system is in the shutdown state and detects that the second monitoring and protection chip receives the standby power, controls the switch to conduct the second monitoring and protection chip and the fans, so that the fans receive the standby power, and controls the fans to operate at a standby power; When the power-on power is activated, the first monitoring and protection chip is enabled, the switch is controlled to conduct the first monitoring and protection chip and the fans, so that the fans receive the power-on power, and the fans are controlled to operate at a normal power higher than the standby power.

在上述必要技術手段的基礎下,本發明所衍生之一附屬技術手段為使風扇控制系統中之第一監控保護晶片,係採用ADM1278晶片。On the basis of the above-mentioned necessary technical means, an auxiliary technical means derived from the present invention is to make the first monitoring and protection chip in the fan control system adopt the ADM1278 chip.

在上述必要技術手段的基礎下,本發明所衍生之一附屬技術手段為使風扇控制系統中之第二監控保護晶片,係採用MP5023晶片。On the basis of the above-mentioned necessary technical means, an auxiliary technical means derived from the present invention is to make the second monitoring and protection chip in the fan control system adopt MP5023 chip.

在上述必要技術手段的基礎下,本發明所衍生之一附屬技術手段為使風扇控制系統中之切換開關,至少包含一金屬氧化物半導體場效電晶體。On the basis of the above-mentioned necessary technical means, an auxiliary technical means derived from the present invention is to make the switch in the fan control system include at least one metal oxide semiconductor field effect transistor.

本發明為解決先前技術之問題,所採用之必要技術手段為另外提供一種風扇控制方法,係利用上述風扇控制系統加以實施,並包含以下步驟:利用該複雜可程式化邏輯裝置,在該伺服器系統處於該關機狀態時,啟用該第二監控保護晶片;利用該第二監控保護晶片接收該待機電能;利用該複雜可程式化邏輯裝置控制該切換開關導通該第二監控保護晶片與該些風扇,使該些風扇接收該些待機電能,並控制該些風扇以該待機功率運轉;利用該複雜可程式化邏輯裝置,在該伺服器系統自該關機狀態切換成處於該開機狀態時,啟用該第一監控保護晶片;利用該第一監控保護晶片接收該開機電能;利用該複雜可程式化邏輯裝置控制該切換開關導通該第一監控保護晶片與該些風扇,使該些風扇接收該些開機電能,並控制該些風扇以該正常功率運轉。In order to solve the problems of the prior art, the necessary technical means adopted by the present invention is to additionally provide a fan control method, which is implemented by the above-mentioned fan control system, and includes the following steps: using the complex programmable logic device, when the server system is in the shutdown state, enabling the second monitoring and protection chip; using the second monitoring and protection chip to receive the standby power; The standby power operation; using the complex programmable logic device, when the server system is switched from the shutdown state to the power-on state, enable the first monitoring and protection chip; use the first monitoring and protection chip to receive the power-on power; use the complex programmable logic device to control the switching switch to conduct the first monitoring and protection chip and the fans, so that the fans receive the power-on power, and control the fans to run at the normal power.

在上述必要技術手段的基礎下,本發明所衍生之一附屬技術手段為使風扇控制方法,更包含以下步驟:利用該複雜可程式化邏輯裝置,在該伺服器系統自該開機狀態切換回處於該關機狀態時,關閉該第一監控保護晶片,並接續上述步驟。On the basis of the above-mentioned necessary technical means, an auxiliary technical means derived from the present invention is a fan control method, which further includes the following steps: using the complex programmable logic device, when the server system is switched from the power-on state to the power-off state, turning off the first monitoring and protection chip, and continuing the above steps.

在上述必要技術手段的基礎下,本發明所衍生之一附屬技術手段為使風扇控制方法中之第一監控保護晶片,係採用ADM1278晶片。On the basis of the above-mentioned necessary technical means, an auxiliary technical means derived from the present invention is to use the ADM1278 chip as the first monitoring and protection chip in the fan control method.

在上述必要技術手段的基礎下,本發明所衍生之一附屬技術手段為使風扇控制方法中之第二監控保護晶片,係採用MP5023晶片。On the basis of the above-mentioned necessary technical means, an auxiliary technical means derived from the present invention is to use the MP5023 chip as the second monitoring and protection chip in the fan control method.

承上所述,本發明利用複雜可程式化邏輯裝置、切換開關、第一監控保護晶片、第二監控保護晶片與風扇,相較於先前技術,本發明可以藉由判斷伺服器系統的狀態,控制切換開關導通第一監控保護晶片或第二監控保護晶片,並在關機狀態控制風扇以較低的待機功率運轉,在開機狀態控制風扇提升至以較高的開機功率運轉,藉以因應不同的使用需求及其散熱需求。Based on the above, the present invention utilizes a complex programmable logic device, a switch, a first monitoring and protection chip, a second monitoring and protection chip, and a fan. Compared with the prior art, the present invention can judge the state of the server system, control the switching switch to conduct the first monitoring and protection chip or the second monitoring and protection chip, and control the fan to run at a lower standby power in the off state, and control the fan to run at a higher power in the power-on state, so as to meet different usage requirements and heat dissipation requirements.

此外,相較於先前技術都是利用基板管理控制器(Baseboard Management Controller;BMC),本發明利用複雜可程式化邏輯裝置進行判斷,可以額外應用在一些沒有基板管理控制器的伺服器系統。而本發明應用在有基板管理控制器的伺服器系統,則可以協助釋放(offload)基板管理控制器的一些運轉效能。In addition, compared with the prior art that uses a Baseboard Management Controller (BMC), the present invention uses a complex programmable logic device for judgment, and can be additionally applied to some server systems that do not have a Baseboard Management Controller. However, when the present invention is applied to a server system with a BMC, it can help to offload some operating performance of the BMC.

下面將結合示意圖對本發明的具體實施方式進行更詳細的描述。根據下列描述和申請專利範圍,本發明的優點和特徵將更清楚。需說明的是,圖式均採用非常簡化的形式且均使用非精準的比例,僅用以方便、明晰地輔助說明本發明實施例的目的。The specific implementation manner of the present invention will be described in more detail below with reference to schematic diagrams. The advantages and features of the present invention will be more clear from the following description and claims. It should be noted that all the drawings are in very simplified form and use imprecise scales, which are only used to facilitate and clearly assist the purpose of illustrating the embodiments of the present invention.

請參閱第一圖至第二圖,其中,第一圖係顯示本發明較佳實施例所提供之風扇控制系統之方塊圖;以及,第二圖係顯示本發明較佳實施例所提供之風扇控制方法之流程圖。如圖所示,一種風扇控制方法係利用一種風扇控制系統1加以實施,並包含以下步驟S101至步驟S112。Please refer to the first figure to the second figure, wherein the first figure shows a block diagram of the fan control system provided by the preferred embodiment of the present invention; and the second figure shows the flow chart of the fan control method provided by the preferred embodiment of the present invention. As shown in the figure, a fan control method is implemented by a fan control system 1 and includes the following steps S101 to S112.

風扇控制系統1應用於一伺服器系統2,其中,伺服器系統2至少包含一供電單元21。The fan control system 1 is applied to a server system 2 , wherein the server system 2 includes at least a power supply unit 21 .

風扇控制系統1包含一第一監控保護晶片11、一第二監控保護晶片12、一切換開關13、複數個風扇14(圖式繪製六個並標示其中一個示意)與一複雜可程式化邏輯裝置15(Complex Programmable Logic Device;CPLD)。The fan control system 1 includes a first monitoring and protection chip 11, a second monitoring and protection chip 12, a switch 13, a plurality of fans 14 (six are drawn in the figure and one of them is marked) and a complex programmable logic device 15 (Complex Programmable Logic Device; CPLD).

第一監控保護晶片11電性連接供電單元21。第二監控保護晶片12也電性連接供電單元21。切換開關13的一端電性連接第一監控保護晶片11與第二監控保護晶片12,另一端則是電性連接風扇14。複雜可程式化邏輯裝置15則是電性連接第一監控保護晶片11、第二監控保護晶片12、切換開關13與風扇14。The first monitoring and protection chip 11 is electrically connected to the power supply unit 21 . The second monitoring and protection chip 12 is also electrically connected to the power supply unit 21 . One end of the switch 13 is electrically connected to the first monitoring and protection chip 11 and the second monitoring and protection chip 12 , and the other end is electrically connected to the fan 14 . The complex programmable logic device 15 is electrically connected to the first monitoring and protection chip 11 , the second monitoring and protection chip 12 , the switching switch 13 and the fan 14 .

步驟S101:伺服器系統是否處於關機狀態。Step S101: Whether the server system is in shutdown state.

判斷伺服器系統2是否處於關機狀態,在這裡的關機狀態是指S5狀態,也就是指伺服器系統2關機且插頭插在插座上的狀態,表示伺服器系統2雖然關機,但是仍然有在接收插座提供的市電。步驟S101可以利用複雜可程式化邏輯裝置15進行判斷。當步驟S101結果為是時,進入步驟S102;步驟S101結果為否時,則會重新進入步驟S101。Determine whether the server system 2 is in the shutdown state. The shutdown state here refers to the S5 state, which means that the server system 2 is shut down and the plug is inserted into the socket. It means that although the server system 2 is shut down, there is still commercial power provided by the receiving socket. In step S101 , the complex programmable logic device 15 can be used for judgment. When the result of step S101 is yes, go to step S102; if the result of step S101 is no, go to step S101 again.

步驟S102:利用複雜可程式化邏輯裝置啟用第二監控保護晶片。Step S102: Enable the second monitoring protection chip by using complex programmable logic device.

複雜可程式化邏輯裝置15會啟用第二監控保護晶片12。實際操作上,複雜可程式化邏輯裝置15會輸出一啟用(power enable)信號至第二監控保護晶片12,藉以啟用第二監控保護晶片12。The CPLD 15 activates the second monitoring protection chip 12 . In actual operation, the complex programmable logic device 15 will output a power enable signal to the second monitoring and protection chip 12 to enable the second monitoring and protection chip 12 .

步驟S103:利用第二監控保護晶片接收待機電能。Step S103: Utilize the second monitoring protection chip to receive standby power.

第二監控保護晶片12會在伺服器系統2處於關機狀態(S5狀態)時接收一待機(standby)電能。待機電能,也會被稱作為預備電能、備用電能,係指伺服器系統2的插頭插上插座且尚未開機時,供電單元21所傳送出的一種電能。在本實施例中,第二監控保護晶片12係採用MP5023晶片,用以監控流經的電流、功耗,並且具有過電流保護(Over Current Protection;OCP)作用。The second monitoring protection chip 12 receives a standby (standby) power when the server system 2 is in the shutdown state (S5 state). Standby power, also referred to as reserve power or backup power, refers to a kind of power transmitted by the power supply unit 21 when the plug of the server system 2 is plugged into a socket and has not been turned on yet. In this embodiment, the second monitoring and protection chip 12 is an MP5023 chip, which is used to monitor the flowing current and power consumption, and has the function of over current protection (Over Current Protection; OCP).

步驟S104:利用複雜可程式化邏輯裝置控制切換開關,導通第二監控保護晶片與風扇,使風扇接收待機電能。Step S104 : using the complex programmable logic device to control the switch, to turn on the second monitoring and protection chip and the fan, so that the fan receives standby power.

複雜可程式化邏輯裝置15會控制切換開關13,使得切換開關13會導通第二監控保護晶片12與風扇14。因此,風扇14會接收到第二監控保護晶片12所傳送出的待機電能。切換開關13具有切換導通的功能,可以由金屬氧化物半導體場效電晶體(Metal-Oxide-Semiconductor Field Effect Transistor;MOSFET)、雙極性接面型電晶體(Bipolar Junction Transistor;BJT)、絕緣柵雙極電晶體(Insulated Gate Bipolar Transistor;IGBT)等電子元件組成,但不以此為限。The complex programmable logic device 15 controls the switch 13 so that the switch 13 turns on the second monitoring protection chip 12 and the fan 14 . Therefore, the fan 14 receives the standby power transmitted by the second monitoring and protection chip 12 . The switch 13 has the function of switching conduction, and may be composed of metal-oxide-semiconductor field effect transistor (Metal-Oxide-Semiconductor Field Effect Transistor; MOSFET), bipolar junction transistor (Bipolar Junction Transistor; BJT), insulated gate bipolar transistor (Insulated Gate Bipolar Transistor; IGBT) and other electronic components, but not limited thereto.

步驟S105:利用複雜可程式化邏輯裝置控制風扇以待機功率運轉。Step S105: Utilize the complex programmable logic device to control the fan to run at the standby power.

接著,複雜可程式化邏輯裝置15會開啟風扇14,並且控制風扇14以一待機功率運轉。因為此時的伺服器系統2處於關機狀態(S5狀態),只有少部分特殊的元件會運作,所以複雜可程式化邏輯裝置15控制風扇14只需以待機功率運轉,藉以達成伺服器系統2的散熱需求,也可以避免浪費電能等問題。複雜可程式化邏輯裝置15可以利用脈衝寬度調變(Pulse-Width Modulation;PWM)來控制風扇14的功率,實務上,待機功率通常是脈衝寬度調變的占空比介於15%至25%之間。Then, the complex programmable logic device 15 turns on the fan 14 and controls the fan 14 to run at a standby power. Because the server system 2 is in the shutdown state (S5 state) at this time, only a small number of special components can operate, so the complex programmable logic device 15 controls the fan 14 to operate only at standby power, so as to meet the heat dissipation requirements of the server system 2 and avoid wasting electric energy and other problems. The complex programmable logic device 15 can use pulse-width modulation (Pulse-Width Modulation; PWM) to control the power of the fan 14. In practice, the standby power is usually the duty cycle of the pulse-width modulation is between 15% and 25%.

此外,第二監控保護晶片12也可以電性連接至其他裝置與設備,例如:PCIe插槽,藉以因應不同的使用需求,可能會有不同的裝置與設備需要在伺服器系統2處於關機狀態(S5狀態)時接收待機電能運轉。In addition, the second monitoring and protection chip 12 can also be electrically connected to other devices and devices, such as PCIe slots, so as to meet different usage requirements. There may be different devices and devices that need to receive standby power to operate when the server system 2 is in the shutdown state (S5 state).

步驟S106:伺服器系統是否切換成開機狀態。Step S106: Whether the server system is switched to the boot state.

判斷伺服器系統2是否切換成處於開機狀態,在這裡的開機狀態即為S0狀態。步驟S106可以利用複雜可程式化邏輯裝置15進行判斷。當步驟S106結果為是時,表示伺服器系統2處於正常運作狀態,亦即伺服器系統2的所有元件都開始運作,則進入步驟S107;步驟S106結果為否時,則會重新進入步驟S106。It is judged whether the server system 2 is switched to the power-on state, where the power-on state is the S0 state. In step S106 , the complex programmable logic device 15 can be used for judgment. When the result of step S106 is yes, it means that the server system 2 is in normal operation state, that is, all components of the server system 2 are in operation, then enter step S107; if the result of step S106 is no, then enter step S106 again.

步驟S107:利用複雜可程式化邏輯裝置啟用第一監控保護晶片。Step S107: Enable the first monitoring protection chip by using the complex programmable logic device.

複雜可程式化邏輯裝置15會啟用第一監控保護晶片11。實際操作上,複雜可程式化邏輯裝置15會輸出一啟用(power enable)信號至第一監控保護晶片11,藉以啟用第一監控保護晶片11。The CPLD 15 activates the first monitor protection chip 11 . In practice, the complex programmable logic device 15 outputs a power enable signal to the first monitoring and protection chip 11 , so as to enable the first monitoring and protection chip 11 .

步驟S108:利用第一監控保護晶片接收開機電能。Step S108: Utilize the first monitoring and protection chip to receive power-on power.

第一監控保護晶片11會在伺服器系統2處於開機狀態(S0狀態)時接收一開機(power-on)電能。開機電能,也會被稱作為主要電能、正常電能、或是業界稱之為「real電」,係指伺服器系統2開機後,供電單元21所傳送出的一種電能。在本實施例中,第一監控保護晶片11係採用ADM1278晶片,用以監控流經的電流、功耗,並且具有過電流保護(Over Current Protection;OCP)作用。因為開機電能的電能會高於待機電能,因此,第一監控保護晶片11所能承受的最大電流係大於第二監控保護晶片12。The first monitoring protection chip 11 receives a power-on power when the server system 2 is in the power-on state (S0 state). The power-on power, also referred to as main power, normal power, or “real power” in the industry, refers to a kind of power transmitted by the power supply unit 21 after the server system 2 is powered on. In this embodiment, the first monitoring and protection chip 11 is an ADM1278 chip, which is used to monitor the flowing current and power consumption, and has the function of over current protection (Over Current Protection; OCP). Because the power of the power-on power is higher than that of the standby power, the maximum current that the first monitoring and protection chip 11 can withstand is greater than that of the second monitoring and protection chip 12 .

步驟S109:利用複雜可程式化邏輯裝置控制切換開關,導通第一監控保護晶片與風扇,使風扇接收開機電能。Step S109 : using the complex programmable logic device to control the switch to conduct the first monitoring and protection chip and the fan, so that the fan receives power for starting up.

複雜可程式化邏輯裝置15會控制切換開關13,使得切換開關13會導通第一監控保護晶片11與風扇14。因此,風扇14會接收到第一監控保護晶片11所傳送出的開機電能。The complex programmable logic device 15 controls the switch 13 so that the switch 13 turns on the first monitoring protection chip 11 and the fan 14 . Therefore, the fan 14 receives the power-on power transmitted by the first monitoring and protection chip 11 .

步驟S110:利用複雜可程式化邏輯裝置控制風扇以正常功率運轉。Step S110: Utilize the complex programmable logic device to control the fan to run at normal power.

接著,複雜可程式化邏輯裝置15會控制風扇14以一開機功率運轉。因為此時的伺服器系統2處於開機狀態(S0狀態),所有的元件都會運作,所以複雜可程式化邏輯裝置15控制風扇14調高成以開機功率運轉,藉以達成伺服器系統2在開機狀態較高的散熱需求。複雜可程式化邏輯裝置15可以利用脈衝寬度調變來控制風扇14的功率,實務上,開機功率通常是脈衝寬度調變的占空比至少為50%。Then, the complex programmable logic device 15 controls the fan 14 to run at a starting power. Because the server system 2 is in the power-on state (S0 state) at this time, all components will operate, so the complex programmable logic device 15 controls the fan 14 to be turned up to run at power-on power, so as to meet the higher heat dissipation requirements of the server system 2 in the power-on state. The complex programmable logic device 15 can use pulse width modulation to control the power of the fan 14 . In practice, the power-on power is usually at least 50% of the duty cycle of the pulse width modulation.

步驟S111:伺服器系統是否切換回關機狀態。Step S111: Whether the server system switches back to the shutdown state.

接著,會持續判斷伺服器系統2是否切換回關機狀態(S5狀態)。步驟S111同樣可利用複雜可程式化邏輯裝置15進行判斷。當步驟S111判斷結果為是時,則進入步驟S112;步驟S111判斷結果為否時,則重複進入步驟S111。Then, it will continue to judge whether the server system 2 is switched back to the shutdown state (S5 state). The step S111 can also be determined by using the complex programmable logic device 15 . When the judgment result of step S111 is yes, then enter step S112; if the judgment result of step S111 is no, then repeatedly enter step S111.

步驟S112:利用複雜可程式化邏輯裝置關閉第一監控保護晶片。Step S112 : Turn off the first monitor protection chip by using complex programmable logic device.

當伺服器系統2切換回關機狀態(S5狀態),表示此時僅剩少部分特殊的元件會運作,散熱需求降低,因此,複雜可程式化邏輯裝置15會關閉第一監控保護晶片11。最後,因為伺服器系統2切換回關機狀態,故會接續上述步驟S104,複雜可程式化邏輯裝置15會控制控制切換開關13,使得切換開關13會導通第二監控保護晶片12與風扇14。因此,風扇14會再次接收到第二監控保護晶片12所傳送出的待機電能。When the server system 2 switches back to the shutdown state (S5 state), it means that only a few special components are left to operate, and the heat dissipation requirement is reduced. Therefore, the complex programmable logic device 15 will turn off the first monitoring and protection chip 11 . Finally, because the server system 2 switches back to the shutdown state, the above step S104 will be continued, and the complex programmable logic device 15 will control the switch 13 so that the switch 13 will conduct the second monitoring protection chip 12 and the fan 14 . Therefore, the fan 14 receives the standby power transmitted by the second monitoring and protection chip 12 again.

需說明的是,上述步驟會持續重複執行,直到伺服器系統2的插頭自插座上拔除。當伺服器系統2的插頭自插座上拔除時,伺服器系統2無法接收市電,此時,所有的元件都不會運作,故不會有任何散熱需求,因此,不需要控制風扇14,也因為沒有任何電能而無法控制風扇14。It should be noted that the above steps will continue to be executed repeatedly until the plug of the server system 2 is pulled out from the socket. When the plug of the server system 2 is pulled out from the socket, the server system 2 cannot receive mains power. At this time, all components will not operate, so there will be no heat dissipation requirements. Therefore, there is no need to control the fan 14, and the fan 14 cannot be controlled because there is no power.

綜上所述,本發明利用複雜可程式化邏輯裝置、切換開關、第一監控保護晶片、第二監控保護晶片與風扇,相較於先前技術,本發明可以藉由判斷伺服器系統的狀態,控制切換開關導通第一監控保護晶片或第二監控保護晶片,並在關機狀態控制風扇以較低的待機功率運轉,在開機狀態控制風扇提升至以較高的開機功率運轉,藉以因應不同的使用需求及其散熱需求。In summary, the present invention utilizes a complex programmable logic device, a switch, a first monitoring protection chip, a second monitoring protection chip, and a fan. Compared with the prior art, the present invention can judge the state of the server system, control the switching switch to turn on the first monitoring protection chip or the second monitoring protection chip, and control the fan to run at a lower standby power in the off state, and control the fan to run at a higher power in the power-on state, so as to meet different usage requirements and heat dissipation requirements.

此外,相較於先前技術都是利用基板管理控制器(Baseboard Management Controller;BMC),本發明利用複雜可程式化邏輯裝置進行判斷,可以額外應用在一些沒有基板管理控制器的伺服器系統。而本發明應用在有基板管理控制器的伺服器系統,則可以協助釋放(offload)基板管理控制器的一些運轉效能。In addition, compared with the prior art that uses a Baseboard Management Controller (BMC), the present invention uses a complex programmable logic device for judgment, and can be additionally applied to some server systems that do not have a Baseboard Management Controller. However, when the present invention is applied to a server system with a BMC, it can help to offload some operating performance of the BMC.

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

1:風扇控制系統 11:第一監控保護晶片 12:第二監控保護晶片 13:切換開關 14:風扇 15:複雜可程式化邏輯裝置 2:伺服器系統 21:供電單元 1: Fan control system 11: The first monitoring protection chip 12: The second monitoring protection chip 13: Toggle switch 14: fan 15:Complex programmable logic device 2: Server system 21: Power supply unit

第一圖係顯示本發明較佳實施例所提供之風扇控制系統之方塊圖;以及 第二圖係顯示本發明較佳實施例所提供之風扇控制方法之流程圖。 The first figure shows the block diagram of the fan control system provided by the preferred embodiment of the present invention; and The second figure is a flowchart showing the fan control method provided by the preferred embodiment of the present invention.

1:風扇控制系統 1: Fan control system

11:第一監控保護晶片 11: The first monitoring protection chip

12:第二監控保護晶片 12: The second monitoring protection chip

13:切換開關 13: Toggle switch

14:風扇 14: fan

15:複雜可程式化邏輯裝置 15:Complex programmable logic device

2:伺服器系統 2: Server system

21:供電單元 21: Power supply unit

Claims (8)

一種風扇控制系統,係應用於一伺服器系統,該伺服器系統包含一供電單元,且該風扇控制系統並包含: 一第一監控保護晶片,係電性連接該供電單元,用以在該伺服器系統處於一開機狀態時接收一開機電能; 一第二監控保護晶片,係電性連接該供電單元,用以在該伺服器系統處於一關機狀態時接收一待機電能; 一切換開關,係電性連接該第一監控保護晶片與該第二監控保護晶片; 複數個風扇,係電性連接該切換開關;以及 一複雜可程式化邏輯裝置,係電性連接該第一監控保護晶片、該第二監控保護晶片、該切換開關與該些風扇,用以在該伺服器系統處於該關機狀態並且偵測到該第二監控保護晶片接收到該待機電能時,啟用該第二監控保護晶片,控制該切換開關導通該第二監控保護晶片與該些風扇,藉以使該些風扇接收該待機電能,並控制該些風扇以一待機功率運轉;用以在偵測到該第一監控保護晶片接收到該開機電能時,啟用該第一監控保護晶片,控制該切換開關導通該第一監控保護晶片與該些風扇,使該些風扇接收該開機電能,並控制該些風扇以一高於該待機功率之正常功率運轉。 A fan control system is applied to a server system, the server system includes a power supply unit, and the fan control system includes: A first monitoring and protection chip is electrically connected to the power supply unit for receiving a power-on power when the server system is in a power-on state; A second monitoring and protection chip is electrically connected to the power supply unit to receive a standby power when the server system is in a shutdown state; a switch, which is electrically connected to the first monitoring and protection chip and the second monitoring and protection chip; a plurality of fans electrically connected to the switch; and A complex programmable logic device is electrically connected to the first monitoring and protection chip, the second monitoring and protection chip, the switch and the fans, for enabling the second monitoring and protection chip when the server system is in the shutdown state and detecting that the second monitoring and protection chip has received the standby power, controlling the switch to turn on the second monitoring and protection chip and the fans, so that the fans receive the standby power and control the fans to operate at a standby power; When receiving the power-on power, enable the first monitoring and protection chip, control the switch to conduct the first monitoring and protection chip and the fans, make the fans receive the power-on power, and control the fans to run at a normal power higher than the standby power. 如請求項1所述之風扇控制系統,其中,該第一監控保護晶片係採用ADM1278晶片。The fan control system according to claim 1, wherein the first monitoring protection chip is an ADM1278 chip. 如請求項1所述之風扇控制系統,其中,該第二監控保護晶片係採用MP5023晶片。The fan control system according to claim 1, wherein the second monitoring protection chip is an MP5023 chip. 如請求項1所述之風扇控制系統,其中,該切換開關至少包含一金屬氧化物半導體場效電晶體。The fan control system as claimed in claim 1, wherein the switch comprises at least one metal oxide semiconductor field effect transistor. 一種風扇控制方法,係利用如請求項1所述之風扇控制系統加以實施,並包含以下步驟: (a) 利用該複雜可程式化邏輯裝置,在該伺服器系統處於該關機狀態時,啟用該第二監控保護晶片; (b) 利用該第二監控保護晶片接收該待機電能; (c) 利用該複雜可程式化邏輯裝置控制該切換開關導通該第二監控保護晶片與該些風扇,使該些風扇接收該些待機電能,並控制該些風扇以該待機功率運轉; (d) 利用該複雜可程式化邏輯裝置,在該伺服器系統自該關機狀態切換成處於該開機狀態時,啟用該第一監控保護晶片; (e) 利用該第一監控保護晶片接收該開機電能; (f) 利用該複雜可程式化邏輯裝置控制該切換開關導通該第一監控保護晶片與該些風扇,使該些風扇接收該些開機電能,並控制該些風扇以該正常功率運轉。 A fan control method is implemented using the fan control system described in claim 1, and includes the following steps: (a) using the complex programmable logic device to activate the second monitoring protection chip when the server system is in the shutdown state; (b) using the second monitoring protection chip to receive the standby power; (c) using the complex programmable logic device to control the switching switch to conduct the second monitoring and protection chip and the fans, so that the fans receive the standby power, and control the fans to operate at the standby power; (d) using the complex programmable logic device to enable the first monitoring protection chip when the server system is switched from the off state to the on state; (e) using the first monitoring protection chip to receive the power-on power; (f) using the complex programmable logic device to control the switching switch to turn on the first monitoring and protection chip and the fans, so that the fans receive the power-on power, and control the fans to operate at the normal power. 如請求項5所述之風扇控制方法,更包含以下步驟: (g) 利用該複雜可程式化邏輯裝置,在該伺服器系統自該開機狀態切換回處於該關機狀態時,關閉該第一監控保護晶片,並接續上述步驟(a)。 The fan control method as described in claim 5 further includes the following steps: (g) Using the complex programmable logic device, when the server system switches from the power-on state to the power-off state, turn off the first monitoring protection chip, and continue with the above step (a). 如請求項5所述之風扇控制方法,其中,該第一監控保護晶片係採用ADM1278晶片。The fan control method according to claim 5, wherein the first monitoring protection chip is an ADM1278 chip. 如請求項5所述之風扇控制方法,其中,該第二監控保護晶片係採用MP5023晶片。The fan control method according to claim 5, wherein the second monitoring protection chip is an MP5023 chip.
TW110109335A 2021-03-16 2021-03-16 System and method of controlling fan TWI808394B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110109335A TWI808394B (en) 2021-03-16 2021-03-16 System and method of controlling fan

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110109335A TWI808394B (en) 2021-03-16 2021-03-16 System and method of controlling fan

Publications (2)

Publication Number Publication Date
TW202239108A TW202239108A (en) 2022-10-01
TWI808394B true TWI808394B (en) 2023-07-11

Family

ID=85460378

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110109335A TWI808394B (en) 2021-03-16 2021-03-16 System and method of controlling fan

Country Status (1)

Country Link
TW (1) TWI808394B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103777721A (en) * 2012-10-24 2014-05-07 英业达科技有限公司 Server system and cooling control method thereof
TW201421212A (en) * 2012-11-19 2014-06-01 Inventec Corp Server system and cooling control method thereof
CN111708426A (en) * 2020-06-12 2020-09-25 浪潮电子信息产业股份有限公司 Server and power supply protection circuit thereof
CN212084074U (en) * 2019-12-27 2020-12-04 苏州浪潮智能科技有限公司 Server fan assembly compatible with different requirements and capable of being flexibly applied

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103777721A (en) * 2012-10-24 2014-05-07 英业达科技有限公司 Server system and cooling control method thereof
TW201421212A (en) * 2012-11-19 2014-06-01 Inventec Corp Server system and cooling control method thereof
CN212084074U (en) * 2019-12-27 2020-12-04 苏州浪潮智能科技有限公司 Server fan assembly compatible with different requirements and capable of being flexibly applied
CN111708426A (en) * 2020-06-12 2020-09-25 浪潮电子信息产业股份有限公司 Server and power supply protection circuit thereof

Also Published As

Publication number Publication date
TW202239108A (en) 2022-10-01

Similar Documents

Publication Publication Date Title
CN104731293B (en) Power supply device and power supply method thereof
CN104901661B (en) Power transmission device with overload protection and energy-saving mechanism
CN103777721B (en) Server system and cooling control method thereof
CN103835978A (en) Fan control circuit
CN103105921A (en) Method for reducing lithium battery static power consumption under laptop shutdown state
TWI616049B (en) Electronic device and power method thereof
CN107906697A (en) Air conditioner
TWI808394B (en) System and method of controlling fan
US10871813B2 (en) Temperature increasing device and temperature increasing method
TWI492033B (en) Server system and cooling control method thereof
CN209124591U (en) A kind of server automatic dust removing apparatus
TW202209799A (en) Power supply with reduced power consumption and related electronic system
CN114089825B (en) Power supply method and power supply circuit of server
US7460366B2 (en) Heat disspating apparatus with stationary power supply
CN112963372B (en) Fan control system and method thereof
TWI539081B (en) Cooling fan system
TW201933713A (en) Power saving device capable of automatically sensing standby current
WO2015139337A1 (en) Standby power consumption control circuit and method
CN104929967A (en) Control circuit and control method of PWM blower fan used for refrigerator
TW202238319A (en) Switching power supply system and method thereof
WO2014195395A2 (en) Transient protection filter circuit that minimizes the effects of thermal runaway
TWI482422B (en) Fan control system and fan control method
CN218041203U (en) Circuit for starting flexible charging of power port and switching power supply system
CN201004207Y (en) Computer device with over voltage protection function
CN205787710U (en) Electrifying protection circuit and induction cooker