TWI906547B - A circuit, an integrated circuit and a method of operating a circuit - Google Patents
A circuit, an integrated circuit and a method of operating a circuitInfo
- Publication number
- TWI906547B TWI906547B TW111135542A TW111135542A TWI906547B TW I906547 B TWI906547 B TW I906547B TW 111135542 A TW111135542 A TW 111135542A TW 111135542 A TW111135542 A TW 111135542A TW I906547 B TWI906547 B TW I906547B
- Authority
- TW
- Taiwan
- Prior art keywords
- circuit
- comparators
- comparator
- voltage
- coupled
- Prior art date
Links
Abstract
Description
本發明通常與具有或不具有c元件補償的欠壓偵測器裝置及其操作方法有關。 This invention generally relates to undervoltage detector devices with or without C-element compensation and their operation methods.
本申請案主張在35 U.S.C.§ 119(e)下於2021年12月7日提申的美國臨時專利申請案第63/286,851號的利益,其出於所有目的以引用方式將其全部內容併入本文。 This application claims the benefit of U.S. Provisional Patent Application No. 63/286,851, filed December 7, 2021, under 35 U.S.C. § 119(e), the entire contents of which are incorporated herein by reference for all purposes.
許多電路和系統被設計成接收具有指定範圍的電源電壓。例如,使用兩個1.5V電池的簡單電池供電裝置可能設計為在2.5V和3.5V之間的電源電壓下操作。但是,當電源電壓降至最低指定電壓2.5V以下時,在此裝置內之電路可能不再以可預測方式操作,並且電路的行為可能變得不穩定。為了避免在低電源電壓下可能的負面影響,許多電路和系統都包括一個欠壓偵測器,它是一種監控電源的電路,並提供訊號以指示低電源電壓狀況。因此,電路或系統可在接收到指示低電源電壓狀況的訊號時自動關閉。 Many circuits and systems are designed to receive power supply voltages within a specified range. For example, a simple battery-powered device using two 1.5V batteries might be designed to operate with a power supply voltage between 2.5V and 3.5V. However, when the power supply voltage drops below the minimum specified voltage of 2.5V, the circuitry within this device may no longer operate in a predictable manner, and its behavior may become unstable. To avoid the potential negative effects of low power supply voltage, many circuits and systems include an undervoltage detector, a circuit that monitors the power supply and provides a signal to indicate a low power supply voltage condition. Therefore, the circuit or system can automatically shut down upon receiving a signal indicating a low power supply voltage condition.
諸如數位處理器的系統可能由於在電路切換行為和感應電源線之間的相互作用而具有雜訊電源電壓。因此,欠壓偵測器設計中的一個挑戰在於解決由於電源線上的瞬變電壓引起的誤觸發問題。例如,當在其它方面具有足夠 電源電壓的電路經歷在電源上之短暫瞬變或電壓突波時,通常希望保持電路操作。但是,如果短暫瞬變或電壓突波經常被誤解為欠壓狀況,則系統可能會不必要地關閉。 Systems such as digital processors may exhibit noisy supply voltages due to interactions between circuit switching behavior and induced power lines. Therefore, a challenge in undervoltage detector design is addressing false triggering caused by transient voltages on the power lines. For example, it is generally desirable to maintain circuit operation when a circuit with otherwise sufficient supply voltage experiences a brief transient or voltage surge on the power supply. However, if brief transients or voltage surges are frequently misinterpreted as undervoltage conditions, the system may unnecessarily shut down.
如此誤觸發可通過低通濾波受監控電源的低功率狀況來避免。然而,低通濾波可能導致偵測較低電壓狀況的延遲,這可能導致系統在短時間內以不穩定方式操作。 Such accidental triggering can be avoided by low-pass filtering of the monitored power supply at low power levels. However, low-pass filtering may cause a delay in detecting lower voltage conditions, which could lead to the system operating unstablely for a short period.
根據一個實施例,一種電路包括設置在積體電路上的複數個比較器,該複數個比較器具有耦合到受監控電源線的輸入;以及表決電路,其具有耦合到複數個比較器的輸出的輸入。表決電路的輸出被配置為提供訊號以指示耦合到受監控電源線的電源的欠壓狀況。 According to one embodiment, a circuit includes a plurality of comparators disposed on an integrated circuit, the plurality of comparators having inputs coupled to a monitored power line; and a voting circuit having inputs coupled to the outputs of the plurality of comparators. The output of the voting circuit is configured to provide a signal indicating an undervoltage condition of the power supply coupled to the monitored power line.
根據另一個實施例,一種操作積體電路的方法包括:將在電源匯流排的第一點處的第一電壓與第一參考電壓進行比較;將在電源的第二點處的第二電壓與第二參考電壓進行比較;當第一電壓小於第一參考電壓且第二電壓小於第二參考電壓時,轉變到欠壓狀態;在轉變到欠壓狀態之後,當第一電壓保持小於第一參考電壓或第二電壓保持小於第二參考電壓時,保持欠壓狀態。當第一電壓超過第一參考電壓且第二電壓超過第二參考電壓時,脫離欠壓狀態;在脫離欠壓狀態之後,當第一電壓保持高於第一參考電壓或第二電壓保持高於第二參考電壓時,保持脫離欠壓狀態;並在轉變到欠壓狀態時指示欠壓狀況。 According to another embodiment, a method of operating an integrated circuit includes: comparing a first voltage at a first point on a power bus with a first reference voltage; comparing a second voltage at a second point on the power supply with a second reference voltage; transitioning to an undervoltage state when the first voltage is less than the first reference voltage and the second voltage is less than the second reference voltage; and maintaining the undervoltage state after transitioning to the undervoltage state while the first voltage remains less than the first reference voltage or the second voltage remains less than the second reference voltage. The system exits the undervoltage state when the first voltage exceeds the first reference voltage and the second voltage exceeds the second reference voltage. After exiting the undervoltage state, it remains in the undervoltage state as long as the first voltage remains higher than the first reference voltage or the second voltage remains higher than the second reference voltage. It also indicates the undervoltage condition upon transitioning to the undervoltage state.
根據進一步實施例,一種積體電路包括:記憶體電路;及導電電源匯流排,其耦合在電源節點和記憶體電路的電源輸入之間的;欠壓偵測器,其耦合到導電電源匯流排,欠壓偵測器包括:第一比較器,具有耦合到導電電源匯流排的訊號輸入;第二比較器具有耦合到導電電源匯流排的訊號輸入;和表決電 路,其輸入耦合到第一比較器和第二比較器的輸出,且其輸出耦合到記憶體電路的關閉輸入。 According to a further embodiment, an integrated circuit includes: a memory circuit; and a conductive power bus coupled between a power node and a power input of the memory circuit; an undervoltage detector coupled to the conductive power bus, the undervoltage detector including: a first comparator having a signal input coupled to the conductive power bus; a second comparator having a signal input coupled to the conductive power bus; and a voting circuit whose input is coupled to the outputs of the first and second comparators, and whose output is coupled to a shutdown input of the memory circuit.
100:欠壓偵測器 100: Undervoltage Detector
102:比較器 102: Comparator
104:施密特觸發器 104: Schmidt trigger
106:遲滯塊 106: Delayed Block
108:低通濾波器 108: Low-pass filter
200:欠壓偵測器系統 200: Undervoltage Detector System
202:欠壓偵測器 202: Undervoltage Detector
204:比較器 204: Comparator
206:比較器 206: Comparator
208:參考電壓產生器 208: Reference Voltage Generator
210:表決電路 210: Voting Circuit
212:電路 212: Circuit
214:關閉電路 214: Circuit shutdown
216:電源 216: Power Supply
218:導電電源匯流排 218: Conductive Power Bus
300:欠壓偵測器 300: Undervoltage Detector
302:c元件 302:c component
310:時間 310: Time
312:時間 312: Time
320:c元件 320:c component
322:AND閘 322:AND Gate
324:OR閘 324:OR Gate
326:OR閘 326:OR Gate
328:AND閘 328: AND Gate
330:表決電路 330: Voting Circuit
332:c元件 332:c component
334:c元件 334:c component
336:c元件 336:c component
400:欠壓偵測器 400: Undervoltage Detector
402:多數決閘 402: Majority Decision
410:多數決閘 410: Majority decision-making
412:AND閘 412:AND Gate
414:AND閘 414:AND Gate
416:AND閘 416:AND Gate
418:OR閘 418:OR Gate
500:積體電路 500: Integrated Circuits
501:欠壓偵測電路 501: Undervoltage Detection Circuit
502:電源接腳 502: Power pin
503:星形節點 503: Star Node
504:導電電源匯流排 504: Conductive power bus
505:電源輸入節點 505: Power Input Node
506:第一電路 506: Circuit One
507:第二電路 507: Second Circuit
510:第一比較器 510: First Comparator
512:第二比較器 512: Second Comparator
514:額外比較器 514: Additional Comparator
516:表決電路/比較器 516: Voting Circuit/Comparator
520:積體電路 520: Integrated Circuits
521:欠壓偵測器 521: Undervoltage Detector
530:積體電路 530: Integrated Circuits
531:欠壓偵測電路 531: Undervoltage Detection Circuit
535:電源輸入節點 535: Power Input Node
540:積體電路 540: Integrated Circuits
541:欠壓偵測器 541: Undervoltage Detector
550:積體電路 550: Integrated Circuits
551:欠壓偵測器 551: Undervoltage Detector
560:積體電路 560: Integrated Circuits
561:欠壓偵測器 561: Undervoltage Detector
562:單晶片電源電路 562: Single-chip power supply circuit
600:積體電路 600: Integrated Circuits
601:電源接腳 601: Power Pin
602:列解碼器 602: Column decoder
603:欠壓偵測器 603: Undervoltage Detector
604:記憶體陣列 604: Memory Array
606:記憶體控制器 606: Memory controller
610:感測放大器 610: Sensing Amplifier
612:行解碼器 612: Line decoder
614:I/O邏輯 614:I/O logic
620:記憶體電路 620: Memory Circuit
622:導電電源線 622: Conductive power cord
700:方法 700: Method
704、706、708、710:步驟 704, 706, 708, 710: Steps
720、722、724:步驟 720, 722, 724: Steps
800:電源監控電路 800: Power Monitoring Circuit
802:電阻分壓器 802: Resistor voltage divider
804:類比多工器 804: Analog Multiplexer
806:遲滯控制器 806: Lag Controller
902:跡線/分壓電源電壓 902: Trajectory/Voltage Divider Power Supply Voltage
904:跡線 904: Trace
906:時間 906: Time
910:跡線 910: trace
912:突波 912: Sudden Wave
914:雙態觸變 914: Bistate Thixotropy
932:跡線 932: Trace
934:跡線 934: Trace
936:時間 936: Time
940:跡線 940: trace
952:跡線 952: Trace
954:跡線 954: Trace
956:跡線 956: Trace
958:跡線 958: Trace
960:跡線 960: trace
962:跡線 962: Trace
964:跡線 964: Trace
為了更完整地理解本發明及其優點,現在結合附圖來參考以下敘述,其中:[圖1]說明示例性欠壓偵測器的示意圖;[圖2]說明根據一個實施例的欠壓偵測器的示意圖;[圖3A]說明根據一個實施例的欠壓偵測器的示意圖;[圖3B]說明實施例表決電路的真值表;[圖3C]說明實施例表決電路的時序圖;[圖3D]說明實施例表決電路的示意圖;[圖3E]說明實施例表決電路的方塊圖;[圖4A]說明根據一個實施例的欠壓偵測器的示意圖;[圖4B]說明一個實施例表決電路的示意圖;[圖5A]、[圖5B]、[圖5C]、[圖5D]、[圖5E]和[圖5F]說明使用實施例欠壓偵測器的積體電路的方塊圖;[圖6]說明使用實施例欠壓偵測器的實施例積體電路記憶體的方塊圖;[圖7A]和[圖7B]說明根據一個實施例的方法的方塊圖;[圖8]說明根據一個實施例的電源監控電路;和[圖9A]、[圖9B]和[圖9C]說明與實施例電源監控系統的效能相關的波形圖。 To gain a more complete understanding of the present invention and its advantages, the following description is now taken in conjunction with the accompanying drawings, in which: [Figure 1] illustrates a schematic diagram of an exemplary undervoltage detector; [Figure 2] illustrates a schematic diagram of an undervoltage detector according to one embodiment; [Figure 3A] illustrates a schematic diagram of an undervoltage detector according to one embodiment; [Figure 3B] illustrates a truth table of a voting circuit according to an embodiment; [Figure 3C] illustrates a timing diagram of a voting circuit according to an embodiment; [Figure 3D] illustrates a schematic diagram of a voting circuit according to an embodiment; [Figure 3E] illustrates a block diagram of a voting circuit according to an embodiment; [Figure 4A] illustrates a schematic diagram of an undervoltage detector according to one embodiment. Figures: [Figure 4B] illustrates a schematic diagram of a voting circuit of one embodiment; [Figures 5A], [Figure 5B], [Figure 5C], [Figure 5D], [Figure 5E], and [Figure 5F] illustrate block diagrams of an integrated circuit using an undervoltage detector of one embodiment; [Figure 6] illustrates a block diagram of the memory of an integrated circuit using an undervoltage detector of one embodiment; [Figures 7A] and [Figure 7B] illustrate block diagrams of a method according to one embodiment; [Figure 8] illustrates a power monitoring circuit according to one embodiment; and [Figures 9A], [Figure 9B], and [Figure 9C] illustrate waveform diagrams related to the performance of the power monitoring system of one embodiment.
除非另有說明,否則不同附圖中的相應數字和符號通常指代相應 的部分。繪製附圖以清楚地說明優選實施例的相關方面並且不一定按比例進行繪製。為了更清楚地說明某些實施例,表示相同結構、材料或處理步驟的變化的字母可跟隨圖式號碼。 Unless otherwise stated, corresponding numbers and symbols in the different figures generally refer to the corresponding parts. The figures are drawn to clearly illustrate relevant aspects of the preferred embodiments and are not necessarily drawn to scale. To further illustrate certain embodiments, letters indicating variations in the same structure, material, or processing steps may follow the figure numbers.
下面詳細討論當前優選實施例的製作和使用。然而,應當理解到,本發明提供了許多可應用發明構思,這些構思可體現在各種各樣的特定環境中。所討論的具體實施例僅說明用以實現和使用本發明的具體方式,並不限制本發明的範圍。 The making and use of the current preferred embodiments are discussed in detail below. However, it should be understood that this invention provides many applicable inventive ideas that can be embodied in a wide variety of specific environments. The specific embodiments discussed are merely illustrative of specific ways of implementing and using this invention and do not limit the scope of this invention.
在一個實施例中,使用複數個比較器和表決電路來實現用於監控電源的欠壓偵測器。在一些實施例中,當大多數比較器指示低電源電壓時,表決電路指示欠壓狀況。在其它實施例中,例如包括兩個比較器的實施例,表決電路使用c元件來實現以指示欠壓狀況,其在於比較器皆指示低電源電壓的時後,或者在於欠壓狀況已經存在且比較器中的至少一個指示低電源電壓的時後。 In one embodiment, a plurality of comparators and a voting circuit are used to implement an undervoltage detector for monitoring a power supply. In some embodiments, the voting circuit indicates an undervoltage condition when most comparators indicate a low power supply voltage. In other embodiments, such as those including two comparators, the voting circuit uses a C element to indicate an undervoltage condition after all comparators indicate a low power supply voltage, or after an undervoltage condition has occurred and at least one of the comparators indicates a low power supply voltage.
實施例的優點包括能夠減少錯誤欠壓偵測的發生,這可能在大瞬變電流瞬間降低在電源節點處的電壓時發生。在一些實施例中,可在不對電源節點進行低通濾波及/或不使用具有遲滯電路的比較器的情況下減少錯誤偵測。這有利地允許使用小型電路進行非常快速的欠壓偵測,以及快速偵測欠壓狀況同時避免錯誤偵測欠壓狀況的能力。一些實施例還有利地避免延遲引起的電源雙態觸變。當欠壓偵測器錯誤地偵測到響應瞬變的欠壓狀況並關閉供電電路時,就會出現如此現象。一旦關閉供電電路,電源電壓迅速恢復,再次被欠壓偵測器偵測到,從而導致供電電路短時間關閉,這取決於欠壓偵測器的延遲。因此,每當欠壓偵測器被錯誤觸發時,供電電路就會關閉。在某些狀況下,重新啟動電路可能需要幾毫秒。 Advantages of these embodiments include reduced erroneous undervoltage detection, which can occur when a large transient current momentarily lowers the voltage at the power node. In some embodiments, erroneous detection can be reduced without low-pass filtering at the power node and/or without using a comparator with hysteresis circuitry. This advantageously allows for very fast undervoltage detection using small circuitry, and the ability to quickly detect undervoltage conditions while avoiding erroneous detection. Some embodiments also advantageously avoid power supply double-state thixotropy caused by delay. This phenomenon occurs when an undervoltage detector incorrectly detects a transient undervoltage condition and shuts off the power supply. Once the power supply is shut off, the power voltage recovers rapidly and is detected again by the undervoltage detector, causing the power supply to shut down briefly, depending on the detector's delay. Therefore, whenever the undervoltage detector is incorrectly triggered, the power supply shuts off. In some cases, restarting the circuit may take several milliseconds.
圖1說明示例性欠壓偵測器100。如圖所示,欠壓偵測器100包括比較器102、施密特觸發器104、遲滯塊106和低通濾波器108。在操作期間,比較器102比較受監控電源VDD和參考電壓VREF。原則上,當受監控電源VDD的電壓大於電壓VREF時,電源狀態訊號POK為高位準,指出受監控電源VDD具有足夠高電壓以可靠地為連接電路供電。另一方面,當受監控電源VDD的電壓不大於電壓VREF時,電源狀態訊號POK為低位準,指出受監控電源VDD太低而不能可靠地為連接電路供電。電源狀態訊號POK可用於在如此低功率狀況下關閉連接電路。 Figure 1 illustrates an exemplary undervoltage detector 100. As shown, the undervoltage detector 100 includes a comparator 102, a Schmitt trigger 104, a hysteresis block 106, and a low-pass filter 108. During operation, the comparator 102 compares the monitored power supply VDD with a reference voltage VREF . In principle, when the voltage of the monitored power supply VDD is greater than the voltage VREF , the power status signal POK is at a high level, indicating that the monitored power supply VDD has a sufficiently high voltage to reliably power the connected circuitry. On the other hand, when the voltage of the monitored power supply VDD is not greater than the voltage VREF , the power status signal POK is low, indicating that the monitored power supply VDD is too low to reliably power the connected circuit. The power status signal POK can be used to shut down the connected circuit under such low power conditions.
在大多數實際系統中,電源電壓通常由於單晶片開關行為而有雜訊。因此,低通濾波和遲滯通常被添加到欠壓偵測電路中,以在受監控電源VDD的電壓非常接近參考電壓VREF時避免在比較器輸出處的亞穩態行為。為了避免如此亞穩態行為,通常會在欠壓偵測電路中添加遲滯和低通濾波。例如,示例性欠壓偵測器100包括低通濾波器108,其被配置為過濾電源電壓,從而衰減高頻瞬變。遲滯塊106基於比較器102的輸出將輸入電壓轉移到比較器102,這導致比較器102的閾值取決於比較器102的輸出,從而減少在比較器102的輸出處”顫動”的發生率。最後,施密特觸發器104對比較器102的輸出施加進一步遲滯,當受監控電源VDD的電壓非常接近參考電壓VREF時,其可具有較低斜率及/或較慢響應。 In most practical systems, power supply voltages are typically noisy due to the switching behavior of single-chip switches. Therefore, low-pass filtering and hysteresis are often added to undervoltage detection circuits to prevent metastable behavior at the comparator output when the voltage of the monitored power supply VDD is very close to the reference voltage VREF . To avoid such metastable behavior, hysteresis and low-pass filtering are typically added to undervoltage detection circuits. For example, an exemplary undervoltage detector 100 includes a low-pass filter 108 configured to filter the power supply voltage, thereby attenuating high-frequency transients. The hysteresis block 106 shifts the input voltage to the comparator 102 based on the output of the comparator 102, causing the threshold of the comparator 102 to depend on the output of the comparator 102, thereby reducing the occurrence rate of "flickering" at the output of the comparator 102. Finally, the Schmitt trigger 104 applies a further hysteresis to the output of the comparator 102, which can have a lower slope and/or slower response when the voltage of the monitored power supply VDD is very close to the reference voltage VREF .
雖然低通濾波器108、遲滯塊106和施密特觸發器104中的每一個都可有效地減少比較器102的亞穩態行為,但是如此亞穩態行為的減少可能以額外電路和較慢響應作為代價. While each of the low-pass filter 108, hysteresis block 106, and Schmitt trigger 104 can effectively reduce the metastable behavior of comparator 102, such reduction may come at the cost of additional circuitry and a slower response.
圖2說明根據本發明實施例的欠壓偵測器系統200。欠壓偵測器系統200包括欠壓偵測器202、參考電壓產生器208、和受供電的電路212,其從欠壓偵測器202所監控之電源接收其功率。 Figure 2 illustrates an undervoltage detector system 200 according to an embodiment of the present invention. The undervoltage detector system 200 includes an undervoltage detector 202, a reference voltage generator 208, and a powered circuit 212 that receives power from a power source monitored by the undervoltage detector 202.
在本發明的實施例中,欠壓偵測器202包括複數個比較器204至206和表決電路210以監控導電電源匯流排218的電源電壓VDD。雖然只有兩個比 較器204和206被明確表示,但是在一些實施例中,欠壓偵測器202可包括兩個以上的比較器。表決電路210被配置為當大多數比較器204至206指示存在欠壓狀況時指示欠壓狀況。在一些實施例中,當大多數比較器204至206指示電源電壓太低時,表決電路210指示存在欠壓狀況。換言之,每個比較器204至206被給予關於電源狀態的”表決”。如此多數決函數可使用下述關於圖4B的多數決閘來實現。 In embodiments of the present invention, the undervoltage detector 202 includes a plurality of comparators 204 to 206 and a voting circuit 210 to monitor the power supply voltage VDD of the conductive power bus 218. Although only two comparators 204 and 206 are explicitly represented, in some embodiments, the undervoltage detector 202 may include more than two comparators. The voting circuit 210 is configured to indicate an undervoltage condition when a majority of comparators 204 to 206 indicate that an undervoltage condition exists. In some embodiments, the voting circuit 210 indicates an undervoltage condition when a majority of comparators 204 to 206 indicate that the power supply voltage is too low. In other words, each comparator 204 to 206 is given a "vote" regarding the power supply state. Such a majority decision function can be implemented using the majority decision gate described below with respect to Figure 4B.
在一些實施例中,例如使用偶數個比較器的實施例,額外”表決”被給予欠壓偵測器202的先前輸出狀態。例如,在具有兩個比較器202和206的系統中,當比較器204和206皆指示欠壓狀況時或者是當表決電路210先前指示欠壓狀況(例如,POK未經斷言)且比較器204和206中的至少一個指示欠壓狀況(例如,正極端子的處電壓小於負極端子處的電壓)時,表決電路指示存在欠壓狀況206。在如此實施例中,表決電路210可使用諸如穆勒c元件的電路來實現,如下面關於到圖3A-3E。 In some embodiments, such as those using an even number of comparators, an additional "vote" is given to the previous output state of the undervoltage detector 202. For example, in a system with two comparators 202 and 206, the voting circuit indicates the presence of undervoltage condition 206 when both comparators 204 and 206 indicate an undervoltage condition, or when the voting circuit 210 previously indicated an undervoltage condition (e.g., P OK not asserted) and at least one of comparators 204 and 206 indicates an undervoltage condition (e.g., the voltage at the positive terminal is less than the voltage at the negative terminal). In such an embodiment, the voting circuit 210 can be implemented using a circuit with a Mueller C element, as shown below with respect to Figures 3A-3E.
如圖所示,電源216被配置為通過導電電源匯流排218向電路212供電。欠壓偵測器202耦合到導電電源匯流排218並被配置為監控導電電源匯流排218上的電壓。在操作期間,當導電電源匯流排218的電壓高於預定電壓時,對電源狀態訊號POK進行斷言。 As shown in the figure, power supply 216 is configured to supply power to circuit 212 via conductive power bus 218. Undervoltage detector 202 is coupled to conductive power bus 218 and configured to monitor the voltage on conductive power bus 218. During operation, when the voltage on conductive power bus 218 is higher than a predetermined voltage, an assertion is made regarding the power status signal P OK .
在各種實施例中,電源狀態訊號POK耦合到電路212內的關閉電路214的輸入,使得當電源狀態訊號POK未經斷言時,電路212被置於斷電狀態。在一些實施例中,例如在電路212是時脈數位電路的情況下,關閉電路214可藉由閘控時脈將電路212置於斷電狀態。在其它實施例中,關閉電路214可藉由將電路212從導電電源匯流排218斷開來使電路212斷電。如此斷開可例如藉由打開耦合在導電電源匯流排218和電路212內的內部電源匯流排之間的開關來實現。在替代實施例中,電源狀態訊號POK可被路由繞送到與電路212分離的另一電路(例如負責管理各種電路的電源狀態的控制器),及/或可被路由繞送到外部接腳,狀態 暫存器或數位介面。 In various embodiments, the power status signal P OK is coupled to the input of the shutdown circuit 214 within circuit 212, such that circuit 212 is in a de-energized state when the power status signal P OK is not asserted. In some embodiments, such as when circuit 212 is a clock digital circuit, the shutdown circuit 214 can de-energize circuit 212 by controlling a clock. In other embodiments, the shutdown circuit 214 can de-energize circuit 212 by disconnecting circuit 212 from the conductive power bus 218. This disconnection can be achieved, for example, by opening a switch coupled between the conductive power bus 218 and an internal power bus within circuit 212. In an alternative embodiment, the power status signal P OK may be routed to another circuit separate from circuit 212 (e.g., a controller responsible for managing the power status of various circuits), and/or may be routed to an external pin, status register, or digital interface.
電源216代表可耦合到導電電源匯流排218的任何電源。在一些實施例中,電源216可以是外部DC電源,例如穩壓DC電源或電池。在如此實施例中,導電電源匯流排218電連接到其上設佈置有導電電源匯流排218和電路212的積體電路的接合銲墊或其它外部連接。 Power supply 216 represents any power source that can be coupled to conductive power bus 218. In some embodiments, power supply 216 may be an external DC power source, such as a regulated DC power supply or a battery. In such embodiments, conductive power bus 218 is electrically connected to bonding pads or other external connections on which integrated circuitry 218 and circuitry 212 are disposed.
欠壓偵測器202包括複數個比較器204和206以及表決電路210。比較器204和206各自被配置為將各自的參考電壓與導電電源匯流排218的電壓VDD進行比較。例如,比較器204將電壓VDD與節點VREF1處的電壓進行比較,並且比較器206將電壓VDD與節點VREFN處的電壓進行比較。雖然為了便於說明僅說明兩個比較器204和206,但是應當理解到在一些實施例中,欠壓偵測器202可包括多於兩個的比較器。每個比較器204和206可使用本領域已知的比較器電路來實現。例如在一些實施例中,比較器204和206可使用差分放大器來實現,例如一對射極耦合的BJT電晶體或一對源極耦合的MOS電晶體,其中電流經由電流源或電阻器供應給電晶體。在一些實施例中,比較器204和206可在正及/或負輸入端子處包括一或更多位準移位器以便將經量測電源電壓移位到較低電壓位準。 The undervoltage detector 202 includes a plurality of comparators 204 and 206 and a voting circuit 210. Comparators 204 and 206 are each configured to compare their respective reference voltage with the voltage VDD of the conductive power bus 218. For example, comparator 204 compares the voltage VDD with the voltage at node VREF1 , and comparator 206 compares the voltage VDD with the voltage at node VREFN . Although only two comparators 204 and 206 are described for simplicity, it should be understood that in some embodiments, the undervoltage detector 202 may include more than two comparators. Each comparator 204 and 206 can be implemented using comparator circuits known in the art. For example, in some embodiments, comparators 204 and 206 can be implemented using differential amplifiers, such as a pair of emitter-coupled BJT transistors or a pair of source-coupled MOS transistors, wherein current is supplied to the transistors via a current source or resistor. In some embodiments, comparators 204 and 206 may include one or more level shifters at the positive and/or negative input terminals to shift the measured supply voltage to a lower voltage level.
在本發明的替代實施例中,比較器204和206可由單獨的欠壓偵測電路代替,諸如圖1中所示的欠壓偵測器100。在此替代實施例中,相應的欠壓偵測器可包括比較器,以及低通濾波器108、遲滯塊106或施密特觸發器104中的至少一個。也可使用本領域已知的其它欠壓偵測器。 In an alternative embodiment of the invention, comparators 204 and 206 may be replaced by a separate undervoltage detection circuit, such as the undervoltage detector 100 shown in FIG. 1. In this alternative embodiment, the corresponding undervoltage detector may include a comparator and at least one of a low-pass filter 108, a hysteresis block 106, or a Schmitt trigger 104. Other undervoltage detectors known in the art may also be used.
在一些實施例中,節點VREF1和VREF2處的電壓可由參考電壓產生器208產生。節點VREF1和VREF2處的電壓可相同或不同,其取決於具體實施例及其規範。參考電壓產生器208可使用本領域已知的電壓參考電路來實現,例如帶隙電壓參考器。在一些實施例中,一或更多比較器204和206耦合到相同的實體參考電壓,但是經由耦合到具有不同分壓比的正輸入的內部分壓器來提供不同的有 效比較閾值。因此,在一些實施例中,比較器204和206可藉由使用不同分壓比(例如使用電阻分壓器)對導電電源匯流排218的電壓進行分壓並且將分壓電壓與相同參考電壓進行比較,來有效地將導電電源匯流排218的電壓與不同參考電壓進行比較。在一些實施例中,可調整分壓器用於執行分壓,以及用於向其相應比較器施加遲滯,如下面關於圖8所討論。 In some embodiments, the voltages at nodes VREF1 and VREF2 can be generated by reference voltage generator 208. The voltages at nodes VREF1 and VREF2 may be the same or different, depending on the specific embodiment and its specifications. Reference voltage generator 208 can be implemented using voltage reference circuits known in the art, such as bandgap voltage references. In some embodiments, one or more comparators 204 and 206 are coupled to the same physical reference voltage, but provide different effective comparison thresholds via internal voltage dividers coupled to positive inputs with different voltage division ratios. Therefore, in some embodiments, comparators 204 and 206 can effectively compare the voltage of the conductive power bus 218 with different reference voltages by using different voltage division ratios (e.g., using a resistive voltage divider) to divide the voltage of the conductive power bus 218 and comparing the divided voltage with the same reference voltage. In some embodiments, the voltage divider can be adjusted for performing the voltage division and for applying lag to its corresponding comparator, as discussed below with respect to Figure 8.
圖3A說明根據本發明實施例中可用於實施圖2所示的欠壓偵測器202的欠壓偵測器300。如圖所示,欠壓偵測器300包括兩個比較器204和206,以及具有耦合到比較器204和206的輸出的輸入的c元件302。 Figure 3A illustrates an undervoltage detector 300 that can be used to implement the undervoltage detector 202 shown in Figure 2 according to an embodiment of the present invention. As shown, the undervoltage detector 300 includes two comparators 204 and 206, and a c-element 302 having inputs coupled to the outputs of the comparators 204 and 206.
在一個實施例中,比較器204被配置為將受監控供應電壓VDD與參考電壓VREFH進行比較,並且比較器206被配置為將受監控供應電壓VDD與參考電壓VREFL進行比較,其中VREFH的電壓高於VREFL。使用兩個不同的參考電壓有效地使欠壓偵測器300能夠在偵測受監控供應電壓VDD時提供快速響應和遲滯。在各種實施例中,參考電壓VREFL,而VREFH可被設定為小於特定電路或系統的最低預期操作電壓。例如,在標稱操作電壓為3.3V且最小操作電壓為3.0V的系統中,參考電壓VREFH可設定為2.85V,且參考電壓VREFL可設定為2.80V。因此,當電源在啟動時上升到其標稱值的時候,電源狀態訊號POK將不經斷言,直到電源電壓至少為2.85V。另一方面,在欠壓狀況下,直到電源電壓達到至少2.80V,電源狀態訊號POK才被解除斷言。應當理解到這只是許多可行實施例示例中的一個具體數值示例。在替代實施例中,實際使用的參考電壓VREFH和VREFL可能不同。在一些實施例中,參考電壓VREFH和VREFL的值可取決於由電源電壓VDD供電的電路系統的細節及其可靠地承受較低電壓的能力。 In one embodiment, comparator 204 is configured to compare the monitored supply voltage VDD with a reference voltage VREFH , and comparator 206 is configured to compare the monitored supply voltage VDD with a reference voltage VREFL , wherein the voltage of VREFH is higher than that of VREFL . Using two different reference voltages effectively enables the undervoltage detector 300 to provide a fast response and low latency when detecting the monitored supply voltage VDD. In various embodiments, the reference voltage VREFL is used, while VREFH can be set to be less than the minimum expected operating voltage of a particular circuit or system. For example, in a system with a nominal operating voltage of 3.3V and a minimum operating voltage of 3.0V, the reference voltage VREFH can be set to 2.85V, and the reference voltage VREFL can be set to 2.80V. Therefore, when the power supply rises to its nominal value upon startup, the power status signal POK will not be asserted until the power supply voltage is at least 2.85V. On the other hand, in undervoltage conditions, the power status signal POK will not be asserted until the power supply voltage reaches at least 2.80V. It should be understood that this is only one specific numerical example among many feasible embodiments. In alternative embodiments, the actual reference voltages VREFH and VREFL used may differ. In some embodiments, the values of the reference voltages VREFH and VREFL may depend on the details of the circuit system powered by the power supply voltage VDD and its ability to reliably withstand lower voltages.
應當理解到,與依賴於將遲滯施加到單一比較器的實施例(例如圖1中所示的示例性欠壓偵測器100)相比,在一些實施例中,參考電壓VREFH和VREFL可靠得更近。這是因為通常需要在欠壓偵測器100中增加遲滯量(這導致電 路的可用餘量的相應減少),用以防止或減輕上述之偵測延遲引起的雙態觸變。因此,在一些實施例中,減少的遲滯量提供相應的餘量增加。 It should be understood that, in some embodiments, the reference voltages VREFH and VREFL are reliably closer than in embodiments that rely on applying lag to a single comparator (e.g., the exemplary undervoltage detector 100 shown in Figure 1). This is because a lag is typically required in the undervoltage detector 100 (which results in a corresponding reduction in the available margin of the circuit) to prevent or mitigate the bi-state thixotropy caused by the aforementioned detection delay. Therefore, in some embodiments, the reduced lag provides a corresponding increase in margin.
在一個實施例中,關於圖3B、3C和3E描述c元件302(在本領域中也稱為”穆勒c元件”)。圖3B說明實現以下邏輯等式的c元件302的真值表:Yn=A.B+(A+B).Yn-1,其中Yn是c元件302的下一個輸出(例如電源狀態訊號POK的下一個值),Yn-1是c元件302的前一個輸出,而A和B是c元件302的邏輯輸入(例如比較器204和206的邏輯輸出)。如圖3B所示,當A和B都為高位準時,Yn為”1”,這意謂當比較器204和206確定受監控供應電壓VDD大於它們各自的參考電壓輸入時電源狀態訊號POK經斷言;當A和B均為低位準時,Yn為”0”,這意謂當比較器204和206都確定受監控供應電壓VDD不大於它們各自的參考電壓輸入時,電源狀態訊號POK不經斷言。然而,當比較器204和206的輸出處於不同狀態時(例如A=“1”和B=“0”或A=”0”和B=“1”),例如,當比較器204和206中的一個確定受監控供應電壓VDD大於其各自的參考電壓且比較器204和206中的另一個確定受監控供應電壓VDD不小於其各自的參考電壓時,電源狀態訊號POK的值保持不變。因此,如果電源狀態訊號POK先前經斷言,則該訊號保持經斷言;並且如果電源狀態訊號POK先前未經斷言,則該訊號保持未經斷言。 In one embodiment, c-element 302 (also referred to in the art as a "Muller c-element") is described with respect to Figures 3B, 3C, and 3E. Figure 3B illustrates the truth table of c-element 302 that implements the following logical equation: Y <sub>n</sub> = A.B+(A+B).Y<sub> n-1 </sub>, where Y <sub>n </sub> is the next output of c-element 302 (e.g., the next value of the power status signal P<sub>OK</sub> ), Y <sub>n-1</sub> is the previous output of c-element 302, and A and B are the logical inputs of c-element 302 (e.g., the logical outputs of comparators 204 and 206). As shown in Figure 3B, when both A and B are at high levels, Yn is "1", which means that the power status signal POK is asserted when comparators 204 and 206 determine that the monitored supply voltage VDD is greater than their respective reference voltage inputs; when both A and B are at low levels, Yn is "0", which means that the power status signal POK is not asserted when both comparators 204 and 206 determine that the monitored supply voltage VDD is not greater than their respective reference voltage inputs. However, when the outputs of comparators 204 and 206 are in different states (e.g., A="1" and B="0" or A="0" and B="1"), for example, when one of comparators 204 and 206 determines that the monitored supply voltage VDD is greater than its respective reference voltage and the other of comparators 204 and 206 determines that the monitored supply voltage VDD is not less than its respective reference voltage, the value of the power status signal POK remains unchanged. Therefore, if the power status signal POK was previously asserted, the signal remains asserted; and if the power status signal POK was not previously asserted, the signal remains unasserted.
圖3C說明與圖3B的真值表一致的c元件302的時序圖。特別地,可看出在時間310和312處,當訊號A和B從處於相同狀態轉變為處於不同狀態時,輸出Y保持在相同狀態。正是c元件302的這一特性而允許一個比較器的輸出進行雙態觸變而不導致欠壓偵測器的輸出POK進行雙態觸變。 Figure 3C illustrates the timing diagram of component 302, which is consistent with the truth table in Figure 3B. Specifically, it can be seen that at times 310 and 312, when signals A and B transition from being in the same state to being in different states, the output Y remains in the same state. It is this characteristic of component 302 that allows the comparator output to undergo bi-state triggering without causing the undervoltage detector output POK to undergo bi-state triggering.
圖3D說明c元件320的示意圖,其可用於實施圖3A中的c元件302。如圖所示,c元件320包括AND閘322和328,以及OR閘324和326。AND閘322和OR閘326的輸入耦合到輸入A和B。OR閘324的輸入耦合到輸出AND閘322和328 的輸入,AND閘328的輸入耦合到OR閘324和326的輸出,從而形成鎖存器。應當理解到,圖3D中所示的c元件320只是實施c元件302的許多可能方式中的一種。在替代實施例中,可使用本領域已知的其它c元件電路。 Figure 3D illustrates a schematic diagram of c-element 320, which can be used to implement c-element 302 in Figure 3A. As shown, c-element 320 includes AND gates 322 and 328, and OR gates 324 and 326. The inputs of AND gates 322 and 326 are coupled to inputs A and B. The input of OR gate 324 is coupled to the inputs of AND gates 322 and 328, and the input of AND gate 328 is coupled to the outputs of OR gates 324 and 326, thereby forming a latch. It should be understood that c-element 320 shown in Figure 3D is only one of many possible ways to implement c-element 302. In alternative embodiments, other c-element circuits known in the art may be used.
在一些實施例中,c元件可用於實施具有多於兩個輸入的表決電路。例如,圖3E說明具有四個輸入的表決電路330的示意圖,其包括三個c元件電路332、334和336。如圖所示,c元件332耦合到輸入A和B,c元件334耦合到輸入C和D,並且c元件336耦合到c元件332和334的輸出以產生輸出Y。在如此實施例中,輸入A、B、C和D對應於四個不同比較器的輸出。以如此方式來級聯c元件特別適用於具有偶數個比較器的系統;然而,實施例可適用於具有奇數個比較器的系統。例如,對於具有三個輸入A、B和C的系統,可省略c元件334,並且第三比較器的輸出C可直接耦合到c元件336。 In some embodiments, c-elements can be used to implement voting circuits with more than two inputs. For example, Figure 3E illustrates a schematic diagram of a voting circuit 330 with four inputs, comprising three c-element circuits 332, 334, and 336. As shown, c-element 332 is coupled to inputs A and B, c-element 334 is coupled to inputs C and D, and c-element 336 is coupled to the outputs of c-elements 332 and 334 to produce output Y. In such an embodiment, inputs A, B, C, and D correspond to the outputs of four different comparators. Cascading c-elements in this manner is particularly suitable for systems with an even number of comparators; however, embodiments can be adapted to systems with an odd number of comparators. For example, in a system with three inputs A, B, and C, element c 334 can be omitted, and the output C of the third comparator can be directly coupled to element c 336.
圖4A說明根據本發明實施例的欠壓偵測器400,其可用於實施圖2中所示的欠壓偵測器202。如圖所示,欠壓偵測器400包括至少三個比較器204、205和206,和具有耦合到比較器204、205和206的輸出的至少三個輸入的多數決閘402。在各種實施例中,多數決閘402被配置為當其輸入的大多數經斷言時來斷言電源狀態訊號POK。 Figure 4A illustrates an undervoltage detector 400 according to an embodiment of the present invention, which can be used to implement the undervoltage detector 202 shown in Figure 2. As shown, the undervoltage detector 400 includes at least three comparators 204, 205, and 206, and a majority decision gate 402 having at least three inputs coupled to the outputs of the comparators 204, 205, and 206. In various embodiments, the majority decision gate 402 is configured to assert a power status signal P OK when a majority of its inputs are asserted.
在一個實施例中,比較器204、205和206被配置為將受監控電源VDD與相應的參考電壓VREF1、VREF2和VREFN進行比較。在一些實施例中,這些參考電壓被配置為不同,而在其它實施例中,參考電壓VREF1、VREF2和VREFN中的兩個以上可被配置為相同。 In one embodiment, comparators 204, 205, and 206 are configured to compare the monitored power supply VDD with corresponding reference voltages VREF1 , VREF2 , and VREFN . In some embodiments, these reference voltages are configured to be different, while in other embodiments, two or more of the reference voltages VREF1 , VREF2 , and VREFN may be configured to be the same.
圖4B說明多數決閘410的示意圖,其可用於實施圖4A所示的多數決閘402。多數決閘410包括AND閘412、414和416以及OR閘418。AND閘412的輸入耦合到輸入A和C,AND閘414的輸入耦合到輸入B和C,且AND閘414的輸入416耦合到輸入A和B。因此,當三個輸入A、B和C中的至少兩個經斷言時,輸出 訊號Y經斷言。應當理解到,圖4B所示的多數決閘410的實施方式只是實施多數決閘的許多可能方式的一個示例。在替代實施例中,可使用其它多數決閘結構或其它邏輯等效電路。例如,在一些實施例中,AND閘412、414和416以及OR閘418每個都可由NAND閘代替。在又一替代實施例中,多數決閘410可適於對多於三個輸入執行多數決函數。 Figure 4B illustrates a schematic diagram of a multiple-delay gate 410, which can be used to implement the multiple-delay gate 402 shown in Figure 4A. The multiple-delay gate 410 includes AND gates 412, 414, and 416 and an OR gate 418. The inputs of AND gate 412 are coupled to inputs A and C, the inputs of AND gate 414 are coupled to inputs B and C, and input 416 of AND gate 414 is coupled to inputs A and B. Therefore, when at least two of the three inputs A, B, and C are asserted, the output signal Y is asserted. It should be understood that the implementation of the multiple-delay gate 410 shown in Figure 4B is only one example of many possible ways to implement a multiple-delay gate. In alternative embodiments, other multiple-delay gate structures or other logically equivalent circuits may be used. For example, in some embodiments, AND gates 412, 414, and 416, and OR gate 418 can each be replaced by a NAND gate. In yet another alternative embodiment, majority gate 410 can be adapted to perform a majority function on more than three inputs.
在上述實施例中,應當理解到,本文所述的數位邏輯電路僅代表實施例邏輯電路的幾個具體示例。在替代實施例中,可使用其它邏輯等效電路。此外,應當理解到,使用本領域已知的數位邏輯設計技術,使用高位準作用訊號的所揭示邏輯電路也可適於接受低位準作用訊號作為輸入及/或產生低位準作用訊號作為輸出。 In the above embodiments, it should be understood that the digital logic circuits described herein represent only a few specific examples of the illustrated logic circuits. In alternative embodiments, other logically equivalent circuits may be used. Furthermore, it should be understood that, using digital logic design techniques known in the art, the disclosed logic circuits using high-level action signals can also be adapted to accept low-level action signals as inputs and/or generate low-level action signals as outputs.
圖5A-5F說明根據各種實施例中實施欠壓偵測器的積體電路的方塊圖。本發明的實施例可在各種半導體製程中加以實施,包括但不限於標準CMOS製程及/或已經被修改以適應一或更多特定類型的非揮發性記憶體的CMOS製程、雙極製程,或BiCMOS製程。圖5A-5F中描繪的各種組件可設置在例如單一半導體基板(例如矽基板)上。 Figures 5A-5F illustrate block diagrams of integrated circuits implementing undervoltage detectors according to various embodiments. Embodiments of the present invention can be implemented in various semiconductor manufacturing processes, including, but not limited to, standard CMOS processes and/or CMOS processes modified to accommodate one or more specific types of non-volatile memory, bipolar processes, or BiCMOS processes. The various components depicted in Figures 5A-5F can be disposed on, for example, a single semiconductor substrate (e.g., a silicon substrate).
圖5A說明包括第一電路506的積體電路,該第一電路506具有經由導電電源匯流排504耦合到電源接腳502的電源輸入節點505。在各種實施例中,導電電源匯流排504可實施在一個積體電路500的一或更多導電層(例如金屬層或多晶矽層)上。欠壓偵測電路501包括第一比較器510和第二比較器512,其具有實體/電氣連接到導電電源匯流排504上靠近第一電路506的電源輸入節點505的位點的訊號輸入。第一比較器510和第二比較器512的輸出耦合到表決電路516,表決電路516可使用一或更多c元件或多數決閘來實施,其如上文關於圖2、3A-3E和4A-4B的實施例所述。在各種實施例中,欠壓偵測電路501在更靠近電源接腳502及/或更靠近電源星形節點503(也稱為”星點”)的位點處連接到導電電 源匯流排504),電源星形節點503是導電電源匯流排504分支成複數個電源匯流排區段的位點。在一個實施例中,比較器510和512可具有不同的比較閾值,其如上文關於圖2、3A和4A所述。 Figure 5A illustrates an integrated circuit including a first circuit 506 having a power input node 505 coupled to a power pin 502 via a conductive power bus 504. In various embodiments, the conductive power bus 504 may be implemented on one or more conductive layers (e.g., metal or polysilicon layers) of an integrated circuit 500. The undervoltage detection circuit 501 includes a first comparator 510 and a second comparator 512 having a signal input physically/electrically connected to a point on the conductive power bus 504 near the power input node 505 of the first circuit 506. The outputs of the first comparator 510 and the second comparator 512 are coupled to a voting circuit 516, which may be implemented using one or more C-elements or multiple gates, as described above with respect to the embodiments of Figures 2, 3A-3E, and 4A-4B. In various embodiments, the undervoltage detection circuit 501 is connected to a conductive power bus 504 at a point closer to the power pin 502 and/or closer to the power star node 503 (also referred to as the "star point"), the power star node 503 being a point where the conductive power bus 504 branches into a plurality of power bus segments. In one embodiment, comparators 510 and 512 may have different comparison thresholds, as described above with respect to Figures 2, 3A, and 4A.
如圖所示,電源狀態訊號POK耦合到第一電路506。在一些實施例中,第一電路506被配置為當電源狀態訊號POK未經斷言時予以關閉,如上文關於圖2所述。 As shown in the figure, the power status signal P OK is coupled to the first circuit 506. In some embodiments, the first circuit 506 is configured to be turned off when the power status signal P OK is not asserted, as described above with respect to Figure 2.
圖5B說明積體電路520,其包括具有經由導電電源匯流排504耦合到電源接腳502的電源輸入節點505的第一電路506。欠壓偵測器521包括具有訊號輸入連接的第一比較器510到導電電源匯流排504的星形節點503,以及具有訊號輸入的第二比較器512在第一電路506的電源輸入節點505附近連接到導電電源匯流排504。在一些實施例中,訊號輸入到第一比較器510在比第二比較器512的訊號輸入更靠近星形節點503或電源接腳502的位點處連接到導電電源匯流排504。因此,第二比較器512的輸入連接到電源匯流排504上的位點這比電源匯流排504上連接到第一比較器510的輸入的位點在實體上和電性更靠近第一電路506。在各種實施例中,第二比較器的訊號輸入經由不包括星形節點的電路路徑連接到導電電源匯流排504。 Figure 5B illustrates an integrated circuit 520, which includes a first circuit 506 having a power input node 505 coupled to a power pin 502 via a conductive power bus 504. An undervoltage detector 521 includes a star node 503 having a signal input connection to the conductive power bus 504 via a first comparator 510, and a second comparator 512 having a signal input connected to the conductive power bus 504 near the power input node 505 of the first circuit 506. In some embodiments, the signal input to the first comparator 510 is connected to the conductive power bus 504 at a point closer to the star node 503 or the power pin 502 than the signal input to the second comparator 512. Therefore, the point on the power bus 504 where the input of the second comparator 512 is connected is physically and electrically closer to the first circuit 506 than the point on the power bus 504 where the input of the first comparator 510 is connected. In various embodiments, the signal input of the second comparator is connected to the conductive power bus 504 via a circuit path that does not include a star node.
圖5B的實施例可藉由在不同點處監控導電電源匯流排504並且藉由要求比較器510和512的訊號輸入電壓在取消斷言電源狀態訊號POK之前低於它們各自的比較閾值來,而有利地減少錯誤欠壓偵測的發生率。在各種實施例中,與欠壓偵測器521中的比較器510和512相關聯的比較閾值可以相同或不同。在操作期間,當第一電路506的本地電源經歷大電流瞬變(其在第一電路506以高邊緣速率驅動低阻抗負載可能發生)時,本地電源的部分可經歷電源點壓的瞬時驟降,這在電源輸入節點505本地的導電電源匯流排的位點處為可見。然而,在星形節點503或電源接腳502處的電壓可不經歷相同程度的電壓驟降,原因在於 線路星形節點503和電源輸入節點505之間的電感。因此,僅在第一電路506本地為可見而在電源接腳502或星形節點503本地為不可見的電壓驟降不太可能觸發欠壓偵測器521。另一方面,當電源電壓由外部提供給電源接腳502時,在導電電源匯流排504上的所有位點最終都將出現電壓下降,這將導致欠壓偵測器521偵測到欠壓狀況。 The embodiment of Figure 5B can advantageously reduce the incidence of erroneous undervoltage detection by monitoring the conductive power bus 504 at different points and by requiring the signal input voltages of comparators 510 and 512 to be lower than their respective comparison thresholds before canceling the assertion power status signal P OK . In various embodiments, the comparison thresholds associated with comparators 510 and 512 in the undervoltage detector 521 may be the same or different. During operation, when the local power supply of the first circuit 506 experiences a large current transient (which may occur when the first circuit 506 drives a low-impedance load at a high edge rate), a portion of the local power supply may experience a momentary voltage drop at the point of the power supply bus local to the power input node 505. However, the voltage at the star node 503 or power pin 502 may not experience the same degree of voltage drop due to the inductance between the star node 503 and the power input node 505. Therefore, a voltage drop that is visible only locally in the first circuit 506 but not locally at the power pin 502 or star node 503 is unlikely to trigger the undervoltage detector 521. On the other hand, when the power supply voltage is supplied to the power pin 502 from the outside, the voltage will eventually drop at all points on the conductive power bus 504, which will cause the undervoltage detector 521 to detect the undervoltage condition.
圖5C說明積體電路530,其包括具有經由導電電源匯流排504耦合到電源接腳502的電源輸入節點505的第一電路506,以及具有經由導電電源匯流排504耦合到電源接腳502的電源輸入節點535的第二電路507。欠壓偵測電路531包括第一比較器510和第二比較器512,其訊號輸入連接到導電電源匯流排504的星形節點503。在一些實施例中,比較器510和512可具有不同比較閾值及/或可被配置為將星形節點503的電壓與不同參考電壓進行比較,其如上文關於圖2、3A和4A所述。電源狀態訊號POK耦合到第一電路506和第二電路507兩者。在一些實施例中,第一電路506和第二電路507中的一個或兩個被配置為在電源狀態訊號POK未經斷言時予以關閉。 Figure 5C illustrates an integrated circuit 530, which includes a first circuit 506 having a power input node 505 coupled to a power pin 502 via a conductive power bus 504, and a second circuit 507 having a power input node 535 coupled to a power pin 502 via a conductive power bus 504. An undervoltage detection circuit 531 includes a first comparator 510 and a second comparator 512, whose signal inputs are connected to a star node 503 of the conductive power bus 504. In some embodiments, comparators 510 and 512 may have different comparison thresholds and/or may be configured to compare the voltage of the star node 503 with different reference voltages, as described above with respect to Figures 2, 3A, and 4A. The power status signal P OK is coupled to both the first circuit 506 and the second circuit 507. In some embodiments, one or both of the first circuit 506 and the second circuit 507 are configured to be turned off when the power status signal P OK is not asserted.
圖5C的實施例可藉由在星形節點503處監控導電電源匯流排504來有利地減少錯誤欠壓偵測的發生率。在操作期間,當第一電路506或第二電路507的本地電源經歷大電流瞬變時,在第一電路506的電源輸入節點505及/或第二電路507的電源輸入節點535本地的導電電源匯流排504的部分可經歷電源電壓的瞬時驟降。然而,由於在星形節點503與電源輸入節點505和535之間的線路電感,因此在星形節點503或電源接腳502處的電壓可不經歷相同程度的電壓驟降。因此,當比較器510和512的訊號輸入在星形節點503附近連接到導電電源匯流排504時,僅在緊鄰第一電路506或第二電路507的導電電源匯流排504上為可見而在電源接腳502或星形節點503附近為不可見的電壓驟降不太可能觸發欠壓偵測器521。 The embodiment of Figure 5C can advantageously reduce the incidence of erroneous undervoltage detection by monitoring the conductive power bus 504 at the star node 503. During operation, when the local power supply of the first circuit 506 or the second circuit 507 experiences a large current transient, portions of the conductive power bus 504 at the local power input node 505 of the first circuit 506 and/or the power input node 535 of the second circuit 507 may experience a momentary voltage drop. However, due to the line inductance between the star node 503 and the power input nodes 505 and 535, the voltage at the star node 503 or the power pin 502 may not experience the same degree of voltage drop. Therefore, when the signal inputs of comparators 510 and 512 are connected to the conductive power bus 504 near the star node 503, a voltage drop that is visible only on the conductive power bus 504 adjacent to the first circuit 506 or the second circuit 507, but invisible near the power pin 502 or the star node 503, is unlikely to trigger the undervoltage detector 521.
圖5D說明積體電路540,其包括具有第一比較器510和第二比較器512的實施例欠壓偵測器541,第一比較器510之訊號輸入在第一電路506的電源輸入節點505附近連接到導電電源匯流排504,而第二比較器512之訊號輸入在第二電路507的電源輸入節點535附近連接到導電電源匯流排504。與比較器510和512相關聯的比較閾值可以相同或不同。 Figure 5D illustrates an integrated circuit 540, which includes an embodiment of an undervoltage detector 541 having a first comparator 510 and a second comparator 512. The signal input of the first comparator 510 is connected to a conductive power bus 504 near a power input node 505 of the first circuit 506, while the signal input of the second comparator 512 is connected to a conductive power bus 504 near a power input node 535 of the second circuit 507. The comparison thresholds associated with comparators 510 and 512 may be the same or different.
圖5D的實施例可藉由在第一電路506和第二電路507的相應電源輸入節點505和535處監控導電電源匯流排504來有利地減少錯誤欠壓偵測的發生率,尤其是在其中第一電路506不太可能與第二電路507同時經歷大電流瞬變的系統中。因此,即使第二電路507經歷導致在電源節點535處的供應電壓的相應瞬時驟降的電流瞬變,在第一電路506的電源輸入節點505處的電壓由於導電電源匯流排504的線路電感而不太可能經歷相同幅度的電壓驟降。因此,欠壓偵測器541不太可能在如此態樣下偵測到欠壓狀況。 The embodiment of Figure 5D can advantageously reduce the incidence of erroneous undervoltage detection by monitoring the conductive power bus 504 at the corresponding power input nodes 505 and 535 of the first circuit 506 and the second circuit 507, especially in a system where the first circuit 506 is unlikely to experience a large current transient simultaneously with the second circuit 507. Therefore, even if the second circuit 507 experiences a current transient that causes a corresponding instantaneous drop in the supply voltage at power node 535, the voltage at power input node 505 of the first circuit 506 is unlikely to experience a voltage drop of the same magnitude due to the line inductance of the conductive power bus 504. Therefore, the undervoltage detector 541 is unlikely to detect an undervoltage condition under such circumstances.
圖5E說明根據本發明實施例包括欠壓偵測器551的積體電路550。積體電路550類似於上文關於圖5D討論的積體電路540,不同之處在於欠壓偵測器551包括額外比較器514,其訊號輸入耦合到導電電源匯流排504的星形節點503。與比較器510、512和514相關聯的比較閾值可以相同或不同。在圖5E的實施例的一些實施方式中,與圖5D的實施例相比,錯誤欠壓偵測的發生率可進一步降低,因為在所有三個位點503、505和535附近的電壓在欠壓偵測器551偵測到欠壓狀況並解除斷言電源狀態訊號POK之前將需要降至低於相應比較器514、510和512的相應參考電壓。 Figure 5E illustrates an integrated circuit 550 including an undervoltage detector 551 according to an embodiment of the present invention. The integrated circuit 550 is similar to the integrated circuit 540 discussed above with respect to Figure 5D, except that the undervoltage detector 551 includes an additional comparator 514, whose signal input is coupled to a star node 503 of a conductive power bus 504. The comparison thresholds associated with comparators 510, 512, and 514 may be the same or different. In some embodiments of the embodiment of Figure 5E, the occurrence rate of erroneous undervoltage detection can be further reduced compared to the embodiment of Figure 5D, because the voltages near all three points 503, 505, and 535 will need to be reduced below the corresponding reference voltages of the corresponding comparators 514, 510, and 512 before the undervoltage detector 551 detects the undervoltage condition and clears the assertion power status signal P OK .
雖然圖5D和5E的實施例僅顯示它們各自的欠壓偵測器本地連接到兩個電路(例如,第一電路506和第二電路507)的電源節點,但是應當理解到,在本發明進一步實施例中,額外電路可耦合到導電電源匯流排504。在如此實施例中,欠壓偵測器541和551可包括額外比較器,其在這些額外電路附近耦合到導 電電源匯流排504上的其它位點。 Although the embodiments of Figures 5D and 5E only show their respective undervoltage detectors locally connected to the power nodes of the two circuits (e.g., the first circuit 506 and the second circuit 507), it should be understood that in further embodiments of the invention, additional circuitry may be coupled to the conductive power bus 504. In such embodiments, undervoltage detectors 541 and 551 may include additional comparators coupled to other points on the conductive power bus 504 in the vicinity of these additional circuits.
實施例欠壓偵測電路也可用於監控從單晶片電源電路而不是從外部接腳接收電力的電源匯流排。圖5F說明積體電路560,其包含具有耦合到單晶片電源電路562的電源輸入節點505的第一電路506。欠壓偵測器561的比較器510和512可在各種位點處耦合到導電電源匯流排504。例如,在各種實施例中,比較器510和512兩者的訊號輸入可在第一電路506的電源輸入節點505附近耦合到導電電源匯流排504;比較器510和512兩者的訊號輸入可在單晶片電源電路562的輸出附近耦合到導電電源匯流排504;或者比較器510和512中之一者的訊號輸入可在單晶片電源電路562的輸出附近連接到導電電源匯流排504,而比較器510和512中之另一者的訊號輸入可在電源輸入節點505附近連接到導電電源匯流排504。另或者,比較器510和512的訊號輸入可連接到導電電源匯流排504的其它位點。 The embodiment of the undervoltage detection circuit can also be used to monitor a power bus that receives power from a single-chip power supply circuit rather than from an external pin. Figure 5F illustrates an integrated circuit 560, which includes a first circuit 506 having a power input node 505 coupled to a single-chip power supply circuit 562. Comparators 510 and 512 of the undervoltage detector 561 can be coupled to a conductive power bus 504 at various bit points. For example, in various embodiments, the signal inputs of both comparators 510 and 512 may be coupled to the conductive power bus 504 near the power input node 505 of the first circuit 506; the signal inputs of both comparators 510 and 512 may be coupled to the conductive power bus 504 near the output of the single-chip power circuit 562; or the signal input of one of comparators 510 and 512 may be connected to the conductive power bus 504 near the output of the single-chip power circuit 562, while the signal input of the other of comparators 510 and 512 may be connected to the conductive power bus 504 near the power input node 505. Alternatively, the signal inputs of comparators 510 and 512 may be connected to other points on the conductive power bus 504.
單晶片電源電路562可使用本領域已知的單晶片電源電路來實施,包括但不限於串聯調節電路、切換模式電源和電荷泵電路。 The single-chip power supply circuit 562 can be implemented using single-chip power supply circuits known in the art, including, but not limited to, series regulation circuits, mode-switching power supplies, and charge pump circuits.
圖6說明根據本發明實施例包括記憶體電路620和欠壓偵測器603的積體電路600。如圖所示,記憶體620包括記憶體陣列604、列解碼器602、記憶體控制器606、感測放大器610、行解碼器612和I/O邏輯614,它們經由導電電源線622耦合到電源接腳601。可使用在本文所述的任何實施例欠壓偵測電路來實施的欠壓偵測器603具有耦合到導電電源線622的輸入A和B,以及被配置為提供電源狀態訊號POK的輸出。輸入A和B可分別連接到導電電源線622上的單一位點或多個位點及/或可具有多於兩個輸入,其如上文關於圖2、3E、4A-4B和5E的實施例所述。 Figure 6 illustrates an integrated circuit 600 including a memory circuit 620 and an undervoltage detector 603 according to an embodiment of the present invention. As shown, the memory 620 includes a memory array 604, a column decoder 602, a memory controller 606, a sensing amplifier 610, a row decoder 612, and an I/O logic 614, which are coupled to a power pin 601 via a conductive power line 622. The undervoltage detector 603, which can be implemented using any embodiment of the undervoltage detection circuit described herein, has inputs A and B coupled to the conductive power line 622, and an output configured to provide a power status signal P OK . Inputs A and B may be connected to a single point or multiple points on the conductive power line 622 and/or may have more than two inputs, as described above with respect to the embodiments of Figures 2, 3E, 4A-4B and 5E.
雖然圖6顯示記憶體電路620中的所有功能塊都連接到同一導電電源線622,但應該理解到在其它實施例中,可使用多於一個電源匯流排及/或電 源接腳以在記憶體電路620內供應特定功能塊。在進一步實施例中,記憶體電路620的一或更多部分也可由單晶片電源電路來供應,諸如上文關於圖5F所討論。積體電路600還可包括記憶體電路620之外的其它電路,例如處理器及/或具有單晶片嵌入式記憶體的積體電路中的狀況。 Although Figure 6 shows all functional blocks in memory circuit 620 connected to the same power supply line 622, it should be understood that in other embodiments, more than one power bus and/or power pin may be used to power specific functional blocks within memory circuit 620. In further embodiments, one or more portions of memory circuit 620 may also be powered by a single-chip power supply circuit, as discussed above with respect to Figure 5F. Integrated circuit 600 may also include other circuits besides memory circuit 620, such as those in a processor and/or integrated circuits with single-chip embedded memory.
記憶體陣列604包括記憶體單元陣列,其可包括諸如浮動閘極記憶體單元或SONOS記憶體單元的非揮發性記憶體單元。感測放大器610耦合到記憶體陣列604的行且經配置以偵測在記憶體陣列604內的記憶體單元的狀態。在操作期間,基於在I/O邏輯614的輸入處提供的位址資料ADDR,列解碼器選擇在記憶體陣列604內將由感測放大器610讀取的一列記憶體單元,並且行解碼器612選擇將經由I/O邏輯614經過資料線DATA輸出的記憶體陣列的行。記憶體控制器606是控制記憶體的操作的記憶體控制器。欠壓偵測器603基於導電電源線622的偵測電壓向記憶體控制器606提供電源狀態訊號POK。在各種實施例中,記憶體控制器606被配置為當電源狀態訊號POK未經斷言時關閉記憶體電路620。 Memory array 604 includes an array of memory cells, which may include non-volatile memory cells such as floating gate memory cells or SONOS memory cells. Sensing amplifier 610 is coupled to a row of memory array 604 and configured to detect the state of memory cells within memory array 604. During operation, based on the address data ADDR provided at the input of I/O logic 614, the column decoder selects a column of memory cells within memory array 604 that will be read by the sensing amplifier 610, and the row decoder 612 selects the row of the memory array that will be output via the data line DATA through I/O logic 614. Memory controller 606 is a memory controller that controls the operation of the memory. Undervoltage detector 603 provides a power status signal P OK to memory controller 606 based on the detected voltage of conductive power line 622. In various embodiments, the memory controller 606 is configured to shut down the memory circuit 620 when the power status signal P OK is not asserted.
圖7A和7B說明監控電源匯流排的方法的方塊圖。如圖7A所示,方法700包括使用第一比較器將電源匯流排的第一點處的電壓與第一參考電壓進行比較(步驟720),以及使用第二比較器將電源匯流排的第二點處的電壓與第二參考電壓進行比較(步驟722)。關於本文所述實施例所描述的比較器可用於實施第一和第二比較器。在各種實施例中,第一和第二參考電壓及/或比較器各自的比較閾值可以相同或不同。電源匯流排的第一點和第二點可以相同或不同,並且可位於電源匯流排的部分上,其如本文例如關於圖5A-5F的實施例所討論。在一些實施例中,此方法還可包括使用一或更多額外比較器將電源的電壓與一或更多額外參考電壓進行比較。在步驟724中,在第一和第二比較器的輸出上執行表決功能。如上文關於圖2、3A-3E和4A-4B所述,表決功能可實施c元件或多數決閘的功能。在各種實施例中,可同時執行步驟720、722和724。 Figures 7A and 7B are block diagrams illustrating a method for monitoring a power bus. As shown in Figure 7A, method 700 includes comparing a voltage at a first point on the power bus with a first reference voltage using a first comparator (step 720), and comparing a voltage at a second point on the power bus with a second reference voltage using a second comparator (step 722). The comparators described with respect to the embodiments herein can be used to implement both the first and second comparators. In various embodiments, the first and second reference voltages and/or the comparison thresholds of the comparators may be the same or different. The first and second points of the power bus may be the same or different, and may be located on portions of the power bus, as discussed herein, for example, with respect to embodiments of Figures 5A-5F. In some embodiments, this method may also include comparing the voltage of the power supply with one or more additional reference voltages using one or more additional comparators. In step 724, a voting function is performed on the outputs of the first and second comparators. As described above with respect to Figures 2, 3A-3E, and 4A-4B, the voting function may implement the function of element-wise or majority-wise switching. In various embodiments, steps 720, 722, and 724 may be performed simultaneously.
圖7B說明針對使用基於c元件的表決函數的實施例的表決函數步驟724的方塊圖。步驟704表示欠壓狀態,其中電源狀態訊號POK未經斷言,這向系統中的其它組件指示欠壓狀況。只要第一比較器或第二比較器指示低電壓狀況(步驟706),表決功能保持在欠壓狀態並且電源狀態訊號POK保持未經斷言。只要電源匯流排的第一點處的電壓如由第一比較器測量為小於第一參考電壓或者電源匯流排的第二點處的電壓如由第二比較器測量為小於第二參考電壓,則步驟706就轉變回到步驟704。當不再滿足步驟706的條件時(例如,當電源匯流排的第一點處的電壓如由第一比較器測量為不小於第一參考電壓或電源匯流排的第二點處的電壓如由第二比較器測量為不小於第二參考電壓時),表決功能在步驟708中轉變離開欠壓狀態且進入操作電源狀態。在步驟708中,電源狀態訊號POK經斷言,其向系統中的其它組件指示操作電源狀態。 Figure 7B illustrates a block diagram of voting function step 724 for an embodiment using a c-based voting function. Step 704 represents an undervoltage state, where the power status signal POK is unasserted, indicating an undervoltage condition to other components in the system. The voting function remains in the undervoltage state and the power status signal POK remains unasserted as long as either the first or second comparator indicates a low voltage condition (step 706). Step 706 transitions back to step 704 as soon as the voltage at a first point on the power bus is less than a first reference voltage as measured by the first comparator, or the voltage at a second point on the power bus is less than a second reference voltage as measured by the second comparator. When the conditions of step 706 are no longer met (e.g., when the voltage at a first point on the power bus is not less than a first reference voltage as measured by a first comparator, or the voltage at a second point on the power bus is not less than a second reference voltage as measured by a second comparator), the voting function transitions out of the undervoltage state and into the operating power state in step 708. In step 708, the power status signal POK is asserted, indicating the operating power status to other components in the system.
只要第一比較器和第二比較器都沒有指示低電壓狀況(步驟710),則表決功能保持在操作電源狀態並且電源狀態訊號POK保持經斷言。只要電源匯流排的第一點處的電壓如由第一比較器測量為不小於第一參考電壓或者電源匯流排的第二點處的電壓如由第二比較器測量為不小於第二參考電壓,步驟710就轉變回到步驟708。當不再滿足步驟710的條件時(例如,當電源匯流排的第一點處的電壓如由第一比較器測量為小於第一參考電壓且電源匯流排的第二點處的電壓如由第二比較器測量為小於第二參考電壓時),表決功能在步驟704中轉變離開操作電源狀態且進入欠壓狀態,並且電源狀態訊號POK被解除斷言,其向系統中的其它組件指示欠壓狀態。 As long as neither the first comparator nor the second comparator indicates a low voltage condition (step 710), the voting function remains in the power supply state and the power status signal P OK remains asserted. Step 710 transitions back to step 708 as soon as the voltage at the first point of the power bus is not less than the first reference voltage as measured by the first comparator, or the voltage at the second point of the power bus is not less than the second reference voltage as measured by the second comparator. When the conditions of step 710 are no longer met (for example, when the voltage at the first point of the power bus is less than the first reference voltage as measured by the first comparator and the voltage at the second point of the power bus is less than the second reference voltage as measured by the second comparator), the voting function transitions from the operating power state to the undervoltage state in step 704, and the power status signal P OK is de-asserted, indicating the undervoltage state to other components in the system.
圖8說明可用來代替出現在圖2、3A、4A和5A-5E中的一或更多的比較器204、205、206、510、512和516的電源監控電路800。如圖所示,電源監控電路800包括電阻分壓器802、類比多工器804、比較器102、電容器C1、施密特觸發器104和遲滯控制器806。比較器102具有耦合到多工器804輸出的正輸入VP, 以及耦合到參考電壓VREF的負輸入,參考電壓VREF在一些實施例中可以是固定電壓。電阻分壓器802包括耦合到相對應節點V1、V2到VN的任何數量的串聯連接的電阻器R1、R2到RN,使得節點V1、V2到VN上的電壓對應於受監控供應電壓VDD的各種分壓比。 Figure 8 illustrates a power monitoring circuit 800 that can replace one or more comparators 204, 205, 206, 510, 512, and 516 appearing in Figures 2, 3A, 4A, and 5A-5E. As shown, the power monitoring circuit 800 includes a resistive voltage divider 802, an analog multiplexer 804, a comparator 102, a capacitor C1 , a Schmitt trigger 104, and a hysteresis controller 806. The comparator 102 has a positive input VP coupled to the output of the multiplexer 804 and a negative input coupled to a reference voltage VREF , which in some embodiments may be a fixed voltage. The resistive voltage divider 802 includes any number of series-connected resistors R1 , R2 to RN coupled to corresponding nodes V1 , V2 to VN , such that the voltages at nodes V1 , V2 to VN correspond to various voltage division ratios of the monitored supply voltage VDD.
在操作期間,遲滯控制器806和類比多工器804在比較器102的輸出CMP處於第一狀態時選擇節點V1、V2到VN中的第一個,並且在比較器102的輸出CMP處於第二狀態時選擇節點V1、V2到VN中的第二個。在一個具體操作示例中,當節點VP處的電壓小於電壓VREF時,比較器102的輸出為低且遲滯控制器806使類比多工器804將節點V2耦合到節點VP,使得節點V2處的電壓被施加到比較器102的正輸入VP。然而,當節點VP處的電壓大於電壓VREF時,比較器102的輸出為高且遲滯控制器806使類比多工器804將節點V1耦合到節點VP,使得節點V1處的電壓施加到比較器102的正輸入VP。在如此實施例中,電源監控電路800的有效閾值在比較器102的輸出CMP為高時比在比較器102的輸出CMP為低時更高。 During operation, the lag controller 806 and the analog multiplexer 804 select the first of nodes V1 , V2 to VN when the output CMP of comparator 102 is in a first state, and select the second of nodes V1 , V2 to VN when the output CMP of comparator 102 is in a second state . In a specific operational example, when the voltage at node VP is less than the voltage VEREF , the output of comparator 102 is low and the lag controller 806 causes the analog multiplexer 804 to couple node V2 to node VP , such that the voltage at node V2 is applied to the positive input VP of comparator 102. However, when the voltage at node VP is greater than the voltage VEREF , the output of comparator 102 is high and the lag controller 806 causes the analog multiplexer 804 to couple node V1 to node VP , such that the voltage at node V1 is applied to the positive input VP of comparator 102. In such an embodiment, the effective threshold of the power monitoring circuit 800 is higher when the output CMP of comparator 102 is high than when the output CMP of comparator 102 is low.
類比多工器804可使用本領域已知的類比多工器電路來實施,例如選擇性地將節點V1、V2到VN中的相應節點耦合到節點VP的複數個切換電晶體。類比多工器804可具有等於或大於二的任意數量的輸入。遲滯控制器806可例如使用邏輯電路(諸如一或更多邏輯閘)來實施,其將比較器102的輸出CMP的狀態映射到選擇訊號SEL的相對應狀態。 The analog multiplexer 804 can be implemented using analog multiplexer circuits known in the art, such as selectively coupling corresponding nodes V1 , V2 to VN to a plurality of switching transistors at node VP . The analog multiplexer 804 can have any number of inputs equal to or greater than two. The hysteresis controller 806 can be implemented, for example, using a logic circuit (such as one or more logic gates) that maps the state of the output CMP of comparator 102 to the corresponding state of the selection signal SEL.
在一些實施例中,電容器C1連同電阻分壓器802的電阻器R1至RN可用於對受監控電源節點VDD進行低通濾波,並且施密特觸發器104可用於降低亞穩態在比較器102的輸出處的效應。在一些實施例中,電容器C1或施密特觸發器104中的一個或兩個可加以省略。 In some embodiments, capacitor C1, together with resistors R1 to RN of resistor divider 802, can be used for low-pass filtering of the monitored power supply node VDD, and Schmitt trigger 104 can be used to reduce metastable effects at the output of comparator 102. In some embodiments, one or both of capacitor C1 or Schmitt trigger 104 may be omitted.
圖9A-9C說明與實施例電源監控系統的效能相關的波形圖。圖9A說明顯示欠壓偵測器電路(例如圖1中所示的示例性欠壓偵測器100)的模擬效能 的波形圖。跡線902代表分壓電源電壓VDD,跡線904代表參考電壓VREF,並且跡線910代表電源供應狀態訊號POK。如圖所示,在時間906,電源電壓經歷短電壓瞬變,其在分壓電源電壓902中引起相對應短電壓瞬變。這引起電源狀態訊號POK的相對應雙態觸變914(跡線910)。例如由過大電流消耗引起的突波912也可在分壓電源電壓(跡線902)中看到。 Figures 9A-9C illustrate waveforms related to the performance of the exemplary power monitoring system. Figure 9A illustrates a waveform diagram showing the simulated performance of an undervoltage detector circuit (e.g., the exemplary undervoltage detector 100 shown in Figure 1). Trace 902 represents the voltage divider power supply voltage VDD, trace 904 represents the reference voltage VREF , and trace 910 represents the power supply status signal POK . As shown, at time 906, the power supply voltage experiences a short voltage transient, which causes a corresponding short voltage transient in the voltage divider power supply voltage 902. This causes a corresponding bi-state thixotropic change 914 (trace 910) in the power status signal POK . For example, surge 912 caused by excessive current consumption can also be seen in the voltage divider (trace 902).
圖9B說明顯示欠壓偵測器電路(例如圖2中所示實施例的欠壓偵測器系統200)的模擬效能的波形圖。跡線932表示分壓電源電壓VDD,跡線934表示參考電壓VREF1,跡線940表示電源狀態訊號POK。如圖所示,在時間936,電源電壓經歷短電壓瞬變,其在分壓電源電壓中引起相對應短電壓瞬變(跡線902)。然而,與圖9A中所示的示例性欠壓偵測器100的模擬不同,電源狀態訊號POK(跡線940)不進行雙態觸變且在分壓電源電壓(跡線902)上沒有看到突波。 Figure 9B illustrates a waveform diagram showing the simulated performance of an undervoltage detector circuit (e.g., the undervoltage detector system 200 of the embodiment shown in Figure 2). Trace 932 represents the voltage divider supply voltage VDD, trace 934 represents the reference voltage VREF1 , and trace 940 represents the power status signal POK . As shown in the figure, at time 936, the power supply voltage experiences a short voltage transient, which causes a corresponding short voltage transient in the voltage divider supply voltage (trace 902). However, unlike the simulation of the exemplary undervoltage detector 100 shown in Figure 9A, the power status signal P OK (trace 940) does not undergo bi-state thixotropy and no surge is observed on the voltage divider (trace 902).
圖9C說明顯示欠壓偵測器電路(例如圖3A中所示實施例的欠壓偵測器300)的模擬效能的波形圖,其中比較器204和206分別由圖8所示的電源監控電路800的相對應實例代替。跡線952代表受監控供應電壓,跡線954代表電源狀態訊號POK,跡線956代表電源監控電路800的第一實例的輸出,跡線958代表電源監控電路800的第二實例的輸出,跡線960表示參考電壓,跡線962表示提供給電源監控電路800的第一實例的比較器102的分壓輸入電壓,且跡線964表示提供給電源監控電路800的第二實例的比較器102的分壓輸入電壓。 Figure 9C illustrates a waveform diagram showing the simulated performance of an undervoltage detector circuit (e.g., the undervoltage detector 300 of the embodiment shown in Figure 3A), where comparators 204 and 206 are replaced by corresponding examples of the power monitoring circuit 800 shown in Figure 8. Trace 952 represents the monitored supply voltage, trace 954 represents the power status signal P OK , trace 956 represents the output of the first instance of the power monitoring circuit 800, trace 958 represents the output of the second instance of the power monitoring circuit 800, trace 960 represents the reference voltage, trace 962 represents the voltage divider input voltage provided to the comparator 102 of the first instance of the power monitoring circuit 800, and trace 964 represents the voltage divider input voltage provided to the comparator 102 of the second instance of the power monitoring circuit 800.
如圖所示,受監控供應電壓(跡線852)被模擬為從2.75V到2.9V,其中每步進斜坡為10mV。電源監控電路800的第一實例具有2.8V的有效比較閾值,且電源監控電路800的第一實例具有2.825V的有效比較閾值。 As shown in the figure, the monitored supply voltage (trace 852) is simulated to be from 2.75V to 2.9V, with each step ramp being 10mV. A first instance of the power monitoring circuit 800 has an effective comparison threshold of 2.8V, and another instance of the power monitoring circuit 800 has an effective comparison threshold of 2.825V.
在t=5μs處,第一比較器的分壓輸入電壓(跡線862)超過參考電壓860,這導致第一比較器的輸出變高(跡線856)。隨後在t=8μs處,第二比較器的分壓輸入電壓(跡線864)超過參考電壓860,這導致第二比較器的輸出變高 (跡線858),並導致電源狀態訊號POK(跡線854)經斷言。在t=5μs處,第一比較器的分壓輸入電壓的步進大小增加(跡線862)以及第二比較器的分壓輸入電壓的步進大小增加(跡線864)是遲滯經應用到電源監控電路800的第一和第二實例的結果。 At t=5μs, the voltage divider input voltage of the first comparator (trace 862) exceeds the reference voltage 860, which causes the output of the first comparator to go high (trace 856). Subsequently, at t=8μs, the voltage divider input voltage of the second comparator (trace 864) exceeds the reference voltage 860, which causes the output of the second comparator to go high (trace 858), and causes the power status signal P OK (trace 854) to be asserted. At t=5μs, the increase in the step size of the voltage divider input voltage of the first comparator (trace 862) and the increase in the step size of the voltage divider input voltage of the second comparator (trace 864) are the result of the lag being applied to the first and second instances of the power monitoring circuit 800.
在此總結本發明的實施例。其它實施例也可從在本文提申的整個說明書和申請專利範圍中加以理解。 The embodiments of this invention are summarized here. Other embodiments can also be understood from the entire specification and scope of the claims herein.
實例1:一種電路包括:複數個比較器,其設置在積體電路上,複數個比較器具有耦合到受監控電源線的輸入;及表決電路,其輸入耦合到複數個比較器的輸出,其中表決電路的輸出被配置為提供訊號以指示經耦合到受監控電源線的電源的欠壓狀況。 Example 1: A circuit includes: a plurality of comparators disposed on an integrated circuit, the plurality of comparators having inputs coupled to a monitored power line; and a voting circuit whose inputs are coupled to the outputs of the plurality of comparators, wherein the output of the voting circuit is configured to provide a signal indicating an undervoltage condition of the power supply coupled to the monitored power line.
實例2:如實例1之電路,其中複數個比較器中的第一比較器具有第一比較閾值;且複數個比較器中的第二比較器具有第二比較閾值。 Example 2: A circuit similar to Example 1, wherein a first comparator among a plurality of comparators has a first comparison threshold; and a second comparator among a plurality of comparators has a second comparison threshold.
實例3:如實例1或2之電路,其中第一比較閾值不同於第二比較閾值。 Example 3: A circuit similar to Example 1 or 2, where the first comparison threshold is different from the second comparison threshold.
實例4:如實例1到3中之一者之電路,其中複數個比較器的輸入連接到受監控電源線的星點。 Example 4: A circuit similar to one of Examples 1 to 3, where the inputs of multiple comparators are connected to a point on a monitored power supply line.
實例5:如實例3之電路,其中更包括經由第一導體而連接到受監控電源線的第一電路,第一導體自受監控電源線的星點延伸,其中:複數個比較器中的第一比較器的輸入連接到受監控電源線的星點;且複數個比較器中的第二比較器的輸入經由不包括星點的電路路徑而連接到第一導體。 Example 5: The circuit of Example 3 further includes a first circuit connected to a monitored power line via a first conductor extending from a point on the monitored power line, wherein: the input of the first comparator of a plurality of comparators is connected to the point on the monitored power line; and the input of the second comparator of a plurality of comparators is connected to the first conductor via a circuit path excluding the point on the monitored power line.
實例6:如實例5之電路,其中更包括經由第二導體而連接到受監控電源線的第二電路,第二導體自受監控電源線的星點延伸,其中:複數個比較器中的第二比較器的輸入經由不包括星點且不包括第一導體的電路路徑而連接到第二導體。 Example 6: The circuit of Example 5 further includes a second circuit connected to the monitored power line via a second conductor extending from the star point of the monitored power line, wherein: the input of the second comparator among a plurality of comparators is connected to the second conductor via a circuit path excluding the star point and excluding the first conductor.
實例7:如實例1到6中之一者之電路,其中表決電路包括c元件。 Example 7: A circuit as described in any of Examples 1 to 6, where the voting circuit includes element c.
實例8:如實例1到7中之一者之電路,其中表決電路包括:第一c元件,其具有耦合到複數個比較器中的第一組比較器的輸入;第二c元件,其具有耦合到複數個比較器中的第二組比較器的輸入;及第三c元件,其具有耦合到第一c元件的輸出的第一輸入和耦合到第二c元件的輸出的第二輸入。 Example 8: A circuit as described in any of Examples 1 to 7, wherein the voting circuit comprises: a first c-element having inputs coupled to a first set of comparators among a plurality of comparators; a second c-element having inputs coupled to a second set of comparators among a plurality of comparators; and a third c-element having a first input coupled to the output of the first c-element and a second input coupled to the output of the second c-element.
實例9:如實例1到8中之一者之電路,其中表決電路包括多數決閘。 Example 9: A circuit similar to one of Examples 1 to 8, where the voting circuit includes a majority gate.
實例10:如實例1到9中之一者之電路,其中複數個比較器中的至少一個比較器包括遲滯電路。 Example 10: A circuit as described in Examples 1 through 9, wherein at least one of the plurality of comparators includes a hysteresis circuit.
實例11:一種操作積體電路之方法包括:將在電源匯流排的第一點處的第一電壓與第一參考電壓進行比較;將在電源的第二點處的第二電壓與第二參考電壓進行比較;當第一電壓小於第一參考電壓且第二電壓小於第二參考電壓時,轉變到欠壓狀態;在轉變到欠壓狀態之後,當第一電壓保持小於第一參考電壓或第二電壓保持小於第二參考電壓時,保持欠壓狀態。當第一電壓超過第一參考電壓且第二電壓超過第二參考電壓時,脫離欠壓狀態;在脫離欠壓狀態之後,當第一電壓保持高於第一參考電壓或第二電壓保持高於第二參考電壓時,保持脫離欠壓狀態;及在轉變到欠壓狀態時指示欠壓狀況。 Example 11: A method of operating an integrated circuit includes: comparing a first voltage at a first point on a power bus with a first reference voltage; comparing a second voltage at a second point on the power supply with a second reference voltage; transitioning to an undervoltage state when the first voltage is less than the first reference voltage and the second voltage is less than the second reference voltage; and maintaining the undervoltage state after transitioning to the undervoltage state while the first voltage remains less than the first reference voltage or the second voltage remains less than the second reference voltage. The system exits the undervoltage state when the first voltage exceeds the first reference voltage and the second voltage exceeds the second reference voltage; after exiting the undervoltage state, it remains in the undervoltage state as long as the first voltage remains higher than the first reference voltage or the second voltage remains higher than the second reference voltage; and it indicates the undervoltage state upon transitioning to the undervoltage state.
實例12:如實例11之方法,其中更包括當指示欠壓狀況時關閉連接到電源的第一電路。 Example 12: The method is the same as in Example 11, but further includes shutting down the first circuit connected to the power supply when an undervoltage condition is indicated.
實例13:如實例11或12之方法,其中電源匯流排的第一點和電源匯流排的第二點是同一點。 Example 13: Similar to Example 11 or 12, where the first point and the second point of the power bus are the same point.
實例14:如實例11或13中之一者之方法,其中電源匯流排耦合至第一電路;且電源匯流排的第二點比電源匯流排的第一點更電性靠近第一電路。 Example 14: A method as in Example 11 or 13, wherein a power bus is coupled to a first circuit; and a second point of the power bus is electrically closer to the first circuit than a first point of the power bus.
實例15:如實例11到14中之一者之方法,其中第一電壓和第二電 壓是波動的;且第一參考電壓和第二參考電壓是可編程固定的。 Example 15: A method similar to one of Examples 11 to 14, wherein the first and second voltages are fluctuating; and the first and second reference voltages are programmably fixed.
實例16:一種積體電路包括:記憶體電路;導電電源匯流排,其耦合在電源節點和記憶體電路的電源輸入之間;及欠壓偵測器,其耦合到導電電源匯流排,欠壓偵測器包括:第一比較器,其具有耦合到導電電源匯流排的訊號輸入;第二比較器,其具有耦合到導電電源匯流排的訊號輸入;和表決電路,其具有之輸入耦合到第一比較器和第二比較器的輸出,而具有之輸出耦合到記憶體電路的關閉輸入。 Example 16: An integrated circuit includes: a memory circuit; a conductive power bus coupled between a power node and a power input of the memory circuit; and an undervoltage detector coupled to the conductive power bus, the undervoltage detector including: a first comparator having a signal input coupled to the conductive power bus; a second comparator having a signal input coupled to the conductive power bus; and a voting circuit having an input coupled to the outputs of the first and second comparators, and an output coupled to a shutdown input of the memory circuit.
實例17:如實例16之積體電路,其中表決電路包括c元件。 Example 17: An integrated circuit as in Example 16, where the voting circuit includes element c.
實例18:如實例16或17之積體電路,其中更包括連接到電源節點的接合銲墊。 Example 18: An integrated circuit as in Example 16 or 17, which further includes bonding pads connected to power nodes.
實例19:如實例16到18中之一者之積體電路,其中更包括參考電壓產生器,參考電壓產生器具有耦合到第一比較器的參考電壓輸入的第一輸出和耦合到第二比較器的參考電壓輸入的第二輸出,其中參考電壓產生器被配置為在第一輸出處提供第一參考電壓且在第二輸出處提供不同於第一參考電壓的第二參考電壓。 Example 19: An integrated circuit as described in any of Examples 16 to 18, further comprising a reference voltage generator having a first output coupled to a reference voltage input of a first comparator and a second output coupled to a reference voltage input of a second comparator, wherein the reference voltage generator is configured to provide a first reference voltage at the first output and a second reference voltage different from the first reference voltage at the second output.
實例20:如實例16到19中之一者之積體電路,其中第一比較器的訊號輸入實體連接到導電電源匯流排上的第一點;且第二比較器的訊號輸入實體連接到導電電源匯流排上的第二點。 Example 20: An integrated circuit as described in Examples 16 to 19, wherein the signal input of the first comparator is connected to a first point on a power supply bus; and the signal input of the second comparator is connected to a second point on a power supply bus.
實例21:如實例16到20中之一者之積體電路,其中導電電源匯流排上的第一點比導電電源匯流排的第二點更電性靠近記憶體電路的電源輸入。 Example 21: An integrated circuit as described in Examples 16 to 20, wherein a first point on the power bus is electrically closer to the power input of the memory circuit than a second point on the power bus.
實例22:如實例16到21中之一者之積體電路,其中記憶體電路包括基於矽-氧化物-氮化物-氧化物-矽(SONOS)的非揮發性記憶體陣列。 Example 22: An integrated circuit as described in Examples 16 to 21, wherein the memory circuitry includes a non-volatile memory array based on silicon-oxide-nitride-oxide-silicon (SONOS).
雖然本發明已經參考說明性實施例作出敘述,但是此敘述不旨在被解釋為限制意義。示例性實施例的各種修改和組合以及本發明的其它實施例 對於本領域技術人士在參考此敘述後將顯而易見。因此,後附申請專利範圍旨在涵蓋任何如此修改或實施例。 Although the present invention has been described with reference to illustrative embodiments, this description is not intended to be limiting. Various modifications and combinations of the exemplary embodiments, as well as other embodiments of the present invention, will become apparent to those skilled in the art upon reference to this description. Therefore, the appended claims are intended to cover any such modifications or embodiments.
200:欠壓偵測器系統202:欠壓偵測器204:比較器206:比較器208:參考電壓產生器210:表決電路212:電路214:關閉電路216:電源218:導電電源匯流排200: Undervoltage Detector System; 202: Undervoltage Detector; 204: Comparator; 206: Comparator; 208: Reference Voltage Generator; 210: Voting Circuit; 212: Circuit; 214: Shutdown Circuit; 216: Power Supply; 218: Conductive Power Bus
Claims (22)
Applications Claiming Priority (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US202163286851P | 2021-12-07 | 2021-12-07 | |
| US63/286,851 | 2021-12-07 | ||
| US17/654,482 | 2022-03-11 | ||
| US17/654,482 US12228594B2 (en) | 2021-12-07 | 2022-03-11 | Glitch free brown out detector |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW202327210A TW202327210A (en) | 2023-07-01 |
| TWI906547B true TWI906547B (en) | 2025-12-01 |
Family
ID=
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20190120881A1 (en) | 2017-10-20 | 2019-04-25 | Airpoint Co., Ltd. | Brown out detector with hysteresis specificity |
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20190120881A1 (en) | 2017-10-20 | 2019-04-25 | Airpoint Co., Ltd. | Brown out detector with hysteresis specificity |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8754680B2 (en) | Power-on-reset circuitry | |
| US5894423A (en) | Data processing system having an auto-ranging low voltage detection circuit | |
| US7295051B2 (en) | System and method for monitoring a power supply level | |
| US9535473B2 (en) | Compensating for aging in integrated circuits | |
| US20080079458A1 (en) | Impedance-controlled pseudo-open drain output driver circuit and method for driving the same | |
| JP2024546693A (en) | Glitch-Free Brownout Detector | |
| JP4540610B2 (en) | Semiconductor integrated circuit device and power supply voltage monitoring system using the same | |
| US7368960B2 (en) | Circuit and method for monitoring the integrity of a power supply | |
| US9236858B2 (en) | Semiconductor device | |
| US20100194453A1 (en) | Semiconductor device | |
| CN107210296B (en) | Self-sensing reverse current protection switch | |
| CN114977468A (en) | Dual-power switching circuit and power architecture | |
| US20050141287A1 (en) | Power-up circuit in semiconductor memory device | |
| US8806255B2 (en) | Interface connection control based on voltage at input rail | |
| TWI906547B (en) | A circuit, an integrated circuit and a method of operating a circuit | |
| CN110221677B (en) | Processor and electronic equipment | |
| US20090167359A1 (en) | Current mode logic circuit and control apparatus therefor | |
| CN115453404B (en) | Power supply voltage difference detection circuit, chip, electronic component and electronic equipment | |
| JP2006129073A (en) | Hysteresis comparator and reset signal generating circuit using the same | |
| JP3875984B2 (en) | Transient voltage detection circuit for electronic systems with multiple power supplies | |
| US9030246B2 (en) | Semiconductor device | |
| JP4440214B2 (en) | Semiconductor device | |
| CN221137985U (en) | Power management circuit and vehicle | |
| JP2015136003A (en) | Power-on reset circuit | |
| CN119543898B (en) | Power-on reset circuit with hysteresis effect |