JPH01145580A - Detecting circuit of abnormal signal - Google Patents

Detecting circuit of abnormal signal

Info

Publication number
JPH01145580A
JPH01145580A JP30360587A JP30360587A JPH01145580A JP H01145580 A JPH01145580 A JP H01145580A JP 30360587 A JP30360587 A JP 30360587A JP 30360587 A JP30360587 A JP 30360587A JP H01145580 A JPH01145580 A JP H01145580A
Authority
JP
Japan
Prior art keywords
signal
output
counter
input signal
period
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP30360587A
Other languages
Japanese (ja)
Inventor
Yasushi Fujioka
藤岡 康司
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP30360587A priority Critical patent/JPH01145580A/en
Publication of JPH01145580A publication Critical patent/JPH01145580A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To deliver an abnormality signal even when the period of an input signal is longer than that of a fundamental signal, by providing a detector which compares a counter output one clock before the input signal with the present counter output and delivers an abnormality output when the two counter outputs are in the same state. CONSTITUTION:A QA output of a counter 5 repeats 1010 when the period of a fundamental signal and that of an input signal coincide with each other, and said output turns to be 100...100... when the period of the input signal is longer than that of the fundamental signal, while the counter 5 outputs a count value 3 (decimal) when the period of the input signal is shorter than that of the fundamental signal. Then, the present counter output and a counter output one clock before the input signal are compared with each other by a detector 6, and judgement as normal is made when these outputs are all of different signs, while judgement as abnormal is made and an alarm is delivered when they are of the same sign. According to this method, abnormality can be detected even when the period of the input signal is longer than that of the fundamental signal.

Description

【発明の詳細な説明】 〔概要〕 例えば、外部から供給される入力信号の周期が正常か否
かを検出する際に使用される異常信号検出回路に関し、 該入力信号の周期が長くなった時に誤りなく異常を検出
できる様にすることを目的とし、基本信号を分周して得
られた分周信号の立上りを検出する分周・立上り検出器
と、該分周・立上り検出手段からの立上り検出信号で初
期化された後。
[Detailed Description of the Invention] [Summary] For example, regarding an abnormal signal detection circuit used to detect whether the cycle of an input signal supplied from the outside is normal or not, when the cycle of the input signal becomes long, The purpose of this is to detect abnormalities without error, and to detect the rising edge of the frequency-divided signal obtained by dividing the basic signal, and to detect the rising edge from the frequency-dividing/rising edge detection means. After being initialized with the detection signal.

入力信号をカウントするカウンタと、該入力信号の1ク
ロック前のカウンタ出力と現在のカウンタ出力とを比較
して同一状態であれば異常出力を送出する検出器とを有
する様に構成する。
It is configured to have a counter that counts input signals, and a detector that compares the counter output one clock before the input signal with the current counter output and sends out an abnormal output if they are in the same state.

〔産業上の利用分野〕[Industrial application field]

本発明は2例えば外部から供給される入力信号の周期が
正常か否かを検出する際に使用される異常信号検出回路
に関するものである。
The present invention relates to an abnormal signal detection circuit used, for example, in detecting whether the cycle of an input signal supplied from the outside is normal or not.

例えば、装置が外部のクロック発生器から供給される基
準クロックを用いて動作している場合、この基準クロッ
クに2例えば高周波雑音が重畳して周期が短くなったり
、又はクロックが欠けて周期が長(なった時には装置が
誤動作する。
For example, if the device operates using a reference clock supplied from an external clock generator, the cycle may be shortened due to superimposition of high frequency noise on this reference clock, or the cycle may be lengthened due to missing clocks. (If this happens, the device will malfunction.

そこで、内部で発生した基本クロックと比較してこの基
準クロックが正常か異常かを検出し、異常の時にはアラ
ームを送出する必要があるが、基準クロックの周期が基
本タロツクの周期より長くなっても誤りなく検出できる
ことが必要である。
Therefore, it is necessary to detect whether this reference clock is normal or abnormal by comparing it with the internally generated basic clock, and to send an alarm in the event of an abnormality, but even if the period of the reference clock is longer than the period of the basic clock, It is necessary to be able to detect without error.

〔従来の技術〕[Conventional technology]

第4図は従来例のブロック図、第5図は第4図の動作説
明図で、第5図(a)は入力信号の周期が基本信号の周
期と等しい場合の動作説明図、第5図(b)は入力信号
の周期が基本信号の周期より短い場合の動作説明図を示
す。以下、第5図を参照して第4図の動作を説明する。
4 is a block diagram of the conventional example, FIG. 5 is an explanatory diagram of the operation of FIG. 4, and FIG. 5(a) is an explanatory diagram of the operation when the period of the input signal is equal to the period of the basic signal. (b) shows an explanatory diagram of the operation when the period of the input signal is shorter than the period of the basic signal. The operation shown in FIG. 4 will be explained below with reference to FIG.

先ず、第5図(al−■に示す様な基本信号(上記の基
本クロックに対応)が入力して立上り検出器1でそのま
まの信号成分と、複数個のインバータが直列接続された
部分を通過して位相シフトした信号成分とがNANDゲ
ートを通ることにより、第5図(a)−■に示す様な立
上り点が検出され、立上り検出信号がカウンタ2のクリ
ア(CLR)端子に加えられて、このカウンタをクリア
する。
First, a basic signal (corresponding to the above basic clock) as shown in Fig. 5 (al-■) is input, and the rising edge detector 1 passes the signal component as it is and a section in which multiple inverters are connected in series. By passing the phase-shifted signal component through the NAND gate, a rising point as shown in FIG. , clear this counter.

一方、このカウンタ2には第5図(al−〇に示す様な
入力信号(上記の基準クロックに対応)が加えられるの
で0から1にカウントアツプするが。
On the other hand, since an input signal (corresponding to the above-mentioned reference clock) as shown in FIG. 5 (al-0) is applied to this counter 2, it counts up from 0 to 1.

次の立上り検出信号がCLR端子に入力するのでクリア
されて0になる。しかし、次の入力信号で再びカウント
値が1になるが、立上り信号で再びクリアされると云う
動作を繰り返す(第5図(a)−■参照)。
Since the next rising detection signal is input to the CLR terminal, it is cleared and becomes 0. However, the count value becomes 1 again with the next input signal, but is cleared again with the rising signal, and the operation is repeated (see FIG. 5(a)-(2)).

この時、カウンタ2のQ、 、Q、 、Q、出力、イン
バータ31. NANDゲート32の出力はOの為にD
−FF33の出力はOとなり異常信号のアラームは送出
されない(第5図(al−■参照)。
At this time, Q, , Q, , Q, output of counter 2, inverter 31 . The output of NAND gate 32 is D because of O.
-The output of the FF 33 becomes O, and no alarm of abnormality signal is sent out (see FIG. 5 (al-■)).

次に、第5図(b)−■に示す様に入力信号の*印の部
分に雑音が重畳して基本信号の周期よりも短くなった時
、カウンタ2のカウント値はクリアされないので1から
2にカウントアンプする(第5図(b)−■参照)。こ
の時、カウンタ口、の出力は1、Q、、Q、の出力はO
となるのでNANDゲート32からlがD−FF 33
に入力し、ここからの出力1がアラームとして送出され
、入力信号の異常が通知される。
Next, as shown in Figure 5(b)-■, when noise is superimposed on the * marked part of the input signal and the period becomes shorter than the basic signal period, the count value of counter 2 is not cleared, so it changes from 1 to 1. 2 (see Figure 5(b)-■). At this time, the output of the counter port is 1, and the output of Q, ,Q is O.
Therefore, l from NAND gate 32 is D-FF 33
The output 1 from this is sent out as an alarm, and an abnormality in the input signal is notified.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

ここで、入力信号の周期が基本信号の周期よりも長い時
は、第5図(alの様に立上り検出信号でカウンタ2が
クリアされた後、入力信号でカウント値が1になっても
2次の入力信号がカウンタに入るまでに、n個の立上り
検出信号が入力してn回りリアされるのでOがn個連続
する。
Here, when the period of the input signal is longer than the period of the basic signal, after the counter 2 is cleared by the rising detection signal as shown in FIG. Before the next input signal enters the counter, n rising edge detection signals are input and rearranged n times, so n O's are consecutive.

そして、この状態が繰り返されるので01 +QC+Q
D出力は常にOとなり、上記の正常時と同じ状態となっ
て異常信号のアラームは送出されないと云う問題点があ
る。
Since this state is repeated, 01 +QC+Q
There is a problem in that the D output is always O, which is the same state as in the normal state described above, and no abnormality signal alarm is sent out.

〔問題点を解決する為の手段〕[Means for solving problems]

第1図は本発明の原理ブロック図を示す。 FIG. 1 shows a block diagram of the principle of the present invention.

図中、4は基本信号を分周して得られた分周信号の立上
りを検出する分周・立上り検出器で、5は該分周・立上
り検出手段からの立上り検出信号で初期化された後、入
力信号をカウントするカウンタである。又、6は該入力
信号の1クロック前のカウンタ出力と現在のカウンタ出
力とを比較して同一状態であれば異常出力を送出する検
出器である。
In the figure, 4 is a frequency division/rise detector that detects the rise of a frequency-divided signal obtained by frequency dividing the basic signal, and 5 is a frequency division/rise detector that is initialized with a rise detection signal from the frequency division/rise detection means. After that, there is a counter that counts input signals. Further, 6 is a detector which compares the counter output one clock before the input signal with the current counter output and sends out an abnormal output if they are in the same state.

〔作用〕[Effect]

本発明は基本信号の一周期の間に入力信号が何回くるか
により異常を検出するものであり、基本信号と入力信号
との周期が一致しているとカウンタ5のQA比出力10
10を繰り返し、入力信号が基本信号の周期よりも長い
場合には100・・100・・となり、入力信号が基本
信号の周期よりも短い場合にはカウンタはカウント値3
(10進数)を出力する。
The present invention detects an abnormality based on how many times the input signal comes during one period of the basic signal, and if the periods of the basic signal and the input signal match, the QA ratio output of the counter 5 is 10.
10 is repeated, and when the input signal is longer than the period of the basic signal, the counter becomes 100...100..., and when the input signal is shorter than the period of the basic signal, the counter becomes the count value 3.
(decimal number) is output.

そこで、現在のカウンタ出力と入力信号の1クロック前
のカウンタ出力とを検出器6で比較して全て異符号であ
れば正常、同符号があれば異常としてアラームを送出す
る様な構成にした。
Therefore, the current counter output and the counter output one clock before the input signal are compared by the detector 6, and if they are of different signs, it is considered normal, and if they are the same, an alarm is sent out as abnormal.

これにより、入力信号の周期が基本信号の周期より長い
場合でも異常を検出することができる。
Thereby, an abnormality can be detected even when the period of the input signal is longer than the period of the basic signal.

〔実施例〕〔Example〕

第2図は本発明の実施例のブロック図、第3図は第2図
の動作説明図で、第3図(a)は入力信号が基本信号の
周期よりも長い場合の動作説明図、第3図fb)は入力
信号が基本信号の周期よりも短い場合の動作説明図を示
す。ここで、第3図左側の符号は第2図中の同じ符号の
部分の波形を示す。以下、分周数は2として第3図を参
照して第2図の動作を説明する。
2 is a block diagram of an embodiment of the present invention, FIG. 3 is an explanatory diagram of the operation of FIG. 2, FIG. 3(a) is an explanatory diagram of the operation when the input signal is longer than the period of the basic signal, Figure 3 fb) shows an explanatory diagram of the operation when the input signal has a shorter period than the basic signal. Here, the symbols on the left side of FIG. 3 indicate the waveforms of the portions with the same symbols in FIG. Hereinafter, the operation of FIG. 2 will be explained with reference to FIG. 3, assuming that the frequency division number is 2.

(1)入力信号が基本信号の周期よりも長い場合先ず、
入力した基本信号をo−pp 41で2分周した後、立
上り検出器42で立上り点を検出して得られた立上り検
出信号Cでカウンタ5をクリアする(第3図(a)−■
〜■参照)。
(1) When the input signal is longer than the period of the basic signal, first,
After the frequency of the input basic signal is divided into two by the o-pp 41, the rising point is detected by the rising detector 42, and the counter 5 is cleared with the obtained rising detection signal C (Fig. 3(a)-■
~■See).

一方、第3図fa)−■に示す様な入力信号がカウンタ
5に加えられるので、カウント値が1(Qa=1.(1
m・0)になるが、立上り検出信号dでカウンタ5はク
リアされるのでカウント値が0 (QA =O。
On the other hand, since an input signal as shown in FIG. 3fa)-■ is applied to the counter 5, the count value becomes 1 (Qa=1.(1
m・0), but since the counter 5 is cleared by the rising edge detection signal d, the count value becomes 0 (QA=O).

Q* =0 )となり、この状態で更に立上り検出信号
eでクリアされ、結局、カウンタ5のQA、Q、出力は
第3図(a)−〇、■に示す様になるので、NANDゲ
ート61から出力1がD−FF62のプリセット(pr
e)端子に加えられる。
Q* = 0), and in this state it is further cleared by the rising edge detection signal e, and as a result, the QA, Q, and output of the counter 5 become as shown in Figure 3 (a)-〇, ■, so the NAND gate 61 Output 1 from D-FF62 preset (pr
e) applied to the terminal.

ここで、D−FF 62のプリセット端子に1が加えら
れると10端子の出力はD端子に入力するQAの1クロ
ック遅延したものとなり、0が加えられるとQAの状態
に無関係に1が出力される。
Here, if 1 is added to the preset terminal of D-FF 62, the output of the 10th terminal will be delayed by one clock of the QA input to the D terminal, and if 0 is added, 1 will be output regardless of the state of QA. Ru.

そして、EX−NORゲート63で現在のQA比出力入
力信号の1クロック前のQA比出力を比較して同符号の
部分で異常が検出でき、これを保持することによりアラ
ームが送出される(第3図ta+−■参照)。
Then, the EX-NOR gate 63 compares the QA ratio output one clock before the current QA ratio output input signal, detects an abnormality in the part with the same sign, and by holding this, an alarm is sent out (the (See Figure 3 ta+-■).

(2)入力信号が基本信号の周期よりも短い場合(11
項と同様に立上り検出信号Cでカウンタ5をクリアした
後、第3図(b)−■に示す入力信号でカウンタ5はカ
ウントアツプし、QA +ロ、出力はOO,10,01
,11と変化するが+QA+QB出力が共に1の時に立
上り検出信号dでカウンタ5はクリアされ9口、、Q、
出力はOOからカウント動作を繰り返す(第3図(b)
−〇、■参照)。
(2) When the input signal is shorter than the period of the basic signal (11
After clearing the counter 5 with the rising edge detection signal C in the same manner as in section 3, the counter 5 counts up with the input signal shown in FIG.
, 11, but when both +QA+QB outputs are 1, the counter 5 is cleared by the rising detection signal d, and 9 counts, ,Q,
The output repeats the counting operation from OO (Figure 3 (b)
−〇, see ■).

さて、D−FF 62のD端子にはOA比出力加えられ
るので、(1)項と同様に1クロツタ遅延したQ端子出
力が得られEX−NORゲート63に加えられる。−方
、ここにはカウンタのQA比出力直接加えられているの
で比較されて第3図(bl−〇に示す様な出力が得られ
、■の点で信号の異常を示すアラームが送出される。
Now, since the OA ratio output is added to the D terminal of the D-FF 62, the Q terminal output delayed by one clock is obtained and added to the EX-NOR gate 63 as in the case (1). - On the other hand, since the QA ratio output of the counter is directly added here, it is compared and an output as shown in Figure 3 (bl-〇) is obtained, and an alarm indicating a signal abnormality is sent at the point ■. .

尚、上記の様にpre端子がOの時、(第3図fb)−
〇の*印の部分でカウンタ5のQ7.QIl出力のNA
NO出力)Q端子の出力はlになっている。
In addition, when the pre terminal is O as mentioned above, (Fig. 3 fb) -
Q7 of counter 5 in the * marked part of 〇. NA of QIl output
NO output) The output of the Q terminal is l.

即ち、入力信号の周期が基本信号の周期より長くても、
短くても異常信号を送出することが出来る。
In other words, even if the period of the input signal is longer than the period of the basic signal,
An abnormal signal can be sent even if it is short.

〔発明の効果〕〔Effect of the invention〕

以上詳細に説明した様に本発明によれば、入力信号の周
期が基本信号の周期より長くても異常信号を送出するこ
とが出来ると云う効果がある。
As described in detail above, according to the present invention, there is an effect that an abnormal signal can be sent even if the period of the input signal is longer than the period of the basic signal.

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

第1図は本発明の原理ブロック図、 第2図は本発明の実施例のブロック図、第3図は第2図
の動作説明図、 第4図は従来例のブロック図、 第5図は第4図の動作説明図を示す。 図において、 4は分周・立上り検出器、 5はカウンタ、 6は検出器台を示す。 木発軒し原理ブσ・77回 阜 1  図 軍 2 図 (α) ^、力′イ乞1号正給「9 第4 図のすカイ¥厳4 Er珂 しJ算 5 薗 e ■ O■ O■′O・ ■ ■ ■ ■ ■ O■ ■
Fig. 1 is a block diagram of the principle of the present invention, Fig. 2 is a block diagram of an embodiment of the invention, Fig. 3 is an explanatory diagram of the operation of Fig. 2, Fig. 4 is a block diagram of a conventional example, and Fig. 5 is a block diagram of an embodiment of the present invention. The operation explanatory diagram of FIG. 4 is shown. In the figure, 4 is a frequency division/rise detector, 5 is a counter, and 6 is a detector stand. 77th episode 1 Zugun 2 Diagram (α) ^, Power'i Bei No. 1 Regular Salary ``9 Figure 4 ■ O■'O・ ■ ■ ■ ■ ■ O■ ■

Claims (1)

【特許請求の範囲】[Claims]  基本信号を分周して得られた分周信号の立上りを検出
する分周・立上り検出器(4)と、該分周・立上り検出
手段からの立上り検出信号で初期化された後、入力信号
をカウントするカウンタ(5)と、該入力信号の1クロ
ック前のカウンタ出力と現在のカウンタ出力とを比較し
て同一状態であれば異常出力を送出する検出器(6)と
を有することを特徴とする異常信号検出回路。
A frequency division/rise detector (4) detects the rising edge of the frequency-divided signal obtained by frequency dividing the basic signal, and after being initialized with the rising edge detection signal from the frequency dividing/rising detection means, A detector (6) that compares the counter output one clock before the input signal with the current counter output and sends out an abnormal output if they are in the same state. Abnormal signal detection circuit.
JP30360587A 1987-12-01 1987-12-01 Detecting circuit of abnormal signal Pending JPH01145580A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30360587A JPH01145580A (en) 1987-12-01 1987-12-01 Detecting circuit of abnormal signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30360587A JPH01145580A (en) 1987-12-01 1987-12-01 Detecting circuit of abnormal signal

Publications (1)

Publication Number Publication Date
JPH01145580A true JPH01145580A (en) 1989-06-07

Family

ID=17923006

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30360587A Pending JPH01145580A (en) 1987-12-01 1987-12-01 Detecting circuit of abnormal signal

Country Status (1)

Country Link
JP (1) JPH01145580A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4741595B2 (en) * 2005-08-18 2011-08-03 赤塩 有佳里 Trailer steering device
JP2014077784A (en) * 2012-10-05 2014-05-01 Lsis Co Ltd Pulse signal shut-off frequency detector and method thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4741595B2 (en) * 2005-08-18 2011-08-03 赤塩 有佳里 Trailer steering device
JP2014077784A (en) * 2012-10-05 2014-05-01 Lsis Co Ltd Pulse signal shut-off frequency detector and method thereof
US9088286B2 (en) 2012-10-05 2015-07-21 Lsis Co., Ltd. Method and apparatus for detecting cut-off frequency of pulse signal

Similar Documents

Publication Publication Date Title
EP1318604B1 (en) Digitally programmable converter for reducing the duty cycle range of a pulse-width modulation code
JPH01145580A (en) Detecting circuit of abnormal signal
JPS62251674A (en) Frequency abnormality detecting circuit
JPH0483425A (en) Pulse generating circuit
JPH08316946A (en) Clock break detection circuit
US5057963A (en) Opposite phase detecting device for alternating current electrical equipment
JP3586578B2 (en) Edge detection circuit
JP2598547Y2 (en) Pattern generator for semiconductor test equipment
JPH03250226A (en) Watchdog timer
JP3110028B2 (en) Clock oscillation abnormality detection circuit
JP2602404Y2 (en) Counter circuit
JP2606569B2 (en) Frame pulse output monitoring circuit
JPS6272022A (en) Lsi system clock supervisory method
JP3842880B2 (en) Clock frequency anomaly detection circuit and method
SU1182668A1 (en) Pulse repetition frequency divider
JPS62232016A (en) Clock break detecting circuit
KR0120029Y1 (en) Error signal detecting circuit
JPH0934751A (en) Watchdog timer circuit for microcomputer
JPH05111166A (en) Phase difference detecting circuit for ac power supply
JPH05219097A (en) Timing signal monitoring circuit
JPS61131654A (en) Tri-state signal decoding system
JPS61105147A (en) Clock interruption detection circuit
JPH0333204B2 (en)
JPH01145742A (en) Frequency fluctuation detecting device
JPH0573360A (en) Watchdog timer