TWI740632B - Computer apparatus and power gating circuit - Google Patents

Computer apparatus and power gating circuit Download PDF

Info

Publication number
TWI740632B
TWI740632B TW109130196A TW109130196A TWI740632B TW I740632 B TWI740632 B TW I740632B TW 109130196 A TW109130196 A TW 109130196A TW 109130196 A TW109130196 A TW 109130196A TW I740632 B TWI740632 B TW I740632B
Authority
TW
Taiwan
Prior art keywords
node
type transistor
signal
power gating
state
Prior art date
Application number
TW109130196A
Other languages
Chinese (zh)
Other versions
TW202210997A (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 control circuit

本發明係有關於電源控制,特別是有關於一種電腦裝置及電源閘控電路。The present invention relates to power supply control, in particular to a computer device and a power gating control 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 becoming more and more stringent for the energy consumption of personal computers, such as Energy Star 8.0 and California Energy Commission (CEC) Phase 1 (tier 1) and Phase 2 (tier 1). 2). Although the Peripheral Component Interconnect (PCI) slot is rarely used in today's personal computers, there are still some new PC motherboards that still support PCI slots, but the platform control hub (PCH) on the motherboard Usually, only the PCI Express standard is supported, so it is necessary to convert the PCIe signal to the PCI signal through the PCI bridge chip. However, the current PCI bridge chips in personal computers are usually designed using the old circuit technology, 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 today's energy-saving standards. .

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

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

本發明更提供一種電源閘控電路,用於一電腦裝置,其中該電腦裝置包括一中央處理器、一平台控制集線器、一橋接電路及一周邊組件互連插槽,且該周邊組件互連插槽係判斷是否有一介面卡插設至該周邊組件互連插槽以產生一插設狀態判斷信號,該電源閘控電路包括:一輸入級,用以依據該插設狀態判斷信號以產生一橋接電路電源致能信號;一驅動級,用以依據該橋接電路電源致能信號以產生開關控制信號;以及一輸出級,用以依據該開關控制信號以決定是否將一電壓源輸出至該電源閘控電路之輸出端以提供至該橋接電路。The present invention further provides a power gating control 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 The slot system determines whether an interface card is inserted into the peripheral component interconnection slot to generate an insertion state judgment signal. The power gating control circuit includes: an input stage for generating a bridge connection according to the insertion state judgment 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 description is a preferred implementation of the invention, and its purpose is to describe the basic spirit of the invention, but not to limit the invention. The actual content of the invention must refer to the scope of the claims that follow.

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

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

第1圖係顯示依據本發明一實施例中之電腦裝置的方塊圖。FIG. 1 shows a block diagram of a computer device according to an embodiment of the 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 may 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 arranged 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 chipset 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 may be connected to the platform control hub 120 through a direct media interface (DMI) bus 111, for example. The platform control hub 120 can, 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 the 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, a sound card, an adapter card, etc. supporting the PCI standard, but the present 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 the central processing unit 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 present 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 is needed to convert the PCIe bus signal 122 into the PCIe bus signal 132, so that the central processing unit 110 can control the hub 120 and the bridge circuit through the platform 130 communicates with the interface card 170 installed in the PCI slot 140. In this embodiment, the bridge circuit 130 can be realized 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 that it is a 3.3 volt voltage source for the S0 state. power source. The bridge circuit 130 receives a clock signal 121 from the platform control hub 120, where the clock signal 121 is, for example, a 100 MHz clock signal.

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 of the platform control hub 120, where the pin 123 is, for example, the general-purpose input output pin 1 (GPIO1 pin) for notification to the platform Control whether the hub 120 has an interface card 170 inserted into the PCI slot 140. For example, the pin 142 of the PCI slot 140 outputs an insertion state determination signal 141 (PCI_DET signal) to the pin 123 in the platform control hub 120, and the insertion state determination signal 141 is, for example, low enable (low active) signal. When the interface card 170 has been 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 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 表1 For the bridge circuit 130 on the market today, although its specification table may record that it supports different device power states (Dx state) 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 (such as 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 Milliampere (mA) output current. When the bridge circuit 130 is in the DO 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 advanced configuration and power interface (ACPI) standard S1~S5 energy-saving state, the different output current of the bridge circuit 130 can still be measured, which is about 1µA to 100mA. The relationship between the voltage, maximum output current and working status 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 the power consumption to achieve Energy Star 8.0 and the California Energy Commission (CEC) first stage (tier 1). And the requirements of the second stage (tier 2).

第2圖係顯示依據本發明另一實施例中之電腦裝置的方塊圖。FIG. 2 shows a block diagram of a computer device according to another embodiment of the 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 in FIG. 2 is similar to the computer device 10 in FIG. 1, and the difference is that the computer device 20 in 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 in 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 judgment signal 141 is set to determine whether to turn off 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 state 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 control circuit 160 cuts off 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 detailed in the embodiment in FIG. 3.

第3圖為依據本發明一實施例中之電源閘控電路的電路圖。Figure 3 is a circuit diagram of a power gating control 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 control circuit 160 includes transistors M1 to M3, resistors R1 to R3, and capacitors C1 to 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 state determination signal 141 (PCI_DET signal) output by 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 Terminal and node N1, where node N1 is connected to a voltage source 3P3V_DSW through a resistor R1, where the voltage source 3P3V_DSW is, for example, a power supply for 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, where the output signal BRIDGE_PWREN can also be referred to as a bridge circuit power enable signal. The transistor M1 can be regarded as an input stage, for example, for generating the power enable signal of the bridge circuit 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 a driving stage, for example, to generate a switch control signal according to the power enable signal of the bridge circuit (for example, 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, for determining whether to output a voltage source (for example, 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. Because 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). Low logic state.

節點N2係經由電阻R3而連接至電晶體M3之閘極(節點N3)。因此,當節點N2為低邏輯狀態時,節點N3亦為低邏輯狀態,故電晶體M3會導通,而使電壓源3P3V_S0可經由電晶體M3而傳送至電源閘控電路160之輸出端(電晶體M3之汲極)以產生輸出電壓3P3V_S0_BRIDGE,其中輸出電壓3P3V_S0_BRIDGE即為第2圖所示的電壓源163,並且提供至橋接電路130。The node N2 is connected to the gate of the transistor M3 (node N3) via a 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 will be turned on, so that the voltage source 3P3V_S0 can be transmitted to the output terminal (transistor) of the power gate control circuit 160 through the transistor M3. M3 drain) to generate an output voltage 3P3V_S0_BRIDGE, where 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. High logic state.

節點N2係經由電阻R3而連接至電晶體M3之閘極(節點N3)。因此,當節點N2為高邏輯狀態時,節點N3亦為高邏輯狀態,故電晶體M3會處於關閉狀態。因此,電壓源3P3V_S0並無法經由電晶體M3而傳送至電源閘控電路160之輸出端,故電源閘控電路160之輸出端係處於浮接(floating)狀態。此時,電源閘控電路160係斷開提供至橋接電路130的電壓源163,所以故可以完全關閉橋接電路130以進一步降低電腦裝置20之功耗。The node N2 is connected to the gate of the transistor M3 (node N3) via a 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 will be in the off state. Therefore, the voltage source 3P3V_S0 cannot be transmitted to the output terminal of the power gating circuit 160 via 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 cuts off 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 embodiment of the present invention provides a computer device and a power gating control circuit, which can utilize a suitably designed power gating mechanism to make the PCI slot of the computer device complete without an interface card. Turn off the power of the bridge circuit to further reduce the power consumption of the computer device 20, so as to meet the stricter 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 as 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 subject to those defined by the attached patent application scope.

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: central processing unit 111: Direct Media Interface Bus 120: platform control hub 121: Clock signal 122: Fast peripheral component interconnection bus signal 123: foot position 130: bridge circuit 131: voltage source 132: Peripheral component interconnection bus signal 140: Peripheral component interconnection slot 141: Insertion state judgment signal 142: foot position 150: Motherboard 160: Power gating control 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: Node C1-C2: Capacitance R1-R3: resistance

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

20:電腦裝置 20: computer device

110:中央處理器 110: central processing unit

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

120:平台控制集線器 120: platform control hub

121:時脈信號 121: Clock signal

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

123:腳位 123: foot position

130:橋接電路 130: bridge circuit

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

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

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

142:腳位 142: foot position

150:主機板 150: Motherboard

160:電源閘控電路 160: Power gating control 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 including: 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 socket; A bridge circuit for converting the first bus signal from the platform control hub into a second bus signal, and transmitting the second bus signal to the peripheral component interconnection slot; and A power gating control circuit is electrically connected to the peripheral component interconnection slot for determining whether to provide a voltage source at the output end of the power gating circuit to the bridge circuit according to the plug-in state judgment signal. 如請求項1之電腦裝置,其中該第一匯流排信號為一快速周邊組件互連匯流排(PCIe)信號且該第二匯流排信號為一周邊組件互連(PCI)匯流排信號。For example, the computer device of claim 1, wherein the first bus signal is a peripheral component interconnection bus (PCIe) signal and the second bus signal is a peripheral component interconnection (PCI) bus signal. 如請求項1之電腦裝置,其中當該介面卡已插設至該周邊組件互連插槽時,該插設狀態判斷信號係處於低邏輯狀態, 其中當該介面卡未插設至該周邊組件互連插槽時,該插設狀態判斷信號係處於高邏輯狀態。 For example, the computer device of claim 1, wherein when the interface card has been inserted into the peripheral component interconnection slot, the insertion state judgment signal is in a low logic state, When the interface card is not inserted into the peripheral component interconnection slot, the insertion state judgment signal is in a high logic state. 如請求項3之電腦裝置,其中當該插設狀態判斷信號處於低邏輯狀態,該電源閘控電路係提供該電壓源至該橋接電路, 其中當該插設狀態判斷信號處於高邏輯狀態,該電源閘控電路係斷開該電壓源。 Such as the computer device of claim 3, wherein when the plug-in state determination signal is in a low logic state, the power gating control circuit provides the voltage source to the bridge circuit, Wherein, when the plug-in state judgment signal is in a high logic state, the power gating control circuit disconnects the voltage source. 如請求項4之電腦裝置,其中該電源閘控電路包括: 一第一N型電晶體,其中該第一N型電晶體之閘極、源極及汲極係分別連接至該插設狀態判斷信號、接地端及第一節點,其中該第一節點係經由第一電阻以連接至第一電壓源; 一第二N型電晶體,其中該第二N型電晶體之閘極、源極及汲極係分別連接至該第一節點、該接地端及第二節點,其中該第二節點係經由第二電阻以連接至第二電壓源,並經由第三電阻以連接至第三節點;以及 一P型電晶體,其中該P型電晶體之閘極、源極及汲極係分別連接至該第三節點、該第二電壓源及該電源閘控電路之該輸出端。 For example, the computer device of claim 4, wherein the power gating control circuit includes: 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 the first node, wherein the first node is through The first resistor is connected to the first voltage source; A second N-type transistor, wherein the gate, source, and drain of the second N-type transistor are connected to the first node, the ground terminal, and the second node, respectively, and the second node is connected through the first node. Two resistors are connected to the second voltage source and 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型電晶體處於關閉狀態以使該電源閘控電路之該輸出端為浮接狀態。 For example, 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 a closed 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 to make the second node and the third node in a low logic state, and the P-type transistor is turned on to allow the second voltage source to be transmitted to the output terminal of the power gating circuit through the P-type transistor , Wherein, when the insertion state judgment 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 a closed state to make the second node and the The third node is in a high logic state, and the P-type transistor is in a closed state to make the output terminal of the power gating control circuit in a floating state. 一種電源閘控電路,用於一電腦裝置,其中該電腦裝置包括一中央處理器、一平台控制集線器、一橋接電路及一周邊組件互連插槽,且該周邊組件互連插槽係判斷是否有一介面卡插設至該周邊組件互連插槽以產生一插設狀態判斷信號,該電源閘控電路包括: 一輸入級,用以依據該插設狀態判斷信號以產生一橋接電路電源致能信號; 一驅動級,用以依據該橋接電路電源致能信號以產生開關控制信號;以及 一輸出級,用以依據該開關控制信號以決定是否將一電壓源輸出至該電源閘控電路之輸出端以提供至該橋接電路。 A power gating control 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 determines whether An interface card is inserted into the peripheral component interconnection slot to generate an insertion state judgment signal, and the power gating control circuit includes: An input stage for generating a bridge circuit power supply enable signal according to the plug-in 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 to determine whether to output a voltage source to the output terminal of the power gating circuit to provide to the bridge circuit according to the switch control signal. 如請求項7之電源閘控電路,其中當該介面卡已插設至該周邊組件互連插槽時,該插設狀態判斷信號係處於低邏輯狀態, 其中當該介面卡未插設至該周邊組件互連插槽時,該插設狀態判斷信號係處於高邏輯狀態。 For example, the power gating control circuit of claim 7, wherein when the interface card has been inserted into the peripheral component interconnection slot, the insertion state judgment signal is in a low logic state, When the interface card is not inserted into the peripheral component interconnection slot, the insertion state judgment signal is in a high logic state. 如請求項8之電源閘控電路,其中當該插設狀態判斷信號處於低邏輯狀態,該電源閘控電路係提供該電壓源至該橋接電路, 其中當該插設狀態判斷信號處於高邏輯狀態,該電源閘控電路係斷開該電壓源。 For example, the power gating control circuit of claim 8, wherein when the insertion state judgment signal is in a low logic state, the power gating control circuit provides the voltage source to the bridge circuit, Wherein, when the plug-in state judgment signal is in a high logic state, the power gating control circuit disconnects the voltage source. 如請求項9之電源閘控電路,其中該輸入級為一第一N型電晶體,且該第一N型電晶體之閘極、源極及汲極係分別連接至該插設狀態判斷信號、接地端及第一節點,其中該第一節點係經由第一電阻以連接至第一電壓源, 其中該驅動級為一第二N型電晶體,且該第二N型電晶體之閘極、源極及汲極係分別連接至該第一節點、該接地端及第二節點,其中該第二節點係經由第二電阻以連接至第二電壓源,並經由第三電阻以連接至第三節點, 其中該輸出級為一P型電晶體,且該P型電晶體之閘極、源極及汲極係分別連接至該第三節點、該第二電壓源及該電源閘控電路之該輸出端。 For example, the power gating control 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 plug-in 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 driver 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. 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 terminal of the power gate control circuit . 如請求項10之電源閘控電路,其中當該插設狀態判斷信號處於低邏輯狀態,該第一N型電晶體係處於關閉狀態,且該第一節點係處於高邏輯狀態,該第二N型電晶體導通以使該第二節點及該第三節點處於低邏輯狀態,且該P型電晶體導通以使該第二電壓源透過該P型電晶體以傳送至該電源閘控電路之該輸出端, 其中當該插設狀態判斷信號處於高邏輯狀態,該第一N型電晶體導通以使該第一節點處於低邏輯狀態,該第二N型電晶體處於關閉狀態以使該第二節點及該第三節點處於高邏輯狀態,且該P型電晶體處於關閉狀態以使該電源閘控電路之該輸出端為浮接狀態。 For example, the power gating control circuit of claim 10, wherein when the insertion state judgment signal is in a low logic state, the first N-type transistor system is in a closed state, and the first node is in a high logic state, and the second N The P-type transistor is turned on to make the second node and the third node in a low logic state, and the P-type transistor is turned on to allow the second voltage source to pass through the P-type transistor to be transmitted to the power gating circuit. Output, Wherein, when the insertion state judgment 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 a closed state to make the second node and the The third node is in a high logic state, and the P-type transistor is in a closed state to make the output terminal of the power gating control circuit 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 true TWI740632B (en) 2021-09-21
TW202210997A 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)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200945017A (en) * 2008-04-30 2009-11-01 Asustek Comp Inc Motherboard and power managing method for graphic card installed thereon
TW201228231A (en) * 2010-12-29 2012-07-01 Hon Hai Prec Ind Co Ltd Power supply circuit for PCI-E slot
EP3495918A1 (en) * 2017-12-07 2019-06-12 Giga-Byte Technology Co., Ltd. Method for system power management and computing system thereof
EP3667507A1 (en) * 2018-12-12 2020-06-17 INTEL Corporation Pcie card edge connector for power delivery

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200945017A (en) * 2008-04-30 2009-11-01 Asustek Comp Inc Motherboard and power managing method for graphic card installed thereon
TW201228231A (en) * 2010-12-29 2012-07-01 Hon Hai Prec Ind Co Ltd Power supply circuit for PCI-E slot
EP3495918A1 (en) * 2017-12-07 2019-06-12 Giga-Byte Technology Co., Ltd. Method for system power management and computing system thereof
EP3667507A1 (en) * 2018-12-12 2020-06-17 INTEL Corporation Pcie card edge connector for power delivery

Also Published As

Publication number Publication date
TW202210997A (en) 2022-03-16

Similar Documents

Publication Publication Date Title
JP6813392B2 (en) Configurable and power-optimized integrated gate driver for USB power supply and Type-C SoC
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
TWI442699B (en) Power switch module, voltage generation circuit and power control method for electronic device
US10630028B2 (en) Reverse overcurrent protection for universal serial bus type-C (USB-C) connector systems
WO2020034775A1 (en) Power-up time sequence control circuit and electronic device
JP2013505600A (en) Integrated circuit adapted to be selectively AC or DC coupled
US8201003B2 (en) Circuit for preventing computer power down sequence failure
US20130166809A1 (en) Drive circuit for peripheral component interconnect-express (pcie) slots
US7493507B2 (en) System for protecting a motherboard while a component is not connected properly to its power source
JP6196380B2 (en) Power management in circuits
US7359995B2 (en) Peripheral device connection current compensation circuit
TWI740632B (en) Computer apparatus and power gating circuit
TW201308570A (en) Circuit for controlling reading and writing
US20090164695A1 (en) Pci load card
US6952784B1 (en) Multi-source power switching circuit for Wake On LAN ethernet application
US7278042B2 (en) Circuit for protecting a motherboard by removing power to the motherboard based on the status of an attached component
US8230251B2 (en) Time sequence control circuit
TW201939895A (en) Electronic device and hot-plug protection circuit
US6829128B2 (en) Thermal trip power control circuit
CN109917888B (en) Memory transfer VPP_2V5 circuit and computer
TW201327125A (en) Power supply system for memory
TWI590022B (en) Circuit for transforming voltage
TW201426273A (en) Motherboard and power management method thereof
CN214896522U (en) Discharge control circuit, board card and computer equipment