JPH08316948A - Bit synchronization circuit, and bit synchronization method - Google Patents

Bit synchronization circuit, and bit synchronization method

Info

Publication number
JPH08316948A
JPH08316948A JP7122089A JP12208995A JPH08316948A JP H08316948 A JPH08316948 A JP H08316948A JP 7122089 A JP7122089 A JP 7122089A JP 12208995 A JP12208995 A JP 12208995A JP H08316948 A JPH08316948 A JP H08316948A
Authority
JP
Japan
Prior art keywords
phase
output data
signal
reversible counter
clock
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
JP7122089A
Other languages
Japanese (ja)
Inventor
Eiji Nagatake
栄二 長竹
Kazuo Kubo
和夫 久保
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP7122089A priority Critical patent/JPH08316948A/en
Publication of JPH08316948A publication Critical patent/JPH08316948A/en
Pending legal-status Critical Current

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE: To provide a bit synchronization circuit and method which have no influences upon circuits in the succeeding stage and have a large phase margin in the synchronism holding state and can be stably operated. CONSTITUTION: Based on the output value or a reversible counter 7, a variable delay part 1 inserts variable delay to reception data 11 to generate output data 13. A change point detection part 2 generates change point phase signals 16 and 17 of reception data and output data. A phase comparison part 3 compares phases of output data 13 and a reference clock 12 with each other to generate a phase comparison signal 18, and a control part 6 generates a control signal 21, which control the operation of the reversible counter 7, based on the phase comparison signal 18 and a one period detection signal 19 outputted from a one period detection part 4. When detecting the continuity or the same code of output data 13 (detecting that the code of the same value is continuous), a same code detection part 5 stops the operation of the reversible counter 7 to fix the extent of delay to be inserted to reception data 11.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ディジタル信号の伝送
に際して、信号を送信及び受信する装置の間で伝送され
るデータの位相と、受信側における基準クロックの位相
と同期化するビット同期回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bit synchronizing circuit for synchronizing the phase of data transmitted between devices for transmitting and receiving a signal and the phase of a reference clock on the receiving side when transmitting a digital signal. .

【0002】[0002]

【従来の技術】送受信されるデータの位相と、基準クロ
ックの位相とを同期させる装置が、例えば特願平5−3
06678号の明細書に示されている。ここに示されて
いるビット同期回路の構成ブロック図が図16に示され
ている。図16に示されているように、可変遅延部1
は、可逆カウンタ7が出力するカウント信号14に基づ
いて、受信クロック23に挿入する遅延量を変化させて
出力クロック12aを生成する。一方、変化点検出部2
aは、受信データの変化点を検出し、受信データ変化点
位相信号17を生成している。位相比較部3cは、受信
データ変化点位相信号17と、出力クロック12aとの
位相を比較し、位相が進んでいるかもしくは遅れている
かを検査する。そして、位相比較部3cは、係る検査の
結果である位相比較信号18cを生成する。1周期検出
部4aは、受信クロック23と出力クロック12aとに
基づいて、可変遅延部1における遅延量が1周期分とな
ったことを検出し、このことを表す1周期検出信号19
を生成する。
2. Description of the Related Art An apparatus for synchronizing the phase of transmitted / received data and the phase of a reference clock is disclosed in, for example, Japanese Patent Application No. 5-3.
No. 06678. A configuration block diagram of the bit synchronization circuit shown here is shown in FIG. As shown in FIG. 16, the variable delay unit 1
Generates an output clock 12a by changing the delay amount inserted in the reception clock 23 based on the count signal 14 output from the reversible counter 7. On the other hand, the change point detection unit 2
The point a detects the change point of the received data and generates the received data change point phase signal 17. The phase comparator 3c compares the phase of the received data change point phase signal 17 with the phase of the output clock 12a, and inspects whether the phase is advanced or delayed. Then, the phase comparison unit 3c generates the phase comparison signal 18c which is the result of the inspection. The one-cycle detection unit 4a detects that the delay amount in the variable delay unit 1 is one cycle, based on the reception clock 23 and the output clock 12a, and the one-cycle detection signal 19 indicating this.
Generate

【0003】同期判定部5aは、受信データ11と、出
力クロック12aとから同期/非同期状態を判定し、同
期判定信号20aを生成する。更に、受信データ中に同
じ符号が連続して現れることを検出し、連続して現れて
いることを表す同期判定信号20aを同期状態と同じ出
力値とする。制御部6は、位相比較部3cからの位相比
較信号18cと、1周期検出部4aからの1周期検出信
号19と、可逆カウンタ7からのカウント信号14に基
づいて、制御信号21を生成する。更に、可逆カウンタ
7は、制御部6から出力される制御信号21と、同期判
定部5aが出力する同期判定信号20aに従い、計数動
作を行ってカウント信号14を出力する。
The synchronization determination section 5a determines the synchronous / asynchronous state from the received data 11 and the output clock 12a, and generates a synchronization determination signal 20a. Further, it is detected that the same code continuously appears in the received data, and the synchronization determination signal 20a indicating that the same code continuously appears has the same output value as that in the synchronized state. The control unit 6 generates the control signal 21 based on the phase comparison signal 18c from the phase comparison unit 3c, the 1-cycle detection signal 19 from the 1-cycle detection unit 4a, and the count signal 14 from the reversible counter 7. Further, the reversible counter 7 performs a counting operation and outputs a count signal 14 according to the control signal 21 output from the control unit 6 and the synchronization determination signal 20a output from the synchronization determination unit 5a.

【0004】この従来例1に係るビット同期回路は、受
信クロックの位相を制御して出力クロックの位相を受信
データの位相に同期化する方式を採用している。この方
式は、多相クロック型ビット同期方式と呼ばれる。
The bit synchronization circuit according to the first conventional example employs a method of controlling the phase of the reception clock to synchronize the phase of the output clock with the phase of the reception data. This method is called a multi-phase clock type bit synchronization method.

【0005】図17は、図16に示されている従来例1
の具体的な回路図を表す図であり、特に変化点検出部2
a、位相比較部3c、同期判定部5a、1周期検出部4
aについてその具体的な回路が詳細に示されている。
FIG. 17 shows a conventional example 1 shown in FIG.
2 is a diagram showing a specific circuit diagram of the change point detection unit 2
a, phase comparison unit 3c, synchronization determination unit 5a, 1 period detection unit 4
The specific circuit for a is shown in detail.

【0006】図17に示されているように、変化点検出
部2aは、排他的論理和回路202によって受信データ
11と、遅延素子201とによって受信データにT/2
(ここで、Tは1クロック周期を表す)の遅延を挿入し
たデータとの排他的論理和を取り、これによって受信デ
ータ11の立上がり及び立ち下がりの変化点を検出す
る。そして、この検出に基づき受信データ変化点位相信
号17が排他的論理和回路202によって生成される。
この受信データ変化点位相信号17は、データ変化点の
位置で立上がり、そのパルス幅が遅延素子201が有す
る遅延時間によって決定される。
As shown in FIG. 17, the change point detection unit 2a converts the received data 11 by the exclusive OR circuit 202 and the received data T / 2 by the delay element 201.
(Here, T represents one clock cycle) The exclusive OR of the delay data and the inserted data is used to detect the rising and falling transition points of the received data 11. Then, based on this detection, the reception data change point phase signal 17 is generated by the exclusive OR circuit 202.
The received data change point phase signal 17 rises at the position of the data change point, and its pulse width is determined by the delay time of the delay element 201.

【0007】次に、図17に示されているように位相比
較部3cは、変化点検出部2からの受信データ変化点位
相信号17をフリップフロップ301、302において
それぞれ出力クロック12a及びその反転クロック(位
相が反転されたクロック)によって取り込み、それぞれ
位相比較信号181c、182cが生成される。これら
の位相比較信号181c、182cとの組み合わせの値
によって、いわばクロックの進み/遅れ状態が表され
る。例えば、(181c、182c)=(H、L)であ
る場合には、出力クロック12aの位相が受信データ1
1に対して進んでいることを表す。また、(181c、
182c)=(L、H)である場合には出力クロック1
2aの位相が受信データ11に対して遅れていることを
表す。
Next, as shown in FIG. 17, the phase comparing section 3c outputs the received data change point phase signal 17 from the change point detecting section 2 to the output clock 12a and its inverted clock in the flip-flops 301 and 302, respectively. The phase comparison signals 181c and 182c are respectively generated by the (clocks whose phases are inverted). The value of the combination with the phase comparison signals 181c and 182c represents the so-called advance / delay state of the clock. For example, when (181c, 182c) = (H, L), the phase of the output clock 12a is the received data 1
Represents progressing toward 1. In addition, (181c,
182c) = (L, H), output clock 1
2a indicates that the phase of 2a is behind the received data 11.

【0008】次に、図17に示されているように、1周
期検出部4aは、フリップフロップ401、402によ
って、出力クロック12aの立上がりタイミングで受信
クロック23を2周期にわたって識別する。これによっ
て、フリップフロップ401の正相出力と、フリップフ
ロップ402の逆相出力の論理和を取ることによって、
1周期検出信号19が生成される。この1周期検出信号
19は、出力クロック12aの立上がりが受信クロック
23の立ち下がりを検出した場合に1周期の間だけ
「L」レベルとなる信号である。
Next, as shown in FIG. 17, the one-cycle detector 4a uses the flip-flops 401 and 402 to identify the receive clock 23 for two cycles at the rising timing of the output clock 12a. As a result, the logical sum of the positive-phase output of the flip-flop 401 and the negative-phase output of the flip-flop 402 is obtained.
The 1-cycle detection signal 19 is generated. The one-cycle detection signal 19 is a signal that becomes "L" level only for one cycle when the rising edge of the output clock 12a detects the falling edge of the reception clock 23.

【0009】次に、図17に示されているように、同期
判定部5aは、遅延素子504によって受信データにT
/4の遅延を挿入したデータをフリップフロップ501
及び502でそれぞれ出力クロック及びその反転クロッ
クのタイミングでそれぞれ取り込み、フリップフロップ
505で位相を揃えた後、排他的論理和が取られてい
る。このようにして、同期判定信号20aが最終的に生
成される。この同期判定信号20aは、出力クロック1
2aの立上がりのタイミングが受信データ11の変化点
からT/4乃至は3T/4の範囲に存在する場合には同
期と判定する。そして範囲外にあるときには非同期と判
定されるのである。なお、同期と判定された場合には
「L」レベルとなり、非同期と判定される場合にはこの
同期判定信号20aは「H」レベルとなる。
Next, as shown in FIG. 17, the synchronism determining section 5a converts the received data into T by the delay element 504.
Data with a delay of / 4 is flip-flop 501
And 502 respectively fetch at the timing of the output clock and its inverted clock, and after the phases are aligned by the flip-flop 505, the exclusive OR is taken. In this way, the synchronization determination signal 20a is finally generated. This synchronization determination signal 20a is the output clock 1
If the rising timing of 2a is within the range of T / 4 to 3T / 4 from the change point of the received data 11, it is determined to be synchronous. When it is out of the range, it is determined to be asynchronous. It is to be noted that if it is determined to be synchronous, it becomes "L" level, and if it is determined to be asynchronous, this synchronization judgment signal 20a becomes "H" level.

【0010】次に、制御部6は、位相比較部3cからの
位相比較信号181c、182cと、1周期検出部4a
が出力する1周期検出信号19及び可逆カウンタ7が出
力するカウント信号14に基づいて、可逆カウンタ7の
計数動作を制御する制御信号21を生成する。この制御
信号21は、位相比較信号181c、182cの組み合
わせが(H、L)の場合にはクロックが進み状態である
ことからカウントアップを示し、逆に「L、H」である
場合には遅れ状態であることからカウントダウンを示す
値となる。更に、制御信号21は進み状態であってかつ
1周期検出部4aにおいて1周期が検出されている場合
には可逆カウンタ7のカウント信号14を「0」にする
リセットを表し、遅れ状態でかつカウント信号14が0
である場合にはカウント信号14をあらかじめ設定した
値にセットするロードを表す値となる。
Next, the control section 6 controls the phase comparison signals 181c and 182c from the phase comparison section 3c and the 1-cycle detection section 4a.
A control signal 21 for controlling the counting operation of the reversible counter 7 is generated based on the one-cycle detection signal 19 output by the reversible counter 7 and the count signal 14 output by the reversible counter 7. When the combination of the phase comparison signals 181c and 182c is (H, L), the control signal 21 indicates a count-up because the clock is in the advanced state, and conversely, when it is "L, H", it is delayed. Since it is in the state, it becomes a value indicating the countdown. Furthermore, when the control signal 21 is in the advanced state and one cycle is detected by the one cycle detection unit 4a, the control signal 21 indicates a reset to set the count signal 14 of the reversible counter 7 to "0", and the delayed state and the count Signal 14 is 0
If it is, the count signal 14 becomes a value indicating a load for setting it to a preset value.

【0011】可逆カウンタ7は、上記制御部6が出力す
る制御信号21と同期判定部5aが出力する同期判定信
号20aに基づいて、非同期状態が検出された場合には
アップカウント、ダウンカウント、リセット及びロード
等の計数動作を行いカウント信号14を出力する。ま
た、同期判定時及び受信データの同符号連続検出時には
計数動作が停止される。
The reversible counter 7 up-counts, down-counts, or resets when an asynchronous state is detected based on the control signal 21 output from the control unit 6 and the synchronization determination signal 20a output from the synchronization determination unit 5a. Also, a counting operation such as loading is performed and a count signal 14 is output. Further, the counting operation is stopped at the time of synchronization determination and at the same code consecutive detection of the received data.

【0012】可変遅延部1の詳細な構成ブロック図が図
18に示されている。図18に示されているように、デ
コーダ101は、可逆カウンタ7からのカウント信号1
4に基づいて、デコード信号を生成する。セレクタ10
2はこのデコード信号に基づいて、遅延素子103を挿
入した入力と挿入されていない入力信号とのいずれか一
方を選択する。図18に示されているように、このセレ
クタ102と、遅延素子103との組み合わせは複数個
デコーダ101に接続されており、それぞれのセレクト
102はデコーダからの信号に基づいて遅延素子103
を通過させたかもしくは通過させていない信号のいずれ
かを選択し、次段のセレクタ102と遅延素子103の
組に信号を送出するのである。このようにして、受信ク
ロック23に加えられる遅延量が制御され、出力クロッ
ク12aとして最終的に出力されるのである。すなわ
ち、カウント信号14の値が増加した場合には、遅延時
間を増加させ、出力クロック12aの位相が遅らせられ
る。一方、カウント信号14の値が減少した場合には、
遅延時間が減少し、出力クロック12aの位相は進まさ
れることになる。
A detailed configuration block diagram of the variable delay section 1 is shown in FIG. As shown in FIG. 18, the decoder 101 uses the count signal 1 from the reversible counter 7.
On the basis of 4, the decode signal is generated. Selector 10
2 selects one of the input with the delay element 103 inserted and the input signal with no delay element 103 based on this decoded signal. As shown in FIG. 18, this combination of selector 102 and delay element 103 is connected to a plurality of decoders 101, and each select 102 is based on a signal from the decoder.
The signal is sent to the set of the selector 102 and the delay element 103 at the next stage by selecting either the signal that has passed or not passed. In this way, the delay amount added to the reception clock 23 is controlled and finally output as the output clock 12a. That is, when the value of the count signal 14 increases, the delay time is increased and the phase of the output clock 12a is delayed. On the other hand, when the value of the count signal 14 decreases,
The delay time is reduced and the phase of the output clock 12a is advanced.

【0013】図19には、ビット同期回路の動作を説明
するタイムチャートが示されている。受信クロック23
に対して出力クロック12aが図19に示されているよ
うな遅延状態である場合には、カウント信号14の値を
iで表すと、ここに受信データ11が入力されると、ま
ず同期判定部5aにおいて出力クロック12aの立上が
りのタイミングが受信データ11の変化点からT/4乃
至は3T/4の範囲の中にないすなわち非同期であると
判定される。その結果、同期判定信号20aはその値が
「H」レベルとなる。次に、変化点検出部2aにおいて
は受信データ11に基づき、受信データ変化点位相信号
17が生成される。
FIG. 19 is a time chart for explaining the operation of the bit synchronization circuit. Reception clock 23
On the other hand, when the output clock 12a is in the delay state as shown in FIG. 19, when the value of the count signal 14 is represented by i, the reception data 11 is input to the synchronization determination unit. In 5a, it is determined that the rising timing of the output clock 12a is not within the range of T / 4 to 3T / 4 from the change point of the received data 11, that is, asynchronous. As a result, the value of the synchronization determination signal 20a becomes "H" level. Next, the change point detection unit 2a generates a received data change point phase signal 17 based on the received data 11.

【0014】位相比較部3cにおいては受信データ変化
点位相信号17が出力クロック12aで識別され、位相
比較信号181c、182cの組み合わせが(181
c、182c)=(H、L)となる。その結果、進み状
態が検出されることになる。
In the phase comparison section 3c, the received data change point phase signal 17 is identified by the output clock 12a, and the combination of the phase comparison signals 181c and 182c is (181).
c, 182c) = (H, L). As a result, the advanced state is detected.

【0015】可逆カウンタ7は、進み状態であることか
ら、上記初期状態iから順次カウントアップが行われ
る。可変遅延部1は、このカウント信号14に基づいて
順次受信クロック23に挿入される遅延量を増加させ、
出力クロック12aを遅延させることになる。カウント
信号14がi+4になった場合には、図19に示されて
いるように同期判定部5aは同期したと判断する。この
同期であるとの判定に基づき次のクロックの立上がりタ
イミングにおいてはカウント動作は停止され、この同期
状態が保持されることになる。
Since the reversible counter 7 is in the advanced state, it is sequentially incremented from the initial state i. The variable delay unit 1 increases the delay amount sequentially inserted into the reception clock 23 based on the count signal 14,
The output clock 12a will be delayed. When the count signal 14 becomes i + 4, the synchronization determination unit 5a determines that synchronization has occurred, as shown in FIG. Based on the determination that this is the synchronization, the counting operation is stopped at the next rising timing of the clock, and this synchronized state is held.

【0016】このように図19に示されている例におい
ては、受信クロックの位相を制御して出力クロックの位
相を受信データの位相に同期させている。
As described above, in the example shown in FIG. 19, the phase of the reception clock is controlled to synchronize the phase of the output clock with the phase of the reception data.

【0017】また、他の種類のビット同期回路の例が図
20に示されている。このような従来のビット同期回路
に関する文献として「International Z
urich Seminar on Digital
Communications,C4,1986」があ
る。図20に示されているように可変遅延部1bは、受
信データ11を入力し、多相化部104はT/nの遅延
時間を有するn個の遅延素子(nは正の整数)によって
n通りの遅延を与えられた遅延データ15を生成する。
セレクタ102は、可逆カウンタ7が出力するカウント
信号14に基づいて、n本の遅延データ15のうち一つ
のデータを選択し、出力データ13を出力する。可逆カ
ウンタ7は、可変遅延部1bからの出力データ13をク
ロック入力として計数動作を行い、出力データ13の立
上がりのタイミングにおいて基準クロック12が「H」
であった場合にはカウントアップ動作を行い、一方出力
データ13の立上がりのタイミングの時点で基準クロッ
ク12が「L」である場合にはカウントダウン動作を行
い、このようにしてカウント信号14を出力する。
An example of another type of bit synchronization circuit is shown in FIG. As a document relating to such a conventional bit synchronization circuit, "International Z
urich Seminar on Digital
Communications, C4, 1986 ”. As shown in FIG. 20, the variable delay unit 1b inputs the reception data 11, and the polyphase conversion unit 104 uses n delay elements (n is a positive integer) having a delay time of T / n to n. The delay data 15 is generated with the given delay.
The selector 102 selects one of the n delay data 15 based on the count signal 14 output by the reversible counter 7 and outputs the output data 13. The reversible counter 7 performs a counting operation by using the output data 13 from the variable delay unit 1b as a clock input, and the reference clock 12 is “H” at the rising timing of the output data 13.
If the reference clock 12 is "L" at the rising timing of the output data 13, the countdown operation is performed, and the count signal 14 is output in this manner. .

【0018】この従来例2のビット同期回路は、一定の
遅延時間が挿入された後のデータを可逆カウンタ7のク
ロック入力とし、更に基準クロックを可逆カウンタ7の
制御入力とすることによって、受信データの位相を制御
し出力データの位相を基準クロックの位相に同期化させ
ている。この方法は、多相データ型DPLL方式と呼ば
れる。
In the bit synchronization circuit of the second conventional example, the data after the fixed delay time is inserted is used as the clock input of the reversible counter 7 and the reference clock is used as the control input of the reversible counter 7 to receive data. Is controlled to synchronize the phase of the output data with the phase of the reference clock. This method is called a polyphase data type DPLL method.

【0019】図21には、この図20に示されているビ
ット同期回路動作を表すタイムチャートが示されてい
る。まず、受信データ11に対しては、n本の遅延デー
タ15が生成される。そして、出力データ13が図21
に示されているような遅延状態のときにカウント信号1
4の値がiである場合には、基準クロック12が入力さ
れると、可逆カウンタ7が出力データ13の最初の立上
がりの時点で基準クロック12は「H」であるため、初
期状態iからカウントアップを行う。その結果、カウン
ト信号14はi+1となり、出力データ13の立上がり
の時点において基準クロック12が「H」である間この
カウントアップ動作が続行される。
FIG. 21 is a time chart showing the operation of the bit synchronization circuit shown in FIG. First, for the received data 11, n delay data 15 are generated. The output data 13 is shown in FIG.
Count signal 1 in the delay state as shown in
When the value of 4 is i, when the reference clock 12 is input, the reversible counter 7 counts from the initial state i because the reference clock 12 is “H” at the first rising edge of the output data 13. Do up. As a result, the count signal 14 becomes i + 1, and the count-up operation is continued while the reference clock 12 is "H" at the rising edge of the output data 13.

【0020】次に、セレクタ102は、このカウント信
号14の基づいて、順次次の遅延データ15を選択して
いく。そして、カウント信号14がi+2になったとこ
ろで出力データ13の変化点の位置が基準クロック12
の立ち下がりの時点を越えて、次の出力データ13の立
上がりの時点においては基準クロック12が「L」とな
る。可逆カウンタ7は、カウントダウンを行って、カウ
ント信号14をi+1となる。セレクタ102はこのカ
ウント信号14にしたがって、一つ前の遅延データを選
択する。カウント信号14がi+1となると、出力デー
タ13の変化点の位置は再び基準クロック12の「H」
区間に来るため、次の出力データ13の立上がりにおい
てはカウンタはカウントアップを行う。このようにし
て、以降可逆カウンタ7は出力データ13の立上がりタ
イミングにおいて、カウントアップとカウントダウンを
交互に繰り返して同期状態が保持されるのである。
Next, the selector 102 sequentially selects the next delay data 15 based on the count signal 14. Then, when the count signal 14 becomes i + 2, the position of the change point of the output data 13 is changed to the reference clock 12
The reference clock 12 becomes "L" at the next rising edge of the output data 13 beyond the falling edge of the. The reversible counter 7 counts down and the count signal 14 becomes i + 1. The selector 102 selects the immediately preceding delay data according to the count signal 14. When the count signal 14 becomes i + 1, the position of the change point of the output data 13 is again "H" of the reference clock 12.
Since it comes to the section, the counter counts up at the next rising edge of the output data 13. In this way, thereafter, the reversible counter 7 alternately repeats the count-up and the count-down at the rising timing of the output data 13 to hold the synchronized state.

【0021】このように、この従来例2においては、受
信データの位相を制御し出力データの位相が基準クロッ
クの位相に同期化されている。
As described above, in the second conventional example, the phase of the received data is controlled and the phase of the output data is synchronized with the phase of the reference clock.

【0022】更に、他の従来例としては、1993年電
子情報通信学会秋季大会予稿集、B−830に示されて
いるような回路がある。ここに示されている回路が、上
記二つの従来例1、2と異なっている点は以下の通りで
ある。
Further, as another conventional example, there is a circuit as shown in B-830, Proceedings of Autumn Meeting of the Institute of Electronics, Information and Communication Engineers, 1993. The circuit shown here is different from the above-mentioned two conventional examples 1 and 2 in the following points.

【0023】すなわち、上記予稿集に示されているビッ
ト同期回路は、高速クロック信号を入力し、多相化部と
して高速クロックで動作するシフトレジスタを備えてい
る。このシフトレジスタを用いることによって、遅延素
子を用いることなく受信データの多相化が行われている
のである。更に、前記高速クロックを分周して基準クロ
ックを生成する分周部を備えており、可逆カウンタはこ
の基準クロックを制御入力として上記従来例の図20に
示されているものと同様の動作を行う。また、この分周
クロックは回路の外部にも出力されている。前記可逆カ
ウンタは更に回路の外部からのリセット信号によって初
期位相が設定されている。
That is, the bit synchronization circuit shown in the above-mentioned abstract includes a shift register which receives a high-speed clock signal and operates as a multi-phase conversion section with a high-speed clock. By using this shift register, the received data is multiphased without using a delay element. Further, it is provided with a frequency divider for dividing the high speed clock to generate a reference clock, and the reversible counter uses the reference clock as a control input to perform the same operation as that shown in FIG. To do. The divided clock is also output outside the circuit. The reversible counter has an initial phase set by a reset signal from the outside of the circuit.

【0024】上記予稿集に記載されているビット同期回
路のその他の構成及び動作は図20に示されている従来
例2と同様である。すなわち、高速クロックを用いて受
信データの多相化を行う点、及び分周部を備えている点
の二点を除き図20に示されている従来例2と同様の構
成が採用されている。
Other configurations and operations of the bit synchronization circuit described in the above-mentioned proceedings are the same as those of the conventional example 2 shown in FIG. That is, the same configuration as that of the conventional example 2 shown in FIG. 20 is adopted except for the two points that the received data is multi-phased using the high-speed clock and that the frequency divider is provided. .

【0025】このようにして、上記予稿集に示されてい
るビット同期回路は、受信データの多相化を高速クロッ
クで動作するシフトレジスタによって行い、受信データ
の位相を制御し出力データの位相を基準クロックの位相
に同期化している。
In this way, the bit synchronization circuit shown in the above-mentioned proceedings multi-phases the received data by the shift register operating with a high-speed clock, controls the phase of the received data, and controls the phase of the output data. It is synchronized with the phase of the reference clock.

【0026】[0026]

【発明が解決しようとする課題】上述したように、従来
例1によるビット同期回路においては、受信クロックの
位相を制御して出力クロックの位相を受信データの位相
に同期化する方式が採用されていた。そのため、位相制
御を行う際に出力クロックのデューティが変動して後段
の回路においてタイミングマージンが減少してしまうと
いう問題点があった。さらに、常に位相制御を行うと出
力クロックのデューティ変動が発生する時間が長くなっ
てしまい、後段の回路における動作が不安定になり勝ち
となる。そのため、最適な位相となるまで位相制御を続
けることができないという問題点があった。さらに、可
変遅延部に遅延素子を用いているため、遅延量のばらつ
きや外部環境の変動などによって、遅延時間の誤差及び
変動が生じるとという問題点があった。
As described above, the bit synchronization circuit according to the prior art 1 employs the method of controlling the phase of the reception clock to synchronize the phase of the output clock with the phase of the reception data. It was Therefore, there is a problem that the duty of the output clock fluctuates when the phase control is performed, and the timing margin is reduced in the circuit in the subsequent stage. Further, if the phase control is always performed, the time in which the duty of the output clock fluctuates becomes long, and the operation of the circuit in the subsequent stage becomes unstable, which is likely to occur. Therefore, there is a problem that the phase control cannot be continued until the optimum phase is obtained. Further, since the delay element is used in the variable delay unit, there is a problem in that an error and a change in the delay time occur due to variations in the delay amount and changes in the external environment.

【0027】また、上述した従来例に係るビット同期回
路においては、所定の遅延量が挿入された後のデータを
可逆カウンタのクロック入力とし、さらに基準クロック
を可逆カウンタの制御入力することによって受信データ
の位相を制御する方式が採用されていた。そのため、位
相制御を行う際に、出力データが不連続となり、このた
め可逆カウンタのクロック入力にいわゆるスパイクが混
入し誤動作を引き起すという問題点があった。さらに、
可逆カウンタの初期位相によっては、受信データに挿入
する遅延量が不足するため、可逆カウンタの初期位相を
設定する必要があるという問題点があった。
In the bit synchronization circuit according to the above-mentioned conventional example, the data after the insertion of the predetermined delay amount is used as the clock input of the reversible counter, and the reference clock is further controlled and input to the reversible counter to receive the received data. The method of controlling the phase of was adopted. Therefore, when the phase control is performed, the output data becomes discontinuous, which causes a problem that a so-called spike is mixed in the clock input of the reversible counter and causes a malfunction. further,
There is a problem that it is necessary to set the initial phase of the reversible counter because the delay amount to be inserted into the received data is insufficient depending on the initial phase of the reversible counter.

【0028】本発明は、上記のような課題を解決するた
めになされたものであり、その目的は安定動作が可能で
あり、さらに以下のような特徴を有する多相データ型ビ
ット同期方式を提供することである。
The present invention has been made to solve the above problems, and the object thereof is to provide a multi-phase data type bit synchronization system capable of stable operation and having the following features. It is to be.

【0029】(a)後段の回路に影響を及すことなく、
データ位相を制御し、かつ同期化を行う。
(A) Without affecting the circuit in the subsequent stage,
Controls data phase and provides synchronization.

【0030】(b)最適な位相となるまで位相制御を行
い、大きな位相余裕を得る。
(B) Phase control is performed until the optimum phase is obtained, and a large phase margin is obtained.

【0031】(c)可変遅延部において遅延時間の誤差
及び変動を生じることなく、多相化したデータの間の遅
延時間を正確に提供することができる。
(C) It is possible to accurately provide a delay time between multi-phased data without causing an error and fluctuation in the delay time in the variable delay section.

【0032】(d)位相制御を行う際に、出力データが
たとえ不連続である場合にも誤動作を生じることがな
い。
(D) When performing phase control, no malfunction occurs even if the output data is discontinuous.

【0033】(e)初期位相の値に係わらず、1周期分
の遅延量で基準クロックに同期した出力データを生成す
る。
(E) The output data synchronized with the reference clock is generated with a delay amount of one cycle regardless of the value of the initial phase.

【0034】[0034]

【課題を解決するための手段】第1の本発明は、上記課
題を解決するために、出力データと、基準クロックとの
位相関係に基づき、受信データの位相を制御し、基準ク
ロックの位相に同期化した出力データを出力するビット
同期回路において、前記受信データに挿入する遅延量を
可逆カウンタのカウント値に基づき変化させ前記出力デ
ータを生成する可変遅延部と、前記出力データの位相と
前記基準クロックの位相とを比較して進み/遅れ状態を
検出して位相比較信号を生成する位相比較部と、前記出
力データを前記基準クロックによって2周期に亘って識
別し、前記出力データの値が2周期に亘って同一である
同符号連続状態を検出した場合に、同符号検出信号を生
成する同符号検出部と、前記位相比較部が出力する位相
比較信号に基づき前記基準クロックを計数する前記可逆
カウンタと、を含み、前記可逆カウンタは、前記同符号
検出部によって出力データの同符号連続を検出した場合
には動作を停止することを特徴とするビット同期回路で
ある。
In order to solve the above-mentioned problems, the first aspect of the present invention controls the phase of received data based on the phase relationship between output data and a reference clock so that the phase of the reference clock is set. In a bit synchronization circuit that outputs synchronized output data, a variable delay unit that generates the output data by changing a delay amount to be inserted into the received data based on a count value of a reversible counter, a phase of the output data, and the reference. The output data is discriminated from the output data by the reference clock for two cycles by comparing the phase of the clock with the phase comparison unit that detects a lead / lag state and generates a phase comparison signal. When the same-code continuous state that is the same over the cycle is detected, the same-code detection unit that generates the same-code detection signal and the phase comparison signal output by the phase comparison unit are used. A reversible counter for counting a reference clock, wherein the reversible counter stops its operation when the same sign detection section detects the same sign continuity of the output data. is there.

【0035】第2の本発明は、上記課題を解決するため
に、第1の本発明のビット同期回路において、さらに、
前記位相比較信号と、前記可逆カウンタのカウント値
と、に基づき前記可逆カウンタのリセット及びロードを
制御する制御信号を生成する制御部、を含み、前記可逆
カウンタは、前記制御信号に基づいて動作することを特
徴とするビット同期回路である。
In order to solve the above problems, a second aspect of the present invention is the bit synchronization circuit of the first aspect of the present invention, further comprising:
A control unit that generates a control signal that controls resetting and loading of the reversible counter based on the phase comparison signal and a count value of the reversible counter, and the reversible counter operates based on the control signal. It is a bit synchronization circuit characterized by the above.

【0036】第3の本発明は、上記課題を解決するため
に、第2の本発明のビット同期回路において、前記制御
部はさらに、前記可逆カウンタの計数動作を制御する制
御信号を生成し、前記可逆カウンタは、前記制御信号に
基づいて、計数動作と共にリセット及びロード動作を行
うことを特徴とするビット同期回路である。
In order to solve the above-mentioned problems, a third aspect of the present invention is the bit synchronization circuit of the second aspect of the present invention, wherein the control section further generates a control signal for controlling the counting operation of the reversible counter, The reversible counter is a bit synchronizing circuit characterized by performing a reset operation and a load operation together with a counting operation based on the control signal.

【0037】第4の本発明は、上記課題を解決するため
に、第1、2、3の本発明のビット同期回路において、
さらに、前記受信データと前記出力データとのそれぞれ
の変化点を検出し、それぞれのデータ変化点が検出され
たタイミングで立ち上がる受信データ変化点位相信号お
よび出力データ変化点位相信号を生成する変化点検出部
と、前記受信データ変化点位相信号および前記出力デー
タ変化点位相信号に基づき、前記受信データに挿入した
遅延量が1周期分となったことを検出した場合に、1周
期検出信号を生成する1周期検出部と、を含み、前記制
御部は、前記位相比較信号と、前記1周期検出信号と、
前記可逆カウンタのカウント値と、に基づき、前記可逆
カウンタの動作を制御する制御信号を生成し、前記制御
信号は、前記1周期検出信号が出力されている場合に前
記可逆カウンタをリセットすることを特徴とするビット
同期回路である。
In order to solve the above problems, a fourth aspect of the present invention provides a bit synchronization circuit according to the first, second and third aspects of the present invention,
Further, a change point detection for detecting respective change points of the reception data and the output data, and generating a reception data change point phase signal and an output data change point phase signal which rise at the timing when the respective data change points are detected. Section, the one cycle detection signal is generated when it is detected that the delay amount inserted in the received data is one cycle based on the received data change point phase signal and the output data change point phase signal. A 1-cycle detection unit, wherein the control unit includes the phase comparison signal, the 1-cycle detection signal,
A control signal for controlling the operation of the reversible counter is generated based on the count value of the reversible counter, and the control signal resets the reversible counter when the one-cycle detection signal is output. It is a characteristic bit synchronization circuit.

【0038】第5の本発明は、上記課題を解決するため
に、第4の本発明のビット同期回路において、前記位相
比較部は、前記変化点検出部において生成された出力デ
ータ変化点位相信号と前記基準クロックとに基づいて、
前記出力データの位相と前記基準クロックとの位相を比
較して進み/遅れ状態を検出し、前記位相比較信号を生
成することを特徴とするビット同期回路である。
In order to solve the above-mentioned problems, a fifth aspect of the present invention is the bit synchronization circuit of the fourth aspect of the present invention, wherein the phase comparison section outputs the output data change point phase signal generated by the change point detection section. And based on the reference clock
The bit synchronization circuit is characterized in that the phase of the output data is compared with the phase of the reference clock to detect a lead / lag state, and the phase comparison signal is generated.

【0039】第6の本発明は、上記課題を解決するため
に、第4の本発明のビット同期回路において、前記位相
比較部は、前記可変遅延部において生成された出力デー
タと基準クロックとに直接基づいて、前記出力データの
位相と前記基準クロックとの位相を比較して進み/遅れ
状態を検出し、前記位相比較信号を生成することを特徴
とするビット同期回路である。
In order to solve the above-mentioned problems, a sixth aspect of the present invention is the bit synchronizing circuit of the fourth aspect of the present invention, wherein the phase comparison section uses the output data generated in the variable delay section and a reference clock. The bit synchronization circuit is characterized by directly comparing the phase of the output data with the phase of the reference clock to detect a lead / lag state and generating the phase comparison signal.

【0040】第7の本発明は、上記課題を解決するため
に、出力データと、基準クロックとの位相関係に基づ
き、受信データの位相を制御し、基準クロックの位相に
同期化した出力データを出力するビット同期回路におい
て、前記受信データに挿入する遅延量を可逆カウンタの
カウント値に基づき変化させ前記出力データを生成する
可変遅延部と、前記受信データと前記出力データとのそ
れぞれの変化点を検出し、それぞれのデータ変化点が検
出されたタイミングで立ち上がる受信データ変化点位相
信号および出力データ変化点位相信号を生成する変化点
検出部と、前記出力データの位相と前記基準クロックの
位相とを比較して進み/遅れ状態を検出して位相比較信
号を生成する位相比較部と、前記受信データ変化点位相
信号および前記出力データ変化点位相信号に基づき、前
記受信データに挿入した遅延量が1周期分となったこと
を検出した場合に、1周期検出信号を生成する1周期検
出部と、前記出力データを前記基準クロックによって2
周期に亘って識別し、前記出力データの値が2周期に亘
って同一である同符号連続状態を検出した場合に、同符
号検出信号を生成する同符号検出部と、前記位相比較信
号と、前記1周期検出信号と、前記可逆カウンタのカウ
ント値と、に基づき、前記可逆カウンタの動作を制御す
る制御信号を生成する制御部と、前記制御信号に基づき
動作を行い、前記同符号検出部によって出力データの同
符号連続を検出した場合には動作を停止する前記可逆カ
ウンタと、を含むことを特徴とするビット同期回路であ
る。
In order to solve the above problems, the seventh aspect of the present invention controls the phase of received data on the basis of the phase relationship between output data and a reference clock, and outputs output data synchronized with the phase of the reference clock. In the bit synchronization circuit for outputting, a variable delay unit that changes the delay amount to be inserted in the received data based on the count value of a reversible counter to generate the output data, and a change point of each of the received data and the output data are set. A change point detection unit that detects a received data change point phase signal and an output data change point phase signal that rise at the timing when each data change point is detected; and a phase of the output data and a phase of the reference clock. A phase comparison unit for comparing and detecting a lead / lag state to generate a phase comparison signal, the received data change point phase signal and the output Based on the data change point phase signal, when detecting that the delay amount inserted in the received data has reached one cycle, a one cycle detection unit for generating a one cycle detection signal, and the output data as the reference 2 by clock
A homo-code detection unit that generates a homo-code detection signal when a homo-code continuation state in which the value of the output data is the same over two cycles is detected, and the phase comparison signal; A control unit that generates a control signal that controls the operation of the reversible counter based on the one-cycle detection signal and the count value of the reversible counter, and an operation that is performed based on the control signal. And a reversible counter that stops its operation when the same sign continuity of output data is detected, and a bit synchronization circuit.

【0041】第8の本発明は、上記課題を解決するため
に、第1又は7の本発明のビット同期回路において、前
記基準クロックを逓倍して逓倍クロックを生成する逓倍
部、を含み、前記可変遅延部は、前記逓倍クロックを用
いて、逓倍クロックの1周期分の遅延時間を1単位とす
る可変遅延を発生し、受信データに挿入する遅延量を前
記可逆カウンタのカウンタ値に基づいて変化させて出力
データを生成することを特徴とするビット同期回路であ
る。
In order to solve the above-mentioned problems, an eighth aspect of the present invention includes, in the bit synchronization circuit of the first or seventh aspect of the present invention, a multiplication section for multiplying the reference clock to generate a multiplied clock. The variable delay unit uses the multiplied clock to generate a variable delay in which the delay time for one cycle of the multiplied clock is one unit, and changes the delay amount to be inserted into the received data based on the counter value of the reversible counter. The bit synchronization circuit is characterized by generating output data.

【0042】第9の本発明は、上記課題を解決するため
に、第1又は7の本発明のビット同期回路において、前
記基準高速クロックを分周して基準クロックを生成する
分周部、を含み、前記可変遅延部は、前記基準高速クロ
ックを用いて、基準高速クロックの1周期分の遅延時間
を1単位とする可変遅延を発生し、受信データに挿入す
る遅延量を前記可逆カウンタのカウンタ値に基づいて変
化させて出力データを生成することを特徴とするビット
同期回路である。
In order to solve the above-mentioned problems, a ninth aspect of the present invention provides a bit synchronizing circuit according to the first or seventh aspect of the present invention, which further comprises a frequency divider for dividing the reference high-speed clock to generate a reference clock. The variable delay unit generates a variable delay using the reference high-speed clock as a unit with a delay time corresponding to one cycle of the reference high-speed clock, and inserts a delay amount into the received data into a counter of the reversible counter. It is a bit synchronization circuit characterized in that output data is generated by changing it based on a value.

【0043】第10の本発明は、上記課題を解決するた
めに、出力データと基準クロックとの位相関係に基づい
て、受信データの位相を制御し、基準クロックの位相に
同期化したデータを出力するビット同期方法において、
以下の工程を含むことを特徴とするビット同期方法であ
る。
In order to solve the above problems, the tenth aspect of the present invention controls the phase of received data based on the phase relationship between output data and a reference clock and outputs data synchronized with the phase of the reference clock. In the bit synchronization method
A bit synchronization method characterized by including the following steps.

【0044】すなわち、(a)前記受信データに挿入す
る遅延量を可逆カウンタのカウント値に基づいて、変化
させ、出力データを生成する可変遅延挿入工程と、
(b)出力データの位相と基準クロックの位相を比較し
て位相比較信号を生成する位相比較工程と、(d)出力
データを基準クロックによって2周期に亘って識別して
出力データの同符号連続を検出し、同符号連続検出時に
は、可逆カウンタの動作を停止する同符号連続検出工程
と、を含むものである。
That is, (a) a variable delay insertion step of changing the delay amount to be inserted into the received data based on the count value of the reversible counter to generate output data,
(B) a phase comparison step of generating a phase comparison signal by comparing the phase of the output data with the phase of the reference clock; and (d) identifying the output data by the reference clock for two cycles and continuously outputting the same sign of the output data. And a homo-code continuity detection step of stopping the operation of the reversible counter at the time of homo-code continuity detection.

【0045】第11の本発明は、上記課題を解決するた
めに、第10の本発明のビット同期方法において、さら
に、以下の工程を含むことを特徴とするビット同期方法
である。
In order to solve the above problems, the 11th present invention is the bit synchronizing method according to the 10th present invention, which further includes the following steps.

【0046】すなわち、(a)受信データと出力データ
の変化点を検出し、受信データ変化点位相信号と出力デ
ータ変化点位相信号とを生成する変化点検出工程と、
(b)前記受信データ変化点位相信号と、前記出力デー
タ変化点位相信号とに基づいて、前記可変遅延挿入工程
において受信データに挿入した遅延量が1周期分となっ
たことを検出して1周期検出信号を生成する1周期検出
工程と、(c)前記位相比較信号と前記1周期検出信号
と前記可逆カウンタのカウント値と、に基づいて前記可
逆カウンタの動作を制御する制御工程と、を含むもので
ある。
That is, (a) a change point detecting step of detecting a change point of the received data and the output data and generating a received data change point phase signal and an output data change point phase signal,
(B) Based on the received data change point phase signal and the output data change point phase signal, it is detected that the delay amount inserted in the received data in the variable delay insertion step is one cycle, and 1 One cycle detection step of generating a cycle detection signal, and (c) a control step of controlling the operation of the reversible counter based on the phase comparison signal, the one cycle detection signal, and the count value of the reversible counter. It includes.

【0047】第12の本発明は、上記課題を解決するた
めに、第11の本発明のビット同期方法において、さら
に、以下の工程を含むことを特徴とするビット同期方法
である。
In order to solve the above problems, the twelfth aspect of the present invention is the bit synchronization method according to the eleventh aspect of the present invention, which further includes the following steps.

【0048】すなわち、(a)基準クロックを逓倍して
逓倍クロックを生成する基準クロック逓倍工程と、
(b)前記逓倍クロックを用いて、前記逓倍クロックの
1周期分の遅延時間を1単位とする可変遅延を発生し、
前記受信データに挿入する遅延量を前記可逆カウンタの
カウント値に基づいて変化させて前記出力データを生成
する可変遅延挿入工程と、を含むものである。
That is, (a) a reference clock multiplication step of multiplying a reference clock to generate a multiplied clock,
(B) Using the multiplied clock, a variable delay is generated with the delay time of one cycle of the multiplied clock as one unit,
A variable delay insertion step of changing the delay amount to be inserted into the received data based on the count value of the reversible counter to generate the output data.

【0049】第13の本発明は、上記課題を解決するた
めに、第11の本発明のビット同期方法において、さら
に、以下の工程を含むことを特徴とするビット同期方法
である。
In order to solve the above-mentioned problems, the 13th aspect of the present invention is the bit synchronization method according to the 11th aspect of the present invention, further including the following steps.

【0050】すなわち、(a)基準高速クロックを分周
して、基準クロックを生成する分周工程と、(b)前記
基準高速クロックを用いて、基準高速クロックの1周期
分の遅延時間を1単位とする可変遅延を発生し、前記受
信データに挿入する遅延量を前記可逆カウンタのカウン
ト値に基づいて変化させて前記出力データを生成する可
変遅延挿入工程と、を含むものである。
That is, (a) a dividing step of dividing the reference high-speed clock to generate the reference clock, and (b) using the reference high-speed clock, a delay time of one cycle of the reference high-speed clock is set to 1. A variable delay insertion step of generating a variable delay as a unit and changing the delay amount to be inserted into the received data based on the count value of the reversible counter to generate the output data.

【0051】[0051]

【作用】本発明の請求項1に係るビット同期回路は、出
力データと基準クロックとの位相を比較して受信データ
に挿入するべき遅延量を制御し、さらに、出力データ中
に同じ符号が連続して現れている場合すなわち同符号連
続時には、可逆カウンタの動作を停止し、基準クロック
に影響を及さずに基準クロックに同期化したデータを出
力する。
The bit synchronization circuit according to the first aspect of the present invention controls the delay amount to be inserted into the received data by comparing the phases of the output data and the reference clock, and further, the same code is continuously present in the output data. When it appears, that is, when the same code continues, the operation of the reversible counter is stopped, and the data synchronized with the reference clock is output without affecting the reference clock.

【0052】本発明の請求項2に係るビット同期回路
は、可逆カウンタのリセット及びロード動作を行う。そ
のため、可逆カウンタの初期位相を設定する必要がな
い。
A bit synchronization circuit according to a second aspect of the present invention performs reset and load operations of a reversible counter. Therefore, it is not necessary to set the initial phase of the reversible counter.

【0053】本発明の請求項3に係るビット同期回路
は、可逆カウンタの計数動作と共に、リセット及びロー
ド動作をも制御している。そのため、可逆カウンタの初
期位相を設定する必要がなくなる。
The bit synchronizing circuit according to the third aspect of the present invention controls not only the counting operation of the reversible counter but also the reset and load operations. Therefore, it is not necessary to set the initial phase of the reversible counter.

【0054】本発明の請求項4に係るビット同期回路
は、可変遅延部において受信データに挿入される遅延量
が1周期分となった場合に可逆カウンタをリセットす
る。そのため、遅延素子において遅延時間のばらつきや
変動があった場合においても可変遅延を連続的に変化し
得る。
A bit synchronizing circuit according to a fourth aspect of the present invention resets the reversible counter when the delay amount inserted in the received data in the variable delay section is one cycle. Therefore, the variable delay can be continuously changed even when there is variation or fluctuation in the delay time in the delay element.

【0055】本発明の請求項5に係るビット同期回路
は、最適位相となるまで位相制御を行うことができる。
The bit synchronizing circuit according to the fifth aspect of the present invention can perform the phase control until the optimum phase is reached.

【0056】本発明の請求項6に係るビット同期回路
は、遅延素子を用いずに、出力データの位相と基準クロ
ックとの位相比較を行っている。そのため、位相比較結
果が遅延時間の変動の影響を受けないという特徴を有す
る。
In the bit synchronizing circuit according to the sixth aspect of the present invention, the phase of the output data and the phase of the reference clock are compared without using the delay element. Therefore, there is a feature that the phase comparison result is not affected by the fluctuation of the delay time.

【0057】本発明の請求項7に係るビット同期回路
は、出力データと基準クロックのそれぞれの位相を比較
し、受信データに挿入されるべき遅延量を制御する。さ
らに、出力データの中に同じ符号が連続して現れる場合
には、可逆カウンタの動作が停止される。次に、可変遅
延部において受信データに挿入している遅延量が丁度1
周期分となった事を検出し、この検出によって可逆カウ
ンタのリセット及びロード動作を制御する。そのため、
クロックに影響を及すことなく遅延素子において遅延時
間のばらつきや変動があった場合でも、可変遅延を連続
的に変化させることが可能である。
A bit synchronizing circuit according to a seventh aspect of the present invention compares the respective phases of the output data and the reference clock, and controls the delay amount to be inserted in the received data. Further, when the same code appears consecutively in the output data, the operation of the reversible counter is stopped. Next, the delay amount inserted in the received data in the variable delay unit is exactly 1
The fact that the number of cycles has been reached is detected, and the reset and load operations of the reversible counter are controlled by this detection. for that reason,
It is possible to continuously change the variable delay even if the delay element varies or fluctuates in the delay element without affecting the clock.

【0058】また、本発明の請求項8に係るビット同期
回路は、逓倍クロックの1周期分の遅延時間を1単位と
する可変遅延を発生して、受信データに挿入するので、
可変遅延を正確に与えることが可能である。
Since the bit synchronization circuit according to the eighth aspect of the present invention generates a variable delay in which the delay time of one cycle of the multiplied clock is one unit and inserts it into the received data,
It is possible to give the variable delay accurately.

【0059】本発明の請求項9に係るビット同期回路
は、基準高速クロックの1周期分の遅延時間を1単位と
する可変遅延を発生し、これを受信データに挿入する。
そのため、可変遅延を正確に与えることが可能である。
The bit synchronizing circuit according to claim 9 of the present invention generates a variable delay in which the delay time of one cycle of the reference high-speed clock is one unit, and inserts this into the received data.
Therefore, the variable delay can be accurately given.

【0060】本発明の請求項10に係るビット同期方法
においては、出力データと基準クロックとの位相を比較
して、受信データに挿入するべき遅延量を制御し、さら
に出力データの中に同一の符号が連続して現れる場合に
は可逆カウンタの動作を停止し、基準クロックに影響を
及さずに基準クロックに同期化したデータを出力し得
る。
In the bit synchronization method according to the tenth aspect of the present invention, the phases of the output data and the reference clock are compared with each other to control the delay amount to be inserted in the received data, and further the same in the output data. When the codes appear consecutively, the operation of the reversible counter can be stopped and the data synchronized with the reference clock can be output without affecting the reference clock.

【0061】本発明の請求項11に係るビット同期方法
は、受信データに挿入している遅延量が1周期分となっ
た場合に、可逆カウンタをリセットする。そのため、遅
延素子において遅延時間のばらつきや変動があった場合
においても可変遅延を連続的に変化させることが可能で
ある。
In the bit synchronization method according to the eleventh aspect of the present invention, the reversible counter is reset when the delay amount inserted in the received data is one cycle. Therefore, it is possible to continuously change the variable delay even when there is variation or fluctuation in the delay time in the delay element.

【0062】本発明の請求項12に係るビット同期方法
は、逓倍クロックの1周期分の遅延時間を1単位とする
可変遅延を発生し、受信データに挿入する。そのため、
正確な可変遅延を発生可能である。
According to the twelfth aspect of the present invention, the bit synchronization method generates a variable delay in which the delay time of one cycle of the multiplied clock is one unit and inserts it into the received data. for that reason,
A precise variable delay can be generated.

【0063】本発明の請求項13に係るビット同期方法
は、基準高速クロックの1周期分の遅延時間を1単位と
する可変遅延を発生し、受信データに挿入する。そのた
め、正確な可変遅延を発生することが可能である。
In the bit synchronization method according to the thirteenth aspect of the present invention, a variable delay having a delay time of one cycle of the reference high speed clock as one unit is generated and inserted into the received data. Therefore, it is possible to generate an accurate variable delay.

【0064】[0064]

【実施例】以下、本発明の好適な実施例を図面に基づい
て説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT A preferred embodiment of the present invention will be described below with reference to the drawings.

【0065】実施例1 本発明の好適な実施例であるビット同期回路の構成ブロ
ック図が図1に示されている。図1に示されているよう
に、可変遅延部1は、可逆カウンタ7が出力するカウン
ト信号14に基づいて、受信データ11に挿入するべき
遅延量を変化させ、出力データ13を生成する。変化点
検出部2は、出力データ13とを受信データ11との変
化点を検出し、データが変化する点のタイミングで立ち
上がる信号、すなわち出力データ変化点位相信号16
と、同様に受信データのデータ変化点で立ち上がる信号
である受信データ変化点位相信号17と、をそれぞれ生
成する。位相比較部3は、出力データ変化点位相信号1
6と、基準クロック12とから出力データ13と基準ク
ロック12との位相を比較する。この比較によって進み
/遅れ状態が検出され、位相比較信号18が生成され
る。1周期検出部4は、出力データ変化点位相信号16
と受信データ変化点位相信号17とに基づいて、可変遅
延部1における遅延量が1周期分となったことを検出
し、これを表す1周期検出信号19を出力する。同符号
検出部5は、出力データ13と基準クロック12とに基
づいて、出力データの同符号連続(同一の値を有する符
号が連続して現れること)を検出して同符号検出信号2
0を生成する。
Embodiment 1 FIG. 1 shows a block diagram of a bit synchronizing circuit which is a preferred embodiment of the present invention. As shown in FIG. 1, the variable delay unit 1 changes the delay amount to be inserted into the reception data 11 based on the count signal 14 output from the reversible counter 7 to generate the output data 13. The change point detection unit 2 detects a change point between the output data 13 and the received data 11 and rises at the timing of the point where the data changes, that is, the output data change point phase signal 16
Similarly, a reception data change point phase signal 17 which is a signal rising at the data change point of the reception data is generated. The phase comparison unit 3 outputs the output data change point phase signal 1
6 and the reference clock 12, the phases of the output data 13 and the reference clock 12 are compared. The lead / lag state is detected by this comparison, and the phase comparison signal 18 is generated. The 1-cycle detection unit 4 outputs the output data change point phase signal 16
It is detected that the delay amount in the variable delay unit 1 is one cycle based on the received data change point phase signal 17 and the one cycle detection signal 19 indicating this is output. The same code detection unit 5 detects, based on the output data 13 and the reference clock 12, the same code continuity (that consecutive codes having the same value appear consecutively) of the output data and detects the same code detection signal 2.
Generates 0.

【0066】一方、制御部6は、位相比較部3からの位
相比較信号18と1周期検出部4からの1周期検出信号
19と、さらに可逆カウンタ7が出力するカウント信号
14とに従って、可逆カウンタ7の計数動作を制御する
制御信号21を生成する。可逆カウンタ7は、この制御
部6が出力する制御信号21に基づいて、アップ/ダウ
ンカウント動作を行ってカウント信号14を出力するの
である。さらに、同符号検出部5が出力する同符号検出
信号20に基づいて、受信データの同符号連続検出時に
カウント動作を停止する。
On the other hand, the control unit 6 follows the phase comparison signal 18 from the phase comparison unit 3, the 1-cycle detection signal 19 from the 1-cycle detection unit 4, and the count signal 14 output from the reversible counter 7 in addition to the reversible counter. A control signal 21 for controlling the counting operation of 7 is generated. The reversible counter 7 performs up / down counting operation based on the control signal 21 output from the control unit 6 and outputs the count signal 14. Further, based on the homo-code detection signal 20 output by the homo-code detector 5, the counting operation is stopped when the homo-code consecutive detection of the received data is performed.

【0067】本実施例1のビット同期回路は、クロック
の位相を制御しないで、受信データの位相を制御して出
力データの位相を基準クロックの位相に同期化する方式
を採用している。この方式は多相データ型ビット同期方
式と呼ばれる。
The bit synchronizing circuit according to the first embodiment employs a method of controlling the phase of received data and synchronizing the phase of output data with the phase of the reference clock without controlling the phase of the clock. This method is called a multi-phase data type bit synchronization method.

【0068】図2には、本実施例1に係るビット同期回
路の具体的な回路構成を表す説明図である。特に、図2
に示されているように変化点検出部2、位相比較部3、
1周期検出部4、同符号検出部5について詳細な回路が
示されている。
FIG. 2 is an explanatory diagram showing a specific circuit configuration of the bit synchronization circuit according to the first embodiment. In particular, FIG.
As shown in, the change point detection unit 2, the phase comparison unit 3,
Detailed circuits are shown for the one-cycle detection unit 4 and the same code detection unit 5.

【0069】図2に示されているように、変化点検出部
2は、排他的論理和回路202によって出力データ13
と、遅延素子201によって出力データにT/2の遅延
を挿入したデータとの排他的論理和を取り、出力データ
13の立ち上がり及び立ち下がり変化点を検出すること
によって出力データ変化点位相信号16を生成する。こ
こで、Tは、1クロック周期を表す。さらに、変化点検
出部2は、排他的論理和回路204によって受信データ
11と、遅延素子203によって受信データにT/2の
遅延を挿入したデータとの排他的論理和をとることによ
って、受信データ11の立ち上がり及び立ち下がり変化
点を検出する。この変化点を検出することによって変化
点検出部2は受信データ変化点位相信号17を生成して
いる。この出力データ変化点位相信号16と、受信デー
タ変化点位相信号17とは、データが変化するタイミン
グで立ち上がり、そのパルス幅が遅延素子201及び2
03の持つ遅延時間によって定められている信号であ
る。
As shown in FIG. 2, the change point detection unit 2 outputs the output data 13 by the exclusive OR circuit 202.
And the data obtained by inserting T / 2 delay in the output data by the delay element 201 and detecting the rising and falling transition points of the output data 13 to output the output data transition point phase signal 16 To generate. Here, T represents one clock cycle. Further, the change point detection unit 2 takes the exclusive OR of the received data 11 by the exclusive OR circuit 204 and the data obtained by inserting a delay of T / 2 into the received data by the delay element 203 to obtain the received data. The rising and falling change points of 11 are detected. By detecting this change point, the change point detection unit 2 generates the reception data change point phase signal 17. The output data change point phase signal 16 and the received data change point phase signal 17 rise at the timing of data change, and the pulse widths thereof are the delay elements 201 and 2.
This is a signal determined by the delay time of 03.

【0070】また、図2に示されているように、位相比
較部3は、上記変化点検出部2が出力する出力データ変
化点位相信号16をフリップフロップ301、302で
それぞれ基準クロック12及びその反転クロックによっ
て取り込み、フリップフロップ304で位相を揃えて位
相比較信号181、182をそれぞれ生成する。この位
相比較信号181、182の値の組合わせによって進み
/遅れ状態がそれぞれ表される。例えば、位相比較信号
181、182がそれぞれ(181、182)=(H、
L)である場合には基準クロック12の位相が出力デー
タ13に対して進んでいることを表す。一方、これらの
信号が(181、182)=(L、H)である場合に
は、基準クロック12の位相が出力データ13に対して
遅れている場合を表す。
Further, as shown in FIG. 2, the phase comparator 3 outputs the output data change point phase signal 16 output from the change point detector 2 in the flip-flops 301 and 302 respectively to the reference clock 12 and its reference clock 12. The phase comparison signals 181 and 182 are generated by fetching with the inverted clock and aligning the phases with the flip-flop 304. The combination of the values of the phase comparison signals 181 and 182 represents the lead / lag states, respectively. For example, the phase comparison signals 181 and 182 are (181, 182) = (H,
L) indicates that the phase of the reference clock 12 leads the output data 13. On the other hand, when these signals are (181, 182) = (L, H), it means that the phase of the reference clock 12 is behind the output data 13.

【0071】さらに、1周期検出部4は、フリップフロ
ップ401、402によって受信データ変化点位相信号
17の立ち上がりタイミングで、出力データ変化点位相
信号16を2周期に亘って識別する。さらに、1周期検
出部4はフリップフロップ401とフリップフロップ4
02のそれぞれの正相出力の論理和をとることによっ
て、1周期検出信号19を生成している。この1周期検
出信号19は、受信データ変化点位相信号17の立ち上
がり時に、出力データ変化点位相信号16の立ち上がり
が検出された場合には、1周期の間だけ「L」レベルと
なる信号である。
Further, the one-cycle detecting section 4 identifies the output data change point phase signal 16 for two cycles at the rising timing of the received data change point phase signal 17 by the flip-flops 401 and 402. Further, the one-cycle detection unit 4 includes the flip-flop 401 and the flip-flop 4
The one-cycle detection signal 19 is generated by taking the logical sum of the respective positive-phase outputs of 02. The one-cycle detection signal 19 is a signal that becomes "L" level only for one cycle when the rising edge of the output data change point phase signal 16 is detected at the rising edge of the reception data change point phase signal 17. .

【0072】同符号検出部5は、フリップフロップ50
1、502を用いて基準クロックによって出力データ1
3を2周期に亘って識別する。すなわち、出力データ1
3の2周期に亘るそれぞれの値がフリップフロップ50
1及び502に保持され、各フリップフロップの出力信
号の排他的論理和がとられるのである。これによって、
出力データ13の同符号連続が検出し得る。上記排他的
論理和がとられることによって、同符号検出信号20が
生成され、この同符号検出信号20は2周期に亘る出力
データ13が同符号である場合に「L」となる信号であ
る。
The same code detection unit 5 includes a flip-flop 50.
Output data 1 by reference clock using 1 and 502
Identify 3 over two cycles. That is, output data 1
Each value over 2 cycles of 3 is the flip-flop 50
1 and 502 hold the exclusive OR of the output signals of each flip-flop. by this,
The same sign continuity of the output data 13 can be detected. By taking the exclusive OR, the same-code detection signal 20 is generated, and this same-code detection signal 20 is a signal that becomes “L” when the output data 13 over two cycles has the same code.

【0073】制御部6は、位相比較部3が出力する位相
比較信号181、182と、1周期検出部4が出力する
1周期検出信号19と、さらに可逆カウンタ7が出力す
るカウント信号14とに基づいて、可逆カウンタ7の計
数動作を制御する制御信号21を生成する。制御信号2
1は、位相比較信号181、182の組合わせが(H、
L)である場合には進み状態であるのでカウントダウン
を示す信号となる。一方、位相比較信号181、182
の組合わせが(L、H)である場合には遅れ状態である
のでカウントアップを示す信号である。さらに、制御信
号21は、遅れ状態であり、かつ1周期検出部4におい
て、1周期であることが検出された場合には、可逆カウ
ンタ7のカウント信号14の値を0にするリセット動作
を表し、進み状態でかつカウント信号14の値が0であ
る場合にはカウント信号14を予め設定した値にセット
するロードを表す信号である。
The control unit 6 outputs the phase comparison signals 181, 182 output by the phase comparison unit 3, the 1-cycle detection signal 19 output by the 1-cycle detection unit 4, and the count signal 14 output by the reversible counter 7. Based on this, the control signal 21 for controlling the counting operation of the reversible counter 7 is generated. Control signal 2
1 is a combination of the phase comparison signals 181 and 182 (H,
In the case of L), since it is in the advanced state, it becomes a signal indicating a countdown. On the other hand, the phase comparison signals 181, 182
When the combination is (L, H), it is a signal indicating a count up because it is in a delayed state. Further, the control signal 21 represents a reset operation for setting the value of the count signal 14 of the reversible counter 7 to 0 when it is in a delayed state and the 1-cycle detection unit 4 detects 1 cycle. , In the advanced state and when the value of the count signal 14 is 0, it is a signal indicating a load for setting the count signal 14 to a preset value.

【0074】可逆カウンタ7は、制御部6が出力する制
御信号21と、同符号検出部5が出力する同符号検出信
号20とに基づいて、カウント動作を行う。すなわち、
出力データ13中において同符号連続非検出時(出力デ
ータ13中に同位他の値を有する符号が連続して検出さ
れない場合)にはアップウント、ダウンカウント、リセ
ット、ロードなどの計数動作を行うのである。このよう
な計数動作の結果可逆カウンタ7はカウント信号14を
出力する。また、同符号検出部5において同符号連続
(出力データ13中において、同一の値を有する符号が
連続して検出された場合)には、可逆カウンタ7は計数
動作を停止する。
The reversible counter 7 performs a counting operation based on the control signal 21 output by the control unit 6 and the same code detection signal 20 output by the same code detection unit 5. That is,
When the same code continuity is not detected in the output data 13 (when the codes having the same value as the other values are not continuously detected in the output data 13), counting operations such as up-down, down-count, reset, and load are performed. is there. As a result of such counting operation, the reversible counter 7 outputs a count signal 14. When the same-code detection unit 5 continues the same code (when the codes having the same value are continuously detected in the output data 13), the reversible counter 7 stops the counting operation.

【0075】可変遅延部1の構成が図3に示されてい
る。図3に示されているように、デコーダ101は、可
逆カウンタ7が出力するカウント信号14に基づいてデ
コード信号を生成する。セレクタ100には、このデコ
ード信号に基づいて遅延素子103を通過した入力信号
と、通過していない入力信号(すなわち、遅延が挿入さ
れた入力信号と、遅延が挿入されていない入力信号)と
のいずれかの信号を選択する。このようにして、受信デ
ータ11に挿入される遅延量は制御され、出力データ1
3として最終的に出力される。すなわち、カウント信号
14の値が増加した場合には遅延時間が増加され、出力
データ13の位相は遅らせられる。一方、カウント信号
14の値が減少した場合には、遅延時間が減少され、出
力データ13の位相は進まされる。
The structure of the variable delay unit 1 is shown in FIG. As shown in FIG. 3, the decoder 101 generates a decode signal based on the count signal 14 output by the reversible counter 7. The selector 100 receives an input signal that has passed through the delay element 103 based on this decoded signal, and an input signal that has not passed (that is, an input signal with a delay inserted and an input signal with no delay inserted). Select either signal. In this way, the delay amount inserted in the received data 11 is controlled, and the output data 1
3 is finally output. That is, when the value of the count signal 14 increases, the delay time is increased and the phase of the output data 13 is delayed. On the other hand, when the value of the count signal 14 is decreased, the delay time is decreased and the phase of the output data 13 is advanced.

【0076】図4には、図2に示されているビット同期
回路の動作を表すタイムチャートが示されている。図4
に示されているように、カウント信号14が例えばiで
ある場合に受信データ11に対し出力データ13が図4
に示されているような遅延状態である場合に、基準クロ
ック12に基づいて、変化点検出部2において出力デー
タ13に基づき出力データ変化点位相信号16が生成さ
れる。この出力データ変化点位相信号16は、図4に示
されているような値になる。位相比較部3においては、
出力データ変化点位相信号16の値を、基準クロック1
2を基準にして識別を行い、さらに位相比較信号18
1、182の組合わせが(181、182)=(L、
H)であることから遅れ状態であることが検出される。
FIG. 4 is a time chart showing the operation of the bit synchronization circuit shown in FIG. FIG.
As shown in FIG. 4, when the count signal 14 is i, for example, the received data 11 and the output data 13 are shown in FIG.
In the case of the delay state as shown in (1), the change point detector 2 generates the output data change point phase signal 16 based on the output data 13 based on the reference clock 12. The output data change point phase signal 16 has a value as shown in FIG. In the phase comparison unit 3,
The value of the output data change point phase signal 16 is set to the reference clock 1
2 is used as a reference, and the phase comparison signal 18
The combination of 1, 182 is (181, 182) = (L,
Since it is H), the delay state is detected.

【0077】この場合に、可逆カウンタ7は、遅れ状態
が検出されているため、初期状態iから順次カウントア
ップ動作を行う。この結果、可変遅延部1はこのカウン
ト信号14に基づいて、受信データ11に挿入する遅延
量を増加させ出力データ13を順次遅延させていく。こ
のようにして、可逆カウンタ7がカウントアップを行
い、カウント信号14がi+3になると、位相比較部3
においては位相比較信号181と182との組合わせが
(181、182)=(H、L)となるため(図4参
照)、進み状態が検出される。このように進み状態であ
ることが検出されると、可逆カウンタ7は次にカウント
ダウンの動作を行う。すなわち、図4に示されているよ
うに、カウント信号はi+3からi+2、i+1という
ように順次カウントダウンが行われる。可変遅延部1
は、このカウント信号14に基づいて、受信データ11
に挿入する遅延量を順次減少させていく。このようにし
て、カウント信号14が順次カウントダウンされ、図4
に示されているようにiになった場合には、位相比較信
号181、182は再び進み状態を表す。その結果、可
逆カウンタ7は再びカウントアップ動作を行い、以降は
このような動作の繰返しが行われ、その結果同期状態が
保持されるのである。
In this case, the reversible counter 7 sequentially counts up from the initial state i because the delayed state is detected. As a result, the variable delay unit 1 increases the delay amount to be inserted into the received data 11 based on the count signal 14 and sequentially delays the output data 13. In this way, when the reversible counter 7 counts up and the count signal 14 becomes i + 3, the phase comparator 3
In, since the combination of the phase comparison signals 181 and 182 is (181, 182) = (H, L) (see FIG. 4), the advance state is detected. When the advance state is detected in this way, the reversible counter 7 then performs a countdown operation. That is, as shown in FIG. 4, the count signal is sequentially counted down from i + 3 to i + 2, i + 1. Variable delay unit 1
On the basis of the count signal 14
The amount of delay to be inserted into is gradually decreased. In this way, the count signal 14 is sequentially counted down,
When it becomes i as shown in (1), the phase comparison signals 181 and 182 represent the advanced state again. As a result, the reversible counter 7 performs the count-up operation again, and thereafter, such operations are repeated, and as a result, the synchronized state is held.

【0078】図5には、図2に示されている1周期検出
部4の動作を説明するタイムチャートが示されている。
図5に示されているように、まず出力データ変化点位相
信号16の遅延量が増加し、受信データ変化点位相信号
17の立ち上がりが、出力データ変化点位相信号16の
立ち上がりより早く立ち上がるようになると、フリップ
フロップ401の出力は「H」から「L」に変化する。
次に、フリップフロップ402の出力はこのフリップフ
ロップ401の出力より1周期遅れて「L」から「H」
となる。従って、フリップフロップ401と402との
出力の論理和をとることによって、1周期分だけ「L」
となる1周期検出信号19が生成される(図5参照)。
FIG. 5 shows a time chart for explaining the operation of the 1-cycle detecting section 4 shown in FIG.
As shown in FIG. 5, first, the delay amount of the output data change point phase signal 16 is increased so that the rising edge of the reception data change point phase signal 17 rises earlier than the rising edge of the output data change point phase signal 16. Then, the output of the flip-flop 401 changes from "H" to "L".
Next, the output of the flip-flop 402 is delayed from the output of the flip-flop 401 by one cycle and goes from "L" to "H".
Becomes Therefore, by taking the logical sum of the outputs of the flip-flops 401 and 402, "L" is obtained for one cycle.
One cycle detection signal 19 is generated (see FIG. 5).

【0079】このようして、本実施例においては、出力
データと基準クロックとの位相を比較して受信データに
挿入するべき遅延量を制御した。さらに出力データの同
符号連続時には可逆カウンタの動作を停止し、可変遅延
部において受信データに挿入している遅延量が1周期分
となったことを検出して可逆カウンタのリセット及びロ
ード動作を制御した。その結果、クロックに影響を及す
ことがなく、遅延素子において遅延時間のばらつきや変
動があった場合においても可変遅延を連続的に変化させ
ることができ、さらに出力データが最適な位相となるま
で位相制御を行うことができる。その結果、後段の回路
に影響を及さず、かつ同期が保持された状態での位相余
裕を大きくすることができ、安定動作可能なビット同期
動作が実現される。
In this way, in this embodiment, the phase of the output data and the reference clock are compared and the delay amount to be inserted in the received data is controlled. Further, the operation of the reversible counter is stopped when the output data has the same sign, and the variable delay unit detects that the delay amount inserted in the received data is one cycle and controls the reset and load operations of the reversible counter. did. As a result, the variable delay can be continuously changed without affecting the clock, even if there is variation or fluctuation in the delay time in the delay element, and the output data is in the optimum phase. Phase control can be performed. As a result, it is possible to increase the phase margin in the state where the synchronization is maintained without affecting the circuit in the subsequent stage, and the bit synchronous operation capable of stable operation is realized.

【0080】実施例2 上記実施例1においては、位相比較部3は変化点検出部
2が出力する出力データ変化点位相信号16を用いて位
相比較を行った。しかしながら、図6に示されているよ
うな、出力データ変化点出力信号16を用いずに、出力
データ13から直接位相比較を行うことも好適である。
図6には、このように出力データ13から直接位相比較
をする場合、すなわち本実施例2に係るビット同期回路
の構成ブロック図が示されている。
Second Embodiment In the first embodiment, the phase comparison unit 3 performs the phase comparison using the output data change point phase signal 16 output from the change point detection unit 2. However, it is also preferable to directly perform the phase comparison from the output data 13 without using the output data change point output signal 16 as shown in FIG.
FIG. 6 is a block diagram showing the configuration of the bit synchronizing circuit according to the second embodiment when the phase comparison is performed directly from the output data 13 as described above.

【0081】図6において、可変遅延部1と、変化点検
出部2と、1周期検出部4と、同符号検出部5と、及び
可逆カウンタ7とは上記実施例1の図1に示されている
ものに対応し、同様の動作を行う。
In FIG. 6, the variable delay unit 1, the change point detection unit 2, the one-cycle detection unit 4, the same code detection unit 5, and the reversible counter 7 are shown in FIG. 1 of the first embodiment. The same operation is performed according to the existing one.

【0082】位相比較部3aは、可変遅延部1が出力す
る出力データ13と、基準クロック12との位相を比較
することによって、進み/遅れ状態を検出し、この検出
結果である位相比較信号18aを生成する。制御部6
は、この位相比較部3aが出力する位相比較信号18a
と、1周期検出部4が出力する1周期検出信号19と、
さらに可逆カウンタ7が出力するカウント信号14とに
基づき、可逆カウンタ7の計数動作を制御する制御信号
21を生成する。
The phase comparator 3a detects the lead / lag state by comparing the phases of the output data 13 output from the variable delay unit 1 and the reference clock 12, and the phase comparison signal 18a which is the detection result. To generate. Control unit 6
Is the phase comparison signal 18a output by the phase comparison unit 3a.
And a 1-cycle detection signal 19 output by the 1-cycle detector 4,
Further, based on the count signal 14 output from the reversible counter 7, a control signal 21 for controlling the counting operation of the reversible counter 7 is generated.

【0083】位相比較部3aの詳細な回路図が図7に示
されている。図7に示されているように、位相比較部3
aは、可変遅延部1が出力する出力データ13をフリッ
プフロップ301、及び302でそれぞれ基準クロック
12及びその反転クロック(インバータ303によって
反転されたクロック)を基準として値を取り込む。取り
込まれた信号は、フリップフロップ304でそれぞれの
位相が揃えられた後、フリップフロップ301と304
との出力信号の排他的論理和が、XORゲート305に
おいて取られることによって、位相比較信号18aが生
成される。この位相比較信号18aは、基準クロック1
2の位相が出力データ13に対して進んでいる場合には
「H」レベルの信号となり、一方基準クロック12の位
相が出力データ13に対して遅れている場合には「L」
レベルの信号となる。
A detailed circuit diagram of the phase comparison section 3a is shown in FIG. As shown in FIG. 7, the phase comparison unit 3
In a, the output data 13 output from the variable delay unit 1 is fetched by the flip-flops 301 and 302 with the reference clock 12 and its inverted clock (the clock inverted by the inverter 303) as the reference. The fetched signals have their respective phases aligned by the flip-flops 304, and then the flip-flops 301 and 304.
The exclusive OR of the output signals of and is taken in the XOR gate 305 to generate the phase comparison signal 18a. This phase comparison signal 18a is the reference clock 1
When the phase of 2 is ahead of the output data 13, it becomes an "H" level signal, while when the phase of the reference clock 12 is behind the output data 13, it is "L".
It becomes a level signal.

【0084】制御部6は、位相比較部3aが出力する位
相比較信号18aと、1周期検出部4が出力する1周期
検出信号19と、さらに可逆カウンタ7が出力するカウ
ント信号14に基づいて、可逆カウンタ7の計数動作を
制御する制御信号21を生成する。この制御信号21
は、位相比較信号18aが「H」である場合には進み状
態であるのでカウントダウンを示す信号となる。一方、
位相比較信号18aが「L」である場合には、遅れ状態
であるので、制御信号21はカウントアップを示す信号
となる。さらにこの制御信号21は、遅れ状態であり、
かつ1周期検出部において1周期を検出された場合に、
可逆カウンタ7のカウント信号14を0にリセットする
ことを表す信号となり、一方、進み状態でかつカウント
信号14が0である場合にはこのカウント信号14を予
め設定した値にセットするロードを表す信号となる。
Based on the phase comparison signal 18a output by the phase comparison unit 3a, the 1-cycle detection signal 19 output by the 1-cycle detection unit 4, and the count signal 14 output by the reversible counter 7, the control unit 6 A control signal 21 for controlling the counting operation of the reversible counter 7 is generated. This control signal 21
When the phase comparison signal 18a is "H", it indicates a countdown because it is in the advanced state. on the other hand,
When the phase comparison signal 18a is "L", the control signal 21 is a signal indicating a count up because it is in the delayed state. Further, this control signal 21 is in a delayed state,
And when one cycle is detected by the one cycle detection unit,
A signal indicating that the count signal 14 of the reversible counter 7 is reset to 0. On the other hand, when the count signal 14 is in the advanced state and the count signal 14 is 0, a signal indicating a load for setting the count signal 14 to a preset value. Becomes

【0085】このようにして、本実施例においては、変
化点検出部が出力する出力データ変化点位相信号を用い
ずに、直接に位相比較を行うことによって、変化点検出
部における遅延のばらつき及び環境条件の変化などによ
る遅延時間変動の位相比較結果への影響を除去すること
が可能となる。そのため、同期保持状態における位相余
裕がより大きくかつ安定したものとすることが可能であ
る。
In this way, in this embodiment, by directly performing phase comparison without using the output data change point phase signal output from the change point detection section, the delay variation in the change point detection section and the It is possible to eliminate the influence of delay time fluctuations on the phase comparison result due to changes in environmental conditions. Therefore, the phase margin in the synchronized holding state can be made larger and stable.

【0086】実施例3 上記実施例1においては、可変遅延部1は、受信データ
11に挿入する遅延量を複数の遅延素子を用いて変化さ
せることによって出力データ13を生成していた。しか
しながら、図8に示されるように、遅延素子を用いず
に、逓倍部を設けて基準クロックのn倍(nは正の整
数)の周波数を有する逓倍クロックを用いて遅延を与え
る構成とすることも好適である。図8には、逓倍部8が
出力する逓倍クロックを用いて遅延量が設定される可変
遅延部1aを用いたビット同期回路の構成ブロック図が
示されている。
Third Embodiment In the first embodiment, the variable delay section 1 generates the output data 13 by changing the delay amount to be inserted in the received data 11 using a plurality of delay elements. However, as shown in FIG. 8, a delay unit is not used, and a multiplying unit is provided to provide a delay by using a multiplying clock having a frequency n times (n is a positive integer) the reference clock. Is also suitable. FIG. 8 shows a block diagram of a configuration of a bit synchronization circuit using the variable delay unit 1a in which the delay amount is set by using the multiplication clock output from the multiplication unit 8.

【0087】図8において、逓倍部8は、例えばPLL
(Phase Locked Loop)などの逓倍回
路によって構成され、基準クロック12を入力し、基準
クロックに位相同期した基準クロック12のn倍の周波
数を有する逓倍クロック22を生成する。可変遅延部1
aは、例えばシフトレジスタなどによって構成され、逓
倍部8が出力する逓倍クロック22に基づき、受信デー
タ11に逓倍クロック22の1周期を1単位とした可変
遅延時間を挿入し、出力データ13を生成する。図8に
示されているビット同期回路のその他の構成及び動作
は、上記図1に示されているものと同様である。
In FIG. 8, the multiplication unit 8 is, for example, a PLL.
A reference clock 12 is input, which is composed of a multiplier circuit such as (Phase Locked Loop), and a multiplied clock 22 having a frequency n times that of the reference clock 12 phase-synchronized with the reference clock is generated. Variable delay unit 1
a is composed of, for example, a shift register, and based on the multiplication clock 22 output from the multiplication unit 8, a variable delay time in which one cycle of the multiplication clock 22 is set as one unit is inserted into the reception data 11 to generate the output data 13. To do. Other configurations and operations of the bit synchronization circuit shown in FIG. 8 are the same as those shown in FIG.

【0088】このように、本実施例3においては、遅延
素子を用いずに逓倍クロックを用いて受信データ11に
対して遅延時間を与えた。そのため、可変遅延時間を正
確に信号に与えることができるので、遅延のばらつきや
環境条件の変化などによる遅延時間の変動の影響を除去
することが可能である。
As described above, in the third embodiment, the delay time is given to the received data 11 by using the multiplied clock without using the delay element. Therefore, since the variable delay time can be accurately given to the signal, it is possible to remove the influence of the fluctuation of the delay time due to the variation of the delay or the change of the environmental condition.

【0089】実施例4 上記実施例3においては、逓倍部8を設け、逓倍クロッ
ク22を用いて一定の遅延時間を与えていた。しかしな
がら、図9に示されているように、逓倍クロックを用い
ずに、基準高速クロックを用いて遅延を与え、さらに分
周部を設けて基準高速クロックから基準クロックを生成
する構成とすることも好適である。図9には、基準高速
クロックを用いてから遅延を与え、さらに基準クロック
としてはこの基準高速クロックを分周部9によって分周
された信号を用いた場合のビット同期回路の構成ブロッ
ク図が示されている。
Fourth Embodiment In the third embodiment, the multiplication unit 8 is provided and a constant delay time is given by using the multiplication clock 22. However, as shown in FIG. 9, it is also possible to use a reference high-speed clock to give a delay without using a multiplied clock, and to further provide a frequency divider to generate the reference clock from the reference high-speed clock. It is suitable. FIG. 9 shows a block diagram of the configuration of a bit synchronization circuit in the case where a delay is given after using a reference high-speed clock, and a signal obtained by dividing the reference high-speed clock by a frequency divider 9 is used as the reference clock. Has been done.

【0090】図9において、可変遅延部1aは、基準高
速クロック22aに基づいて、受信データ11に基準高
速クロック22aの1周期を1単位とした可変遅延を挿
入し、出力データ13を生成している。ここで、基準高
速クロック22aは、基準クロック12のn倍の周波数
を有するクロック信号である。
In FIG. 9, the variable delay unit 1a inserts a variable delay with one cycle of the reference high-speed clock 22a as one unit into the received data 11 based on the reference high-speed clock 22a to generate output data 13. There is. Here, the reference high-speed clock 22a is a clock signal having a frequency n times that of the reference clock 12.

【0091】また、分周部9は、基準高速クロック22
aを1/nに分周して、基準クロック12を生成する。
基準クロック12は、回路内の各部へ出力されると共
に、回路外へも出力されている。図9に示されているビ
ット同期回路において、その他の構成は上記図1に示さ
れているビット同期回路の構成と同様であり、その動作
も同様である。
Further, the frequency dividing section 9 uses the reference high speed clock 22.
The reference clock 12 is generated by dividing a by 1 / n.
The reference clock 12 is output to each part in the circuit and also to the outside of the circuit. In the bit synchronization circuit shown in FIG. 9, the other configurations are the same as the configurations of the bit synchronization circuit shown in FIG. 1, and the operation is also the same.

【0092】このようにして、本実施例4においては、
逓倍クロックを用いずに、基準高速クロックを用いて遅
延時間を信号に与えた。そのため、可変遅延を正確に与
えることができ、遅延ばらつきや環境条件の変化などに
よる遅延時間変動の影響を除去することが可能となる。
Thus, in the fourth embodiment,
The delay time was given to the signal using the reference high-speed clock without using the multiplied clock. Therefore, the variable delay can be accurately given, and the influence of the delay time variation due to the delay variation or the change of the environmental condition can be removed.

【0093】実施例5 本発明の他の一実施例のビット同期回路の構成ブロック
図が図10に示されている。図10に示されているよう
に、可変遅延部1bは、受信データ11を入力し、多相
化部104で、種々の遅延時間を与えられた複数の信号
を生成している。多相化部104は、T/n(ここで、
Tは1クロック周期、nは正の整数を表す)の遅延時間
を1単位として、1〜nまでのn通りの遅延を与えられ
たn個の遅延データ15を生成している。セレクタ10
2は、可逆カウンタ7が出力するカウント信号14に基
づいて、n個の遅延データ15のうち1つの遅延データ
を選択して、出力データ13を出力する。
Embodiment 5 FIG. 10 shows a block diagram of the configuration of a bit synchronization circuit according to another embodiment of the present invention. As shown in FIG. 10, the variable delay unit 1b inputs the reception data 11, and the polyphase conversion unit 104 generates a plurality of signals given various delay times. The multi-phase conversion unit 104 uses T / n (where,
T is one clock cycle, and n is a positive integer). The delay time is 1 unit, and n delay data 15 to which n kinds of delays of 1 to n are given are generated. Selector 10
2 selects one of the n delay data 15 based on the count signal 14 output from the reversible counter 7 and outputs the output data 13.

【0094】一方、位相比較部3bは、出力データ13
の位相と基準クロック12の位相とを比較し、その比較
結果である位相比較信号18bを生成する。同符号検出
部5は、出力データ13と、基準クロック12とに基づ
き、出力データ13が同一の値を有する符号を連続して
出力していることを検出する。そして、この検出結果で
ある同符号検出信号20を生成する。可逆カウンタ7
は、位相比較部3bが出力する位相比較信号18bに基
づき、計数動作を行い、カウント信号14を出力してい
る。さらに、同符号検出部5が出力する同符号検出信号
20に基づき、出力データ13の同符号連続検出時(出
力データ13中に同一の値を有する符号が連続して現れ
たことが検出された場合)にはカウント動作が停止され
る。
On the other hand, the phase comparator 3b outputs the output data 13
Of the reference clock 12 is compared with the phase of the reference clock 12 to generate a phase comparison signal 18b which is the comparison result. The same code detection unit 5 detects, based on the output data 13 and the reference clock 12, that the output data 13 continuously outputs a code having the same value. Then, the same sign detection signal 20 which is the detection result is generated. Reversible counter 7
Performs a counting operation based on the phase comparison signal 18b output from the phase comparison unit 3b and outputs the count signal 14. Further, based on the homo-code detection signal 20 output from the homo-code detection unit 5, when homo-code continuity detection of the output data 13 (codes having the same value appearing continuously in the output data 13 is detected. In this case, the counting operation is stopped.

【0095】この実施例5に係るビット同期回路は、基
準クロックを可逆カウンタ7のクロック入力として、一
定の遅延時間が挿入された後のデータから可逆カウンタ
の制御を行っている。そのため、受信データの位相を制
御して出力データの位相を基準クロックの位相に同期化
する方式が採用されている。
In the bit synchronizing circuit according to the fifth embodiment, the reference clock is used as the clock input of the reversible counter 7, and the reversible counter is controlled from the data after a certain delay time is inserted. Therefore, a method of controlling the phase of the received data and synchronizing the phase of the output data with the phase of the reference clock is adopted.

【0096】図11には、本実施例5に係るビット同期
回路の具体的な回路構成を表す回路図が示されている。
可変遅延部1bは、受信データ11を入力し、多相化部
104においてT/nの遅延時間を有するn個の遅延素
子によって、n通りの遅延(1/n〜n/n)を与えら
れた複数の遅延データ15が生成されている。
FIG. 11 is a circuit diagram showing a concrete circuit configuration of the bit synchronization circuit according to the fifth embodiment.
The variable delay unit 1b receives the received data 11 and is given n kinds of delays (1 / n to n / n) by n delay elements having a delay time of T / n in the multi-phase conversion unit 104. A plurality of delay data 15 are generated.

【0097】位相比較部3bは、可変遅延部1bから出
力される出力データ13と、この出力データ13に遅延
素子によってT/2の遅延を挿入されたデータとの排他
的論理和をとる。この排他的論理和のデータを、フリッ
プフロップ303において基準クロック12に基づきサ
ンプリングし、この反転出力を位相比較信号18bとし
て外部に出力する。この位相比較信号18bは、基準ク
ロック12の立ち上がりのタイミングが、出力データ1
3のデータの値の変化点からT/2の時間範囲に存在す
る場合には「L」となり、基準クロック12の位相が出
力データ13の位相に対して進んでいることを示す。一
方、位相比較信号18bは、基準クロック12の立ち上
がりのタイミングが出力データ13の変化点に先行する
T/2の時間範囲内に存在する場合には「H」となり、
基準クロック12の位相が出力データ13の位相に対し
て遅れていることを表す。
The phase comparison unit 3b takes the exclusive OR of the output data 13 output from the variable delay unit 1b and the data obtained by inserting a delay of T / 2 into the output data 13 by a delay element. The data of the exclusive OR is sampled by the flip-flop 303 based on the reference clock 12, and the inverted output is output to the outside as the phase comparison signal 18b. In the phase comparison signal 18b, when the rising edge of the reference clock 12 is the output data 1
When it exists in the time range of T / 2 from the change point of the data value of 3, it becomes “L”, which indicates that the phase of the reference clock 12 leads the phase of the output data 13. On the other hand, the phase comparison signal 18b becomes "H" when the rising timing of the reference clock 12 is within the time range of T / 2 preceding the change point of the output data 13,
This indicates that the phase of the reference clock 12 is behind the phase of the output data 13.

【0098】同符号検出部5はフリップフロップ50
1、502を用いて出力データ13の値を2周期に亘っ
て識別する。すなわち、直列に接続されているフリップ
フロップ501、502には順次連続した出力データ1
3のデータが保持されるのである。そして、フリップフ
ロップ501と502のそれぞれの出力信号の排他的論
理和をとることによって、出力データ13の同符号連続
が検出されるのである。なお、この排他的論理和の信号
は同符号検出信号20と呼ばれる。
The same code detection unit 5 is a flip-flop 50.
The value of the output data 13 is identified using 1 and 502 over two cycles. That is, the output data 1 that is consecutively output to the flip-flops 501 and 502 that are connected in series.
The data of 3 are retained. Then, by taking the exclusive OR of the output signals of the flip-flops 501 and 502, the same sign continuity of the output data 13 is detected. The exclusive OR signal is called the same code detection signal 20.

【0099】可逆カウンタ7は、位相比較部3bが出力
する位相比較信号18bと、同符号検出部5が出力する
同符号検出信号20に基づいてカウントアップ、カウン
トダウンなどの計数動作を行い、カウント信号14を出
力する。この可逆カウンタ7は、基準クロック12によ
って、動作するが、出力データ13の同符号連続非検出
時(出力データ13に同じ値の符号が連続して現れてい
ない場合)には、上記カウントアップやカウントダウン
の計数動作を行うが、同符号検出部5において同符号連
続が検出された場合には計数動作が停止される。
The reversible counter 7 performs counting operations such as counting up and counting down based on the phase comparison signal 18b output from the phase comparison unit 3b and the same code detection signal 20 output from the same code detection unit 5, and outputs the count signal. 14 is output. The reversible counter 7 operates according to the reference clock 12, but when the output data 13 does not continuously detect the same code (when the output data 13 does not continuously have the same code), the count up or The counting operation of the countdown is performed, but when the same code continuation is detected by the same code detection unit 5, the counting operation is stopped.

【0100】次に、図12に基づき、図11に示されて
いるビット同期回路の動作について説明する。図12に
は、この図11に示されるビット同期回路の動作を表す
タイムチャートが示されている。
The operation of the bit synchronization circuit shown in FIG. 11 will be described with reference to FIG. FIG. 12 is a time chart showing the operation of the bit synchronization circuit shown in FIG.

【0101】受信データ11に対して上述したようにn
個の遅延データ15が生成される。カウント信号14の
値がiである場合に、例えば出力データ13が図12に
示されているような遅延状態である場合について説明す
る。ここで、基準クロック12が入力されると、まず基
準クロック12の立ち上がりが出力データ13の変化点
の前T/2の範囲(変化点に先行するT/2の時間範
囲)にあるため、位相比較信号18bは、「H」とな
る。次に、可逆カウンタ7は、カウント信号14がiの
状態からカウントアップをして行き、位相比較信号18
bが「H」である間はこのカウントアップ動作を続行す
る。この結果、カウント信号14は順次増加することに
なる。
As described above for the received data 11, n
The individual delay data 15 are generated. A case where the value of the count signal 14 is i and the output data 13 is in the delay state as shown in FIG. 12 will be described. Here, when the reference clock 12 is input, first, the rise of the reference clock 12 is within the range of T / 2 before the change point of the output data 13 (the time range of T / 2 preceding the change point), The comparison signal 18b becomes "H". Next, the reversible counter 7 counts up from the state where the count signal 14 is i, and the phase comparison signal 18
This count-up operation is continued while b is "H". As a result, the count signal 14 sequentially increases.

【0102】次に、セレクタ102は、カウント信号1
4に基づき、順番に次の遅延データを選択して行く。カ
ウント信号14がi+2となった場合には、出力データ
13の変化点位置が基準クロック12の立ち下がりを越
えて(基準クロック12の立ち下がりの後に出力データ
13が立ち下がる)、この結果位相比較信号18bが
「L」となる。可逆カウンタ7は、位相比較信号18b
が「L」となった後、最初の基準クロック12の立ち上
がりタイミングからカウントダウンを行う。このカウン
トダウンによって、カウント信号14は順次減少する。
セレクタ102は、カウント信号14に基づき、順番に
1つ前の遅延データを選択して行く。
Next, the selector 102 outputs the count signal 1
Based on 4, the next delay data is sequentially selected. When the count signal 14 becomes i + 2, the change point position of the output data 13 exceeds the fall of the reference clock 12 (the output data 13 falls after the fall of the reference clock 12), and as a result, the phase comparison is performed. The signal 18b becomes "L". The reversible counter 7 has a phase comparison signal 18b.
Becomes "L", the countdown is performed from the first rising timing of the reference clock 12. Due to this countdown, the count signal 14 sequentially decreases.
The selector 102 sequentially selects the immediately preceding delay data based on the count signal 14.

【0103】カウント信号14が、減少を繰り返し、そ
の値がi+1になると(図12参照)、出力データ13
の変化点の位置が基準クロック12の立ち下がりのタイ
ミングを越え(立ち下がりより早くなり)、位相比較信
号18bが「H」となる。そして、カウント信号14の
値がiになった場合に、可逆カウンタ7は再びカウント
アップの動作を開始する。以後、可逆カウンタ7は、カ
ウントアップとカウントダウンの動作を交互に繰り返
し、一定の同期状態を保持する(図12参照)。
When the count signal 14 repeatedly decreases and its value becomes i + 1 (see FIG. 12), the output data 13
, The phase comparison signal 18b becomes “H”. Then, when the value of the count signal 14 becomes i, the reversible counter 7 starts counting up again. After that, the reversible counter 7 alternately repeats the count-up operation and the count-down operation to maintain a constant synchronization state (see FIG. 12).

【0104】このように、本実施例5においては、位相
比較部3bにおいて出力データと基準クロックの双方の
位相を比較して、可変遅延部1bにおいて受信データに
挿入される遅延量が制御されている。さらに、同符号検
出部5において、出力データの同符号連続(同一の値を
有する符号が2周期連続して現れること)が検出された
場合には、可逆カウンタ7の動作が停止し、基準クロッ
クに影響を及さずに、この基準クロックに同期化したデ
ータを出力することが可能となる。その結果、簡易な構
成によって、後段の回路に影響を及すことがなく安定動
作が可能なビット同期回路が実現可能である。
As described above, in the fifth embodiment, the phase comparison unit 3b compares the phases of both the output data and the reference clock, and the variable delay unit 1b controls the delay amount inserted in the received data. There is. Further, when the same-code detector 5 detects that the output data has the same-code continuity (two codes having the same value appear consecutively in two cycles), the operation of the reversible counter 7 is stopped and the reference clock It is possible to output data synchronized with the reference clock without affecting the above. As a result, with a simple configuration, it is possible to realize a bit synchronization circuit that can be stably operated without affecting the circuit in the subsequent stage.

【0105】実施例6 上述した実施例5において、可逆カウンタ7は、その外
部に制御部を設け、この可逆カウンタ7のリセット及び
ロードを制御するように構成することも好適である。こ
のように、可逆カウンタ7の制御部を設けた構成が図1
3に示されている。
Sixth Embodiment In the fifth embodiment described above, it is also preferable that the reversible counter 7 is provided with a control unit outside the reversible counter 7 to control resetting and loading of the reversible counter 7. As described above, the configuration in which the control unit of the reversible counter 7 is provided is shown in FIG.
3 is shown.

【0106】図13に示されているように、可変遅延部
1bと、同符号検出部5と、位相比較部3bとは上記実
施例5において示した構成と同様のものである。制御部
6aは、位相比較部3bが出力する位相比較信号18b
と可逆カウンタ7からのカウント信号14に基づいて、
可逆カウンタ7のリセット及びロードを制御するための
制御信号21aを生成する。この制御信号21aは、出
力データ13に対する基準クロック12の位相が遅れ状
態であって、かつカウント信号14がセレクタ102に
おいてセレクタ102に対し最大の遅延を有する遅延デ
ータを選択させている場合に、可逆カウンタ7のカウン
ト信号14を0にリセットすることを表す。一方、出力
データ13の位相に対する基準クロックの位相が進み状
態であって、かつカウント信号14がその値が0である
場合には、カウント信号14を予め設定した値にセット
を行ういわゆるロードを表すことになる。可逆カウンタ
7は、位相比較部3bが出力する位相比較信号18b
と、同符号検出部5が出力する同符号検出信号20に基
づいて、動作を行い、カウント信号14を出力する。な
お、可逆カウンタ7は、上述した実施例1〜5と同様に
基準クロック12によって、動作を行い、また、同符号
検出部5において同符号連続が検出された場合にはその
計数動作を停止する。
As shown in FIG. 13, the variable delay section 1b, the same code detection section 5, and the phase comparison section 3b have the same configurations as those in the fifth embodiment. The control unit 6a uses the phase comparison signal 18b output by the phase comparison unit 3b.
And based on the count signal 14 from the reversible counter 7,
A control signal 21a for controlling resetting and loading of the reversible counter 7 is generated. The control signal 21a is reversible when the phase of the reference clock 12 with respect to the output data 13 is delayed and the count signal 14 causes the selector 102 to select the delayed data having the maximum delay in the selector 102. This means that the count signal 14 of the counter 7 is reset to 0. On the other hand, when the phase of the reference clock is advanced with respect to the phase of the output data 13 and the value of the count signal 14 is 0, this represents a so-called load for setting the count signal 14 to a preset value. It will be. The reversible counter 7 has a phase comparison signal 18b output by the phase comparison unit 3b.
Then, the operation is performed based on the same code detection signal 20 output from the same code detection unit 5, and the count signal 14 is output. The reversible counter 7 operates according to the reference clock 12 as in the first to fifth embodiments described above, and stops the counting operation when the same code continuation is detected by the same code detection unit 5. .

【0107】このようにして、本実施例6においては、
制御部6aを設け、可逆カウンタ7のリセット及びロー
ドを制御することによって、可逆カウンタ7の初期位相
を設定する必要がなく、可変遅延部1bの総遅延量は1
周期分の遅延があれば、可逆カウンタ7の初期位相に係
わらず同期化を行うことが可能となる。
Thus, in the sixth embodiment,
By providing the control unit 6a and controlling resetting and loading of the reversible counter 7, it is not necessary to set the initial phase of the reversible counter 7, and the total delay amount of the variable delay unit 1b is 1
If there is a delay corresponding to a cycle, it becomes possible to perform synchronization regardless of the initial phase of the reversible counter 7.

【0108】実施例7 上記実施例6において可変遅延部1bは、多相化部10
4において受信データ11に挿入するべき遅延量を複数
の遅延素子を用いて変化させ複数の遅延データ15を生
成していた。しかし、図14に示されるように、複数の
遅延素子を用いずに、逓倍部を設けて基準クロックのn
倍(nは正の整数)の周波数を有する逓倍クロックを用
いて遅延を信号に与えることも好適である。図14に
は、このような逓倍部8が備えられたビット同期回路の
構成ブロック図が示されている。図14において、逓倍
部8は、基準クロック12を入力し、基準クロック12
に位相が同期した逓倍クロック22を生成する。この逓
倍クロック22は、基準クロック12のn倍の周波数を
もっている。可変遅延部1a内の多相化部105は、例
えばシフトレジスタなどによって構成され、逓倍部8が
出力する逓倍クロック22に基づき、受信データ11に
逓倍クロック22の1周期を1単位とするn通り(遅延
量が1〜n)の遅延を与えられたn個の遅延データ15
が生成される。
Seventh Embodiment In the sixth embodiment, the variable delay unit 1b includes the multi-phase conversion unit 10.
4, the delay amount to be inserted in the received data 11 is changed by using the plurality of delay elements to generate the plurality of delay data 15. However, as shown in FIG. 14, a multiplier is provided without using a plurality of delay elements, and
It is also preferable to add a delay to the signal using a multiplied clock having a frequency that is double (n is a positive integer). FIG. 14 shows a block diagram of the configuration of a bit synchronization circuit provided with such a multiplication unit 8. In FIG. 14, the multiplication unit 8 receives the reference clock 12 and inputs the reference clock 12
A multiplied clock 22 whose phase is synchronized with that is generated. The multiplied clock 22 has a frequency n times that of the reference clock 12. The multi-phase conversion unit 105 in the variable delay unit 1a is composed of, for example, a shift register or the like, and based on the multiplication clock 22 output from the multiplication unit 8, there are n types of one cycle of the multiplication clock 22 in the received data 11 N pieces of delay data 15 given a delay of (delay amount is 1 to n)
Is generated.

【0109】図4に示されているその他の構成及びその
構成の動作は、上記図13に示されているものと同様で
ある。
The other structure and the operation of the structure shown in FIG. 4 are similar to those shown in FIG.

【0110】このようにして、本実施例7においては、
複数の遅延素子を用いずに、逓倍クロックを用いてデー
タの多相化を可変遅延を正確に与えることが可能であ
る。そのため、遅延ばらつきや環境条件の変化などによ
る遅延時間の変動の影響を除去することが可能なビット
同期回路が得られる。
Thus, in the seventh embodiment,
It is possible to accurately provide variable delay for multiphase data using a multiplied clock without using a plurality of delay elements. Therefore, it is possible to obtain a bit synchronization circuit capable of eliminating the influence of delay time fluctuations due to delay variations and changes in environmental conditions.

【0111】実施例8 上記実施例7においては、逓倍部8を設けて逓倍クロッ
ク22を用いて遅延を与える場合が示されている。しか
し、図15に示されているように、逓倍クロックを用い
ずに、基準高速クロックを用いて遅延を与え、さらに分
周部を設けて基準高速クロックに基づき基準クロックを
生成する構成とすることも好適である。図15には、基
準高速クロックを多相化部105に与えて、さらに分周
部9を設け基準高速クロックからこの分周部9を用いて
基準クロック12を生成する構成を採用したビット同期
回路の構成ブロック図が示されている。
Eighth Embodiment In the seventh embodiment, a case is shown in which the multiplication unit 8 is provided and a delay is given by using the multiplication clock 22. However, as shown in FIG. 15, the reference high-speed clock is used to delay without using the multiplied clock, and a frequency division unit is further provided to generate the reference clock based on the reference high-speed clock. Is also suitable. FIG. 15 shows a bit synchronization circuit having a configuration in which the reference high-speed clock is applied to the multi-phase conversion unit 105, and the frequency dividing unit 9 is further provided to generate the reference clock 12 from the reference high-speed clock using the frequency dividing unit 9. The configuration block diagram of is shown.

【0112】図15において、可変遅延部1a内部の多
相化部105は、基準高速クロック22aに基づき、受
信データ11に対し、基準高速クロック22aの1周期
を1単位としたn通りの遅延を与えられた(1〜nの遅
延量が与えられた)遅延データ15が生成される。ここ
で、基準高速クロック22aは、基準クロック12のn
倍の周波数を有するクロック信号である。分周部9は、
基準高速クロック22aを1/nに分周し、基準クロッ
ク12を生成する。
In FIG. 15, the multi-phase conversion section 105 inside the variable delay section 1a delays the received data 11 by n kinds of one cycle of the reference high-speed clock 22a based on the reference high-speed clock 22a. The given delay data 15 (given the delay amount of 1 to n) is generated. Here, the reference high-speed clock 22a is n of the reference clock 12.
It is a clock signal having a doubled frequency. The frequency divider 9 is
The reference high-speed clock 22a is divided into 1 / n to generate the reference clock 12.

【0113】基準クロック12は、このビット同期回路
内の各部へ供給される信号であるが、この回路の外部へ
の同様に供給される。図15に示されているその他の構
成及びこのその他の構成の動作は、上記図13に示され
ているビット同期回路の各構成と同様である。
The reference clock 12 is a signal supplied to each part in the bit synchronizing circuit, but is similarly supplied to the outside of this circuit. The other configuration shown in FIG. 15 and the operation of this other configuration are the same as those of the bit synchronization circuit shown in FIG.

【0114】このようにして、本実施例8においては、
遅延素子を用いずに基準高速クロックを用いてデータの
多相化を行うことによって、、可変遅延を正確に与える
ことができるので、遅延ばらつきや環境条件の変化など
による遅延時間変動の影響を除去することが可能とな
る。
Thus, in the eighth embodiment,
By using the reference high-speed clock to multiphase the data without using a delay element, a variable delay can be accurately given, so the effects of delay time fluctuations due to delay variations and changes in environmental conditions are eliminated. It becomes possible to do.

【0115】[0115]

【発明の効果】以上述べたように、本発明に係るビット
同期回路及びビット同期方法においては、上述した各種
の構成を採用するので、以下に述べる効果を奏する。
As described above, in the bit synchronizing circuit and the bit synchronizing method according to the present invention, since the various configurations described above are adopted, the following effects can be obtained.

【0116】まず、位相比較部で出力データと基準クロ
ックとの位相を比較し、可変遅延部において受信データ
に挿入する遅延量を制御しまた同符号検出部においては
出力データの同符号連続を検出した場合には可逆カウン
タの動作を停止する。そのため、基準クロックに影響を
及さずに基準クロックに同期化した出力データを生成す
ることが可能となるため、簡易な構成で後段の回路に影
響を及さずに安定した動作が可能なビット同期回路を提
供可能である。
First, the phase comparator compares the phases of the output data and the reference clock, the variable delay unit controls the delay amount to be inserted in the received data, and the homo-code detector detects the homo-code continuity of the output data. If so, the operation of the reversible counter is stopped. Therefore, since it is possible to generate output data that is synchronized with the reference clock without affecting the reference clock, it is possible to perform stable operation without affecting the circuits in the subsequent stages with a simple configuration. A synchronization circuit can be provided.

【0117】また、制御部によって、可逆カウンタのリ
セット及びロード動作を制御するため、可逆カウンタの
初期位相を設定する必要がない。そのため、可変遅延部
内の総遅延量は1周期分の遅延で十分であり、1周期分
の遅延だけで、初期位相に係わらず出力データの位相を
基準クロックの位相に同期化することが可能となる。
Since the control unit controls the reset and load operations of the reversible counter, it is not necessary to set the initial phase of the reversible counter. Therefore, the total delay amount in the variable delay unit is enough to delay one cycle, and the delay of one cycle can synchronize the phase of the output data with the phase of the reference clock regardless of the initial phase. Become.

【0118】また、制御部によって可逆カウンタの計数
動作とともにリセット及びロード動作を制御している。
そのため、可逆カウンタの初期位相を設定する必要がな
く、可変遅延部内の総遅延量は1周期分の遅延があれ
ば、初期位相に係わらず出力データの位相を基準クロッ
クの位相に同期化することが可能である。
Further, the control unit controls the counting operation of the reversible counter and the reset and load operations.
Therefore, it is not necessary to set the initial phase of the reversible counter, and if the total delay amount in the variable delay unit has a delay of one cycle, the phase of the output data should be synchronized with the phase of the reference clock regardless of the initial phase. Is possible.

【0119】可変遅延部において受信データに挿入され
る遅延量が、1周期分となったことを1周期検出部が検
出した場合には、可逆カウンタをリセットしている。そ
のため、遅延素子において遅延時間のばらつきや変動が
あった場合においても、可変遅延は連続的に変化するの
で、安定した位相制御を行うことが可能である。
When the one-cycle detecting section detects that the delay amount inserted in the received data in the variable delay section is one cycle, the reversible counter is reset. Therefore, even if there is variation or fluctuation in the delay time in the delay element, the variable delay continuously changes, so that stable phase control can be performed.

【0120】また、位相比較部において、変化点検出部
から生成された出力データ変化点位相信号と基準クロッ
クとに基づき出力データの位相と基準クロックとの位相
を比較して進み/遅れ状態を検出する。そして、出力デ
ータと基準クロックとの位相関係が最適位相となるまで
位相制御を行うため、同期保持がなされた状態において
大きな位相余裕を得ることが可能である。
Further, in the phase comparison section, the lead / lag state is detected by comparing the phase of the output data and the phase of the reference clock based on the output data change point phase signal generated from the change point detection section and the reference clock. To do. Then, since the phase control is performed until the phase relationship between the output data and the reference clock becomes the optimum phase, it is possible to obtain a large phase margin in the state where the synchronization is maintained.

【0121】位相比較部において、可変遅延部によって
生成された出力データと基準クロックとから直接に出力
データの位相と基準クロックの位相とを比較して進み/
遅れ状態を検出している。そのため、遅延素子を用いず
に出力データの位相と基準クロックの位相比較を行って
いるため、位相比較結果における遅延時間変動の影響を
除去することが可能である。そのため、同期が保持され
た状態における位相余裕が大きくかつ安定した位相制御
を行うことができる。
In the phase comparison unit, the phase of the output data and the phase of the reference clock are directly compared from the output data generated by the variable delay unit and the reference clock to advance / advance.
The delay condition is detected. Therefore, since the phase of the output data and the phase of the reference clock are compared without using the delay element, it is possible to remove the influence of the delay time variation in the phase comparison result. Therefore, it is possible to perform stable phase control with a large phase margin in the state where synchronization is maintained.

【0122】また、出力データと基準クロックの位相を
比較し、受信データに挿入するべき遅延量を制御し、さ
らに出力データの同符号連続時(出力データ中に同一の
値を有する符号が連続して現れた場合)には可逆カウン
タの動作が停止され、可変遅延部において受信データに
挿入されている遅延量が1周期分となったことを検出し
可逆カウンタのリセット及びロード動作が制御されてい
る。その結果、クロックに影響を及すことがなく、遅延
素子において遅延時間のばらつきや変動があった場合に
おいても可変遅延を連続的に変化させることができる。
さらに、出力データが最適位相となるまで位相制御を行
うので、後段の回路に影響を及すことがない。その結
果、同期保持状態を維持したままで位相余裕が大きく、
安定動作が可能なビット同期回路を得ることができる。
Further, the phases of the output data and the reference clock are compared, the delay amount to be inserted in the received data is controlled, and when the same sign of the output data continues (the codes having the same value in the output data continue. The operation of the reversible counter is stopped, the variable delay unit detects that the delay amount inserted in the received data is one cycle, and the reset and load operations of the reversible counter are controlled. There is. As a result, the variable delay can be continuously changed without affecting the clock and even if the delay time varies or fluctuates in the delay element.
Further, since the phase control is performed until the output data has the optimum phase, the circuit in the subsequent stage is not affected. As a result, the phase margin is large while maintaining the synchronization hold state,
A bit synchronization circuit capable of stable operation can be obtained.

【0123】可変遅延部において逓倍クロックの1周期
分の遅延時間を1単位とする可変遅延時間を発生し、受
信データにこの時間遅延を挿入することによって、可変
遅延を正確に与えることが可能である。そのため、遅延
ばらつきや環境条件による遅延時間変動の影響を除去す
ることが可能となる。
By generating a variable delay time in which the delay time for one cycle of the multiplied clock is one unit in the variable delay unit and inserting this time delay in the received data, the variable delay can be accurately given. is there. Therefore, it is possible to eliminate the influence of delay variation and delay time variation due to environmental conditions.

【0124】また、可変遅延部で基準高速クロックの1
周期分の遅延時間を1単位とする可変遅延を発生し、受
信データに挿入するので、可変遅延を正確に与えること
が可能である。そのため、遅延ばらつきや環境条件によ
る遅延時間変動の影響を除去することが可能である。
In addition, the variable delay unit sets the reference high-speed clock to 1
Since a variable delay having a delay time of one cycle as one unit is generated and inserted into the received data, it is possible to give the variable delay accurately. Therefore, it is possible to eliminate the influence of delay variation and delay time variation due to environmental conditions.

【0125】また、出力データと、基準クロックとの位
相を比較し、受信データに挿入する遅延量を制御し、さ
らに出力データの同符号連続時(出力データ中に同一の
値を有する符号が連続して現れた場合)には、可逆カウ
ンタの動作を停止する。そのため、基準クロックに影響
を及さずに基準クロックに同期化したデータを出力する
方法が得られるので、後段の回路に影響を及さずに安定
動作が可能なビット同期動作を実現することが可能であ
る。受信データに挿入している遅延量が1周期分となっ
た場合に、可逆カウンタをリセットしている。そのた
め、遅延素子において遅延時間のばらつきや変動があっ
た場合においても、可変遅延を連続的に変化させる方法
が提供されるので、安定したビット同期動作を実現する
ことが可能である。
Further, the phases of the output data and the reference clock are compared with each other to control the delay amount to be inserted into the received data, and when the same sign of the output data is consecutive (the codes having the same value in the output data are consecutive). Then, the operation of the reversible counter is stopped. Therefore, a method of outputting data synchronized with the reference clock without affecting the reference clock can be obtained, so that it is possible to realize a bit-synchronous operation capable of stable operation without affecting the circuit in the subsequent stage. It is possible. The reversible counter is reset when the delay amount inserted in the received data is one cycle. Therefore, a method for continuously changing the variable delay is provided even when there is variation or fluctuation in the delay time in the delay element, so that stable bit synchronization operation can be realized.

【0126】また、逓倍クロックの1周期分の遅延時間
を1単位とする可変遅延を発生し、この遅延時間を受信
データに挿入することによって正確な可変遅延を発生す
る方法を提供している。そのため、遅延ばらつきや環境
条件による遅延時間の変動が生じない安定した可変遅延
を実現することが可能である。
Further, there is provided a method for generating an accurate variable delay by generating a variable delay in which the delay time for one cycle of the multiplied clock is one unit and inserting this delay time in the received data. Therefore, it is possible to realize a stable variable delay that does not cause variations in delay and variations in delay time due to environmental conditions.

【0127】基準高速クロックの1周期分の遅延時間を
1単位とする可変遅延を発生し、この可変遅延を受信デ
ータに挿入している。そのため、正確な可変遅延を発生
し得る方法が実現され、遅延ばらつきや環境条件による
遅延時間の変動が生じない安定した可変遅延を発生する
方法が提供可能である。
A variable delay is generated with the delay time of one cycle of the reference high-speed clock as one unit, and this variable delay is inserted into the received data. Therefore, a method that can generate an accurate variable delay is realized, and a method that generates a stable variable delay that does not cause a delay time variation due to delay variation or environmental conditions can be provided.

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

【図1】 本発明の実施例1のビット同期回路の構成ブ
ロック図である。
FIG. 1 is a configuration block diagram of a bit synchronization circuit according to a first embodiment of the present invention.

【図2】 図1に示されているビット同期回路の回路図
である。
FIG. 2 is a circuit diagram of the bit synchronization circuit shown in FIG.

【図3】 図1に示されている可変遅延部の回路図であ
る。
FIG. 3 is a circuit diagram of a variable delay unit shown in FIG.

【図4】 図2に示されているビット同期回路の動作を
説明するタイムチャートである。
FIG. 4 is a time chart explaining the operation of the bit synchronization circuit shown in FIG.

【図5】 図2に示されている1周期検出部の動作を説
明するタイムチャートである。
FIG. 5 is a time chart explaining the operation of the one-cycle detecting unit shown in FIG.

【図6】 実施例2のビット同期回路の構成ブロック図
である。
FIG. 6 is a configuration block diagram of a bit synchronization circuit according to a second embodiment.

【図7】 図6に示されているビット同期回路の位相比
較部の回路図である。
7 is a circuit diagram of a phase comparison unit of the bit synchronization circuit shown in FIG.

【図8】 本発明の実施例3に係るビット同期回路の構
成ブロック図である。
FIG. 8 is a configuration block diagram of a bit synchronization circuit according to a third embodiment of the present invention.

【図9】 本発明の実施例4であるビット同期回路の構
成ブロック図である。
FIG. 9 is a configuration block diagram of a bit synchronization circuit that is Embodiment 4 of the present invention.

【図10】 本発明の実施例5に係るビット同期回路の
構成ブロック図である。
FIG. 10 is a configuration block diagram of a bit synchronization circuit according to a fifth embodiment of the present invention.

【図11】 図10に示されているビット同期回路の回
路図である。
11 is a circuit diagram of the bit synchronization circuit shown in FIG.

【図12】 図11に示されているビット同期回路の動
作を説明するタイムチャートである。
12 is a time chart explaining the operation of the bit synchronization circuit shown in FIG.

【図13】 本発明の実施例6に係るビット同期回路の
構成ブロック図である。
FIG. 13 is a configuration block diagram of a bit synchronization circuit according to a sixth embodiment of the present invention.

【図14】 本発明の実施例7に係るビット同期回路の
構成ブロック図である。
FIG. 14 is a configuration block diagram of a bit synchronization circuit according to a seventh embodiment of the present invention.

【図15】 本発明の実施例8に係るビット同期回路の
構成ブロック図である。
FIG. 15 is a configuration block diagram of a bit synchronization circuit according to an eighth embodiment of the present invention.

【図16】 本発明の従来例1のビット同期回路の構成
ブロック図である。
FIG. 16 is a configuration block diagram of a bit synchronization circuit of Conventional Example 1 of the present invention.

【図17】 図16に示すビット同期回路の回路図であ
る。
FIG. 17 is a circuit diagram of the bit synchronization circuit shown in FIG.

【図18】 図16に示されている可変遅延部の回路図
である。
18 is a circuit diagram of the variable delay unit shown in FIG.

【図19】 図17に示されている従来例1のビット同
期回路の動作を説明するタイムチャートである。
FIG. 19 is a time chart explaining the operation of the bit synchronization circuit of Conventional Example 1 shown in FIG.

【図20】 従来例2のビット同期回路の構成ブロック
図である。
FIG. 20 is a configuration block diagram of a bit synchronization circuit of Conventional Example 2.

【図21】 図20に示されている従来例2の動作を説
明するタイムチャートである。
FIG. 21 is a time chart explaining the operation of Conventional Example 2 shown in FIG. 20.

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

1,1a,1b 可変遅延部、2,2a 変化点検出
部、3,3a,3b,3c 位相比較部、4,4a 1
周期検出部、5 同符号検出部、5a 同期判定部、6
a 制御部、7 可逆カウンタ、8 逓倍部、9 分周
部、11 受信データ、12 基準クロック、12b
出力クロック、13 出力データ、14カウント信号、
15 遅延データ、16 出力データ変化点位相信号、
17 受信データ変化点位相信号、18 位相比較信
号、19 1周期検出信号、20同符号検出信号、20
a 同期判定信号、21,21a 制御信号、22 逓
倍クロック、22a 基準高速クロック、23 受信ク
ロック、201,203遅延素子、202,204 E
XORゲート、301,302,304 フリップフロ
ップ、303 インバータ、401,402 フリップ
フロップ、403ORゲート、501,502 フリッ
プフロップ、503 EXORゲート、101 デコー
ダ、102 セレクタ、103 遅延素子、104 多
相化部、15 遅延データ、105 多相化部。
1, 1a, 1b variable delay unit, 2, 2a change point detection unit, 3, 3a, 3b, 3c phase comparison unit, 4, 4a 1
Cycle detection unit, homo-code detection unit, 5a synchronization determination unit, 6
a control unit, 7 reversible counter, 8 multiplication unit, 9 frequency division unit, 11 received data, 12 reference clock, 12b
Output clock, 13 output data, 14 count signal,
15 delay data, 16 output data change point phase signal,
17 reception data change point phase signal, 18 phase comparison signal, 19 1 cycle detection signal, 20 homo-code detection signal, 20
a sync determination signal, 21,21a control signal, 22 multiplication clock, 22a reference high-speed clock, 23 reception clock, 201, 203 delay element, 202, 204 E
XOR gate, 301, 302, 304 flip-flop, 303 inverter, 401, 402 flip-flop, 403 OR gate, 501, 502 flip-flop, 503 EXOR gate, 101 decoder, 102 selector, 103 delay element, 104 polyphase converter, 15 Delayed data, 105 Polymorphizer.

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 出力データと、基準クロックとの位相関
係に基づき、受信データの位相を制御し、基準クロック
の位相に同期化した出力データを出力するビット同期回
路において、 前記受信データに挿入する遅延量を可逆カウンタのカウ
ント値に基づき変化させ前記出力データを生成する可変
遅延部と、 前記出力データの位相と前記基準クロックの位相とを比
較して進み/遅れ状態を検出して位相比較信号を生成す
る位相比較部と、 前記出力データを前記基準クロックによって2周期に亘
って識別し、前記出力データの値が2周期に亘って同一
である同符号連続状態を検出した場合に、同符号検出信
号を生成する同符号検出部と、 前記位相比較部が出力する位相比較信号に基づき前記基
準クロックを計数する前記可逆カウンタと、 を含み、 前記可逆カウンタは、前記同符号検出部によって出力デ
ータの同符号連続を検出した場合には動作を停止するこ
とを特徴とするビット同期回路。
1. A bit synchronization circuit for controlling the phase of received data based on a phase relationship between output data and a reference clock and outputting output data synchronized with the phase of the reference clock, and inserting the bit into the received data. A variable delay unit that changes the delay amount based on the count value of the reversible counter to generate the output data, and a phase comparison signal by comparing the phase of the output data and the phase of the reference clock to detect a lead / lag state. And a phase comparison unit for generating the output data, the output data is identified by the reference clock over two cycles, and the same code continuous state in which the value of the output data is the same over two cycles is detected. And a reversible counter that counts the reference clock based on the phase comparison signal output by the phase comparison unit. The reversible counter stops its operation when the same-code detector detects the same-code continuity of the output data.
【請求項2】 請求項1記載のビット同期回路におい
て、さらに、 前記位相比較信号と、前記可逆カウンタのカウント値
と、に基づき前記可逆カウンタのリセット及びロードを
制御する制御信号を生成する制御部、 を含み、前記可逆カウンタは、前記制御信号に基づいて
動作することを特徴とするビット同期回路。
2. The bit synchronization circuit according to claim 1, further comprising a control unit that generates a control signal for controlling reset and load of the reversible counter based on the phase comparison signal and the count value of the reversible counter. And the reversible counter operates based on the control signal.
【請求項3】 請求項2記載のビット同期回路におい
て、前記制御部はさらに、 前記可逆カウンタの計数動作を制御する制御信号を生成
し、前記可逆カウンタは、前記制御信号に基づいて、計
数動作と共にリセット及びロード動作を行うことを特徴
とするビット同期回路。
3. The bit synchronization circuit according to claim 2, wherein the control unit further generates a control signal for controlling a counting operation of the reversible counter, and the reversible counter performs a counting operation based on the control signal. A bit synchronizing circuit characterized by performing reset and load operations together with the above.
【請求項4】 請求項1又は2又は3記載のビット同期
回路において、さらに、 前記受信データと前記出力データとのそれぞれの変化点
を検出し、それぞれのデータ変化点が検出されたタイミ
ングで立ち上がる受信データ変化点位相信号および出力
データ変化点位相信号を生成する変化点検出部と、 前記受信データ変化点位相信号および前記出力データ変
化点位相信号に基づき、前記受信データに挿入した遅延
量が1周期分となったことを検出した場合に、1周期検
出信号を生成する1周期検出部と、 を含み、 前記制御部は、前記位相比較信号と、前記1周期検出信
号と、前記可逆カウンタのカウント値と、に基づき、前
記可逆カウンタの動作を制御する制御信号を生成し、 前記制御信号は、前記1周期検出信号が出力されている
場合に前記可逆カウンタをリセットすることを特徴とす
るビット同期回路。
4. The bit synchronization circuit according to claim 1, 2 or 3, further, detecting respective change points of the reception data and the output data, and rising at the timing when the respective data change points are detected. A change point detection unit that generates a received data change point phase signal and an output data change point phase signal, and a delay amount inserted in the received data is 1 based on the received data change point phase signal and the output data change point phase signal. A cycle detection unit that generates a cycle detection signal when it is detected that the number of cycles is reached; and the control unit includes the phase comparison signal, the cycle detection signal, and the reversible counter. A control signal that controls the operation of the reversible counter is generated based on a count value, and the control signal is generated when the one-cycle detection signal is output. Bit synchronization circuit, characterized in that resetting the reversible counter.
【請求項5】 請求項4記載のビット同期回路におい
て、 前記位相比較部は、前記変化点検出部において生成され
た出力データ変化点位相信号と前記基準クロックとに基
づいて、前記出力データの位相と前記基準クロックとの
位相を比較して進み/遅れ状態を検出し、前記位相比較
信号を生成することを特徴とするビット同期回路。
5. The bit synchronization circuit according to claim 4, wherein the phase comparison unit is configured to output the phase of the output data based on the output data change point phase signal generated by the change point detection unit and the reference clock. And a reference clock are compared with each other to detect a lead / lag state, and the phase comparison signal is generated.
【請求項6】 請求項4記載のビット同期回路におい
て、 前記位相比較部は、前記可変遅延部において生成された
出力データと基準クロックとに直接基づいて、前記出力
データの位相と前記基準クロックとの位相を比較して進
み/遅れ状態を検出し、前記位相比較信号を生成するこ
とを特徴とするビット同期回路。
6. The bit synchronization circuit according to claim 4, wherein the phase comparison unit directly determines the phase of the output data and the reference clock based on the output data and the reference clock generated by the variable delay unit. The phase synchronization signal is generated by detecting the lead / lag state by comparing the phases of the bit synchronization circuits.
【請求項7】 出力データと、基準クロックとの位相関
係に基づき、受信データの位相を制御し、基準クロック
の位相に同期化した出力データを出力するビット同期回
路において、 前記受信データに挿入する遅延量を可逆カウンタのカウ
ント値に基づき変化させ前記出力データを生成する可変
遅延部と、 前記受信データと前記出力データとのそれぞれの変化点
を検出し、それぞれのデータ変化点が検出されたタイミ
ングで立ち上がる受信データ変化点位相信号および出力
データ変化点位相信号を生成する変化点検出部と、 前記出力データの位相と前記基準クロックの位相とを比
較して進み/遅れ状態を検出して位相比較信号を生成す
る位相比較部と、 前記受信データ変化点位相信号および前記出力データ変
化点位相信号に基づき、前記受信データに挿入した遅延
量が1周期分となったことを検出した場合に、1周期検
出信号を生成する1周期検出部と、 前記出力データを前記基準クロックによって2周期に亘
って識別し、前記出力データの値が2周期に亘って同一
である同符号連続状態を検出した場合に、同符号検出信
号を生成する同符号検出部と、 前記位相比較信号と、前記1周期検出信号と、前記可逆
カウンタのカウント値と、に基づき、前記可逆カウンタ
の動作を制御する制御信号を生成する制御部と、 前記制御信号に基づき動作を行い、前記同符号検出部に
よって出力データの同符号連続を検出した場合には動作
を停止する前記可逆カウンタと、 を含むことを特徴とするビット同期回路。
7. A bit synchronization circuit that controls the phase of received data based on the phase relationship between output data and a reference clock and outputs output data that is synchronized with the phase of the reference clock, and inserts it into the received data. A variable delay unit that changes the amount of delay based on the count value of a reversible counter to generate the output data, a change point of each of the received data and the output data, and a timing at which each data change point is detected. A change point detection unit that generates a reception data change point phase signal and an output data change point phase signal that rises at, and a lead / lag state is detected by comparing the output data phase and the reference clock phase, and phase comparison is performed. A phase comparison unit that generates a signal, and based on the received data change point phase signal and the output data change point phase signal, the reception A 1-cycle detection unit that generates a 1-cycle detection signal when it is detected that the delay amount inserted in the data has reached 1 cycle; and the output data is identified by the reference clock over 2 cycles, A homo-code detection section that generates a homo-code detection signal when a homo-code continuation state in which the value of the output data is the same over two cycles is detected; the phase comparison signal; A control unit that generates a control signal that controls the operation of the reversible counter based on the count value of the reversible counter; and an operation that is performed based on the control signal, and that the same code continuation of the output data is performed by the same code detection unit. A bit synchronization circuit, comprising: the reversible counter that stops operating when detected.
【請求項8】 請求項1又は7記載のビット同期回路に
おいて、 前記基準クロックを逓倍して逓倍クロックを生成する逓
倍部、 を含み、 前記可変遅延部は、前記逓倍クロックを用いて、逓倍ク
ロックの1周期分の遅延時間を1単位とする可変遅延を
発生し、受信データに挿入する遅延量を前記可逆カウン
タのカウンタ値に基づいて変化させて出力データを生成
することを特徴とするビット同期回路。
8. The bit synchronization circuit according to claim 1, further comprising: a multiplication unit that multiplies the reference clock to generate a multiplication clock, the variable delay unit using the multiplication clock. Variable synchronization in which the delay time for one cycle is generated as one unit, and the delay amount to be inserted into the received data is changed based on the counter value of the reversible counter to generate output data. circuit.
【請求項9】 請求項1又は7記載のビット同期回路に
おいて、 前記基準高速クロックを分周して基準クロックを生成す
る分周部、 を含み、 前記可変遅延部は、前記基準高速クロックを用いて、基
準高速クロックの1周期分の遅延時間を1単位とする可
変遅延を発生し、受信データに挿入する遅延量を前記可
逆カウンタのカウンタ値に基づいて変化させて出力デー
タを生成することを特徴とするビット同期回路。
9. The bit synchronization circuit according to claim 1, further comprising: a frequency divider that divides the reference high-speed clock to generate a reference clock, wherein the variable delay unit uses the reference high-speed clock. Then, a variable delay in which the delay time of one cycle of the reference high-speed clock is set as one unit is generated, and the delay amount to be inserted into the received data is changed based on the counter value of the reversible counter to generate the output data. Characteristic bit synchronization circuit.
【請求項10】 出力データと基準クロックとの位相関
係に基づいて、受信データの位相を制御し、基準クロッ
クの位相に同期化したデータを出力するビット同期方法
において、以下の工程を含むことを特徴とするビット同
期方法。 (a)前記受信データに挿入する遅延量を可逆カウンタ
のカウント値に基づいて、変化させ、出力データを生成
する可変遅延挿入工程、 (b)出力データの位相と基準クロックの位相を比較し
て位相比較信号を生成する位相比較工程、 (d)出力データを基準クロックによって2周期に亘っ
て識別して出力データの同符号連続を検出し、同符号連
続検出時には、可逆カウンタの動作を停止する同符号連
続検出工程。
10. A bit synchronization method for controlling a phase of received data based on a phase relationship between output data and a reference clock and outputting data synchronized with the phase of the reference clock, including the following steps. Characteristic bit synchronization method. (A) A variable delay insertion step of changing the delay amount to be inserted into the received data based on the count value of a reversible counter to generate output data, (b) comparing the phase of the output data with the phase of the reference clock. A phase comparison step of generating a phase comparison signal, (d) the output data is identified by a reference clock for two cycles to detect the same sign continuity of the output data, and the operation of the reversible counter is stopped when the same sign continuity is detected. Same sign continuous detection step.
【請求項11】 請求項10記載のビット同期方法にお
いて、さらに、以下の工程を含むことを特徴とするビッ
ト同期方法。 (a)受信データと出力データの変化点を検出し、受信
データ変化点位相信号と出力データ変化点位相信号とを
生成する変化点検出工程、 (b)前記受信データ変化点位相信号と、前記出力デー
タ変化点位相信号とに基づいて、前記可変遅延挿入工程
において受信データに挿入した遅延量が1周期分となっ
たことを検出して1周期検出信号を生成する1周期検出
工程、 (c)前記位相比較信号と前記1周期検出信号と前記可
逆カウンタのカウント値と、に基づいて前記可逆カウン
タの動作を制御する制御工程。
11. The bit synchronization method according to claim 10, further comprising the following steps. (A) a change point detecting step of detecting a change point of the received data and the output data and generating a received data change point phase signal and an output data change point phase signal; (b) the received data change point phase signal; A one-cycle detecting step of generating a one-cycle detection signal by detecting that the delay amount inserted in the received data in the variable delay inserting step is one cycle based on the output data change point phase signal; ) A control step of controlling the operation of the reversible counter based on the phase comparison signal, the one-cycle detection signal, and the count value of the reversible counter.
【請求項12】 請求項11記載のビット同期方法にお
いて、さらに、以下の工程を含むことを特徴とするビッ
ト同期方法。 (a)基準クロックを逓倍して逓倍クロックを生成する
基準クロック逓倍工程、 (b)前記逓倍クロックを用いて、前記逓倍クロックの
1周期分の遅延時間を1単位とする可変遅延を発生し、
前記受信データに挿入する遅延量を前記可逆カウンタの
カウント値に基づいて変化させて前記出力データを生成
する可変遅延挿入工程。
12. The bit synchronization method according to claim 11, further comprising the following steps. (A) a reference clock multiplication step of multiplying a reference clock to generate a multiplied clock; (b) using the multiplied clock, generating a variable delay having a delay time of one cycle of the multiplied clock as one unit;
A variable delay insertion step of generating the output data by changing a delay amount to be inserted into the received data based on a count value of the reversible counter.
【請求項13】 請求項11記載のビット同期方法にお
いて、さらに、以下の工程を含むことを特徴とするビッ
ト同期方法。 (a)基準高速クロックを分周して、基準クロックを生
成する分周工程、 (b)前記基準高速クロックを用いて、基準高速クロッ
クの1周期分の遅延時間を1単位とする可変遅延を発生
し、前記受信データに挿入する遅延量を前記可逆カウン
タのカウント値に基づいて変化させて前記出力データを
生成する可変遅延挿入工程。
13. The bit synchronization method according to claim 11, further comprising the following steps. (A) Dividing step of dividing the reference high-speed clock to generate the reference clock, (b) Using the reference high-speed clock, a variable delay in which the delay time of one cycle of the reference high-speed clock is set as one unit. A variable delay insertion step of generating the output data by changing a delay amount that is generated and inserted into the received data based on a count value of the reversible counter.
JP7122089A 1995-05-22 1995-05-22 Bit synchronization circuit, and bit synchronization method Pending JPH08316948A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7122089A JPH08316948A (en) 1995-05-22 1995-05-22 Bit synchronization circuit, and bit synchronization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7122089A JPH08316948A (en) 1995-05-22 1995-05-22 Bit synchronization circuit, and bit synchronization method

Publications (1)

Publication Number Publication Date
JPH08316948A true JPH08316948A (en) 1996-11-29

Family

ID=14827386

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7122089A Pending JPH08316948A (en) 1995-05-22 1995-05-22 Bit synchronization circuit, and bit synchronization method

Country Status (1)

Country Link
JP (1) JPH08316948A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4634605B2 (en) * 1998-03-12 2011-02-16 エルピーダメモリ株式会社 Data transmission system
US8401025B2 (en) 2010-04-28 2013-03-19 Lsi Corporation Windowing technique for adaptive clock recovery and other signal-processing applications
US8411705B2 (en) 2010-01-06 2013-04-02 Lsi Corporation Three-stage architecture for adaptive clock recovery
US8462819B2 (en) 2010-01-06 2013-06-11 Lsi Corporation Adaptive clock recovery with step-delay pre-compensation

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4634605B2 (en) * 1998-03-12 2011-02-16 エルピーダメモリ株式会社 Data transmission system
US8411705B2 (en) 2010-01-06 2013-04-02 Lsi Corporation Three-stage architecture for adaptive clock recovery
US8462819B2 (en) 2010-01-06 2013-06-11 Lsi Corporation Adaptive clock recovery with step-delay pre-compensation
US8401025B2 (en) 2010-04-28 2013-03-19 Lsi Corporation Windowing technique for adaptive clock recovery and other signal-processing applications

Similar Documents

Publication Publication Date Title
US6240152B1 (en) Apparatus and method for switching frequency modes in a phase locked loop system
CA1215750A (en) Digital phase correlator
EP0183875B1 (en) Clocked logic device
US6819153B2 (en) Semiconductor device for clock signals synchronization accuracy
US6349122B1 (en) Apparatus and method for data synchronizing and tracking
US4506175A (en) Digital phase comparator circuit producing sign and magnitude outputs
US5550878A (en) Phase comparator
KR100414864B1 (en) Digital Counter and Digital PLL Circuit
JPH08316948A (en) Bit synchronization circuit, and bit synchronization method
JP2805604B2 (en) Manchester code decoding device
JP2917522B2 (en) Clock synchronization method and circuit
EP0173521A2 (en) Automatic signal delay adjustment apparatus
JP2848800B2 (en) Serial digital signal sampling method
US7092471B2 (en) Digital phase synchronization circuit
JPS5957530A (en) Phase locked loop
US7321647B2 (en) Clock extracting circuit and clock extracting method
EP1385307B1 (en) Method and apparatus for synchronising multiple serial datastreams in parallel
US6614863B1 (en) Bit synchronization method and bit synchronization device
JP2001021596A (en) Comparator of binary signal and pll circuit using it
JP3159585B2 (en) Clock extraction circuit
KR100629519B1 (en) Apparatus for generating clock to receive data packet in intermitent and method therefor
JPH05243981A (en) Method and device for controlling operation mode for digital phased lock loop
JP2748875B2 (en) Clock extraction circuit
CN113765835A (en) Semiconductor device and decoding method
JP2919153B2 (en) Digital PLL circuit