JPH0766799A - Clock monitoring circuit - Google Patents

Clock monitoring circuit

Info

Publication number
JPH0766799A
JPH0766799A JP5213283A JP21328393A JPH0766799A JP H0766799 A JPH0766799 A JP H0766799A JP 5213283 A JP5213283 A JP 5213283A JP 21328393 A JP21328393 A JP 21328393A JP H0766799 A JPH0766799 A JP H0766799A
Authority
JP
Japan
Prior art keywords
clock
signal
circuit
period
counting
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.)
Granted
Application number
JP5213283A
Other languages
Japanese (ja)
Other versions
JP2531446B2 (en
Inventor
Masayuki Ootawa
雅之 大田和
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP5213283A priority Critical patent/JP2531446B2/en
Publication of JPH0766799A publication Critical patent/JPH0766799A/en
Application granted granted Critical
Publication of JP2531446B2 publication Critical patent/JP2531446B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)
  • Use Of Switch Circuits For Exchanges And Methods Of Control Of Multiplex Exchanges (AREA)

Abstract

PURPOSE:To provide a clock monitoring circuit capable of easily and accurately monitoring excess/omission due to the detection of disconnection of a supplied reference clock and its waveform distortion. CONSTITUTION:A receiving circuit 101 generates a receiving clock S2 from a reference clock S1. A monitoring period signal generating circuit 103 generates a monitoring period signal S4 with a period (t) and a judging period signal S5 with a period T from a sampling signal S3. Counting circuits 104, 106, 107 respectively count the occupation time rates and leading edges of the logic levels '1', '0' of a receiving clock S2, and when these count values satisfy an abnormality judging condition, output respective counted result signals S7 to S9. When the signals S7 to S9 are generated continuously or plural times in the judging period T time, a judging circuit 108 outputs a judged result signal S10 judging the existence of abnormality in the receiving clock S2.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はクロックが正常であるか
どうかを監視するクロック監視回路に関し、特に網同期
確立のために受信する同期用基準クロックの監視に適す
るクロック監視回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a clock monitoring circuit for monitoring whether or not a clock is normal, and more particularly to a clock monitoring circuit suitable for monitoring a reference clock for synchronization received for establishing network synchronization.

【0002】[0002]

【従来の技術】従来のこの種の監視回路について、図3
に示すクロック監視回路の回路図と、図4に示すこのク
ロック監視回路の動作を説明するためのタイミングチャ
ートとを併せ参照して説明する。
2. Description of the Related Art A conventional monitoring circuit of this type is shown in FIG.
The description will be given with reference to the circuit diagram of the clock monitoring circuit shown in FIG. 4 and the timing chart for explaining the operation of the clock monitoring circuit shown in FIG.

【0003】このクロック監視回路は、74LS12
2,74LS123等の型番を持ち、Retriggl
e Monostable Multivibrato
rという名称を有する集積回路(IC)201を使用す
る。このクロック監視回路は、IC201のR/C端子
と接地電位としたCext端子との間に容量値Cのコン
デンサC1を、上記R/C端子と+5V電源との間に抵
抗値Rの抵抗器R1を接続している。また、IC201
は、A入力端子は接地し、Clear端子には+5V電
源を供給している。監視すべき基準クロックS21は、
IC201のB入力端子に供給され、監視結果の出力信
号S22はQ端子に出力される。
This clock monitoring circuit is a 74LS12.
Has a model number such as 2,74LS123, Retriggl
e Monostable Multivibrato
An integrated circuit (IC) 201 with the name r is used. This clock monitoring circuit includes a capacitor C1 having a capacitance value C between the R / C terminal of the IC 201 and a Cext terminal at the ground potential, and a resistor R1 having a resistance value R between the R / C terminal and the + 5V power source. Are connected. In addition, IC201
The A input terminal is grounded and the Clear terminal is supplied with + 5V power. The reference clock S21 to be monitored is
The output signal S22 of the monitoring result, which is supplied to the B input terminal of the IC 201, is output to the Q terminal.

【0004】このクロック監視回路は、アラーム条件,
例えば基準クロックS21が10クロック周期連続して
断になると異常と判定するという条件に基づいて、容量
値Cおよび抵抗値Rを決定する。この条件において、I
C201は、基準クロックS21の1クロック入力に対
し、パルス幅tw(=k×C×R:kは係数)の出力信
号S22を生じる。
This clock monitoring circuit is used for alarm conditions,
For example, the capacitance value C and the resistance value R are determined based on the condition that it is determined that the reference clock S21 is abnormal when the reference clock S21 is disconnected for 10 consecutive clock cycles. In this condition, I
The C201 generates an output signal S22 having a pulse width tw (= k × C × R: k is a coefficient) with respect to one clock input of the reference clock S21.

【0005】いま、IC201のB端子に基準クロック
S21が供給されると、この基準クロックS21の立ち
上りごとに、IC201はQ端子に新たにパルス幅tw
だけ論理レベル“1”を保持させる。基準クロックS2
1がIC201に連続して入力されると、Q端子は論理
レベル“1”の状態を継続させる。逆に、基準クロック
S21がIC201に入力されず、図4に示すように、
基準クロックS21の最後の入力後、時間twが経過す
ると、Q端子に生じる出力信号S22は論理レベル
“0”となり、基準クロックS21の断検出がなされた
ことになる。
Now, when the reference clock S21 is supplied to the B terminal of the IC201, the IC201 newly adds a pulse width tw to the Q terminal each time the reference clock S21 rises.
Only hold the logic level "1". Reference clock S2
When 1 is continuously input to the IC 201, the Q terminal keeps the logic level "1". On the contrary, the reference clock S21 is not input to the IC 201, and as shown in FIG.
When the time tw has passed after the last input of the reference clock S21, the output signal S22 generated at the Q terminal becomes the logic level "0", which means that the disconnection of the reference clock S21 is detected.

【0006】[0006]

【発明が解決しようとする課題】この従来のクロック監
視回路では、基準クロックの入力異常,波形劣化等に伴
う上記基準クロックの余剰,欠落等が生じても、パルス
幅twで示される一定周期内に正常な上記基準クロック
が入力されればクロック断の検出はされない。つまり、
パルス幅twで示される一定周期内に、1つでも上記基
準クロックの立ち上りが上記クロック監視回路の入力端
に存在すると、上記基準クロックの断検出が行われな
い。従って、このクロック監視回路は、入力異常、波形
劣化に伴う上記基準クロックの余剰、欠落を検出できな
いという欠点があった。
In this conventional clock monitoring circuit, even if the reference clock surplus or loss occurs due to input abnormality of the reference clock, waveform deterioration, etc., within the fixed period indicated by the pulse width tw. If the normal reference clock is input to, the clock break is not detected. That is,
If at least one rising edge of the reference clock exists at the input end of the clock monitoring circuit within the fixed period indicated by the pulse width tw, the reference clock disconnection is not detected. Therefore, this clock monitoring circuit has a drawback in that it is not possible to detect surplus or loss of the reference clock due to input abnormality or waveform deterioration.

【0007】[0007]

【課題を解決するための手段】本発明のクロック監視回
路は、供給されるクロックが正常であるかどうかを監視
するクロック監視回路であって、繰り返し周波数が前記
クロックの繰り返し周波数の2倍以上のサンプリング信
号を発生するサンプリング信号発生回路と、周期tの監
視周期信号と前記周期tのn(nは1以上の整数)倍の
周期Tを有する判定周期信号とを前記サンプリング信号
に同期して生じる監視周期信号発生回路と、前記周期t
時間中において前記クロックの第一の論理レベルが占め
る時間を前記サンプリング信号によるサンプリングによ
って計数しこの計数結果が予め定めた第一の値を超える
と第一の計数結果信号を生じる第一の計数回路と、前記
周期t時間中において前記クロックの第二の論理レベル
が占める時間を前記サンプリング信号によるサンプリン
グによって計数しこの計数結果が予め定めた第二の値を
超えると第二の計数結果信号を生じる第二の計数回路
と、前記周期t時間中において前記クロックの第二の論
理レベルから第一の論理レベルへ変化する立ち上り点を
計数しこの計数結果が予め定めた第三の値を超えると第
三の計数結果信号を出力する立ち上り回数計数回路と、
前記第一の計数結果信号,前記第二の計数結果信号およ
び前記第三の計数結果信号のいずれかが生じると前記ク
ロックを異常と判定する判定結果信号を生じる判定回路
とを備える。
A clock monitoring circuit of the present invention is a clock monitoring circuit for monitoring whether or not a supplied clock is normal, and the repetition frequency is at least twice the repetition frequency of the clock. A sampling signal generating circuit that generates a sampling signal, a monitoring period signal of a period t, and a determination period signal having a period T that is n (n is an integer of 1 or more) times the period t are generated in synchronization with the sampling signal. A monitoring cycle signal generating circuit and the cycle t
A first counting circuit which counts the time occupied by the first logic level of the clock in time by sampling with the sampling signal and produces a first count result signal when the count result exceeds a predetermined first value. And the time occupied by the second logic level of the clock in the period t is counted by sampling with the sampling signal, and a second count result signal is generated when the count result exceeds a predetermined second value. A second counting circuit and a rising point at which the second logic level of the clock changes from the second logic level to the first logic level during the period t, and when the counting result exceeds a predetermined third value, A rising frequency counting circuit that outputs a counting result signal of 3,
And a determination circuit that generates a determination result signal that determines that the clock is abnormal when any of the first counting result signal, the second counting result signal, and the third counting result signal occurs.

【0008】前記クロック監視回路は、前記判定回路
が、前記周期tを計数単位とするとともに前記nを2以
上とする前記周期T時間中において前記異常が連続発生
するかまたは複数回発生すると前記判定結果信号を生じ
る構成を採ることができる。
In the clock monitoring circuit, the determination circuit determines that the abnormality occurs continuously or a plurality of times during the period T in which the period t is a count unit and n is 2 or more. A configuration that produces a result signal can be employed.

【0009】また、本発明のクロック監視回路は、供給
されるクロックが正常であるかどうかを監視するクロッ
ク監視回路であって、繰り返し周波数が前記クロックの
繰り返し周波数の2倍以上のサンプリング信号を発生す
るサンプリング信号発生回路と、周期tの監視周期信号
と前記周期tのn(nは1以上の整数)倍の周期Tを有
する判定周期信号とを前記サンプリング信号に同期して
生じる監視周期信号発生回路と、前記周期t時間中にお
いて前記クロックの論理レベル“1”が占める時間を前
記サンプリング信号によるサンプリングによって計数し
この計数結果が予め定めた第一の値を超えると第一の計
数結果信号を生じる第一の計数回路と、前記クロックの
極性を反転させて反転クロックを生じる反転回路と、前
記周期t時間中において前記反転クロックの論理レベル
“1”が占める時間を前記サンプリング信号によるサン
プリングによって計数しこの計数結果が予め定めた第二
の値を超えると第二の計数結果信号を生じる第二の計数
回路と、前記周期t時間中において前記クロックの論理
レベル“0”から論理レベル“1”へ変化する立ち上り
点を計数しこの計数結果が予め定めた第三の値を超える
と第三の計数結果信号を生じる立ち上り回数計数回路
と、前記第一の計数結果信号,前記第二の計数結果信号
および前記第三の計数結果信号の論理和をとる論理和回
路と、前記周期tを計数単位とするとともに前記nを2
以上とする前記周期T時間中において前記論理和の論理
和レベル“1”が連続発生するかまたは複数回発生する
と前記クロックを異常と判定する判定結果信号を生じる
判定回路とを備える。
Further, the clock monitoring circuit of the present invention is a clock monitoring circuit for monitoring whether or not the supplied clock is normal, and generates a sampling signal whose repetition frequency is at least twice the repetition frequency of the clock. A sampling signal generating circuit for generating a monitoring cycle signal having a cycle t and a determination cycle signal having a cycle T that is n times (n is an integer of 1 or more) times the cycle t in synchronization with the sampling signal. The circuit and the time occupied by the logic level "1" of the clock during the period t are counted by sampling with the sampling signal, and the first counting result signal is output when the counting result exceeds a predetermined first value. A first counting circuit that occurs, an inverting circuit that inverts the polarity of the clock to produce an inverted clock, and And a second counting circuit which counts the time occupied by the logic level "1" of the inversion clock by sampling with the sampling signal and produces a second counting result signal when the counting result exceeds a predetermined second value. , During the time period t, counting the rising points at which the logic level "0" of the clock changes to the logic level "1", and when the counting result exceeds a predetermined third value, a third counting result signal is output. A rising number counting circuit that occurs, an OR circuit that ORs the first counting result signal, the second counting result signal, and the third counting result signal; n is 2
And a determination circuit for generating a determination result signal for determining the clock as abnormal when the logical sum level "1" of the logical sum continuously occurs or occurs a plurality of times during the period T.

【0010】[0010]

【実施例】次に本発明について図面を参照して説明す
る。
The present invention will be described below with reference to the drawings.

【0011】図1は本発明の一実施例を示すブロック図
である。
FIG. 1 is a block diagram showing an embodiment of the present invention.

【0012】このクロック監視回路の受信回路101
は、網同期を確立するための基準クロック発生装置(図
示せず)から供給される基準クロックS1を受信し、基
準クロックS1を波形整形した受信クロックS2を出力
する。受信クロックS2は、“1”および“0”二つの
論理レベルを有する。また、サンプリング信号発生回路
102は、受信クロックS2の2倍以上の繰り返し周波
数を有するサンプリング信号S3を生じる。このサンプ
リング信号S3は監視周期信号発生回路103に供給さ
れ、監視周期信号発生回路103は、周期tの監視周期
信号S4と、周期tのn(n)倍の周期Tを有する判定
周期信号S5とを生じる。なお、この実施例のクロック
監視回路では、nを2以上としている。
The receiving circuit 101 of this clock monitoring circuit
Receives a reference clock S1 supplied from a reference clock generator (not shown) for establishing network synchronization, and outputs a reception clock S2 obtained by waveform-shaping the reference clock S1. The reception clock S2 has two logic levels of "1" and "0". Further, the sampling signal generation circuit 102 generates a sampling signal S3 having a repetition frequency that is at least twice the reception clock S2. The sampling signal S3 is supplied to the monitoring cycle signal generating circuit 103, and the monitoring cycle signal generating circuit 103 generates a monitoring cycle signal S4 having a cycle t and a determination cycle signal S5 having a cycle T that is n (n) times the cycle t. Cause In the clock monitoring circuit of this embodiment, n is 2 or more.

【0013】受信クロックS2とサンプリング信号S3
と監視周期信号S4とは第一の計数回路104に供給さ
れる。計数回路104は、監視周期信号S4の一監視周
期t時間ごとに、受信クロックS2における論理レベル
“1”の占める時間(割合)をサンプリング信号S3の
サンプリングによって計数し、この計数結果が予め定め
た第一の値を超えると、第一の計数結果信号S7を論理
レベル“1”で出力する。
Receive clock S2 and sampling signal S3
And the monitoring cycle signal S4 are supplied to the first counting circuit 104. The counting circuit 104 counts the time (ratio) occupied by the logic level "1" in the reception clock S2 by sampling the sampling signal S3 every t times of the monitoring cycle signal S4, and the counting result is predetermined. When it exceeds the first value, the first counting result signal S7 is output at the logic level "1".

【0014】また、受信クロックS2は、反転回路10
5で極性を反転され、反転クロックS6になる。反転ク
ロックS6とサンプリング信号S3と監視周期信号S4
とは第二の計数回路106に供給される。計数回路10
6は、監視周期信号S4が示す周期t時間ごとに、反転
クロックS6の論理レベル“1”の占める時間(割
合),即ち受信クロックS2の論理レベル“0”の占め
る時間をサンプリング信号S3を用いて計数し、この計
数結果が予め定めた第二の値を超えると、第二の計数結
果信号S8を論理レベル“1”で出力する。
Further, the reception clock S2 is supplied to the inverting circuit 10
The polarity is inverted at 5 to become the inversion clock S6. Inversion clock S6, sampling signal S3, monitoring period signal S4
Are supplied to the second counting circuit 106. Counting circuit 10
6 uses the sampling signal S3 for the time (ratio) occupied by the logic level "1" of the inversion clock S6, that is, the time occupied by the logic level "0" of the reception clock S2 for each cycle t time indicated by the monitoring cycle signal S4. When the counting result exceeds a predetermined second value, the second counting result signal S8 is output at the logic level "1".

【0015】また、受信クロックS2とサンプリング信
号S3と監視周期信号S4とは、立ち上り回数計数回路
107にも供給される。立ち上り回数計数回路107
は、周期t時間ごとに、受信クロックS2が論理レベル
“0”から論理レベル“1”へ変化する立ち上り点の数
を計数し、この計数結果が予め定めた第三の値を超える
と、第三の計数結果信号S9を論理レベル“1”で出力
する。
The reception clock S2, the sampling signal S3, and the monitoring period signal S4 are also supplied to the rise counter circuit 107. Rising frequency counting circuit 107
Counts the number of rising points at which the reception clock S2 changes from the logic level "0" to the logic level "1" at every cycle t, and when the count result exceeds a predetermined third value, The third counting result signal S9 is output at the logic level "1".

【0016】計数結果信号S7とS8とS9は判定回路
108に供給される。判定回路108は、一周期tを演
算の時間的単位として、計数結果信号S7,計数結果信
号S8および計数結果信号S9について論理和演算を行
う。ここで、計数回路104,106および立ち上り回
数計数回路107の各各が、計数結果信号S7,S8お
よびS9の少くともいずれかを生じる(判定回路108
が少くとも一つの論理レベル“1”を受ける)ときに
は、後述するとおり、受信クロックS2の異常状態を示
している。判定回路108は、さらに判定周期信号S5
から得られる周期T時間中に上記論理和演算により認識
される上記受信クロックS2の異常が連続発生または複
数回発生すると、受信クロックS2が異常であると判定
し、判定結果信号S10を出力する。なお、上記受信ク
ロックS2の異常が1回発生しても判定回路108が直
ちに判定結果信号S10を出力しないのは受信クロック
S2の異常判定に慎重を期すためであり、勿論1回の受
信クロックS2の異常に対して判定結果信号S10を発
生させてもよい。この場合には、監視周期信号発生回路
102の供給する判定周期信号S5の周期Tは監視周期
信号S4の周期nに等しくしてもよい。
The counting result signals S7, S8 and S9 are supplied to the judging circuit 108. The determination circuit 108 performs a logical sum operation on the count result signal S7, the count result signal S8, and the count result signal S9 with one cycle t as a time unit of the operation. Here, each of the counting circuits 104 and 106 and each of the rising number counting circuits 107 produces at least one of the counting result signals S7, S8 and S9 (determination circuit 108).
Is at least one logic level "1"), it indicates an abnormal state of the reception clock S2 as described later. The determination circuit 108 further determines the determination cycle signal S5.
When the abnormality of the reception clock S2 recognized by the logical OR operation occurs continuously or a plurality of times during the period T obtained from the above, it is determined that the reception clock S2 is abnormal and the determination result signal S10 is output. It should be noted that the reason why the determination circuit 108 does not immediately output the determination result signal S10 even if the abnormality of the reception clock S2 occurs once is to be careful in determining the abnormality of the reception clock S2, and, of course, once the reception clock S2 has occurred. The determination result signal S10 may be generated for the abnormality. In this case, the cycle T of the determination cycle signal S5 supplied by the monitoring cycle signal generation circuit 102 may be equal to the cycle n of the monitoring cycle signal S4.

【0017】なお、本実施例のクロック監視回路は、全
ての信号処理をディジタル処理しており、LSI化に適
していることはいうまでもない。
Needless to say, the clock monitoring circuit of this embodiment is suitable for use as an LSI because all signal processing is digitally processed.

【0018】図2は本実施例における受信クロックS2
およびサンプリング信号S3のタイミングチャートであ
り、(a)は正常な受信クロックS2,(b)は(a)
にサンプリング信号S3を重畳した図、(c)は論理レ
ベル“0”の欠落状態にある受信クロックS2にサンプ
リング信号S3を重畳した図、(d)余剰状態にある受
信クロックS2を示している。
FIG. 2 shows the reception clock S2 in this embodiment.
3A and 3B are timing charts of the sampling signal S3, in which (a) is a normal reception clock S2 and (b) is (a).
FIG. 7C is a diagram in which the sampling signal S3 is superimposed, FIG. 7C is a diagram in which the sampling signal S3 is superimposed on the reception clock S2 in the missing state of the logic level “0”, and FIG.

【0019】図1および図2を参照すると、本実施例の
クロック監視回路は、監視信号S4の周期tを受信クロ
ックS2の1クロック周期にほぼ等しくしている。な
お、判定周期信号S5の周期Tは、周期tの2倍以上と
している。
Referring to FIGS. 1 and 2, in the clock monitoring circuit of this embodiment, the cycle t of the monitoring signal S4 is made substantially equal to one clock cycle of the reception clock S2. The cycle T of the determination cycle signal S5 is set to be twice the cycle t or more.

【0020】また、第一の計数回路104は監視周期信
号S4で示す監視時間t時間中に占める受信クロックS
2の論理レベル“1”の占有時間率が95%を超えると
計数結果信号S7を出力する。第二の計数回路105で
は同じく周期t時間中に占める受信クロックS2の論理
レベル“0”の占有時間率が95%を超えると計数結果
信号S8を出力し、立ち上り回数計数回路107では同
じく周期t時間中の立ち上り回数が2回以上になると計
数結果信号S9を出力する。
Further, the first counting circuit 104 receives the reception clock S during the monitoring time t indicated by the monitoring cycle signal S4.
When the occupation time ratio of the logic level "1" of 2 exceeds 95%, the counting result signal S7 is output. Similarly, the second counting circuit 105 outputs the counting result signal S8 when the occupation time ratio of the logic level "0" of the reception clock S2 in the period t exceeds 95%, and the rising number counting circuit 107 similarly outputs the period t. When the number of rises during the time is two or more, the counting result signal S9 is output.

【0021】(a)および(b)に示す受信クロックS
2は、正常な状態にあり、周期t時間中に占める論理レ
ベル“1”および論理レベル“0”の占有時間はそれぞ
れ計数結果信号S7および計数結果信号S8の出力条件
をともに満たしていない。しかし、(c)に示す受信ク
ロックS2は論理レベル“1”の占有時間が95%を越
えているので、(c)の受信クロックS2を受けた計数
回路104はこの受信クロックS2が異常状態にあるこ
とを示す計数結果信号S7を出力する。
Reception clock S shown in (a) and (b)
2 is in a normal state, and the occupied time of the logic level "1" and the logic level "0" during the period t does not satisfy the output conditions of the count result signal S7 and the count result signal S8, respectively. However, since the occupation time of the logic level "1" of the reception clock S2 shown in (c) exceeds 95%, the counting circuit 104 which has received the reception clock S2 of (c) makes this reception clock S2 in an abnormal state. A count result signal S7 indicating that there is is output.

【0022】立ち上り回数計数回路107は、受信クロ
ックS2の論理レベル“0”から論理レベル“1”に変
化する立ち上り点(▽印で示す点)を計数する機能を持
っている。先に説明した計数回路104および106
は、(d)に示す受信クロックS2を受信しても、この
受信クロックS2が計数結果信号S7および計数結果信
号S8を出力する条件をともに満たしていないので、こ
の受信クロックS2を異常と判定することはできない。
しかし、立ち上り回数計数回路107は、(d)に示す
受信クロックS2を受信すると、この受信クロックS2
の立ち上り回数が周期t時間内に2回以上であることを
計数し、この計数結果が判定条件を満たしているので、
(d)の受信クロックS2が異常状態であることを示す
計数結果信号S9を出力する。
The rising number counting circuit 107 has a function of counting rising points (points indicated by ∇) where the reception clock S2 changes from the logic level "0" to the logic level "1". The counting circuits 104 and 106 described above
Even if the reception clock S2 shown in (d) is received, since the reception clock S2 does not satisfy the conditions for outputting the count result signal S7 and the count result signal S8, it is determined that the reception clock S2 is abnormal. It is not possible.
However, when the rise counter circuit 107 receives the reception clock S2 shown in (d), the reception clock S2
It is counted that the number of rises of is two or more times within the period t, and since the count result satisfies the determination condition,
A count result signal S9 indicating that the reception clock S2 in (d) is in an abnormal state is output.

【0023】判定回路108は、判定周期信号S5で示
す周期T時間中の周期tごとに、計数結果信号S7,計
数結果信号S8および計数結果信号S9の論理和(O
R)をとる。この論理和の論理和レベル“1”が周期T
時間中に連続して発生または複数回発生した場合には、
判定回路108は受信クロックS2が異常であると判定
し、判定結果信号S10を出力する。なお、判定回路1
08は、計数結果信号S7,計数結果信号S8および計
数結果信号S9が周期tごとにリセットされる性質を利
用して周期tの信号を再生できるが、監視周期信号発生
回路103から監視周期信号S4を受けてもよい。ま
た、判定回路108は、この判定結果信号S10の送出
に対する保護(発動/解除)機能を有してもよい。
The determination circuit 108 outputs a logical sum (O) of the count result signal S7, the count result signal S8, and the count result signal S9 for each cycle t in the cycle T indicated by the judgment cycle signal S5.
R). The logical sum level “1” of this logical sum is the cycle T
If it occurs consecutively or multiple times during the time,
The determination circuit 108 determines that the reception clock S2 is abnormal and outputs the determination result signal S10. The determination circuit 1
08 can reproduce the signal of the cycle t by utilizing the property that the count result signal S7, the count result signal S8 and the count result signal S9 are reset every cycle t, but the monitor cycle signal generating circuit 103 outputs the monitor cycle signal S4. You may receive. Further, the determination circuit 108 may have a protection (activation / cancellation) function against the transmission of the determination result signal S10.

【0024】本実施例は、受信クロックS2の論理レベ
ルの“0”の部分が欠落した例(図2(c))について
説明したが、論理レベルの“1”の欠落した受信クロッ
クS2,つまり受信クロックS2の断等についても本実
施例により同様に異常検出できることは明らかである。
また、サプリング信号S3の繰り返し周波数を高くする
と、異常検出の精度が向上することは勿論である。さら
に、このクロック監視回路は、周期t,周期T,計数結
果信号S7,S8およびS9の送出条件を変化させるこ
とが可能であり、判定速度および判定感度を含む受信ク
ロック異常の判定条件に大きな自由度を持たせることが
できる。
In the present embodiment, an example (FIG. 2 (c)) in which the logic level "0" part of the reception clock S2 is missing is explained. However, the logic level "1" is missing in the reception clock S2. Obviously, the present embodiment can similarly detect an abnormality in the disconnection of the reception clock S2.
Further, it goes without saying that the accuracy of abnormality detection is improved by increasing the repetition frequency of the sampling signal S3. Further, this clock monitoring circuit can change the transmission conditions of the cycle t, the cycle T, and the count result signals S7, S8, and S9, and has great freedom in determining the reception clock abnormality including the determination speed and the determination sensitivity. You can have a degree.

【0025】[0025]

【発明の効果】以上説明したように本発明は、繰り返し
周波数が受信クロックの2倍以上であるサンプリング信
号を用いて監視周期t時間中における上記受信クロック
の論理レベル“1”,論理レベル“0”の占有時間およ
び上記受信クロックの立ち上り回数を計数し、これら計
数結果の論理処理により、上記受信クロックの異常(受
信クロックの断状態、欠落状態、余剰状態)を検出する
ので、上記受信クロックの監視が容易にしかも正確にで
きるという特徴を持っている。
As described above, according to the present invention, the logical level "1" and the logical level "0" of the reception clock during the monitoring period t are used by using the sampling signal whose repetition frequency is twice or more of the reception clock. The occupied time of "" and the number of rises of the reception clock are counted, and the abnormality of the reception clock (reception state of the reception clock, missing state, surplus state) is detected by logical processing of these counting results. It has the feature that it can be monitored easily and accurately.

【0026】また、本発明は、上記監視周期tおよび上
記受信クロックの異常判定周期Tおよび上記計数結果を
可変できるので、判定速度および判定感度を含む受信ク
ロック異常の判定条件に大きな自由度のある監視回路を
提供できる効果がある。
Further, according to the present invention, since the monitoring period t, the abnormality determination period T of the reception clock, and the counting result can be varied, there is a large degree of freedom in the determination condition of the reception clock abnormality including the determination speed and the determination sensitivity. This has the effect of providing a monitoring circuit.

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】本実施例における受信クロックS2およびサン
プリング信号S3のタイミングチャートであり、(a)
は正常な受信クロックS2,(b)は(a)にサンプリ
ング信号S3を重畳した図、(c)は論理レベル“0”
の欠落状態にある受信クロックS2にサンプリング信号
S3を重畳した図、(d)余剰状態にある受信クロック
S2を示している。
FIG. 2 is a timing chart of a reception clock S2 and a sampling signal S3 in the present embodiment, (a)
Shows a normal reception clock S2, (b) shows a sampling signal S3 superimposed on (a), and (c) shows a logic level "0".
The sampling signal S3 is superimposed on the reception clock S2 in the missing state, and (d) shows the reception clock S2 in the surplus state.

【図3】従来の監視回路のブロック図である。FIG. 3 is a block diagram of a conventional monitoring circuit.

【図4】従来の監視回路の動作を説明するタイミングチ
ャートである。
FIG. 4 is a timing chart explaining the operation of a conventional monitoring circuit.

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

101 受信回路 102 サンプリング信号発生回路 103 監視周期信号発生回路 104 第一の計数回路 105 反転回路 106 第二の計数回路 107 立ち上り回数計数回路 108 判定回路 101 Reception Circuit 102 Sampling Signal Generation Circuit 103 Monitoring Period Signal Generation Circuit 104 First Counting Circuit 105 Inversion Circuit 106 Second Counting Circuit 107 Rising Time Counting Circuit 108 Judgment Circuit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 供給されるクロックが正常であるかどう
かを監視するクロック監視回路であって、 繰り返し周波数が前記クロックの繰り返し周波数の2倍
以上のサンプリング信号を発生するサンプリング信号発
生回路と、周期tの監視周期信号と前記周期tのn(n
は1以上の整数)倍の周期Tを有する判定周期信号とを
前記サンプリング信号に同期して生じる監視周期信号発
生回路と、前記周期t時間中において前記クロックの第
一の論理レベルが占める時間を前記サンプリング信号に
よるサンプリングによって計数しこの計数結果が予め定
めた第一の値を超えると第一の計数結果信号を生じる第
一の計数回路と、前記周期t時間中において前記クロッ
クの第二の論理レベルが占める時間を前記サンプリング
信号によるサンプリングによって計数しこの計数結果が
予め定めた第二の値を超えると第二の計数結果信号を生
じる第二の計数回路と、前記周期t時間中において前記
クロックの第二の論理レベルから第一の論理レベルへ変
化する立ち上り点を計数しこの計数結果が予め定めた第
三の値を超えると第三の計数結果信号を出力する立ち上
り回数計数回路と、前記第一の計数結果信号,前記第二
の計数結果信号および前記第三の計数結果信号のいずれ
かが生じると前記クロックを異常と判定する判定結果信
号を生じる判定回路とを備えることを特徴とするクロッ
ク監視装置。
1. A clock monitoring circuit for monitoring whether or not a supplied clock is normal, the sampling signal generating circuit generating a sampling signal having a repetition frequency of at least twice the repetition frequency of the clock, and a cycle. t monitoring period signal and n (n
Is a whole number greater than or equal to 1) and a determination period signal having a period T that is a multiple of the period, and a monitoring period signal generating circuit that generates the period signal in synchronization with the sampling signal, A first counting circuit which counts by sampling with the sampling signal and produces a first counting result signal when the counting result exceeds a predetermined first value; and a second logic of the clock during the period t. A second counting circuit that counts the time occupied by the level by sampling with the sampling signal and generates a second counting result signal when the counting result exceeds a predetermined second value; and the clock during the period t. When the rising point at which the second logic level of changes to the first logic level is counted and the counting result exceeds a predetermined third value, A rising frequency counting circuit that outputs a third counting result signal, and if any of the first counting result signal, the second counting result signal, and the third counting result signal occurs, the clock is determined to be abnormal. A clock monitoring device, comprising: a determination circuit that generates a determination result signal.
【請求項2】 前記判定回路が、前記周期tを計数単位
とするとともに前記nを2以上とする前記周期T時間中
において前記異常が連続発生するかまたは複数回発生す
ると前記判定結果信号を生じることを特徴とする請求項
1記載のクロック監視回路。
2. The determination circuit generates the determination result signal when the abnormality occurs continuously or a plurality of times during the period T time in which the period t is a count unit and n is 2 or more. The clock monitoring circuit according to claim 1, wherein:
【請求項3】 供給されるクロックが正常であるかどう
かを監視するクロック監視回路であって、 繰り返し周波数が前記クロックの繰り返し周波数の2倍
以上のサンプリング信号を発生するサンプリング信号発
生回路と、周期tの監視周期信号と前記周期tのn(n
は1以上の整数)倍の周期Tを有する判定周期信号とを
前記サンプリング信号に同期して生じる監視周期信号発
生回路と、前記周期t時間中において前記クロックの論
理レベル“1”が占める時間を前記サンプリング信号に
よるサンプリングによって計数しこの計数結果が予め定
めた第一の値を超えると第一の計数結果信号を生じる第
一の計数回路と、前記クロックの極性を反転させて反転
クロックを生じる反転回路と、前記周期t時間中におい
て前記反転クロックの論理レベル“1”が占める時間を
前記サンプリング信号によるサンプリングによって計数
しこの計数結果が予め定めた第二の値を超えると第二の
計数結果信号を生じる第二の計数回路と、前記周期t時
間中において前記クロックの論理レベル“0”から論理
レベル“1”へ変化する立ち上り点を計数しこの計数結
果が予め定めた第三の値を超えると第三の計数結果信号
を生じる立ち上り回数計数回路と、前記第一の計数結果
信号,前記第二の計数結果信号および前記第三の計数結
果信号の論理和をとる論理和回路と、前記周期tを計数
単位とするとともに前記nを2以上とする前記周期T時
間中において前記論理和の論理和レベル“1”が連続発
生するかまたは複数回発生すると前記クロックを異常と
判定する判定結果信号を生じる判定回路とを備えること
を特徴とするクロック監視装置。
3. A clock monitoring circuit for monitoring whether or not a supplied clock is normal, the sampling signal generating circuit generating a sampling signal having a repetition frequency of at least twice the repetition frequency of the clock, and a cycle. t monitoring period signal and n (n
Is a whole number greater than or equal to 1) and a monitoring period signal generating circuit that generates a determination period signal having a period T that is a multiple of the period T, and a period occupied by the logic level "1" of the clock during the period t. A first counting circuit that counts by sampling with the sampling signal and that generates a first count result signal when the count result exceeds a predetermined first value; and an inversion that inverts the polarity of the clock to generate an inverted clock. The circuit and the time occupied by the logic level "1" of the inversion clock during the period t are counted by sampling by the sampling signal, and when the counting result exceeds a predetermined second value, the second counting result signal Generating a second counting circuit, and changing the logic level "0" of the clock from the logic level "1" during the period t. A rising number counting circuit that counts the number of rising points and generates a third counting result signal when this counting result exceeds a predetermined third value, the first counting result signal, the second counting result signal, and A logical sum circuit for calculating the logical sum of the third count result signal, and a logical sum level "1" of the logical sum during the cycle T time in which the cycle t is a counting unit and n is 2 or more. A clock monitoring device, comprising: a determination circuit that generates a determination result signal for determining that the clock is abnormal when the clock is continuously generated or a plurality of times.
JP5213283A 1993-08-30 1993-08-30 Clock monitoring circuit Expired - Fee Related JP2531446B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5213283A JP2531446B2 (en) 1993-08-30 1993-08-30 Clock monitoring circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5213283A JP2531446B2 (en) 1993-08-30 1993-08-30 Clock monitoring circuit

Publications (2)

Publication Number Publication Date
JPH0766799A true JPH0766799A (en) 1995-03-10
JP2531446B2 JP2531446B2 (en) 1996-09-04

Family

ID=16636550

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5213283A Expired - Fee Related JP2531446B2 (en) 1993-08-30 1993-08-30 Clock monitoring circuit

Country Status (1)

Country Link
JP (1) JP2531446B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100754707B1 (en) * 2001-03-27 2007-09-03 삼성전자주식회사 Clock monitoring apparatus and method in a communication system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100754707B1 (en) * 2001-03-27 2007-09-03 삼성전자주식회사 Clock monitoring apparatus and method in a communication system

Also Published As

Publication number Publication date
JP2531446B2 (en) 1996-09-04

Similar Documents

Publication Publication Date Title
JP2531446B2 (en) Clock monitoring circuit
JP3325851B2 (en) Communication system failure detection device
JP2707778B2 (en) Noise removal circuit
JPH05143480A (en) Monitor circuit for communication equipment
JP3457195B2 (en) Pulse train separation device
JP3077187B2 (en) Pulse repetition interval measurement circuit
JPS59109867A (en) Speed detection system
US5832033A (en) Clock disturbance detection based on ratio of main clock and subclock periods
JPH06326566A (en) Reception device for digital signal
JPS63215139A (en) Detecting system for fault of signal in balanced double-current interchange
JPS6239866B2 (en)
JPS598211Y2 (en) noise detection circuit
KR100212051B1 (en) Apparatus and method for receiving data
JPH07319576A (en) Clock interruption detecting circuit
JP3016280B2 (en) In-device monitoring method
SU789860A1 (en) Time interval meter
SU1672382A1 (en) Phase-angle meter
JP3583334B2 (en) Waveform shaping circuit
JPS61105147A (en) Clock interruption detection circuit
JPH05236026A (en) Digital signal monitor circuit
JPS6235729A (en) Hit analyzer for digital circuit
JPH05145415A (en) Method and device for detecting aliasing
JPS606143B2 (en) Input data state change detection circuit
JPH0591148A (en) Signal interruption detection circuit
JPH0222567A (en) Duty detecting device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19960507

LAPS Cancellation because of no payment of annual fees