KR20040102736A - Reset signal generator can discriminate power fail reset and power on reset - Google Patents

Reset signal generator can discriminate power fail reset and power on reset Download PDF

Info

Publication number
KR20040102736A
KR20040102736A KR1020030034326A KR20030034326A KR20040102736A KR 20040102736 A KR20040102736 A KR 20040102736A KR 1020030034326 A KR1020030034326 A KR 1020030034326A KR 20030034326 A KR20030034326 A KR 20030034326A KR 20040102736 A KR20040102736 A KR 20040102736A
Authority
KR
South Korea
Prior art keywords
reset
power
signal
output
flag
Prior art date
Application number
KR1020030034326A
Other languages
Korean (ko)
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 KR1020030034326A priority Critical patent/KR20040102736A/en
Publication of KR20040102736A publication Critical patent/KR20040102736A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/24Resetting means

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Electronic Switches (AREA)

Abstract

PURPOSE: A reset signal generator equipped with a power reset flag generating circuit discriminating power-on reset and power-fail reset is provided to offer an optimal initialization program fit to respective reset features on an interrupt service routine by discriminating the power-on reset and the power-fail reset, and increase performance of a processor and system efficiency by preventing system overload. CONSTITUTION: A low voltage detector(25) outputs the corresponding signal if power voltage is increased over a prescription voltage. A pulse generator(31) generates a pulse having a predetermined width depending on the output of the low voltage detector. An AND gate(32) inverts/receives a power-on signal activated if the power voltage is supplied to the system or receiving the output of the pulse generator. A flag signal generator(33) generates a flag signal discriminating the power-on reset and the power-fail reset by receiving an output signal of the AND gate and the pulse generator.

Description

파워온 리셋과 파워페일 리셋을 구별할 수 있는 리셋신호 발생기{RESET SIGNAL GENERATOR CAN DISCRIMINATE POWER FAIL RESET AND POWER ON RESET}RESET SIGNAL GENERATOR CAN DISCRIMINATE POWER FAIL RESET AND POWER ON RESET}

본 발명은 반도체 소자의 리셋 신호발생기에 관한 것으로 특히, 파워-온 리셋과 파워-페일(fail) 리셋을 구분하여 처리할 수 있도록, 파워 리셋플래그 발생회로를 구비한 리셋신호 발생기에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a reset signal generator of a semiconductor device, and more particularly, to a reset signal generator having a power reset flag generating circuit so as to distinguish and process a power-on reset and a power-fail reset.

통상적으로 모든 시스템에서는 파워 인터럽션(interruption) 회로를 기본적으로 내장하고 있다. 특히, 정교한 마이크로(micro) 콘트롤러(controller) 시스템에서는 파워 온 검출회로 및 저 전압 검출회로를 가지고 있는데, 이는 파워 온 리셋 신호 또는 파워 인터럽션 리셋 신호를 만드기 위한 것이다.Typically, every system has a built-in power interruption circuit. In particular, sophisticated micro-controller systems have a power on detection circuit and a low voltage detection circuit to produce a power on reset signal or a power interruption reset signal.

종래에는 파워온 리셋과 파워 페일 리셋을 구분하지 않고, 모두 동일한 리셋 신호를 사용하였는데, 이러한 종래기술을 도1을 참조하여 설명한다.Conventionally, the same reset signal was used without distinguishing between the power-on reset and the power fail reset. This conventional technology will be described with reference to FIG.

종래기술에 따른 리셋신호 발생기는, 외부에서 인가되는 리셋신호를 입력받는 슈미트 트리거(11)와, 상기 슈미트 트리거의 출력신호에 포함된 잡음을 제거하는 잡음 제거기(12)와, 시스템이 무한 루프에 빠졌거나 또는 null 상태에 빠진 경우에 이로부터 벗어나기 위한 신호를 출력하는 와치독 타이머(watch dog timer : WDT)(14)와, 전원전압이 일정전압 이상으로 상승하는 경우에 이에 상응하는 신호를출력하는 저전압 검출기(Low Voltage Detector : LVD)(15)와, 상기 와치독 타이머(14)의 출력신호와 상기 저전압 검출기(15)의 출력신호를 입력받는 제 1 OR 게이트(16)와, 상기 제 1 OR 게이트(16)의 출력신호와 상기 잡음제거기(12)의 출력신호를 입력받는 제 2 OR 게이트(13)를 포함하여 이루어지며, 제 2 OR 게이트(13)의 출력은 CPU 또는 주변회로(17)로 입력되어 시스템을 리셋시키는데 사용된다.The reset signal generator according to the related art includes a Schmitt trigger (11) receiving an externally applied reset signal, a noise canceller (12) for removing noise included in the output signal of the Schmitt trigger, and a system in an infinite loop. A watch dog timer (WDT) 14 for outputting a signal for escape from a missing or null state, and a corresponding signal for a power supply voltage rising above a predetermined voltage; A low voltage detector (LVD) 15, a first OR gate 16 that receives an output signal of the watchdog timer 14 and an output signal of the low voltage detector 15, and the first OR And a second OR gate 13 receiving the output signal of the gate 16 and the output signal of the noise canceller 12, and the output of the second OR gate 13 is a CPU or a peripheral circuit 17. To reset the system. To be used.

다음으로, 이와같이 구성된 종래기술에 따른 리셋신호 발생기의 동작을 설명한다. 먼저, 슈미트 트리거(11)로 입력되는 리셋신호는 외부에서 인가되는 리셋신호로써 손쉬운 예를 들자면, 컴퓨터 시스템의 리셋 버튼에 해당한다.Next, the operation of the reset signal generator according to the prior art thus constructed will be described. First, the reset signal input to the Schmitt trigger 11 corresponds to a reset button of a computer system.

이와같은 외부에서 인가된 리셋 신호는 슈미트 트리거(11)로 입력되어 정형화된 파형으로 출력되며, 슈미트 트리거의 출력은 잡음제거기(11)를 통해 신호에 포함된 잡음이 제거되어 제 2 OR 게이트(13)로 출력된다.The externally applied reset signal is input to the Schmitt trigger 11 and output as a shaped waveform, and the output of the Schmitt trigger removes noise included in the signal through the noise canceller 11 to remove the second OR gate 13. Will be printed).

와치독 타이머(14)는 시스템이 무한 루프에 빠졌거나 또는 null 상태에 빠진 경우에는 시스템을 리셋시키기 위해, 'H' 신호를 제 1 OR 게이트(16)로 출력한다.The watchdog timer 14 outputs an 'H' signal to the first OR gate 16 to reset the system when the system is in an infinite loop or null.

저전압 검출기(15)는 시스템에 파워가 온(on) 되는 경우나, 또는 시스템 동작중에 전원전압이 불안정한 파워 페일(fail)시에 'H' 신호를 제 1 OR 게이트(16)로 출력한다.The low voltage detector 15 outputs an 'H' signal to the first OR gate 16 when power is turned on in the system or when a power failure occurs when the power supply voltage is unstable during system operation.

제 1 OR 게이트(16)는 와치독 타이머(14)의 출력신호와 저전압 검출기(15)의 출력신호를 입력으로 하며, 제 1 OR 게이트(16)의 출력신호는 제 2 OR 게이트(13)로 입력된다. 또한 전술한 바와같이, 제 2 OR 게이트(13)는 잡음 제거기(13)의 출력을 입력받는다.The first OR gate 16 inputs the output signal of the watchdog timer 14 and the output signal of the low voltage detector 15, and the output signal of the first OR gate 16 to the second OR gate 13. Is entered. Also as described above, the second OR gate 13 receives the output of the noise canceller 13.

결과적으로, 종래기술에 따른 리셋신호 발생기에서는 외부인가 리셋 신호, 와치독 타이머의 출력에 따른 리셋신호 또는 저전압 검출기의 출력에 따른 리셋 신호중 어느 하나라도 활성화되면, 제 2 OR 게이트(13)를 통해 시스템을 리셋시키게 된다.As a result, in the reset signal generator according to the related art, if any one of an externally applied reset signal, a reset signal according to the output of the watchdog timer, or a reset signal according to the output of the low voltage detector is activated, the system is controlled through the second OR gate 13. Will be reset.

즉, 종래기술에서는 파워 온 되는 경우와 동작 중 파워 페일시에도 같은 리셋 신호를 발생시켜 시스템을 리셋 시키는 스킴(scheme)이 전부였다.That is, in the related art, the scheme for generating the same reset signal and resetting the system even when the power is turned on and during the power failure during operation is all.

따라서, 파워 온 시킨 후 시스템 동작 중에 전원이 불안정하여 전원이 흔들리는 파워 페일시에도, 파워 온 시 적용된 리셋 신호와 동일한 리셋신호가 발생하여 시스템이 처음부터 초기화하여 다시 시작하는 결점이 있었다.Therefore, even after a power failure in which the power is unstable due to unstable power during system operation after power-on, the same reset signal is generated as the reset signal applied at power on, and the system initializes and restarts from the beginning.

이를 좀더 상세히 설명하면 다음과 같다. CPU(Central Processing Unit), MCU(Micro controller Unit) 등의 프로세서에서는 파워와 관련된 리셋 신호를 파워-온 리셋신호와 파워 페일 리셋신호를 구분하여, 시스템 초기화 시에 각기 다른 인터럽트 서비스 루틴(routine)으로 처리하면, 프로세서의 성능 및 시스템의 효율성을 높일 수 있으나, 이는 종래기술에서 불가능하였다.This will be described in more detail as follows. In processors such as a central processing unit (CPU) and a micro controller unit (MCU), power-related reset signals are divided into power-on reset signals and power fail reset signals, and are divided into different interrupt service routines at system initialization. Processing may increase processor performance and system efficiency, but this has not been possible in the prior art.

특히, 컴퓨터 바이오스(bios)와 같이 파워온 리셋동작에서 메모리 테스트, 하드 디스크 테스트 및 키보드와 마우스 등의 주변기기에 대한 테스트가 수행되는데, 파워 페일(fail) 시에도 이러한 파워 온 리셋 동작과 동일한 서비스 루틴을 수행하게 되면, 시스템의 과부하가 발생하는 문제가 있었다.In particular, a memory test, a hard disk test, and a peripheral device such as a keyboard and a mouse are performed in a power-on reset operation, such as a computer bios, and the same service routine as the power-on reset operation is performed during a power failure. If you do, there was a problem that the system is overloaded.

따라서, 파워 온 리셋과 파워 페일 리셋을 구분하여 사용하고, 파워 페일 시에는, 파워 온 리셋시 테스트하던 항목중 최소한의 항목만을 테스트 하도록 시스템을 설정하면, 전체적인 시스템 과부하를 줄여 성능을 향상시킬 수 있다.Therefore, if the power on reset and the power fail reset are used separately, and the system is configured to test only the minimum items tested during the power on reset, the overall system overload can be reduced to improve performance. .

이와같은 파워온 리셋을 콜드부트(cold boot)라고 하면, 파워 페일 리셋은 웜부트(warm boot)라고도 할 수 있다.When such a power-on reset is called a cold boot, the power fail reset may also be called a warm boot.

본 발명은 상기한 종래의 문제점을 해결하기 위한 것으로, 파워-온 리셋과 파워-페일 리셋을 구분하여 처리할 수 있도록, 파워 리셋플래그 발생회로를 구비한 리셋신호 발생기를 제공함을 그 목적으로 한다.SUMMARY OF THE INVENTION The present invention has been made to solve the above-described problems, and an object thereof is to provide a reset signal generator having a power reset flag generating circuit so as to distinguish and process a power-on reset and a power-fail reset.

도1은 종래기술에 따른 리셋신호 발생기의 구성을 도시한 회로도,1 is a circuit diagram showing the configuration of a reset signal generator according to the prior art;

도2는 본 발명의 일실시예에 따라 파워 리셋플래그 발생회로를 구비한 리셋신호 발생기의 구성을 도시한 회로도,2 is a circuit diagram showing the configuration of a reset signal generator having a power reset flag generation circuit according to an embodiment of the present invention;

도3은 본 발명의 일실시예에 따른 파워 리셋플래그 발생회로의 상세 구성을 도시한 회로도,3 is a circuit diagram showing a detailed configuration of a power reset flag generating circuit according to an embodiment of the present invention;

도4는 본 발명의 일실시예에 따른 파워 리셋플래그 발생회로에서 각각의 신호파형을 도시한 파형도,4 is a waveform diagram showing each signal waveform in the power reset flag generating circuit according to an embodiment of the present invention;

도5는 본 발명의 일실시예에 따른 플래그신호 발생기를 도시한 도면.5 illustrates a flag signal generator according to an embodiment of the present invention.

*도면의 주요부분에 대한 부호의 설명** Description of the symbols for the main parts of the drawings *

21 : 슈미트 트리거 22 : 잡음 제거기21: Schmitt trigger 22: Noise canceller

23 : 제 3 OR 게이트 24 : 와치독 타이머23: third OR gate 24: watchdog timer

25 : 저전압 검출기 26 : 파워 리셋플래그 발생회로25 low voltage detector 26 power reset flag generating circuit

27 : 제 4 OR 게이트 28 : 코어 및 주변회로27: fourth OR gate 28: core and peripheral circuit

31 : 펄스발생기 32 : 앤드 게이트31: pulse generator 32: end gate

33 : 플래그신호 발생기33: flag signal generator

상기한 목적을 달성하기 위한 본 발명은, 시스템을 리셋시키는 신호를 생성하는 리셋신호 발생기에 있어서, 저전압 검출기의 출력을 입력받아 파워 온 리셋과 파워 페일 리셋을 구분하여 각각의 리셋에 상응하는 신호를 출력하는 파워 리셋플래그 발생회로를 포함하여 이루어지는 리셋신호 발생기를 포함하여 이루어진다.The present invention for achieving the above object, in the reset signal generator for generating a signal for resetting the system, receiving the output of the low voltage detector to distinguish the power-on reset and the power fail reset signal corresponding to each reset And a reset signal generator including an output power reset flag generating circuit.

본 발명은 시스템의 파워 관련 리셋신호 발생체계를 변경하여, 파워 온 시 발생하는 파워 온 리셋 신호와 파워 페일시 발생하는 파워 페일 리셋 신호를 구분하기 위해, 파워 리셋플래그 발생회로를 추가하여 구비한 리셋신호 발생기에 관한 것이다.The present invention provides a reset by adding a power reset flag generation circuit in order to change a system related to a power-related reset signal generation system to distinguish between a power-on reset signal generated at power-on and a power fail reset signal generated at power failure. It relates to a signal generator.

이하, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명의기술적 사상을 용이하게 실시할 수 있을 정도로 상세히 설명하기 위하여, 본 발명의 가장 바람직한 실시예를 첨부된 도면을 참조하여 설명한다.Hereinafter, the most preferred embodiments of the present invention will be described with reference to the accompanying drawings so that those skilled in the art can easily implement the technical idea of the present invention.

도2 내지 도3은 본 발명의 일실시예에 따른 리셋신호 발생기를 도시한 도면으로 먼저 도2를 참조하며 설명한다.2 to 3 illustrate a reset signal generator according to an embodiment of the present invention. First, referring to FIG.

본 발명의 일실시예에 따른 리셋신호 발생기의 전체적인 구성은 도1에 도시된 종래기술에 따른 리셋신호 발생기와 유사하나, 저전압 검출기(25)의 출력단에 파워 리셋플래그 발생회로(26)를 추가하여 구비하고 있는 것이 종래기술과 다른 점이다.The overall configuration of the reset signal generator according to an embodiment of the present invention is similar to the reset signal generator according to the related art shown in FIG. 1, but by adding a power reset flag generation circuit 26 to the output terminal of the low voltage detector 25. This is different from the prior art.

이를 참조하면, 본 발명의 일 실시예에 따른 리셋신호 발생기는, 외부에서 인가되는 리셋신호를 입력받는 슈미트 트리거(21)와, 상기 슈미트 트리거의 출력신호에 포함된 잡음을 제거하는 잡음 제거기(22)와, 시스템이 무한 루프에 빠졌거나 또는 null 상태에 빠진 경우에 이로부터 벗어나기 위한 신호를 출력하는 와치독 타이머(WDT)(24)와, 전원전압이 일정전압 이상으로 상승하는 경우에 이에 상응하는 신호를 출력하는 저전압 검출기(LVD)(25)와, 상기 저전압 검출기의 출력신호를 이용하여 리셋신호와 플래그신호를 각각 출력하는 파워 리셋플래그 발생회로(26)와, 상기 와치독 타이머(24)의 출력신호와 상기 파워 리셋플래그 발생회로의 출력신호 중 리셋신호를 입력받는 제 3 OR 게이트(27)와, 상기 제 3 OR 게이트(27)의 출력신호와 상기 잡음제거기(22)의 출력신호를 입력받는 제 4 OR 게이트(23)를 포함하여 이루어진다.Referring to this, the reset signal generator according to an embodiment of the present invention, the Schmitt trigger 21 for receiving a reset signal applied from the outside, and the noise canceller 22 for removing the noise included in the output signal of the Schmitt trigger ), A watchdog timer (WDT) 24 which outputs a signal for exiting the system when the system is in an infinite loop or in a null state, and correspondingly when the power supply voltage rises above a certain voltage. A low voltage detector (LVD) 25 for outputting a signal, a power reset flag generation circuit 26 for outputting a reset signal and a flag signal using the output signal of the low voltage detector, and the watchdog timer 24, respectively. An output signal of the third OR gate 27 receiving the reset signal, an output signal of the third OR gate 27, and an output signal of the noise canceler 22, from among an output signal and an output signal of the power reset flag generation circuit; And a fourth OR gate 23 receiving a call.

여기서, 제 4 OR 게이트(23)의 출력신호와, 파워 리셋플래그 발생회로의 출력신호 중 플래그신호는 CPU 및 주변회로(28)로 입력되어 시스템을 리셋시키는데 사용된다.Here, the flag signal of the output signal of the fourth OR gate 23 and the output signal of the power reset flag generating circuit is input to the CPU and the peripheral circuit 28 to be used to reset the system.

즉, 본 발명의 일실시예에서 추가된 파워 리셋플래그 발생회로(26)는, 파워온 시에는 종래와 동일한 신호를 제 3 OR 게이트(27)로 출력하며, 파워 페일 시에는 플래그신호를 코어 및 주변회로(28)로 출력한다.That is, the power reset flag generation circuit 26 added in one embodiment of the present invention outputs the same signal to the third OR gate 27 at the time of power-on, and outputs a flag signal at the time of power failure. Output to the peripheral circuit (28).

이와같은 플래그신호를 이용하면, 파워 페일 시에는 파워 온 시에 적용되는 서비스 루틴과는 다른 인터럽트 서비스 루틴으로 점프하여 시스템을 리셋시킬 수 있다.By using such a flag signal, during power failure, the system can be reset by jumping to an interrupt service routine different from the service routine applied at power on.

도3은 도2에 도시된 파워 리셋플래그 발생회로(26)의 상세구성을 저전압 검출기(25)와 함께 도시한 도면으로, 이를 참조하여 파워 리셋플래그 발생회로를 설명한다.FIG. 3 is a diagram showing the detailed configuration of the power reset flag generating circuit 26 shown in FIG. 2 together with the low voltage detector 25. The power reset flag generating circuit will be described with reference to the drawing.

파워 리셋플래그 발생회로는 저전압 검출기(25)의 출력을 입력받아 이에 상응하여 일정폭을 갖는 펄스신호인 PORSet1 신호를 출력하는 펄스발생기(31)와, 반전된 PORON 신호와 상기 펄스발생기(31)의 출력인 PORSet1 신호를 입력받아 PORSet1' 신호를 출력하는 앤드게이트(32)와, 상기 앤드게이트의 출력인 PORSet1' 신호와 상기 PORSet1 신호를 입력받아 플래그신호를 생성하여 이를 CPU 및 주변회로로 출력하는 플래그신호 발생기(33)를 포함하여 이루어져 있다.The power reset flag generation circuit receives the output of the low voltage detector 25 and outputs a PORSet1 signal, which is a pulse signal having a predetermined width, corresponding to the output of the low voltage detector 25, the inverted PORON signal and the pulse generator 31. An AND gate 32 that receives the output PORSet1 signal and outputs a PORSet1 'signal, and a flag that receives the PORSet1' signal and the PORSet1 signal, which are outputs of the AND gate, generates a flag signal and outputs the flag signal to the CPU and the peripheral circuit. And a signal generator 33.

여기서, 펄스발생기(31)의 출력신호인 PORSet1 신호는 앤드게이트(32) 및 플래그신호 발생기(33)로 입력될 뿐만 아니라, 도2에 도시된 제 3 OR 게이트(27)로도 입력된다.Here, the PORSet1 signal, which is an output signal of the pulse generator 31, is input not only to the AND gate 32 and the flag signal generator 33, but also to the third OR gate 27 shown in FIG.

그리고, PORON 신호는 시스템에 파워가 공급되면 'H'로 활성화되는 신호로써, 이와같은 PORON 신호가 반전되어 앤드게이트(32)로 입력된다. 이하 도4를 참조하여 후술한다.The PORON signal is a signal activated by 'H' when power is supplied to the system. The PORON signal is inverted and input to the AND gate 32. Hereinafter, with reference to FIG. 4.

도4는 도3에 도시된 파워 리셋플래그 발생회로에서 사용된 각종 신호들의 파형을 도시한 신호파형도로써, 이를 참조하여 파워 리셋플래그 발생회로의 동작을 설명한다.FIG. 4 is a signal waveform diagram showing waveforms of various signals used in the power reset flag generating circuit shown in FIG. 3, and the operation of the power reset flag generating circuit will be described with reference to the figure.

먼저, 시스템에 파워가 공급되면 전원전압이 VSS 레벨에서 VCC 레벨로 상승하기 시작하고 이때, 저전압 검출기(25)는 전원전압이 일정전압 이상이 되면 이에 상응하는 신호를 출력한다(도4에 저전압 검출기의 출력신호 파형은 도시되어 있지 않다.).First, when power is supplied to the system, the power supply voltage starts to rise from the VSS level to the VCC level. At this time, the low voltage detector 25 outputs a corresponding signal when the power supply voltage becomes higher than a predetermined voltage (see the low voltage detector in FIG. 4). The output signal waveform of is not shown).

이와같이 처음에 파워가 공급되었을때 이외에도 시스템 동작중에 전원전압이 불안정하면, 전원전압은 전압레벨이 감소하였다가 다시 원래의 동작전압으로 돌아오는데, 이때에도 전원전압이 일정전압 이상이 되면 저전압 검출기는 이에 상응하는 신호를 출력한다.In this way, if the power supply voltage is unstable during the operation of the system other than when the power is initially supplied, the power supply voltage decreases and then returns to the original operating voltage. Output the corresponding signal.

펄스발생기(31)는 이러한 저전압 검출기(25)의 출력신호를 입력받아 일정폭을 갖는 펄스신호인 PORSet1 신호를 생성하여 출력하는 소자이다. 따라서, 처음에 파워가 온되었을 때 뿐만 아니라, 전원전압이 불안정하여 감소하였다가 다시 원래 레벨로 복귀하는 경우에도 일정시간 동안 하이로 활성화되는 PORSet1 신호가 발생하고 있음을 알 수 있다.The pulse generator 31 receives the output signal of the low voltage detector 25 and generates and outputs a PORSet1 signal, which is a pulse signal having a predetermined width. Therefore, it can be seen that the PORSet1 signal that is activated high for a predetermined time is generated not only when the power is initially turned on but also when the power supply voltage becomes unstable and decreases and returns to the original level.

PORON 신호는 시스템에 파워가 공급되면 하이로 활성화되는 신호이며, 이와같은 PORON 신호는 그 위상이 반전되어 앤드게이트(32) 입력된다. 그리고, 앤드게이트(32)로는 PORSet1 신호 역시 입력된다.The PORON signal is a signal that is activated high when power is supplied to the system, and the PORON signal is inputted with an AND gate 32 with its phase reversed. The PORSet1 signal is also input to the AND gate 32.

따라서, 상기 앤드게이트(32)의 출력신호인 PORSet1' 신호는 도4에 도시된 바와같다. 즉, 처음에 파워가 공급되어 PORSet1 신호가 high로 활성화된 구간에서만 PORSet1' 신호 역시 하이로 활성화되며, 파워 페일시에는 로우레벨을 유지하고 있다.Therefore, the PORSet1 'signal, which is the output signal of the AND gate 32, is as shown in FIG. That is, the PORSet1 'signal is also activated high only during a period in which power is initially supplied and the PORSet1 signal is activated high, and maintains a low level during power failure.

플래그신호 발생기(33)는 펄스발생기(31)의 출력인 PORSet1 신호와 앤드게이트(32)의 출력인 POESet1' 신호를 이용하여, 파워 온 리셋과 파워 페일 리셋을 구분하가 위한 플래그신호를 생성해 내는 회로로서, 플래그신호의 파형은 도4에 도시된 바와같다.The flag signal generator 33 generates a flag signal for distinguishing the power-on reset and the power fail reset by using the PORSet1 signal output from the pulse generator 31 and the POESet1 'signal output from the AND gate 32. As the output circuit, the waveform of the flag signal is as shown in FIG.

즉, 파워가 처음 온 되었을 때에는 플래그신호가 하이레벨을 유지하고 있지만, 시스템 동작 중에 전원전압이 불안정한 파워 페일시에는 플래그신호가 로우 레벨로 떨어지게 된다.That is, when power is first turned on, the flag signal maintains a high level. However, the flag signal falls to a low level during a power failure in which the power supply voltage is unstable during system operation.

이러한 플래그신호는 CPU 및 주변회로(28)로 직접 입력되며, 이를 이용하면 파워 온 리셋과 파워 페일 리셋 동작시에 각기 다른 인터럽트 서비스 루틴을 적용하여 시스템 부하를 감소시킬 수 있다.The flag signal is directly input to the CPU and the peripheral circuit 28. Using this flag signal, the system load can be reduced by applying different interrupt service routines during the power-on reset and power fail reset operations.

도5는 도3에 도시된 플래그신호 발생기(33)를 간단히 구현한 일 실시예에 관한 도면으로, 도4에 도시된 바와같은 파형을 갖는 PORSet1 신호와 PORSet1' 신호를 이용하여 PORFlag 신호를 만들기 위한 회로구성을 도시한 도면이다.FIG. 5 is a diagram illustrating an exemplary embodiment of simply implementing the flag signal generator 33 shown in FIG. 3, and for generating a PORFlag signal using a PORSet1 signal and a PORSet1 'signal having a waveform as shown in FIG. 4. It is a figure which shows a circuit structure.

도5를 참조하면, 플래그신호 발생기(33)는 클럭입력을 갖는 간단한 D 플립플롭으로 구성할 수 있다. 여기서, 펄스발생기의 출력신호인 PORSet1 신호는 D 플립플롭(51)의 클럭입력단으로 입력되며, 앤드게이트의 출력인 PORSet1' 신호는 D 플립플롭(51)의 D 입력단으로 입력된다.Referring to Fig. 5, the flag signal generator 33 can be configured as a simple D flip-flop with a clock input. Here, the PORSet1 signal, which is an output signal of the pulse generator, is input to the clock input terminal of the D flip-flop 51, and the PORSet1 'signal, which is the output of the AND gate, is input to the D input terminal of the D flip-flop 51.

결과적으로, 이러한 입력신호를 갖는 D 플립플롭(51)의 출력신호는 도4에 도시된 파형을 갖는 PORFlag 신호가 된다.As a result, the output signal of the D flip-flop 51 having such an input signal becomes a PORFlag signal having the waveform shown in FIG.

본 발명의 일 실시예에 따른 리셋신호 발생기를 적용하는 경우에는 파워 온 리셋과 파워 페일 리셋을 구분하여 시스템을 리셋시킬 수 있기 때문에 불필요한 테트 동작을 감소시킬 수 있어 시스템의 효율을 증가시킬 수 있다.In the case of applying the reset signal generator according to an embodiment of the present invention, since the system can be reset by dividing the power-on reset and the power fail reset, unnecessary test operation can be reduced, thereby increasing the efficiency of the system.

이상에서 설명한 바와 같이 본 발명은 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니고, 본 발명이 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능함이 본 발명이 속하는 기술분야에서 통상의 지식을 가진자에게 있어 명백할 것이다.As described above, the present invention is not limited to the above-described embodiments and the accompanying drawings, and the present invention may be variously substituted, modified, and changed without departing from the spirit of the present invention. It will be apparent to those of ordinary skill in the art.

본 발명을 적용하면, 파워 온 리셋과 파워 페일 리셋을 구분하여 인터럽트 서비스 루틴에서 각각의 리셋 특성에 맞게 최적의 초기화 프로그래밍이 가능하다. 시스템 과부하를 방지하여 프로세서의 성능 및 시스템 효율의 증가를 가져온다.According to the present invention, the power-on reset and the power fail reset can be distinguished to enable optimal initialization programming for each reset characteristic in the interrupt service routine. Preventing system overload leads to increased processor performance and system efficiency.

Claims (4)

시스템을 리셋시키는 신호를 생성하는 리셋신호 발생기에 있어서,In the reset signal generator for generating a signal for resetting the system, 저전압 검출기의 출력을 입력받아 파워 온 리셋과 파워 페일 리셋을 구분하여 각각의 리셋에 상응하는 신호를 출력하는 파워 리셋플래그 발생회로를 포함하여 이루어지는 리셋신호 발생기.And a power reset flag generating circuit configured to receive the output of the low voltage detector and distinguish a power on reset and a power fail reset to output a signal corresponding to each reset. 제 1 항에 있어서,The method of claim 1, 상기 파워 리셋플래그 발생회로는,The power reset flag generating circuit, 전원전압이 일정전압 이상으로 상승하는 경우에 이에 상응하는 신호를 출력하는 저전압 검출기;A low voltage detector for outputting a signal corresponding to the increase in power supply voltage above a predetermined voltage; 상기 저전압 검출기의 출력에 따라 일정폭을 갖는 펄스를 발생하는 펄스발생기;A pulse generator for generating a pulse having a predetermined width according to the output of the low voltage detector; 시스템에 전원전압이 공급되면 활성화되는 파워 온 신호를 반전하여 입력받으며 또한 상기 펄스발생기의 출력을 입력받는 앤드게이트; 및An AND gate which receives an inverted power-on signal that is activated when a power supply voltage is supplied to the system and receives an output of the pulse generator; And 상기 앤드게이트의 출력신호와 상기 펄스발생기의 출력신호를 입력받아, 파워 온 리셋과 파워 페일 리셋을 구분할 수 있는 플래그신호를 생성하는 플래그신호 발생기A flag signal generator that receives a output signal of the AND gate and an output signal of the pulse generator and generates a flag signal that can distinguish a power on reset and a power fail reset. 를 포함하여 이루어지는 것을 특징으로 하는 리셋신호 발생기.Reset signal generator characterized in that comprises a. 제 2 항에 있어서,The method of claim 2, 상기 플래그신호 발생기는,The flag signal generator, 상기 펄스발생기의 출력신호를 클럭입력단으로 입력받고, 상기 앤드게이트의 출력신호를 입력단으로 입력받는 클럭화된 D 플립플롭인 것을 특징으로 하는 리셋신호 발생기.And a clocked D flip-flop that receives the output signal of the pulse generator through a clock input terminal and receives the output signal of the AND gate into an input terminal. 외부에서 인가되는 리셋신호를 입력받는 슈미트 트리거;A Schmitt trigger receiving an externally applied reset signal; 상기 슈미트 트리거의 출력신호에 포함된 잡음을 제거하는 잡음 제거기;A noise canceller for removing noise included in an output signal of the Schmitt trigger; 시스템이 무한 루프에 빠졌거나 또는 null 상태에 빠진 경우에 이로부터 벗어나기 위한 신호를 출력하는 와치독 타이머;A watchdog timer that outputs a signal to escape from when the system is stuck in an infinite loop or is in a null state; 전원전압이 일정전압 이상으로 상승하는 경우에 이에 상응하는 신호를 출력하는 저전압 검출기;A low voltage detector for outputting a signal corresponding to the increase in power supply voltage above a predetermined voltage; 상기 저전압 검출기의 출력신호를 이용하여 파워 온 리셋신호와 파워 페일 플래그신호를 각각 출력하는 파워 리셋플래그 발생회로;A power reset flag generation circuit for outputting a power on reset signal and a power fail flag signal using the output signal of the low voltage detector; 상기 와치독 타이머의 출력신호와 상기 파워 리셋플래그 발생회로의 출력신호 중 파워 온 리셋신호를 입력받는 제 1 OR 게이트; 및A first OR gate configured to receive a power on reset signal among an output signal of the watchdog timer and an output signal of the power reset flag generation circuit; And 상기 제 1 OR 게이트의 출력신호와 상기 잡음제거기의 출력신호를 입력받는 제 2 OR 게이트A second OR gate receiving the output signal of the first OR gate and the output signal of the noise canceller; 를 포함하여 이루어진 리셋신호 발생기.Reset signal generator comprising a.
KR1020030034326A 2003-05-29 2003-05-29 Reset signal generator can discriminate power fail reset and power on reset KR20040102736A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020030034326A KR20040102736A (en) 2003-05-29 2003-05-29 Reset signal generator can discriminate power fail reset and power on reset

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020030034326A KR20040102736A (en) 2003-05-29 2003-05-29 Reset signal generator can discriminate power fail reset and power on reset

Publications (1)

Publication Number Publication Date
KR20040102736A true KR20040102736A (en) 2004-12-08

Family

ID=37378953

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020030034326A KR20040102736A (en) 2003-05-29 2003-05-29 Reset signal generator can discriminate power fail reset and power on reset

Country Status (1)

Country Link
KR (1) KR20040102736A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101148240B1 (en) * 2009-09-29 2012-05-21 산요 세미컨덕터 컴퍼니 리미티드 Reset circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101148240B1 (en) * 2009-09-29 2012-05-21 산요 세미컨덕터 컴퍼니 리미티드 Reset circuit

Similar Documents

Publication Publication Date Title
US6647512B1 (en) Method for restoring CMOS in a jumperless system
US4573117A (en) Method and apparatus in a data processor for selectively disabling a power-down instruction
JPH0789331B2 (en) Timer circuit
JP2007066037A (en) Semiconductor integrated circuit
CN111736678B (en) Chip reset circuit, method and equipment
US7055064B2 (en) Automatic reset signal generator integrated into chipset and chipset with reset completion indication function
US6968410B2 (en) Multi-threaded processing of system management interrupts
JP2001184234A (en) Watch dog timer
US6477658B1 (en) Microprocessor with variable clock operation
US11144104B2 (en) Mode selection circuit for low-cost integrated circuits such as microcontrollers
KR20040102736A (en) Reset signal generator can discriminate power fail reset and power on reset
CN106484438B (en) Computer startup method and system
US6829128B2 (en) Thermal trip power control circuit
CN112187233A (en) Reset device, method, clock system and electronic equipment
JP3080785B2 (en) System clock selection circuit
TWI421701B (en) Computer system
KR100304991B1 (en) Switching circuit
US20130297951A1 (en) Operation system and control method thereof
JPH0756774A (en) Watching timer
KR100628109B1 (en) Apparatus and Method of Watch-Dog of Camera module for Handhelds device using Hardware logic
US5974561A (en) Method and apparatus for generating a reset signal within an integrated circuit
US20030001617A1 (en) Input circuit with non-delayed time blanking
KR100789712B1 (en) Computer system and controlling method thereof
KR100403339B1 (en) Program counter controlled processor
CN114696809A (en) Signal generation circuit and operating system

Legal Events

Date Code Title Description
A201 Request for examination
N231 Notification of change of applicant
E902 Notification of reason for refusal
E601 Decision to refuse application