TW202210997A - Computer apparatus and power gating circuit - Google Patents

Computer apparatus and power gating circuit Download PDF

Info

Publication number
TW202210997A
TW202210997A TW109130196A TW109130196A TW202210997A TW 202210997 A TW202210997 A TW 202210997A TW 109130196 A TW109130196 A TW 109130196A TW 109130196 A TW109130196 A TW 109130196A TW 202210997 A TW202210997 A TW 202210997A
Authority
TW
Taiwan
Prior art keywords
node
type transistor
power gating
signal
gating circuit
Prior art date
Application number
TW109130196A
Other languages
Chinese (zh)
Other versions
TWI740632B (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 TW109130196A priority Critical patent/TWI740632B/en
Application granted granted Critical
Publication of TWI740632B publication Critical patent/TWI740632B/en
Publication of TW202210997A publication Critical patent/TW202210997A/en

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

A computer apparatus is provided. The computer apparatus includes a central processing unit (CPU); a peripheral component interface (PCI) slot, configured to determine whether an adapter card is inserted into the PCI slot to generate an insertion-state determination signal; a platform controller hub (PCH), electrically connected to the CPU and the PCI slot; a bridge circuit, configured to convert a first bus signal from the PCH to a second bus signal, and transmit the second bus signal to the PCI slot; and a power-gating circuit, electrically connected to the PCI slot, configured to determine whether to provide power to the bridge circuit according to the insertion-state determination signal.

Description

電腦裝置及電源閘控電路Computer device and power gating circuit

本發明係有關於電源控制,特別是有關於一種電腦裝置及電源閘控電路。The present invention relates to power control, in particular to a computer device and a power gating circuit.

現今的節能標準對於個人電腦的能源消耗的規範愈來愈嚴格,例如能源之星(Energy Star)8.0以及加州能源委員會(California Energy Commission,CEC)第一階段(tier 1)及第二階段(tier 2)。儘管周邊組件互連(PCI)插槽在現今的個人電腦中已很少使用,但仍有部分新的個人電腦之主機板仍然會支援PCI插槽,但主機板上的平台控制集線器(PCH)往往只有支援快速周邊組件互連(PCIe)標準,故需要透過PCI橋接晶片進行PCIe信號至PCI信號的轉換。然而,目前在個人電腦中的PCI橋接晶片通常是利用舊有的電路技術進行設計,所以往往沒有良好的節能設計,以致於無法有效地降低PCI橋接晶片的功耗以符合現今的節能標準之需求。Today's energy-saving standards are more and more stringent on the energy consumption of personal computers, such as Energy Star 8.0 and California Energy Commission (CEC) tier 1 and tier 2. 2). Although the Peripheral Component Interconnect (PCI) slot is rarely used in today's PCs, there are still some new PC motherboards that still support PCI slots, but the Platform Control Hub (PCH) on the motherboard Usually only supports the Peripheral Component Interconnect Express (PCIe) standard, so the conversion of PCIe signal to PCI signal needs to be performed through a PCI bridge chip. However, the current PCI bridge chips in personal computers are usually designed using old circuit technologies, so there is often no good energy-saving design, so that the power consumption of the PCI bridge chips cannot be effectively reduced to meet the requirements of current energy-saving standards .

因此,需要一種電腦裝置及電源閘控電路以解決上述問題。Therefore, there is a need for a computer device and a power gating circuit to solve the above problems.

本發明係提供一種電腦裝置,包括:一中央處理器;一周邊組件互連(PCI)插槽,用以判斷是否有一介面卡插設至該周邊組件互連插槽以產生一插設狀態判斷信號;一平台控制集線器,電性連接至該中央處理器及該周邊組件互連插槽;以及一橋接電路,用以將來自該平台控制集線器之第一匯流排信號轉換為第二匯流排信號,並將該第二匯流排信號傳送至該周邊組件互連插槽;一電源閘控電路,電性連接至該周邊組件互連插槽,用以依據該插設狀態判斷信號以決定是否在該電源閘控電路之輸出端提供電壓源至該橋接電路。The present invention provides a computer device, comprising: a central processing unit; a peripheral component interconnect (PCI) slot for judging whether an interface card is inserted into the peripheral component interconnect slot to generate an insertion state judgment signal; a platform control hub electrically connected to the central processing unit and the peripheral component interconnection slot; and a bridge circuit for converting the first bus signal from the platform control hub to the second bus signal , and transmits the second bus signal to the peripheral component interconnection slot; a power gating circuit is electrically connected to the peripheral component interconnection slot for judging the signal according to the insertion state to determine whether the The output terminal of the power gating circuit provides a voltage source to the bridge circuit.

本發明更提供一種電源閘控電路,用於一電腦裝置,其中該電腦裝置包括一中央處理器、一平台控制集線器、一橋接電路及一周邊組件互連插槽,且該周邊組件互連插槽係判斷是否有一介面卡插設至該周邊組件互連插槽以產生一插設狀態判斷信號,該電源閘控電路包括:一輸入級,用以依據該插設狀態判斷信號以產生一橋接電路電源致能信號;一驅動級,用以依據該橋接電路電源致能信號以產生開關控制信號;以及一輸出級,用以依據該開關控制信號以決定是否將一電壓源輸出至該電源閘控電路之輸出端以提供至該橋接電路。The present invention further provides a power gating circuit for a computer device, wherein the computer device includes a central processing unit, a platform control hub, a bridge circuit and a peripheral component interconnection slot, and the peripheral component interconnection socket The slot system determines whether an interface card is inserted into the peripheral component interconnection slot to generate an insertion state determination signal. The power gating circuit includes: an input stage for generating a bridge connection according to the insertion state determination signal a circuit power enable signal; a driver stage for generating a switch control signal according to the bridge circuit power enable signal; and an output stage for determining whether to output a voltage source to the power gate according to the switch control signal The output terminal of the control circuit is provided to the bridge circuit.

以下說明係為完成發明的較佳實現方式,其目的在於描述本發明的基本精神,但並不用以限定本發明。實際的發明內容必須參考之後的權利要求範圍。The following descriptions are preferred implementations for completing the invention, and are intended to describe the basic spirit of the invention, but are not intended to limit the invention. Reference must be made to the scope of the following claims for the actual inventive content.

必須了解的是,使用於本說明書中的"包含"、"包括"等詞,係用以表示存在特定的技術特徵、數值、方法步驟、作業處理、元件以及/或組件,但並不排除可加上更多的技術特徵、數值、方法步驟、作業處理、元件、組件,或以上的任意組合。It must be understood that words such as "comprising" and "including" used in this specification are used to indicate the existence of specific technical features, values, method steps, operation processes, elements and/or components, but do not exclude the possibility of Plus more technical features, values, method steps, job processes, elements, components, or any combination of the above.

於權利要求中使用如"第一"、"第二"、"第三"等詞係用來修飾權利要求中的元件,並非用來表示之間具有優先權順序,先行關係,或者是一個元件先於另一個元件,或者是執行方法步驟時的時間先後順序,僅用來區別具有相同名字的元件。The use of words such as "first", "second", "third", etc. in the claims is used to modify the elements in the claims, and is not used to indicate that there is a priority order, an antecedent relationship between them, or an element Prior to another element, or chronological order in which method steps are performed, is only used to distinguish elements with the same name.

第1圖係顯示依據本發明一實施例中之電腦裝置的方塊圖。FIG. 1 is a block diagram of a computer apparatus according to an embodiment of the present invention.

電腦裝置10例如可為一個人電腦或伺服器。如第1圖所示,電腦裝置10包括一中央處理器110、一平台控制集線器(platform controller hub)120、一橋接電路130、一周邊組件互連(peripheral component interconnect,PCI)插槽140。中央處理器110、平台控制集線器120、橋接電路130及PCI插槽140係設置於一主機板150上,且中央處理器110係經由平台控制集線器120以電性連接至橋接電路130及PCI插槽140。The computer device 10 can be, for example, a personal computer or a server. As shown in FIG. 1 , the computer device 10 includes a central processing unit 110 , a platform controller hub 120 , a bridge circuit 130 , and a peripheral component interconnect (PCI) slot 140 . The central processing unit 110 , the platform control hub 120 , the bridge circuit 130 and the PCI slot 140 are disposed on a motherboard 150 , and the central processing unit 110 is electrically connected to the bridge circuit 130 and the PCI slot through the platform control hub 120 140.

平台控制集線器120例如為一晶片組(chipset),用以讓中央處理器110與連接至電腦裝置10的周邊設備(未繪示)進行溝通。中央處理器110例如可透過直接媒體介面(direct media interface,DMI)匯流排111以連接至平台控制集線器120。平台控制集線器120例如可支援快速周邊組件互連(peripheral component interconnect express,PCIe)標準,並且提供了PCIe介面以供連接至其他PCIe周邊設備。主機板150係配置PCI插槽140以供支援PCI標準的介面卡170插設,以使介面卡170電性連接至電腦系統10。介面卡170例如可為支援PCI標準的網路卡、音效卡、轉接卡等等,但本發明並不限於此。此外,主機板150所需之直流電源例如可來自一電源供應器(未繪示),且主機板150可將該直流電源轉換為供中央處理器110、平台控制集線器120及PCI插槽140所需的各種電壓源,例如電壓源3P3V_S0、3P3V_DSW、VCC_S0、VCC3_S0、V12_S0、3VSB等等,但本發明並不限於此。The platform control hub 120 is, for example, a chip set, for allowing the central processing unit 110 to communicate with peripheral devices (not shown) connected to the computer device 10 . The central processing unit 110 can be connected to the platform control hub 120 through, for example, a direct media interface (DMI) bus 111 . The platform control hub 120 may, for example, support the peripheral component interconnect express (PCIe) standard, and provide a PCIe interface for connecting to other PCIe peripheral devices. The motherboard 150 is configured with a PCI slot 140 for inserting an interface card 170 supporting the PCI standard, so that the interface card 170 is electrically connected to the computer system 10 . The interface card 170 can be, for example, a network card supporting the PCI standard, a sound card, a riser card, etc., but the invention is not limited thereto. In addition, the DC power required by the motherboard 150 can come from, for example, a power supply (not shown), and the motherboard 150 can convert the DC power to be used by the CPU 110 , the platform control hub 120 and the PCI slot 140 . Various voltage sources are required, such as voltage sources 3P3V_S0, 3P3V_DSW, VCC_S0, VCC3_S0, V12_S0, 3VSB, etc., but the invention is not limited thereto.

橋接電路130係用以進行PCIe匯流排信號122及PCI匯流排信號132之轉換。舉例來説,因為平台控制集線器120係支援PCIe標準,故需要透過橋接電路130以將PCIe匯流排信號122轉換為PCIe匯流排信號132,以讓中央處理器110可透過平台控制集線器120及橋接電路130與設置於PCI插槽140之介面卡170進行溝通。在此實施例中,橋接電路130例如可用一積體電路所實現,且橋接電路130之電壓源131例如為來自主機板150所提供的電壓源3P3V_S0,意即為用於S0狀態之3.3伏特的電壓源。橋接電路130係從平台控制集線器120接收時脈信號121,其中時脈信號121例如為100MHz的時脈信號。The bridge circuit 130 is used for converting the PCIe bus signal 122 and the PCI bus signal 132 . For example, because the platform control hub 120 supports the PCIe standard, the bridge circuit 130 needs to be used to convert the PCIe bus signal 122 to the PCIe bus signal 132 so that the CPU 110 can control the hub 120 and the bridge circuit through the platform The 130 communicates with the interface card 170 disposed in the PCI slot 140 . In this embodiment, the bridge circuit 130 can be implemented by, for example, an integrated circuit, and the voltage source 131 of the bridge circuit 130 is, for example, the voltage source 3P3V_S0 provided by the motherboard 150 , which means 3.3 volts for the S0 state. power source. The bridge circuit 130 receives the clock signal 121 from the platform control hub 120 , wherein the clock signal 121 is, for example, a clock signal of 100 MHz.

PCI插槽140之腳位142(PRSNT_B腳位)係電性連接至平台控制集線器120中的腳位123,其中腳位123例如為通用輸入輸出腳位1(GPIO1腳位),用以通知平台控制集線器120是否有介面卡170插入PCI插槽140。舉例來説,PCI插槽140之腳位142係輸出一插設狀態判斷信號141(PCI_DET信號)至平台控制集線器120中的腳位123,且插設狀態判斷信號141例如為低位致能(low active)信號。當介面卡170已插入至PCI插槽140時,PCI插槽140之腳位142所輸出的插設狀態判斷信號141係處於低邏輯狀態,故平台控制集線器120可得知介面卡170已插設至PCI插槽140,並輸出時脈信號121及PCIe匯流排信號122至橋接電路130。當介面卡170未插入至PCI插槽140時,PCI插槽140之腳位142所輸出的插設狀態判斷信號141係處於高邏輯狀態,故平台控制集線器120可得知介面卡170未插設至PCI插槽140,並停止輸出時脈信號121及PCIe匯流排信號122至橋接電路130。The pin 142 (PRSNT_B pin) of the PCI slot 140 is electrically connected to the pin 123 in the platform control hub 120, wherein the pin 123 is, for example, the general-purpose input and output pin 1 (GPIO1 pin), which is used to notify the platform Controls whether there is an interface card 170 inserted into the PCI slot 140 in the hub 120 . For example, the pin 142 of the PCI slot 140 outputs an insertion status determination signal 141 (PCI_DET signal) to the pin 123 of the platform control hub 120, and the insertion status determination signal 141 is, for example, a low-level enable (low). active) signal. When the interface card 170 has been inserted into the PCI slot 140, the insertion status determination signal 141 output by the pin 142 of the PCI slot 140 is in a low logic state, so the platform control hub 120 can know that the interface card 170 has been inserted to the PCI slot 140 , and output the clock signal 121 and the PCIe bus signal 122 to the bridge circuit 130 . When the interface card 170 is not inserted into the PCI slot 140, the insertion state determination signal 141 output by the pin 142 of the PCI slot 140 is in a high logic state, so the platform control hub 120 can know that the interface card 170 is not inserted to the PCI slot 140 , and stop outputting the clock signal 121 and the PCIe bus signal 122 to the bridge circuit 130 .

對於現今市面上的橋接電路130而言,雖然其規格表可能記載支援了不同的裝置電源狀態(Device Power State,簡稱Dx state)以達到節省功耗之效果,但是實際上並無法達到省電狀態。舉例來説,橋接電路130會將3.3伏特的電壓轉換為1.8伏特電壓(例如電壓1.8VD、1.8VA、1.8V_AUXA及1.8V_AUXK)以供橋接電路130之內部電路進行運作,且會具有100或200毫安培(mA)的輸出電流。當橋接電路130處於D0狀態(即正常工作狀態),可量測到橋接電路130具有至少0.8W的功率消耗。就算橋接電路130進入D3hot狀態,仍然可以量測到橋接電路130具有至少0.4W的功率消耗。此外,若電腦裝置10進入進階組態與電源介面(Advanced Configuration and Power Interface,ACPI)標準之S1~S5節能狀態,仍然可以量測到橋接電路130之不同的輸出電流,約介於 1µA至100mA。橋接電路130之電壓、最大輸出電流及工作狀態的關係如表1所示: 電壓 最大輸出電流 工作狀態 3.3VD 150mA S0/S1 3.3V_AUX 260µA S5/S3/S4 3.3V_AUX 80mA S0/S1 1.8VD 30mA S0/S1 1.8VA 100mA S0/S1 1.8V_AUXA 1µA S5/S3/S4 1.8V_AUXK 1µA S5/S3/S4 1.8V_AUXA 80mA S0/S1 1.8V_AUXK 6mA S0/S1 表1For the bridge circuit 130 on the market today, although the specification sheet may record that it supports different device power states (Device Power State, Dx state for short) to achieve the effect of saving power consumption, it cannot actually achieve the power saving state . For example, the bridge circuit 130 converts a voltage of 3.3 volts into a voltage of 1.8 volts (eg, voltages 1.8VD, 1.8VA, 1.8V_AUXA, and 1.8V_AUXK) for the internal circuits of the bridge circuit 130 to operate, and will have 100 or 200 Output current in milliamps (mA). When the bridge circuit 130 is in the D0 state (ie, the normal working state), it can be measured that the bridge circuit 130 has a power consumption of at least 0.8W. Even if the bridge circuit 130 enters the D3hot state, it can still be measured that the bridge circuit 130 has a power consumption of at least 0.4W. In addition, if the computer device 10 enters the energy-saving states S1-S5 of the Advanced Configuration and Power Interface (ACPI) standard, the different output currents of the bridge circuit 130 can still be measured, ranging from about 1µA to 100mA. The relationship between the voltage, the maximum output current and the working state of the bridge circuit 130 is shown in Table 1: Voltage Maximum output current working status 3.3VD 150mA S0/S1 3.3V_AUX 260µA S5/S3/S4 3.3V_AUX 80mA S0/S1 1.8VD 30mA S0/S1 1.8VA 100mA S0/S1 1.8V_AUXA 1µA S5/S3/S4 1.8V_AUXK 1µA S5/S3/S4 1.8V_AUXA 80mA S0/S1 1.8V_AUXK 6mA S0/S1 Table 1

因此,在電腦裝置10之硬體配置下,橋接電路130並無法有效地降低功耗以達到能源之星(Energy Star)8.0以及加州能源委員會(California Energy Commission,CEC)第一階段(tier 1)及第二階段(tier 2)的要求。Therefore, under the hardware configuration of the computer device 10 , the bridge circuit 130 cannot effectively reduce power consumption to achieve Energy Star 8.0 and California Energy Commission (CEC) tier 1 (tier 1). and the requirements of the second stage (tier 2).

第2圖係顯示依據本發明另一實施例中之電腦裝置的方塊圖。FIG. 2 is a block diagram of a computer device according to another embodiment of the present invention.

第2圖之電腦裝置20係與第1圖之電腦裝置10類似,其差別在於第2圖之電腦裝置20更包含了電源閘控電路(power gating circuit)160。在電腦裝置20中,PCI插槽140之腳位142係電性連接至平台控制集線器120中的通用輸入輸出腳位1(GPIO1腳位)以及電源閘控電路160。電源閘控電路160係依據來自PCI插槽140的插設狀態判斷信號141以開啟或斷開提供至橋接電路130的電壓源163。舉例來説,PCI插槽140之腳位142係輸出插設狀態判斷信號141(PCI_DET信號)至平台控制集線器120中的腳位123及電源閘控電路160,且電源閘控電路160係依據插設狀態判斷信號141的邏輯狀態以決定是否要斷開提供至橋接電路130的電壓源163。The computer device 20 of FIG. 2 is similar to the computer device 10 of FIG. 1 , except that the computer device 20 of FIG. 2 further includes a power gating circuit 160 . In the computer device 20 , the pin 142 of the PCI slot 140 is electrically connected to the general-purpose input/output pin 1 (GPIO1 pin) of the platform control hub 120 and the power gating circuit 160 . The power gating circuit 160 turns on or off the voltage source 163 provided to the bridge circuit 130 according to the insertion state determination signal 141 from the PCI slot 140 . For example, the pin 142 of the PCI slot 140 outputs the insertion state determination signal 141 (PCI_DET signal) to the pin 123 of the platform control hub 120 and the power gating circuit 160, and the power gating circuit 160 is based on the plug The logic state of the state determination signal 141 is set to determine whether to disconnect the voltage source 163 provided to the bridge circuit 130 .

當介面卡170已插入至PCI插槽140時,PCI插槽140之腳位142所輸出的插設狀態判斷信號141係處於低邏輯狀態,故平台控制集線器120可得知介面卡170已插設至PCI插槽140,並輸出時脈信號121及PCIe匯流排信號122至橋接電路130。此時,電源閘控電路160係將電壓源163提供至橋接電路130以使橋接電路130可正常運作。When the interface card 170 has been inserted into the PCI slot 140, the insertion status determination signal 141 output by the pin 142 of the PCI slot 140 is in a low logic state, so the platform control hub 120 can know that the interface card 170 has been inserted to the PCI slot 140 , and output the clock signal 121 and the PCIe bus signal 122 to the bridge circuit 130 . At this time, the power gating circuit 160 provides the voltage source 163 to the bridge circuit 130 so that the bridge circuit 130 can operate normally.

當介面卡170未插入至PCI插槽140時,PCI插槽140之腳位142所輸出的插設狀態判斷信號141係處於高邏輯狀態,故平台控制集線器120可得知介面卡170未插設至PCI插槽140,並停止輸出時脈信號121及PCIe匯流排信號122至橋接電路130。此時,電源閘控電路160係斷開提供至橋接電路130的電壓源163,故可以完全關閉橋接電路130以進一步降低電腦裝置20之功耗。電源閘控電路160之詳細操作將於第3圖之實施例中詳述。When the interface card 170 is not inserted into the PCI slot 140, the insertion state determination signal 141 output by the pin 142 of the PCI slot 140 is in a high logic state, so the platform control hub 120 can know that the interface card 170 is not inserted to the PCI slot 140 , and stop outputting the clock signal 121 and the PCIe bus signal 122 to the bridge circuit 130 . At this time, the power gating circuit 160 disconnects the voltage source 163 provided to the bridge circuit 130 , so the bridge circuit 130 can be completely turned off to further reduce the power consumption of the computer device 20 . The detailed operation of the power gating circuit 160 will be described in detail in the embodiment of FIG. 3 .

第3圖為依據本發明一實施例中之電源閘控電路的電路圖。FIG. 3 is a circuit diagram of a power gating circuit according to an embodiment of the present invention.

請同時參考第2圖及第3圖。電源閘控電路160包括電晶體M1~M3、電阻R1~R3以及電容C1~C2。電晶體M1及M2為N型電晶體,電晶體M3為P型電晶體。Please refer to Figure 2 and Figure 3 at the same time. The power gating circuit 160 includes transistors M1-M3, resistors R1-R3 and capacitors C1-C2. The transistors M1 and M2 are N-type transistors, and the transistor M3 is a P-type transistor.

舉例來説,PCI插槽140之腳位142所輸出的插設狀態判斷信號141(PCI_DET信號)係連接至電晶體M1的閘極,且電晶體M1之源極及汲極係分別連接至接地端及節點N1,其中節點N1係透過電阻R1以連接至電壓源3P3V_DSW,其中電壓源3P3V_DSW例如為主機板150所提供之用於深度睡眠喚醒(Deep Sleep Well)電源。節點N1即為電晶體M1之汲極,其係連接至電晶體M2之閘極。電晶體M1之汲極係產生輸出信號BRIDGE_PWREN,其中輸出信號BRIDGE_PWREN亦可稱為橋接電路電源致能信號。電晶體M1例如可視為一輸入級,用以依據PCI插槽140之腳位142所輸出的插設狀態判斷信號141以產生橋接電路電源致能信號。For example, the insertion status determination signal 141 (PCI_DET signal) output from the pin 142 of the PCI slot 140 is connected to the gate of the transistor M1, and the source and drain of the transistor M1 are respectively connected to the ground The terminal and the node N1, wherein the node N1 is connected to the voltage source 3P3V_DSW through the resistor R1, wherein the voltage source 3P3V_DSW is, for example, a power supply for deep sleep well (Deep Sleep Well) provided by the motherboard 150 . The node N1 is the drain of the transistor M1, which is connected to the gate of the transistor M2. The drain of the transistor M1 generates an output signal BRIDGE_PWREN, wherein the output signal BRIDGE_PWREN can also be called a bridge circuit power enable signal. The transistor M1 can be regarded as an input stage, for example, for generating the bridge circuit power enable signal according to the insertion state determination signal 141 output by the pin 142 of the PCI slot 140 .

電晶體M2之閘極、源極及汲極係分別連接至節點N1、接地端及節點N2,其中節點N2係透過電阻R2以連接至電壓源3P3V_S0,並透過電阻R3以連接至節點N3。電晶體M2例如可視為一驅動級,用以依據橋接電路電源致能信號(例如BRIDGE_PWREN信號)以產生開關控制信號。The gate, source and drain of the transistor M2 are respectively connected to the node N1, the ground terminal and the node N2, wherein the node N2 is connected to the voltage source 3P3V_S0 through the resistor R2, and is connected to the node N3 through the resistor R3. The transistor M2 can be regarded as, for example, a driver stage for generating the switch control signal according to the power enable signal of the bridge circuit (eg, the BRIDGE_PWREN signal).

電晶體M3之閘極、源極及汲極係分別連接至節點N3、電壓源3P3V_S0及電源閘控電路160之輸出端。電晶體M3例如可視為一輸出級,用以依據開關控制信號以決定是否將電壓源(例如為電壓源3P3V_S0)輸出至電源閘控電路160之輸出端以提供至橋接電路130。電容C1及C2例如為濾波電容,且在直流操作時可視為開路。The gate, source and drain of the transistor M3 are respectively connected to the node N3 , the voltage source 3P3V_S0 and the output terminal of the power gating circuit 160 . The transistor M3 can be regarded as an output stage, for example, to determine whether to output a voltage source (eg, the voltage source 3P3V_S0 ) to the output terminal of the power gating circuit 160 to provide the bridge circuit 130 according to the switch control signal. The capacitors C1 and C2 are, for example, filter capacitors, and can be regarded as open circuits during DC operation.

當介面卡170已插入至PCI插槽140時,PCI插槽140之腳位142所輸出的插設狀態判斷信號141(PCI_DET信號)係處於低邏輯狀態。此時,電晶體M1係處於關閉狀態(turn off),故電晶體M1之汲極(節點N1)之輸出信號BRIDGE_PWREN被拉高(pull high)至電壓源3P3V_DSW而處於高邏輯狀態。因為電晶體M1之輸出信號BRIDGE_PWREN係連接至電晶體M2之閘極,故此時電晶體M2會導通,且電晶體M2之汲極(節點N2)之電壓會被拉低至接地(0V)而處於低邏輯狀態。When the interface card 170 has been inserted into the PCI slot 140, the insertion state determination signal 141 (PCI_DET signal) output by the pin 142 of the PCI slot 140 is in a low logic state. At this time, the transistor M1 is turned off, so the output signal BRIDGE_PWREN of the drain (node N1 ) of the transistor M1 is pulled high to the voltage source 3P3V_DSW and is in a high logic state. Since the output signal BRIDGE_PWREN of the transistor M1 is connected to the gate of the transistor M2, the transistor M2 will be turned on at this time, and the voltage of the drain (node N2) of the transistor M2 will be pulled down to ground (0V) and at low logic state.

節點N2係經由電阻R3而連接至電晶體M3之閘極(節點N3)。因此,當節點N2為低邏輯狀態時,節點N3亦為低邏輯狀態,故電晶體M3會導通,而使電壓源3P3V_S0可經由電晶體M3而傳送至電源閘控電路160之輸出端(電晶體M3之汲極)以產生輸出電壓3P3V_S0_BRIDGE,其中輸出電壓3P3V_S0_BRIDGE即為第2圖所示的電壓源163,並且提供至橋接電路130。Node N2 is connected to the gate of transistor M3 (node N3) via resistor R3. Therefore, when the node N2 is in the low logic state, the node N3 is also in the low logic state, so the transistor M3 is turned on, so that the voltage source 3P3V_S0 can be transmitted to the output terminal (transistor) of the power gating circuit 160 through the transistor M3 The drain of M3) to generate the output voltage 3P3V_S0_BRIDGE, wherein the output voltage 3P3V_S0_BRIDGE is the voltage source 163 shown in FIG. 2 and is provided to the bridge circuit 130 .

當介面卡170未插入至PCI插槽140時,PCI插槽140之腳位142所輸出的插設狀態判斷信號141(PCI_DET信號)係處於高邏輯狀態。此時,電晶體M1會導通,故電晶體M1之汲極(節點N1)之輸出信號BRIDGE_PWREN被拉低至接地(0V)而處於低邏輯狀態。因為電晶體M1之輸出信號BRIDGE_PWREN係連接至電晶體M2之閘極,故此時電晶體M2係處於關閉狀態,且電晶體M2之汲極(節點N2)之電壓會被拉高至電壓3P3V_S0而處於高邏輯狀態。When the interface card 170 is not inserted into the PCI slot 140, the insertion state determination signal 141 (PCI_DET signal) output by the pin 142 of the PCI slot 140 is in a high logic state. At this time, the transistor M1 is turned on, so the output signal BRIDGE_PWREN of the drain (node N1 ) of the transistor M1 is pulled down to ground (0V) and is in a low logic state. Because the output signal BRIDGE_PWREN of the transistor M1 is connected to the gate of the transistor M2, the transistor M2 is in the off state at this time, and the voltage of the drain (node N2) of the transistor M2 will be pulled up to the voltage 3P3V_S0 and at High logic state.

節點N2係經由電阻R3而連接至電晶體M3之閘極(節點N3)。因此,當節點N2為高邏輯狀態時,節點N3亦為高邏輯狀態,故電晶體M3會處於關閉狀態。因此,電壓源3P3V_S0並無法經由電晶體M3而傳送至電源閘控電路160之輸出端,故電源閘控電路160之輸出端係處於浮接(floating)狀態。此時,電源閘控電路160係斷開提供至橋接電路130的電壓源163,所以故可以完全關閉橋接電路130以進一步降低電腦裝置20之功耗。Node N2 is connected to the gate of transistor M3 (node N3) via resistor R3. Therefore, when the node N2 is in the high logic state, the node N3 is also in the high logic state, so the transistor M3 is in the off state. Therefore, the voltage source 3P3V_S0 cannot be transmitted to the output terminal of the power gating circuit 160 through the transistor M3, so the output terminal of the power gating circuit 160 is in a floating state. At this time, the power gating circuit 160 disconnects the voltage source 163 provided to the bridge circuit 130 , so the bridge circuit 130 can be completely turned off to further reduce the power consumption of the computer device 20 .

綜上所述,本發明之實施例係提供一種電腦裝置及電源閘控電路,其可利用適當設計的電源閘控機制以使電腦裝置之PCI插槽在未插設介面卡的情況下可完全關閉橋接電路之電源,以進一步降低電腦裝置20之功耗,藉以符合現階段更嚴格的節能標準,例如能源之星8.0、以及CEC第一階段及第二階段的要求。To sum up, the embodiments of the present invention provide a computer device and a power gating circuit, which can utilize a properly designed power gating mechanism to enable the PCI slot of the computer device to be fully accessible without an interface card inserted. The power of the bridge circuit is turned off to further reduce the power consumption of the computer device 20 so as to meet the more stringent energy-saving standards at this stage, such as Energy Star 8.0, and the requirements of the first and second stages of CEC.

本發明之實施例揭露如上,然其並非用以限定本發明的範圍,任何所屬技術領域中具有通常知識者,在不脫離本發明實施例之精神和範圍內,當可做些許的更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。The embodiments of the present invention are disclosed above, but they are not intended to limit the scope of the present invention. Anyone with ordinary knowledge in the technical field can make some changes and modifications without departing from the spirit and scope of the embodiments of the present invention. Therefore, the protection scope of the present invention shall be determined by the scope of the appended patent application.

10、20:電腦裝置 110:中央處理器 111:直接媒體介面匯流排 120:平台控制集線器 121:時脈信號 122:快速周邊組件互連匯流排信號 123:腳位 130:橋接電路 131:電壓源 132:周邊組件互連匯流排信號 140:周邊組件互連插槽 141:插設狀態判斷信號 142:腳位 150:主機板 160:電源閘控電路 161、162、163:電壓源 170:介面卡 3P3V_S0、3P3V_DSW:電壓源 3P3V_S0_BRIDGE:輸出電壓 PCI_DET:插設狀態判斷信號 M1-M3:電晶體 N1-N4:節點 C1-C2:電容 R1-R3:電阻10, 20: Computer device 110: CPU 111: Direct Media Interface Bus 120: Platform Control Hub 121: clock signal 122: Fast peripheral component interconnect bus signal 123: Foot position 130: Bridge circuit 131: Voltage source 132: Peripheral component interconnection bus signal 140: Peripheral component interconnect slot 141: Insertion status judgment signal 142: Foot position 150: Motherboard 160: Power gating circuit 161, 162, 163: Voltage source 170: Interface Card 3P3V_S0, 3P3V_DSW: Voltage source 3P3V_S0_BRIDGE: output voltage PCI_DET: Insertion status judgment signal M1-M3: Transistor N1-N4: Nodes C1-C2: Capacitor R1-R3: Resistors

第1圖係顯示依據本發明一實施例中之電腦裝置方塊圖。 第2圖係顯示依據本發明另一實施例中之電腦裝置的方塊圖。 第3圖為依據本發明一實施例中之電源閘控電路的電路圖。FIG. 1 is a block diagram of a computer device according to an embodiment of the present invention. FIG. 2 is a block diagram of a computer device according to another embodiment of the present invention. FIG. 3 is a circuit diagram of a power gating circuit according to an embodiment of the present invention.

20:電腦裝置20: Computer device

110:中央處理器110: CPU

111:直接媒體介面匯流排111: Direct Media Interface Bus

120:平台控制集線器120: Platform Control Hub

121:時脈信號121: clock signal

122:快速周邊組件互連匯流排信號122: Fast peripheral component interconnect bus signal

123:腳位123: Foot position

130:橋接電路130: Bridge circuit

132:周邊組件互連匯流排信號132: Peripheral component interconnection bus signal

140:周邊組件互連插槽140: Peripheral component interconnect slot

141:插設狀態判斷信號141: Insertion status judgment signal

142:腳位142: Foot position

150:主機板150: Motherboard

160:電源閘控電路160: Power gating circuit

161、162、163:電壓源161, 162, 163: Voltage source

170:介面卡170: Interface Card

3P3V_S0、3P3V_DSW:電壓源3P3V_S0, 3P3V_DSW: Voltage source

Claims (11)

一種電腦裝置,包括: 一中央處理器; 一周邊組件互連(PCI)插槽,用以判斷是否有一介面卡插設至該周邊組件互連插槽以產生一插設狀態判斷信號; 一平台控制集線器,電性連接至該中央處理器及該周邊組件互連插槽; 一橋接電路,用以將來自該平台控制集線器之第一匯流排信號轉換為第二匯流排信號,並將該第二匯流排信號傳送至該周邊組件互連插槽;以及 一電源閘控電路,電性連接至該周邊組件互連插槽,用以依據該插設狀態判斷信號以決定是否在該電源閘控電路之輸出端提供電壓源至該橋接電路。A computer device comprising: a central processing unit; a peripheral component interconnect (PCI) slot for determining whether an interface card is inserted into the peripheral component interconnect slot to generate an insertion state determination signal; a platform control hub electrically connected to the central processing unit and the peripheral component interconnection slot; a bridge circuit for converting a first bus signal from the platform control hub to a second bus signal, and transmitting the second bus signal to the peripheral component interconnect slot; and A power gating control circuit is electrically connected to the interconnection slot of the peripheral components, and is used for determining whether to provide a voltage source to the bridge circuit at the output end of the power gating control circuit according to the insertion state judgment signal. 如請求項1之電腦裝置,其中該第一匯流排信號為一快速周邊組件互連匯流排(PCIe)信號且該第二匯流排信號為一周邊組件互連(PCI)匯流排信號。The computer device of claim 1, wherein the first bus signal is a Peripheral Component Interconnect Express (PCIe) bus signal and the second bus signal is a Peripheral Component Interconnect (PCI) bus signal. 如請求項1之電腦裝置,其中當該介面卡已插設至該周邊組件互連插槽時,該插設狀態判斷信號係處於低邏輯狀態, 其中當該介面卡未插設至該周邊組件互連插槽時,該插設狀態判斷信號係處於高邏輯狀態。The computer device of claim 1, wherein when the interface card is inserted into the peripheral component interconnection slot, the insertion state determination signal is in a low logic state, When the interface card is not inserted into the peripheral component interconnection slot, the insertion state determination signal is in a high logic state. 如請求項3之電腦裝置,其中當該插設狀態判斷信號處於低邏輯狀態,該電源閘控電路係提供該電壓源至該橋接電路, 其中當該插設狀態判斷信號處於高邏輯狀態,該電源閘控電路係斷開該電壓源。The computer device of claim 3, wherein when the plug-in state determination signal is in a low logic state, the power gating circuit provides the voltage source to the bridge circuit, Wherein, when the insertion state determination signal is in a high logic state, the power gating circuit disconnects the voltage source. 如請求項4之電腦裝置,其中該電源閘控電路包括: 一第一N型電晶體,其中該第一N型電晶體之閘極、源極及汲極係分別連接至該插設狀態判斷信號、接地端及第一節點,其中該第一節點係經由第一電阻以連接至第一電壓源; 一第二N型電晶體,其中該第二N型電晶體之閘極、源極及汲極係分別連接至該第一節點、該接地端及第二節點,其中該第二節點係經由第二電阻以連接至第二電壓源,並經由第三電阻以連接至第三節點;以及 一P型電晶體,其中該P型電晶體之閘極、源極及汲極係分別連接至該第三節點、該第二電壓源及該電源閘控電路之該輸出端。The computer device of claim 4, wherein the power gating circuit comprises: A first N-type transistor, wherein the gate, source and drain of the first N-type transistor are respectively connected to the insertion state determination signal, the ground terminal and a first node, wherein the first node is connected via a first resistor to be connected to a first voltage source; A second N-type transistor, wherein the gate, source and drain of the second N-type transistor are respectively connected to the first node, the ground terminal and the second node, wherein the second node is connected through the first node two resistors are connected to the second voltage source, and are connected to the third node through the third resistor; and A P-type transistor, wherein the gate, source and drain of the P-type transistor are respectively connected to the third node, the second voltage source and the output terminal of the power gating circuit. 如請求項5之電腦裝置,其中當該插設狀態判斷信號處於低邏輯狀態,該第一N型電晶體係處於關閉狀態,且該第一節點係處於高邏輯狀態,該第二N型電晶體導通以使該第二節點及該第三節點處於低邏輯狀態,且該P型電晶體導通以使該第二電壓源透過該P型電晶體以傳送至該電源閘控電路之該輸出端, 其中當該插設狀態判斷信號處於高邏輯狀態,該第一N型電晶體導通以使該第一節點處於低邏輯狀態,該第二N型電晶體處於關閉狀態以使該第二節點及該第三節點處於高邏輯狀態,且該P型電晶體處於關閉狀態以使該電源閘控電路之該輸出端為浮接狀態。The computer device of claim 5, wherein when the insertion state determination signal is in a low logic state, the first N-type transistor system is in an off state, and the first node is in a high logic state, and the second N-type transistor is in a high logic state. The crystal is turned on so that the second node and the third node are in a low logic state, and the P-type transistor is turned on so that the second voltage source is transmitted through the P-type transistor to the output terminal of the power gating circuit , When the insertion state determination signal is in a high logic state, the first N-type transistor is turned on to make the first node in a low logic state, and the second N-type transistor is in an off state to make the second node and the The third node is in a high logic state, and the P-type transistor is in an off state so that the output terminal of the power gating circuit is in a floating state. 一種電源閘控電路,用於一電腦裝置,其中該電腦裝置包括一中央處理器、一平台控制集線器、一橋接電路及一周邊組件互連插槽,且該周邊組件互連插槽係判斷是否有一介面卡插設至該周邊組件互連插槽以產生一插設狀態判斷信號,該電源閘控電路包括: 一輸入級,用以依據該插設狀態判斷信號以產生一橋接電路電源致能信號; 一驅動級,用以依據該橋接電路電源致能信號以產生開關控制信號;以及 一輸出級,用以依據該開關控制信號以決定是否將一電壓源輸出至該電源閘控電路之輸出端以提供至該橋接電路。A power gating circuit for a computer device, wherein the computer device includes a central processing unit, a platform control hub, a bridge circuit and a peripheral component interconnection slot, and the peripheral component interconnection slot is used to determine whether An interface card is inserted into the peripheral component interconnection slot to generate an insertion state judgment signal, and the power gating circuit includes: an input stage for generating a bridge circuit power enable signal according to the insertion state judgment signal; a driver stage for generating a switch control signal according to the power enable signal of the bridge circuit; and An output stage is used for determining whether to output a voltage source to the output end of the power gating circuit to provide the bridge circuit according to the switch control signal. 如請求項7之電源閘控電路,其中當該介面卡已插設至該周邊組件互連插槽時,該插設狀態判斷信號係處於低邏輯狀態, 其中當該介面卡未插設至該周邊組件互連插槽時,該插設狀態判斷信號係處於高邏輯狀態。The power gating circuit of claim 7, wherein when the interface card is inserted into the peripheral component interconnection slot, the insertion state determination signal is in a low logic state, When the interface card is not inserted into the peripheral component interconnection slot, the insertion state determination signal is in a high logic state. 如請求項8之電源閘控電路,其中當該插設狀態判斷信號處於低邏輯狀態,該電源閘控電路係提供該電壓源至該橋接電路, 其中當該插設狀態判斷信號處於高邏輯狀態,該電源閘控電路係斷開該電壓源。The power gating circuit of claim 8, wherein when the insertion state determination signal is in a low logic state, the power gating circuit provides the voltage source to the bridge circuit, Wherein, when the insertion state determination signal is in a high logic state, the power gating circuit disconnects the voltage source. 如請求項9之電源閘控電路,其中該輸入級為一第一N型電晶體,且該第一N型電晶體之閘極、源極及汲極係分別連接至該插設狀態判斷信號、接地端及第一節點,其中該第一節點係經由第一電阻以連接至第一電壓源, 其中該驅動級為一第二N型電晶體,且該第二N型電晶體之閘極、源極及汲極係分別連接至該第一節點、該接地端及第二節點,其中該第二節點係經由第二電阻以連接至第二電壓源,並經由第三電阻以連接至第三節點, 其中該輸出級為一P型電晶體,且該P型電晶體之閘極、源極及汲極係分別連接至該第三節點、該第二電壓源及該電源閘控電路之該輸出端。The power gating circuit of claim 9, wherein the input stage is a first N-type transistor, and the gate, source and drain of the first N-type transistor are respectively connected to the insertion state determination signal , a ground terminal and a first node, wherein the first node is connected to a first voltage source through a first resistor, The driving stage is a second N-type transistor, and the gate, source and drain of the second N-type transistor are respectively connected to the first node, the ground terminal and the second node, wherein the first The two nodes are connected to the second voltage source through the second resistor, and are connected to the third node through the third resistor, The output stage is a P-type transistor, and the gate, source and drain of the P-type transistor are respectively connected to the third node, the second voltage source and the output end of the power gating circuit . 如請求項10之電源閘控電路,其中當該插設狀態判斷信號處於低邏輯狀態,該第一N型電晶體係處於關閉狀態,且該第一節點係處於高邏輯狀態,該第二N型電晶體導通以使該第二節點及該第三節點處於低邏輯狀態,且該P型電晶體導通以使該第二電壓源透過該P型電晶體以傳送至該電源閘控電路之該輸出端, 其中當該插設狀態判斷信號處於高邏輯狀態,該第一N型電晶體導通以使該第一節點處於低邏輯狀態,該第二N型電晶體處於關閉狀態以使該第二節點及該第三節點處於高邏輯狀態,且該P型電晶體處於關閉狀態以使該電源閘控電路之該輸出端為浮接狀態。The power gating circuit of claim 10, wherein when the insertion state determination signal is in a low logic state, the first N-type transistor system is in an off state, and the first node is in a high logic state, the second N The P-type transistor is turned on so that the second node and the third node are in a low logic state, and the P-type transistor is turned on so that the second voltage source is transmitted through the P-type transistor to the power gating circuit. output, When the insertion state determination signal is in a high logic state, the first N-type transistor is turned on to make the first node in a low logic state, and the second N-type transistor is in an off state to make the second node and the The third node is in a high logic state, and the P-type transistor is in an off state so that the output terminal of the power gating circuit is in a floating state.
TW109130196A 2020-09-03 2020-09-03 Computer apparatus and power gating circuit TWI740632B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW109130196A TWI740632B (en) 2020-09-03 2020-09-03 Computer apparatus and power gating circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW109130196A TWI740632B (en) 2020-09-03 2020-09-03 Computer apparatus and power gating circuit

Publications (2)

Publication Number Publication Date
TWI740632B TWI740632B (en) 2021-09-21
TW202210997A true TW202210997A (en) 2022-03-16

Family

ID=78777765

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109130196A TWI740632B (en) 2020-09-03 2020-09-03 Computer apparatus and power gating circuit

Country Status (1)

Country Link
TW (1) TWI740632B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI366760B (en) * 2008-04-30 2012-06-21 Asustek Comp Inc Motherboard and power managing method for graphic card installed thereon
TWI513188B (en) * 2010-12-29 2015-12-11 Hon Hai Prec Ind Co Ltd Power supply circuit for pci-e slot
TWI659297B (en) * 2017-12-07 2019-05-11 技嘉科技股份有限公司 Method for system power management and computing system thereof
US10804631B2 (en) * 2018-12-12 2020-10-13 Intel Corporation PCIe card edge connector for power delivery

Also Published As

Publication number Publication date
TWI740632B (en) 2021-09-21

Similar Documents

Publication Publication Date Title
JP6813392B2 (en) Configurable and power-optimized integrated gate driver for USB power supply and Type-C SoC
US9740261B2 (en) USB power delivery dead-battery control
TWI443497B (en) Host apparatus, usb port module usb and method for managing power thereof
US8872554B2 (en) Externally configurable power-on-reset systems and methods for integrated circuits
CN109062391B (en) Power-on time sequence control circuit and electronic equipment
TWI442699B (en) Power switch module, voltage generation circuit and power control method for electronic device
KR20130081666A (en) Systems and methods for implementing reduced power states
JP2013505600A (en) Integrated circuit adapted to be selectively AC or DC coupled
US8201003B2 (en) Circuit for preventing computer power down sequence failure
US20120301321A1 (en) Fan control circuit
US20130166809A1 (en) Drive circuit for peripheral component interconnect-express (pcie) slots
JP2010055474A (en) Serial bus system and hung slave reset method
US7493507B2 (en) System for protecting a motherboard while a component is not connected properly to its power source
TW202205054A (en) Integrated circuit and signal transmission method thereof
US7359995B2 (en) Peripheral device connection current compensation circuit
TWI740632B (en) Computer apparatus and power gating circuit
US6952784B1 (en) Multi-source power switching circuit for Wake On LAN ethernet application
TW201621540A (en) Computing system having wake-up circuit
JP2016532200A (en) Power management in circuits
TWI444817B (en) Computer device
JP4077524B2 (en) Pad driver circuit and electronic circuit having pad driver circuit
US20070157033A1 (en) Circuit for protecting motherboard
TW201637315A (en) Discharge circuit and motherboard applying the same
JP3262070B2 (en) Output buffer
CN109917888B (en) Memory transfer VPP_2V5 circuit and computer