[go: up one dir, main page]

TWI492038B - System for adapting plenty of powers and method thereof - Google Patents

System for adapting plenty of powers and method thereof Download PDF

Info

Publication number
TWI492038B
TWI492038B TW102147305A TW102147305A TWI492038B TW I492038 B TWI492038 B TW I492038B TW 102147305 A TW102147305 A TW 102147305A TW 102147305 A TW102147305 A TW 102147305A TW I492038 B TWI492038 B TW I492038B
Authority
TW
Taiwan
Prior art keywords
power
server
power module
module
management control
Prior art date
Application number
TW102147305A
Other languages
Chinese (zh)
Other versions
TW201525672A (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 TW102147305A priority Critical patent/TWI492038B/en
Publication of TW201525672A publication Critical patent/TW201525672A/en
Application granted granted Critical
Publication of TWI492038B publication Critical patent/TWI492038B/en

Links

Landscapes

  • Power Sources (AREA)

Description

自適應多種電源之系統及其方法Adaptive multi-power system and method thereof

一種自適應多種電源之系統及其方法,特別係指一種依據電源模組之總線位置識別電源模組之類別以適應多種電源之系統及其方法。A system and method for adapting multiple power sources, in particular, a system and method for identifying a power source according to a bus position of a power module to adapt to a plurality of power sources.

電源供應器(Power Supply Unit,PSU),是電腦系統中的一個元件,負責將交流電轉成穩定的直流電,使得電腦系統內的其他元件可以依據電源供應器所提供的直流電正常運作。Power Supply Unit (PSU), a component of a computer system, is responsible for converting AC power to a stable DC power so that other components in the computer system can operate according to the DC power provided by the power supply.

目前的電源供應器的種類非常多,且控制每一種電源供應器的控制協定都不相同,因此,為了要控制各種不同的電源供應器供電給電腦系統,電腦系統中需要配合所設置的電源供應器,設置支援電源供應器之控制協定的基板管理控制器,藉以讓基板管理控制器可以使用正確的控制協定控制電源供應器供電給電腦系統。There are many types of power supplies available today, and the control protocols for controlling each type of power supply are different. Therefore, in order to control the power supply of various power supplies to the computer system, the computer system needs to cooperate with the set power supply. And a baseboard management controller that supports a power supply control protocol, so that the baseboard management controller can control the power supply to the computer system using the correct control protocol.

不過,如此一來,電腦系統的製造商便需要隨時準備可以支援各種不同電源供應器的基板管理控制器,而隨著電源供應器種類的增加,不同版本的基板管理控制器的數量也會跟著增加,這將造成基板管理控制器不易控管,同時也增加測試電腦系統時的負擔。However, as a result, manufacturers of computer systems need to be prepared to support the substrate management controllers of various power supplies. As the number of power supplies increases, the number of different versions of the substrate management controllers will follow. This will cause the substrate management controller to be difficult to control, and it will also increase the burden of testing the computer system.

綜上所述,可知先前技術中長期以來一直存在需要使用不同基板管理控制器控制不同電源供應器,導致基本管理控制器版本過多的問題,因此有必要提出改進的技術手段,來解決此一問題。In summary, it has been known in the prior art that there has been a long-standing need to use different substrate management controllers to control different power supplies, resulting in too many basic management controller versions, so it is necessary to propose improved technical means to solve this problem. .

有鑒於先前技術存在不同電源供應器需要由支援對應控制協定的不同基板管理控制器進行控制,導致基本管理控制器版本過多的問題,本發明遂揭露一種自適應多種電源之系統及其方法,其中: 本發明所揭露之自適應多種電源之系統,至少包含:多個電源模組,每一電源模組內置總線位址,且每一電源模組屬於一個類別,不同類別之電源模組之總線位置互不相同;管理控制模組,預置多個關聯資訊,每一關聯資訊包含屬於相對應之類別之電源模組的總線位址及控制協定,用以在伺服器通電後,分別向各總線位址發送偵測指令以請求電源模組回應,並依據有回應訊號的總線位址識別相對應的電源模組的類別,及用以依據與已識別之類別對應的控制協定控制各該電源模組供電給伺服器。In view of the prior art, different power supply devices need to be controlled by different substrate management controllers supporting corresponding control protocols, resulting in an excessive number of basic management controllers. The present invention discloses a system and method for adapting multiple power supplies, wherein : The system for adapting multiple power sources disclosed in the present invention comprises at least: a plurality of power modules, each of which has a built-in bus address, and each power module belongs to one category, and the bus position of different types of power modules Different from each other; the management control module presets a plurality of related information, and each associated information includes a bus address and a control protocol of a power module belonging to a corresponding category, and is used to respectively send each bus after the server is powered on. The address sends a detection command to request the power module to respond, and identifies a corresponding power module type according to the bus address with the response signal, and controls the power module according to a control protocol corresponding to the identified category. The group supplies power to the server.

本發明所揭露之自適應多種電源之方法,其步驟至少包括:於管理控制模組中預置多個關聯資訊,每一關聯資訊對應至電源模組之不同類別,且包含屬於相對應之類別之電源模組的總線位址及控制協定;於伺服器內設置至少一電源模組,不同類別之電源模組內置互不相同之總線位址;在伺服器通電後,管理控制模組分別向各總線位址發送偵測指令以請求電源模組回應,並依據有回應訊號的總線位址識別相對應的電源模組的類別;管理控制模組依據與已識別之類別對應的控制協定控制各電源模組供電給伺服器。The method for adapting multiple power sources disclosed in the present invention includes the steps of: presetting a plurality of associated information in the management control module, each associated information corresponding to different categories of the power module, and including the corresponding category The bus address and control protocol of the power module; at least one power module is disposed in the server, and different types of power modules have built-in different bus addresses; after the server is powered on, the management control module respectively Each bus address sends a detection command to request a response from the power module, and identifies a corresponding power module type according to a bus address with a response signal; the management control module controls each according to a control protocol corresponding to the identified category The power module supplies power to the server.

本發明所揭露之系統與方法如上,與先前技術之間的差異在於本發明透過管理控制模組向各電源模組之類別的總線位址發送偵測指令,並依據傳回回應訊息的總線位址識別電源模組的類別後,依據已識別之類別的控制協定控制電源模組供電給伺服器,藉以解決先前技術所存在的問題,並可以達成減少基板管理控制器之不同版本的數量,且減輕測試之負擔的技術功效。The system and method disclosed in the present invention are different from the prior art in that the present invention transmits a detection command to a bus address of a class of each power module through a management control module, and according to a bus bit that returns a response message. After identifying the category of the power module, the power module is controlled to supply power to the server according to the identified control protocol, so as to solve the problems of the prior art, and the number of different versions of the substrate management controller can be reduced, and The technical effect of reducing the burden of testing.

100‧‧‧伺服器100‧‧‧Server

110‧‧‧電源模組110‧‧‧Power Module

130‧‧‧管理控制模組130‧‧‧Management Control Module

132‧‧‧儲存單元132‧‧‧ storage unit

136‧‧‧偵測單元136‧‧‧Detection unit

138‧‧‧控制單元138‧‧‧Control unit

步驟202‧‧‧於管理控制模組中預置關聯資訊,關聯資訊對應至電源模組之不同類別,且包含屬於相對應之類別之電源模組的總線位址及控制協定Step 202‧‧‧ preset the associated information in the management control module, the associated information corresponds to different categories of the power module, and includes the bus address and control protocol of the power module belonging to the corresponding category

步驟206‧‧‧於伺服器內設置電源模組,不同類別之電源模組內置不同總線位址Step 206‧‧‧ Set the power module in the server. Different types of power modules have different bus addresses.

步驟220‧‧‧在伺服器通電後,管理控制模組分別向各總線位址發送 偵測指令以請求電源模組回應Step 220‧‧‧ After the server is powered on, the management control module sends each bus address Detecting instructions to request a power module response

步驟222‧‧‧管理控制模組選擇尚未傳送過偵測指令之總線位址Step 222‧‧‧The management control module selects the bus address that has not transmitted the detection command

步驟224‧‧‧管理控制模組向被選擇之總線位址發送偵測指令Step 224‧‧‧The management control module sends a detection command to the selected bus address

步驟226‧‧‧管理控制模組是否於預定時間內接收到由被選擇之總線位址傳回之回應訊息Step 226‧‧‧ Whether the management control module receives the response message returned by the selected bus address within a predetermined time

步驟228‧‧‧管理控制模組判斷是否有未傳送過偵測指令之總線位址Step 228‧‧‧The management control module determines whether there is a bus address that has not transmitted the detection command

步驟230‧‧‧管理控制模組依據有回應訊號的總線位址識別傳回回應訊號之電源模組的類別Step 230‧‧‧ The management control module identifies the category of the power module that returns the response signal based on the bus address with the response signal

步驟240‧‧‧管理控制模組依據與已識別之類別對應的控制協定控制電源模組供電給伺服器Step 240‧‧‧ The management control module controls the power module to supply power to the server according to the control agreement corresponding to the identified category

步驟250‧‧‧管理控制模組儲存已識別之類別至已識別清單Step 250‧‧‧Management Control Module stores the identified categories to the identified list

步驟262‧‧‧管理控制模組在伺服器運作中檢測存在之電源模組Step 262‧‧‧The management control module detects the existing power module during the operation of the server

步驟266‧‧‧管理控制模組是否檢測到不屬於已識別之類別的新電源模組Step 266‧‧‧ Whether the management control module detects a new power module that does not belong to the identified category

步驟271‧‧‧管理控制模組分別向各總線位址發送偵測指令以請求新電源模組回應Step 271‧‧‧ The management control module sends detection commands to each bus address to request a response from the new power module

步驟275‧‧‧管理控制模組依據有回應訊號的總線位址識別新電源模組Step 275‧‧‧The management control module identifies the new power module based on the bus address with the response signal

步驟280‧‧‧管理控制模組是否成功識別新電源模組的類別Step 280‧‧‧ Whether the management control module successfully identifies the category of the new power module

步驟290‧‧‧管理控制模組發出關機指令,藉以中止伺服器運作Step 290‧‧‧The management control module issues a shutdown command to suspend the operation of the server

第1圖為本發明所提之自適應多種電源之元件示意圖。FIG. 1 is a schematic diagram of components of an adaptive multiple power supply according to the present invention.

第2A圖為本發明所提之自適應多種電源之方法流程圖。FIG. 2A is a flow chart of a method for adapting multiple power sources according to the present invention.

第2B圖為本發明所提之傳送偵測指令之詳細方法流程圖。FIG. 2B is a flow chart of a detailed method for transmitting a detection command according to the present invention.

第2C圖為本發明所提之自適應多種電源之附加方法流程圖。FIG. 2C is a flow chart of an additional method for adapting multiple power sources according to the present invention.

以下將配合圖式及實施例來詳細說明本發明之特徵與實施方式,內容足以使任何熟習相關技藝者能夠輕易地充分理解本發明解決技術問題所應用的技術手段並據以實施,藉此實現本發明可達成的功效。The features and embodiments of the present invention will be described in detail below with reference to the drawings and embodiments, which are sufficient to enable those skilled in the art to fully understand the technical means to which the present invention solves the technical problems, and The achievable effects of the present invention.

本發明可以讓能夠設置多種不同電源模組的伺服器自動識別被設置於伺服器中之電源模組的類別,並使用與該些電源模組之類別對應的控制協定來控制被設置於伺服器的電源模組供電給伺服器,使伺服器正常運作。The invention can enable a server capable of setting a plurality of different power modules to automatically identify the types of power modules disposed in the server, and control the settings to be set on the server by using a control protocol corresponding to the categories of the power modules. The power module supplies power to the server to make the server operate normally.

以下先以「第1圖」本發明所提之自適應多種電源之伺服器的元件示意圖來說明本發明的運作過程。如「第1圖」所示,本發明所提之伺服器100含有電源模組110以及管理控制模組130Hereinafter, the operation of the present invention will be described with reference to the components of the adaptive multi-power supply server of the present invention in the "Fig. 1". As shown in FIG. 1, the server 100 of the present invention includes a power module 110 and a management control module 130.

每一個電源模組110內部都設置有一個總線位址。Each power module 110 is internally provided with a bus address.

一般而言,相同類別的電源模組110的總線位址相同,不同類別的電源模組110的總線位址則不會相同,但本發明並不以此為限,例如,每一個電源模組110內部設置的總線位址也都可以不同。在本發明中,是以電源模組110的一個或多個參數對電源模組110進行分類,例如,使用電源模組110的輸出功率分類電源模組時,相同類別的電源模組110的輸出功率相同,不同類別的電源模組110的輸出功率不同,但分類電源模組110之方式並不以上述為限,例如,也可以使用電源模組110的製造廠商或電源模組110所包含的特定元件分類電源模組110。Generally, the bus addresses of the same type of power module 110 are the same, and the bus addresses of different types of power modules 110 are not the same, but the invention is not limited thereto, for example, each power module The bus address set internally by 110 can also be different. In the present invention, the power module 110 is classified by one or more parameters of the power module 110. For example, when the power module of the power module 110 is used to classify the power module, the output of the power module 110 of the same type is used. The power output is the same, and the power output of the power module 110 is different. However, the method of classifying the power module 110 is not limited to the above. For example, the manufacturer of the power module 110 or the power module 110 may be used. The specific component classifies the power module 110.

電源模組110負責供電給伺服器100。一般而言,在伺服器100通電後,電源模組110會將伺服器所接收到的外部電源轉換為提供給伺服器100中之各個元件使用的工作電源,使得伺服器100可以正常運作。The power module 110 is responsible for supplying power to the server 100. In general, after the server 100 is powered on, the power module 110 converts the external power received by the server into a working power source that is supplied to each component in the server 100, so that the server 100 can operate normally.

伺服器100中可以設置一個或多個電源模組110,本發明並沒有特別的限制。在大部分的實施例中,電源模組110通常為電源供應器(Power Supply Unit,PSU),但本發明並不以此為限。One or more power modules 110 may be disposed in the server 100, and the present invention is not particularly limited. In most embodiments, the power module 110 is usually a Power Supply Unit (PSU), but the invention is not limited thereto.

管理控制模組130負責控制電源模組110供電給伺服器100。其中,管理控制模組130更包含儲存單元132、偵測單元136以及控制單元138。The management control module 130 is responsible for controlling the power supply module 110 to supply power to the server 100. The management control module 130 further includes a storage unit 132, a detecting unit 136, and a control unit 138.

儲存單元132中記錄多個關聯資訊。儲存單元132所記錄的每一個關聯資訊會與電源模組的一個類別對應,且每一個關聯資訊都包含對應類別之電源模組的總線位址以及對應類別之電源模組的控制協定。其中,一個關聯資訊所包含的控制協定可以控制屬於與該關聯資訊對應之類別的電源模組110,使得被控制的電源模組110供電給伺服器100。A plurality of related information is recorded in the storage unit 132. Each associated information recorded by the storage unit 132 corresponds to a category of the power module, and each associated information includes a bus address of the power module of the corresponding category and a control protocol of the power module of the corresponding category. The control protocol included in the associated information may control the power module 110 belonging to the category corresponding to the associated information, so that the controlled power module 110 supplies power to the server 100.

另外,在部分的實施例中,儲存單元132可以將被偵測單元136所識別出之電源模組110的類別儲存至已識別清單。在部分的實施例中,儲存單元132可以儲存被識別之類別的總線位址,但本發明並不以此為限,例如,儲存單元132也可以儲存與被識別之類別具有一對一之對應關係的類別識別碼。In addition, in some embodiments, the storage unit 132 may store the category of the power module 110 identified by the detecting unit 136 to the identified list. In some embodiments, the storage unit 132 may store the bus address of the identified category, but the invention is not limited thereto. For example, the storage unit 132 may also store a one-to-one correspondence with the identified category. The category identifier of the relationship.

偵測單元136負責在伺服器100通電後,可以讀取儲存單元132所記錄之關聯資訊包含的總線位址,並分別向儲存單元132所記錄的總線位址發送偵測指令,藉以請求被設置於伺服器100內的電源模組110回應。一般而言,偵測單元136是逐一由儲存單元132中所記錄的總線位址中選出一個總線位址,並向被選出的總線位址發送偵測指令,當偵測單元136沒有在發出偵測指令後的一段預定時間內接收到由被選出之總線位址傳回的回應訊號時,偵測單元136會判斷伺服器100內沒有設置使用與被選出之總線位址對應之類別的電源模組110,並由儲存單元132所記錄的總線位址中再次選出尚未傳送過偵測指令的另一個總線位址,並再次向所選出之總線位址發送偵測指令,直到儲存單元132所記錄的所有的總線位址都發送過偵測指令為止。但偵測單元136發送偵測指令之方式並不以上述為限。The detecting unit 136 is configured to: after the server 100 is powered on, read the bus address included in the associated information recorded by the storage unit 132, and send a detection instruction to the bus address recorded by the storage unit 132, respectively, so that the request is set. The power module 110 in the server 100 responds. Generally, the detecting unit 136 selects one bus address from the bus address recorded in the storage unit 132 one by one, and sends a detection instruction to the selected bus address, when the detecting unit 136 is not detecting. When receiving the response signal sent back by the selected bus address within a predetermined time period after the test command, the detecting unit 136 determines that the power supply mode of the category corresponding to the selected bus address is not set in the server 100. The group 110, and another bus address that has not been transmitted by the detection instruction is again selected from the bus address recorded by the storage unit 132, and the detection instruction is sent to the selected bus address again until the storage unit 132 records All bus addresses are sent before the detection command. However, the manner in which the detecting unit 136 sends the detecting command is not limited to the above.

偵測單元136也負責在有回應訊號傳回時,依據傳回回應訊號之總線位址識別傳回回應訊號之電源模組的類別,並依據以識別之類別至儲存單元132讀取被識別之類別的電源模組的控制協定。在實務上,偵測單元136在接收到回應訊號時,便可以判斷回應訊號是由何總線位址被 傳回,因此,偵測單元136也可以依據以傳回回應訊號的總線位址至儲存單元132讀取使用該總線位址之類別的電源模組的控制協定。The detecting unit 136 is also responsible for identifying, according to the bus address of the response signal, the type of the power module that returns the response signal when the response signal is returned, and reading the identified component according to the identified category to the storage unit 132. Control protocol for power modules of the category. In practice, when the detection unit 136 receives the response signal, it can determine that the response signal is addressed by the bus address. The detection unit 136 can also read the control protocol of the power module using the class of the bus address according to the bus address of the return response signal to the storage unit 132.

在部分的實施例中,偵測單元136可以在伺服器100運作中,檢測是否存在不屬於已識別之類別的新電源模組,若偵測單元136檢測到不屬於已識別之類別的新電源模組,則偵測單元136會再次向儲存單元132所記錄的總線位址發送偵測指令,藉以請求被檢測到之新電源模組進行回應,當被檢測到之新電源模組傳回回應訊號時,並偵測單元136可以依據被傳回之回應訊號的總線位址識別新電源模組的類別。In some embodiments, the detecting unit 136 can detect whether there is a new power module that does not belong to the identified category during the operation of the server 100, and if the detecting unit 136 detects a new power source that does not belong to the identified category. In the module, the detecting unit 136 sends a detection command to the bus address recorded by the storage unit 132 again, so as to request the detected new power module to respond, and when the detected new power module returns a response During the signal, the detection unit 136 can identify the category of the new power module based on the bus address of the response signal that is sent back.

控制單元138負責依據偵測單元136所讀取之與被偵測到的電源模組之類別對應的控制協定控制被偵測單元136偵測到之電源模組,使被偵測到之電源模組供電給伺服器100。The control unit 138 is configured to control the power module detected by the detecting unit 136 according to the control protocol read by the detecting unit 136 corresponding to the detected type of the power module, so that the detected power module The group supplies power to the server 100.

在部分的實施例中,控制單元138可以在偵測單元136無法識別被設置於伺服器100內之任合一個電源模組的類別時,也就是無法完全控制伺服器100內的所有電源模組時,發出關機指令,藉以中止伺服器100運作。In some embodiments, the control unit 138 may not fully control all the power modules in the server 100 when the detecting unit 136 cannot identify the category of any one of the power modules disposed in the server 100. At this time, a shutdown command is issued to suspend the operation of the server 100.

接著以一個實施例來解說本發明的運作系統與方法,並請參照「第2A圖」本發明所提之自適應多種電源之方法流程圖。在本實施例中,假設電源模組110依據輸出功率分為460瓦、750瓦、以及1200瓦三個類別,但本發明並不以此為限。Next, an operational system and method of the present invention will be described with reference to an embodiment. Referring to FIG. 2A, a flowchart of a method for adapting multiple power sources according to the present invention will be described. In this embodiment, it is assumed that the power module 110 is classified into three categories of 460 watts, 750 watts, and 1200 watts according to the output power, but the invention is not limited thereto.

首先,使用者需要先在伺服器100的管理控制模組130中設置關聯資訊(步驟202)。在本實施例中,假設管理控制模組130為基板管理控制器(BMC),使用者可以將三筆關聯資訊寫入管理控制模組130的儲存單元132中,其中,被寫入儲存單元132的關聯資訊分別記錄輸出功率為460瓦、750瓦、1200瓦之電源模組的總線位址以及輸出功率為460瓦、750瓦、1200瓦之電源模組的控制協定。First, the user needs to first set the associated information in the management control module 130 of the server 100 (step 202). In this embodiment, it is assumed that the management control module 130 is a baseboard management controller (BMC), and the user can write three pieces of related information into the storage unit 132 of the management control module 130, where it is written into the storage unit 132. The associated information records the bus address of the power module with output power of 460 watts, 750 watts, and 1200 watts, and the control protocol of the power module with output power of 460 watts, 750 watts, and 1200 watts.

在伺服器100中設置電源模組110(步驟206)後,伺服器通電時,管理控制模組130可以分別向所記錄之總線位址發送偵測指令,藉以請求被設置於伺服器100中的電源模組110回應(步驟220)。在本實施例中,假設管理控制模組130如「第2B圖」之流程所示,可以由偵測單 元136讀出儲存單元132所記錄的三筆關聯資訊,並由三筆關聯資訊所記錄的總線位址中選擇一個尚未發送過偵測指令的總線位址(步驟222),若偵測單元136先選擇輸出功率為460瓦之電源模組的總線位址,則偵測單元136可以向輸出功率為460瓦之電源模組的總線位址發送偵測指令(步驟224)。接著,偵測單元136可以等待接收回應訊息,並在等待回應訊息的過程時持續檢查當下距離發送偵測指令的時間是否達到預定時間,若偵測單元136發送偵測指令的時間與當下的時間差達到預定時間,且偵測單元136沒有接收到由輸出功率為460瓦之電源模組的總線位址所傳回的回應訊息(步驟226),偵測單元136會再次由三筆關聯資訊所記錄的總線位址中選擇一個尚未發送過偵測指令的總線位址,在本實施例中,由於輸出功率為460瓦之電源模組的總線位址已發送過偵測指令,所以,偵測單元136會由輸出功率為750瓦以及1200瓦之電源模組的總線位址中選擇一個總線位址,然後重複上述過程。After the power module 110 is set in the server 100 (step 206), when the server is powered on, the management control module 130 can send a detection instruction to the recorded bus address, respectively, so that the request is set in the server 100. The power module 110 responds (step 220). In this embodiment, it is assumed that the management control module 130 can be detected by the process as shown in the flow of "2B". The element 136 reads the three pieces of related information recorded by the storage unit 132, and selects a bus address that has not been sent the detection command from the bus address recorded by the three pieces of related information (step 222), if the detecting unit 136 First, the bus address of the power module with an output power of 460 watts is selected, and the detecting unit 136 can send a detection command to the bus address of the power module with an output power of 460 watts (step 224). Then, the detecting unit 136 can wait for receiving the response message, and continuously check whether the time when the current detection command is sent reaches a predetermined time while waiting for the response message, if the detecting unit 136 sends the detecting time and the current time difference The predetermined time is reached, and the detecting unit 136 does not receive the response message returned by the bus address of the power module with the output power of 460 watts (step 226), and the detecting unit 136 records the information again by the three related information. In the bus address, a bus address that has not been sent the detection command is selected. In this embodiment, since the detection address is sent by the bus address of the power module with the output power of 460 watts, the detection unit 136 will select a bus address from the bus address of the power module with output power of 750 watts and 1200 watts, and then repeat the above process.

若管理控制模組130的偵測單元136已對輸出功率為460瓦、750瓦以及1200瓦之電源模組的總線位址都發送過偵測指令,但沒有接收到由任何一個總線位址所傳回的回應訊號,則偵測單元136會判斷出沒有尚未傳送過偵測指令的總線位址(步驟228),這表示偵測單元136無法識別伺服器100內的電源模組,如此,管理控制模組130中的控制單元138可以發出關機指令,藉以中止伺服器100運作(步驟290)。If the detecting unit 136 of the management control module 130 has sent a detection command to the bus address of the power module of the output power of 460 watts, 750 watts, and 1200 watts, but has not received any bus address. After the response signal is returned, the detecting unit 136 determines that there is no bus address that has not transmitted the detection command (step 228), which means that the detecting unit 136 cannot identify the power module in the server 100, and thus, management The control unit 138 in the control module 130 can issue a shutdown command to suspend operation of the server 100 (step 290).

繼續回到「第2A圖」,在管理控制模組130中的偵測單元136向總線位址發出偵測指令後,偵測單元136在預定時間內接收到發出偵測指令之總線位址有傳回回應訊息時,偵測單元136可以依據有傳回回應訊號的總線位址識別傳回回應訊號之電源模組的類別(步驟230)。在本實施例中,假設伺服器100內所設置的電源模組的輸出功率為750瓦,則偵測單元136在對輸出功率為750瓦之電源模組的總線位址發出偵測指令後,會接收到輸出功率為750瓦之電源模組的總線位址有傳回回應訊息,則偵測單元136可以識別傳回回應訊息的電源模組的輸出功率為750瓦。Continuing back to FIG. 2A, after the detecting unit 136 in the management control module 130 issues a detecting command to the bus address, the detecting unit 136 receives the bus address for issuing the detecting command within a predetermined time. When the response message is returned, the detecting unit 136 can identify the class of the power module that returns the response signal according to the bus address with the response signal sent back (step 230). In this embodiment, after the output power of the power module disposed in the server 100 is 750 watts, the detecting unit 136 sends a detection command to the bus address of the power module with an output power of 750 watts. The bus address of the power module with an output power of 750 watts is received with a response message, and the detecting unit 136 can recognize that the power module of the power module that returns the response message has an output power of 750 watts.

之後,管理控制模組130中的控制單元138可以依據與已識別之類別對應的控制協定,控制傳回回應訊號之電源模組,使傳回回應訊 號之電源模組供電給伺服器100(步驟240)。在本實施例中,也就是控制單元138會依據與輸出功率為750瓦之電源模組對應的控制協定控制輸出功率為750瓦之電源模組供電。Thereafter, the control unit 138 in the management control module 130 can control the power module that returns the response signal according to the control agreement corresponding to the identified category, so as to send back the response message. The power module of the number is supplied to the server 100 (step 240). In this embodiment, the control unit 138 controls the power module with an output power of 750 watts according to a control protocol corresponding to the power module with an output power of 750 watts.

而若伺服器100內所設置的電源模組的輸出功率為460瓦或1200瓦,則偵測單元136在對輸出功率為460瓦或1200瓦之電源模組的總線位址發出偵測指令後,同樣會接收到輸出功率為460瓦或1200瓦之電源模組的總線位址有傳回回應訊息,所以,控制單元138同樣可以依據與輸出功率為460瓦或1200瓦之電源模組對應的控制協定控制輸出功率為460瓦或1200瓦之電源模組對伺服器100供電。如此,透過本發明,不論伺服器100上設置的電源模組110的類別為何,管理控制模組130都可以自動的選擇與電源模組110對應之正確的控制協定來控制電源模組110供電給伺服器100,使得伺服器100可以正常運作。If the output power of the power module disposed in the server 100 is 460 watts or 1200 watts, the detecting unit 136 sends a detection command to the bus address of the power module with an output power of 460 watts or 1200 watts. The bus address of the power module with output power of 460 watts or 1200 watts also receives a response message, so the control unit 138 can also be based on a power module with an output power of 460 watts or 1200 watts. The control protocol controls the power supply module with an output power of 460 watts or 1200 watts to power the server 100. Thus, with the present invention, regardless of the type of the power module 110 disposed on the server 100, the management control module 130 can automatically select the correct control protocol corresponding to the power module 110 to control the power supply of the power module 110. The server 100 enables the server 100 to operate normally.

另外,如「第2C圖」之流程所示,在管理控制模組130依據與已識別之類別對應的控制協定控制傳回回應訊號之電源模組供電給伺服器100(步驟240)後,管理控制模組130的儲存單元132可以儲存已識別之類別至已識別清單(步驟250)。In addition, as shown in the flow of "2C", after the management control module 130 controls the power supply module that returns the response signal to the server 100 according to the control protocol corresponding to the identified category (step 240), the management is performed. The storage unit 132 of the control module 130 can store the identified categories to the identified list (step 250).

管理控制模組130的偵測單元136也可以在伺服器運作中持續的對存在的電源模組進行檢測(步驟262),若偵測單元136檢測到不屬於已識別之類別的新電源模組(步驟266),則偵測單元136可以分別向管理控制模組130之儲存單元132所記錄之各筆關聯資訊中所包含的各總線位址發送偵測指令以請求新電源模組回應(步驟271),並依據有回應訊號的總線位址識別新電源模組(步驟275)。此一過程與前述之步驟220至步驟230相似。The detecting unit 136 of the management control module 130 can also continuously detect the existing power module during the operation of the server (step 262), and if the detecting unit 136 detects a new power module that does not belong to the identified category. (Step 266), the detecting unit 136 may send a detection command to each bus address included in each piece of related information recorded by the storage unit 132 of the management control module 130 to request a response from the new power module (step 271), and identifying the new power module according to the bus address with the response signal (step 275). This process is similar to steps 220 through 230 described above.

若管理控制模組的偵測單元136成功的識別新電源模組的類別(步驟280),則管理控制模組130中的控制單元138可以依據與已識別之類別對應的控制協定控制新電源模組供電給伺服器100(步驟240)。If the detection unit 136 of the management control module successfully identifies the category of the new power module (step 280), the control unit 138 in the management control module 130 can control the new power module according to the control protocol corresponding to the identified category. The group supplies power to the server 100 (step 240).

而若管理控制模組的偵測單元136無法識別新電源模組的類別(步驟280),則管理控制模組130中的控制單元138可以發出關機指令,藉以中止伺服器100運作(步驟290)。If the detection unit 136 of the management control module cannot identify the category of the new power module (step 280), the control unit 138 in the management control module 130 can issue a shutdown command to suspend the operation of the server 100 (step 290). .

綜上所述,可知本發明與先前技術之間的差異在於具有管理控制模組向各電源模組之類別的總線位址發送偵測指令,並依據傳回回應訊息的總線位址識別電源模組的類別後,依據已識別之類別的控制協定控制電源模組供電給伺服器之技術手段,藉由此一技術手段可以解決先前技術所存在不同電源供應器需要由支援對應控制協定的不同基板管理控制器進行控制,導致基板管理控制器版本過多的問題,進而達成減少基本管理控制器之不同版本的數量,並可減輕測試之負擔的技術功效。In summary, it can be seen that the difference between the present invention and the prior art is that the management control module sends a detection command to the bus address of each power module type, and identifies the power mode according to the bus address of the response message. After the category of the group, the technical means for controlling the power supply of the power module to the server according to the identified control protocol of the category can be solved by the technical means that the different power supplies of the prior art need to be supported by different substrates of the corresponding control protocol. The management controller performs control, resulting in a problem of too many versions of the baseboard management controller, thereby achieving a technical effect of reducing the number of different versions of the basic management controller and reducing the burden of testing.

再者,本發明之自適應多種電源之方法,可實現於硬體、軟體或硬體與軟體之組合中,亦可在電腦系統中以集中方式實現或以不同元件散佈於若干互連之電腦系統的分散方式實現。Furthermore, the method for adapting multiple power sources of the present invention can be implemented in a combination of hardware, software or a combination of hardware and software, or can be implemented in a centralized manner in a computer system or distributed in a plurality of interconnected computers with different components. The decentralized way of the system is implemented.

雖然本發明所揭露之實施方式如上,惟所述之內容並非用以直接限定本發明之專利保護範圍。任何本發明所屬技術領域中具有通常知識者,在不脫離本發明所揭露之精神和範圍的前提下,對本發明之實施的形式上及細節上作些許之更動潤飾,均屬於本發明之專利保護範圍。本發明之專利保護範圍,仍須以所附之申請專利範圍所界定者為準。While the embodiments of the present invention have been described above, the above description is not intended to limit the scope of the invention. Any modification of the form and details of the practice of the present invention, which is a matter of ordinary skill in the art to which the present invention pertains, is a patent protection of the present invention. range. The scope of the invention is to be determined by the scope of the appended claims.

步驟202‧‧‧於管理控制模組中預置關聯資訊,關聯資訊對應至電源模組之不同類別,且包含屬於相對應之類別之電源模組的總線位址及控制協定Step 202‧‧‧ preset the associated information in the management control module, the associated information corresponds to different categories of the power module, and includes the bus address and control protocol of the power module belonging to the corresponding category

步驟206‧‧‧於伺服器內設置電源模組,不同類別之電源模組內置不同總線位址Step 206‧‧‧ Set the power module in the server. Different types of power modules have different bus addresses.

步驟220‧‧‧在伺服器通電後,管理控制模組分別向各總線位址發送偵測指令以請求電源模組回應Step 220‧‧‧ After the server is powered on, the management control module sends detection commands to each bus address to request the power module to respond

步驟230‧‧‧管理控制模組依據有回應訊號的總線位址識別傳回回應訊號之電源模組的類別Step 230‧‧‧ The management control module identifies the category of the power module that returns the response signal based on the bus address with the response signal

步驟240‧‧‧管理控制模組依據與已識別之類別對應的控制協定控制電源模組供電給伺服器Step 240‧‧‧ The management control module controls the power module to supply power to the server according to the control agreement corresponding to the identified category

Claims (10)

一種自適應多種電源之方法,係應用於一伺服器,該伺服器包含一管理控制模組,該方法至少包含下列步驟:於該管理控制模組中預置多個關聯資訊,每一該關聯資訊對應至電源模組之一不同類別,且包含屬於相對應之類別之電源模組的總線位址及控制協定;於該伺服器內設置至少一該電源模組,不同類別之各該電源模組內置互不相同之一該總線位址;在伺服器通電後,該管理控制模組分別向該些總線位址發送一偵測指令以請求該些電源模組回應,並依據有一回應訊號的至少一總線位址識別傳回該回應訊號之電源模組的類別;及該管理控制模組依據與各該已識別之類別對應的控制協定控制各該電源模組供電給該伺服器。A method for adapting multiple power sources is applied to a server, the server includes a management control module, and the method includes at least the following steps: presetting a plurality of associated information in the management control module, each of the associations The information corresponds to one of different types of power modules, and includes a bus address and a control protocol of a power module belonging to a corresponding category; at least one power module is disposed in the server, and each of the power modules of different categories One of the bus addresses is different from the group; after the server is powered on, the management control module sends a detection command to the bus addresses to request the power module to respond, and according to a response signal The at least one bus address identifies a category of the power module that returns the response signal; and the management control module controls each of the power modules to supply power to the server according to a control protocol corresponding to each of the identified categories. 如申請專利範圍第1項所述之自適應多種電源之方法,其中該方法於該管理控制模組依據有該回應訊號的總線位址識別傳回該回應訊號之電源模組的類別之步驟後,更包含該管理控制模組儲存該些已識別之類別至一已識別清單之步驟。The method of claim 1, wherein the method for identifying, by the management control module, the type of the power module that returns the response signal according to the bus address having the response signal And further comprising the step of the management control module storing the identified categories to an identified list. 如申請專利範圍第1項所述之自適應多種電源之方法,其中該方法於該管理控制模組依據有該回應訊號的總線位址識別傳回該回應訊號之電源模組的類別之步驟後,更包含該管理控制模組在該伺服器運作中檢測到不屬於該些已識別之類別的一新電源模組時,向該些總線位址發送一偵測指令以請求該新電源模組回應,並依據有回應訊號的總線位址識別該新電源模組的類別,及依據與該新電源模組之類別對應的控制協定控制該新電源模組供電給該伺服器。The method of claim 1, wherein the method for identifying, by the management control module, the type of the power module that returns the response signal according to the bus address having the response signal And the management control module sends a detection command to the bus addresses to request the new power module when detecting a new power module that does not belong to the identified categories during the operation of the server. In response, the new power module is identified according to the bus address with the response signal, and the new power module is controlled to supply power to the server according to a control protocol corresponding to the category of the new power module. 如申請專利範圍第1項所述之自適應多種電源之方法,其中該方法更包含該管理控制模組無法識別任一該電源模組之類別時,該管理控制模組發出一關機指令,藉以中止該伺服器運作。The method for adapting a plurality of power sources as described in claim 1, wherein the method further includes the management control module notifying the category of the power module, the management control module issuing a shutdown command, thereby Suspend the operation of the server. 如申請專利範圍第1項所述之自適應多種電源之方法,其中該管理控制模組分別向該些總線位址發送該偵測指令以請求該些電源模組回應之步驟為選擇一該總線位址,向該被選擇之總線位址發送該偵測指令,並於一預定時間內沒有接收到由該被選擇之總線位址傳回之回應訊號時,再次選擇尚未傳送過該偵測指令之另一該總線位址,並向該被選擇之總線位址發送該偵測指令。The method of claim 1, wherein the management control module sends the detection command to the bus addresses to request the power module to respond to the step of selecting a bus. Address, sending the detection instruction to the selected bus address, and failing to receive the response signal sent back by the selected bus address within a predetermined time, again selecting that the detection instruction has not been transmitted yet The other bus address is sent to the selected bus address. 一種自適應多種電源之伺服器,至少包含:多個電源模組,每一該電源模組內置一總線位址,且每一該電源模組屬於一類別,不同類別之各該電源模組之總線位置互不相同;及一管理控制模組,預置多個關聯資訊,每一該關聯資訊包含屬於相對應之類別之電源模組的總線位址及控制協定,用以在該伺服器通電後,分別向該些總線位址發送一偵測指令以請求該些電源模組回應,並依據有一回應訊號的總線位址識別傳回該回應訊號的電源模組的類別,及用以依據與各該已識別之類別對應的控制協定控制各該電源模組供電給該伺服器。A server for adapting multiple power sources includes at least: a plurality of power modules, each of which has a bus address built therein, and each of the power modules belongs to a category, and each of the power modules of different categories The bus positions are different from each other; and a management control module presets a plurality of associated information, each of the associated information including a bus address and a control protocol of a power module belonging to a corresponding category for powering the server And sending a detection command to the bus addresses to request the power module to respond, and identifying the type of the power module that returns the response signal according to the bus address of the response signal, and Each control protocol corresponding to the identified category controls each of the power modules to supply power to the server. 如申請專利範圍第6項所述之自適應多種電源之伺服器,其中該管理控制模組更用以儲存該些已識別之類別至一已識別清單。The server of the adaptive multiple power supply of claim 6, wherein the management control module is further configured to store the identified categories to an identified list. 如申請專利範圍第6項所述之自適應多種電源之伺服器,其中該管理控制模組更用以於該伺服器運作中檢測到不屬於該些已識別之類別的一新電源模組時,向該些總線位址發送一偵測指令以請求該新電源模組回應,並依據有回應訊號的總線位址識別該新電源模組的類別,及 依據與該新電源模組之類別對應的控制協定控制該新電源模組供電給該伺服器。The server of the adaptive multiple power supply of claim 6, wherein the management control module is further configured to detect a new power module that does not belong to the identified categories during the operation of the server. Sending a detection command to the bus addresses to request the new power module to respond, and identifying the type of the new power module according to the bus address with the response signal, and The new power module is controlled to supply power to the server according to a control protocol corresponding to the category of the new power module. 如申請專利範圍第6項所述之自適應多種電源之伺服器,其中該管理控制模組更用以於無法識別該任一該電源模組之類別時,發出一關機指令,藉以中止該伺服器運作。The server of the adaptive multi-power supply according to the sixth aspect of the invention, wherein the management control module is further configured to issue a shutdown command when the category of the power module is not recognized, thereby suspending the servo The device works. 如申請專利範圍第6項所述之自適應多種電源之伺服器,其中該管理控制模組是向一該總線位址發送該偵測指令,並於一預定時間內沒有接收到由該總線位址傳回之回應訊號時,向尚未傳送過該偵測指令之另一該總線位址發送該偵測指令。The server for adapting multiple power sources as described in claim 6, wherein the management control module sends the detection command to a bus address, and does not receive the bus bit within a predetermined time. When the response signal is sent back, the detection command is sent to another bus address that has not transmitted the detection command.
TW102147305A 2013-12-19 2013-12-19 System for adapting plenty of powers and method thereof TWI492038B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102147305A TWI492038B (en) 2013-12-19 2013-12-19 System for adapting plenty of powers and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102147305A TWI492038B (en) 2013-12-19 2013-12-19 System for adapting plenty of powers and method thereof

Publications (2)

Publication Number Publication Date
TW201525672A TW201525672A (en) 2015-07-01
TWI492038B true TWI492038B (en) 2015-07-11

Family

ID=54151573

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102147305A TWI492038B (en) 2013-12-19 2013-12-19 System for adapting plenty of powers and method thereof

Country Status (1)

Country Link
TW (1) TWI492038B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070033438A1 (en) * 2005-08-03 2007-02-08 Wellsyn Technology, Inc. Method and system for controlling powers of a plurality of servers
US20110320827A1 (en) * 2010-06-24 2011-12-29 Siegman Craig S System and Method for Identifying Power Connections in Computer Systems Having Redundant Power Supplies
CN102739695A (en) * 2011-04-01 2012-10-17 硕天科技股份有限公司 Remote Control Method of Power Distribution Unit
TW201348938A (en) * 2012-05-18 2013-12-01 Hon Hai Prec Ind Co Ltd Power control system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070033438A1 (en) * 2005-08-03 2007-02-08 Wellsyn Technology, Inc. Method and system for controlling powers of a plurality of servers
US20110320827A1 (en) * 2010-06-24 2011-12-29 Siegman Craig S System and Method for Identifying Power Connections in Computer Systems Having Redundant Power Supplies
CN102739695A (en) * 2011-04-01 2012-10-17 硕天科技股份有限公司 Remote Control Method of Power Distribution Unit
TW201348938A (en) * 2012-05-18 2013-12-01 Hon Hai Prec Ind Co Ltd Power control system and method

Also Published As

Publication number Publication date
TW201525672A (en) 2015-07-01

Similar Documents

Publication Publication Date Title
US8656003B2 (en) Method for controlling rack system using RMC to determine type of node based on FRU's message when status of chassis is changed
TWI403884B (en) Rack server system
JP6663970B2 (en) System power management method and computer system
WO2013097241A1 (en) Method and device for processing when power is supplied by multiple sources
WO2010094170A1 (en) Method and apparatus for managing power supply and power supply system
CN103257514A (en) Communication device and control method for communication device
TW201118596A (en) Server management system
US9727104B2 (en) Various PSUs adaptive server and method
US10942555B2 (en) Power supplying method for computer system
CN108983922A (en) Working frequency adjusting method, device and server
US9275527B2 (en) Controller
CN101441589A (en) Detection method of baseboard management controller and server
CN110389637A (en) A kind of automatic setting method, BMC and the server of server radiating strategy
JP2006221641A (en) Control of cooling system for computer
CN111209241A (en) Management system of whole cabinet server
CN109408350A (en) It is a kind of to record the method for board resetting reason, controller and storage equipment
TW201423391A (en) Rack server system and test method of the same
CN103821746A (en) Fan monitoring method and sever system
CN102478938A (en) Server system
TWI492038B (en) System for adapting plenty of powers and method thereof
CN105468123A (en) Rack management controller, power management program update system and method
CN111324503B (en) Shelf management apparatus, method, and computer-readable storage medium
CN103133382A (en) Method capable of controlling fan rotating speed
CN109917900B (en) System power management method and computer system
CN102073574A (en) Server management system

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees