JPH0683216B2 - Receiver with collision detection function - Google Patents

Receiver with collision detection function

Info

Publication number
JPH0683216B2
JPH0683216B2 JP62001906A JP190687A JPH0683216B2 JP H0683216 B2 JPH0683216 B2 JP H0683216B2 JP 62001906 A JP62001906 A JP 62001906A JP 190687 A JP190687 A JP 190687A JP H0683216 B2 JPH0683216 B2 JP H0683216B2
Authority
JP
Japan
Prior art keywords
output
circuit
signal
collision
filter
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
Application number
JP62001906A
Other languages
Japanese (ja)
Other versions
JPS63171037A (en
Inventor
邦明 本島
忠義 北山
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP62001906A priority Critical patent/JPH0683216B2/en
Publication of JPS63171037A publication Critical patent/JPS63171037A/en
Publication of JPH0683216B2 publication Critical patent/JPH0683216B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Optical Communication System (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、アクセス方式としてCSMA/CD方式(Carrier
Sense Multiple Access With Collision Detection方
式)を用いたバス形ローカルネツトワークにおいて、デ
ータの伝送とともに衝突検出を行う衝突検出機能付受信
装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to a CSMA / CD system (Carrier) as an access system.
The present invention relates to a receiver with a collision detection function for detecting a collision with a data transmission in a bus type local network using a Sense Multiple Access With Collision Detection method).

〔従来の技術〕[Conventional technology]

第5図に、1B2B符号としてダイパルス符号を考え、光伝
送に適用した例として例えば「CSMA/CD制御を用いた32M
b/S光スター伝送方式の検討」(電子通信学会技術研究
報告CS83−110,1983)に示された従来の衝突検出機能付
受信装置を含む送受信システムを示す。図において、
(1)は送信装置、(2)はダイパルス符号化回路、
(3)は発光素子駆動回路、(4)は発光素子、(5)
は光フアイバ、(6)は光スターカツプラ、(7)は光
フアイバ、(8)は受信装置、(9)は受光素子、(1
0)は前置増幅回路、(11)はパーシヤルレスポンス
(1,−1)フイルタ(以下PR(1,−1)フイルタと略
す。)、(12)は第1の比較回路、(14)はタイミング
抽出回路、(15)は第1のシフトレジスタ、(16)はレ
ジスタ1、(17)はレジスタ2、(18)はレジスタ3、
(24)はブロツク同期回路、(25)は第1の符号則違反
検出回路(以下第1のCRV検出回路と略す。)、(29)
は衝突判定回路である。
In FIG. 5, a dipulse code is considered as the 1B2B code, and an example applied to optical transmission is, for example, "32M using CSMA / CD control.
A transmission / reception system including a conventional receiver with a collision detection function shown in "Study on b / S optical star transmission system" (Technical report of the Institute of Electronics and Communication Engineers CS83-110, 1983) is shown. In the figure,
(1) is a transmitter, (2) is a dipulse encoding circuit,
(3) is a light emitting element drive circuit, (4) is a light emitting element, (5)
Is an optical fiber, (6) is an optical fiber, (7) is an optical fiber, (8) is a receiving device, (9) is a light receiving element, (1)
(0) is a preamplifier circuit, (11) is a partial response (1, -1) filter (hereinafter abbreviated as PR (1, -1) filter), (12) is a first comparison circuit, and (14) is. Is a timing extraction circuit, (15) is the first shift register, (16) is register 1, (17) is register 2, (18) is register 3,
(24) is a block synchronization circuit, (25) is a first code rule violation detection circuit (hereinafter abbreviated as the first CRV detection circuit), (29).
Is a collision determination circuit.

第6図は、従来の衝突検出機能付受信装置の各部波形図
である。図において(10a)は先に受信された光信号
(以下主信号と略す。)、(10b)は後に受信された光
信号(以下衝突信号と略す。)、(11a)は主信号のパ
ーシヤルレスポンス(1,−1)フイルタ出力(以下主信
号PR(1,−1)フイルタ出力と略す。)、(11b)は衝
突信号のパーシヤルレスポンス(1,−1)フイルタ出力
(以下衝突信号PR(1,−1)フイルタ出力と略す。)、
(11c)は主信号と衝突信号を合成したパーシヤルレス
ポンス(1,−1)フイルタ出力(以下信号衝突時PR(1,
−1)フイルタ出力と略す。)、(12a)は第1の比較
回路出力、(14a)は第1のクロツク、(16a)はレジス
タ1出力、(25a)は第1の符号則違反検出回路出力
(以下第1のCRV検出回路出力と略す。)、(30)は+
側閾値、(31a),(31b)は第1のクロツクのサンプル
位相である。
FIG. 6 is a waveform diagram of each part of a conventional receiver with a collision detection function. In the figure, (10a) is an optical signal received first (hereinafter abbreviated as a main signal), (10b) is an optical signal received later (hereinafter abbreviated as a collision signal), and (11a) is a partial of the main signal. Response (1, -1) filter output (hereinafter abbreviated as main signal PR (1, -1) filter output), (11b) is a collision response partial response (1, -1) filter output (hereinafter collision signal PR (Abbreviated as (1, -1) filter output),
(11c) is the output of the partial response (1, -1) filter that combines the main signal and the collision signal (hereinafter PR (1,
-1) Abbreviated as filter output. ), (12a) is the first comparison circuit output, (14a) is the first clock, (16a) is the register 1 output, and (25a) is the first coding rule violation detection circuit output (hereinafter referred to as the first CRV detection). (Abbreviated as circuit output), (30) is +
Side thresholds, (31a) and (31b), are the sample phases of the first clock.

第7図は主信号と衝突信号の位相関係図であり、図にお
いて(11d)は主信号のPR(1,−1)フイルタ出力アイ
パターン、(11e)は主信号との位相差が0のときのPR
(1,−1)フイルタ出力アイパターン、(11f)は主信
号との位相差が のときのPR(1,−1)フイルタ出力アイパターン、(3
1)は第1のクロツクのサンプル位相である。
FIG. 7 is a phase relationship diagram between the main signal and the collision signal. In the figure, (11d) shows the PR (1, -1) filter output eye pattern of the main signal, and (11e) shows that the phase difference with the main signal is 0. PR when
(1, -1) filter output eye pattern, (11f) has a phase difference from the main signal PR (1, -1) filter output eye pattern when
1) is the sample phase of the first clock.

第8図は、従来の衝突検出機能付受信装置における各部
符号則を表わす説明図である。
FIG. 8 is an explanatory diagram showing the coding rules of each part in the conventional receiver with a collision detection function.

次に動作について説明する。第5図を用いて信号の流れ
を説明する。送信装置(1)ではパケツト送信データを
ダイパルス符号化回路(2)で符号化(0→10,1→01)
した後、発光素子駆動回路(3)により発光素子(4)
を強度変調し、光フアイバ(5)に光信号として出力す
る。光フアイバ(5)の出力信号は光スターカプラ
(6)に入力される。光スターカプラ(6)は入力光信
号を光フアイバ(7)を含む各出力光フアイバに等しい
レベルの光信号を出力する。光フアイバ(7)の出力は
受信装置(8)の受光素子(9)に入力され光電気信号
変換される。受光素子(9)の出力信号は前置増幅回路
(10)で増幅後、PR(1,−1)フイルタ(11)に入力さ
れる。
Next, the operation will be described. The signal flow will be described with reference to FIG. In the transmitter (1), the packet transmission data is encoded by the dipulse encoding circuit (2) (0 → 10, 1 → 01)
After that, the light emitting element driving circuit (3) causes the light emitting element (4)
Is intensity-modulated and output as an optical signal to the optical fiber (5). The output signal of the optical fiber (5) is input to the optical star coupler (6). The optical star coupler (6) outputs an input optical signal to each output optical fiber including the optical fiber (7) at an equal level. The output of the optical fiber (7) is input to the light receiving element (9) of the receiving device (8) and converted into a photoelectric signal. The output signal of the light receiving element (9) is amplified by the preamplifier circuit (10) and then input to the PR (1, -1) filter (11).

PR(1,−1)フイルタ(11)以降の動作は第6図を用い
て説明する。図において、主信号(10a)を受信中に衝
突信号(10b)を受信したとする。PR(1,−1)フイル
タ(11)は、入力信号から入力信号を1/2f0〔秒〕遅延
させた信号を引き算する機能を有する。PR(1,−1)フ
イルタ(11)の出力は主信号(10a)に対し(11a)、衝
突信号(10b)に対し(11c)となり、衝突時の波形は両
者を合成した(11b)となる。
The operation after the PR (1, -1) filter (11) will be described with reference to FIG. In the figure, it is assumed that the collision signal (10b) is received while the main signal (10a) is being received. The PR (1, -1) filter (11) has a function of subtracting a signal obtained by delaying the input signal by 1 / 2f 0 [seconds] from the input signal. The output of the PR (1, -1) filter (11) is (11a) for the main signal (10a) and (11c) for the collision signal (10b), and the waveform at the time of collision is the combination of both (11b). Become.

PR(1,−1)フイルタ(11)出力から衝突検出する方法
は第8図を用いて説明する。送信データは、4種類の2
ビツトデータに分類される。ダイパルス符号化後、PR
(1,−1)フイルタ(11)を通過した送信データは、3
値波形(+および−の振幅を持つという意味で交流波
形)に変換される。3値波形の零レベルは、ダイパルス
符号器出力の0と0の減算でできる“0"と1と1の減算
でできる“0”とある。第1の比較回路(12)は、零
レベルのわずかに上にずれた閾値(30)により3値波形
を識別する。非衝突時の第1の比較回路(12)の出力を
周波数2f0〔Hz〕の第1のクロツク(14a)でサンプルし
連続する3ビツトを第1のシフトレジスタ(15)に蓄積
する。第1のシフトレジスタ(15)のレジスタ1(16)
の出力Q1の波形が第6図の(16a)である。第8図に
は、PR(1,−1)フイルタ(11)出力のサンプル結果に
対応したレジスタ1(16),レジスタ2(17)およびレ
ジスタ3(18)の出力Q3,Q2,Q1を示す。衝突が発生する
と、衝突信号により零レベルが閾値(30)の上に振り込
まれ第1の比較回路(12)はこれを検出し、第6図にお
ける(12a)を出力する。第8図においては、3ビツト
系列における第2番目Q2に変化が生じる場合を符号則違
反3ビツト系列として示してある。PR(1,−1)フイル
タ(11)出力に零レベルが発生する場合には、衝突信号
レベルが小さくても符号則違反3ビツト系列を検出し易
い。第1のCRV検出回路(25)は、第1のシフトレジス
タ(15)の出力Q1,Q2,Q3を1/f0〔秒〕ごとに符号則違反
の有無を判定し、符号則違反を検出した場合には、第6
図(25a)に示される検出パルスを衝突判定回路(29)
へ出力する。1/f0〔秒〕の周期の符号則違反検出用クロ
ツクは、ブロツク同期回路(24)により、主信号(10
a)の受信開始直後に、第1のシフトレジスタ(15)の
第2レジスタ(17)出力Q2に、PR(1,−1)フイルタ
(11)出力の零レベルに対するサンプル結果が出力され
る位相に同期引込みされ、以後この位相に保持されて出
力される。
A method of detecting a collision from the output of the PR (1, -1) filter (11) will be described with reference to FIG. There are 4 types of transmission data, 2
Classified as bit data. PR after dipulse coding
The transmission data passed through the (1, -1) filter (11) is 3
It is converted into a value waveform (AC waveform in the sense of having + and-amplitudes). The zero level of the ternary waveform is “0” that can be obtained by subtracting 0 and 0 of the dipulse encoder output and “0 * ” that can be obtained by subtracting 1 and 1. The first comparison circuit (12) discriminates the ternary waveform by the threshold value (30) which is shifted slightly above the zero level. The output of the first comparing circuit (12) at the time of non-collision is sampled at the first clock (14a) having a frequency of 2f 0 [Hz], and consecutive 3 bits are accumulated in the first shift register (15). Register 1 (16) of the first shift register (15)
The waveform of the output Q 1 of is (16a) in FIG. FIG. 8 shows the outputs Q 3 , Q 2 , Q of the register 1 (16), the register 2 (17) and the register 3 (18) corresponding to the sampled result of the PR (1, -1) filter (11) output. Indicates 1 . When a collision occurs, a zero level is transferred above the threshold value (30) by the collision signal, and the first comparison circuit (12) detects this and outputs (12a) in FIG. In FIG. 8, the case where the second Q 2 in the 3-bit sequence changes is shown as a coding rule violation 3-bit sequence. When a zero level occurs in the output of the PR (1, -1) filter (11), it is easy to detect the coding rule violation 3-bit sequence even if the collision signal level is small. The first CRV detection circuit (25) determines the output of the first shift register (15) Q 1 , Q 2 , and Q 3 every 1 / f 0 [second] for the presence of a code rule violation and determines the code rule. If a violation is detected, the sixth
Collision determination circuit (29) for the detection pulse shown in Figure (25a)
Output to. The clock for detecting the violation of the coding rule with a cycle of 1 / f 0 [second] is set by the block synchronization circuit (24) to the main signal (10
Immediately after the start of reception of a), the sample result for the zero level of the output of the PR (1, -1) filter (11) is output to the output Q 2 of the second register (17) of the first shift register (15). It is synchronously pulled in to the phase, and thereafter held in this phase and output.

第8図において零レベルは、“0"と“0”の2種類あ
るが、“0”は、1と1(光信号のONとON)の引き算
により発生したものであり受光素子(9)においてシヨ
ツト雑音が多く発生するために非衝突時にも雑音により
符号則違反が発生し易く衝突検出に用いない方がよい。
以後“0”において発生する符号則違反は無視するも
のとして説明する。
In FIG. 8, there are two types of zero level, “0” and “0 * ”, but “0 * ” is generated by subtraction of 1 and 1 (ON and ON of optical signal) and is a light receiving element ( Since a lot of shot noise occurs in 9), it is better not to use it for collision detection because the coding rule violation is likely to occur due to noise even when there is no collision.
Hereinafter, the description will be made assuming that the code rule violation occurring at "0 * " is ignored.

衝突判定回路(29)はCRV検出回路(25)の出力パルス
数をカウントし、カウント値が規定値を越えると衝突と
判定し検出信号を出力する。
The collision determination circuit (29) counts the number of output pulses of the CRV detection circuit (25), and when the count value exceeds a specified value, determines that a collision has occurred and outputs a detection signal.

次に従来の衝突検出機能付受信装置において衝突検出し
難い場合について第7図を用いて説明する。(11d)はP
R(1,−1)フイルタ(11)出力における主信号のアイ
パターンである。第1の比較回路(12)で識別後、第1
のシフトレジスタ(15)の第1レジスタ(16)で周波数
2f0〔Hz〕の第1のクロツクでサンプルされる位相(3
1)を図中に示す。(11e)は主信号と位相差0(符号化
ブロツクの区切り目が時間的に主信号と衝突信号とで重
なつている)で衝突した信号のアイパターンである。衝
突による主信号の零レベルは、±hmax振り込まれる。第
1の比較回路(12)では、+側へ振り込まれるときに符
号則違反を検出するが、−側へ振り込まれるときは検出
できない。(11f)は主信号と位相差 で衝突した信号のアイパターンである。衝突による主信
号の零レベルは、±hmin振り込まれる。この場合は、+
側へ振り込まれる振幅が小さいため検出見逃しが発生す
ることがある。
Next, a case where it is difficult to detect a collision in the conventional receiving device with a collision detection function will be described with reference to FIG. (11d) is P
This is the eye pattern of the main signal at the output of the R (1, -1) filter (11). After identification by the first comparison circuit (12), the first
Frequency in the first register (16) of the shift register (15) of
The phase sampled on the first clock at 2f 0 [Hz] (3
1) is shown in the figure. (11e) is an eye pattern of a signal that collides with the main signal with a phase difference of 0 (the break point of the encoding block temporally overlaps the main signal and the collision signal). The zero level of the main signal due to the collision is transferred to ± hmax. The first comparison circuit (12) detects a code rule violation when it is transferred to the + side, but cannot detect it when it is transferred to the-side. (11f) is the phase difference from the main signal It is the eye pattern of the signal that collided with. The zero level of the main signal due to the collision is transferred by ± hmin. In this case, +
Since the amplitude transferred to the side is small, a missed detection may occur.

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

上記のように従来の衝突検出機能付受信装置では、零レ
ベルの信号衝突による変動を検出する比較回路が1つで
あること、また衝突サンプリングポイントも1点である
ため、衝突位相によつては、零レベルの振り込み量が小
さく衝突検出見逃しを生じ易いという欠点があつた。
As described above, in the conventional receiver with a collision detection function, since there is only one comparator circuit that detects fluctuations due to a zero-level signal collision, and there is only one collision sampling point, therefore, there is a difference in collision phase. However, there is a drawback that the amount of transfer at the zero level is small and it is easy to miss the collision detection.

この発明は上記のような問題点を解消するためになされ
たもので衝突位相による衝突検出特性劣化を改善するこ
とができる衝突検出機能付受信装置を得ることを目的と
する。
The present invention has been made to solve the above problems, and an object of the present invention is to obtain a receiver with a collision detection function capable of improving the deterioration of the collision detection characteristics due to the collision phase.

〔問題点を解決するための手段〕 この発明に係る衝突検出機能付受信装置は、ビットレー
トf0[ビット/秒]のパケット送信データを1B2B符号に
変換後強度変調して送信された送信信号を受信し、該受
信信号から該受信信号を1/2f0[秒]遅延した信号を引
き算することによって交流変換するPR(1,−1)フィル
タと、該PR(1,−1)フィルタ出力を入力とし該PR(1,
−1)フィルタ出力の零レベルよりわずかに上位側にず
れた閾値で信号識別する第1の比較回路と、PR(1,−
1)フィルタ出力の零レベルよりわずかに下位側にずれ
た閾値で信号識別する第2の比較回路と、第1の比較回
路の出力を周波数2f0[Hz]の第1のクロックでサンプ
ルしサンプル後得られる連続する3ビットパターンを周
期1/f0[秒]ごとに監視し符号遷移則違反を検出する第
1のCRV検出回路と、第2の比較回路の出力を、第1の
比較回路の出力をサンプルする周波数2f0[Hz]の第1
のクロックを遅延させる移相回路を介して得られる第2
のクロックでサンプルしサンプル後得られる連続する3
ビットパターンを周期1/f0[秒]ごとに監視し符号遷移
則違反を検出する第2のCRV検出回路と、第1又は第2
のCRV検出回路出力を入力とする1/f0[秒]の遅延時間
を有する遅延回路と、該遅延回路出力を第1の入力と
し、第2又は第1のCRV検出回路出力を第2の入力とす
る論理和回路とで構成され、該論理和回路出力を衝突検
出信号として出力するものである。
[Means for Solving Problems] A reception device with a collision detection function according to the present invention is a transmission signal transmitted by intensity-modulating packet transmission data having a bit rate f 0 [bits / second] after being converted into a 1B2B code. And a PR (1, -1) filter that performs AC conversion by subtracting a signal obtained by delaying the received signal by 1 / 2f 0 [sec] from the received signal, and the PR (1, -1) filter output Input the PR (1,
-1) A first comparison circuit for discriminating a signal by a threshold value slightly shifted from the zero level of the filter output to the upper side, and PR (1,-
1) A second comparison circuit for discriminating signals with a threshold value slightly shifted to the lower side of the zero level of the filter output, and the output of the first comparison circuit is sampled by sampling with the first clock of frequency 2f 0 [Hz]. The outputs of the first CRV detection circuit and the second comparison circuit, which detect the violation of the code transition rule by monitoring the subsequently obtained continuous 3-bit pattern every cycle 1 / f 0 [second], are compared with the first comparison circuit. 1st frequency 2f 0 [Hz] to sample the output of
Second obtained through a phase shift circuit that delays the clock of
3 consecutive clocks sampled at each clock
A second CRV detection circuit for monitoring a bit pattern every cycle 1 / f 0 [second] to detect a code transition rule violation, and a first or second CRV detection circuit.
Of the CRV detection circuit output having a delay time of 1 / f 0 [seconds], the delay circuit output having the first input, and the second or first CRV detection circuit output having the second And a logical sum circuit as an input, and outputs the logical sum circuit output as a collision detection signal.

〔作用〕[Action]

この発明による衝突検出機能付受信装置は、PR(1,−
1)フイルタ出力に発生する零レベルの上,下に閾値を
有する第1および第2の比較回路により、衝突による零
レベルの振り込みが上,下どちらであつても検出出来る
ようにする。また、第1の比較回路の出力を周波数2f0
[Hz]の第1のクックでサンプルし、第1のクロックを
移相回路を介して遅延させた第2のクロックで第2の比
較回路の出力をサンプルすることにより、一方のクロツ
ク位相における主信号零レベルの振り込み量が最小であ
つても、他方のクロツク位相ではそれ以上の振り込み量
を得るようにする。さらに、第1および第2の周波数2f
0〔Hz〕のクロツクの位相に差を与えたため同一ビツト
内で2個のCRVパルスが発生することがあるが、このと
き衝突判定回路で2個のCRVパルスをカウントできるよ
うに、第1(又は第2)のCRV検出回路出力を1/f
0〔秒〕遅延して論理和をとつた後、衝突判定回路に入
力する。以上の手段により、衝突見逃し率の改善を図る
ことができる。
The receiver with collision detection function according to the present invention is PR (1,-
1) The first and second comparison circuits having threshold values above and below the zero level generated in the filter output make it possible to detect whether the zero level transfer due to a collision is above or below. In addition, the output of the first comparison circuit is set to the frequency 2f 0
By sampling the output of the second comparison circuit with the second clock, which is obtained by sampling the first clock of [Hz] and delaying the first clock through the phase shift circuit, Even if the transfer amount at the signal zero level is the minimum, the transfer amount more than that is obtained in the other clock phase. Furthermore, the first and second frequencies 2f
Two CRV pulses may be generated in the same bit due to the difference in the clock phase of 0 [Hz]. At this time, the first ( Or, the output of the second CRV detection circuit is 1 / f
0 [seconds] After delaying and ORing, it is input to the collision determination circuit. By the above means, the collision miss rate can be improved.

〔発明の実施例〕Example of Invention

第1図はこの発明による衝突検出機能付受信装置の一実
施例を含む送受信システムの構成を示す。図において、
第5図と同一符号の部分は同一部分を示し、(13)は第
2の比較回路、(19)は第2のシフトレジスタ、(20)
はレジスタ4、(21)はレジスタ5、(22)はレジスタ
6、(26)は第2の符号則違反検出回路(以下第2のCR
V検出回路と略す。)、(27)は遅延回路、(28)はOR
ゲート、(23)は移相回路である。
FIG. 1 shows the configuration of a transmission / reception system including an embodiment of a receiver with a collision detection function according to the present invention. In the figure,
The same reference numerals as those in FIG. 5 denote the same parts, (13) is the second comparison circuit, (19) is the second shift register, and (20).
Is a register 4, (21) is a register 5, (22) is a register 6, and (26) is a second coding rule violation detection circuit (hereinafter referred to as a second CR).
Abbreviated as V detection circuit. ), (27) are delay circuits, (28) is OR
The gate (23) is a phase shift circuit.

第2図は、1B2B符号としてバイフエーズ符号を考えたと
きの、第1図に示した衝突検出機能付受信装置の各部波
形図であり、図において(13a)は第2の比較回路出
力、(20a)はレジスタ4出力、(26a)は第2の符号則
違反検出回路出力(以下第2のCRV検出回路出力と略
す。)(27a)は遅延回路出力、(24a)はブロツク同期
回路出力、(28a)は論理和回路出力、(32)は−側閾
値、(33a),(33b)は第1のクロツクの、(34a),
(34b)は第2のクロツクのそれぞれサンプル位相であ
る。
FIG. 2 is a waveform diagram of each part of the receiver with a collision detection function shown in FIG. 1 when considering the biphasic code as the 1B2B code. In the figure, (13a) is the output of the second comparison circuit, (20a ) Is the output of the register 4, (26a) is the output of the second coding rule violation detection circuit (hereinafter abbreviated as the second CRV detection circuit output), (27a) is the delay circuit output, (24a) is the block synchronization circuit output, ( 28a) is the output of the OR circuit, (32) is the-side threshold value, (33a), (33b) are the first clock, (34a),
(34b) are the respective sample phases of the second clock.

第3図は、主信号と衝突信号の位相関係図であり、図に
おいて、(11f)は+側閾値での信号衝突が最も検出し
にくい位相における衝突信号のPR(1,−1)フイルタ出
力アイパターン、(11g)は−側閾値で最も衝突信号の
検出しにくい位相におけるPR(1,−1)フイルタ出力、
(32)は−側閾値である。
FIG. 3 is a phase relationship diagram of the main signal and the collision signal. In the figure, (11f) is the PR (1, -1) filter output of the collision signal in the phase where the signal collision at the + side threshold is the most difficult to detect. Eye pattern, (11g) is the PR (1, -1) filter output in the phase where the collision signal is the most difficult to detect with the-side threshold,
(32) is a-side threshold.

次に動作について説明する。第1図において、この発明
に係る衝突検出機能付受信装置は、従来のものに第2の
比較回路(13)、第2のシフトレジスタ(19)(レジス
タ4(20)、レジスタ5(21)、レジスタ6(22))、
第2のCRV検出回路(26)、遅延回路(27)、論理和回
路(28)、移相回路(23)を加えたものであり、他の部
分は従来と同様の動作を行う。
Next, the operation will be described. Referring to FIG. 1, the receiver with a collision detection function according to the present invention is different from the conventional one in a second comparison circuit (13), a second shift register (19) (register 4 (20), register 5 (21)). , Register 6 (22)),
A second CRV detection circuit (26), a delay circuit (27), an OR circuit (28), and a phase shift circuit (23) are added, and the other parts perform the same operations as in the conventional case.

第1図において、PR(1,−1)フイルタ(11)の出力は
第2の比較回路(13)へ入力される。第2の比較回路
(13)はPR(1,−1)フイルタ出力の零レベルのわずか
に下に閾値を有し、信号衝突により零レベルが下に振り
込まれるのを検出する。第2のシフトレジスタ(19)で
は、タイミング抽出回路(14)より出力される周波数2f
0〔Hz〕の第1のクロツクを移相回路(23)によりτ
〔秒〕遅延して得られる第2のクロツクで第2の比較回
路(13)の出力をサンプルし、第2のシフトレジスタ
(19)に連続する3ビツト系列を蓄積する。第2のCRV
検出回路(26)は、第2のシフトレジスタ(19)の第1
レジスタ(20)の出力Q6、第2レジスタ(21)の出力
Q5、第3レジスタ(22)の出力Q4より符号則違反パター
ンを検出する。
In FIG. 1, the output of the PR (1, -1) filter (11) is input to the second comparison circuit (13). A second comparator circuit (13) has a threshold slightly below the zero level of the PR (1, -1) filter output and detects when the zero level is driven down by a signal collision. In the second shift register (19), the frequency 2f output from the timing extraction circuit (14)
The first clock of 0 [Hz] is set to τ by the phase shift circuit (23).
[Second] The output of the second comparison circuit (13) is sampled by the second clock obtained with a delay and the continuous 3-bit sequence is stored in the second shift register (19). Second CRV
The detection circuit (26) is the first of the second shift register (19).
Output Q 6 of register (20), output of second register (21)
Q 5, detects the coding rule violation pattern from the output Q 4 of the third register (22).

符号則違反パターンの検出方法について第2図,第4図
を用いて説明する。PR(1,−1)フイルタ(11)出力零
レベルの+側に閾値を有する第1の比較回路(12)の動
作は従来例(第6図,第8図)と同じである。PR(1,−
1)フイルタ(11)出力零レベルの−側に閾値(32)を
有する第2の比較回路(13)は、衝突信号により零レベ
ルが閾値(32)の下側に振り込まれるのを検出し、第2
図における(13a)を出力する。第4図においては、3
ビツト系列における第2番目Q5に変化が生じる場合を符
号則違反3ビツト系列として示してある。以上のよう
に、PR(1,−1)フイルタ(11)出力零レベルの上,下
に閾値を有する比較回路(12),(13)を設けることに
より衝突信号により零レベルが上,下どちらに振り込ま
れても符号則違反を検出することができる。
A method of detecting a coding rule violation pattern will be described with reference to FIGS. 2 and 4. The operation of the first comparison circuit (12) having a threshold value on the + side of the output level of the PR (1, -1) filter (11) is the same as that of the conventional example (FIGS. 6 and 8). PR (1,-
1) The second comparator circuit (13) having the threshold value (32) on the minus side of the filter (11) output zero level detects that the zero level is transferred to the lower side of the threshold value (32) by the collision signal, Second
Output (13a) in the figure. In FIG. 4, 3
A case where the second Q 5 in the bit sequence changes is shown as a coding rule violation 3 bit sequence. As described above, by providing the comparator circuits (12) and (13) having threshold values above and below the PR (1, -1) filter (11) output zero level, the zero level can be increased or decreased by the collision signal. It is possible to detect the violation of the coding rule even if it is transferred to.

次に、第1のシフトレジスタ(15)と第2のシフトレジ
スタ(19)に入力される周波数2f0〔Hz〕のクロツク位
相に差を与えることの効果について第3図を用いて説明
する。第3図において、第2のシフトレジスタ(19)の
サンプリング点(34)は、第1のシフトレジスタ(15)
のサンプリング点(33)に対しτ〔秒〕遅れている。
(11f)は、第1のシフトレジスタのサンプリング点(3
3)において、衝突信号の符号化ブロツクの区切り目A
が発生し、振幅が最小値hとなる位相で衝突した衝突信
号アイパターンである。第1のサンプリング点(33)に
おいては、従来同様衝突見逃しは発生し易い。しかし、
第2のサンプリング点(34)においては、このとき大き
な衝突信号振幅(h1)が得られ容易に衝突検出が可能で
ある。(11g)は、第2のシフトレジスタのサンプリン
グ点(34)において,衝突信号の符号化ブロツクの区切
り目Bが発生し,衝突信号振幅が最小値hとなる衝突信
号アイパターンである。この場合は、サンプリング点
(34)では衝突見逃しが発生するが、サンプリング点
(33)では大きな衝突信号振幅(h2)が得られ容易に衝
突検出が行える。以上の様に、サンプリング点を第1の
シフトレジスタ(15)と第2のシフトレジスタ(19)で
差を持たせることにより衝突見逃しの改善が図れる。な
お、PR(1,−1)フイルタ(11)出力の零レベル“0"
(0と0の引き算から発生)は右上りの波形であるか
ら、+側に閾値を有する第1の比較回路(12)出力をサ
ンプリングする第1のシフトレジスタ(15)のクロツク
は−側に閾値を有する第2の比較回路(13)出力をサン
プリングする第2のシフトレジスタ(19)のクロツクよ
り進んだ位相に設定した方が衝突誤検出しにくいので有
利である。
Next, the effect of giving a difference to the clock phase of the frequency 2f 0 [Hz] input to the first shift register (15) and the second shift register (19) will be described with reference to FIG. In FIG. 3, the sampling point (34) of the second shift register (19) is the first shift register (15).
The sampling point (33) is delayed by τ [seconds].
(11f) is the sampling point (3
In 3), the break block A of the collision signal coding block
Is generated, and the collision signal eye pattern collides in a phase in which the amplitude has the minimum value h. At the first sampling point (33), collision oversight is likely to occur as in the conventional case. But,
At the second sampling point (34), a large collision signal amplitude (h 1 ) is obtained at this time, and collision detection can be easily performed. (11g) is a collision signal eye pattern in which a collision signal encoding block B occurs at the sampling point (34) of the second shift register and the collision signal amplitude becomes the minimum value h. In this case, collision oversight occurs at the sampling point (34), but a large collision signal amplitude (h 2 ) is obtained at the sampling point (33), and collision detection can be performed easily. As described above, the difference between the sampling points in the first shift register (15) and the difference in the second shift register (19) makes it possible to improve the collision miss. Note that the PR (1, -1) filter (11) output zero level "0"
Since the waveform (generated from the subtraction of 0 and 0) has an upper right waveform, the clock of the first shift register (15) sampling the output of the first comparison circuit (12) having a threshold value on the + side is on the − side. It is advantageous to set the phase ahead of the clock of the second shift register (19) for sampling the output of the second comparison circuit (13) having a threshold value, because collision error detection is less likely to occur.

次に、遅延回路(27)の効果について第2図を用いて説
明する。第2図においてPR(1,−1)フイルタ(11)出
力における主信号(11a)と衝突信号(11b)の位相差は である。このとき、第1の比較回路(12)および第2の
比較回路(13)はサンプリング点(33a),(34a)にお
いてそれぞれ衝突信号により零レベルが閾値(30)およ
び(32)を超えて振り込まれるのを検出する。第1のシ
フトレジスタ(15),第2のシフトレジスタ(19)のレ
ジスタ1(16)およびレジスタ4(20)の出力Q3,Q
6は、(16a),(20a)となる。第1のCRV検出回路(2
5)および第2のCRV検出回路(26)は、ブロツク同期回
路(24)から出力される周期1/f0〔秒〕の同一クロツク
でサンプルされるので、同一タイムスロツトにCRV検出
パルスが出力される(25a,26a)。このまま、論理和を
とつて衝突判定回路(29)においてCRV数カウントを行
うと1個しかカウントされず、衝突検出が遅れる。遅延
回路(27)は、第1のCRV検出回路(25)の出力を1/f0
〔秒〕遅延して出力するのでCRV数は衝突判定回路(2
9)において2個にカウントされる。遅延回路で1/f
0〔秒〕遅延しても、次にCRVパルスが発生するのは2タ
イムスロツト先である(“0”部ではCRV検出しない
ため)ので重複することはない。
Next, the effect of the delay circuit (27) will be described with reference to FIG. In Fig. 2, the phase difference between the main signal (11a) and the collision signal (11b) at the PR (1, -1) filter (11) output is Is. At this time, the first comparison circuit (12) and the second comparison circuit (13) transfer the zero level exceeding the thresholds (30) and (32) by the collision signal at the sampling points (33a) and (34a), respectively. Is detected. Outputs Q 3 and Q of the register 1 (16) and the register 4 (20) of the first shift register (15) and the second shift register (19)
6 becomes (16a) and (20a). First CRV detection circuit (2
5) and the second CRV detection circuit (26) are sampled at the same clock of the cycle 1 / f 0 [sec] output from the block synchronization circuit (24), so CRV detection pulses are output at the same time slot. (25a, 26a). If the CRV number is counted in the collision determination circuit (29) by taking the logical sum as it is, only one CRV is counted and the collision detection is delayed. The delay circuit (27) outputs the output of the first CRV detection circuit (25) to 1 / f 0
[Second] Delayed output, so the CRV count is
It is counted as 2 in 9). 1 / f with delay circuit
Even if the delay is 0 [seconds], the CRV pulse will be generated two time slots ahead (since the CRV is not detected in the "0 * " part), so that the CRV pulse does not overlap.

第1のシフトレジスタ(15)と第2のシフトレジスタ
(19)のサンプル位相が同位相の場合は、CRVパルスは
いずれか一方のCRV検出回路からのみCRVパルスが出力さ
れるので、前記遅延回路(27)の効果はない。第1のシ
フトレジスタ(15)と第2のシフトレジスタ(19)のサ
ンプル位相に差を与えた場合には、2つのCRV検出回路
から同時にCRVパルスが出力されることがあり、遅延回
路(27)の効果が発揮される。
When the sample phases of the first shift register (15) and the second shift register (19) are the same phase, the CRV pulse is output from only one of the CRV detection circuits, so the delay circuit (27) has no effect. When the sample phase of the first shift register (15) is different from that of the second shift register (19), CRV pulses may be simultaneously output from the two CRV detection circuits, and the delay circuit (27 ) Effect is exhibited.

〔発明の効果〕〔The invention's effect〕

以上のように、この発明によればPR(1,−1)フイルタ
出力の零レベルよりわずかに上位側にずれた閾値で信号
識別する第1の比較回路と、PR(1,−1)フイルタ出力
の零レベルよりわずかに下位側にずれた閾値で信号識別
する第2の比較回路とを有し、第1の比較回路の出力を
周波数2f0[Hz]の第1のクロックでサンプルし、第1
のクロックを移相回路を介して遅延させた第2のクロッ
クで第2の比較回路の出力をサンプルすることにより、
どちらかのクロックに対して衝突信号の符号化ブロック
の区切り目が発生しても他のクロックに対してはサンプ
ル点と符号化ブロックの区切り目が一致しておらず、大
きな衝突信号振幅が得られる。従って、衝突信号による
零レベルの変動を確実に検出でき、衝突位相によらず確
実な衝突検出が行える。
As described above, according to the present invention, the first comparison circuit for discriminating the signal by the threshold value slightly deviated to the upper side of the zero level of the output of the PR (1, -1) filter and the PR (1, -1) filter are provided. A second comparator circuit for discriminating a signal by a threshold value slightly shifted to the lower side of the zero level of the output, and sampling the output of the first comparator circuit with the first clock of frequency 2f 0 [Hz], First
By sampling the output of the second comparison circuit with the second clock obtained by delaying the clock of
Even if the coded block break of the collision signal occurs for either clock, the sample point and the coded block break do not match for other clocks, and a large collision signal amplitude is obtained. To be Therefore, the zero-level fluctuation due to the collision signal can be surely detected, and the collision can be surely detected regardless of the collision phase.

また、第1又は第2のCRV検出回路出力を入力とする1/f
0[秒]の遅延時間を有する遅延回路を、第1のCRV検出
回路もしくは第2のCRV検出回路に後置することによ
り、2つのCRV検出回路から同時にCRVパルスが出力され
ても、別々に計数することができ、効率よく衝突検出が
行える。
In addition, 1 / f that receives the output of the first or second CRV detection circuit
By placing a delay circuit having a delay time of 0 [second] after the first CRV detection circuit or the second CRV detection circuit, even if the CRV pulses are output from the two CRV detection circuits at the same time, they are separately output. It is possible to count and efficiently detect collision.

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

第1図はこの発明の一実施例を示す構成図、第2図は1B
2B符号としてバイフエーズ符号を考えたときの第1図に
示した衝突検出機能付送受信装置の各部波形図、第3図
は主信号と衝突信号の位相関係図、第4図はこの発明の
一実施例の衝突検出機能付受信装置における各部符号則
を表わす説明図、第5図は従来の衝突検出機能付受信装
置を含む送受信システムを示す構成図、第6図は1B2B符
号としてバイフエーズ符号を考えたときの第5図に示し
た衝突検出機能付受信装置の各部波形図、第7図は主信
号と衝突信号の位相関係図、第8図は従来の衝突検出機
能付受信装置における各部符号則を表わす説明図であ
る。 図中、(1)は送信装置、(2)は1B2B符号化回路、
(3)は発光素子駆動回路、(4)は発光素子、(8)
は受信装置、(9)は受光素子、(10)は前置増幅回
路、(11)はパーシヤルレスポンス(1,−1)フイル
タ、(12)は第1の比較回路、(13)は第2の比較回
路、(14)はタイミング抽出回路、(15)は第1のシス
トレジスタ、(19)は第2のシフトレジスタ、(24)は
ブロツク同期回路、(25)は第1の符号則違反検出回
路、(26)は第2の符号則違反検出回路、(23)は移相
回路、(27)は遅延回路、(28)は論理和回路、(29)
は衝突判定回路である。 なお、図中、同一符号は同一又は相当部分を示す。
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is 1B.
FIG. 3 is a waveform diagram of respective parts of the transceiver with a collision detection function shown in FIG. 1 when a biphasic code is considered as a 2B code, FIG. 3 is a phase relationship diagram of a main signal and a collision signal, and FIG. FIG. 5 is an explanatory view showing coding rules of each part in the receiver with collision detection function, FIG. 5 is a configuration diagram showing a transmission / reception system including a conventional receiver with collision detection function, and FIG. 6 considers biphasic code as 1B2B code. 5 is a waveform diagram of each part of the receiver with a collision detection function shown in FIG. 5, FIG. 7 is a phase relationship diagram of a main signal and a collision signal, and FIG. 8 is a code rule of each part in a conventional receiver with a collision detection function. FIG. In the figure, (1) is a transmitter, (2) is a 1B2B encoding circuit,
(3) is a light emitting element drive circuit, (4) is a light emitting element, (8)
Is a receiver, (9) is a light receiving element, (10) is a preamplifier circuit, (11) is a partial response (1, -1) filter, (12) is a first comparison circuit, and (13) is a first comparator circuit. 2 comparison circuit, (14) timing extraction circuit, (15) first shift register, (19) second shift register, (24) block synchronization circuit, (25) first code rule Violation detection circuit, (26) second code rule violation detection circuit, (23) phase shift circuit, (27) delay circuit, (28) OR circuit, (29)
Is a collision determination circuit. In the drawings, the same reference numerals indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】ビットレートf0[ビット/秒]のパケット
送信データを1B2B符号に変換後強度変調して送信された
送信信号を受信し、該受信信号から該受信信号を1/2f0
[秒]遅延した信号を引き算することによって交流変換
するパーシャルレスポンス(1,−1)フィルタと、 該パーシャルレスポンス(1,−1)フィルタ出力を入力
とし該パーシャルレスポンス(1,−1)フィルタ出力の
零レベルよりわずかに上位側にずれた閾値で信号識別す
る第1の比較回路と、 前記パーシャルレスポンス(1,−1)フィルタ出力の零
レベルよりわずかに下位側にずれた閾値で信号識別する
第2の比較回路と、 前記第1の比較回路の出力を周波数2f0[Hz]の第1の
クロックでサンプルしサンプル後得られる連続する3ビ
ットパターンを周期1/f0[秒]ごとに監視し符号遷移則
違反を検出する第1の符号則違反検出回路と、 前記第2の比較回路の出力を、前記第1の比較回路の出
力をサンプルする周波数2f0[Hz]の第1のクロックを
遅延させる移相回路を介して得られる第2のクロックで
サンプルしサンプル後得られる連続する3ビットパター
ンを周期1/f0[秒]ごとに監視し符号遷移則違反を検出
する第2の符号則違反検出回路と、 前記第1又は第2の符号則違反検出回路出力を入力とす
る1/f0[秒]の遅延時間を有する遅延回路と、 該遅延回路出力を第1の入力とし、前記第2又は第1の
符号則違反検出回路出力を第2の入力とする論理和回路
とで構成され、 該論理和回路出力を衝突検出信号として出力することを
特徴とする衝突検出機能付受信装置。
1. A transmission signal received by converting the packet transmission data having a bit rate f 0 [bits / sec] into a 1B2B code and intensity-modulating the transmission signal, and converting the reception signal from the reception signal to 1 / 2f 0
[Second] Partial response (1, -1) filter that performs AC conversion by subtracting the delayed signal, and input of the partial response (1, -1) filter output as the partial response (1, -1) filter output A first comparing circuit for discriminating a signal with a threshold value slightly deviated to the upper side of the zero level, and a signal discrimination with a threshold value slightly deviated to the lower side of the zero level of the partial response (1, -1) filter output. The output of the second comparison circuit and the output of the first comparison circuit are sampled at the first clock having a frequency of 2f 0 [Hz], and a continuous 3-bit pattern obtained after sampling is sampled every cycle 1 / f 0 [second]. A first code rule violation detection circuit for monitoring and detecting a code transition rule violation, and an output of the second comparison circuit for a first frequency 2f 0 [Hz] for sampling the output of the first comparison circuit. Ku The detecting the monitoring code transition rule violation three bits pattern continuing obtained after sample sampled at a second clock obtained through a phase shift circuit for delaying the click every period 1 / f 0 [sec] No. 2 code rule violation detection circuit, a delay circuit having a delay time of 1 / f 0 [seconds] with the first or second code rule violation detection circuit output as an input, and the delay circuit output as a first Collision detection characterized by comprising a logical sum circuit having an input and an output of the second or first coding rule violation detection circuit as a second input, and outputting the logical sum circuit output as a collision detection signal. Receiver with function.
JP62001906A 1987-01-09 1987-01-09 Receiver with collision detection function Expired - Fee Related JPH0683216B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62001906A JPH0683216B2 (en) 1987-01-09 1987-01-09 Receiver with collision detection function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62001906A JPH0683216B2 (en) 1987-01-09 1987-01-09 Receiver with collision detection function

Publications (2)

Publication Number Publication Date
JPS63171037A JPS63171037A (en) 1988-07-14
JPH0683216B2 true JPH0683216B2 (en) 1994-10-19

Family

ID=11514620

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62001906A Expired - Fee Related JPH0683216B2 (en) 1987-01-09 1987-01-09 Receiver with collision detection function

Country Status (1)

Country Link
JP (1) JPH0683216B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2502395B2 (en) * 1990-02-09 1996-05-29 三菱電機株式会社 Transceiver
TWI373714B (en) * 2008-04-02 2012-10-01 Novatek Microelectronics Corp Electronic device for contention detection of bidirectional bus and related method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61201534A (en) * 1985-03-04 1986-09-06 Nippon Telegr & Teleph Corp <Ntt> Transmission and reception equipment with collision detection function
JPS61201532A (en) * 1985-03-04 1986-09-06 Nippon Telegr & Teleph Corp <Ntt> Transmission and reception equipment with collision detecting function
JPS61201533A (en) * 1985-03-04 1986-09-06 Nippon Telegr & Teleph Corp <Ntt> Transmission and reception equipment with collision detecting function

Also Published As

Publication number Publication date
JPS63171037A (en) 1988-07-14

Similar Documents

Publication Publication Date Title
EP0103460B1 (en) Improvements in or relating to data interconnecting networks
EP0040632B1 (en) Data processing system with serial data transmission between subsystems
US5371766A (en) Clock extraction and data regeneration logic for multiple speed data communications systems
EP0082575B1 (en) An energy-synchronised demodulator circuit
KR970011839B1 (en) Data collision detection circuit of lan
US4759040A (en) Digital synchronizing circuit
JPH0683216B2 (en) Receiver with collision detection function
JPH0528547B2 (en)
JP2627890B2 (en) Decoding circuit
US4809301A (en) Detection apparatus for bi-phase signals
CA2052811C (en) Framing bit sequence detection in digital data communication systems
US6917659B1 (en) Method and apparatus for receiving data
JP2705625B2 (en) Optical fiber cable break detection method
JP2680197B2 (en) Timing extraction circuit, timing extraction method, and communication system using the same
US6628213B2 (en) CMI-code coding method, CMI-code decoding method, CMI coding circuit, and CMI decoding circuit
US6597752B1 (en) Method for detecting a dotting sequence for manchester encoded data in a deep fading environment
JP3270572B2 (en) Frame signal transmission system
CA1314999C (en) Method and apparatus for decoding manchester encoded data
JPH05226938A (en) Frequency modulation coding data demodulation method and demodulator
JP3039585B2 (en) Synchronous word detection circuit
JPH0851419A (en) Timing extraction device
JPH0746275A (en) Data discrimination method by pulse width
JP2502395B2 (en) Transceiver
JPH0342762Y2 (en)
JP3191587B2 (en) Reception timing switching circuit

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees