JPH0399540A - Synchronizing clock circuit - Google Patents

Synchronizing clock circuit

Info

Publication number
JPH0399540A
JPH0399540A JP1238025A JP23802589A JPH0399540A JP H0399540 A JPH0399540 A JP H0399540A JP 1238025 A JP1238025 A JP 1238025A JP 23802589 A JP23802589 A JP 23802589A JP H0399540 A JPH0399540 A JP H0399540A
Authority
JP
Japan
Prior art keywords
clock pulse
pulse
phase difference
sfr
circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1238025A
Other languages
Japanese (ja)
Inventor
Atsushi Takahashi
淳 高橋
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 JP1238025A priority Critical patent/JPH0399540A/en
Publication of JPH0399540A publication Critical patent/JPH0399540A/en
Pending legal-status Critical Current

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE:To detect the step out, the frequency deviation, the pulse stop, the pulse trouble, or the like between master and slave clock pulses by comparing master and slave clock pulses with each other to detect the phase difference and performing a prescribed processing. CONSTITUTION:In a phase difference detecting means 1, a D-FF circuit 3 from which the master clock pulse is inputted to a terminal CP has the output terminal the inverse of Q directly connected to an input terminal D, and the clock pulse obtained by frequency division of the master clock pulse is outputted from a terminal Q. The output pulse of the terminal Q and the slave clock pulse are inputted to an exclusive OR circuit 4 and are operated, and the operation result is inputted to a shift register SFR 6. An inverter 5 of a phase difference output holding means 2 inverts the master clock pulse to input the negative-logic clock to the SFR 6, and the SFR 6 temporarily holds the output of the circuit 4. The SFR 6 sets all of outputs to code '1' if the slave clock pulse is deviated from the master clock pulse by a 1/2 period or longer, and the SFR 6 sets all of outputs to code '0' if it is deviated by an extent shorter than the 1/2 period, thus detecting the step out.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、多重化通信路による通信回線の同期用クロッ
ク回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a clock circuit for synchronizing communication lines using multiplexed communication channels.

〔従来の技術〕[Conventional technology]

従来、同期用クロック回路は同期用クロックパルスの周
波数、パルス幅2位相ずれなどの障害を検出せず、通信
を実施する相手側から送られて来る同期用クロックパル
スを通信回線から抜き取り直接自分の回路に取込んでい
た。
Conventionally, synchronization clock circuits do not detect failures such as a two-phase shift in the frequency and pulse width of synchronization clock pulses, and extract the synchronization clock pulses sent from the communication partner from the communication line and directly use their own clock pulses. It was incorporated into the circuit.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の同期用クロック回路は通信回線から抜き
取ったクロックパルスをそのまま自分の回路に取込む構
成となっているので、通信回線による影響を受けて障害
になっなりロックパルスを受信したときおよび回路内部
障害で異常が発生したとき重要障害となり、通信システ
ムが麻痺する機会を生し得るという問題点があった。
The conventional synchronization clock circuit described above is configured to take in the clock pulses extracted from the communication line directly into its own circuit, so when a lock pulse is received and a failure occurs due to the influence of the communication line, the circuit There is a problem in that when an abnormality occurs due to an internal failure, it becomes a major failure and the communication system may become paralyzed.

本発明の目的は上記問題点を解決した同期用クロック回
路を提供することにある。
An object of the present invention is to provide a synchronization clock circuit that solves the above problems.

〔課題を解決するための手段〕[Means to solve the problem]

本発明による同期用クロック回路は、主クロックパルス
および従属クロックパルスを入力して相互の位相差を検
出出力、する位相差検出手段と、この位相差検出手段の
出力を一時保留する位相差出力保持手段と有する。
The synchronization clock circuit according to the present invention includes a phase difference detection means for inputting a main clock pulse and a slave clock pulse, detecting and outputting a mutual phase difference, and a phase difference output holding means for temporarily suspending the output of the phase difference detection means. means and have.

〔作用〕[Effect]

上記手段を有する同期用クロック回路は、送出する主ク
ロックパルスと従属クロックパルスとを前記位相差検出
手段に入力し所定の位相差情報を前記位相差出力保持手
段へ出力するとき、位相差出力保持手段の保持情報を取
出し所定の処理をすることにより、主クロックパルスと
従属クロックパルスとの同期はずれ、周波数ずれ、パル
ス停止、パルス幅障害が検出できる。
The synchronization clock circuit having the above means maintains the phase difference output when inputting the main clock pulse and the slave clock pulse to be sent to the phase difference detection means and outputting predetermined phase difference information to the phase difference output holding means. By extracting the information held by the means and performing predetermined processing, it is possible to detect out-of-synchronization between the main clock pulse and slave clock pulse, frequency shift, pulse stop, and pulse width disturbance.

〔実施例〕〔Example〕

次に、本発明について第1図および第2図を併せ参照し
て説明する。
Next, the present invention will be explained with reference to FIGS. 1 and 2.

第1図は、本発明の主要部の一実施例を示す回路図、ま
た第2図は第1図の主要部における波形の一例を示すタ
イムチャートである。
FIG. 1 is a circuit diagram showing an embodiment of the main part of the present invention, and FIG. 2 is a time chart showing an example of waveforms in the main part of FIG.

第1図は従属クロックパルスを主クロックパルスと比較
して障害を検出するクロックパルス障害検出回路の一例
を示す回路図で、位相差検出手段1および位相差出力保
持手段2を有する。位相差検出手段lはD形フリップ7
0ツブ(以後り−FF)回路3および排他的論理和回路
4を、また位相差出力保持手段2はインバータ(INV
)5および送りレジスタ(SFR)6を、それぞれ有す
る。
FIG. 1 is a circuit diagram showing an example of a clock pulse failure detection circuit that detects a failure by comparing a slave clock pulse with a main clock pulse, and includes a phase difference detection means 1 and a phase difference output holding means 2. The phase difference detection means l is a D-type flip 7
The 0-tub (hereinafter referred to as -FF) circuit 3 and the exclusive OR circuit 4, and the phase difference output holding means 2 are connected to an inverter (INV).
) 5 and a send register (SFR) 6, respectively.

位相差検出手段1では、第2図に示す主クロツウパルス
を端子CPに入力するD−FF回路3が、出力端子Qを
入力端子りに直結し、主クロックパルスを分周した第2
国に示すクロックパルスを端子Qから出力する。端子Q
の出力パルスは従属クロックパルスと同じ周波数である
。排他的論理和回路4は分周された端子Qの出力パルス
と従属クロックパルスとを入力して演算し、演算結果を
送りレジスタ(SFR)6の端子SINに接続する。
In the phase difference detection means 1, a D-FF circuit 3 which inputs the main clock pulse shown in FIG.
A clock pulse indicating the country is output from terminal Q. Terminal Q
The output pulses of are at the same frequency as the slave clock pulses. The exclusive OR circuit 4 inputs the frequency-divided output pulse of the terminal Q and the dependent clock pulse, performs an operation, and connects the operation result to the terminal SIN of the send register (SFR) 6.

位相差出力保持手段2のインバータ(INV)5は主ク
ロックパルスを反転し負論理クロックに形成して送りレ
ジスタ(SFR)6の端子CPに接続する。送りレジス
タ(SFR)6は排他的論理和回路4の出力データをイ
ンバータ(I NV)5の負論理クロックで一時保留す
る。
The inverter (INV) 5 of the phase difference output holding means 2 inverts the main clock pulse, forms it into a negative logic clock, and connects it to the terminal CP of the sending register (SFR) 6. The send register (SFR) 6 temporarily holds the output data of the exclusive OR circuit 4 using the negative logic clock of the inverter (INV) 5.

第2図に示すように、従属クロックパルスが主クロック
パルスに1/2周期以上のずれが生じた場合、送りレジ
スタ(SFR>6はすべての出力を符号1とする。同様
に1/2周期以内のとき、送りレジスタ(SFR)6は
すべての出力を符号0とするので、符号1の出力により
同期ずれを検出できる。
As shown in Figure 2, if the slave clock pulse deviates from the main clock pulse by 1/2 period or more, the send register (SFR>6 sets all outputs to code 1.Similarly, 1/2 period When the difference is within the range, the send register (SFR) 6 sets all outputs to code 0, so that synchronization deviation can be detected by the output of code 1.

送りレジスタ(SFR)6は従属クロックパルスが主ク
ロックパルスに比較し、周波数ずれ・クロックパルス断
・パルス比率不良などを符号0・1または符号1・0の
保留により検出する。
The sending register (SFR) 6 compares the slave clock pulse with the main clock pulse and detects frequency deviation, clock pulse interruption, pulse ratio failure, etc. by holding code 0/1 or code 1/0.

従って、符号O以外の、送りレジスタ(SFR)6での
保留はクロックパルス障害を意味するので、これを検出
できる。
Therefore, a hold in the send register (SFR) 6 other than code O means a clock pulse failure, which can be detected.

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

以上説明したように本発明は、主クロックパルスと従属
クロックパルスとを比較して位相差を検出し所定処理を
することにより、クロックパルスの異常・障害を検出す
るので、クロックパルスによる重要障害を極力防ぐこと
ができる効果がある。
As explained above, the present invention detects abnormalities and failures in clock pulses by comparing the main clock pulse and slave clock pulse, detecting the phase difference, and performing predetermined processing. There are effects that can be prevented as much as possible.

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

第1図は本発明の主要部の一実施例を示す回路図、第2
図は第1図の主要部の波形の一例と示すタイムチャート
である。 1・・・位相差検出手段、3・・・位相差出力保持手段
、3・・・D形フリップフロップ(D−FF)回路、4
・・・排他的論理和回路、5・・・インバータ(INV
)6・・・送りレジスタ(SFR)。
FIG. 1 is a circuit diagram showing an embodiment of the main part of the present invention, and FIG.
The figure is a time chart showing an example of the waveform of the main part of FIG. 1. DESCRIPTION OF SYMBOLS 1... Phase difference detection means, 3... Phase difference output holding means, 3... D-type flip-flop (D-FF) circuit, 4
...Exclusive OR circuit, 5...Inverter (INV
)6... Send register (SFR).

Claims (1)

【特許請求の範囲】[Claims] 多重化通信路による通信回線の同期用クロック回路にお
いて、主クロックパルスおよび従属クロックパルスを入
力して相互間の位相差を検出出力する位相差検出手段と
、この位相差検出手段の出力を一時保留する位相差出力
保持手段とを有することを特徴とする同期用クロック回
路。
In a clock circuit for synchronizing a communication line using a multiplexed communication path, there is a phase difference detection means that inputs a main clock pulse and a slave clock pulse, detects and outputs a mutual phase difference, and temporarily suspends the output of this phase difference detection means. 1. A synchronization clock circuit comprising phase difference output holding means.
JP1238025A 1989-09-12 1989-09-12 Synchronizing clock circuit Pending JPH0399540A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1238025A JPH0399540A (en) 1989-09-12 1989-09-12 Synchronizing clock circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1238025A JPH0399540A (en) 1989-09-12 1989-09-12 Synchronizing clock circuit

Publications (1)

Publication Number Publication Date
JPH0399540A true JPH0399540A (en) 1991-04-24

Family

ID=17024047

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1238025A Pending JPH0399540A (en) 1989-09-12 1989-09-12 Synchronizing clock circuit

Country Status (1)

Country Link
JP (1) JPH0399540A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5796272A (en) * 1995-05-31 1998-08-18 Nec Corporation Frequency deviation detection circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5796272A (en) * 1995-05-31 1998-08-18 Nec Corporation Frequency deviation detection circuit

Similar Documents

Publication Publication Date Title
JP2534788B2 (en) Synchronous multiplexer reframing circuit.
US4329652A (en) Apparatus for synchronization control of a plurality of inverters
EP0319186B1 (en) Synchronization failure detection
JPH0399540A (en) Synchronizing clock circuit
US4975594A (en) Frequency detector circuit
JPS6253539A (en) Frame synchronizing system
KR100373333B1 (en) Error detection apparatus of ATM cell synchronous signal
JP3411197B2 (en) Line termination equipment
JP2680962B2 (en) Frame synchronization circuit
JPH02156743A (en) Frame synchronization protection system
KR100300847B1 (en) Apparatus for monitoring frame synchronization and retiming frame pulse in data link board
JPH11187006A (en) Pcm digital communication equipment
JPH02134939A (en) Input data synchronizing circuit
JPS62213337A (en) Frame synchronizing protection system
JPS6238697A (en) Circuit for selecting trunk line signal
JPS61171246A (en) Detection circuit for out of synchronism
JPH0556033A (en) Frame synchronization circuit
JPH03132124A (en) Bit phase synchronizing circuit
JPH03232333A (en) Alternate signal generating circuit
JPH11168360A (en) Synchronization circuit and synchronization method
JPH06164571A (en) Synchronism detection circuit
JPH0591100A (en) Synchronization system for high speed framing signal
JPH0281526A (en) Synchronization detection circuit
JPH01255334A (en) Non-correlation detecting type synchronizing circuit
JPH01138831A (en) Frame synchronizing circuit