TWI839235B - Server motherboard with power detectiion function - Google Patents
Server motherboard with power detectiion function Download PDFInfo
- Publication number
- TWI839235B TWI839235B TW112119791A TW112119791A TWI839235B TW I839235 B TWI839235 B TW I839235B TW 112119791 A TW112119791 A TW 112119791A TW 112119791 A TW112119791 A TW 112119791A TW I839235 B TWI839235 B TW I839235B
- Authority
- TW
- Taiwan
- Prior art keywords
- power
- circuit
- electrically connected
- switch
- motherboard
- Prior art date
Links
- 238000006243 chemical reaction Methods 0.000 claims abstract description 9
- 238000001514 detection method Methods 0.000 claims description 53
- 239000003990 capacitor Substances 0.000 claims description 19
- 230000001105 regulatory effect Effects 0.000 claims description 2
- 230000002093 peripheral effect Effects 0.000 description 20
- 238000010586 diagram Methods 0.000 description 16
- 230000002159 abnormal effect Effects 0.000 description 14
- 230000006870 function Effects 0.000 description 11
- 238000003780 insertion Methods 0.000 description 4
- 230000037431 insertion Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 2
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 2
- 230000005669 field effect Effects 0.000 description 2
- 229910044991 metal oxide Inorganic materials 0.000 description 2
- 150000004706 metal oxides Chemical class 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 1
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- PCHJSUWPFVWCPO-UHFFFAOYSA-N gold Chemical compound [Au] PCHJSUWPFVWCPO-UHFFFAOYSA-N 0.000 description 1
- 239000010931 gold Substances 0.000 description 1
- 229910052737 gold Inorganic materials 0.000 description 1
Images
Abstract
Description
本案係有關於電源偵測技術,特別是有關於一種具有電源偵測功能之伺服器主機板。This case relates to power detection technology, and in particular to a server motherboard with power detection function.
EDSFF(Enterprise and Date-center SSD Form Factor)是一種固態硬碟的連接器規格標準。其中,符合ESDFF規格標準之裝置(以下簡稱為EDSFF裝置)適於伺服器系統或數據中心,以提供更多元的功能及支援度(例如熱插拔功能、支援PCIe Gen 4協定及PCIe Gen 5協定等)。EDSFF (Enterprise and Date-center SSD Form Factor) is a connector specification standard for solid-state drives. Devices that comply with the EDSFF specification standard (hereinafter referred to as EDSFF devices) are suitable for server systems or data centers to provide more diverse functions and support (such as hot-swap functions, support for PCIe Gen 4 and PCIe Gen 5 protocols, etc.).
然而,現有的EDSFF裝置之連接器(包含金手指及相對應之插槽)並不具有物理特性上的防呆機制。因此,若將現有的EDSFF裝置以錯誤的插設方向(例如旋轉180度)插設於伺服器系統中主機板之插槽上時,主機板之高位準電源引腳(例如12伏特)會與現有的EDSFF裝置之低位準電源引腳(例如接地)形成短路而導致主機板上之元件(例如電容器、晶片等)燒毀。However, the existing EDSFF device connector (including the gold finger and the corresponding slot) does not have a physical foolproof mechanism. Therefore, if the existing EDSFF device is inserted into the slot of the motherboard in the server system in the wrong insertion direction (for example, rotated 180 degrees), the high-level power pin of the motherboard (for example, 12 volts) will short-circuit with the low-level power pin of the existing EDSFF device (for example, ground) and cause the components on the motherboard (for example, capacitors, chips, etc.) to burn out.
為了解決上述問題,本案提出一種伺服器主機板。伺服器主機板包含一主板連接器,用以傳輸一供應電源至一外部裝置;一電源電路,用以產生供應電源、一待機電源及一類比偵測電源;一可編程邏輯電路,電性連接於電源電路,包含:一類比數位轉換模組,用以將類比偵測電源轉換為一數位工作電源;一比較模組,用以比較數位工作電源之電壓值及一比較閾值而產生一比較訊號;以及一判斷模組,用以根據比較訊號而產生相對應之一第一控制訊號;以及一開關電路,電性連接於主板連接器、電源電路及可編程邏輯電路,用以根據第一控制訊號而導通或關斷;其中,當開關電路導通時,主板連接器電性連接於電源電路;當開關電路關斷時,主板連接器與電源電路之間開路。In order to solve the above problems, this case proposes a server motherboard. The server motherboard includes a motherboard connector for transmitting a supply power to an external device; a power circuit for generating a supply power, a standby power and an analog detection power; a programmable logic circuit electrically connected to the power circuit, including: an analog-to-digital conversion module for converting the analog detection power into a digital working power; a comparison module for comparing the voltage value of the digital working power and a comparison threshold value. Generate a comparison signal; and a judgment module, used to generate a corresponding first control signal according to the comparison signal; and a switch circuit, electrically connected to the motherboard connector, the power circuit and the programmable logic circuit, used to turn on or off according to the first control signal; wherein, when the switch circuit is turned on, the motherboard connector is electrically connected to the power circuit; when the switch circuit is turned off, the circuit between the motherboard connector and the power circuit is open.
在一些實施例中,電源電路包含:一分壓電路,電性連接於可編程邏輯電路,用以將待機電源分壓為類比偵測電源;以及一穩壓器,電性連接於開關電路,用以將待機電源調節為供應電源。In some embodiments, the power circuit includes: a voltage divider circuit electrically connected to the programmable logic circuit for dividing the standby power into an analog detection power; and a voltage regulator electrically connected to the switch circuit for regulating the standby power into a supply power.
在一些實施例中,分壓電路包含:一第一電阻,第一電阻之一端電性連接於待機電源,第一電阻之另一端電性連接於可編程邏輯電路;以及一第二電阻,第二電阻之一端電性連接於電源電路及第一電阻之另一端,第二電阻之另一端接地。In some embodiments, the voltage divider circuit includes: a first resistor, one end of the first resistor is electrically connected to the standby power supply, and the other end of the first resistor is electrically connected to the programmable logic circuit; and a second resistor, one end of the second resistor is electrically connected to the power circuit and the other end of the first resistor, and the other end of the second resistor is grounded.
在一些實施例中,開關電路包含:一下拉電阻,下拉電阻之一端電性連接於可編程邏輯電路,下拉電阻之另一端接地,用以拉引第一控制訊號;以及一第一開關,第一開關之控制端電性連接於可編程邏輯電路,第一開關之輸出端電性連接於電源電路,第一開關之接地端電性連接於主板連接器,第一開關用以根據第一控制訊號而導通或關斷。In some embodiments, the switch circuit includes: a pull-down resistor, one end of the pull-down resistor is electrically connected to the programmable logic circuit, and the other end of the pull-down resistor is grounded, for pulling a first control signal; and a first switch, the control end of the first switch is electrically connected to the programmable logic circuit, the output end of the first switch is electrically connected to the power circuit, and the ground end of the first switch is electrically connected to the motherboard connector, and the first switch is used to turn on or off according to the first control signal.
在一些實施例中,伺服器主機板更包含一電容器,電容器之一端電性連接於電源電路及第一開關之輸出端,電容器之另一端接地,電容器用以濾除供應電源中的雜訊。In some embodiments, the server motherboard further includes a capacitor, one end of the capacitor is electrically connected to the power circuit and the output end of the first switch, and the other end of the capacitor is grounded. The capacitor is used to filter noise in the supply power.
在一些實施例中,開關電路包含:一下拉電阻,電性連接於可編程邏輯電路,用以拉引第一控制訊號;一上拉電阻,上拉電阻之一端電性連接於電源電路,用以拉引待機電源而產生一第二控制訊號;一第一開關,第一開關之控制端電性連接於可編程邏輯電路,第一開關之輸出端電性連接於上拉電阻之另一端,第一開關之接地端接地,第一開關用以根據第一控制訊號而導通或關斷,並於第一開關之輸出端輸出第二控制訊號;以及一第二開關,第二開關之控制端電性連接於第一開關之輸出端及上拉電阻之另一端,第二開關之輸出端電性連接於電源電路,第二開關之接地端電性連接於主板連接器,第二開關用以根據第二控制訊號而導通或關斷。In some embodiments, the switch circuit includes: a pull-down resistor electrically connected to the programmable logic circuit for pulling the first control signal; a pull-up resistor, one end of which is electrically connected to the power circuit for pulling the standby power to generate a second control signal; a first switch, the control end of which is electrically connected to the programmable logic circuit, the output end of which is electrically connected to the other end of the pull-up resistor, and the contact end of the first switch is electrically connected to the control end of the programmable logic circuit. The ground terminal is grounded, the first switch is used to turn on or off according to the first control signal, and the second control signal is output at the output terminal of the first switch; and a second switch, the control terminal of the second switch is electrically connected to the output terminal of the first switch and the other end of the pull-up resistor, the output terminal of the second switch is electrically connected to the power circuit, the ground terminal of the second switch is electrically connected to the motherboard connector, and the second switch is used to turn on or off according to the second control signal.
在一些實施例中,伺服器主機板更包含一電容器,電容器之一端電性連接於電源電路及第二開關之輸出端,電容器之另一端接地,電容器用以濾除供應電源中的雜訊。In some embodiments, the server motherboard further includes a capacitor, one end of which is electrically connected to the power circuit and the output end of the second switch, and the other end of the capacitor is grounded. The capacitor is used to filter noise in the power supply.
在一些實施例中,可編程邏輯電路更包含:一暫存模組,用以儲存對應於第一控制訊號之電壓值的一除錯數值;一儲存模組,用以儲存除錯數值;以及一控制模組,用以自暫存模組讀取除錯數值,以及用以將除錯數值寫入至儲存模組中。In some embodiments, the programmable logic circuit further includes: a temporary storage module for storing a debug value corresponding to the voltage value of the first control signal; a storage module for storing the debug value; and a control module for reading the debug value from the temporary storage module and writing the debug value to the storage module.
在一些實施例中,伺服器主機板更包含一基板管理控制電路,電性連接於可編程邏輯電路,用以讀取並儲存除錯數值。In some embodiments, the server motherboard further includes a baseboard management control circuit electrically connected to the programmable logic circuit for reading and storing debug values.
在一些實施例中,伺服器主機板更包含一發光電路,電性連接於可編程邏輯電路,用以根據第一控制訊號之電壓值發出相對應之一指示光線。In some embodiments, the server motherboard further includes a light-emitting circuit electrically connected to the programmable logic circuit for emitting an indicator light corresponding to the voltage value of the first control signal.
綜上所述,依據一些實施例,伺服器主機板係透過可編程邏輯電路偵測類比偵測電源之電壓值的變化,以判斷外部裝置是否以正確的插設方向插設於伺服器主機板之主板連接器上。當外部裝置以錯誤的插設方向插設於伺服器主機板之主板連接器上時,伺服器主機板係立即關斷開關電路以斷開電源電路與主板連接器之間的線路,進而避免電源電路所產生高位準之供應電源完全短路而導致伺服器主機板燒毀。In summary, according to some embodiments, the server motherboard detects the change of the voltage value of the analog detection power supply through a programmable logic circuit to determine whether the external device is plugged into the motherboard connector of the server motherboard in the correct plugging direction. When the external device is plugged into the motherboard connector of the server motherboard in the wrong plugging direction, the server motherboard immediately turns off the switch circuit to disconnect the line between the power circuit and the motherboard connector, thereby preventing the high-level supply power generated by the power circuit from being completely short-circuited and causing the server motherboard to burn out.
請參照圖1,圖1是依據本案之伺服器主機板10之第一實施例的模組方塊圖。伺服器主機板10包含一主板連接器100、一電源電路110、包含一類比數位轉換模組121、一比較模組122以及一判斷模組123之一可編程邏輯電路120以及一開關電路130。其中,可編程邏輯電路120電性連接於電源電路110,並且開關電路130電性連接於主板連接器100、電源電路110及可編程邏輯電路120。Please refer to FIG. 1, which is a module block diagram of a first embodiment of a
請參照圖2及圖3A,圖2是圖1中本案之伺服器主機板10電性連接於外部裝置20之第一實施例的示意圖,並且圖3A是圖1中伺服器主機板10電性連接於外部裝置20之第二實施例的示意圖。其中,主板連接器100包含複數引腳101~10N,並且外部裝置20之周邊連接器200亦包含複數引腳201~20N(N為一正整數)。因此,外部裝置20係可透過周邊連接器200插設於伺服器主機板10之主板連接器100上。Please refer to FIG. 2 and FIG. 3A. FIG. 2 is a schematic diagram of a first embodiment of the
在一些實施例中,主板連接器100及周邊連接器200皆符合EDSFF之規格標準,但不以此為限,只要外部裝置20的周邊連接器200可以兩種方向插設於伺服器主機板10的主板連接器100上即可。其中,兩種方向包含一正確方向(如圖2所示)及一錯誤方向(如圖3A所示)。In some embodiments, both the
主板連接器100用以傳輸/接收通信訊號,例如符合I2C、UART等介面的信號。其中,主板連接器100還用以傳輸一供應電源VSP至外部裝置20。並且,主板連接器100上的每一個引腳之功能不完全相同。當主板連接器100以正確方向電性連接於周邊連接器200時,主板連接器100上的各引腳皆分別對應於周邊連接器200上的各引腳。在一些實施例中,供應電源VSP包含一常態偵測電源VN及一異態偵測電源VAN。其中,主板連接器100之引腳101用以傳輸常態偵測電源VN,並且主板連接器100之引腳10N用以傳輸異態偵測電源VAN。The
在一些實施例中,常態偵測電源VN之電壓值為一高位準(例如但不限於24伏特或12伏特,以下以12伏特為例),並且異態偵測電源VAN之電壓值為一低位準(例如但不限於0.3伏特、0.1伏特或0伏特等接地訊號,以下以0伏特為例)。在另一些實施例中,主板連接器100之引腳101用以傳輸異態偵測電源VAN,並且主板連接器100之引腳10N用以傳輸常態偵測電源VN。In some embodiments, the voltage value of the normal detection power VN is a high level (for example, but not limited to 24 volts or 12 volts, hereinafter 12 volts is taken as an example), and the voltage value of the abnormal detection power VAN is a low level (for example, but not limited to 0.3 volts, 0.1 volts or 0 volts, etc., ground signals, hereinafter 0 volts is taken as an example). In other embodiments, the
在一些實施例中,周邊連接器200之引腳201亦為用以傳輸常態偵測電源VN之引腳,並且周邊連接器200之引腳20N亦為用以傳輸異態偵測電源VAN之引腳。在另一些實施例中,周邊連接器200之引腳201用以傳輸異態偵測電源VAN,並且周邊連接器200之引腳20N用以傳輸常態偵測電源VN。In some embodiments,
在一些實施例中,當主板連接器100以正確方向插設,此時主板連接器100之引腳101對應於同樣用來傳輸常態偵測電源VN的周邊連接器200之引腳201、主板連接器100之引腳102對應於周邊連接器200之引腳202、…、並且主板連接器100之引腳10N對應於同樣用來傳輸異態偵測電源VAN的周邊連接器200之引腳20N。因此,當外部裝置20以正確方向插設於伺服器主機板10上時(如圖2所示),主板連接器100之所有引腳皆正確地對應於具有相同功能或屬性的周邊連接器200之所有引腳,使得伺服器主機板10及外部裝置20皆可正常運作。In some embodiments, when the
反之,當外部裝置20以錯誤方向插設於伺服器主機板10上時(如圖3A所示),主板連接器100之部分引腳錯誤地電性連接於周邊連接器200之部分引腳。換言之,主板連接器100之部分引腳電性連接周邊連接器200具有相異功能或屬性的部分引腳,使得伺服器主機板10及外部裝置20無法正常運作。並且,伺服器主機板10中用以傳輸高位準之常態偵測電源VN的引腳101會與外部裝置20中用以傳輸低位準之異態偵測電源VAN的引腳20N形成短路而可能導致伺服器主機板10燒毀。On the contrary, when the
以下將以一實施例來說明當外部裝置20以錯誤方向插設於伺服器主機板10上時所產生的問題。請參照圖3B,圖3B是圖3A中本案之伺服器主機板10電性連接於外部裝置20之一示範態樣的示意圖。在本實施例中,伺服器主機板10之主板連接器100包含六個引腳101~106,並且外部裝置20之周邊連接器200亦包含六個引腳201~206。其中,引腳101、102、105、201~202、205用以傳輸高位準之常態偵測電源VN,並且引腳103、104、106、203~204、206用以傳輸低位準之異態偵測電源VAN。The following will use an embodiment to illustrate the problem that occurs when the
當圖3B所示之外部裝置20以錯誤方向插設於伺服器主機板10上時,引腳101係電性連接於引腳206、引腳102係電性連接於引腳205、…、並且引腳106係電性連接於引腳201。其中,由於引腳101與引腳206各自之功能不同,引腳101與引腳206之間係形成短路而可能導致伺服器主機板10與外部裝置20溝通異常,甚至導致伺服器主機板10燒毀。同理,由於引腳106與引腳201各自之功能不同,引腳106與引腳201之間係形成短路而可能導致伺服器主機板10與外部裝置20溝通異常,甚至導致伺服器主機板10燒毀。When the
請參照圖1至圖4,圖4是圖1中描述本案之伺服器主機板10之一些實施例的運作流程圖。在本實施例開始執行之前,外部裝置20係先插設於伺服器主機板10上。其中,以下將以正確方向為正確的插設方向,並且以錯誤方向為錯誤的插設方向為例來說明伺服器主機板10之運作流程。當伺服器主機板10所外接之一電源供應器上電而提供電力給伺服器主機板10,並且不論伺服器主機板10之基本輸入輸出系統(BIOS)或作業系統(OS)是否啟動運作時,伺服器主機板10之電源電路110係產生一供應電源VSP、一待機電源VSB及一類比偵測電源VAD(步驟S100)。其中,供應電源VSP用以提供外部裝置20所需的基本電源(例如常態偵測電源VN及異態偵測電源VAN),並且待機電源VSB用以提供伺服器主機板10中各裝置於待機時所需的基本電源。在一些實施例中,由於供應電源VSP、待機電源VSB及類比偵測電源VAD皆由電源電路110所產生,因此供應電源VSP、待機電源VSB及類比偵測電源VAD各自的電壓值係彼此相關且相互影響(相關論述將於後說明)。Please refer to FIG. 1 to FIG. 4 , FIG. 4 is an operation flow chart of some embodiments of the
在一些實施例中,當系統尚未開機而處於待機狀態時,待機電源VSB係用以提供電源給伺服器主機板10中仍在運作的元件,並且類比偵測電源VAD係用以提供電源給伺服器主機板10以偵測伺服器主機板10與外部裝置20之間的插置狀態。其中,由於類比偵測電源VAD之電壓值相關於常態偵測電源VN之電壓值,因此可編程邏輯電路120係可透過類比偵測電源VAD判斷伺服器主機板10與外部裝置20之間的插置狀態。In some embodiments, when the system is not powered on and is in a standby state, the standby power VSB is used to provide power to the components in the
此外,當伺服器主機板10所外接之此電源供應器上電而提供電力給伺服器主機板10時,伺服器主機板10之開關電路130係預設為導通狀態。因此,電源電路110係電性連接於主板連接器100,並透過主板連接器100將供應電源VSP傳輸至外部裝置20。In addition, when the power supply external to the
接續步驟S100,可編程邏輯電路120之類比數位轉換模組121係將類比偵測電源VAD轉換為一數位工作電源VDC(步驟S110)。隨後,可編程邏輯電路120之比較模組122係比較數位工作電源VDC之電壓值及一比較閾值而產生一比較訊號Scp(步驟S120)。其中,此比較閾值可為一預設電壓值或一預設電壓範圍。Following step S100, the analog-to-
在一些實施例中,假設此比較閾值為此預設電壓值,並且此預設電壓值例如為3伏特或12伏特,不以此為限。當數位工作電源VDC之電壓值符合此比較閾值時(例如當數位工作電源VDC之電壓值高於此比較閾值時),比較模組122所產生之比較訊號Scp之電壓值為代表「符合」的比較結果之電壓值(例如一第一特定參數值)。反之,當數位工作電源VDC之電壓值不符合此比較閾值時(例如當數位工作電源VDC之電壓值低於此比較閾值時),比較模組122所產生之比較訊號Scp之電壓值為代表「不符合」的比較結果之電壓值(例如一第二特定參數值)。In some embodiments, it is assumed that the comparison threshold is the preset voltage value, and the preset voltage value is, for example, 3 volts or 12 volts, but is not limited thereto. When the voltage value of the digital working power source VDC meets the comparison threshold value (for example, when the voltage value of the digital working power source VDC is higher than the comparison threshold value), the voltage value of the comparison signal Scp generated by the
在一些實施例中,此第一特定參數值與此第二特定參數值之間彼此相異以分別代表「符合」及「不符合」的比較結果。其中,當此第一特定參數值為一高位準時,此第二特定參數值為一低位準;當此第一特定參數值為一低位準時,此第二特定參數值為一高位準。In some embodiments, the first specific parameter value and the second specific parameter value are different from each other to represent the comparison results of "matching" and "not matching", respectively. When the first specific parameter value is a high level, the second specific parameter value is a low level; when the first specific parameter value is a low level, the second specific parameter value is a high level.
在一些實施例中,假設此比較閾值為此預設電壓範圍,並且此預設電壓範圍例如為2.5伏特至3.5伏特或11.5伏特至15伏特,不以此為限。當數位工作電源VDC之電壓值落入此比較閾值之範圍中時,比較模組122所產生之比較訊號Scp之電壓值為代表「符合」的比較結果之電壓值(例如前述之第一特定參數值)。反之,當數位工作電源VDC之電壓值未落入此比較閾值之範圍中時,比較模組122所產生之比較訊號Scp之電壓值為代表「不符合」的比較結果之電壓值(例如前述之第二特定參數值)。In some embodiments, it is assumed that the comparison threshold is the preset voltage range, and the preset voltage range is, for example, 2.5 volts to 3.5 volts or 11.5 volts to 15 volts, but is not limited thereto. When the voltage value of the digital working power source VDC falls within the range of the comparison threshold, the voltage value of the comparison signal Scp generated by the
為方便說明,以下將以一高位準來代表「符合」的比較結果之電壓值,並且以一低位準來代表「不符合」的比較結果之電壓值。需注意的是,此設定並非本發明之限制。For the sake of convenience, the following will use a high level to represent the voltage value of the comparison result of "matching", and a low level to represent the voltage value of the comparison result of "not matching". It should be noted that this setting is not a limitation of the present invention.
接續步驟S120,可編程邏輯電路120之判斷模組123係判斷比較訊號Scp之電壓值是否為代表「符合」的比較結果之電壓值(步驟S130),並且根據比較訊號Scp之電壓值而產生相對應之一第一控制訊號Sc1。其中,當比較訊號Scp之電壓值為代表「符合」之一高位準時,判斷模組123係產生代表「通過」之第一控制訊號Sc1以控制開關電路130導通(步驟S140),使得主板連接器100電性連接於電源電路110。當比較訊號Scp之電壓值為代表「不符合」之一低位準時,判斷模組123係產生代表「不通過」之第一控制訊號Sc1以控制開關電路130關斷(步驟S150),使得主板連接器100與電源電路110之間開路(Open)。Following step S120, the
在一些實施例中,代表「通過」之第一控制訊號Sc1之電壓值相異於代表「不通過」之第一控制訊號Sc1。其中,當代表「通過」之第一控制訊號Sc1之電壓值為一高位準時,代表「不通過」之第一控制訊號Sc1之電壓值1為一低位準;當代表「通過」之第一控制訊號Sc1之電壓值為一低位準時,代表「不通過」之第一控制訊號Sc1之電壓值為一高位準。In some embodiments, the voltage value of the first control signal Sc1 representing "pass" is different from that of the first control signal Sc1 representing "fail". When the voltage value of the first control signal Sc1 representing "pass" is high, the voltage value of the first control signal Sc1 representing "fail" is low; when the voltage value of the first control signal Sc1 representing "pass" is low, the voltage value of the first control signal Sc1 representing "fail" is high.
當外部裝置20以正確的插設方向(如圖2所示)插設於伺服器主機板10上時,伺服器主機板10之主板連接器100中用以傳輸常態偵測電源VN的引腳101係電性連接於外部裝置20之周邊連接器200中用以傳輸常態偵測電源VN的引腳201。其中,引腳101及引腳201係共同傳輸供應電源VSP以作為常態偵測電源VN,使得伺服器主機板10及外部裝置20皆可正常運作。因此,開關電路130係維持導通狀態(對應於步驟S140),使得電源電路110得以提供供應電源VSP給外部裝置20。When the
當外部裝置20以錯誤的插設方向(如圖3A所示)插設於伺服器主機板10上時,伺服器主機板10之主板連接器100中用以傳輸常態偵測電源VN的引腳101係電性連接於外部裝置20之周邊連接器200中用以傳輸異態偵測電源VAN的引腳20N。此時,常態偵測電源VN之電壓值係受到引腳101與引腳20N短路的影響而下降,進而導致相關於常態偵測電源VN之類比偵測電源VAD之電壓值亦隨之下降。因此,當可編程邏輯電路120判斷數位工作電源VDC(對應於類比偵測電源VAD)之值不符合比較閾值時,可編程邏輯電路120係產生代表「不通過」之第一控制訊號Sc1以關斷開關電路130,進而避免供應電源VSP之電壓值繼續下降。When the
請參照圖5,圖5是圖1中本案之開關電路130之第一實施例的電路示意圖。在一些實施例中,開關電路130包含一下拉電阻Rp1以及一第一開關Q1。其中,下拉電阻Rp1之一端電性連接於可編程邏輯電路120,並且下拉電阻Rp1之另一端接地。第一開關Q1之控制端G1電性連接於可編程邏輯電路120,第一開關Q1之輸出端D1電性連接於電源電路110,並且第一開關Q1之接地端S1電性連接於主板連接器100。Please refer to FIG. 5 , which is a circuit diagram of a first embodiment of the
在一些實施例中,下拉電阻Rp1用以拉引第一控制訊號Sc1,並且第一開關Q1用以根據第一控制訊號Sc1而導通或關斷。其中,當第一控制訊號Sc1之電壓值為高位準時,第一開關Q1係導通而使得主板連接器100電性連接於電源電路110。當第一控制訊號Sc1之電壓值為低位準時,第一開關Q1係關斷而使得主板連接器100與電源電路110之間開路。In some embodiments, the pull-down resistor Rp1 is used to pull the first control signal Sc1, and the first switch Q1 is used to turn on or off according to the first control signal Sc1. When the voltage value of the first control signal Sc1 is high, the first switch Q1 is turned on so that the
請參照圖6,圖6是圖1中本案之開關電路130之第二實施例的電路示意圖。在一些實施例中,開關電路130包含一下拉電阻Rp1、一上拉電阻Rp2、一第一開關Q1以及一第二開關Q2。其中,下拉電阻Rp1之一端電性連接於可編程邏輯電路120,並且下拉電阻Rp1之另一端接地。上拉電阻Rp2之一端電性連接於電源電路110。第一開關Q1之控制端G1電性連接於可編程邏輯電路120,第一開關Q1之輸出端D1電性連接於上拉電阻Rp2之另一端,並且第一開關Q1之接地端S1接地。第二開關Q2之控制端G2電性連接於第一開關Q1之輸出端D1及上拉電阻Rp2之另一端,第二開關Q2之輸出端S2電性連接於電源電路110,第二開關Q2之接地端D2電性連接於主板連接器100。Please refer to FIG. 6 , which is a circuit diagram of a second embodiment of the
在一些實施例中,下拉電阻Rp1用以拉引第一控制訊號Sc1,並且上拉電阻Rp2用以拉引待機電源VSB而產生一第二控制訊號Sc2。第一開關Q1用以根據第一控制訊號Sc1而導通或關斷,並於第一開關Q1之輸出端D1輸出第二控制訊號Sc2。第二開關Q2用以根據第二控制訊號Sc2而導通或關斷。其中,當第一控制訊號Sc1之電壓值為高位準時,第一開關Q1係導通而使得第一開關Q1之輸出端D1接地,進而使第二控制訊號Sc2之電壓值下降至低位準。因此,第二開關Q2係根據低位準之第二控制訊號Sc2而導通,進而使主板連接器100電性連接於電源電路110。In some embodiments, the pull-down resistor Rp1 is used to pull the first control signal Sc1, and the pull-up resistor Rp2 is used to pull the standby power VSB to generate a second control signal Sc2. The first switch Q1 is used to turn on or off according to the first control signal Sc1, and output the second control signal Sc2 at the output terminal D1 of the first switch Q1. The second switch Q2 is used to turn on or off according to the second control signal Sc2. When the voltage value of the first control signal Sc1 is high, the first switch Q1 is turned on and the output terminal D1 of the first switch Q1 is grounded, thereby causing the voltage value of the second control signal Sc2 to drop to a low level. Therefore, the second switch Q2 is turned on according to the low-level second control signal Sc2, thereby electrically connecting the
當第一控制訊號Sc1之電壓值為低位準時,第一開關Q1係關斷而使得第一開關Q1之輸出端D1電性連接於電源電路110,進而使第二控制訊號Sc2之電壓值上升至高位準。因此,第二開關Q2係根據高位準之第二控制訊號Sc2而關斷,進而使主板連接器100與電源電路110之間開路。When the voltage value of the first control signal Sc1 is low, the first switch Q1 is turned off, so that the output terminal D1 of the first switch Q1 is electrically connected to the
在一些實施例中,第一開關Q1為N型金氧半場效電晶體(NMOS),並且第二開關Q2為P型金氧半場效電晶體(PMOS)。其中,第一開關Q1之控制端G1對應於NMOS之閘極(Gate),第一開關Q1之輸出端D1對應於NMOS之汲極(Drain),並且第一開關Q1之接地端S1對應於NMOS之源極(Source)。第二開關Q2之控制端G2對應於PMOS之閘極,第二開關Q2之輸出端S2對應於PMOS之源極,並且第二開關Q2之接地端D2對應於PMOS之汲極。In some embodiments, the first switch Q1 is an N-type metal oxide semiconductor field effect transistor (NMOS), and the second switch Q2 is a P-type metal oxide semiconductor field effect transistor (PMOS). The control terminal G1 of the first switch Q1 corresponds to the gate of the NMOS, the output terminal D1 of the first switch Q1 corresponds to the drain of the NMOS, and the ground terminal S1 of the first switch Q1 corresponds to the source of the NMOS. The control terminal G2 of the second switch Q2 corresponds to the gate of the PMOS, the output terminal S2 of the second switch Q2 corresponds to the source of the PMOS, and the ground terminal D2 of the second switch Q2 corresponds to the drain of the PMOS.
在一些實施例中,伺服器主機板10更包含一電容器C1。其中,電容器C1係用以濾除供應電源VSP中的雜訊。以圖5為例,在本實施例中,電容器C1之一端電性連接於電源電路110及第一開關Q1之輸出端D1,並且電容器C1之另一端接地。又以圖6為例,在本實施例中,電容器C1之一端電性連接於電源電路110及第二開關Q2之輸出端S2,並且電容器C1之另一端接地。In some embodiments, the
請參照圖7,圖7是本案之伺服器主機板10之第二實施例的模組方塊圖。在一些實施例中,電源電路110更包含一分壓電路111以及一穩壓器(Voltage regulator)112。其中,分壓電路111電性連接於可編程邏輯電路120,並且穩壓器112電性連接於開關電路130。Please refer to FIG. 7 , which is a module block diagram of the second embodiment of the
請參照圖8,圖8是圖7中本案之分壓電路111之一些實施例的電路示意圖。在一些實施例中,分壓電路111包含一第一電阻R1以及一第二電阻R2。其中,第一電阻R1之一端電性連接於電源電路110,第一電阻R1之另一端電性連接於可編程邏輯電路120。第二電阻R2之一端電性連接於可編程邏輯電路120及第一電阻R1之另一端,第二電阻R2之另一端接地。Please refer to FIG. 8, which is a circuit diagram of some embodiments of the
請參照圖9,圖9是圖7中本案之伺服器主機板經過圖4中步驟S100處理後之一些實施例的運作流程圖。在一些實施例中,於步驟S100之後,分壓電路111係將待機電源VSB分壓為類比偵測電源VAD(步驟S105)。其中,待機電源VSB之電壓值為一高位準,例如但不限於12伏特、24伏特或48伏特等。並且,分壓電路111之第一電阻R1及第二電阻R2係將高位準之待機電源VSB分壓為一中位準(例如為3.3伏特或5伏特)之類比偵測電源VAD。由於可編程邏輯電路120無法負荷高位準之待機電源VSB,因此伺服器主機板10需要先透過分壓電路111將高位準之待機電源VSB分壓為中位準之類比偵測電源VAD,可編程邏輯電路120方能正常運作而不會燒毀。Please refer to FIG. 9, which is an operation flow chart of some embodiments of the server motherboard of the present case in FIG. 7 after being processed in step S100 in FIG. 4. In some embodiments, after step S100, the
在一些實施例中,穩壓器112用以將待機電源VSB調節為供應電源VSP。由於電源電路110所直接產生之供應電源VSP可能包含有雜訊,並且此雜訊會導致一些實施例之高精密度的外部裝置20產生問題而損壞。因此,穩壓器112係用以濾除待機電源VSB中的雜訊而產生供應電源VSP,使得電源電路110提供穩定且乾淨的供應電源VSP給外部裝置20。In some embodiments, the
在一些實施例中,可編程邏輯電路120更包含一暫存模組124、一儲存模組125以及一控制模組126,並且伺服器主機板10更包含一基板管理控制器(Baseboard Management Controller,BMC)140。請參照圖1至圖10,圖10是圖1或圖7中伺服器主機板10經過圖4中步驟S150處理後之一些實施例的運作流程圖。其中,基板管理控制器140電性連接於可編程邏輯電路120。接續步驟S150,當開關電路130被關斷時,代表比較訊號Scp之電壓值為低位準,此時可編程邏輯電路120之暫存模組124係儲存對應於低位準之比較訊號Scp的一除錯數值Vdb(步驟S160)。其中,當比較訊號Scp之電壓值為低位準時,除錯數值Vdb為1。In some embodiments, the
接續步驟S160,可編程邏輯電路120之控制模組126係讀取除錯數值Vdb,並將除錯數值Vdb寫入至可編程邏輯電路120之儲存模組125中(步驟S170)。最後,接續步驟S170,伺服器主機板10之基板管理控制器140係讀取並儲存除錯數值Vdb(步驟S180)。Following step S160, the
在一些實施例中,當電源電路110停止供應待機電源VSB至可編程邏輯電路120時(例如伺服器主機板10關機或斷電),儲存於暫存模組124中的數據係會消失,而儲存於儲存模組125中的數據並不會消失。因此,控制模組126係將除錯數值Vdb備份至儲存模組125中,以避免除錯數值Vdb消失而無法得知外部裝置20曾以錯誤的插設方向插設於伺服器主機板10上。此外,在一些實施例中,基板管理控制器140係可進一步將除錯數值Vdb儲存為一記錄檔(Log file),以確保此錯誤記錄有被儲存下來,進而提供使用者進行除錯。In some embodiments, when the
在一些實施例中,伺服器主機板10更包含一發光電路150。其中,發光電路150電性連接於可編程邏輯電路120。發光電路150用以根據第一控制訊號Sc1之電壓值發出相對應之一指示光線。其中,當第一控制訊號Sc1之電壓值為高位準時,代表外部裝置20係以正確的插設方向插設於伺服器主機板10上,此時發光電路150不會發出任何光線。當第一控制訊號Sc1之電壓值為低位準時,代表外部裝置20係以錯誤的插設方向插設於伺服器主機板10上,此時發光電路150會以一固定頻率持續發出光線以指示伺服器主機板10出現錯誤。此時,使用者需要將伺服器主機板10關機或斷電,並以正確的插設方向重新將外部裝置20插設於伺服器主機板10上,方能解除發光電路150之運作。在一些實施例中,發光電路150為具有發光功能之裝置,例如但不限於LED指示燈、螢光燈或白熾燈。In some embodiments, the
在一些實施例中,可編程邏輯電路120是具有韌體編程功能的裝置,例如但不限於複雜可編程邏輯裝置(Complex Programmable Logic Device,CPLD)或現場可編程邏輯閘陣列(Field Programmable Gate Array,FPGA)。換言之,可編程邏輯電路120中各裝置(包含類比數位轉換模組121、比較模組122、判斷模組123、暫存模組124、儲存模組125及控制模組126)之功能係由燒錄至可編程邏輯電路120中的韌體所實現。In some embodiments, the
在一些實施例中,由於可編程邏輯電路120中各裝置係由韌體所實現,可編程邏輯電路120之工作週期(例如為1奈秒)係遠小於電源電路110之工作週期(例如為1毫秒)。換言之,可編程邏輯電路120之運作速度係遠快於電源電路110之運作速度。因此,可編程邏輯電路120係可於供應電源VSP完全短路之前將開關電路130關斷,以避免伺服器主機板10燒毀。In some embodiments, since each device in the
綜上所述,依據一些實施例,伺服器主機板係透過可編程邏輯電路偵測類比偵測電源之電壓值的變化,以判斷外部裝置是否以正確的插設方向插設於伺服器主機板之主板連接器上。當外部裝置以錯誤的插設方向插設於伺服器主機板之主板連接器上時,伺服器主機板係立即關斷開關電路以斷開電源電路與主板連接器之間的線路,進而避免電源電路所產生高位準之供應電源完全短路而導致伺服器主機板燒毀。In summary, according to some embodiments, the server motherboard detects the change of the voltage value of the analog detection power supply through a programmable logic circuit to determine whether the external device is plugged into the motherboard connector of the server motherboard in the correct plugging direction. When the external device is plugged into the motherboard connector of the server motherboard in the wrong plugging direction, the server motherboard immediately turns off the switch circuit to disconnect the line between the power circuit and the motherboard connector, thereby preventing the high-level supply power generated by the power circuit from being completely short-circuited and causing the server motherboard to burn out.
雖然本案已以實施例揭露如上,然其並非用以限定本案之創作,任何所屬技術領域中具有通常知識者,在不脫離本揭露內容之精神和範圍內,當可作些許之修改與變化,惟該些許之修改與變化仍然在本案之申請專利範圍內。Although the present invention has been disclosed as above by way of embodiments, it is not intended to limit the invention of the present invention. Anyone with ordinary knowledge in the relevant technical field may make some modifications and changes without departing from the spirit and scope of the present disclosure. However, such modifications and changes are still within the scope of the patent application of the present invention.
10:伺服器主機板
100:主板連接器
101, 102, 10N:引腳
110:電源電路
111:分壓電路
112:穩壓器
120:可編程邏輯電路
121:類比數位轉換模組
122:比較模組
123:判斷模組
124:暫存模組
125:儲存模組
126:控制模組
130:開關電路
140:基板管理控制電路
150:發光電路
20:外部裝置
200:周邊連接器
201, 202, 20(N-1), 20N:引腳
C1:電容器
D1:輸出端
D2:接地端
G1:控制端
G2:控制端
Q1:第一開關
Q2:第二開關
R1:第一電阻
R2:第二電阻
Rp1:下拉電阻
Rp2:上拉電阻
S1:接地端
S2:輸出端
S100~S180, S105:步驟
Sc1:第一控制訊號
Sc2:第二控制訊號
Scp:比較訊號
Vdb:除錯數值
VAD:類比偵測電源
VAN:異態偵測電源
VDC:數位工作電源
VN:常態偵測電源
VSB:待機電源
VSP:供應電源
10: Server motherboard
100:
圖1是本案之伺服器主機板之第一實施例的模組方塊圖。 圖2是圖1中本案之伺服器主機板電性連接於外部裝置之第一實施例的示意圖。 圖3A是圖1中本案之伺服器主機板電性連接於外部裝置之第二實施例的示意圖。 圖3B是圖3A中本案之伺服器主機板電性連接於外部裝置之一示範態樣的示意圖。 圖4是圖1中本案之伺服器主機板之一些實施例的運作流程圖。 圖5是圖1中本案之開關電路之第一實施例的電路示意圖。 圖6是圖1中本案之開關電路之第二實施例的電路示意圖。 圖7是本案之伺服器主機板之第二實施例的模組方塊圖。 圖8是圖7中本案之分壓電路之一些實施例的電路示意圖。 圖9是圖7中本案之伺服器主機板經過圖4中步驟S100處理後之一些實施例的運作流程圖。 圖10是圖1或圖7中本案之伺服器主機板經過圖4中步驟S150處理後之一些實施例的運作流程圖。 FIG. 1 is a module block diagram of a first embodiment of a server motherboard of the present invention. FIG. 2 is a schematic diagram of a first embodiment of a server motherboard of the present invention in FIG. 1 being electrically connected to an external device. FIG. 3A is a schematic diagram of a second embodiment of a server motherboard of the present invention in FIG. 1 being electrically connected to an external device. FIG. 3B is a schematic diagram of a sample state of a server motherboard of the present invention in FIG. 3A being electrically connected to an external device. FIG. 4 is an operation flow chart of some embodiments of the server motherboard of the present invention in FIG. 1. FIG. 5 is a circuit diagram of a first embodiment of a switch circuit of the present invention in FIG. 1. FIG. 6 is a circuit diagram of a second embodiment of a switch circuit of the present invention in FIG. 1. FIG. 7 is a module block diagram of a second embodiment of a server motherboard of the present invention. FIG8 is a circuit diagram of some embodiments of the voltage divider circuit in FIG7. FIG9 is an operation flow chart of some embodiments of the server motherboard in FIG7 after being processed in step S100 in FIG4. FIG10 is an operation flow chart of some embodiments of the server motherboard in FIG1 or FIG7 after being processed in step S150 in FIG4.
10:伺服器主機板 10: Server motherboard
100:主板連接器 100: Motherboard connector
110:電源電路 110: Power circuit
120:可編程邏輯電路 120: Programmable logic circuit
121:類比數位轉換模組 121: Analog-to-digital conversion module
122:比較模組 122: Comparison module
123:判斷模組 123: Judgment module
124:暫存模組 124: Temporary module
125:儲存模組 125: Storage module
126:控制模組 126: Control module
130:開關電路 130: Switching circuit
140:基板管理控制電路 140: Baseboard management control circuit
150:發光電路 150: Luminescent circuit
Sc1:第一控制訊號 Sc1: First control signal
Scp:比較訊號 Scp: Comparison signal
VAD:類比偵測電源 VAD: Analog Detector Power
Vdb:除錯數值 Vdb:debug value
VDC:數位工作電源 VDC: Digital working power supply
VSB:待機電源 VSB: Standby power
VSP:供應電源 VSP: Power supply
Claims (9)
Publications (1)
Publication Number | Publication Date |
---|---|
TWI839235B true TWI839235B (en) | 2024-04-11 |
Family
ID=
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20190179353A1 (en) | 2017-12-12 | 2019-06-13 | Boe Technology Group Co., Ltd. | Voltage control circuit and method, panel and display apparatus |
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20190179353A1 (en) | 2017-12-12 | 2019-06-13 | Boe Technology Group Co., Ltd. | Voltage control circuit and method, panel and display apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7295051B2 (en) | System and method for monitoring a power supply level | |
US7368960B2 (en) | Circuit and method for monitoring the integrity of a power supply | |
US7839026B2 (en) | Power discharge control system | |
US8010724B2 (en) | 12C/SMBus ladders and ladder enabled ICs | |
TWI410793B (en) | Computer, and method for error-detecting and booting of bios thereof | |
JP4988671B2 (en) | Serial bus system and hang-up slave reset method | |
US9946329B2 (en) | Electronic apparatus | |
TW201327123A (en) | Circuit for starting up plural electronic devices in an orderly manner | |
US10332600B2 (en) | Chip programming device and protecting method thereof | |
US7354278B2 (en) | Recovery apparatus for BIOS chip in a computer system | |
TWI839235B (en) | Server motherboard with power detectiion function | |
TWI451235B (en) | Connecting module for coupling output ends of a host device to an external storage device and coupling method thereof | |
US7216241B2 (en) | Self-testing power supply which indicates when an output voltage is within tolerance while not coupled to an external load | |
TWI410787B (en) | Power control unit | |
CN115391260A (en) | PCIe bandwidth configuration device, method, server and readable storage medium | |
TWI798721B (en) | Boot control circuit of computer system | |
TW202338380A (en) | Board card detection and controlling circuit, method and server system | |
US8713392B2 (en) | Circuitry testing module and circuitry testing device | |
TWI401854B (en) | A protection circuit | |
TWI583979B (en) | Detection device, detection method and electronic apparatus | |
TWI530801B (en) | Electronic device | |
TWI844847B (en) | Power protection circuit | |
TWI789265B (en) | Over-voltage protection device, memory storage device and over-voltage protection method | |
CN111142916B (en) | Configuration device and method of flash memory | |
TW202422356A (en) | Electronic device with m.2 connector compatible with two communication modules and compatible method and computer-implemented method thereof |