JPH03250226A - Watchdog timer - Google Patents

Watchdog timer

Info

Publication number
JPH03250226A
JPH03250226A JP2170285A JP17028590A JPH03250226A JP H03250226 A JPH03250226 A JP H03250226A JP 2170285 A JP2170285 A JP 2170285A JP 17028590 A JP17028590 A JP 17028590A JP H03250226 A JPH03250226 A JP H03250226A
Authority
JP
Japan
Prior art keywords
circuit
output
signal
frequency
counter
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
JP2170285A
Other languages
Japanese (ja)
Inventor
Hajime Miyazaki
肇 宮崎
Masaaki Handa
半田 正明
Tasuke Uehara
太介 上原
Tsukasa Muranaka
司 村中
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2170285A priority Critical patent/JPH03250226A/en
Priority to KR1019910000871A priority patent/KR910014609A/en
Priority to DE69118216T priority patent/DE69118216T2/en
Priority to EP91300474A priority patent/EP0439327B1/en
Priority to US07/644,704 priority patent/US5157699A/en
Priority to CN91100509A priority patent/CN1053664A/en
Publication of JPH03250226A publication Critical patent/JPH03250226A/en
Priority to US07/963,888 priority patent/US5248904A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、クロック発振回路を有する電気回路の動作状
態を判定するウォッチドッグタイマーに関するものであ
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a watchdog timer that determines the operating state of an electric circuit having a clock oscillation circuit.

[従来の技術] 最近の電子回路は、時間の基準や信号処理をするため、
或いは他の機器とのタイミングを取るために内部にクロ
ック回路を内蔵するものが多くなっている。これらの電
子回路が正常に動作しているかを監視する方法としてウ
ォッチドッグタイマーが使われている。
[Prior Art] Recent electronic circuits use time standards and signal processing.
In addition, many devices have built-in clock circuits to maintain timing with other devices. A watchdog timer is used as a method to monitor whether these electronic circuits are operating normally.

第2図は従来のウォッチドッグタイマーのブロック図で
ある。図において、201はCPU、202はウォッチ
ドッグタイマー、203は水晶振動子、204はCP 
U 201から出力されるクロック信号であり、205
はウォッチドッグタイマー202から出力されるリセッ
ト信号である。
FIG. 2 is a block diagram of a conventional watchdog timer. In the figure, 201 is a CPU, 202 is a watchdog timer, 203 is a crystal oscillator, and 204 is a CPU.
A clock signal output from U 201, and 205
is a reset signal output from the watchdog timer 202.

ウォッチドッグタイマー202は、CP U 2(II
から出力されるクロック信号204を監視しており、正
常時において設定された周期のクロック信号204が入
力している間はリセット信号を出力しない。
The watchdog timer 202 runs on the CPU 2 (II
It monitors the clock signal 204 output from the controller, and does not output a reset signal while the clock signal 204 with the period set in the normal state is input.

CP U 201の暴走などによりクロック信号204
が入力しなくなると、ウォッチドッグタイマー202は
リセット信号205を出してCP U 201にリセッ
トをかける働きをする。
The clock signal 204 may be damaged due to runaway of the CPU 201, etc.
When no longer input, the watchdog timer 202 outputs a reset signal 205 to reset the CPU 201.

[発明が解決しようとする課題〕 従来のウォッチドッグタイマー202としては、クロッ
ク信号204をトリガ信号とするモノマルチバイブレー
タを用いたものや、クロック信号204をリセット信号
とするタイマーを用いたもの等がある。
[Problems to be Solved by the Invention] Conventional watchdog timers 202 include those that use a mono multivibrator that uses the clock signal 204 as a trigger signal, and those that use a timer that uses the clock signal 204 as a reset signal. be.

しかし、いずれのものもクロック信号204が正常時よ
りも周波数が低くなった場合には検出可能であるが、ク
ロック信号204が正常時よりも周波数が高くなった場
合には検出できないという問題点があった。
However, in either case, it is possible to detect when the frequency of the clock signal 204 becomes lower than when it is normal, but it cannot be detected when the frequency of the clock signal 204 becomes higher than when it is normal. there were.

本発明は、このような問題点を解決するためになされた
ものであり、クロック信号の周波数が正常時よりも低い
ときは勿論高いときにも検出することを可能にしたウォ
ッチドッグタイマーを提供することを目的とする。
The present invention has been made to solve these problems, and provides a watchdog timer that can detect not only when the frequency of the clock signal is lower than normal but also when it is higher. The purpose is to

[課題を解決するための手段] 本発明に係るウォッチドッグタイマーは、第1の発振周
波数f1を出力する第1のクロック発振回路と、第2の
発振周波数f2を出力する第2のクロック発振回路と、
第1の発振周波数f1を1/N1分周する第1の分周回
路と、第1の発振周波数f を1/N2分周する第2の
分周回路と、■ 第2のの発振周波数f を1/N3分周する第3の分周
回路と、第2のの発振周波数f2を1/N4分周する第
4の分周回路とを有する。更に、第1の分周回路の出力
周波数f、/N、をクロック入力とし、第3の分周回路
の出力波数f2/N3の信号をリセット入力し、正常時
においてf /N /N5〈f2/N3と設定してなる
1 N5進カウンターと、第4の分周回路の出力周波数f2
/N4をクロック入力とし、周波数f1/N2の信号を
リセット入力し、正常時においてt、、/N4/N、<
f1/N、、と設定してなるN 道カウンターと、N5
遭進カウンター又は及び前記NB道カウンターの出力に
基づいて異常の有無を判定する判定回路とを有する。前
記の第4の分周回路は第3の分周回路で兼用してもよい
[Means for Solving the Problems] A watchdog timer according to the present invention includes a first clock oscillation circuit that outputs a first oscillation frequency f1, and a second clock oscillation circuit that outputs a second oscillation frequency f2. and,
A first frequency divider circuit that divides the first oscillation frequency f1 by 1/N1, a second frequency divider circuit that divides the first oscillation frequency f1 by 1/N2, and a second oscillation frequency f. The third frequency dividing circuit divides the second oscillation frequency f2 by 1/N3, and the fourth frequency dividing circuit divides the second oscillation frequency f2 by 1/N4. Furthermore, the output frequency f, /N of the first frequency divider circuit is used as a clock input, and the signal of the output wave number f2/N3 of the third frequency divider circuit is reset input, so that f /N /N5 < f2 The output frequency f2 of the 1N quinary counter and the fourth frequency divider circuit is set as /N3.
/N4 is used as a clock input, and a signal of frequency f1/N2 is reset input, and in normal state, t, , /N4/N, <
f1/N, , N road counter and N5
and a determination circuit that determines the presence or absence of an abnormality based on the output of the escape counter or the NB way counter. The fourth frequency dividing circuit may also be used as a third frequency dividing circuit.

また、本発明に係るウォッチドッグタイマーは、N 進
カウンター又はN6進カウンターを構成する複数個のフ
リップフロップ回路にリセット信号が入力する前後にお
けるフリップフロップ回路の出力の変化の有無を検出す
るカウンタチェック回路を有する。
Furthermore, the watchdog timer according to the present invention is a counter check circuit that detects the presence or absence of a change in the output of a flip-flop circuit before and after a reset signal is input to a plurality of flip-flop circuits constituting an N-ary counter or an N-6 counter. has.

このカウンタチェック回路は、N5進カウンター又はN
6進カウンターはのフリップフロップ回路をリセットす
る信号より位相が進んだ信号をクロック信号として入力
し、そのフリップフロップ回路からの出力をデータ端子
に入力するD型フリップフロップ回路と、このD型フリ
ップフロップ回路の出力と前記フリップフロップ回路か
らの反転出力を入力するナンドゲート回路と、このナン
ドゲート回路の出力をデータ端子に入力し、前記リセッ
ト信号をクロック端子に入力するD型フリップフロップ
回路とから構成されている。
This counter check circuit is an N5-ary counter or N
The hexadecimal counter has a D-type flip-flop circuit that inputs as a clock signal a signal whose phase is more advanced than the signal that resets the flip-flop circuit, and inputs the output from the flip-flop circuit to the data terminal, and this D-type flip-flop circuit. It consists of a NAND gate circuit which inputs the output of the circuit and the inverted output from the flip-flop circuit, and a D-type flip-flop circuit which inputs the output of this NAND gate circuit to a data terminal and inputs the reset signal to a clock terminal. There is.

[作 用〕 本発明においては、第1の発振回路、第2の発振回路又
は第1の分周回路〜第3の分周回路に異常が発生してそ
れらの出力周波数が所定の値より高くなったり或いは低
くなると、N5進カウンター又はN6進カウンターがそ
の異常を検出する。
[Function] In the present invention, if an abnormality occurs in the first oscillation circuit, the second oscillation circuit, or the first frequency dividing circuit to the third frequency dividing circuit, the output frequency thereof becomes higher than a predetermined value. If it becomes low or low, the N5 or N6 counter detects the abnormality.

また、N 進カウンター又はN6進カウンター自体の動
作に異常が発生した場合には、カウンタチェック回路が
それを検出して異常を知らせる。
Further, if an abnormality occurs in the operation of the N-ary counter or the N-6 counter itself, the counter check circuit detects it and notifies the abnormality.

[実施例コ 本発明の実施例を図に基づいて説明する。第1図は本発
明の一実施例に係るウォッチドッグタイマーのブロック
図である。図において、101は発振周波数かfiの第
1のクロック発振回路であり、102は発振周波数がf
2の第2のクロック発振回路である。103はflを1
/N1分周する分周回路であり、104はflを1/N
2分周する分周回路である。105はf2を1/N3分
周する分周回路であり、106はf2を1/N4分周す
る分周回路である。107は分周回路103からの周波
数f1/N、の信号をクロック入力とし、分周回路10
5からの周波数f2/N3の信号をリセット入力とする
N5進カウンターであり、108は分周回路106から
の周波数f2/N4の信号をクロック入力とし、分周回
路104からの周波数f1/N2の信号をリセット入力
とするN6進カウンターである。109はN5進カウン
ター107の出力信号110或いはN6進カウンター1
08からの出力信号111を判定する判定回路である。
[Example] An example of the present invention will be described based on the drawings. FIG. 1 is a block diagram of a watchdog timer according to an embodiment of the present invention. In the figure, 101 is a first clock oscillation circuit with an oscillation frequency of fi, and 102 is a first clock oscillation circuit with an oscillation frequency of f.
This is the second clock oscillation circuit of No. 2. 103 is fl 1
/N1 is a frequency dividing circuit, and 104 is a frequency dividing circuit that divides fl by 1/N.
This is a frequency dividing circuit that divides the frequency by two. 105 is a frequency dividing circuit that divides f2 by 1/N3, and 106 is a frequency dividing circuit that divides f2 by 1/N4. 107 uses a signal of frequency f1/N from the frequency divider circuit 103 as a clock input, and the frequency divider circuit 10
108 is an N 5-ary counter which receives the signal of frequency f2/N3 from frequency dividing circuit 106 as a reset input, and 108 receives the signal of frequency f2/N4 from frequency dividing circuit 106 as clock input, and receives the signal of frequency f1/N2 from frequency dividing circuit 104. This is an N hexadecimal counter that uses a signal as a reset input. 109 is the output signal 110 of the N5 counter 107 or the N6 counter 1
This is a determination circuit that determines the output signal 111 from 08.

次にこのウォッチドッグタイマーの動作について説明す
る。
Next, the operation of this watchdog timer will be explained.

N 進カウンター107は周波数f  /N1の信1 号をクロック入力としてカウントし、N5カウントする
毎に出力信号110を出力するようになっているが、正
常動作時においては、f/N1/N  <f  /N 
 となるような周波数f2/N35   2   3 の信号でN5進カウンターにリセットがかけられるので
出力信号110は出力されない。
The N-ary counter 107 counts the signal 1 with the frequency f/N1 as a clock input, and outputs the output signal 110 every time it counts N5, but during normal operation, f/N1/N < f/N
Since the N5-ary counter is reset with a signal of frequency f2/N35 2 3 such that the output signal 110 is not output.

同様にして、N6進カウンター108は周波数f2/N
4の信号をクロック入力としてカウントし、N6カウン
トする毎に出力信号111を出力するようになっている
が、正常動作時においては、f /N /N <f /
N2となるような周波2   4   6   1 数f  /N  の信号でN6進カウンターにリセツ2 トがかけられるので出力信号1]1は出力されない。
Similarly, the N hexadecimal counter 108 has a frequency f2/N
4 is counted as a clock input, and the output signal 111 is output every time N6 is counted. During normal operation, f /N /N < f /
Since the N hexadecimal counter is reset with a signal having a frequency of 2 4 6 1 number f /N such that N2, the output signal 1]1 is not output.

そして、判定回路109は出力信号110及び出力信号
111のいずれも入力してこない場合には回路動作が正
常であると判定する。
Then, when neither the output signal 110 nor the output signal 111 is input, the determination circuit 109 determines that the circuit operation is normal.

例えば、第1のクロック発振回路101又は分局回路1
04に異常があって周波数f  /N2が低くなった場
合には、N6進カウンター108に所定のタイミングで
リセット信号が供給されないので出力信号111が出力
され、これを受けた判定回路109は回路動作が異常で
あると判断する。同様にして、第2のクロック信号発振
回路102又は分周回路105に異常があって周波数f
 /N3が低くなった場合にはN5進カウンター107
から出力信号110が出力され、これを受けた判定回路
109は回路動作が異常であると判断する。
For example, the first clock oscillation circuit 101 or the branch circuit 1
04 and the frequency f/N2 becomes low, the reset signal is not supplied to the N hexadecimal counter 108 at the predetermined timing, so the output signal 111 is output, and the judgment circuit 109 that receives this outputs the circuit operation. is judged to be abnormal. Similarly, if there is an abnormality in the second clock signal oscillation circuit 102 or the frequency dividing circuit 105, the frequency f
/If N3 becomes low, N5 decimal counter 107
An output signal 110 is output from the circuit, and the determination circuit 109 that receives this determines that the circuit operation is abnormal.

また、第1のクロック発振回路1(]1又は分周回路1
03に異常があって周波数f、/N、が高くなった場合
には、N5進カウンター107から出力信号110が出
力され、これを受けた判定回路109は回路動作が異常
であると判断する。同様にして、第2のクロック発振回
路102又は分周回路106に異常があって周波数f 
2 / N 4が高くなった場合にはN6進カウンター
108から出力信号111が出力され、これを受けた判
定回路109は回路動作が異常である判断する。
Also, the first clock oscillation circuit 1(]1 or the frequency dividing circuit 1
03 and the frequency f,/N becomes high, the N-5 counter 107 outputs an output signal 110, and upon receiving this, the determination circuit 109 determines that the circuit operation is abnormal. Similarly, if there is an abnormality in the second clock oscillation circuit 102 or the frequency dividing circuit 106, the frequency f
When 2/N4 becomes high, the N hexadecimal counter 108 outputs an output signal 111, and upon receiving this, the determination circuit 109 determines that the circuit operation is abnormal.

第3図は第1図のウォッチドッグタイマーの詳細を示し
た回路図である。101 、102はそれぞれ第1及び
第2のクロック発振回路であり、本実施例においては発
振周波数を(fl−f2−32768Hz)としている
。302は分周回路であり、第1のクロック発振回路か
らの32768 Hzのクロック信号を分周して、25
6 Hzのクロック信号318と64Hzのクロック信
号319及びクロック信号318 、319より高い周
波数のクロック信号317を出力する。
FIG. 3 is a circuit diagram showing details of the watchdog timer of FIG. 1. 101 and 102 are first and second clock oscillation circuits, respectively, and in this embodiment, the oscillation frequency is (fl-f2-32768 Hz). 302 is a frequency divider circuit which divides the 32768 Hz clock signal from the first clock oscillation circuit to 25
A clock signal 318 of 6 Hz, a clock signal 319 of 64 Hz, and a clock signal 317 having a higher frequency than the clock signals 318 and 319 are output.

103aは入力信号を1/3分周する分周回路であり、
前段の分周回路302と合わせて周波数f、(−327
88Hz)を1/384分周(N、 −384) して
クロック信号314(256/ 3 Hz)を出力する
。104aは入力信号を115分周する分周回路であり
、前段の分周回路302と合わせて周波数f 2(−3
2768Hz)を1/2580分周(N2−2560)
 してクロック信号315  (84/ 5 Hz)を
出力する。105は入力信号1/N3分周する分周回路
であり、本実施例では分周回路10Bと兼用しており、
N3−N4−1024で、327[18HzのりO−/
り信号を1/1024分周してクロック信号31B  
(82Hz)を出力する。
103a is a frequency dividing circuit that divides the frequency of the input signal by 1/3;
Together with the frequency dividing circuit 302 in the previous stage, the frequency f, (-327
88 Hz) is divided by 1/384 (N, -384) and outputs a clock signal 314 (256/3 Hz). 104a is a frequency divider circuit that divides the input signal by 115, and together with the frequency divider circuit 302 in the previous stage, the frequency f2(-3
2768Hz) divided by 1/2580 (N2-2560)
and outputs a clock signal 315 (84/5 Hz). 105 is a frequency dividing circuit that divides the frequency of the input signal by 1/N3, and in this embodiment, it is also used as the frequency dividing circuit 10B.
N3-N4-1024, 327[18Hz glue O-/
The clock signal 31B is obtained by dividing the frequency of the signal by 1/1024.
(82Hz).

なお、クロック信号317は分周回路103 、104
 。
Note that the clock signal 317 is transmitted through the frequency dividing circuits 103 and 104.
.

105内の微分回路でクロック信号314 315.3
16をそれぞれ幅の狭いパルス状にするためのクロック
信号である。
Clock signal 314 315.3 in the differential circuit in 105
This is a clock signal for making each signal 16 into a narrow pulse.

107はN5進カウンターであり、D型フリップフロッ
プ303 、304 、305から構成され、110を
出力信号とする4道カウンター(N5−4)となってい
る。306はORゲートであり、システムリセット信号
301又はクロック信号31BがrHJになるとD型フ
リップフロップ808 、304 、305にリセット
がかかる。
Reference numeral 107 denotes an N-quinary counter, which is composed of D-type flip-flops 303, 304, and 305, and is a four-way counter (N5-4) that outputs 110 as an output signal. 306 is an OR gate, and when the system reset signal 301 or the clock signal 31B becomes rHJ, the D-type flip-flops 808, 304, and 305 are reset.

108はN6進カウンターであり、D型フリップフロッ
プ307 、308 、309から構成され、111を
出力とする4進カウンター(N6−4)となっている。
108 is an N hexadecimal counter, which is composed of D-type flip-flops 307, 308, and 309, and is a quaternary counter (N6-4) with 111 as an output.

310はORゲートであり、システムリセット信号30
1又はクロック信号315がrHJとなるとD型フリッ
プフロップ307 、308 、309にリセットがか
かる。
310 is an OR gate, and system reset signal 30
1 or when the clock signal 315 becomes rHJ, the D-type flip-flops 307, 308, and 309 are reset.

109は判定回路であり、D型フリップフロップ311
、 、312とNORゲート313から構成されており
、出力信号110又は111がrHJからrLJになる
と出力324はrLJになる。
109 is a determination circuit, which includes a D-type flip-flop 311
, , 312 and a NOR gate 313, and when the output signal 110 or 111 changes from rHJ to rLJ, the output 324 becomes rLJ.

次に、本実施例の動作を説明する。Next, the operation of this embodiment will be explained.

第4図は正常の動作を示すタイミングチャートである。FIG. 4 is a timing chart showing normal operation.

まず、システムリセット信号301により全ての回路が
がリセットされる。4進カウンター107はクロック信
号314  (256/ 3 Hz)をカウントするが
、正常時においては、f /N1/N5■ −82788/ 384 74 Hz ’= 21−3
Hz< f 2  / N s  −32788/ 1
024−32Hzであり、4カウントする前にクロック
信号316によりリセットされるため出力信号110は
rHJのままとなる。
First, all circuits are reset by the system reset signal 301. The quaternary counter 107 counts the clock signal 314 (256/3 Hz), but under normal conditions, f /N1/N5 -82788/384 74 Hz' = 21-3
Hz< f2/Ns-32788/1
024-32Hz, and is reset by the clock signal 316 before counting 4, so the output signal 110 remains rHJ.

一方、4進カウンター108はクロック信号31B(3
2Hz)をカウントするが、正常時においては、f  
 /N4 /N6−32768  /1024/4Hz
−8Hz<f l / N 2−32788 / 25
80−12−8Hzであり、4カウントする前にクロッ
ク信号315によりリセットされるため出力信号111
はrHJのままとなる。
On the other hand, the quaternary counter 108 receives the clock signal 31B (3
2Hz), but under normal conditions, f
/N4 /N6-32768 /1024/4Hz
-8Hz<fl/N 2-32788/25
80-12-8Hz, and is reset by the clock signal 315 before counting 4, so the output signal 111
remains rHJ.

従って、判定回路109の出力信号324はrHJが保
持される。
Therefore, the output signal 324 of the determination circuit 109 is held at rHJ.

第5図は第1のクロック発振回路101が高調波発振し
た場合の動作を示すタイミングチャートである。第1の
クロック発振回路101が高調波発振して、発振周波数
f1が正常時の2倍の85536 Hzとなった場合に
は、t 、 /N1/N3−85536 /384 /
4Hz’;42.7Hz> f 2/N3−32768
 /1024= 32Hzとなるので、4進カウンター
107はクロック信号31Bによりリセットされる前に
4カウントするので出力信号110はrHJからrLJ
となり、それがD型フリップフロップ回路allでラッ
チされ、判定回路1(19の出力324はrLJとなる
ので回路に異常があったことを検出できる。
FIG. 5 is a timing chart showing the operation when the first clock oscillation circuit 101 generates harmonic oscillation. When the first clock oscillation circuit 101 generates harmonic oscillation and the oscillation frequency f1 becomes 85536 Hz, which is twice the normal frequency, t, /N1/N3-85536 /384 /
4Hz';42.7Hz> f2/N3-32768
/1024=32Hz, so the quaternary counter 107 counts 4 before being reset by the clock signal 31B, so the output signal 110 changes from rHJ to rLJ.
This is latched by the D-type flip-flop circuit ALL, and the output 324 of the determination circuit 1 (19) becomes rLJ, so it is possible to detect that there is an abnormality in the circuit.

全く同様にして、第2のクロック発振回路102の発振
周波数が低くなる等の別の理由によってf  /N  
/N  >f  /N3となった場合にも152 回路の異常が検出できる。
In exactly the same way, due to another reason such as the oscillation frequency of the second clock oscillation circuit 102 becoming lower, f /N
Even when /N > f /N3, an abnormality in the 152 circuit can be detected.

第6図は第2のクロック発振回路102が高調波発振し
て、発振周波数f2が正常時の2倍の85538 Hz
となった場合の動作を示すタイミングチャートである。
In FIG. 6, the second clock oscillation circuit 102 generates harmonic oscillation, and the oscillation frequency f2 is 85538 Hz, which is twice the normal frequency.
12 is a timing chart showing the operation when the following occurs.

この場合には、f2/N4/N6−85536 /10
24/4)1z=16)1z> f 、 /N2−32
768/ 2580−12.8Hzとなるので、4進カ
ウンターlO8はクロック信号315によりリセットさ
れる前に4カウントするので出力信号111はrHJか
らrLJとなり、それがD型フリップフロップ回路31
2でラッチされ、判定回路109の出力324はrLJ
となるので回路に異常があったことを検出できる。
In this case, f2/N4/N6-85536 /10
24/4)1z=16)1z> f , /N2-32
768/2580-12.8Hz, the quaternary counter lO8 counts 4 before being reset by the clock signal 315, so the output signal 111 changes from rHJ to rLJ, which is the D-type flip-flop circuit 31.
2, and the output 324 of the determination circuit 109 is rLJ.
Therefore, it is possible to detect that there is an abnormality in the circuit.

全く同様にして、第1のクロック発振回路101の発振
周波数が遅くなる等の別の理由によってf /N4/N
6〉f1/N2となった場合にも異常が検出できる。
In exactly the same way, f /N4/N is caused by another reason such as the oscillation frequency of the first clock oscillation circuit 101 becoming slower.
An abnormality can also be detected when 6>f1/N2.

第7図および第8図は本発明の他の実施例に係るウオッ
チドックタイマ−の回路図であり、第7図は分周回路部
分で、第8図は異常判断処理部分である。本実施例にお
いては、第3図の実施例にN5進カウンター107及び
N6進カウンター108並びに出力段の動作をチエツク
する機能を付加している。
7 and 8 are circuit diagrams of a watchdog timer according to another embodiment of the present invention, in which FIG. 7 shows a frequency dividing circuit section and FIG. 8 shows an abnormality judgment processing section. In this embodiment, a function for checking the operation of the N5-ary counter 107, the N6-ary counter 108, and the output stage is added to the embodiment shown in FIG.

第7図において、701は入力信号を115分周する分
周回路であり、D型フリップフロップ回路731〜73
6およびノアゲート737〜739がら構成されている
。この分周回路107には周波数84Hzのクロック信
号711と周波数8 kHzのクロック信号712とが
入力して、周波数64Hzのクロック信号711が11
5分周され、位相が若干ずれたクロック信号716 、
717を出力する。702は入力信号を1z3分周する
分周回路であり、D型フリップフロップ回路740〜7
42およびノアゲート743゜744から構成されてい
る。この分周回路702は周波数2564Hzのクロッ
ク信号713を入力して1z3分周して84Hzのクロ
ック信号718を出力する。
In FIG. 7, 701 is a frequency dividing circuit that divides the input signal by 115, and includes D-type flip-flop circuits 731 to 73.
6 and Noah gates 737 to 739. A clock signal 711 with a frequency of 84 Hz and a clock signal 712 with a frequency of 8 kHz are input to this frequency dividing circuit 107, and the clock signal 711 with a frequency of 64 Hz is
A clock signal 716 whose frequency is divided by 5 and whose phase is slightly shifted,
717 is output. 702 is a frequency dividing circuit that divides the input signal by 1z3, and D-type flip-flop circuits 740 to 7
42 and Noah gates 743° and 744. This frequency dividing circuit 702 inputs a clock signal 713 with a frequency of 2564 Hz, divides the frequency by 1z3, and outputs a clock signal 718 with a frequency of 84 Hz.

70Bはシフト回路であり、D型フリップフロップ回路
745 、746およびノアゲート747〜749がら
構成されている。このシフト回路703は32Hzのク
ロック信号714を入力して位相が若干ずれたクロック
信号719 、720を出力する。
70B is a shift circuit, which is composed of D-type flip-flop circuits 745, 746 and NOR gates 747-749. This shift circuit 703 receives a 32 Hz clock signal 714 and outputs clock signals 719 and 720 whose phases are slightly shifted.

ところで、クロック信号711 、712 、713は
第3図の第1のクロック発振回路101の出力を分周し
て得られた信号であり、クロック信号714は第2のク
ロック発振回路102の出力を分周して得られた信号で
あり、これらのクロック信号711〜714を生成する
過程は省略する。第1のクロック発振回路101及び第
2のクロック発振回路102はそれぞれ異なったCPU
に内蔵されているものとする。例えば第1のクロック発
振回路101 、クロック信号711〜714を生成す
る分周回路(図示せず)並びに第7図および第8図の回
路は第1のCPU側に内蔵され、第2のクロック発振回
路102及びクロック信号714、信号715を生成す
る回路は第2のCPUに内蔵されているものとする。信
号851はリセット信号であり、上述のように第2の発
振回路1(12を内蔵したCPUから出力され、上述の
回路701〜703のD型フリップフロップ回路をリセ
ットする。
By the way, the clock signals 711, 712, and 713 are signals obtained by dividing the output of the first clock oscillation circuit 101 in FIG. 3, and the clock signal 714 is obtained by dividing the output of the second clock oscillation circuit 102. The process of generating these clock signals 711 to 714 will be omitted. The first clock oscillation circuit 101 and the second clock oscillation circuit 102 are different CPUs.
shall be built in. For example, the first clock oscillation circuit 101, the frequency dividing circuit (not shown) that generates the clock signals 711 to 714, and the circuits in FIGS. 7 and 8 are built in the first CPU side, and the second clock oscillation circuit It is assumed that the circuit 102 and the circuits that generate the clock signal 714 and signal 715 are built into the second CPU. The signal 851 is a reset signal, which is output from the CPU incorporating the second oscillation circuit 1 (12) as described above, and resets the D-type flip-flop circuits of the circuits 701 to 703 described above.

第8図おいて、801 、802はN5進カウンター1
07のD型フリップフロップ回路303〜305のリセ
ット信号のゲート回路である。803 、804はN6
進カウンター108のD型フリップフロップ回路307
〜309のリセット信号のゲート回路である。
In Figure 8, 801 and 802 are N5 decimal counters 1
This is a gate circuit for reset signals of the D-type flip-flop circuits 303 to 305 of No. 07. 803 and 804 are N6
D-type flip-flop circuit 307 of advance counter 108
This is a gate circuit for the reset signal of ~309.

810はN5進カウンター107の動作チエツクをする
カウンタチェック回路であり、D型フリップフロップ回
路811 、812およびゲート回路813〜815か
ら構成されている。820はN6進カウンター108の
動作チエツクをするカウンタチェック回路であり、D型
フリップフロップ回路821 、822およびゲート回
路823〜825から構成されている。
A counter check circuit 810 checks the operation of the N5-ary counter 107, and is composed of D-type flip-flop circuits 811, 812 and gate circuits 813-815. A counter check circuit 820 checks the operation of the N hexadecimal counter 108, and is composed of D-type flip-flop circuits 821, 822 and gate circuits 823-825.

830は判定回路であり、第3図のD型フリップフロッ
プ回路311 、312の他に、カウンターチエツク回
路810 、820の出力をラッチするD型フリップフ
ロップ回路831 、832を有し、更にゲート回路8
33〜835を有する。840はゲート回路であり、8
40は出力段チエツク回路である。この出力段チエツク
回路840はD型フリップフロップ回路842およびゲ
ート回路843〜845から構成される。
Reference numeral 830 denotes a determination circuit, which includes, in addition to the D-type flip-flop circuits 311 and 312 shown in FIG.
33-835. 840 is a gate circuit;
40 is an output stage check circuit. This output stage check circuit 840 is composed of a D-type flip-flop circuit 842 and gate circuits 843-845.

846は出力段チエツク回路840の出力側に設けられ
たゲート回路である。851は第1のCPUに取り込ま
れる検出信号であり、852は第2のCPUに送出され
る検出信号である。
846 is a gate circuit provided on the output side of the output stage check circuit 840. 851 is a detection signal taken into the first CPU, and 852 is a detection signal sent to the second CPU.

次に、本実施例の動作を説明する。なお、各種のクロッ
ク信号の周波数の変動による異常検出の動作は第3図の
動作と同一であり、ここではその説明を省略する。
Next, the operation of this embodiment will be explained. Note that the operation of abnormality detection due to variations in the frequency of various clock signals is the same as the operation shown in FIG. 3, and the explanation thereof will be omitted here.

第9図は第7図のクロック信号および第8図のカウンタ
チェック回路820の動作を示すタイミングチャートで
ある。クロック信号714 、719.720713 
、718 、711 、716 、717はそれぞれ図
示のタイミングでそれぞれ入力し、例えばN6進カウン
ター108のD型フリップフロップ回路307はクロッ
ク信号718をクロック信号として入力し、そして出力
信号322をD型フリップフロップ回路308にクロッ
ク信号として入力する。D型フリップフロップ回路30
8の出力信号323は次段のD型フリップフロップ回路
309にクロック信号として入力すると共に、カウンタ
チェック回路820のD型フリップフロップ回路821
のデータ端子に入力し、また、出力信号323の反転信
号がゲート回路825に入力する。
FIG. 9 is a timing chart showing the operation of the clock signal of FIG. 7 and the counter check circuit 820 of FIG. 8. Clock signal 714, 719.720713
, 718, 711, 716, and 717 are respectively inputted at the timings shown in the figure. For example, the D-type flip-flop circuit 307 of the N hexadecimal counter 108 inputs the clock signal 718 as a clock signal, and the output signal 322 is inputted to the D-type flip-flop circuit 307. It is input to circuit 308 as a clock signal. D type flip-flop circuit 30
The output signal 323 of 8 is input as a clock signal to the D-type flip-flop circuit 309 of the next stage, and is also input to the D-type flip-flop circuit 821 of the counter check circuit 820.
The inverted signal of the output signal 323 is input to the gate circuit 825.

出力信号323がrHJの状態でクロック信号719が
D型フリップフロップ回路821のクロック信号として
入力すると、その出力信号865は立ち上がってrHJ
になる。そして、D型フリップフaツブ回路308のリ
セット端子にクロック信号720が入力するとその出力
信号323は立ち下かりゲート回路825に入力する。
When the clock signal 719 is input as a clock signal to the D-type flip-flop circuit 821 while the output signal 323 is in the rHJ state, the output signal 865 rises and becomes rHJ.
become. When the clock signal 720 is input to the reset terminal of the D-type flip-flip circuit 308, the output signal 323 is input to the falling gate circuit 825.

ゲート回路825には信号865  (rHJ )及び
信号323(rLJ)が入力してその出力信号866は
Lになり、この出力信号866はD型フリップフロップ
回路822にクロック信号として入力する。このときク
ロック信号720はD型フリップフロップ回路822の
クロック端子にも入力するので、この回路822の出力
信号867はrLJのままとなる。
A signal 865 (rHJ) and a signal 323 (rLJ) are input to the gate circuit 825, and its output signal 866 becomes L. This output signal 866 is input to the D-type flip-flop circuit 822 as a clock signal. At this time, the clock signal 720 is also input to the clock terminal of the D-type flip-flop circuit 822, so the output signal 867 of this circuit 822 remains rLJ.

すなわち、p型フリップフロップ回路30Bがリセット
をかけられる前と後でその出力が変化するとD型フリッ
プフロップ回路822の出力信号867はrLJのまま
となり、N6進カウンター108が正常に動作している
ことが分かる。
That is, when the output of the p-type flip-flop circuit 30B changes before and after it is reset, the output signal 867 of the D-type flip-flop circuit 822 remains rLJ, indicating that the N hexadecimal counter 108 is operating normally. I understand.

D型フリップフロップ回路822の出力信号867はD
型フリップフロップ回路823でラッチされ、その出力
信号(ここでは「L」)はゲート回路834 、835
に送り出され、他の回路も異常がなくD型フリップフロ
ップ回路311 、31.2 、831の出力信号がL
レベルのときには、ゲート回路835の出力信号870
はLレベルになり、ゲート回路840を介して第1のC
PUに検出信号851(ここでは「H」)が送り出され
る。
The output signal 867 of the D-type flip-flop circuit 822 is D
The output signal (here "L") is latched by a type flip-flop circuit 823 and sent to gate circuits 834 and 835.
There are no abnormalities in other circuits, and the output signals of D-type flip-flop circuits 311, 31.2, and 831 are L.
At the level, the output signal 870 of the gate circuit 835
becomes L level, and the first C
A detection signal 851 (here "H") is sent to the PU.

また、出力段異常検出回路841においては、ゲート回
路835の出力信号870をゲート回路844が人力し
てその反転信号をD型フリップフロップ回路842のデ
ータ端子に入力し、クロック信号714をクロック信号
端子に人力し、その出力をゲート回路844 、845
に入力する。そして、ゲート回路845の出力をゲート
回路846を介して第2のCPUへの検出し信号852
として取り出すと、正常時には信号714に同期してオ
ン・オフを繰り返す。
In the output stage abnormality detection circuit 841, the gate circuit 844 manually inputs the output signal 870 of the gate circuit 835, inputs its inverted signal to the data terminal of the D-type flip-flop circuit 842, and transmits the clock signal 714 to the clock signal terminal. manually, and the output is sent to gate circuits 844 and 845.
Enter. Then, the output of the gate circuit 845 is detected via the gate circuit 846 and sent to the second CPU as a signal 852.
When taken out as , it repeats on and off in synchronization with signal 714 during normal operation.

この出力段異常検出回路841に異常があると、その出
力信号はHまたはLの一方の値になり、これにより異常
が発生していることを把握することができる。
If there is an abnormality in the output stage abnormality detection circuit 841, its output signal will take either H or L value, and from this it can be determined that an abnormality has occurred.

ところで、N6進カウンター108にリセット信号が入
力したときに、D型フリップフロップ回路308の出力
信号323がrHJからrLJに変化しなかった場合に
は次のように動作する。出力信号323がrHJの状態
でクロック信号719がD型フリップフロップ回路82
1のクロック端子に入力すると、その出力信号865は
立ち上がってrHJになる。そして、D型フリップフロ
ップ回路821のリセット端子にクロック信号720が
入力するとその出力信号323は立ち下がりるべきなの
に立ち下がらなかった場合には、ゲート回路825には
出力信号8[i5  (rHJ )及び信号323(r
LJ)が入力したままでその出力信号866はrHJの
ままであり、この出力信号866はD型フリップフロッ
プ回路822にクロック信号として入力する。このとき
クロック信号720はD型フリップフロップ回路822
のクロック端子にも入力するので、この回路822の出
力信号867はrHJとなる。すなわち、D型フリップ
フロップ回路308がリセットをかけられる前と後でそ
の出力が変化しないと、D型フリップフロップ回路82
2の出力信号887はrHJとなり、N6進カウンター
108が正常に動作していないことが分かる。
By the way, if the output signal 323 of the D-type flip-flop circuit 308 does not change from rHJ to rLJ when the reset signal is input to the N-hex counter 108, the following operation occurs. When the output signal 323 is rHJ, the clock signal 719 is output to the D-type flip-flop circuit 82.
1, the output signal 865 rises and becomes rHJ. When the clock signal 720 is input to the reset terminal of the D-type flip-flop circuit 821, the output signal 323 should fall but does not fall. Signal 323(r
LJ) remains input and its output signal 866 remains rHJ, and this output signal 866 is input to the D-type flip-flop circuit 822 as a clock signal. At this time, the clock signal 720 is transmitted to the D-type flip-flop circuit 822.
Since it is also input to the clock terminal of the circuit 822, the output signal 867 of this circuit 822 becomes rHJ. That is, if the output of the D-type flip-flop circuit 308 does not change before and after it is reset, the D-type flip-flop circuit 82
The output signal 887 of No. 2 becomes rHJ, indicating that the N-hex counter 108 is not operating normally.

D型フリップフロップ回路822の出力信号867はD
型フリップフロップ回路823でラッチされ、その出力
信号(ここでは「H」)はゲート回路834 、835
に送り出され、他の回路も異常がなくD型フリップフロ
ップ回路311 、812 、831の出力信号がrL
Jのときにでも、ゲート回路835の出力信号870は
Hレベルになり、ゲート回路840を介して第1のCP
UにrHJの検出信号851が送り出される。
The output signal 867 of the D-type flip-flop circuit 822 is D
The output signal (here "H") is latched by a type flip-flop circuit 823 and sent to gate circuits 834 and 835.
There are no abnormalities in other circuits, and the output signals of D-type flip-flop circuits 311, 812, and 831 are rL.
Even at the time of J, the output signal 870 of the gate circuit 835 becomes H level, and the output signal 870 of the gate circuit 835 goes to the first CP through the gate circuit 840.
An rHJ detection signal 851 is sent to U.

第10図はカウンタチェック回路810の動作を示すタ
イミングチャートである。
FIG. 10 is a timing chart showing the operation of counter check circuit 810.

カウンタチェック回路810もその動作は上述のカウン
タチェック回路820と同じであり、D型フリップフロ
ップ回路304の出力信号321は次段のD型フリップ
フロップ回路305にクロック信号として入力すると共
に、カウンタチェック回路810のD型フリップフロッ
プ回路811のデータ端子に入力し、また、出力信号3
21の反転信号がゲート回路815に入力する。出力信
号321がrHJの状態でクロック信号71BがD型フ
リップフロップ回路811のクロック端子に入力すると
、その出力信号861は立ち上がってrHJになる。そ
して、D型フリップフロップ回路811のリセット端子
にクロック信号717が入力するとその出力信号321
は立ち下がりゲート回路815に入力する。ゲート回路
815には出力信号861(rHJ)及び出力信号32
1(rLJ)が入力してその出力信号866はrLJに
なり、この出力信号862はD型フリップフロップ回路
812のクロック信号として入力する。
The operation of the counter check circuit 810 is the same as that of the above-mentioned counter check circuit 820, and the output signal 321 of the D-type flip-flop circuit 304 is input as a clock signal to the D-type flip-flop circuit 305 in the next stage, and the counter check circuit 810 is input to the data terminal of the D-type flip-flop circuit 811, and the output signal 3
The inverted signal of 21 is input to the gate circuit 815. When the clock signal 71B is input to the clock terminal of the D-type flip-flop circuit 811 while the output signal 321 is in the rHJ state, the output signal 861 rises and becomes rHJ. When the clock signal 717 is input to the reset terminal of the D-type flip-flop circuit 811, the output signal 321
is input to the falling gate circuit 815. The gate circuit 815 has an output signal 861 (rHJ) and an output signal 32.
1 (rLJ) is input, its output signal 866 becomes rLJ, and this output signal 862 is input as a clock signal of the D-type flip-flop circuit 812.

このときクロック信号717はD型フリップフロップ回
路812のクロック端子にも入力するので、この回路8
12の出力信号867はrLJのままとなり、N5進カ
ウンター107が正常に動作していることが分かる。
At this time, the clock signal 717 is also input to the clock terminal of the D-type flip-flop circuit 812, so this circuit 8
The output signal 867 of No. 12 remains rLJ, indicating that the N5-ary counter 107 is operating normally.

ところが、N5進カウンター107かリセット信号が入
力したときに、D型フリップフロップ回路304の出力
信号321がrHJからrLJに変化しなかった場合に
は、ゲート回路815には出力信号861  (rHJ
 )及び出力信号321  (rLJ )が入力したま
までありその出力信号861もrHJのままであり、こ
の出力信号862はD型フリップフロップ回路812の
クロック信号として入力する。このときクロック信号7
17はD型フリップフロップ回路812のクロック端子
にも入力するので、この回路812の出力信号863は
rHJとなる。これによりN5進カウンター108が正
常に動作していないことが分かる。
However, if the output signal 321 of the D-type flip-flop circuit 304 does not change from rHJ to rLJ when the reset signal is input from the N-quintal counter 107, the gate circuit 815 receives the output signal 861 (rHJ
) and output signal 321 (rLJ) remain input, and its output signal 861 also remains rHJ, and this output signal 862 is input as a clock signal to the D-type flip-flop circuit 812. At this time, clock signal 7
17 is also input to the clock terminal of the D-type flip-flop circuit 812, so the output signal 863 of this circuit 812 becomes rHJ. This shows that the N5-ary counter 108 is not operating normally.

[発明の効果コ 以上説明したように本発明によれば、クロック発振回路
などに何らかの異常か生じた結果、分周されたクロック
信号の周波数が高くなっても、或いは低くなっても異常
として検出することが可能である。しかも、クロック信
号発振回路を2つ使用することにより相互の確認が可能
となり、また、異常動作を検出する回路の動作自体もチ
エツクするようにしたので、更に安全性が高くなる。従
って、特に高信頼性、自己診断機能等が要求される分野
、例えば医療用の注入器、計測器、セキュリティー機器
等の制御回路に最適である。
[Effects of the Invention] As explained above, according to the present invention, even if the frequency of the divided clock signal increases or decreases as a result of some abnormality occurring in the clock oscillation circuit, it is detected as an abnormality. It is possible to do so. Moreover, by using two clock signal oscillation circuits, mutual confirmation is possible, and since the operation itself of the circuit for detecting abnormal operation is also checked, safety is further improved. Therefore, it is particularly suitable for fields that require high reliability and self-diagnosis functions, such as control circuits for medical injectors, measuring instruments, security equipment, etc.

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

第1図は本発明の一実施例に係るウォッチドッグタイマ
ーのブロック図、第2図は従来のウォッチドッグタイマ
ーのブロック図、第3図は第1図の実施例の詳細を示し
たブロック図、第4図、第5図及び第6図は第3図のウ
ォッチドッグタイマーの動作を示すタイミングチャート
、第7図および第8図は本発明の他の実施例に係るウォ
ッチドッグタイマーのブロック図、第9図及び第10図
は第7図および第8図の実施例のの動作を示すタイミン
グチャートである。 101・・・第1のクロック発振回路、102・・・第
2のクロック発振回路、103・・・第1の分周回路、
104・・・第2の分周回路、105・・・第3の分周
回路、1013・・・第4の分周回路、107・・・N
5進カウンター108・・・N6進カウンター、109
・・・判定回路、810゜820・・・カウンタチェッ
ク回路。
FIG. 1 is a block diagram of a watchdog timer according to an embodiment of the present invention, FIG. 2 is a block diagram of a conventional watchdog timer, and FIG. 3 is a block diagram showing details of the embodiment of FIG. 4, 5, and 6 are timing charts showing the operation of the watchdog timer in FIG. 3; FIGS. 7 and 8 are block diagrams of watchdog timers according to other embodiments of the present invention; 9 and 10 are timing charts showing the operation of the embodiments of FIGS. 7 and 8. FIG. 101... First clock oscillation circuit, 102... Second clock oscillation circuit, 103... First frequency dividing circuit,
104...Second frequency divider circuit, 105...Third frequency divider circuit, 1013...Fourth frequency divider circuit, 107...N
Pentadecimal counter 108...N hexadecimal counter, 109
...Judgment circuit, 810°820...Counter check circuit.

Claims (6)

【特許請求の範囲】[Claims] (1)第1の発振周波数f_1を出力する第1のクロッ
ク発振回路と、 第2の発振周波数f_2を出力する第2のクロック発振
回路と、 第1の発振周波数f_1を1/N_1分周する第1の分
周回路と、 第1の発振周波数f_1を1/N_2分周する第2の分
周回路と、 第2の発振周波数f_2を1/N_3分周する第3の分
周回路と、 第2の発振周波数f_2を1/N_4分周する第4の分
周回路と、 第1の分周回路の出力周波数f_1/N_1をクロック
入力とし、第3の分周回路の出力周波数f_2/N_3
の信号をリセット入力し、正常時においてf_1/N_
1/N_5<f_2/N_3と設定してなるN_5進カ
ウンターと、 第4の分周回路の出力周波数f_2/N_4をクロック
入力とし、周波数f_1/N_2の信号をリセット入力
し、正常時においてf_2/N_4/N_6<f_1/
N_2と設定してなるN_6進カウンターと、前記N_
5進カウンター又は前記N_6進カウンターの出力に基
づいて異常の有無を判定する判定回路とを有することを
特徴とするウォッチドッグタイマー。
(1) A first clock oscillation circuit that outputs a first oscillation frequency f_1, a second clock oscillation circuit that outputs a second oscillation frequency f_2, and divides the first oscillation frequency f_1 by 1/N_1. a first frequency divider circuit, a second frequency divider circuit that divides the first oscillation frequency f_1 by 1/N_2, and a third frequency divider circuit that divides the second oscillation frequency f_2 by 1/N_3; A fourth frequency divider circuit that divides the second oscillation frequency f_2 by 1/N_4; the output frequency f_1/N_1 of the first frequency divider circuit is used as a clock input; and the output frequency f_2/N_3 of the third frequency divider circuit;
Reset signal is input, and f_1/N_ in normal state.
An N_quinary counter set as 1/N_5<f_2/N_3 and the output frequency f_2/N_4 of the fourth frequency divider circuit are used as clock inputs, and a signal of frequency f_1/N_2 is input as a reset input. N_4/N_6<f_1/
N_hex counter set as N_2 and the N_
A watchdog timer comprising: a determination circuit that determines the presence or absence of an abnormality based on the output of the quinary counter or the N_hexadecimal counter.
(2)第4の分周回路を第3の分周回路で兼用したこと
を特徴とする請求項1記載のウォッチドッグタイマー。
(2) The watchdog timer according to claim 1, wherein the fourth frequency dividing circuit is also used as the third frequency dividing circuit.
(3)N_5進カウンターを構成する複数個のフリップ
フロップ回路にリセット信号が入力する前後におけるフ
リップフロップ回路の出力の変化の有無を検出するカウ
ンタチェック回路を有することを特徴とする請求項1記
載のウォッチドッグタイマー。
(3) The counter check circuit according to claim 1, further comprising a counter check circuit that detects the presence or absence of a change in the output of the flip-flop circuit before and after a reset signal is input to the plurality of flip-flop circuits constituting the N_quintal counter. watchdog timer.
(4)カウンタチェック回路は、N_5進カウンターの
フリップフロップ回路をリセットする信号より位相が進
んだ信号をクロック信号として入力し、前記フリップフ
ロップ回路からの出力をデータ端子に入力する第1のD
型フリップフロップ回路と、この第1のD型フリップフ
ロップ回路の出力と前記フリップフロップ回路からの反
転出力とを入力するナンドゲート回路と、このナンドゲ
ート回路の出力をデータ端子に入力し、前記リセット信
号をクロック端子に入力する第2のD型フリップフロッ
プ回路とからなることを特徴とする請求項3記載のウォ
ッチドッグタイマー。
(4) The counter check circuit inputs as a clock signal a signal whose phase is advanced from the signal for resetting the flip-flop circuit of the N_quintal counter, and inputs the output from the flip-flop circuit to the data terminal.
a NAND gate circuit which inputs the output of the first D-type flip-flop circuit and the inverted output from the flip-flop circuit; the output of this NAND gate circuit is input to the data terminal, and the reset signal is inputted to the 4. The watchdog timer according to claim 3, further comprising a second D-type flip-flop circuit input to the clock terminal.
(5)N_6進カウンターを構成する複数個のフリップ
フロップ回路にリセット信号が入力する前後におけるフ
リップフロップ回路の出力の変化の有無を検出するカウ
ンタチェック回路を有することを特徴とする請求項1記
載のウォッチドッグタイマー。
(5) The counter check circuit according to claim 1, further comprising a counter check circuit that detects the presence or absence of a change in the output of the flip-flop circuit before and after a reset signal is input to the plurality of flip-flop circuits constituting the N_hex counter. watchdog timer.
(6)カウンタチェック回路は、N_6進カウンターの
フリップフロップ回路をリセットする信号より位相が進
んだ信号をクロック信号として入力し、前記フリップフ
ロップ回路からの出力をデータ端子に入力する第3のD
型フリップフロップ回路と、この第3のD型フリップフ
ロップ回路の出力と前記フリップフロップ回路からの反
転出力とを入力するナンドゲート回路と、このナンドゲ
ート回路の出力をデータ端子に入力し、前記リセット信
号をクロック端子に入力する第4のD型フリップフロッ
プ回路とからなることを特徴とする請求項4記載のウォ
ッチドッグタイマー。
(6) The counter check circuit inputs as a clock signal a signal whose phase is advanced from the signal for resetting the flip-flop circuit of the N_hex counter, and inputs the output from the flip-flop circuit to the data terminal.
type flip-flop circuit, a NAND gate circuit which inputs the output of this third D-type flip-flop circuit and the inverted output from the flip-flop circuit, the output of this NAND gate circuit is inputted to the data terminal, and the reset signal is inputted. 5. The watchdog timer according to claim 4, further comprising a fourth D-type flip-flop circuit input to the clock terminal.
JP2170285A 1990-01-16 1990-06-29 Watchdog timer Pending JPH03250226A (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
JP2170285A JPH03250226A (en) 1990-01-16 1990-06-29 Watchdog timer
KR1019910000871A KR910014609A (en) 1990-01-23 1991-01-19 Micro pump management control method and device
DE69118216T DE69118216T2 (en) 1990-01-23 1991-01-22 System and method for controlling a micropump
EP91300474A EP0439327B1 (en) 1990-01-23 1991-01-22 A system and method for controlling a micro-pump
US07/644,704 US5157699A (en) 1990-01-23 1991-01-23 Watchdog timer employing plural counters and discriminator for determining normal operating frequency range of input
CN91100509A CN1053664A (en) 1990-01-23 1991-01-23 Monitoring method and device for microelectrochemical pump
US07/963,888 US5248904A (en) 1990-01-23 1992-10-19 Switching regulator soft start circuit

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP667490 1990-01-16
JP2-6674 1990-01-16
JP2170285A JPH03250226A (en) 1990-01-16 1990-06-29 Watchdog timer

Publications (1)

Publication Number Publication Date
JPH03250226A true JPH03250226A (en) 1991-11-08

Family

ID=26340866

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2170285A Pending JPH03250226A (en) 1990-01-16 1990-06-29 Watchdog timer

Country Status (1)

Country Link
JP (1) JPH03250226A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8824623B2 (en) 2011-12-05 2014-09-02 Seiko Epson Corporation Timer device and electronic apparatus
US9075396B2 (en) 2011-12-05 2015-07-07 Seiko Epson Corporation Timer device and electronic apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8824623B2 (en) 2011-12-05 2014-09-02 Seiko Epson Corporation Timer device and electronic apparatus
US9075396B2 (en) 2011-12-05 2015-07-07 Seiko Epson Corporation Timer device and electronic apparatus

Similar Documents

Publication Publication Date Title
US5157699A (en) Watchdog timer employing plural counters and discriminator for determining normal operating frequency range of input
CN100565423C (en) Clock anomaly detection circuit and clock anomaly detection method
JPH03250226A (en) Watchdog timer
CN107154800B (en) Detection system and detection method for phase-locked loop losing lock
JPH0483425A (en) Pulse generating circuit
JPH03267833A (en) Clock interruption detecting circuit
JPH01145580A (en) Detecting circuit of abnormal signal
KR100221496B1 (en) Synchronous state monitoring circuit
KR101238440B1 (en) Phase loss detector
JP3586578B2 (en) Edge detection circuit
JPS6235930A (en) Clock diagnostic system
JPS60262252A (en) Monitor system for runaway of microprocessor
JP2580824B2 (en) Clock failure detection circuit
JPS61105147A (en) Clock interruption detection circuit
JPS62232016A (en) Clock break detecting circuit
JPS603015A (en) Clock break detection system
JP2003067079A (en) Clock stop detection circuit
JPH05211488A (en) Data signal abnormality detection method
JPS61290560A (en) Input signal sensing system
JPS5819097B2 (en) Computer system monitoring method
JPH03132110A (en) Timer fault detecting circuit
JPH02139794A (en) Refresh period monitoring circuit
JPS63215139A (en) Detecting system for fault of signal in balanced double-current interchange
JPH04156145A (en) Signal break detecting circuit for bipolar signal
JPS62216048A (en) Runaway detecting system for processor