JP2604644B2 - External master clock abnormality detection circuit of clock device - Google Patents
External master clock abnormality detection circuit of clock deviceInfo
- Publication number
- JP2604644B2 JP2604644B2 JP2408569A JP40856990A JP2604644B2 JP 2604644 B2 JP2604644 B2 JP 2604644B2 JP 2408569 A JP2408569 A JP 2408569A JP 40856990 A JP40856990 A JP 40856990A JP 2604644 B2 JP2604644 B2 JP 2604644B2
- Authority
- JP
- Japan
- Prior art keywords
- clock
- external master
- master clock
- internal system
- output
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Synchronisation In Digital Transmission Systems (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、たとえばディジタル構
内交換機等のシステムに使用されるクロック装置の外部
マスタークロック異常検出回路に関し、更に詳述すれ
ば、外部マスタークロックに従属同期して内部システム
クロックを発生するクロック装置の外部マスタークロッ
ク異常検出回路に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an external master clock abnormality detecting circuit of a clock device used in a system such as a digital private branch exchange, and more particularly, to an internal system clock synchronized with an external master clock. The present invention relates to an external master clock abnormality detection circuit of a clock device that generates an error.
【0002】[0002]
【従来の技術】図15は従来の一般的な従属同期方式のク
ロック装置の構成を示すブロック図である。クロック装
置1には外部マスタークロックEMC が入力されている。
外部マスタークロックEMC はPLO(Phase-Locked Oscilla
tor)回路2に内蔵されているVCXO( 電圧制御水晶発振
器)3に与えられており、VCXO3は外部マスタークロック
EMC に基づいて内部システムクロックISC を発生する。
この内部システムクロックISC は、たとえばディジタル
構内交換機等のシステムに内部クロックとして供給され
る。2. Description of the Related Art FIG. 15 is a block diagram showing the configuration of a conventional general slave clock system. An external master clock EMC is input to the clock device 1.
External master clock EMC is PLO (Phase-Locked Oscilla
tor) circuit 2 is provided to a VCXO (voltage controlled crystal oscillator) 3 built in the circuit 2, and the VCXO 3 is an external master clock.
Generate internal system clock ISC based on EMC.
This internal system clock ISC is supplied as an internal clock to a system such as a digital private branch exchange.
【0003】[0003]
【発明が解決しようとする課題】このような従来のクロ
ック装置1では、外部マスタークロックEMC がVCXO3の
周波数追従範囲を越えたような場合には、外部マスター
クロックEMC と内部システムクロックISC とは非同期状
態になる。また、外部マスタークロックEMC がVCXO3の
追従範囲内である場合においても、外部マスタークロッ
クEMC のクロック装置1までの分配路を取り巻く環境の
変化あるいは伝送装置の故障等の理由により、位相変動
あるいはクロック瞬断が発生する可能性がある。In such a conventional clock device 1, when the external master clock EMC exceeds the frequency tracking range of the VCXO 3, the external master clock EMC and the internal system clock ISC are asynchronous. State. Further, even when the external master clock EMC is within the tracking range of the VCXO 3, the phase fluctuation or clock instantaneous change may occur due to a change in the environment surrounding the distribution path of the external master clock EMC to the clock device 1 or a failure in the transmission device. Disconnection can occur.
【0004】このような外部マスタークロックEMC の異
常はこれが供給されているシステム、たとえばディジタ
ル構内交換機等の正常動作に支障を来すため、外部マス
タークロックEMC の状態を監視して異常を検出する必要
がある。本発明はこのような事情に鑑みてなされたもの
であり、外部マスタークロックEMC に異常が発生した場
合にそれを迅速に検出してアラームを発生し得るクロッ
ク装置の外部マスタークロック異常検出回路の提供を目
的とする。Since such an abnormality in the external master clock EMC interferes with the normal operation of the system to which the external master clock EMC is supplied, for example, a digital private branch exchange, it is necessary to monitor the state of the external master clock EMC to detect the abnormality. There is. The present invention has been made in view of such circumstances, and provides an external master clock abnormality detection circuit of a clock device that can quickly detect an abnormality in an external master clock EMC and generate an alarm when an abnormality occurs in the external master clock EMC. With the goal.
【0005】[0005]
【課題を解決するための手段】図1は本発明の外部マス
タークロック異常検出回路の原理的構成を示すブロック
図である。FIG. 1 is a block diagram showing the basic configuration of an external master clock abnormality detection circuit according to the present invention.
【0006】図1において、入力クロックである外部マ
スタークロックEMC は PLO回路2及び外部マスタークロ
ック変動検出部4の位相比較器41に与えられている。ま
た PLO回路2の出力クロックである内部システムクロッ
クISC は図示されていないたとえばディジタル構内交換
機等のシステムへ供給されていると共に、外部マスター
クロック変動検出部4の位相比較器41及びフリップフロ
ップ42に与えられている。In FIG. 1, an external master clock EMC as an input clock is supplied to a PLO circuit 2 and an external master clock.
It is provided to the phase comparator 41 of the clock fluctuation detecting section 4. Together with the internal system clock ISC is the output clock of the PLO circuit 2 is supplied to the system such as is not shown for example a digital private branch exchange, external master
It is provided to the phase comparator 41 and the flip-flop 42 of the clock fluctuation detecting section 4.
【0007】外部マスタークロック変動検出部4には上
述の如く位相比較器41とフリップフロップ42とが備えら
れており、位相比較器41は排他的論理和(EXOR)回路が使
用されている。フリップフロップ42のクロック端子CKに
は内部システムクロックISCが、同データ端子Dには位
相比較器41の出力 (EXOR出力) が、またリセット端子R
にはリセット信号RSがそれぞれ入力されている。なお、
フリップフロップ42の出力端子Qからの出力信号はカウ
ント部5に与えられている。The external master clock fluctuation detecting section 4 is provided with the phase comparator 41 and the flip-flop 42 as described above, and the phase comparator 41 uses an exclusive OR (EXOR) circuit. The clock terminal CK of the flip-flop 42 receives the internal system clock ISC, the data terminal D receives the output (EXOR output) of the phase comparator 41, and the reset terminal R
Is supplied with a reset signal RS. In addition,
The output signal from the output terminal Q of the flip-flop 42 is given to the counting section 5.
【0008】カウント部5は上述のフリップフロップ42
の出力端子Qからの出力信号のレベルがローレベルから
ハイレベルへ変化する回数をカウントし、そのカウント
値を回数比較部6へ出力している。なお、カウント部5
にもリセット信号RSが与えられている。The counting section 5 is provided with the flip-flop 42
The number of times that the level of the output signal from the output terminal Q changes from low level to high level is counted, and the count value is output to the number comparison section 6. The counting unit 5
Is also supplied with a reset signal RS.
【0009】回数比較部6は上述のカウント部5のカウ
ント値の出力と、予め設定されている回数設定値SNとが
与えられており、その比較結果をアラーム送出部7へ出
力している。[0009] The number-of-times comparing section 6 is supplied with the output of the count value of the above-mentioned counting section 5 and a preset number-of-times setting value SN, and outputs the comparison result to the alarm sending section 7.
【0010】アラーム送出部7は回数比較部6の比較結
果の出力を入力し、それが一致した場合にアラーム信号
ASを出力する。The alarm sending section 7 receives the output of the comparison result of the number comparing section 6 and outputs an alarm signal when they match.
Output AS.
【0011】[0011]
【作用】図2は上述の図1のブロック図に示されている
本発明の外部マスタークロック異常検出回路の外部マス
タークロックEMC, 内部システムクロックISC, 位相比
較器41の出力信号及びフリップフロップ42の出力端子Q
からの出力信号の波形を示すタイムチャートであり、外
部マスタークロックEMC と内部システムクロックISC と
の同期がとれている状態を示している。FIG. 2 shows the external master clock EMC, the internal system clock ISC, the output signal of the phase comparator 41 and the flip-flop 42 of the external master clock abnormality detecting circuit of the present invention shown in the block diagram of FIG. Output terminal Q
5 is a time chart showing the waveform of an output signal from the external master clock EMC and the internal system clock ISC.
【0012】図2のタイムチャートでは、図2(a)に示さ
れている外部マスタークロックEMC と図2(b)に示されて
いる内部システムクロックISC とは同期がとれた状態で
あり、位相差φは一定に維持されている。In the time chart of FIG. 2, the external master clock EMC shown in FIG. 2A and the internal system clock ISC shown in FIG. 2B are in a synchronized state. The phase difference φ is kept constant.
【0013】内部システムクロックISC はVCXO3の自走
周波数により正常に出力されており、位相比較器41によ
り内部システムクロックISC を基準として外部マスター
クロックEMC との位相差をとると図2(c)に示されている
ように、同期状態においては一定幅の位相進みまたは位
相遅れのみの状態が維持される。従って、フリップフロ
ップ42はクロック端子CKに入力される内部システムクロ
ックISC の立上がりエッジにおける位相比較器41の出力
のレベルをラッチしてその出力端子Qからの出力信号と
するので、図2(d)に示す如く、フリップフロップ42の出
力端子Qからの出力信号は常時ハイレベルを維持する。The internal system clock ISC is normally output due to the free-running frequency of the VCXO3. When the phase difference between the internal system clock ISC and the external master clock EMC is calculated by the phase comparator 41 with reference to the internal system clock ISC, FIG. As shown, in the synchronous state, a state of only a phase advance or a phase delay of a constant width is maintained. Accordingly, the flip-flop 42 latches the level of the output of the phase comparator 41 at the rising edge of the internal system clock ISC input to the clock terminal CK and outputs it as an output signal from the output terminal Q. As shown in (1), the output signal from the output terminal Q of the flip-flop 42 always maintains the high level.
【0014】一方、図3は図2と同様に外部マスターク
ロックEMC, 内部システムクロックISC, 位相比較器41
の出力信号及びフリップフロップ42の出力端子Qからの
出力信号の波形を示すタイムチャートであるが、外部マ
スタークロックEMC と内部システムクロックISC との同
期がとれていない状態を示している。On the other hand, FIG. 3 shows an external master clock EMC, an internal system clock ISC, and a phase comparator 41 as in FIG.
5 is a time chart showing the waveforms of the output signal of the flip-flop 42 and the output signal from the output terminal Q of the flip-flop 42, in which the external master clock EMC and the internal system clock ISC are not synchronized.
【0015】図3のタイムチャートでは、図3(a)に示さ
れている外部マスタークロックEMC と図3(b)に示されて
いる内部システムクロックISC とは同期がとれていない
状態であり、位相差不定になっている。In the time chart of FIG. 3, the external master clock EMC shown in FIG. 3A is not synchronized with the internal system clock ISC shown in FIG. 3B. The phase difference is undefined.
【0016】図2の場合と同様に、位相比較器41により
内部システムクロックISC を基準として外部マスターク
ロックEMC との位相差をとると図3(c)に示されているよ
うに、非同期状態においては位相進みの状態と位相遅れ
の状態とが混在している。従って、フリップフロップ42
の出力端子Qからの出力信号は、図3(d)に示す如く、位
相進みと位相遅れとが交互に発生する場合においてレベ
ル変化を生じる。As in the case of FIG. 2, when the phase difference between the external master clock EMC and the external master clock EMC is determined by the phase comparator 41 with reference to the internal system clock ISC, as shown in FIG. Indicates that the state of phase advance and the state of phase delay are mixed. Therefore, flip-flop 42
As shown in FIG. 3 (d), the output signal from the output terminal Q changes in level when phase advance and phase delay occur alternately.
【0017】このように、本発明の外部マスタークロッ
ク異常検出回路は外部マスタークロックEMC と内部シス
テムクロックISC とが同期していない場合にフリップフ
ロップ42の出力端子Qからの出力信号のレベル変化の回
数をカウントし、それが所定値、たとえばシステムの外
部マスタークロックEMC の異常発生回数の許容値を越え
た場合にアラーム送出部7からアラーム信号ASを発生さ
せる。As described above, the external master clock abnormality detection circuit of the present invention uses the number of times of level change of the output signal from the output terminal Q of the flip-flop 42 when the external master clock EMC and the internal system clock ISC are not synchronized. Is counted, and when it exceeds a predetermined value, for example, the permissible value of the number of abnormal occurrences of the external master clock EMC of the system, an alarm signal AS is generated from the alarm sending section 7.
【0018】[0018]
【実施例】以下、本発明をその実施例を示す図面に基づ
いて詳述する。図4は本発明の外部マスタークロック異
常検出回路の具体的実施例の一構成例を示す回路図であ
る。DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail with reference to the drawings showing the embodiments. FIG. 4 is a circuit diagram showing a configuration example of a specific embodiment of the external master clock abnormality detection circuit of the present invention.
【0019】図4において、入力クロックである外部マ
スタークロックEMC は PLO回路2及び外部マスタークロ
ック変動検出部4の位相比較器41を構成するフリップフ
ロップ(FF)44のクロック端子CKに与えられている。また
PLO回路2の出力クロックである内部システムクロック
ISC は図示されていないたとえばディジタル構内交換機
等のシステムへ供給されていると共に、外部マスターク
ロック変動検出部4の位相比較器41を構成するフリップ
フロップ(FF)43のクロック端子CK及び外部マスタークロ
ック変動検出部4のフリップフロップ(FF)42に与えられ
ている。In FIG. 4, an external master clock EMC which is an input clock is supplied to a PLO circuit 2 and an external master clock.
A clock terminal CK of a flip-flop (FF) 44 constituting the phase comparator 41 of the clock fluctuation detecting section 4 is provided. Also
Internal system clock which is the output clock of PLO circuit 2
The ISC is supplied to a system such as a digital private branch exchange (not shown ),
The clock terminal CK of the flip-flop (FF) 43 constituting the phase comparator 41 of the lock fluctuation detecting section 4 and the external master clock
This is supplied to a flip-flop (FF) 42 of the clock fluctuation detecting unit 4.
【0020】外部マスタークロック変動検出部4には上
述の如く位相比較器41とフリップフロップ42とが備えら
れており、位相比較器41は上述の二つのフリップフロッ
プ43, 44と2入力のEXORゲート45とで構成されている。
これらのフリップフロップ43, 44は内部システムクロッ
クISC 及び外部マスタークロックEMC をそれぞれ1/2分
周してEXORゲート45の両入力へそれぞれ入力している。
EXORゲート45は両入力、即ち両フリップフロップ43, 44
の出力レベルを比較することにより内部システムクロッ
クISC と外部マスタークロックEMC との位相差を検出し
てその結果をフリップフロップ42へ出力している。な
お、両フリップフロップ43, 44のリセット端子Rにはリ
セット信号RSが与えられている。The external master clock fluctuation detecting section 4 is provided with the phase comparator 41 and the flip-flop 42 as described above, and the phase comparator 41 is composed of the two flip-flops 43 and 44 and the two-input EXOR gate. It is composed of 45.
These flip-flops 43 and 44 divide the frequency of the internal system clock ISC and the external master clock EMC by そ れ ぞ れ, and input them to both inputs of the EXOR gate 45.
The EXOR gate 45 has both inputs, that is, both flip-flops 43 and 44.
, The phase difference between the internal system clock ISC and the external master clock EMC is detected, and the result is output to the flip-flop 42. Note that a reset signal RS is supplied to the reset terminals R of the flip-flops 43 and 44.
【0021】フリップフロップ42のクロック端子CKには
内部システムクロックISC が、同データ端子Dには上述
の如く位相比較器41の出力 (EXOR出力) であるEXORゲー
ト45の出力がそれぞれ入力されており、EXORゲート45の
出力信号のレベルを内部システムクロックISC に同期し
てラッチする。またフリップフロップ42のリセット端子
Rにはリセット信号RSが与えられている。なお、フリッ
プフロップ42の出力端子Qからの出力信号はカウント部
5に与えられている。The internal system clock ISC is input to the clock terminal CK of the flip-flop 42, and the output of the EXOR gate 45, which is the output (EXOR output) of the phase comparator 41, is input to the data terminal D as described above. , And latches the level of the output signal of the EXOR gate 45 in synchronization with the internal system clock ISC. Further, a reset signal RS is given to a reset terminal R of the flip-flop 42. The output signal from the output terminal Q of the flip-flop 42 is given to the counting section 5.
【0022】カウント部5は共にQA,QB,QC,QD の4
ビット出力を有する二つのカウンタ51, 52にて構成され
ており、上述のフリップフロップ42の出力端子Qからの
出力信号のローレベルからハイレベルへの変化回数をカ
ウントし、そのカウント値を回数比較部6である8ビッ
ト入力のセレクタ61へ出力している。なお、両カウンタ
51, 52のリセット端子CLR にもそれぞれリセット信号RS
が与えられている。The counting section 5 are both Q A, Q B, the Q C, Q D 4
It is composed of two counters 51 and 52 having bit outputs, counts the number of times the output signal from the output terminal Q of the above-mentioned flip-flop 42 changes from low level to high level, and compares the count values. The signal is output to an 8-bit input selector 61 which is the unit 6. Note that both counters
The reset signal RS is also applied to the 51 and 52 reset terminals CLR.
Is given.
【0023】回数比較部6は具体的にはビット0〜ビッ
ト7までの8ビット入力とビットA〜ビットCまでの3
ビットコード入力とを比較するセレクタ61にて構成され
ている。このセレクタ61のビット0〜ビット7までの8
ビット入力には上述のカウント部5のカウント値の出力
である両カウンタ51, 52の各4ビットの出力が、またビ
ットA〜ビットCまでの3ビットコード入力には3ビッ
ト出力の検出回数設定スイッチ8により予め設定されて
いる回数設定値SNとがそれぞれ入力され、両者を比較し
た結果が一致すると出力端子Wからハイレベル信号をア
ラーム送出部7へ出力する。The number-of-times comparing section 6 is specifically composed of an 8-bit input of bits 0 to 7 and a 3-bit input of bits A to C.
It comprises a selector 61 for comparing with a bit code input. 8 of bits 0 to 7 of the selector 61
The 4-bit output of each of the counters 51 and 52, which is the output of the count value of the above-described counting unit 5, is input to the bit input, and the number of detections of the 3-bit output is set to the 3-bit code input of bits A to C. A preset number of times SN set by the switch 8 is input, and when the comparison results match, a high-level signal is output from the output terminal W to the alarm sending unit 7.
【0024】アラーム送出部7は具体的にはフリップフ
ロップ(FF)71にて構成されており、回数比較部6の比較
結果の出力がフリップフロップ71のセット端子Sへ入力
されている。従って、アラーム送出部7のフリップフロ
ップ71は回数比較部6の出力信号がハイレベルに転じる
と、その出力信号であるアラーム信号ASをハイレベルに
する。またこのアラーム送出部7のフリップフロップ71
のリセット端子Rには前述同様のリセット信号RSが与え
られている。The alarm sending section 7 is specifically composed of a flip-flop (FF) 71, and the output of the comparison result of the number comparing section 6 is input to the set terminal S of the flip-flop 71. Accordingly, when the output signal of the number comparison unit 6 changes to high level, the flip-flop 71 of the alarm transmission unit 7 sets the alarm signal AS, which is the output signal, to high level. The flip-flop 71 of the alarm sending section 7
The reset signal RS similar to that described above is supplied to the reset terminal R of.
【0025】図5は上述の図4のブロック図に示された
本発明の外部マスタークロック異常検出回路の各部の信
号の波形を示すタイムチャートであり、外部マスターク
ロックEMC と内部システムクロックISC との同期がとれ
ている状態を示している。FIG. 5 is a time chart showing the waveforms of the signals at various parts of the external master clock abnormality detection circuit of the present invention shown in the block diagram of FIG. 4 described above, and shows the relationship between the external master clock EMC and the internal system clock ISC. This shows a state in which synchronization is established.
【0026】図5のタイムチャートでは、図5(a)に示さ
れている外部マスタークロックEMC と図5(b)に示されて
いる内部システムクロックISC とは同期がとれた状態で
あり、外部マスタークロックEMC が内部システムクロッ
クISC に対して位相遅れの状態で位相差φが一定に維持
されていている。In the time chart of FIG. 5, the external master clock EMC shown in FIG. 5A and the internal system clock ISC shown in FIG. The phase difference φ is kept constant while the master clock EMC has a phase delay with respect to the internal system clock ISC.
【0027】図5(c)はフリップフロップ44の出力であ
り、図5(a)に示されている外部マスタークロックEMC を
1/2分周した波形になっており、また図5(d)はフリップ
フロップ43の出力であり、図5(b)に示されている内部シ
ステムクロックISC を1/2分周した波形になっている。
従って、EXORゲート45の出力信号は図5(e)に示されてい
るように、両者の位相差に相当するハイレベル信号にな
る。FIG. 5 (c) shows the output of the flip-flop 44, which is supplied with the external master clock EMC shown in FIG. 5 (a).
FIG. 5D shows the output of the flip-flop 43, which is a waveform obtained by dividing the internal system clock ISC shown in FIG. 5B by 1/2. Has become.
Therefore, the output signal of the EXOR gate 45 becomes a high-level signal corresponding to the phase difference between the two, as shown in FIG.
【0028】フリップフロップ42はこのEXORゲート45の
出力信号を内部システムクロックISC の立上がりエッジ
に同期してラッチするので、その出力信号である出力端
子Qからの出力は、図5(f)に示す如く、ローレベルを維
持する。従って、図5(g)及び図5(h)にそれぞれ示されて
いる下位側のカウンタ51のQA 及びQB の出力は共にロ
ーレベル("0") を維持し、この結果、図5(i)に示されて
いるアラーム送出部7のフリップフロップ71の出力信号
であるアラーム信号ASもローレベルを維持する。Since the flip-flop 42 latches the output signal of the EXOR gate 45 in synchronization with the rising edge of the internal system clock ISC, the output signal from the output terminal Q is shown in FIG. 5 (f). Thus, the low level is maintained. Therefore, the outputs of Q A and Q B of the lower counter 51 shown in FIGS. 5 (g) and 5 (h), respectively, both maintain the low level (“0”). The alarm signal AS which is the output signal of the flip-flop 71 of the alarm sending section 7 shown in (i) also maintains the low level.
【0029】一方、図6,図7,図8,図9,図10及び
図11は外部マスタークロックEMC がPLO回路2の周波数
追従範囲を越えて非同期状態になった場合を示すタイム
チャートである。なお、図6,図7,図8,図9,図10
及び図11は PLO回路2の出力クロックである内部システ
ムクロックISC をトリガとしてオシロスコープで観測し
た場合に、 PLO回路2の入力クロックである外部マスタ
ークロックEMC がオシロスコープの画面上で静止せずに
流れた状態を表しており、図6,図7,図8,図9,図
10及び図11それぞれがある瞬間のオシロスコープの画面
上に表示されている波形であり、図番の順に時間軸が推
移している。On the other hand, FIGS. 6, 7, 8, 9, 10 and 11 are time charts showing the case where the external master clock EMC goes out of the frequency tracking range of the PLO circuit 2 and becomes asynchronous. . 6, 7, 8, 9, 10
11 and FIG. 11 show that when an internal system clock ISC which is an output clock of the PLO circuit 2 is used as a trigger and observed by an oscilloscope, an external master clock EMC which is an input clock of the PLO circuit 2 flows without stopping on a screen of the oscilloscope. 6, FIG. 7, FIG. 8, FIG. 9, and FIG.
10 and FIG. 11 are waveforms displayed on the oscilloscope screen at a certain moment, and the time axis changes in the order of the figure numbers.
【0030】図6,図7,図8,図9,図10及び図11の
タイムチャートでは、各図(a) に示されている外部マス
タークロックEMCと各図(b) に示されている内部システ
ムクロックISC とは同期がとれていない状態であり、各
図(c) に示されているEXORゲート45の出力から判るよう
に位相差は不定になっている。このような場合、たとえ
ば図8,図9,図10及び図11に示されているようにEXOR
ゲート45の出力がハイレベルである時点で内部システム
クロックISC がハイレベルに転じる状態が生じ、フリッ
プフロップ42の出力信号のレベルがローレベルからハイ
レベルに変化する。このフリップフロップ42の出力信号
のレベル変化がカウント部5の両カウンタ51, 52によっ
てカウントされ、そのカウント値出力が検出回数設定ス
イッチ8により設定されている値に達するとアラーム送
出部7のフリップフロップがセットされてアラーム信号
ASがハイレベルに転じる。In the time charts of FIGS. 6, 7, 8, 9, 10 and 11, the external master clock EMC shown in each figure (a) and each figure (b) are shown. The state is not synchronized with the internal system clock ISC, and the phase difference is indefinite as can be seen from the output of the EXOR gate 45 shown in FIG. In such a case, for example, as shown in FIG. 8, FIG. 9, FIG. 10 and FIG.
When the output of the gate 45 is at the high level, a state occurs in which the internal system clock ISC changes to the high level, and the level of the output signal of the flip-flop 42 changes from the low level to the high level. The change in the level of the output signal of the flip-flop 42 is counted by both counters 51 and 52 of the counting section 5. Is set to alarm signal
AS turns to high level.
【0031】図12のタイムチャートは図12(a) に示され
ている外部マスタークロックEMC と図12(b) に示されて
いる内部システムクロックISC との同期がとれている状
態ではあるが、入力クロックである外部マスタークロッ
クEMC のジッタあるいはワンダに PLO回路2が追従しき
れずに位相差φが時間的に動揺する場合を示している。The time chart of FIG. 12 shows a state in which the external master clock EMC shown in FIG. 12A is synchronized with the internal system clock ISC shown in FIG. 12B. This shows a case where the PLO circuit 2 cannot completely follow the jitter or wander of the external master clock EMC which is the input clock, and the phase difference φ fluctuates with time.
【0032】この場合にも、図12(e) に示されているEX
ORゲート45の出力信号がハイレベルである期間に図12
(b) に示されている内部システムクロックISC がハイレ
ベルに立上がる状態が生じ、この結果図12(f) に示され
ているフリップフロップ42の出力信号レベルに変化が生
じる。従って、図12(g) 及び(h) に示す如く、カウント
部5の両カウンタ51, 52のカウント値出力が変化し、図
12(i) に示す如く、これが検出回数設定スイッチ8によ
り設定されている回数に達するとアラーム送出部7から
ハイレベルのアラーム信号ASが出力される。In this case as well, the EX shown in FIG.
During the period when the output signal of the OR gate 45 is at the high level, FIG.
The state where the internal system clock ISC rises to the high level shown in FIG. 12B occurs, and as a result, the output signal level of the flip-flop 42 shown in FIG. 12F changes. Therefore, as shown in FIGS. 12 (g) and 12 (h), the output of the count values of both counters 51 and 52 of the counting section 5 changes.
As shown in FIG. 12 (i), when the number reaches the number set by the number-of-times-of-detection setting switch 8, the alarm sending section 7 outputs a high-level alarm signal AS.
【0033】図13のタイムチャートは図13(a) に示され
ている外部マスタークロックEMC と図13(b) に示されて
いる内部システムクロックISC との同期がとれている状
態ではあるが、入力クロックである外部マスタークロッ
クEMC にBPにて示す位置において瞬断が発生した場合を
示している。The time chart of FIG. 13 shows a state in which the external master clock EMC shown in FIG. 13A is synchronized with the internal system clock ISC shown in FIG. 13B. This shows a case where an instantaneous interruption occurs at a position indicated by BP in the external master clock EMC which is an input clock.
【0034】この場合にも、図13(e) に示されているEX
ORゲート45の出力信号がハイレベルである期間に図13
(b) に示されている内部システムクロックISC がハイレ
ベルに立上がる状態が生じ、この結果図13(f) に示され
ているフリップフロップ42の出力信号レベルに変化が生
じる。従って、図13(g) 及び(h) に示す如く、カウント
部5の両カウンタ51, 52のカウント値出力が変化し、こ
れが検出回数設定スイッチ8により設定されている回数
に達すると図13(i) に示す如く、アラーム送出部7から
ハイレベルのアラーム信号ASが出力される。In this case as well, the EX shown in FIG.
During the period when the output signal of the OR gate 45 is at the high level, FIG.
The state where the internal system clock ISC rises to the high level shown in FIG. 13B occurs, and as a result, the output signal level of the flip-flop 42 shown in FIG. 13F changes. Therefore, as shown in FIGS. 13 (g) and (h), the count value output of both counters 51 and 52 of the counting section 5 changes, and when this reaches the number set by the detection number setting switch 8, FIG. As shown in (i), a high-level alarm signal AS is output from the alarm sending section 7.
【0035】図14は上述の如き本発明の外部マスターク
ロック異常検出回路をディジタル構内交換機等のシステ
ム内のクロック装置に組込んだ構成例を示すブロック図
である。FIG. 14 is a block diagram showing a configuration example in which the external master clock abnormality detection circuit of the present invention as described above is incorporated in a clock device in a system such as a digital private branch exchange.
【0036】この構成例では、外部マスタークロックEM
C #0及び#1の2系統が外部のクロック伝送装置70からシ
ステムへ引込まれ、それらはクロック装置50のセレクタ
51へ入力されており、いずれか一方が入力クロックとし
て選択されて PLO回路2及び本発明の外部マスタークロ
ック異常検出回路52へ入力される。また本発明の外部マ
スタークロック異常検出回路52の出力信号であるアラー
ム信号ASはSTR(ステータスレジスタ)53 に保持された上
でプロセッサバス56へ出力される。In this configuration example, the external master clock EM
C # 0 and # 1 are fed into the system from the external clock transmission device 70, and they are connected to the selector of the clock device 50.
One of them is selected as an input clock and input to the PLO circuit 2 and the external master clock abnormality detection circuit 52 of the present invention. The alarm signal AS, which is the output signal of the external master clock abnormality detection circuit 52 of the present invention, is output to the processor bus 56 after being held in the STR (status register) 53.
【0037】またクロック装置50にはCTR(コントロール
レジスタ)54 が備えられており、制御装置57のMPR(マネ
ッジメントプロセッサ)58 からの各種の指示がプロセッ
サバス56を介して与えられる。この CTR54は、本発明の
外部マスタークロック異常検出回路52に対して検出回数
設定スイッチ8による回数設定値SNの設定, リセット信
号RSを与えることによるリセット, セレクタ51を制御す
ることによる2系統の外部マスタークロックEMC の入力
切換え等の制御を行う。The clock device 50 is provided with a CTR (control register) 54, and various instructions from an MPR (management processor) 58 of the control device 57 are given via a processor bus 56. The CTR 54 is provided to the external master clock abnormality detection circuit 52 of the present invention by setting the number setting value SN by the number-of-detection setting switch 8, resetting by giving a reset signal RS, and controlling two external systems by controlling the selector 51. Controls input switching of the master clock EMC, etc.
【0038】なお、 CTR54からのリセット信号RSはパワ
ーオンクリア信号POC と一括してORゲート55 (負論理)
を介して本発明の外部マスタークロック異常検出回路52
に与えられている。パワーオンクリア信号POC は本発明
の外部マスタークロック異常検出回路52が組込まれてい
るクロック装置全体がパワーオンされた場合に本発明の
外部マスタークロック異常検出回路52を初期状態にクリ
アするための信号であり、パワーオンクリア回路60から
送出される。Note that the reset signal RS from the CTR 54 is combined with the power-on-clear signal POC at the same time as the OR gate 55 (negative logic).
External master clock abnormality detection circuit 52 of the present invention
Has been given to. The power-on clear signal POC is a signal for clearing the external master clock abnormality detection circuit 52 of the present invention to an initial state when the entire clock device incorporating the external master clock abnormality detection circuit 52 of the present invention is powered on. And transmitted from the power-on-clear circuit 60.
【0039】いまたとえば、 CTR54の入力切換えビット
に"0" がセットされているとすればセレクタ51は外部マ
スタークロックEMC として2系統の内の#0を選択して P
LO回路2及び本発明の外部マスタークロック異常検出回
路52へ入力する。この場合、内部システムクロックISC
は外部マスタークロックEMC #0に追従する。For example, if "0" is set to the input switching bit of the CTR 54, the selector 51 selects # 0 of the two systems as the external master clock EMC and sets
It is input to the LO circuit 2 and the external master clock abnormality detection circuit 52 of the present invention. In this case, the internal system clock ISC
Follows the external master clock EMC # 0.
【0040】ところで、外部マスタークロックEMC #0に
異常が発生すると、本発明の外部マスタークロック異常
検出回路52は前述の如くそれを検出してアラーム信号AS
を STR53へ出力する。このようにして出力されたアラー
ム信号ASは STR53, プロセッサバス56を介して制御装置
57の MPR58へ入力される。 MPR58はアラーム信号ASが入
力されると、 CTR54の入力切換えビットを"1" に書換え
る。これにより、セレクタ51は2系統の外部マスターク
ロックEMC #1, #2の内の#1を選択してPLO回路2及び本
発明の外部マスタークロック異常検出回路52に与える。When an abnormality occurs in the external master clock EMC # 0, the external master clock abnormality detection circuit 52 of the present invention detects the abnormality as described above and outputs an alarm signal AS
Is output to STR53. The alarm signal AS output in this manner is transmitted to the control device via the STR 53 and the processor bus 56.
57 is input to MPR58. When the alarm signal AS is input, the MPR 58 rewrites the input switching bit of the CTR 54 to "1". As a result, the selector 51 selects the # 1 of the two external master clocks EMC # 1 and # 2 and supplies the selected # 1 to the PLO circuit 2 and the external master clock abnormality detection circuit 52 of the present invention.
【0041】なお、 CTR54のリセットビットは前述の如
く本発明の外部マスタークロック異常検出回路52のリセ
ットに用いられるが、具体的にはたとえば外部マスター
クロックEMC をある一定期間において監視する場合に連
続する3期間それぞれについてアラーム信号ASの有無を
記憶しておき、3期間による多数決にてアラーム信号AS
の有無を判定するなどの手法を採用して本発明の外部マ
スタークロック異常検出回路52を時間的にソフトウェア
制御することも可能である。The reset bit of the CTR 54 is used for resetting the external master clock abnormality detecting circuit 52 of the present invention as described above. More specifically, the reset bit is continuous when the external master clock EMC is monitored for a certain period. The presence or absence of the alarm signal AS is stored for each of the three periods, and the alarm signal AS is determined by a majority decision in the three periods.
It is also possible to temporally perform software control of the external master clock abnormality detection circuit 52 of the present invention by employing a method of determining the presence / absence of the error.
【0042】また CTR54の回数設定ビットは、温度ある
いは電波環境等のシステムを取り巻く環境変化による外
部マスタークロックEMC の種々の変化に対応するために
検出精度を制御するために設けられており、本実施例の
如くソフトウェア制御を採用することにより、人手を介
さずに自動調整が可能になる。The number-of-times setting bit of the CTR 54 is provided for controlling detection accuracy in order to cope with various changes of the external master clock EMC due to environmental changes such as temperature or radio wave environment. By adopting software control as in the example, automatic adjustment can be performed without manual intervention.
【0043】[0043]
【発明の効果】以上に詳述した如く本発明によれば、シ
ステムへ供給される外部マスタークロックの異常を容易
に検出することが可能になり、従属同期方式を採用した
クロック装置を備えたシステムの信頼の向上が図れる。As described in detail above, according to the present invention, it is possible to easily detect an abnormality of an external master clock supplied to the system, and to provide a system having a clock device employing a slave synchronization system. Reliability can be improved.
【図1】本発明の外部マスタークロック異常検出回路の
原理的構成を示すブロック図である。FIG. 1 is a block diagram showing a basic configuration of an external master clock abnormality detection circuit according to the present invention.
【図2】外部マスタークロックと内部システムクロック
との同期がとれている場合の本発明回路の原理的構成の
タイムチャートである。FIG. 2 is a time chart of the basic configuration of the circuit of the present invention when the external master clock and the internal system clock are synchronized.
【図3】外部マスタークロックと内部システムクロック
との同期がとれていない場合の本発明回路の原理的構成
のタイムチャートである。FIG. 3 is a time chart of the basic configuration of the circuit of the present invention when the external master clock and the internal system clock are not synchronized.
【図4】本発明の外部マスタークロック異常検出回路の
具体的実施例の一構成例を示す回路図である。FIG. 4 is a circuit diagram showing a configuration example of a specific embodiment of the external master clock abnormality detection circuit of the present invention.
【図5】外部マスタークロックと内部システムクロック
との同期がとれている場合の本発明回路の実施例のタイ
ムチャートである。FIG. 5 is a time chart of the embodiment of the circuit of the present invention when the external master clock and the internal system clock are synchronized.
【図6】外部マスタークロックと内部システムクロック
との同期がとれていない場合の本発明回路の実施例のタ
イムチャートである。FIG. 6 is a time chart of the embodiment of the circuit of the present invention when the external master clock and the internal system clock are not synchronized.
【図7】外部マスタークロックと内部システムクロック
との同期がとれていない場合の本発明回路の実施例のタ
イムチャートである。FIG. 7 is a time chart of the embodiment of the circuit of the present invention when the external master clock and the internal system clock are not synchronized.
【図8】外部マスタークロックと内部システムクロック
との同期がとれていない場合の本発明回路の実施例のタ
イムチャートである。FIG. 8 is a time chart of the embodiment of the circuit of the present invention when the external master clock and the internal system clock are not synchronized.
【図9】外部マスタークロックと内部システムクロック
との同期がとれていない場合の本発明回路の実施例のタ
イムチャートである。FIG. 9 is a time chart of the embodiment of the circuit of the present invention when the external master clock and the internal system clock are not synchronized.
【図10】外部マスタークロックと内部システムクロッ
クとの同期がとれていない場合の本発明回路の実施例の
タイムチャートである。FIG. 10 is a time chart of the embodiment of the circuit of the present invention when the external master clock and the internal system clock are not synchronized.
【図11】外部マスタークロックと内部システムクロッ
クとの同期がとれていない場合の本発明回路の実施例の
タイムチャートである。FIG. 11 is a time chart of the embodiment of the circuit of the present invention when the external master clock and the internal system clock are not synchronized.
【図12】外部マスタークロックにジッタあるいはワン
ダがある場合の本発明回路の実施例のタイムチャートで
ある。FIG. 12 is a time chart of the embodiment of the circuit of the present invention when the external master clock has jitter or wander.
【図13】外部マスタークロックに瞬断が発生した場合
の本発明回路の実施例のタイムチャートである。FIG. 13 is a time chart of the embodiment of the circuit of the present invention when an instantaneous interruption occurs in the external master clock.
【図14】本発明の外部マスタークロック異常検出回路
をシステム内のクロックに組込んだ構成例を示すブロッ
ク図である。FIG. 14 is a block diagram showing a configuration example in which an external master clock abnormality detection circuit of the present invention is incorporated in a clock in a system.
【図15】従来の一般的な従属同期方式のクロック装置
の構成を示すブロック図である。FIG. 15 is a block diagram showing a configuration of a conventional general slave synchronization type clock device.
1 クロック装置 4 外部マスタークロック変動検出部 5 カウント部 6 回数比較部 7 アラーム送出部 EMC 外部マスタークロック ISC 内部システムクロック AS アラーム信号1 Clock device 4 External master clock fluctuation detecting unit 5 Counting unit 6 Number comparing unit 7 Alarm sending unit EMC External master clock ISC Internal system clock AS Alarm signal
Claims (1)
部システムクロックを発生する従属同期方式のクロック
装置の外部マスタークロック異常検出回路において、 前記外部マスタークロックと前記内部システムクロック
とを位相比較器によって比較し、その位相差出力を内部
システムクロックでフリップフロップにラッチすること
により、内部システムクロックに対する外部マスターク
ロックの変動の発生を検出する外部マスタークロック変
動検出部と、 該外部マスタークロック変動検出部 による検出回数をカ
ウントするカウント部と、 該カウント部によるカウント値を所定値と比較する比較
部と、 該比較部による比較の結果、前記カウント部によるカウ
ント値が前記所定値以上となる場合にアラーム信号を出
力するアラーム送出部と を備えたことを特徴とするクロック装置の外部マスター
クロック異常検出回路。1. A external master clock to the slave synchronization method for generating an internal system clock to slave synchronization clock <br/> instrumentation external master clock abnormality detection circuit of location, the external master clock and the internal system clock
Is compared with the phase comparator, and the phase difference output is
Latch in flip-flop with system clock
External master clock to the internal system clock.
An external master clock change that detects the occurrence of a lock change
Comparison to compare the motion detecting unit, a counting unit for counting the number of times of detection by the external master clock variation detection unit, a predetermined value a count value according to the count unit
And parts, the comparison unit in accordance comparison result, and characterized in that the count value by the counting unit is equipped with an alarm sending unit for <br/> output the No. alarm signal when the said predetermined value or more External clock abnormality detection circuit of the clock device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2408569A JP2604644B2 (en) | 1990-12-28 | 1990-12-28 | External master clock abnormality detection circuit of clock device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2408569A JP2604644B2 (en) | 1990-12-28 | 1990-12-28 | External master clock abnormality detection circuit of clock device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH04233349A JPH04233349A (en) | 1992-08-21 |
| JP2604644B2 true JP2604644B2 (en) | 1997-04-30 |
Family
ID=18518008
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2408569A Expired - Fee Related JP2604644B2 (en) | 1990-12-28 | 1990-12-28 | External master clock abnormality detection circuit of clock device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2604644B2 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6940931B2 (en) | 2000-09-05 | 2005-09-06 | Yamaha Corporation | Clock-synchronism evaluating apparatus and method |
| JP4643551B2 (en) | 2006-12-20 | 2011-03-02 | 富士通株式会社 | Automatic frequency monitoring circuit, electronic device, automatic frequency monitoring method, and automatic frequency monitoring program |
| CN114518528B (en) * | 2020-11-19 | 2025-09-05 | 中移物联网有限公司 | A safety chip fault detection circuit and terminal device |
-
1990
- 1990-12-28 JP JP2408569A patent/JP2604644B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH04233349A (en) | 1992-08-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3808343B2 (en) | PLL circuit | |
| US5642069A (en) | Clock signal loss detection and recovery apparatus in multiple clock signal system | |
| US5828243A (en) | Method for detecting clock failure and switching to backup clock | |
| US10908635B1 (en) | Detection and management of frequency errors in a reference input clock signal | |
| CN110247656B (en) | Damaged clock detection circuit for phase-locked loop | |
| JP3619466B2 (en) | Semiconductor device | |
| US6496554B1 (en) | Phase lock detection circuit for phase-locked loop circuit | |
| EP1237282B1 (en) | Circuit for the detection of clock signal period abnormalities | |
| KR19980087059A (en) | Locking identification circuit for phase lock loop | |
| US5574757A (en) | Phase-locked loop circuit having a timing holdover function | |
| JP2604644B2 (en) | External master clock abnormality detection circuit of clock device | |
| US5235292A (en) | Signal generator having backup oscillator switching circuit | |
| JP2005252447A (en) | Lock detection circuit and method | |
| US6411143B1 (en) | Lock detector for a dual phase locked loop system | |
| KR20080077515A (en) | Phase locking detection method and phase locked loop circuit for performing the same | |
| US5796272A (en) | Frequency deviation detection circuit | |
| KR100221496B1 (en) | Synchronous state monitoring circuit | |
| US7173493B1 (en) | Range controller circuit and method | |
| JP3302513B2 (en) | Abnormality detection method for phase locked loop | |
| KR100291015B1 (en) | Locking State Monitoring Circuit of Phase Synchronous Loop Circuit Using Active Filter | |
| JP3132657B2 (en) | Clock switching circuit | |
| JP3350013B2 (en) | PLL circuit | |
| JP2556258B2 (en) | Drift alarm device for PLL circuit | |
| JP3181457B2 (en) | Redundant clock circuit | |
| JPH06140928A (en) | Drift detection circuit |
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: 19961112 |
|
| LAPS | Cancellation because of no payment of annual fees |