JPS598000B2 - status detection device - Google Patents

status detection device

Info

Publication number
JPS598000B2
JPS598000B2 JP13168882A JP13168882A JPS598000B2 JP S598000 B2 JPS598000 B2 JP S598000B2 JP 13168882 A JP13168882 A JP 13168882A JP 13168882 A JP13168882 A JP 13168882A JP S598000 B2 JPS598000 B2 JP S598000B2
Authority
JP
Japan
Prior art keywords
terminal
output
detector
counter
output terminal
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
JP13168882A
Other languages
Japanese (ja)
Other versions
JPS5878300A (en
Inventor
一宇 渡部
操 清水
晃弘 菅原
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Hokushin Electric 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 Yokogawa Hokushin Electric Corp filed Critical Yokogawa Hokushin Electric Corp
Priority to JP13168882A priority Critical patent/JPS598000B2/en
Publication of JPS5878300A publication Critical patent/JPS5878300A/en
Publication of JPS598000B2 publication Critical patent/JPS598000B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)
  • Alarm Systems (AREA)

Description

【発明の詳細な説明】 本発明は、ステイタス検出装置に関するものである。[Detailed description of the invention] The present invention relates to a status detection device.

ステイタス検出装置は二値ステイタス信号の論理値に基
づいてステイタスを検出する。
The status detection device detects the status based on the logical value of the binary status signal.

このためステイタス信号の論理値がノイズの影響などに
よりー時的に変動すると、ステイタス検出結果に誤りが
生じるので、なんらかの対策が必要である。本発明の目
的は、方向性あるヒステリシスを持ちステイタス信号の
一時的変動に影響されずに安定な動作をするステイタス
検出装置を提供することにある。以下図面によつて本発
明を説明する。
Therefore, if the logical value of the status signal fluctuates over time due to the influence of noise or the like, an error will occur in the status detection result, so some kind of countermeasure is required. An object of the present invention is to provide a status detection device that has directional hysteresis and operates stably without being affected by temporary fluctuations in a status signal. The present invention will be explained below with reference to the drawings.

第1図は本発明実施例の概念的構成図である。第1図に
おいて、1はステイタス信号の入力端子、2はアラーム
・スキャナ、3、4はアンドゲート、5はカウンタ、6
、7はディテクタ、8はアラーム・フリップフロップ回
路、9、10はそれぞれ正常信号出力端子および異常信
号出力端子である。ステイタス信号は入力端子1に与え
られる。いまステイタス信号はアラーム信号であり、そ
の論理値が「H」のとき異常、「L」のとき正常となる
。アラーム・スキャナ2はアラーム信号の論理値を周期
的に検出して、異常時は出力端子QBに、正常時は出力
端子QAにそれぞれ出力パルスを生じる。これら出力パ
ルスは、カウンタ5のUP入力端子およびDOWN入力
端子にそれぞれ与えられるとともに、アンドゲート3,
4を通じてそれぞれカウンタ5のロード端子およびクリ
ア端子に与えられる。カウンタ5は正常パルスをカウン
トダウンし、異常パルスをカウントアツプする。カウン
タ5の計数値Mはデイテクタ6,7に与えられ、それぞ
れ零になつたか所定値Nになつたかが検出される。デイ
テクタ6,7の出力はアラーム・フリツプフロツプ回路
8に与えられる。アラーム・フリツプフロツプ回路8は
デイテクタ6の出力のフロントエツジによつてりセツト
され、デイテクタ7の出力のフロントエツジでセツトさ
れる。アラーム・フリツプフロツプ回路8のQ端子のH
出力は異常信号として出力され、o端子のH出力は正常
信号として出力される。アラーム・フリツプフロツプ回
路8の異常出力および正常出力は、それぞれアンドゲー
ト3,4に与えられる。このように構成された装置の動
作は次のとおりである。
FIG. 1 is a conceptual block diagram of an embodiment of the present invention. In Figure 1, 1 is a status signal input terminal, 2 is an alarm scanner, 3 and 4 are AND gates, 5 is a counter, and 6
, 7 is a detector, 8 is an alarm flip-flop circuit, and 9 and 10 are a normal signal output terminal and an abnormal signal output terminal, respectively. A status signal is applied to input terminal 1. The status signal is an alarm signal, and when its logical value is "H", it is abnormal, and when its logical value is "L", it is normal. The alarm scanner 2 periodically detects the logical value of the alarm signal and generates an output pulse at the output terminal QB when an abnormality occurs and at the output terminal QA when it is normal. These output pulses are given to the UP input terminal and DOWN input terminal of the counter 5, respectively, and the AND gate 3,
4 to the load terminal and clear terminal of the counter 5, respectively. The counter 5 counts down normal pulses and counts up abnormal pulses. The count value M of the counter 5 is given to detectors 6 and 7, and it is detected whether the count value M has reached zero or a predetermined value N, respectively. The outputs of the detectors 6 and 7 are applied to an alarm flip-flop circuit 8. Alarm flip-flop circuit 8 is set by the front edge of the output of detector 6 and is set by the front edge of the output of detector 7. High level of Q terminal of alarm flip-flop circuit 8
The output is output as an abnormal signal, and the H output of the o terminal is output as a normal signal. The abnormal output and normal output of the alarm flip-flop circuit 8 are applied to AND gates 3 and 4, respectively. The operation of the device configured in this way is as follows.

動作説明図を第2図に示す。最初正常状態が続いており
、カウンタ5の計数値Mが零であり、アラーム・フリツ
プフロツプ回路8はリセツトされているとする。アラー
ム・フリツプフロツプ回路8はりセツトによりO端子か
ら正常出力を生じている。このときアラーム・フリツプ
フロツプ回路8のQ端子とo端子との出力信号によつて
、アンドゲート3が閉じられ、アンドゲート4が開かれ
る。この状態でアラームスキヤナ2が一定周期で正常パ
ルスを生じると、アンドゲート4を通じて、カウンタ5
にクリアパルスが与えられ、それによつて計数値がクリ
アされるので、計数値は零のままである。このような状
態で入力のステイタス信号が反転すると、アラーム・ス
キヤナ2はそれに従つて出力端子QBに異常パルスを発
生するようになる。
An explanatory diagram of the operation is shown in FIG. Assume that initially the normal state continues, the count value M of the counter 5 is zero, and the alarm flip-flop circuit 8 has been reset. The alarm flip-flop circuit 8 is reset to produce a normal output from the O terminal. At this time, the AND gate 3 is closed and the AND gate 4 is opened by the output signals from the Q terminal and the O terminal of the alarm flip-flop circuit 8. In this state, when the alarm scanner 2 generates a normal pulse at a certain period, the counter 5 is output through the AND gate 4.
A clear pulse is applied to the counter, thereby clearing the count value, so the count value remains zero. If the input status signal is inverted in such a state, the alarm scanner 2 will generate an abnormal pulse at the output terminal QB accordingly.

このパルスはカウンタ5のUP端子に与えられるので、
カウンタ5の計数値Mは零でなくなる。入力のステイタ
ス信号がアラーム状態を告げている間は、異常パルスが
カウンタ5にカウントアツプされ計数値Mが増加する。
計数値Mが所定値Nに達しないうちはアラーム・フリツ
プフロツプ回路8はセツトされないから、Q端子に正常
出力を発生している。カウンタ5の計数値Mがやがて所
定値Nに達するとデイテクタ7がそれを検出し、アラー
ム・フリツプフロツプ回路8をセツトしてQ端子に異常
出力を発生させる。これによつて異常状態が確定する。
アラーム・フリツプフロツプ回路8の出力信号が交代し
たことにより、アンドゲート3,4の開閉状態も交代し
て、アンドゲート3が開、アンドゲート4が閉となる。
This pulse is given to the UP terminal of counter 5, so
The count value M of the counter 5 is no longer zero. While the input status signal indicates an alarm state, the abnormal pulses are counted up in the counter 5 and the count value M increases.
Since the alarm flip-flop circuit 8 is not set until the count value M reaches the predetermined value N, a normal output is generated at the Q terminal. When the count value M of the counter 5 eventually reaches a predetermined value N, the detector 7 detects this and sets the alarm flip-flop circuit 8 to generate an abnormal output at the Q terminal. This confirms the abnormal state.
As the output signal of the alarm flip-flop circuit 8 is changed, the open/closed states of the AND gates 3 and 4 are also changed, so that the AND gate 3 is opened and the AND gate 4 is closed.

この状態で異常パルスが継続して入つてくると、その都
度アンドゲート3を通じてカウンタ5にロードパルスが
与えられるので、それによつてカウンタ5には所定値N
がロードされる。これによつて、カウンタ5の計数値は
Nに保たれる。入力のステイタス信号が正常に転すると
、正常パルスがカウンタ5のDOWN端子に入力される
ので、カウンタ5の計数値Mは次第に減じられ、これが
零に達するとデイテクタ6の働きによつてアラーム・フ
リツプフロツプ回路8の出力が反転してQ端子に正常出
力を生じ、かつアンドゲート3が閉じられてアンドゲー
ト4が開き、正常状態が確定する。
If an abnormal pulse continues to come in in this state, a load pulse is given to the counter 5 through the AND gate 3 each time, so that the counter 5 is loaded with a predetermined value N.
is loaded. As a result, the count value of the counter 5 is maintained at N. When the input status signal turns normally, a normal pulse is input to the DOWN terminal of the counter 5, so the count value M of the counter 5 is gradually decreased, and when it reaches zero, the alarm flip-flop is activated by the action of the detector 6. The output of the circuit 8 is inverted to produce a normal output at the Q terminal, and the AND gate 3 is closed and the AND gate 4 is opened, establishing a normal state.

このように、異常正常を確定するのに、それらの状態が
ある程度継続したことを条件とするようにしたので、確
実度の高い状態検出が行なえる。
In this way, since abnormality and normality are determined based on the condition that these states have continued for a certain period of time, the state can be detected with a high degree of certainty.

カウンタ5に設定された所定値Nは確定状態を変更する
ときのヒステリシスを与えることになる。ヒステリシス
の幅はNの値を選ぶことによつて調整される。さて、こ
のような装置において、異常状態が確定しているときに
アラーム・スキヤナ2が異常パルスを発生すると、カウ
ンタ5に所定値Nがロードされ、正常状態が確定してい
るときに正常パルスが発生すると、カウンタ5の計数値
がクリアされるようになつているので、異常状態の確定
中に一時的に正常パルヌがいくつか発生してカウンタ5
の計数値が減少しても、異常パルスが1つでもくると計
数値はNに引き戻され、また正常状態の確定中に一時的
に異常パルスがいくつか発生しカウンタ5の計数値が増
加しても、正常パルスが1つでもくると計数値はクリア
される。
The predetermined value N set in the counter 5 provides hysteresis when changing the established state. The width of the hysteresis is adjusted by choosing the value of N. Now, in such a device, if the alarm scanner 2 generates an abnormal pulse when an abnormal condition is established, a predetermined value N is loaded into the counter 5, and when a normal pulse is generated when the normal condition is established. When this occurs, the count value of the counter 5 is cleared, so some normal parnus may temporarily occur while the abnormal condition is being determined, and the count value of the counter 5 will be cleared.
Even if the count value of counter 5 decreases, if even one abnormal pulse occurs, the count value will be pulled back to N, and some abnormal pulses will temporarily occur while the normal state is being established, and the count value of counter 5 will increase. However, if even one normal pulse occurs, the count value is cleared.

このような計数値制御によつて、ヒステリシスに方向性
を持たせ、現に確定している状態の確保に重きを置くよ
うにすることができる。以上はステイタス信号がアラー
ム信号の場合であるが、本発明は二値信号によつてステ
イタスを表わす場合のステイタス検出に一般的に適用で
きる。
By controlling the count value in this manner, the hysteresis can be given directionality, and emphasis can be placed on ensuring the currently determined state. Although the above is a case where the status signal is an alarm signal, the present invention is generally applicable to status detection when the status is expressed by a binary signal.

以上のように本発明によれば、ステイタスを検出するの
に方向性を持つヒステリシスを設けたので、ノイズなど
に惑わされずに確実度の高いステイタス検出が行なえる
As described above, according to the present invention, since directional hysteresis is provided for status detection, highly reliable status detection can be performed without being disturbed by noise or the like.

ヒステリシスがあるために、ノイズ混入などによる一時
的なステイタスの反転は無視されるので、継続している
同一内容のステイタスが何度も報告されることがない。
また適用対象の性質に合わせてヒステリシスの幅と方向
性を定めることがとできるので、最適なステイタス検出
が行なえる。
Due to the hysteresis, temporary status reversals due to noise contamination are ignored, so the same continuous status is not reported over and over again.
Furthermore, since the width and direction of hysteresis can be determined according to the properties of the object to which it is applied, optimal status detection can be performed.

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

第1図は、本発明実施例の概念的構成図.第2図は、第
1図の装置の動作説明図である。 1・・・・・・ステイタス信号の入力端子、2・・・・
・・アラーム・スキヤナ、3,4・・・・・・アンドゲ
ート、5・・・・・・アツプダウンカウンタ、6・・・
・・・第1のデイテクタ、7・・・・・・第2のデイテ
クタ、8・・・・・・アラーム・フリツプフロツプ、9
,10・・・・・・出力端子。
Figure 1 is a conceptual configuration diagram of an embodiment of the present invention. FIG. 2 is an explanatory diagram of the operation of the apparatus shown in FIG. 1. 1... Status signal input terminal, 2...
...Alarm scanner, 3, 4...And gate, 5...Up-down counter, 6...
...First detector, 7...Second detector, 8...Alarm flip-flop, 9
, 10... Output terminal.

Claims (1)

【特許請求の範囲】 1 入力の二値信号の論理値に対応する二種類の出力パ
ルスをそれぞれ定期的に生じるスキャナ、このスキャナ
の二種類の出力パルスの一方をUP端子に入力してカウ
ントアップし二種類の出力パルスの他方をDOWN端子
に入力してカウントダウンするアップダウンカウンタ、
このアップダウンカウンタの計数値が零になつたことお
よび零より大きい所定値になつたことをそれぞれ検出し
信号を発信する第1および第2のディテクタ、第1のデ
ィテクタの出力端子がリセット入力端子に接続され、第
2のディテクタの出力端子がセット入力端子に接続され
、そのセット出力端子およびリセット出力端子から二値
信号のそれぞれを確定したステイタスとして出力するフ
リップフロップ回路、このフリップフロップ回路のセッ
ト側出力と前記スキャナの二種類の出力パルスの一方と
を二入力とし、出力端子が前記アップダウンカウンタの
所定値をセットするロード端子に接続された第1のアン
ドゲート、および 前記フリップフロップ回路のリセット側出力と前記スキ
ャナの二種類の出力パルスの他方とを二入力とし、出力
端子が前記アップダウンカウンタの零をセットするクリ
ア端子に接続された第2のアンドゲート、を具備するス
テイタス検出装置。
[Claims] 1. A scanner that periodically generates two types of output pulses corresponding to the logical value of an input binary signal, one of the two types of output pulses of this scanner is input to the UP terminal and counted up. an up/down counter that counts down by inputting the other of the two types of output pulses to the DOWN terminal;
A first and a second detector each detect that the count value of the up/down counter becomes zero or a predetermined value greater than zero and transmit a signal, and the output terminal of the first detector is a reset input terminal. a flip-flop circuit connected to the second detector, the output terminal of the second detector is connected to the set input terminal, and outputs each of the binary signals as a determined status from the set output terminal and the reset output terminal; a set of the flip-flop circuits; a first AND gate whose output terminal is connected to a load terminal for setting a predetermined value of the up/down counter; A status detection device having two inputs, a reset side output and the other of the two types of output pulses of the scanner, and a second AND gate whose output terminal is connected to a clear terminal for setting the up/down counter to zero. .
JP13168882A 1982-07-28 1982-07-28 status detection device Expired JPS598000B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13168882A JPS598000B2 (en) 1982-07-28 1982-07-28 status detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13168882A JPS598000B2 (en) 1982-07-28 1982-07-28 status detection device

Publications (2)

Publication Number Publication Date
JPS5878300A JPS5878300A (en) 1983-05-11
JPS598000B2 true JPS598000B2 (en) 1984-02-22

Family

ID=15063886

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13168882A Expired JPS598000B2 (en) 1982-07-28 1982-07-28 status detection device

Country Status (1)

Country Link
JP (1) JPS598000B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0473040B2 (en) * 1983-07-22 1992-11-19 Ishikawajima Harima Heavy Ind

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0473040B2 (en) * 1983-07-22 1992-11-19 Ishikawajima Harima Heavy Ind

Also Published As

Publication number Publication date
JPS5878300A (en) 1983-05-11

Similar Documents

Publication Publication Date Title
EP0502739B1 (en) NRZ clock and data recovery system employing phase lock loop
US4135161A (en) Method and means for pulse detection
KR100929843B1 (en) Counters that do not overflow
JPS598000B2 (en) status detection device
US4697172A (en) Fire alarm system
US5315186A (en) Frequency and phase lock detector
CA1036705A (en) D.c. signal receiving circuit arrangements
US4883993A (en) Antibounce circuit for digital circuits
US4327356A (en) Arrangement for monitoring the performance of a digital transmission system
US5606269A (en) Non-delay based address transition detector (ATD)
US6646503B2 (en) Circuit configuration for detecting a functional disturbance
JPH0626894A (en) Abnormality judging device
EP0577301A1 (en) Digital receive line filter circuit with data operated squelch
US5469476A (en) Circuit and method for filtering voltage spikes
EP1093220B1 (en) Method of anomalous offset detection and circuit
JP3398142B2 (en) Surging detector for compressor
JPS6339069A (en) Periodical interruption informing method for digital input/output controller
JP3110100B2 (en) Single-chip microcomputer
JPS5819118B2 (en) status detection device
JP3598989B2 (en) Pulse generating circuit, method for preventing malfunction thereof, and communication device
EP0020827B1 (en) An arrangement for monitoring the performance of a digital transmission system
JP2584892B2 (en) Method and apparatus for detecting state of object detector
JP2516711B2 (en) Watchdog timer device
JPH07221872A (en) Tone detector
JP2671132B2 (en) Power driver IC