TWI627421B - Leakage current detection apparatus and detection method thereof - Google Patents

Leakage current detection apparatus and detection method thereof Download PDF

Info

Publication number
TWI627421B
TWI627421B TW106128341A TW106128341A TWI627421B TW I627421 B TWI627421 B TW I627421B TW 106128341 A TW106128341 A TW 106128341A TW 106128341 A TW106128341 A TW 106128341A TW I627421 B TWI627421 B TW I627421B
Authority
TW
Taiwan
Prior art keywords
leakage
voltage
leakage current
time interval
transistor
Prior art date
Application number
TW106128341A
Other languages
Chinese (zh)
Other versions
TW201913117A (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 TW106128341A priority Critical patent/TWI627421B/en
Application granted granted Critical
Publication of TWI627421B publication Critical patent/TWI627421B/en
Publication of TW201913117A publication Critical patent/TW201913117A/en

Links

Abstract

漏電流偵測裝置及其偵測方法,用於偵測受測電路在閒置狀態時產生的漏電電流。漏電流偵測裝置包括電容、預充電電路、放電電流產生器以及偵測結果產生器。預充電電路於第一時間區間提供預充電流對電容進行預充電動作。放電電流產生器在受測電路在閒置狀態下,且在第二時間區間,依據漏電電流產生放電電流,並使電容依據放電電流執行放電動作。偵測結果產生器在第二時間區間中依據比較檢測端點上的電壓值與預設的參考電壓的電壓值來產生漏電偵測結果。The leakage current detecting device and the detecting method thereof are used for detecting a leakage current generated when the circuit under test is in an idle state. The leakage current detecting device includes a capacitor, a precharge circuit, a discharge current generator, and a detection result generator. The precharge circuit provides a precharge current to precharge the capacitor during the first time interval. The discharge current generator generates a discharge current according to the leakage current when the circuit under test is in an idle state, and in the second time interval, and causes the capacitor to perform a discharge operation according to the discharge current. The detection result generator generates a leakage detection result according to the voltage value on the comparison detection detection end point and the voltage value of the preset reference voltage in the second time interval.

Description

漏電流偵測裝置及其偵測方法Leakage current detecting device and detecting method thereof

本發明是有關於一種漏電流偵測裝置及其偵測方法,且特別是有關於一種能夠偵測與降低受測電路在閒置狀態時的漏電電流的漏電流偵測裝置及其偵測方法。The invention relates to a leakage current detecting device and a detecting method thereof, and particularly relates to a leakage current detecting device capable of detecting and reducing a leakage current when a circuit under test is in an idle state, and a detecting method thereof.

隨著科技的進步,積體電路(Integrated Circuit, IC)的元件已微縮化至奈米尺寸,相關技術人員以朝著降低電晶體的臨界電壓(Threshold Voltage)以及其工作電壓的設計目標邁進。然而,為了達到上述的設計要求,進而造成電子電路所可能產生的漏電電流(leakage current)提升的狀況。除此之外,電子裝置工作在操作狀態時,容易受到晶片內部所產生出的熱能或是外在環境溫度的影響,進而導致電子裝置在運作時可能因溫度的改變產生難以預期的漏電電流的大小。這個狀況除了嚴重影響電子電路自身的工作效率外,更加降低生產晶片時的良率以及電子裝置的效能。因此,如何在電子裝置工作在操作狀態時有效地偵測出受測電路的漏電電流,並且將所述漏電電流加以降低,將是本領域相關技術人員的課題。With the advancement of technology, the components of the Integrated Circuit (IC) have been miniaturized to the nanometer size, and the technicians are moving toward the design goal of lowering the threshold voltage of the transistor and its operating voltage. However, in order to achieve the above design requirements, the leakage current that may be generated by the electronic circuit is increased. In addition, when the electronic device operates in an operating state, it is susceptible to thermal energy generated inside the wafer or external ambient temperature, which may cause an unpredictable leakage current due to a change in temperature during operation of the electronic device. size. In addition to seriously affecting the working efficiency of the electronic circuit itself, this situation further reduces the yield when the wafer is produced and the performance of the electronic device. Therefore, how to effectively detect the leakage current of the circuit under test when the electronic device operates in the operating state and reduce the leakage current will be a subject of those skilled in the art.

本發明提供一種漏電流偵測裝置以及偵測方法,可偵測與降低受測電路中的漏電電流。The invention provides a leakage current detecting device and a detecting method capable of detecting and reducing leakage current in a circuit under test.

本發明的漏電流偵測裝置用於偵測受測電路在閒置狀態時產生的漏電電流,包括電容、預充電電路、放電電流產生器以及偵測結果產生器。電容耦接在檢測端點與參考接地端間。預充電電路耦接至檢測端點,於第一時間區間提供預充電流對電容進行預充電動作。放電電流產生器耦接至檢測端點及受測電路,在受測電路在閒置狀態下,且在第二時間區間,依據漏電電流產生放電電流,並使電容依據放電電流執行放電動作。偵測結果產生器耦接電容,在第二時間區間中依據比較檢測端點上的電壓值與預設的參考電壓的電壓值來產生漏電偵測結果。其中,第一時間區間發生在第二時間區間之前。The leakage current detecting device of the present invention is used for detecting leakage current generated when the circuit under test is in an idle state, and includes a capacitor, a precharge circuit, a discharge current generator, and a detection result generator. The capacitor is coupled between the detection end point and the reference ground end. The pre-charging circuit is coupled to the detection terminal to provide a pre-charging flow to pre-charge the capacitor during the first time interval. The discharge current generator is coupled to the detection end point and the circuit under test. When the circuit under test is in an idle state and in a second time interval, a discharge current is generated according to the leakage current, and the capacitor performs a discharge operation according to the discharge current. The detection result generator is coupled to the capacitor, and in the second time interval, the leakage detection result is generated according to the voltage value on the comparison detection end point and the voltage value of the preset reference voltage. Wherein, the first time interval occurs before the second time interval.

在本發明的漏電流偵測裝置的漏電偵測方法,用於偵測受測電路在閒置狀態時產生的漏電電流,其中漏電偵測方法包括:於第一時間區間提供預充電流對電容進行預充電動作;在受測電路在閒置狀態下,且在第二時間區間,依據漏電電流產生放電電流,並使電容依據放電電流執行放電動作;在第二時間區間中依據比較檢測端點上的電壓值與預設的參考電壓的電壓值來產生漏電偵測結果,其中,第一時間區間發生在第二時間區間之前。The leakage detecting method of the leakage current detecting device of the present invention is configured to detect a leakage current generated when the circuit under test is in an idle state, wherein the leakage detecting method comprises: providing a precharge current to the capacitor in a first time interval Precharge action; when the circuit under test is in an idle state, and in a second time interval, a discharge current is generated according to the leakage current, and the capacitor performs a discharge operation according to the discharge current; and in the second time interval, the detection is performed on the end point according to the comparison The voltage value and the voltage value of the preset reference voltage generate a leakage detection result, wherein the first time interval occurs before the second time interval.

基於上述,本發明所述的漏電流偵測裝置是利用預充電電路於第一時間區間時,對電容進行預充電動作,並藉由放電電路產生器於第二時間區間時,使電容執行放電動作。透過偵測結果產生器於第二時間區間中,依據比較上述電容上的放電電壓值與預設的參考電壓的電壓值來產生受測電路的漏電電流的漏電偵測結果。如此一來,工作電壓產生器可依據上述的漏電偵測結果判斷是否調降受測電路的工作電壓,以降低受測電路操作於閒置狀態時所產生的漏電電流。Based on the above, the leakage current detecting device of the present invention pre-charges the capacitor when the pre-charging circuit is in the first time interval, and discharges the capacitor when the discharging circuit generator is in the second time interval. action. The detection result generator generates a leakage detection result of the leakage current of the circuit under test according to comparing the discharge voltage value on the capacitor with the voltage value of the preset reference voltage in the second time interval. In this way, the working voltage generator can determine whether to reduce the operating voltage of the circuit under test according to the leakage detection result described above, so as to reduce the leakage current generated when the circuit under test is operated in an idle state.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。The above described features and advantages of the invention will be apparent from the following description.

以下請參照圖1,漏電流偵測裝置100用於偵測受測電路110在閒置狀態時產生的漏電電流IOFF,其中,漏電流偵測裝置100包括預充電電路120、放電電流產生器130、偵測結果產生器140以及電容C1。受測電路110接收工作電壓VP以作為電源電壓並執行操作。其中,當受測電路110操作於閒置狀態時(受測電路110未進行運作且受測電路110中沒有發生實質上的信號運算及傳遞動作),受測電路110可能因環境溫度、製程變異以及工作電壓VP的電壓高低等因素的影響而產生大小程度不同的漏電電流IOFF。Referring to FIG. 1 , the leakage current detecting device 100 is configured to detect a leakage current IOFF generated when the circuit under test 110 is in an idle state, wherein the leakage current detecting device 100 includes a pre-charging circuit 120 and a discharging current generator 130. The result generator 140 and the capacitor C1 are detected. The circuit under test 110 receives the operating voltage VP as a power supply voltage and performs an operation. Wherein, when the circuit under test 110 is operated in an idle state (the circuit under test 110 is not operating and the substantial signal calculation and transfer operation does not occur in the circuit under test 110), the circuit under test 110 may be due to environmental temperature, process variation, and The leakage current IOFF of different magnitudes is generated by factors such as the voltage of the operating voltage VP.

在本實施例中,放電電流產生器130耦接至受測電路110,並接收受測電路110所產生的漏電電流IOFF。預充電電路120透過檢測端點NC耦接至放電電流產生器130。另外,電容C1耦接在檢測端點NC及參考接地端GND間。偵測結果產生器140接收檢測端點NC上的電壓以產生漏電偵測結果VDR。In the present embodiment, the discharge current generator 130 is coupled to the circuit under test 110 and receives the leakage current IOFF generated by the circuit under test 110. The precharge circuit 120 is coupled to the discharge current generator 130 through the detection terminal NC. In addition, the capacitor C1 is coupled between the detection terminal NC and the reference ground GND. The detection result generator 140 receives the voltage on the detection endpoint NC to generate a leakage detection result VDR.

關於漏電流偵測裝置100的動作細節,當漏電偵測裝置100工作於第一時間區間時,預充電電路120提供預充電流IC對電容C1進行預充電動作,並使檢測端點NC上的電壓值上升至一預設電壓值。接著,在第一時間區間之後的第二時間區間中,放電電流產生器130在受測電路100工作在閒置狀態下且在第二時間區間時,依據受測電路100的漏電電流IOFF以產生放電電流ID,並使電容C1依據放電電流ID執行放電動作,此時,檢測端點NC上的電壓值將隨著電容C1的放電動作而下降。在第二時間區間中,偵測結果產生器140依據比較檢測端點NC上的電壓值與預設的一參考電壓的電壓值來產生漏電偵測結果VDR。具體而言,當偵測結果產生器140在第二時間區間判斷出檢測端點NC上的電壓下降至低於預設的參考電壓時,表示受測電路110所產生的漏電電流IOFF過大,偵測結果產生器140產生表示漏電電流IOFF過大的漏電偵測結果VDR。相對的,若偵測結果產生器140在第二時間區間中未判斷出檢測端點NC上的電壓低於預設的參考電壓時,表示受測電路110所產生的漏電電流IOFF沒有過大,偵測結果產生器140產生表示漏電電流IOFF沒有過大的漏電偵測結果VDR。其中,上述的第一時間區間即為漏電流偵測裝置100尚未開始偵測受測電路110在閒置狀態時所產生出的漏電電流IOFF。此外,上述的第二時間區間即為漏電流偵測裝置100開始偵測受測電路110在閒置狀態時所產生出的漏電電流IOFF。Regarding the details of the operation of the leakage current detecting device 100, when the leakage detecting device 100 operates in the first time interval, the pre-charging circuit 120 provides the pre-charging stream IC to pre-charge the capacitor C1 and causes the detection terminal NC to The voltage value rises to a preset voltage value. Then, in the second time interval after the first time interval, the discharge current generator 130 generates a discharge according to the leakage current IOFF of the circuit under test 100 when the circuit under test 100 operates in an idle state and in the second time interval. The current ID is caused to cause the capacitor C1 to perform a discharge operation in accordance with the discharge current ID. At this time, the voltage value at the detection terminal NC decreases as the capacitor C1 discharges. In the second time interval, the detection result generator 140 generates the leakage detection result VDR according to the voltage value on the comparison detection end NC and the voltage value of the preset reference voltage. Specifically, when the detection result generator 140 determines that the voltage on the detection terminal NC falls below a preset reference voltage in the second time interval, it indicates that the leakage current IOFF generated by the circuit under test 110 is too large. The measurement result generator 140 generates a leakage detection result VDR indicating that the leakage current IOFF is excessive. In contrast, if the detection result generator 140 does not determine that the voltage on the detection terminal NC is lower than the preset reference voltage in the second time interval, it indicates that the leakage current IOFF generated by the circuit under test 110 is not excessively large. The measurement result generator 140 generates a leakage detection result VDR indicating that the leakage current IOFF is not excessive. The first time interval is that the leakage current detecting device 100 has not started to detect the leakage current IOFF generated when the circuit under test 110 is in an idle state. In addition, the second time interval is that the leakage current detecting device 100 starts detecting the leakage current IOFF generated when the circuit under test 110 is in an idle state.

在本實施例中,漏電偵測結果VDR可以是一個數位信號,以一個位元的漏電偵測結果VDR為範例,偵測結果產生器140可產生具有第一邏輯準位的漏電偵測結果VDR來表示受測電路110所產生的漏電電流IOFF過大,並產生具有第二邏輯準位的漏電偵測結果VDR來表示受測電路110所產生的漏電電流IOFF沒有過大,其中,第一邏輯準位與第二邏輯準位互補。In this embodiment, the leakage detection result VDR can be a digital signal. Taking the leakage detection result VDR of one bit as an example, the detection result generator 140 can generate the leakage detection result VDR having the first logic level. The leakage current IOFF generated by the circuit under test 110 is excessively large, and the leakage detection result VDR having the second logic level is generated to indicate that the leakage current IOFF generated by the circuit under test 110 is not excessive, wherein the first logic level is Complementary to the second logic level.

在另一方面,在本實施例中,受測電路110可以設置於一積體電路的核心電路區域中。因此,受測電路110可以透過複製積體電路中的核心電路的一部分的方式來設置。舉例來說明,受測電路110可為任意類型的一個或多個邏輯閘所產生的組合式邏輯電路,但不限於此。On the other hand, in the embodiment, the circuit under test 110 can be disposed in a core circuit region of an integrated circuit. Therefore, the circuit under test 110 can be set by replicating a part of the core circuit in the integrated circuit. For example, the circuit under test 110 may be a combined logic circuit generated by any type of one or more logic gates, but is not limited thereto.

以下請參照圖2,本實施例中的預充電電路220包括電晶體M5。電晶體M5的第一端耦接至充電電壓V1,電晶體M5的第二端耦接至檢測端點NC,電晶體M5的控制端耦接至預充電信號PRE。當漏電偵測裝置200工作於第一時間區間時,預充電電路220透過預充電信號PRE使電晶體M5導通,預充電電路220依據所接收到的充電電壓V1以產生預充電流IC對電容C1進行預充電動作,並使檢測端點NC上的電壓值被預充至充電電壓V1的電壓值。在此,充電電壓V1的電壓值可以等於或不等於工作電壓VP的電壓值。Referring to FIG. 2 below, the precharge circuit 220 in this embodiment includes a transistor M5. The first end of the transistor M5 is coupled to the charging voltage V1, the second end of the transistor M5 is coupled to the detecting terminal NC, and the control end of the transistor M5 is coupled to the pre-charging signal PRE. When the leakage detecting device 200 operates in the first time interval, the pre-charging circuit 220 turns on the transistor M5 through the pre-charging signal PRE, and the pre-charging circuit 220 generates the pre-charging stream IC to the capacitor C1 according to the received charging voltage V1. The precharge operation is performed, and the voltage value on the detection terminal NC is precharged to the voltage value of the charging voltage V1. Here, the voltage value of the charging voltage V1 may be equal to or not equal to the voltage value of the operating voltage VP.

在另一方面,在本實施例中,放電電流產生器230可以為電流鏡電路260,電流鏡電路260耦接在受測電路210耦接至參考接地端GND的路徑之間。當漏電偵測裝置200工作於第二時間區域時,電流鏡電路260依據鏡射漏電電流IOFF以產生放電電流ID。其中,電流鏡電路260包括第一電晶體M1、第二電晶體M2、第三電晶體M3以及第四電晶體M4。第一電晶體M1的第一端耦接至受測電路210與第一電晶體M1的控制端。第二電晶體M2的第一端耦接至第一電晶體M1的第二端,第二電晶體M2的第二端耦接至參考接地端GND。第三電晶體M3的第一端耦接至檢測端點NC,第三電晶體M3的控制端耦接至第一電晶體M1的控制端。第四電晶體M4的第一端耦接至第三電晶體M3的第二端,第四電晶體M4的第二端耦接至參考接地端GND,第四電晶體M4的控制端耦接至第二電晶體M2的控制端。On the other hand, in the present embodiment, the discharge current generator 230 can be a current mirror circuit 260 coupled between the path of the circuit under test 210 coupled to the reference ground GND. When the leakage detecting device 200 operates in the second time zone, the current mirror circuit 260 generates a discharge current ID according to the mirror leakage current IOFF. The current mirror circuit 260 includes a first transistor M1, a second transistor M2, a third transistor M3, and a fourth transistor M4. The first end of the first transistor M1 is coupled to the circuit under test 210 and the control terminal of the first transistor M1. The first end of the second transistor M2 is coupled to the second end of the first transistor M1, and the second end of the second transistor M2 is coupled to the reference ground GND. The first end of the third transistor M3 is coupled to the detection terminal NC, and the control end of the third transistor M3 is coupled to the control end of the first transistor M1. The first end of the fourth transistor M4 is coupled to the second end of the third transistor M3, the second end of the fourth transistor M4 is coupled to the reference ground GND, and the control end of the fourth transistor M4 is coupled to The control terminal of the second transistor M2.

附帶一提,電流鏡電路260中具有一偵測信號SEN。當漏電偵測裝置200工作於第二時間區間時,偵測信號SEN可使第二電晶體M2以及第四電晶體M4導通,並使電流鏡電路260開始工作。如此一來,電流鏡電路260可透過鏡射漏電電流IOFF以產生放電電流ID,並藉以使電容C1依據放電電流ID執行放電動作。相反的,在非第二時間區間時(例如於第一時間區間時),偵測信號SEN可使第二電晶體M2以及第四電晶體M4被斷開,並停止電流鏡電路260的電流鏡射動作。Incidentally, the current mirror circuit 260 has a detection signal SEN. When the leakage detecting device 200 operates in the second time interval, the detecting signal SEN can turn on the second transistor M2 and the fourth transistor M4, and cause the current mirror circuit 260 to start operating. In this way, the current mirror circuit 260 can generate the discharge current ID through the mirror leakage current IOFF, and thereby cause the capacitor C1 to perform the discharge operation according to the discharge current ID. Conversely, in the non-second time interval (for example, in the first time interval), the detection signal SEN may turn off the second transistor M2 and the fourth transistor M4, and stop the current mirror of the current mirror circuit 260. Shooting action.

在另一方面,在本實施例中,偵測結果產生器240可以包括一閂鎖器270。其中,閂鎖器270包括第一反相器INV1、第二反相器INV2以及第六電晶體M6。其中,第六電晶體M6的第一端耦接至檢測端點NC,第六電晶體M6的第二端耦接至第一反相器INV1的輸入端,第六電晶體M6的控制端接收致能信號EN,並依據致能信號EN來決定閂鎖器270的取樣時間點。第一反相器INV1的輸出端耦接至第二反相器INV2的輸入端,並產生漏電偵測結果VDR,第二反相器INV2的輸出端則耦接至第一反相器INV1的輸入端。In another aspect, in the present embodiment, the detection result generator 240 can include a latch 270. The latch 270 includes a first inverter INV1, a second inverter INV2, and a sixth transistor M6. The first end of the sixth transistor M6 is coupled to the detection terminal NC, the second end of the sixth transistor M6 is coupled to the input end of the first inverter INV1, and the control end of the sixth transistor M6 is received. The signal EN is enabled and the sampling time point of the latch 270 is determined based on the enable signal EN. The output end of the first inverter INV1 is coupled to the input end of the second inverter INV2, and generates a leakage detection result VDR, and the output end of the second inverter INV2 is coupled to the first inverter INV1. Input.

另外,閂鎖器270提供一臨界電壓以作為參考電壓,其中,上述的臨界電壓可由閂鎖器270中的電路元件的製程參數來決定。當漏電偵測裝置200工作於第二時間區間中的取樣時間點時,第六電晶體M6被導通。如此一來,閂鎖器270可接收到檢測端點NC上的電壓值,閂鎖器270並依據檢測端點NC上的電壓值有無大於閂鎖器270提供的臨界電壓來產生漏電偵測結果VDR。Additionally, latch 270 provides a threshold voltage as a reference voltage, wherein the threshold voltage described above can be determined by process parameters of circuit components in latch 270. When the leakage detecting device 200 operates at the sampling time point in the second time interval, the sixth transistor M6 is turned on. In this way, the latch 270 can receive the voltage value on the detection terminal NC, and the latch 270 generates the leakage detection result according to whether the voltage value on the detection terminal NC is greater than the threshold voltage provided by the latch 270. VDR.

在本實施例中,閂鎖器270的臨界電壓是由閂鎖器270中的電路元件的製程參數來決定,而不需要任何外加參考電壓與檢測端點NC上的電壓值進行比較。具有可省電、較少電路元件並具有較高的準確度的特點。In the present embodiment, the threshold voltage of the latch 270 is determined by the process parameters of the circuit components in the latch 270 without requiring any additional reference voltage to be compared to the voltage value at the detection terminal NC. It features power saving, fewer circuit components and higher accuracy.

另一方面,在本實施例中,偵測結果產生器240更耦接至工作電壓產生器250。工作電壓產生器250接收漏電偵測結果VDR。其中,工作電壓產生器250用於產生受測電路210的工作電壓VP,工作電壓產生器250可依據所接收到的漏電偵測結果VDR以決定是否調降工作電壓VP的電壓值。值得一提的,當漏電偵測結果VDR指示受測電路210的漏電電流IOFF過大時,工作電壓產生器250可依據漏電偵測結果VDR來調降工作電壓VP的電壓值,並藉以降低受測電路210操作於閒置狀態時所產生的漏電電流IOFF。On the other hand, in the embodiment, the detection result generator 240 is further coupled to the working voltage generator 250. The operating voltage generator 250 receives the leakage detection result VDR. The working voltage generator 250 is configured to generate the operating voltage VP of the circuit under test 210. The operating voltage generator 250 can determine whether to decrease the voltage value of the operating voltage VP according to the received leakage detecting result VDR. It is worth mentioning that when the leakage detection result VDR indicates that the leakage current IOFF of the circuit under test 210 is too large, the operating voltage generator 250 can reduce the voltage value of the working voltage VP according to the leakage detection result VDR, thereby reducing the measured value. The circuit 210 operates a leakage current IOFF generated when it is in an idle state.

具體來說明,當漏電偵測結果VDR指示受測電路210的漏電電流IOFF過大時,工作電壓產生器250可依據漏電偵測結果VDR來調降受測電路210的工作電壓VP一個偏移值。值得注意的,本發明實施例的漏電流偵測機制可以持續進行。若在下一個漏電流偵測週期中,漏電偵測結果VDR仍指示受測電路210的漏電電流IOFF過大時,工作電壓產生器250可依據漏電偵測結果VDR再調降受測電路210的工作電壓VP一個偏移值。上述的偏移值可以由設計者依據積體電路實際的應用狀況來設定,沒有固定的限制。Specifically, when the leakage detection result VDR indicates that the leakage current IOFF of the circuit under test 210 is excessively large, the operating voltage generator 250 can reduce the operating voltage VP of the circuit under test 210 by an offset value according to the leakage detection result VDR. It should be noted that the leakage current detection mechanism of the embodiment of the present invention can be continuously performed. If the leakage detection result VDR still indicates that the leakage current IOFF of the circuit under test 210 is too large in the next leakage current detection period, the operating voltage generator 250 can further reduce the operating voltage of the circuit under test 210 according to the leakage detection result VDR. VP an offset value. The above offset value can be set by the designer according to the actual application condition of the integrated circuit, and there is no fixed limit.

以下請同時參照圖2以及圖3,當漏電流偵測裝置200工作於第一時間區間T11時,預充電電路220透過預充電信號PRE使電晶體M5導通,預充電電路220依據所接收到的充電電壓V1以產生預充電電流IC對電容C1進行預充電動作,並使檢測端點NC上的電壓值被預充至充電電壓V1的電壓值。附帶一提,在第一時間區間T11中,由於漏電流偵測裝置200尚未開始執行偵測受測電路210的漏電電流IOFF的動作,因此,電流鏡電路260的偵測信號SEN以及閂鎖器270的致能信號EN未被致能。Referring to FIG. 2 and FIG. 3 simultaneously, when the leakage current detecting device 200 operates in the first time interval T11, the pre-charging circuit 220 turns on the transistor M5 through the pre-charging signal PRE, and the pre-charging circuit 220 is based on the received The charging voltage V1 precharges the capacitor C1 by generating the precharge current IC, and causes the voltage value on the detection terminal NC to be precharged to the voltage value of the charging voltage V1. Incidentally, in the first time interval T11, since the leakage current detecting device 200 has not started the operation of detecting the leakage current IOFF of the circuit under test 210, the detection signal SEN of the current mirror circuit 260 and the latch The enable signal EN of 270 is not enabled.

相對的,當漏電流偵測裝置200工作於第二時間區間T21時,受測電路210操作於閒置狀態並產生漏電電流IOFF,預充電電路220則依據預充電信號PRE(被禁能)以在第二時間區間T21停止執行預充電動作。接著,電流鏡電路260透過偵測信號SEN使第二電晶體M2以及第四電晶體M4導通,並使得電流鏡電路260開始工作。如此一來,電流鏡電路260可依據漏電電流IOFF產生放電電流ID,並藉以使電容C1依據放電電流ID執行放電動作。因此,檢測端點NC會隨著電容C1執行放電動作,而使得檢測端點NC的電壓值開始調降。除此之外,在第二時間區間T21中,閂鎖器270依據被致能的致能信號EN執行閂鎖動作,以接收並閂鎖檢測端點NC上的電壓值。其中,閂鎖器270依據檢測端點NC上的電壓值來判斷檢測端點NC上的電壓值是否小於閂鎖器220的臨界電壓VT,以產生漏電偵測結果VDR。In contrast, when the leakage current detecting device 200 operates in the second time interval T21, the circuit under test 210 operates in an idle state and generates a leakage current IOFF, and the pre-charging circuit 220 is based on the pre-charging signal PRE (disabled). The second time interval T21 stops the execution of the precharge operation. Next, the current mirror circuit 260 turns on the second transistor M2 and the fourth transistor M4 through the detection signal SEN, and causes the current mirror circuit 260 to start operating. In this way, the current mirror circuit 260 can generate the discharge current ID according to the leakage current IOFF, and thereby cause the capacitor C1 to perform the discharge operation according to the discharge current ID. Therefore, the detection terminal NC performs a discharge operation with the capacitor C1, so that the voltage value of the detection terminal NC starts to decrease. In addition, in the second time interval T21, the latch 270 performs a latching action in accordance with the enabled enable signal EN to receive and latch the voltage value on the detection terminal NC. The latch 270 determines whether the voltage value on the detection terminal NC is smaller than the threshold voltage VT of the latch 220 according to the voltage value on the detection terminal NC to generate the leakage detection result VDR.

值得注意的是,當工作電壓產生器250依據漏電偵測結果VDR判斷檢測端點NC上的電壓值下降至小於閂鎖器220的臨界電壓VT時,工作電壓產生器250對應調降提供至受測電路210的工作電壓VP。同時,藉由調降工作電壓VP,以降低受測電路210操作於閒置狀態時的漏電電流IOFF。請注意,在本實施例中,關於漏電流偵測裝置200的漏電流偵測動作可以連續的被執行,並在接續的第一時間區間T12與第二時間區間T22執行下一次的漏電流偵測動作。若在第二時間區間T22中仍偵測到漏電電流IOFF過大的現象,可更進一步的調降工作電壓VP的電壓值。It should be noted that when the operating voltage generator 250 determines that the voltage value on the detecting terminal NC falls below the threshold voltage VT of the latch 220 according to the leakage detecting result VDR, the operating voltage generator 250 provides the corresponding voltage drop to the receiving voltage. The operating voltage VP of the circuit 210 is measured. At the same time, the operating current voltage VP is lowered to reduce the leakage current IOFF when the circuit under test 210 operates in an idle state. Please note that in the present embodiment, the leakage current detecting action of the leakage current detecting device 200 can be continuously performed, and the next leakage current detection is performed in the succeeding first time interval T12 and the second time interval T22. Measuring action. If the leakage current IOFF is still detected excessively in the second time interval T22, the voltage value of the operating voltage VP can be further lowered.

以下請參照圖4A,電流檢測裝置400包括預充電電路420、放電電流產生器430、檢測結果產生器440、工作電壓產生器450、電流鏡電路460以及比較器470。不同於圖2中的閂鎖器270,本實施例是利用比較器470來實現偵測結果產生器440的功效。其中,比較器470的第一端耦接至檢測端點NC以接收檢測端點NC上的電壓值,比較器470的第二端耦接至參考電壓VR1,除此之外,比較器470依據比較檢測端點NC上的電壓值與參考電壓VR1以產生偵測結果VDR1。詳細來說,當比較器470比較檢測端點NC上的電壓值小於參考電壓VR1時,表示受測電路410的漏電電流IOFF大於第一臨界值,同時,比較器470依據檢測端點NC上的電壓值與參考電壓VR1以產生漏電偵測結果VDR1。在本實施例中,比較器470的輸出端更耦接至工作電壓產生器450,以使工作電壓產生器450接收漏電偵測結果VDR1。其中,當漏電偵測結果VDR1指示受測電路410的漏電電流IOFF過大時,工作電壓產生器450可依據漏電偵測結果VDR1來調降受測電路410的工作電壓VP一個偏移值,藉以降低受測電路410操作於閒置狀態時所產生的漏電電流IOFF。Referring to FIG. 4A below, the current detecting device 400 includes a precharge circuit 420, a discharge current generator 430, a detection result generator 440, an operating voltage generator 450, a current mirror circuit 460, and a comparator 470. Unlike the latch 270 of FIG. 2, the present embodiment utilizes the comparator 470 to implement the power of the detection result generator 440. The first end of the comparator 470 is coupled to the detection terminal NC to receive the voltage value on the detection terminal NC, and the second end of the comparator 470 is coupled to the reference voltage VR1. In addition, the comparator 470 is The voltage value on the endpoint NC is compared with the reference voltage VR1 to generate a detection result VDR1. In detail, when the comparator 470 compares the voltage value on the detection terminal NC to be smaller than the reference voltage VR1, it indicates that the leakage current IOFF of the circuit under test 410 is greater than the first threshold value, and at the same time, the comparator 470 is based on the detection terminal NC. The voltage value is compared with the reference voltage VR1 to generate a leakage detection result VDR1. In this embodiment, the output of the comparator 470 is further coupled to the operating voltage generator 450 to cause the operating voltage generator 450 to receive the leakage detection result VDR1. When the leakage detection result VDR1 indicates that the leakage current IOFF of the circuit under test 410 is excessively large, the operating voltage generator 450 can reduce the operating voltage VP of the circuit under test 410 by an offset value according to the leakage detection result VDR1, thereby reducing The leakage current IOFF generated when the circuit under test 410 operates in an idle state.

請同時參照圖4A以及圖4B,不同於圖4A的單一個比較器470,本實施例中可利用多個比較器610到6N0來產生偵測結果440,以下將以使用兩個比較器610、6N0作為舉例說明。其中,比較器610的第一端耦接至參考電壓VR1,比較器610的第二端耦接至檢測端點NC以接收檢測端點NC上的電壓值。比較器6N0的第一端耦接至比較器610的第二端,比較器6N0的第二端耦接至參考電壓VR2,其中,參考電壓VR1的電壓值例如大於參考電壓VR2的電壓值。值得一提的,在本實施例中,比較器610及比較器6N0的輸出端耦接至邏輯運算電路480的輸入端,以使邏輯運算電路480接收比較器610至比較器6N0產生的輸出結果。邏輯運算電路480可依據比較器610及比較器6N0的輸出結果以產生漏電偵測結果VDR2。其中,邏輯運算電路480可為任意類型的一個或多個邏輯閘所產生的組合式邏輯電路,但不限於此。除此之外,邏輯運算電路480的輸出端更耦接至工作電壓產生器450,以使工作電壓產生器450依據漏電偵測結果VDR2來調整工作電壓VP的電壓值大小。Referring to FIG. 4A and FIG. 4B simultaneously, different from the single comparator 470 of FIG. 4A, in the embodiment, the plurality of comparators 610 to 6N0 can be used to generate the detection result 440. In the following, the two comparators 610 are used. 6N0 is taken as an example. The first end of the comparator 610 is coupled to the reference voltage VR1, and the second end of the comparator 610 is coupled to the detection terminal NC to receive the voltage value on the detection terminal NC. The first end of the comparator 6N0 is coupled to the second end of the comparator 610, and the second end of the comparator 6N0 is coupled to the reference voltage VR2, wherein the voltage value of the reference voltage VR1 is, for example, greater than the voltage value of the reference voltage VR2. It is worth mentioning that, in this embodiment, the output ends of the comparator 610 and the comparator 6N0 are coupled to the input end of the logic operation circuit 480, so that the logic operation circuit 480 receives the output result generated by the comparator 610 to the comparator 6N0. . The logic operation circuit 480 can generate the leakage detection result VDR2 according to the output results of the comparator 610 and the comparator 6N0. The logic operation circuit 480 can be a combined logic circuit generated by any type of one or more logic gates, but is not limited thereto. In addition, the output of the logic operation circuit 480 is further coupled to the operating voltage generator 450 to cause the operating voltage generator 450 to adjust the voltage value of the operating voltage VP according to the leakage detection result VDR2.

詳細來說,當檢測端點NC上的電壓值小於參考電壓VR1且檢測端點NC上的電壓值大於參考電壓VR2時,漏電偵測結果VDR2指示受測電路410的漏電電流IOFF大於一第一臨界值,並使工作電壓產生器450可依據漏電偵測結果VDR2來調降受測電路410的工作電壓VP一個第一偏移值。另一方面,當檢測端點NC上的電壓值小於參考電壓VR1且檢測端點NC上的電壓值小於參考電壓VR2時,漏電偵測結果VDR2指示受測電路410的漏電電流IOFF大於一第二臨界值,並使工作電壓產生器450可依據漏電偵測結果VDR2來調降受測電路410的工作電壓VP一個第二偏移值,藉以降低受測電路410操作於閒置狀態時所產生的漏電電流IOFF,其中第二偏移值大於第一偏移值。In detail, when the voltage value on the detection terminal NC is less than the reference voltage VR1 and the voltage value on the detection terminal NC is greater than the reference voltage VR2, the leakage detection result VDR2 indicates that the leakage current IOFF of the circuit under test 410 is greater than a first The threshold value and the operating voltage generator 450 can reduce the operating voltage VP of the circuit under test 410 by a first offset value according to the leakage detection result VDR2. On the other hand, when the voltage value on the detection terminal NC is smaller than the reference voltage VR1 and the voltage value on the detection terminal NC is smaller than the reference voltage VR2, the leakage detection result VDR2 indicates that the leakage current IOFF of the circuit under test 410 is greater than a second. The threshold value is generated, and the operating voltage generator 450 can reduce the operating voltage VP of the circuit under test 410 by a second offset value according to the leakage detection result VDR2, thereby reducing leakage generated when the circuit under test 410 operates in an idle state. Current IOFF, wherein the second offset value is greater than the first offset value.

相對的,當邏輯運算電路480在第二時間區間未判斷出檢測端點NC上的電壓小於參考電壓VR1、VR2時,表示受測電路410所產生的漏電電流IOFF沒有過大,邏輯運算電路480產生表示漏電電流IOFF沒有過大的漏電偵測結果VDR2。In contrast, when the logic operation circuit 480 does not determine that the voltage on the detection terminal NC is less than the reference voltages VR1 and VR2 in the second time interval, it indicates that the leakage current IOFF generated by the circuit under test 410 is not excessively large, and the logic operation circuit 480 generates Indicates that the leakage current IOFF does not have an excessive leakage detection result VDR2.

請參照圖5,其中,步驟S510使受測電路接收工作電壓,並使受測電路操作於閒置狀態,其中,受測電路在閒置狀態下產生漏電電流。步驟S520則於第一時間區間提供預充電流對電容進行預充電動作,接著,步驟S530則在第二時間區間依據漏電電流產生放電電流,並使電容依據該放電電流執行放電動作。並且,步驟S540在第二時間區間中依據比較檢測端點上的電壓值與預設的參考電壓的電壓值來產生漏電偵測結果。Referring to FIG. 5, step S510 causes the circuit under test to receive the operating voltage and operate the circuit under test in an idle state, wherein the circuit under test generates a leakage current in an idle state. Step S520 provides a precharge current to precharge the capacitor in the first time interval. Then, in step S530, a discharge current is generated according to the leakage current in the second time interval, and the capacitor performs a discharge operation according to the discharge current. Moreover, in step S540, a leakage detection result is generated according to the voltage value on the comparison detection detection end point and the voltage value of the preset reference voltage in the second time interval.

關於上述各步驟的實施細節在前述的多個實施例及實施方式都有詳盡的說明,以下恕不多贅述。The implementation details of the above various steps are described in detail in the foregoing various embodiments and embodiments, and will not be further described below.

依據前述的多個實施例及實施方式可以得知,透過本發明實施例的漏電電流偵測機制,積體電路的漏電電流可以有效的被監測,並可進一步的被調降。除此之外,積體電路容易受到晶片內部所產生出的熱能或是外在環境溫度的影響,進而導致因溫度的變化產生無法預期的漏電電流。因此,透過本發明實施例的漏電電流偵測機制,即使在積體電路的內部溫度及/或環境溫度備提升的情況下,積體電路所產生漏電電流的幅度仍可以有效的被抑制,減低所可能產生的漏電電流。According to the foregoing various embodiments and implementations, it can be seen that the leakage current of the integrated circuit can be effectively monitored and further reduced by the leakage current detecting mechanism of the embodiment of the present invention. In addition, the integrated circuit is susceptible to thermal energy generated inside the wafer or external ambient temperature, resulting in unpredictable leakage current due to temperature changes. Therefore, according to the leakage current detecting mechanism of the embodiment of the present invention, even if the internal temperature and/or the ambient temperature of the integrated circuit are increased, the magnitude of the leakage current generated by the integrated circuit can be effectively suppressed and reduced. Leakage current that may be generated.

綜上所述,本發明藉由漏電流偵測裝置中的偵測結果產生器,比較負載電容因受測電路的漏電電流而產生的放電電壓值與偵測結果產生器中的預設參考電壓,以產生漏電電流的漏電偵測結果。若工作電壓產生器依據上述的漏電偵測結果判斷漏電電流大於一臨界值時,則工作電壓產生器調降受測電路的工作電壓,以降低受測電路操作於閒置狀態時所產生的漏電電流。In summary, the present invention compares the discharge voltage value of the load capacitance due to the leakage current of the circuit under test and the preset reference voltage in the detection result generator by the detection result generator in the leakage current detecting device. To generate leakage current detection results of leakage current. If the operating voltage generator determines that the leakage current is greater than a threshold according to the leakage detection result, the operating voltage generator reduces the operating voltage of the circuit under test to reduce the leakage current generated when the circuit under test is operated in an idle state. .

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention, and any one of ordinary skill in the art can make some changes and refinements without departing from the spirit and scope of the present invention. The scope of the invention is defined by the scope of the appended claims.

100、200、400‧‧‧漏電流偵測裝置
110、210、410‧‧‧受測電路
120、220、420‧‧‧預充電電路
130、230、430‧‧‧放電電流產生器
140、240、440‧‧‧偵測結果產生器
250、450‧‧‧工作電壓產生器
260、460‧‧‧電流鏡電路
270‧‧‧閂鎖器
470、610-6N0‧‧‧比較器
480‧‧‧邏輯運算電路
M1-M6‧‧‧電晶體
INV1、INV2‧‧‧反相器
C1‧‧‧電容
NC‧‧‧檢測端點
SEN‧‧‧偵測信號
EN‧‧‧致能信號
PRE‧‧‧預充電信號
VP‧‧‧工作電壓
V1‧‧‧充電電壓
VR1、VR2‧‧‧參考電壓
VT‧‧‧臨界電壓
IOFF‧‧‧漏電電流
IC‧‧‧預充電流
ID‧‧‧放電電流
GND‧‧‧參考接地端
T11、T12‧‧‧第一時間區間
T21、T22‧‧‧第二時間區間
VDR、VDR1、VDR2‧‧‧漏電偵測結果
S510-S540‧‧‧漏電流偵測裝置的偵測步驟
100, 200, 400‧‧‧ leakage current detecting device
110, 210, 410‧‧‧Measured circuits
120, 220, 420‧‧‧ precharge circuit
130, 230, 430‧‧‧ discharge current generator
140, 240, 440‧‧‧Detection result generator
250, 450‧‧‧ working voltage generator
260, 460‧‧‧ current mirror circuit
270‧‧‧Latch
470, 610-6N0‧‧‧ comparator
480‧‧‧Logical Operation Circuit
M1-M6‧‧‧O crystal
INV1, INV2‧‧‧ inverter
C1‧‧‧ capacitor
NC‧‧‧Detection endpoint
SEN‧‧‧Detection signal
EN‧‧‧Enable signal
PRE‧‧‧Precharge signal
VP‧‧‧ working voltage
V1‧‧‧Charging voltage
VR1, VR2‧‧‧ reference voltage
VT‧‧‧ threshold voltage
IOFF‧‧‧ leakage current
IC‧‧‧Precharge current
ID‧‧‧discharge current
GND‧‧‧reference ground
T11, T12‧‧‧ first time interval
T21, T22‧‧‧ second time interval
VDR, VDR1, VDR2‧‧‧ leakage detection results
S510-S540‧‧‧Detection steps of leakage current detecting device

圖1是依照本發明一實施例說明一種漏電流偵測裝置的方塊圖。 圖2是依照本發明一實施例說明一種漏電流偵測裝置的電路示意圖。 圖3是依照本發明一實施例說明一種漏電流偵測裝置的動作波形示意圖。 圖4A是依照本發明另一實施例說明一種漏電流偵測裝置的電路示意圖。 圖4B是依照本發明另一實施例說明圖4A的偵測結果產生器的電路示意圖。 圖5是依照本發明一實施例說明一種漏電流偵測裝置的偵測方法的流程圖。1 is a block diagram showing a leakage current detecting device according to an embodiment of the invention. 2 is a circuit diagram showing a leakage current detecting device according to an embodiment of the invention. FIG. 3 is a schematic diagram showing the operation waveforms of a leakage current detecting device according to an embodiment of the invention. 4A is a circuit diagram showing a leakage current detecting device according to another embodiment of the present invention. FIG. 4B is a schematic circuit diagram of the detection result generator of FIG. 4A according to another embodiment of the present invention. FIG. 5 is a flow chart illustrating a method for detecting a leakage current detecting device according to an embodiment of the invention.

Claims (14)

一種漏電流偵測裝置,用於偵測一受測電路在一閒置狀態時產生的一漏電電流,包括: 一電容,耦接在一檢測端點與一參考接地端間; 一預充電電路,耦接至該檢測端點,於一第一時間區間提供一預充電流對該電容進行預充電動作; 一放電電流產生器,耦接至該檢測端點及該受測電路,在該受測電路在該閒置狀態下,且在一第二時間區間,依據該漏電電流產生一放電電流,並使該電容依據該放電電流執行放電動作;以及 一偵測結果產生器,耦接該電容,在該第二時間區間中依據比較該檢測端點上的電壓值與預設的一參考電壓的電壓值來產生一漏電偵測結果, 其中,該第一時間區間發生在該第二時間區間之前。A leakage current detecting device for detecting a leakage current generated by a circuit under test in an idle state, comprising: a capacitor coupled between a detection end and a reference ground; a precharge circuit, And being coupled to the detection end point, providing a precharge current to precharge the capacitor in a first time interval; a discharge current generator coupled to the detection end point and the circuit under test, The circuit is in the idle state, and in a second time interval, generates a discharge current according to the leakage current, and causes the capacitor to perform a discharge operation according to the discharge current; and a detection result generator coupled to the capacitor In the second time interval, a leakage detection result is generated according to comparing the voltage value on the detection end point with a preset voltage value of a reference voltage, wherein the first time interval occurs before the second time interval. 如申請專利範圍第1項所述的漏電流偵測裝置,其中該偵測結果產生器包括: 一閂鎖器,提供一臨界電壓以做為該參考電壓,並依據一致能信號在該第二時間區間中的一取樣時間點依據判斷該檢測端點上的電壓值是否小於該臨界電壓以產生該漏電偵測結果。The leakage current detecting device of claim 1, wherein the detection result generator comprises: a latch that provides a threshold voltage as the reference voltage and according to the uniform energy signal in the second A sampling time point in the time interval is determined according to whether the voltage value on the detection end point is less than the threshold voltage to generate the leakage detection result. 如申請專利範圍第1項所述的漏電流偵測裝置,其中該偵測結果產生器包括: 一比較器,依據比較該檢測端點上的電壓值是否小於該參考電壓以產生該漏電偵測結果。The leakage current detecting device of claim 1, wherein the detection result generator comprises: a comparator for generating the leakage detection according to whether the voltage value on the detection end point is smaller than the reference voltage result. 如申請專利範圍第1項所述的漏電流偵測裝置,更包括: 一工作電壓產生器,用於產生一工作電壓, 其中,該工作電壓產生器接收該漏電偵測結果,並依據該漏電偵測結果以決定是否調降該工作電壓的電壓值,當該漏電偵測結果表示該漏電電流大於一臨界值時,該工作電壓產生器調降該工作電壓一偏移值。The leakage current detecting device of claim 1, further comprising: an operating voltage generator for generating an operating voltage, wherein the operating voltage generator receives the leakage detecting result, and according to the leakage The detection result determines whether to decrease the voltage value of the working voltage. When the leakage detection result indicates that the leakage current is greater than a threshold, the operating voltage generator reduces the operating voltage by an offset value. 如申請專利範圍第4項所述的漏電流偵測裝置,其中當該漏電偵測結果表示該漏電電流大於一第一臨界值時,該工作電壓產生器調降該工作電壓一第一偏移值,當該漏電偵測結果表示該漏電電流大於一第二臨界值時,該工作電壓產生器調降該工作電壓一第二偏移值, 其中,該第一臨界值小於該第二臨界值,該第一偏移值小於該第二偏移值。The leakage current detecting device of claim 4, wherein when the leakage detecting result indicates that the leakage current is greater than a first threshold, the operating voltage generator reduces the operating voltage by a first offset a value, when the leakage detection result indicates that the leakage current is greater than a second threshold, the operating voltage generator reduces the operating voltage by a second offset value, wherein the first threshold is less than the second threshold The first offset value is less than the second offset value. 如申請專利範圍第1項所述的漏電流偵測裝置,其中該放電電流產生器包括: 一電流鏡電路,耦接在該受測電路耦接至該參考接地端的路徑間,該電流鏡電路在該第二時間區間中,依據鏡射該漏電電流以產生該放電電流。The leakage current detecting device of claim 1, wherein the discharge current generator comprises: a current mirror circuit coupled between the path of the circuit under test coupled to the reference ground, the current mirror circuit In the second time interval, the leakage current is mirrored to generate the discharge current. 如申請專利範圍第6項所述的漏電流偵測裝置,其中該電流鏡電路包括: 一第一電晶體,其第一端耦接至該受測電路與該第一電晶體的控制端; 一第二電晶體,其第一端耦接至該第一電晶體的第二端,該第二電晶體的第二端耦接至該參考接地端; 一第三電晶體,其第一端耦接至該檢測端點,該第三電晶體的控制端耦接至該第一電晶體的控制端;以及 一第四電晶體,其第一端耦接至該第三電晶體的第二端,該第四電晶體的第二端耦接至該參考接地端,該第四電晶體的控制端耦接至該第二電晶體的控制端。The leakage current detecting device of claim 6, wherein the current mirror circuit comprises: a first transistor having a first end coupled to the circuit under test and a control end of the first transistor; a second transistor having a first end coupled to the second end of the first transistor, a second end of the second transistor coupled to the reference ground; a third transistor having a first end The control end of the third transistor is coupled to the control end of the first transistor; and the fourth transistor is coupled to the second end of the third transistor The second end of the fourth transistor is coupled to the reference ground, and the control end of the fourth transistor is coupled to the control end of the second transistor. 如申請專利範圍第1項所述的漏電流偵測裝置,其中該預充電電路包括: 一電晶體,其第一端耦接至一充電電壓,該電晶體的第二端耦接至該檢測端點,該電晶體的控制端耦接至一預充電信號。The leakage current detecting device of claim 1, wherein the precharging circuit comprises: a transistor, the first end of which is coupled to a charging voltage, and the second end of the transistor is coupled to the detecting The terminal end of the transistor is coupled to a precharge signal. 如申請專利範圍第1項所述的漏電流偵測裝置,其中該受測電路設置在積體電路的一核心電路區域中。The leakage current detecting device of claim 1, wherein the circuit under test is disposed in a core circuit region of the integrated circuit. 一種漏電偵測方法,用於偵測一受測電路在一閒置狀態時產生的一漏電電流,包括: 於一第一時間區間提供一預充電流對一電容進行預充電動作; 在該受測電路在該閒置狀態下,且在一第二時間區間,依據該漏電電流產生一放電電流,並使該電容依據該放電電流執行放電動作;以及 在該第二時間區間中依據比較該檢測端點上的電壓值與預設的一參考電壓的電壓值來產生一漏電偵測結果, 其中,該第一時間區間發生在該第二時間區間之前。A leakage detecting method for detecting a leakage current generated when a circuit under test is in an idle state, comprising: providing a pre-charging stream to pre-charge a capacitor in a first time interval; In the idle state, and in a second time interval, a discharge current is generated according to the leakage current, and the capacitor performs a discharge operation according to the discharge current; and the detection end point is compared according to the second time interval. The voltage value on the voltage and the preset voltage value of a reference voltage generate a leakage detection result, wherein the first time interval occurs before the second time interval. 如申請專利範圍第10項所述的漏電偵測方法,更包括: 依據該漏電偵測結果以決定是否調降一工作電壓的電壓值,當該漏電偵測結果表示該漏電電流大於一臨界值時,調降該工作電壓一偏移值。The leakage detection method according to claim 10, further comprising: determining, according to the leakage detection result, whether to decrease a voltage value of a working voltage, when the leakage detection result indicates that the leakage current is greater than a critical value When the voltage is adjusted, the offset value is adjusted. 如申請專利範圍第11項所述的漏電偵測方法,其中依據該漏電偵測結果以決定是否調降該工作電壓的電壓值的步驟包括: 當該漏電偵測結果表示該漏電電流大於一第一臨界值時,調降該工作電壓一第一偏移值;以及 當該漏電偵測結果表示該漏電電流大於一第二臨界值時,調降該工作電壓一第二偏移值, 其中,該第一臨界值小於該第二臨界值,該第一偏移值小於該第二偏移值。The leakage detecting method of claim 11, wherein the step of determining whether to lower the voltage value of the working voltage according to the leakage detecting result comprises: when the leakage detecting result indicates that the leakage current is greater than one When the threshold value is decreased, the operating voltage is decreased by a first offset value; and when the leakage detection result indicates that the leakage current is greater than a second threshold, the operating voltage is adjusted to a second offset value, where The first threshold is less than the second threshold, and the first offset is less than the second offset. 如申請專利範圍第10項所述的漏電偵測方法,其中在該第二時間區間中依據比較該檢測端點上的電壓值與預設的該參考電壓的電壓值來產生該漏電偵測結果的步驟包括: 提供一臨界電壓以做為該參考電壓,並依據一致能信號在該第二時間區間中的一取樣時間點依據判斷該檢測端點上的電壓值是否小於該臨界電壓以產生該漏電偵測結果。The leakage detection method of claim 10, wherein the leakage detection result is generated according to comparing a voltage value on the detection end point with a preset voltage value of the reference voltage in the second time interval. The step of: providing a threshold voltage as the reference voltage, and determining whether the voltage value on the detection end point is less than the threshold voltage according to a sampling time point of the uniform energy signal in the second time interval to generate the Leakage detection results. 如申請專利範圍第10項所述的漏電偵測方法,其中在該第二時間區間中依據比較該檢測端點上的電壓值與預設的該參考電壓的電壓值來產生該漏電偵測結果的步驟包括: 依據比較該檢測端點上的電壓值是否小於該參考電壓以產生該漏電偵測結果。The leakage detection method of claim 10, wherein the leakage detection result is generated according to comparing a voltage value on the detection end point with a preset voltage value of the reference voltage in the second time interval. The step of: comprising: comparing whether the voltage value on the detection endpoint is less than the reference voltage to generate the leakage detection result.
TW106128341A 2017-08-22 2017-08-22 Leakage current detection apparatus and detection method thereof TWI627421B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106128341A TWI627421B (en) 2017-08-22 2017-08-22 Leakage current detection apparatus and detection method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106128341A TWI627421B (en) 2017-08-22 2017-08-22 Leakage current detection apparatus and detection method thereof

Publications (2)

Publication Number Publication Date
TWI627421B true TWI627421B (en) 2018-06-21
TW201913117A TW201913117A (en) 2019-04-01

Family

ID=63255880

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106128341A TWI627421B (en) 2017-08-22 2017-08-22 Leakage current detection apparatus and detection method thereof

Country Status (1)

Country Link
TW (1) TWI627421B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI716114B (en) * 2019-08-26 2021-01-11 南亞科技股份有限公司 Semiconductor device and operating method thereof

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI792543B (en) * 2021-09-07 2023-02-11 瑞昱半導體股份有限公司 A method for checking power leakage of a circuit and a processing system thereof

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWM276199U (en) * 2003-10-16 2005-09-21 Hsiuping Inst Technology Peak voltage detector with leakage current compensation
JP2007192674A (en) * 2006-01-19 2007-08-02 Nissan Motor Co Ltd Ground fault detector
JP2009231398A (en) * 2008-03-20 2009-10-08 Brother Ind Ltd Light output device and image forming device equipped with the same
CN102645606B (en) * 2011-02-16 2015-04-29 欧姆龙汽车电子株式会社 Electric leakage detection apparatus
CN204391679U (en) * 2015-01-29 2015-06-10 广东易事特电源股份有限公司 A kind of leakage current detection protection circuit
TW201700984A (en) * 2013-11-22 2017-01-01 三菱電機股份有限公司 Insulation detector and electric apparatus
CN104113042B (en) * 2014-07-18 2017-05-10 中国科学院宁波材料技术与工程研究所 leakage protection device and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWM276199U (en) * 2003-10-16 2005-09-21 Hsiuping Inst Technology Peak voltage detector with leakage current compensation
JP2007192674A (en) * 2006-01-19 2007-08-02 Nissan Motor Co Ltd Ground fault detector
JP2009231398A (en) * 2008-03-20 2009-10-08 Brother Ind Ltd Light output device and image forming device equipped with the same
CN102645606B (en) * 2011-02-16 2015-04-29 欧姆龙汽车电子株式会社 Electric leakage detection apparatus
TW201700984A (en) * 2013-11-22 2017-01-01 三菱電機股份有限公司 Insulation detector and electric apparatus
CN104113042B (en) * 2014-07-18 2017-05-10 中国科学院宁波材料技术与工程研究所 leakage protection device and method
CN204391679U (en) * 2015-01-29 2015-06-10 广东易事特电源股份有限公司 A kind of leakage current detection protection circuit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI716114B (en) * 2019-08-26 2021-01-11 南亞科技股份有限公司 Semiconductor device and operating method thereof
CN112505517A (en) * 2019-08-26 2021-03-16 南亚科技股份有限公司 Semiconductor device and method of operating the same
CN112505517B (en) * 2019-08-26 2023-12-29 南亚科技股份有限公司 Semiconductor device and method of operating the same

Also Published As

Publication number Publication date
TW201913117A (en) 2019-04-01

Similar Documents

Publication Publication Date Title
JP4974886B2 (en) System and method for measuring negative bias temperature instability
US9350180B2 (en) Load switch having load detection
TWI534598B (en) Controlling device, reset system and control method thereof
TWI627421B (en) Leakage current detection apparatus and detection method thereof
US20120194279A1 (en) Relaxation oscillator having a supply voltage independent output frequency
KR20080008228A (en) Voltage regulator
TW201913114A (en) Low-power voltage detection circuit
TWI640784B (en) Voltage detection circuit
CN109425802B (en) Leakage current detection device and detection method thereof
US20180062626A1 (en) Methods and Apparatus for a Low Power Relaxation Oscillator
JP2006071629A (en) Method and integrated circuit for detecting change in electrostatic capacity
TWI293465B (en) Apparatus for generating internal voltage in test mode and its method
TWI552482B (en) Charging method and portable electronic apparatus using the same
JP2008064700A (en) Internal resistance measuring device for electric double layer capacitor
TWI554042B (en) Signal comparison apparatus and control method thereof
JP2004281985A (en) Semiconductor device
TW201941540A (en) Power on reset circuit
JP2018073935A (en) Semiconductor device, and current consumption testing method
KR20060057169A (en) Ic for detecting variation of capacitance
TWI629492B (en) System and method for testing reference voltage circuit
CN111277249A (en) Low-power-consumption relaxation oscillator circuit
TWI692200B (en) Turning-on and off reset circuit for carrier tape chip and the working method
CN112285602B (en) Leakage current detection circuit, leakage current processing circuit and processor system
US11641160B1 (en) Power providing circuit and power providing method thereof
JP4374064B1 (en) Power shutdown control circuit and power shutdown control method