JPH03270428A - Automatic phase correcting circuit - Google Patents

Automatic phase correcting circuit

Info

Publication number
JPH03270428A
JPH03270428A JP2068142A JP6814290A JPH03270428A JP H03270428 A JPH03270428 A JP H03270428A JP 2068142 A JP2068142 A JP 2068142A JP 6814290 A JP6814290 A JP 6814290A JP H03270428 A JPH03270428 A JP H03270428A
Authority
JP
Japan
Prior art keywords
clock
frame
circuit
delay
pulse
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2068142A
Other languages
Japanese (ja)
Inventor
Yuji Tokunaga
裕治 徳永
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2068142A priority Critical patent/JPH03270428A/en
Publication of JPH03270428A publication Critical patent/JPH03270428A/en
Pending legal-status Critical Current

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)
  • Time-Division Multiplex Systems (AREA)

Abstract

PURPOSE:To enable stable data transfer without depending on a distance with no control by storing the output of a delay detecting means into a storing means and controlling a selective circuit according to stored contents. CONSTITUTION:A timing generation circuit 1 generates the plural frame pulses of various phases and plural phase clocks corresponding to those frame pulses. For example, these plural frame pulses and phase clocks are composed of totally two groups advancing the phase clocks by a half clock. The selecting circuit 2 correspondently selects the frame pulses and clock pulses to be generated by the timing generation circuit 1, and a delay detecting means 4 discriminates whether the frame pulse from an external part is delayed or not in respect to the frame pulse generated from the timing pulse generation circuit 1 and delayed by a delay means 3. A storing means 5 stores the output of the delay detecting means 4 and according to the stored contents, the selective circuit 2 is controlled. In such a manner, the phase is automatically controlled and timing is selected so as to obtain the correct phase. Thus, manual work is not required and the stable data transfer is enabled.

Description

【発明の詳細な説明】 〔概   要〕 送信回路と受信回路間の距離による位相を補正する自動
位相補正回路に関し、 無調整で距離に依存せずに安定なデータ転送を行う自動
位相補正回路を提供することを目的とし、位相の異なる
フレームパルスと該フレームパルスに対応した位相クロ
ックとを複数発生するタイくング発生回路と、該タイミ
ング発生回路で発生するフレームパルスとクロックパル
スとを対応して選択する選択回路と、外部からのフレー
ムパルスが、前記タイミングパルス発生回路より発生し
遅延手段で遅延したフレームパルスに対し遅れているか
を判別する遅延検出手段と、前記遅延検出手段の出力を
記憶するとともに該記憶内容で選択回路を制御する記憶
手段とよりなるように構成する。
[Detailed Description of the Invention] [Summary] Regarding an automatic phase correction circuit that corrects the phase due to the distance between a transmitting circuit and a receiving circuit, an automatic phase correction circuit that performs stable data transfer without adjustment and independent of distance is provided. A timing generation circuit that generates a plurality of frame pulses with different phases and phase clocks corresponding to the frame pulses, and a timing generation circuit that generates a plurality of frame pulses and clock pulses generated by the timing generation circuit. A selection circuit to select, a delay detection means for determining whether an external frame pulse lags behind a frame pulse generated by the timing pulse generation circuit and delayed by the delay means, and an output of the delay detection means is stored. and storage means for controlling the selection circuit with the stored contents.

〔産業上の利用分野〕[Industrial application field]

本発明はデータの送受信装置に係り、更に詳しくは送信
回路と受信回路間の距離による位相を補正する自動位相
補正回路に関する。
The present invention relates to a data transmitting/receiving device, and more particularly to an automatic phase correction circuit that corrects the phase depending on the distance between a transmitting circuit and a receiving circuit.

〔従来の技術〕[Conventional technology]

ディジタル技術の発展により、多量のデータが扱われる
ようになった。これに伴いディジタルの信号も高速化さ
れ、多量のデータを送受信できるようになった。
With the development of digital technology, large amounts of data have come to be handled. Along with this, digital signals have also become faster, making it possible to send and receive large amounts of data.

前述したデータを送受信する装置においては、複数のデ
ータを1組にまとめたいわゆるフレームで伝送する方式
が多く用いられている。
In the above-mentioned devices for transmitting and receiving data, a method is often used in which a plurality of data are transmitted in a so-called frame, which is a set of data.

第6図は従来技術の構成図である。受信装置10内にタ
イミングコントローラ(TIM  CTL)11を有し
、フレームパルスとクロックパルスをドライバDVI、
DV2を介して送信装置13に加える。送信装置13は
レシーバREC4,REC5によってフレームパルス並
びにクロックパルスを受信し、タイミング(TIM)回
路14に加える。図示しないがこのタイミング回路より
発生するタイミングパルスにより各種の送出すべきデー
タ、フレーム等が作成され後述する回路によって出力さ
れる。
FIG. 6 is a block diagram of the prior art. A timing controller (TIM CTL) 11 is included in the receiving device 10, and the frame pulse and clock pulse are sent to the driver DVI,
It is added to the transmitting device 13 via DV2. The transmitting device 13 receives frame pulses as well as clock pulses by receivers REC4 and REC5 and applies them to a timing (TIM) circuit 14. Although not shown, various types of data, frames, etc. to be sent are created by timing pulses generated by this timing circuit and outputted by a circuit to be described later.

前述のクロックパルスはレシーバREC5によって受信
され、タイミング回路14に加わるが、この他にドライ
バDV5を介し受信装置10に返送される。また遅延回
路DL1.DL2、選択用ジャンパ回路JPを介し送信
用レジスタ5−REGl、5−R2O3のクロック端子
に加わる。送信用レジスタ5−REGI、5−R2O3
は遅延回路DLI、DL2の一方(ジャンパーによって
選択が決定される)によって遅延したクロックにより送
信すべき信号をランチし、ドライバDV3゜DV4を介
しフレームパルス並びにデータを受信装置10に送出し
ている。そして、受信装置側では受信用レジスタR−R
EGに受信したデータを返送されたクロックで取り込ん
でいる。
The aforementioned clock pulses are received by the receiver REC5 and applied to the timing circuit 14, but are also sent back to the receiving device 10 via the driver DV5. Also, delay circuit DL1. It is applied to the clock terminals of the transmission registers 5-REG1 and 5-R2O3 via DL2 and the selection jumper circuit JP. Transmission register 5-REGI, 5-R2O3
launches a signal to be transmitted using a clock delayed by one of the delay circuits DLI and DL2 (selection is determined by a jumper), and sends frame pulses and data to the receiving device 10 via drivers DV3 to DV4. Then, on the receiving device side, the receiving register R-R
The data received by the EG is captured using the clock sent back.

送信装置13と受信装置10間の距@1が送信クロック
の周期に比べ短い場合には問題とならないが、クロック
が高速となり又距離が長い場合にはこの距Mlによる遅
れが問題となる。
There is no problem if the distance @1 between the transmitting device 13 and the receiving device 10 is shorter than the period of the transmitting clock, but if the clock becomes faster and the distance is long, the delay due to this distance Ml becomes a problem.

第7図、第8図は従来回路のタイミングチャートである
。第7図は距離lが短い場合、第8図は距離lが長い場
合である。尚信号は■′からO′は回路図上の各点に対
応する。遅延回路DLIを固定して使用した場合、距離
lか短い場合にはその遅延は問題とならず、タイミング
コントローラ11から出力されるライトクロックO′並
びにアドレス値[相]′に対応し、送信装置13により
レシーバREC2を介しレシーバ用レジスタR−REG
で取り込んだデータ[相]′は同一のアドレスに対応し
たデータとなり(第7図T1)、正常のデータをメモリ
 (MEM)12に書き込むことができる。これは距離
lが短いからである。すなわちドライバDVIより入力
するフレームに対応し送信装置13から出力されるフレ
ーム■′を、送信レジスタ5−REGlで取り込むタイ
ミング並びにデータを送信レジスタ5−R2O3に取り
込むタイミングが約lクロック分遅れて取り込むように
デイレーラインDLIで遅延させ、その後遅延した信号
をドライバDV3.DV4を介し受信装置10に送出し
ている。そしてレシーバREC2を介して受信用レジス
タR−REGに同様にドライバDV5を介してレシーバ
REC3で受信してレジスタに取り込むクロックとして
いるので、この距離による例えばデータの遅れは影響せ
ず、受信用レジスタR−REGで取り込まれるデータは
T1以前のクロック[相]′が立ち上がる点で取り込ま
れタイくングコントローラ11より発生するライトパル
スO′によって対応して取り込まれる。
7 and 8 are timing charts of the conventional circuit. FIG. 7 shows the case where the distance l is short, and FIG. 8 shows the case where the distance l is long. Note that the signals ■' to O' correspond to each point on the circuit diagram. When the delay circuit DLI is used in a fixed manner, the delay will not be a problem if the distance l is short, and the delay will not be a problem if the distance l is short. 13 to the receiver register R-REG via the receiver REC2.
The data [phase]' taken in becomes data corresponding to the same address (T1 in FIG. 7), and normal data can be written into the memory (MEM) 12. This is because the distance l is short. In other words, the frame ■' output from the transmitting device 13 corresponding to the frame input from the driver DVI is captured with a delay of approximately 1 clock at the timing at which the transmitting register 5-REG1 captures the data and the timing at which the data is captured into the transmitting register 5-R2O3. is delayed by delay line DLI, and then the delayed signal is sent to driver DV3. It is sent to the receiving device 10 via DV4. Since the clock is similarly received by the receiver REC3 via the driver DV5 and taken into the register via the receiver REC2, a data delay due to this distance does not affect the receiving register R-REG. The data taken in by -REG is taken in at the point where the clock [phase]' rises before T1, and is taken in correspondingly by the write pulse O' generated by the timing controller 11.

これに対し、第8図に示す如く距離lが長い場合には例
えば遅延回路をDLIのままとした場合、当然送出され
るクロック■′並びにフレームパルス■′に対し送信す
べきlが短い場合のタイミングTOより送信用レジスタ
5−REGl、5−REG2で取り込むタイミングが遅
れ、この遅れによって受信語210側で受信するデータ
並びにフレーム更にはクロックも遅れる。このため受信
レジスタR−REG取り込まれるパルスは目的のデータ
とはなるが、距il!II!が長いためにデータ全体の
遅れが発生し、メモリに取り込まれるべきデータに対応
したタイミングコントローラ11より発生するアドレス
並びにライトパルスは異なったタイミングとなってしま
う。すなわち受信レジスタR−REGより出力されるデ
ータはタイミングコントローラ11より出力されるアド
レス[相]′より1クロック分遅れたものとなり、異な
ったデータが異なる誤ったアドレスに格納されてしまう
。このように送信装置13、受信装置11間の距離によ
りタイごングエラーを防止するため、従来においては第
6図に示す遅延回路DLIの他に遅延回路DL2を設け
、距離lによってその時間遅れによる読み取りエラーを
防止している。すなわち第9図に示すように、距離lが
長い場合においても、メモリに格納されるべきデータと
それを支持するアドレスとが同一時刻となるように、遅
延回路DL1.DL2をジャンパー線によって選択し誤
りのない転送を得るようにしている。
On the other hand, when the distance l is long as shown in Fig. 8, for example, if the delay circuit is left as DLI, when the length l to be transmitted is short with respect to the transmitted clock ■' and frame pulse ■', The timing of taking in the transmission registers 5-REGl and 5-REG2 is delayed from the timing TO, and this delay delays the data and frame received on the receiving word 210 side, as well as the clock. Therefore, the pulse taken into the reception register R-REG becomes the target data, but the distance il! II! Because of the long time, a delay occurs in the entire data, and the addresses and write pulses generated by the timing controller 11 corresponding to the data to be loaded into the memory have different timings. That is, the data output from the reception register R-REG is delayed by one clock from the address [phase]' output from the timing controller 11, and different data is stored at different and incorrect addresses. In order to prevent timing errors due to the distance between the transmitting device 13 and the receiving device 11, conventionally a delay circuit DL2 is provided in addition to the delay circuit DLI shown in FIG. Prevents errors. That is, as shown in FIG. 9, even when the distance l is long, the delay circuits DL1. DL2 is selected by a jumper line to ensure error-free transfer.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

前述したように従来においては税調や設置の時にその距
離を求め、遅延回路DLIや遅延回路DL2をジャンパ
ー線JPによって選択し、安定したデータ転送ができる
ように設定している。
As described above, conventionally, the distance is determined at the time of tax adjustment or installation, and the delay circuit DLI or delay circuit DL2 is selected by the jumper wire JP, and settings are made to enable stable data transfer.

前述した従来の方式においては、確実なデータ転送は可
能であるが、パッケージの不良による交換設置時に、い
ちいち調整しなくてはならず単に交換部品を発送し、ユ
ーザが取りつける等のことが出来なかった。すなわちP
KG交換等の保守時にいちいち位相補正する煩雑さがあ
り、又その調整に多大な工数を要するという問題を有し
ていた。
With the conventional method described above, reliable data transfer is possible, but when replacing or installing a defective package, adjustments must be made each time, making it impossible to simply ship replacement parts and have the user install them. Ta. That is, P
There is a problem in that it is complicated to perform phase correction each time during maintenance such as KG replacement, and that adjustment requires a large amount of man-hours.

本発明は、無調整で距離に依存せずに安定なデータ転送
を行う自動位相補正回路を提供することを目的とする。
An object of the present invention is to provide an automatic phase correction circuit that performs stable data transfer without adjustment and independent of distance.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は本発明の原理ブロック図である。 FIG. 1 is a block diagram of the principle of the present invention.

タイくング発生回路1は位相の異なるフレームパルスと
フレームパルスに対応した位相クロックとを複数発生す
る。たとえば、この複数のフレームパルスと位相クロッ
クとは、位相クロックの半りロック分進んだ合計2個の
グループより威る。
The tying generation circuit 1 generates a plurality of frame pulses having different phases and a plurality of phase clocks corresponding to the frame pulses. For example, the plurality of frame pulses and the phase clock are more powerful than a total of two groups that are half a lock ahead of the phase clock.

選択回路2はタイミング発生回路1で発生するフレーム
パルスとクロックパルスとを対応して選択する。
The selection circuit 2 selects the frame pulse and the clock pulse generated by the timing generation circuit 1 in a corresponding manner.

遅延検出手段4は外部からのフレームパルスが、前記タ
イミングパルス発生回路1より発生し遅延手段3で遅延
したフレームパルスに対し遅れているかを判別する。
The delay detection means 4 determines whether the external frame pulse is delayed with respect to the frame pulse generated by the timing pulse generation circuit 1 and delayed by the delay means 3.

記憶手段5は前記遅延検出手段4の出力を記憶するとと
もに記憶内容で選択回路2を制御する。
The storage means 5 stores the output of the delay detection means 4 and controls the selection circuit 2 based on the stored contents.

〔作   用〕[For production]

第1図は本発明の原理ブロック図である。タイミング発
生回路1はたとえば基本とするフレームパルスとクロッ
クと、その基準とする基本のクロックより半りロック分
進んだフレームパルスとクロックとより戒る2個のグル
ープの信号を発生する。この2個のグループの信号を選
択手段2は選択する。先ず、この選択手段2は基本とす
るフレームパルスとクロックとを選択する。そして外部
より加わるフレームパルスが前記タイミングの発生回路
1より出力され、遅延手段3を介した基本とするフレー
ムパルスより遅れているかを遅延検出手段4は検出する
。この遅れの検出はランチ回路への取り込みを、この遅
延手段3を介した基本とするフレームパルスで行うこと
によってなされる。そしてその結果で、遅れている時に
はフレームパルスとクロックとを半クロック好運れたグ
ループを選択手段2は選択する。また、遅れていない時
にはそのままとする。これにより、外部より送られてく
るデータに対応したフレームパルスとクロックとを得る
ことができる。
FIG. 1 is a block diagram of the principle of the present invention. The timing generation circuit 1 generates two groups of signals, for example, a basic frame pulse and clock, and a frame pulse and clock that are half a lock ahead of the basic clock as a reference. The selection means 2 selects these two groups of signals. First, the selection means 2 selects a basic frame pulse and clock. Then, a frame pulse applied from the outside is outputted from the timing generation circuit 1, and the delay detection means 4 detects whether it is delayed from the basic frame pulse passed through the delay means 3. This delay is detected by inputting the basic frame pulse through the delay means 3 into the launch circuit. As a result, when there is a delay, the selection means 2 selects the group that has a better chance of half a clock between the frame pulse and the clock. Also, if you are not late, leave it as is. Thereby, frame pulses and clocks corresponding to data sent from the outside can be obtained.

〔実  施  例〕〔Example〕

以下、図面を用いて本発明の詳細な説明する。 Hereinafter, the present invention will be explained in detail using the drawings.

第2図は本発明の実施例の構成図、第3図から第5図は
本発明の実施例のタイくングチャートである。受信装置
20はタイごングコントローラ(TIM  CTL)2
1を有する。このタイミングコントローラ21は2つの
位相のフレームパルスとクロックパルスを対応させて出
力させている。
FIG. 2 is a configuration diagram of an embodiment of the present invention, and FIGS. 3 to 5 are tying charts of the embodiment of the present invention. The receiving device 20 is a timing controller (TIM CTL) 2
1. This timing controller 21 outputs frame pulses and clock pulses of two phases in correspondence with each other.

各フレームパルスとクロックパルスはそのグループによ
り0位相P0と1位相P、とによって分けられている。
Each frame pulse and clock pulse is divided into 0 phase P0 and 1 phase P according to its group.

電源投入時にはO位相POの信号を選択する。よって、
フレームセレクタSEL 1、クロックセレクタSEL
 2はタイミングコントローラより出力されるフレーム
信号[相]とクロック信号[相]を選択しドライバDV
11.DV12 (■、■)を介し送信装置23に加え
る(■、■)。ドライバDVII、  ドライバDV1
2より出力されるフレームパルス、クロックパルスの、
■ハ送信装置23のレシーバRECI4.RECI5 
(■、■)を介しタイミング回路(TIM)24に加わ
る。そして図示しない回路により例えば送信すべきデー
タやフレームパルスが作成され(■、■)、送信レジス
タ5−REG4,5−REG5に加わる。レシーバRE
C15によって受信したクロックはさらに遅延回路DL
Iを介しく■)、送信レジスタ5−REG4,5−RE
G5のクロック入力端子へも加わる。送信レジスタ5−
REG4゜5−REG5で取り込まれた(遅延回路DL
Iを介して入力シタクロックで取り込む)送信フレーム
並びに送信データはドライバDVI 1.DVI2を介
しく■、@l)、受信装置t20に送出される(Olo
)。またクロックもレシーバREC15(0〉からドラ
イバDV13([相])を介し送信装置23に送出され
る。このクロックはレシーバREC13によって受信さ
れ、受信レジスタR−REG4のタイミングクロックと
なる。またデータはレシーバREC12を介し受信レジ
スタR−REG4に加わり前述のレシーバREC13で
受信したクロックで取り込まれる。更に送信フレームは
レシーバRECIIを介し図示しない回路に加わるとと
もに、フリップフロップFF3に入力する。
When the power is turned on, the O-phase PO signal is selected. Therefore,
Frame selector SEL 1, clock selector SEL
2 selects the frame signal [phase] and clock signal [phase] output from the timing controller and sends the driver DV
11. It is added to the transmitting device 23 (■, ■) via the DV12 (■, ■). Driver DVII, Driver DV1
The frame pulse and clock pulse output from 2.
■ Receiver RECI4 of the transmitting device 23. RECI5
It is applied to the timing circuit (TIM) 24 via (■, ■). Then, for example, data and frame pulses to be transmitted are created by a circuit (not shown) (■, ■) and added to the transmission registers 5-REG4 and 5-REG5. Receiver RE
The clock received by C15 is further passed through a delay circuit DL.
■), transmission register 5-REG4,5-RE
It is also added to the clock input terminal of G5. Transmission register 5-
taken in by REG4゜5-REG5 (delay circuit DL
Transmission frames and data (taken in by the input clock via I) are sent to the driver DVI 1. ■, @l) is sent to the receiving device t20 via the DVI2 (Olo
). A clock is also sent from the receiver REC15 (0> to the transmitting device 23 via the driver DV13 ([phase]). This clock is received by the receiver REC13 and becomes the timing clock for the receiving register R-REG4. The frame is added to the reception register R-REG4 via REC12 and taken in by the clock received by the receiver REC13.Furthermore, the transmission frame is added to a circuit (not shown) via the receiver RECII, and is input to the flip-flop FF3.

一方、クロックセレクタSL2の0端子に加わるクロッ
ク([相])はフリップフロップFFI、FF2に加わ
る。フリップフロップFFI、FF2はO位相POなる
クロックによって、2段のシフトレジスタを槽底してい
る。このフリップフロップFFIの入力には、位相PO
に対応したフレームパルス(0)が入力しており、フレ
ームパルスをこの2段のフリップフロップFFI、FF
2により2クロックパルス分遅延(o)させている。
On the other hand, the clock ([phase]) applied to the 0 terminal of clock selector SL2 is applied to flip-flops FFI and FF2. The flip-flops FFI and FF2 operate a two-stage shift register using an O-phase clock PO. The input of this flip-flop FFI has a phase PO
A frame pulse (0) corresponding to
2 causes a delay (o) of two clock pulses.

そしてそのフリップフロップFF2の出力([相])は
フリップフロップFF3のクロック端子に入力している
。すなわち送出すべき受信フレームを送信クロックで2
クロック分遅らせ、フリップフロップFF3の取り込み
タイミングとしている。
The output ([phase]) of the flip-flop FF2 is input to the clock terminal of the flip-flop FF3. In other words, the received frame to be sent is
The timing is delayed by a clock and is used as the timing for taking in the flip-flop FF3.

フリップフロップFF3の入力には送信装置23から送
られる送信フレームパルスが加わり、2クロック分遅れ
たフレームパルスに対し送信装置より送られたフレーム
が早く入力するときには、フリップフロップFF3はそ
のフレームパルスを取り込む(Hレベルを取り込む)。
The transmission frame pulse sent from the transmitting device 23 is added to the input of the flip-flop FF3, and when the frame sent from the transmitting device is input earlier than the frame pulse delayed by two clocks, the flip-flop FF3 takes in that frame pulse. (Take in H level).

フリップフロップFF3の出力は反転出力であるでその
出力はOレベルとなる(0)。よってオアゲート(OR
)の出力(@)も0レベルとなり、以後セレクタはフレ
ームパルス(@l)とクロックパルス[相]ヲ選択し、
送信装置23に出力する。この信号は順次出力されるが
、距離lが短いのでフリップフロップFF3はフレーム
パルスが送信装置より出力された信号を取り込むことと
なり、Hレベルを常に取り込み、出力は0レベルとなる
。この時カウンタCNTのクロック端子には常にOレベ
ルが加わるから、カウンタは歩進せず、その出力(O)
もOレベルとなり、この状態が続く。すなわち第3図に
示すタイミングT6においてアドレス[相]に対応して
正しいデータがライトパルスWOによりメモリ23に取
り込まれる。
The output of flip-flop FF3 is an inverted output, so the output becomes O level (0). Therefore, OR gate (OR
) output (@) also becomes 0 level, and from then on the selector selects frame pulse (@l) and clock pulse [phase],
It is output to the transmitting device 23. These signals are sequentially output, but since the distance l is short, the flip-flop FF3 takes in the frame pulse signal output from the transmitting device, always takes in the H level, and outputs the 0 level. At this time, since the O level is always applied to the clock terminal of the counter CNT, the counter does not increment and its output (O)
becomes O level, and this state continues. That is, at timing T6 shown in FIG. 3, correct data corresponding to the address [phase] is taken into the memory 23 by the write pulse WO.

一方、lが長くフリップフロップFF3の出力がlレベ
ルであったとしても送信袋W23より出力されるフレー
ムパルスは前述したタイごングよりさらに遅れるため2
クロック遅れて加わるフェイズ0のフレームよりさらに
遅れることとなり、フリップフロップFF3は同レベル
(0レベル)を取り込む。これによりフリップフロップ
FF3はlレベルとなり、オアゲートORの出力(@)
もlレベルとなる。この時、ライトパルスW (@)は
メモリ23に加わるアドレスに対して人力するが、この
アドレスに対応したデータは遅れている(第4回TI)
。しかしながらこの状態は税調等の時であり、問題はな
い。前述した動作により、オアゲートORの出力はlレ
ベルとなるので、フレームセレクタSLI並びにクロッ
クセレクタSL2は1端子の信号を選択し、1位相P1
のフレームパルス並びにクロックパルスを選択する(第
5図1が長い場合■参照)。この選択された信号は送信
装置23にフレームパルス、クロックパルスとして出力
される。尚、この時フレームパルス、クロックパルスは
クロックの半周期位相の進んだ信号である。このフレー
ムパルス、クロックパルスの位相を進めることにより送
信装置23から出力されるフレーム並びにデータ更にク
ロックは半周期送信装置23より進んで出力され、フリ
ップフロップFF3のクロックパルスの立ち上がりより
早くフレームパルスが入力する。よってlレベルをフリ
ップフロップFF3は取り込み、その出力(■)はlレ
ベルとなる。これにより再度第4図のlが長い場合■の
タイミングで行い、この時にはフレームパルスが同様に
遅れるので、再度フレームパルスが取り込まれなくなり
フリップフロ7プFF3の出力はハイレベルとなる。こ
の立ち上がりによりカウンタは“2”となり、その出力
(o)はlレベルとなる。カウンタCNTの出力Qlは
イネーブル端子に加わっており、出力Q1がlレベルに
なるとカウンタはデセイエイプルとなりHを保持した状
態となる。これにより以後はオアゲートORの出力(■
)がlレベルとなり、クロックは常に1側が選択される
。すなわち半クロック速いフレームパルス並びにクロッ
クパルスが送信装置より出力され、距離lを補正したク
ロックパルスとフレームパルスとが出力される(第5図
点線)。よってメモリ (MEM)23の人力データ(
[相])に対応したアドレス(@〉値で指示され、ライ
トパルスW (@)で取り込まれる(T)。
On the other hand, even if l is long and the output of flip-flop FF3 is at l level, the frame pulse output from the sending bag W23 is further delayed than the timing mentioned above.
This is further delayed than the phase 0 frame which is added with a clock delay, and the flip-flop FF3 takes in the same level (0 level). As a result, flip-flop FF3 becomes L level, and the output of OR gate OR (@)
is also at l level. At this time, the write pulse W (@) is manually applied to the address added to the memory 23, but the data corresponding to this address is delayed (4th TI)
. However, this situation is at the time of tax adjustment, etc., so there is no problem. Due to the above-mentioned operation, the output of the OR gate OR becomes L level, so the frame selector SLI and clock selector SL2 select the signal of one terminal, and one phase P1.
Select the frame pulse and clock pulse (see ◯ if Fig. 5 1 is long). This selected signal is output to the transmitter 23 as a frame pulse and a clock pulse. Incidentally, at this time, the frame pulse and the clock pulse are signals whose phase is advanced by half a cycle of the clock. By advancing the phase of the frame pulse and clock pulse, the frame and data output from the transmitting device 23. Furthermore, the clock is outputted from the transmitting device 23 by half a cycle, and the frame pulse is inputted earlier than the rising edge of the clock pulse of the flip-flop FF3. do. Therefore, the flip-flop FF3 takes in the l level, and its output (■) becomes the l level. As a result, when l is long in FIG. 4, the timing shown in (3) is performed again, and since the frame pulse is similarly delayed at this time, no frame pulse is taken in again, and the output of the flip-flop FF3 becomes high level. With this rise, the counter becomes "2" and its output (o) becomes L level. The output Ql of the counter CNT is applied to the enable terminal, and when the output Q1 reaches the L level, the counter becomes deceiver and remains at H level. As a result, the output of the OR gate (■
) is at L level, and the 1 side of the clock is always selected. That is, a frame pulse and a clock pulse that are half a clock faster are output from the transmitter, and a clock pulse and a frame pulse with the distance l corrected are output (dotted line in FIG. 5). Therefore, the human data of memory (MEM) 23 (
[phase]) is specified by the address (@〉 value) and is taken in by the write pulse W (@) (T).

以上のような動作によりメモリ23には、装置間の距離
lが短い場合であれ長い場合であれ自動的にその位相が
補正され、短い場合にはタイごングT6でまた速い場合
にはタイミングT7で出力されるので目的のデータを目
的のアドレスに格納することができる。尚、lが長い場
合状JliAにおいてはタイミングT8で一時的に異な
るデータを異なるアドレスに取り込むこととなるがこれ
はチューニング例えば税調において行われるものであり
、−度カウンタがセットされることにより以後は目的の
位相によっり選択される。
Through the above-described operation, the phase is automatically corrected in the memory 23 regardless of whether the distance l between the devices is short or long. The target data can be stored at the target address. Note that when l is long, in case JliA, different data is temporarily fetched into a different address at timing T8, but this is done during tuning, for example, tax adjustment, and from then on, by setting the -degree counter. Selected according to the target phase.

以上、本発明の実施例を用いて説明したが、本発明は2
個の位相に限らず複数の位相に対しても選択を行って最
良の位相を得ることも可能である。
Although the present invention has been explained above using embodiments, the present invention has two
It is also possible to obtain the best phase by selecting not only a single phase but also a plurality of phases.

2個のパルスの位相差は半周期であるが、半周期の位相
差に限らず、また進みや遅れ等もこれに限るものではな
い。
Although the phase difference between the two pulses is a half cycle, the phase difference is not limited to a half cycle, and the lead or delay is not limited to this.

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

以上述べたように本発明によれば自動的に位相を調整し
、正しい位相となるべきタイミングを選択するので税調
による人手を必要とせず、また簡単に調整が可能となる
As described above, according to the present invention, the phase is automatically adjusted and the timing at which the correct phase should be obtained is selected, so that there is no need for manpower for tax adjustment, and adjustment can be easily performed.

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

第1図は本発明の原理ブロック図、 第2図は本発明の実施例の構成図、 第3図、第4図、第5図は本発明の実施例のタイミング
チャート、 第6図は従来技術の構成図、 第7図、第8図、第9図は従来回路のタイミングチャー
トである。 1・・・タイミング発生回路、 2・・・選択回路、 3・・・遅延手段、 4・・・遅延検出手段、 5・・・記憶手段。
Figure 1 is a principle block diagram of the present invention, Figure 2 is a configuration diagram of an embodiment of the present invention, Figures 3, 4, and 5 are timing charts of the embodiment of the present invention, and Figure 6 is a conventional example. 7, 8, and 9 are timing charts of conventional circuits. DESCRIPTION OF SYMBOLS 1... Timing generation circuit, 2... Selection circuit, 3... Delay means, 4... Delay detection means, 5... Storage means.

Claims (1)

【特許請求の範囲】 1)位相の異なるフレームパルスと該フレームパルスに
対応した位相クロックとを複数発生するタイミング発生
回路(1)と、 該タイミング発生回路(1)で発生するフレームパルス
とクロックパルスとを対応して選択する選択回路(2)
と、 外部からのフレームパルスが、前記タイミングパルス発
生回路(1)より発生し遅延手段(3)で遅延したフレ
ームパルスに対し遅れているかを判別する遅延検出手段
(4)と、 前記遅延検出手段(4)の出力を記憶するとともに該記
憶内容で選択回路(2)を制御する記憶手段(5)とよ
りなることを特徴とする自動位相補正回路。 2)前記遅延検出手段(4)はラッチ回路であり、前記
遅延手段(3)の出力で前記外部より加わるフレームパ
ルスを取り込むとともにタイミング発生回路(1)より
発生する基本クロックで前記基本フレームパルスを遅延
させることを特徴とする請求項1記載の自動位相補正回
路。 3)前記タイミング発生回路(1)は基本フレームパル
スと該基本フレームパルスに対し半クロック分遅れたフ
レームパルスとを出力し、 前記遅延検出手段(4)が外部からのフレームパルスの
遅れを検出した時に前記選択回路(2)の前記半クロッ
ク分遅れたフレームパルスを選択することを特徴とする
請求項1記載の自動位相補正回路。
[Claims] 1) A timing generation circuit (1) that generates a plurality of frame pulses with different phases and a plurality of phase clocks corresponding to the frame pulses, and frame pulses and clock pulses generated by the timing generation circuit (1). Selection circuit (2) that selects in correspondence with
and a delay detection means (4) for determining whether an external frame pulse lags behind a frame pulse generated by the timing pulse generation circuit (1) and delayed by the delay means (3); and the delay detection means. An automatic phase correction circuit characterized by comprising a storage means (5) for storing the output of (4) and controlling the selection circuit (2) with the stored contents. 2) The delay detection means (4) is a latch circuit, which takes in the frame pulse applied from the outside with the output of the delay means (3), and also captures the basic frame pulse with the basic clock generated from the timing generation circuit (1). The automatic phase correction circuit according to claim 1, characterized in that the automatic phase correction circuit is delayed. 3) The timing generation circuit (1) outputs a basic frame pulse and a frame pulse delayed by half a clock with respect to the basic frame pulse, and the delay detection means (4) detects a delay in the frame pulse from the outside. 2. The automatic phase correction circuit according to claim 1, wherein said selection circuit (2) selects a frame pulse delayed by said half clock.
JP2068142A 1990-03-20 1990-03-20 Automatic phase correcting circuit Pending JPH03270428A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2068142A JPH03270428A (en) 1990-03-20 1990-03-20 Automatic phase correcting circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2068142A JPH03270428A (en) 1990-03-20 1990-03-20 Automatic phase correcting circuit

Publications (1)

Publication Number Publication Date
JPH03270428A true JPH03270428A (en) 1991-12-02

Family

ID=13365200

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2068142A Pending JPH03270428A (en) 1990-03-20 1990-03-20 Automatic phase correcting circuit

Country Status (1)

Country Link
JP (1) JPH03270428A (en)

Similar Documents

Publication Publication Date Title
JP2529682B2 (en) Method and apparatus for synchronizing clocks
US6715007B1 (en) Method of regulating a flow of data in a communication system and apparatus therefor
US8194652B2 (en) Serializer for generating serial clock based on independent clock source and method for serial data transmission
KR100910853B1 (en) Semiconductor memory device and the method for operating the same
JPH08507668A (en) Deskew device for serial data bus
US5625842A (en) System for the automatic transfer of message status in digital data communication
US9460649B2 (en) Timing controller for image display and associated control method
KR20200131073A (en) Memory controller, and memory system including the same and method thereof
KR100806140B1 (en) Semiconductor memory device
US5594743A (en) Fifo buffer system having an error detection and correction device
JP2004185608A (en) Device for adjusting latch timing of data
JPWO2007097008A1 (en) Data receiving apparatus and data transmitting apparatus
JPH03270428A (en) Automatic phase correcting circuit
US10020035B2 (en) Reception circuit
US20110267898A1 (en) Semiconductor memory apparatus
EP4203313A1 (en) Pulse signal generation circuit and generation method, and memory
US10637638B2 (en) Semiconductor apparatus for transmitting and receiving a signal in synchronization with a clock signal
US7696801B2 (en) Reset method for clock triggering digital circuit and related signal generating apparatus utilizing the reset method
US5559998A (en) Clock synchronous serial information receiving apparatus receiving reliable information even when noise is present
KR100734521B1 (en) Intellectual Property Module for System on Chip
JP2792501B2 (en) Data transfer method and data transfer method
US6850561B1 (en) Predictable updating of a baud divisor of an asynchronous serial port during data reception
JPS61180357A (en) Data latch circuit
JP2971661B2 (en) Digital data transmission method between backplanes
JP3950661B2 (en) Data transmission device