Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0624373B2 - Communications system - Google Patents
[go: Go Back, main page]

JPH0624373B2 - Communications system - Google Patents

Communications system

Info

Publication number
JPH0624373B2
JPH0624373B2 JP22238187A JP22238187A JPH0624373B2 JP H0624373 B2 JPH0624373 B2 JP H0624373B2 JP 22238187 A JP22238187 A JP 22238187A JP 22238187 A JP22238187 A JP 22238187A JP H0624373 B2 JPH0624373 B2 JP H0624373B2
Authority
JP
Japan
Prior art keywords
signal
transmission
station
time
comparison
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 - Lifetime
Application number
JP22238187A
Other languages
Japanese (ja)
Other versions
JPS6465946A (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.)
Daihatsu Motor Co Ltd
Original Assignee
Daihatsu Motor Co 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 Daihatsu Motor Co Ltd filed Critical Daihatsu Motor Co Ltd
Priority to JP22238187A priority Critical patent/JPH0624373B2/en
Publication of JPS6465946A publication Critical patent/JPS6465946A/en
Publication of JPH0624373B2 publication Critical patent/JPH0624373B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、通信システムに関し、更に詳しくは、同時に
複数局が送信を行った時の処理方式を改良した通信シス
テムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication system, and more particularly to a communication system with an improved processing method when a plurality of stations simultaneously transmit.

〔従来の技術〕[Conventional technology]

複数の局が共通の伝送ラインで結ばれた通信システムに
おいて、同時に2以上の局が送信を行ったときに混乱を
生じないために、種々の処理方式が提案されている。
In a communication system in which a plurality of stations are connected by a common transmission line, various processing methods have been proposed in order to prevent confusion when two or more stations transmit at the same time.

その一つの例として、調歩同期式であり且つ伝送ライン
に「1」を送出する局と「0」を送出する局とが同時に
存在するときには「0」がライン信号となる通信システ
ムにおいて、スタートビットの次の1ビット又は数ビッ
トを送信の優先順位決定のための優先順位コードとして
用い、優先順位の高い局が送信を継続し、優先順位の低
い局が送信を中止する方式がある。
As one example thereof, a start bit is used in a communication system which is an asynchronous system and in which a line signal is "0" when a station transmitting "1" and a station transmitting "0" exist on the transmission line at the same time. There is a system in which the next one bit or several bits are used as a priority code for determining the priority of transmission, and a station with a higher priority continues transmission and a station with a lower priority stops transmission.

即ち、自己の送信信号とライン信号とを比較し、自己が
「1」を送信しているのにライン信号が「0」であると
きには送信を中止するように各局を構成すると共に、各
局に優先順位コードに割り当て、スタートビットの後に
優先順位コードを送信するようにしておく。そうする
と、2以上の局が同時に送信を開始したときに、割り当
てられた優先順位コードに「0」の続くものが送信を継
続し、「1」が現れたものが送信を中止することとな
り、混乱が防止される。
In other words, each station is configured to compare its own transmission signal with the line signal, and when the line signal is "0" even though it is transmitting "1", each station is configured to stop transmission and has priority over each station. It is assigned to a priority code, and the priority code is transmitted after the start bit. Then, when two or more stations start transmitting at the same time, the one with "0" following the assigned priority code continues to transmit, and the one with "1" appears to stop transmitting, which is confusing. Is prevented.

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

上記優先順位コードによる処理方式では、優先順位コー
ドの対応するビットを適正に比較できることが前提とな
っている。
The processing method using the priority code is based on the premise that the corresponding bits of the priority code can be properly compared.

しかし、各局が送信を開始する時刻のずれ時間δがあ
り、また伝送ラインにおける伝送遅延時間dがあるため
に、対応するビット相互を適正に比較するためのタイミ
ングをとるのが難しいという問題点がある。
However, there is a problem that it is difficult to take a timing to properly compare corresponding bits because there is a time lag δ at which each station starts transmission and a transmission delay time d in the transmission line. is there.

従って、本発明の目的とするところは、かかる比較のタ
イミングを好適に決定し、誤りなく対応ビットの比較を
行えるようにした通信システムを提供することにある。
Therefore, it is an object of the present invention to provide a communication system capable of suitably determining the timing of such comparison and performing the comparison of corresponding bits without error.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の通信システムは、複数の局が共通の伝送ライン
で結ばれ、調歩同期式で相互に通信し、伝送ラインに
「1」を送出する局と「0」を送出する局とが同時に存
在するときには「0」がライン信号となる通信システム
において、自己の送信信号のレベルと受信したライン信
号のレベルとを比較して両信号のレベルの一致,不一致
を検出する比較手段と、ライン信号のスタートビツトの
立下がりから時間τ後及び時間τ+τ(但し、τ
+2d<τ<τの関係があり、dは伝送遅延時間,τ
は1ビット時間である。)後に比較タイミング信号を出
力するタイミング出力手段と、比較タイミング信号の入
力時に比較手段の出力が一致を検出していれば送信信号
の送出を許容し不一致を検出していれば中止する送信制
御手段とを少なくとも有する局を1局以上設けたことを
構成上の特徴とするものである。
In the communication system of the present invention, a plurality of stations are connected by a common transmission line, communicate with each other in an asynchronous manner, and a station that transmits "1" and a station that transmits "0" exist simultaneously on the transmission line. In the communication system in which “0” is the line signal when performing, the comparing means for comparing the level of the transmission signal of itself and the level of the received line signal to detect the coincidence or non-coincidence of the levels of both signals, and the line signal Time τ s after the fall of the start bit and time τ + τ c (where τ s
+ 2d <τ c <τ, where d is the transmission delay time, τ
Is 1 bit time. ) A timing output means for outputting a comparison timing signal later, and a transmission control means for permitting transmission of a transmission signal if the output of the comparison means detects a match when the comparison timing signal is input, and a transmission control means for canceling if a mismatch is detected It is a feature of the configuration that at least one station having at least and is provided.

「作用」 本発明の通信システムでは、 τ+2D<τ<τ (d;伝送遅延時間,τ;1ビット時間) の関係にある時間τと時間τとを導入し、第一次比
較と第二次比較とを行う。
[Operation] In the communication system of the present invention, the time τ s and the time τ c , which are in the relationship of τ s + 2D <τ c <τ (d; transmission delay time, τ; 1 bit time), are introduced, and The comparison and the secondary comparison are performed.

そして、時間τを用いた第一次比較によって、遅れて
送信を開始した局のスタートビットが先に送信を開始し
ていた局の優先順位コードのビットと比較されるのを防
止し、時間τ+τを用いた第二次比較によって、対応
する優先順位コードのビット相互を適正に比較する。
Then, the first comparison using the time τ s prevents the start bit of the station which started transmission with a delay from being compared with the bit of the priority code of the station which has started the transmission, A secondary comparison using τ + τ c properly compares the bits of the corresponding priority codes.

〔実施例〕 以下、図に示す実施例に基づいて本発明を更に詳しく説
明する。ここに第1図は本発明の一実施例の通信システ
ムの一つの局の要部ブロック図、第2図及び第3図は第
1図に示す通信システムの作動を説明するためのタイム
チャートである。なお、図に示す実施例により本発明が
限定されるものではない。
[Examples] Hereinafter, the present invention will be described in more detail based on the examples shown in the drawings. FIG. 1 is a block diagram of an essential part of one station of a communication system according to an embodiment of the present invention, and FIGS. 2 and 3 are time charts for explaining the operation of the communication system shown in FIG. is there. The present invention is not limited to the embodiments shown in the drawings.

第1図に示す通信システム1では、複数の局が共通の伝
送ライン2で結ばれている。20はその一つの局を示し
ている。
In the communication system 1 shown in FIG. 1, a plurality of stations are connected by a common transmission line 2. 20 shows one of the stations.

通信方式は、調歩同期式NRZ通信方式であり、伝送ラ
イン2に「1」を送出する局と「0」を送出する局とが
同時に存在するときには「0」がライン信号となる。
The communication system is an asynchronous NRZ communication system, and when a station transmitting "1" and a station transmitting "0" exist on the transmission line 2 at the same time, "0" becomes a line signal.

伝送ライン2からラインレシーバ3で取り込まれたライ
ン信号Rは、受信信号としてCPU4に入力される。
また、アンド回路8及びエクスクルーシブオア回路18
に入力される。また、アイドル信号カウンタ9のクリア
入力信号となる。
The line signal R x captured by the line receiver 3 from the transmission line 2 is input to the CPU 4 as a reception signal.
Further, the AND circuit 8 and the exclusive OR circuit 18
Entered in. It also serves as a clear input signal for the idle signal counter 9.

CPU4の送信信号Uは、ノット回路5及びアンド回
路6を経てラインドライバ7に与えられ、ラインドライ
バ7は送出信号Tを伝送ライン2へ送出する。
The transmission signal U x of the CPU 4 is given to the line driver 7 via the knot circuit 5 and the AND circuit 6, and the line driver 7 sends the sending signal T x to the transmission line 2.

アンド回路8の出力信号は、ビット時間カウンタ13の
クリア入力端子に接続されている。
The output signal of the AND circuit 8 is connected to the clear input terminal of the bit time counter 13.

そこで、受信信号Rの立下がりエッジによって両カウ
ンタ9,13がクリアされる。
Therefore, both counters 9 and 13 are cleared by the falling edge of the reception signal R x .

アイドル信号カウンタ9がクリアされると、アイドル信
号I=「0」となり、ぞのアイドル信号Iはノット
回路10を介してアンド回路11に入力されているの
で、そのアンド回路11を通ってクロック信号がアイド
ル信号カウンタ9に入力され、カウントを開始する。そ
して、例えばビット・フレーム長よりも少し長いアイド
ル時間τ後にカウントアップしてアイドル信号I
「1」となる。
When the idle signal counter 9 is cleared, the idle signal I x becomes “0”, and since the idle signal I x is input to the AND circuit 11 via the knot circuit 10, it passes through the AND circuit 11. The clock signal is input to the idle signal counter 9 to start counting. Then, for example, after an idle time τ w that is slightly longer than the bit frame length, the idle signal I x =
It becomes "1".

アイドル信号I=「1」となると、アンド回路11で
クロック信号がカットされ、アイドル信号カウンタ9は
ホールド状態になる。また、カウント中はアンド回路8
でカットされていた受信信号Rがビット時間カウンタ
13に入力可能となる。
When the idle signal I x = “1”, the AND circuit 11 cuts the clock signal, and the idle signal counter 9 enters the hold state. Also, while counting, the AND circuit 8
The received signal R x that has been cut by can be input to the bit time counter 13.

アイドル信号Iは、CPU4に入力される。また、マ
スクフラグ17のリセット入力となり、その立上りエッ
ジでマスクフラグ17をリセットする。
The idle signal I x is input to the CPU 4. Further, it becomes a reset input of the mask flag 17, and the mask flag 17 is reset at the rising edge thereof.

さて、アンド回路8の出力信号の立下がりエッジがワン
ショット回路12に入力されると、時間τ後にパルス
を出力する。
Now, when the falling edge of the output signal of the AND circuit 8 is input to the one-shot circuit 12, a pulse is output after a time τ s .

また、アンド回路8の出力信号の立下がりエッジで、ク
リアされたビット時間カウンタ13は、アンド回路11
を通じて与えられるクロックでカウントを開始し、1ビ
ット時間τ毎にパルスを出力する。そのパルスは、ワン
ショット回路14に入力され、ワンショット回路14は
入力されるパルスの立上がりから時間τ後にパルスを
出力する。
Further, the bit time counter 13 cleared at the falling edge of the output signal of the AND circuit 8 is
Counting is started with a clock given through, and a pulse is output every 1-bit time τ. The pulse is input to the one-shot circuit 14, and the one-shot circuit 14 outputs the pulse after a time τ c from the rising edge of the input pulse.

ワンショット回路12及び14の出力パルスはオア回路
15を介して比較タイミング信号Cとなり、Dフリッ
プフロップ16のクロック入力となる。
The output pulses of the one-shot circuits 12 and 14 become the comparison timing signal C x via the OR circuit 15 and become the clock input of the D flip-flop 16.

一方、受信信号Rと、CPU4の送信信号Uとはエ
クスクルーシブオア回路18に入力され、その出力信号
たる比較信号Dは前記Dフリップフロップ16のD入
力となる。
On the other hand, the reception signal R x and the transmission signal U x of the CPU 4 are input to the exclusive OR circuit 18, and the output signal of the comparison signal D x is the D input of the D flip-flop 16.

そこで、Dフリップフロップ16は、比較タイミング信
号Cの立上がりエッジで比較信号Dを読み込む。
Therefore, the D flip-flop 16 reads the comparison signal D x at the rising edge of the comparison timing signal C x .

Dフリップフロップ16の否定側出力は、RSフリップ
フロップからなるマスクフラグ17のセット入力とな
る。リセット入力にはアイドル信号Iが入力される。
The output on the negative side of the D flip-flop 16 becomes the set input of the mask flag 17 formed of the RS flip-flop. The idle signal I x is input to the reset input.

マスクフラグ17は、セット入力への立下がりエッジで
セットされ、リセット入力への立ち上がりエッジでリセ
ットされる。その否定側出力は、CPU4に入力される
と共に、マスク信号Mとして前記アンド回路6に入力
される。
Mask flag 17 is set on the falling edge to the set input and reset on the rising edge to the reset input. The negative side output is input to the CPU 4 and also to the AND circuit 6 as the mask signal M x .

CPU4は、送信に際しては、アイドル信号I
「1」をチェックして伝送ライン2が使用されていない
ことを確認し、送信信号Uを出力する。そして、送信
信号Uを出力した後でマスク信号Mをチェックし、
マスクされていないければ送信が完了したと判断し、マ
スクされておれば送信が中止されたと判断し、再送信を
行う。
The CPU 4 transmits the idle signal I x =
Check "1" to confirm that the transmission line 2 is not used, and output the transmission signal U x . Then, after outputting the transmission signal U x , the mask signal M x is checked,
If it is not masked, it is determined that the transmission has been completed, and if it is masked, it is determined that the transmission has been stopped, and retransmission is performed.

この場合、エクスクルーシブオア回路18により比較手
段が、ワンショット回路12,14,ビット時間カウン
タ13及びオア回路15によりタイミング出力手段が、
更に、アンド回路6,Dフリップフロップ16及びマス
クフラグ17により送信制御手段がそれぞれ構成されて
いる。
In this case, the exclusive OR circuit 18 serves as the comparison means, and the one-shot circuits 12, 14 and the bit time counter 13 and the OR circuit 15 serve as the timing output means.
Further, the AND circuit 6, the D flip-flop 16 and the mask flag 17 constitute transmission control means.

次に、第2図を参照し、2つの局が同時に送信した場合
の作動を説明する。但し、2つの局はA局とB局とし、
A局の信号には添字aを付け、B局の信号には添字bを
付けて区別している。
Next, referring to FIG. 2, the operation when two stations simultaneously transmit will be described. However, the two stations are station A and station B,
The signal of the station A is attached with a subscript a, and the signal of the station B is attached with a subscript b.

A局は時刻tに送信を開始し、B局はそれより時間δ
だけ遅れた時刻tに送信を開始したものとする。但
し、δ<dとする。
Station A starts transmission at time t 0 , and station B starts transmission at time δ
It is assumed that the transmission is started at time t 1 delayed by one . However, δ 1 <d.

A局の送出信号Tは時刻tより伝送遅延時間dだけ
遅れた信号T′となり、B局に届く。一方、B局の送
出信号Tは時刻tより伝送遅延時間dだけ遅れた信
号T′となりA局に届く。
The transmission signal T a of the A station becomes a signal T a ′ delayed by the transmission delay time d from the time t 0 and reaches the B station. On the other hand, the transmission signal T b from the B station reaches the A station as a signal T b ′ delayed by the transmission delay time d from the time t 1 .

A局の受信信号Rは、自局の送出信号TとB局から
の信号T′の積信号となる。一方、B局における受信
信号Rは、自局の送出信号TとA局からの信号
′の積信号となる。
The reception signal R a of the A station is a product signal of the transmission signal T a of its own station and the signal T b ′ of the B station. On the other hand, the received signal R b in B station is a product signal of the signal T a 'from sending signal T b and A station of its own station.

A局における比較タイミング信号Cは、受信信号R
のスタートビットに対応する立下がりエッジから時間τ
後の第1のパルスと、前記立下がりエッジから時間τ
+τ後の第2のパルスと、前のパルスから時間τ毎の
第3以後のパルスである。
The comparison timing signal C a at the A station is the received signal R a
Time τ from the falling edge corresponding to the start bit of
the first pulse after s and time τ from the falling edge
The second pulse after + τ c and the third and subsequent pulses every time τ from the previous pulse.

ここで、次の関係が成立している。Here, the following relationships are established.

τ+2d<τ<τ 具体例を挙げれば、d=1μs,τ=10μs,τ
2.5μs、τ=7.5μsである。
τ s + 2d <τ c <τ To give a specific example, d = 1 μs, τ = 10 μs, τ s =
2.5 μs and τ c = 7.5 μs.

同様にB局でも、受信信号Rのスタートビットの立下
がりエッジから時間τ後に第1のパルス、時間τ+τ
後に第2のパルス、前のパルスから時間τ毎に第3以
後のパルスがある比較タイミング信号Cを発生してい
る。
Similarly, in station B, the first pulse, time τ + τ, is received after time τ s from the falling edge of the start bit of the received signal R b.
After c , the second pulse, and the comparison timing signal C b having the third and subsequent pulses is generated every time τ from the previous pulse.

比較タイミング信号C,Cの第1のパルスで比較さ
れるのはスタートビット相互である。即ち、この第1の
パルスまでに送信を開始しているものは以下のビット比
較による優先順位の判定対象となるが、これまでに送信
を開始していないものはもはや対象とならない。従っ
て、時間τを大きくすればビット比較による優先順位
判断の対象が広がり、時間τを小さくすれば対象が少
なくなって最先に送信を開始したものが優位になる方式
に近づくこととなる。
The start pulses are compared with each other in the first pulse of the comparison timing signals C a and C b . That is, those that have started transmission by this first pulse are subject to priority determination by the following bit comparison, but those that have not yet started transmission are no longer subject. Therefore, if the time τ s is increased, the targets of priority order determination by bit comparison are expanded, and if the time τ s is decreased, the targets are decreased and the one that starts the transmission first becomes dominant. .

比較タイミング信号C,Cの第2のパルス以下は、
優先順位コードの対応ビットを適正に比較するタイミン
グを得るものである。自局から見たとき、相手局は自局
の送信開始時刻よりも時間τ+dだけ遅れて送信を開
始することができ(後述するように、遅れて送信を開始
することができる最大時間はτ+dである。)、その
相手局の送出信号が自局に到達するのに伝送遅延時間d
を要するから、時間τ+2dだけ対応ビットが時間的
にずれる可能性がある。従って、τ+2d<τの関
係が成立すべきなのである。
Below the second pulse of the comparison timing signals C a and C b ,
This is to obtain the timing for properly comparing the corresponding bits of the priority code. From the perspective of the own station, the partner station can start the transmission by a time τ s + d later than the transmission start time of the own station (as will be described later, the maximum time that can start the transmission later is τ s + d), and the transmission delay time d for the transmission signal of the partner station to reach its own station.
Therefore, there is a possibility that the corresponding bits may be temporally displaced by the time τ s + 2d. Therefore, the relationship of τ s + 2d <τ c should be established.

さて、上記A局とB局の関係に戻ると、各局の比較タイ
ミング信号C,Cの第1のパルスの時点ではスター
トビット相互の比較がなされ、優劣はない。そこで両局
とも送信信号U,Uの送出を継続する。
Now, returning to the relationship between the stations A and B, the start bits are compared with each other at the time of the first pulse of the comparison timing signals C a and C b of each station, and there is no merit. Therefore, both stations continue to transmit the transmission signals U a and U b .

第2のパルスのタイミングでは、A局の比較信号D
「1」で不一致を示している。このため、マスク信号M
が出力され、送信信号Uの送出がアンド回路6によ
って中止される。一方、B局では、比較信号D
「0」で一致しているから、送信信号Uの送出が継続
される。
At the timing of the second pulse, the comparison signal D a of station A =
"1" indicates disagreement. Therefore, the mask signal M
a is output, and the sending of the transmission signal U a is stopped by the AND circuit 6. On the other hand, at the station B, the comparison signal D b =
Since they match with “0”, the transmission of the transmission signal U b is continued.

かくして、A局とB局の関係では、第0ビットa,b
の比較によって優先順位が決定される。送出を中止し
たA局は、B局からの信号T′の送出終了後にアイド
ル信号I=「1」となったことを確認し、再送信を行
うことになる。
Thus, in the relation between the A station and the B station, the 0th bit a 0 , b
The comparison of 0s determines the priority. The station A, which has stopped the transmission, confirms that the idle signal I a = “1” has been obtained after the transmission of the signal T b ′ from the station B is completed, and retransmits.

上記説明では、A局とB局の送信開始のずれ時間δ<d
の場合を想定していたが、d≦δ<τ+dの場合も同
様である。
In the above description, the shift start time δ <d between station A and station B δ <d
However, the same applies to the case of d ≦ δ <τ s + d.

しかし、τ+d≦δの場合は、第3図のようになる。
即ち、第3図は、A局の送信開始時刻tから時間δ
だけ遅れた時刻tにB局が送信を開始した場合である
が、τ+d<δであるから、B局における比較タイ
ミング信号Cの第1のパルスによってマスク信号M
が発生し、送信信号Uの送出が中心されてしまう。従
って、ビット比較による優先順位の判断対象となること
ができず、B局はA局の送信終了後に送信を行う必要が
ある。
However, when τ s + d ≦ δ, the result is as shown in FIG.
That is, FIG. 3 shows that from the transmission start time t 0 of station A, time δ 2
Although delayed by a time t 2 to B station is a case where transmission is started, τ s + d <δ Since a 2, a first pulse mask signal by M b of the comparison timing signal C b in B station
Occurs, and the transmission of the transmission signal U b is centered. Therefore, it cannot be the target of priority determination by bit comparison, and station B needs to perform transmission after station A completes transmission.

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

本発明によれば、複数の局が共通の伝送ラインで結ば
れ、調歩同期式で相互に通信し、伝送ラインに「1」を
送出する局と「0」を送出する局とが同時に存在すると
きには「0」がライン信号となる通信システムにおい
て、自己の送信信号のレベルと受信したライン信号のレ
ベルとを比較して両信号のレベルの一致,不一致を検出
する比較手段と、ライン信号のスタートビツトの立下が
りから時間τ後及び時間τ+τ(但し、τ+2d
<τ<τの関係があり、dは伝送遅延時間,τは1ビ
ット時間である。)後に比較タイミング信号を出力する
タイミング出力手段と、比較タイミング信号の入力時に
比較手段の出力が一致を検出していれば送信信号の送出
を許容し不一致を検出していれば中止する送信制御手段
とを少なくとも有する局が1局以上設けたことを特徴と
する通信システムが提供され、これにより2以上の局の
送信信号に時間的ずれがあった場合でも適正なタイミン
グで対応するビットの比較を行うことが出来るから、ビ
ット比較方式による優先順位の決定を好適に行うことが
出来るようになる。
According to the present invention, a plurality of stations are connected by a common transmission line, communicate with each other in an asynchronous manner, and a station that sends "1" and a station that sends "0" simultaneously exist on the transmission line. In a communication system in which sometimes "0" is a line signal, a comparison unit that compares the level of a transmission signal of itself with the level of a received line signal to detect a match or mismatch between the levels of both signals, and a start of the line signal Time τ s after the falling of the bit and time τ + τ c (however, τ s + 2d
c <τ, where d is a transmission delay time and τ is a 1-bit time. ) A timing output means for outputting a comparison timing signal later, and a transmission control means for permitting transmission of a transmission signal if the output of the comparison means detects a match when the comparison timing signal is input, and a transmission control means for canceling if a mismatch is detected There is provided a communication system characterized in that at least one station having at least one is provided, whereby even if there is a time lag in the transmission signals of two or more stations, the corresponding bits can be compared at appropriate timings. Since it can be performed, it becomes possible to preferably determine the priority order by the bit comparison method.

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

第1図は本発明の一実施例の通信システムの一つの局の
要部ブロック図、第2図及び第3図は第1図に示す通信
システムの作動を説明するためのタイムチャートであ
る。 (符号の説明) 1……通信システム 2……伝送ライン、3……ラインレシーバ 4……CPU、6……アンド回路 7……ラインドライバ 9……アイドル信号カウンタ 12……ワンショット回路 13……ビット時間カウンタ 14……ワンショット回路 15……アオ回路、16……Dフリップフロップ 17……マスクフラグ 18……エクスクルーシブオア回路 U……送信信号、T……送出信号 R……受信信号、I……アイドル信号 C……比較タイミング信号 D……比較信号、M……マスク信号。
FIG. 1 is a block diagram of an essential part of one station of a communication system according to an embodiment of the present invention, and FIGS. 2 and 3 are time charts for explaining the operation of the communication system shown in FIG. (Description of symbols) 1 ... communication system 2 ... transmission line 3 ... line receiver 4 ... CPU, 6 ... AND circuit 7 ... line driver 9 ... idle signal counter 12 ... one-shot circuit 13 ... Bit time counter 14 One-shot circuit 15 Ao circuit 16 D flip-flop 17 Mask flag 18 Exclusive OR circuit U x Transmission signal T x Transmission signal R x Received signal, I x ... idle signal C x ... comparison timing signal D x ... comparison signal, M x ... mask signal.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】複数の局が共通の伝送ラインで結ばれ、調
歩同期式で相互に通信し、伝送ラインに「1」を送出す
る局と「0」を送出する局とが同時に存在するときには
「0」がライン信号となる通信システムにおいて、 自己の送信信号のレベルと受信したライン信号のレベル
とを比較して両信号のレベルの一致,不一致を検出する
比較手段と、ライン信号のスタートビットの立下がりか
ら時間τ後及び時間τ+τ(但し、τ+2d<τ
<τの関係があり、dは伝送遅延時間,τは1ビット
時間である。)後に比較タイミング信号を出力するタイ
ミング出力手段と、比較タイミング信号の入力時に比較
手段の出力が一致を検出していれば送信信号の送出を許
容し不一致を検出していれば中止する送信制御手段とを
少なくとも有する局を1局以上設けたことを特徴とする
通信システム。
1. When a plurality of stations are connected by a common transmission line and communicate with each other in an asynchronous manner, and a station transmitting "1" and a station transmitting "0" exist simultaneously on the transmission line. In a communication system in which "0" is a line signal, comparing means for comparing the level of its own transmission signal with the level of the received line signal to detect a match or mismatch between the levels of both signals, and a start bit of the line signal Time τ s after the fall of τ and time τ + τ c (where τ s + 2d <τ
There is a relationship of c <τ, d is a transmission delay time, and τ is a 1-bit time. ) A timing output means for outputting a comparison timing signal later, and a transmission control means for permitting transmission of a transmission signal if the output of the comparison means detects a match when the comparison timing signal is input, and a transmission control means for canceling if a mismatch is detected A communication system comprising at least one station having at least
JP22238187A 1987-09-04 1987-09-04 Communications system Expired - Lifetime JPH0624373B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22238187A JPH0624373B2 (en) 1987-09-04 1987-09-04 Communications system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22238187A JPH0624373B2 (en) 1987-09-04 1987-09-04 Communications system

Publications (2)

Publication Number Publication Date
JPS6465946A JPS6465946A (en) 1989-03-13
JPH0624373B2 true JPH0624373B2 (en) 1994-03-30

Family

ID=16781464

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22238187A Expired - Lifetime JPH0624373B2 (en) 1987-09-04 1987-09-04 Communications system

Country Status (1)

Country Link
JP (1) JPH0624373B2 (en)

Also Published As

Publication number Publication date
JPS6465946A (en) 1989-03-13

Similar Documents

Publication Publication Date Title
US4719458A (en) Method of data arbitration and collision detection in a data bus
US4757460A (en) Communications network with individualized access delays
US4549297A (en) Data retransmitting system
US4561092A (en) Method and apparatus for data communications over local area and small area networks
JPH0752877B2 (en) Serial data bus for inter-module data communication
US5430843A (en) Data transmission system and method for transmitting data having real-time and non-real-time characteristics
US4564838A (en) Data communication network and method of communication
JPS58502130A (en) local area logical network system
CA1278871C (en) Method of data arbitration and collision detection on a data bus
JPH04352533A (en) Packet retransmission system for satellite communication system in slot aloha system
JPS58119247A (en) Data communication system
EP0268664B1 (en) A method of coupling a data transmitter unit to a signal line and an apparatus for performing the invention
JPH0624373B2 (en) Communications system
WO1983003507A1 (en) Data communication network and method of communication
JP2541492B2 (en) Microprocessor remote reset method
JPS59168737A (en) Multi-drop transmission system
JPS63138826A (en) Data transmission system
JPH09130382A (en) Polling communication method
JP2544860B2 (en) Signal transmission method
JPS60152153A (en) Bi-directional repeater
JP2733405B2 (en) Signal transmission method of multiplex transmission system
JPS592461A (en) Virtual synchronism preventing system
JPS6248831A (en) Communication control device
JPS5847350A (en) Data communication method
JP2886273B2 (en) Communication control device