JPH053478A - Multiplex communication controller - Google Patents
Multiplex communication controllerInfo
- Publication number
- JPH053478A JPH053478A JP3153069A JP15306991A JPH053478A JP H053478 A JPH053478 A JP H053478A JP 3153069 A JP3153069 A JP 3153069A JP 15306991 A JP15306991 A JP 15306991A JP H053478 A JPH053478 A JP H053478A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- communication
- multiplex communication
- transmission
- control circuit
- 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
Links
Landscapes
- Small-Scale Networks (AREA)
Abstract
(57)【要約】
【目的】 回路の規模を小さくすることが出来、伝送速
度の向上を容易に行なうことが出来、かつ通信終了時間
の確定性があって一定の時間を保証することが出来る、
多重通信制御装置を提供する。
【構成】 送信制御回路18は、キャリアセンス検出回
路3がキャリアセンスを検出しなければ送信を開始する
ことが出来、キャリアセンスがあればアイドル検出回路
15がアイドルを検出するまでは送信することが出来
ず、衝突したら優勢状態の信号(“1”)を出力した後
に送信を中止し、アイドルを検出するまでは再送信する
ことが出来ない構成であり、受信制御回路17は、SO
Mを検出したら受信を開始する構成であるところの複数
の多重通信制御回路23が多重通信バス1に接続された
構成。
(57) [Abstract] [Purpose] The circuit scale can be reduced, the transmission speed can be improved easily, and there is determinism of the communication end time, and a fixed time can be guaranteed. ,
A multiplex communication control device is provided. The transmission control circuit 18 can start transmission unless the carrier sense detection circuit 3 detects carrier sense, and if there is carrier sense, transmission can be performed until the idle detection circuit 15 detects idle. If it cannot, and if it collides, it outputs a dominant signal ("1"), then stops transmission, and cannot re-transmit until idle is detected.
A configuration in which a plurality of multiplex communication control circuits 23, which are configured to start reception when M is detected, are connected to the multiplex communication bus 1.
Description
【0001】[0001]
【産業上の利用分野】この発明は、いわゆるCSMA/
CD( Carrier Sense Multiple Access/Collision De
tection:キャリア検知多重アクセス/衝突検出)伝送
方式を用いた多重通信制御装置に関する。BACKGROUND OF THE INVENTION The present invention relates to so-called CSMA /
CD (Carrier Sense Multiple Access / Collision De)
tection: Carrier detection multiple access / collision detection) The present invention relates to a multiplex communication control device using a transmission method.
【0002】[0002]
【従来の技術】従来のCSMA/CD方式の多重通信制
御装置としては、例えば「“情報ネットワークの理論”
岩波講座 情報科学−5」に記載されているものがあ
る。2. Description of the Related Art A conventional CSMA / CD type multiplex communication control device is, for example, "" Theory of Information Network ".
Iwanami Course Information Science-5 ”.
【0003】図7は上記のごとき従来装置の全体構成を
示すブロック図である。図7において、1は多重通信バ
スであり、複数の多重通信制御回路22が多重通信バス
1に接続されて多重通信制御装置を形成している。ま
た、図3(b)は上記の多重通信装置における通信信号
の通信フォーマットを示す図であり、SD信号は通信信
号の最初に現われ、通信の開始を示す信号、EOM(En
d ofMessage)信号はメッセージの終了を示す信号であ
る。FIG. 7 is a block diagram showing the overall configuration of the conventional device as described above. In FIG. 7, reference numeral 1 denotes a multiplex communication bus, and a plurality of multiplex communication control circuits 22 are connected to the multiplex communication bus 1 to form a multiplex communication control device. Further, FIG. 3B is a diagram showing a communication format of a communication signal in the above-mentioned multiplex communication apparatus. The SD signal appears at the beginning of the communication signal and indicates the start of communication, EOM (En
The d of Message) signal is a signal indicating the end of the message.
【0004】図8は、上記の多重通信制御回路22の構
成を示すブロック図である。この多重通信制御装置は、
一般的な勝ち残り式CSMA/CD方式の多重通信制御
装置である。図8に示す多重通信制御回路22におい
て、一般的にフィジカルレイヤと呼ばれるバスインター
フェイス回路6は、多重通信バス1の状態及び他からの
通信信号を受信信号14に変換して出力し、また、自己
の送信信号13を通信信号に変換して多重通信バス1上
に出力する。また、アイドル検出回路2は、受信信号1
4から或る一定時間のアイドル(多重通信バス上に通信
信号が存在しない状態)であるIMS(Inter Message
Separation)を検出し、アイドル信号9を送信制御回路
8へ出力する。また、キャリアセンス検出回路3は、受
信信号14からキャリアセンス(多重通信バス上に通信
信号が存在する状態)を検出し、キャリアセンス信号1
0を送信制御回路8に出力する。そして送信制御回路8
は、上記アイドル信号9を入力し、キャリアセンス信号
10を入力していないときは、任意のタイミングで何時
でも送信信号13をバスインターフェイス回路6に出力
でき、多重通信バス1上へ通信信号として送信し始める
ことが出来る。FIG. 8 is a block diagram showing the configuration of the multiplex communication control circuit 22 described above. This multiplex communication control device
This is a general win-win CSMA / CD multiplex control device. In the multiplex communication control circuit 22 shown in FIG. 8, the bus interface circuit 6, which is generally called a physical layer, converts the state of the multiplex communication bus 1 and communication signals from the other into a reception signal 14 and outputs the received signal 14. 1 is converted into a communication signal and output to the multiplex communication bus 1. In addition, the idle detection circuit 2 receives the received signal 1
4 is an idle (a state in which there is no communication signal on the multiplex communication bus) for a certain fixed time from IMS (Inter Message)
Separation), and outputs the idle signal 9 to the transmission control circuit 8. Further, the carrier sense detection circuit 3 detects carrier sense (a state in which a communication signal exists on the multiplex communication bus) from the received signal 14, and the carrier sense signal 1
0 is output to the transmission control circuit 8. And the transmission control circuit 8
When the idle signal 9 is input and the carrier sense signal 10 is not input, the transmission signal 13 can be output to the bus interface circuit 6 at any timing and transmitted as a communication signal onto the multiplex communication bus 1. You can start doing.
【0005】また、衝突検知回路5は多重通信バス1上
に送信制御回路8が送信した通信信号と上記多重通信バ
ス1上から受信された通信信号とを比較して多重通信バ
ス1上での通信信号の衝突を検出する。そして、上記の
ようにして送信制御回路8が図3(b)に示す通信信号
のアビトレーション信号を送信信号13として送信中
に、衝突検知回路5が多重通信バス1上での通信信号の
衝突を検知した(優先順位によって衝突で負けた)場合
には、衝突検知回路5は衝突信号11を送信制御回路8
へ出力する。この衝突信号11が与えられると、送信制
御回路8は直ちに送信を中止する。その後、アイドル検
出回路3が上記IMSを検出した場合には送信制御回路
8は多重通信バス1上へ通信信号を再送信することが出
来る。また、アイドル検出回路2が上記IMSを検出し
た後に、SD検出回路4がSD信号(通信信号の最初に
現われ、通信の開始を示す信号)を検出して、受信開始
信号12を受信制御回路7に出力することにより、受信
制御回路7は上記多重通信バス1上からの通信信号を受
信する。Further, the collision detection circuit 5 compares the communication signal transmitted by the transmission control circuit 8 on the multiplex communication bus 1 with the communication signal received from the multiplex communication bus 1 to compare the multiplex communication bus 1 on the multiplex communication bus 1. Detects collision of communication signals. The collision detection circuit 5 collides with the communication signal on the multiplex communication bus 1 while the transmission control circuit 8 is transmitting the arbitration signal of the communication signal shown in FIG. 3B as the transmission signal 13 as described above. When the collision detection circuit 5 detects that (the player has lost due to a collision according to the priority order), the collision detection circuit 5 outputs a collision signal 11 to the transmission control circuit 8
Output to. When the collision signal 11 is given, the transmission control circuit 8 immediately stops the transmission. After that, when the idle detection circuit 3 detects the IMS, the transmission control circuit 8 can retransmit the communication signal to the multiplex communication bus 1. Further, after the idle detection circuit 2 detects the IMS, the SD detection circuit 4 detects an SD signal (a signal that appears at the beginning of the communication signal and indicates the start of communication), and the reception start signal 12 is received. The reception control circuit 7 receives the communication signal from the multiplex communication bus 1.
【0006】[0006]
【発明が解決しようとする課題】しかし、上記のような
従来の多重通信制御装置においては、 (1)或る多重通信制御回路A内の送信制御回路Aが通
信信号を送信した時に、他の多重通信制御回路B内の送
信制御回路Bが通信信号を同時期に送信し、送信制御回
路Aが衝突に負けた場合には、送信制御回路Aは直ちに
送信を中止し、送信制御回路Bが衝突に勝ち残って通信
信号を送信し続けるため、多重通信制御回路A内の受信
制御回路Aは常に通信信号を受信しているように構成さ
れている。そのため、受信制御回路Aと送信制御回路A
は、完全に独立して同時に作動しなければならないの
で、共通部分を1つの回路にまとめることが出来ず、ま
た、送信制御回路Aと受信制御回路Aとの同期をとる必
要があるため、回路が複雑で大規模なものになる、とい
う問題があった。However, in the conventional multiplex communication control device as described above, (1) when a transmission control circuit A in a certain multiplex communication control circuit A transmits a communication signal, another When the transmission control circuit B in the multiplex communication control circuit B transmits the communication signal at the same time and the transmission control circuit A loses the collision, the transmission control circuit A immediately stops the transmission and the transmission control circuit B The reception control circuit A in the multiplex communication control circuit A is configured to always receive the communication signal in order to survive the collision and continue to transmit the communication signal. Therefore, the reception control circuit A and the transmission control circuit A
Must operate completely independently and at the same time, the common part cannot be integrated into one circuit, and the transmission control circuit A and the reception control circuit A must be synchronized. Was complicated and large-scale.
【0007】(2)複数の多重通信制御回路が同時期に
通信信号を送信した場合には、通信信号の衝突が発生
し、最も優勢な通信信号が勝ち残る。そのため、複数の
通信信号が衝突した結果として現われる合成された波形
が正常な波形として多重通信バス1上で成立する必要が
あるので、バスインターフェイス回路6の電気的特性に
依存する通信信号の伝送遅延がその波形成立の条件に関
係することから、伝送速度の限界が決められてしまい、
伝送速度の速度向上の障害要因となるという問題があっ
た。(2) When a plurality of multiplex communication control circuits transmit communication signals at the same time, collision of communication signals occurs, and the most dominant communication signal remains. Therefore, the combined waveform that appears as a result of the collision of a plurality of communication signals needs to be established as a normal waveform on the multiplex communication bus 1. Therefore, the transmission delay of the communication signal depends on the electrical characteristics of the bus interface circuit 6. Is related to the condition for the waveform to be established, the limit of the transmission speed is decided,
There is a problem that it becomes an obstacle to the improvement of the transmission speed.
【0008】(3)或る多重通信制御回路が通信信号を
送信し、衝突が発生して衝突に負けた場合には、その多
重通信制御回路の送信制御回路8は通信信号の送信を中
止し、アイドル検出回路2が上記IMSを検出した後
に、その送信制御回路8が通信信号を再送信する。しか
し、この再送信の際に、再び衝突して負ける可能性があ
るため、いつまでに伝送が終了するのかを予想すること
が出来ず、優先順位の低い通信信号を送信した多重通信
制御回路の通信の終了が非常に遅れてしまう可能性があ
り、通信に必要な最大時間を多重通信制御装置として保
証することができないという問題があった。(3) When a certain multiplex communication control circuit transmits a communication signal and a collision occurs and loses the collision, the transmission control circuit 8 of the multiplex communication control circuit stops the transmission of the communication signal. After the idle detection circuit 2 detects the IMS, the transmission control circuit 8 retransmits the communication signal. However, at the time of this re-transmission, there is a possibility of colliding and losing, so it is not possible to predict when the transmission will end, and the communication of the multiplex communication control circuit that has transmitted the low-priority communication signal However, there is a problem in that the maximum time required for communication cannot be guaranteed as the multiplex communication control device.
【0009】本発明は上記のごとき従来技術の問題を解
決するためになされたものであり、回路の規模を小さく
することが出来、伝送速度の向上を容易に行なうことが
出来、かつ通信終了時間の確定性があって一定の時間を
保証することが出来る、多重通信制御装置を提供するこ
とを目的とする。The present invention has been made in order to solve the problems of the prior art as described above, the circuit scale can be reduced, the transmission speed can be easily improved, and the communication end time can be improved. It is an object of the present invention to provide a multiplex communication control device capable of guaranteeing a certain time with certainty.
【0010】[0010]
【課題を解決するための手段】上記の目的を達成するた
め、本発明においては、特許請求の範囲に記載するよう
に構成している。すなわち、本発明においては、アイド
ル検出回路が或る一定時間のアイドルであるTGEを検
出し、かつキャリアセンス検出回路がキャリアセンスを
検出しない場合は、送信制御回路は任意のタイミングで
通信信号の送信を開始することが出来る。また、送信制
御回路が通信信号を送信中に、衝突検知回路が多重通信
バス上での通信信号の衝突を検知した場合には、上記送
信制御回路が多重通信バス上に、或る一定期間の優性状
態(例えば“1”)の通信信号を送信した後に送信を中
止する。そして、上記TGEよりも小さく、かつ各多重
通信制御回路毎に異なる長さに決められた、或る一定時
間のアイドルであるTGnを上記アイドル検出回路が検
出すると、上記送信制御回路が多重通信バス上へ通信信
号を再送信する。また、上記送信制御回路が送信中また
は再送信中でなければ、通信信号の最初に現われ、通信
の開始を示す信号であって上記多重通信バス上にそれと
同じ波形がその信号以外には存在しない信号であるとこ
ろの、SOM(Start of Message)信号を検出する通信
開始信号検出回路(後記SOM検出回路16に相当)は
常時、上記SOM信号を検出することが可能であり、上
記通信開始信号検出回路が上記SOM信号を検出するこ
とにより、どんな状態からもリセットされ、受信制御回
路が多重通信バス上からの通信信号の受信を開始するこ
とが出来るように構成している。In order to achieve the above object, the present invention is constructed as described in the claims. That is, in the present invention, when the idle detection circuit detects TGE which is idle for a certain fixed time and the carrier sense detection circuit does not detect carrier sense, the transmission control circuit transmits the communication signal at an arbitrary timing. You can start. In addition, when the collision detection circuit detects a collision of the communication signal on the multiplex communication bus while the transmission control circuit is transmitting the communication signal, the transmission control circuit may detect the collision of the multiplex communication bus on the multiplex communication bus for a certain period of time. After transmitting the communication signal in the dominant state (for example, “1”), the transmission is stopped. When the idle detection circuit detects TGn, which is smaller than the TGE and has a different length for each multiplex communication control circuit and is idle for a certain fixed time, the transmission control circuit causes the multiplex communication bus to operate. Retransmit communication signal up. If the transmission control circuit is not transmitting or retransmitting, the signal appears at the beginning of the communication signal and indicates the start of communication, and the same waveform as that on the multiplex communication bus does not exist other than the signal. A communication start signal detection circuit (corresponding to the SOM detection circuit 16 described later) that detects an SOM (Start of Message) signal, which is a signal, can always detect the SOM signal. When the circuit detects the SOM signal, it is reset from any state, and the reception control circuit can start receiving a communication signal from the multiplex communication bus.
【0011】[0011]
【作用】上記のように構成したことにより、本発明にお
いては、多重通信バス上で通信信号の衝突が発生した場
合に、衝突に勝ち残る多重通信制御回路がなくなる。そ
して多重通信バス上で通信信号の衝突があった場合に
は、衝突に参加したすべての多重通信制御回路が衝突を
検出して再送信を行い、かつ、再送信の際には、衝突に
参加しなかった多重通信制御回路は、衝突に参加した多
重通信制御回路が再送信を全て終了するまでは送信を開
始することが出来ず、しかも衝突に参加した多重通信制
御回路だけの中で上記TGnの小さい順に、通信信号が
2次衝突を起こさずに再送信を行なうことが出来る。し
たがって、多重通信制御回路は、受信もしくは送信のど
ちらか一方の状態になり、両方の状態となることがない
ので、送信制御回路と受信制御回路の共通部分を1つに
まとめることが出来、また、送信制御回路と受信制御回
路の同期を取る必要がないので、回路の規模を小さくす
ることが出来る。また、衝突が発生した場合では、それ
以降の通信信号は成立する必要がないので、伝送速度の
向上を容易に行なうことが出来る。また、通信に必要な
最大の時間が有限になるので、通信終了時間の確定性が
あり、一定の時間を保証することが出来る。With the above-mentioned structure, in the present invention, when a communication signal collision occurs on the multiplex communication bus, there is no multiplex communication control circuit that survives the collision. When there is a collision of communication signals on the multiplex communication bus, all the multiplex communication control circuits that participated in the collision detect the collision and retransmit, and when retransmitting, participate in the collision. The multiplex communication control circuit that did not do so cannot start transmission until the multiplex communication control circuit that participated in the collision completes all retransmissions. Can be retransmitted without causing secondary collision of communication signals. Therefore, since the multiplex communication control circuit is in either the receiving state or the transmitting state and is not in the both states, the common portion of the transmitting control circuit and the receiving control circuit can be combined into one, and Since there is no need to synchronize the transmission control circuit and the reception control circuit, the circuit scale can be reduced. Further, when a collision occurs, it is not necessary to establish communication signals after that, so that the transmission rate can be easily improved. Also, since the maximum time required for communication is finite, the communication end time is deterministic, and a fixed time can be guaranteed.
【0012】[0012]
【発明の実施例】図1は、本発明の一実施例のブロック
図であり、多重通信バス1に複数の多重通信制御回路2
3が接続された多重通信制御装置の全体の構成を示して
いる。FIG. 1 is a block diagram of an embodiment of the present invention, in which a plurality of multiplex communication control circuits 2 are provided on a multiplex communication bus 1.
3 shows the overall configuration of the multiplex communication control device to which 3 is connected.
【0013】また、図2は上記多重通信制御回路23の
一実施例のブロック図である。図2において、キャリア
センスを検出するキャリアセンス検出回路3、通信信号
の衝突を検出する衝突検知回路5およびバスインターフ
ェイス回路6の部分は、前記図8と同様である。また、
アイドル検出回路15は、或る一定時間のアイドルであ
るTGEを検出してアイドル信号19を出力し、また、
上記TGEよりも小さく、かつ各多重通信制御回路毎に
異なった長さに決められた、或る一定時間のアイドルで
あるTGnを検出して再送信開始信号20を出力する。
また、SOM検出回路16は、通信信号の中で特徴的な
信号であり、多重通信バス1上にそれと同じ波形がその
信号以外には存在しない信号であって、通信信号の最初
に現われ、通信の開始を示す信号であるSOM(Start
of Message)信号〔図3の(a)参照〕を検出し、受信
開始信号12を出力する。また、受信制御回路17は、
受信開始信号12を入力し、通信信号の受信を制御す
る。また、送信制御回路18は、キャリアセンス信号1
0、衝突信号11、アイドル信号19および再送信開始
信号20を入力し、通信信号13の送信を制御する。FIG. 2 is a block diagram of an embodiment of the multiplex communication control circuit 23. 2, the parts of the carrier sense detection circuit 3 for detecting carrier sense, the collision detection circuit 5 for detecting collision of communication signals, and the bus interface circuit 6 are the same as those in FIG. Also,
The idle detection circuit 15 detects an idle TGE for a certain period of time, outputs an idle signal 19, and
A retransmission start signal 20 is output by detecting a TGn that is smaller than the above TGE and has a different length for each multiplex communication control circuit and is idle for a certain fixed time.
The SOM detection circuit 16 is a characteristic signal among the communication signals, and the same waveform as that on the multiplex communication bus 1 does not exist other than that signal. SOM (Start
of Message) signal (see (a) of FIG. 3) is detected, and a reception start signal 12 is output. Also, the reception control circuit 17
The reception start signal 12 is input to control the reception of communication signals. In addition, the transmission control circuit 18 uses the carrier sense signal 1
0, a collision signal 11, an idle signal 19 and a retransmission start signal 20 are input to control the transmission of the communication signal 13.
【0014】また、この多重通信制御装置においては、
全ての多重通信制御回路23が通信信号を送信していな
いか、もしくは全ての多重通信制御装置23が通信信号
“0”を送信している状態であるアイドルと、いずれか
の多重通信制御装置23が通信信号“1”を送信してい
る状態であるアクティブの2つの状態を持っている。な
お、通信信号“1”を優勢状態の信号とし、通信信号
“0”を劣性状態の信号として説明するが、“0”を優
勢状態の信号とし、“1”を劣性状態の信号とすること
も出来る。Further, in this multiplex communication control device,
One of the multiplex communication control devices 23 is idle, in which all the multiplex communication control circuits 23 are not transmitting communication signals or all the multiplex communication control devices 23 are transmitting communication signals “0”. Has two states, active, which is the state in which it is transmitting the communication signal "1". Note that the communication signal “1” will be described as a dominant signal and the communication signal “0” will be described as a recessive signal. However, “0” will be a dominant signal and “1” will be a recessive signal. You can also
【0015】次に作用を説明する。多重通信制御回路2
3において、バスインターフェイス回路6は多重通信バ
ス1上の状態及び通信信号を受信信号14に変換して出
力し、また送信信号13を通信信号に変換して多重通信
バス1上に出力する。また、送信制御回路18は、アイ
ドル検出回路15からアイドル信号19を入力し、キャ
リアセンス検出回路3からキャリアセンス信号10を入
力しない場合は、任意のタイミングで何時でも送信信号
13をバスインターフェイス回路6へ出力し、多重通信
バス1上への通信信号の送信を開始することが出来る。
送信制御回路18が通信信号を送信中に、衝突検知回路
5が多重通信バス1上での通信信号の衝突を検知した場
合には、衝突検知回路5が衝突信号11を送信制御回路
18へ出力する。Next, the operation will be described. Multiplex communication control circuit 2
3, the bus interface circuit 6 converts the state and the communication signal on the multiplex communication bus 1 into a reception signal 14 and outputs it, and also converts the transmission signal 13 into a communication signal and outputs it onto the multiplex communication bus 1. Further, when the idle signal 19 is input from the idle detection circuit 15 and the carrier sense signal 10 is not input from the carrier sense detection circuit 3, the transmission control circuit 18 outputs the transmission signal 13 at any timing at any time. , And the transmission of the communication signal on the multiplex communication bus 1 can be started.
If the collision detection circuit 5 detects a collision of the communication signal on the multiplex communication bus 1 while the transmission control circuit 18 is transmitting the communication signal, the collision detection circuit 5 outputs the collision signal 11 to the transmission control circuit 18. To do.
【0016】送信制御回路18は、衝突信号11を受け
ると多重通信バス1上に或る一定期間(詳細後述)のあ
いだ優性状態の通信信号“1”を送信した後、送信を中
止する。そしてアイドル検出回路15が上記TGnを検
出して再送信開始信号20を送信制御回路18へ出力す
ると、送信制御回路18が多重通信バス1上へ通信信号
を再送信することが出来る。また、送信制御回路18は
送信信号を送信中または再送信中であれば、受信禁止信
号21をSOM検出回路16へ出力する。この受信禁止
信号21が出力されていなければ、SOM検出回路16
が上記SOM信号を検出して受信開始信号12を受信制
御回路17へ出力することにより、受信制御回路17が
多重通信バス1上からの通信信号の受信を開始する。When the transmission control circuit 18 receives the collision signal 11, the transmission control circuit 18 transmits the dominant state communication signal "1" on the multiplex communication bus 1 for a certain period (details will be described later), and then stops the transmission. When the idle detection circuit 15 detects the TGn and outputs the retransmission start signal 20 to the transmission control circuit 18, the transmission control circuit 18 can retransmit the communication signal onto the multiplex communication bus 1. Further, the transmission control circuit 18 outputs the reception prohibition signal 21 to the SOM detection circuit 16 when the transmission signal is being transmitted or is being retransmitted. If the reception prohibition signal 21 is not output, the SOM detection circuit 16
Detects the SOM signal and outputs the reception start signal 12 to the reception control circuit 17, whereby the reception control circuit 17 starts receiving the communication signal from the multiplex communication bus 1.
【0017】次に、図4は受信動作のフローチャート、
図5は送信動作のフローチャートである。また、下記表
1は多重通信制御回路23が8つの場合(ノード1〜ノ
ード8)のTGnの値の例を示す表である。Next, FIG. 4 is a flow chart of the receiving operation,
FIG. 5 is a flowchart of the transmission operation. Further, Table 1 below is a table showing an example of the value of TGn when the multiplex communication control circuit 23 is eight (node 1 to node 8).
【0018】[0018]
【表1】 [Table 1]
【0019】以下、図5に示した送信時における動作の
概要を説明する。 (1)多重通信制御回路23は、多重通信バス1を常時
モニタし、多重通信バス1上に通信信号がなければ(多
重通信バス1がアイドル状態ならば)、任意のタイミン
グで通信信号を送信することが出来る。 (2)アイドル状態から多重通信バス上に一度でも通信
信号を送出した多重通信制御回路23は上記TGEを検
出しない限り、送信はできない。 (3)送信を開始した多重通信制御回路23は、通信フ
ォーマットのアビトレーション信号までは通信信号を無
条件に出力し、このアビトレーション信号を送信中に衝
突を検知する。 (4)衝突を検知した多重通信制御回路23は、アビト
レーション信号の送信し終る期間までは、“1”を出力
し、アビトレーション信号以降の信号は送信を中止して
通信信号の送信を終了する。そして、上記TGnを検出
しない限り、再送信はできない。The outline of the operation at the time of transmission shown in FIG. 5 will be described below. (1) The multiplex communication control circuit 23 constantly monitors the multiplex communication bus 1 and, if there is no communication signal on the multiplex communication bus 1 (if the multiplex communication bus 1 is in an idle state), transmits the communication signal at an arbitrary timing. You can do it. (2) The multiplex communication control circuit 23, which has sent the communication signal even once from the idle state onto the multiplex communication bus, cannot perform transmission unless it detects the TGE. (3) The multiplex communication control circuit 23, which has started the transmission, unconditionally outputs the communication signal up to the arbitration signal of the communication format, and detects the collision during the transmission of the arbitration signal. (4) The multiplex communication control circuit 23 that has detected the collision outputs “1” until the period when the transmission of the arbitration signal ends, and stops transmitting the signals after the arbitration signal and ends the transmission of the communication signal. To do. Then, unless the TGn is detected, the retransmission cannot be performed.
【0020】次に、図4に示した受信時における動作の
概要を説明する。 (5)一度、上記SOM信号を検出し、受信を開始した
多重通信制御回路23が、受信途中で上記SOM信号を
再び検出した場合には、それ以前の受信状態は衝突が発
生したとして無視され、受信が再度初めからスタートす
る。Next, an outline of the operation at the time of reception shown in FIG. 4 will be described. (5) When the multiplex communication control circuit 23, which has once detected the SOM signal and started reception, again detects the SOM signal during reception, the reception state before that is ignored because a collision has occurred. , Reception starts again from the beginning.
【0021】上記のように、多重通信制御回路23が作
動した場合、多重通信制御回路23は必ず受信もしくは
送信のどちらか一方の状態であり、衝突が発生した場合
では、それ以降の通信信号は成立する必要はなく、か
つ、通信に必要な最大の時間は有限になり、一定の時間
を保証することが出来る。As described above, when the multiplex communication control circuit 23 operates, the multiplex communication control circuit 23 is always in one of the receiving and transmitting states, and when a collision occurs, the subsequent communication signals are not transmitted. It is not necessary to be established, and the maximum time required for communication is finite, and a fixed time can be guaranteed.
【0022】次に、図6は、4つの多重通信制御回路2
3(ノード1〜ノード4)が通信を行なった場合の例を
示す図であり、下記表2はその時の各多重通信制御回路
23の通信状態を示す表である。なお、図6において、
ノード1、ノード2、ノード3、ノード4の通信状態と
しては、以下の〜の状態があり、各ノードは表2に
示すような状態となる。送信(単独)、受信(単
独)、 送信(衝突)、受信(衝突)、送信(再
送信)、受信(再受信)。Next, FIG. 6 shows four multiplex communication control circuits 2
3 (node 1 to node 4) is a diagram showing an example in which communication is performed, and Table 2 below is a table showing communication states of the multiplex communication control circuits 23 at that time. In addition, in FIG.
The communication states of the node 1, the node 2, the node 3, and the node 4 include the following states (1) to (4), and each node is in the state shown in Table 2. Send (single), receive (single), send (collision), receive (collision), send (retransmit), receive (rereceive).
【0023】[0023]
【表2】 [Table 2]
【0024】以下、図6に基づいて説明する。図6に示
した波形は、区間Aの始めで、ノード1、2、3が同時
に送信を開始した場合である。この場合、ノード1、
2、3はそれぞれ、アビトレーション信号を送信中に衝
突を検知し、一定時間の間、ビット“1”を出力する。
その他のノード4、5、6は、ノード1、2、3が出力
した波形により、キャリアセンスを検出し、TGEを検
出するまでは送信できない状態になる。次に、全てのノ
ードが送信を中止して、TG1(ノード1に対応するT
Gn)の時間が経過すると、ノード1は送信可能状態と
なり、送信を開始する。その他のノードは送信禁止の状
態である(区間B)。次に、送信を終了したノード1
は、TGEを検出するまでは送信禁止状態となる。ノー
ド1が送信を終了して、TG2(ノード2に対応するT
Gn)の時間が経過すると、ノード2が送信可能状態と
なり、送信を開始する(区間C)。同じようにして、区
間Dでノード3が送信を行なう。そして、ノード3が送
信終了すると、全てのノードは送信禁止状態となり、そ
の後、TGEの時間が経過すると全てのノードが送信可
能状態となる。また、区間Eは、ただ1つのノードが送
信した場合である。この場合、ノード4が送信を行な
い、送信終了後にTGEの時間が経過すると全てのノー
ドが送信可能となる。Hereinafter, description will be made with reference to FIG. The waveform shown in FIG. 6 is the case where nodes 1, 2, and 3 simultaneously start transmission at the beginning of section A. In this case, node 1,
Each of 2 and 3 detects a collision during transmission of an arbitration signal and outputs a bit "1" for a certain period of time.
The other nodes 4, 5 and 6 are in a state in which they cannot transmit until carrier sense is detected and TGE is detected by the waveforms output from the nodes 1, 2 and 3. Next, all the nodes stop transmission, and TG1 (T corresponding to node 1
When the time of Gn) has elapsed, the node 1 becomes ready for transmission and starts transmission. The other nodes are in the transmission prohibited state (section B). Next, node 1 that has completed transmission
Will be in a transmission prohibited state until TGE is detected. Node 1 finishes the transmission, and TG2 (T corresponding to node 2
When the time of Gn) has elapsed, the node 2 becomes the transmission enabled state and starts transmission (section C). Similarly, in the section D, the node 3 transmits. Then, when the node 3 finishes the transmission, all the nodes are in the transmission prohibited state, and after that, when the TGE time has elapsed, all the nodes are in the transmission possible state. Moreover, the section E is a case where only one node transmits. In this case, the node 4 performs transmission, and when the TGE time elapses after the transmission is completed, all the nodes can transmit.
【0025】[0025]
【発明の効果】以上説明したように、本発明において
は、多重通信バスを常時モニタし、優性状態と劣性状態
の2つの値を持つ通信信号が上記多重通信バス上に連続
して存在していない状態であるアイドルの時間を計測
し、或る一定時間のアイドルを検出するアイドル検出回
路と、上記多重通信バス上の通信信号のない状態から通
信信号の有る状態への変化であるキャリアセンスを検出
するキャリアセンス検出回路と、上記多重通信バス上に
送信制御回路が送信した通信信号と上記多重通信バス上
から受信された通信信号とを比較して上記多重通信バス
上での通信信号の衝突を検出する衝突検知回路と、通信
信号の最初に現われて通信の開始を示す信号でり、上記
多重通信バス上にそれと同じ波形がその信号以外には存
在しない信号であるところの通信開始信号を検出する通
信開始信号検出回路と、上記多重通信バス上の通信信号
の送信を制御する上記送信制御回路と、上記多重通信バ
ス上からの通信信号の受信を制御する上記受信制御回路
と、で構成された複数の多重通信回路が上記多重通信バ
スに接続された多重通信制御装置において、上記多重通
信制御回路の構成を、上記アイドル検出回路が或る一定
時間のアイドルを検出し、かつ上記キャリアセンス検出
回路が上記キャリアセンスを検出しない場合には、任意
のタイミングで何時でも上記多重通信バス上への通信信
号の送信を開始することができ、かつ通信信号を送信中
に、上記衝突検知回路が上記多重通信バス上での通信信
号の衝突を検知した場合には、上記多重通信バス上に或
る一定期間の優性状態の通信信号を送信して、他の多重
通信制御回路に衝突を検知させた後、送信を中止し、上
記の或る一定時間のアイドルよりも小さく、かつ、各多
重通信制御回路毎に各々異なる長さに決められた或る一
定時間のアイドルを上記アイドル検出回路が検出するこ
とによって、上記多重通信バス上へ通信信号を再送信で
きる送信制御回路と、上記送信制御回路が送信信号を送
信中または再送信中でなければ、上記通信開始信号検出
回路が上記通信開始信号を検出することにより、上記多
重通信バス上からの通信信号の受信を開始する受信制御
回路と、を備えた構成としたことにより、 (1)多重通信制御回路は、受信もしくは送信のどちら
か一方の状態になり、両方の状態となることがないの
で、送信制御回路と受信制御回路の共通部分を1つにま
とめることが出来、また、送信制御回路と受信制御回路
の同期を取る必要がないので、回路の規模を小さくする
ことが出来る。 (2)衝突が発生した場合では、それ以降の通信信号は
成立する必要がないので、伝送速度の向上を容易に行な
うことが出来る。 (3)通信に必要な最大の時間が有限になるので、通信
終了時間の確定性があり、一定の時間を保証することが
出来る、等の優れた効果が得られる。As described above, in the present invention, the multiplex communication bus is constantly monitored, and the communication signal having two values, the dominant state and the recessive state, continuously exists on the multiplex communication bus. An idle detection circuit that measures the idle time in a non-existing state and detects an idle for a certain fixed time, and a carrier sense that is a change from a state without a communication signal on the multiplex communication bus to a state with a communication signal. Collision of communication signals on the multiplex communication bus by comparing the carrier sense detection circuit for detecting and the communication signal transmitted by the transmission control circuit on the multiplex communication bus with the communication signal received from the multiplex communication bus A collision detection circuit that detects the occurrence of a signal and a signal that appears at the beginning of a communication signal to indicate the start of communication, and that the same waveform as that on the multiplex communication bus does not exist other than that signal. Communication start signal detection circuit for detecting the communication start signal, the transmission control circuit for controlling the transmission of the communication signal on the multiplex communication bus, and the reception for controlling the reception of the communication signal on the multiplex communication bus In a multiplex communication control device in which a plurality of multiplex communication circuits composed of a control circuit and the multiplex communication circuit are connected to the multiplex communication bus, the multiplex communication control circuit is configured such that the idle detection circuit detects idle for a certain fixed time. And, if the carrier sense detection circuit does not detect the carrier sense, it is possible to start the transmission of the communication signal on the multiplex communication bus at any timing at any time, and during the transmission of the communication signal. When the collision detection circuit detects a collision of communication signals on the multiplex communication bus, it transmits a dominant state communication signal for a certain period of time on the multiplex communication bus. Then, after making the other multiplex communication control circuit detect the collision, the transmission is stopped, and the length is set to be smaller than the above idle for a certain period of time, and each multiplex communication control circuit has a different length. A transmission control circuit capable of retransmitting a communication signal onto the multiplex communication bus by detecting the idle for a certain period of time by the idle detection circuit, and the transmission control circuit must be transmitting or retransmitting the transmission signal. For example, the communication start signal detection circuit detects the communication start signal to start receiving the communication signal from the multiplex communication bus. Since the multiplex communication control circuit is in either the receiving state or the transmitting state and never in both states, it is possible to combine the common parts of the transmitting control circuit and the receiving control circuit into one. Moreover, it is not necessary to synchronize the receiver control circuit and the transmission control circuit, it is possible to reduce the scale of circuitry. (2) When a collision occurs, it is not necessary to establish communication signals after that, so that the transmission speed can be easily improved. (3) Since the maximum time required for communication is finite, the communication end time is deterministic, and a certain time can be guaranteed, which is an excellent effect.
【図面の簡単な説明】[Brief description of drawings]
【図1】本発明の多重通信制御装置の一実施例のブロッ
ク図。FIG. 1 is a block diagram of an embodiment of a multiplex communication control device of the present invention.
【図2】本発明の多重通信制御装置における多重通信制
御回路の一実施例のブロック図。FIG. 2 is a block diagram of an embodiment of a multiplex communication control circuit in the multiplex communication control device of the present invention.
【図3】通信フォーマットの一例図。FIG. 3 is a diagram showing an example of a communication format.
【図4】受信動作のフローチャート。FIG. 4 is a flowchart of a reception operation.
【図5】送信動作のフローチャート。FIG. 5 is a flowchart of a transmission operation.
【図6】通信状態の一例を示す波形図。FIG. 6 is a waveform chart showing an example of a communication state.
【図7】従来の多重通信制御装置の一例のブロック図。FIG. 7 is a block diagram of an example of a conventional multiplex communication control device.
【図8】従来の多重通信制御装置における多重通信制御
回路の一例のブロック図。FIG. 8 is a block diagram of an example of a multiplex communication control circuit in a conventional multiplex communication control device.
1…多重通信バス 2…アイドル検出回路 3…キャリアセンス検出回路 4…SD検出回路 5…衝突検知回路 6…バスインターフェイス回路 7…受信制御回路 8…送信制御回路 9…アイドル信号 10…キャリアセンス信号 11…衝突信号 12…受信開始信号 13…送信信号 14…受信信号 15…アイドル検出回路 16…SOM検出回路 17…受信制御回路 18…送信制御回路 19…アイドル信号 20…再送信開始信号 21…受信禁止信号 22…多重通信制御回路 23…多重通信制御回路 1 ... Multiplex communication bus 2 ... Idle detection circuit 3 ... Carrier sense detection circuit 4 ... SD detection circuit 5 ... Collision detection circuit 6 ... Bus interface circuit 7 ... Reception control circuit 8 ... Transmission control circuit 9 ... Idle signal 10 ... Carrier sense signal 11 ... Collision signal 12 ... Reception start signal 13 ... Transmission signal 14 ... Reception signal 15 ... Idle detection circuit 16 ... SOM detection circuit 17 ... Reception control circuit 18 ... Transmission control circuit 19 ... Idle signal 20 ... Retransmission start signal 21 ... Reception Prohibition signal 22 ... Multiplex communication control circuit 23 ... Multiplex communication control circuit
───────────────────────────────────────────────────── フロントページの続き (72)発明者 渡辺 静久 茨城県勝田市大字高場2520番地 株式会社 日立製作所自動車機器事業部内 (72)発明者 杉浦 一正 茨城県勝田市大字高場2520番地 株式会社 日立製作所自動車機器事業部内 (72)発明者 於保 茂 茨城県日立市久慈町4026番地 株式会社日 立製作所日立研究所内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Shizuhisa Watanabe 2520 Takaba, Katsuta-shi, Ibaraki Hitachi Ltd. Automotive Equipment Division (72) Inventor Kazumasa Sugiura 2520 Takata, Katsuta-shi, Ibaraki Stocks Company Hitachi Ltd. Automotive Equipment Division (72) Inventor Shigeru Oho 4026 Kuji Town, Hitachi City, Ibaraki Prefecture Hitachi Research Laboratory, Hitachi, Ltd.
Claims (1)
劣性状態の2つの値を持つ通信信号が上記多重通信バス
上に連続して存在していない状態であるアイドルの時間
を計測し、或る一定時間のアイドルを検出するアイドル
検出回路と、上記多重通信バス上の通信信号のない状態
から通信信号の有る状態への変化であるキャリアセンス
を検出するキャリアセンス検出回路と、上記多重通信バ
ス上に送信制御回路が送信した通信信号と上記多重通信
バス上から受信された通信信号とを比較して上記多重通
信バス上での通信信号の衝突を検出する衝突検知回路
と、通信信号の最初に現われて通信の開始を示す信号で
り、上記多重通信バス上にそれと同じ波形がその信号以
外には存在しない信号であるところの通信開始信号を検
出する通信開始信号検出回路と、上記多重通信バス上の
通信信号の送信を制御する上記送信制御回路と、上記多
重通信バス上からの通信信号の受信を制御する受信制御
回路と、で構成された複数の多重通信制御回路が上記多
重通信バスに接続された多重通信制御装置において、上
記多重通信制御回路の構成を、上記アイドル検出回路が
或る一定時間のアイドルを検出し、かつ上記キャリアセ
ンス検出回路が上記キャリアセンスを検出しない場合に
は、任意のタイミングで何時でも上記多重通信バス上へ
の通信信号の送信を開始することができ、上記通信信号
を送信中に、上記衝突検知回路が上記多重通信バス上で
の通信信号の衝突を検知した場合には、上記多重通信バ
ス上に或る一定期間の優性状態の通信信号を送信して、
他の多重通信制御回路に衝突を検知させた後、送信を中
止し、上記の或る一定時間のアイドルよりも小さく、か
つ、各多重通信制御回路毎に各々異なる長さに決められ
た或る一定時間のアイドルを上記アイドル検出回路が検
出した場合に、上記多重通信バス上へ通信信号を再送信
することが出来る送信制御回路と、上記送信制御回路が
送信信号を送信中または再送信中でなければ、上記通信
開始信号検出回路が上記通信開始信号を検出した場合
に、上記多重通信バス上からの通信信号の受信を開始す
る受信制御回路と、を備えた構成としたことを特徴とす
る多重通信制御装置。Claim: What is claimed is: 1. An idle system in which a multiplex communication bus is constantly monitored and a communication signal having two values, a dominant state and a recessive state, is not continuously present on the multiplex communication bus. And a carrier sense detection for detecting a carrier sense which is a change from a state without a communication signal on the multiplex communication bus to a state with a communication signal on the multiplex communication bus. Collision detection for detecting a collision of a communication signal on the multiplex communication bus by comparing a communication signal transmitted from a transmission control circuit on the multiplex communication bus with a communication signal received from the multiplex communication bus A circuit and a signal that appears at the beginning of a communication signal and indicates the start of communication, and detects the communication start signal where the same waveform as that on the multiplex communication bus does not exist other than that signal. A communication start signal detection circuit for outputting, a transmission control circuit for controlling transmission of a communication signal on the multiplex communication bus, and a reception control circuit for controlling reception of a communication signal on the multiplex communication bus. In the multiplex communication control device in which a plurality of multiplex communication control circuits are connected to the multiplex communication bus, the multiplex communication control circuit is configured such that the idle detection circuit detects an idle for a certain period of time and the carrier sense. When the detection circuit does not detect the carrier sense, it is possible to start transmission of the communication signal on the multiplex communication bus at any timing at any time, and during the transmission of the communication signal, the collision detection circuit When a collision of communication signals on the multiplex communication bus is detected, a communication signal in a dominant state for a certain period of time is transmitted on the multiplex communication bus,
After making the other multiplex communication control circuit detect the collision, the transmission is stopped, and the multiplex communication control circuit is set to have a length smaller than the idle for a certain period of time and a different length is set for each multiplex communication control circuit. A transmission control circuit capable of retransmitting a communication signal onto the multiplex communication bus when the idle detection circuit detects an idle for a certain period of time, and the transmission control circuit is transmitting or retransmitting a transmission signal. Otherwise, when the communication start signal detection circuit detects the communication start signal, a reception control circuit that starts receiving a communication signal from the multiplex communication bus is provided. Multiplex control device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3153069A JPH053478A (en) | 1991-06-25 | 1991-06-25 | Multiplex communication controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3153069A JPH053478A (en) | 1991-06-25 | 1991-06-25 | Multiplex communication controller |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH053478A true JPH053478A (en) | 1993-01-08 |
Family
ID=15554310
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3153069A Pending JPH053478A (en) | 1991-06-25 | 1991-06-25 | Multiplex communication controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH053478A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007528172A (en) * | 2004-03-09 | 2007-10-04 | インターナショナル・ビジネス・マシーンズ・コーポレーション | Key-based encryption |
-
1991
- 1991-06-25 JP JP3153069A patent/JPH053478A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007528172A (en) * | 2004-03-09 | 2007-10-04 | インターナショナル・ビジネス・マシーンズ・コーポレーション | Key-based encryption |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR101268556B1 (en) | communication system and communication method | |
| EP0422914B1 (en) | Station-to-station full duplex communication in a communications network | |
| US5940399A (en) | Methods of collision control in CSMA local area network | |
| JP2730338B2 (en) | Satellite communication system | |
| JPH027743A (en) | Data packet switching device | |
| US5576702A (en) | Method and apparatus for fault-tolerant transmission in multi-channel networks | |
| JP2873514B2 (en) | Multiplex transmission method | |
| US7158561B2 (en) | Communication system, communication device, and communication method | |
| JPS61161842A (en) | Signal transmitting system | |
| JPH036944A (en) | Control bus line anti-collision device | |
| JPH0457140B2 (en) | ||
| JP3280852B2 (en) | Polling communication method | |
| KR100539518B1 (en) | method for arbitrating Asynchronous Packet in bus system | |
| JPS6053355A (en) | Access system of bus type network | |
| JP3050665B2 (en) | Multiplex transmission method | |
| JPS59117353A (en) | Communication system of bus constitution | |
| JPH0143501B2 (en) | ||
| JP3096485B2 (en) | Transmission control method | |
| JPS60152153A (en) | Bi-directional repeater | |
| KR950001514B1 (en) | Local area network communications device using common bus | |
| JP3337907B2 (en) | Multiplex transmission system | |
| JP2541492B2 (en) | Microprocessor remote reset method | |
| JP2544860B2 (en) | Signal transmission method | |
| JP4033108B2 (en) | CSMA data communication method and broadcast transmission node device and slave node device using the same method | |
| JPH0457139B2 (en) |