TWI755615B - Method for controlling current flowing into circuit module and associated chip - Google Patents
Method for controlling current flowing into circuit module and associated chip Download PDFInfo
- Publication number
- TWI755615B TWI755615B TW108124995A TW108124995A TWI755615B TW I755615 B TWI755615 B TW I755615B TW 108124995 A TW108124995 A TW 108124995A TW 108124995 A TW108124995 A TW 108124995A TW I755615 B TWI755615 B TW I755615B
- Authority
- TW
- Taiwan
- Prior art keywords
- circuit
- signal
- circuit module
- control
- detection
- Prior art date
Links
Images
Landscapes
- Semiconductor Integrated Circuits (AREA)
Abstract
Description
本發明係有關於控制流入電路模組之電流量的方法及相關的晶片。 The present invention relates to a method for controlling the amount of current flowing into a circuit module and related chips.
在考慮低功耗的電路設計中,通常會採用電源開關(power switch)來對電路模組作斷電及上電的操作,以達到減少漏電流消耗的目標。然而,當電源開關開啟以使得電路模組由斷電狀態進入到上電狀態時,若是沒有考慮到瞬間最大電流的限制,則有可能會導致電路模組之周邊元件的壓降過高,進而造成周邊元件在功能或是時序上的問題。 In a circuit design considering low power consumption, a power switch is usually used to power off and power on the circuit module, so as to achieve the goal of reducing leakage current consumption. However, when the power switch is turned on to make the circuit module enter the power-on state from the power-off state, if the limitation of the instantaneous maximum current is not considered, the voltage drop of the peripheral components of the circuit module may be too high, and further Causes problems in the function or timing of peripheral components.
為了解決上述瞬間最大電流過高的問題,可以使用電子設計自動化軟體作分析,並採用不同的電源開關架構來循序地增加流入至電路模組的電流,然而,在分析階段所模擬出來的結果並無法準確地反映出實際晶片運作時的狀況,因此所設計出的電源開關架構並無法根據晶片的狀態做動態的調整,而有可能會影響到電路模組在開啟電源時的效率。 In order to solve the problem of the above instantaneous maximum current being too high, electronic design automation software can be used for analysis, and different power switch architectures can be used to sequentially increase the current flowing into the circuit module. However, the results simulated in the analysis stage are not The actual operating conditions of the chip cannot be accurately reflected, so the designed power switch structure cannot be dynamically adjusted according to the state of the chip, which may affect the efficiency of the circuit module when the power is turned on.
因此,本發明的目的之一在於提供一種控制流入電路模組之電流量 的方法,其可以即時地偵測電路模組從斷電到上電的過程中是否會對周邊元件造成影響,以動態地調整流入電路模組的電流量,以在不影響周邊元件的情形下達到最佳開啟電源的效率。 Therefore, one of the objectives of the present invention is to provide a method for controlling the amount of current flowing into the circuit module method, which can instantly detect whether the circuit module will affect the surrounding components during the process of power-off to power-on, so as to dynamically adjust the amount of current flowing into the circuit module, so as not to affect the surrounding components. To achieve the best power-on efficiency.
在本發明的一個實施例中,揭露了一種包含可開關電區域的晶片,其包含有一電路模組、一電源開關以及至少一偵測及控制電路,其中該電源開關耦接於一供應電壓以及該電路模組之間,用以選擇性地將該供應電壓提供給該電路模組,並根據至少一控制訊號來控制流入該電路模組的電流量;以及該偵測及控制電路係耦接於該電源開關,且用以即時偵測位於該電路模組之周邊的至少一第一電路所產生之一第一訊號,並將該第一訊號與一第二訊號進行比較以判斷出該第一電路的一訊號狀態,並據以產生該控制訊號以調整流入該電路模組的電流量。 In one embodiment of the present invention, a chip including a switchable electrical region is disclosed, which includes a circuit module, a power switch, and at least a detection and control circuit, wherein the power switch is coupled to a supply voltage and Between the circuit modules, the supply voltage is selectively supplied to the circuit module, and the amount of current flowing into the circuit module is controlled according to at least one control signal; and the detection and control circuits are coupled in the power switch, and used for real-time detection of a first signal generated by at least a first circuit around the circuit module, and comparing the first signal with a second signal to determine the first signal A signal state of a circuit, and the control signal is generated accordingly to adjust the amount of current flowing into the circuit module.
在本發明的另一個實施例中,揭露了一種控制流入一電路模組之電流量的方法,其包含有:即時偵測位於該電路模組之周邊的至少一第一電路所產生之一第一訊號,並將該第一訊號與一第二訊號進行比較以判斷出該第一電路的一訊號狀態,以產生一控制訊號;以及根據該控制訊號以控制流入該電路模組的電流量。 In another embodiment of the present invention, a method for controlling the amount of current flowing into a circuit module is disclosed, comprising: real-time detection of a first circuit generated by at least a first circuit located around the circuit module a signal, and comparing the first signal with a second signal to determine a signal state of the first circuit to generate a control signal; and control the amount of current flowing into the circuit module according to the control signal.
100、300:晶片 100, 300: wafer
110、310:電路模組 110, 310: circuit module
120、320:電源開關 120, 320: Power switch
130、330_1~330_4:偵測及控制電路 130, 330_1~330_4: detection and control circuit
132:第一電路 132: First Circuit
134:第二電路 134: Second Circuit
136:比較器 136: Comparator
400~406:步驟 400~406: Steps
SW11~SW16、SW21~SW23:開關 SW11~SW16, SW21~SW23: switch
Vc、Vc1~Vc4、VSW1、VSW2:控制訊號 Vc, Vc1~Vc4, VSW1, VSW2: Control signal
VDD:供應電壓 VDD: Supply voltage
VS1:第一訊號 VS1: First signal
VS2:第二訊號 VS2: Second signal
第1圖為根據本發明一實施例之一晶片的示意圖。 FIG. 1 is a schematic diagram of a wafer according to an embodiment of the present invention.
第2圖為根據本發明一實施例之電源開關的示意圖。 FIG. 2 is a schematic diagram of a power switch according to an embodiment of the present invention.
第3圖為根據本發明另一實施例之一晶片的示意圖。 FIG. 3 is a schematic diagram of a wafer according to another embodiment of the present invention.
第4圖為根據本發明一實施例之一種控制流入一電路模組之電流量的方法的流程圖。 FIG. 4 is a flowchart of a method for controlling the amount of current flowing into a circuit module according to an embodiment of the present invention.
在說明書及後續的申請專利範圍當中使用了某些詞彙來指稱特定的元件。所屬領域中具有通常知識者應可理解,硬體製造商可能會用不同的名詞來稱呼同一個元件。本說明書及後續的申請專利範圍並不以名稱的差異來作為區分元件的方式,而是以元件在功能上的差異來作為區分的準則。在通篇說明書及後續的請求項當中所提及的「包含」係為一開放式的用語,故應解釋成「包含但不限定於」。此外,「耦接」一詞在此係包含任何直接及間接的電氣連接手段,因此,若文中描述一第一裝置耦接於一第二裝置,則代表該第一裝置可直接電氣連接於該第二裝置,或者透過其他裝置或連接手段間接地電氣連接至該第二裝置。 Certain terms are used in the specification and subsequent claims to refer to particular elements. It should be understood by those of ordinary skill in the art that hardware manufacturers may refer to the same element by different nouns. The scope of this specification and subsequent applications does not take the difference in name as a way to distinguish elements, but takes the difference in function of the elements as a criterion for distinguishing. The reference to "including" throughout the specification and subsequent claims is an open-ended term and should be interpreted as "including but not limited to". In addition, the word "coupled" herein includes any means of direct and indirect electrical connection, thus, if a first device is described as being coupled to a second device, it means that the first device can be directly electrically connected to the the second device, or indirectly electrically connected to the second device through other devices or connecting means.
第1圖為根據本發明一實施例之一晶片100的示意圖。如第1圖所示,晶片100包含了一電路模組110、一電源開關120以及一偵測及控制電路130,其中偵測及控制電路130包含了一第一電路132、一第二電路134以及一比較器136。在本實施例中,電路模組110係為一可開關電的電路模組,亦即電路模組110是透過電源開關120來選擇性地接收一供應電壓VDD。
FIG. 1 is a schematic diagram of a
第2圖為根據本發明一實施例之電源開關120的示意圖。如第2圖所示,電源開關120包含了兩組開關,其中第一組開關包含了開關SW11~SW16,其用來根據一控制訊號VSW1的準位來開啟或關閉;以及第二組開關包含了開關SW21~SW23,其用來根據一控制訊號VSW2的準位來開啟或關閉。在第2圖所示
的架構中,當第一組開關SW11~SW16以及第二組開關SW21~SW23都關閉時,電路模組110會因為無法接收到供應電壓VDD而處於斷電狀態;當第一組開關SW11~SW16關閉而第二組開關SW21~SW23開啟時,電路模組110可接收到供應電壓VDD,但是僅有較小的電流量由供應電壓VDD的端點流入至電路模組110中;當第一組開關SW11~SW16開啟而第二組開關SW21~SW23關閉時,電路模組110可接收到供應電壓VDD,且有較高的電流量由供應電壓VDD的端點流入至電路模組110中;以及當第一組開關SW11~SW16與第二組開關SW21~SW23都開啟時,有最高的電流量由供應電壓VDD的端點流入至電路模組110中。需注意的是,第2圖的例子僅是用來作為範例說明,而並非是作為本發明的限制,在其他的實施例中,電源開關120可以有更多組開關,且每一組開關的數量也可以相同或是不同,只要電源開關120可以控制電路模組110具有多種不同之電流量,相關設計上的變化均應隸屬於本發明的範疇。
FIG. 2 is a schematic diagram of a
如先前技術中所述,由於在電源開關120開啟而使得電路模組110由斷電狀態進入到上電狀態時,可能會因為流入電路模組110的瞬間電流過大的問題而導致周邊元件的功能或是時序異常,因此,本實施例中提供了偵測及控制電路130,以動態地偵測電路模組110周邊元件的訊號狀態以供判斷是否有瞬間電流過大的問題,並產生一控制訊號Vc以調整供應電壓VDD的端點透過電源開關120流入至電路模組110的電流量,亦即第2圖所示的控制訊號VSW1、VSW2可以根據偵測及控制電路130所產生的控制訊號Vc而改變。
As described in the prior art, when the
在偵測及控制電路130中,第一電路132係設置在電路模組110的邊緣,以使得所產生的一第一訊號VS1會明顯地受到流入電路模組110的瞬間電流所影響;而第二電路134係設置遠離電路模組110的位置,以使得所產生的一第
二訊號VS2不會受到流入電路模組110的瞬間電流所影響。在本實施例中,第一電路132所產生的第一訊號VS1與第二電路134所產生的第二訊號VS2是相同的訊號,舉例來說,第一電路132與第二電路134可以是具有相同或類似架構的時脈產生電路,而第一訊號VS1與第二訊號VS2可以是具有相同頻率的時脈訊號;在另一範例中,第一電路132與第二電路134可以是線性反饋移位暫存器(Linear Feedback Shift Register,LFSR),而此時第一訊號VS1與第二訊號VS2為一偽隨機序列。比較器136則會比較第一訊號VS1以及第二訊號VS2的電壓準位,以判斷第一訊號VS1以及第二訊號VS2是否一致(亦即,電壓波形是否一致),以產生控制訊號Vc至電源開關120,以調整流入至電路模組110的電流量。
In the detection and
此外,在本實施例中,偵測及控制電路130是位於晶片100中永遠不會斷電的區域,亦即只要晶片100有連接到外部的電源,偵測及控制電路130可以一直接收到供應電壓VDD以進行相關的操作。
In addition, in this embodiment, the detection and
具體來說,當電路模組110需要由斷電狀態進入到上電狀態時,晶片100內的一控制電路會控制電源開關120產生控制訊號VSW1、VSW2以開啟第2圖所示之兩組開關中的至少其中一組。此時,由於電路模組110開始有電流流入,故比較器136比較第一訊號VS1以及第二訊號VS2,以判斷設置在電路模組110邊緣的第一電路132所產生的第一訊號VS1是否有被電源開關120的瞬間電流所影響。若是比較電路136判斷第一電路132所產生的第一訊號VS1有被電源開關120的瞬間電流所影響,則比較電路136產生控制訊號Vc至電源開關120,以控制/調整控制訊號VSW1、VSW2來關閉其中一組開關以降低流入至電路模組110的電流量;若是比較電路136判斷第一電路132所產生的第一訊號VS1沒有被電源開關120的瞬間電流所影響,則比較電路136產生控制訊號Vc至電源開關
120,以控制/調整控制訊號VSW1、VSW2來開啟其中一組開關以增加流入至電路模組110的電流量。
Specifically, when the
如上所述,透過在電路模組110由斷電狀態進入到上電狀態的過程中即時地偵測周邊元件(亦即,第一電路132)的訊號是否異常,可以在訊號異常時盡速地降低流入至電路模組110的電流量,以避免周邊元件的功能受到影響;此外,若是偵測周邊元件(亦即,第一電路132)的訊號正常,則可以加速電源開關120中開關開啟的速度,以增加流入至電路模組110的電流量,提升上電效率。因此,本實施例可以兼顧周邊元件的功能性以及電路模組110的上電效率。
As described above, by immediately detecting whether the signal of the peripheral element (ie, the first circuit 132 ) is abnormal during the process of the
在第1圖所示的實施例中,晶片100僅包含了一個偵測及控制電路130,然而,由於電源開關120與電路模組110的相對位置關係可能不同,再加上電路模組110每一側的周邊元件因為瞬間電流受到的影響可能會不相同,故在本發明的其他實施例中,晶片100可以包含多個偵測及控制電路以更準確地判斷電路模組110的瞬間電流對於周邊元件的影響。參考第3圖,其為根據本發明另一實施例之一晶片300的示意圖。如第3圖所示,晶片300包含了一電路模組310、一電源開關320以及四個偵測及控制電路330_1~330_4。在本實施例中,電路模組310係為一可開關電的電路模組,亦即電路模組310是透過電源開關320來選擇性地接收一供應電壓VDD。
In the embodiment shown in FIG. 1, the
在一實施例中,偵測及控制電路330_1~330_4係平均地分布在電路模組310的周圍,例如第3圖所示之控制電路330_1係位於電路模組310的右側、控制電路330_2係位於電路模組310的下方、控制電路330_3係位於電路模組310的左側、而控制電路330_4係位於電路模組310的上方。每一個偵測及控制電路
330_1~330_4的架構相同於第1圖所示的偵測及控制電路130,且電源開關320也可由第2圖所示之電源開關120來實作,故相關的操作細節不再贅述。在本實施例中,偵測及控制電路330_1~330_4係分別判斷電路模組310之周邊元件(例如,第1圖所示的第一電路132)的訊號是否正常,並分別產生多個控制訊號Vc1~Vc4至電源開關320,以供調整流入至電路模組310的電流量。具體來說,當電源開關320開啟而使得電路模組310由斷電狀態進入到上電狀態的過程中,若是電源開關320所接收到之Vc1~Vc4指出有任何一個偵測及控制電路330_1~330_4偵測到電路模組310之周邊電路的訊號狀態異常,則電源開關320會降低流入電路模組310的電流量,以避免周邊元件的功能受到影響;此外,若是電源開關320所接收到之Vc1~Vc4指出每一個偵測及控制電路330_1~330_4所偵測到之電路模組310的周邊電路的訊號狀態都正常,則加速電源開關120中開關開啟的速度,以增加流入至電路模組110的電流量,提升上電效率。
In one embodiment, the detection and control circuits 330_1 to 330_4 are evenly distributed around the
第4圖為根據本發明一實施例之一種控制流入一電路模組之電流量的方法的流程圖。同時參考第1~4圖及以上所揭露的內容,流程如下所述。 FIG. 4 is a flowchart of a method for controlling the amount of current flowing into a circuit module according to an embodiment of the present invention. At the same time, referring to FIGS. 1 to 4 and the contents disclosed above, the process is as follows.
步驟400:流程開始。 Step 400: The process starts.
步驟402:電路模組由斷電狀態進入到上電狀態。 Step 402: The circuit module enters a power-on state from a power-off state.
步驟404:即時偵測電路模組之周邊電路的訊號狀態,以產生至少一控制訊號。 Step 404: Real-time detection of the signal state of the peripheral circuit of the circuit module to generate at least one control signal.
步驟406:根據該至少一控制訊號以動態地控制流入電路模組的電流量。 Step 406: Dynamically control the amount of current flowing into the circuit module according to the at least one control signal.
簡要歸納本發明,在本發明之一種控制流入電路模組之電流量的方法及相關的晶片中,係在電路模組從斷電到上電的過程中即時地偵測周邊元件 的訊號使否有異常,並據以動態地調整流入電路模組的電流量。透過本發明的操作,可以兼顧周邊元件的功能性以及電路模組的上電效率。 To briefly summarize the present invention, in a method for controlling the amount of current flowing into a circuit module and a related chip of the present invention, the peripheral components are detected in real time during the process from power-off to power-on of the circuit module. The signal makes whether there is any abnormality, and dynamically adjusts the amount of current flowing into the circuit module accordingly. Through the operation of the present invention, the functionality of peripheral components and the power-on efficiency of the circuit module can be taken into account.
以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。 The above descriptions are only preferred embodiments of the present invention, and all equivalent changes and modifications made according to the scope of the patent application of the present invention shall fall within the scope of the present invention.
100:晶片 100: Wafer
110:電路模組 110: circuit module
120:電源開關 120: Power switch
130:偵測及控制電路 130: Detection and control circuit
132:第一電路 132: First Circuit
134:第二電路 134: Second Circuit
136:比較器 136: Comparator
Vc:控制訊號 Vc: control signal
VDD:供應電壓 VDD: Supply voltage
VS1:第一訊號 VS1: First signal
VS2:第二訊號 VS2: Second signal
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108124995A TWI755615B (en) | 2017-11-09 | 2017-11-09 | Method for controlling current flowing into circuit module and associated chip |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108124995A TWI755615B (en) | 2017-11-09 | 2017-11-09 | Method for controlling current flowing into circuit module and associated chip |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201939191A TW201939191A (en) | 2019-10-01 |
TWI755615B true TWI755615B (en) | 2022-02-21 |
Family
ID=69023127
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW108124995A TWI755615B (en) | 2017-11-09 | 2017-11-09 | Method for controlling current flowing into circuit module and associated chip |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI755615B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000134919A (en) * | 1998-10-22 | 2000-05-12 | Tohoku Ricoh Co Ltd | Switching power device |
TW201232981A (en) * | 2011-01-26 | 2012-08-01 | Global Unichip Corp | A power gating for in-rush current mitigation |
TWI489267B (en) * | 2012-01-24 | 2015-06-21 | Nvidia Corp | Power distribution for microprocessor power gates |
US20170214323A1 (en) * | 2016-01-21 | 2017-07-27 | Inno-Tech Co., Ltd. | Power supply and method of power supplying |
-
2017
- 2017-11-09 TW TW108124995A patent/TWI755615B/en active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000134919A (en) * | 1998-10-22 | 2000-05-12 | Tohoku Ricoh Co Ltd | Switching power device |
TW201232981A (en) * | 2011-01-26 | 2012-08-01 | Global Unichip Corp | A power gating for in-rush current mitigation |
TWI489267B (en) * | 2012-01-24 | 2015-06-21 | Nvidia Corp | Power distribution for microprocessor power gates |
US20170214323A1 (en) * | 2016-01-21 | 2017-07-27 | Inno-Tech Co., Ltd. | Power supply and method of power supplying |
Also Published As
Publication number | Publication date |
---|---|
TW201939191A (en) | 2019-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111146928A (en) | Regulating circuit and BUCK circuit | |
WO2017016319A1 (en) | Dv/dt detection and protection apparatus and method | |
EP2955532B1 (en) | Adaptive voltage scaling circuit and chip | |
TWI755615B (en) | Method for controlling current flowing into circuit module and associated chip | |
CN112783250B (en) | Method for controlling current flowing into circuit module and related chip | |
CN106292827B (en) | A kind of device for generating voltage and semiconductor chip | |
US9354690B1 (en) | Systems and methods for adjusting core voltage to optimize power savings | |
US20130342183A1 (en) | Switching regulator control circuit with multiple clock frequency setting modes | |
CN215344364U (en) | Power device drive circuit and electronic equipment | |
TW202327210A (en) | Glitch free brown out detector | |
TWI715096B (en) | Device and method for over-current protection | |
US7538560B2 (en) | System and method for component failure protection | |
TWI494946B (en) | Dll system in memory device with wide frequency application and method for dynamically changing power supply of delay line in dll system in memory device with frequency application | |
JP2004037202A (en) | Test circuit for semiconductor integrated circuit | |
CN113315356B (en) | Power device driving circuit | |
CN215897705U (en) | Power switch control circuit | |
JP2002259357A (en) | Microcomputer | |
US11016554B2 (en) | Semiconductor apparatus | |
TW201916517A (en) | Temperature determination circuit and power management circuit | |
JP2004021747A (en) | Power source current monitoring circuit | |
JP4111167B2 (en) | Abnormal cell detector | |
JP2008099356A (en) | Mode switching circuit | |
CN113315356A (en) | Power device driving circuit | |
TW202215197A (en) | Circuit board, expansion card, circuit board module and switching method for power supply mode using the same | |
JP2002041319A (en) | Power failure detecting circuit and in-circuit emulator |