JPS63171037A - Reception equipment with collision detecting function - Google Patents

Reception equipment with collision detecting function

Info

Publication number
JPS63171037A
JPS63171037A JP62001906A JP190687A JPS63171037A JP S63171037 A JPS63171037 A JP S63171037A JP 62001906 A JP62001906 A JP 62001906A JP 190687 A JP190687 A JP 190687A JP S63171037 A JPS63171037 A JP S63171037A
Authority
JP
Japan
Prior art keywords
circuit
output
collision
signal
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.)
Granted
Application number
JP62001906A
Other languages
Japanese (ja)
Other versions
JPH0683216B2 (en
Inventor
Kuniaki Motojima
邦明 本島
Tadayoshi Kitayama
北山 忠義
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)

Abstract

PURPOSE:To surely and efficiently detect collision independently of the collision phase by sampling outputs of two comparing circuits different in threshold by clocks different in phase and providing a delay circuit in the succeeding stage of one code rule illegality detecting circuit. CONSTITUTION:The output of a partial response filter 11 is given to a comparator 12 having a threshold slightly higher than the zero level and a comparator 13 having a threshold slightly lower than the zero level. Outputs of comparators 12 and 13 are sampled in shift registers 15 and 19 by clocks whose phases are made different from each other by a phase shifting circuit 23. Outputs of registers 15 and 19 have code rule illegal patterns detected by code rule illegality detecting circuits 25 and 26. Outputs of circuits 25 and 26 are given to a collision deciding circuit 29 through an OR circuit 28, and the circuit 29 counts the number of pulse of circuits 25 and 26; and if the counted value exceeds a prescribed value, collision is decided to output the detection signal. A delay circuit 27 is provided following the circuit 25 to avoid overlap between outputs of circuit 27 and 28, and collision is efficiently detected.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、アクセス方式としてC3MA/CD方式(
Carrier  5ense  Multiple 
AccessWith Co11ision  Det
ection方式)を用いたバス形ローカルネットワー
クにおいて、データの伝送とともに衝突検出を行う衝突
検出機能付受信装置に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] This invention uses the C3MA/CD method (
Carrier 5ense Multiple
Access With Co11ision Det.
The present invention relates to a receiving device with a collision detection function that performs collision detection as well as data transmission in a bus-type local network using a bus-type local network using the EC method.

〔従来の技術〕[Conventional technology]

第5図に、1B2B符号としてグイパルス符号を考え、
光伝送に適用した例として例えば「csMA/CD制御
を用いた3 2 M b /、S光スター伝送方式の検
討」(1を子通信学会技術研究報告C583−110,
1983)に示された従来の衝突検出機能付受信装置を
含む送受信システムを示す。
In Fig. 5, considering the Gwipulse code as a 1B2B code,
As an example of application to optical transmission, for example, ``Study of 32 Mb/S optical star transmission system using csMA/CD control'' (1 published in Subsidiary Communications Society Technical Research Report C583-110,
1 shows a transmitting/receiving system including a conventional receiving device with a collision detection function shown in 1983).

図において、(1)は送信装置、(2)はグイパルス符
号化回路、(3)は発光素子駆動回路、(4)は発光素
子、(5)は光ファイバ、(6)は光スターカップラ、
(7)は光ファイバ、(8)は受信装置、(9)は受光
素子、(1o)は前着増幅回路、(11)はパーシャル
レスボンス(1゜−1)フィルタ(以下PR(1,−1
)フィルタと略す。)、(12)は第1の比較回路、(
14)はタイミング抽出回路、(15)は第1のシフト
レジスタ、(16)はレジスタ1、(17)はレジスタ
2、(18)はレジスタ3、(24)はブロック同期回
路、(25)は第1の符号則違反検出回路(以下第1の
CRV検出回路と略す。)、(29)は衝突判定回路で
ある。
In the figure, (1) is a transmitting device, (2) is a GUI pulse 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 star coupler,
(7) is an optical fiber, (8) is a receiver, (9) is a light receiving element, (1o) is a front-end amplifier circuit, (11) is a partial response (1°-1) filter (hereinafter referred to as PR(1, -1
) abbreviated as filter. ), (12) is the first comparison circuit, (
14) is the timing extraction circuit, (15) is the first shift register, (16) is register 1, (17) is register 2, (18) is register 3, (24) is the block synchronization circuit, (25) is The first code rule violation detection circuit (hereinafter abbreviated as the first CRV detection circuit) (29) is a collision determination circuit.

第6図は、従来の衝突検出機能付受信装置の各部波形図
である0図において(10a)は先に受信された光信号
(以下主信号と略す、)、(10b)は後に受信された
光信号(以下衝突信号と略す−)、(lla)は主信号
のパーシャルレスボンス(1,−1)フィルタ出力(以
下主信号PR(1,−1)フィルタ出力と略す、)、(
1l b>は衝突信号のパーシャルレスボンス(1,−
1)フィルタ出力(以下衝突信号PR(1,−1)フィ
ルタ出力と略す。)、(llc)は主信号と衝突信号を
合成したパーシャルレスボンス(1,−1)フィルタ出
力(以下信号衝突時PR(1,−1)フィルタ出力と略
す、)、(12a)は第1の比較回路出力、(14a)
は第1のクロック、(16a)はレジスタ1出力、(2
5a)は第1の符号則違反検出回路出力(以下第1のC
RV検出回路出力と略す、)、(30)は+側閾値、(
31a) 、  (3l b)は第1のクロックのサン
プル位相である。
Fig. 6 is a waveform diagram of each part of a conventional receiver with a collision detection function. The optical signal (hereinafter abbreviated as collision signal), (lla) is the partial response (1, -1) filter output of the main signal (hereinafter abbreviated as main signal PR (1, -1) filter output), (
1l b> is the partial response of the collision signal (1, -
1) Filter output (hereinafter abbreviated as collision signal PR (1, -1) filter output), (llc) is the partial response (1, -1) filter output (hereinafter referred to as signal collision signal) that combines the main signal and collision signal PR(1,-1) is abbreviated as filter output), (12a) is the first comparison circuit output, (14a)
is the first clock, (16a) is the register 1 output, (2
5a) is the output of the first code rule violation detection circuit (hereinafter referred to as the first C
(abbreviated as RV detection circuit output), (30) is the + side threshold, (
31a) and (3lb) are the sample phases of the first clock.

第7図は主信号と衝突信号の位相関係図であり、図にお
いて(lid)は主信号のPR(1,−1)フィルタ出
力アイパターン、(lie)は主信号との位相差が0の
ときのPR(1,−1)フィルタ出力アイパターン、(
11f>は主信号との位相差が−のときのPR(1,−
1)フィルタ出力アイパターン、(31)は第1のクロ
ックのサンプル位相である。
Figure 7 is a phase relationship diagram between the main signal and the collision signal. When PR(1,-1) filter output eye pattern, (
11f> is PR(1,-) when the phase difference with the main signal is -
1) Filter output eye pattern, (31) is the sample phase of the first clock.

第8図は、従来の衝突検出機能付受信装置における各部
符号則を表わす説明図である。
FIG. 8 is an explanatory diagram showing the code rules for each part in a 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)の出力信号は前置増幅
回路(1o)で増幅後、PR(1,−1)フィルタ(1
1)に入力される。
Next, the operation will be explained. The signal flow will be explained using FIG. In the transmitting device (1), the bucket transmission data is encoded (0-10, 1-
01) After that, the light emitting element (4) is intensity-modulated by the light emitting element driving circuit (3) 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 the input optical signal to each output optical fiber including the optical fiber (7) as an optical signal of equal level. The output of the optical fiber (7) is input to a light receiving element (9) of a receiving device (8) and converted into a photoelectric signal. The output signal of the light receiving element (9) is amplified by the preamplifier circuit (1o) and then passed through the PR (1, -1) filter (1o).
1) is input.

PR(1,−1)フィルタ(11)以降の動作は第6図
を用いて説明する。図において、主信号(10a)を受
信中に衝突信号(10b)を受信したとする。PR(1
,−1)フィルタ(11)せた信号を引き真する機能を
有する。PR(1゜−1)フィルタ(11)の出力は主
信号(10a)に対しく1la)、衝突信号(10b)
に対しくIIC)となり、衝突時の波形は両者を合成し
た(IIC)となる。
The operation after the PR(1,-1) filter (11) will be explained using FIG. In the figure, it is assumed that a collision signal (10b) is received while the main signal (10a) is being received. PR (1
, -1) has the function of subtracting the filtered signal (11). The output of the PR (1°-1) filter (11) is 1la) for the main signal (10a), and the collision signal (10b).
(IIC), and the waveform at the time of collision is a combination of both (IIC).

PR<1.−1)フィルタ(11)出力から衝突検出す
る方法は第8図を用いて説明する。送信データは、4種
類の2ビツトデータに分類される。
PR<1. -1) A method of detecting a collision from the output of the filter (11) will be explained using FIG. Transmission data is classified into four types of 2-bit data.

グイパルス符号化後、PR(1,−1)フィルタ(11
)を通過した送信データは、3値波形(+および−の振
幅を持つという意味で交流波形)に変換される。3値波
形の零レベルは、ダイパルス符号器の0とOの減算でで
きる“0″と1と1の減算でできる”0ネ”とある。第
1の比較回路(12)は、零レベルのわずかに上にずれ
た閾値(30)により3値波形を識別する。非衝突時の
第1の比較回路(12)の出力を周波数2f。
After Gwipulse encoding, PR(1,-1) filter (11
) is converted into a ternary waveform (AC waveform in the sense that it has + and - amplitudes). The zero level of the ternary waveform is "0", which is created by subtracting 0 and O, and "0ne", which is created by subtracting 1 and 1, in the dipulse encoder. The first comparison circuit (12) identifies ternary waveforms with a threshold (30) shifted slightly above the zero level. The output of the first comparator circuit (12) when there is no collision is at a frequency of 2f.

〔Hz〕の第1のクロック(14a)でサンプルし連続
する3ビツトを第1のシフトレジスタ(15)に蓄積す
る。第1のシフトレジスタ(15)のレジスタ1(16
)の出力Q、の波形が第6図の(16a)である。第8
図には、PR(1,−1)フィルタ(11)出力のサン
プル結果に対応したレジスタ1(16)、  レジスタ
2(17)およびレジスタ3(1B)の出力Q+ 、 
Q4およびQ。
It samples with the first clock (14a) of [Hz] and stores three consecutive bits in the first shift register (15). Register 1 (16) of the first shift register (15)
The waveform of the output Q of ) is shown in (16a) in FIG. 8th
The figure shows the outputs Q+ of register 1 (16), register 2 (17), and register 3 (1B) corresponding to the sample results of the PR (1, -1) filter (11) output,
Q4 and Q.

を示す。衝突が発生すると、衝突信号により零レベルが
閾値(30)の上に振り込まれ第1の比較回路(12)
はこれを検出し、第6図における(12a)を出力する
。第8図においては、3ビツト系列における第2番目Q
2に変化が生しる場合を符号則違反3ビツト系列として
示しである。
shows. When a collision occurs, a zero level is transferred onto the threshold (30) by the collision signal and the first comparator circuit (12)
detects this and outputs (12a) in FIG. In FIG. 8, the second Q in the 3-bit series
2 is shown as a 3-bit sequence that violates the coding rule.

PR(1,−1)フィルタ(11)出力に雰レベルが発
生する場合には、衝突信号レベルが小さくても符号則違
反3ビツト系列を検出し易い。第1のCRV検出回路(
25)は、第1のシフトレジごとに符号則違反の有無を
判定し、符号則違反を検出した場合には、第6図(25
a)に示される検出パルスを衝突判定回路(29)へ出
力する。
When a negative level occurs in the output of the PR (1, -1) filter (11), it is easy to detect a 3-bit sequence that violates the coding rule even if the collision signal level is small. First CRV detection circuit (
25) determines whether or not there is a violation of the coding rule for each first shift register, and if a violation of the coding rule is detected, the process shown in FIG.
The detection pulse shown in a) is output to the collision determination circuit (29).

□〔秒〕の周期の符号則違反検出用クロックは、ブロッ
ク同期回路(24)により、主信号(10a)の受信開
始直後に、第1のシフトレジスタ(15)の第2レジス
タ(17)出力Q2に、PR(1,−1)フィルタ(1
1)出力の零レベルに対するサンプル結果が出力される
位相に同期引込みされ、以後この位相に保持されて出力
される。
□ The code rule violation detection clock with a period of [seconds] is output from the second register (17) of the first shift register (15) by the block synchronization circuit (24) immediately after the start of reception of the main signal (10a). Q2 has a PR (1, -1) filter (1
1) The sample result for the zero level of the output is synchronously pulled into the output phase, and is thereafter held at this phase and output.

第8図において零レベルは、“0”と@0ネ゛の2種類
あるが、“0ネ”は、1と1 (光信号のONとON)
の引き算により発生したものであり受光素子(9)にお
いてショット雑音が多(発生するために非衝突時にも雑
音により符号則違反が発生し易く衝突検出に用いない方
がよい、以後“0木”において発生する符号則違反は無
視するものとして説明する。
In Figure 8, there are two types of zero level: “0” and @0ne, but “0ne” is 1 and 1 (ON and ON of optical signal).
This is generated due to the subtraction of , and there is a lot of shot noise in the light receiving element (9) (because it occurs, the code rule violation is likely to occur due to the noise even when there is no collision, so it is better not to use it for collision detection.Hereafter, it will be referred to as "0 tree". The following description assumes that violations of the coding rules that occur in the above are ignored.

衝突判定回路(29)はCRV検出回路(25)の出力
パルス数をカウントし、カウント値が規定値を越えると
衝突と判定し検出信号を出力する。
A 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, it determines that a collision has occurred and outputs a detection signal.

次に従来の衝突検出機能付受信装置において衝突検出し
難い場合について第7図を用いて説明する。(11d)
はPR(1,−1)フィルタ(11)出力における主信
号のアイパターンである。第1の比較回路(12)で識
別後、第1のシフトレジスタ(15)の第2レジスタ(
16)で周波数2ro〔Hz〕の第1のクロックでサン
プルされる位相(31)を図中に示す。(11e)は主
信号と位相差0 (符号化ブロックの区切り目が重なっ
ている)で衝突した信号のアイパターンである。
Next, a case in which it is difficult to detect a collision in a conventional receiver with a collision detection function will be explained using FIG. (11d)
is the eye pattern of the main signal at the output of the PR(1,-1) filter (11). After identification by the first comparator circuit (12), the second register (
16), the phase (31) sampled by the first clock of frequency 2ro [Hz] 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 (encoding block boundaries overlap).

衝突による主信号の零レベルは、±h saw振り込ま
れる。第1の比較回路(12)では、+側−へ振り込ま
れるときに符号則違反を検出するが、−側へ振り込まれ
るときは検出できない、’(llf)は主信号と位相差
−で衝突した信号のアイパターンである。衝突による主
信号の零レベルは、±hmin振り込まれる。この場合
は、+側へ振り込まれる振幅が小さいため検出見逃しが
発生することがある。
The zero level of the main signal due to the collision is transferred to ±h saw. The first comparison circuit (12) detects a violation of the sign rule when transferred to the + side, but cannot detect it when transferred to the - side. '(llf) collides with the main signal due to the phase difference -. This is the eye pattern of the signal. The zero level of the main signal due to the collision is transferred by ±hmin. In this case, detection may be missed because the amplitude transferred to the + side is small.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

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

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

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

この発明に係る衝突検出機能付受信装置は、PR(1,
−1)フィルタ出力に発生する零レベルの下側に閾値を
有する第2の比較回路と、第2の比較回路出力を周波数
2fe〔Hz〕の第1の周波数2fo  〔Hz〕のク
ロックとは位相の異なる第2のクロックでサンプルする
第2のシフトレジスタと第2のシフトレジスタ内の3ビ
ツト系列から符号則違反を検出する第2のCRV検出回
路と、第1 (又は第2)のCRV検出回路出力を□f
The receiving device with a collision detection function according to the present invention has PR(1,
-1) The second comparator circuit has a threshold value below the zero level generated in the filter output, and the second comparator circuit output has a frequency of 2fe [Hz] and a clock with a first frequency of 2fo [Hz]. a second CRV detection circuit that detects a code rule violation from a 3-bit sequence in the second shift register; □f the circuit output
.

C秒〕遅延する遅延回路と第2(又は第1)のCRV検
出回路出力と遅延回路出力を入力とする論理和回路を追
加し、該論理和回路出力を衝突判定回路入力としたもの
である。
C seconds] A delay circuit that delays the clock, an OR circuit that receives the output of the second (or first) CRV detection circuit, and the output of the delay circuit as inputs is added, and the output of the OR circuit is used as the input of the collision determination circuit. .

〔作用〕[Effect]

この発明による衝突検出機能付受信装置は、PR(1’
、−1)フィルタ出力に発生する零レベルの上、下に閾
値を有する第1および第2の比較回路により、衝突によ
る零レベルの振り込みが上。
The receiving device with a collision detection function according to the present invention has a PR (1'
, -1) The first and second comparator circuits have thresholds above and below the zero level generated in the filter output, so that the transfer of the zero level due to collision is above.

下どちらであっても検出出来るようにする。また、第1
および第2のシフトレジスタの周波数2r。
Make it possible to detect whichever is below. Also, the first
and the frequency 2r of the second shift register.

〔Hz〕のクロック位相に差をもたせることにより、一
方のクロック位相における主信号零レベルの振り込み量
が最小であっても、他方のクロック位相ではそれ以上の
撮り込み量を得るようにする。
By providing a difference in the clock phases of [Hz], even if the amount of transfer of the main signal zero level in one clock phase is the minimum, a larger amount of capture can be obtained in the other clock phase.

さらに、第1および第2の周波数2ro  〔Hz〕の
クロックの位相に差を与えたため同一ビット内で2個の
CRVパルスが発生することがあるが、このとき衝突判
定回路で2個のCRVパルスとカウントできるように、
第1 (又は第2)のCRV検出回路出力を□〔秒〕遅
延して論理和をとつf。
Furthermore, since the phases of the first and second clocks with a frequency of 2ro [Hz] are different, two CRV pulses may be generated in the same bit. so that it can be counted as
Delay the output of the first (or second) CRV detection circuit by □ [seconds] and perform a logical sum f.

た後、衝突判定回路に入力する。以上の手段により、衝
突見逃し率の改善を図ることができる。
After that, it is input to the collision determination circuit. By the means described above, it is possible to improve the missed collision rate.

〔発明の実施例〕[Embodiments of the invention]

第1図はこの発明による衝突検出機能付受信装置の一実
施例を含む送受信システムの構成を示す。
FIG. 1 shows the configuration of a transmitting/receiving system including an embodiment of a receiving device with a collision detection function according to the present invention.

図゛において、第5図と同一符号の部分は同一部分を示
し、(13)は第2の比較回路、(19)は第2のシフ
トレジスタ、(20)はレジスタ4、(21)はレジス
タ5、(22)はレジ、スタ6、(26)は第2の符号
則違反検出回路(以下第2のCRY検出回路と略す。)
、(27)は遅延回路、(2日)はORゲート、(23
)は移相回路である。
In Figure 5, parts with the same symbols as in Figure 5 indicate the same parts, (13) is the second comparison circuit, (19) is the second shift register, (20) is register 4, and (21) is the register. 5 and (22) are registers, and registers 6 and (26) are second code rule violation detection circuits (hereinafter abbreviated as second CRY detection circuits).
, (27) is a delay circuit, (2nd) is an OR gate, (23)
) is a phase shift circuit.

第2図は、1B2B符号としてバイフェーズ符号を考え
たときの、第1図に示した衝突検出機能付受信装置の各
部波形図であり、図において(13a)は第2の比較回
路出力、(’20 a )はレジスタ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 collision detection function shown in FIG. 1 when a bi-phase code is considered as a 1B2B code. In the figure, (13a) is the output of the second comparison circuit, ( '20a) is register 4 output, (26a
) is the second coding rule violation detection circuit output (hereinafter referred to as second CRV
(abbreviated as detection circuit output) (27a) is the delay circuit output, (
24a) is the block synchronization circuit output, (28a) is the OR circuit output, (32) is the negative threshold, (33a), (33b)
) is the first clock, (34a), (34b) are the second clock
are each sample phase of the clock.

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

次に動作について説明する。第1図において、この発明
に係る衝突検出機能付受信装置は、従来のものに第2の
比較回路(13) 、第2のシフトレジスタ(19)(
レジスタ4(20)、レジスタ5(21)、レジスタ6
(22))、第2のCRV検出回路(26)、遅延回路
(27) 、論理和回路(2B)、移相回路(23)を
加えたものであり、他の部分は従来と同様の動作を行う
Next, the operation will be explained. In FIG. 1, the receiving device with a collision detection function according to the present invention includes a second comparator 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 (2B), and a phase shift circuit (23); the other parts operate in the same way as before. I do.

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

符号則違反パターンの検出方法について第2図。FIG. 2 shows a method for detecting a code rule violation pattern.

第4図を用いて説明する。PR(1,−1)フィルタ(
11)出力零レベルの+側に閾値を有する第1の比較回
路(12)の動作は従来例(第6図。
This will be explained using FIG. PR(1,-1) filter (
11) The operation of the first comparator circuit (12) having a threshold value on the + side of the output zero level is a conventional example (FIG. 6).

第8図)と同じである。PR(1,−1)フィルタ(1
1)出力零レベルの一側に閾値(32)を有する第2の
比較回路(13)は、衝突信号により零レベルが閾値(
32)の下側に振り込まれるのを検出し、第2図におけ
る(13a)を出力する。第4図においては、3ビツト
系列における第2番目Q、に変化が生じる場合を符号則
違反3ビツト系列として示しである。以上のように、P
R(1,−1)フィルタ(11)出力零レベルの上。
Figure 8). PR(1,-1) filter(1
1) The second comparator circuit (13) has a threshold value (32) on one side of the output zero level, so that the zero level reaches the threshold value (32) due to the collision signal.
32) is detected, and (13a) in FIG. 2 is output. In FIG. 4, a case where a change occurs in the second Q in a 3-bit sequence is shown as a 3-bit sequence that violates the coding rule. As mentioned above, P
R(1,-1) filter (11) output above zero level.

下に閾値を有する比較回路(12)、(13)を設ける
ことにより衝突信号により零レベルが上。
By providing comparison circuits (12) and (13) with threshold values below, the zero level is raised by the collision signal.

下どちらに振り込まれても符号則違反を検出することが
できる。
Violation of the coding rules can be detected no matter where the money is transferred.

次に、第1のシフトレジスタ(15)と第2のシフトレ
ジスタ(19)に入力される周波数2f。
Next, the frequency 2f is input to the first shift register (15) and the second shift register (19).

〔Hz〕のクロック位相に差を与えることの効果につい
て第3図を用いて説明する。第3図において、第2のシ
フトレジスタ(19)のサンプリング点(34)は、第
1のシフトレジスタ(15)のサンプリング点(33)
に対しτ〔秒〕遅れている。(Ilf)は、第1のシフ
トレジスタのサンプリング点(33)において、振幅が
最小値りとなる位相で衝突した衝突信号アイパターンで
ある。第1のサンプリング点(33)においては、従来
同様衝突見逃しは発生し易い。しかし、第2のサンプリ
ング点(34)においては、このとき大きな衝突信号振
幅(ht )が得られ容易に衝突検出が可能である。(
11g)は、第2のシフトレジスタのサンプリング点(
34)において衝突信号振幅が最小値りとなる衝突信号
アイパターンである。この場合は、サンプリング点(3
4)では衝突見逃しが発生するが、サンプリング点(3
3)では大きな衝突信号振幅(ht )が得られ容易に
衝突検出が行える0以上の様に、サンプリング点を第1
のシフトレジスタ(15)と第2のシフトレジスタ(1
9)で差を持たせることにより衝突見逃しの改善が図れ
る。なお、PR(1,−1)フィルタ(11)出力の零
レベル“0” (0と0の引き算から発生)は右上りの
波形であるから、+側に閾値を存する第1の比較回路(
12)出力をサンプリングする第1のシフトレジスタ(
15)のクロックは一側に閾値を有する第2の比較回路
(13)出力をサンプリングする第2のシフトレジスタ
(19)のクロックより進んだ位相に設定した方が衝突
誤検出しにくいので有利である。
The effect of giving a difference to the [Hz] clock phase will be explained using FIG. 3. In FIG. 3, the sampling point (34) of the second shift register (19) is the sampling point (33) of the first shift register (15).
It is delayed by τ [seconds]. (Ilf) is an eye pattern of a collision signal that collides at the phase where the amplitude is at the minimum value at the sampling point (33) of the first shift register. At the first sampling point (33), collisions are likely to be missed as in the conventional case. However, at the second sampling point (34), a large collision signal amplitude (ht) is obtained at this time, making it possible to easily detect the collision. (
11g) is the sampling point of the second shift register (
34) is a collision signal eye pattern in which the collision signal amplitude reaches its minimum value. In this case, the sampling point (3
4), collisions are missed, but sampling point (3)
In 3), the sampling point is set to the first one so that a large collision signal amplitude (ht) can be obtained and collision detection can be easily performed.
shift register (15) and second shift register (1
By providing a difference in 9), it is possible to improve the possibility of overlooking collisions. Note that since the zero level "0" (generated from subtraction of 0 and 0) of the output of the PR (1, -1) filter (11) is an upward-sloping waveform, the first comparator circuit (which has a threshold on the + side)
12) A first shift register that samples the output (
It is advantageous to set the clock of 15) to a phase that is more advanced than the clock of the second shift register (19) which samples the output of the second comparator circuit (13) which has a threshold value on one side, since it is less likely to cause false collision detection. be.

次に、遅延回路(27)の効果について第2図を用いて
説明する。第2図においてPR(1,−1)フィルタ(
11)出力における主信号(11このとき、第1の比較
回路(12)および第2の比較回路(13)はサンプリ
ング点(33a)。
Next, the effect of the delay circuit (27) will be explained using FIG. 2. In Figure 2, the PR(1,-1) filter (
11) Main signal at the output (11) At this time, the first comparison circuit (12) and the second comparison circuit (13) are at the sampling point (33a).

(34a)においてそれぞれ衝突信号により零レベルが
閾値(30)および(32)を超えて振り込まれるのを
検出する。第1のシフトレジスタ(15) 、第2のシ
フトレジスタ(19)のレジスター(16)およびレジ
スタ4(20)の出力Q、、Q、は、(16a)、  
(20a)となる。
At (34a), it is detected that the zero level is transferred beyond the thresholds (30) and (32) by the collision signals, respectively. The outputs Q, ,Q, of the first shift register (15), the register (16) of the second shift register (19), and the register 4 (20) are (16a),
(20a).

第1のCRV検出回路(25)および(26)は、ブロ
ック同期回路(24)から出力される周期■ 同一タイムスロットにCRV検出パルスが出力される(
25a、26a)。このまま、論理和をとって衝突判定
回路(29)においてCRV数カウントを行うと1個し
かカウントされず、衝突検出が遅れる。遅延回路(27
)は、第1のCRV検出回路(25)の出力を□〔秒〕
遅延して出力するのでCRV数は衝突判定回路(29)
におい遅延しても、次にCRVパルスが発生するのは2
タイムスロツト先である(”0*”部ではCRV検出し
ないため)ので重複することはない。
The first CRV detection circuits (25) and (26) detect the cycle of the output from the block synchronization circuit (24). The CRV detection pulse is output in 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 will be counted, and collision detection will be delayed. Delay circuit (27
) is the output of the first CRV detection circuit (25) □ [seconds]
Since the output is delayed, the CRV number is determined by the collision detection circuit (29)
Even if the smell is delayed, the next CRV pulse will occur in 2
Since it is the time slot destination (because CRV is not detected in the "0*" part), there is no 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 in the same phase, the CRV pulse is output from only one of the CRV detection circuits, so the delay circuit There is no effect of (27).If a difference is given to the sample phase of the first shift register (15) and the second shift register (19), 2
CRV pulses may be output simultaneously from two CRV detection circuits, and the effect of the delay circuit (27) is exhibited.

以上の説明では第1のシフトレジスタ(15)のサンプ
リング位相が第2のシフトレジスタ(19)のサンプリ
ング位相より早い場合について述べたが、逆に第1のシ
フトレジスタ(15)のサンプリング位相が第2のシフ
トレジスタ(19)のサンプリング位相より遅い場合に
も同様の効果を得ることができる。
The above explanation deals with the case where the sampling phase of the first shift register (15) is earlier than the sampling phase of the second shift register (19), but conversely, the sampling phase of the first shift register (15) is earlier than the sampling phase of the second shift register (19). A similar effect can be obtained even when the sampling phase is later than that of the second shift register (19).

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

以上のように(この発明によれば第1の比較回路出力と
第2の比較回路出力を位相の異なる2つのクロックでサ
ンプルすることにより、衝突位相によらず確実な衝突検
出が行える。また、遅延回路を第1のCRV検出回路も
しくは第2のCRV検出回路に後置することにより、C
RVパルスの重なりをな(し、効率よく衝突検出が行え
る。
As described above (according to the present invention), by sampling the first comparator circuit output and the second comparator circuit output with two clocks having different phases, reliable collision detection can be performed regardless of the collision phase. By placing the delay circuit after the first CRV detection circuit or the second CRV detection circuit, C
This prevents RV pulses from overlapping and enables efficient collision detection.

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

第1図はこの発明の一実施例を示す構成図、第2図は1
B2B符号としてパイフェーズ符号を考えたときの第1
図に示した衝突検出機能付送受信装置の各部波形図、第
3図は主信号と衝突信号の位相関係図、第4図はこの発
明の一実施例の衝突検出機能付受信装置における各部符
号則を表わす説明図、第5図は従来の衝突検出機能付受
信装置を含む送受信システムを示す構成図、第6図は1
B2B符号としてバイフェーズ符号を考えたときの第5
図に示した衝突検出機能付受信袋Hの各部波形図、第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)は衝突判定回路である。 なお、図中、同一符号は同−又は相当部分を示す。 代 理 人 弁理士 佐々木 宗 治 第2図 第4図 第6図 5a1 第7図 ; ブンフンレイヱ乙りゴ 第8図
Fig. 1 is a configuration diagram showing one embodiment of the present invention, and Fig. 2 is a block diagram showing an embodiment of the present invention.
The first point when considering a pi-phase code as a B2B code
FIG. 3 is a diagram of the phase relationship between the main signal and the collision signal, and FIG. 4 is a code rule for each part of the receiver with collision detection function according to an embodiment of the present invention. 5 is a configuration diagram showing a transmitting and receiving system including a conventional receiver with a collision detection function, and FIG. 6 is an explanatory diagram showing 1.
The fifth point when considering a biphase code as a B2B code
Waveform diagram of various parts of receiving bag H with collision detection function shown in figure 7.
FIG. 8 is a phase relationship diagram between a main signal and a collision signal, and FIG. 8 is an explanatory diagram showing each part in a conventional receiver with a collision detection function by reference numeral. In the figure, (1) is a transmitting device, (2) is a 1B2B code circuit, (3) is a light emitting element drive circuit, (4) is a light emitting element, (8
) is a receiving device, (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, (13) is a Second comparison circuit, (14) is a timing extraction circuit, (15) is the first shift register, (19) is the second shift register, (24) is the block synchronization circuit, (25) is the first code (26) is a second sign rule violation detection circuit, (23) is a phase shift circuit, (27) is a delay circuit, (28)
) is an OR circuit, and (29) is a collision determination circuit. In addition, in the figures, the same reference numerals indicate the same or corresponding parts. Agent Patent Attorney Muneharu Sasaki Figure 2 Figure 4 Figure 6 Figure 5a1 Figure 7;

Claims (1)

【特許請求の範囲】 ビットレートf_o〔ビット/秒〕のパケット送信デー
タを1B2B符号に変換後強度変調して送信された送信
信号を受信し、該受信信号から該受信信号を1/2f_
o〔秒〕遅延した信号を引き算することによって交流変
換するパーシャルレスボンス(1、−1)フィルタと、
該パーシャルレスボンス(1、−1)フィルタ出力を入
力とし該パーシャルレスボンス(1、−1)フィルタ出
力の零レベルよりわずかに上位側にずれた閾値で信号識
別する第1の比較回路と、前記パーシャルレスボンス(
1、−1)フィルタ出力の零レベルよりわずかに下位側
にずれた閾値で信号識別する第2の比較回路と、前記第
1の比較回路の出力を周波数2fo〔Hz〕の第1のク
ロックでサンプルしサンプル後得られる連続する3ビッ
トパターンを周期1/f_o〔秒〕ごとに監視し符号遷
移則違反を検出する第1の符号則違反検出回路と、前記
第2の比較回路の出力を周波数が2f_o〔Hz〕で前
記第1の周波数2f_o〔Hz〕のクロックと異なる位
相を持つ第2のクロックでサンプルしサンプル後得られ
る連続する3ビットパターンを周期1/f_o〔秒〕ご
とに監視し符号遷移則違反を検出する第2の符号則違反
検出回路と、前記第1又は第2の符号則違反検出回路出
力を入力とする1/f_o〔秒〕の遅延時間を有する遅
延回路と、該遅延回路出力を第1の入力とし、前記第2
又は第1の符号則違反検出回路出力を第2の入力とする
論理和回路とで構成され、該論理和回路出力を衝突検出
信号として出力することを特徴とする衝突検出機能付受
信装置。
[Claims] Packet transmission data with a bit rate of f_o [bits/second] is converted into a 1B2B code and then intensity-modulated, and a transmitted signal is received, and the received signal is converted from the received signal to 1/2f_
a partial response (1, -1) filter that performs AC conversion by subtracting a signal delayed by o [seconds];
a first comparison circuit that receives the output of the partial response (1, -1) filter as an input and identifies a signal using a threshold that is slightly higher than the zero level of the output of the partial response (1, -1) filter; Said Partial Respons (
1, -1) A second comparator circuit that identifies a signal with a threshold slightly lower than the zero level of the filter output, and the output of the first comparator circuit with a first clock having a frequency of 2fo [Hz]. A first code rule violation detection circuit monitors the continuous 3-bit pattern obtained after sampling at a period of 1/f_o [seconds] to detect code transition rule violations, and the output of the second comparison circuit is connected to the frequency is 2f_o [Hz] and is sampled with a second clock having a phase different from the clock of the first frequency 2f_o [Hz], and the continuous 3-bit pattern obtained after sampling is monitored at a period of 1/f_o [seconds]. a second coding rule violation detection circuit that detects a code transition rule violation; a delay circuit that receives the output of the first or second coding rule violation detection circuit and has a delay time of 1/f_o [seconds]; The delay circuit output is used as the first input, and the second
Or a receiving device with a collision detection function, comprising: an OR circuit whose second input is the output of the first coding rule violation detection circuit, and outputs the output of the OR circuit as a collision detection signal.
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 true JPS63171037A (en) 1988-07-14
JPH0683216B2 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03235446A (en) * 1990-02-09 1991-10-21 Mitsubishi Electric Corp Transmitting and receiving device
US8074004B2 (en) * 2008-04-02 2011-12-06 Novatek Microelectronics Corp. Electronic device for contention detection of bidirectional bus and related method

Citations (3)

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

Patent Citations (3)

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

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03235446A (en) * 1990-02-09 1991-10-21 Mitsubishi Electric Corp Transmitting and receiving device
JP2502395B2 (en) * 1990-02-09 1996-05-29 三菱電機株式会社 Transceiver
US8074004B2 (en) * 2008-04-02 2011-12-06 Novatek Microelectronics Corp. Electronic device for contention detection of bidirectional bus and related method

Also Published As

Publication number Publication date
JPH0683216B2 (en) 1994-10-19

Similar Documents

Publication Publication Date Title
KR910004426B1 (en) Manchester code receiver
US5371766A (en) Clock extraction and data regeneration logic for multiple speed data communications systems
KR0178959B1 (en) Collision detection using code rule violations of the manchester code
JPS63171037A (en) Reception equipment with collision detecting function
EP0082575B1 (en) An energy-synchronised demodulator circuit
JPH059975B2 (en)
JP3455621B2 (en) Communication device
JPH0528547B2 (en)
JP2705625B2 (en) Optical fiber cable break detection method
JP2000134269A (en) On-vehicle lan system and data transmitter-receiver
US5111482A (en) Msk signal detector
JPH03107246A (en) Violation detection circuit
JPH02295325A (en) Data monitoring device
JP3270572B2 (en) Frame signal transmission system
SU1479936A1 (en) Method and adapter for detecting collisions in digital communication line
JP2719683B2 (en) Signal receiver
JP2502395B2 (en) Transceiver
JP2589905Y2 (en) Return echo detection and inhibition circuit
JPS63244947A (en) Optical receiver
JPH01241246A (en) Digital signal detection circuit
JPH04222135A (en) Timing extracting circuit and communication system utilizing same circuit
JPS62122433A (en) Frame information transfer equipment
JPH0851419A (en) Timing extracting device
HAKAMATA et al. Performance Evaluation of a New CRY Collision Detection Method for Passive Optical CSMA/CD LANs
JPH05226938A (en) Frequency modulation coding data demodulation method and demodulator

Legal Events

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