JPH02127739A - Cpu monitor circuit - Google Patents
Cpu monitor circuitInfo
- Publication number
- JPH02127739A JPH02127739A JP63281559A JP28155988A JPH02127739A JP H02127739 A JPH02127739 A JP H02127739A JP 63281559 A JP63281559 A JP 63281559A JP 28155988 A JP28155988 A JP 28155988A JP H02127739 A JPH02127739 A JP H02127739A
- Authority
- JP
- Japan
- Prior art keywords
- cpu
- terminal
- output
- counter
- input
- 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
Links
- 238000012544 monitoring process Methods 0.000 claims abstract description 29
- 238000001514 detection method Methods 0.000 abstract 1
- 239000003990 capacitor Substances 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 239000013256 coordination polymer Substances 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 206010011878 Deafness Diseases 0.000 description 1
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
【発明の詳細な説明】
(産業上の利用分野)
本発明は、ディジタル論理回路の応用分野に関し、特V
C#1理回路を用いなディジタル機器のCPU監視に関
する。DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to the field of application of digital logic circuits.
This paper relates to CPU monitoring of digital equipment using C#1 logic circuits.
(従来の技術)
一般に、CPU監視回路はモノステープルマルチバイブ
レータを使用しており、入力パルスを印加してから任意
の定められた出力パルス幅を得るように設計されている
。従来のモノステープルマルチバイブレータは、パルス
の積分作用にもとづく時定数を設定することにより、こ
の目的を達成している。すなわち、1個の抵抗器とIW
Aのコンデンサとの積分回路によってこの目的を達して
いる。すなわち、入力パルス印加時刻を開始時刻として
所定の電圧源1例えば電源を接続して積分作用を開始さ
せ、積分電圧が所定の値となった時刻を知り、この間の
出力パルス幅を得るように設計されている。一般に、個
別部品として集積されたモノステープルマルチバイブレ
ータとして開発され市販されてい為実例をwXa図に示
す。(Prior Art) Generally, a CPU monitoring circuit uses a monostaple multivibrator, which is designed to apply an input pulse and then obtain an arbitrary predetermined output pulse width. Conventional monostaple multivibrators accomplish this goal by setting a time constant based on the integral action of the pulses. That is, one resistor and IW
This objective is achieved by an integrating circuit with capacitor A. In other words, it is designed to connect a predetermined voltage source 1, for example, a power supply, with the input pulse application time as the start time, start the integral action, find out the time when the integrated voltage reaches a predetermined value, and obtain the output pulse width during this time. has been done. In general, a mono-staple multivibrator integrated as individual parts is developed and commercially available, and an example is shown in the wXa diagram.
@8図において、7はモノステーブルマルチバイブレー
タ、8は抵抗器、9はコンデンサであみ。@8 In the diagram, 7 is a monostable multivibrator, 8 is a resistor, and 9 is a capacitor.
第8図の実例でも、外付けの抵抗器8とコンデンサ9と
を適切な値に選定し、その積分で得られる時定数と関連
させて出力パルス幅を得テいる。In the example shown in FIG. 8 as well, the external resistor 8 and capacitor 9 are selected to have appropriate values, and the output pulse width is obtained in relation to the time constant obtained by the integration.
(発明が解決しようとする課題)
一般KCPU監視回路で用いられ・る上述した従来のモ
ノステープルマルチバイブレータにおいては、出力パル
ス幅は上記時定数および電源電圧の値に依存している。(Problems to be Solved by the Invention) In the above-described conventional monostaple multivibrator used in a general KCPU monitoring circuit, the output pulse width depends on the above-mentioned time constant and the value of the power supply voltage.
一般にマルチバイブレータを集積化した場合にはこの電
圧源は集積回路の電源電圧となるため、出力パルス幅を
電圧源によって変化させることはできない。ま九、抵抗
器やコンデンサの6値も、その値は一般的に固定されて
いるので、これらの値に対応する出力パルス幅の値も固
定される。このため、外部からの制御で目的のパルス幅
を得ようとする応用においては、柔軟性を欠いていると
−う欠点がある。また、一つの入力に対【、て一つのパ
ルス出力しか存在しないため、少数の電荷しかマルチバ
イブレータに接続すると七ができなかっな。さらに、上
記時定数は、抵抗4やコンデンサの6値で決定されるが
、それらのパラツ呼のために正確に目的とする出力パル
ス幅を得ることができないという欠点があった。Generally, when a multivibrator is integrated, this voltage source becomes the power supply voltage of the integrated circuit, so the output pulse width cannot be changed by the voltage source. Also, since the six values of resistors and capacitors are generally fixed, the output pulse width corresponding to these values is also fixed. Therefore, in applications where a desired pulse width is to be obtained by external control, there is a drawback of a lack of flexibility. Also, since there is only one pulse output for one input, if only a small number of charges are connected to the multivibrator, it will not be possible to generate 7 pulses. Furthermore, although the above-mentioned time constant is determined by six values of the resistor 4 and the capacitor, there is a drawback that the desired output pulse width cannot be obtained accurately due to the paramutation of these values.
本発明の目的は、ディジタル値としてクロック数をカウ
ンタ段数だけカウントし、これを使用してCPUを監視
することにより上記欠点を除去し、正確に目的とするパ
ルス幅を出力できるように構成したCPUe視用回路用
回路することにある。An object of the present invention is to eliminate the above-mentioned drawbacks by counting the number of clocks as a digital value by the number of counter stages and using this to monitor the CPU. There is a circuit for visual circuits.
(課題を解決するなめの手段)
本発明によるCPUt視用回路用回路ラレルロード手段
付きカウンタと、フリップフロップとを具備して構成し
虎ものでちる。(Means for Solving the Problems) A circuit for CPU t viewing circuit according to the present invention is constructed by comprising a counter with a parallel load means and a flip-flop.
パラレルロード手段付き力9ンタは、CPUからの監視
パルス入力をロード入力端子に接続するとともに、クロ
ックをクロック入力端子に接続し、且つ、N進のパラレ
ルロード入力の最上位端子を論理%H#に固定したもの
である。The input terminal with parallel load means connects the monitoring pulse input from the CPU to the load input terminal, connects the clock to the clock input terminal, and connects the highest terminal of the N-ary parallel load input to the logic %H#. It is fixed at .
フリップフロップは、CPUのリセット信号をセット端
子に接続するとともに力9ン夕の最上位出力をリセット
端子に接続し、出力をN進されたカウンタのクリア入力
端子忙接続したものである。The flip-flop has a CPU reset signal connected to a set terminal, the highest output of the input terminal connected to a reset terminal, and an output connected to a clear input terminal of an N-adjusted counter.
上記構成において、本発明はN進されたカウンタのCP
U監視パルス出力の切断検出のためのCPU監視パルス
入力幅を、外部からN進のパラレルCI −h’端子1
/C対して任意にパラレルロード入力nで設定すること
によるカウント値(N−11)%およびクセツク入力端
子に印加するクロックの間隔で決定す為ことができるよ
うに構成したものである。In the above configuration, the present invention provides the CP of the N-adjusted counter.
The CPU monitoring pulse input width for detecting disconnection of the U monitoring pulse output is input from the outside to the N-ary parallel CI -h' terminal 1.
/C can be determined by the count value (N-11)% arbitrarily set by the parallel load input n and the interval of the clock applied to the clock input terminal.
(実施例) 次に1本発明について図面を参照して説明する。(Example) Next, one embodiment of the present invention will be explained with reference to the drawings.
ta1図は本発明によるCPU監視用回路の一実施例を
示すプクツク図である。第1図において、1はパラレル
ロート°機能付IN進カウンタ、1(1)〜1(n−1
)は全値nのパラレルデータ入力端子%1(n)は、パ
ラレルデータ最上位入力端子である。2はセットリセッ
トフリップフロップ%3はCPU監視パルス入力端子、
4はクロック信号入力端子、5はCPUリセット信号入
力端子、8はCPU需視警視パルス出力端子ウンタの最
上位出力端子)である。Figure ta1 is a diagram showing an embodiment of the CPU monitoring circuit according to the present invention. In Fig. 1, 1 is an increment counter with parallel roto function, 1(1) to 1(n-1
) is a parallel data input terminal with a total value of n.%1(n) is the highest parallel data input terminal. 2 is a set-reset flip-flop; %3 is a CPU monitoring pulse input terminal;
4 is a clock signal input terminal, 5 is a CPU reset signal input terminal, and 8 is a CPU demand monitoring pulse output terminal (the highest output terminal of the counter).
第2図は、第1図に示す実施例の動作を示すタイムチャ
ートである。FIG. 2 is a time chart showing the operation of the embodiment shown in FIG.
CPUのリセット時に、CPUリセット信号入力端子s
からのCPUリセットパルスはセットリセットフリツプ
フ0ツブ2のセット信号端子Sに入力されているので、
フリップフロップの出力は論理%H#を出力する。論f
I1%H#の出力はN進カウンタ1のクリア端子CLH
に接続されているので、カウンタ1はカウント可能状聾
になる。When resetting the CPU, the CPU reset signal input terminal s
Since the CPU reset pulse from is input to the set signal terminal S of the set reset flip 0 block 2,
The output of the flip-flop outputs a logic %H#. Theory f
The output of I1%H# is the clear terminal CLH of N-ary counter 1.
Since the counter 1 is connected to the counter 1, the counter 1 becomes deaf in the countable state.
クロック信号入力端子4へ次〈到来したパルスから、カ
ウンタ1はカウントを開始する。CPUはリセットされ
ろと即刻、自己監視用のパルスを出力し始め、その出力
はCPU監視パルス入力端子3からカウンタ1のロード
七して入力される。The counter 1 starts counting from the next pulse that arrives at the clock signal input terminal 4. Immediately upon being reset, the CPU begins to output a self-monitoring pulse, and its output is input from the CPU monitoring pulse input terminal 3 to the load 7 of the counter 1.
力9ンタ1のパラレルロード入力の最上位端子1(lは
論!!1% Hlに接続されているので、パルス入力端
子3に信号が入力されたとき(到来したパルスと同時に
、カウンタの最上位出力端子であるCPU監視パルス出
力端子6は論理% l(jFを出力する。CPUが正常
に動作しているときN進カウンタが(N−n)力9ノド
するまでに、CPUからCPU監視パルス入力端子3に
監視用パルスが入力されているので、監視回路のパルス
出力端子6は論理%H#を出力し続ける。It is connected to the highest terminal 1 of the parallel load input of the counter 1 (l is logical!! 1% Hl), so when a signal is input to the pulse input terminal 3 (at the same time as the pulse that arrives, the highest terminal of the counter The CPU monitoring pulse output terminal 6, which is the upper output terminal, outputs the logic %l(jF.When the CPU is operating normally, the CPU monitoring pulse is output from the CPU until the N-ary counter reaches (N-n) 9 nodes. Since the monitoring pulse is input to the pulse input terminal 3, the pulse output terminal 6 of the monitoring circuit continues to output the logical %H#.
一方、CPUが異常となり力9ンタ1の値が(N−n)
以内にCPU監視パルス入力端子3からのパルス入力を
断ってしまったとき、クロック信号入力端子4からのク
ロックパルスが(N−n+1)個だけ入力された時点で
CPU監視パルス出力端°子6からは1LIが出力され
る。CPU監視パルス出力端子6の出力はセットリセッ
トクリップフロップ2のリセット端子に入力されている
ので、フリップフロップ2は#71@%Lβを出力する
。On the other hand, the CPU becomes abnormal and the value of input 9 is (N-n).
If the pulse input from the CPU monitoring pulse input terminal 3 is cut off within the time limit, when (N-n+1) clock pulses are input from the clock signal input terminal 4, the pulse input from the CPU monitoring pulse output terminal 6 is interrupted. 1LI is output. Since the output of the CPU monitoring pulse output terminal 6 is input to the reset terminal of the set/reset clip-flop 2, the flip-flop 2 outputs #71@%Lβ.
フリップフロップ2の出力は力9ンタ1のクリア端子に
接続されているので、カウンタ1は力9ントを止める。Since the output of flip-flop 2 is connected to the clear terminal of counter 1, counter 1 stops the output.
したがって、パルス出力端子6はCPUがリセットされ
ない限り、その状態が保持される。Therefore, the pulse output terminal 6 maintains its state unless the CPU is reset.
以上述べな動作において、CPU監視パルス出力は従来
技術における時定数に代えて、クロック周波数およびカ
ウンタ段数を外部から任意に与えるととくより得られて
いる。In the above-described operation, the CPU monitoring pulse output is particularly obtained by providing a clock frequency and the number of counter stages arbitrarily from the outside instead of the time constant in the prior art.
(発明の効果)
以上説明し虎ように本発明は1回路構成として論理回路
を用い、デジタル値上してクロック数をカウンタ段数だ
けカウントし、これを使用してCPUを監視することに
より、クロックの精度、クロック周波数などの与え方次
第で任意の時定数をより精度よく与えるばかりか、クロ
ック周波数を変換させるだけで柔軟的にその時定数を変
えられるという効果があり、さら忙入力を与えることに
より回路を増加させることなしに複数の出力端子から出
力を得ることができるという効果がある。(Effects of the Invention) As explained above, the present invention uses a logic circuit as one circuit configuration, increases the digital value, counts the number of clocks by the number of counter stages, and uses this to monitor the CPU. Not only can an arbitrary time constant be given more precisely depending on the accuracy of the clock frequency, etc., but also the time constant can be changed flexibly simply by converting the clock frequency. This has the effect that outputs can be obtained from a plurality of output terminals without increasing the number of circuits.
第1図は、本発明くよるCPU監視回路の一実施例を示
す回路構成図である。
第2図は%第1図に示す回路の動作を示す信号のタイム
チャートである。
第8図は、従来技術によるマルチバイブレータ弐〇PU
監視回路の一例を示す回路構成図である。
1・・・カウンタ
1(1)〜1 rn) *・・パラレルデータ入力端子
2・・・セットリセットフリップ20ツブ3・・・CP
U監視パルス入力端子
4・・・クロック信号入力端子
S・命・CPUリセット入力端子
6・・・CPU監視監視パルス出力
端子−・モノステープルマルチバイブレータ8・・・抵
抗器
9・・・コンデンサFIG. 1 is a circuit configuration diagram showing an embodiment of a CPU monitoring circuit according to the present invention. FIG. 2 is a time chart of signals showing the operation of the circuit shown in FIG. Figure 8 shows a multivibrator 2〇PU according to the conventional technology.
FIG. 2 is a circuit configuration diagram showing an example of a monitoring circuit. 1... Counter 1 (1) to 1 rn) *... Parallel data input terminal 2... Set/reset flip 20 knob 3... CP
U monitoring pulse input terminal 4... Clock signal input terminal S, life, CPU reset input terminal 6... CPU monitoring monitoring pulse output terminal - Mono staple multivibrator 8... Resistor 9... Capacitor
Claims (1)
るとともにクロックをクロック入力端子に接続し、且つ
、N進のパラレルロード入力の最上位端子を論理“H”
に固定したパラレルロード手段付きカウンタと、前記C
PUのリセット信号をセット端子に接続するとともに前
記カウンタの最上位出力をリセット端子に接続し、出力
を前記N進されたカウンタのクリア入力端子に接続した
フリップフロップとを具備し、前記N進されたカウンタ
のCPU監視パルス出力の切断検出のためのCPU監視
パルス入力幅を外部から前記N進のパラレルロード端子
に対して任意にパラレルロード入力nで設定することに
よるカウント値(N−n)、および前記クロック入力端
子に印加する前記クロックの間隔で決定することができ
るように構成したことを特徴とするCPU監視回路。The monitoring pulse input from the CPU is connected to the load input terminal, the clock is connected to the clock input terminal, and the highest terminal of the N-ary parallel load input is set to logic "H".
a counter with parallel loading means fixed to the C;
a flip-flop that connects a reset signal of the PU to a set terminal, connects the highest output of the counter to a reset terminal, and connects an output to a clear input terminal of the N-ary counter; A count value (N-n) is obtained by arbitrarily setting the CPU monitoring pulse input width for detecting disconnection of the CPU monitoring pulse output of the counter from the outside using the parallel load input n to the N-ary parallel load terminal. and a CPU monitoring circuit configured such that the determination can be made based on the interval of the clock applied to the clock input terminal.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63281559A JPH02127739A (en) | 1988-11-08 | 1988-11-08 | Cpu monitor circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63281559A JPH02127739A (en) | 1988-11-08 | 1988-11-08 | Cpu monitor circuit |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02127739A true JPH02127739A (en) | 1990-05-16 |
Family
ID=17640874
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63281559A Pending JPH02127739A (en) | 1988-11-08 | 1988-11-08 | Cpu monitor circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02127739A (en) |
-
1988
- 1988-11-08 JP JP63281559A patent/JPH02127739A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6097674A (en) | Method for measuring time and structure therefor | |
| GB1570659A (en) | Electronic timepiece | |
| HK1047356A1 (en) | Circuit for the detection of clock signal period abnormalities | |
| JPH02127739A (en) | Cpu monitor circuit | |
| KR100192775B1 (en) | Clock discrimination device | |
| US4728816A (en) | Error and calibration pulse generator | |
| JP2580940B2 (en) | Gate pulse width measurement circuit | |
| JP2556038B2 (en) | Hybrid integrated circuit | |
| JP2001060851A (en) | Period correction frequency divider circuit and period correction type oscillation circuit using the same | |
| JPS63278414A (en) | Clock interruption detection circuit | |
| JPS6329226B2 (en) | ||
| JPH04285422A (en) | Overvoltage detecting circuit | |
| JPS6233394Y2 (en) | ||
| JPH01190114A (en) | Monostable multivibrator | |
| JPH01248819A (en) | Mono-multi vibrator | |
| JPS63101918A (en) | Clock disconnection detection circuit | |
| JPH01311614A (en) | Monostable multivibrator | |
| JPH09274523A (en) | Reset device | |
| JPS6195254A (en) | integrated circuit device | |
| JPS6251825A (en) | Output circuit of a/d converter | |
| JPH02241111A (en) | Signal interruption detection circuit | |
| JPH01105698A (en) | Signal input detecting circuit | |
| JPS62232016A (en) | Clock break detecting circuit | |
| JPS59121846A (en) | Semiconductor integrated circuit device | |
| JPH0537573A (en) | Data interruption detection circuit |