TWI828382B - Voltage detector device and method for preventing system failure - Google Patents

Voltage detector device and method for preventing system failure Download PDF

Info

Publication number
TWI828382B
TWI828382B TW111140078A TW111140078A TWI828382B TW I828382 B TWI828382 B TW I828382B TW 111140078 A TW111140078 A TW 111140078A TW 111140078 A TW111140078 A TW 111140078A TW I828382 B TWI828382 B TW I828382B
Authority
TW
Taiwan
Prior art keywords
voltage
reference voltages
signal
detection signal
input voltage
Prior art date
Application number
TW111140078A
Other languages
Chinese (zh)
Other versions
TW202417860A (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 TW111140078A priority Critical patent/TWI828382B/en
Application granted granted Critical
Publication of TWI828382B publication Critical patent/TWI828382B/en
Publication of TW202417860A publication Critical patent/TW202417860A/en

Links

Images

Landscapes

  • Measurement Of Current Or Voltage (AREA)

Abstract

A voltage detector device includes a reference voltage latch circuit, first and second voltage detector, and a digital circuit. The reference voltage latch circuit outputs one of first and second sets of reference voltages as a third set of reference voltages according to a selection signal, and selectively to be reset or to continue outputting the one of first and second sets of reference voltages to be the third set of reference voltages according to a first detection signal. The first set of reference voltages is lower than the second set of reference voltages. The first voltage detector generates the first detection signal according to a fourth set of reference voltages and an input voltage, in which the fourth set of reference voltages is lower than or equal to the first set of reference voltages. The second voltage detector generates a second detection signal according to the third set of reference voltages and the input voltage. The digital circuit outputs the selection signal according to the second detection signal.

Description

電壓偵測裝置與防止系統故障的方法Voltage detection device and method to prevent system failure

本案是關於電壓偵測裝置,尤其是可防止電子電路因突然開關機出現故障之電壓偵測裝置與其防止系統故障的方法。 This case is about voltage detection devices, especially voltage detection devices that can prevent electronic circuits from malfunctioning due to sudden power on and off and methods of preventing system failures.

在現有的電子裝置中,若電源電壓或其內部電壓因為突然的開關機等原因產生瞬間的電壓壓降,該電子裝置中的電子電路或是電路系統可能出現故障或操作錯誤。在現有的技術中,使用了單一組參考電壓來偵測電源電壓或是該內部電壓是否出現壓降。然而,若該壓降不夠大,上述的電壓偵測機制無法正確地判斷電壓出現異常,使得電子電路與/或電路系統仍會發生故障。 In existing electronic devices, if the power supply voltage or its internal voltage experiences an instantaneous voltage drop due to sudden power on or off, the electronic circuit or circuit system in the electronic device may malfunction or operate incorrectly. In the existing technology, a single set of reference voltages is used to detect whether there is a voltage drop in the power supply voltage or the internal voltage. However, if the voltage drop is not large enough, the above-mentioned voltage detection mechanism cannot correctly determine that the voltage is abnormal, so that the electronic circuit and/or circuit system may still malfunction.

於一些實施態樣中,本案的目的之一在於提供一種電壓偵測裝置與一種防止系統故障的方法,其可提高電壓偵測的準確性並改善先前技術的不足。 In some embodiments, one of the purposes of this case is to provide a voltage detection device and a method to prevent system failure, which can improve the accuracy of voltage detection and improve the shortcomings of the previous technology.

於一些實施態樣中,電壓偵測裝置包含參考電壓閂鎖電路、第一電壓偵測器、第二電壓偵測器以及數位電路。參考電壓閂鎖電路根據一選擇訊號將一第一組參考電壓與一第二組參考電壓中之一者輸出為一第三組參考電壓,並根據一第一偵測訊號選擇性地進行重置或將該第一組參考電壓與該第二組參考電壓中之該者持續輸出為該第三組參考電壓,其中該第一組參考電壓低於該第二組參考電壓。第一電壓偵測器根據第四組參考電壓與一輸入電壓產生該第一偵測訊號,其中第四組參考電壓低於或相同於第一組參考電壓。第二電壓偵測器根據該第三組參考電壓與該輸入電壓產生一第二偵測訊號。數位電路根據該第二偵測訊號產生該選擇訊號。 In some implementations, the voltage detection device includes a reference voltage latch circuit, a first voltage detector, a second voltage detector and a digital circuit. The reference voltage latch circuit outputs one of a first set of reference voltages and a second set of reference voltages as a third set of reference voltages according to a selection signal, and selectively resets according to a first detection signal. Or the one of the first set of reference voltages and the second set of reference voltages is continuously output as the third set of reference voltages, wherein the first set of reference voltages is lower than the second set of reference voltages. The first voltage detector generates the first detection signal according to a fourth set of reference voltages and an input voltage, wherein the fourth set of reference voltages are lower than or the same as the first set of reference voltages. The second voltage detector generates a second detection signal based on the third set of reference voltages and the input voltage. The digital circuit generates the selection signal according to the second detection signal.

於一些實施態樣中,防止系統故障的方法包含下列操作:根據一選擇訊號將一第一組參考電壓與一第二組參考電壓中之一者輸出為一第三組參考電壓,其中該第一組參考電壓低於該第二組參考電壓;根據一第一偵測訊號選擇性地進行重置或持續將該第一組參考電壓與該第二組參考電壓中之該者輸出為該第三組參考電壓;比較第四組參考電壓與一輸入電壓以產生該第一偵測訊號,其中該輸入電壓用以驅動一電路系統,且第四組參考電壓低於或相同於第一組參考電壓;比較該第三組參考電壓與該輸入電壓以產生一第二偵測訊號;以及根據該第二偵測訊號產生該選擇訊號。 In some implementations, the method for preventing system failure includes the following operations: outputting one of a first set of reference voltages and a second set of reference voltages as a third set of reference voltages according to a selection signal, wherein the first set of reference voltages is One set of reference voltages is lower than the second set of reference voltages; selectively reset or continuously output the first set of reference voltages and the second set of reference voltages as the first set of reference voltages according to a first detection signal. Three sets of reference voltages; comparing a fourth set of reference voltages with an input voltage to generate the first detection signal, wherein the input voltage is used to drive a circuit system, and the fourth set of reference voltages are lower than or the same as the first set of reference voltages voltage; compare the third set of reference voltages with the input voltage to generate a second detection signal; and generate the selection signal according to the second detection signal.

有關本案的特徵、實作與功效,茲配合圖式作較佳實施例詳細說明如下。 Regarding the characteristics, implementation and functions of this case, the preferred embodiments are described in detail below with reference to the drawings.

100:電壓偵測裝置 100:Voltage detection device

110:參考電壓閂鎖電路 110: Reference voltage latch circuit

120,130:電壓偵測器 120,130: Voltage detector

140:數位電路 140:Digital circuit

310:觸發器 310: Trigger

311:反及閘 311: Anti-and gate

312:反相器 312:Inverter

320:正反器 320: flip-flop

330,510:多工器 330,510:Mux

410,420,520:比較器 410,420,520: Comparator

430:閂鎖器 430:Latch

600:防止系統故障的方法 600:Methods to Prevent System Failures

CLK:時脈訊號 CLK: clock signal

P1:預設值 P1: Default value

S1:訊號 S1: signal

S610,S620,S630,S640,S650:操作 S610, S620, S630, S640, S650: Operation

SD1,SD2:偵測訊號 SD1, SD2: detection signal

SEL:選擇訊號 SEL: select signal

SR:重置訊號 SR: reset signal

SS:設定訊號 SS: setting signal

ST:觸發訊號 ST: trigger signal

SW:切換訊號 SW: switch signal

V3,VH1~VH4,VL1~VL4:電壓 V3,VH1~VH4,VL1~VL4: voltage

VIN:輸入電壓 VIN: input voltage

VREF1:第一組參考電壓 VREF1: The first set of reference voltages

VREF2:第二組參考電壓 VREF2: The second set of reference voltage

VREF3:第三組參考電壓 VREF3: The third set of reference voltage

VREF4:第四組參考電壓 VREF4: The fourth group of reference voltage

t1~t4:時間 t1~t4: time

〔圖1〕為根據本案一些實施例繪製的一種電壓偵測裝置的示意圖;〔圖2〕為根據本案一些實施例繪製圖1中的多個訊號的波形示意圖;〔圖3〕為根據本案一些實施例繪製圖1中的參考電壓閂鎖電路的示意圖;〔圖4〕為根據本案一些實施例中繪製圖1中的電壓偵測器的示意圖;〔圖5〕為根據本案一些實施例繪製圖1中的電壓偵測器的示意圖;以及〔圖6〕為根據本案一些實施例繪製的一種防止系統故障的方法的流程圖。 [Fig. 1] is a schematic diagram of a voltage detection device drawn according to some embodiments of this case; [Fig. 2] is a schematic diagram of the waveforms of multiple signals in Fig. 1 according to some embodiments of this case; [Fig. 3] is a schematic diagram of a voltage detection device according to some embodiments of this case. Embodiment Draw a schematic diagram of the reference voltage latch circuit in Figure 1; [Figure 4] is a schematic diagram of the voltage detector in Figure 1 according to some embodiments of the present case; [Fig. 5] is a diagram drawn according to some embodiments of the present case A schematic diagram of the voltage detector in 1; and [Fig. 6] is a flow chart of a method for preventing system failure according to some embodiments of this case.

本文所使用的所有詞彙具有其通常的意涵。上述之詞彙在普遍常用之字典中之定義,在本案的內容中包含任一於此討論的詞彙之使用例子僅為示例,不應限制到本案之範圍與意涵。同樣地,本案亦不僅以於此說明書所示出的各種實施例為限。 All words used in this article have their ordinary meanings. The definitions of the above words in commonly used dictionaries, and the use examples of any of the words discussed here in the content of this case are only examples and should not limit the scope and meaning of this case. Likewise, this case is not limited to the various embodiments shown in this specification.

關於本文中所使用之『耦接』或『連接』,均可指二或多個元件相互直接作實體或電性接觸,或是相互間接作實體或電性接觸,亦可指二或多個元件相互操作或動作。如本文所用,用語『電路』可為由至少一個電晶體與/或至少一個主被動元件按一定方式連接以處理訊號的裝置。 As used in this article, "coupling" or "connection" can refer to two or more components that are in direct physical or electrical contact with each other, or that are in indirect physical or electrical contact with each other. It can also refer to two or more components. Components interact or act with each other. As used herein, the term "circuit" may refer to a device consisting of at least one transistor and/or at least one active and passive component connected in a certain manner to process signals.

圖1為根據本案一些實施例繪製的一種電壓偵測裝置100的示意圖。於一些實施例中,電壓偵測裝置100可偵測輸入電壓VIN以防止電路系統在突然開關機等情況下出現故障。於一些實施例中,輸入電壓VIN可用來驅動一電路系統,例如,輸入電壓VIN可為,但不限於,數位電路系統的供應電壓、輸入輸出介面電路系統所使用的驅動電壓等等。 Figure 1 is a schematic diagram of a voltage detection device 100 drawn according to some embodiments of this case. In some embodiments, the voltage detection device 100 can detect the input voltage VIN to prevent the circuit system from malfunctioning in situations such as sudden power on and off. In some embodiments, the input voltage VIN can be used to drive a circuit system. For example, the input voltage VIN can be, but is not limited to, a supply voltage of a digital circuit system, a driving voltage used by an input-output interface circuit system, and so on.

電壓偵測裝置100包含參考電壓閂鎖電路110、電壓偵測器120、電壓偵測器130以及數位電路140。參考電壓閂鎖電路110可根據選擇訊號SEL將第一組參考電壓VREF1與第二組參考電壓VREF2中之一者輸出為第三組參考電壓VREF3,其中第一組參考電壓VREF1低於第二組參考電壓VREF2。例如,第一組參考電壓VREF1包含電壓VH1與電壓VL1,第二組參考電壓VREF2包含電壓VH2與電壓VL2。電壓VH1高於電壓VL1並低於電壓VH2,且電壓VL2低於電壓VH2並高於電壓VL1。例如,電壓VH2可設置為約1.58伏特,電壓VL2可設置為約1.44伏特,電壓VH1可設置為約1.34伏特,且電壓VL1可設置為約1.3伏特。上述的電壓數值僅用於示例,且本案並不以此為限。參考電壓閂鎖電路110可根據選擇訊號SEL將電壓VH1與電壓VL1分別輸出為第三組參考電壓VREF3中的電壓VH3與電壓VL3,或將電壓VH2與電壓VL2分別輸出為電壓VH3與電壓VL3。 The voltage detection device 100 includes a reference voltage latch circuit 110, a voltage detector 120, a voltage detector 130 and a digital circuit 140. The reference voltage latch circuit 110 can output one of the first set of reference voltage VREF1 and the second set of reference voltage VREF2 as a third set of reference voltage VREF3 according to the selection signal SEL, wherein the first set of reference voltage VREF1 is lower than the second set of reference voltage VREF3. Reference voltage VREF2. For example, the first set of reference voltages VREF1 includes voltages VH1 and voltages VL1, and the second set of reference voltages VREF2 includes voltages VH2 and voltages VL2. Voltage VH1 is higher than voltage VL1 and lower than voltage VH2, and voltage VL2 is lower than voltage VH2 and higher than voltage VL1. For example, voltage VH2 may be set to about 1.58 volts, voltage VL2 may be set to about 1.44 volts, voltage VH1 may be set to about 1.34 volts, and voltage VL1 may be set to about 1.3 volts. The voltage values mentioned above are only examples and are not limited to this case. The reference voltage latch circuit 110 may output the voltage VH1 and the voltage VL1 respectively as the voltage VH3 and the voltage VL3 in the third group of reference voltages VREF3 according to the selection signal SEL, or output the voltage VH2 and the voltage VL2 as the voltage VH3 and the voltage VL3 respectively.

參考電壓閂鎖電路110可根據時脈訊號CLK與輸入電壓VIN對應的預設值P1將選擇訊號SEL儲存(或鎖存)為切換訊號(例如為圖3的切換訊號SW),並根據切換訊號輸出第三組參考電壓VREF3。再者,參考電壓閂鎖電路110還可根據偵測訊號SD1選擇性地進行重置,或將第一組參考電壓VREF1與第二組參考電壓VREF2中之該者持續輸出為第三組參考電壓VREF3。例如,若偵測訊號SD1指示輸入電壓VIN不低於後述的第四組參考電壓VREF4(例如,若第四組參考電壓VREF4相同於第一組參考電壓VREF1,此處條件指的是輸入電壓VIN不低於第一組參考電壓VREF1的下限,即電壓VL1),參考電壓閂鎖電路110可將先前所選擇到的該組參考電壓(例如為第二組參考電壓VREF2)持續輸出為第三組參考電壓VREF3。或者,若偵測訊號SD1指示輸入電壓VIN低於後述的第四組參考電壓VREF4(例如,若該第四組參考電壓VREF4相同於第一組參 考電壓VREF1,此處條件指的是輸入電壓VIN低於電壓VL1),參考電壓閂鎖電路110可進行重置,以清除內部電路設定來重選一組參考電壓。關於參考電壓閂鎖電路110的詳細操作將於後參照圖2與/或圖3說明。 The reference voltage latch circuit 110 can store (or latch) the selection signal SEL as a switching signal (for example, the switching signal SW in FIG. 3) according to the default value P1 corresponding to the clock signal CLK and the input voltage VIN, and according to the switching signal Output the third set of reference voltage VREF3. Furthermore, the reference voltage latch circuit 110 can also selectively reset according to the detection signal SD1, or continuously output the one of the first set of reference voltage VREF1 and the second set of reference voltage VREF2 as the third set of reference voltage. VREF3. For example, if the detection signal SD1 indicates that the input voltage VIN is not lower than the fourth set of reference voltage VREF4 described later (for example, if the fourth set of reference voltage VREF4 is the same as the first set of reference voltage VREF1, the condition here refers to the input voltage VIN not lower than the lower limit of the first set of reference voltage VREF1, that is, voltage VL1), the reference voltage latch circuit 110 can continue to output the previously selected set of reference voltages (for example, the second set of reference voltage VREF2) as the third set. Reference voltage VREF3. Or, if the detection signal SD1 indicates that the input voltage VIN is lower than the fourth set of reference voltage VREF4 described later (for example, if the fourth set of reference voltage VREF4 is the same as the first set of reference voltage VREF4 Taking the voltage VREF1 (where the condition refers to the input voltage VIN being lower than the voltage VL1), the reference voltage latch circuit 110 can be reset to clear the internal circuit settings and reselect a set of reference voltages. Detailed operations of the reference voltage latch circuit 110 will be described later with reference to FIG. 2 and/or FIG. 3 .

電壓偵測器120可將輸入電壓VIN與一第四組參考電壓VREF4進行比較,以產生偵測訊號SD1。在一些實施例中,若系統中有部分電路是設置為操作在較低電壓,第四組參考電壓VREF4可設置為低於第一組參考電壓VREF1,例如,第四組參考電壓VREF4的上限低於電壓VH1,且第四組參考電壓VREF4的下限低於電壓VL1。在一些實施例中,第四組參考電壓VREF4的上限可設置為電壓VH1的0.6~0.9(例如可約為0.75)倍,且第四組參考電壓VREF4的下限可設置為電壓VL1的0.6~0.9(例如可約為0.75)倍。在一些實施例中,第四組參考電壓VREF4可設置為相同於第一組參考電壓VREF1。為方便理解,在後述的各實施例中,將以第四組參考電壓VREF4相同於第一組參考電壓VREF1為例說明,但本案並不以此為限。在第四組參考電壓VREF4相同於第一組參考電壓VREF1的條件下,電壓偵測器120可將輸入電壓VIN與第一組參考電壓VREF1(在其他實施例中,其可替換為低於第一組參考電壓VREF1的另一組電壓)進行比較以產生偵測訊號SD1。偵測訊號SD1可指示輸入電壓VIN是否高於電壓VH1或是低於電壓VL1。類似地,電壓偵測器130可根據第三組參考電壓VREF3與輸入電壓VIN產生偵測訊號SD2。例如,電壓偵測器130可將輸入電壓VIN與第三組參考電壓VREF3進行比較以產生偵測訊號SD2。偵測訊號SD2可指示輸入電壓VIN是否高於電壓VH2或是低於電壓VL2。若輸入電壓VIN高於電壓VH2,代表輸入電壓VIN已上升至一目標位準並趨於穩定。 The voltage detector 120 can compare the input voltage VIN with a fourth set of reference voltages VREF4 to generate the detection signal SD1. In some embodiments, if some circuits in the system are set to operate at a lower voltage, the fourth set of reference voltages VREF4 can be set lower than the first set of reference voltages VREF1. For example, the upper limit of the fourth set of reference voltages VREF4 is low. at voltage VH1, and the lower limit of the fourth set of reference voltage VREF4 is lower than voltage VL1. In some embodiments, the upper limit of the fourth group of reference voltage VREF4 can be set to 0.6~0.9 (eg, about 0.75) times of the voltage VH1, and the lower limit of the fourth group of reference voltage VREF4 can be set to 0.6~0.9 of the voltage VL1 (For example, it can be about 0.75) times. In some embodiments, the fourth set of reference voltages VREF4 may be set to be the same as the first set of reference voltages VREF1. For ease of understanding, in the following embodiments, the fourth set of reference voltage VREF4 is the same as the first set of reference voltage VREF1 as an example, but the present case is not limited to this. Under the condition that the fourth set of reference voltage VREF4 is the same as the first set of reference voltage VREF1, the voltage detector 120 can compare the input voltage VIN with the first set of reference voltage VREF1 (in other embodiments, it can be replaced by a voltage lower than the first set of reference voltage VREF1). A set of reference voltages VREF1 is compared with another set of voltages to generate a detection signal SD1. The detection signal SD1 can indicate whether the input voltage VIN is higher than the voltage VH1 or lower than the voltage VL1. Similarly, the voltage detector 130 can generate the detection signal SD2 according to the third set of reference voltage VREF3 and the input voltage VIN. For example, the voltage detector 130 may compare the input voltage VIN with the third set of reference voltages VREF3 to generate the detection signal SD2. The detection signal SD2 can indicate whether the input voltage VIN is higher than the voltage VH2 or lower than the voltage VL2. If the input voltage VIN is higher than the voltage VH2, it means that the input voltage VIN has risen to a target level and stabilized.

數位電路140根據偵測訊號SD2產生選擇訊號SEL。於一些實施例中,數位電路140更受控於系統中的一軟體(或是韌體),以在一預設條件下切換選擇訊號SEL。於一些實施例中,數位電路140係設置於包含有電壓偵測裝置100的電子裝置中,其例如為控制電路、中央處理器等。於一些實施例中,數位電路140可包括儲存控制值或參數的暫存器,以控制電壓偵測裝置100的操作。關於切換選擇訊號SEL的預設條件將於後參照圖2說明。 The digital circuit 140 generates the selection signal SEL according to the detection signal SD2. In some embodiments, the digital circuit 140 is further controlled by a software (or firmware) in the system to switch the selection signal SEL under a preset condition. In some embodiments, the digital circuit 140 is provided in an electronic device including the voltage detection device 100, such as a control circuit, a central processing unit, etc. In some embodiments, the digital circuit 140 may include a register that stores control values or parameters to control the operation of the voltage detection device 100 . The preset conditions for switching the selection signal SEL will be described later with reference to FIG. 2 .

圖2為根據本案一些實施例繪製圖1中的多個訊號的波形示意圖。在初始期間(例如系統剛啟動時),數位電路140輸出具有第一數值(例如為邏輯值0)的選擇訊號SEL(未示出),使得參考電壓閂鎖電路110將第一組參考電壓VREF1輸出為第三組參考電壓VREF3。於此條件下,電壓VH3的位準相同於電壓VH1,且電壓VL3的位準相同於電壓VL1。在時間t1,輸入電壓VIN開始高於電壓VH3,使得偵測訊號SD1與偵測訊號SD2皆由低位準(對應邏輯值0)切換至高位準(對應邏輯值1)。在時間t2,經系統中的軟體或韌體之控制,數位電路140輸出具有第二數值(例如為邏輯值1)的選擇訊號SEL,使得參考電壓閂鎖電路110根據此選擇訊號SEL切換為將第二組參考電壓VREF2輸出為第三組參考電壓VREF3。於此條件下,電壓VH3的位準將提升至電壓VH2,且電壓VL3的位準將提升至電壓VL2。換句話說,若偵測訊號SD2兩足一預設條件(例如,偵測訊號SD2在參考電壓閂鎖電路110將第一組參考電壓VREF1輸出為第三組參考電壓VREF3之後的一預定期間(例如為時間t1至時間t2之間的期間)內具有預設位準(例如為高位準)),系統中的軟體或韌體將控制數位電路140調整選擇訊號SEL,以使參考電壓閂鎖電路110切換為將第二組參考電壓VREF2輸出為第三組參考電壓VREF3。 FIG. 2 is a schematic diagram of waveforms of multiple signals in FIG. 1 according to some embodiments of the present invention. During the initial period (for example, when the system is first started), the digital circuit 140 outputs the selection signal SEL (not shown) with a first value (for example, a logic value of 0), so that the reference voltage latch circuit 110 sets the first set of reference voltages VREF1 The output is the third set of reference voltage VREF3. Under this condition, the level of voltage VH3 is the same as voltage VH1, and the level of voltage VL3 is the same as voltage VL1. At time t1, the input voltage VIN begins to be higher than the voltage VH3, causing both the detection signal SD1 and the detection signal SD2 to switch from a low level (corresponding to a logic value of 0) to a high level (corresponding to a logic value of 1). At time t2, under the control of the software or firmware in the system, the digital circuit 140 outputs the selection signal SEL with a second value (for example, a logic value 1), so that the reference voltage latch circuit 110 switches to SEL according to the selection signal SEL. The second set of reference voltage VREF2 is output as the third set of reference voltage VREF3. Under this condition, the level of voltage VH3 will increase to voltage VH2, and the level of voltage VL3 will increase to voltage VL2. In other words, if the detection signal SD2 meets a preset condition (for example, the detection signal SD2 is within a predetermined period after the reference voltage latch circuit 110 outputs the first set of reference voltages VREF1 to the third set of reference voltages VREF3 ( For example, there is a preset level (for example, a high level) during the period between time t1 and time t2). The software or firmware in the system will control the digital circuit 140 to adjust the selection signal SEL so that the reference voltage latch circuit 110 switches to output the second set of reference voltage VREF2 as the third set of reference voltage VREF3.

接著,在時間t3,因受到突然開關機等原因的影響,輸入電壓VIN低於電壓VL3(例如為低於電壓VL2但未低於電壓VL1)。於此條件下,偵測訊號SD2將切換為具有低位準,以通知電路系統進行重置以避免電路系統發生故障。同時,由於輸入電壓VIN未低於電壓VL1,偵測訊號SD1仍保持具有高位準。於此條件下,參考電壓閂鎖電路110可將第二組參考電壓VREF2持續輸出為第三組參考電壓VREF3。如此,可確保電路系統不會因為此電壓壓降而產生錯誤的操作或是故障。在時間t4,輸入電壓VIN再次高於電壓VH3,使得偵測訊號SD2切換為高位準。如此,電路系統可延續原有的操作。另一方面,若輸入電壓VIN在時間t3低於電壓VL3與電壓VL1,偵測訊號SD1與偵測訊號SD2皆會切換至低位準。於此條件下,代表輸入電壓VIN的位準已過低,參考電壓閂鎖電路110可根據偵測訊號SD1進行重置(例如為清除內部電路設定),以於下一次的操作中重新選擇一組參考電壓並據此輸出第三組參考電壓VREF3。 Then, at time t3, due to sudden power on and off, the input voltage VIN is lower than the voltage VL3 (for example, lower than the voltage VL2 but not lower than the voltage VL1). Under this condition, the detection signal SD2 will switch to a low level to notify the circuit system to reset to avoid circuit system failure. At the same time, since the input voltage VIN is not lower than the voltage VL1, the detection signal SD1 still maintains a high level. Under this condition, the reference voltage latch circuit 110 can continuously output the second set of reference voltage VREF2 as the third set of reference voltage VREF3. In this way, it can be ensured that the circuit system will not cause erroneous operation or failure due to this voltage drop. At time t4, the input voltage VIN is higher than the voltage VH3 again, causing the detection signal SD2 to switch to a high level. In this way, the circuit system can continue its original operation. On the other hand, if the input voltage VIN is lower than the voltage VL3 and the voltage VL1 at time t3, both the detection signal SD1 and the detection signal SD2 will switch to a low level. Under this condition, it means that the level of the input voltage VIN is too low, and the reference voltage latch circuit 110 can be reset according to the detection signal SD1 (for example, to clear the internal circuit settings) to reselect a voltage in the next operation. set of reference voltages and output a third set of reference voltages VREF3 accordingly.

在一些相關技術中,電子裝置中的電壓偵測機制僅使用一組參考電壓(例如為第二組參考電壓VREF2)來判斷輸入電壓是否有突然變低。然而,若輸入電壓的壓降不明顯(例如輸入電壓VIN低於電壓VH2但高於電壓VL2),該電壓偵測機制仍會誤判該輸入電壓仍具有正常位準而未有執行其他操作。然而,實際的電路系統卻可能因為該壓降而發生故障或產生錯誤訊號。相較於上述技術,在本案的一些實施例中,電壓偵測裝置100使用了兩組參考電壓,並在上電後的一段期間內切換為使用具有較高位準的參考電壓以判斷輸入電壓VIN是否出現上述的壓降。如此一來,可以更精確地判斷輸入電壓VIN是否出現壓降,以避免系統發生故障。 In some related technologies, the voltage detection mechanism in the electronic device only uses a set of reference voltages (for example, a second set of reference voltages VREF2) to determine whether the input voltage suddenly becomes low. However, if the voltage drop of the input voltage is not obvious (for example, the input voltage VIN is lower than the voltage VH2 but higher than the voltage VL2), the voltage detection mechanism still misjudges that the input voltage still has a normal level and does not perform other operations. However, actual circuit systems may malfunction or generate erroneous signals due to this voltage drop. Compared with the above technology, in some embodiments of the present case, the voltage detection device 100 uses two sets of reference voltages, and switches to use a reference voltage with a higher level to determine the input voltage VIN within a period of time after power-on. Does the above pressure drop occur? In this way, it can be more accurately determined whether there is a voltage drop in the input voltage VIN to avoid system failure.

圖3為根據本案一些實施例繪製圖1中的參考電壓閂鎖電路110的示意圖。參考電壓閂鎖電路110包含觸發器310、正反器320以及多工器330。觸發器310根據時脈訊號CLK與預設值P1產生觸發訊號ST。於一些實施例中,預設值P1可為輸入電壓VIN的目標位準。例如,若輸入電壓VIN在穩態時預設具有1.8伏特,預設值P1可為1.8伏特的電壓。觸發器310包含反及閘311以及反相器312。反及閘311根據時脈訊號CLK以及預設值P1產生訊號S1。反相器312根據訊號S1產生觸發訊號ST。 FIG. 3 is a schematic diagram of the reference voltage latch circuit 110 in FIG. 1 according to some embodiments of the present case. The reference voltage latch circuit 110 includes a flip-flop 310 , a flip-flop 320 and a multiplexer 330 . The flip-flop 310 generates the trigger signal ST according to the clock signal CLK and the preset value P1. In some embodiments, the preset value P1 may be the target level of the input voltage VIN. For example, if the input voltage VIN is preset to have a voltage of 1.8 volts in a steady state, the preset value P1 may be a voltage of 1.8 volts. The flip-flop 310 includes an NAND gate 311 and an inverter 312 . The NAND gate 311 generates the signal S1 according to the clock signal CLK and the preset value P1. The inverter 312 generates the trigger signal ST according to the signal S1.

正反器320根據觸發訊號ST將選擇訊號SEL輸出為切換訊號SW,並根據偵測訊號SD1選擇性地將選擇訊號SEL持續輸出為切換訊號SW,或是重置切換訊號SW。例如,正反器320可為具有重置輸入端(標示為R)的D型正反器,其中該重置輸入端接收偵測訊號SD1。當偵測訊號SD1具有高位準時,正反器320可根據觸發訊號ST依序將選擇訊號SEL輸出為切換訊號SW。當偵測訊號SD1具有低位準時,正反器320可重置切換訊號SW(例如,將切換訊號SW的訊號值重置為邏輯值0)。另一方面,如圖2所示,當輸入電壓VIN低於電壓VL2但未低於電壓VL1時,偵測訊號SD1仍具有高位準。如此,正反器320可根據觸發訊號ST將選擇訊號SEL持續輸出為切換訊號SW。換句話說,當輸入電壓VIN未過低(即未低於電壓VL1)時,正反器320可持續將選擇訊號SEL鎖存為切換訊號SW。直到輸入電壓VIN過低(即低於電壓VL1)時,偵測訊號SD1具有低位準,使得正反器320重置切換訊號SW的訊號值。 The flip-flop 320 outputs the selection signal SEL as the switching signal SW according to the trigger signal ST, and selectively continuously outputs the selection signal SEL as the switching signal SW according to the detection signal SD1, or resets the switching signal SW. For example, the flip-flop 320 can be a D-type flip-flop with a reset input terminal (labeled R), wherein the reset input terminal receives the detection signal SD1. When the detection signal SD1 has a high level, the flip-flop 320 can sequentially output the selection signal SEL as the switching signal SW according to the trigger signal ST. When the detection signal SD1 has a low level, the flip-flop 320 can reset the switching signal SW (for example, reset the signal value of the switching signal SW to a logic value 0). On the other hand, as shown in FIG. 2 , when the input voltage VIN is lower than the voltage VL2 but not lower than the voltage VL1 , the detection signal SD1 still has a high level. In this way, the flip-flop 320 can continuously output the selection signal SEL as the switching signal SW according to the trigger signal ST. In other words, when the input voltage VIN is not too low (that is, not lower than the voltage VL1), the flip-flop 320 can continue to latch the selection signal SEL as the switching signal SW. Until the input voltage VIN is too low (that is, lower than the voltage VL1), the detection signal SD1 has a low level, causing the flip-flop 320 to reset the signal value of the switching signal SW.

多工器330可根據切換訊號SW將第一組參考電壓VREF1或第二組參考電壓VREF2輸出為第三組參考電壓VREF3。例如,多工器電路330包含多個開關。該些開關中的一部分開關在切換訊號SW具有邏輯值0時導通以將電壓 VH1輸出為電壓VH3並將電壓VL1輸出為電壓VL3。該些開關中的另一部分開關在切換訊號SW具有邏輯值1時導通以將電壓VH2輸出為電壓VH3並將電壓VL2輸出為電壓VL3。 The multiplexer 330 may output the first set of reference voltages VREF1 or the second set of reference voltages VREF2 as the third set of reference voltages VREF3 according to the switching signal SW. For example, multiplexer circuit 330 includes multiple switches. Some of the switches are turned on when the switching signal SW has a logic value of 0 to switch the voltage VH1 is output as voltage VH3 and voltage VL1 is output as voltage VL3. Another part of the switches are turned on when the switching signal SW has a logic value of 1 to output the voltage VH2 as the voltage VH3 and the voltage VL2 as the voltage VL3.

圖4為根據本案一些實施例中繪製圖1中的電壓偵測器130的示意圖。於此例中,電壓偵測器130包含比較器410、比較器420以及閂鎖器430。比較器410可將輸入電壓VIN與電壓VH3比較以產生設定訊號SS。比較器420可將輸入電壓VIN與電壓VL3比較以產生重置訊號SR。閂鎖器430可根據設定訊號SS以及重置訊號SR產生偵測訊號SD2。例如,閂鎖器430可為S-R閂鎖器,其設定輸入端(標示為S)可接收設定訊號SS且重置輸入端(標示為R)可接收重置訊號SR。如此,當輸入電壓VIN高於電壓VH3時,閂鎖器430可輸出具有高位準的偵測訊號SD2。或者,當輸入電壓VIN低於電壓VL3時,閂鎖器430可輸出具有低位準的偵測訊號SD2。 FIG. 4 is a schematic diagram of the voltage detector 130 in FIG. 1 according to some embodiments of the present invention. In this example, the voltage detector 130 includes a comparator 410 , a comparator 420 and a latch 430 . The comparator 410 can compare the input voltage VIN and the voltage VH3 to generate the setting signal SS. The comparator 420 can compare the input voltage VIN and the voltage VL3 to generate the reset signal SR. The latch 430 can generate the detection signal SD2 according to the setting signal SS and the reset signal SR. For example, the latch 430 can be an S-R latch, the setting input terminal (labeled S) of which can receive the setting signal SS and the reset input terminal (labeled R) can receive the reset signal SR. In this way, when the input voltage VIN is higher than the voltage VH3, the latch 430 can output the detection signal SD2 with a high level. Alternatively, when the input voltage VIN is lower than the voltage VL3, the latch 430 may output the detection signal SD2 with a low level.

圖5為根據本案一些實施例繪製圖1中的電壓偵測器130的示意圖。於此例中,電壓偵測器130包含多工器510以及比較器520。多工器510根據偵測訊號SD2選擇性地將電壓VH3或是電壓VL3輸出為電壓V3。例如,多工器510包含第一開關與第二開關。當偵測訊號SD1具有低位準(例如為邏輯值0)時,第一開關導通以將電壓VH3輸出為電壓V3。或者,當偵測訊號SD1具有高位準(例如為邏輯值1)時,第二開關導通以將電壓VL3輸出為電壓V3。比較器520將輸入電壓VIN與電壓V3進行比較以產生偵測訊號SD2。如此一來,當輸入電壓VIN高於電壓VH3時,偵測訊號SD2可具有高位準。或者,當輸入電壓VIN低於電壓VL3時,偵測訊號SD2可具有低位準。 FIG. 5 is a schematic diagram of the voltage detector 130 in FIG. 1 according to some embodiments of the present invention. In this example, the voltage detector 130 includes a multiplexer 510 and a comparator 520 . The multiplexer 510 selectively outputs the voltage VH3 or the voltage VL3 as the voltage V3 according to the detection signal SD2. For example, the multiplexer 510 includes a first switch and a second switch. When the detection signal SD1 has a low level (for example, a logic value of 0), the first switch is turned on to output the voltage VH3 as the voltage V3. Or, when the detection signal SD1 has a high level (for example, a logic value of 1), the second switch is turned on to output the voltage VL3 as the voltage V3. The comparator 520 compares the input voltage VIN with the voltage V3 to generate the detection signal SD2. In this way, when the input voltage VIN is higher than the voltage VH3, the detection signal SD2 can have a high level. Alternatively, when the input voltage VIN is lower than the voltage VL3, the detection signal SD2 may have a low level.

在一些實施例中,電壓偵測器120的實施方式可參考圖4與圖5中的電壓偵測器130。例如,若欲實施電壓偵測器120,可將圖4與圖5中的電壓VH3替換為電壓VH1,並將電壓VL3換為電壓VL1(或是替換為低於第一組參考電壓VREF1的另一組電壓)。其它操作與設置方式相同於圖4與圖5的例子,故於此不再重複贅述。 In some embodiments, the implementation of the voltage detector 120 may refer to the voltage detector 130 in FIG. 4 and FIG. 5 . For example, if you want to implement the voltage detector 120, you can replace the voltage VH3 in Figures 4 and 5 with the voltage VH1, and replace the voltage VL3 with the voltage VL1 (or replace it with another voltage lower than the first set of reference voltages VREF1. a set of voltages). Other operations and settings are the same as the examples in FIG. 4 and FIG. 5 , so the details will not be repeated here.

圖6為根據本案一些實施例繪製的一種防止系統故障的方法600的流程圖。在操作S610,根據選擇訊號將第一組參考電壓與第二組參考電壓中之一者輸出為第三組參考電壓,其中第一組參考電壓低於第二組參考電壓。在操作S620,根據第一偵測訊號選擇性地進行重置或持續將第一組參考電壓與第二組參考電壓中之該者輸出為第三組參考電壓。在操作S630,比較第四組參考電壓與輸入電壓以產生第一偵測訊號,其中輸入電壓用以驅動電路系統,且該第四組參考電壓低於或相同於第一組參考電壓。在操作S640,比較第三組參考電壓與輸入電壓以產生第二偵測訊號。在操作S650,根據該第二偵測訊號產生選擇訊號。 Figure 6 is a flow chart of a method 600 for preventing system failure according to some embodiments of this case. In operation S610, one of the first set of reference voltages and the second set of reference voltages is output as a third set of reference voltages according to the selection signal, wherein the first set of reference voltages is lower than the second set of reference voltages. In operation S620, selectively reset or continuously output the first set of reference voltages and the second set of reference voltages as a third set of reference voltages according to the first detection signal. In operation S630, a fourth set of reference voltages is compared with an input voltage to generate a first detection signal, where the input voltage is used to drive the circuit system, and the fourth set of reference voltages is lower than or the same as the first set of reference voltages. In operation S640, the third set of reference voltages and the input voltage are compared to generate a second detection signal. In operation S650, a selection signal is generated according to the second detection signal.

上述多個操作之說明可參照前述各個實施例,故不再重複贅述。上述防止系統故障的方法600的多個操作僅為示例,並非限定需依照此示例中的順序執行。在不違背本案的各實施例的操作方式與範圍下,在防止系統故障的方法600下的各種操作當可適當地增加、替換、省略或以不同順序執行(例如可以是同時執行或是部分同時執行)。 The description of the above multiple operations can refer to the aforementioned embodiments, so the details will not be repeated. The multiple operations of the method 600 for preventing system failure are only examples, and are not limited to be performed in the order in this example. Without violating the operating mode and scope of each embodiment of the present case, various operations under the method 600 for preventing system failure can be appropriately added, replaced, omitted, or executed in a different order (for example, they can be executed simultaneously or partially simultaneously. implement).

綜上所述,本案一些實施例中的電壓偵測裝置以及防止系統故障的方法可利用多組參考電壓來提高偵測電壓壓降的準確性,並使用閂鎖器等 電路概念來鎖存當前所使用的參考電壓。如此,可確保電路系統可正確地因突然的壓降來進行重置,從而確保電路系統的操作不會出現故障。 In summary, the voltage detection device and the method to prevent system failure in some embodiments of this case can use multiple sets of reference voltages to improve the accuracy of detecting voltage drops, and use latches, etc. Circuit concept to latch the currently used reference voltage. This ensures that the circuit system can correctly reset due to a sudden voltage drop, thereby ensuring that the operation of the circuit system will not malfunction.

雖然本案之實施例如上所述,然而該些實施例並非用來限定本案,本技術領域具有通常知識者可依據本案之明示或隱含之內容對本案之技術特徵施以變化,凡此種種變化均可能屬於本案所尋求之專利保護範疇,換言之,本案之專利保護範圍須視本說明書之申請專利範圍所界定者為準。 Although the embodiments of this case are as described above, these embodiments are not intended to limit this case. Those with ordinary knowledge in the technical field can make changes to the technical features of this case based on the explicit or implicit contents of this case. All these changes All may fall within the scope of patent protection sought in this case. In other words, the scope of patent protection in this case must be determined by the scope of the patent application in this specification.

100:電壓偵測裝置 100:Voltage detection device

110:參考電壓閂鎖電路 110: Reference voltage latch circuit

120,130:電壓偵測器 120,130: Voltage detector

140:數位電路 140:Digital circuit

CLK:時脈訊號 CLK: clock signal

P1:預設值 P1: Default value

SD1,SD2:偵測訊號 SD1, SD2: detection signal

SEL:選擇訊號 SEL: select signal

VH1~VH4,VL1~VL4:電壓 VH1~VH4, VL1~VL4: voltage

VIN:輸入電壓 VIN: input voltage

VREF1:第一組參考電壓 VREF1: The first set of reference voltages

VREF2:第二組參考電壓 VREF2: The second set of reference voltage

VREF3:第三組參考電壓 VREF3: The third set of reference voltage

VREF4:第四組參考電壓 VREF4: The fourth group of reference voltage

Claims (10)

一種電壓偵測裝置,包含:一參考電壓閂鎖電路,根據一選擇訊號將一第一組參考電壓與一第二組參考電壓中之一者輸出為一第三組參考電壓,並根據一第一偵測訊號選擇性地進行重置以自該第一組參考電壓與該第二組參考電壓中重新輸出該第三組參考電壓,或將該第一組參考電壓與該第二組參考電壓中之該者持續輸出為該第三組參考電壓,其中該第一組參考電壓低於該第二組參考電壓;一第一電壓偵測器,根據一第四組參考電壓與一輸入電壓產生該第一偵測訊號,其中該第四組參考電壓低於或相同於該第一組參考電壓,且該輸入電壓用以驅動一電路系統;一第二電壓偵測器,根據該第三組參考電壓與該輸入電壓產生一第二偵測訊號;以及一數位電路,根據該第二偵測訊號產生該選擇訊號。 A voltage detection device includes: a reference voltage latch circuit, which outputs one of a first set of reference voltages and a second set of reference voltages as a third set of reference voltages according to a selection signal, and according to a first A detection signal is selectively reset to re-output the third set of reference voltages from the first set of reference voltages and the second set of reference voltages, or to re-output the first set of reference voltages and the second set of reference voltages. The one of them continues to output the third set of reference voltages, wherein the first set of reference voltages is lower than the second set of reference voltages; a first voltage detector generates a signal based on a fourth set of reference voltages and an input voltage. The first detection signal, wherein the fourth set of reference voltages is lower than or the same as the first set of reference voltages, and the input voltage is used to drive a circuit system; a second voltage detector, according to the third set of The reference voltage and the input voltage generate a second detection signal; and a digital circuit generates the selection signal according to the second detection signal. 如請求項1之電壓偵測裝置,其中若該第一偵測訊號指示該輸入電壓不低於該第四組參考電壓,該參考電壓閂鎖電路將該第一組參考電壓與該第二組參考電壓中之該者持續輸出為該第三組參考電壓。 The voltage detection device of claim 1, wherein if the first detection signal indicates that the input voltage is not lower than the fourth set of reference voltages, the reference voltage latch circuit separates the first set of reference voltages from the second set of reference voltages. The one of the reference voltages is continuously output as the third set of reference voltages. 如請求項1之電壓偵測裝置,其中若該第一偵測訊號指示該輸入電壓低於該第四組參考電壓,該參考電壓閂鎖電路進行重置。 The voltage detection device of claim 1, wherein if the first detection signal indicates that the input voltage is lower than the fourth set of reference voltages, the reference voltage latch circuit is reset. 如請求項1之電壓偵測裝置,其中若該第二偵測訊號在該參考電壓閂鎖電路將該第一組參考電壓輸出為該第三組參考電壓後的一預定期間內具有一預設位準,該參考電壓閂鎖電路根據該選擇訊號切換為將該第二組參考電壓輸出為該第三組參考電壓。 The voltage detection device of claim 1, wherein if the second detection signal has a preset value within a predetermined period after the reference voltage latch circuit outputs the first set of reference voltages to the third set of reference voltages, level, the reference voltage latch circuit switches to output the second set of reference voltages as the third set of reference voltages according to the selection signal. 如請求項1之電壓偵測裝置,其中該參考電壓閂鎖電路更根據一時脈訊號與該輸入電壓對應的一預設值將該選擇訊號儲存為一切換訊號,並根據該切換訊號輸出該第三組參考電壓。 The voltage detection device of claim 1, wherein the reference voltage latch circuit further stores the selection signal as a switching signal according to a clock signal and a preset value corresponding to the input voltage, and outputs the first switching signal according to the switching signal. Three sets of reference voltages. 如請求項1之電壓偵測裝置,其中該參考電壓閂鎖電路包含:一觸發器,根據一時脈訊號與該輸入電壓對應的一預設值產生一觸發訊號;一正反器,根據該觸發訊號將該選擇訊號輸出為一切換訊號,並根據該第一偵測訊號重置該切換訊號;以及一多工器,根據該切換訊號將該第一組參考電壓與該第二組參考電壓中之一者輸出為該第三組參考電壓。 The voltage detection device of claim 1, wherein the reference voltage latch circuit includes: a flip-flop that generates a trigger signal based on a clock signal and a preset value corresponding to the input voltage; a flip-flop that generates a trigger signal based on the trigger The signal outputs the selection signal as a switching signal and resets the switching signal according to the first detection signal; and a multiplexer switches the first set of reference voltages and the second set of reference voltages according to the switching signal. One of the outputs is the third set of reference voltages. 如請求項6之電壓偵測裝置,其中該觸發器包含:一反及閘,根據該時脈訊號與該預設值產生一第一訊號;以及一反相器,根據該第一訊號產生該觸發訊號。 For example, the voltage detection device of claim 6, wherein the flip-flop includes: an NAND gate that generates a first signal based on the clock signal and the preset value; and an inverter that generates the first signal based on the first signal. Trigger signal. 如請求項1之電壓偵測裝置,其中該第二電壓偵測器包含:一第一比較器,將該輸入電壓與該第三組參考電壓中的一第一電壓進行比較,以產生一設定訊號;一第二比較器,將該輸入電壓與該第三組參考電壓中的一第二電壓進行比較,以產生一重置訊號,其中該第一電壓高於該第二電壓;以及一閂鎖器,根據該設定訊號與該重置訊號產生該第二偵測訊號。 The voltage detection device of claim 1, wherein the second voltage detector includes: a first comparator that compares the input voltage with a first voltage in the third set of reference voltages to generate a setting signal; a second comparator that compares the input voltage with a second voltage in the third set of reference voltages to generate a reset signal, wherein the first voltage is higher than the second voltage; and a latch The lock generates the second detection signal according to the setting signal and the reset signal. 如請求項1之電壓偵測裝置,其中該第二電壓偵測器包含:一多工器,根據該第二偵測訊號選擇性地將該第三組參考電壓中的一第一電壓或一第二電壓輸出為一第三電壓,其中該第一電壓高於該第二電壓;以及一比較器,將該輸入電壓與該第三電壓比較以產生該第二偵測訊號。 The voltage detection device of claim 1, wherein the second voltage detector includes: a multiplexer that selectively converts a first voltage or a first voltage in the third set of reference voltages according to the second detection signal. The second voltage output is a third voltage, wherein the first voltage is higher than the second voltage; and a comparator compares the input voltage with the third voltage to generate the second detection signal. 一種防止系統故障的方法,包含:根據一選擇訊號將一第一組參考電壓與一第二組參考電壓中之一者輸出為一第三組參考電壓,其中該第一組參考電壓低於該第二組參考電壓;根據一第一偵測訊號選擇性地進行重置以自該第一組參考電壓與該第二組參考電壓中重新輸出該第三組參考電壓或持續將該第一組參考電壓與該第二組參考電壓中之該者輸出為該第三組參考電壓;比較一第四組參考電壓與一輸入電壓以產生該第一偵測訊號,其中該輸入電壓用以驅動一電路系統,其中該第四組參考電壓低於或相同於該第一組參考電壓;比較該第三組參考電壓與該輸入電壓以產生一第二偵測訊號;以及根據該第二偵測訊號產生該選擇訊號。 A method for preventing system failure, including: outputting one of a first set of reference voltages and a second set of reference voltages as a third set of reference voltages according to a selection signal, wherein the first set of reference voltages are lower than the a second set of reference voltages; selectively reset according to a first detection signal to re-output the third set of reference voltages from the first set of reference voltages and the second set of reference voltages or to continuously output the first set of reference voltages; The output of the reference voltage and the second set of reference voltages is the third set of reference voltages; a fourth set of reference voltages and an input voltage are compared to generate the first detection signal, wherein the input voltage is used to drive a a circuit system, wherein the fourth set of reference voltages is lower than or the same as the first set of reference voltages; comparing the third set of reference voltages with the input voltage to generate a second detection signal; and based on the second detection signal Generate the selection signal.
TW111140078A 2022-10-21 2022-10-21 Voltage detector device and method for preventing system failure TWI828382B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW111140078A TWI828382B (en) 2022-10-21 2022-10-21 Voltage detector device and method for preventing system failure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW111140078A TWI828382B (en) 2022-10-21 2022-10-21 Voltage detector device and method for preventing system failure

Publications (2)

Publication Number Publication Date
TWI828382B true TWI828382B (en) 2024-01-01
TW202417860A TW202417860A (en) 2024-05-01

Family

ID=90458895

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111140078A TWI828382B (en) 2022-10-21 2022-10-21 Voltage detector device and method for preventing system failure

Country Status (1)

Country Link
TW (1) TWI828382B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120025805A1 (en) * 2010-07-30 2012-02-02 Renesas Electronics Corporation Voltage detection circuit and method for controlling the same
TW202115719A (en) * 2019-10-02 2021-04-16 慧榮科技股份有限公司 Method and apparatus for performing automatic power control in a memory device with aid of associated detection during initialization phase
US20210358558A1 (en) * 2020-05-13 2021-11-18 SK Hynix Inc. Memory device and method of operating the memory device
TW202232478A (en) * 2021-02-12 2022-08-16 台灣積體電路製造股份有限公司 Memory circuit and method of operating same
TWI776765B (en) * 2022-01-04 2022-09-01 華邦電子股份有限公司 Power-on read circuit

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120025805A1 (en) * 2010-07-30 2012-02-02 Renesas Electronics Corporation Voltage detection circuit and method for controlling the same
TW202115719A (en) * 2019-10-02 2021-04-16 慧榮科技股份有限公司 Method and apparatus for performing automatic power control in a memory device with aid of associated detection during initialization phase
US20210358558A1 (en) * 2020-05-13 2021-11-18 SK Hynix Inc. Memory device and method of operating the memory device
TW202232478A (en) * 2021-02-12 2022-08-16 台灣積體電路製造股份有限公司 Memory circuit and method of operating same
TWI776765B (en) * 2022-01-04 2022-09-01 華邦電子股份有限公司 Power-on read circuit

Similar Documents

Publication Publication Date Title
KR100892210B1 (en) Mode transition control method and circuit for a charge pump
US20140118872A1 (en) Protection circuit and gate driving circuit for semiconductor switching device
US9411350B1 (en) Voltage conversion apparatus and power-on reset circuit and control method thereof
TWI630591B (en) Displaying device and protecting circuit thereof
TW201531030A (en) System and method for using an integrated circuit pin as both a current limiting input and an open-drain output
JP4559475B2 (en) Ternary decoder circuit and method
JP2007133403A (en) Driving device for discharge lamp
TWI828382B (en) Voltage detector device and method for preventing system failure
TWI524672B (en) Voltage level translator and process for keeping a voltage level translator
US9588859B2 (en) Detecting circuit and related circuit detecting method
TWI527374B (en) Level shifter circuit and method for shifting voltages thereof
TWI505075B (en) Power-good signal generator and controller with power sequencingfree
KR100907199B1 (en) Interface circuit
US20100109720A1 (en) Semiconductor integrated circuit and control method of the same
TW202417860A (en) Voltage detector device and method for preventing system failure
CN114902511A (en) Power control device, display device, and power control method
JP4103145B2 (en) Input module
CN111164893A (en) Drive circuit, drive method, and semiconductor system
CN115241839A (en) Overcurrent protection circuit, overcurrent protection method and display device
US11228313B2 (en) Signal transmission circuit
US20240142498A1 (en) Voltage detection device and method for preventing system failure
US10340896B1 (en) Electronic system and signal switching circuit
TWI841050B (en) Voltage detector device and voltage protection method
JP2013190256A (en) Semiconductor integrated circuit and test mode setting method for the same
US12009834B2 (en) Control circuit and method for calibrating signal converter, and signal conversion system using the same