JPS6339209A - Synchronous circuit - Google Patents

Synchronous circuit

Info

Publication number
JPS6339209A
JPS6339209A JP61183610A JP18361086A JPS6339209A JP S6339209 A JPS6339209 A JP S6339209A JP 61183610 A JP61183610 A JP 61183610A JP 18361086 A JP18361086 A JP 18361086A JP S6339209 A JPS6339209 A JP S6339209A
Authority
JP
Japan
Prior art keywords
clock
output
circuit
data
phase
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
JP61183610A
Other languages
Japanese (ja)
Inventor
Masao Murai
政夫 村井
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 JP61183610A priority Critical patent/JPS6339209A/en
Publication of JPS6339209A publication Critical patent/JPS6339209A/en
Pending legal-status Critical Current

Links

Landscapes

  • Manipulation Of Pulses (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE:To stably revise data by detecting the phase difference between a clock on a data side and a clock on a revise side and preventing a revised clock from approaching the changing point of data. CONSTITUTION:A type D flip-flop 5 fetchs a serial data (a) to a clock F. An FF 6 fetches the Q output (g) of the FF 5 with the aid of a clock (the revise side) (c), and outputs a data (h). An exclusive OR circuit 8 detects the phase relation between the clocks (b) and (c) at the same frequency, and outputs it as an output (d). An integration circuit 9 integrates the detected output (d). A comparator 10 with hysteresis outputs a logic signal corresponding to the height of the output voltage (e) of the integration circuit 9. An exclusive OR circuit 7 outputs a clock (f) with a phase the same as or reverse to the clock (b) according as whether the clocks (b) and (c) are of the same phase or reverse with each other. Consequently the clock (c) never approaches the changing point of the data (a).

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデジタルデータ通信に関し、特にシリアルデー
タの同期回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to digital data communication, and more particularly to a serial data synchronization circuit.

〔従来の技術〕[Conventional technology]

従来、この種の同期回路は単純にD形フリップフロップ
でたたき直すだけであった。
Conventionally, this type of synchronous circuit was simply re-flashed with a D-type flip-flop.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来のD形フリップフロップだけの回路は、デ
ータの変化点とたたき直し側クロックが一致した時は動
作が不安定になるという欠点がある。特にたたき直し側
クロックまたはデータ側クロックにジー2夕がある場合
、この欠点は顕著になる。
The above-mentioned conventional circuit using only D-type flip-flops has a drawback that the operation becomes unstable when the data change point coincides with the replay clock. This drawback becomes particularly noticeable when there is a delay on the re-coupling side clock or the data side clock.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の同期回路は、シリアルデータを取込む第1のD
形フリップフロップと、第1のD形フリ、ブフロップの
Q出力を第2のクロックに同期して取込む第2のD形フ
リップフロップと、シリアルデータに同期し、第2のク
ロックと同一周波数の第1のクロックと第2のクロック
の排他的オアあるいは排他的ノアをとる第1のゲート回
路と、第1のゲート回路の出力を積分する積分回路と、
 vL分分路路出力を予め決められたしきい値と比較す
るヒステリシス付コンパレータと、第1のクロックとコ
ンパレータの出力を入力し、第1のクロックと第2のク
ロックがほぼ逆相となっているとき第1のクロックと同
相のクロックを第1のD形フリップフロップに出力し、
第1のクロックと第2のクロックがほぼ同相となってい
るとき第1のクロックと逆相のクロックを第2のD形フ
リップフロップに出力する第2のゲート回路を有する。
The synchronous circuit of the present invention has a first D
A second D-type flip-flop that captures the Q output of the first D-type flip-flop in synchronization with a second clock, and a second D-type flip-flop that captures the Q output of the first D-type flip-flop in synchronization with the serial data and has the same frequency as the second clock. a first gate circuit that takes an exclusive OR or an exclusive NOR between the first clock and the second clock; an integration circuit that integrates the output of the first gate circuit;
A comparator with hysteresis that compares the vL shunt output with a predetermined threshold value, and a first clock and the output of the comparator are input, and the first clock and the second clock are almost in opposite phases. outputs a clock in phase with the first clock to the first D-type flip-flop,
The device includes a second gate circuit that outputs a clock having an opposite phase to the first clock to a second D-type flip-flop when the first clock and the second clock are substantially in phase.

〔実施例〕〔Example〕

次に、本発明の実施例について図面を参照して説明する
Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の同期回路の一実施例の回路図・である
FIG. 1 is a circuit diagram of an embodiment of the synchronous circuit of the present invention.

D形フリップフロップ5はシリアルデータaをクロック
fにより取り込む。D形フリップフロップ6はD形フリ
ップフロップ5のQ出力gをクロック(たたき直し側)
Cに同期して取り込み、シリアルデータaのたたき直さ
れたデータhをQ出力から出力する。排他的論理和回路
8は同一周波数であるクロックbとクロックCの排他的
論理をとることにより、クロックbとクロックCの位相
関係を検出し、出力dとして出力する。積分回路9は排
他的論理和回路8の出力を積分する。ヒステリシス付コ
ンパレータlOは、積分回路9の出力電圧eが高い電圧
のとき論理O1低い電圧のとき論理1の信号を出力する
。排他的論理和回路7はクロックbとコンパレータ10
の出力を入力し。
D-type flip-flop 5 receives serial data a using clock f. The D-type flip-flop 6 clocks the Q output g of the D-type flip-flop 5 (on the re-beating side).
Data h, which is the rewritten serial data a, is taken in in synchronization with C and output from the Q output. Exclusive OR circuit 8 detects the phase relationship between clock b and clock C by performing exclusive logic on clock b and clock C, which have the same frequency, and outputs it as output d. Integrating circuit 9 integrates the output of exclusive OR circuit 8. The comparator lO with hysteresis outputs a logic 1 signal when the output voltage e of the integrating circuit 9 is a high voltage and a logic O1 is a low voltage. The exclusive OR circuit 7 has a clock b and a comparator 10.
Enter the output of .

クロックfをD形フリップフロップ5に出力する。The clock f is output to the D-type flip-flop 5.

第2図はシリアルデータaの中央付近にたたき直し側ク
ロックCのタイミングがある場合の波形を示す図である
。第3図はシリアルデータaの変化点付近にたたき直し
側クロックCのタイミングがある場合を示す図である。
FIG. 2 is a diagram showing a waveform when the timing of the replay side clock C is near the center of the serial data a. FIG. 3 is a diagram showing a case where the timing of the replay side clock C is near the change point of the serial data a.

なお、シリアルデータaの変化点に対しクロックbの立
上りはわずかに進んでいるものとする。
Note that it is assumed that the rise of clock b is slightly ahead of the change point of serial data a.

第2図はクロックbとクロックCがほぼ逆相となってい
る場合であり、両クロックbとCの排他的論理和回路8
で排他的論理和をとると、図に示すような波形の出力d
となり、これを積分回路9で積分すれば高い電圧eが得
られ、コンパレータ10の出力は論理Oとなる。したが
って、排他的論理和回路7の出力fはクロックbと同相
となり。
Figure 2 shows a case where clock b and clock C are almost in opposite phases, and an exclusive OR circuit 8 of both clocks b and C is shown.
When we take the exclusive OR, we get the waveform output d as shown in the figure.
If this is integrated by the integrating circuit 9, a high voltage e is obtained, and the output of the comparator 10 becomes logic O. Therefore, the output f of the exclusive OR circuit 7 is in phase with the clock b.

シリアルデータaとD形フリップフロップ5の出力gは
同相となる。この出力gをクロックCでたたき直して出
力りを得ることができる。クロックCは出力gのほぼ中
央で立上るので安定してたたき直すことができる。
The serial data a and the output g of the D-type flip-flop 5 are in phase. By beating this output g again with the clock C, the output g can be obtained. Since the clock C rises approximately at the center of the output g, it can be re-beated stably.

第3図はクロックbとクロックCがほぼ同相となってい
る場合であり、両クロックbとCの排他的論理和回路8
で排他的論理和をとると1図に示すような波形の出力d
となり、これを積分回路9で積分すれば低い電圧eが得
られコンパレータ10の出力は論理1となる。したがっ
て、排他的論理和回路7の出力fはクロックbと逆相と
なり、D形フリッププロップ5の出力gはシリアルデー
タaに対して180°ずれた波形となる。この出力gを
クロックCでたたき直して出力りを得ることができる。
Figure 3 shows a case where clock b and clock C are almost in phase, and an exclusive OR circuit 8 of both clocks b and C is shown.
When the exclusive OR is taken, the waveform output d as shown in Figure 1 is obtained.
If this is integrated by the integrating circuit 9, a low voltage e is obtained, and the output of the comparator 10 becomes logic 1. Therefore, the output f of the exclusive OR circuit 7 has a phase opposite to that of the clock b, and the output g of the D-type flip-flop 5 has a waveform shifted by 180 degrees with respect to the serial data a. By beating this output g again with the clock C, the output g can be obtained.

クロックCは出力gのほぼ中央で立上るので安定してた
たき直すことができる。
Since the clock C rises approximately at the center of the output g, it can be re-beated stably.

クロックbまたはクロックCにジッタがある場合、出力
dにもジッタ成分が出るが積分回路9で積分することに
より吸収されてコンパレータ10の出力には現われない
、したがって、ジッタによりD形フリップフロップ5の
出力gの波形が180゜ずれたり 0°になったりして
ばたつきが起きることはない。
If there is jitter in the clock b or clock C, a jitter component also appears in the output d, but it is absorbed by the integration in the integrating circuit 9 and does not appear in the output of the comparator 10. The waveform of the output g will not deviate by 180 degrees or become 0 degrees, and no fluttering will occur.

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

以上説明したように本発明は、データ側クロックとたた
き直し側クロックとの位相差を検出し、たたき直し側ク
ロックがデータの変化点に接近しないようにすることに
より、安定にデータのたたき直しができる効果がある。
As explained above, the present invention detects the phase difference between the data side clock and the re-beating side clock and prevents the re-beating side clock from approaching a data change point, thereby stably resetting the data. There is an effect that can be done.

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

第1図は本発明の同期回路の一実施例を示す回路図、第
2図はデータ側クロック2とたたき直し側クロック4が
ほぼ逆相になっている場合の各部の波形を示す図、第3
図はデータ側クロック2とたたき直し側クロック4がほ
ぼ同相になっている場合の各部の波形を示す図である。 1・・・・・・たたき直す前のシリアルデータ、2・・
・・・・シリアルデータlに同期したクロック、3・・
・・・・たたき直されたデータ、4・・・・・・クロッ
ク2と同一周波数のたたき直し側クロック、 5・・・・・・シリアルデータ1を1800ずらすため
のD形フリップフロップ、 6・・・・・・データをたたき直すためのD形フリップ
フロップ、 7・・・・・・ 180°ずらすためのクロックを作る
排他的論理和回路、 8・・・・・・データ側クロック2とたたき直し側クロ
ック4との位相差検出用の排他的論理和回路、 9・・・・・・積分回路、 10・・・・・・ヒステリシス付コンパレータ。
Fig. 1 is a circuit diagram showing an embodiment of the synchronous circuit of the present invention, Fig. 2 is a diagram showing waveforms of various parts when the data side clock 2 and the re-synchronization side clock 4 are almost in opposite phases. 3
The figure shows waveforms at various parts when the data-side clock 2 and the re-beating-side clock 4 are approximately in phase. 1...Serial data before retouching, 2...
...Clock synchronized with serial data l, 3...
... Re-beating data, 4... Re-beating side clock with the same frequency as clock 2, 5... D-type flip-flop for shifting serial data 1 by 1800, 6. ...D-type flip-flop to re-flip the data, 7... Exclusive OR circuit that creates a clock to shift by 180 degrees, 8... Data-side clock 2 and Exclusive OR circuit for detecting the phase difference with the correction side clock 4, 9...Integrator circuit, 10...Comparator with hysteresis.

Claims (1)

【特許請求の範囲】 シリアルデータを取込む第1のD形フリップフロップと
、 第1のD形フリップフロップのQ出力を第2のクロック
に同期して取込む第2のD形フリップフロップと、 シリアルデータと同期し、第2のクロックと同一周波数
の第1のクロックと第2のクロックの排他的オアあるい
は排他的ノアをとる第1のゲート回路と、 第1のゲート回路の出力を積分する積分回路と、 積分回路の出力を予め定められたしきい値と比較するヒ
ステリシス付コンパレータと、 第1のクロックとコンパレータの出力を入力し、第1の
クロックと第2のクロックがほぼ逆相となっているとき
第1のクロックと同相のクロックを第1のD形フリップ
フロップに出力し、第1のクロックと第2のクロックが
ほぼ同相となっているとき第1のクロックと逆相のクロ
ックを第1のD形フリップフロップに出力する第2のゲ
ート回路を有する同期回路。
[Claims] A first D-type flip-flop that takes in serial data; a second D-type flip-flop that takes in the Q output of the first D-type flip-flop in synchronization with a second clock; A first gate circuit that synchronizes with the serial data and takes an exclusive OR or an exclusive NOR between a first clock and a second clock having the same frequency as the second clock; and integrating the output of the first gate circuit. an integrator circuit, a comparator with hysteresis that compares the output of the integrator circuit with a predetermined threshold, a first clock and the output of the comparator are input, and the first clock and the second clock are in almost opposite phase. When the clock is in phase with the first clock, a clock that is in phase with the first clock is output to the first D-type flip-flop, and when the first clock and the second clock are almost in phase, a clock that is in phase with the first clock is output. A synchronous circuit having a second gate circuit that outputs a signal to a first D-type flip-flop.
JP61183610A 1986-08-04 1986-08-04 Synchronous circuit Pending JPS6339209A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61183610A JPS6339209A (en) 1986-08-04 1986-08-04 Synchronous circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61183610A JPS6339209A (en) 1986-08-04 1986-08-04 Synchronous circuit

Publications (1)

Publication Number Publication Date
JPS6339209A true JPS6339209A (en) 1988-02-19

Family

ID=16138804

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61183610A Pending JPS6339209A (en) 1986-08-04 1986-08-04 Synchronous circuit

Country Status (1)

Country Link
JP (1) JPS6339209A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0349414A (en) * 1989-07-18 1991-03-04 Nec Corp Automatic phase adjusting circuit
JPH05226989A (en) * 1992-02-13 1993-09-03 Nec Corp Output latch circuit
JPH0653945A (en) * 1992-07-31 1994-02-25 Nec Corp Data transferr circuit
US5659645A (en) * 1994-05-13 1997-08-19 Mitsubishi Cable Industries, Ltd. Collimator with adjusting mechanism for improved alignment between optical fiber and lens
WO2009110123A1 (en) * 2008-03-07 2009-09-11 Kurita Masakatsu Method for synchronizing asynchronous types of transmitting/receiving apparatuses, and transmitting/receiving apparatuses

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5466010A (en) * 1977-11-05 1979-05-28 Fujitsu Ltd Time adjustment circuit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5466010A (en) * 1977-11-05 1979-05-28 Fujitsu Ltd Time adjustment circuit

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0349414A (en) * 1989-07-18 1991-03-04 Nec Corp Automatic phase adjusting circuit
JPH05226989A (en) * 1992-02-13 1993-09-03 Nec Corp Output latch circuit
JPH0653945A (en) * 1992-07-31 1994-02-25 Nec Corp Data transferr circuit
US5659645A (en) * 1994-05-13 1997-08-19 Mitsubishi Cable Industries, Ltd. Collimator with adjusting mechanism for improved alignment between optical fiber and lens
WO2009110123A1 (en) * 2008-03-07 2009-09-11 Kurita Masakatsu Method for synchronizing asynchronous types of transmitting/receiving apparatuses, and transmitting/receiving apparatuses

Similar Documents

Publication Publication Date Title
JP2909740B2 (en) Phase matching circuit
JP2522413B2 (en) Phase frequency comparator
JPS6339209A (en) Synchronous circuit
KR880000676B1 (en) Pll having two-frequene vco
JPH01166633A (en) Bit phase synchronizing circuit
JP2575221B2 (en) PLL circuit
JP2871735B2 (en) Automatic phase adjustment circuit
JP2754577B2 (en) Clock regeneration circuit
JPH01154625A (en) Pll synchronizing detection circuit
JPS60190024A (en) Digital phase locked loop circuit
JP3077723B2 (en) Frequency phase comparison circuit
JPS5967730A (en) Pll circuit
JPS61225927A (en) Phase comparator of digital logic pll circuit
KR20040041985A (en) Delay locked loop
JPS6313516A (en) Phase comparator
JPH02121518A (en) One-shot circuit
JPH04196919A (en) Phase comparator
JPS6372237A (en) Phase locked oscillator
JPH02152319A (en) Phase comparing circuit
JPS6245240A (en) Digital signal synchronizing circuit
JPS63209241A (en) Clock extracting system in time division direction control transmission
JPH07177002A (en) Pulse synchronizing circuit
JPH02142220A (en) Digital phase locked loop circuit
JPS596104B2 (en) 2-phase PSK carrier wave regeneration circuit
JPH01181323A (en) Initial phase matching circuit for phase locked loop oscillator