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 PDF

Info

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
Application number
TW108124995A
Other languages
Chinese (zh)
Other versions
TW201939191A (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 TW108124995A priority Critical patent/TWI755615B/en
Publication of TW201939191A publication Critical patent/TW201939191A/en
Application granted granted Critical
Publication of TWI755615B publication Critical patent/TWI755615B/en

Links

Images

Landscapes

  • Semiconductor Integrated Circuits (AREA)

Abstract

The present invention provides a chip including a circuit module, a power switch and a detection and control circuit. The power switch is coupled between a supply voltage and the circuit module, and is used to selectively connect the supply voltage to the circuit module, and control a current amount flowing into the circuit module according to at least a control signal. The detection and control circuit is coupled to the power switch, and is used to detect a first signal generated by a first circuit positioned surrounding the circuit module, and compare the first signal with a second signal in a real-time manner to generate the control signal to adjust the current amount flowing into the circuit module.

Description

控制流入電路模組之電流量的方法及相關的晶片 Method for controlling the amount of current flowing into a circuit module and related chip

本發明係有關於控制流入電路模組之電流量的方法及相關的晶片。 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 wafer 100 according to an embodiment of the present invention. As shown in FIG. 1 , the chip 100 includes a circuit module 110 , a power switch 120 and a detection and control circuit 130 , wherein the detection and control circuit 130 includes a first circuit 132 and a second circuit 134 and a comparator 136 . In this embodiment, the circuit module 110 is a switchable circuit module, that is, the circuit module 110 selectively receives a supply voltage VDD through the power switch 120 .

第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 power switch 120 according to an embodiment of the present invention. As shown in FIG. 2, the power switch 120 includes two groups of switches, wherein the first group of switches includes switches SW11-SW16, which are used for turning on or off according to the level of a control signal VSW1; and the second group of switches includes Switches SW21-SW23 are provided, which are used to turn on or off according to the level of a control signal VSW2. shown in Figure 2 In the structure, when the first group of switches SW11 to SW16 and the second group of switches SW21 to SW23 are all turned off, the circuit module 110 will be in a power-off state because it cannot receive the supply voltage VDD; when the first group of switches SW11 to SW16 When the second group of switches SW21-SW23 is turned off, the circuit module 110 can receive the supply voltage VDD, but only a small amount of current flows into the circuit module 110 from the terminal of the supply voltage VDD; when the first group of switches SW21-SW23 is turned on When the switches SW11 ˜ SW16 are turned on and the second set of switches SW21 ˜ SW23 are turned off, the circuit module 110 can receive the supply voltage VDD, and a higher amount of current flows into the circuit module 110 from the terminal of the supply voltage VDD; and When the first group of switches SW11 ˜ SW16 and the second group of switches SW21 ˜ SW23 are both turned on, the highest current flows into the circuit module 110 from the terminal of the supply voltage VDD. It should be noted that the example in FIG. 2 is only used as an example, rather than as a limitation of the present invention. In other embodiments, the power switch 120 may have more groups of switches, and the The number can also be the same or different. As long as the power switch 120 can control the circuit module 110 to have various currents, the related design changes should belong to the scope of the present invention.

如先前技術中所述,由於在電源開關120開啟而使得電路模組110由斷電狀態進入到上電狀態時,可能會因為流入電路模組110的瞬間電流過大的問題而導致周邊元件的功能或是時序異常,因此,本實施例中提供了偵測及控制電路130,以動態地偵測電路模組110周邊元件的訊號狀態以供判斷是否有瞬間電流過大的問題,並產生一控制訊號Vc以調整供應電壓VDD的端點透過電源開關120流入至電路模組110的電流量,亦即第2圖所示的控制訊號VSW1、VSW2可以根據偵測及控制電路130所產生的控制訊號Vc而改變。 As described in the prior art, when the power switch 120 is turned on and the circuit module 110 enters the power-on state from the power-off state, the function of the peripheral components may be affected by the problem of excessive instantaneous current flowing into the circuit module 110 . Or the timing is abnormal. Therefore, a detection and control circuit 130 is provided in this embodiment to dynamically detect the signal state of the peripheral components of the circuit module 110 to determine whether there is a problem of excessive instantaneous current, and to generate a control signal. Vc is used to adjust the amount of current flowing into the circuit module 110 through the power switch 120 at the terminal of the supply voltage VDD, that is, the control signals VSW1 and VSW2 shown in FIG. 2 can be based on the control signal Vc generated by the detection and control circuit 130 and change.

在偵測及控制電路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 control circuit 130, the first circuit 132 is disposed at the edge of the circuit module 110, so that a first signal VS1 generated is obviously affected by the instantaneous current flowing into the circuit module 110; The two circuits 134 are located away from the circuit module 110, so that the generated first The second signal VS2 is not affected by the instantaneous current flowing into the circuit module 110 . In this embodiment, the first signal VS1 generated by the first circuit 132 and the second signal VS2 generated by the second circuit 134 are the same signal. For example, the first circuit 132 and the second circuit 134 may have The clock generation circuit of the same or similar structure, and the first signal VS1 and the second signal VS2 can be clock signals with the same frequency; in another example, the first circuit 132 and the second circuit 134 can be linear feedback shift Bit register (Linear Feedback Shift Register, LFSR), and at this time the first signal VS1 and the second signal VS2 are a pseudo-random sequence. The comparator 136 compares the voltage levels of the first signal VS1 and the second signal VS2 to determine whether the first signal VS1 and the second signal VS2 are consistent (ie, whether the voltage waveforms are consistent), so as to generate the control signal Vc to the power supply The switch 120 is used to adjust the amount of current flowing into the circuit module 110 .

此外,在本實施例中,偵測及控制電路130是位於晶片100中永遠不會斷電的區域,亦即只要晶片100有連接到外部的電源,偵測及控制電路130可以一直接收到供應電壓VDD以進行相關的操作。 In addition, in this embodiment, the detection and control circuit 130 is located in an area of the chip 100 that will never be powered off, that is, as long as the chip 100 is connected to an external power supply, the detection and control circuit 130 can always receive the power supply voltage VDD for related operations.

具體來說,當電路模組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 circuit module 110 needs to enter the power-on state from the power-off state, a control circuit in the chip 100 controls the power switch 120 to generate control signals VSW1 and VSW2 to turn on the two sets of switches shown in FIG. 2 . at least one of them. At this time, since the circuit module 110 begins to have current flowing in, the comparator 136 compares the first signal VS1 and the second signal VS2 to determine whether the first signal VS1 generated by the first circuit 132 disposed at the edge of the circuit module 110 is not It is affected by the transient current of the power switch 120 . If the comparison circuit 136 determines that the first signal VS1 generated by the first circuit 132 is affected by the instantaneous current of the power switch 120, the comparison circuit 136 generates the control signal Vc to the power switch 120 to control/adjust the control signals VSW1 and VSW2 to One group of switches is turned off to reduce the amount of current flowing into the circuit module 110; if the comparison circuit 136 determines that the first signal VS1 generated by the first circuit 132 is not affected by the instantaneous current of the power switch 120, the comparison circuit 136 controls Signal Vc to power switch 120 , using the control/adjustment control signals VSW1 and VSW2 to turn on one of the switches to increase the amount of current flowing into the circuit module 110 .

如上所述,透過在電路模組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 circuit module 110 from the power-off state to the power-on state, it is possible to detect the abnormality of the signal as soon as possible when the signal is abnormal. The amount of current flowing into the circuit module 110 is reduced to prevent the functions of the peripheral components from being affected; in addition, if the signals of the detected peripheral components (ie, the first circuit 132 ) are normal, the turn-on of the switch in the power switch 120 can be accelerated. speed, so as to increase the amount of current flowing into the circuit module 110 and improve the power-on efficiency. Therefore, the present embodiment can take into account the functionality of peripheral components and the power-on efficiency of the circuit module 110 .

在第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 chip 100 includes only one detection and control circuit 130. However, since the relative positional relationship between the power switch 120 and the circuit module 110 may be different, in addition, each circuit module 110 may have different relative positions. The peripheral elements on one side may be affected differently by the instantaneous current. Therefore, in other embodiments of the present invention, the chip 100 may include a plurality of detection and control circuits to more accurately determine the instantaneous current of the circuit module 110 for influence of peripheral components. Referring to FIG. 3, which is a schematic diagram of a wafer 300 according to another embodiment of the present invention. As shown in FIG. 3 , the chip 300 includes a circuit module 310 , a power switch 320 and four detection and control circuits 330_1 to 330_4 . In this embodiment, the circuit module 310 is a switchable circuit module, that is, the circuit module 310 selectively receives a supply voltage VDD through the power switch 320 .

在一實施例中,偵測及控制電路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 circuit module 310, for example, the control circuit 330_1 shown in FIG. Below the circuit module 310 , the control circuit 330_3 is located on the left side of the circuit module 310 , and the control circuit 330_4 is located above the circuit module 310 . Each detection and control circuit The structures of 330_1 to 330_4 are the same as the detection and control circuit 130 shown in FIG. 1 , and the power switch 320 can also be implemented by the power switch 120 shown in FIG. 2 , so the related operation details will not be repeated. In the present embodiment, the detection and control circuits 330_1 to 330_4 respectively determine whether the signals of the peripheral elements of the circuit module 310 (eg, the first circuit 132 shown in FIG. 1 ) are normal, and respectively generate a plurality of control signals Vc1 - Vc4 are sent to the power switch 320 for adjusting the amount of current flowing into the circuit module 310 . Specifically, when the power switch 320 is turned on to make the circuit module 310 enter the power-on state from the power-off state, if the Vc1~Vc4 received by the power switch 320 indicate any one of the detection and control circuits 330_1~ 330_4 detects that the signal state of the peripheral circuit of the circuit module 310 is abnormal, then the power switch 320 will reduce the amount of current flowing into the circuit module 310 to prevent the function of the peripheral components from being affected; in addition, if the power switch 320 receives the signal Vc1 to Vc4 indicate that the signal states of the peripheral circuits of the circuit module 310 detected by each of the detection and control circuits 330_1 to 330_4 are normal, so that the speed at which the switch in the power switch 120 is turned on is accelerated, so as to increase the flow into the circuit module 110 current flow to improve power-on efficiency.

第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)

一種可以控制流入一電路模組之電流量的晶片,包含有:一電源開關,用以根據一控制訊號來控制流入該電路模組的電流量;以及一偵測及控制電路,耦接於該電源開關,用以偵測位於該電路模組之周邊的一第一電路所產生之一第一訊號以及一第二電路所產生之一第二訊號,並根據第一訊號與一第二訊號來判斷出該第一電路的一訊號狀態,並據以產生該控制訊號以調整流入該電路模組的電流量;其中該第一電路設置於該電路模組的邊緣,且該第二電路與該電路模組之間的距離大於該第一電路與該電路模組之間的距離。 A chip capable of controlling the amount of current flowing into a circuit module, comprising: a power switch for controlling the amount of current flowing into the circuit module according to a control signal; and a detection and control circuit coupled to the circuit module The power switch is used for detecting a first signal generated by a first circuit and a second signal generated by a second circuit around the circuit module, and according to the first signal and the second signal A signal state of the first circuit is determined, and the control signal is generated accordingly to adjust the amount of current flowing into the circuit module; wherein the first circuit is arranged on the edge of the circuit module, and the second circuit is connected to the circuit module. The distance between the circuit modules is greater than the distance between the first circuit and the circuit module. 如申請專利範圍第1項所述之晶片,其中當該電源開關開啟而使得電路模組由斷電狀態進入到上電狀態的過程中,若是該偵測及控制電路偵測該第一電路的訊號狀態異常,則該偵測及控制電路產生該控制訊號以降低流入該電路模組的電流量。 The chip of claim 1, wherein when the power switch is turned on to make the circuit module enter the power-on state from the power-off state, if the detection and control circuit detects the first circuit When the signal state is abnormal, the detection and control circuit generates the control signal to reduce the amount of current flowing into the circuit module. 如申請專利範圍第1項所述之晶片,其中當該電源開關開啟而使得電路模組由斷電狀態進入到上電狀態的過程中,若是該偵測及控制電路偵測該第一電路的訊號狀態正常,則該偵測及控制電路產生該控制訊號以增加流入該電路模組的電流量。 The chip of claim 1, wherein when the power switch is turned on to make the circuit module enter the power-on state from the power-off state, if the detection and control circuit detects the first circuit If the signal state is normal, the detection and control circuit generates the control signal to increase the amount of current flowing into the circuit module. 如申請專利範圍第1項所述之晶片,其中該第一電路與該第二電路係位於該晶片中之永遠不會斷電的區域。 The chip of claim 1, wherein the first circuit and the second circuit are located in a region of the chip that is never powered off. 如申請專利範圍第1項所述之晶片,其中該第一訊號以及該第二訊號 係為相同的訊號,且該偵測及控制電路比較該第一訊號以及該第二訊號以判斷該第一訊號與該第二訊號是否一致,以產生該控制訊號。 The chip of claim 1, wherein the first signal and the second signal are the same signal, and the detection and control circuit compares the first signal and the second signal to determine whether the first signal and the second signal are consistent, so as to generate the control signal. 如申請專利範圍第5項所述之晶片,其中若是該偵測及控制電路判斷該第一訊號以及該第二訊號不一致,則該偵測及控制電路產生該控制訊號以降低流入該電路模組的電流量;以及若是該偵測及控制電路判斷該第一訊號以及該第二訊號一致,則該偵測及控制電路產生該控制訊號以增加流入該電路模組的電流量。 The chip of claim 5, wherein if the detection and control circuit determines that the first signal and the second signal are inconsistent, the detection and control circuit generates the control signal to reduce flow into the circuit module and if the detection and control circuit determines that the first signal and the second signal are consistent, the detection and control circuit generates the control signal to increase the amount of current flowing into the circuit module. 一種控制流入一電路模組之電流量的方法,包含有:偵測位於該電路模組之周邊的一第一電路所產生之一第一訊號以及一第二電路所產生之一第二訊號,並該第一訊號與一第二訊號以判斷出該第一電路的一訊號狀態,以產生一控制訊號;以及根據該控制訊號以控制流入該電路模組的電流量;其中該第一電路設置於該電路模組的邊緣,且該第二電路與該電路模組之間的距離大於該第一電路與該電路模組之間的距離。 A method for controlling the amount of current flowing into a circuit module, comprising: detecting a first signal generated by a first circuit located around the circuit module and a second signal generated by a second circuit, And the first signal and a second signal are used to determine a signal state of the first circuit to generate a control signal; and according to the control signal to control the amount of current flowing into the circuit module; wherein the first circuit is set on the edge of the circuit module, and the distance between the second circuit and the circuit module is greater than the distance between the first circuit and the circuit module. 如申請專利範圍第7項所述之方法,其中該電路模組係設置於一晶片中,且該第一電路與該第二電路係位於該晶片中之永遠不會斷電的區域。 The method of claim 7, wherein the circuit module is disposed in a chip, and the first circuit and the second circuit are located in an area of the chip that is never powered off.
TW108124995A 2017-11-09 2017-11-09 Method for controlling current flowing into circuit module and associated chip TWI755615B (en)

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)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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