TWI828382B - Voltage detector device and method for preventing system failure - Google Patents
Voltage detector device and method for preventing system failure Download PDFInfo
- 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
Links
- 238000000034 method Methods 0.000 title claims description 12
- 238000001514 detection method Methods 0.000 claims abstract description 96
- 238000010586 diagram Methods 0.000 description 12
- 238000005516 engineering process Methods 0.000 description 4
- 230000007257 malfunction Effects 0.000 description 4
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
Images
Landscapes
- Measurement Of Current Or Voltage (AREA)
Abstract
Description
本案是關於電壓偵測裝置,尤其是可防止電子電路因突然開關機出現故障之電壓偵測裝置與其防止系統故障的方法。 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
電壓偵測裝置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
參考電壓閂鎖電路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
電壓偵測器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
數位電路140根據偵測訊號SD2產生選擇訊號SEL。於一些實施例中,數位電路140更受控於系統中的一軟體(或是韌體),以在一預設條件下切換選擇訊號SEL。於一些實施例中,數位電路140係設置於包含有電壓偵測裝置100的電子裝置中,其例如為控制電路、中央處理器等。於一些實施例中,數位電路140可包括儲存控制值或參數的暫存器,以控制電壓偵測裝置100的操作。關於切換選擇訊號SEL的預設條件將於後參照圖2說明。
The
圖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
接著,在時間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
在一些相關技術中,電子裝置中的電壓偵測機制僅使用一組參考電壓(例如為第二組參考電壓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
圖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
正反器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-
多工器330可根據切換訊號SW將第一組參考電壓VREF1或第二組參考電壓VREF2輸出為第三組參考電壓VREF3。例如,多工器電路330包含多個開關。該些開關中的一部分開關在切換訊號SW具有邏輯值0時導通以將電壓
VH1輸出為電壓VH3並將電壓VL1輸出為電壓VL3。該些開關中的另一部分開關在切換訊號SW具有邏輯值1時導通以將電壓VH2輸出為電壓VH3並將電壓VL2輸出為電壓VL3。
The
圖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
圖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
在一些實施例中,電壓偵測器120的實施方式可參考圖4與圖5中的電壓偵測器130。例如,若欲實施電壓偵測器120,可將圖4與圖5中的電壓VH3替換為電壓VH1,並將電壓VL3換為電壓VL1(或是替換為低於第一組參考電壓VREF1的另一組電壓)。其它操作與設置方式相同於圖4與圖5的例子,故於此不再重複贅述。
In some embodiments, the implementation of the
圖6為根據本案一些實施例繪製的一種防止系統故障的方法600的流程圖。在操作S610,根據選擇訊號將第一組參考電壓與第二組參考電壓中之一者輸出為第三組參考電壓,其中第一組參考電壓低於第二組參考電壓。在操作S620,根據第一偵測訊號選擇性地進行重置或持續將第一組參考電壓與第二組參考電壓中之該者輸出為第三組參考電壓。在操作S630,比較第四組參考電壓與輸入電壓以產生第一偵測訊號,其中輸入電壓用以驅動電路系統,且該第四組參考電壓低於或相同於第一組參考電壓。在操作S640,比較第三組參考電壓與輸入電壓以產生第二偵測訊號。在操作S650,根據該第二偵測訊號產生選擇訊號。
Figure 6 is a flow chart of a
上述多個操作之說明可參照前述各個實施例,故不再重複贅述。上述防止系統故障的方法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
綜上所述,本案一些實施例中的電壓偵測裝置以及防止系統故障的方法可利用多組參考電壓來提高偵測電壓壓降的準確性,並使用閂鎖器等 電路概念來鎖存當前所使用的參考電壓。如此,可確保電路系統可正確地因突然的壓降來進行重置,從而確保電路系統的操作不會出現故障。 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)
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)
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 |
-
2022
- 2022-10-21 TW TW111140078A patent/TWI828382B/en active
Patent Citations (5)
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 |