JPH049676Y2 - - Google Patents

Info

Publication number
JPH049676Y2
JPH049676Y2 JP8939784U JP8939784U JPH049676Y2 JP H049676 Y2 JPH049676 Y2 JP H049676Y2 JP 8939784 U JP8939784 U JP 8939784U JP 8939784 U JP8939784 U JP 8939784U JP H049676 Y2 JPH049676 Y2 JP H049676Y2
Authority
JP
Japan
Prior art keywords
abnormal
pulse
normal
output
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.)
Expired
Application number
JP8939784U
Other languages
Japanese (ja)
Other versions
JPS618400U (en
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 filed Critical
Priority to JP8939784U priority Critical patent/JPS618400U/en
Publication of JPS618400U publication Critical patent/JPS618400U/en
Application granted granted Critical
Publication of JPH049676Y2 publication Critical patent/JPH049676Y2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Description

【考案の詳細な説明】 (考案の技術分野) 本考案は、二値ステイタス信号の論理値にそれ
ぞれ対応して所定の周期で生成される正常パルス
と異常パルスを各々一定数カウントし、そのカウ
ント結果により正常・異常を判定するステイタス
判定回路に関するものである。
[Detailed description of the invention] (Technical field of the invention) The invention counts a fixed number of normal pulses and abnormal pulses each generated at a predetermined period corresponding to the logical value of a binary status signal, and This relates to a status determination circuit that determines normality or abnormality based on the results.

(従来技術) 二値ステイタス信号の論理値にそれぞれ対応し
て所定の周期で生成される正常・異常の2つのパ
ルス列により正常・異常を判定する従来のステイ
タス判定回路(特公昭58−19118号参照)を第1
図により説明する。図中、21,31はパルスマ
ルチプライヤ、22,23,32,33はアンド
ゲート、23,34はオアゲート、25,35は
インヒビツトゲート、11はカウンタ12,13
はデイテクタ、14はS−Rフリツプ・フロツプ
である。
(Prior art) A conventional status determination circuit that determines normality or abnormality based on two pulse trains, normality and abnormality, generated at a predetermined period in response to the logical values of a binary status signal (see Japanese Patent Publication No. 19118-1982) ) as the first
This will be explained using figures. In the figure, 21 and 31 are pulse multipliers, 22, 23, 32, and 33 are AND gates, 23 and 34 are OR gates, 25 and 35 are inhibit gates, and 11 are counters 12 and 13.
is a detector, and 14 is an S-R flip-flop.

異常パルスはアンドゲート22に与えられると
ともに、パルスマルチプライヤ21を通してアン
ドゲート23に与えられる。パルスマルチプライ
ヤ21は入力パルスの数をK倍(K>1)するも
のである。アンドゲート22,23はS−Rフリ
ツプ・フロツプ14の正常出力信号および異常
出力信号Qによつてそれぞれ開閉され、異常パル
ス又はそれをK倍したパルスをオアゲート24と
インヒビツトゲート25を通じてカウンタ11の
アツプ端子Uに与える。
The abnormal pulse is applied to an AND gate 22 and also to an AND gate 23 through a pulse multiplier 21. The pulse multiplier 21 multiplies the number of input pulses by K times (K>1). The AND gates 22 and 23 are opened and closed by the normal output signal and the abnormal output signal Q of the S-R flip-flop 14, respectively, and send the abnormal pulse or a pulse K times the abnormal pulse to the counter 11 through the OR gate 24 and the inhibit gate 25. Give it to up terminal U.

正常パルスはアンドゲート32に与えられると
ともにパルスマルチプライヤ31を通してアンド
ゲート33に与えられる。アンドゲート32,3
3は、S−Rフリツプ・フロツプ14の異常出力
信号Qおよび正常出力信号によつてそれぞれ開
閉され、正常パルス又はそれをK倍したパルスを
オアゲート34とインヒビツトゲート35を通じ
てカウンタ11のダウン端子Dに与える。カウン
タ11は正常パルスをカウントダウンし、異常パ
ルスをカウントアツプする所謂アツプダウンカウ
ンタである。カウンタ11の計数値Mはデイテク
タ12,13に与えられ、それぞれ零になつたか
所定値N1になつたかが検出される。デイテクタ
12,13の出力信号はS−Rフリツプ・フロツ
プ14に与えられる。S−Rフリツプ・フロツプ
14は、デイテクタ12の出力信号のフロントエ
ツジによりリセツトされ、デイテクタ13の出力
信号のフロントエツジでセツトされる。デイテク
タ12,13の出力信号は、またインヒビツトゲ
ート35,25にそれぞれ与えられる。S−Rフ
リツプ・フロツプ14のQ出力は、異常出力信号
として出力され、出力は正常出力信号として出
力される。
A normal pulse is applied to an AND gate 32 and also to an AND gate 33 through a pulse multiplier 31. and gate 32,3
3 is opened and closed by the abnormal output signal Q and the normal output signal of the S-R flip-flop 14, respectively, and sends the normal pulse or a pulse K times the normal pulse to the down terminal D of the counter 11 through the OR gate 34 and the inhibit gate 35. give to The counter 11 is a so-called up-down counter that counts down normal pulses and counts up abnormal pulses. The count value M of the counter 11 is given to detectors 12 and 13, and it is detected whether the count value M has reached zero or a predetermined value N1, respectively. The output signals of detectors 12 and 13 are applied to S-R flip-flop 14. S-R flip-flop 14 is reset by the front edge of the output signal of detector 12 and set by the front edge of the output signal of detector 13. The output signals of detectors 12 and 13 are also applied to inhibit gates 35 and 25, respectively. The Q output of the S-R flip-flop 14 is output as an abnormal output signal, and the output is output as a normal output signal.

このように構成された装置の動作は次のとおり
である。動作パターンをK=2の場合について第
2図に示す。最初正常状態が確定しており、カウ
ンタ11の計数値Mは零とN1の間にあり、S−
Rフリツプ・フロツプ14はリセツトされている
とする。S−Rフリツプ・フロツプ14は、リセ
ツトにより正常出力を生じている。このとき、
正常出力Iよつて、アンドゲート22と33は
開いているが、異常出力Qが生じていないことに
よりアンドゲート23と32は閉じている。カウ
ンタ11の計数値Mが零とN1の間にあるため、
インヒビツトゲート25,35はいずれも開いて
いる。
The operation of the device configured in this way is as follows. The operation pattern is shown in FIG. 2 for the case of K=2. Initially, the normal state is established, the count value M of the counter 11 is between zero and N1 , and S-
Assume that R flip-flop 14 has been reset. The S-R flip-flop 14 produces a normal output after being reset. At this time,
The AND gates 22 and 33 are open due to the normal output I, but the AND gates 23 and 32 are closed because the abnormal output Q is not generated. Since the count value M of the counter 11 is between zero and N1 ,
Both inhibit gates 25 and 35 are open.

この状態では通常正常パルスが連続して発生し
ているので、このパルスはパルスマルチプライヤ
31でK倍され、アンドゲート32,オアゲート
34,インヒビツトゲート35を通してカウンタ
11のダウン端子Dに与えられる。このためカウ
ンタ11の計数値MはKずつ減少する。ここでス
テイタス信号がノイズ等により一時的に反転する
と、異常パルスを発生するので、このパルスはア
ンドゲート22,オアゲート24,インヒビツト
ゲート25を通じて、カウンタ11のアツプ端子
Uに直接与えられるが、計数値Mは1だけ引き戻
されるのみである。これによつて、現に確定して
いる正常状態の維持は、それを反転させる動作の
K倍の感度で行なわれることになる。
In this state, normally normal pulses are generated continuously, so these pulses are multiplied by K by the pulse multiplier 31 and applied to the down terminal D of the counter 11 through the AND gate 32, the OR gate 34, and the inhibit gate 35. Therefore, the count value M of the counter 11 decreases by K. If the status signal is temporarily reversed due to noise or the like, an abnormal pulse is generated, so this pulse is directly applied to the up terminal U of the counter 11 through the AND gate 22, OR gate 24, and inhibit gate 25. The number M is only set back by 1. As a result, the maintenance of the currently determined normal state is performed with K times the sensitivity of the operation to reverse it.

異常パルスの発生が、ステイタス信号のノイズ
等による一時的な反転によるものではなく、本当
の異常状態に対するものであるときは、異常パル
スの発生頻度が大きいので、このような感度差に
はかかわりなく、カウンタ11の計数値Mは1ず
つ増加していく。計数値Mが所定値N1に達しな
いうちはS−Rフリツプ・フロツプ14はセツト
されないから、正常出力信号を発生したままであ
り、異常状態の確定に対してはN1に相当するヒ
ステリシスを持つことになる。やがて、カウンタ
11の計数値Mは所定値N1に達する。そうする
と、デイテクタ13がそれを検出しS−Rフリツ
プ・フロツプ14をセツトして異常出力信号を発
生させ、異常状態を確定する。
If the occurrence of an abnormal pulse is not due to a temporary reversal due to status signal noise, etc., but is due to a true abnormal condition, the frequency of occurrence of abnormal pulses is high, so this difference in sensitivity can be ignored. , the count value M of the counter 11 increases by one. Since the S-R flip-flop 14 is not set until the count value M reaches the predetermined value N1 , it continues to generate a normal output signal, and a hysteresis corresponding to N1 is applied to confirm an abnormal state. I will have it. Eventually, the count value M of the counter 11 reaches a predetermined value N1 . Then, the detector 13 detects this and sets the S-R flip-flop 14 to generate an abnormal output signal, thereby confirming the abnormal state.

異常状態が確定しているときは、アンドゲート
22,23,32,33の開閉状態が交代し、ア
ツプダウンカウンタ11のアツプ端子Uには、異
常パルスがパルスマルチプライヤ21によつてK
倍され与えられ、ダウン端子Dには正常パルスが
そのまま与えられるようになる。このため、アツ
プダウンカウンタ11のカウントダウンは、正常
パルスによつて1つずつ行なわれるが、カウント
アツプは異常パルス1個につきKずつ行なわれ、
前記状態と反転した動作を行う。
When an abnormal state is established, the open/close states of the AND gates 22, 23, 32, and 33 are alternated, and an abnormal pulse is output to the up terminal U of the up/down counter 11 by the pulse multiplier 21.
The signal is multiplied and given, and the normal pulse is given to the down terminal D as it is. Therefore, the up-down counter 11 counts down one by one for each normal pulse, but counts up by K for each abnormal pulse.
The operation is the reverse of the above state.

第3図はパルスマルチプライヤ21,31の構
成例を示し、その動作を第4図のタイムチヤート
に示す。第3図で36は単安定マルチバイブレー
タ、37はデジタル発振器、38はオアゲートで
ある。異常あるいは正常入力パルスaは、単安定
マルチバイブレータ36によりパルス幅が増倍さ
れ、bとなつてアンドゲート38に入力される。
また、アンドゲート38のもう一方の入力には、
少なくとも異常パルスあるいは正常パルスの発生
周期よりも短い周期を持つパルス列を発生させる
デジタル発振器37の出力cが加えられている。
従つて、アンドゲート38の出力には、単安定マ
ルチバイブレータ36の出力bの論理が真の時の
みパルス列dが現れ、1つの入力パルスaによつ
て複数の出力パルスdが得られる。第4図ではK
=4のときについて示したものである。
FIG. 3 shows an example of the configuration of the pulse multipliers 21, 31, and their operation is shown in the time chart of FIG. In FIG. 3, 36 is a monostable multivibrator, 37 is a digital oscillator, and 38 is an OR gate. The pulse width of the abnormal or normal input pulse a is multiplied by the monostable multivibrator 36 and inputted to the AND gate 38 as b.
In addition, the other input of the AND gate 38 is
The output c of a digital oscillator 37 that generates a pulse train having a period shorter than that of at least abnormal pulses or normal pulses is added.
Therefore, the pulse train d appears at the output of the AND gate 38 only when the logic of the output b of the monostable multivibrator 36 is true, and a plurality of output pulses d are obtained by one input pulse a. In Figure 4, K
This is shown when =4.

このようにして、現に確定している状態を重視
したステイタス判定を行なつているが、パルスマ
ルチプライヤは回路のLSI化を考えた際に問題が
生じる。これは、現在非常に多く使用されている
セミカスタムのLSI(ゲートアレイ)においては
アナログ回路を組込むことは困難であるからであ
る。従つて単安定マルチバイブレータ,発振器等
は無い方がよい。もつとも発振器に関しては、代
りに他の回路からクロツク信号を供給することは
可能である。
In this way, the status is determined with emphasis on the currently established state, but the pulse multiplier poses a problem when considering converting the circuit into an LSI. This is because it is difficult to incorporate analog circuits into semi-custom LSIs (gate arrays) that are currently in widespread use. Therefore, it is better not to use monostable multivibrators, oscillators, etc. However, for the oscillator, it is possible to supply the clock signal from other circuits instead.

また、この部分は2回路のうち一方が使用され
ているとき他方は使われておらず、無駄である。
さらに、異常あるいは正常パルスの発生周期が短
かくなると、さらに合わせてデジタル発振器の周
期も短かく、すなわち発振周波数を高くしてやら
ねばならないといつた不都合がある。
Moreover, this part is wasted because when one of the two circuits is used, the other is not.
Furthermore, if the generation period of abnormal or normal pulses becomes short, the period of the digital oscillator also becomes short, which is disadvantageous in that the oscillation frequency must be increased.

(考案の目的) 本考案は、前述の如き従来の欠点を改善するた
めに、特に回路のLSI化を考えた際に有効であ
り、少ないハード量と簡単な構成でヒステリシス
を大きくとることができ高速の入力に対しても対
応できるようにしたステイタス判定回路を提供す
るものである。
(Purpose of the invention) The present invention is particularly effective when considering LSI circuits in order to improve the conventional drawbacks as mentioned above, and can provide large hysteresis with a small amount of hardware and a simple configuration. The present invention provides a status determination circuit that is capable of responding to high-speed inputs.

(考案の構成および作用) 以下本考案を詳細に説明する。(Structure and operation of the device) The present invention will be explained in detail below.

第5図に本考案の一実施例を示す。図中第1図
と同じ番号のものは、第1図と同じかあるいはそ
れに対応するものである。それ以外で、41,4
2はアンドゲート、43はオアゲート、15はカ
ウンタである。
FIG. 5 shows an embodiment of the present invention. Components with the same numbers as in FIG. 1 are the same as or correspond to those in FIG. 1. Other than that, 41.4
2 is an AND gate, 43 is an OR gate, and 15 is a counter.

アンドゲート41には異常パルスが、アンドゲ
ート42には正常パルスが与えられ、それぞれ正
常出力信号,異常出力信号によつて開閉され、異
常状態の時は正常パルスが、正常状態の時は異常
パルスが、オアゲート43を通してカウンタ15
へ入力される。カウンタ15は段数がB1段のカ
ウンタである。
An abnormal pulse is applied to the AND gate 41, and a normal pulse is applied to the AND gate 42, which are opened and closed depending on a normal output signal and an abnormal output signal, respectively.When an abnormal state occurs, a normal pulse is applied, and when a normal state exists, an abnormal pulse is applied. is passed through the OR gate 43 to the counter 15.
is input to. The counter 15 is a counter with B1 stages.

また、異常パルスはアンドゲート22へも与え
られており、アンドゲート22,23をそれぞれ
異常出力信号,正常出力信号で開閉することによ
り、オアゲート24,インヒビツトゲート25を
通してカウンタ11のアツプ端子Uへ入力する信
号を、異常パルスとするかカウンタ15の出力パ
ルスとするかの選択を行う。カウンタ15の出力
パルスは計数値が2B1−1の時出力されるキヤリ
ーアウトパルスである。ここではK=2B1とおく。
Further, the abnormal pulse is also given to the AND gate 22, and by opening and closing the AND gates 22 and 23 with the abnormal output signal and normal output signal, respectively, it is passed through the OR gate 24 and the inhibit gate 25 to the up terminal U of the counter 11. A selection is made as to whether the input signal is an abnormal pulse or an output pulse of the counter 15. The output pulse of the counter 15 is a carry-out pulse that is output when the count value is 2 B1 -1. Here, let K=2 B1 .

同様に正常パルスはアンドゲート32,33を
それぞれ異常出力信号,正常出力信号で開閉する
ことにより、オアゲート34とインヒビツトゲー
ト35を通してカウンタ11のダウン端子Dへ入
力する信号をカウンタ15のキヤリーアウトパル
スとするか正常パルスとするかの選択を行う。そ
の他の構成は、第1図の回路と同様である。
Similarly, for normal pulses, by opening and closing the AND gates 32 and 33 with the abnormal output signal and the normal output signal, respectively, the signal input to the down terminal D of the counter 11 through the OR gate 34 and the inhibit gate 35 is output to the carry out of the counter 15. Select whether to use pulse or normal pulse. The rest of the configuration is similar to the circuit shown in FIG.

このように構成された装置の座右さは次のとお
りである。動作状態を第6図に示す。図ではカウ
ンタ15の段数B1を仮に2段として示してあ
る。
The advantages of the device configured as described above are as follows. The operating state is shown in FIG. In the figure, the number of stages B1 of the counter 15 is temporarily shown as two stages.

最初正常状態が確定しており、カウンタ11の
計数値Mは零とN2の間にあり、S−Rフリツ
プ・フロツプ14はリセツトされているものとす
る。S−Rフリツプ・フロツプ14はリセツトに
より正常出力信号を生じている。このとき、正
常出力信号によりアンドゲート41,23,3
3は開いているが、異常出力信号がないことによ
りアンドゲート42,22,32は閉じている。
カウンタ11の計数値Mが零とN2の間にあるた
め、インヒビツトゲート25,35はいずれも開
いている。この状態では通常は正常パルスが連続
して発生しているので、このパルスはアンドゲー
ト33,オアゲート34,インヒビツトゲート3
5を通してカウンタ11のダウン端子Dに直接与
えられる。このため、カウンタ11の計数値Mは
1ずつ減少する。ここで、ステイタス信号がノイ
ズ等により一時的に反転すると、異常パルスを発
生するので、このパルスは、アンドゲート41は
オアゲート43を通してカウンタ15へ入力され
る。これにより、カウンタ15の計数値Lが1ず
つ増加し、キヤリーアウト信号が発生すると、ア
ンドゲート23,オアゲート24,インヒビツト
ゲート25を通してはじめてカウンタ11のアツ
プ端子Uに与えられるとともに、カウンタ15は
リセツトされて、計数値Lは零に戻る。すなわ
ち、異常パルスK個に対して1個の割合でアツプ
パルスが入力され、異常パルスは1/K倍されて
カウンタ11のアツプ端子Uに与えられることに
なる。これによつて、現に確定している正常状態
の維持は、それを反転させる動作のK倍の感度で
行なわれることになる。
It is assumed that the normal state is initially established, the count value M of the counter 11 is between zero and N2 , and the S-R flip-flop 14 has been reset. S-R flip-flop 14 produces a normal output signal upon reset. At this time, the AND gates 41, 23, 3
3 is open, but AND gates 42, 22, and 32 are closed because there is no abnormal output signal.
Since the count value M of the counter 11 is between zero and N2 , both inhibit gates 25 and 35 are open. In this state, normally normal pulses are generated continuously, so these pulses are sent to AND gate 33, OR gate 34, and inhibit gate 3.
5 and directly to the down terminal D of the counter 11. Therefore, the count value M of the counter 11 decreases by one. Here, if the status signal is temporarily reversed due to noise or the like, an abnormal pulse is generated, and this pulse is input to the counter 15 through the AND gate 41 and the OR gate 43. As a result, the count value L of the counter 15 increases by 1, and when a carry-out signal is generated, it is applied to the up terminal U of the counter 11 for the first time through the AND gate 23, the OR gate 24, and the inhibit gate 25, and the counter 15 is reset. Then, the count value L returns to zero. That is, one up pulse is input for every K abnormal pulses, and the abnormal pulse is multiplied by 1/K and applied to the up terminal U of the counter 11. As a result, the maintenance of the currently determined normal state is performed with K times the sensitivity of the operation to reverse it.

異常パルスの発生が一時的な反転によるもので
なく、本当の異常状態に対するものであるとき
は、異常パルスの発生頻度が大きいので、このよ
うな感度差にはかかわりなくカウンタ11の計数
値Mは増加していく。計数値Mが所定値N2に達
しないうちは、S−Rフリツプ・フロツプ14は
セツトされないから、正常出力信号を発生したま
まであり、異常状態の確定に対しては、K×N2
(第6図の例の場合は4×N2)のヒステリシスを
持つことになり、第1図のヒステリシスN1と同
様のヒステリシスとするには、N2=N1/Kでよ
く、カウンタ11の段数も少なくてすむ。やが
て、カウンタ11の計数値Mは所定値N2に達し、
デイテクタ13がそれを検出してS−Rフリツ
プ・フロツプ14をセツトし、異常出力信号を発
生させ、異常状態を確定する。
When the occurrence of an abnormal pulse is not due to a temporary reversal but is due to a true abnormal state, the frequency of occurrence of the abnormal pulse is high, so the count value M of the counter 11 is It will increase. Since the S-R flip-flop 14 is not set until the count value M reaches the predetermined value N 2 , it continues to generate a normal output signal, and when an abnormal state is determined, K×N 2
(In the case of the example shown in FIG . 6, the hysteresis is 4×N 2 ).In order to obtain the same hysteresis as the hysteresis N 1 shown in FIG. The number of stages can also be reduced. Eventually, the count value M of the counter 11 reaches a predetermined value N2 ,
Detector 13 detects this and sets S-R flip-flop 14 to generate an abnormal output signal and establish an abnormal condition.

異常状態が確定すると、アンドゲート41,2
3,33およびアンドゲート42,22,32の
開閉状態が交代し、カウンタ11のアツプ端子U
には異常パルスが直接、ダウン端子Dには正常パ
ルスが1/K倍されて与えられるようになる。こ
のためカウンタ11のカウントダウンは、正常パ
ルスK個に1個の割合で行なわれるが、カウント
アツプは異常パルスによつて1つずつ行なわれ、
前記状態の正常側と異常側が反転した動作を行
う。
When the abnormal condition is confirmed, AND gates 41, 2
3, 33 and the AND gates 42, 22, 32 are alternately opened and closed, and the up terminal U of the counter 11 is
The abnormal pulse is directly applied to the down terminal D, and the normal pulse multiplied by 1/K is applied to the down terminal D. Therefore, the counter 11 counts down once for every K normal pulses, but counts up one by one for each abnormal pulse.
An operation is performed in which the normal side and abnormal side of the above state are reversed.

異常のごとき構成によれば、従来例では現に確
定している状態を優先させるために2構成必要で
あつたパルスマルチプライヤを1構成のみにする
ことができ、ハード量が減少できるとともに、マ
ルチプライヤの代りに1/Kに分周するカウンタ
に置き換えたことにより、異常あるいは正常パル
スの発生周波数以外のクロツクが必要なくなり、
パルス発生周期が短い高速の回路にも対応でき、
なおかつカウンタの段数も少なくてすみ、一層ハ
ード量が減少できる。
According to the abnormal configuration, the pulse multiplier, which required two configurations in the conventional example in order to give priority to the currently determined state, can be reduced to one configuration, and the amount of hardware can be reduced and the multiplier By replacing it with a counter that divides the frequency by 1/K, there is no need for a clock other than the frequency at which abnormal or normal pulses occur.
Compatible with high-speed circuits with short pulse generation cycles,
Furthermore, the number of stages of the counter can be reduced, and the amount of hardware can be further reduced.

第7図に本考案の他の一実施例を示す。図中、
第1図,第5図と同じ番号のものは、第1図,第
5図と同じかあるいはそれに対応するものであ
る。それ以外で、16,17はカウンタ、18は
オアゲート、9はカウンタリセツト信号である。
アンドゲート41,42,22,23,32,3
3、オアゲート43,24,34、カウンタ15
の構成は第5図と全く同じである。第5図と異な
るのは、オアゲート24,34の出力をインヒビ
ツトゲート25,35を通してそれぞれカウンタ
11のアツプ端子,ダウン端子に入力する代り
に、カウンタ16,17にそれぞれ直接入力して
いるところであり、カウンタ16は異常パルスを
カウントし、所定値Nに達すると、キヤリーアウ
ト信号によつてS−Rフリツプ・フロツプをセツ
トするとともに、オアゲート18を通してカウン
タリセツト信号9によりカウンタ16および17
をリセツトする。カウンタ17は正常パルスをカ
ウントし、所定値Nに達すると、キヤリーアウト
信号によつてS−Rフリツプ・フロツプをリセツ
トするとともに、オアゲート18を通してカウン
タリセツト信号9によりカウンタ16および17
をリセツトする。
FIG. 7 shows another embodiment of the present invention. In the figure,
Items with the same numbers as in FIGS. 1 and 5 are the same as or correspond to those in FIGS. 1 and 5. Other than that, 16 and 17 are counters, 18 is an OR gate, and 9 is a counter reset signal.
And gate 41, 42, 22, 23, 32, 3
3, OR gate 43, 24, 34, counter 15
The configuration is exactly the same as that shown in FIG. The difference from FIG. 5 is that the outputs of OR gates 24 and 34 are input directly to counters 16 and 17, respectively, instead of being input to the up and down terminals of counter 11 through inhibit gates 25 and 35, respectively. , the counter 16 counts abnormal pulses, and when a predetermined value N is reached, the S-R flip-flop is set by a carry-out signal, and the counters 16 and 17 are reset by a counter reset signal 9 through an OR gate 18.
Reset. Counter 17 counts normal pulses, and when it reaches a predetermined value N, it resets the S-R flip-flop with a carry-out signal and also resets the counters 16 and 17 with a counter reset signal 9 through OR gate 18.
Reset.

このように構成された回路の動作は次のとおり
である。動作状態を第8図に示す。図では、カウ
ンタ15,16,17の段数をいずれも2段と仮
定して示している。
The operation of the circuit configured in this way is as follows. The operating state is shown in FIG. In the figure, the number of stages of the counters 15, 16, and 17 is assumed to be two stages.

最初正常状態が確定しており、S−Rフリツ
プ・フロツプ14はリセツトされているとする。
S−Rフリツプ・フロツプ14は、リセツトによ
り正常出力信号を生じている。このとき、アン
ドゲート41,23,33は開き、アンドゲート
42,22,32が閉じているのは第5図の場合
と同じである。この状態では、通常、正常パルス
が連続して発生しているので、このパルスはアン
ドゲート33とオアゲート34を通してカウンタ
17へ直接与えられ、正常パルスが発生するたび
にカウンタ17の計数値M2は「1」だけ増加す
る。ここで、ノイズ等によるステイタス信号の反
転によつて、異常パルスが発生すると、このパル
スはアンドゲート41とオアゲート43を通して
カウンタ15へ入力されるので、カウンタ15の
計数値Lが「1」ずつ増加し、Kに達するとキヤ
リーアウト信号が発生する。この出力はアンドゲ
ート23とオアゲート24を通してカウンタ16
に与えられるとともに、カウンタ15はリセツト
される。従つて、異常パルスが1/K倍され、現
に確定している正常状態の維持は、それを反転さ
せる動作のK倍の感度で行なわれる。
It is assumed that the normal state is initially established and the S-R flip-flop 14 has been reset.
S-R flip-flop 14 produces a normal output signal upon reset. At this time, AND gates 41, 23, and 33 are open, and AND gates 42, 22, and 32 are closed, as in the case of FIG. In this state, normal pulses are normally generated continuously, so these pulses are directly given to the counter 17 through the AND gate 33 and the OR gate 34, and each time a normal pulse is generated, the count value M 2 of the counter 17 is Increase by "1". Here, when an abnormal pulse is generated due to the inversion of the status signal due to noise etc., this pulse is input to the counter 15 through the AND gate 41 and the OR gate 43, so the count value L of the counter 15 increases by "1". When K is reached, a carry-out signal is generated. This output is passed through an AND gate 23 and an OR gate 24 to a counter 16.
and the counter 15 is reset. Therefore, the abnormal pulse is multiplied by 1/K, and the currently established normal state is maintained with K times the sensitivity of the operation to reverse it.

異常パルスの発生が本当の異常状態によるもの
であるときは、異常パルスの発生頻度が大きいの
で、このような感度の差にもかかわらずやがてカ
ウンタ16の計数値M1の方がカウンタ17の計
数値M2よりも先にNに達し、キヤリーアウト信
号を出してS−Rフリツプ・フロツプ14をセツ
トして異常状態を確定するが、それまでの間は正
常出力信号を発生したままであり、異常状態の
確定に対しては、やはりK×N(第8図の例の場
合は4×4)のヒステリシスを持つことも第5図
と同じである。この時カウンタ16のキヤリーア
ウト出力が、オアゲート18を通してカウンタリ
セツト信号9となり、これがカウンタ16,17
をともにリセツトする。異常状態が確定すると、
第5図と同様に異常パルスと正常に対する動作は
反転し、正常パルスに対する感度は1/K倍され
ることになる。
When the occurrence of an abnormal pulse is due to a true abnormal state, the frequency of occurrence of the abnormal pulse is high, so the count value M1 of the counter 16 will eventually become larger than the count value M1 of the counter 17 despite this difference in sensitivity. It reaches N before the numerical value M2 , outputs a carry-out signal, sets the S-R flip-flop 14, and confirms the abnormal state, but until then, the normal output signal continues to be generated, and the abnormal state is determined. As in FIG. 5, the state determination has a hysteresis of K×N (4×4 in the example of FIG. 8). At this time, the carry-out output of the counter 16 becomes the counter reset signal 9 through the OR gate 18, which is sent to the counters 16 and 17.
Reset both. When an abnormal condition is confirmed,
As in FIG. 5, the operations for abnormal pulses and normal pulses are reversed, and the sensitivity for normal pulses is multiplied by 1/K.

以上のような構成は、第5図と同程度のハード
量で同様の機能を実現している。
The above configuration realizes the same functions as in FIG. 5 with the same amount of hardware.

(考案の効果) 以上説明した2つの実施例によれば、いずれに
おいてもLSI化の際、障害となる単安定マルチバ
イブレータ,デジタル発振器を用いない回路構成
となるとともに、現に確定している状態に対して
ある一定の重みづけをする回路部分を正常側,異
常側で共用することにより、ハード量あるいは
LSI化の際にはゲート数の減少を実現しており、
この効果は重みづけの定数Kの値を大きくとろう
とすればするほど顕著に現われる。
(Effects of the invention) According to the two embodiments described above, in both cases, the circuit configuration does not use a monostable multivibrator or digital oscillator, which would be an obstacle when implementing LSI, and the circuit configuration can be realized in an already established state. By sharing the circuit part that gives a certain weight to the normal side and the abnormal side, it is possible to reduce the amount of hardware or
When converting to LSI, we have achieved a reduction in the number of gates.
This effect becomes more pronounced as the value of the weighting constant K increases.

さらに、重みづけに際し、入力パルスをK倍に
増加する代りに、他方の入力パルスを1/K倍す
ることにより、相対的な重みづけは同一に保ちつ
つ、入力パルスの発生周期が短い高速の回路にも
対応できるという大きな利点を生み出している。
Furthermore, when weighting, instead of increasing the input pulse by a factor of K, the other input pulse is multiplied by 1/K, thereby keeping the relative weighting the same while increasing the speed of the input pulse with a short generation period. It has the great advantage of being compatible with circuits.

以上説明したように、本考案によれば二値ステ
イタス信号に伴つて発生する正常パルス,異常パ
ルスを各々一定数カウントし、その結果により正
常状態,異常状態を判定する判定回路において、
従来に比べ、カウンタの段数の減少の他、少ない
ハード量あるいは少ないゲート数で高速向き、
LSI化向きの回路が実現できるという効果をもた
らすことができる。
As explained above, according to the present invention, in a determination circuit that counts a fixed number of normal pulses and abnormal pulses generated in conjunction with a binary status signal, and determines a normal state or an abnormal state based on the results,
In addition to reducing the number of counter stages, it is suitable for high speed with less hardware or fewer gates than before.
This has the effect of realizing a circuit suitable for LSI.

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

第1図は従来回路の構成を示すブロツク図、第
2図は第1図の回路の動作説明用タイムチヤー
ト、第3図は第1図の従来例に用いるパルスマル
チプライヤの構成例を示すブロツク図、第4図は
第3図の回路の動作説明用タイムチヤート、第5
図は本考案の一実施例を示すブロツク図、第6図
は第5図の回路の動作説明用タイムチヤート、第
7図は本考案の他の一実施例を示すブロツク図、
第8図は第7図の回路の動作説明用タイムチヤー
トである。 9……カウンタリセツト信号、11,15,1
6,17……カウンタ、12,13……デイテク
タ、14……S−Rフリツプ・フロツプ、21,
31……パルスマルチプライヤ、22,23,3
2,33,41,42……アンドゲート、24,
34,43,18……オアゲート、25,35…
…インヒビツトゲート、36……単安定マルチバ
イブレータ、37……デジタル発振器、38……
アンドゲート、a……異常あるいは正常入力パル
ス、b……単安定マルチバイブレータ出力、c…
…デジタル発振器出力、d……パルスマルチプラ
イヤ出力。
Figure 1 is a block diagram showing the configuration of a conventional circuit, Figure 2 is a time chart for explaining the operation of the circuit in Figure 1, and Figure 3 is a block diagram showing an example of the configuration of a pulse multiplier used in the conventional example of Figure 1. Figure 4 is a time chart for explaining the operation of the circuit in Figure 3, Figure 5 is a time chart for explaining the operation of the circuit in Figure 3.
The figure is a block diagram showing one embodiment of the present invention, FIG. 6 is a time chart for explaining the operation of the circuit of FIG. 5, and FIG. 7 is a block diagram showing another embodiment of the present invention.
FIG. 8 is a time chart for explaining the operation of the circuit shown in FIG. 9... Counter reset signal, 11, 15, 1
6, 17... Counter, 12, 13... Detector, 14... S-R flip-flop, 21,
31... Pulse multiplier, 22, 23, 3
2, 33, 41, 42...and gate, 24,
34, 43, 18... Or Gate, 25, 35...
...inhibit gate, 36...monostable multivibrator, 37...digital oscillator, 38...
AND gate, a... Abnormal or normal input pulse, b... Monostable multivibrator output, c...
...Digital oscillator output, d...Pulse multiplier output.

Claims (1)

【実用新案登録請求の範囲】 (1) 二値ステイタスにそれぞれ対応する正常パル
スと異常パルスの一方を選択する第1の選択手
段と、該選択手段により選択された正常パルス
又は異常パルスを予め定めた分周比で分周する
分周手段と、二つの入力パルスの各個数のいず
れが予め定めた計数値に達するかを示す計数結
果に従つて異常状態出力と正常状態出力を出す
計数手段と、該計数手段が前記異常状態出力を
出したときにセツトされて異常状態を示す異常
出力を出し該正常状態出力を出したときにリセ
ツトされて正常状態を示す正常出力を出すフリ
ツプ・フロツプと、該正常出力により前記選択
手段に前記異常パルスを選択させ該異常出力に
より前記選択手段に前記正常パルスを選択させ
る制御手段と、該正常出力が出力されていると
きには前記分周手段の出力パルスと前記正常パ
ルスとを前記計数手段に計数させかつ前記異常
出力が出力されているときには前記分周手段の
出力パルスと前記異常パルスとを前記計数手段
に計数させる第2の選択手段とを備え、前記フ
リツプ・フロツプからの異常出力と正常出力と
を判定結果としてとり出すように構成されたス
テイタス判定回路。 (2) 前記計数手段が、前記異常パルス又は該異常
パルスを前記分周手段により分周した異常分周
パルスをアツプ入力パルスとしかつ前記正常パ
ルス又は該正常パルスを前記分周手段により分
周した正常パルスをダウン入力とし前記予め定
めた計数値に相当するスケールを有するアツプ
ダウンカウンタと、該アツプダウンカウンタの
出力が前記予め定めた計数値に達したときに前
記フリツプ・フロツプにセツト入力を出す第1
のデイテクタと、該アツプダウンカウンタの出
力が前記予め定めた計数値に達しないときに前
記フリツプ・フロツプにリセツト入力を出す第
2のデイテクタとを備えた実用新案登録請求の
範囲第1項に記載のステイタス判定回路。 (3) 前記計数手段が、前記異常パルス又は該異常
パルスを前記分周手段により分周した異常分周
パルスを計数して第1の所定の計数値に達した
ときに前記フリツプ・フロツプにセツト入力を
印加する第1のカウンタと、前記正常パルス又
は該正常パルスを前記分周手段により分周した
正常分周パルスを計数して第2の所定の計数値
に達したときに前記フリツプ・フロツプにリセ
ツト入力を印加する第2のカウンタと、前記セ
ツト入力又は前記リセツト入力が発生したとき
に前記第1のカウンタと前記第2のカウンタと
をリセツトするリセツト手段とを備えた実用新
案登録請求の範囲第1項に記載のステイタス判
定回路。
[Claims for Utility Model Registration] (1) A first selection means for selecting one of a normal pulse and an abnormal pulse corresponding to each binary status, and a normal pulse or an abnormal pulse selected by the selection means is predetermined. a frequency dividing means for dividing the frequency at a predetermined frequency division ratio; and a counting means for outputting an abnormal state output and a normal state output according to a counting result indicating which of the two input pulses reaches a predetermined count value. , a flip-flop that is set when the counting means outputs the abnormal state output, and outputs an abnormal output indicating an abnormal state, and is reset when the counting means outputs the normal state output, and outputs a normal output indicating a normal state; control means for causing the selection means to select the abnormal pulse according to the normal output; and control means for causing the selection means to select the normal pulse according to the abnormal output; and second selection means for causing the counting means to count the normal pulses and the abnormal pulses when the abnormal output is output, and for causing the counting means to count the output pulses of the frequency dividing means and the abnormal pulses, - A status determination circuit configured to extract abnormal output and normal output from the flop as a determination result. (2) The counting means uses the abnormal pulse or the abnormal frequency-divided pulse obtained by dividing the abnormal pulse by the frequency dividing means as an up input pulse, and the normal pulse or the normal pulse is frequency-divided by the frequency dividing means. an up-down counter with a normal pulse as a down input and a scale corresponding to the predetermined count value, and a set input to the flip-flop when the output of the up-down counter reaches the predetermined count value. 1st
and a second detector that outputs a reset input to the flip-flop when the output of the up-down counter does not reach the predetermined count value. status determination circuit. (3) The counting means counts the abnormal pulse or the abnormal frequency-divided pulse obtained by dividing the abnormal pulse by the frequency dividing means, and sets the flip-flop in the flip-flop when the count reaches a first predetermined count value. a first counter to which an input is applied, and a counter that counts the normal pulse or a normal frequency-divided pulse obtained by dividing the normal pulse by the frequency dividing means, and when a second predetermined count value is reached, the flip-flop a second counter to which a reset input is applied; and reset means to reset the first counter and the second counter when the set input or the reset input occurs. The status determination circuit according to the first item in the range.
JP8939784U 1984-06-18 1984-06-18 Status judgment circuit Granted JPS618400U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8939784U JPS618400U (en) 1984-06-18 1984-06-18 Status judgment circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8939784U JPS618400U (en) 1984-06-18 1984-06-18 Status judgment circuit

Publications (2)

Publication Number Publication Date
JPS618400U JPS618400U (en) 1986-01-18
JPH049676Y2 true JPH049676Y2 (en) 1992-03-10

Family

ID=30643435

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8939784U Granted JPS618400U (en) 1984-06-18 1984-06-18 Status judgment circuit

Country Status (1)

Country Link
JP (1) JPS618400U (en)

Also Published As

Publication number Publication date
JPS618400U (en) 1986-01-18

Similar Documents

Publication Publication Date Title
US4657406A (en) Timing generating device
US3609569A (en) Logic system
US5327019A (en) Double edge single data flip-flop circuitry
US4759043A (en) CMOS binary counter
US3571728A (en) Fractional frequency divider
US4937845A (en) Fast library element gray code generators without feedback and feedforward networks
US5122757A (en) Digital frequency generator
JPH049676Y2 (en)
US4104586A (en) Apparatus for indicating the sequence of alternating current signals
CA1086384A (en) Negative r-s triggered latch
JPS6333737B2 (en)
JP2690516B2 (en) Ring counter
JP2643470B2 (en) Synchronous counter
JP2563366B2 (en) Signal cycle measuring device
JPH04105412A (en) Flip-flop
JP2621205B2 (en) Divider circuit
JPS645400Y2 (en)
JP3382329B2 (en) Odd counter circuit
SU980287A1 (en) 12-cycle reversible pulse distributor
JPS62203420A (en) Counter circuit
Morris Synchronous Counters
JPS5617444A (en) High-speed signal comparator
JPH07120932B2 (en) Phase comparison circuit
JPH0691425B2 (en) Frequency divider using D-type flip-flop
JPS60120617A (en) Digital variable dividing circuit