JPH06205022A - Signal transmission system - Google Patents

Signal transmission system

Info

Publication number
JPH06205022A
JPH06205022A JP7393A JP7393A JPH06205022A JP H06205022 A JPH06205022 A JP H06205022A JP 7393 A JP7393 A JP 7393A JP 7393 A JP7393 A JP 7393A JP H06205022 A JPH06205022 A JP H06205022A
Authority
JP
Japan
Prior art keywords
signal
time
transmission
terminal
bit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP7393A
Other languages
Japanese (ja)
Inventor
Yasuyuki Koketsu
泰之 纐纈
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.)
Daikin Industries Ltd
Original Assignee
Daikin Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Daikin Industries Ltd filed Critical Daikin Industries Ltd
Priority to JP7393A priority Critical patent/JPH06205022A/en
Publication of JPH06205022A publication Critical patent/JPH06205022A/en
Pending legal-status Critical Current

Links

Landscapes

  • Time-Division Multiplex Systems (AREA)
  • Small-Scale Networks (AREA)
  • Sub-Exchange Stations And Push- Button Telephones (AREA)

Abstract

PURPOSE:To provide a signal transmission system in which the delay permission value of data from a terminal equipment to a terminal equipment can be increased, and a transmissible distance can be extended. CONSTITUTION:A time after the lapse of the pulse width T of a start bit signal S1 (Ts) from the rising time T0 of the start bit signal S1 is used as a reference time, the time after the lapse of one bit time from the reference time is used as the time (first sampling point) when the first competition detecting operation is executed, and the time after the lapse of each one bit time since then is used as the sampling point. Therefore, when the delay of a signal transmitted by a terminal equipment B against the signal transmitted by a terminal equipment A is less than 1/2 bit time, the sampling point can be always set in a time zone where the time zone where the signal transmitted by the terminal equipment A can be a high level signal and the time area where the signal transmitted by the terminal equipment B can be the high level signal are overlapped by the terminal equipment A.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、1つの伝送媒体に複
数の端末器を接続して時分割多重方式でデータ通信を行
うチャネルアクセス方式の1つである競合検出(CSM
A/CD)方式の信号伝送方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to contention detection (CSM), which is one of channel access methods for connecting a plurality of terminals to one transmission medium and performing data communication by time division multiplexing.
A / CD) signal transmission system.

【0002】[0002]

【従来の技術】従来、この種の信号伝送方式では、通常
は、各端末器は、伝送媒体上にデータがあるか否かを確
認し、伝送媒体上にデータがないことを確認してから、
伝送媒体に信号を送信するようになっている。
2. Description of the Related Art Conventionally, in this type of signal transmission system, usually, each terminal device checks whether or not there is data on the transmission medium, and after confirming that there is no data on the transmission medium. ,
It is adapted to send signals to a transmission medium.

【0003】一方、複数の端末器が、1つの伝送媒体
に、ほとんど同時にデータを送信した場合には、上記伝
送媒体で複数のデータが衝突する。この場合には、競合
検出が行なわれ、この競合検出に勝ち残ったデータだけ
が、上記伝送媒体で伝送される。
On the other hand, when a plurality of terminals transmit data to one transmission medium almost simultaneously, the plurality of data collide with each other on the transmission medium. In this case, contention detection is performed, and only the data that survives this contention detection is transmitted on the transmission medium.

【0004】図5に、上記競合検出の様子を示す。図5
に示すように、複数の端末器A,B,C,Dのデータ送信
タイミングは、略同期していて、複数の端末器は、伝送
媒体に略一斉にデータを送信する。この競合検出に勝ち
残った1つ目のデータは、図5に示すように、端末器A
が送信したデータであり、他の端末器B,C,Dが送信し
たデータは、競合負けしており、端末器B,C,Dはデー
タ送信をストップしている。ここで、上記競合負けした
データは、上記競合勝ちして伝送媒体上に送出されたデ
ータに影響を与えないようになっている。また、上記競
合検出に勝ち残った2つ目のデータは、端末器Cが送信
したデータであり、他の端末器A,B,Dが送出したデー
タは競合負けして、端末器A,B,Dはデータの送出を停
止している。
FIG. 5 shows how the competition is detected. Figure 5
As shown in, the data transmission timings of the plurality of terminal devices A, B, C, D are substantially synchronized, and the plurality of terminal devices transmit data to the transmission medium substantially at the same time. The first data that survives this conflict detection is, as shown in FIG.
The data transmitted by the other terminals B, C, D have lost the competition, and the terminals B, C, D have stopped data transmission. Here, the contention-defeated data does not affect the contention-winning data sent to the transmission medium. In addition, the second data that has survived the competition detection is the data transmitted by the terminal device C, and the data transmitted by the other terminal devices A, B, D lose the competition, and the terminal devices A, B, D has stopped sending data.

【0005】図6に、上記端末器A,B,…Dと伝送媒体
とを含む通信システムを示す。図6に示すように、各端
末器には、送受信回路と送受信制御回路が接続されてい
る。上記送受信制御回路は、上記データの競合の検出
と、データの送信を停止するか否かの判断と、各端末器
のデータ送信タイミングの同期化と、端末器と送受信回
路との間のデータの受け渡しを行う。
FIG. 6 shows a communication system including the terminals A, B, ... D and a transmission medium. As shown in FIG. 6, a transmission / reception circuit and a transmission / reception control circuit are connected to each terminal. The transmission / reception control circuit detects the competition of the data, determines whether or not to stop the data transmission, synchronizes the data transmission timing of each terminal device, and transmits the data between the terminal device and the transmission / reception circuit. Hand over.

【0006】また、上記送受信回路は、上記送受信制御
回路と伝送媒体との間のインターフェイスを行う。
Further, the transmission / reception circuit serves as an interface between the transmission / reception control circuit and a transmission medium.

【0007】上記送受信回路が出力するデータは、1バ
イトが1つの信号グループになっており、1つの信号グ
ループは、スタートビット信号とパリティビット信号と
ストップビット信号を含んでいる。また、上記信号グル
ープの波形は、デューテイ比50%であり、かつ、正の
パルス信号を含み、負のパルス信号を含まない2値信号
(RZ信号)である。
In the data output from the transmitting / receiving circuit, one byte is one signal group, and one signal group includes a start bit signal, a parity bit signal, and a stop bit signal. The waveform of the signal group has a duty ratio of 50% and is a binary signal that includes a positive pulse signal and does not include a negative pulse signal.
(RZ signal).

【0008】なお、上記信号グループの波形は、デュー
ティ比が50%であれば、図9に示すように、正のパル
スと負のパルスが交互に現れるAMI(オルターネイト
・マーク・インバージョン)符号であってもよい。
When the duty ratio is 50%, the waveforms of the above signal groups are AMI (alternate mark inversion) codes in which positive pulses and negative pulses alternate, as shown in FIG. May be

【0009】また、上記伝送媒体上で、一方の端末器か
ら送信されたデータの高レベル信号と、他方の端末器か
ら送信されたデータの低レベル信号とが衝突した場合に
は、高レベル信号が優先し、低レベル信号は打ち消され
るようになっている。
When a high level signal of data transmitted from one terminal unit and a low level signal of data transmitted from the other terminal unit collide on the transmission medium, a high level signal is generated. Has priority, and low level signals are canceled.

【0010】上記送受信制御回路は、図7に示すよう
に、1ビット時間毎のサンプリングポイントにおいて、
伝送媒体上のデータをモニターするようになっている。
そして、上記送受信制御回路は、上記送受信制御回路が
接続されている端末器が送信しているデータと、上記端
末器が上記伝送媒体から受信したデータとが一致してい
ると判断したときには、データ送信を継続するように、
端末器および送受信回路を制御する。一方、上記送受信
回路は、上記送受信制御回路が接続されている端末器が
送信しているデータと、上記端末器が上記伝送媒体から
受信したデータとが一致していないと判断したときに
は、データ送信を停止するように、端末器および送受信
回路を制御する。
The transmission / reception control circuit, as shown in FIG. 7, has a sampling point at every 1 bit time.
It is designed to monitor the data on the transmission medium.
When the transmission / reception control circuit determines that the data transmitted by the terminal device to which the transmission / reception control circuit is connected and the data received from the transmission medium by the terminal device match, the data To continue sending,
It controls the terminal and the transmission / reception circuit. On the other hand, when the transmission / reception circuit determines that the data transmitted by the terminal device to which the transmission / reception control circuit is connected does not match the data received from the transmission medium by the terminal device, the transmission / reception circuit transmits the data. The terminal device and the transmission / reception circuit are controlled so as to stop.

【0011】したがって、図7に示すように、上記端末
器Aの送受信制御回路は、2回目のサンプリングポイン
ト(2ビット目)において、端末器Aのデータ(低レベル
信号)が端末器Bのデータ(高レベル信号)に競合負けし
て、端末器Aは3ビット目以後のデータ送出を停止す
る。一方、端末器Bは、データの送信を続ける。
Therefore, as shown in FIG. 7, in the transmission / reception control circuit of the terminal A, the data of the terminal A (low level signal) is the data of the terminal B at the second sampling point (second bit). Losing contention with the (high level signal), the terminal device A stops the data transmission from the third bit onward. On the other hand, the terminal device B continues to transmit data.

【0012】なお、上記データの一致と不一致に基づい
てデータ送信の継続と停止を行う競合判定が、最初の2
バイトで必ず確定するようになっていれば、伝送媒体上
に送出されたデータが乱されることがない。
It should be noted that the first two cases are the competition judgments for continuing and stopping the data transmission based on the above-mentioned data matching and non-matching.
The data sent on the transmission medium will not be disturbed if it is always determined by bytes.

【0013】ところで、上記信号伝送方式では、図7に
示すように、1回目のサンプリングポイントを、伝送媒
体上のスタートビット信号の立ち上がりから4分の1ビ
ット時間が経過した時刻に設定している。
By the way, in the above signal transmission system, as shown in FIG. 7, the first sampling point is set at the time when a quarter bit time elapses from the rise of the start bit signal on the transmission medium. .

【0014】したがって、端末器Aが信号を送信した時
から、上記信号が端末器Bに到達し、上記信号をうけた
端末器Bが信号を送信し、この信号が端末器Aに到達す
る時までの時間(伝搬遅延時間)が、4分の1ビット時間
を越えるぐらいに、端末器Aと端末器Bとの間の伝送距
離が長い場合には、端末器Aの位置における端末器Bの
送出データの波形が、図7に一点鎖線で示すように、2
回目のサンプリングポイントにおいても、低レベルにな
る。そして、この場合、各サンプリングポイントにおい
て、端末器Bの送出データの波形が低レベルになるの
で、端末器Aは競合の検出ができなくなる。
Therefore, from the time when the terminal A transmits the signal, when the signal reaches the terminal B, the terminal B which receives the signal transmits the signal, and when the signal reaches the terminal A. When the transmission distance between the terminal A and the terminal B is long such that the time until (the propagation delay time) exceeds 1/4 bit time, the terminal B at the position of the terminal A The waveform of the transmission data is 2 as shown by the dashed line in FIG.
It is also low level at the sampling point of the second time. Then, in this case, at each sampling point, the waveform of the transmission data of the terminal device B becomes low level, so that the terminal device A cannot detect the competition.

【0015】このように、上記信号検出方式では、上記
伝搬遅延時間が4分の1ビット時間を越えると、競合検
出ができなくなるので、伝搬遅延時間を4分の1ビット
時間未満になるように、伝送距離を短く制限しなければ
ならないという問題がある。
As described above, in the signal detection method, if the propagation delay time exceeds 1/4 bit time, conflict detection cannot be performed. Therefore, the propagation delay time should be less than 1/4 bit time. However, there is a problem that the transmission distance must be restricted to be short.

【0016】また、今一つの信号検出方式としては、図
8に示すように、端末器Aがスタートビット信号の幅T
20を測定して、このスタートビット信号の立ち下がり
時点よりも4分の1ビット時間前の時点をサンプリング
ポイントの基準時刻とし、この基準時刻から1ビット時
間後を1回目のサンプリングポイントとする方式があ
る。この方式では、上記1回目のサンプリングポイント
から1ビット時間毎にサンプリングを行い、次のスター
トビット信号で、再び、スタートビット信号の幅を測定
して、このスタートビット信号の立ち下がり時点よりも
4分の1ビット時間前の時点をサンプリングポイントの
基準点とする。
As another signal detection method, as shown in FIG. 8, the terminal A uses the width T of the start bit signal.
A method in which 20 is measured and a time point that is 1/4 bit time before the falling time point of this start bit signal is the reference time of the sampling point, and 1 bit time after this reference time is the first sampling point. There is. In this method, sampling is performed every 1 bit time from the first sampling point, the width of the start bit signal is measured again with the next start bit signal, and the width of the start bit signal is measured 4 times after the falling point of the start bit signal. The point one minute before the bit time is used as the reference point of the sampling point.

【0017】ところが、この信号検出方式では、図8に
示すように、端末器Aが送出するデータと、端末器Bが
送出するデータと、端末器Cが送出するデータとが競合
し、かつ、上記端末器Cが送出したデータが、端末器A
が送出するデータおよび端末器Bが送出するデータに対
して、4分の1ビット時間以上遅れている場合には、ス
タートビット信号の立ち下がり時点よりも4分の1ビッ
ト時間前の時点を基準時刻とする各サンプリングポイン
トにおいて、端末器Aが送出するデータおよび端末器B
が送出するデータは、常に低レベルになる。このため、
端末器Aは、端末器Bと競合していることを検出できな
いという問題がある。
However, in this signal detection system, as shown in FIG. 8, the data transmitted by the terminal A, the data transmitted by the terminal B, and the data transmitted by the terminal C compete with each other, and The data sent by the terminal device C is the data of the terminal device A.
When the data sent by the terminal B and the data sent by the terminal B are delayed by a quarter bit time or more, the time point before the falling time of the start bit signal is a quarter bit time before the reference time. The data transmitted by the terminal A and the terminal B at each sampling point that is the time
The data sent by is always low. For this reason,
There is a problem that the terminal A cannot detect that it is in conflict with the terminal B.

【0018】[0018]

【発明が解決しようとする課題】そこで、本発明の目的
は、端末器から端末器へのデータの遅延許容値を増加さ
せることができ、伝送可能な距離を延長させることがで
きる信号伝送方式を提供することにある。
SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a signal transmission system capable of increasing a delay tolerance of data from a terminal to a terminal and extending a transmittable distance. To provide.

【0019】[0019]

【課題を解決するための手段】上記目的を達成するた
め、この発明の信号伝送方式は、高レベル信号と低レベ
ル信号とが衝突した場合には、上記低レベル信号が打ち
消される一方、上記高レベル信号が伝送されるようにな
っている伝送媒体に複数の端末器からのパルス信号が出
力され、上記端末器は、自分が送信した信号と伝送媒体
から受信した信号とが一致しているか否かを判断して、
自分が送信した信号と伝送媒体から受信した信号とが一
致していると判断した場合には信号を送信し続ける一
方、自分が送信した信号と伝送媒体から受信した信号と
が一致していないと判断した場合には信号の送信を停止
する競合検出動作を、上記パルス信号の最小周期である
1ビット時間毎に、所定の期間だけ実行する信号伝送方
式において、上記伝送媒体が伝送する1群のパルス信号
の最初のパルス信号であるスタートビット信号の立ち上
がり時刻から、上記スタートビット信号のパルス幅の略
2分の1だけ経過した時刻を基準時刻にし、この基準時
刻からnビット時間後(nは自然数)を1回目の競合検
出動作を行なう時刻としたことを特徴としている。
In order to achieve the above object, the signal transmission system of the present invention is such that when a high level signal and a low level signal collide, the low level signal is canceled while the high level signal is canceled. The pulse signals from the plurality of terminals are output to the transmission medium adapted to transmit the level signal, and the above terminal determines whether the signal transmitted by itself and the signal received from the transmission medium match. Judge whether
If you determine that the signal you sent and the signal received from the transmission medium match, you continue to send the signal, but the signal you sent does not match the signal received from the transmission medium. When the determination is made, in the signal transmission method in which the competition detection operation of stopping the signal transmission is executed only for a predetermined period at every 1 bit time which is the minimum period of the pulse signal, The time when only one half of the pulse width of the start bit signal has elapsed from the rising time of the start bit signal, which is the first pulse signal of the pulse signal, is set as the reference time, and n bits time later (n: It is characterized in that the natural number) is the time when the first conflict detection operation is performed.

【0020】[0020]

【作用】上記信号伝送方式によれば、上記スタートビッ
ト信号の立ち上がり時刻から、スタートビット信号のパ
ルス幅の略2分の1だけ経過した時刻を基準時刻にし、
この基準時刻からnビット時間後(nは自然数)を1回
目の競合検出動作を行なう時刻とした。したがって、一
方の端末器が送出する高レベル信号と、他方の端末器が
送出する高レベル信号とが、上記スタートビット信号を
形成している場合には、上記2つの端末器の2つの高レ
ベル信号が重複している時間領域の真中を競合検出動作
を行うサンプリングポイントの基準時刻にすることにな
る。そして、上記基準時刻からnビット時間後から1ビ
ット時間毎に、競合検出を行う。
According to the above signal transmission system, the time when a half of the pulse width of the start bit signal has elapsed from the rising time of the start bit signal is set as the reference time,
The time when the first conflict detection operation is performed is n bits time (n is a natural number) from this reference time. Therefore, when the high-level signal transmitted by one terminal and the high-level signal transmitted by the other terminal form the start bit signal, two high-level signals of the two terminals are generated. The middle of the time domain where the signals are overlapped is set as the reference time of the sampling point where the conflict detection operation is performed. Then, the conflict detection is performed every 1 bit time after n bits time from the reference time.

【0021】すなわち、一方の端末器が送信した信号に
対する他方の端末器が送信した信号の遅延が略2分の1
ビット時間未満であれば、一方の端末器は、一方の端末
器が送信する信号が高レベル信号になる可能性がある時
間領域と、他方の端末器が送信する信号が高レベル信号
になる可能性がある時間領域とが重なった時間領域に各
サンプリングポイントを設定することができ、競合検出
を確実に実行できる。したがって、本発明によれば、伝
搬遅延許容時間を従来例の略2倍の2分の1ビット時間
未満まで延長でき、伝送距離の延長を図ることができ
る。
That is, the delay of the signal transmitted by the other terminal with respect to the signal transmitted by one terminal is approximately one half.
If it is less than the bit time, one terminal may have a high-level signal in the time domain in which the signal transmitted by one terminal may be a high-level signal, and the signal transmitted by the other terminal may be a high-level signal. It is possible to set each sampling point in a time domain in which the time domain in which there is a possibility overlaps, and it is possible to reliably execute the conflict detection. Therefore, according to the present invention, the propagation delay allowable time can be extended to less than half the bit time, which is almost twice as long as the conventional example, and the transmission distance can be extended.

【0022】また、3つ以上の端末器が送出する高レベ
ル信号がスタートビット信号を形成している場合でも、
最も時間がずれている2つの高レベル信号の間の時間の
ずれが、略2分の1ビット時間未満であれば、3つの各
端末器が送信する信号が高レベルになる可能性がある時
間領域にサンプリングポイントを設定することになり、
競合検出を確実に実行できる。したがって、本発明によ
れば、伝搬遅延許容時間を従来例の略2倍の2分の1ビ
ット時間未満まで延長でき、伝送距離の延長を図ること
ができる。
Further, even when the high level signals transmitted from three or more terminals form the start bit signal,
If the time difference between the two high-level signals with the most time lag is less than about a half bit time, the signal transmitted by each of the three terminals may have a high level. You will set sampling points in the area,
Conflict detection can be executed reliably. Therefore, according to the present invention, the propagation delay allowable time can be extended to less than half the bit time, which is almost twice as long as the conventional example, and the transmission distance can be extended.

【0023】[0023]

【実施例】以下、この発明を図示の実施例により詳細に
説明する。
The present invention will be described in detail below with reference to the embodiments shown in the drawings.

【0024】図1を参照しながら、本発明の信号伝送方
式の実施例を説明する。図1(A)に端末器Aが伝送媒
体に送出した信号波形を示し、図1(B)に端末器Bが
上記伝送媒体に送信して端末器Aが受信した信号波形を
示し、図1(C)に端末器Aが受信した伝送媒体上の信
号波形を示す。図1に示すように、上記信号波形の最小
周期を1ビット時間としている。
An embodiment of the signal transmission system of the present invention will be described with reference to FIG. 1A shows a signal waveform transmitted by the terminal A to the transmission medium, and FIG. 1B shows a signal waveform transmitted by the terminal B to the transmission medium and received by the terminal A. The signal waveform on the transmission medium received by the terminal A is shown in (C). As shown in FIG. 1, the minimum period of the signal waveform is 1 bit time.

【0025】図1に示すように、上記伝送媒体上で高レ
ベル信号と低レベル信号とが衝突した場合には、低レベ
ル信号が打ち消されて、高レベル信号が伝送されるよう
になっている。
As shown in FIG. 1, when a high level signal and a low level signal collide with each other on the transmission medium, the low level signal is canceled and the high level signal is transmitted. .

【0026】次に、上記実施例において、各端末器が備
えている競合検出回路を、図3に示すブロック図を参照
しながら説明する。図3において、31は、伝送媒体上
の信号をモニターし、スタートビット信号の立ち上がり
と、立ち下がりを検出するエッジ検出回路である。33
は、受信したスタートビット信号の立ち上がりでカウン
トをスタートし、上記スタートビット信号の立ち下がり
でカウントをストップするカウンタである。このカウン
タ33は、伝送媒体における信号伝送速度よりも十分に
早い周期のクロック36を用いて、クロック36のクロ
ックパルスをカウントし、このカウント値の半分を比較
器34に出力する。スタートビット信号のパルス幅T=
(カウント値)×(クロック周期)であるから、(カウ
ント値)/2がスタートビット信号のパルス幅Tの2分
の1の時間TSに相当することになる。そして、上記し
たように、信号伝送速度よりも十分に早いクロックを用
いれば、時間Tsを評価するときの誤差と上記カウント
値の半分を計算するときの誤差を十分に小さくすること
ができる。
Next, the competition detection circuit provided in each terminal in the above embodiment will be described with reference to the block diagram shown in FIG. In FIG. 3, reference numeral 31 is an edge detection circuit that monitors the signal on the transmission medium and detects the rising edge and the falling edge of the start bit signal. 33
Is a counter that starts counting at the rising edge of the received start bit signal and stops counting at the falling edge of the start bit signal. The counter 33 counts the clock pulses of the clock 36 using the clock 36 having a cycle sufficiently faster than the signal transmission speed in the transmission medium, and outputs half of this count value to the comparator 34. Start bit signal pulse width T =
Since (count value) × (clock cycle), (count value) / 2 corresponds to a time T S that is ½ of the pulse width T of the start bit signal. Then, as described above, if a clock that is sufficiently faster than the signal transmission rate is used, the error when evaluating the time Ts and the error when calculating half of the count value can be made sufficiently small.

【0027】カウンタ35は、スタートビット信号の立
ち上がりから1ビット時間後にカウントを開始して、カ
ウントした値を比較器34に送る。このカウンタ35
は、時間をカウント値に変換している。
The counter 35 starts counting 1 bit after the rise of the start bit signal and sends the counted value to the comparator 34. This counter 35
Converts the time into a count value.

【0028】上記比較器34は、上記カウンタ33から
出力された時間T/2を表すカウント値と、カウンタ3
5のカウント値とを比較し、上記時間T/2を表すカウ
ント値と、カウンタ35のカウント値とが一致したとき
に、一致信号を出力する。つまり、上記比較器34は、
上記スタートビット信号の立ち上がり時刻から、(時間
T/2)+(1ビット時間)だけ経過した時刻に一致信
号を出力する。そして、サンプルタイミング信号発生器
32は、比較器34から一致信号を受けると、この一致
信号をトリガとして、次のスタートビット信号まで、1
ビット時間毎にサンプルタイミング信号を出力する。
The comparator 34 counts the count value representing the time T / 2 output from the counter 33 and the counter 3
When the count value of the counter 35 and the count value of the counter 35 match, the match signal is output. That is, the comparator 34 is
A coincidence signal is output at the time when (time T / 2) + (1 bit time) has elapsed from the rising time of the start bit signal. When the sample timing signal generator 32 receives the coincidence signal from the comparator 34, the sample timing signal generator 32 uses this coincidence signal as a trigger until the next start bit signal reaches 1
A sample timing signal is output every bit time.

【0029】クロック36は、上記カウンタ33とカウ
ンタ35用のクロックであり、信号伝送速度よりも十分
に早いクロック周期を有している。
The clock 36 is a clock for the counter 33 and the counter 35, and has a clock cycle sufficiently faster than the signal transmission speed.

【0030】上記カウンタ33とカウンタ35と比較器
34とサンプルタイミング信号発生器32は、次のスタ
ートビット信号の立ち上がり時刻までにリセットされ
る。
The counter 33, the counter 35, the comparator 34, and the sample timing signal generator 32 are reset by the rising time of the next start bit signal.

【0031】比較回路37は、受信した信号と、送信し
た信号とを比較して、受信信号と送信信号とが不一致で
ある場合に、送信を停止させる送信停止信号をゲート回
路38に出力する。上記ゲート回路38は、上記比較回
路37から送信停止信号を受けると、送信信号の送出を
止める。上記比較器37およびゲート回路38は、次の
スタートビット信号の立ち上がりまでにリセットされ
る。
The comparison circuit 37 compares the received signal with the transmitted signal, and when the received signal and the transmitted signal do not match, outputs a transmission stop signal for stopping the transmission to the gate circuit 38. When the gate circuit 38 receives the transmission stop signal from the comparison circuit 37, it stops transmitting the transmission signal. The comparator 37 and the gate circuit 38 are reset by the next rising edge of the start bit signal.

【0032】RZ信号変換部40は、上記ゲート回路3
8を介して受けた送信信号を、高レベル信号と低レベル
信号が構成する2値信号であるRZ信号に変換する。
The RZ signal conversion section 40 includes the gate circuit 3
The transmission signal received via 8 is converted into an RZ signal which is a binary signal composed of a high level signal and a low level signal.

【0033】確定回路39は、上記サンプルタイミング
信号発生器32が出力するサンプルタイミング信号を受
けた時刻に受信信号を確定する。
The decision circuit 39 decides the received signal at the time when the sample timing signal output from the sample timing signal generator 32 is received.

【0034】次に、この実施例において、端末器Aが競
合検出する動作を以下に説明する。端末器Aは、まず、
上記伝送媒体が伝送する1群のパルス信号の最初のパル
ス信号であるスタートビット信号を受信して、このスタ
ートビット信号のパルス幅Tを測定する。
Next, in this embodiment, the operation in which the terminal A detects the conflict will be described below. First, the terminal device A
The start bit signal which is the first pulse signal of the group of pulse signals transmitted by the transmission medium is received, and the pulse width T of the start bit signal is measured.

【0035】次に、上記端末器Aは、上記スタートビッ
ト信号の立ち上がり時刻T0から、上記スタートビット
信号のパルス幅Tの2分の1の時間TSだけ経過した時
刻T1を競合検出動作時刻であるサンプリングポイント
を決めるための基準時刻にする。
Next, the terminal device A performs the conflict detection operation at time T 1 when a time T S that is one half of the pulse width T of the start bit signal elapses from the rising time T 0 of the start bit signal. Set the reference time to determine the sampling point, which is the time.

【0036】そして、端末器Aは、上記サンプリングポ
イントの基準時刻T1から1ビット時間後を1回目のサ
ンプリングポイントT2とし、この1回目のサンプリン
グポイントT2から1ビット時間毎に競合検出を行な
う。つまり、端末器Aは、1回目のサンプリングポイン
トT2から1ビット時間毎に、自分が送信した信号と伝
送媒体から受信した信号とが一致しているか否かを判断
して、自分が送信した信号と伝送媒体から受信した信号
とが一致していると判断した場合には信号を送信し続け
る一方、自分が送信した信号と伝送媒体から受信した信
号とが一致していないと判断した場合には信号の送信を
停止する競合検出動作を行う。上記端末器Aは、上記競
合検出動作を、2バイト期間だけ実行する。
Then, the terminal A sets the sampling point T 2 as the first sampling point 1 bit time after the reference time T 1 of the sampling point, and detects the competition every 1 bit time from the first sampling point T 2. To do. That is, the terminal device A determines whether or not the signal transmitted by itself and the signal received from the transmission medium coincide with each other at every 1 bit time from the first sampling point T 2 and then transmits by itself. If it determines that the signal matches the signal received from the transmission medium, it continues to transmit the signal, while if it determines that the signal transmitted by itself does not match the signal received from the transmission medium. Performs a conflict detection operation to stop signal transmission. The terminal device A executes the contention detection operation for a 2-byte period.

【0037】上記実施例において、端末器Aは、1回目
のサンプリングポイントT2において、自分が送信した
信号(高レベル信号)と伝送媒体から受信した信号(高
レベル信号)とが一致していると判断して、信号の送信
を継続する。一方、端末器Bは、自分が送信した信号
(低レベル信号)と伝送媒体から受信した信号(高レベ
ル信号)が一致していないと判断して、信号の送信を停
止する。
In the above embodiment, at the first sampling point T 2 , in the terminal A, the signal transmitted by itself (high level signal) matches the signal received from the transmission medium (high level signal). Then, the signal transmission is continued. On the other hand, the terminal device B determines that the signal transmitted by itself (low level signal) does not match the signal received from the transmission medium (high level signal), and stops transmitting the signal.

【0038】このように、上記実施例によれば、端末器
Aは、スタートビット信号の真中の時刻T1をサンプリ
ングポイントの基準時刻にしたので、端末器Aの高レベ
ル信号と、端末器Bの高レベル信号とが重複している期
間の真中を上記基準時刻にしていることになる。したが
って、端末器Aが送信した信号に対する端末器Bが送信
した信号の遅延が2分の1ビット時間未満であれば、端
末器Aは、端末器Aが送信する信号が高レベル信号にな
る可能性がある時間領域と、端末器Bが送信する信号が
高レベル信号になる可能性がある時間領域とが重なった
時間領域に各サンプリングポイントを設定することがで
き、競合検出を確実に実行できる。
As described above, according to the above embodiment, the terminal A uses the time T 1 in the middle of the start bit signal as the reference time of the sampling point, so that the high level signal of the terminal A and the terminal B are set. That is, the middle of the period in which the high-level signal of 1 is overlapped with is the reference time. Therefore, if the delay of the signal transmitted by the terminal B with respect to the signal transmitted by the terminal A is less than a half bit time, the signal transmitted by the terminal A may be a high level signal. Each sampling point can be set in a time domain in which the time domain in which the signal transmitted from the terminal B is likely to be a high-level signal overlaps with the time domain in which there is a possibility .

【0039】したがって、上記実施例によれば、信号の
遅延時間が4分の1ビット時間未満に制限される従来例
に比べて、信号遅延許容時間を2倍に延長することがで
き、伝送距離の延長を図ることができる。
Therefore, according to the above embodiment, the allowable signal delay time can be doubled as compared with the conventional example in which the signal delay time is limited to less than 1/4 bit time, and the transmission distance is increased. Can be extended.

【0040】上記信号の遅延時間は、一方の端末器から
他方の端末器へ信号が伝わるのに要する伝送時間dの2
倍である往復伝送時間2dと、上記一方の端末器から上
記他方の端末器へ信号が到達したときから上記他方の端
末器が信号を送信するまでの送信遅れ時間Tdと、信号
伝送速度の誤差に起因する伝送時間誤差αとの和であ
る。つまり、上記信号の遅延時間をTEとすると、TE
=Td+2d+αである。
The delay time of the signal is 2 times the transmission time d required for the signal to be transmitted from one terminal to the other terminal.
Double round trip transmission time 2d, transmission delay time Td from when a signal arrives from the one terminal to the other terminal until the other terminal transmits a signal, and error in signal transmission rate And the transmission time error α due to That is, if the delay time of the above signal is TE, TE
= Td + 2d + α.

【0041】したがって、上記実施例によれば、1/2
ビット時間>TEであれば、競合検出を正確に実行でき
る。つまり、伝送時間d<(1/2ビット時間−Td−
α)/2であればよい。
Therefore, according to the above embodiment, 1/2
If bit time> TE, the conflict detection can be accurately executed. That is, the transmission time d <(1/2 bit time-Td-
It may be α) / 2.

【0042】たとえば、1ビット時間=104μ秒、T
d=13μ秒、α=5.4μ秒とし、伝搬速度を6.5
μ秒/kmとすると、伝送時間d<(52−13−5.
4)/2=16.8μ秒になる。したがって、最大伝送
距離は、16.8/6.5=2.58kmになる。これ
に対して、従来例では、1/4ビット時間>TEでなけ
れば競合検出を正確にできないので、伝送時間d<(2
6−13−5.4)/2=3.8μ秒でなければなら
ず、最大伝送距離は、3.8/6.5=0.58kmに
なる。このように、上記実施例によれば、従来例に比べ
て、データ伝送距離を大幅に延長することができる。
上記実施例において、サンプリングポイントの基準時刻
は、スタートビット信号毎に更新される。なぜならば、
図1に示す最初のスタートビット信号S1の真中に設定
した基準時刻を基準とする1ビット毎のサンプリングポ
イントは、一般に、次のスタートビット信号S2(図2
参照)の真中に位置しないので、サンプリングポイント
の基準時刻を更新しない場合には、競合検出が不確実に
なるからである。
For example, 1 bit time = 104 μsec, T
d = 13 μsec, α = 5.4 μsec, and the propagation velocity is 6.5.
Transmission time d <(52-13-5.
4) /2=16.8 μsec. Therefore, the maximum transmission distance is 16.8 / 6.5 = 2.58 km. On the other hand, in the conventional example, if the 1/4 bit time> TE is not satisfied, the contention detection cannot be accurately performed, so that the transmission time d <(2
6−13−5.4) /2=3.8 μsec, and the maximum transmission distance becomes 3.8 / 6.5 = 0.58 km. As described above, according to the above-described embodiment, the data transmission distance can be significantly extended as compared with the conventional example.
In the above embodiment, the reference time of the sampling point is updated for each start bit signal. because,
The sampling point for each bit based on the reference time set in the middle of the first start bit signal S1 shown in FIG. 1 is generally the next start bit signal S2 (see FIG. 2).
This is because it is not located in the middle of (), and therefore, if the reference time of the sampling point is not updated, conflict detection becomes uncertain.

【0043】尚、上記実施例において、各端末器は、図
3に示す競合検出回路に替えて、図4に示す競合検出回
路を備えてもよい。図4に示す競合検出回路のエッジ検
出回路43は、送受信回路42を介して、伝送媒体から
スタートビット信号を受信し、このスタートビット信号
の立ち上がり時刻に立ち上がり信号を出力し、かつ、上
記スタートビット信号の立ち下がり時刻に立ち下がり信
号を出力する。
In the above embodiment, each terminal may be provided with the competition detection circuit shown in FIG. 4 instead of the competition detection circuit shown in FIG. The edge detection circuit 43 of the competition detection circuit shown in FIG. 4 receives a start bit signal from the transmission medium via the transmission / reception circuit 42, outputs a rising signal at the rising time of the start bit signal, and outputs the start bit signal. The falling signal is output at the signal falling time.

【0044】そして、カウンタ44は、上記エッジ検出
回路43からの立ち上がり信号を受けるとカウントを開
始し、かつ、上記エッジ検出回路43からの立ち下がり
信号を受けるとカウントを停止する。つまり、上記カウ
ンタ44は、スタートビット信号のパルス幅Tを測定し
て、このパルス幅Tをカウント値に変換する。さらに、
上記カウンタ44は、上記パルス幅Tの2分の1に相当
するカウント値を算出して、このカウント値をマイクロ
コンピュータ41に出力する。
The counter 44 starts counting when it receives a rising signal from the edge detection circuit 43 and stops counting when it receives a falling signal from the edge detection circuit 43. That is, the counter 44 measures the pulse width T of the start bit signal and converts the pulse width T into a count value. further,
The counter 44 calculates a count value corresponding to one half of the pulse width T and outputs this count value to the microcomputer 41.

【0045】マイクロコンピュータ41は、上記スター
トビット信号の立ち上がり時刻から(1ビット時間+T
/2)時間後の時刻を、1回目のサンプリングポイント
とする。この1回目のサンプリングポイントにおいて、
スタートビット信号の次の2ビット目の信号が確定され
るようになる。そして、上記マイクロコンピュータ41
は、上記1回目のサンプリングポイント以後、1ビット
時間毎に、競合検出を行う。そして、上記マイクロコン
ピュータ41は、次のスタートビット信号においても、
上述と同様にして、サンプルタイミングを決定し、競合
検出を行うようになっている。
From the rising time of the start bit signal, the microcomputer 41 calculates (1 bit time + T
/ 2) The time after the time is set as the first sampling point. At this first sampling point,
The signal of the second bit next to the start bit signal becomes fixed. Then, the microcomputer 41
Performs the conflict detection every 1 bit time after the first sampling point. Then, the microcomputer 41, even in the next start bit signal,
Similar to the above, the sample timing is determined and the competition is detected.

【0046】[0046]

【発明の効果】以上より明らかなように、この発明の信
号伝送方式は、スタートビット信号の立ち上がり時刻か
ら、スタートビット信号のパルス幅の略2分の1だけ経
過した時刻を基準時刻にし、この基準時刻からnビット
時間後(nは自然数)を1回目の競合検出動作を行なう
時刻としている。
As is apparent from the above, in the signal transmission system of the present invention, the time when approximately one half of the pulse width of the start bit signal has elapsed from the rising time of the start bit signal is set as the reference time, and The time at which the first conflict detection operation is performed is n bits after the reference time (n is a natural number).

【0047】したがって、一方の端末器が送信した信号
に対する他方の端末器が送信した信号の遅延が略2分の
1ビット時間未満であれば、一方の端末器は、常に、一
方の端末器が送信する信号が高レベル信号になる可能性
がある時間領域と、他方の端末器が送信する信号が高レ
ベル信号になる可能性がある時間領域とが重なった時間
領域にサンプリングポイントを設定することができ、競
合検出を確実に実行できる。したがって、本発明によれ
ば、伝搬遅延許容時間を従来例の略2倍の2分の1ビッ
ト時間未満まで延長でき、伝送距離の延長を図ることが
できる。
Therefore, if the delay of the signal transmitted by the other terminal with respect to the signal transmitted by the one terminal is less than approximately one-half bit time, one terminal will always Sampling points should be set in the time domain where the signal to be transmitted may be a high level signal and the time domain to be transmitted by the other terminal may be a high level signal. Therefore, the conflict detection can be surely executed. Therefore, according to the present invention, the propagation delay allowable time can be extended to less than half the bit time, which is almost twice as long as the conventional example, and the transmission distance can be extended.

【0048】また、3つ以上の端末器が送出する高レベ
ル信号がスタートビット信号を形成している場合でも、
最も時間がずれている2つの高レベル信号の間の時間の
ずれが2分の1ビット時間未満であれば、すなわち、ス
タートビット信号のパルス幅が1ビット時間未満であれ
ば、3つの各端末器が送信する信号が高レベルになる可
能性がある時間領域にサンプリングポイントを設定する
ことになり、競合検出を確実に実行できる。したがっ
て、本発明によれば、3つ以上の端末器が送出する信号
の競合検出を行う場合であっても、伝搬遅延許容時間を
従来例の略2倍の2分の1ビット時間未満まで延長で
き、伝送距離の延長を図ることができる。
In addition, even when the high level signals transmitted by three or more terminals form the start bit signal,
If the time difference between the two highest-level signals with the most time lag is less than one-half bit time, that is, if the pulse width of the start bit signal is less than one bit time, then each of the three terminals Since the sampling point is set in the time domain in which the signal transmitted by the container may be at a high level, the conflict detection can be surely executed. Therefore, according to the present invention, even when contention detection of signals transmitted by three or more terminal devices is performed, the allowable propagation delay time is extended to less than half the bit time, which is almost twice as long as the conventional example. Therefore, the transmission distance can be extended.

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

【図1】 この発明の信号伝送方式の実施例の各信号波
形を示す図である。
FIG. 1 is a diagram showing each signal waveform of an embodiment of a signal transmission system of the present invention.

【図2】 上記実施例のサンプリングポイントの基準時
刻の更新を説明する信号波形図である。
FIG. 2 is a signal waveform diagram for explaining updating of the reference time of the sampling point in the above embodiment.

【図3】 上記実施例の端末器が備える競合検出回路の
一例を示すブロック図である。
FIG. 3 is a block diagram showing an example of a conflict detection circuit included in the terminal device of the above embodiment.

【図4】 上記実施例の端末器が備える競合検出回路の
他の例を示すブロック図である。
FIG. 4 is a block diagram showing another example of a conflict detection circuit included in the terminal device of the above embodiment.

【図5】 競合検出の概念図である。FIG. 5 is a conceptual diagram of competition detection.

【図6】 競合検出を行う通信システムを示すブロック
図である。
FIG. 6 is a block diagram showing a communication system that performs contention detection.

【図7】 従来の信号伝送方式での各信号波形を示す図
である。
FIG. 7 is a diagram showing each signal waveform in a conventional signal transmission system.

【図8】 従来のもう1つの信号伝送方式での各信号波
形を示す図である。
FIG. 8 is a diagram showing each signal waveform in another conventional signal transmission system.

【図9】 AMI符号を示す波形図である。FIG. 9 is a waveform diagram showing an AMI code.

【符号の説明】[Explanation of symbols]

T…スタートビット信号のパルス幅、S1,S2…スタ
ートビット信号。
T ... pulse width of start bit signal, S1, S2 ... start bit signal.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 高レベル信号と低レベル信号とが衝突し
た場合には、上記低レベル信号が打ち消される一方、上
記高レベル信号が伝送されるようになっている伝送媒体
に複数の端末器からのパルス信号が出力され、 上記端末器は、 自分が送信した信号と伝送媒体から受信した信号とが一
致しているか否かを判断して、自分が送信した信号と伝
送媒体から受信した信号とが一致していると判断した場
合には信号を送信し続ける一方、自分が送信した信号と
伝送媒体から受信した信号とが一致していないと判断し
た場合には信号の送信を停止する競合検出動作を、上記
パルス信号の最小周期である1ビット時間毎に、所定の
期間だけ実行する信号伝送方式において、 上記伝送媒体が伝送する1群のパルス信号の最初のパル
ス信号であるスタートビット信号の立ち上がり時刻か
ら、上記スタートビット信号のパルス幅の略2分の1だ
け経過した時刻を基準時刻にし、この基準時刻からnビ
ット時間後(nは自然数)を1回目の競合検出動作を行
なう時刻としたことを特徴とする信号伝送方式。
1. When a high level signal and a low level signal collide with each other, the low level signal is canceled and the high level signal is transmitted from a plurality of terminals to a transmission medium. The pulse signal of is output, and the terminal determines whether the signal transmitted by itself matches the signal received from the transmission medium and determines whether the signal transmitted by itself and the signal received from the transmission medium If it determines that the two signals match, it continues to transmit the signal, while if it determines that the signal that it has transmitted does not match the signal received from the transmission medium, it stops transmitting the signal. In the signal transmission method in which the operation is executed for a predetermined period at every 1-bit time which is the minimum period of the pulse signal, the start pulse which is the first pulse signal of the group of pulse signals transmitted by the transmission medium is The time at which the pulse width of the start bit signal has risen by approximately half of the pulse width of the start bit signal is set as the reference time, and the first conflict detection operation is performed after n bit time (n is a natural number) from this reference time. A signal transmission method characterized in that it is time to perform.
JP7393A 1993-01-04 1993-01-04 Signal transmission system Pending JPH06205022A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7393A JPH06205022A (en) 1993-01-04 1993-01-04 Signal transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7393A JPH06205022A (en) 1993-01-04 1993-01-04 Signal transmission system

Publications (1)

Publication Number Publication Date
JPH06205022A true JPH06205022A (en) 1994-07-22

Family

ID=11464004

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7393A Pending JPH06205022A (en) 1993-01-04 1993-01-04 Signal transmission system

Country Status (1)

Country Link
JP (1) JPH06205022A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6298099B1 (en) 1998-12-30 2001-10-02 Futurewave, Inc. Constant envelope modulation communication system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6298099B1 (en) 1998-12-30 2001-10-02 Futurewave, Inc. Constant envelope modulation communication system
US6553080B2 (en) 1998-12-30 2003-04-22 Futurewave, Inc. Constant envelope modulation communication system

Similar Documents

Publication Publication Date Title
US4723311A (en) Method and apparatus for recognizing data collisions in an optical data bus
US4471481A (en) Autonomous terminal data communications system
US4539677A (en) Multiple access data communication system
EP0096854A2 (en) Framing system
US4498082A (en) Method and apparatus for locating a discontinuity in a data transmission ring
JPH05211511A (en) Communication equipment
KR970011839B1 (en) Data collision detection circuit of lan
US4719620A (en) Signal transmission system in a bus-type network
US7636410B2 (en) Multiplex bus system with duty cycle correction
JPH06205022A (en) Signal transmission system
US11121895B2 (en) Repeater and relay method for the same
CA2052811C (en) Framing bit sequence detection in digital data communication systems
JP2558119B2 (en) Transceiver circuit
SU1479936A1 (en) Method and adapter for detecting collisions in digital communication line
JPH01260945A (en) Network terminal equipment
JPS6363241A (en) Data serial transmission system
JPH0779339B2 (en) Start bit detection circuit
JP2762855B2 (en) Frame synchronization protection circuit
RU1807426C (en) Method of determination of distance to point of fault in power line and device for its implementation
US5003582A (en) Method of adjusting the end of transmission in a modem
JP3095576B2 (en) Communication error detection device
JPH0746275A (en) Data discrimination method by pulse width
JPH0425240A (en) Burst signal monitoring circuit
JPH0211049A (en) Serial data transmission speed detecting circuit
JPS63202149A (en) Synchronizing transmission system