JPH08204553A - Abnormal clock detection circuit - Google Patents

Abnormal clock detection circuit

Info

Publication number
JPH08204553A
JPH08204553A JP7009126A JP912695A JPH08204553A JP H08204553 A JPH08204553 A JP H08204553A JP 7009126 A JP7009126 A JP 7009126A JP 912695 A JP912695 A JP 912695A JP H08204553 A JPH08204553 A JP H08204553A
Authority
JP
Japan
Prior art keywords
signal
output
circuit
input
count
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.)
Withdrawn
Application number
JP7009126A
Other languages
Japanese (ja)
Inventor
Takashi Ono
高史 小野
Minoru Matsuoka
稔 松岡
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 Engineering Ltd
Original Assignee
NEC Engineering 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 NEC Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP7009126A priority Critical patent/JPH08204553A/en
Publication of JPH08204553A publication Critical patent/JPH08204553A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)

Abstract

PURPOSE: To provide an abnormal clock detection circuit capable of detecting the break and the pulse increase of an input clock signal. CONSTITUTION: An input clock signal A is inputted to an up/down counter circuit 4 through an input counter circuit 1 as a count-up signal E and has the phase and the frequency synchronized by a PLO circuit 2, and this synchronized signal C is inputted to the up/down counter circuit 4 through an output counter circuit 3 as a count-down signal F, and an alarm signal is outputted from an alarm circuit 5 based on the counted result. Since the signal is continuously counted down in the case of the break of the clock and is continuously counted up in the case of the increase of clock pulses in this constitution, both of the break of the clock and the increase of clock pulses can be detected.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は異常クロック検出回路に
関し、特にクロック受信回路におけるビット断検出を行
う異常クロック検出回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an abnormal clock detecting circuit, and more particularly to an abnormal clock detecting circuit for detecting a bit break in a clock receiving circuit.

【0002】[0002]

【従来の技術】特願平4−104615号公報に従来の
異常クロック検出回路が開示されている。図3はこの従
来の異常クロック検出回路の構成図である。従来の異常
クロック検出回路は、入力クロック信号のクロック数の
1/n(nは2以上の正の整数)をカウントしつつ入力
位相比較信号として出力する入力カウンタ回路50と、
自己の出力に基づいて形成される出力位相比較信号と入
力位相比較信号を入力しつつ位相比較を行い入力クロッ
ク信号との位相同期および周波数同期を確保したクロッ
ク信号を発生する位相同期発振回路(PLO)51と、
この位相同期発振回路51の出力するクロック信号の1
/nをカウントしつつ出力位相比較信号として出力する
出力カウンタ回路52と、入力クロック信号でカウント
をセットし、出力位相比較信号でカウントをリセットし
た入力クロック信号のカウント数に基づいて入力クロッ
ク信号の断状態を判定し警報信号を出力する警報回路5
3とを備えていた。
2. Description of the Related Art A conventional abnormal clock detecting circuit is disclosed in Japanese Patent Application No. 4-104615. FIG. 3 is a block diagram of this conventional abnormal clock detection circuit. The conventional abnormal clock detection circuit counts 1 / n (n is a positive integer of 2 or more) of the number of clocks of the input clock signal and outputs it as an input phase comparison signal;
A phase-locked oscillator circuit (PLO) that generates a clock signal with phase synchronization and frequency synchronization with the input clock signal by inputting the output phase comparison signal and the input phase comparison signal formed based on its own output ) 51,
One of the clock signals output from the phase-locked oscillator circuit 51
An output counter circuit 52 that counts / n and outputs as an output phase comparison signal, and a count of the input clock signal that is set by the input clock signal and reset by the output phase comparison signal. Alarm circuit 5 that determines the disconnection state and outputs an alarm signal
It was equipped with 3.

【0003】そして、ある周期以上のクロック断が発生
すると警報回路53でカウントされる入力クロック数が
減少することから、このカウントの減少を検出してクロ
ック断の判定を行っていた。
Since the number of input clocks counted by the alarm circuit 53 decreases when a clock loss of a certain period or more occurs, the decrease of the count is detected to determine the clock loss.

【0004】[0004]

【発明が解決しようとする課題】しかし、従来の異常ク
ロック検出回路は、入力クロック信号の完全な断状態を
検出することはできたが、入力クロック信号のパルス増
加状態を検出することはできなかった。
However, although the conventional abnormal clock detection circuit can detect the complete disconnection state of the input clock signal, it cannot detect the pulse increase state of the input clock signal. It was

【0005】そこで本発明の目的は、入力クロック信号
の完全な断状態のみならずパルス増加状態をも検出する
ことが可能な異常クロック検出回路を提供することにあ
る。
SUMMARY OF THE INVENTION An object of the present invention is to provide an abnormal clock detection circuit capable of detecting not only a complete disconnection state of an input clock signal but also a pulse increase state.

【0006】[0006]

【課題を解決するための手段】前記課題を解決するため
に本発明は、入力クロック信号と位相同期および周波数
同期の取れた信号を発生する位相同期発振回路と、前記
入力クロック信号に基づいてカウントアップされ、かつ
前記位相同期発振回路から出力される出力クロック信号
に基づいてカウントダウンされるアップダウンカウンタ
回路と、前記アップダウンカウンタ回路のカウント結果
に基づいて警報信号を発生する警報回路とを含むことを
特徴とする。
In order to solve the above-mentioned problems, the present invention provides a phase-locked oscillating circuit that generates a signal that is phase-locked and frequency-locked with an input clock signal, and counts based on the input clock signal. An up-down counter circuit that counts up based on an output clock signal output from the phase-locked oscillator circuit; and an alarm circuit that generates an alarm signal based on the count result of the up-down counter circuit Is characterized by.

【0007】[0007]

【作用】入力クロック信号が正常な場合は、カウントア
ップ信号とカウントダウン信号とが交互にアップダウン
回路に入力されるため、アップダウンカウンタ回路から
0と−1の数値が交互に出力される。
When the input clock signal is normal, the count-up signal and the count-down signal are alternately input to the up-down circuit, so that the up-down counter circuit alternately outputs the numerical values of 0 and -1.

【0008】一方、入力クロック信号が異常となった場
合はカウントアップ信号は入力クロック信号に従って異
常なカウントを示すが、カウントダウン信号は位相同期
発振回路で制御されているため変化しない。
On the other hand, when the input clock signal becomes abnormal, the count-up signal shows an abnormal count according to the input clock signal, but the count-down signal does not change because it is controlled by the phase-locked oscillator circuit.

【0009】このため、入力クロック信号が断の場合は
アップダウン回路は連続してカウントダウンし、入力ク
ロック信号がパルス増加の場合は連続してカウントアッ
プする。
Therefore, when the input clock signal is disconnected, the up / down circuit continuously counts down, and when the input clock signal has increased pulses, it continuously counts up.

【0010】この連続アップまたはダウンを警報回路で
検出して警報信号を出力する。
An alarm circuit detects this continuous up or down and outputs an alarm signal.

【0011】[0011]

【実施例】以下、本発明の実施例について添付図面を参
照しながら説明する。図1は本発明に係る異常クロック
検出回路の一実施例の構成図である。
Embodiments of the present invention will be described below with reference to the accompanying drawings. FIG. 1 is a configuration diagram of an embodiment of an abnormal clock detection circuit according to the present invention.

【0012】異常クロック検出回路は、入力クロック信
号Aを1/m(mは2以上の正の整数)カウントし、そ
のカウント出力を入力位相比較信号Bとして出力しつ
つ、入力クロック信号Aをk(kは1を含む正の整数)
分周してカウントアップ信号Eとして出力する入力カウ
ンタ回路1と、自己の出力に基づいて形成される出力位
相比較信号Dと入力位相比較信号Bとを入力して位相比
較を行い、その位相比較差分に基づいて入力クロック信
号Aに位相同期および周波数同期の取れた出力クロック
信号Cを発生する位相同期発振回路(以下、PLO回路
という。)2と、出力クロック信号Cを1/n(nは2
以上の正の整数)カウントし、その出力を出力位相比較
信号Dとして出力しつつ、出力クロック信号Cをカウン
トアップ信号Eと同一周波数にj分周(jは1を含む正
の整数)してカウントダウン信号Fとして出力する出力
カウンタ回路3と、カウントアップ信号Eとカウントダ
ウン信号Fとによりカウントアップまたはカウントダウ
ンされるアップダウンカウンタ回路4と、カウントアッ
プまたはカウントダウンのいずれか一方が連続して行わ
れるのを検出して警報信号Gを発生させる警報回路5と
からなる。
The abnormal clock detection circuit counts the input clock signal A by 1 / m (m is a positive integer of 2 or more), outputs the count output as the input phase comparison signal B, and outputs the input clock signal A by k. (K is a positive integer including 1)
The input counter circuit 1 that divides and outputs the count-up signal E, and the output phase comparison signal D and the input phase comparison signal B that are formed based on its own output are input and phase comparison is performed. A phase-locked oscillator circuit (hereinafter referred to as a PLO circuit) 2 that generates an output clock signal C that is phase-locked and frequency-locked with an input clock signal A based on the difference, and 1 / n (where n is the output clock signal C). Two
The above positive integer) is counted, and the output clock signal C is frequency-divided to the same frequency as the count-up signal E by j (j is a positive integer including 1) while outputting the output as the output phase comparison signal D. The output counter circuit 3 which outputs as the countdown signal F, the updown counter circuit 4 which counts up or down by the countup signal E and the countdown signal F, and either one of the countup and the countdown is continuously performed. And an alarm circuit 5 for generating an alarm signal G.

【0013】次に、この異常クロック検出回路の動作に
ついて説明する。
Next, the operation of this abnormal clock detection circuit will be described.

【0014】入力カウンタ回路1は、入力クロック信号
Aを入力してPLO回路2の位相比較基準となる入力ク
ロック信号Aの1/mカウント数である入力比較信号B
に変換し、PLO回路2に出力する。
The input counter circuit 1 receives the input clock signal A and is an input comparison signal B which is the 1 / m count number of the input clock signal A which is the phase comparison reference of the PLO circuit 2.
And output to the PLO circuit 2.

【0015】出力カウンタ回路3は、PLO回路2の出
力する出力クロック信号Cを入力して、入力位相比較信
号Bと同じ周波数になるよう出力クロック信号Cの1/
nカウント数の出力位相比較信号Dに変換し、PLO回
路2に出力する。
The output counter circuit 3 receives the output clock signal C output from the PLO circuit 2 and outputs 1/1 of the output clock signal C so that it has the same frequency as the input phase comparison signal B.
The output phase comparison signal D of n counts is converted and output to the PLO circuit 2.

【0016】PLO回路2は、入力された入力位相比較
信号Bと出力位相比較信号Dの位相を比較し、その位相
比較差分に基づき入力クロック信号Aに位相同期および
周波数同期した出力クロック信号Cを出力する。
The PLO circuit 2 compares the phases of the input phase comparison signal B and the output phase comparison signal D, and outputs the output clock signal C phase-synchronized and frequency-synchronized with the input clock signal A based on the phase comparison difference. Output.

【0017】アップダウンカウンタ回路4は、入力カウ
ンタ回路1から出力されるカウントアップ信号Eと、カ
ウントアップ信号Eと同じ周波数の出力カウンタ回路3
から出力されるカウントダウン信号Fを入力し、カウン
トアップまたはカウントダウンする。また、アップダウ
ンカウンタ回路4は、出力位相比較信号Dを入力してこ
のアップダウンカウンタ回路4をリセットさせる。
The up-down counter circuit 4 has a count-up signal E output from the input counter circuit 1 and an output counter circuit 3 having the same frequency as the count-up signal E.
The countdown signal F output from is input to count up or count down. The up / down counter circuit 4 receives the output phase comparison signal D and resets the up / down counter circuit 4.

【0018】警報回路5は、アップダウンカウンタ回路
4から出力されるカウント信号Hに基づいて入力クロッ
ク信号Aの異常を検出し異常信号Gを出力する。
The alarm circuit 5 detects an abnormality in the input clock signal A based on the count signal H output from the up / down counter circuit 4 and outputs an abnormality signal G.

【0019】図2は異常クロック検出回路の動作を示す
タイミングチャートである。なお、図中A〜Hは前述し
た各信号名に対応している。
FIG. 2 is a timing chart showing the operation of the abnormal clock detection circuit. Note that A to H in the figure correspond to the signal names described above.

【0020】いま、入力クロック信号Aが同図中Aに示
すように正常な場合は、アップダウンカウンタ回路4
は、同図中H(1)に示すように常にアップとダウンを
同一の周波数で繰り返し、カウンタは±1を超えてカウ
ントすることはない。
When the input clock signal A is normal as shown by A in the figure, the up / down counter circuit 4
Indicates that up and down are always repeated at the same frequency as indicated by H (1) in the figure, and the counter does not count beyond ± 1.

【0021】一方、入力クロック信号Aが同図中A´に
示すように異常になると、アップダウンカウンタ回路4
は、同図中H(2)に示すようにアップが連続したり、
ダウンが連続したりしてバランスを崩すことになる。
On the other hand, when the input clock signal A becomes abnormal as indicated by A'in the figure, the up / down counter circuit 4
Is a continuous up as shown in H (2) in the figure,
The down will continue and the balance will be lost.

【0022】いま、入力クロック信号Aのカウント数が
増加した場合、すなわち同図中A´のA(1)のような
クロック信号が発生した場合は、カウントアップ信号E
´のカウント数も増加するため、0と−1と交互にカウ
ントされるべきものが+1,+2とカウントアップされ
る。
When the count number of the input clock signal A increases, that is, when a clock signal such as A (1) of A'in the figure is generated, the count-up signal E is generated.
Since the number of counts of 'increases, the numbers that should be alternately counted as 0 and -1 are counted up as +1 and +2.

【0023】一方、入力クロック信号Aが断となった場
合、すなわち同図中A´のA(2)のようにクロックが
発生しない場合は、カウントダウン信号Fのみによりカ
ウントされるため、−1,−2,−3…とカウントダウ
ンされる。
On the other hand, when the input clock signal A is cut off, that is, when the clock is not generated as in A (2) of A'in the figure, the countdown signal F alone counts -1, The countdown is -2, -3.

【0024】そこで、アップダウンカウンタ回路4のリ
セット信号である出力位相比較信号Dが入力されるまで
にアップダウンカウンタ回路4から±2またはそれ以上
のカウント値が警報回路5に入力された場合は、警報回
路5に異常と判定させ警報信号Gを出力させる。
Therefore, if a count value of ± 2 or more is input from the up / down counter circuit 4 to the alarm circuit 5 before the output phase comparison signal D, which is the reset signal of the up / down counter circuit 4, is input. , The alarm circuit 5 is determined to be abnormal and the alarm signal G is output.

【0025】なお、カウントダウン信号Fの変動は、出
力クロック信号Cの変動に依存するが、通常PLO回路
2の出力クロック信号Cは高精度(周波数変動、位相変
動が小さい)であり、入力クロック信号A´のような信
号が瞬時発生しても出力クロック信号Cはほとんど影響
を受けず、その結果カウントダウン信号Fも維持され
る。
Although the fluctuation of the countdown signal F depends on the fluctuation of the output clock signal C, the output clock signal C of the PLO circuit 2 is usually highly accurate (frequency fluctuation and phase fluctuation are small) and the input clock signal C is small. Even if a signal such as A ′ is generated instantaneously, the output clock signal C is hardly affected, and as a result, the countdown signal F is maintained.

【0026】[0026]

【発明の効果】本発明によれば、入力クロック信号に基
づいて出力されるカウントアップ信号と、この入力クロ
ック信号と位相同期および周波数同期を取ったカウント
ダウン信号とをアップダウンカウンタ回路に入力してカ
ウントさせるよう構成したため、入力クロックパルス断
の場合は連続してカウントダウンさせ、入力クロックパ
ルスが増加の場合は連続してカウントアップさせること
ができる。
According to the present invention, the count-up signal output based on the input clock signal and the count-down signal that is phase-synchronized and frequency-synchronized with the input clock signal are input to the up-down counter circuit. Since it is configured to count, it is possible to continuously count down when the input clock pulse is disconnected and continuously count up when the input clock pulse is increased.

【0027】従って、この連続ダウンまたはアップを検
出することにより、入力クロック信号の断状態のみなら
ずパルス増加状態をも検出することが可能となる。
Therefore, by detecting this continuous down or up, it is possible to detect not only the disconnection state of the input clock signal but also the pulse increase state.

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

【図1】本発明に係る異常クロック検出回路の一実施例
の構成図である。
FIG. 1 is a configuration diagram of an embodiment of an abnormal clock detection circuit according to the present invention.

【図2】同異常クロック検出回路の動作を示すタイミン
グチャートである。
FIG. 2 is a timing chart showing the operation of the abnormal clock detection circuit.

【図3】従来の異常クロック検出回路の構成図である。FIG. 3 is a configuration diagram of a conventional abnormal clock detection circuit.

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

1 入力カウンタ回路 2 位相同期発振回路(PLO) 3 出力カウンタ回路 4 アップダウンカウンタ回路 5 警報回路 1 Input Counter Circuit 2 Phase Synchronous Oscillation Circuit (PLO) 3 Output Counter Circuit 4 Up-Down Counter Circuit 5 Alarm Circuit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 入力クロック信号と位相同期および周波
数同期の取れた信号を発生する位相同期発振回路と、前
記入力クロック信号に基づいてカウントアップされ、か
つ前記位相同期発振回路から出力される出力クロック信
号に基づいてカウントダウンされるアップダウンカウン
タ回路と、前記アップダウンカウンタ回路のカウント結
果に基づいて警報信号を発生する警報回路とを含むこと
を特徴とする異常クロック検出回路。
1. A phase-locked oscillator circuit that generates a signal that is phase-locked and frequency-locked with an input clock signal, and an output clock that is counted up based on the input clock signal and that is output from the phase-locked oscillator circuit. An abnormal clock detection circuit comprising: an up-down counter circuit that counts down based on a signal; and an alarm circuit that generates an alarm signal based on the count result of the up-down counter circuit.
【請求項2】 入力クロック信号を1/m(mは2以上
の正の整数)カウントし、そのカウント出力を入力位相
比較信号として出力しつつ、入力クロック信号をk(k
は1を含む正の整数)分周してカウントアップ信号とし
て出力する入力カウンタ回路と、自己の出力に基づいて
形成される出力位相比較信号と前記入力位相比較信号と
を入力して位相比較を行い、その位相比較差分に基づい
て前記入力クロック信号に位相同期および周波数同期の
取れた出力クロック信号を発生する位相同期発振回路
と、前記出力クロック信号を1/n(nは2以上の正の
整数)カウントし、その出力を前記出力位相比較信号と
して出力しつつ、前記出力クロック信号を前記カウント
アップ信号と同一周波数にj分周(jは1を含む正の整
数)してカウントダウン信号として出力する出力カウン
タ回路と、前記カウントアップ信号と前記カウントダウ
ン信号とによりカウントアップまたはカウントダウンさ
れるアップダウンカウンタ回路と、カウントアップまた
はカウントダウンのいずれか一方が連続して行われるの
を検出して警報信号を発生させる警報回路とを含むこと
を特徴とする請求項1記載の異常クロック検出回路。
2. The input clock signal is counted by 1 / m (m is a positive integer of 2 or more) and the count output is output as an input phase comparison signal while the input clock signal is k (k
Is a positive integer including 1) and an input counter circuit for dividing and outputting as a count-up signal, and an input phase comparison signal formed based on its own output and the input phase comparison signal are input to perform phase comparison. And a phase-locked oscillation circuit that generates an output clock signal that is phase-locked and frequency-locked with the input clock signal based on the phase comparison difference, and 1 / n (n is a positive value of 2 or more) for the output clock signal. Counting) and outputting the output as the output phase comparison signal while dividing the output clock signal by the same frequency as the count-up signal by j (j is a positive integer including 1) and outputting it as a countdown signal. Output counter circuit, and an up / down counter that counts up or down by the count-up signal and the count-down signal. Pointer circuit and abnormal clock detection circuit according to claim 1, characterized in that it comprises a warning circuit which either the count-up or count-down is detected from being performed continuously generates an alarm signal.
【請求項3】 前記出力位相比較信号により前記アップ
ダウンカウンタ回路をリセットさせることを特徴とする
請求項1または2記載の異常クロック検出回路。
3. The abnormal clock detection circuit according to claim 1, wherein the up / down counter circuit is reset by the output phase comparison signal.
JP7009126A 1995-01-24 1995-01-24 Abnormal clock detection circuit Withdrawn JPH08204553A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7009126A JPH08204553A (en) 1995-01-24 1995-01-24 Abnormal clock detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7009126A JPH08204553A (en) 1995-01-24 1995-01-24 Abnormal clock detection circuit

Publications (1)

Publication Number Publication Date
JPH08204553A true JPH08204553A (en) 1996-08-09

Family

ID=11711949

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7009126A Withdrawn JPH08204553A (en) 1995-01-24 1995-01-24 Abnormal clock detection circuit

Country Status (1)

Country Link
JP (1) JPH08204553A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006287736A (en) * 2005-04-01 2006-10-19 Nec Electronics Corp Detection circuit and semiconductor device
DE112011101875T5 (en) 2010-06-03 2013-04-18 Panasonic Corporation Semiconductor device and solid state relay using the same

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006287736A (en) * 2005-04-01 2006-10-19 Nec Electronics Corp Detection circuit and semiconductor device
DE112011101875T5 (en) 2010-06-03 2013-04-18 Panasonic Corporation Semiconductor device and solid state relay using the same

Similar Documents

Publication Publication Date Title
KR100207656B1 (en) Compensation of digital phase locked loop
KR930011444A (en) Phase Locked Loops (PLL)
JPH08204553A (en) Abnormal clock detection circuit
JP2972590B2 (en) Clock switching circuit
JP2531269B2 (en) Sync detection method
JPH11326404A (en) Minute error detecting device for frequency
JPH04306930A (en) Clock anomaly detector
KR100346725B1 (en) Phase locked loop circuit
US6229865B1 (en) Phase difference detection circuit for liquid crystal display
JPH04268841A (en) Mutual synchronization device
JPH0567967A (en) Clock generator
KR100221496B1 (en) Synchronous state monitoring circuit
JPS585614B2 (en) phase synchronized oscillator
JP2556258B2 (en) Drift alarm device for PLL circuit
JPH08331109A (en) Frequency deviation detection circuit
JP2576293B2 (en) Phase monitoring circuit for phase-locked oscillator
JP2748746B2 (en) Phase locked oscillator
JPH01284077A (en) synchronous signal generator
JPS61292567A (en) Speed detector
JPS63234630A (en) Phase locking compensating circuit for phase locked loop
JPH04233349A (en) External master clock abnormality detecting circuit of clock device
JPH05167440A (en) Out-of-sync detection circuit
JPH04310019A (en) Phase locked loop circuit
JPH066211A (en) Reference oscillator and its control method
JPS63124623A (en) Unlock detection circuit for pll frequency synthesizer

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20020402