JPH0795025A - Abnormality detecting circuit for digital periodic signal - Google Patents

Abnormality detecting circuit for digital periodic signal

Info

Publication number
JPH0795025A
JPH0795025A JP5239508A JP23950893A JPH0795025A JP H0795025 A JPH0795025 A JP H0795025A JP 5239508 A JP5239508 A JP 5239508A JP 23950893 A JP23950893 A JP 23950893A JP H0795025 A JPH0795025 A JP H0795025A
Authority
JP
Japan
Prior art keywords
digital periodic
phase
signals
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
JP5239508A
Other languages
Japanese (ja)
Inventor
Takayoshi Ochiai
孝好 落合
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP5239508A priority Critical patent/JPH0795025A/en
Publication of JPH0795025A publication Critical patent/JPH0795025A/en
Pending legal-status Critical Current

Links

Landscapes

  • Manipulation Of Pulses (AREA)

Abstract

PURPOSE:To constitute the circuit so that abnormality of plural kinds of digital periodic signals can be detected by a simple constitution, and also, an adjusting part scarcely exists. CONSTITUTION:To period/phase operating means 21-23, plural digital periodic signals CLK1-CLK3 having a specific relation to a frequency and/or a phase are inputted, and by operating the frequency and/or the phase of those signals, plural period/phase operating signals OP1-OP3 to which a significant level period whose frequency is equal is overlapped are outputted, at a normal time. A comparing means 3 detects the coincidence of plural period/phase operating signals by an overlap of the significant level period. Since the overlap of the significant level period is generated periodically, a discriminating means 4 utilizes this fact, and discriminates and outputs the fact in the case abnormality is generated in one or more digital periodic signals, based on a detecting signal DET from the comparing means.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、デジタル周期信号の異
常検出回路に関し、特に、周波数や位相が特定関係にあ
る複数の同期用デジタル周期信号を利用する装置に適用
して好適なものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital periodic signal abnormality detection circuit, and is particularly suitable for application to an apparatus using a plurality of synchronizing digital periodic signals having specific relationships in frequency and phase. .

【0002】[0002]

【従来の技術】電子交換機システムや電子計算機システ
ムにおいては、実際上、その構成要素の処理タイミング
等を規定する同期用デジタル周期信号(代表的なものは
クロック信号)として、1種類ではなく複数種類のもの
を利用している。このような多種類のデジタル周期信号
は、周波数が整数比の関係にあったり、同一周波数であ
っても位相が所定位相差だけ異なる関係にあったりす
る。
2. Description of the Related Art In an electronic exchange system or an electronic computer system, in practice, a plurality of types of synchronizing digital periodic signals (typically clock signals) that define the processing timings of the components are used instead of one type. I am using the one. Such various types of digital periodic signals have a relationship of frequencies having an integer ratio, or a relationship of differing in phase by a predetermined phase difference even if the frequencies are the same.

【0003】1種類のデジタル周期信号だけでも、周波
数が乱れたり他のデジタル周期信号との位相関係が乱れ
たりすると、システムの一部又は全ての構成要素が誤動
作する。このようなデジタル周期信号の異常の検出を、
誤動作で起動される構成要素の異常検出部に委ねると、
誤動作時間が長くなったりして異常の悪影響が広範囲に
及び、最悪の場合にはシステムダウンにもつながる。
When only one type of digital periodic signal is disturbed, if the frequency is disturbed or the phase relationship with other digital periodic signals is disturbed, some or all components of the system malfunction. Detection of abnormalities in such digital periodic signals
When entrusted to the abnormality detection part of the component activated by the malfunction,
Malfunction time becomes long and the adverse effects of abnormalities spread over a wide range, and in the worst case, the system also goes down.

【0004】従って、一般には、電子交換機システムや
電子計算機システムは、デジタル周期信号の異常を検出
する専用的異常検出回路を備えている。
Therefore, generally, the electronic exchange system and the electronic computer system are provided with a dedicated abnormality detecting circuit for detecting an abnormality of the digital periodic signal.

【0005】従来は、このようなデジタル周期信号の異
常検出回路を各種類のデジタル周期信号毎に別個に設け
たシステムもあれば、他のデジタル周期信号の形成に用
いられるような基準のデジタル周期信号に対する異常検
出回路だけを設けたシステムもある。
Conventionally, there is a system in which such an abnormality detection circuit for a digital periodic signal is provided separately for each type of digital periodic signal, and there is a reference digital period used for forming another digital periodic signal. In some systems, only an abnormality detection circuit for signals is provided.

【0006】また、従来、異常検出回路の内部構成とし
ては大きく2種類がある。第1は、デジタル周期信号の
発振停止を、リトリガ型モノマルチバイブレータ回路等
を用いたタイマによって検出するものである。第2は、
被検出対象のデジタル周期信号が、基準のデジタル周期
信号と所定の関係になっているか否かを、両信号を直接
又は一方を分周した後に位相比較回路に入力してその位
相差出力を利用して検出するものである。
Conventionally, there are roughly two types of internal configurations of abnormality detection circuits. First, the stop of the oscillation of the digital periodic signal is detected by a timer using a retrigger type mono-multivibrator circuit or the like. Second,
Whether or not the digital periodic signal to be detected has a predetermined relationship with the reference digital periodic signal is input to the phase comparison circuit by directly dividing or dividing one of the two signals and using the phase difference output. Then, it is detected.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、基準の
デジタル周期信号に対する異常検出回路だけを設けたシ
ステムは、基準のデジタル周期信号が正常であれば他の
デジタル周期信号も正常であることが非常に多いという
ことに基づいているが、基準以外のデジタル周期信号だ
けが異常となることも当然にあり、この場合には対応で
きず、システムダウン等の恐れが残り、検出面からは不
十分なものである。
However, in a system provided only with an abnormality detection circuit for a reference digital periodic signal, if the reference digital periodic signal is normal, it is very likely that the other digital periodic signals are also normal. Although it is based on the fact that there are many cases, it is natural that only digital periodic signals other than the reference become abnormal.In this case, it is not possible to cope with it, and there is a risk of system down etc. Is.

【0008】一方、デジタル周期信号の異常検出回路を
各種類のデジタル周期信号毎に別個に設けたシステムで
は、このような課題は直接的にはない。しかし、各異常
検出回路の内部構成として、発振停止時間を監視する構
成のものを採用していた場合、周波数や他の信号との位
相が乱れたデジタル周期信号があっても、その乱れ度合
によっては発振停止ではないのでこの異常を検出でき
ず、やはりシステムダウン等の恐れが残る。
On the other hand, such a problem does not directly occur in the system in which the abnormality detection circuit for the digital periodic signal is separately provided for each type of digital periodic signal. However, if the internal configuration of each abnormality detection circuit employs a configuration that monitors the oscillation stop time, even if there is a digital periodic signal in which the frequency and the phase of other signals are disturbed, Since this is not an oscillation stop, this abnormality cannot be detected, and there is still a risk that the system will go down.

【0009】このように見ていくと、デジタル周期信号
の異常検出回路を各種類のデジタル周期信号毎に備え、
各異常検出回路の内部構成が基準のデジタル周期信号を
利用して異常検出する構成であるものが好ましい。しか
し、このような内部構成の異常検出回路は、それ自体の
構成が複雑であり、基準のデジタル周期信号との関係に
基づいているので初期調整が必要であり、しかも、この
ような欠点を有する回路を全ての信号に対して用意しな
ければならない。
In this way, a digital periodic signal abnormality detection circuit is provided for each type of digital periodic signal,
It is preferable that the internal configuration of each abnormality detection circuit is such that abnormality is detected using a reference digital periodic signal. However, such an abnormality detection circuit having an internal configuration has a complicated configuration and requires an initial adjustment because it is based on a relationship with a reference digital periodic signal, and has such a drawback. Circuits must be prepared for all signals.

【0010】その結果、デジタル周期信号の異常検出構
成がシステム全体から見ると膨大であり、複雑であり、
しかも調整作業等を伴うという不都合がある。
As a result, the abnormality detection structure of the digital periodic signal is enormous and complicated when viewed from the whole system,
Moreover, there is an inconvenience that adjustment work is required.

【0011】本発明は、以上の点を考慮してなされたも
のであり、簡単な構成で、複数種類のデジタル周期信号
の異常を検出できる、しかも、調整箇所がほとんどない
デジタル周期信号の異常検出回路を提供しようとしたも
のである。
The present invention has been made in consideration of the above points, and is capable of detecting abnormalities of a plurality of types of digital periodic signals with a simple structure and detecting abnormalities of digital periodic signals having few adjustment points. It is an attempt to provide a circuit.

【0012】[0012]

【課題を解決するための手段】かかる課題を解決するた
め、本発明においては、周波数及び又は位相に特定関係
がある複数のデジタル周期信号が入力され、少なくとも
1以上のデジタル周期信号の周波数及び又は位相を操作
し、周波数が等しい有意レベル期間が重複した、入力さ
れた各デジタル周期信号に対応した複数の周期・位相操
作信号を出力する周期・位相操作手段と、周期・位相操
作手段から出力された全ての周期・位相操作信号の周期
及び位相の一致性を検出する比較手段と、この比較手段
からの検出信号に基づいて、1以上のデジタル周期信号
に異常が発生している場合にそのことを判別して出力す
る判別手段とで、デジタル周期信号の異常検出回路を構
成した。
In order to solve such a problem, according to the present invention, a plurality of digital periodic signals having a specific relationship in frequency and / or phase are input, and at least one or more digital periodic signal frequencies and / or Outputs from the cycle / phase operation means that operates a phase and outputs a plurality of cycle / phase operation signals corresponding to each input digital cycle signal, in which significant level periods of equal frequency overlap. Comparing means for detecting the coincidence of the cycle and phase of all the cycle / phase operation signals, and when one or more digital cycle signals are abnormal based on the detection signals from this comparing means. And a discriminating means for discriminating and outputting the digital periodic signal.

【0013】ここで、判別手段が異常と判別したタイミ
ングの各周期・位相操作信号の論理レベルに基づいて、
異常のデジタル周期信号を特定する信号を形成する異常
信号特定信号形成手段をさらに備えることが好ましい。
Here, based on the logic level of each cycle / phase operation signal at the timing when the discriminating means discriminates an abnormality,
It is preferable to further include an abnormal signal specifying signal forming means for forming a signal specifying the abnormal digital periodic signal.

【0014】[0014]

【作用】本発明においては、複数のデジタル周期信号の
異常を個別に検出するのではなく、複数のデジタル周期
信号の全体の関係から1個でも異常があればそのことを
検出することとし、これにより構成の簡単化を実現する
と共に、調整箇所等を少なくするようとした。
In the present invention, the abnormality of a plurality of digital periodic signals is not detected individually, but if there is even one abnormality from the overall relation of a plurality of digital periodic signals, it is detected. This simplifies the configuration and reduces the number of adjustment points.

【0015】周期・位相操作手段には、周波数及び又は
位相に特定関係がある複数のデジタル周期信号が入力さ
れ、少なくとも1以上のデジタル周期信号の周波数及び
又は位相を操作し、周波数が等しい有意レベル期間が重
複した、入力された各デジタル周期信号に対応した複数
の周期・位相操作信号を出力する。従って、周期・位相
操作手段からの複数の周期・位相操作信号は、入力され
たデジタル周期信号が全て正常であれば周波数が等しく
有意レベル期間が重複しており、一方、異常なデジタル
ジ周期信号があればそのデジタル周期信号に対応する周
期・位相操作信号の有意レベル期間に重複しない。比較
手段は、複数の周期・位相操作信号の一致性を有意レベ
ル期間の重複によって検出する。判別手段は、上述した
有意レベル期間の重複は周期的に生じるので、このこと
を利用し、比較手段からの検出信号に基づいて、1以上
のデジタル周期信号に異常が発生している場合にそのこ
とを判別して出力する。
A plurality of digital periodic signals having a specific relationship with frequency and / or phase are input to the period / phase operating means, and the frequency and / or phase of at least one or more digital periodic signals are operated, and the significant levels with equal frequencies are input. A plurality of period / phase operation signals corresponding to the respective input digital periodic signals with overlapping periods are output. Therefore, the plurality of cycle / phase operation signals from the cycle / phase operation means have the same frequency and the significant level periods overlap if all the input digital cycle signals are normal, while the abnormal cycle signals are abnormal. If there is, it does not overlap with the significant level period of the period / phase operation signal corresponding to the digital periodic signal. The comparison means detects the coincidence of a plurality of period / phase manipulation signals by overlapping the significant level periods. Since the above-mentioned overlap of the significant level periods periodically occurs in the discriminating means, this is utilized, and when one or more digital periodic signals have an abnormality based on the detection signal from the comparing means It is determined and output.

【0016】以上では、どのデジタル周期信号が異常か
を特定できない。そこで、判別手段が異常と判別したタ
イミングの各周期・位相操作信号の論理レベルに基づい
て、異常のデジタル周期信号を特定する信号を形成する
異常信号特定信号形成手段をさらに設けることが好まし
い。
From the above, it is not possible to specify which digital periodic signal is abnormal. Therefore, it is preferable to further include an abnormal signal specifying signal forming means for forming a signal for specifying the abnormal digital periodic signal based on the logic level of each cycle / phase operation signal at the timing when the determining means determines that the abnormality is present.

【0017】[0017]

【実施例】(A)第1実施例 以下、本発明によるデジタル周期信号の異常検出回路の
第1実施例を図面を参照しながら詳述する。ここで、図
1は、この第1実施例の異常検出回路の概略構成を示す
ブロック図であり、デジタル周期信号が3個の場合を示
している。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS (A) First Embodiment A first embodiment of a digital periodic signal abnormality detection circuit according to the present invention will be described in detail below with reference to the drawings. Here, FIG. 1 is a block diagram showing a schematic configuration of the abnormality detection circuit of the first embodiment, and shows a case where there are three digital periodic signals.

【0018】図1において、この実施例のデジタル周期
信号の異常検出回路1は、入力された各デジタル周期信
号CLK1、CLK2、CLK3の周期及び位相を操作
する各デジタル周期信号CLK1、CLK2、CLK3
に対応して設けられた周期・位相操作回路21、22、
23と、各周期・位相操作回路21、22、23から出
力された周期・位相操作信号OP1、OP2、OP3の
周期及び位相の一致性を検出する比較回路3と、この比
較回路3からの検出信号DETに基づいて異常発生を判
別する判別回路4とから構成されている。
In FIG. 1, the digital periodic signal abnormality detection circuit 1 of this embodiment is arranged so that the digital periodic signals CLK1, CLK2, CLK3 for controlling the periods and phases of the input digital periodic signals CLK1, CLK2, CLK3.
Corresponding to the period / phase operation circuits 21 and 22,
23, a comparison circuit 3 for detecting the coincidence of the cycle and phase of the cycle / phase operation signals OP1, OP2, OP3 output from the cycle / phase operation circuits 21, 22, 23, and the detection from the comparison circuit 3. It is composed of a discrimination circuit 4 which discriminates the occurrence of an abnormality based on the signal DET.

【0019】ここで、入力された3種類のデジタル周期
信号CLK1、CLK2及びCLK3は同期がとれたも
のであって、それぞれの周波数をf1 、f2 及びf3 と
すると、周波数間には、 f1 :f2 :f3 =l:m:n(l,m,nは整数) という関係があるものである。
Here, the three types of input digital periodic signals CLK1, CLK2 and CLK3 are synchronized, and if the respective frequencies are f1, f2 and f3, then f1: f2 is between the frequencies. : F3 = l: m: n (l, m, n are integers).

【0020】このような関係がある各デジタル周期信号
CLK1、CLK2、CLK3が対応する周期・位相操
作回路21、22、23に与えられる。各周期・位相操
作回路21、22、23はそれぞれ、カウンタ回路21
a、22a、23a及びデコーダ回路21b、22b、
23bの縦続接続によって構成されている。
The respective digital periodic signals CLK1, CLK2, CLK3 having such a relationship are given to the corresponding period / phase operation circuits 21, 22, 23. Each of the cycle / phase manipulation circuits 21, 22 and 23 has a counter circuit 21.
a, 22a, 23a and decoder circuits 21b, 22b,
It is constituted by a cascade connection of 23b.

【0021】各カウンタ回路21a、22a、23aが
L進、M進、N進カウンタ回路とすると、そのカウンタ
値の周期L、M、N間にもl:m:nの関係がある。各
カウンタ回路21a、22a、23aは、外部からリセ
ット信号RSTが与えられてリセットされた以降、入力
されたデジタル周期信号CLK1、CLK2、CLK3
を計数し、カウンタ値がL、M、Nになると自動的にカ
ウント値をクリアし、以下このようなカウント動作を繰
返す。
If each of the counter circuits 21a, 22a, 23a is an L-adic, M-adic, N-adic counter circuit, the cycle of the counter value L, M, N also has a relation of 1: m: n. Each of the counter circuits 21a, 22a, and 23a is reset by being supplied with a reset signal RST from the outside, and then input digital cycle signals CLK1, CLK2, and CLK3.
Is counted, and when the counter value becomes L, M, N, the count value is automatically cleared, and such counting operation is repeated.

【0022】各デコーダ回路21b、22b、23bに
は、対応するカウンタ回路21a、22a、23aによ
るカウント値が与えられる。各デコーダ回路21b、2
2b、23bは、正常なデジタル周期信号CLK1、C
LK2、CLK3が入力された場合に、これらデコーダ
回路21b、22b及び23bからの出力信号(デコー
ド信号:周期・位相操作信号)OP1、OP2、OP3
の有意レベルをとる期間が完全又は部分的にしかもでき
るだけ狭い期間(例えば最も周期が短いデジタル周期信
号の周期)で重複するように、入力されたカウント値を
デコードするものである。
Count values from the corresponding counter circuits 21a, 22a, 23a are given to the respective decoder circuits 21b, 22b, 23b. Each decoder circuit 21b, 2
2b and 23b are normal digital periodic signals CLK1 and C
When LK2 and CLK3 are input, output signals (decode signal: cycle / phase operation signal) OP1, OP2 and OP3 from these decoder circuits 21b, 22b and 23b.
The input count value is decoded so that the period of taking the significance level of 1 is overlapped completely or partially and in the narrowest possible period (for example, the period of the digital periodic signal having the shortest period).

【0023】このようなカウンタ回路21a、22a、
23a及びデコーダ回路21b、22b、23bによる
分周動作及び位相調整動作(カウンタ回路をトリガする
エッジを立上り、立下りのいずれに選定することで位相
調整する場合を含む)を通じて、各周期・位相操作回路
21、22、23から出力された周期・位相操作信号O
P1、OP2、OP3は、正常なデジタル周期信号CL
K1、CLK2、CLK3が入力された場合に、周波数
が等しい、しかも、有意レベル期間が狭い期間で重複す
るものとなる。
Such counter circuits 21a, 22a,
Each cycle / phase operation is performed through the frequency dividing operation and the phase adjusting operation by 23a and the decoder circuits 21b, 22b, and 23b (including the case of adjusting the phase by selecting the rising edge or the falling edge of the counter circuit). Period / phase operation signal O output from the circuits 21, 22 and 23
P1, OP2, OP3 are normal digital periodic signals CL
When K1, CLK2, and CLK3 are input, the frequencies are equal and the significance level periods overlap in a narrow period.

【0024】なお、分周動作は、周期(周波数)を揃え
るという機能だけでなく、所定の関係にないことで生じ
る位相ずれなどを絶対時間軸上で拡大するという機能を
も担っている。
The frequency dividing operation has not only the function of aligning the cycles (frequency), but also the function of expanding the phase shift caused by not having a predetermined relationship on the absolute time axis.

【0025】この実施例の場合、各周期・位相操作信号
OP1、OP2、OP3の有意レベルが全てHレベルと
しており、そのため、比較回路3としてアンド回路を適
用している。比較回路3は、正常なデジタル周期信号C
LK1、CLK2、CLK3が入力された場合に重複し
ている周期・位相操作信号OP1、OP2、OP3の有
意レベル期間を取出すものであり、重複期間だけ有意な
検出信号DETを出力する。従って、正常なデジタル周
期信号CLK1、CLK2、CLK3の入力が継続して
いるときには、比較回路3から、各周期・位相操作信号
OP1、OP2、OP3の周期に等しい周期で有意レベ
ル期間が狭い検出信号DETが繰返し出力される。
In the case of this embodiment, the significant levels of the respective cycle / phase operation signals OP1, OP2, OP3 are all at the H level, and therefore the AND circuit is applied as the comparison circuit 3. The comparison circuit 3 uses the normal digital periodic signal C
When LK1, CLK2, and CLK3 are input, the period / phase operation signals OP1, OP2, and OP3 that overlap are taken out of the significant level period, and the significant detection signal DET is output only during the overlap period. Therefore, when the normal digital period signals CLK1, CLK2, and CLK3 are continuously input, the detection signal from the comparison circuit 3 having a narrow significant level period at a period equal to that of each period / phase operation signal OP1, OP2, and OP3. DET is repeatedly output.

【0026】この実施例の場合、判別回路4は、例えば
リトリガ型モノマルチバイブレータ回路でなる。この判
別回路4が1回のトリガによって出力を保持する期間
は、例えば正常なデジタル周期信号CLK1、CLK
2、CLK3の入力時における検出信号DETの周期の
1.1倍程度に選定されている。従って、判別回路4
は、外部からのリセット信号RSTによってリセットさ
れた後に到来する検出信号DETがその本来の周期によ
るパルスを欠落した場合に、デジタル周期信号CLK1
〜CLK3の異常を示す異常出力信号ERRを出力す
る。
In the case of this embodiment, the discrimination circuit 4 is, for example, a retrigger type monomultivibrator circuit. The period in which the determination circuit 4 holds the output by one trigger is, for example, the normal digital period signals CLK1 and CLK.
2, about 1.1 times the cycle of the detection signal DET when CLK3 is input. Therefore, the discrimination circuit 4
Is a digital periodic signal CLK1 when the detection signal DET coming after being reset by an external reset signal RST lacks a pulse with its original period.
~ Outputs an abnormal output signal ERR indicating an abnormality of CLK3.

【0027】なお、比較回路3からの出力である検出信
号DETは、それ自体異常時に本来ではない非有意レベ
ルをとるものであるが、被検出信号がクロック信号等の
デジタル周期信号であるため、クロック信号等に同期さ
せてそのレベルを判別することができない。そのため、
例えばリトリガ型モノマルチバイブレータ回路でなるよ
うな、比較回路3からの検出信号DETの時間変化に基
づいて異常を判別する判別回路4が必要となっている。
The detection signal DET, which is the output from the comparison circuit 3, has a non-significant level that is not originally present when an abnormality occurs, but since the detected signal is a digital periodic signal such as a clock signal, The level cannot be determined in synchronization with a clock signal or the like. for that reason,
For example, there is a need for the determination circuit 4 configured by a retrigger type mono-multivibrator circuit for determining an abnormality based on the time change of the detection signal DET from the comparison circuit 3.

【0028】図2は、正常なデジタル周期信号CLK1
〜CLK3が入力された場合の図1の各部タイミングチ
ャートを示すものである。この図2は、デジタル周期信
号CLK1、CLK2、CLK3の周波数にはl:m:
n=2:1:1の関係があり、デジタル周期信号CLK
1の位相0がデジタル周期信号CLK2の位相π/2及
び3π/2に合致し、デジタル周期信号CLK3が同一
周波数のデジタル周期信号CLK2よりπ/2遅れてい
る場合を示している。
FIG. 2 shows a normal digital periodic signal CLK1.
2 shows a timing chart of each part in FIG. 1 when ˜CLK3 is input. In FIG. 2, the frequency of the digital periodic signals CLK1, CLK2, CLK3 is 1: m:
There is a relationship of n = 2: 1: 1, and the digital periodic signal CLK
The phase 0 of 1 matches the phases π / 2 and 3π / 2 of the digital periodic signal CLK2, and the digital periodic signal CLK3 lags behind the digital periodic signal CLK2 having the same frequency by π / 2.

【0029】ここで、各カウンタ回路21a、22a、
23aとして、2:1:1の関係を満たす6進、3進、
3進カウンタ回路(立上りトリガ型)が適用されてい
る。また、上述した位相関係から、例えば、デコーダ回
路21bにはカウント値「4」及び「5」をデコードす
るものが適用され、デコーダ回路22b及び23bには
カウント値「2」をデコードするものが適用される。
Here, each counter circuit 21a, 22a,
23a, hexadecimal, ternary, which satisfy the relationship of 2: 1: 1,
A ternary counter circuit (rising trigger type) is applied. From the above-mentioned phase relationship, for example, the decoder circuit 21b that decodes the count values "4" and "5" is applied, and the decoder circuits 22b and 23b that decode the count value "2" are applied. To be done.

【0030】上述したように、各カウンタ回路21a、
22a、23aは図2(a)に示すリセット信号RST
が与えられて一旦リセットされた以降、図2(b)、
(c)又は(d)に示す対応するデジタル周期信号CL
K1、CLK2、CLK3が与えられる毎に、図2
(b)、(c)又は(d)に付記した数字のようにカウ
ント値を更新する。この図2の場合、各デジタル周期信
号CLK1、CLK2、CLK3は正常であるので、す
なわち、他のデジタル周期信号に対して周波数及び位相
が所定の関係にあるので、各デコーダ回路21b、22
b、23bからは、図2(e)、(f)又は(g)に示
すように、周波数(周期)が等しい、しかも、有意レベ
ル期間が狭い期間で重複する周期・位相操作信号OP
1、OP2、OP3が出力される。その結果、比較回路
(アンド回路)3からも、図2(h)に示すように、そ
の周波数(周期)に等しい周波数を有する、しかも、有
意レベル期間が狭い検出信号DETが出力される。これ
により、判別回路4は所定周期で繰返しリトリガされ、
図2(i)に示すように、異常出力信号ERRは常時正
常(Lレベル)を示すものとなる。
As described above, each counter circuit 21a,
22a and 23a are reset signals RST shown in FIG.
2 (b), after being reset after being given
Corresponding digital periodic signal CL shown in (c) or (d)
Whenever K1, CLK2, and CLK3 are given, FIG.
The count value is updated like the number attached to (b), (c) or (d). In the case of FIG. 2, since the digital periodic signals CLK1, CLK2, and CLK3 are normal, that is, the frequency and the phase have a predetermined relationship with the other digital periodic signals, the decoder circuits 21b and 22b.
2b and 23b, as shown in FIG. 2 (e), (f) or (g), the period / phase operation signal OP having the same frequency (period) and overlapping in a period having a narrow significant level period.
1, OP2, OP3 are output. As a result, as shown in FIG. 2H, the comparison circuit (AND circuit) 3 also outputs the detection signal DET having a frequency equal to the frequency (cycle) thereof and having a narrow significant level period. As a result, the discrimination circuit 4 is repeatedly retriggered at a predetermined cycle,
As shown in FIG. 2 (i), the abnormal output signal ERR is always normal (L level).

【0031】図3は、図2について説明した所定関係に
あるべき3種類のデジタル周期信号CLK1〜CLK3
のうち、デジタル周期信号CLK1が異常となった場合
の各部タイミングチャートを示す。図3での異常は、周
波数が低速になる(周期が長くなる)異常である。
FIG. 3 shows three kinds of digital periodic signals CLK1 to CLK3 which should be in the predetermined relationship described with reference to FIG.
Of these, a timing chart of each part when the digital periodic signal CLK1 becomes abnormal is shown. The abnormality in FIG. 3 is an abnormality in which the frequency becomes low (the cycle becomes long).

【0032】各カウンタ回路21a、22a、23aは
図3(a)に示すリセット信号RSTが与えられて一旦
リセットされた以降、図3(b)、(c)又は(d)に
示す対応するデジタル周期信号CLK1、CLK2、C
LK3が与えられる毎に、図3(b)、(c)又は
(d)に付記した数字のようにカウント値を更新する。
この図3の場合、デジタル周期信号CLK1の周波数が
正常時より低速であるので、カウンタ回路21aのカウ
ント動作だけが正常時より遅くなり、そのため、デコー
ダ回路21bによる動作も正常時より遅くなる。その結
果、他のデコーダ回路22b及び22cが図3(f)及
び(g)に示すように有意レベルの周期・位相操作信号
OP2、OP3を重複して出力しているタイミングで
も、デコーダ回路21bは、図3(e)に示すように非
有意レベルの周期・位相操作信号OP1を出力すること
が生じる。このときには、比較回路(アンド回路)3
は、図3(h)に示すように、非有意レベルの検出信号
DETを出力する(有意パルスを欠落する)。判別回路
(例えばリトリガ型モノマルチバイブレータ回路)4
は、前回のトリガ時点から出力を保持する所定期間を経
過する以前には有意レベルへの変化(再トリガ)がない
ので、図3(i)に示すように、異常出力信号ERRを
異常(Hレベル)を示すものとする。
Each of the counter circuits 21a, 22a and 23a is once reset by being supplied with the reset signal RST shown in FIG. 3 (a), and then the corresponding digital circuit shown in FIG. 3 (b), (c) or (d). Periodic signals CLK1, CLK2, C
Each time LK3 is given, the count value is updated like the numbers added to FIG. 3 (b), (c) or (d).
In the case of FIG. 3, since the frequency of the digital periodic signal CLK1 is slower than normal, only the counting operation of the counter circuit 21a becomes slower than normal, so that the operation by the decoder circuit 21b also becomes slower than normal. As a result, even when the other decoder circuits 22b and 22c output the period / phase operation signals OP2 and OP3 of significant levels in an overlapping manner as shown in FIGS. As shown in FIG. 3 (e), the period / phase operation signal OP1 having an insignificant level is output. At this time, the comparison circuit (AND circuit) 3
Outputs a non-significant level detection signal DET (missing a significant pulse), as shown in FIG. Discrimination circuit (eg, retrigger type mono-multivibrator circuit) 4
Does not change to a significant level (retrigger) before a predetermined period of holding the output from the time of the previous trigger, so as shown in FIG. 3I, the abnormal output signal ERR becomes abnormal (H Level).

【0033】なお、このような異常状態を示す異常出力
信号ERRは、例えばラッチ回路によってラッチされて
表示装置等の異常発生に対応する装置に与えられる。
The abnormal output signal ERR indicating such an abnormal state is latched by, for example, a latch circuit and is given to a device such as a display device corresponding to the occurrence of an abnormal condition.

【0034】以上のように、上記第1実施例によれば、
入力された各デジタル周期信号の異常を個別に検出する
のではなく、入力された複数のデジタル周期信号の1個
でも異常があることを統一構成によって検出するように
したので、異常検出構成を図1に示すような簡単なもの
とすることができる。また、複数のデジタル周期信号の
周期や位相情報を揃えるための構成もカウンタ回路及び
デコーダ回路でなり、調整を不要にし、又は簡単に行な
うことができる。さらに、1個のデジタル周期信号を基
準として他のデジタル周期信号の異常を検出するもので
はなく、全てのデジタル周期信号を同様に取り扱うこと
ができる。
As described above, according to the first embodiment,
Anomaly detection configuration is designed by detecting the abnormality of even one of the input digital periodic signals by the unified configuration instead of individually detecting the abnormality of each input digital periodic signal. It can be as simple as shown in FIG. Further, the configuration for aligning the cycle and phase information of a plurality of digital cycle signals is also composed of a counter circuit and a decoder circuit, and adjustment is not necessary or can be performed easily. Further, instead of detecting abnormality of other digital periodic signals with reference to one digital periodic signal, all digital periodic signals can be handled in the same manner.

【0035】次に、本発明の第2実施例を図面を参照し
ながら詳述する。図4は、この第2実施例の構成を示す
ブロック図であり、図1との同一、対応部分には同一、
対応符号を付して示している。
Next, a second embodiment of the present invention will be described in detail with reference to the drawings. FIG. 4 is a block diagram showing the configuration of the second embodiment, which is the same as FIG.
Corresponding reference numerals are attached.

【0036】第2実施例のデジタル周期信号の異常検出
回路1Aは、第1実施例の構成に加えて、異常に係るデ
ジタル周期信号を特定できる構成を設けたものである。
The digital periodic signal abnormality detection circuit 1A of the second embodiment is provided with a configuration capable of specifying a digital periodic signal relating to an abnormality in addition to the configuration of the first embodiment.

【0037】このような特定構成は、各デジタル周期信
号CLK1、CLK2、CLK3のそれぞれに対応して
設けられたインバータ回路51、52、53及びアンド
回路61、62、63である。
Such a specific configuration is the inverter circuits 51, 52, 53 and the AND circuits 61, 62, 63 provided corresponding to the respective digital periodic signals CLK1, CLK2, CLK3.

【0038】各インバータ回路51、52、53は、対
応する周期・位相操作回路21、22、23から出力さ
れた周期・位相操作信号OP1、OP2、OP3を反転
して対応するアンド回路61、62、63に与え、各ア
ンド回路61、62、63は反転された周期・位相操作
信号と異常検出信号ERRとの論理積をとって、異常発
生したデジタル周期信号を明らかにする異常信号特定信
号ERR1、ERR2、ERR3を出力する。
Each inverter circuit 51, 52, 53 inverts the period / phase manipulation signals OP1, OP2, OP3 output from the corresponding period / phase manipulation circuit 21, 22, 23, and corresponding AND circuits 61, 62. , 63, and each AND circuit 61, 62, 63 takes the logical product of the inverted period / phase operation signal and the abnormality detection signal ERR to clarify the digital periodic signal in which an abnormality has occurred. , ERR2, ERR3 are output.

【0039】判別回路(例えばリトリガ型モノマルチバ
イブレータ回路)4が出力レベルを維持する最大のトリ
ガ間隔を、正常なデジタル周期信号CLK1、CLK
2、CLK3の入力時における検出信号DETの周期よ
り僅かに長く(例えば1.1倍程度)選定していると、
上述した図3に示すように、異常検出信号ERRが異常
を示す有意レベルに変化したタイミングでは、異常状態
のデジタル周期信号(CLK1)に対応した周期・位相
操作信号(OP1)は他の信号と異なって非有意レベル
であるLレベルをとっていることが多い。従って、上述
したインバータ回路51、52、53及びアンド回路6
1、62、63によって、異常状態になったデジタル周
期信号をほぼ特定できる異常信号特定信号ERR1、E
RR2、ERR3を得ることができる。
The maximum trigger interval at which the discriminating circuit (for example, the retrigger type mono-multivibrator circuit) 4 maintains the output level is set to the normal digital period signals CLK1 and CLK.
2. If the selection is made slightly longer (for example, about 1.1 times) than the cycle of the detection signal DET when CLK3 is input,
As shown in FIG. 3 described above, at the timing when the abnormality detection signal ERR changes to a significant level indicating an abnormality, the cycle / phase operation signal (OP1) corresponding to the digital cycle signal (CLK1) in the abnormal state is different from other signals. Often they have different non-significant L levels. Therefore, the above-described inverter circuits 51, 52, 53 and the AND circuit 6
1, 62 and 63, the abnormal signal specifying signals ERR1 and E that can almost specify the digital periodic signal in the abnormal state.
RR2 and ERR3 can be obtained.

【0040】なお、異常検出信号ERRと、周期・位相
操作信号OP1、OP2、OP3とは同期したものでは
ないので、異常信号特定信号ERR1、ERR2、ER
R3の精度はさほど高くない。
Since the abnormality detection signal ERR and the period / phase operation signals OP1, OP2, OP3 are not synchronized, the abnormality signal specifying signals ERR1, ERR2, ER are used.
The accuracy of R3 is not so high.

【0041】上記第2実施例によれば、簡単な構成で、
複数種類のデジタル周期信号の異常を検出できる、しか
も、調整箇所がほとんど不要であるという第1実施例と
同様な効果を得ることができると共に、異常に係るデジ
タル周期信号をある程度特定できるという効果を得るこ
とができる。
According to the second embodiment, with a simple structure,
It is possible to obtain the same effect as that of the first embodiment in that it is possible to detect abnormalities of a plurality of types of digital periodic signals, and that there is almost no need for adjustment points, and it is possible to specify the digital periodic signals related to abnormalities to some extent. Obtainable.

【0042】なお、本発明による異常検出対象のデジタ
ル周期信号は、その用途が同期用に限定されるものでは
なく、また、デューティ比も図2や図3に示すような5
0%のものに限定されるものではない。さらに、異常検
出に係るデジタル周期信号も3個に限定されるものでは
なく、2個や4個以上であっても良い。
The digital periodic signal to be detected by the anomaly according to the present invention is not limited to the use for synchronization, and the duty ratio is 5 as shown in FIGS. 2 and 3.
It is not limited to 0%. Furthermore, the number of digital periodic signals related to abnormality detection is not limited to three, and may be two or four or more.

【0043】本発明の回路を利用できるシステムも、交
換機システムや計算機システムに限定されず、テレビジ
ョン受信機等の他のデジタル処理構成を有するシステム
であっても良い。
The system in which the circuit of the present invention can be used is not limited to the exchange system or the computer system, and may be a system having another digital processing configuration such as a television receiver.

【0044】また、上記実施例においては、各デジタル
周期信号毎に、周期・位相操作回路を設けたものを示し
たが、周期・位相を操作しないで比較回路3に入力して
も上記と同様な動作を実行させることができるデジタル
周期信号に対しては、対応する周期・位相操作回路を省
略することができる。
In the above embodiment, the period / phase operating circuit is provided for each digital periodic signal. However, the same operation as described above can be performed even if the period / phase is not operated to the comparator circuit 3. For digital periodic signals capable of performing various operations, the corresponding period / phase manipulation circuit can be omitted.

【0045】比較回路3や判別回路4の詳細も上記実施
例に限定されない。比較回路3は、各周期、位相操作信
号の有意レベル側の選定によってその論理演算構成が変
化する。また、判別回路4も、水晶発振回路からの原発
振クロック信号によって検出信号DETの周期性を判別
するものであっても良い。
The details of the comparison circuit 3 and the discrimination circuit 4 are not limited to those in the above embodiment. The logical operation configuration of the comparison circuit 3 changes in each cycle depending on the selection of the significant level side of the phase operation signal. The discriminating circuit 4 may also discriminate the periodicity of the detection signal DET based on the original oscillation clock signal from the crystal oscillation circuit.

【0046】[0046]

【発明の効果】以上のように、本発明によれば、複数の
デジタル周期信号が入力され、少なくとも1以上のデジ
タル周期信号の周波数及び又は位相を操作し、周波数が
等しい有意レベル期間が重複した複数の周期・位相操作
信号を出力する周期・位相操作手段と、周期・位相操作
手段から出力された全ての周期・位相操作信号の周期及
び位相の一致性を検出する比較手段と、この比較手段か
らの検出信号に基づいて、1以上のデジタル周期信号に
異常が発生していることを判別する判別手段とを備える
ようにしたので、簡単な構成で、複数種類のデジタル周
期信号の異常を検出できる、しかも、調整箇所がほとん
どないデジタル周期信号の異常検出回路を実現できる。
As described above, according to the present invention, a plurality of digital periodic signals are input, the frequencies and / or phases of at least one digital periodic signal are manipulated, and significant level periods having the same frequency are overlapped. Cycle / phase operating means for outputting a plurality of cycle / phase operating signals, comparing means for detecting the coincidence of cycles and phases of all cycle / phase operating signals output from the cycle / phase operating means, and this comparing means Since it is provided with a determination means for determining that one or more digital periodic signals have an abnormality based on the detection signal from, the abnormality of a plurality of types of digital periodic signals is detected with a simple configuration. In addition, it is possible to realize a digital periodic signal abnormality detection circuit that has few adjustment points.

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

【図1】第1実施例の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of a first embodiment.

【図2】第1実施例の正常時の各部タイミングチャート
である。
FIG. 2 is a timing chart of each part of the first embodiment in a normal state.

【図3】第1実施例の異常時の各部タイミングチャート
である。
FIG. 3 is a timing chart of each part when an abnormality occurs in the first embodiment.

【図4】第2実施例の構成を示すブロック図である。FIG. 4 is a block diagram showing a configuration of a second embodiment.

【符号の説明】[Explanation of symbols]

CLK1〜CLK3…デジタル周期信号、21〜23…
周期・位相操作回路、21a〜23a…カウンタ回路、
21b〜23b…デコーダ回路、3…比較回路、4…判
別回路、51〜53…インバータ回路、61〜63…ア
ンド回路。
CLK1 to CLK3 ... Digital periodic signals, 21 to 23 ...
Period / phase operation circuit, 21a to 23a ... Counter circuit,
21b to 23b ... Decoder circuit, 3 ... Comparison circuit, 4 ... Determination circuit, 51-53 ... Inverter circuit, 61-63 ... AND circuit.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G06F 1/04 302 Z 11/00 310 J ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical display location G06F 1/04 302 Z 11/00 310 J

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 周波数及び又は位相に特定関係がある複
数のデジタル周期信号が入力され、少なくとも1以上の
デジタル周期信号の周波数及び又は位相を操作し、周波
数が等しい有意レベル期間が重複した、入力された各デ
ジタル周期信号に対応した複数の周期・位相操作信号を
出力する周期・位相操作手段と、 周期・位相操作手段から出力された全ての周期・位相操
作信号の周期及び位相の一致性を検出する比較手段と、 この比較手段からの検出信号に基づいて、1以上のデジ
タル周期信号に異常が発生している場合にそのことを判
別して出力する判別手段とからなることを特徴としたデ
ジタル周期信号の異常検出回路。
1. A plurality of digital periodic signals having a specific relation to frequency and / or phase are input, at least one or more digital periodic signals are manipulated in frequency and / or phase, and significant level periods having the same frequency overlap each other. The period / phase operating means that outputs a plurality of period / phase operating signals corresponding to each digital periodic signal and the period and phase of all the period / phase operating signals output from the period / phase operating means. It is characterized in that it comprises a comparing means for detecting, and a judging means for judging and outputting the abnormality when one or more digital periodic signals are abnormal based on the detection signal from the comparing means. Abnormality detection circuit for digital periodic signals.
【請求項2】 上記判別手段が異常と判別したタイミン
グの上記各周期・位相操作信号の論理レベルに基づい
て、異常のデジタル周期信号を特定する信号を形成する
異常信号特定信号形成手段をさらに備えることを特徴と
した請求項1に記載のデジタル周期信号の異常検出回
路。
2. An abnormal signal specifying signal forming means for forming a signal for specifying an abnormal digital periodic signal based on the logical level of each cycle / phase operation signal at the timing when the judging means has judged that the abnormality has occurred. An abnormality detection circuit for a digital periodic signal according to claim 1, characterized in that.
JP5239508A 1993-09-27 1993-09-27 Abnormality detecting circuit for digital periodic signal Pending JPH0795025A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5239508A JPH0795025A (en) 1993-09-27 1993-09-27 Abnormality detecting circuit for digital periodic signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5239508A JPH0795025A (en) 1993-09-27 1993-09-27 Abnormality detecting circuit for digital periodic signal

Publications (1)

Publication Number Publication Date
JPH0795025A true JPH0795025A (en) 1995-04-07

Family

ID=17045837

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5239508A Pending JPH0795025A (en) 1993-09-27 1993-09-27 Abnormality detecting circuit for digital periodic signal

Country Status (1)

Country Link
JP (1) JPH0795025A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6023771A (en) * 1997-07-11 2000-02-08 Nec Corporation Clock redundancy system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6023771A (en) * 1997-07-11 2000-02-08 Nec Corporation Clock redundancy system

Similar Documents

Publication Publication Date Title
JP3827947B2 (en) Clock error detection device
JPH0795025A (en) Abnormality detecting circuit for digital periodic signal
US6246261B1 (en) Circuit for detecting the disappearing of a periodic signal
JP2765245B2 (en) Serial clock generation circuit
US5734273A (en) Phase lock detector
JPH04306930A (en) Clock fault detector
US6900674B2 (en) Method and circuitry for phase align detection in multi-clock domain
JP2606569B2 (en) Frame pulse output monitoring circuit
JP2661590B2 (en) Built-in clock of information processing device
JP2002026704A (en) Clock fault detector and its method
JPH06140920A (en) Automatic frequency divider circuit
JPH05219097A (en) Timing signal monitoring circuit
JP2757714B2 (en) Frame pulse generation circuit
JP3586578B2 (en) Edge detection circuit
JP2721691B2 (en) Horizontal period identification device
JPH0727804A (en) Pulse width measurement circuit
JPH08172380A (en) Controlling method for counter in clock generation circuit
KR940001511B1 (en) Control frame sense circuit for manchester cord receiver
JP2575221B2 (en) PLL circuit
JPH0567967A (en) Clock generator
JPS63151237A (en) Frame synchronization protecting circuit
JPH01296838A (en) Noise detecting system for external input
JP2002359752A (en) Timing signal transmitting/receiving circuit
JPS63310211A (en) Clock fault detecting circuit
JPH0573360A (en) Watchdog timer