JPS61120249A - Deadman's timer circuit - Google Patents

Deadman's timer circuit

Info

Publication number
JPS61120249A
JPS61120249A JP59241721A JP24172184A JPS61120249A JP S61120249 A JPS61120249 A JP S61120249A JP 59241721 A JP59241721 A JP 59241721A JP 24172184 A JP24172184 A JP 24172184A JP S61120249 A JPS61120249 A JP S61120249A
Authority
JP
Japan
Prior art keywords
signal
cpu
pulse
circuit
period
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
JP59241721A
Other languages
Japanese (ja)
Inventor
Toru Kumasaka
徹 熊坂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Home Electronics Ltd
NEC Corp
Original Assignee
NEC Home Electronics Ltd
Nippon Electric Co Ltd
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 NEC Home Electronics Ltd, Nippon Electric Co Ltd filed Critical NEC Home Electronics Ltd
Priority to JP59241721A priority Critical patent/JPS61120249A/en
Publication of JPS61120249A publication Critical patent/JPS61120249A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • G06F11/0754Error or fault detection not based on redundancy by exceeding limits
    • G06F11/0757Error or fault detection not based on redundancy by exceeding limits by exceeding a time limit, i.e. time-out, e.g. watchdogs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Electronic Switches (AREA)

Abstract

PURPOSE:To decide the runaway of a CPU and to reset this CPU for restoration by detecting that the waveform of a cyclic pulse sent from the CPU is deviated from a prescribed form. CONSTITUTION:A CPU1 detects the runaway of a deadman's timer circuit and restores it, and a pulse signal showing the normalcy is transmitted through an output terminal OUT of the CPU1. The normalcy is decided from the pulse width. In a normal mode the level 'H' lasts for a period T1 and then the 'L' level lasts for a period T2. These two levels are repeated cyclically. The generation of a runaway is decided, when the fundamental rule of the waveform of said pulse signal is lost. Then a reset signal is inputted to a reset terminal of the CPU1. No resetting action is carried out with the level 'H' held in a normal mode. Then an active state is started to reset the CPU1 when a pulse of 'L' is inputted.

Description

【発明の詳細な説明】 (産業上の利用分野〕 本発明はコンピュータの暴走検出および復旧用タイマ回
路に関する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a timer circuit for detecting and restoring computer runaway.

((!来の技術) コンピュータ情報!1理システムが正常に使動している
途中で、突然出力の内容が継続・改を失い以後誤った意
味のない出力を)!!恍して出力し続けることがあり、
こhは一般に比喘的表現をもりてコンピュータの日セと
呼ばれている。d走は一時的なノイズ等の外部要因によ
ってCPt、’内の各種レジスタ詳の内容(ビット偶成
)が変化を受けることによってプログラムの連行順序が
狂ったり読出すべきメモリアトし・スが変化したりする
ことによってプログラムの正常な実行が妨げられること
に起因するものであって、コンピュータの故障ではない
からCPUのレジスタI!Yを全てリセットし白紙の状
態に戻した擾、再びプログラムを最初からスタートさピ
ることによって復1日するものである。
((!Future technology) Computer information! 1 While the system is operating normally, the content of the output suddenly loses continuity and change, and after that it outputs incorrect and meaningless information)! ! It may continue to output without any hesitation,
This is generally referred to figuratively as the day of computers. In d-running, the contents (bit concurrence) of various registers in CPt and ' are changed due to external factors such as temporary noise, which may cause the program execution order to be out of order or the memory address to be read to change. This is due to the fact that normal execution of the program is prevented by the CPU register I!, and is not a computer malfunction. After resetting all Y and returning to a blank slate, the program is restarted from the beginning again for one day.

最j斤マイクロコンピュータが各fl l/+ 101
システムに組込まれて使用されるようになるに従い、各
種のノイズや撮vJ等の多い51境条件下で使用される
ことが多くなりこれ等のシステムの運用にとって暴走対
策はmI!な問題であり、ハードウェアおよびソフトウ
ェアの両面から暴走検出および復旧の手段が考えられ種
々実用化さhている。
The maximum number of microcomputers is each fl l/+ 101
As it is incorporated into systems and used, it is often used under 51 environmental conditions with many types of noise and VJ, etc., and runaway prevention measures for the operation of these systems are mI! This is a serious problem, and various means for detecting and recovering from runaway have been devised and put into practical use from both hardware and software perspectives.

ハードウェアによる暴走の検出および復旧手段は一般に
CPU内にタイマーを設置することによって行われる。
Hardware runaway detection and recovery means are generally performed by installing a timer within the CPU.

タイマはCPUの動作中に起る事象の見掛は上の91過
時間を例えばミリ秒単位で計るためのクロック信号を供
給する自動刻時装置であってプログラムの適当なステッ
プ闇の所要時間を設定しておくことにより暴走の検出に
使用することができる。
A timer is an automatic clock device that supplies a clock signal to measure the apparent elapsed time of events that occur during CPU operation, for example, in milliseconds. By setting this, it can be used to detect runaway behavior.

第3図は従来の資走検出及び復旧用タイマとして代表的
なデッドマンタイマの回路図である。因において10は
CPUでめって出力端子OUTから必る事9の進行状況
を表わすパルス信号を出力する。デッドマンタイマはこ
のパルス信号の周期が所定の周期であればCPU 10
において上記事象は正常に実行されているものとして何
の処理も行わないが、パルスのI!1期が短くなったと
きは6走と判定しcpuioの端子RESETに対し信
号を印加してCPUをリセットするものである。
FIG. 3 is a circuit diagram of a typical deadman timer as a conventional timer for detecting and restoring funds. In this case, the CPU 10 rarely outputs a pulse signal representing the progress of the process 9 from the output terminal OUT. If the period of this pulse signal is a predetermined period, the deadman timer
In , no processing is performed assuming that the above event is being executed normally, but when the pulse I! When the first period becomes short, it is determined that there are 6 runs, and a signal is applied to the CPUIO terminal RESET to reset the CPU.

第3図の回路の動作について簡単に説明すると、まず端
子0tJTからのパルス信号は?!! RV cc、抵
抗器R1、キャパシタC1,抵抗器R2かうなるCR充
放電回路に印加され、端子OUTの電圧が高レベル(以
下“H”と記す)のときキャパシタC1は電源VCCに
よって充電され、低レベル(以下゛L″と記す)のとき
キャパシタC1の電圧は容1flC1と抵抗!R2とに
よって定まる時定数に従って枚重する。上記充放N0作
中抵抗訝R2とキャパシタC1の接続点P1の電圧を工
充放宵曲轢に基づき変化し、抵抗器R3、ダイオードD
1を介してトランジスタ丁r1のベースに印加される。
To briefly explain the operation of the circuit in Figure 3, first, what is the pulse signal from terminal 0tJT? ! ! RV cc, resistor R1, capacitor C1, and resistor R2 are applied to the CR charging/discharging circuit, and when the voltage at terminal OUT is at a high level (hereinafter referred to as "H"), capacitor C1 is charged by power supply VCC and becomes low. level (hereinafter referred to as "L"), the voltage of the capacitor C1 increases according to the time constant determined by the capacitor 1flC1 and the resistor !R2.During the above charging N0 operation, the voltage at the connection point P1 between the resistor R2 and the capacitor C1 Changes based on the charge and discharge cycle, resistor R3, diode D
1 to the base of transistor R1.

出力端子OUTの“H″および“L”の周期(すなわら
出カバtレスのrEIFtl>が所定の値であればキャ
パシタC1の充7!i時間に十分であり一方放電はゆっ
くり行われるからキャパシタC1の両端電圧は菖く8持
され従って点P1の電圧は低く、トランジスタ丁r1は
オフのままである。その結果トランジスタTr1のフレ
クク(点P2)の電圧は°H″′で、演vi1!幅器A
の反転入力(−)が非反転入力(−)よりも高い電圧と
なるのでその出力は°し−となりトランジスタTr3は
オフのままでf・tつ°CCP U 10の端子RES
ETIユ“H−のままとなるからcpu i oにリセ
11〜はかからない。
If the period of "H" and "L" of the output terminal OUT (i.e., rEIFtl of the output cover tres) is a predetermined value, it is sufficient to charge the capacitor C1 in 7!i time, while discharging is performed slowly. The voltage across the capacitor C1 remains constant, so the voltage at the point P1 is low, and the transistor R1 remains off.As a result, the voltage across the transistor Tr1 (point P2) is °H''', and the voltage at the point P1 remains off. !Breadboard A
Since the inverting input (-) of the inverting input (-) becomes a higher voltage than the non-inverting input (-), its output becomes -, and the transistor Tr3 remains off, and the terminal RES of the CCP U 10 remains off.
Since the ETI remains at "H-", the recycler 11~ will not be applied to the CPU IO.

つぎにCPU 10の出力端子OUTのパルス信号の周
期が所定の値より小さくなると、キャパシタC1の充1
時間が短くなるためキャパシタ01の百″4湿王は低く
なりその結果点P1の4圧(1太き(なって1〜ランジ
スタT「18オンにする。トランジスタTr 1がオン
となるとF:!、P2は“L”となり演弾増幅器、への
出力は°゛H”となる、その結果1−ランジスクTr3
はオンとなり、CPU 10はリセットされる。
Next, when the cycle of the pulse signal at the output terminal OUT of the CPU 10 becomes smaller than a predetermined value, the charging of the capacitor C1 stops.
Since the time becomes shorter, the voltage of the capacitor 01 becomes lower, and as a result, the voltage of the point P1 increases by 1. This turns on the transistor T18. When the transistor Tr1 turns on, F:! , P2 becomes "L" and the output to the bullet amplifier becomes °゛H. As a result, 1-range disk Tr3
is turned on and the CPU 10 is reset.

上記のデッドマンタイマは出力パルスの周期が正常値よ
り短くなったときには有効であるが、それが長くなった
ときまたはパルスを出力せずH′または“L″のままの
ときには動作しないという欠点がある。
The deadman timer described above is effective when the period of the output pulse becomes shorter than the normal value, but it has the disadvantage that it does not work when it becomes longer or when the pulse remains H' or "L" without outputting a pulse. .

(@決しようとする問題点) 本発明は上記従来技術の欠点を除去しあらゆる暴走を検
出し復旧することのできうデッドマンタイマ回路を提供
することを目的とする。
(@Problems to be Solved) It is an object of the present invention to provide a deadman timer circuit which eliminates the drawbacks of the above-mentioned prior art and can detect and recover from any runaway.

〔問題点を解決するための手段〕 本発明によるデッドマンタイマ回路は、CPUから、正
常運転時に1319!間T1の間δレベル、この11間
T1に続くT2の期間低レベルとなる周期的なパルス信
号を受けこのパルス7号の波形が上記からはずれたとき
に暴走と判定して上記CPUをリセットする暴走検出お
共びえ旧回路であって、上記パルス信号の立上りに応じ
て立上り、期17¥IT1の口高レベルを保持した後立
下る信号を出力する第1の信号発生回路と、上記パルス
信号の立下りに応じて立下り、明I!5T2の間低レベ
ルを保持した後立上る信号を出力する第2の信号発生回
路と、上記第1およびw42の信号発生回路の各出力信
号と上記CPUからのパルス信号との各排他的論理和を
求める回路と、これ等各排他的論理和を求める回路のい
ずれかの出力に発生するパルスに基づき上記CPUをリ
セットするための信号を発生する回路とを備えて構成す
る。
[Means for Solving the Problems] The deadman timer circuit according to the present invention receives 1319! from the CPU during normal operation. Receives a periodic pulse signal that has a δ level during the interval T1 and a low level during the period T2 following the 11 interval T1, and when the waveform of this pulse No. 7 deviates from the above, it is determined to be a runaway and the CPU is reset. A first signal generation circuit which is an old runaway detection circuit and outputs a signal that rises in response to the rise of the pulse signal and falls after maintaining the peak level of period 17\IT1, and the pulse signal Falling in accordance with the falling of the light I! a second signal generation circuit that outputs a signal that rises after maintaining a low level for 5T2, and exclusive OR of each output signal of the first and w42 signal generation circuits and the pulse signal from the CPU; and a circuit that generates a signal for resetting the CPU based on a pulse generated at the output of one of the circuits for calculating exclusive OR.

〔作用〕[Effect]

上記の偶成によるデッドマンタイマ回路は、CPLJが
正常時には、第1および第2の各信号発生回路の出力波
形はCPLJから供給される波形と同一であるので各排
他的論理和回路からの出力は常に低レベルのままであり
て従りて°CPUをリセットするため信号は発生しない
In the above-mentioned deadman timer circuit, when CPLJ is normal, the output waveforms of the first and second signal generation circuits are the same as the waveforms supplied from CPLJ, so the output from each exclusive OR circuit is always It remains low and therefore no signal is generated to reset the CPU.

しかしCPtJから供給される信号の周期が正常時より
短(又は長くなるかもしくは信号レベルが高レベル又は
低レベルのままになり放しになると、第1および第2の
信号発生回路の出力信号におけるパルスの立上り又は立
下りの時期とCPtJから供給されるパルス信号の立上
り又は立下りの時期との間に差が生じその着分の幅の高
レベルのパルスがいずれかの排他的論理和回路の出力信
号に現われ、これによってCPLIをリセットするもの
である。
However, if the period of the signal supplied from CPtJ becomes shorter (or longer) than normal, or the signal level remains high or low, the pulses in the output signals of the first and second signal generation circuits There is a difference between the rising or falling timing of CPtJ and the rising or falling timing of the pulse signal supplied from CPtJ, and a high-level pulse with a width corresponding to that difference is output from one of the exclusive OR circuits. signal, which resets the CPLI.

〔実施例〕〔Example〕

以下本発明について図面を参照して詳報に説明する。 The present invention will be described in detail below with reference to the drawings.

第1図は本発明によるデッドマンタイマ回路の一1!施
例の回路図である。
FIG. 1 shows part 1 of the deadman timer circuit according to the present invention! It is a circuit diagram of an example.

1は本デッドマンタイマ回路の暴走検出および復旧動作
の対象となるCPLJを示し、出力端子0LJTから所
定の事象の生起の正常性を表わすパルス信号を出力する
。この正常性の尺度はパルス幅とし、正常時には″H−
レベルがjf1問TIの1!!l続いた侵″L″レベル
がw1間T2の間続きこれを周期的に繰返すように設定
される。このパルス信号の波形の[IPJが崩れたとき
に暴走と判定する。CPU1のRESETI子はリセッ
ト信号の入力端子を示t、RESETの文字の上のパー
は、この端子が正常時は“H“に保持されておりリセッ
ト動作は行われないがL″′のパルスが入力したときe
J’ff状態となりCP Ll 1をリセットするもの
であることを表わす。
Reference numeral 1 indicates CPLJ, which is the object of the runaway detection and recovery operation of this deadman timer circuit, and outputs a pulse signal representing the normality of the occurrence of a predetermined event from the output terminal 0LJT. The measure of this normality is the pulse width, and when normal, ``H-
Level 1 of jf1 question TI! ! It is set so that the continuous "L" level continues for w1 and T2 and is repeated periodically. Runaway is determined when the IPJ of the waveform of this pulse signal collapses. The RESETI child of CPU1 indicates the input terminal of the reset signal, and the par above the RESET character indicates that this terminal is held at "H" during normal operation and no reset operation is performed, but when the pulse of L''' is When inputting e
This indicates that the state is J'ff and CP Ll 1 is reset.

2および3は塁安定マルチバイブレータ(モノステーブ
ルマルチバイブレータ、尉下モノマルチと記t)であり
、各入力端子AはCPIJlの端子Of、ITと接続さ
れる。モノマルチ2t9よび3の入力端子Bはそれぞれ
H′およびL″′に保持されるように接続する。
Reference numerals 2 and 3 are stable multivibrators (mono stable multivibrators, written as "mono multi"), and each input terminal A is connected to the terminals Of and IT of CPIJl. The input terminals B of the monomultis 2t9 and 3 are connected to be held at H' and L''', respectively.

モノマル4−2は端子6へが“H“レベルになると出力
端子Qは“H”レベルとなり、期間T1の閏“H”レベ
ルを保持したち°の“L″レベル戻るようにキャパシタ
C1および抵抗!R1による時定数が選定される。
In the monomulti 4-2, when the terminal 6 goes to the "H" level, the output terminal Q goes to the "H" level, and the capacitor C1 and the resistor are connected so as to maintain the "H" level during the period T1 and then return to the "L" level. ! A time constant is selected by R1.

モノマルチ3は端子、へが“L″ルベルなると出力端子
σが“し”となりW1間T2の間“L“レベルを、保持
し侵”H”に戻るようにキャパシタC2および抵抗器R
2による時定数が選定される。
The monomulti 3 is connected to the capacitor C2 and the resistor R so that when the level reaches the "L" level, the output terminal σ goes "off" and maintains the "L" level between W1 and T2, and returns to "H".
A time constant of 2 is selected.

モノマルチ2の出力端子Qおよび入力端子Aは排他的論
理引回114の2つの入力に接続され、モノマルチ3の
出力端子Qおよび入力端子Aは排他的論理和回路5の2
つの入力に接続される。排他的論理和回路15よび5の
各出力は論理和回路6の各入力と接続され、論理和回路
6の出力はモノマルチ7の入力端子Aと接続される。モ
ノマルチ7の概能はモノマルチ2と同種でありキャパシ
タC3I3よび抵抗器R3はCPUIをリセットするた
めの適当なパルス幅が愕られるように選定される。
The output terminal Q and input terminal A of the monomulti 2 are connected to the two inputs of the exclusive logic circuit 114, and the output terminal Q and the input terminal A of the monomulti 3 are connected to the two input terminals of the exclusive OR circuit 5.
connected to two inputs. Each output of exclusive OR circuits 15 and 5 is connected to each input of OR circuit 6, and the output of OR circuit 6 is connected to input terminal A of monomulti 7. The functionality of MonoMulti 7 is similar to MonoMulti 2, and capacitor C3I3 and resistor R3 are selected to provide an appropriate pulse width to reset the CPUI.

モノマルチ2.35よび7は端子CBにL”のR8信号
が入力されると無条件にリセットされる。
Monomultis 2.35 and 7 are reset unconditionally when the R8 signal of "L" is input to the terminal CB.

モノマルチ7の出力端子QはNOR回路9の一方の入力
と接続される。このNOR回路9の他方の入力は、リセ
ット信号R8を出力するリセット回路1oの出力と接続
される。NOR回路9の出力はCPtJlの端子RES
ETと接続される。
The output terminal Q of the monomulti 7 is connected to one input of the NOR circuit 9. The other input of this NOR circuit 9 is connected to the output of a reset circuit 1o that outputs a reset signal R8. The output of the NOR circuit 9 is the terminal RES of CPtJl.
Connected to ET.

以下第1因の回路の動作について説明する。第2図は第
1図の回路の丸印を付した番号の位置にあける信号の時
間的変化の一例を示すタイミングチャートである。信号
S 11.t CP U 1の出力信号である。
The operation of the circuit causing the first factor will be explained below. FIG. 2 is a timing chart showing an example of temporal changes in the signals placed at the positions marked with circles in the circuit of FIG. Signal S 11. t is the output signal of CPU 1.

各回路要素のλ能から明らかなように信号52(J信号
S1の立上りに応じて立上りT1のwI間”H”を保持
した1喪立下る信号であり、信号S3は信号S1の立下
りに応じて立下りのT2の期間′L”を保持した後立下
る信号である。信号S4は信号S1と信号S2の各レベ
ルが一致している期間11 L IIとなり信号S5は
信号S1と信@S3の各レベルが一致している期間“L
”となる。また信@S6は信号84あるいはS5が°゛
H”となる期間“H″となる。信号S7は信@S6の立
上りに応じて立上り期間T3の間“H″′を保持した後
立下る。
As is clear from the lambda performance of each circuit element, the signal 52 (J is a signal that maintains "H" during the rising edge of T1 and falls in response to the rising edge of the signal S1, and the signal S3 falls in response to the falling edge of the signal S1). Accordingly, this is a signal that falls after holding the falling period 'L' of T2.The signal S4 is a period 11 L II in which each level of the signal S1 and signal S2 is the same, and the signal S5 is the signal S1 and the signal @ Period “L” during which each level of S3 is consistent
”. Also, the signal @S6 is “H” during the period when the signal 84 or S5 is “H”. The signal S7 maintains "H" during the rising period T3 in response to the rising of the signal @S6, and then falls.

第2因に示す時間区間aにおいてはcpu iは正常で
あるとすると信号$1は期間1丁においてH”1.期間
T2において“L″′となるI!!1期的信号であるか
ら信号52r3よびS3は信号S1と同一となり、その
結果信号84,85.86.37はいずれも°″L”の
ままであり、従ってCPU 1はリセットされない。
Assuming that cpu i is normal in the time interval a shown in the second factor, the signal $1 is an I!!1 period signal that becomes H"1 in period 1 and "L"' in period T2, so the signal 52r3 and S3 will be the same as signal S1, so that signals 84, 85, 86, 37 will both remain at 'L' and therefore CPU 1 will not be reset.

区115bは信号S1の始めの半周期がT1より短くな
った場合を示し、このとき信号S1と$2の立下り時期
に差が生じこの4分の幅の“H”のパルスが信号S4に
現われる。信号S5にはパルスは生じない。信号S4の
パルスは信号S6のパルスとなり、このパルスの立上り
によって信号S7のリセットパルスが形成され、これに
よってCPU1はリセットされる。
Section 115b shows a case where the first half period of signal S1 is shorter than T1, and at this time, there is a difference in the falling timing of signals S1 and $2, and this “H” pulse with a width of 4 is applied to signal S4. appear. No pulses occur in signal S5. The pulse of the signal S4 becomes the pulse of the signal S6, and the rise of this pulse forms the reset pulse of the signal S7, thereby resetting the CPU 1.

期間Cは信@S1の後半周期がT2よりも短くなった場
合を示し、この場合は信号S1と83の立上りに差が生
じこの差分の幅のパルスが信号S5に現われ、これが信
号$6となり、この信号S6の立上りによって信号S7
が立上りその結果CPL11はリセットされる。
Period C indicates a case where the second half of the cycle of signal @S1 is shorter than T2. In this case, there is a difference in the rise of signals S1 and 83, and a pulse with the width of this difference appears in signal S5, which becomes signal $6. , due to the rise of this signal S6, the signal S7
rises, and as a result, CPL 11 is reset.

区1’0!dは信号$1が“H”になりつ枚しの場合を
示し、信号$2は立上)て期間T1の閏“H“を保持し
た後立下りその侵は“し”のままとなり、信83は11
11i8T2を経過して立上った侵は“H“のままとな
る。その結果この区間dl、:r)いては信@S4は最
初の期間T1を除きH°°となり一方の信号S5は“L
 ”のままである、信@S4はそのまま信号S6となり
、この信号S6の立上りに応じてリセット化@S7が立
上りCPU1をリセットする。
Ward 1'0! d shows the case where the signal $1 goes to "H" and continues, and the signal $2 rises (rises) and holds "H" for the period T1, then falls and remains "off". Shin83 is 11
The signal that rises after 11i8T2 remains at "H". As a result, in this period dl, :r), the signal @S4 becomes H°° except for the first period T1, and one signal S5 becomes “L”.
The signal @S4, which remains as ``, becomes the signal S6 as it is, and in response to the rise of this signal S6, the reset @S7 rises and resets the CPU1.

晟侵に区1115gは信号S1がL”のままの場合を示
し、信号$3は5初立下り期III!T2の間“L”を
保持した後立下りその後は“H″を保持したままとなり
、信号S2は“L”のままである。従って信号S4は立
下ったままとなり信号S5はl&初の期間T2を除いて
“H“のままとなる。その結果R初のw4間T2の終り
において信号S6が立上りそれに応じてリセットパルス
S7が立上りCPU1をリセットする。
1115g shows the case where the signal S1 remains at "L", and the signal $3 remains at "L" during the first falling period III!T2 and then remains at "H" after falling. Therefore, the signal S2 remains at "L". Therefore, the signal S4 remains falling, and the signal S5 remains at "H" except for the first period T2 of l&.As a result, the period T2 during the first w4 of R At the end, the signal S6 rises, and in response, the reset pulse S7 rises and resets the CPU1.

〔効果〕〔effect〕

本発明によるデッドマンタイマ回路は、CPUからのパ
ルス信号の周期が短くなった場合は勿論、それが長くな
ったときあるいはH”レベルまたは“L“レベルになっ
たままの場合においてもそれを噴出してCPUをリセッ
トすることができるので対応可能な暴走g擾が広く、唖
めて費用効果の高い暴走検出および1旧手段牙提供する
ものである。
The deadman timer circuit according to the present invention emits the pulse signal not only when the period of the pulse signal from the CPU becomes short, but also when it becomes long or when it remains at the "H" level or "L" level. Since the CPU can be reset at any time, a wide range of runaway disturbances can be handled, and it also provides cost-effective runaway detection and an old method.

【図面の簡単な説明】[Brief explanation of the drawing]

第1因は本発明の一實施例の回路図、第2図は第1図の
回路のvJ作説明のための信号のタイミングチャート、
jF!3図は従来のデッドマンタイマの回f8図である
。 1・・・・・・CPU、 2・・・・・・′M1の信号発生回路、3・・・・・・
菊2の信号発生回路、 4.5・・・・・・排他的論理和を求める回路、6.7
.9・・・・・・CPUをリセットするための信号を発
生する回路。 出願人 日本電気ホームエレク1−ロニクス株式会社
The first factor is a circuit diagram of a practical embodiment of the present invention, and FIG. 2 is a signal timing chart for explaining the VJ operation of the circuit in FIG.
jF! FIG. 3 is an F8 diagram of a conventional deadman timer. 1...CPU, 2...'M1 signal generation circuit, 3...
Kiku 2 signal generation circuit, 4.5...Circuit for calculating exclusive OR, 6.7
.. 9...Circuit that generates a signal to reset the CPU. Applicant: NEC Home Electronics Co., Ltd.

Claims (1)

【特許請求の範囲】 1、CPUから、正常運転時には期間T1の間高レベル
、この期間T1に続くT2の期間低レベルとなる周期的
なパルス信号を受けこのパルス信号の波形が前記からは
ずれたときに暴走と判定して前記CPUをリセットする
暴走検出および復旧回路であって、 前記パルス信号の立上りに応じて立上り、期間T1の間
高レベルを保持した後立下る信号を出力る第1の信号発
生回路と、 前記パルス信号の立下りに応じて立下り、期間T2の間
低レベルを保持した後立上る信号を出力する第2の信号
発生回路と、 前記第1および第2の信号発生回路の各出力信号と前記
CPUからのパルス信号との各排他的論理和を求める回
路と、 これ等各排他的論理和を求める回路のいずれかの出力に
発生するパルスに基づき前記CPUをリセットするため
の信号を発生する回路とを備えたことを特徴とするデッ
ドマンタイマ回路。
[Claims] 1. A periodic pulse signal is received from the CPU which is at a high level during a period T1 during normal operation and is at a low level during a period T2 following this period T1, and the waveform of this pulse signal deviates from the above. a runaway detection and recovery circuit that sometimes determines a runaway and resets the CPU; a signal generation circuit; a second signal generation circuit that outputs a signal that falls in response to the fall of the pulse signal, maintains a low level for a period T2, and then rises; and the first and second signal generation circuits. A circuit that calculates each exclusive OR of each output signal of the circuit and a pulse signal from the CPU, and a reset of the CPU based on a pulse generated in the output of any one of the circuits that calculates each of these exclusive ORs. A deadman timer circuit comprising: a circuit for generating a signal for the deadman timer circuit;
JP59241721A 1984-11-16 1984-11-16 Deadman's timer circuit Pending JPS61120249A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59241721A JPS61120249A (en) 1984-11-16 1984-11-16 Deadman's timer circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59241721A JPS61120249A (en) 1984-11-16 1984-11-16 Deadman's timer circuit

Publications (1)

Publication Number Publication Date
JPS61120249A true JPS61120249A (en) 1986-06-07

Family

ID=17078545

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59241721A Pending JPS61120249A (en) 1984-11-16 1984-11-16 Deadman's timer circuit

Country Status (1)

Country Link
JP (1) JPS61120249A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63298448A (en) * 1987-05-28 1988-12-06 Matsushita Electric Ind Co Ltd Automatic resetting device for microcomputer
JPH026343U (en) * 1988-06-27 1990-01-17

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5844645B2 (en) * 1982-02-19 1983-10-04 製鉄化学工業株式会社 Improved manufacturing method for incense sticks
JPS5844646B2 (en) * 1974-11-11 1983-10-04 株式会社日立製作所 methanation reactor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5844646B2 (en) * 1974-11-11 1983-10-04 株式会社日立製作所 methanation reactor
JPS5844645B2 (en) * 1982-02-19 1983-10-04 製鉄化学工業株式会社 Improved manufacturing method for incense sticks

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63298448A (en) * 1987-05-28 1988-12-06 Matsushita Electric Ind Co Ltd Automatic resetting device for microcomputer
JPH026343U (en) * 1988-06-27 1990-01-17

Similar Documents

Publication Publication Date Title
JP4464451B2 (en) Microcontroller
US5341497A (en) Method and apparatus for a computer system to detect program faults and permit recovery from such faults
EP0186832A2 (en) Memory device
JPS5911998B2 (en) Data check method
JPS61120249A (en) Deadman's timer circuit
US4404545A (en) Analog-to-digital converter of the dual slope type
US5892705A (en) Apparatus for maintaining non-volatility in ferroelectric ramdom access memory and method therefor
US5652836A (en) CPU reset circuit
KR920007509B1 (en) Micro-processor overrun supervising circuit
KR100257597B1 (en) Watch dog timer circuit
KR20030007843A (en) Watchdog arrangement
JPS5811769B2 (en) Periodic pulse check method
JPH0436426B2 (en)
SU1667280A1 (en) Device for checking and backing up computer-aided data and measurementsystems
KR0159407B1 (en) Apparatus for sensing power failure in micom
SU1005060A2 (en) Device for checking command memory-processor data channel
SU1548787A1 (en) Device for checking counters
SU1383368A1 (en) Device for checking digital units
SU1205193A1 (en) Device for memory protection in case of power supply disconnection
SU1200335A1 (en) Buffer storage
JPH0334689B2 (en)
SU1367045A1 (en) Memory-checking device
JPH0254981B2 (en)
JP3123856B2 (en) Memory backup control circuit
JP3963135B2 (en) Nonvolatile memory test control method