JPH04215341A - Data reception timing correction device - Google Patents
Data reception timing correction deviceInfo
- Publication number
- JPH04215341A JPH04215341A JP2401856A JP40185690A JPH04215341A JP H04215341 A JPH04215341 A JP H04215341A JP 2401856 A JP2401856 A JP 2401856A JP 40185690 A JP40185690 A JP 40185690A JP H04215341 A JPH04215341 A JP H04215341A
- Authority
- JP
- Japan
- Prior art keywords
- digital signal
- switching
- frame
- delay
- correction device
- 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
Links
- 230000005540 biological transmission Effects 0.000 claims description 12
- 230000003111 delayed effect Effects 0.000 claims description 6
- 230000002123 temporal effect Effects 0.000 claims description 5
- 238000000034 method Methods 0.000 claims description 2
- 230000003287 optical effect Effects 0.000 description 7
- 239000013307 optical fiber Substances 0.000 description 7
- 238000001514 detection method Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 239000000284 extract Substances 0.000 description 1
- 230000006870 function Effects 0.000 description 1
Landscapes
- Small-Scale Networks (AREA)
- Optical Communication System (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【0001】0001
【産業上の利用分野】本発明はデータの受信タイミング
補正装置に関し、さらに詳細にいえば、ディジタル信号
(符号方式は、例えば時分割多重方式のものである)を
ループ状に伝送する伝送路において、伝送路の途中に設
けられている各ステーションが独立同期方式を採用して
いる場合に、上記ディジタル信号によって構成される各
フレームの到達時間のゆらぎに起因するアドレスの競合
によるデータの読取りエラーを防ぐために設けられるデ
ータの受信タイミング補正装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data reception timing correction device, and more specifically, the present invention relates to a data reception timing correction device, and more specifically, to a transmission line that transmits a digital signal (coding system is, for example, a time division multiplex system) in a loop. , when each station installed in the middle of the transmission path adopts an independent synchronization method, data reading errors due to address conflicts caused by fluctuations in the arrival time of each frame composed of the digital signals mentioned above can be prevented. The present invention relates to a data reception timing correction device that is provided to prevent such problems.
【0002】0002
【従来の技術】上記ループ状の伝送路に設けられている
各ステーションは、独立同期方式を採用しているため同
期をとるためのクロックを備え、常時同期信号を発生し
ている。特に、データを作り出してフレームに乗せて送
り出す役割を持つマスターステーション(以下「マスタ
ー」という)は、上記同期信号を用いて、データを発生
してフレームにのせるタイミング、および一巡して送り
返されてきたデータを受信して読み取るタイミングをと
っている。2. Description of the Related Art Each station provided on the above-mentioned loop-shaped transmission line employs an independent synchronization system, is equipped with a clock for synchronization, and constantly generates a synchronization signal. In particular, the master station (hereinafter referred to as "master"), which has the role of creating data and sending it out in a frame, uses the above synchronization signal to determine when to generate data and put it in a frame, and when to send it back in one cycle. The timing for receiving and reading the data is determined.
【0003】0003
【発明が解決しようとする課題】この場合、フレームが
伝送路を一巡して帰ってくる時間が正確に決まっていれ
ば、上記タイミングの誤差は発生しないので誤りのない
データ処理が行えるわけであるが、一巡時間にある程度
のゆらぎが生じるとアドレスが競合することがあり、帰
ってきたフレームが正しく把握できず、データの読取り
エラーが発生する。[Problem to be solved by the invention] In this case, if the time at which the frame goes around the transmission path and returns is accurately determined, the above timing error will not occur, and data processing without error can be performed. However, if there is some degree of fluctuation in the round trip time, address conflicts may occur, and the returned frame cannot be correctly determined, resulting in data reading errors.
【0004】このことを図面により説明すれば、図2、
図3のようになる。図2はループ状の伝送路およびこの
伝送路に設けられたマスターM、および複数のスレーブ
ステーション(以下「スレーブ」という)S1,S2,
S3,S4 を示す。各ステーションには同期信号を発
生するクロックCLKが備えられている。図3は、フレ
ーム相互の時間関係を示す図であり、マスターMから出
るフレームを同図(a) に、一巡してマスターMに帰
ってくるフレームを同図(b),(c) に示す。通常
、マスターMから出るフレームとマスターMに帰ってく
るフレームとの間には時間のゆらぎΔTが発生していて
このゆらぎΔTが同図(c) に示すようにしきい値Δ
Tc 外ならば、データは正しく再現できるが同図(b
) に示すように時間のゆらぎΔTがしきい値ΔTc
に入ると、データが他のフレームに乗ってしまいエラー
となる。[0004] To explain this using drawings, FIG.
It will look like Figure 3. FIG. 2 shows a loop-shaped transmission line, a master M provided on this transmission line, and a plurality of slave stations (hereinafter referred to as "slaves") S1, S2,
S3 and S4 are shown. Each station is equipped with a clock CLK that generates a synchronization signal. Figure 3 is a diagram showing the temporal relationship between frames. Frames that leave master M are shown in (a), and frames that return to master M after a round are shown in (b) and (c). . Normally, a time fluctuation ΔT occurs between the frame leaving the master M and the frame returning to the master M, and this fluctuation ΔT is determined by the threshold value ΔT as shown in the figure (c).
If outside Tc, the data can be reproduced correctly, but the same figure (b
), the time fluctuation ΔT is the threshold value ΔTc
If it enters, the data will be transferred to another frame and an error will occur.
【0005】そこで、本発明は、上記のようにしきい値
に入ってしまうゆらぎがあっても、常に正しくデータを
読み取ることのできるデータ受信タイミングの補正装置
を提供することを目的とするものである。SUMMARY OF THE INVENTION Therefore, it is an object of the present invention to provide a data reception timing correction device that can always read data correctly even if there is a fluctuation that falls within the threshold value as described above. .
【0006】[0006]
【課題を解決するための手段】上記の目的を達成するた
めの本発明のデータの受信タイミング補正装置は、一巡
して帰ってきたディジタル信号に対して一定時間の遅延
をかける遅延手段と、この遅延手段により遅延されたデ
ィジタル信号と、遅延をかける前のディジタル信号とを
切替える切替手段と、切替手段によって選別されたいず
れかのディジタル信号により構成されるフレームと自局
から送信されるディジタル信号によって構成されるフレ
ームとの時間差を比較するタイミング比較手段と、タイ
ミング比較手段により比較された結果に基づいて上記切
替手段の切替を行う切替制御手段とを有するものである
。[Means for Solving the Problems] In order to achieve the above object, the data reception timing correction device of the present invention includes a delay means for delaying a digital signal by a certain period of time after completing one circuit and returning the digital signal. a switching means for switching between the digital signal delayed by the delaying means and the digital signal before the delay is applied, and a frame composed of one of the digital signals selected by the switching means and the digital signal transmitted from the local station; The timing comparison means compares the time difference with the constructed frame, and the switching control means switches the switching means based on the result of the comparison by the timing comparison means.
【0007】[0007]
【作用】上記の構成のデータの受信タイミング補正装置
によれば、ディジタル信号が時間のゆらぎなく一巡して
帰ってきた場合、帰ってきたディジタル信号により構成
されるフレームと自局から送信されるディジタル信号に
よって構成されるフレームとのタイミングは一致してい
るので、切替制御手段は、切替手段を遅延のない状態、
または遅延のある状態にすることができ、そのままデー
タを正確に読み取ることができる。[Operation] According to the data reception timing correction device having the above configuration, when a digital signal returns after completing one cycle without time fluctuation, the frame composed of the returned digital signal and the digital signal transmitted from the local station are Since the timing matches the frame constituted by the signal, the switching control means sets the switching means to a state without delay.
Alternatively, it can be set to a state with a delay, and the data can be read accurately as is.
【0008】また、帰ってきたディジタル信号に時間的
ゆらぎがあった場合(各ステーションが独立同期方式を
採用しているので、多少のゆらぎは発生するのが通常で
ある。)、比較手段は、帰ってきたディジタル信号によ
り構成されるフレームと自局から送信されるディジタル
信号によって構成されるフレームとの時間差の不適合を
見出だすので、切替制御手段は、切替手段を遅延状態に
切替えたり、遅延のない状態に切替えたりすることがで
きる。したがって、帰ってきたディジタル信号に含まれ
ているゆらぎを切替操作でアドレスの競合が発生しない
タイミングにずらすことにより、データ処理を行うこと
ができるので、データの読取りエラーを防ぐことができ
るようになる。[0008] Furthermore, if there is a temporal fluctuation in the returned digital signal (as each station employs an independent synchronization system, some fluctuation usually occurs), the comparison means The switching control means detects an incompatibility in the time difference between the frame made up of the returned digital signal and the frame made up of the digital signal transmitted from its own station, so the switching control means switches the switching means to a delay state or It is possible to switch to a state without. Therefore, data processing can be performed by shifting the fluctuations contained in the returned digital signal to a timing where address conflicts do not occur through switching operations, making it possible to prevent data reading errors. .
【0009】[0009]
【実施例】以下実施例を示す添付図面によって詳細に説
明する。1番目の実施例は、マスタの遅延手段をシフト
レジスタで構成したものであり、マスタは、図1に示す
ように、スレーブから入力される光信号を検出する光検
出器1と、検出された電気信号に対して一定時間の遅延
(この遅延時間は、想定される時間のゆらぎに対しては
大きく、1フレーム時間に対しては十分小さい。例えば
20bit 程度の遅延)をかけるシフトレジスタ2と
、このシフトレジスタ2により遅延された電気信号と、
遅延をかける前の電気信号とを切替えるセレクタ3と、
セレクタ3の出力信号をシリアル/パラレル変換する受
信部4と、受信部4の出力信号を一定時間蓄えている先
入れ先出し形のバッファメモリ5と、バッファメモリ5
から出力された内容をパラレル/シリアル変換する送信
部6と、送信部6の出力信号を光信号に変換して次のス
レーブに送り出す光変換器7とを有し、さらに、セレク
タ3によって切替えられたいずれかの電気信号により構
成されるフレームと自局から送信されるディジタル信号
によって構成されるフレームとの時間差を比較し、比較
結果に基づいて上記セレクタ3に切替を行わせるタイミ
ングエラー検出部8を有する。DESCRIPTION OF THE PREFERRED EMBODIMENTS Examples will be explained in detail below with reference to the accompanying drawings showing examples. In the first embodiment, the delay means of the master is composed of a shift register, and the master has a photodetector 1 that detects the optical signal input from the slave, and a photodetector 1 that detects the optical signal input from the slave, as shown in FIG. A shift register 2 that applies a fixed time delay to the electrical signal (this delay time is large relative to assumed time fluctuations, but sufficiently small relative to one frame time; for example, a delay of about 20 bits); The electrical signal delayed by this shift register 2,
a selector 3 for switching between the electric signal and the electric signal before applying the delay;
A receiver 4 that converts the output signal of the selector 3 into serial/parallel, a first-in first-out buffer memory 5 that stores the output signal of the receiver 4 for a certain period of time, and a buffer memory 5.
It has a transmitter 6 that converts the output from the transmitter 6 into parallel/serial, and an optical converter 7 that converts the output signal of the transmitter 6 into an optical signal and sends it to the next slave. a timing error detection unit 8 that compares the time difference between a frame composed of one of the electrical signals and a frame composed of a digital signal transmitted from the own station, and causes the selector 3 to perform switching based on the comparison result; has.
【0010】光検出器1には、通常のフォトダイオード
(PD)、光変換器7には発光ダイオード(LED)等
が用いられる。シフトレジスタ2、受信部4、送信部6
、バッファメモリ5には、MOS−RAM、CCD等が
用いられ、セレクタ3にはフリップフロップ等が用いら
れる。タイミングエラー検出部8は、両フレームの時間
差を見るもので、具体的には、セレクタ3から出力され
る電気信号により構成される符号に含まれるヘッダ(フ
レームの頭を示す部分)を取り出し、マスタ内蔵のクロ
ック(図示せず)により特定される送信フレームの頭の
部分との時間差を測定して、それが所定のしきい値〓T
c よりも多いか少ないかで判断してもよいし、あるい
はセレクタ3から出力される電気信号により構成される
符号を、マスタ内蔵のクロック(図示せず)を用いて解
読した場合にエラーが出るかどうかで判定するものでも
よい。The photodetector 1 uses an ordinary photodiode (PD), and the optical converter 7 uses a light emitting diode (LED). Shift register 2, receiving section 4, transmitting section 6
, a MOS-RAM, a CCD, or the like is used for the buffer memory 5, and a flip-flop or the like is used for the selector 3. The timing error detection unit 8 detects the time difference between the two frames. Specifically, the timing error detection unit 8 extracts the header (the part indicating the beginning of the frame) included in the code composed of the electrical signal output from the selector 3, The time difference with the beginning of the transmission frame specified by a built-in clock (not shown) is measured, and the time difference is determined as a predetermined threshold value 〓T.
It may be determined whether the number is greater or less than c, or an error will occur if the code composed of the electrical signal output from the selector 3 is decoded using the master's built-in clock (not shown). It may be determined whether or not the
【0011】タイミングエラー検出部8は、上記のよう
に時間差がしきい値〓Tc よりも少ないと判断した場
合、あるいはエラーが出た場合、そのことを示す論理符
号をセレクタ3に送り、シフトレジスタ2により遅延さ
れた電気信号と、遅延をかける前の電気信号とを切替え
させる。この結果、マスタに帰ってきたフレームに時間
的ゆらぎがあって送信タイミングと一致しないおそれが
あるときでも、セレクタ3を切替えてシフトレジスタ2
により遅延させたり、シフトレジスタ2による遅延を外
したりすることにより、この不適合を防ぐことができる
。When the timing error detection unit 8 determines that the time difference is less than the threshold value 〓Tc as described above, or when an error occurs, it sends a logical code indicating this to the selector 3, and the shift register 2, the delayed electrical signal and the electrical signal before the delay are switched. As a result, even when there is a possibility that the frame returned to the master has temporal fluctuations and does not match the transmission timing, the selector 3 is switched and the shift register 2
This mismatch can be prevented by delaying the shift register 2 or removing the delay by the shift register 2.
【0012】もちろんタイミングエラー検出部8が上記
のような判定をしなかった場合、セレクタ3の切替は行
わない。2番目の実施例は、マスタの遅延手段を長距離
光ファイバで構成したものであり、図4に示すように、
前のスレーブからの光信号を光分岐器11で分割し、一
方はそのまま光検出器13に送り、他方は長距離光ファ
イバ12を通して遅延を与えて光検出器14に送り、両
光検出器13,14の出力をセレクタ3に接続する構成
である。他の部分で図1と同一符号を付したものは、1
番目の実施例と同一の働きをするものであり、説明は省
略する。Of course, if the timing error detection unit 8 does not make the above determination, the selector 3 is not switched. In the second embodiment, the master delay means is constructed with a long-distance optical fiber, and as shown in FIG.
The optical signal from the previous slave is split by the optical splitter 11, one is sent as is to the photodetector 13, the other is delayed and sent to the photodetector 14 through the long distance optical fiber 12, and both photodetectors 13 , 14 are connected to the selector 3. Other parts with the same symbols as in Figure 1 are 1
This function is the same as that of the second embodiment, and the explanation thereof will be omitted.
【0013】したがって、この2番目の実施例は、1番
目の実施例と比べてシフトレジスタの代わりに光ファイ
バにより遅延を実現した点が相違するのみであり、1番
目の実施例と同じく、マスタに帰ってきたフレームに時
間的ゆらぎがあって、送信タイミングと一致しないおそ
れがあるときでも、セレクタ3を切替えて光ファイバ1
2により遅延させたり、光ファイバ12による遅延を外
したりすることにより、この不適合を防ぐことができ、
正しい信号を再現することができる。Therefore, the second embodiment differs from the first embodiment only in that the delay is realized by an optical fiber instead of a shift register, and like the first embodiment, the master Even if there is a time fluctuation in the frame that is returned and there is a possibility that it does not match the transmission timing, switch the selector 3 and connect the optical fiber 1.
This mismatch can be prevented by delaying the optical fiber 12 or removing the delay caused by the optical fiber 12.
The correct signal can be reproduced.
【0014】[0014]
【発明の効果】以上のように、本発明のデータの受信タ
イミング補正装置によれば、一巡して帰ってきたディジ
タル信号に時間的ゆらぎが発生していれば、一定時間の
遅延をかけたり、かけなかったりすることにより、この
ゆらぎの影響から逃げることができるので、常に、デー
タを正確に読み取ることができ、確実なデータ伝送をす
ることができるようになる。As described above, according to the data reception timing correction device of the present invention, if there is temporal fluctuation in the digital signal that has returned after one round, it can be delayed by a certain period of time, By not applying the voltage, it is possible to escape from the influence of this fluctuation, so that data can always be read accurately and data can be transmitted reliably.
【図1】1番目の実施例を示すマスタ内部のブロック図
である。FIG. 1 is a block diagram inside a master showing a first embodiment.
【図2】ループ伝送路の概略構成図である。FIG. 2 is a schematic configuration diagram of a loop transmission path.
【図3】送受信フレーム間の関係を示す図である。FIG. 3 is a diagram showing the relationship between transmitted and received frames.
【図4】2番目の実施例を示すマスタ内部のブロック図
である。FIG. 4 is a block diagram inside a master showing a second embodiment.
2 シフトレジスタ 3 セレクタ 4 受信部 6 送信部 8 タイミングエラー検出部 12 遅延光ファイバ 2 Shift register 3 Selector 4 Receiving section 6 Transmission section 8 Timing error detection section 12 Delay optical fiber
Claims (1)
路の途中に設けられている各ステーションが独立同期方
式を採用している場合に、上記ディジタル信号によって
構成される各フレームが一巡する間に生じた時間的ゆら
ぎによるデータの読取りエラーを防ぐために設けられる
データの受信タイミング補正装置であって、一巡して帰
ってきたディジタル信号に対して一定時間の遅延をかけ
る遅延手段と、この遅延手段により遅延されたディジタ
ル信号と、遅延をかける前のディジタル信号とを切替え
る切替手段と、切替手段によって切替えられたいずれか
のディジタル信号により構成されるフレームと自局から
送信されるディジタル信号によって構成されるフレーム
との時間差を比較するタイミング比較手段と、タイミン
グ比較手段により比較された結果に基づいて上記切替手
段に切替を行わせる切替制御手段とを有することを特徴
とするデータの受信タイミング補正装置。Claim 1: When each station installed in the middle of a transmission line that transmits digital signals in a loop adopts an independent synchronization method, each frame constituted by the digital signal is This data reception timing correction device is provided to prevent data reading errors due to generated temporal fluctuations, and includes a delay means for delaying a digital signal by a certain period of time after completing one circuit, and the delay means A switching means for switching between a delayed digital signal and a digital signal before delay is applied, and a frame composed of one of the digital signals switched by the switching means and a digital signal transmitted from the own station. A data reception timing correction device comprising: timing comparison means for comparing a time difference with a frame; and switching control means for causing the switching means to perform switching based on the comparison result by the timing comparison means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2401856A JPH04215341A (en) | 1990-12-13 | 1990-12-13 | Data reception timing correction device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2401856A JPH04215341A (en) | 1990-12-13 | 1990-12-13 | Data reception timing correction device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH04215341A true JPH04215341A (en) | 1992-08-06 |
Family
ID=18511679
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2401856A Pending JPH04215341A (en) | 1990-12-13 | 1990-12-13 | Data reception timing correction device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH04215341A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007116491A (en) * | 2005-10-21 | 2007-05-10 | Kyosan Electric Mfg Co Ltd | Relay node and transmission system |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61245731A (en) * | 1985-04-24 | 1986-11-01 | Shinko Electric Co Ltd | Synchronizm correcting circuit |
| JPS6218152A (en) * | 1985-07-17 | 1987-01-27 | Nec Corp | Method and apparatus for adjusting propagation time in digital multiplex loop network |
| JPS6245247A (en) * | 1985-08-23 | 1987-02-27 | Nec Corp | Loop delay correction system |
| JPS6318844A (en) * | 1986-07-11 | 1988-01-26 | Nec Corp | Automatic delay correction circuit for loop form data transmission system |
-
1990
- 1990-12-13 JP JP2401856A patent/JPH04215341A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61245731A (en) * | 1985-04-24 | 1986-11-01 | Shinko Electric Co Ltd | Synchronizm correcting circuit |
| JPS6218152A (en) * | 1985-07-17 | 1987-01-27 | Nec Corp | Method and apparatus for adjusting propagation time in digital multiplex loop network |
| JPS6245247A (en) * | 1985-08-23 | 1987-02-27 | Nec Corp | Loop delay correction system |
| JPS6318844A (en) * | 1986-07-11 | 1988-01-26 | Nec Corp | Automatic delay correction circuit for loop form data transmission system |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007116491A (en) * | 2005-10-21 | 2007-05-10 | Kyosan Electric Mfg Co Ltd | Relay node and transmission system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4920535A (en) | Demultiplexer system | |
| US4554673A (en) | Sequential data transmission system with resynchronization | |
| US4779261A (en) | Loop network | |
| JPH0750683A (en) | Communication network and method of frequency synchronism establishment | |
| US20020018492A1 (en) | Transmission method and transmission system as well as communications device | |
| KR100976290B1 (en) | Bus station circuit, electronic system including a plurality of bus station circuits, operation method and message transmission method of the bus station circuit | |
| US20100011265A1 (en) | Integrated circuit chip and circuit network | |
| US5619532A (en) | Digital communication system | |
| EP0393952B1 (en) | Apparatus and method for proper decoding in an encoder/decoder | |
| JPH04215341A (en) | Data reception timing correction device | |
| JP3031249B2 (en) | Parallel data phase synchronization circuit | |
| JP3920261B2 (en) | Frame synchronizer and optical transceiver | |
| US20020085570A1 (en) | Frame communication system | |
| RU2043652C1 (en) | Device for interface between computer and communication channel | |
| JPH0320181B2 (en) | ||
| JP2010239313A (en) | Half-duplex-full duplex converter | |
| US5309475A (en) | Data interchange network | |
| US7292667B1 (en) | Method and system for transmitting synchronization information with data | |
| JP2001060977A (en) | Transmission system | |
| JP3070546B2 (en) | Alarm transfer circuit | |
| JPH0669937A (en) | Method and apparatus for delay time difference correction in loop type transmission line | |
| US20030103574A1 (en) | Data transmission system and data transmitter/receiver for use therein, and method thereof | |
| JP3044096B2 (en) | Data transfer circuit | |
| JP3187303B2 (en) | Data communication system | |
| JPS601952A (en) | Frequency synchronizing system |