JPH08130534A - Data transmission adaptive system and data transmitter provided with the system - Google Patents

Data transmission adaptive system and data transmitter provided with the system

Info

Publication number
JPH08130534A
JPH08130534A JP6290414A JP29041494A JPH08130534A JP H08130534 A JPH08130534 A JP H08130534A JP 6290414 A JP6290414 A JP 6290414A JP 29041494 A JP29041494 A JP 29041494A JP H08130534 A JPH08130534 A JP H08130534A
Authority
JP
Japan
Prior art keywords
clock
data
data transmission
transmission device
delay
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
JP6290414A
Other languages
Japanese (ja)
Inventor
Junichi Kato
潤一 加藤
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.)
Ando Electric Co Ltd
Original Assignee
Ando Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ando Electric Co Ltd filed Critical Ando Electric Co Ltd
Priority to JP6290414A priority Critical patent/JPH08130534A/en
Publication of JPH08130534A publication Critical patent/JPH08130534A/en
Pending legal-status Critical Current

Links

Landscapes

  • Dc Digital Transmission (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PURPOSE: To attain a data transmission adaptive system and a data transmitter provided with the adaptive system which can cope with high speed data transmission without being affected by a data transmitter or a transmission line on an opposite party side. CONSTITUTION: An oscillator 12 generates clocks. A receiver 10 receives data sent with a 1st clock from the oscillator 12 as a synchronizing clock. A difference detecting circuit 14 inputs the 1st clock and an n-fold clock obtained by multiplying the 1st clock by (n) and detects the delay or advance of the sent data by the use of the 1st clock and the n-fold clock. An adaptive circuit 16 inputs the 1st clock and the n-fold clock, inputs the delay or advance of data detected by a difference detecting circuit 14, generates a 2nd clock obtained by advancing or delaying the 1st clock within an n-fold frequency range based upon these inputted values, and sends the 2nd clock to the data transmitting side as a synchronizing clock.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はデータ伝送装置、より具
体的には装置間でデータを高速でやり取りするデータ伝
送装置のデータ伝送適応化に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transmission device, and more particularly to data transmission adaptation of a data transmission device for exchanging data at high speed between the devices.

【0002】[0002]

【従来の技術】データ伝送装置は、たとえばアナログ回
線網またはデジタル回線網を介して接続された他のデー
タ伝送装置と比較的高速で通信する場合、共通のクロッ
ク源からのクロックにより互いに同期をとりながらデー
タの送受信を行なっている。具体的には、データとクロ
ックを分けて伝送し、一方のデータ伝送装置からのクロ
ックに同期してデータ伝送が行われる。たとえば、CC
ITT勧告のV.24とX.21にはそれぞれアナログ
網とデジタル網におけるデータ回線終端装置間の相互回
路の定義が示されており、通常、この基準に従って端末
インタフェースの物理的条件、電気的条件、論理的条件
が決められている。
2. Description of the Related Art A data transmission apparatus synchronizes with another data transmission apparatus connected via, for example, an analog line network or a digital line network at a relatively high speed by synchronizing with each other by a clock from a common clock source. While transmitting and receiving data. Specifically, the data and the clock are transmitted separately, and the data transmission is performed in synchronization with the clock from one of the data transmission devices. For example, CC
V. ITT Recommendation 24 and X. 21 shows the definition of the mutual circuit between the data line terminators in the analog network and the digital network, respectively. Normally, the physical condition, the electrical condition and the logical condition of the terminal interface are determined according to this standard. .

【0003】図4はこのような従来技術におけるデータ
伝送装置のデータ伝送時の接続例を示したものである。
同図では、データ伝送装置4とデータ伝送装置2が伝送
路100を介して接続され、データ伝送装置4からのク
ロックに同期してデータ伝送装置2がデータ伝送を行う
場合が示されている。すなわち、データ伝送装置4の発
振器12より出力されるクロックをこの装置4の受信器
10とデータ伝送装置2の送信器に供給し、送信側と受
信側の同期をとることによりデータ伝送装置2からのデ
ータをデータ伝送装置4で受信している。このようにデ
ータ伝送を行う場合、同期クロックによりデータの送信
および受信タイミングを決定しているので、端末間のデ
ータ伝送において同期クロックは非常に重要な要素とな
っている。
FIG. 4 shows an example of connection in data transmission of a data transmission device in such a conventional technique.
In the figure, a case is shown in which the data transmission device 4 and the data transmission device 2 are connected via the transmission path 100, and the data transmission device 2 performs data transmission in synchronization with the clock from the data transmission device 4. That is, the clock output from the oscillator 12 of the data transmission device 4 is supplied to the receiver 10 of the device 4 and the transmitter of the data transmission device 2 so that the transmission side and the reception side are synchronized with each other. Data is received by the data transmission device 4. When data transmission is performed in this way, the timing of data transmission and reception is determined by the synchronous clock, so the synchronous clock is a very important factor in data transmission between terminals.

【0004】一方、近年、データ伝送における情報量は
飛躍的に多くなり、より高速なデータ伝送が嘱望され、
データ伝送装置もこの要求に対応可能なように改良が加
えられている。
On the other hand, in recent years, the amount of information in data transmission has dramatically increased, and there has been a desire for higher speed data transmission.
The data transmission device has also been improved to meet this demand.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、従来、
データ伝送の高速化を実現するためにラインドライバや
レシーバの高速化は行われたが、高速化に伴う同期クロ
ックの遅れに対しては何ら考慮されていなかった。一般
に、データ伝送装置は不特定の相手と接続される。した
がって、そのときの線路状態や接続先相手によりクロッ
クの遅れが異なり、これを事前に特定することができな
い。
However, conventionally,
Although line drivers and receivers have been speeded up in order to speed up data transmission, no consideration has been given to the delay of the synchronous clock due to the speeding up. Generally, the data transmission device is connected to an unspecified partner. Therefore, the clock delay differs depending on the line state and the connection partner at that time, and this cannot be specified in advance.

【0006】このため、線路状態や接続先相手の条件が
加味されてもクロックに対するデータの遅延を無視でき
る程度の高速化であれば問題はないが、さらにデータ伝
送速度が高速化されてデータを受信するタイミングに影
響が及ぶと、データとクロックの位相差が無視できなく
なるほど大きくなり、データ伝送が実質的に不可能にな
るという問題があった。
Therefore, there is no problem if the speed is high enough to ignore the delay of the data with respect to the clock even if the line condition and the condition of the other party of the connection are taken into consideration. However, the data transmission speed is further increased to transfer the data. When the reception timing is affected, the phase difference between the data and the clock becomes so large that it cannot be ignored, and there is a problem that data transmission becomes substantially impossible.

【0007】すなわち、図4に示した例では、データ伝
送装置2はネットワークに接続されているため、データ
伝送装置2および4はこの装置2から出力されるネット
ワークのクロック源に同期する必要がある。しかし、デ
ータ伝送装置2における遅延および伝送路100におけ
る遅延(変動A〜変動C)が生じるので、データ伝送装
置4の受信器10に供給されるクロックと受信データと
の間にはズレが発生する。
That is, in the example shown in FIG. 4, since the data transmission device 2 is connected to the network, the data transmission devices 2 and 4 must be synchronized with the clock source of the network output from this device 2. . However, since a delay in the data transmission device 2 and a delay in the transmission line 100 (variation A to variation C) occur, a deviation occurs between the clock supplied to the receiver 10 of the data transmission device 4 and the received data. .

【0008】図6はこの様子を示したタイムチャートで
ある。クロックaは発振器12から供給されるクロック
であり、受信器10ではほとんど遅れ無くこのクロック
aを受信する。一方、上記変動A〜変動Cにより送信器
20から送信されたデータは遅延時間t1 だけ遅延して
受信器に受信される。したがって、遅延時間t1 がさら
に時間T1 より遅れた範囲に移動すると、受信器10で
は送信器20からのデータを発振器12のクロックでサ
ンプリングできなくなる。
FIG. 6 is a time chart showing this situation. The clock a is a clock supplied from the oscillator 12, and the receiver 10 receives the clock a with almost no delay. On the other hand, the data transmitted from the transmitter 20 due to the fluctuations A to C is delayed by the delay time t 1 and received by the receiver. Therefore, when the delay time t 1 further moves to the range delayed from the time T 1 , the receiver 10 cannot sample the data from the transmitter 20 with the clock of the oscillator 12.

【0009】このような問題を回避するため、たとえば
データ伝送装置2にもクロックを出力する発振器を設置
し、データ伝送を行なうことが考えられる。しかしなが
ら、このように別個に設けたクロック源は、データ伝送
装置4側のネットワークのクロックと位相も異なれば同
期もしていない。したがって、受信側であるデータ伝送
装置4にFIFO等のバッファを設けてクロックの乗換
処理を行っても正確にデータの受信をすることは非常に
困難である。これは、データ伝送装置2よりデータ伝送
装置4に直接クロックを供給せず、データ伝送装置4で
たとえばPLL(Phase Locked Loop)などを用いて受信
データよりクロックを再生してもおなじである。
In order to avoid such a problem, it is conceivable to install an oscillator for outputting a clock also in the data transmission device 2 to perform data transmission. However, the separately provided clock source is not synchronized with the clock of the network on the data transmission device 4 side if the phase is different. Therefore, it is very difficult to accurately receive data even if a buffer such as a FIFO is provided in the data transmission device 4 on the receiving side to perform clock transfer processing. This is the same as the case where the data transmission device 2 does not directly supply the clock to the data transmission device 4 but the data transmission device 4 uses a PLL (Phase Locked Loop) or the like to reproduce the clock from the received data.

【0010】さらに、前述したように、図4で示した変
動A〜変動Cの値はデータ伝送を行う相手が変わるとそ
の都度変化する。したがって、異なるデータ伝送装置と
のデータ伝送において、柔軟に適応可能な遅延対策が必
要である。
Further, as described above, the values of the fluctuations A to C shown in FIG. 4 change each time the partner for data transmission changes. Therefore, there is a need for a delay measure that can be flexibly adapted in data transmission with different data transmission devices.

【0011】本発明はこのような従来技術の欠点を解消
し、相手側のデータ伝送装置や伝送路に影響されること
無く高速データ伝送に対応可能なデータ伝送適応化方式
およびこれを備えたデータ伝送装置を提供することを目
的とする。
The present invention solves the above-mentioned drawbacks of the prior art, and a data transmission adaptation method capable of supporting high-speed data transmission without being affected by the data transmission device or transmission path of the other side, and a data transmission system including the same. An object is to provide a transmission device.

【0012】[0012]

【課題を解決するための手段】本発明は上述の課題を解
決するために、クロックを生成する発振器12と、発振
器12からの第1のクロックを同期クロックとして送ら
れてきたデータを受信する受信器10と、発振器12か
ら第1のクロックとこの第1のクロックをn倍したn倍
クロックを入力し、これら第1のクロックおよびn倍ク
ロックで、送られてきたデータの遅れまたは進みを検出
する差検出回路14と、発振器12から第1のクロック
およびn倍クロックを入力するとともに差検出回路14
より検出されたデータの遅れまたは進みを入力し、これ
ら値によりn倍した周波数の範囲で第1のクロックを進
みまたは遅らせた第2のクロックを生成し、この第2の
クロックを同期クロックとしてデータの送信側に送る適
応化回路16とを有する。
In order to solve the above-mentioned problems, the present invention solves the above-mentioned problems by an oscillator 12 for generating a clock and a receiver for receiving data sent from the oscillator 12 as a synchronous clock. The first clock and the n-fold clock obtained by multiplying the first clock by n times are input from the instrument 10 and the oscillator 12, and the delay or advance of the transmitted data is detected by the first clock and the n-fold clock. And the difference detection circuit 14 that receives the first clock and the n-fold clock from the oscillator 12
The delay or advance of the detected data is input, the second clock is generated by advancing or delaying the first clock in the frequency range multiplied by n by these values, and the second clock is used as the synchronous clock. And the adaptation circuit 16 for sending to the transmitting side of the.

【0013】[0013]

【作用】本発明によれば、データ伝送装置1の内部で生
成される第1のクロックを同期クロックとしてデータ伝
送装置2から送られてきたデータをデータ伝送装置1で
受信するデータ伝送装置におけるデータ伝送適応化方式
において、データ伝送装置1は第1のクロックを同期ク
ロックとしてデータ伝送装置2から送られてきたデータ
を受信するとともに、第1のクロックと受信したデータ
よりこのデータの遅れまたは進みを検出し、検出した値
に応じて第1のクロックを適応化した第2のクロックを
同期クロックとしてデータ伝送装置2に送る。
According to the present invention, the data transmitted by the data transmission device 1 receives the data transmitted from the data transmission device 2 by using the first clock generated inside the data transmission device 1 as the synchronous clock. In the transmission adaptation method, the data transmission device 1 receives the data sent from the data transmission device 2 by using the first clock as a synchronous clock, and delays or advances this data from the first clock and the received data. The second clock that is detected and adapted to the first clock according to the detected value is sent to the data transmission device 2 as a synchronous clock.

【0014】[0014]

【実施例】次に添付図面を参照して本発明によるデータ
伝送適応化方式を備えたデータ伝送装置の実施例を詳細
に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a data transmission apparatus having a data transmission adaptation system according to the present invention will be described in detail with reference to the accompanying drawings.

【0015】図1は本発明によるデータ伝送適応化方式
を備えたデータ伝送装置の実施例を示すシステム構成図
であり、データ伝送装置1からの同期クロックによりデ
ータ伝送装置2より送出されたデータがデータ伝送装置
1で受信される。すなわち、図1において、データ伝送
装置1はデータ伝送適応化機能を備えたデータ伝送装置
であり、伝送路100を介して図4で説明した通常のデ
ータ伝送装置2と接続される。
FIG. 1 is a system configuration diagram showing an embodiment of a data transmission apparatus provided with a data transmission adaptation system according to the present invention. Data transmitted from the data transmission apparatus 2 by a synchronous clock from the data transmission apparatus 1 is It is received by the data transmission device 1. That is, in FIG. 1, the data transmission device 1 is a data transmission device having a data transmission adaptation function, and is connected to the normal data transmission device 2 described in FIG.

【0016】データ伝送装置1は、受信器10、発振器
12、差検出器14および適応化回路16を備えてい
る。発振器12はクロックを生成出力する発振器であ
り、これよりオリジナルクロック(以後これを第1のク
ロックと称す)とこのオリジナルクロックのn倍の周波
数をもつn倍クロック(n*CLK)が送出される。発
振器12は受信器10、差検出回路14および適応化回
路16と接続され、これらに生成したクロックを供給し
ている。
The data transmission device 1 comprises a receiver 10, an oscillator 12, a difference detector 14 and an adaptation circuit 16. The oscillator 12 is an oscillator that generates and outputs a clock. From this, an original clock (hereinafter referred to as a first clock) and an n-fold clock (n * CLK) having a frequency n times that of the original clock are transmitted. . The oscillator 12 is connected to the receiver 10, the difference detection circuit 14, and the adaptation circuit 16, and supplies the generated clock to them.

【0017】受信器10は伝送路100に接続され、こ
の伝送路100を介して他のデータ伝送装置から送られ
てきたデータを受信する。すなわち、受信器10は、発
振器12から供給された第1のクロックにより、データ
伝送装置2の送信器20から送られてきたデータをサン
プリングすることでデータを正確に受信する。
The receiver 10 is connected to the transmission line 100 and receives data sent from another data transmission device via the transmission line 100. That is, the receiver 10 receives the data accurately by sampling the data sent from the transmitter 20 of the data transmission device 2 with the first clock supplied from the oscillator 12.

【0018】差検出回路14は、発振器12からの第1
のクロックとn倍クロックを入力し、これら第1のクロ
ックおよびn倍クロックで、送られてきたデータの遅れ
または進みを検出する。差検出回路14は適応化回路1
6に接続され、この回路16に検出した遅れまたは進み
の情報を出力する。
The difference detection circuit 14 includes a first oscillator from the oscillator 12.
And the n-fold clock are input, and the delay or advance of the transmitted data is detected by the first clock and the n-fold clock. The difference detection circuit 14 is an adaptation circuit 1.
6 and outputs the detected delay or advance information to the circuit 16.

【0019】適応化回路16は、発振器12から第1の
クロックおよびn倍クロックを入力するとともに、差検
出回路14より検出されたデータの遅れまたは進みの情
報を入力する。そして、適応化回路16は、これら値に
よりn倍した周波数の範囲で第1のクロックを進みまた
は遅らせた第2のクロックを生成し、この第2のクロッ
クを同期クロックとしてデータの送信側であるデータ伝
送装置2に送る。この第2のクロックが実質的なインタ
フェース上の同期クロックとなる。
The adaptation circuit 16 inputs the first clock and the n-fold clock from the oscillator 12, and also inputs the delay or advance information of the data detected by the difference detection circuit 14. Then, the adaptation circuit 16 generates a second clock by advancing or delaying the first clock within a frequency range multiplied by n by these values, and uses this second clock as a synchronization clock on the data transmission side. It is sent to the data transmission device 2. This second clock substantially becomes the synchronous clock on the interface.

【0020】図1において、変動Aはデータ伝送装置2
の機器固有の遅れを示す値であり、データ伝送を行う相
手が変わればこの値も変動する。また、変動B・Cは使
用する伝送路固有のもので、距離や種類などによりその
値が変動する。このため、データ伝送装置1では、差検
出回路14がデータ伝送装置2から送られてきたデータ
から第1のクロックとの位相差を検出し、適応化回路1
6がクロック位相の補正を行う。
In FIG. 1, the variation A is the data transmission device 2
This is a value indicating the delay peculiar to the device, and this value also changes if the other party for data transmission changes. Further, the fluctuations B and C are peculiar to the transmission path to be used, and their values fluctuate depending on the distance and the type. Therefore, in the data transmission device 1, the difference detection circuit 14 detects the phase difference from the first clock from the data sent from the data transmission device 2, and the adaptation circuit 1
6 corrects the clock phase.

【0021】クロックの位相補正を行う場合、受信した
データの位相が1クロック分(1エレメント長)以上ず
れても、データとクロックが十分なマージンが得れるよ
う適応化する必要がある。すなわち、遅延が大きくな
り、データ位相が1クロック分以上ずれてデータが進み
状態になっても適応化できるよう考慮しなくてはならな
い。伝送路100の変動B・Cやデータ伝送装置2の変
動Aにより実際には遅延が生じるが、クロックの位相状
態を確実に制御する上では、遅延は反面進みであるとい
う認識が重要となる。本実施例で遅れの他に進みも検出
できるようにしたのはこの点を考慮し、クロックの位相
補正を確実に行えるようにしたためである。
When the phase of the clock is corrected, even if the phase of the received data deviates by one clock (one element length) or more, it is necessary to adapt the data and the clock so that a sufficient margin can be obtained. That is, it must be taken into consideration so that even if the delay becomes large and the data phase shifts by one clock or more and the data advances, it can be adapted. Although a delay actually occurs due to the fluctuation B / C of the transmission path 100 and the fluctuation A of the data transmission device 2, it is important to recognize that the delay is a lead in order to reliably control the phase state of the clock. In the present embodiment, not only the delay but also the advance can be detected because in consideration of this point, the phase of the clock can be surely corrected.

【0022】図5はこの様子を示したタイムチャートで
ある。クロックaは発振器12から供給されるクロック
であり、受信器10ではほとんど遅延無くこのクロック
を受信する。一方、上記変動A〜Cにより、送信器20
からの送信データは、遅延時間t2 だけ遅延して受信器
10で受信される。このため、位相検出は図6に示すタ
イミングとなり、実際のデータに対し位相が揃ったクロ
ックbにより正確に受信できる。受信するデータがさら
に遅れた場合のT2 の範囲でも、位相検出でクロックb
を適応化する。加えることに、遅れは次のタイミングの
進みでもあり、最大の遅れは最小の進みである点に着目
し、適応化と名付けている。
FIG. 5 is a time chart showing this situation. The clock a is a clock supplied from the oscillator 12, and the receiver 10 receives this clock with almost no delay. On the other hand, due to the fluctuations A to C, the transmitter 20
The transmission data from is received by the receiver 10 after being delayed by the delay time t 2 . Therefore, the phase detection comes to the timing shown in FIG. 6, and the actual data can be accurately received by the clock b whose phase is aligned. Even in the range of T 2 when the received data is further delayed, the clock b is detected by the phase detection.
To adapt. In addition, the delay is the advance of the next timing, and the maximum delay is the minimum advance, and it is called adaptation.

【0023】図2は本実施例の主要部である差検出回路
14と適応化回路16の回路図を示したものである。本
実施例において、位相の調整は第1のクロックであるオ
リジナルクロックに対しn倍のクロックで行われる。こ
のn倍クロックは、より高い周波数が良いが、周波数を
高くすればするほと実際に回路のコストが高くなり、ハ
ードの規模が大きくなる。
FIG. 2 is a circuit diagram of the difference detection circuit 14 and the adaptation circuit 16 which are the main parts of this embodiment. In the present embodiment, the phase adjustment is performed with a clock that is n times the original clock that is the first clock. This n-fold clock has a higher frequency, but the higher the frequency, the higher the cost of the circuit and the larger the hardware scale.

【0024】このため、図2の実施例ではn倍クロック
を16倍クロックとしたときの例を示しているが、勿
論、本発明は16倍に限定されるものではない。なお、
nの値が変化すると、後述する適応化回路16のアップ
ダウンカウンタ162の桁数、シフトレジスタ164・
164の段数および16→1セレクタ168は、その値
に応じて変化する。
For this reason, the embodiment of FIG. 2 shows an example in which the n-fold clock is the 16-fold clock, but the present invention is not limited to the 16-fold clock, as a matter of course. In addition,
When the value of n changes, the number of digits of the up / down counter 162 of the adaptation circuit 16 and the shift register 164.
The number of stages 164 and the 16 → 1 selector 168 change according to the value.

【0025】差検出回路14は、2つのDフリップフロ
ップ142・144、排他的論理和ゲート146、イン
バータ148および2つのANDゲート150・152
により構成されている。2つのDフリップフロップ14
2・144および排他的論理和ゲート146は、データ
伝送装置2より送られてきたデータの変化点を抽出する
回路である。また、インバータ148およびANDゲー
ト150・152は、入力したデータとクロックとの位
相差をこの変化点より検出する回路である。
The difference detection circuit 14 includes two D flip-flops 142 and 144, an exclusive OR gate 146, an inverter 148, and two AND gates 150 and 152.
It consists of. Two D flip-flops 14
The 2 · 144 and the exclusive OR gate 146 are circuits that extract a change point of the data sent from the data transmission device 2. The inverter 148 and the AND gates 150 and 152 are circuits that detect the phase difference between the input data and the clock from this change point.

【0026】すなわち、Dフリップフロップ142は、
入力したデータaをn倍クロックでラッチすることによ
りオリジナルクロックeの1/16タイミングを遅らせ
たデータbをDフリップフロップ144および排他的論
理和ゲート146の入力側に送る。Dフリップフロップ
144は、入力したデータbをさらにn倍クロックでラ
ッチすることにより同様に1/16タイミングを遅らせ
たデータcを排他的論理和ゲート146の入力側に送
る。これらデータを入力することにより、排他的論理和
ゲート146は送られてきたデータの変化点を抽出す
る。
That is, the D flip-flop 142 is
By latching the input data a with an n-fold clock, the data b whose timing is delayed by 1/16 of the original clock e is sent to the input side of the D flip-flop 144 and the exclusive OR gate 146. The D flip-flop 144 sends the input data b to the input side of the exclusive OR gate 146 by latching the input data b with an n-fold clock and similarly delaying the 1/16 timing. By inputting these data, the exclusive OR gate 146 extracts the change point of the transmitted data.

【0027】変化点を抽出されたデータdは、ANDゲ
ート15によりオリジナルクロックeと、またインバー
タ148およびANDゲート152によりオリジナルク
ロックeを反転したクロックfと、それぞれ論理積がと
られる。これにより、受信したデータが遅れている場合
にはオリジナルクロックeとの位相差を検出したパルス
gが、また受信したデータが進んでいる場合にはオリジ
ナルクロックeとの位相差を検出したパルスhが適応化
回路16に出力される。
The data d from which the change point is extracted is logically ANDed with the original clock e by the AND gate 15 and the clock f obtained by inverting the original clock e by the inverter 148 and the AND gate 152. As a result, when the received data is delayed, the pulse g which detects the phase difference from the original clock e, and when the received data is advanced, the pulse h which detects the phase difference from the original clock e. Is output to the adaptation circuit 16.

【0028】適応化回路16は、アップダウンカウンタ
162、シフトレジスタ164・166、16→1セレ
クタ168およびDフリップフロップ170により構成
されている。アップダウンカウンタ162は、パルスg
を入力するとカウントダウンした値を、またパルスhを
入力するとカウントアップした値を16→1セレクタ1
68に出力するカウンタである。
The adaptation circuit 16 is composed of an up / down counter 162, shift registers 164 and 166, a 16 → 1 selector 168, and a D flip-flop 170. The up / down counter 162 uses the pulse g
Is input, the count-down value is input, and when pulse h is input, the count-up value is input.
It is a counter that outputs to 68.

【0029】すなわち、カウンタ162はカウントの基
準値を決める入力端子0〜3のうち、入力端子0〜2が
“L”レベルに接続され、入力端子3が“H”レベルに
接続されている。ここでは入力端子0がLSB、入力端
子3がMSBのため、基準値は2進数で“0110”と
なり10進数では“6”となる。したがって、初期状態
では出力端子0〜3より“6”を示す“0110”が出
力され、パルスgまたはhを入力することによりこの出
力値が変化する。このように、アップダウンカウンタ1
62は差検出回路14からの進み、遅れの情報を保持・
出力する。
That is, in the counter 162, among the input terminals 0 to 3 for determining the reference value for counting, the input terminals 0 to 2 are connected to the "L" level and the input terminal 3 is connected to the "H" level. Here, since the input terminal 0 is the LSB and the input terminal 3 is the MSB, the reference value is “0110” in binary and “6” in decimal. Therefore, in the initial state, "0110" indicating "6" is output from the output terminals 0 to 3, and the output value changes by inputting the pulse g or h. In this way, the up / down counter 1
Reference numeral 62 holds the information on the advance and the delay from the difference detection circuit 14.
Output.

【0030】アップダウンカウンタ162の出力端子0
〜3は16→1セレクタ168の入力端子A〜Dにそれ
ぞれ接続されている。16→1セレクタ168はまた、
シフトレジスタ164からの出力端子0〜7およびシフ
トレジスタ166からの出力端子8〜15が、入力端子
0〜15にそれぞれ接続されている。16→1セレクタ
168は、入力端子A〜Dに入力した値に応じて入力端
子0〜15に入力した信号(図3のシフトレジスタSR
0〜15に示した信号)を選択する。
Output terminal 0 of up / down counter 162
3 to 3 are connected to the input terminals A to D of the 16 → 1 selector 168, respectively. The 16 → 1 selector 168 also
The output terminals 0 to 7 from the shift register 164 and the output terminals 8 to 15 from the shift register 166 are connected to the input terminals 0 to 15, respectively. The 16 → 1 selector 168 receives the signals input to the input terminals 0 to 15 according to the values input to the input terminals A to D (the shift register SR in FIG. 3).
(Signals 0 to 15) are selected.

【0031】すなわち、アップダウンカウンタ162が
“5”を示すと、出力端子0,1,2,3はそれぞれ
“1”、“0”、“1”、“0”(2進数で“010
1”)となり、16→1セレクタ168は入力端子7の
入力を出力端子Oより信号jとして出力する。また、差
検出回路14によりカウンタ162の値が“−1”され
ると、アップダウンカウンタ162の出力端子0,1,
2,3はそれぞれ“0”、“1”、“1”、“0”の
“4”となり、16→1セレクタ168は入力端子6の
入力を出力端子Oより信号jとして出力する。信号jは
Dフリップフロップ170に入力され、これによりデー
タの遅れを適応化した同期クロックiが出力される。こ
の動作は遅れが無くなるまで続き、また逆の動作である
進みの場合も同様の処理が行われる。
That is, when the up / down counter 162 indicates "5", the output terminals 0, 1, 2, and 3 are "1", "0", "1", and "0" (binary number "010").
1 ″), the 16 → 1 selector 168 outputs the input from the input terminal 7 as a signal j from the output terminal O. When the value of the counter 162 is “−1” by the difference detection circuit 14, the up / down counter is turned on. 162 output terminals 0, 1,
2 and 3 become "4" of "0", "1", "1", and "0", respectively, and the 16 → 1 selector 168 outputs the input of the input terminal 6 from the output terminal O as the signal j. The signal j is input to the D flip-flop 170, which outputs the synchronous clock i in which the data delay is adapted. This operation continues until there is no delay, and the same processing is performed in the case of the reverse operation of advance.

【0032】図3は図2の回路における各波形を示した
タイミングチャートである。オリジナルクロックをシフ
トレジスタ164・166に入力し、これらシフトレジ
スタ164、166から出力される波形をシフトレジス
タSR0〜15に示した。シフトレジスタ164、16
6のクロックはここでは16倍のため、オリジナルクロ
ックが16倍のn倍クロック(n*CLK)の1クロッ
ク分だけ位相がずれた波形となる。前述したようにこれ
ら波形は16→1セレクタ168に入力され、その中か
ら1つだけ選択される。この信号が信号jとなる。
FIG. 3 is a timing chart showing each waveform in the circuit of FIG. The original clock is input to the shift registers 164 and 166, and the waveforms output from these shift registers 164 and 166 are shown in the shift registers SR0 to SR15. Shift registers 164, 16
Since the clock of No. 6 is 16 times here, the original clock has a waveform shifted in phase by one clock of the n times clock (n * CLK) which is 16 times. As described above, these waveforms are input to the 16 → 1 selector 168, and only one of them is selected. This signal becomes the signal j.

【0033】信号aはn倍クロックでDフリップフロッ
プ142、144を通過する毎に、それぞれn倍クロッ
クの1クロック分遅れた波形となる。この遅れた波形b
とcの信号の排他的論理和をとると、信号の変化点がパ
ルスdとして出力される。これをオリジナルクロックと
比較し、遅れパルスgまたは進みパルスhを検出する。
この遅れ、進みでカウンタ162のアップ/ダウンを行
い、16→1セレクタ168を制御するカウンタ値を求
め、このカウンタ値をデータの遅れ/進みに応じて変化
させることで同期クロックの適応化を行う。
The signal a has a waveform delayed by one clock of the n-fold clock each time it passes through the D flip-flops 142 and 144 at the n-fold clock. This delayed waveform b
When the exclusive OR of the signals of c and c is calculated, the change point of the signal is output as a pulse d. This is compared with the original clock to detect the delayed pulse g or the advanced pulse h.
The counter 162 is moved up / down by this delay or advance, a counter value for controlling the 16 → 1 selector 168 is obtained, and the synchronous clock is adapted by changing this counter value according to the delay / advance of data. .

【0034】アップダウンカウンタ162の基準値は前
述したように“6”である。したがって、もしデータの
遅れまたは進みが無い場合には同期クロックjはオリジ
ナルクロックと同じクロックとなる。また、データが遅
れている場合には同期クロックをオリジナルクロックよ
り進ませる必要がある。このため、本実施例ではクロッ
クjをDフリップフロップに入力させて、n倍クロック
の1クロック分遅れた波形の反転出力のクロックiをネ
ットワークの同期クロックである第2のクロックとして
出力している。
The reference value of the up / down counter 162 is "6" as described above. Therefore, if there is no delay or advance of data, the synchronous clock j becomes the same clock as the original clock. Further, when the data is delayed, the synchronous clock needs to be advanced from the original clock. Therefore, in this embodiment, the clock j is input to the D flip-flop, and the clock i, which is the inverted output of the waveform delayed by one clock of the n-fold clock, is output as the second clock that is the network synchronization clock. .

【0035】なお、本発明は特に本実施例に限定される
ものではない。すなわち、たとえば伝送路100は本実
施例では有線のように図示したが、無線であっても本発
明を適用可能である。
The present invention is not particularly limited to this embodiment. That is, for example, the transmission line 100 is illustrated as being wired in the present embodiment, but the present invention can be applied even if it is wireless.

【0036】[0036]

【発明の効果】このように本発明によれば、一方のデー
タ伝送装置より同期クロックを供給し、他方のデータ伝
送装置から遅れてきたデータを受信する伝送方式で、常
に問題となる遅延を適宜適応化し、送られてきたデータ
を確実に受信することができる。また、本発明ではデー
タの送信側装置が変わったり、伝送路が変更になった場
合でも適応化が働く。さらに、マルチポイントの接続で
も、複数の局からの受信で位相が異なっても適応可能で
ある。本発明の最大の特徴は、ネットワークに同期して
いる発振器の出力位相にデータの送信側を適応化させる
ため、送信側ではフリップフロップやクロック位相制御
(PLL)などの高度の位相制御を行うこと無く同期ク
ロックに合わせてネットワークに直接データを送り込め
る。
As described above, according to the present invention, a synchronous clock is supplied from one data transmission device and data delayed from the other data transmission device is received. It is possible to adapt and reliably receive the transmitted data. Further, in the present invention, the adaptation works even when the device on the data transmission side is changed or the transmission path is changed. Furthermore, it can be applied to multi-point connections even if the phases are different when receiving from multiple stations. The most important feature of the present invention is that the transmission side of the data is adapted to the output phase of the oscillator synchronized with the network, so that the transmission side performs advanced phase control such as flip-flop and clock phase control (PLL). Data can be sent directly to the network in synchronization with the synchronous clock.

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

【図1】本発明によるデータ伝送適応化方式の実施例を
示すシステム構成図である。
FIG. 1 is a system configuration diagram showing an embodiment of a data transmission adaptation system according to the present invention.

【図2】本発明によるデータ伝送適応化方式の主要部を
回路図である。
FIG. 2 is a circuit diagram showing a main part of a data transmission adaptation method according to the present invention.

【図3】図2に示した回路図の各波形を示すタイミング
チャートである。
FIG. 3 is a timing chart showing each waveform of the circuit diagram shown in FIG.

【図4】従来技術におけるデータ伝送システムのシステ
ム構成図である。
FIG. 4 is a system configuration diagram of a data transmission system in a conventional technique.

【図5】同期クロックでデータとの間に位相差が生じる
ことを示すタイミングチャートである。
FIG. 5 is a timing chart showing that a phase difference occurs between the synchronous clock and data.

【図6】受信器10に供給されるクロックと受信データ
との間にズレが発生することを示すタイムチャートであ
る。
FIG. 6 is a time chart showing that a shift occurs between the clock supplied to the receiver 10 and the received data.

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

1 データ伝送適応化方式を備えたデータ伝送装置 2 データ伝送装置 10 受信器 12 発振器 14 差検出回路 16 適応化回路 20 送信器 142 Dフリップフロップ 144 Dフリップフロップ 146 排他的論理和ゲート 148 インバータ 150 ANDゲート 152 ANDゲート 162 アップダウンカウンタ 164 シフトレジスタ 166 シフトレジスタ 168 16→1セレクタ 170 Dフリップフロップ 1 data transmission device equipped with data transmission adaptation system 2 data transmission device 10 receiver 12 oscillator 14 difference detection circuit 16 adaptation circuit 20 transmitter 142 D flip-flop 144 D flip-flop 146 exclusive OR gate 148 inverter 150 AND Gate 152 AND gate 162 Up-down counter 164 Shift register 166 Shift register 168 16 → 1 selector 170 D flip-flop

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 データ伝送装置(1) の内部で生成される
第1のクロックを同期クロックとしてデータ伝送装置
(2) から送られてきたデータをデータ伝送装置(1) で受
信するデータ伝送装置におけるデータ伝送適応化方式に
おいて、 データ伝送装置(1) は前記第1のクロックを同期クロッ
クとしてデータ伝送装置(2) から送られてきたデータを
受信するとともに、前記第1のクロックと前記受信した
データよりこのデータの遅れまたは進みを検出し、 前記検出した値に応じて前記第1のクロックを適応化し
た第2のクロックを同期クロックとしてデータ伝送装置
(2) に送ることを特徴とするデータ伝送適応化方式。
1. A data transmission device in which a first clock generated inside the data transmission device (1) is used as a synchronous clock.
In the data transmission adaptation method in the data transmission device in which the data transmission device (1) receives the data sent from (2), the data transmission device (1) uses the first clock as a synchronization clock. 2) The data sent from is received, and the delay or advance of this data is detected from the first clock and the received data, and the first clock is adapted according to the detected value. Data transmission device using second clock as synchronization clock
A data transmission adaptation method characterized by sending to (2).
【請求項2】 クロックを生成する発振器(12)と、 発振器(12)からの第1のクロックを同期クロックとして
送られてきたデータを受信する受信器(10)と、 発振器(12)から前記第1のクロックとこの第1のクロッ
クをn倍したn倍クロックを入力し、これら第1のクロ
ックおよびn倍クロックで、前記送られてきたデータの
遅れまたは進みを検出する差検出回路(14)と、 発振器(12)から前記第1のクロックおよびn倍クロック
を入力するとともに差検出回路(14)より前記検出された
データの遅れまたは進みを入力し、これら値により前記
n倍した周波数の範囲で前記第1のクロックを進みまた
は遅らせた第2のクロックを生成し、この第2のクロッ
クを同期クロックとして前記データの送信側に送る適応
化回路(16)とを有することを特徴とするデータ伝送装
置。
2. An oscillator (12) for generating a clock, a receiver (10) for receiving data sent from the oscillator (12) as a synchronous clock, and the oscillator (12) for receiving the data. A difference detection circuit (14) for inputting a first clock and an n-fold clock obtained by multiplying the first clock by n, and detecting the delay or advance of the transmitted data with the first clock and the n-fold clock. ), The first clock and the n-fold clock are input from the oscillator (12), and the delay or advance of the detected data is input from the difference detection circuit (14). And an adaptation circuit (16) for generating a second clock that advances or delays the first clock within a range and sending the second clock as a synchronization clock to the data transmission side. Data transmission Location.
JP6290414A 1994-10-31 1994-10-31 Data transmission adaptive system and data transmitter provided with the system Pending JPH08130534A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6290414A JPH08130534A (en) 1994-10-31 1994-10-31 Data transmission adaptive system and data transmitter provided with the system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6290414A JPH08130534A (en) 1994-10-31 1994-10-31 Data transmission adaptive system and data transmitter provided with the system

Publications (1)

Publication Number Publication Date
JPH08130534A true JPH08130534A (en) 1996-05-21

Family

ID=17755721

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6290414A Pending JPH08130534A (en) 1994-10-31 1994-10-31 Data transmission adaptive system and data transmitter provided with the system

Country Status (1)

Country Link
JP (1) JPH08130534A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008099228A (en) * 2006-09-15 2008-04-24 Ricoh Co Ltd Serial data communication system and image forming apparatus
US7653169B2 (en) 2005-09-16 2010-01-26 Fujitsu Limited Timing adjustment for data transmitting/receiving circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7653169B2 (en) 2005-09-16 2010-01-26 Fujitsu Limited Timing adjustment for data transmitting/receiving circuit
JP2008099228A (en) * 2006-09-15 2008-04-24 Ricoh Co Ltd Serial data communication system and image forming apparatus

Similar Documents

Publication Publication Date Title
EP0877505B1 (en) Synchronous circuit controller for controlling data transmission between asynchronous circuits
US11061432B2 (en) Data handoff between two clock domains sharing a fundamental beat
US8422590B2 (en) Apparatus and methods for differential signal receiving
KR100543646B1 (en) Method and system of automatic delay detection and receiver adjustment for synchronous bus interface
EP1884057B1 (en) Data edge-to-clock edge phase detector for high speed circuits
JPH0329438A (en) Digital data transfer circuit
US6845490B2 (en) Clock switching circuitry for jitter reduction
US6072370A (en) Clock extraction circuit
US7194057B2 (en) System and method of oversampling high speed clock/data recovery
US20010013802A1 (en) System and process for high speed interface clock skew correction
JP2805604B2 (en) Manchester code decoding device
JPH08130534A (en) Data transmission adaptive system and data transmitter provided with the system
US6996201B2 (en) Data receiving system robust against jitter of clock
JP3278621B2 (en) Data transmission equipment
JPH04178047A (en) Skew compensation system
US7065028B2 (en) Method and device for generating a clock signal that is coupled to a reference signal
US5294844A (en) Sampling signal generation circuit
US6859912B2 (en) Method and circuit arrangement for clock recovery
US7006585B2 (en) Recovering data encoded in serial communication channels
JPH03255743A (en) Bit synchronizing circuit
JP2003174484A (en) Data transmission system, data transmitter-receiver therefor, and data transmission method
JPH08237104A (en) Bit phase detection circuit and bit phase synchronization circuit
JP2002077123A (en) Automatic clock inverting circuit for x. 21 interface
JPH05114897A (en) Phase-locked circuit
JPS63268386A (en) Synchronization circuit