JP3097005B2 - Data transfer device - Google Patents
Data transfer deviceInfo
- Publication number
- JP3097005B2 JP3097005B2 JP04347788A JP34778892A JP3097005B2 JP 3097005 B2 JP3097005 B2 JP 3097005B2 JP 04347788 A JP04347788 A JP 04347788A JP 34778892 A JP34778892 A JP 34778892A JP 3097005 B2 JP3097005 B2 JP 3097005B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- data
- manchester
- time width
- level
- 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 - Fee Related
Links
Landscapes
- Optical Communication System (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は光ファイバーによりシリ
アルデータを高速転送するデータ転送装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transfer apparatus for transferring serial data at a high speed through an optical fiber.
【0002】[0002]
【従来の技術】近年、光ファイバーを用いたデータ伝送
が広く活用されているが、その波形歪が課題である。2. Description of the Related Art In recent years, data transmission using an optical fiber has been widely used, but its waveform distortion is a problem.
【0003】以下、従来の光ファイバーによりシリアル
データを高速に転送するデータ転送装置について説明す
る。従来のデータ転送装置において、送信データをコー
ド化し、そのシリアルデータによりレーザ光を輝度変調
して伝送する。この場合に使用されるコードにはマンチ
ェスタコードが広く用いられ、波形伝送における直流分
の変動をなくするとともに、データ誤りの削減を図って
いる。[0003] A conventional data transfer apparatus for transferring serial data at high speed by using an optical fiber will be described below. In a conventional data transfer apparatus, transmission data is coded, and the laser light is luminance-modulated by the serial data and transmitted. A Manchester code is widely used as a code used in this case to eliminate fluctuations in DC components in waveform transmission and reduce data errors.
【0004】[0004]
【発明が解決しようとする課題】このような従来のデー
タ転送装置においては、その波形の再現性が重要であ
り、その波形は送信装置における発光部の光量と受信装
置における受光部の特性に依存し、受信信号の波形が歪
んでハイレベルまたはローレベルの時間長が所定の送信
波形と異なる場合には送信データを読み出すための基準
となるクロックが正しく抽出できない場合が発生する。
したがって、受信装置で前記クロックが正しく抽出でき
るように送信装置における発光部の光量と受信装置にお
ける受光部のスレシュホールドレベルを調整したり、転
送周波数を選択することによりデータ転送を行ってい
る。しかし、発光部の光量や受光部のスレッシュホール
ドレベルは温度や電源電圧の変動によって変化するた
め、装置を設置する環境の制限や光量の調整が困難であ
るという問題がある。In such a conventional data transfer apparatus, the reproducibility of the waveform is important, and the waveform depends on the light quantity of the light emitting section in the transmitting apparatus and the characteristics of the light receiving section in the receiving apparatus. However, if the waveform of the received signal is distorted and the time length of the high level or the low level is different from the predetermined transmission waveform, a clock as a reference for reading the transmission data may not be correctly extracted.
Therefore, the data transfer is performed by adjusting the light amount of the light emitting unit in the transmitting device and the threshold level of the light receiving unit in the receiving device or selecting a transfer frequency so that the receiving device can correctly extract the clock. However, since the light amount of the light emitting unit and the threshold level of the light receiving unit change depending on the fluctuation of the temperature and the power supply voltage, there is a problem that it is difficult to restrict the environment in which the apparatus is installed and to adjust the light amount.
【0005】本発明は上記の課題を解決するもので、発
光部の光量や受光素子の特性に影響されずにデータの送
受信を完全にできるデータ転送装置を提供することを目
的とする。An object of the present invention is to solve the above-mentioned problems, and an object of the present invention is to provide a data transfer device capable of completely transmitting and receiving data without being affected by the light amount of a light emitting section or the characteristics of a light receiving element.
【0006】[0006]
【課題を解決するための手段】本発明は上記の目的を達
成するために、マンチェスタコード化したシリアルデー
タを光信号に変換して光ファイバーで送受信するデータ
転送装置において、送信データがある場合は2ビット以
上の連続した「0」データを送信データ本体の前に送信
するとともに送信データ本体の後に少なくとも2ビット
長に相当する期間は出力信号を無信号に固定して送信
し、送信データがない場合は出力信号を無信号に固定し
て出力する送信装置と、受信装置において2ビット以上
の無信号の後に最初に検出した「0」データのハイレベ
ルの時間幅を計測し、ハイレベルの時間幅が所定の時間
幅に対して長い場合は以降の受信信号のデータが「1」
から「0」に変化するとき、受信信号から抽出した基準
クロックの立ち下がりを早め、また、2ビット以上の無
信号の後に最初に検出した「0」データのハイレベルの
時間幅が前記所定の時間幅に対して短い場合は、以降の
受信信号のデータが「0」から「1」に変化するとき、
受信信号から抽出した基準クロックの立ち下がりを早め
るようにする波形歪補正装置とを備えたデータ転送装置
である。SUMMARY OF THE INVENTION In order to achieve the above object, the present invention provides a data transfer apparatus for converting Manchester-coded serial data into an optical signal and transmitting / receiving the signal via an optical fiber. When a continuous "0" data of more than bits is transmitted before the transmission data body and the output signal is fixed to no signal for a period corresponding to at least 2 bits after the transmission data body, and there is no transmission data Is a transmitter that fixes and outputs an output signal as no signal, and a receiver measures the high-level time width of the first detected “0” data after a no-signal of 2 bits or more, and measures the high-level time width. Is longer than a predetermined time width, the data of the subsequent received signal is “1”.
From “0” to “0”, the fall of the reference clock extracted from the received signal is advanced, and the high-level time width of the first detected “0” data after the no-signal of 2 bits or more is equal to the predetermined level. If it is shorter than the time width, when the data of the subsequent received signal changes from “0” to “1”,
The data transfer device includes a waveform distortion correction device that hastens the fall of a reference clock extracted from a received signal.
【0007】[0007]
【作用】本発明は上記の構成において、送信装置は2ビ
ット以上の連続した「0」データを送信データ本体の前
に送信し、また送信データ本体の後に少なくとも2ビッ
トに相当する期間はスペースとしてデータのない無信号
に固定し、また、送信するデータが無い場合は無信号に
固定して送出する。このスペースの後の2ビット以上の
「0」データが波形歪を検出するための参照信号とな
る。According to the present invention, in the above configuration, the transmitting apparatus transmits continuous "0" data of 2 bits or more before the transmission data main body, and a period corresponding to at least 2 bits after the transmission data main body as a space. If there is no data to be transmitted, the signal is fixed to no signal and no data is transmitted. Two-bit or more “0” data after this space is a reference signal for detecting waveform distortion.
【0008】受信装置は歪補正装置によって最初の2ビ
ットの「0」データの波形が所定の波形であるか否かを
波形のハイレベル時間長で検出し、ハイレベル時間長が
所定の時間長より長いか短いかに対応して受信信号から
抽出作成するクロックの立ち下がりをデータの「1」か
ら「0」、または「0」から「1」への遷移点で早める
ことによりマンチェスタ電気信号の遷移に対応したクロ
ックを生成する。The receiving device detects whether the waveform of the first two bits of "0" data is a predetermined waveform by the distortion correction device based on the high-level time length of the waveform, and determines that the high-level time length is the predetermined time length. Transition of the Manchester electric signal by advancing the falling edge of the clock extracted and generated from the received signal at the transition point from "1" to "0" or "0" to "1" of the data in accordance with the longer or shorter time. Generates a clock corresponding to.
【0009】[0009]
【実施例】以下、本発明のデータ転送装置の一実施例に
ついて図面を参照しながら説明する。図1は本実施例の
構成を示すブロック図である。図において、送信装置1
はパラレルデータをマンチェスタコードのシリアルデー
タに変換し、その電気信号を光信号に変換して光ファイ
バー3に出力する。光ファイバー3は送信装置1が出力
する光信号を受信装置2に転送する。受信装置2は光フ
ァイバー3の光信号を受信して電気信号に変換する。こ
の受信動作において、マンチェスタコードのパルス幅が
受信装置2における受光素子の伝達特性により変化し、
パルス幅歪となって送信データの正常な復元を阻害す
る。本発明においては、このパルス幅歪を補正するため
に、受信装置2は歪補正装置4によって歪の発生の仕方
を受信信号の最初の2個の「0」データの波形パターン
から推定し、その波形パターンを基にしてそれ以後に受
信した信号の歪を取り去り、送信したシリアルデータを
パラレルデータに変更する。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the data transfer apparatus according to the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of this embodiment. In the figure, a transmitting device 1
Converts parallel data into serial data of Manchester code, converts the electric signal into an optical signal, and outputs the optical signal to the optical fiber 3. The optical fiber 3 transfers the optical signal output from the transmitting device 1 to the receiving device 2. The receiving device 2 receives the optical signal of the optical fiber 3 and converts it into an electric signal. In this receiving operation, the pulse width of the Manchester code changes due to the transfer characteristic of the light receiving element in the receiving device 2,
This causes pulse width distortion and hinders normal restoration of transmission data. In the present invention, in order to correct the pulse width distortion, the receiving apparatus 2 estimates the manner of occurrence of the distortion by the distortion correcting apparatus 4 from the waveform patterns of the first two “0” data of the received signal. The distortion of a signal received thereafter is removed based on the waveform pattern, and the transmitted serial data is changed to parallel data.
【0010】まず、本発明における送信装置1が送信す
るデータコードの生成について説明する。図2は送信装
置1の構成を示すブロック図である。なお、本実施例に
おいては、データ「0」を「01」に変換し、データ
「1」を「10」に変換するマンチェスタコードを用
い、無信号であるスペースは信号をローレベルに固定す
るとして説明する。図2において、タイミング制御部7
は外部からのクロック信号CLK2のタイミングで送信
データのマンチェスタコード化動作を制御する。フリッ
プフロップ5はタイミング制御部7が出力する書き込み
指令信号であるLD信号を入力して、送信データを発生
する外部装置(図示せず)に書き込み許可信号であるW
E信号を出力し、外部からの書き込み信号であるWR信
号を入力してWE信号をクリアする。実施例ではLD信
号の立ち下がりでWE信号をローレベルにし、外部装置
に対して送信するデータであるDATAをデータ一時記
憶部8に書き込ませる。外部装置はWE信号のローレベ
ルを検出し、送信データが存在する場合は送信データを
送信データ一時記憶部8に書き込む。書き込みが終了す
るとWR信号をハイレベルとし、WE信号はWR信号で
クリアされてハイレベルになり、以降のデータの書き込
みを禁止する。First, generation of a data code transmitted by the transmission device 1 according to the present invention will be described. FIG. 2 is a block diagram illustrating a configuration of the transmission device 1. In this embodiment, a Manchester code that converts data “0” into “01” and converts data “1” into “10” is used, and a space where there is no signal fixes the signal to a low level. explain. In FIG. 2, the timing control unit 7
Controls Manchester encoding of transmission data at the timing of an external clock signal CLK2. The flip-flop 5 receives the LD signal, which is a write command signal output from the timing control unit 7, and sends a write enable signal, W, to an external device (not shown) that generates transmission data.
An E signal is output, and a WR signal as an external write signal is input to clear the WE signal. In the embodiment, the WE signal is set to the low level at the falling edge of the LD signal, and DATA, which is data to be transmitted to the external device, is written in the data temporary storage unit 8. The external device detects the low level of the WE signal, and writes the transmission data to the transmission data temporary storage unit 8 if the transmission data exists. When the writing is completed, the WR signal is set to the high level, and the WE signal is cleared by the WR signal and changes to the high level, and further writing of data is prohibited.
【0011】図3は上記の過程で送信データ記憶部8に
記憶されたデータをコード化する動作を示すタイミング
チャートである。送信データ一時記憶部8に記憶されて
いるデータとパリティビット発生回路9が発生するパリ
ティビットデータとがシフトレジスタ10に入力され、
クロックCLK2を2分周したシフトクロックX0のタ
イミングによりシリアルデータSDとして順次マンチェ
スタコード発生器11に出力される。マンチェスタコー
ド発生器11はシフトレジスタ10が出力するシリアル
データSDとシフトクロックX0との排他的論理和によ
りMDC1信号を生成する。このMDC1信号はマンチ
ェスタコードの形式を備えるが、シリアルデータSDと
シフトクロックX0の間のタイミングずれのため、図3
に示したようにMCD1信号の黒く塗った部分のような
スパイク状のノイズが混入する。これを取り除くため、
基準クロックCLK2を反転したNCLKの立ち上がり
でMCD1信号をフリップフロップ12でサンプリング
することによりノイズが混入しないマンチェスタ電気信
号MCD2を生成する。発光素子13はマンチェスタ電
気信号MCD2を入力して光信号に変換したマンチェス
タ光信号MCD3を出力する。FIG. 3 is a timing chart showing the operation of coding the data stored in the transmission data storage section 8 in the above process. The data stored in the transmission data temporary storage unit 8 and the parity bit data generated by the parity bit generation circuit 9 are input to the shift register 10,
The data is sequentially output to the Manchester code generator 11 as serial data SD at the timing of the shift clock X0 obtained by dividing the clock CLK2 by two. The Manchester code generator 11 generates an MDC1 signal by an exclusive OR of the serial data SD output from the shift register 10 and the shift clock X0. The MDC1 signal has a Manchester code format. However, due to a timing shift between the serial data SD and the shift clock X0, FIG.
As shown in (1), spike-like noise such as a black portion of the MCD1 signal is mixed. To get rid of this,
The MCD1 signal is sampled by the flip-flop 12 at the rising edge of NCLK obtained by inverting the reference clock CLK2, thereby generating the Manchester electric signal MCD2 free from noise. The light emitting element 13 receives the Manchester electric signal MCD2 and outputs a Manchester optical signal MCD3 converted into an optical signal.
【0012】図4は送信データの1つのブロックである
フレームの構成を示す模式図である。図において、デー
タA0〜A3とD0〜DFが送信するデータであり、P
1およびP2はデータD0〜DFに対応するパリティビ
ットである。このパリティビットはパリティビット発生
回路9により生成される。これらのデータに先行して2
ビットの「0」データを設ける。この「0」データはシ
フトレジスタ10が出力するSDデータの前に2ビット
の「0」データを挿入することによって実現する。な
お、実施例ではフレームのビット数は「0」データを含
めて24ビットとしている。また、フレームとフレーム
との間に2ビット長の無信号状態のスペースを挿入す
る。実施例では無信号状態はマンチェスタコード発生器
11の出力信号をローレベルに固定して実現する。これ
ら「0」データとスペースの挿入はマンチェスタコード
発生器11とカウンタ6とにより実行する。LD信号が
ハイレベルになってコード発生動作に移行すると、カウ
ンタ6はクロックCLK2の計数を開始して、データ数
に対応するカウントデータX0〜X5をタイミング制御
部7に出力する。クロックCLK2はデータ転送周波数
の2倍のクロックであるので、データ量が24ビットの
場合は48カウントが1フレームに対応し、2ビット長
のスペースを含めると50カウントが1単位となる。マ
ンチェスタコード発生器11はカウントデータX0によ
り最初の2ビット期間だけ「0」データを入力し、その
のちSD信号をシフトレジスタ10から順次入力してマ
ンチェスタコード化する。また、タイミング制御部7は
カウントデータX0〜X5を入力し、カウント値が49
と50の期間はコード発生動作を停止させるCM信号を
ローレベルにしてコード出力をローレベルに固定して2
ビット長のスペースを挿入する。FIG. 4 is a schematic diagram showing a configuration of a frame which is one block of transmission data. In the figure, data A0 to A3 and D0 to DF are data to be transmitted, and P
1 and P2 are parity bits corresponding to the data D0 to DF. This parity bit is generated by the parity bit generation circuit 9. Prior to these data, 2
Bit "0" data is provided. This “0” data is realized by inserting 2-bit “0” data before the SD data output from the shift register 10. In the embodiment, the number of bits of a frame is 24 bits including "0" data. In addition, a 2-bit length non-signal state space is inserted between frames. In the embodiment, the no-signal state is realized by fixing the output signal of the Manchester code generator 11 to a low level. Insertion of these "0" data and spaces is performed by the Manchester code generator 11 and the counter 6. When the LD signal becomes high level and shifts to the code generation operation, the counter 6 starts counting the clock CLK2 and outputs count data X0 to X5 corresponding to the number of data to the timing control unit 7. Since the clock CLK2 is a clock of twice the data transfer frequency, when the data amount is 24 bits, 48 counts correspond to one frame, and when a space of 2 bits length is included, 50 counts become one unit. The Manchester code generator 11 inputs "0" data only for the first two bit periods based on the count data X0, and then sequentially inputs the SD signals from the shift register 10 to perform Manchester encoding. Further, the timing controller 7 receives the count data X0 to X5 and
During the period of 50 and 50, the CM signal for stopping the code generation operation is set to the low level, and the code output is fixed to the low level.
Insert a bit-length space.
【0013】以下、受信装置2について図面を参照しな
がら説明する。図5は受信装置2の構成を示すブロック
図である。また、図6は波形歪0パーセント、すなわち
受信信号の波形のハイレベルの時間幅が所定値である場
合に受信信号からシフトクロックを抽出する動作を示す
タイミングチャートであり、この所定の時間幅は一般的
に1データにおけるハイレベルとローレベルの幅が等し
くなるように設定されると考えてよい。図7は波形歪+
50パーセントの場合、すなわち受信信号の波形のハイ
レベルの時間幅が所定時間幅の1.5倍である場合に受
信信号からシフトクロックを抽出する動作を示すタイミ
ングチャート、図8は波形歪−50パーセント、すなわ
ち受信信号の波形のハイレベルの時間幅が所定の時間幅
の1/2である場合に受信信号からシフトクロックを抽
出する動作を示すタイミングチャートである。Hereinafter, the receiving apparatus 2 will be described with reference to the drawings. FIG. 5 is a block diagram showing a configuration of the receiving device 2. FIG. 6 is a timing chart showing an operation of extracting a shift clock from a received signal when the waveform distortion is 0%, that is, when the high-level time width of the waveform of the received signal is a predetermined value. In general, it can be considered that the width of the high level and the width of the low level in one data are set to be equal. FIG. 7 shows waveform distortion +
FIG. 8 is a timing chart showing an operation of extracting a shift clock from a reception signal when the time width of the high level of the waveform of the reception signal is 1.5 times the predetermined time width. 9 is a timing chart showing an operation of extracting a shift clock from a received signal when the percentage, that is, the high-level time width of the waveform of the received signal is の of a predetermined time width.
【0014】図5において、受信装置は外部からクロッ
クCLK8を与えられ、そのタイミングにより動作す
る。実施例ではクロックCLK8はデータの転送周波数
の8倍の周波数のクロックとしている。受信装置の受光
素子14がマンチェスタ光信号MCD3を入力し、マン
チェスタ電気信号MCD4に変換して歪補正装置4に入
力する。歪補正装置4はクロックCLK8のタイミング
に従ってマンチェスタ電気信号MCD4からシフトクロ
ックDCを抽出するとともにマンチェスタ電気信号MC
D6を出力するものである。また、WR1TE発生回路
18はシフトクロックDCがハイレベルである期間は1
6進値の「F」を設定され、シフトクロックDCがロー
レベルになった時点からクロックCLK8に従ってカウ
ントダウンする内部カウンタを備え、シフトクロックの
ローレベルが所定時間以上継続するとき、シフトレジス
タ17のシフト動作を制御する信号C1と、歪補正装置
4の補正動作を制御する信号C2と、外部の記憶装置
(図示せず)に再生した受信データの書き込みを許可す
るWR信号とを出力する。In FIG. 5, the receiving apparatus is externally supplied with a clock CLK8 and operates at the timing. In the embodiment, the clock CLK8 is a clock having a frequency eight times the data transfer frequency. The light receiving element 14 of the receiving device inputs the Manchester optical signal MCD3, converts the signal into a Manchester electric signal MCD4, and inputs the signal to the distortion correction device 4. The distortion correction device 4 extracts the shift clock DC from the Manchester electric signal MCD4 in accordance with the timing of the clock CLK8, and extracts the Manchester electric signal MC.
D6 is output. The WR1TE generation circuit 18 outputs 1 during the period when the shift clock DC is at the high level.
An internal counter which is set to a hexadecimal value “F” and counts down according to the clock CLK8 from the time when the shift clock DC goes to a low level, and when the low level of the shift clock continues for a predetermined time or more, the shift of the shift register 17 is performed. A signal C1 for controlling the operation, a signal C2 for controlling the correction operation of the distortion correction device 4, and a WR signal for permitting the writing of the received data reproduced into an external storage device (not shown) are output.
【0015】実施例においては図6、図7および図8に
示したように前記カウンタのカウント値COUNTが
「B」になった時点で信号C1をローレベルとしてシフ
トレジスタ17のシフト動作を禁止するとともに、カウ
ント値COUNTが「A」になった時点で信号WRをロ
ーレベルにして書き込みを許可し、カウント値COUN
Tが「3」になった時点で信号C2をローレベルにして
歪補正装置4の動作に備えるとともに、信号WRをハイ
レベルにした外部への書き込みを禁止している。In the embodiment, as shown in FIGS. 6, 7 and 8, when the count value COUNT of the counter becomes "B", the signal C1 is set to low level to inhibit the shift operation of the shift register 17. At the same time, when the count value COUNT becomes “A”, the signal WR is set to low level to permit writing, and the count value
When T becomes "3", the signal C2 is set to the low level to prepare for the operation of the distortion correction device 4, and writing to the outside where the signal WR is set to the high level is prohibited.
【0016】歪補正装置4はDC発生回路15と歪検出
回路16とを備える。DC発生回路15は受光素子14
からマンチェスタ電気信号MCD4を入力し、クロック
CLK8の立ち上がりでサンプリングしたマンチェスタ
電気信号MCD5と、それをさらにクロックCLK8の
立ち上がりでサンプリングしたマンチェスタ電気信号M
CD6を出力する。また、マンチェスタ電気信号MCD
4と前記マンチェスタ電気信号MCD5とを比較し、異
なる場合にはマンチェスタ電気信号MCD4に遷移が発
生したとしてシフトクロックDCをハイレベルに立ち上
げる。信号C2がローレベルであるときのMCD4信号
の立ち上がりがフレームの最初の「0」を示す。また、
シフトクロックDCがハイレベルになった時点でC2信
号をハイレベルとする。以後C2信号は受信データがス
ペース期間となってWRITE発生回路18の内部カウ
ンタのカウント値COUNTが「3」になるまではロー
レベルにならない。また、DC発生回路15はシフトク
ロックDCが立ち上がりで「6」を設定され、クロック
CLK8でダウンカウントしてカウントデータY0〜Y
2を出力するカウンタを備え、歪検出回路16はカウン
トデータY0〜Y2の値が「3」になった時点でマンチ
ェスタ電気信号MCD4とマンチェスタ電気信号MCD
5のレベルを検出し、それぞれをIM1信号とIM2信
号として保持するとともにDC発生回路15に与える。The distortion correction device 4 includes a DC generation circuit 15 and a distortion detection circuit 16. DC generation circuit 15 is light receiving element 14
, A Manchester electric signal MCD5 sampled at the rising edge of the clock CLK8, and a Manchester electric signal MCD sampled at the rising edge of the clock CLK8.
Outputs CD6. The Manchester electric signal MCD
4 and the Manchester electric signal MCD5, and if they are different, it is determined that a transition has occurred in the Manchester electric signal MCD4 and the shift clock DC is raised to a high level. The rising of the MCD4 signal when the signal C2 is at the low level indicates the first "0" of the frame. Also,
When the shift clock DC goes high, the C2 signal goes high. Thereafter, the C2 signal does not go low until the received data enters the space period and the count value COUNT of the internal counter of the WRITE generation circuit 18 becomes "3". The DC generation circuit 15 is set to “6” when the shift clock DC rises and counts down by the clock CLK8 to count data Y0 to Y.
The distortion detection circuit 16 outputs the Manchester electric signal MCD4 and the Manchester electric signal MCD when the count data Y0 to Y2 becomes “3”.
5 are detected and held as an IM1 signal and an IM2 signal, respectively, and applied to the DC generation circuit 15.
【0017】マンチェスタ電気信号MCD4の波形に歪
がなく、そのハイレベルの時間幅が所定の時間幅である
場合には、図6に示したようにIM1信号がローレベル
となるがIM2信号はハイレベルとなる。この場合は受
信波形の歪は無視できるほど小さい場合に相当し、シフ
トクロックDCはカウントデータY0〜Y2の値が
「1」になるまでハイレベルを維持し、「1」を検出し
た時点でローレベルになる。以降、クロックDCがロー
レベルであるときにマンチェスタ電気信号MCD4が遷
移するたびに値6を設定されてダウンカウントを実行す
ることによりマンチェスタ電気信号MCD4の遷移に対
応したシフトクロックDCを発生する。また、マンチェ
スタ電気信号MCD4の波形のハイレベルの時間幅が所
定時間幅より長くなるように歪んだ場合には、図7に示
したようにIM1信号がハイレベルでIM2信号がハイ
レベルとなる。この場合はカウントデータY0〜Y2の
値が「3」となる時点でマンチェスタ電気信号MCD4
のレベルを検査し、ローレベルを検出した時点でシフト
クロックDCを強制的にローレベルとし、ハイレベルを
検出したときはカウントデータY0〜Y2の値が「1」
となるまでハイレベルを維持したのちローレベルにす
る。なお、シフトクロックDCがローレベルのときにマ
ンチェスタ電気信号MCD4が遷移するたびにカウント
データY0〜Y2は値「6」を設定されてダウンカウン
ト値を出力する。これらの動作によりマンチェスタ電気
信号MCD4の与えるデータが「1」から「0」に遷移
するときのシフトクロックDCの立ち下がりが早めら
れ、マンチェスタ電気信号MCD4の遷移に対応したシ
フトクロックDCとなる。また、マンチェスタ電気信号
MCD4の波形のハイレベルの時間幅が所定時間幅より
短くなるように歪んだ場合には、図8に示したようにI
M1信号がローレベルでIM2信号がローレベルとな
る。この場合はカウントデータY0〜Y2の値が「3」
となる時点でマンチェスタ電気信号MCD4のレベルを
検査し、ハイレベルである場合はカウントデータY0〜
Y2の値が「1」になるまでシフトクロックDCをハイ
レベルに維持したのちローレベルとする。なお、シフト
クロックDCがローレベルであるときにマンチェスタ電
気信号MCD4が遷移するたびにカウントデータY0〜
Y2は値「6」を設定されてダウンカウント値を出力す
る。これらの動作によりマンチェスタ電気信号MCD4
の与えるデータが「0」から「1」に遷移するときのシ
フトクロックDCの立ち下がりが早められ、マンチェス
タ電気信号MCD4の遷移に対応したシフトクロックD
Cとなる。If the waveform of the Manchester electric signal MCD4 has no distortion and the high-level time width is a predetermined time width, the IM1 signal goes low as shown in FIG. 6, but the IM2 signal goes high. Level. This case corresponds to a case where the distortion of the received waveform is negligibly small, and the shift clock DC maintains the high level until the value of the count data Y0 to Y2 becomes “1”, and at the time when “1” is detected, the shift clock DC becomes low. Become a level. Thereafter, a value of 6 is set each time the Manchester electric signal MCD4 makes a transition when the clock DC is at a low level, and a down clock is executed, thereby generating a shift clock DC corresponding to the transition of the Manchester electric signal MCD4. When the high-level time width of the waveform of the Manchester electric signal MCD4 is distorted so as to be longer than the predetermined time width, the IM1 signal is at the high level and the IM2 signal is at the high level as shown in FIG. In this case, when the value of the count data Y0 to Y2 becomes "3", the Manchester electric signal MCD4
The shift clock DC is forcibly set to the low level when the low level is detected, and when the high level is detected, the count data Y0 to Y2 is set to “1”.
It keeps high level until it becomes, then it goes to low level. Each time the Manchester electric signal MCD4 makes a transition when the shift clock DC is at the low level, the count data Y0 to Y2 is set to the value "6" and outputs a down-count value. By these operations, the fall of the shift clock DC when the data given by the Manchester electric signal MCD4 transitions from "1" to "0" is advanced, and the shift clock DC corresponding to the transition of the Manchester electric signal MCD4 is obtained. When the high-level time width of the waveform of the Manchester electric signal MCD4 is distorted so as to be shorter than the predetermined time width, as shown in FIG.
The M1 signal goes low and the IM2 signal goes low. In this case, the value of the count data Y0 to Y2 is “3”.
At this time, the level of the Manchester electric signal MCD4 is inspected.
The shift clock DC is maintained at a high level until the value of Y2 becomes "1", and then is set to a low level. Note that each time the Manchester electric signal MCD4 makes a transition when the shift clock DC is at a low level, the count data Y0 to
Y2 is set to the value "6" and outputs a down-count value. By these operations, the Manchester electric signal MCD4
Fall of the shift clock DC when the data given by the clock signal changes from “0” to “1”, the shift clock D corresponding to the transition of the Manchester electric signal MCD4
C.
【0018】以上のように生成したシフトクロックDC
はマンチェスタ電気信号MCD4の遷移によく対応して
おり、マンチェスタ電気信号MCD6をシフトレジスタ
17に入力し、シフトクロックDCによって順次サンプ
リングしてシリアルデータをパラレルデータに変換す
る。なお、送信データがない場合にはスペースだけを送
出する。The shift clock DC generated as described above
Corresponds well to the transition of the Manchester electric signal MCD4, inputs the Manchester electric signal MCD6 to the shift register 17, and sequentially converts the serial data into parallel data by sampling sequentially with the shift clock DC. If there is no transmission data, only the space is transmitted.
【0019】以上のように本実施例のデータ転送装置に
よれば、データフレームの最初の2ビットに「0」デー
タを設けるとともに、最後の2ビット相当の期間に無信
号のスペースを設けたマンチェスタ電気信号を生成して
送信し、受信装置に歪検出回路を設け、マンチェスタ電
気信号のスペースを検出したのちの最初のデータ「0」
の波形のハイレベルの時間幅が所定値であるか、所定値
より長いか、または所定値より短いかによって歪のパタ
ーンを検出し、ハイレベルの時間幅が所定値より長い場
合はマンチェスタ電気信号の与えるデータが「0」から
「1」に遷移するときのシフトクロックの立ち下がりを
早め、また、ハイレベルの時間幅が所定値より短い場合
はマンチェスタ電気信号の与えるデータが「1」から
「0」に遷移するときのシフトクロックの立ち下がりを
早めるようにしたことにより、受信したマンチェスタ電
気信号の波形が歪んでもその遷移に正しく対応したシフ
トクロックを抽出することができる。したがって、送信
装置における光量や受信装置における受光素子の特性の
影響が除去でき、調節作業や設置環境に対する考慮を不
要とするデータ転送装置を実現できる。As described above, according to the data transfer apparatus of the present embodiment, Manchester in which "0" data is provided in the first two bits of a data frame and a non-signal space is provided in a period corresponding to the last two bits. The first signal "0" after generating and transmitting an electric signal, providing a distortion detection circuit in the receiving device, and detecting a space of the Manchester electric signal.
The distortion pattern is detected depending on whether the high-level time width of the waveform is a predetermined value, longer than the predetermined value, or shorter than the predetermined value. If the high-level time width is longer than the predetermined value, the Manchester electric signal is detected. Makes the fall of the shift clock faster when the data given from “0” changes to “1”, and when the time width of the high level is shorter than a predetermined value, the data given by the Manchester electric signal changes from “1” to “1”. By delaying the fall of the shift clock at the time of transition to "0", even if the waveform of the received Manchester electric signal is distorted, it is possible to extract a shift clock that properly corresponds to the transition. Therefore, the influence of the light amount in the transmission device and the characteristics of the light receiving element in the reception device can be eliminated, and a data transfer device that does not require adjustment work or consideration for the installation environment can be realized.
【0020】なお、実施例では無信号のスペースをロー
レベルに固定するように説明したが、無信号に対応して
連続するハイレベルに固定してもよいことは言うまでも
ない。Although the description has been made in the embodiment that the non-signal space is fixed to the low level, it goes without saying that the space may be fixed to the continuous high level corresponding to the no signal.
【0021】[0021]
【発明の効果】以上の説明から明らかなように、本発明
は、マンチェスタコード化したシリアルデータを光信号
に変換して光ファイバーで送受信するデータ転送装置に
おいて、送信データがある場合は2ビット以上の連続し
た「0」データを送信データ本体の前に送信するととも
に送信データ本体の後に少なくとも2ビット長に相当す
る期間は出力信号を無信号に固定して送信し、送信デー
タがない場合は出力信号を無信号に固定して出力する送
信装置と、受信装置において2ビット以上の無信号の後
に最初に検出した「0」データのハイレベルの時間幅を
計測し、ハイレベルの時間幅が所定の時間幅に対して長
い場合は以降の受信信号のデータが「1」から「0」に
変化するとき、受信信号から抽出した基準クロックの立
ち下がりを早め、また、2ビット以上の無信号の後に最
初に検出した「0」データのハイレベルの時間幅が前記
所定の時間幅に対して短い場合は、以降の受信信号のデ
ータが「0」から「1」に変化するとき、受信信号から
抽出した基準クロックの立ち下がりを早めるようにする
波形歪補正装置とを備えたデータ転送装置とすることに
より、受信したマンチェスタ電気信号の波形が歪んでも
その遷移に正しく対応したクロックを抽出することがで
き、送信装置における光量や受信装置における受光素子
の特性の影響を除去でき、それらの特性を考慮した調節
作業や設置環境に対する考慮を不要とするデータ転送装
置を実現できる。As is apparent from the above description, the present invention relates to a data transfer apparatus which converts Manchester-coded serial data into an optical signal and transmits / receives the signal via an optical fiber. The continuous "0" data is transmitted before the transmission data body, and the output signal is fixed to no signal for a period corresponding to at least 2 bits after the transmission data body, and the output signal is output when there is no transmission data. And the receiving device measures the high-level time width of the first detected “0” data after two or more bits of no-signal at the receiving device and outputs the predetermined high-level time width. If the time is longer than the time width, when the data of the subsequent received signal changes from “1” to “0”, the fall of the reference clock extracted from the received signal is advanced, Also, when the high-level time width of the first detected “0” data after the no-signal of 2 bits or more is shorter than the predetermined time width, the data of the subsequent received signal changes from “0” to “1”. When the data transfer device is equipped with a waveform distortion correction device that accelerates the fall of the reference clock extracted from the received signal when the received signal changes, even if the waveform of the received Manchester electrical signal is distorted, A data transfer device that can correctly extract the corresponding clock, removes the influence of the light amount in the transmission device and the characteristics of the light receiving element in the reception device, and eliminates the need for adjustment work and installation environment that take those characteristics into account. realizable.
【図面の簡単な説明】[Brief description of the drawings]
【図1】本発明のデータ転送装置の一実施例の構成を示
すブロック図FIG. 1 is a block diagram showing a configuration of an embodiment of a data transfer device of the present invention.
【図2】本発明のデータ転送装置の一実施例における送
信装置の構成を示すブロック図FIG. 2 is a block diagram showing a configuration of a transmission device in one embodiment of the data transfer device of the present invention.
【図3】本発明のデータ転送装置の一実施例における送
信装置のマンチェスタ電気信号生成の動作を示すタイミ
ングチャートFIG. 3 is a timing chart showing an operation of generating a Manchester electric signal of the transmission device in one embodiment of the data transfer device of the present invention.
【図4】本発明のデータ転送装置の一実施例におけるデ
ータの構成を示す模式図FIG. 4 is a schematic diagram showing a data configuration in an embodiment of the data transfer device of the present invention.
【図5】本発明のデータ転送装置の一実施例における受
信装置の構成を示すブロック図FIG. 5 is a block diagram showing a configuration of a receiving device in one embodiment of the data transfer device of the present invention.
【図6】本発明のデータ転送装置の一実施例における受
信装置の動作を波形歪0パーセントの場合について示す
タイミングチャートFIG. 6 is a timing chart showing the operation of the receiving apparatus in one embodiment of the data transfer apparatus according to the present invention when the waveform distortion is 0%.
【図7】本発明のデータ転送装置の一実施例における受
信装置の動作を波形歪+50パーセントの場合について
示すタイミングチャートFIG. 7 is a timing chart showing the operation of the receiving device in one embodiment of the data transfer device of the present invention in the case of waveform distortion + 50%.
【図8】本発明のデータ転送装置の一実施例における受
信装置の動作を波形歪−50パーセントの場合について
示すタイミングチャートFIG. 8 is a timing chart showing the operation of the receiving apparatus in one embodiment of the data transfer apparatus according to the present invention for the case where the waveform distortion is -50%.
1 送信装置 2 受信装置 3 光ファイバー 4 歪補正装置 DESCRIPTION OF SYMBOLS 1 Transmitting device 2 Receiving device 3 Optical fiber 4 Distortion correction device
───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H03M 5/12 H04B 10/00 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int. Cl. 7 , DB name) H03M 5/12 H04B 10/00
Claims (1)
タを光信号に変換して光ファイバーで送受信するデータ
転送装置において、送信データがある場合は2ビット以
上の連続した「0」データを送信データ本体の前に送信
するとともに送信データ本体の後に少なくとも2ビット
長に相当する期間は出力信号を無信号に固定して送信
し、送信データがない場合は出力信号を無信号に固定し
て出力する送信装置と、受信装置において2ビット以上
の無信号の後に最初に検出した「0」データのハイレベ
ルの時間幅を計測し、ハイレベルの時間幅が所定の時間
幅に対して長い場合は以降の受信信号のデータが「1」
から「0」に変化するとき、受信信号から抽出した基準
クロックの立ち下がりを早め、また、2ビット以上の無
信号の後に最初に検出した「0」データのハイレベルの
時間幅が前記所定の時間幅に対して短い場合は、以降の
受信信号のデータが「0」から「1」に変化するとき、
受信信号から抽出した基準クロックの立ち下がりを早め
るようにする波形歪補正装置とを備えたデータ転送装
置。1. A data transfer device which converts Manchester-coded serial data into an optical signal and transmits / receives the signal via an optical fiber. If there is transmission data, continuous "0" data of 2 bits or more is provided before the transmission data body. A transmission device for transmitting and fixing the output signal to a no signal during a period corresponding to at least a 2-bit length after the transmission data body, and for fixing the output signal to a no signal when there is no transmission data, The receiving device measures the high-level time width of the first detected “0” data after a no-signal of 2 bits or more, and if the high-level time width is longer than a predetermined time width, the subsequent reception signal is measured. Data is "1"
From “0” to “0”, the fall of the reference clock extracted from the received signal is advanced, and the high-level time width of the first detected “0” data after the no-signal of 2 bits or more is equal to the predetermined level. If it is shorter than the time width, when the data of the subsequent received signal changes from “0” to “1”,
A data transfer device comprising: a waveform distortion correction device that hastens the fall of a reference clock extracted from a received signal.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP04347788A JP3097005B2 (en) | 1992-12-28 | 1992-12-28 | Data transfer device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP04347788A JP3097005B2 (en) | 1992-12-28 | 1992-12-28 | Data transfer device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH06204882A JPH06204882A (en) | 1994-07-22 |
| JP3097005B2 true JP3097005B2 (en) | 2000-10-10 |
Family
ID=18392581
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP04347788A Expired - Fee Related JP3097005B2 (en) | 1992-12-28 | 1992-12-28 | Data transfer device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3097005B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5104646B2 (en) * | 2008-08-20 | 2012-12-19 | 株式会社デンソーウェーブ | Security control device |
-
1992
- 1992-12-28 JP JP04347788A patent/JP3097005B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH06204882A (en) | 1994-07-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5677935A (en) | Sync detecting method and sync detecting circuit | |
| EP0773653B1 (en) | Method and apparatus for decoding Manchester-encoded data | |
| US4234897A (en) | DC Free encoding for data transmission | |
| JPH0351335B2 (en) | ||
| EP0540351B1 (en) | Error correcting apparatus for digital data and digital sync. detecting apparatus | |
| GB1469465A (en) | Detection of errors in digital information transmission systems | |
| US5077552A (en) | Interface for coupling audio and video equipment to computer | |
| US5390195A (en) | Miller-squared decoder with erasure flag output | |
| CN113179359B (en) | Serial image data training system based on synchronous words | |
| EP0256498B1 (en) | Write compensator for magnetic disk apparatus | |
| JP3097005B2 (en) | Data transfer device | |
| JPH08249822A (en) | Sync detection method and sync detection circuit | |
| KR100200845B1 (en) | Method and circuit for reproducing data in the digital magnetic recording and reproducing device | |
| US4806907A (en) | Apparatus and method for digital data transmission | |
| JP4642749B2 (en) | Oversampling method to reduce jitter | |
| CN112073151A (en) | Telemetry PCM decoding and frame synchronization method based on FPGA | |
| US20240267267A1 (en) | Signal transmission and reception system, reception device, and reception method | |
| JP3001414B2 (en) | Code error correction device | |
| JPH08139711A (en) | Asynchronous data receiving circuit | |
| JPH10117190A (en) | Burst signal regeneration circuit | |
| JP3296905B2 (en) | Pattern detection circuit and facsimile machine | |
| KR100528108B1 (en) | Synchronization circuit and optical disc player for realizing high precision synchronization | |
| JP3454527B2 (en) | Data length protection device | |
| JPH05122203A (en) | Manchiesta code receiving circuit | |
| JP3012526B2 (en) | Control signal holding circuit |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20070811 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080811 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080811 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090811 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090811 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100811 Year of fee payment: 10 |
|
| LAPS | Cancellation because of no payment of annual fees |