JPH0250665B2 - - Google Patents

Info

Publication number
JPH0250665B2
JPH0250665B2 JP59067528A JP6752884A JPH0250665B2 JP H0250665 B2 JPH0250665 B2 JP H0250665B2 JP 59067528 A JP59067528 A JP 59067528A JP 6752884 A JP6752884 A JP 6752884A JP H0250665 B2 JPH0250665 B2 JP H0250665B2
Authority
JP
Japan
Prior art keywords
clock
signal
data
receiving
phase
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP59067528A
Other languages
Japanese (ja)
Other versions
JPS60211558A (en
Inventor
Takashi Okonogi
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP59067528A priority Critical patent/JPS60211558A/en
Publication of JPS60211558A publication Critical patent/JPS60211558A/en
Publication of JPH0250665B2 publication Critical patent/JPH0250665B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4204Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus
    • G06F13/4221Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus
    • G06F13/423Bus transfer protocol, e.g. handshake; Synchronisation on a parallel bus being an input/output bus, e.g. ISA bus, EISA bus, PCI bus, SCSI bus with synchronous protocol

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Systems (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Description

【発明の詳細な説明】 (技術分野) 本発明は送信側装置と受信側装置との間で並列
データを転送するデータ転送方式に関するもので
ある。
DETAILED DESCRIPTION OF THE INVENTION (Technical Field) The present invention relates to a data transfer method for transferring parallel data between a transmitting side device and a receiving side device.

(従来技術) (1) 送信側装置と受信側装置とがシエイクインハ
ンドにより応答確認を行いながらデータ転送を
行う。
(Prior art) (1) The transmitting side device and the receiving side device transfer data while confirming a response using shake-in-hand.

(2) 送信側装置と受信側装置とが同一クロツク信
号にてデータ転送を行う。
(2) The transmitting side device and the receiving side device transfer data using the same clock signal.

等の方式が行なわれてきた。Similar methods have been used.

(1)については両装置のクロツク周波数が全く異
なつていても良いことや、両装置間の距離を大き
くとれるなどの利点があるものの、データ転送1
回毎に応答確認が行なわれるために大量のデータ
転送時にはこれがオーバヘツドとなり、データ転
送のスループツトが低下すると言う欠点がある。
Regarding (1), although there are advantages such as the fact that the clock frequencies of the two devices can be completely different and the distance between the two devices being large, the data transfer
Since a response is confirmed every time a large amount of data is transferred, this becomes an overhead and has the drawback of reducing the throughput of data transfer.

(2)についてはクロツク周波数そのままのバンド
幅でデータ転送できるために(1)と比べてデータ転
送のスループツトが改善されデータ転送を高速に
て行えると言う利点があるものの、両装置間の距
離がクロツク周波数によつて制限されることや、
両装置のクロツクを同一とするために各装置の独
立性がなくなりクロツク源を含む側の装置の故障
が両装置全体の故障となると言う欠点がある。
Regarding (2), data can be transferred using the same bandwidth as the clock frequency, so compared to (1), the data transfer throughput is improved and data transfer can be performed at high speed, which is an advantage, but the distance between the two devices is limited by clock frequency,
Since both devices use the same clock, each device is no longer independent, and a failure of the device containing the clock source causes a failure of both devices as a whole.

(発明の目的) 本発明はこのような従来からの問題点を解決す
るためになされたものであり、その目的とすると
ころは送信側装置と受信側装置との間で並列デー
タ転送が高速に行えるデータ転送方式を提供する
ことである。
(Object of the Invention) The present invention has been made to solve these conventional problems, and its purpose is to speed up parallel data transfer between a sending device and a receiving device. The objective is to provide a data transfer method that can be used.

(発明の構成) 本発明は上記目的を達成するため送信側装置と
受信側装置とはほとんど同周波数であるが各々に
独立したクロツク源を有し、送信側は並列データ
とともにクロツクと同期信号を送り、受信側はク
ロツクの位相差を検知して正しく受信できる位相
に受信クロツクを調節し、この受信クロツクの調
節を送信側装置から定期的に送られてくる同期信
号を受信したときに行い、かつ送信側装置では同
期信号の直後のデータを無効とするものであり以
下詳細に説明する。
(Structure of the Invention) In order to achieve the above object, the present invention has a transmitting side device and a receiving side device having almost the same frequency but independent clock sources, and the transmitting side receives parallel data as well as a clock and a synchronization signal. The receiving side detects the phase difference between the clocks and adjusts the receiving clock to a phase that allows correct reception, and adjusts the receiving clock when receiving a synchronization signal periodically sent from the sending side device. In addition, in the transmitting side device, the data immediately after the synchronization signal is invalidated, which will be explained in detail below.

(実施例) 第1図は本発明のデータ転送方式の好適な実施
例を説明するためのブロツク図であり送信側装置
は送信バツフア(SBUF)1、同期信号発生器
(SYN GEN)2、クロツク源(OSC)3、ドラ
イバ回路4により構成される。受信側装置は受信
バツフア(RBUF)5、Aバツフア(ABUF)
6、Bバツフア(BBUF)7、レシーバ回路8、
位相差検出回路(DET)9、制御部(CONT)
10、マルチプレクサ(MPX)11、クロツク
源(OSC)12、制御部(CONT)13により
構成される。
(Embodiment) Fig. 1 is a block diagram for explaining a preferred embodiment of the data transfer system of the present invention. It is composed of a source (OSC) 3 and a driver circuit 4. The receiving side device has reception buffer (RBUF) 5, A buffer (ABUF)
6, B buffer (BBUF) 7, receiver circuit 8,
Phase difference detection circuit (DET) 9, control section (CONT)
10, a multiplexer (MPX) 11, a clock source (OSC) 12, and a control section (CONT) 13.

送信側において、OSC3は第2図aにて示さ
れるφ1クロツクと第2図bにて示されるφ2クロ
ツクとを発生し、このφ1クロツクとφ2クロツク
とは各々周期がTsであり互にTS/2だけ時間的
にずれている。送信データSDATAはφ1クロツ
クによりSBUF1に順次サンプルされ保持され
る。同様にSSYNもφ1クロツクによりSBUF1に
順次サンプルされ保持される。このSSYNは
SYN GEN2からφ1クロツクに同期して発生さ
れるが詳細については後述する。
On the transmitting side, the OSC 3 generates the φ1 clock shown in FIG. 2a and the φ2 clock shown in FIG . There is a time difference of /2. Transmission data SDATA is sequentially sampled and held in SBUF1 by the φ1 clock. Similarly, SSYN is sequentially sampled and held in SBUF1 by the φ1 clock. This SSYN is
It is generated from SYN GEN2 in synchronization with the φ1 clock, and the details will be described later.

このようにしてSBUF1は第2図cにて示され
るデータが順次サンプル保持される。第2図cの
のデータはφ1クロツクのクロツクC1により、
のデータはクロツクC2によりまたのデータ
はクロツクC3により保持される。ここでtdは
SBUF1の回路遅延である。図示せぬがSSYNに
ついても同様である。第2図においてSDATAが
φ1クロツクの立上りエツジでサンプルされてい
るがこれは単に便宜上立上りエツジとただけで
SBUF1の回路によつては立下りエツジともなり
得る。以降の説明では単に便宜上の理由によりク
ロツクに同期して動作する回路は全てクロツクの
立上りエツジにより動作するものとする。
In this way, the data shown in FIG. 2c is sequentially sampled and held in the SBUF1. The data in Figure 2c is determined by the clock C1 of the φ1 clock.
The data is held by clock C2, and the data is held by clock C3. Here td is
This is the circuit delay of SBUF1. Although not shown, the same applies to SSYN. In Figure 2, SDATA is sampled at the rising edge of the φ1 clock, but this is just a rising edge for convenience.
Depending on the circuit of SBUF1, it can also be a falling edge. In the following description, it will be assumed for convenience only that all circuits that operate in synchronization with the clock operate on the rising edge of the clock.

受信側においてはデータと同期信号はRBUF
5に順次サンプルされ保持される。このRBUF
5には送信側OSC3のφ2クロツクがドライバ回
路4およびレシーバ回路8を介して第2図dの
φ2′クロツクとして与えられてサンプルが行なわ
れている。
On the receiving side, data and synchronization signals are RBUF
5 are sequentially sampled and held. This RBUF
5, the φ2 clock of the transmitting side OSC 3 is applied via the driver circuit 4 and the receiver circuit 8 as the φ2' clock of FIG. 2d, and sampling is performed.

受信側の他の回路の動作説明をわかりやすくす
るためにここで送信側,受信側が別々のクロツク
(ただしクロツク周期はほぼ一致していて受信用
クロツク周期はTR)で非同期に動作していると
きに生じるデータ転送上の問題点を第2図を用い
て説明する。
To make it easier to understand the operation of the other circuits on the receiving side, we will explain here that the sending and receiving sides operate asynchronously using separate clocks (however, the clock periods are almost the same, and the receiving clock period is T R ). Problems that sometimes occur during data transfer will be explained using FIG.

第2図においてφ2′クロツクは伝送遅延により
遅延してはいるものの送信側クロツクφ2クロツ
ク(第2図b)とほぼ同期している。しかし
RBUF5にサンプルされ保持されたデータを受
信する受信用クロツク1は送信クロツクと非同期
であるためデータサンプリングタイミングは一定
でない。従つて第2図fまたは第2図hのように
φ2′クロツクと受信クロツク1がずれた場合、セ
ツトアツプ時間がとれなくなるとかまたはホール
ドタイムがとれなくなり正常な読み取りができな
くなる。
In FIG. 2, the φ2' clock is almost synchronized with the transmitter clock φ2 clock (FIG. 2b), although it is delayed due to transmission delay. but
The reception clock 1, which receives the data sampled and held by the RBUF 5, is asynchronous with the transmission clock, so the data sampling timing is not constant. Therefore, if the φ2' clock and the reception clock 1 deviate as shown in FIG. 2f or 2h, the setup time or hold time will not be available and normal reading will not be possible.

そこでこのような状態に陥つた場合には受信用
クロツク1と同一周期でTR/2だけ時間的にず
れた受信用クロツク2を用いることが考えられ
る。このように受信用クロツク2を用いることに
よりサンプリング位置がRDATAのほぼ中央とな
り正常な読み取りが可能となるわけである。この
ようなことから本発明においてはφ2′クロツクと
受信用クロツク1との位相差を検出し位相差が遅
れ、または進む方向に或る範囲内(第2図のtaに
て示される)であるならば受信用クロツク1の代
りに受信用クロツク2を用いてRDATAをサンプ
ルする。さらに位相差を検出するタイミングを送
信側のSYN GEN2から発生する。このSYN
GEN2からの発生するSSYN信号とφ1クロツク、
SDATA信号との関係は第3図に示されている。
If such a situation occurs, it is conceivable to use a receiving clock 2 which has the same period as the receiving clock 1 but is time-shifted by T R /2. By using the reception clock 2 in this manner, the sampling position is approximately at the center of RDATA, allowing normal reading. For this reason, in the present invention, the phase difference between the φ2' clock and the receiving clock 1 is detected and the phase difference is delayed or within a certain range in the advancing direction (indicated by ta in FIG. 2). In that case, RDATA is sampled using reception clock 2 instead of reception clock 1. Furthermore, the timing for detecting the phase difference is generated from SYN GEN2 on the transmitting side. This SYN
SSYN signal generated from GEN2 and φ1 clock,
The relationship with the SDATA signal is shown in FIG.

第3図に示されるようにSSYN信号は一定周期
(Nクロツク)で発生され、SSYN信号が高レベ
ルから低レベルとなつた1クロツクサイクル間第
3図bの×印で示される無効データが送出されて
受信側での位相差検出のために使用される。この
無効データ送出時期、送出期間は第3図の例に限
定されるものではないがデータ転送の効率を考え
ると送出期間は短い方が良い。SSYN信号のパル
ス間隔も大きくして無効データ送出回数を減らす
方が良いが位相の変化幅が大きくなり、位相の進
みまたは遅れを誤つて検出するおそれがある。
As shown in Figure 3, the SSYN signal is generated at a constant cycle (N clocks), and during one clock cycle when the SSYN signal goes from high level to low level, invalid data shown by the cross in Figure 3b is generated. It is sent out and used for phase difference detection on the receiving side. The invalid data sending timing and sending period are not limited to the example shown in FIG. 3, but considering the efficiency of data transfer, the shorter the sending period is, the better. It is better to increase the pulse interval of the SSYN signal to reduce the number of invalid data transmissions, but this increases the width of the phase change and there is a risk of erroneously detecting a phase lead or lag.

次に第1図の受信側回路の動作説明を第4図〜
第6図を用いて説明する。なお、第4図は受信用
クロツク1が第2図fの場合であり、第5図は受
信用クロツク1が第2図hの場合であり、第6図
は第2図には図示しないが送信クロツクと受信用
クロツク1との差が規定内の場合である。
Next, the explanation of the operation of the receiving side circuit in Fig. 1 is shown in Figs.
This will be explained using FIG. 4 shows the case where the receiving clock 1 is shown in FIG. 2 f, FIG. 5 shows the case where the receiving clock 1 is shown in FIG. 2 h, and FIG. 6 shows the case where the receiving clock 1 is shown in FIG. This is a case where the difference between the transmitting clock and the receiving clock 1 is within the specified range.

第4図においてaは周期TSのφ2′クロツク、b
はRBUF5の入力データのSDATA′信号、cは
同じくSSYN′信号、dはRBUF5の出力ータの
RDATA信号、eは同じくRSYN信号、fは
ABUF6の入力クロツクのφXクロツク、すなわ
ち受信クロツク、gはABUF6の出力データの
ADATA信号、hは同じくASYN信号、iは
BBUF7の出力データのBDATA信号、jは同じ
くBSYN信号、kはCONT13の出力のValid信
号、はOSC12の出力のφAクロツク、mは同
じくφBクロツクでありφAクロツクとφBクロツ
クとは同一の周期TRを有し、TR/2だけ時間的
にずれている。
In Fig. 4, a is the φ2' clock with period T S , and b
is the SDATA′ signal of the input data of RBUF5, c is also the SSYN′ signal, and d is the output data of RBUF5.
RDATA signal, e is also RSYN signal, f is
The φX clock of the input clock of ABUF6, that is, the reception clock, g is the output data of ABUF6.
ADATA signal, h is also ASYN signal, i is
The BDATA signal of the output data of BBUF7, j is also the BSYN signal, k is the Valid signal of the output of CONT13, is the φA clock of the output of OSC12, m is the φB clock, and the φA clock and φB clock have the same period T R , and are shifted in time by T R /2.

第4図においてφ2′クロツクのクロツクC1,
C2,C3,C4によりRDATA信号の,,
,のデータが各々サンプル保持される。また
クロツクC×により×印の無効データがサンプル
され保持される。同様にRSYN信号がクロツク
C2によりサンプリングされ保持される。
ADATA信号、ASYN信号についてはφXクロツ
クによつてサンプリングされ保持される。このと
きφXクロツクはMPX11によりφAクロツクま
たはφBクロツクのいずれかが選択されているの
であるが、第4図では便宜上φAクロツクが選択
されているものとする。DET9はASYN信号が
φXクロツクのC2クロツクで有意(例えば高レ
ベル)となるとφ2′クロツクとφXクロツクの有意
エツジ(本実施例では立上りエツジ)が規定以上
に接近しているがどうかを調べる。詳細について
は後述する。第4図はφXクロツクがφ2′クロツク
に追い付く形で規定以上接近している場合であ
り、このときDET9はCONT10にF信号を有
意(例えば高レベル)としてその旨を知らせる。
CONT10はこれによりASYN信号が有意であ
る期間φXクロツクに同期してMPX11にINH
信号およびPHASE信号を与える。詳細について
は後述する。CONT10から送出されるINH信
号はDET9のF信号が有意のときφXクロツクの
クロツクC×の抑止を指示する。またPHASE信
号は第4図fの時点Aにおいて位相切替を指示す
る。従つてMPX11は時点A以降はφBクロツク
を選択してφXクロツクとする。なおφXクロツク
は図示せぬが位相が切り替る時点AまではφXク
ロツクとTR/2だけ位相がずれたφBクロツク、
時点A以降はφXクロツクとTR/2だけ位相がず
れたφAクロツクとなるクロツクでありMPX11
から出力される。これらについての詳細は後述す
る。ABUF6のADATA信号、ASYN信号がφX
クロツクにより第4図g,hの如くサンプルされ
保持されると、次にφAクロツクによりBDATA
信号、BSYN信号が第4図i,jの如くサンプ
ルされ保持されて受信データと受信用クロツクと
の同期が完了したのであるが、受信データには第
2図bの如くとのデータとの間に×印の無効
データが挿入されて第4図iのBDATA信号の
データが2クロツク分となつているのでこのデ
ータが1クロツク分だけサンプルされるようにし
なければならない。Valid信号はこのために使用
されるものでありCONT13にてBSYN信号を
元にBSYN信号が有意となつてから1クロツク
分経過した後はBSYN信号がひき続き有意であ
る間は、BDATA信号のサンプルを行なわないよ
うに第4図kのValid信号をスイツチしている。
In Fig. 4, the clock C1 of the φ2' clock,
RDATA signal by C2, C3, C4.
, samples of each data are held. Also, invalid data marked with an x is sampled and held by the clock Cx. Similarly, the RSYN signal is sampled and held by clock C2.
The ADATA signal and ASYN signal are sampled and held by the φX clock. At this time, as the φX clock, either the φA clock or the φB clock is selected by the MPX 11, but in FIG. 4, it is assumed for convenience that the φA clock is selected. When the ASYN signal becomes significant (eg, high level) at the C2 clock of the φX clock, DET9 checks whether the significant edges (rising edges in this embodiment) of the φ2' clock and the φX clock are closer than specified. Details will be described later. FIG. 4 shows a case where the φX clock has caught up with the φ2' clock and is approaching the φ2' clock more than the specified value, and in this case, the DET9 notifies the CONT10 that the F signal is significant (for example, at a high level).
This causes CONT10 to INH to MPX11 in synchronization with the φX clock during the period when the ASYN signal is significant.
Give the signal and PHASE signal. Details will be described later. The INH signal sent from CONT10 instructs to inhibit the clock Cx of the φX clock when the F signal of DET9 is significant. The PHASE signal also instructs phase switching at time A in FIG. 4f. Therefore, after time A, MPX 11 selects the φB clock and uses it as the φX clock. Note that the φX clock is not shown, but until the point A when the phase switches, the φB clock is out of phase with the φX clock by T R /2.
After time A, the clock becomes the φA clock, which is out of phase with the φX clock by T R /2, and MPX11.
is output from. Details regarding these will be described later. ADATA signal and ASYN signal of ABUF6 are φX
After being sampled and held by the clock as shown in Figure 4g and h, the BDATA is then sampled by the φA clock.
The BSYN signal is sampled and held as shown in Figure 4 i and j, and the synchronization between the received data and the receiving clock is completed, but the received data has a difference between it and the data as shown in Figure 2 b. Invalid data marked with an "x" is inserted into the BDATA signal, and the data of the BDATA signal shown in FIG. The Valid signal is used for this purpose, and after one clock period has elapsed since the BSYN signal became significant based on the BSYN signal in CONT13, the BDATA signal is sampled while the BSYN signal continues to be significant. The Valid signal shown in FIG. 4k is switched so that this is not performed.

従つて受信側はValid信号が有意(例えば高レ
ベル)のときだけφAクロツクあるいはφBクロツ
クにてBDATA信号をサンプルすれば良く、,
,と有意なデータを連続して受信することが
できる。
Therefore, the receiving side only needs to sample the BDATA signal using the φA clock or φB clock when the Valid signal is significant (for example, high level).
, and significant data can be continuously received.

第5図はφ2′クロツクがφXクロツクに追い付く
形で規定以上接近している場合であり、このとき
DET9はB信号を有意とする。これにより
CONT10はINH信号を有意とせず直ちに時点
AでPHASE信号を変化させ位相を切り替える。
その他の説明で第4図と相違するところはこの場
合BDATA信号のとデータとの間に余分なデ
ータがサンプルされていないので第5図iの
Valid信号は有意のままとなつている点である。
Figure 5 shows the case where the φ2' clock is catching up with the φX clock and is closer than the specified value.
DET9 makes the B signal significant. This results in
CONT10 does not make the INH signal significant and immediately changes the PHASE signal at time A to switch the phase.
The other difference from Figure 4 in the explanation is that in this case, no extra data is sampled between the BDATA signal and the data, so Figure 5 i shows
The Valid signal remains significant.

第6図はφXクロツクとφ2′クロツクとの位相差
が規定内であり、このままの状態で受信データが
正常に読み取れる場合であり、このときDET9
はF信号、B信号のいずれも有意としない。これ
によりCONT10はクロツクC×を抑止するが、
第4図の場合と相違して時点AではPHASE信号
を変化させず位相を切り替えない。そしてValid
信号については第4図と同様に制御する。
Figure 6 shows a case where the phase difference between the φX clock and the φ2' clock is within the specified range, and the received data can be read normally in this state.
In this case, neither the F signal nor the B signal is significant. This causes CONT10 to inhibit clock Cx, but
Unlike the case in FIG. 4, at time A, the PHASE signal is not changed and the phase is not switched. And Valid
Signals are controlled in the same manner as in FIG.

次に第1図DET9の動作をさらに詳細に説明
することとする。ただしここで説明することは
DET9の前述動作を理解するためのほんの一例
で有り前述動作は他の方法によつても動作可能で
あることは言うまでもない。
Next, the operation of the DET9 in FIG. 1 will be explained in more detail. However, what I will explain here is
This is just one example for understanding the above-mentioned operation of the DET 9, and it goes without saying that the above-mentioned operation can also be performed by other methods.

第7図はDET9の内部回路を示し、タイミン
グ発生回路91は第9図eのA出力を発生する。
この信号はφ2′クロツクの立上りエツジt1時間の
間は低いレベルであり次の立上りエツジまでは高
レベルである。DLY92は第9図bのB出力を
発生する。この信号はφXクロツクがt2時間ずれ
たものである。タイミング発生回路93は第9図
fのC出力を発生する。この信号はφ2′クロツク
の立上りエツジからt3時間の間は高レベルであり
次の立上りにエツジまでは低レベルである。
DLY94は第9図cのD出力を発生する。この
信号はφXクロツクがt4時間ずれたものである。
上記において時間t2,t4はφ2′クロツクとφXクロ
ツクとの位相差の限度を規定するものである。第
9図はφXクロツクのクロツクC1からφ2′クロツ
クのクロツクC2までの時間が規定のt2時間を越
えている場合、すなわちφXクロツクがφ2′クロツ
クに追い付く形で規定以上に接近している場合で
あり、A出力が高レベルの範囲内にB出力の立上
りが生じている。従つてこの状態でASYN信号
が高レベルとなるとスリツプフロツプ(F・F)
回路95の出力のF信号は第9図fの如く高レベ
ルとなりこれはASYN信号が低レベルとなりFF
95が強制的にリセツトされるまで高レベルのま
ま保持される。一方C出力が高レベルの範囲内に
D出力の立上りが生じていないのでFF96のB
信号(第9図i)は低レベルのままである。また
この第9図は前述第4図の状態に相当するもので
ある。
FIG. 7 shows the internal circuit of the DET 9, and the timing generation circuit 91 generates the A output shown in FIG. 9e.
This signal is low during the rising edge t1 of the φ2' clock and remains high until the next rising edge. DLY92 generates the B output of FIG. 9b. This signal is the φX clock shifted by t2 hours. The timing generating circuit 93 generates the C output shown in FIG. 9f. This signal is high for time t3 after the rising edge of the φ2' clock and is low until the next rising edge.
DLY94 generates the D output of FIG. 9c. This signal is the φX clock shifted by t4 hours.
In the above, times t 2 and t 4 define the limit of the phase difference between the φ2' clock and the φX clock. Figure 9 shows a case where the time from clock C1 of the φX clock to clock C2 of the φ2' clock exceeds the specified t2 hours, that is, when the φX clock catches up to the φ2' clock and approaches it more than the specified value. The B output rises within the range where the A output is at a high level. Therefore, if the ASYN signal goes high in this state, the slip-flop (F・F)
The F signal output from the circuit 95 becomes high level as shown in Fig. 9f, which means that the ASYN signal becomes low level and the FF
It remains high until 95 is forced to reset. On the other hand, since the rise of the D output does not occur within the range where the C output is high level, the B of FF96
The signal (FIG. 9i) remains at a low level. Further, this FIG. 9 corresponds to the state shown in FIG. 4 described above.

第10図は前述第5図の状態に相当しφZ′クロ
ツクがφXクロツクに追い付く形で規定以上接近
した場合であり、F信号、B信号は第10図h,
iの如くなる。
FIG. 10 corresponds to the state shown in FIG. 5, and is a case where the φZ' clock catches up with the φX clock and approaches the φX clock more than the specified value.
It becomes like i.

第11図は前述第6図の状態に相当し、φXク
ロツクとφZ′クロツクとの位相差が規定内の場合
であり、F信号、B信号は第11図hの如くな
る。
FIG. 11 corresponds to the state shown in FIG. 6, which is a case where the phase difference between the φX clock and the φZ' clock is within the specified range, and the F signal and B signal become as shown in FIG. 11h.

第8図は第1図のCONT10の詳細を示す回
路図でありF信号、B信号のいずれかが高レベル
となれば2入力オア回路101を介して高レベル
信号が位相切替回路102に入力され、F信号ま
たはB信号が高レベルとなつてからのφXクロツ
クの1番目のクロツクによつてのみ第9図k、第
10図kの如くPHASE信号の切り替えが行なわ
れる。第11図においてはF信号、B信号が共に
低レベルのままであるのでPHASE信号の切り替
えは行なわれない。一方微分回路103は
ASYN信号の有意状態を1クロツク分だけ前微
分してφXCクロツクの1クロツク分だけ低レベ
ルとする。微分回路103の出力とB信号は2入
力オア回路104に入力されて第9図j、第10
図j、第11図iの如くINH信号の切り替えが
制御される。
FIG. 8 is a circuit diagram showing the details of CONT 10 in FIG. , F signal or B signal becomes high level, the PHASE signal is switched only by the first φX clock as shown in FIGS. 9k and 10k. In FIG. 11, since both the F signal and the B signal remain at low level, the PHASE signal is not switched. On the other hand, the differentiating circuit 103
The significant state of the ASYN signal is pre-differentiated by one clock and is set to a low level by one clock of the φXC clock. The output of the differentiating circuit 103 and the B signal are input to a two-input OR circuit 104, and
The switching of the INH signal is controlled as shown in FIG. j and FIG. 11i.

MPX11はこのINH信号が有意(低レベル)
のときはクロツクパルス信号を抑止し、PHASE
信号によりφAクロツク、φBクロツクを選択出力
するものである。
For MPX11, this INH signal is significant (low level)
When , the clock pulse signal is suppressed and the PHASE
The φA clock and φB clock are selectively output according to the signal.

第9図〜第11図においてφXクロツクと
φZ′クロツクとが規定以上に接近(第9図、第1
0図)した場合にはF信号またはB信号が有意と
なり位相切替が行なわれるように時間t1〜t4を設
定することが望ましき。
In Figures 9 to 11, the φX clock and φZ' clock are closer than specified (Figures 9 and 1).
0), it is desirable to set the times t 1 to t 4 so that the F signal or the B signal becomes significant and phase switching is performed.

このときF信号、B信号が同時に有意となると
第8図からPHASE信号は切り替るがINH信号は
有意とならず第10図と同様の動作を行う。
At this time, when the F signal and the B signal become significant at the same time, the PHASE signal switches as shown in FIG. 8, but the INH signal does not become significant and the same operation as in FIG. 10 is performed.

次に同期信号送出周期N(第3図参照)と位相
差検出帯の幅との関係を考察する。第12図は
φ2′クロツク周期TSがφXクロツク周期TRよりも
わずかに大きくて(TS>TR)φXクロツクが
φZ′クロツクに追い付く形で接近する場合であり
前述第4図の場合に相当するものである。第13
図はφXクロツク周期TRがφ2′クロツク周期TS
りもわずかに大きくて(TR>TS)φZ′クロツクが
φXクロツクが追い付く形で接近する場合であり
前述第5図の場合に相当するものである。第12
図、第13図からもわかるように両クロツク位相
差t1,t2,t3,t4,t5は|TR−Ts|づつ減少して
いくが、周期信号が送出されてから次の周期信号
が送出されるまでは両クロツク間の位相関係が逆
転してはいけないことから |TR−TS|×N≦TR/M の関係が成り立つ必要がある。ここで右辺の
TR/Mは位相差検出帯の幅であり受信側クロツ
ク周期TRの1/Mとして表わしてある。
Next, the relationship between the synchronizing signal sending period N (see FIG. 3) and the width of the phase difference detection band will be considered. Figure 12 shows a case where the φ2' clock period T S is slightly larger than the φX clock period T R (T S > T R ) and the φX clock approaches the φZ' clock in a manner that it catches up with it, which is the case in Figure 4 described above. This corresponds to 13th
The figure shows a case where the φX clock period T R is slightly larger than the φ2' clock period T S (T R > T S ) and the φZ' clock approaches in such a way that the φX clock catches up, which corresponds to the case in Figure 5 above. It is something to do. 12th
As can be seen from Fig. 13, the phase differences between the two clocks t 1 , t 2 , t 3 , t 4 , t 5 decrease by | T Since the phase relationship between the two clocks must not be reversed until a periodic signal of Here the right side
T R /M is the width of the phase difference detection band and is expressed as 1/M of the receiving side clock period T R .

水晶振動子では周波数精度は容易に10-4程度が
得られるので |TRrTS|TR×2×10-4 これより N≦1/(M×2×10-4) Mを8とすれば N≦625 N=625のときデータ転送速度は、同期信号直後
の無効データの影響でクロツク周波数そのままの
バンド幅より1/625、即ち0.16%低下する。
With a crystal oscillator, a frequency accuracy of about 10 -4 can be easily obtained, so |T R rT S | T R ×2 × 10 -4 From this, N≦1/(M × 2 × 10 -4 ) Let M be 8. Then, N≦625 When N=625, the data transfer rate is 1/625, or 0.16%, lower than the bandwidth at the same clock frequency due to the influence of invalid data immediately after the synchronization signal.

即ち、本実施例ではクロツク周波数そのままの
バンド幅の99.84%のデータ転送速度が得られる。
That is, in this embodiment, a data transfer rate of 99.84% of the bandwidth can be obtained without changing the clock frequency.

(発明の効果) 本発明は以上詳細に説明したように送信側装置
と受信側装置とはほとんど同周波数であるが各々
独立したクロツク源を有し、送信側は並列データ
とともにクロツクと同期信号を送り、受信側はク
ロツクの位相差を検知して正しく受信できる位相
に受信クロツクを調製し、この受信クロツクの調
節を送信側装置から定期的に送られてくる同期信
号を受信したときに行い、かつ送信側装置では同
期信号の直後のデータを無効とするものであり、
ほぼクロツク周波数そのままのバンド幅でデータ
抜けのないデータ転送が行える利点がある。
(Effects of the Invention) As described above in detail, the transmitting side device and the receiving side device have almost the same frequency, but each has an independent clock source, and the transmitting side receives parallel data as well as a clock and a synchronization signal. The receiving side detects the phase difference between the clocks and adjusts the receiving clock to a phase that allows for correct reception, and adjusts the receiving clock when receiving a synchronization signal periodically sent from the transmitting side device. In addition, the data immediately after the synchronization signal is invalidated by the transmitting device,
It has the advantage of being able to transfer data without data dropout using a bandwidth that is almost the same as the clock frequency.

さらに送信側でデータ(及び同期信号)と送信
クロツクの位相を適切に設定できるため、信号波
形の歪みのみが問題となり、伝搬遅延の影響が出
ないため、両装置間の距離も比較的大きくとれる
利点がある。
Furthermore, since the phases of the data (and synchronization signal) and transmission clock can be set appropriately on the transmitting side, only signal waveform distortion is a problem, and there is no effect of propagation delay, so the distance between the two devices can be relatively large. There are advantages.

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

第1図は本発明の好適な実施例における送信側
装置および受信側装置の概略ブロツク図、第2図
〜第6図および第9図〜第13図は第1図の動作
を説明するためのタイムチヤート図、第7図は第
1図の位相差検出回路9の概略ブロツク図、第8
図は第1図の制御部10の概略ブロツク図であ
る。 2……同期信号発生器、3……クロツク源、9
……位相差検出回路、10,13……制御部、1
1……マルチプレクサ、12……クロツク源。
FIG. 1 is a schematic block diagram of a transmitting side device and a receiving side device in a preferred embodiment of the present invention, and FIGS. 2 to 6 and 9 to 13 are diagrams for explaining the operation of FIG. 1. 7 is a schematic block diagram of the phase difference detection circuit 9 in FIG. 1, and FIG. 8 is a time chart diagram.
1 is a schematic block diagram of the control section 10 shown in FIG. 2...Synchronization signal generator, 3...Clock source, 9
... Phase difference detection circuit, 10, 13 ... Control section, 1
1...Multiplexer, 12...Clock source.

Claims (1)

【特許請求の範囲】 1 送信側装置と受信側装置との間で並列データ
を転送するデータ転送方式において、 送信側装置と受信側装置とはほとんど同周波数
であるが各々に独立したクロツク源を有し、 送信側装置は同期信号の直後に無効データを挿
入した並列データとともにクロツクと同期信号を
送り、受信側装置は送信側装置から定期的に送ら
れてくる同期信号を受信したときに送信クロツク
と受信クロツクとの位相差を検知して正しく受信
できる位相に受信クロツクを調節して並列データ
を転送することを特徴とするデータ転送方式。
[Claims] 1. In a data transfer method in which parallel data is transferred between a transmitting device and a receiving device, the transmitting device and the receiving device have almost the same frequency but each has an independent clock source. The transmitting device sends a clock and synchronization signal along with parallel data with invalid data inserted immediately after the synchronization signal, and the receiving device transmits the synchronization signal when it receives the synchronization signal periodically sent from the transmitting device. A data transfer method that detects the phase difference between a clock and a receiving clock, adjusts the receiving clock to a phase that allows correct reception, and transfers parallel data.
JP59067528A 1984-04-06 1984-04-06 Data transfer system Granted JPS60211558A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59067528A JPS60211558A (en) 1984-04-06 1984-04-06 Data transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59067528A JPS60211558A (en) 1984-04-06 1984-04-06 Data transfer system

Publications (2)

Publication Number Publication Date
JPS60211558A JPS60211558A (en) 1985-10-23
JPH0250665B2 true JPH0250665B2 (en) 1990-11-05

Family

ID=13347565

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59067528A Granted JPS60211558A (en) 1984-04-06 1984-04-06 Data transfer system

Country Status (1)

Country Link
JP (1) JPS60211558A (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5630112A (en) * 1991-06-19 1997-05-13 Kabushiki Kaisha Toshiba System using timing information contained in data read from reproduction unit controlled by first oscillator to vary frequency of independent system clock signal
JP3489147B2 (en) * 1993-09-20 2004-01-19 株式会社日立製作所 Data transfer method
WO2004046943A1 (en) * 2002-11-19 2004-06-03 Fujitsu Limited Signal processing circuit
WO2015132866A1 (en) * 2014-03-04 2015-09-11 三菱電機株式会社 Device with synchronization function, communication system, and synchronization method

Also Published As

Publication number Publication date
JPS60211558A (en) 1985-10-23

Similar Documents

Publication Publication Date Title
US4606050A (en) System for detecting and recovering a transmitted signal
EP0410297A1 (en) Circuit to be used in data transmission systems, which regenerates the clock signal starting from a given message
JPH0358263A (en) Synchronizer using clock phase extrapolation
JPH0250665B2 (en)
US4215348A (en) Method of and system for synchronizing data reception and retransmission aboard communication satellite
US6895484B2 (en) Receiver for a memory controller and method thereof
US5825834A (en) Fast response system implementing a sampling clock for extracting stable clock information from a serial data stream with defined jitter characeristics and method therefor
US7366207B1 (en) High speed elastic buffer with clock jitter tolerant design
US4242754A (en) Clock recovery system for data receiver
JPS61127243A (en) Bit phase synchronizing circuit
US7161986B2 (en) Data transmission system and data transmitter/receiver for use therein, and method thereof
JP3463212B2 (en) Data transmission device
JPS6012850B2 (en) Sampling time synchronization method
SU1213434A1 (en) Digital phase shifter
SU1474658A1 (en) Device for input of asynchronous numeric stream
JPH0223058B2 (en)
JPH01146442A (en) Video data transmission system
JPS5828982B2 (en) Digital signal regeneration repeater
SU1215167A1 (en) Device for synchronizing pulses
JPH037172B2 (en)
JPS6411980B2 (en)
SU1172047A1 (en) Device for transmission and reception of digital signals
JPS5849058B2 (en) Inter-device data transmission synchronization method
JPS60254939A (en) Phase aligning circuit
SU1282198A2 (en) Device for reproducing digital information from magnetic medium