JPH0661988A - Clock riding change circuit - Google Patents

Clock riding change circuit

Info

Publication number
JPH0661988A
JPH0661988A JP4128408A JP12840892A JPH0661988A JP H0661988 A JPH0661988 A JP H0661988A JP 4128408 A JP4128408 A JP 4128408A JP 12840892 A JP12840892 A JP 12840892A JP H0661988 A JPH0661988 A JP H0661988A
Authority
JP
Japan
Prior art keywords
clock
signal
phase
counter
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.)
Granted
Application number
JP4128408A
Other languages
Japanese (ja)
Other versions
JP2985502B2 (en
Inventor
Takamasa Kobayashi
隆征 小林
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 JP4128408A priority Critical patent/JP2985502B2/en
Publication of JPH0661988A publication Critical patent/JPH0661988A/en
Application granted granted Critical
Publication of JP2985502B2 publication Critical patent/JP2985502B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Time-Division Multiplex Systems (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE:To realize a clock riding change circuit which can be used even when an in-device clock and the clock of a transmission path are the same transmitting source. CONSTITUTION:An ES1 inputs an input data signal 101, operates a clock riding change, and outputs an output data signal 110. Counters 2 and 3 respectively frequency-device an in-device clock 102 before the riding change and a clock 103 for riding change use. When the in-device clock 102 is obtained from the generating source different from that of the clock 103 for riding change use, a phase comparator circuit 4 detects a phase difference between both the clocks, controls a phase control oscillator 10, and adjusts the phase of the clock 103 for the riding change use. When the in-device clock 102 is obtained from the same generating source as the clock 103 for riding change use a phase comparator 5 detects the phase difference, outputs a reset signal 109 to the counter 3, and adjusts the phase of the clock 103 for riding change use. A gate 6 inhibits and switches the reset signal 109 by a reset inhibition signal 105.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はディジタル信号を伝送す
る通信装置において用いられるクロック乗せ換え回路に
関し、特に装置内の主信号処理回路のクロック周波数に
対し伝送路のデータ周波数が非常に高い場合における位
相合せ用のクロック乗せ換え回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a clock transfer circuit used in a communication device for transmitting digital signals, and particularly when the data frequency of a transmission line is very high with respect to the clock frequency of a main signal processing circuit in the device. The present invention relates to a clock changing circuit for phase matching.

【0002】[0002]

【従来の技術】現在ディジタル信号を伝送する通信装置
における装置内主信号処理回路は、CMOS ICを使
用するものが主流である。CMOS ICの最大動作周
波数が数10から100MHzであるのに対し伝送路の
周波数は数GHzまでに及んでいる。よって多重化する
前に正確に位相合せを行うため、装置内クロックから伝
送路のクロックに乗せ換えるための回路が必要となる。
2. Description of the Related Art Presently, the mainstream of the main signal processing circuit in a device in a communication device for transmitting digital signals is a CMOS IC. The maximum operating frequency of the CMOS IC is several tens to 100 MHz, while the frequency of the transmission line reaches several GHz. Therefore, in order to perform accurate phase matching before multiplexing, a circuit for changing the clock in the device to the clock of the transmission line is required.

【0003】図3は従来のクロック乗せ換え回路のブロ
ック図、図4は図3のタイミング図である。ここでは一
例として4ビットのエラスティックストア(ES)と、
4ビットのカウンタを用いたクロック乗せ換え回路につ
いて説明する。以下の説明は図4,図5を参照する。装
置内クロック入力端子から入力される装置内クロック信
号102は第1のカウンタ2に入力される。第1のカウ
ンタ2では入力した装置内クロック信号102を分周し
出力信号201,202として、それぞれES1,位相
比較回路4へ出力する。
FIG. 3 is a block diagram of a conventional clock transfer circuit, and FIG. 4 is a timing diagram of FIG. Here, as an example, a 4-bit elastic store (ES)
A clock transfer circuit using a 4-bit counter will be described. The following description refers to FIGS. 4 and 5. The in-device clock signal 102 input from the in-device clock input terminal is input to the first counter 2. The first counter 2 divides the input in-device clock signal 102 and outputs it as output signals 201 and 202 to ES1 and the phase comparison circuit 4, respectively.

【0004】一方伝送路クロックの発生源である位相同
期発信器からの伝送路クロック信号205は、分周器8
により装置内クロック信号102と同一の周波数まで分
周された後、乗せ換え用クロック信号103として第2
のカウンタ3に入力される。第2のカウンタ3では第1
のカウンタ2と同様に入力した乗せ換えクロック信号1
03を分周し出力信号204,203としてそれぞれE
S1,位相比較回路4へ出力する。
On the other hand, the transmission line clock signal 205 from the phase synchronization oscillator, which is the source of the transmission line clock, is divided by the frequency divider 8
The frequency is divided to the same frequency as the in-device clock signal 102 by the
Is input to the counter 3. In the second counter 3, the first
The replacement clock signal 1 input in the same manner as the counter 2 of
03 is divided and E is output signals 204 and 203, respectively.
S1, output to the phase comparison circuit 4.

【0005】ES1ではまず入力した入力データ信号1
01を第1のカウンタ2からのカウント信号201(分
周比の異る201−1,201−2より成っている)に
よる直並列変換回路8にって4本の並列信号に変換し出
力信号206〜209として直並列変換回路11に出力
する。直並列変換回路11では入力した4並列のデータ
信号206〜209を第2のカウンタ3からのカウント
信号204(204−1,204−2より成る)により
時分割多重化し元の直列データの出力データ信号110
に変換して出力する。ES1のビット容量が4ビットで
あることから第1のカウンタ2からのカウント信号20
1と第2のカウンタ3からのカウント信号204の位相
差を通常2クロック分とし入力クロック信号102に対
する乗せ換え用クロック信号103の位相変動範囲を前
後2クロック分許容する事ができるようにする。
In ES1, first input data signal 1
01 is converted into four parallel signals by the serial-parallel conversion circuit 8 by the count signal 201 from the first counter 2 (consisting of 201-1 and 201-2 having different division ratios), and the output signal It outputs to the serial-parallel conversion circuit 11 as 206-209. In the serial-parallel conversion circuit 11, the input 4-parallel data signals 206 to 209 are time-division multiplexed by the count signal 204 (consisting of 204-1 and 204-2) from the second counter 3, and the output data of the original serial data. Signal 110
Converted to and output. Since the bit capacity of ES1 is 4 bits, the count signal 20 from the first counter 2
The phase difference between the count signal 204 from the first counter 3 and the count signal 204 from the second counter 3 is normally set to two clocks, and the phase variation range of the transfer clock signal 103 with respect to the input clock signal 102 can be allowed to be two clocks before and after.

【0006】位相比較回路4の一例として、ここではイ
クスクルシブオアを用いる。第1のカウンタ2からのカ
ウントデータ202(装置内クロック信号102の1/
8クロック)と第2のカウンタ3からのカウントデータ
203(乗せ換え用クロック信号103の1/8クロッ
ク)の比較を行い位相信号104を位相同期発信器13
に出力する。位相信号104はカウントデータ202に
対しカウントデータ203が1/4相ずれ、かつ装置内
クロック信号102及び乗せ換え用クロック信号103
の周波数が一致た場合、装置内クロック102の1/4
のクロック(デューティ50%)信号となり、カウント
データ202とカウントデータ203が同相の場合
“L”レベル,逆相の場合“H”レベルとなる。
As an example of the phase comparison circuit 4, an exclusive OR is used here. Count data 202 from the first counter 2 (1/1 of the internal clock signal 102)
8 clocks) and the count data 203 from the second counter 3 (1/8 clock of the transfer clock signal 103) are compared, and the phase signal 104 is sent to the phase synchronization oscillator 13
Output to. In the phase signal 104, the count data 203 is 1/4 phase shifted from the count data 202, and the in-device clock signal 102 and the transfer clock signal 103
1/4 of the internal clock 102 when the frequencies match
Signal (duty 50%), and becomes "L" level when the count data 202 and the count data 203 have the same phase, and becomes "H" level when they have the opposite phase.

【0007】位相同期発信器13では位相比較回路4か
らの位相信号104を入力し、信号の“L”レベルと
“H”レベルとが50%となるまで出力の伝送路クロッ
ク信号205の周波数を変動させる。以上の動作により
第1のカウンタ102からのカウント信号201と第2
のカウンタ103からのカウント信号204の位相差を
常に2クロック分に保てる。
In the phase locked oscillator 13, the phase signal 104 from the phase comparison circuit 4 is input, and the frequency of the output transmission line clock signal 205 is kept until the "L" level and "H" level of the signal become 50%. Fluctuate. By the above operation, the count signal 201 from the first counter 102 and the second signal
The phase difference of the count signal 204 from the counter 103 can always be kept at 2 clocks.

【0008】[0008]

【発明が解決しようとする課題】上述したように従来例
は装置内クロックと伝送路クロックとが、それぞれ異る
クロック発生源より得られる場合を前提としている。し
かしこれらが同一発生源の場合があり、この場合も装置
内のデータ処理回路が大規模になるにつれ装置内クロッ
クの分配のバッファ,ゲートが膨大になると位相の管理
が困難となり伝送路データ信号に多重する直前にクロッ
クの乗せ換えが必要となる場合が多い。
As described above, the conventional example is premised on the case where the in-device clock and the transmission line clock are obtained from different clock generation sources. However, there are cases where these are the same source, and in this case as well, as the data processing circuit in the device becomes large-scale, and the buffers and gates for distributing the clock in the device become huge, it becomes difficult to manage the phase, and In many cases, it is necessary to change clocks immediately before multiplexing.

【0009】しかし、上述した従来のクロック乗せ換え
回路では、装置内クロック側のカウンタ位相と乗せ換え
クロック側のカウンタの位相を比較しその結果を伝送路
クロック発生用の位相同期発信器にフィードバックし、
位相同期発信器の周波数を制御しているため、各カウン
タはフリーラン状態にしておかなければならず、装置内
クロックと伝送路クロックの発信源が同一の場合には位
相比較が行えず使用出来ないという問題がある。
However, in the above-described conventional clock transfer circuit, the counter phase on the device clock side and the counter phase on the transfer clock side are compared, and the result is fed back to the phase synchronization oscillator for generating the transmission line clock. ,
Since the frequency of the phase-synchronized oscillator is controlled, each counter must be in the free-run state, and if the source of the internal clock and the source of the transmission path clock are the same, phase comparison cannot be performed and it cannot be used. There is a problem that there is no.

【0010】[0010]

【課題を解決するための手段】本発明のクロック乗せ換
え回路は、第1のクロックによるデータ信号を入力し前
記第1のクロックと異る位相の第2のクロックに前記デ
ータを乗せ換えて出力するエラスティックストアと、自
局あるいは伝送路の信号から抽出される前記第1のクロ
ックを入力し第1の出力信号を前記エラスティックスト
アの入力側クロック端子へ出力する第1のカウンタと、
自局のクロック発生源から発生した前記第2のクロック
を入力し第1の出力を前記エラスティックストアの出力
側クロック端子へ出力する第2のカウンタと、前記第1
のカウンタの第2の出力信号と前記第2のカウンタの第
2の出力信号とを入力し前記自局クロック発生源の位相
制御用信号として出力する第1の位相比較回路と、前記
第1のカウンタの前記第1の出力信号と前記第2のカウ
ンタの前記第1の出力信号とを入力する第2の比較回路
と、外部から入力されるリセット禁止信号による前記第
2の位相比較回路の出力信号を禁止し前記第2のカウン
タのリセット信号として出力するゲート回路とを備えて
いる。
According to another aspect of the present invention, there is provided a clock transfer circuit, in which a data signal according to a first clock is input, and the data is transferred onto a second clock having a phase different from that of the first clock and output. Elastic store, and a first counter that inputs the first clock extracted from the signal of its own station or the transmission line and outputs a first output signal to the input side clock terminal of the elastic store,
A second counter which inputs the second clock generated from a clock generation source of its own station and outputs a first output to a clock terminal on the output side of the elastic store;
A first phase comparison circuit for inputting the second output signal of the counter and the second output signal of the second counter and outputting the second output signal as a phase control signal of the local station clock generation source; A second comparison circuit for inputting the first output signal of the counter and the first output signal of the second counter, and an output of the second phase comparison circuit according to a reset inhibit signal input from the outside. And a gate circuit which prohibits the signal and outputs it as a reset signal of the second counter.

【0011】[0011]

【実施例】次に本発明の一実施例を図を参照し説明す
る。図1は本実施例のブロック図、図2は図1のタイミ
ングチャートである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of this embodiment, and FIG. 2 is a timing chart of FIG.

【0012】図1において、装置内クロック信号102
と乗せ換え用クロック信号103は同一の発信源である
が、装置内クロック信号102は分周回路11から第1
のカウンタ間に装置内データ処理回路分配のため多大の
バッファ,ゲート等を介する。一方乗せ換え用クロック
信号103は分周回路11から直接入力する。これは装
置内データを伝送路のデータとして多重する場合伝送路
クロック205と乗せ換え用クロック信号103の位相
管理をするため位相変動のもととなる余計なゲート,バ
ッファ等は通さない必要があるためである。この場合も
装置内クロックと乗せ換えクロックの差は位相のみであ
り周波数は変らない。
In FIG. 1, an internal clock signal 102
And the transfer clock signal 103 are the same source, but the in-device clock signal 102
A large number of buffers, gates, etc. are provided between the counters to distribute the data processing circuit in the device. On the other hand, the transfer clock signal 103 is directly input from the frequency dividing circuit 11. This is because when the data in the device is multiplexed as the data of the transmission line, the transmission line clock 205 and the transfer clock signal 103 are phase-controlled, so that it is necessary to prevent passage of extra gates, buffers, etc. that cause phase fluctuations. This is because. Also in this case, the difference between the in-apparatus clock and the transfer clock is only the phase, and the frequency does not change.

【0013】また、装置内クロック信号102と伝送路
クロック信号205が別の発信源の場合、即ち従来例の
図1と同じ場合はリセット禁止信号105を禁止(ここ
では“H”レベル)にして、装置内クロック信号102
と位相信号104とをそれぞれ点線の通りとすれば、従
来回路と同一の動作を行うことが出来るのでこの部分の
説明は省略する。
When the in-apparatus clock signal 102 and the transmission path clock signal 205 are different sources, that is, the same as in FIG. 1 of the conventional example, the reset prohibition signal 105 is prohibited (here, "H" level). , Device clock signal 102
If the phase signal 104 and the phase signal 104 are respectively indicated by dotted lines, the same operation as the conventional circuit can be performed, and thus the description of this part will be omitted.

【0014】以下に装置内クロック信号102と乗せ換
え用クロック信号103が同一の発信源の場合について
説明を述べる。図2においてリセット禁止信号105は
常時“L”レベルを入力し、ゲート6は第2の位相比較
回路5からのリセット信号109は有効状態とする。ま
た第1の位相比較回路4の出力信号104は使用しな
い。以下の説明は図1,図2を参照する。
The case where the in-device clock signal 102 and the transfer clock signal 103 are the same source will be described below. In FIG. 2, the reset prohibition signal 105 always inputs the “L” level, and the gate 6 makes the reset signal 109 from the second phase comparison circuit 5 valid. The output signal 104 of the first phase comparison circuit 4 is not used. The following description refers to FIGS.

【0015】第2の位相比較回路5では第1のカウンタ
2からのカウント信号201−2及び第2のカウンタ3
からのカウント信号204−2とを入力し、カウント信
号201−2,204−2(双方とも“0”から“3”
をカウント)のカウント値“2”を検出する。双方のカ
ウント値“2”が一致した場合“L”パルスをリセット
信号109として出力し、第2のカウンタ3のカウント
を即リセットしカウント値204−2を“0”にする。
以上の動作により第1のカウンタ2からのカウント信号
201に対する第2のカウンタ3からのカウント信号2
04の位相差を常に前後1クロック分以内に保てる。
In the second phase comparison circuit 5, the count signal 201-2 from the first counter 2 and the second counter 3
And count signals 201-2 and 204-2 (both "0" to "3") are input.
Count value “2” is detected. When both count values “2” match, an “L” pulse is output as the reset signal 109, the count of the second counter 3 is immediately reset, and the count value 204-2 is set to “0”.
By the above operation, the count signal 2 from the second counter 3 with respect to the count signal 201 from the first counter 2
The phase difference of 04 can always be kept within one clock before and after.

【0016】[0016]

【発明の効果】以上説明したように本発明はクロック乗
せ換え回路は、装置内クロックと伝送路クロックとが別
の発信源、あるいは同一の発信源のいずれでも使用する
ことができる効果がある。
As described above, the present invention has the effect that the clock hand-over circuit can be used with either the internal clock source and the transmission line clock source which are different from each other or the same source source.

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

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

【図2】図1のタイミングチャートである。FIG. 2 is a timing chart of FIG.

【図3】従来例のブロック図である。FIG. 3 is a block diagram of a conventional example.

【図4】図3のタイミングチャートである。FIG. 4 is a timing chart of FIG.

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

1 ES 2 第1のカウンタ 3 第2のカウンタ 4 第1の位相比較回路 5 第2の位相比較回路 6 ゲート 7 クロック乗せ換え回路 8 直並列変換回路 9 並直接変換回路 10 発信器 11 分周回路 101 入力データ信号 102 装置内クロック信号 103 乗せ換え用クロック信号 104 位相信号 105 リセット禁止信号 106,107,201,202,203,204
カウント信号 205 伝送路クロック信号
1 ES 2 1st counter 3 2nd counter 4 1st phase comparison circuit 5 2nd phase comparison circuit 6 Gate 7 Clock transfer circuit 8 Serial / parallel conversion circuit 9 Parallel / direct conversion circuit 10 Oscillator 11 Dividing circuit 101 input data signal 102 in-apparatus clock signal 103 transfer clock signal 104 phase signal 105 reset prohibition signal 106, 107, 201, 202, 203, 204
Count signal 205 Transmission line clock signal

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 第1のクロックによるデータ信号を入力
し前記第1のクロックと異る位相の第2のクロックに前
記データを乗せ換えて出力するエラスティックストア
と、自局あるいは伝送路の信号から抽出される前記第1
のクロックを入力し第1の出力信号を前記エラスティッ
クストアの入力側クロック端子へ出力する第1のカウン
タと、自局のクロック発生源から発生した前記第2のク
ロックを入力し第1の出力を前記エラスティックストア
の出力側クロック端子へ出力する第2のカウンタと、前
記第1のカウンタの第2の出力信号と前記第2のカウン
タの第2の出力信号とを入力し前記自局クロック発生源
の位相制御用信号として出力する第1の位相比較回路
と、前記第1のカウンタの前記第1の出力信号と前記第
2のカウンタの前記第1の出力信号とを入力する第2の
比較回路と、外部から入力されるリセット禁止信号によ
る前記第2の位相比較回路の出力信号を禁止し前記第2
のカウンタのリセット信号として出力するゲート回路と
を備えることを特徴とするクロック乗せ換え回路。
1. An elastic store for inputting a data signal according to a first clock and transposing and outputting the data for a second clock having a phase different from that of the first clock, and a signal of its own station or a transmission line. The first extracted from
The first counter which inputs the clock of 1st and outputs the first output signal to the clock terminal of the input side of the elastic store, and the second clock which is generated from the clock generation source of its own station, and the first output To the output side clock terminal of the elastic store, the second output signal of the first counter and the second output signal of the second counter are input, and the local clock is input. A first phase comparison circuit that outputs a signal for controlling the phase of a generation source, and a second phase input circuit that inputs the first output signal of the first counter and the first output signal of the second counter. The output signal of the second phase comparison circuit by the comparison circuit and the reset prohibition signal input from the outside is prohibited, and the second phase comparison circuit is prohibited.
And a gate circuit for outputting as a reset signal of the counter.
JP4128408A 1992-05-21 1992-05-21 Clock transfer circuit Expired - Fee Related JP2985502B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4128408A JP2985502B2 (en) 1992-05-21 1992-05-21 Clock transfer circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4128408A JP2985502B2 (en) 1992-05-21 1992-05-21 Clock transfer circuit

Publications (2)

Publication Number Publication Date
JPH0661988A true JPH0661988A (en) 1994-03-04
JP2985502B2 JP2985502B2 (en) 1999-12-06

Family

ID=14984046

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4128408A Expired - Fee Related JP2985502B2 (en) 1992-05-21 1992-05-21 Clock transfer circuit

Country Status (1)

Country Link
JP (1) JP2985502B2 (en)

Also Published As

Publication number Publication date
JP2985502B2 (en) 1999-12-06

Similar Documents

Publication Publication Date Title
US5572557A (en) Semiconductor integrated circuit device including PLL circuit
US4847516A (en) System for feeding clock signals
US6570454B2 (en) Multiple input phase lock loop with hitless reference switching
US6628679B1 (en) SERDES (serializer/deserializer) time domain multiplexing/demultiplexing technique
US8321717B2 (en) Dynamic frequency adjustment for interoperability of differential clock recovery methods
JPH0752374B2 (en) Automatic calibration type clock synchronizer
MXPA04004404A (en) Multiple dataport clock synchronization.
KR100195855B1 (en) Clock synchronization scheme for fractional multiplication systems
US7180343B2 (en) Apparatus for synchronizing clock using source synchronous clock in optical transmission system
US6477657B1 (en) Circuit for I/O clock generation
US6677786B2 (en) Multi-service processor clocking system
JPH0856154A (en) Transmission equipment
JPH0661988A (en) Clock riding change circuit
JPH0748725B2 (en) Frame synchronization circuit
KR20010029434A (en) Time-walking prevention in a digital switching implementation for clock selection
CN101874380A (en) Transmission method and transmission apparatus
JPH05252151A (en) Codec
US20040071168A1 (en) System and method for providing network timing recovery
US6717997B1 (en) Apparatus and method for current demand distribution in electronic systems
NL9001602A (en) Encryption device.
JP2001244923A (en) Clock generating circuit
JP3219651B2 (en) Bit phase synchronization circuit and bit phase synchronization device
KR100377505B1 (en) Jitter control circuit
US7269093B2 (en) Generating a sampling clock signal in a communication block of a memory device
JPH11298460A (en) Clock changeover 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: 19990831

LAPS Cancellation because of no payment of annual fees