JPH06303226A - Automatic phase control circuit - Google Patents

Automatic phase control circuit

Info

Publication number
JPH06303226A
JPH06303226A JP5105954A JP10595493A JPH06303226A JP H06303226 A JPH06303226 A JP H06303226A JP 5105954 A JP5105954 A JP 5105954A JP 10595493 A JP10595493 A JP 10595493A JP H06303226 A JPH06303226 A JP H06303226A
Authority
JP
Japan
Prior art keywords
phase
circuit
delay
input
pulse
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
JP5105954A
Other languages
Japanese (ja)
Other versions
JP2524467B2 (en
Inventor
Nagahiko Namikado
長彦 南角
Hironobu Setoguchi
宏暢 瀬戸口
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
NEC Telecom System Ltd
Original Assignee
NEC Corp
NEC Telecom System 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 Corp, NEC Telecom System Ltd filed Critical NEC Corp
Priority to JP5105954A priority Critical patent/JP2524467B2/en
Publication of JPH06303226A publication Critical patent/JPH06303226A/en
Application granted granted Critical
Publication of JP2524467B2 publication Critical patent/JP2524467B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To automatically control the phase of input data and that of an input frame pulse as against an input clock. CONSTITUTION:Delay insertion circuits 4 and 5 giving stepwise micro delay to input data 1 and the input frame pulse 2 are provided. Flip flops 10 and 9 latching a delay frame pulse 7 outputted from the delay insertion circuit 5 by the positive phase and the inverse phase of an input clock 3 and a phase judgement circuit 13 inputting the respective outputs of the flip flops 9 and 10 are provided. An up down counter 14 is operated by an up pulse 20 and a down pulse 21, which the phase judgement circuit 13 outputs, and the delay quantity of the phase delay circuit is controlled by the output counter signal 22.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は入力データと入力クロッ
クおよびデータの先頭を示す入力フレームパルスを有す
るデータ受信回路の自動位相制御回路に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an automatic phase control circuit for a data receiving circuit having input data, an input clock and an input frame pulse indicating the beginning of the data.

【0002】[0002]

【従来の技術】従来のデータ受信回路の一例を図6に示
し説明する。従来のデータ受信回路はこの図6に示すよ
うに、入力データ41と入力クロック43を入力とする
フリップフロップ44と、入力フレームパルス42と入
力クロック43を入力とするフレームカウンタ回路45
を有している。そして、従来、この種のデータ受信回路
では、入力データ41および入力フレームパルス42と
入力クロック43との位相関係は、前段の回路で位相管
理されデータ受信回路に入力される。
2. Description of the Related Art An example of a conventional data receiving circuit will be described with reference to FIG. As shown in FIG. 6, the conventional data receiving circuit includes a flip-flop 44 which receives the input data 41 and the input clock 43, and a frame counter circuit 45 which receives the input frame pulse 42 and the input clock 43.
have. In the conventional data receiving circuit of this type, the phase relationship between the input data 41, the input frame pulse 42, and the input clock 43 is phase-controlled by the circuit at the preceding stage and input to the data receiving circuit.

【0003】[0003]

【発明が解決しようとする課題】この従来のデータ受信
回路では、入力データおよび入力フレームパルスと入力
クロックの位相関係は、安全にラッチできる位相に詳細
に位相設計を行う必要があり、特に高速回路では、位相
差の見積が困難であるという問題があった。本発明はか
かる問題を解決するためになされたもので、入力クロッ
クに対し入力データおよび入力フレームパルスの位相を
自動調節する自動位相制御回路を得ることを目的とす
る。
In this conventional data receiving circuit, the phase relationship between the input data and the input frame pulse and the input clock needs to be designed in detail to a phase that can be safely latched, and particularly in a high speed circuit. Then, there was a problem that it was difficult to estimate the phase difference. The present invention has been made to solve such a problem, and an object thereof is to obtain an automatic phase control circuit that automatically adjusts the phases of input data and an input frame pulse with respect to an input clock.

【0004】[0004]

【課題を解決するための手段】本発明の自動位相制御回
路は、入力データと入力クロックおよびデータの先頭を
示す入力フレームパルスを有するデータ受信回路におい
て、上記入力フレームパルスを段階的に遅延させること
のできる遅延挿入回路と、この遅延挿入回路の出力する
遅延フレームパルスを、上記入力クロックを反転し逆相
でラッチする第1のフリップフロップと、上記入力クロ
ックを入力とする遅延回路で遅延を与え正相でラッチす
る第2のフリップフロップと、上記遅延フレームパルス
と上記入力クロックにより1フレームをカウントするフ
レームカウンタ回路と、このフレームカウンタ回路の出
力する位相判定パルスと上記第1および第2のフリップ
フロップの出力する逆相パルスおよび正相パルスにより
位相判定を行う位相判定回路と、この位相判定回路の出
力により上記遅延挿入回路の遅延量を調節するアップダ
ウンカウンタを備えるものである。
According to the automatic phase control circuit of the present invention, in the data receiving circuit having the input data, the input clock and the input frame pulse indicating the beginning of the data, the input frame pulse is delayed step by step. A delay inserting circuit capable of performing the above delay, a first flip-flop for inverting the input clock and latching the delayed frame pulse output from the delay inserting circuit in the opposite phase, and a delay circuit for inputting the input clock to provide a delay A second flip-flop that latches in a positive phase, a frame counter circuit that counts one frame by the delayed frame pulse and the input clock, a phase determination pulse output by the frame counter circuit, and the first and second flip-flops. The phase judgment is performed by the reverse phase pulse and the positive phase pulse output from the A determination circuit, the output of the phase determining circuit in which includes an up-down counter for adjusting the delay amount of the delay insertion circuit.

【0005】[0005]

【作用】本発明においては、入力クロックの立ち下がり
と立上がりを利用することにより、フレームパルスとの
位相差を検出し、無瞬断で位相差を最適値に制御する。
In the present invention, the fall and rise of the input clock are used to detect the phase difference from the frame pulse and control the phase difference to the optimum value without interruption.

【0006】これについて詳記すれば、遅延フレームパ
ルスを、フレームパルス位置で入力クロックの立上がり
でラッチした結果と、その半クロック前の立ち下がりで
ラッチした結果を位相判定回路で比較し、遅延フレーム
パルスの位相がクロックの立ち下がりおよび立上がりの
エッジに対し、現在どの位相にあるかを判定し、遅延フ
レームパルスと入力クロックの位相によりアップおよび
ダウンの各信号を出力しアップダウンカウンタを動作さ
せる。このカウンタ値を上記遅延挿入回路に入力し、カ
ウント値に応じた遅延を入力データおよび入力フレーム
パルスに与える。この動作を繰返すことにより、常に最
適な位相に入力データおよび入力フレームを調節するこ
とを可能とする。
More specifically, the result of latching the delayed frame pulse at the rising edge of the input clock at the frame pulse position and the result of latching at the falling edge half a clock before that are compared by the phase judgment circuit, and the delayed frame pulse is compared. It is determined which phase the pulse phase is currently at with respect to the falling edge and the rising edge of the clock, and outputs up and down signals according to the phase of the delayed frame pulse and the input clock to operate the up / down counter. This counter value is input to the delay insertion circuit, and a delay corresponding to the count value is given to the input data and the input frame pulse. By repeating this operation, it is possible to always adjust the input data and the input frame to the optimum phase.

【0007】[0007]

【実施例】つぎに本発明について図面を参照して説明す
る。図1は本発明による自動位相制御回路の一実施例を
示すブロック図で、この図1は本発明の一実施例の自動
位相制御回路を有するデータ受信回路の構成図であり、
図2はこの図1における遅延挿入回路の構成例を示すブ
ロック図である。
The present invention will be described below with reference to the drawings. 1 is a block diagram showing an embodiment of an automatic phase control circuit according to the present invention. FIG. 1 is a block diagram of a data receiving circuit having an automatic phase control circuit according to an embodiment of the present invention.
FIG. 2 is a block diagram showing a configuration example of the delay insertion circuit in FIG.

【0008】図1において、4は入力データ1を入力と
し遅延データ6を出力する遅延挿入回路、5はデータの
先頭を示す入力フレームパルス2を段階的に遅延させる
ことのできる遅延挿入回路、8は入力クロック3を入力
とする遅延回路、9は遅延挿入回路5の出力する遅延フ
レームパルス7を、入力クロック3を反転回路15で反
転し逆相でラッチするフリップフロップ、10は遅延回
路8で遅延を与え正相でラッチするフリップフロップ、
11は遅延挿入回路5から出力される遅延フレームパル
ス7と入力クロック3により1フレームをカウントする
フレームカウンタ回路、13はこのフレームカウンタ回
路11の出力する位相判定パルス12とフリップフロッ
プ9および10の出力する逆相パルスおよび正相パルス
により位相判定を行う位相判定回路、14はこの位相判
定回路13の出力により遅延挿入回路4および5の遅延
量を調節するアップダウンカウンタである。
In FIG. 1, reference numeral 4 is a delay insertion circuit for inputting input data 1 and outputting delay data 6, and reference numeral 5 is a delay insertion circuit for gradually delaying an input frame pulse 2 indicating the beginning of data, 8 Is a delay circuit having the input clock 3 as an input, 9 is a flip-flop for inverting the delayed frame pulse 7 output from the delay inserting circuit 5 by the inverting circuit 15 and latching it in reverse phase, and 10 is a delay circuit 8. A flip-flop that gives a delay and latches in positive phase,
Reference numeral 11 is a frame counter circuit that counts one frame by the delayed frame pulse 7 output from the delay insertion circuit 5 and the input clock 3, and 13 is a phase determination pulse 12 output from the frame counter circuit 11 and outputs from the flip-flops 9 and 10. A phase determination circuit for performing a phase determination based on the reverse-phase pulse and the positive-phase pulse.

【0009】つぎにこの図1に示す実施例の動作を説明
する。まず、入力データ1は遅延挿入回路4に入力し遅
延データ6を出力する。入力フレームパルス2はフレー
ムの先頭で1タイムスロット(TS)のLOWパルスの
形式をとり、遅延挿入回路5に入力し遅延フレームパル
ス7を出力する。この遅延フレームパルス7をロード信
号とし、入力クロック3を入力としてフレームカウンタ
回路11に入力し、位相判定パルス12をフレーム毎に
1タイムスロットのHIGHパルスで出力する。この位
相判定パルス12は位相判定回路13に供給される。
Next, the operation of the embodiment shown in FIG. 1 will be described. First, the input data 1 is input to the delay insertion circuit 4 and the delay data 6 is output. The input frame pulse 2 takes the form of a LOW pulse of one time slot (TS) at the beginning of the frame, is input to the delay insertion circuit 5, and outputs the delayed frame pulse 7. The delayed frame pulse 7 is used as a load signal, the input clock 3 is input as an input to the frame counter circuit 11, and the phase determination pulse 12 is output as a HIGH pulse of one time slot for each frame. The phase determination pulse 12 is supplied to the phase determination circuit 13.

【0010】つぎに、入力クロック3を反転回路15で
反転した逆相クロック16と入力クロック3を遅延回路
8により微小に遅延させた正相遅延クロック17によ
り、遅延フレームパルス7をフリップフロップ9および
10によりラッチする。このフリップフロップ9の逆相
ラッチ出力18およびフリップフロップ10の正相ラッ
チ出力19を位相判定回路13に入力し、入力クロック
3に対する入力フレームパルス2の位相関係を判定し、
入力の組合わせによってアップパルス20、ダウンパル
ス21を出力する。このアップパルス20およびダウン
パルス21によりアップダウンカウンタ14を動作させ
カウント信号22を出力する。
Next, the delayed frame pulse 7 is flipped by the flip-flop 9 and the reverse-phase clock 16 obtained by inverting the input clock 3 by the inverting circuit 15 and the positive-phase delayed clock 17 obtained by slightly delaying the input clock 3 by the delay circuit 8. Latch by 10. The negative phase latch output 18 of the flip-flop 9 and the positive phase latch output 19 of the flip-flop 10 are input to the phase determination circuit 13 to determine the phase relationship of the input frame pulse 2 with respect to the input clock 3.
An up pulse 20 and a down pulse 21 are output depending on the combination of inputs. The up pulse 20 and the down pulse 21 operate the up / down counter 14 to output a count signal 22.

【0011】そして、このカウント信号22は遅延挿入
回路4および5に入力され、カウント値に応じて遅延挿
入回路4および5の遅延量を同時に調節する。また、遅
延挿入回路は図2に示すように、カウント信号32によ
って唯一に選択されるセレクタ回路34と微小な遅延を
与える複数の遅延素子33によって構成され、カウント
アップにより遅延量増加、カウントダウンによって遅延
量減少の動作を行い、入力信号31に対する出力遅延信
号35を調節する。
The count signal 22 is input to the delay inserting circuits 4 and 5, and the delay amounts of the delay inserting circuits 4 and 5 are simultaneously adjusted according to the count value. Further, as shown in FIG. 2, the delay insertion circuit is composed of a selector circuit 34 which is only selected by the count signal 32 and a plurality of delay elements 33 which give a minute delay. The delay amount is increased by counting up and delayed by counting down. A quantity reducing operation is performed to adjust the output delay signal 35 with respect to the input signal 31.

【0012】図3,図4および図5は図1の動作説明に
供する信号波形図で、実施例の各場合における信号波形
を示すものである。この図3は位相判定パルス12が立
上がったとき、逆相ラッチ出力18:LOW、正相ラッ
チ出力19:LOWで遅延量減少方向への態様を示した
ものであり、図4は位相判定パルス12が立上がったと
き、逆相ラッチ出力18:HIGH、正相ラッチ出力1
9:LOWで遅延量現状保持の態様を示し、図5は位相
判定パルス12が立上がったとき、逆相ラッチ出力1
8:HIGH、正相ラッチ出力19:HIGHで遅延量
増加方向への態様を示したものである。
FIGS. 3, 4 and 5 are signal waveform diagrams for explaining the operation of FIG. 1 and show signal waveforms in each case of the embodiment. FIG. 3 shows a mode in which the amount of delay is decreased by the negative phase latch output 18: LOW and the positive phase latch output 19: LOW when the phase judgment pulse 12 rises, and FIG. When 12 rises, negative phase latch output 18: HIGH, positive phase latch output 1
9: LOW shows the mode of holding the delay amount as it is. FIG. 5 shows the case where the reverse phase latch output 1 when the phase determination pulse 12 rises.
8: HIGH, positive phase latch output 19: HIGH, showing a mode in the direction of increasing the delay amount.

【0013】そして、実施例での動作は、図3に示すよ
うに入力データ1および入力フレームパルス2が入力ク
ロック3に対して遅延している場合、フリップフロップ
9の出力はLOW、フリップフロップ10の出力はLO
Wとなることから遅延フレームパルス7が入力クロック
3に対して遅れていると判定され、位相判定回路13よ
りダウンパルス21が出力しカウント信号22が1つカ
ウントダウンしそれに応じて、遅延挿入回路4および5
の各遅延量を減少させるように制御が働く。この動作を
繰返し位相関係が図4に示す状態になると、フリップフ
ロップ9の出力はHIGH、フリップフロップ10の出
力はLOWとなり安全領域に入り、遅延量は変化しな
い。また、図5に示すように、入力クロック3が入力デ
ータ1および入力フレームパルス2に対して遅延してい
る場合には遅延量を増加させる方向に制御する。
In the operation of the embodiment, as shown in FIG. 3, when the input data 1 and the input frame pulse 2 are delayed with respect to the input clock 3, the output of the flip-flop 9 is LOW and the output of the flip-flop 10 is Output is LO
Since it becomes W, it is determined that the delayed frame pulse 7 is delayed with respect to the input clock 3, the down pulse 21 is output from the phase determination circuit 13, the count signal 22 is counted down by one, and the delay insertion circuit 4 is accordingly responded. And 5
The control works so as to reduce each delay amount of. When this operation is repeated and the phase relationship becomes the state shown in FIG. 4, the output of the flip-flop 9 becomes HIGH and the output of the flip-flop 10 becomes LOW, which is in the safe area, and the delay amount does not change. Further, as shown in FIG. 5, when the input clock 3 is delayed with respect to the input data 1 and the input frame pulse 2, the delay amount is controlled to increase.

【0014】[0014]

【発明の効果】以上説明したように本発明は、入力クロ
ックの立ち下がりと立上がりを利用することにより、フ
レームパルスとの位相差を検出するようにしたので、無
瞬断で位相を最適値に制御するという効果があり、高速
回路での位相設計を容易にする。
As described above, according to the present invention, the phase difference from the frame pulse is detected by utilizing the falling edge and the rising edge of the input clock, so that the phase can be optimized without interruption. This has the effect of controlling and facilitates phase design in high-speed circuits.

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

【図1】本発明による自動位相制御回路の一実施例を示
すブロック図である。
FIG. 1 is a block diagram showing an embodiment of an automatic phase control circuit according to the present invention.

【図2】図1における遅延挿入回路の構成例を示すブロ
ック図である。
FIG. 2 is a block diagram showing a configuration example of a delay insertion circuit in FIG.

【図3】図1の動作説明に供する信号波形図である。FIG. 3 is a signal waveform diagram for explaining the operation of FIG.

【図4】図1の動作説明に供する信号波形図である。FIG. 4 is a signal waveform diagram for explaining the operation of FIG.

【図5】図1の動作説明に供する信号波形図である。5 is a signal waveform diagram for explaining the operation of FIG.

【図6】従来のデータ受信回路の一例を示すブロック図
である。
FIG. 6 is a block diagram showing an example of a conventional data receiving circuit.

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

1 入力データ 2 入力フレームパルス 3 入力クロック 4,5 遅延挿入回路 8 遅延回路 9,10 フリップフロップ 11 フレームカウンタ回路 13 位相判定回路 14 アップダウンカウンタ 1 Input data 2 Input frame pulse 3 Input clock 4,5 Delay insertion circuit 8 Delay circuit 9,10 Flip-flop 11 Frame counter circuit 13 Phase determination circuit 14 Up-down counter

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 入力データと入力クロックおよびデータ
の先頭を示す入力フレームパルスを有するデータ受信回
路において、前記入力フレームパルスを段階的に遅延さ
せることのできる遅延挿入回路と、この遅延挿入回路の
出力する遅延フレームパルスを、前記入力クロックを反
転し逆相でラッチする第1のフリップフロップと、前記
入力クロックを入力とする遅延回路で遅延を与え正相で
ラッチする第2のフリップフロップと、前記遅延フレー
ムパルスと前記入力クロックにより1フレームをカウン
トするフレームカウンタ回路と、このフレームカウンタ
回路の出力する位相判定パルスと前記第1および第2の
フリップフロップの出力する逆相パルスおよび正相パル
スにより位相判定を行う位相判定回路と、この位相判定
回路の出力により前記遅延挿入回路の遅延量を調節する
アップダウンカウンタとを備えることを特徴とする自動
位相制御回路。
1. A data receiving circuit having input data, an input clock, and an input frame pulse indicating the beginning of the data, and a delay inserting circuit capable of delaying the input frame pulse stepwise, and an output of the delay inserting circuit. A first flip-flop that inverts the input clock and latches the delayed frame pulse in a reverse phase, and a second flip-flop that delays the delayed frame pulse by a delay circuit that receives the input clock and latches in the positive phase. A frame counter circuit that counts one frame by using a delayed frame pulse and the input clock, a phase by a phase determination pulse output by the frame counter circuit, and a negative phase pulse and a positive phase pulse output by the first and second flip-flops. The phase judgment circuit that makes the judgment and the output of this phase judgment circuit An automatic phase control circuit, comprising: an up-down counter for adjusting the delay amount of the delay insertion circuit.
JP5105954A 1993-04-09 1993-04-09 Automatic phase control circuit Expired - Lifetime JP2524467B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5105954A JP2524467B2 (en) 1993-04-09 1993-04-09 Automatic phase control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5105954A JP2524467B2 (en) 1993-04-09 1993-04-09 Automatic phase control circuit

Publications (2)

Publication Number Publication Date
JPH06303226A true JPH06303226A (en) 1994-10-28
JP2524467B2 JP2524467B2 (en) 1996-08-14

Family

ID=14421225

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5105954A Expired - Lifetime JP2524467B2 (en) 1993-04-09 1993-04-09 Automatic phase control circuit

Country Status (1)

Country Link
JP (1) JP2524467B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009206557A (en) * 2008-02-26 2009-09-10 Nec Corp Frame pulse signal latch circuit and phase adjustment method
US8311173B2 (en) 2008-02-15 2012-11-13 Nec Corporation Frame pulse signal latch circuit and phase adjustment method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8311173B2 (en) 2008-02-15 2012-11-13 Nec Corporation Frame pulse signal latch circuit and phase adjustment method
JP2009206557A (en) * 2008-02-26 2009-09-10 Nec Corp Frame pulse signal latch circuit and phase adjustment method
US7795941B2 (en) 2008-02-26 2010-09-14 Nec Corporation Frame pulse signal latch circuit and phase adjustment method

Also Published As

Publication number Publication date
JP2524467B2 (en) 1996-08-14

Similar Documents

Publication Publication Date Title
US5036230A (en) CMOS clock-phase synthesizer
US7224199B1 (en) Circuit and method for digital delay and circuits incorporating the same
US6653867B1 (en) Apparatus and method for providing a smooth transition between two clock signals
US5420467A (en) Programmable delay clock chopper/stretcher with fast recovery
JP2524467B2 (en) Automatic phase control circuit
EP1096683A1 (en) Clock generator circuit
JPH0548399A (en) Semiconductor device
US6982573B2 (en) Switchable clock source
JP2702257B2 (en) Bit phase synchronization circuit
JP3508762B2 (en) Frequency divider
US6774681B2 (en) Switchable clock source
EP1702218A1 (en) Delay fault test circuitry and related method
JP2778527B2 (en) Counting circuit
JPH05130094A (en) Clock transfer circuit
EP1263139A2 (en) Glitch-free multiplexer
JPH08149119A (en) Bit phase synchronization circuit
JP2001339376A (en) Synchronization circuit
JP2982138B2 (en) Bit phase synchronization circuit
JP3082727B2 (en) Synchronization method and synchronization circuit
JPH03255743A (en) Bit synchronizing circuit
KR100437833B1 (en) clock signal switch circuit
JP2001339377A (en) Phase adjustment circuit and phase adjustment method
JPS63245114A (en) Selection circuit for high speed clock
JPH06152338A (en) Multiplying circuit
JPS61225927A (en) Phase comparator of digital logic pll circuit