KR910004526B1 - Watchdog Timer Circuit - Google Patents

Watchdog Timer Circuit Download PDF

Info

Publication number
KR910004526B1
KR910004526B1 KR1019880003567A KR880003567A KR910004526B1 KR 910004526 B1 KR910004526 B1 KR 910004526B1 KR 1019880003567 A KR1019880003567 A KR 1019880003567A KR 880003567 A KR880003567 A KR 880003567A KR 910004526 B1 KR910004526 B1 KR 910004526B1
Authority
KR
South Korea
Prior art keywords
signal
unit
central processing
reference voltage
processing unit
Prior art date
Application number
KR1019880003567A
Other languages
Korean (ko)
Other versions
KR890015104A (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 KR1019880003567A priority Critical patent/KR910004526B1/en
Publication of KR890015104A publication Critical patent/KR890015104A/en
Application granted granted Critical
Publication of KR910004526B1 publication Critical patent/KR910004526B1/en

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Electronic Switches (AREA)

Abstract

내용 없음.No content.

Description

워치독 타이머회로Watchdog Timer Circuit

제 1 도는 시스템의 정상유무에 따라 발생되는 펄스발생 흐름도.1 is a flow chart of pulses generated according to the normal status of the system.

제 2 도는 본 발명에 따른 회로도.2 is a circuit diagram according to the present invention.

제 3 도는 본 발명에 따른 제 2 도의 동작 파형도.3 is an operational waveform diagram of FIG. 2 according to the present invention;

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

10 : 중앙처리장치 20 : 정류회로부10: central processing unit 20: rectifier circuit

30 : 기준전압 발생부 40 : 비교신호생성 및 직류성분 차단부30: reference voltage generator 40: comparison signal generation and DC component blocking unit

50 : 리세트 제어부50: reset control unit

본 발명은 중앙처리장치가 오동작할 때 이를 감지한후 중앙처리장치를 리세트시켜 정상동작으로 회복시켜주는 워치독 타이머회로에 관한 것으로, 특히 구성부품과 부품수를 간략화하고 리세트 기능을 향상시킬 수 있는 워치독 타이머회로에 관한 것이다.The present invention relates to a watchdog timer circuit that detects when a central processing unit malfunctions and resets the central processing unit to restore normal operation. It relates to a watchdog timer circuit that can be.

일반적으로 중앙처리장치에 의해 시스템 프로그램을 수행할 경우 시스템의 각 프로그램이 정상적으로 운용되면 제 1 도의 흐름도와 같이 중앙처리장치의 소정단자를 통해 일정한 펄스신호를 출력한다.In general, when the system program is executed by the central processing unit, if each program of the system is normally operated, a constant pulse signal is output through a predetermined terminal of the central processing unit as shown in the flowchart of FIG.

이때 중앙처리장치에 이상현상이 발생했을 경우 상기 중앙처리장치는 일정한 펄스신호를 출력하지 못하게 되는데 이 경우 워치독 타이머회로를 이용하여 상기 중앙처리장치의 리세트단에 리세트신호를 입력시켜 프로그램 운용을 초기화한다.At this time, if an abnormality occurs in the central processing unit, the central processing unit does not output a constant pulse signal. In this case, a watchdog timer circuit is used to input a reset signal to the reset terminal of the central processing unit for program operation. Initialize

이를 실현하기 위한 종래의 워치독 타이머회로는 단안정 멀티바이브레이터 등을 사용하였으므로 회로가 복잡하고 가격이 상승하는 문제점이 있어 왔다.In the conventional watchdog timer circuit for realizing this, a monostable multivibrator or the like has been used, and thus, the circuit is complicated and the price increases.

따라서 본 발명의 목적은 간략한 회로와 저렴한 비용으로 중앙처리장치의 오동작시 이를 감지하여 리세트 시킬 수 있는 워치독 타이머회로를 제공함에 있다.Accordingly, an object of the present invention is to provide a watchdog timer circuit that can detect and reset a malfunction of a central processing unit at a low cost with a simple circuit.

이하 본 발명을 첨부한 도면을 참조하여 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.

제 1 도는 시스템의 정상유무에 따라 발생되는 펄스발생 흐름도이다.1 is a flowchart of pulse generation generated according to whether a system is normal.

제 2 도는 본 발명의 회로도로서, 10은 사용자가 원하는 일을 정상적으로 수행할시 일정한 펄스신호를 출력하는 프로그램이 내장되어 시스템을 총괄적으로 제어하는 중앙처리장치이며, 20은 캐패시터(C1,C2), 저항(R3,R4), 다이오드(D1)로 구성되어 상기 중앙처리장치(10)의 펄스신호가 발생될시 일정한 레벨을 가지는 직류전압으로 변환하는 정류회로부이고, 30은 저항(R1,R2)으로 구성되어 입력전압을 분압하여 일정한 기준전압을 발생하는 기준전압 발생부이며, 40은 연산증폭기(OP1), 캐패시터(C3), 저항(R5), 디이오드(D2)로 구성되어 상기 정류회로부(20)의 출력전압과 기준전압 발생부(30)의 기준전압을 비교하여 상기 비교된 출력신호의 직류성분을 차단하는 비교신호생성 및 직류성분 차단부이고, 50은 캐패시터(C4), 저항(R6), 트랜지스터(Q1)로 구성되어 상기 비교신호생성 및 직류성분 차단부(40)의 출력신호에 따라 상기 중앙처리장치(10)의 리세트단(RES)를 제어하는 리세트 제어부이다.2 is a circuit diagram of the present invention, wherein 10 is a central processing unit for controlling the system as a whole by a program that outputs a constant pulse signal when a user normally performs a desired task, 20 is a capacitor C1, C2, It is composed of resistors (R3, R4) and diodes (D1) is a rectifier circuit unit for converting to a DC voltage having a constant level when the pulse signal of the central processing unit 10 is generated, 30 is a resistor (R1, R2) And a reference voltage generator for dividing an input voltage to generate a constant reference voltage, and 40 is an operational amplifier OP1, a capacitor C3, a resistor R5, and a diode D2. A comparison signal generation and a DC component blocking unit for blocking the DC component of the output signal by comparing the output voltage of the reference voltage and the reference voltage of the reference voltage generator 30, and 50 denotes a capacitor C4 and a resistor R6. , Consisting of transistor Q1, the comparison above The reset controller controls the reset stage RES of the central processing unit 10 according to the signal generation and the output signal of the DC component blocking unit 40.

제 3 도는 제 2 도에 따른 동작파형도로서, (a)는 연산증폭기(OP1)의 비반전단자(+)에 입력되는 기준전압 신호이고, (b)는 연산증폭기(OP1)의 반전단자(-)에 입력되는 일정한 레벨의 신호이며, (c)는 연산증폭기(OP1)에서 출력하는 비교신호이고, (d)는 트랜지스터(Q1)의 베이스단에 입력되는 직류성분 및 부성분(-)이 차단될 신호이며, (e)는 트랜지스터(Q1)의 컬렉터단에서 출력되는 파형이고, (f)는 중앙처리장치(10)의 출력단자(P1)에서 출력되는 일정한 펄스신호의 파형이다.3 is an operation waveform diagram according to FIG. 2, (a) is a reference voltage signal input to the non-inverting terminal (+) of the operational amplifier OP1, and (b) is an inverting terminal of the operational amplifier OP1. (C) is a comparison signal output from the operational amplifier OP1, and (d) blocks the DC component and the subcomponent (-) input to the base terminal of the transistor Q1. (E) is a waveform output from the collector terminal of the transistor Q1, and (f) is a waveform of a constant pulse signal output from the output terminal P1 of the central processing unit 10.

이하 제 1, 2, 3 도를 참조하여 본 발명을 상세히 설명한다. 전원 "온"시 중앙처리장치(10)의 출력단자(P1)는 제 3f 도의 (t1-t2)부분과 같이 "로우"신호를 캐패시터(C1), 다이오드(D1)를 통해 연산증폭기(OP1)의 반전단자(-)로 입력한다. 한편 전원(VCC)은 저항(R1)과 (R2)에 의해 제 3a 도와 같은 기준전압 신호로 변환되어 상기 연산증폭기(OP1)의 비반전단자(+)에 입력하므로 상기 연산증폭기(OP1)는 제 3c 도의 (t1-t2)부분과 같이 "하이"비교신호를 캐패시터(C3)로 입력한다. 상기 캐패시터(C3)에 입력된 "하이"비교신호는 다이오드(D2)에 의해 부성분(-)이 제거된후 제 3d 도의 (t1-t2)부분과 같이 저항(R5)을 통해 트랜지스터(Q1)의 베이스단으로 입력한다. 이에따라 상기 트랜지스터(Q1)는 "온"되어 컬렉터단에서 제 3d 도의 (t1-t2)부분과 같이 "하이"신호를 출력한다. 따라서 상기 트랜지스터(Q1)의 컬렉터단에서 출력되는 "하이"신호는 캐패시터(C4)의 충전시간에 의해 제 3e 도의 (t1-t2)부분과 같이 소정시간 지연된후 상기 중앙처리장치(10)의 리세트단자

Figure kpo00001
로 입력하여 상기 중앙처리장치(10)의 리세트를 해제한다.Hereinafter, the present invention will be described in detail with reference to FIGS. 1, 2, and 3. When the power is "on", the output terminal P1 of the central processing unit 10 transmits the "low" signal through the capacitor C1 and the diode D1 as shown in part (t1-t2) of FIG. 3f. Input the reverse terminal of (-). On the other hand, since the power supply VCC is converted into a reference voltage signal of the same level as 3a by the resistors R1 and R2 and is input to the non-inverting terminal + of the operational amplifier OP1, the operational amplifier OP1 is set to zero. Input the "high" comparison signal to the capacitor C3 as shown in part (t1-t2) of FIG. 3c. The "high" comparison signal input to the capacitor C3 is removed from the transistor Q1 through the resistor R5 as shown in part (t1-t2) of FIG. 3d after the negative component (−) is removed by the diode D2. Enter to the base end. Accordingly, the transistor Q1 is " on " and outputs a " high " signal at the collector stage as shown in part (t1-t2) of FIG. 3d. Therefore, the "high" signal output from the collector terminal of the transistor Q1 is delayed by a predetermined time as shown in part (t1-t2) of FIG. 3E by the charging time of the capacitor C4, and then the reprocessing of the CPU 10 is performed. Set terminal
Figure kpo00001
To reset the central processing unit 10.

시스템이 정상적으로 운용될때를 설명하면 정상동작시 상기 중앙처리장치(10)의 출력단자(P1)에서 제 3f 도의 (t2-t3)부분과 같이 출력되는 펄스는 캐패시터(C1)와 저항(R3)으로 이루어진 미분기에 의해 정형되며 상기 캐패시터(C1)와 저항(R3)에 의해 정형된 신호는 다이오드(D1), 캐패시터(C2), 저항(R4)로 구성되는 반파정류회로에 의해 정류된후 제 3b 도의 (t2-t3)부분과 같이 연산증폭기(OP1)의 반전단자(-)로 입력한다.When the system is operating normally, the pulse output from the output terminal P1 of the central processing unit 10 as shown in (t2-t3) of FIG. 3f during the normal operation is transferred to the capacitor C1 and the resistor R3. The signal shaped by the differentiator made by the capacitor C1 and the resistor R3 is rectified by the half-wave rectifier circuit composed of the diode D1, the capacitor C2, and the resistor R4, and then the signal of FIG. Input it to the inverting terminal (-) of OP Amp as in (t2-t3) part.

한편 전원(VCC)은 상기 저항(R1),(R2)에 의해 제 3a 도와 같은 기준전압 신호로 변환되어 상기 연산증폭기(OP1)의 비반전단자(+)에 입력되므로 상기 연산증폭기(OP1)는 제 3c 도의 (t2-t3)부분과 같이 "로우"비교신호를 캐패시터(C3)로 입력한다. 상기 캐패시터(C3)에 입력된 "로우"비교신호는 다이오드(D2)에 의해 부(-)성분이 제거된후 제 3d 도의 (t2-t3)부분과 같이 저항(R5)을 통해 트랜지스터(Q1)의 베이스로 입력한다. 그러므로 상기 트랜지스터(Q1)는 "오프"되어 컬렉터단의 "하이"신호가 캐패시터(C4)를 통해 제 3e 도의 (t2-t3)부분과 같이 상기 중앙처리장치(10)의 리세트단자

Figure kpo00002
로 입력하여 상기 중앙처리장치(10)는 정상적인 동작을 수행한다.On the other hand, since the power supply VCC is converted into a reference voltage signal equal to the third a degree by the resistors R1 and R2 and input to the non-inverting terminal + of the operational amplifier OP1, the operational amplifier OP1 is As shown in part (t2-t3) of FIG. 3C, a "low" comparison signal is input to the capacitor C3. The "low" comparison signal input to the capacitor C3 is a transistor (Q1) through the resistor (R5) as shown by the portion (t2-t3) of FIG. 3d after the negative component is removed by the diode D2. Enter the base of the. Therefore, the transistor Q1 is " off, " so that the "high" signal of the collector terminal is passed through the capacitor C4, as shown in part (t2-t3) of FIG.
Figure kpo00002
The central processing unit 10 performs the normal operation.

이때 시스템에 이상이 생겨 제 3f 도의 (t3-t4)부분과 같이 상기 중앙처리장치(10)의 출력단자(P1)를 통해 펄스신호가 출력되지 않으면 상기 캐패시터(C2)에 충전된 전압이 저항(R4)을 통해 방전되므로 상기 연산증폭기(OP1)의 반전단자(-)에는 제 3b 도의 (t3-t4)부분과 같이 "로우"신호가 입력되고 상기 연산증폭기(OP1)의 비반전단자(+)에는 제 3a 도와 같이 기준전압 신호가 입력된다.At this time, if an abnormality occurs in the system and a pulse signal is not output through the output terminal P1 of the CPU 10 as shown in part (t3-t4) of FIG. 3f, the voltage charged in the capacitor C2 is a resistance ( Since it is discharged through R4), a "low" signal is input to the inverting terminal (-) of the operational amplifier OP1 as shown in part (t3-t4) of FIG. 3b and the non-inverting terminal (+) of the operational amplifier OP1. The reference voltage signal is input to the same as in FIG.

이에따라 상기 연산증폭기(OP1)는 제 3c 도의 (t3-t4)부분과 같이 "하이"비교신호를 상기 캐패시터(C3)로 입력하고 상기 캐패시터(C3)는 입력된 "하이"비교신호의 직류성분을 제거한후 다이오드(D2)로 입력한다. 한편 상기 다이오드(D2)는 상기 캐패시터(C3)에 의해 발생하는 부성분(-)을 제거한 신호 즉 제 3d 도의 (t3-t4)부분과 같은 신호를 저항(R5)을 통해 트랜지스터(Q1)의 베이스단으로 입력한다. 그러므로 상기 트랜지스터(Q1)는 "온"되어 컬렉터단에서 출력되는 "하이"신호를 상기 캐패시터(C4)의 충전시간에 의해 제 3e 도의 (t3-t4)부분과 같이 소정시간 동안 리세트시킨 후에 상기 중앙처리장치(10)의 리세트단자

Figure kpo00003
로 입력한다. 결과적으로 상기 중앙처리장치(10)는 소정의 리세트시간을 가진후에 정상동작 상태로 된다.Accordingly, the operational amplifier OP1 inputs a "high" comparison signal to the capacitor C3 as shown in part (t3-t4) of FIG. 3c, and the capacitor C3 inputs a DC component of the input "high" comparison signal. After removal, input to diode (D2). On the other hand, the diode (D2) is the base terminal of the transistor (Q1) through the resistor (R5) through a signal such as the (t3-t4) of the signal removed from the negative component (-) generated by the capacitor (C3) of Figure 3d Enter Therefore, the transistor Q1 is " on " and the " high " signal outputted from the collector terminal is reset for a predetermined time as shown in part (t3-t4) of FIG. 3e by the charging time of the capacitor C4. Reset terminal of central processing unit 10
Figure kpo00003
Enter As a result, the CPU 10 enters a normal operation state after a predetermined reset time.

상술한 바와같이 본 발명은 중앙처리장치의 오동작시 이를 감지하여 리세트시킬 수 있으므로 회로의 간략화로 재료비절감에 의해 제품원가를 낮출 수 있는 잇점이 있다.As described above, since the present invention can detect and reset the malfunction of the central processing unit, the cost of the product can be lowered by reducing the material cost by simplifying the circuit.

Claims (3)

펄스발생 프로그램이 내장된 중앙처리장치를 구비한 워치독회로에 있어서, 상기 중앙처리장치의 펄스신호가 입력될시 일정한 레벨을 가지는 직류전압으로 변환하는 정류회로부(20)와, 입력전원을 분압하여 일정한 기준전압을 발생하는 기준전압 발생부(30)와, 상기 정류회로부(20)의 출력전압과 기준전압 발생부(30)의 기준전압을 비교하여 비교신호를 생성한후 상기 비교신호의 직류성분을 차단하는 비교신호생성 및 직류성분 차단부(40)와, 상기 비교신호생성 및 직류성분 차단부(40)의 수단의 출력신호에 따라 상기 중앙처리장치(10)의 리세트를 제어하는 리세트 제어부(50)로 구성됨을 특징으로 하는 회로.A watchdog circuit having a central processing unit having a built-in pulse generation program, comprising: a rectifying circuit unit (20) for converting a DC signal having a predetermined level when a pulse signal of the central processing unit is input, After generating a comparison signal by comparing the reference voltage generator 30 generating a constant reference voltage with the output voltage of the rectifier circuit 20 and the reference voltage of the reference voltage generator 30, a DC signal of the comparison signal is generated. A reset for controlling the reset of the central processing unit 10 according to the comparison signal generation and DC component blocking unit 40 for blocking a signal, and the output signal of the means of the comparison signal generation and DC component blocking unit 40. Circuit comprising a control unit (50). 제 1 항에 있어서, 상기 정류회로부(20)가 상기 중앙처리장치의 펄스신호를 정형하는 정형수단과, 상기 정형수단에서 정형된 신호를 반파정류하는 반파정류수단으로 구성됨을 특징으로 하는 워치독 타이머회로.The watchdog timer according to claim 1, wherein the rectifying circuit unit (20) comprises a shaping means for shaping the pulse signal of the central processing unit, and a half wave rectifying means for half-wave rectifying the signal shaping from the shaping means. Circuit. 제 1 항에 있어서, 상기 비교신호생성 및 직류성분 차단부(40)가 상기 정류회로부(20)의 출력전압과 기준전압 발생부(30)의 기준전압을 비교하여 비교신호를 생성하는 연산증폭기(OP1)와, 상기 연산증폭기(OP1)에서 출력되는 비교신호의 직류성분을 차단하는 캐패시터(C3)와, 상기 캐패시터(C3)에 의해 발생하는 부성분(-)을 차단하는 다이오드(D2)로 구성됨을 특징으로 하는 워치독 타이머회로.The operational amplifier of claim 1, wherein the comparison signal generation unit and the DC component blocking unit 40 generate a comparison signal by comparing the output voltage of the rectifying circuit unit 20 with the reference voltage of the reference voltage generator 30. OP1), a capacitor C3 for blocking the DC component of the comparison signal output from the operational amplifier OP1, and a diode D2 for blocking the subcomponent (−) generated by the capacitor C3. Watchdog timer circuit characterized in that.
KR1019880003567A 1988-03-31 1988-03-31 Watchdog Timer Circuit KR910004526B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019880003567A KR910004526B1 (en) 1988-03-31 1988-03-31 Watchdog Timer Circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019880003567A KR910004526B1 (en) 1988-03-31 1988-03-31 Watchdog Timer Circuit

Publications (2)

Publication Number Publication Date
KR890015104A KR890015104A (en) 1989-10-28
KR910004526B1 true KR910004526B1 (en) 1991-07-05

Family

ID=68241419

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019880003567A KR910004526B1 (en) 1988-03-31 1988-03-31 Watchdog Timer Circuit

Country Status (1)

Country Link
KR (1) KR910004526B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002055130A (en) * 2000-08-14 2002-02-20 Nec Microsystems Ltd Frequency judgment circuit and data processor

Also Published As

Publication number Publication date
KR890015104A (en) 1989-10-28

Similar Documents

Publication Publication Date Title
GB2025094A (en) Induction heating control apparatus
KR910004526B1 (en) Watchdog Timer Circuit
US4443709A (en) Frequency responsive system power sequencer
US5674422A (en) Reset and watchdog system for a microprocessor, and appliance comprising microprocessor and such a system
US5821790A (en) Power line synchronization conditioner
JPH0222849B2 (en)
GB2108730A (en) Power control unit
JP2943017B2 (en) Pot detection device for induction heating cooker
KR900001890Y1 (en) Circuit for controlling dead time and returning
JPH08122368A (en) Source voltage-detecting apparatus and load current--controlling apparatus
KR900003467Y1 (en) Arrangement for starting electric motor
JPS6067864A (en) Ac voltage detecting circuit
JPH0537254Y2 (en)
KR0166895B1 (en) Power source voltage sensing apparatus
JPH0827660B2 (en) Switching semiconductor device control circuit
JPS6040011Y2 (en) Muting control signal generation circuit
JPS625725Y2 (en)
JPH0313786Y2 (en)
JPS59188565A (en) Hit detector
JPS594291Y2 (en) Electricity detection device
JPH088749B2 (en) How to charge the battery pack
JPS60215220A (en) Circuit apparatus for electrical equipment
JPS62115781U (en)
JPS5829323A (en) Power interruption detector
JPH0817536B2 (en) Battery charger

Legal Events

Date Code Title Description
A201 Request for examination
N231 Notification of change of applicant
G160 Decision to publish patent application
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20020624

Year of fee payment: 12

LAPS Lapse due to unpaid annual fee