JPH036944A - Control bus line collision prevention device - Google Patents

Control bus line collision prevention device

Info

Publication number
JPH036944A
JPH036944A JP14171889A JP14171889A JPH036944A JP H036944 A JPH036944 A JP H036944A JP 14171889 A JP14171889 A JP 14171889A JP 14171889 A JP14171889 A JP 14171889A JP H036944 A JPH036944 A JP H036944A
Authority
JP
Japan
Prior art keywords
bus line
signal
control
control means
level
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
JP14171889A
Other languages
Japanese (ja)
Inventor
Mikiharu Maki
幹晴 眞木
Kazuo Takama
高馬 和夫
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP14171889A priority Critical patent/JPH036944A/en
Publication of JPH036944A publication Critical patent/JPH036944A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To prevent the collision of a bus line and to detect signal collision in a short time by setting a comparison reference threshold level higher than a conventional threshold level while sending a start signal prior to a control data and resending a signal according to the predetermined priority. CONSTITUTION:When a control signal is sent from only one control means 12, a start signal is sent to set a comparison reference threshold level 16 to a level V2. Then the comparison reference threshold level 16 is compared with the level of a bus line to monitor the collision of the bus line. When the two control means 12, 22 start the transmission of a control signal entirely simultaneously, the level of the bus line goes to a level E1 and the level E1 is nearly a multiple of 1.8 of the level E0. Since the comparison reference threshold levels 16, 26 are set to the level V2, the occurrence of the collision is recognized. Waiting times T1, T2 depending on the priority of the devices 1, 2 are set to T=T1, T=T2 to reset a timer (t). The collision is avoided by varying the length of the waiting times T1, T2 depending on each device.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、マルチマスタで動作する制御バスライン通信
システムの衝突防止装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a collision prevention device for a control bus line communication system that operates with multiple masters.

従来の技術 近年、複数の機器間の制御に通信線路を簡略化する目的
で制御バスライン通信システムが広く用いられており、
さらに通信手順を簡略化するためにバスラインに接続さ
れているどの機器からでも制御信号を送信できるいわゆ
るマルチマスタのバスライン通信システムが用いられ始
めている。このようなマルチマスタのバスライン通信シ
ステムにおいてはどの機器からでも制御信号を送信でき
るため、場合によってはバスラインで制御信号が衝突す
ることもあり、この衝突を防止する手段を設けておかね
ばならない。
BACKGROUND OF THE INVENTION In recent years, control bus line communication systems have been widely used for the purpose of simplifying communication lines for controlling multiple devices.
Furthermore, in order to simplify communication procedures, so-called multi-master bus line communication systems have begun to be used, which allow control signals to be transmitted from any device connected to the bus line. In such a multi-master bus line communication system, control signals can be transmitted from any device, so in some cases control signals may collide on the bus line, so it is necessary to provide a means to prevent such collisions. .

以下に、従来の制御バスライン衝突防止装置について説
明する。
A conventional control bus line collision prevention device will be described below.

第4図はこの従来の制御バスライン衝突防止装置の構成
を示し、第5図は従来の制御バスライン衝突防止装置の
信号波形を示すものである。
FIG. 4 shows the configuration of this conventional control bus line collision prevention device, and FIG. 5 shows signal waveforms of the conventional control bus line collision prevention device.

第4図において、lはバスライン10に接続された第1
の機器、2はバスライン!0に接続された第2の機器、
11. 21は通信線路の反射を防ぐ終端抵抗、12、
 22はバス通信を制御する制御手段、13. 23は
電圧増幅器、14. 24は制御手段が“L”を出力し
ている時に電圧増幅器13.23とバスライン■0を分
離するダイオード、15.25はバスラインの制御信号
検出のためのコンパレータ、18.28はコンパレータ
15゜25の比較基準閾値である。
In FIG. 4, l is the first
equipment, 2 is the bus line! a second device connected to 0;
11. 21 is a terminating resistor that prevents reflections on the communication line; 12;
22 is a control means for controlling bus communication; 13. 23 is a voltage amplifier; 14. 24 is a diode that separates the voltage amplifier 13.23 and bus line 0 when the control means is outputting "L"; 15.25 is a comparator for detecting the bus line control signal; 18.28 is the comparator 15 The comparison reference threshold is .degree.25.

以上のように構成された制御バスライン衝突防止装置に
ついて、以下その動作について説明する。
The operation of the control bus line collision prevention device configured as above will be described below.

まず、1つの制御手段だけから制御信号が送信された場
合について説明する。例えば第1の機器1に属する制御
手段12だけから送信された制御信号は電圧増幅器13
.ダイオード14を経てバスライン10を駆動する。バ
スラインの制御信号は第2の機器2に属するコンパレー
タ25で比較基準閾値26と比較することにより検出さ
れ、その出力は制御手段22に入力され、機器2を制御
すると同時に機器1に属するコンパレータ15で検出さ
れ、制御手段12にも入力され、バスラインの制御信号
を監視する。逆に機器2に属する制御手段22だけから
制御信号が送信された場合も同様に制御信号は制御手段
12と制御手段22に入力される。
First, a case will be described in which a control signal is transmitted from only one control means. For example, the control signal transmitted only from the control means 12 belonging to the first device 1 is transmitted to the voltage amplifier 13.
.. The bus line 10 is driven through the diode 14. The control signal of the bus line is detected by the comparator 25 belonging to the second device 2 by comparing it with the comparison reference threshold 26, and its output is input to the control means 22. The signal is detected by the bus line, and is also input to the control means 12, which monitors the control signal of the bus line. Conversely, even when a control signal is transmitted only from the control means 22 belonging to the device 2, the control signal is similarly input to the control means 12 and the control means 22.

第5図にこの従来例の信号波形を示す。第5図において
a−b間は制御データに先だって送信されるスタート信
号、b−c間は制御データのビット同期を取るためのス
タートビット、c点以降は制御データである。制御信号
を送信しようとする制御手段12はバスラインが“L”
であることを確認した後、まずスタート信号を送信しバ
スラインを“H”にし、続いてスタートビット、制御デ
ータを送信する。制御手段22はバスラインが“H”と
なったのを確認すると直ちに受信状態になる。
FIG. 5 shows the signal waveform of this conventional example. In FIG. 5, the line between a and b is a start signal transmitted prior to control data, the line between b and c is a start bit for bit synchronization of control data, and the line after point c is control data. The control means 12 to which the control signal is to be transmitted has the bus line set to “L”.
After confirming that this is the case, first a start signal is transmitted to set the bus line to "H", and then a start bit and control data are transmitted. As soon as the control means 22 confirms that the bus line has become "H", it enters the receiving state.

次に、同時に2つの制御手段から制御信号が送信された
場合について説明する。2つの制御手段から同時にスタ
ート信号が送信されるとバスラインの衝突が起こるが、
この場合は次のような調停を行い優先される機器を決め
る。各制御手段は制御信号を送信している間、自分の送
信した送信データとバスラインのデータの論理を常にチ
エツクし、論理が反転している場合にはその機器は調停
に負けて直ちに送信を停止し受信側に変わる。
Next, a case will be described in which control signals are transmitted from two control means at the same time. If start signals are sent from two control means at the same time, a bus line collision will occur.
In this case, the following arbitration is performed to determine the priority device. While each control means is transmitting a control signal, it constantly checks the logic of the transmission data it transmitted and the data on the bus line, and if the logic is reversed, the device loses the arbitration and immediately stops transmitting. Stop and change to the receiving side.

第5図に調停の様子を例をあげて説明する。第5図にお
いて、制御手段12. 22はa点で同時にスタート信
号を送信したとすると、g点までは制御手段12. 2
2は全く同じ出力であるので、自分の送信した送信デー
タとバスラインのデータの論理は一致しており衝突検出
は行われないが、g−b間で制御手段12は“H”を出
力し、制御手段22は“L”を出力しているのでダイオ
ード24の効果によりバスラインIOの信号は“H”と
なり、制御手段22は自分の送信した送信データ“L”
とバスラインのデータ“H”の論理が反転していること
を検出し、直ちに制御信号の送信を停止し、受信側に変
わる。
FIG. 5 shows an example of how arbitration is performed. In FIG. 5, control means 12. 22 transmits the start signal at the same time at point a, then up to point g the control means 12. 2
2 have exactly the same output, so the logic of the data sent by itself and the data on the bus line match and collision detection is not performed, but the control means 12 outputs "H" between g and b. , since the control means 22 outputs "L", the signal on the bus line IO becomes "H" due to the effect of the diode 24, and the control means 22 outputs the transmission data "L" sent by itself.
It detects that the logic of the data "H" on the bus line is inverted, immediately stops transmitting the control signal, and changes to the receiving side.

一方、制御手段I2は自分の送信したデータとバスライ
ンのデータは一致しているので送信を続行する。このよ
うにバスラインの衝突が起こり調停になったときは“H
”を送信している機器が優先され制御データは破壊され
ることなくバスラインの衝突が防止できることとなる。
On the other hand, since the data transmitted by the control means I2 and the data on the bus line match, the control means I2 continues transmission. In this way, when a bus line conflict occurs and arbitration is performed, “H
The device transmitting "" is given priority, and the control data is not destroyed and bus line collisions can be prevented.

発明が解決しようとする課題 しかしながら上記の従来の構成では、バスラインの信号
衝突時の調停でどの機器が優先されるか不明である。ま
た各機器は、制御信号送信時に信号衝突検出のために常
にバスラインの制御信号を監視していなければならず、
しかも各制御手段はいつ自分が受信側に変わっても対応
できるようにハスラインの信号衝突検出時点までのバス
ラインの制御信号を記憶しておかねばならないという問
題点を有していた。
Problems to be Solved by the Invention However, in the above-described conventional configuration, it is unclear which device will be given priority in arbitration when there is a signal collision on the bus line. In addition, each device must constantly monitor the bus line control signals to detect signal collisions when transmitting control signals.
Moreover, each control means has the problem of having to store the control signal of the bus line up to the point in time when the signal collision of the lotus line is detected so that it can respond to the change of control means to the receiving side at any time.

本発明は、上記従来の問題点を解決するもので、信号衝
突検出が短時間にでき、信号衝突検出時点までの制御信
号を記憶する必要がなく、バスラインの信号衝突時に各
機器に優先順位を付けることがでるバスライン衝突防止
装置を提供することを目的とする。
The present invention solves the above-mentioned conventional problems. It is possible to detect a signal collision in a short time, there is no need to store control signals up to the time of signal collision detection, and it is possible to set priorities for each device when a signal collision occurs on a bus line. The purpose of the present invention is to provide a bus line collision prevention device that can be attached to a bus line.

課題を解決するための手段 本発明は、バスラインに複数の機器が接続されたマルチ
マスタ方式の制御バスライン衝突防止装置であって、前
記バスラインに接続された各機器は、バスラインに信号
を出力する電流駆動型バスライン駆動手段と、前記バス
ラインの信号を第1または第2の閾値と比較する比較器
を有し、バスラインの信号を検出するバス信号検出手段
と、前記バスライン駆動手段に信号を出力すると共に前
記バス信号検出手段からの信号を受信し、第2の閾値を
越える信号が検出されたときに各機器毎に優先順位によ
り決定された相異なる再送信時間後に所定時間連続した
スタート信号を送信する制御手段とを具備するものであ
り、前記バス信号検出手段の第1.第2の閾値は前記バ
スラインに1つの機器からスタート信号が与えられたと
きのレベルより低いレベル及び高いレベルに各々設定さ
れていることを特徴とするものである。
Means for Solving the Problems The present invention is a multi-master control bus line collision prevention device in which a plurality of devices are connected to a bus line, wherein each device connected to the bus line transmits a signal to the bus line. current-driven bus line driving means for outputting a signal on the bus line; bus signal detection means for detecting a signal on the bus line and having a comparator for comparing the signal on the bus line with a first or second threshold value; outputting a signal to the driving means and receiving a signal from the bus signal detecting means, and when a signal exceeding a second threshold is detected, a predetermined retransmission time after a different retransmission time determined by priority for each device; and control means for transmitting a time-continuous start signal, and the first. The second threshold value is set to a lower level and a higher level, respectively, than the level when a start signal is applied to the bus line from one device.

作用 本発明は上記した構成により、 (1)制御手段が制御データに先だつスタート信号を送
信する間、バス信号検出手段の比較基準閾値を通常の値
より高い第2の閾値に設定することによりバスラインの
信号の衝突を検出するようにしている。
Effects The present invention has the above-described configuration. (1) While the control means transmits the start signal prior to the control data, the comparison reference threshold of the bus signal detection means is set to a second threshold higher than the normal value. I am trying to detect line signal collisions.

(2)バスラインの信号衝突検出時には、あらかじめ決
められた優先順位に従って信号の再送信が行なわれるた
め、バスラインの信号衝突を防止するようにしている。
(2) When signal collision on the bus line is detected, signals are retransmitted according to predetermined priorities, thereby preventing signal collision on the bus line.

実施例 以下、本発明の一実施例について、図面を参照しながら
説明する。第1図は本発明の実施例における制御バスラ
イン衝突防止装置の構成図を示し、第2図は本発明の実
施例におけるバスライン衝突防止装置の信号波形図、第
3図は本発明の実施例におけるバスライン衝突防止装置
のフローチャートである。
EXAMPLE Hereinafter, an example of the present invention will be described with reference to the drawings. FIG. 1 shows a configuration diagram of a control bus line collision prevention device in an embodiment of the present invention, FIG. 2 is a signal waveform diagram of the bus line collision prevention device in an embodiment of the present invention, and FIG. 3 shows an implementation of the present invention. It is a flowchart of the bus line collision prevention device in an example.

第1図において、lはバスライン10に接続された第1
の機器、2はバスラインlOに接続された第2の機器、
11. 21は通信線路の反射を防ぐ終端抵抗、12、
 22はバス通信を制御する制御手段、13. 23は
電圧増幅器、  14. 24は制御手段12. 22
が“L”を送信している時に電圧増幅器13. 23と
バスラインlOを分離するダイオード、Is、  25
はバスラインの制御信号検出のためのコンパレータ、I
G、  2Gはコンパレータ15. 25の比較基準閾
値、17. 27はバスラインを電流駆動するための抵
抗であり、その抵抗値はバスラインの終端抵抗11. 
21より大きく、例えばその5倍に設定する。
In FIG. 1, l is the first
2 is a second device connected to the bus line IO,
11. 21 is a terminating resistor that prevents reflections on the communication line; 12;
22 is a control means for controlling bus communication; 13. 23 is a voltage amplifier; 14. 24 is the control means 12. 22
voltage amplifier 13. is transmitting "L". 23 and the diode separating the bus line lO, Is, 25
is a comparator for detecting the control signal of the bus line, I
G, 2G is comparator 15. 25 comparison reference thresholds, 17. 27 is a resistor for driving the bus line with current, and its resistance value is equal to the terminal resistor 11.27 of the bus line.
The value is set to be larger than 21, for example, 5 times larger than 21.

以上のように構成された本実施例の制御バスライン衝突
防止装置について、以下その動作について説明する。
The operation of the control bus line collision prevention device of this embodiment configured as described above will be described below.

第2図に示すようにどちらか工つの制御手段が“H”を
送信したときのバスラインの電位をEO12つの制御手
段が同時に“H”を送信したときのバスラインの電位を
Elとする。EO,Elは抵抗11、 21. 17.
 27の値によって決まり、本実施例では電圧増幅器1
3. 23の出力をEとし、ダイオードの電圧降下をe
とした場合、第1図の回路図より、EO=1/11(E
−e)、El=1/6−(E−e)となる。従ってEl
はEOの約1.8倍となる。またコンパレータ15. 
25の比較基準閾値IG、  211iは制御手段12
. 22がスタート信号送信時はV 2、スタート信゛
号送信時以外はV、とし、O<V+<Eo、Eo<V2
<Elとなるように設定する。
As shown in FIG. 2, the potential of the bus line when one of the control means transmits "H" is EO1, and the potential of the bus line when two control means transmit "H" at the same time is El. EO and El are resistors 11 and 21. 17.
27, and in this embodiment, the voltage amplifier 1
3. The output of 23 is E, and the voltage drop of the diode is e.
In this case, from the circuit diagram in Figure 1, EO = 1/11 (E
-e), El=1/6-(E-e). Therefore, El
is approximately 1.8 times that of EO. Also, comparator 15.
25 comparison reference threshold IG, 211i is the control means 12
.. 22 is V2 when transmitting a start signal, and V when not transmitting a start signal, O<V+<Eo, Eo<V2
<El.

以下、第3図のフローチャートに従い動作の説明をする
。ステップ2ではT=Oに設定する。ステップ3でタイ
マーtをリセットする。ステップ4で各制御手段12.
 22はコンパレータ15,25の比較基準閾値1[i
、2GをV、に設定し、ステップ5でバスラインIOの
電位と比較基準閾値の比較をする。ステップ5でバスラ
インIOの電位が比較基準閾値V、に較べ“L”であれ
ばステップ6に進み、送信要求の有無をチエツクする。
The operation will be explained below according to the flowchart shown in FIG. In step 2, T=O is set. In step 3, timer t is reset. In step 4, each control means 12.
22 is the comparison reference threshold 1[i
, 2G are set to V, and in step 5, the potential of the bus line IO and the comparison reference threshold are compared. In step 5, if the potential of the bus line IO is "L" compared to the comparison reference threshold V, the process proceeds to step 6, and the presence or absence of a transmission request is checked.

そして送信要求がなければ、ステップ4に戻りステップ
4. 5. 6のルーチンを繰り返し待機する。ステッ
プ5でバスライン10の電位が比較基準閾値V、に較へ
“H”であれば受信ルーチン12に進む。ステップ6で
送信要求があれば次に述べる一連の送信手順に進む。
If there is no transmission request, return to step 4 and step 4. 5. Repeat the routine 6. In step 5, if the potential of the bus line 10 is "H" compared to the comparison reference threshold V, the process proceeds to the reception routine 12. If there is a transmission request in step 6, the process proceeds to the next series of transmission procedures.

次に、1つの制御手段12だけから制御信号が送信され
る場合について説明する。前述の待機時にステップ6で
送信要求があればステップ7に進み、tとTとの大小の
判断をする。今、T=0なのでステップ8に進みスター
ト信号の送信をする。その後、ステップ9で比較基準閾
値16をV2に設定する。ステップ10でバスラインの
電位と比較基準閾値111iを比較しバスラインの衝突
を監視する。この場合は、1つの制御手段12だけがス
タート信号を送信しているのでバスラインの電位はEO
であり、バスラインの電位EOは比較基準閾値lGのV
2に較べ“L”なのでステップ13の送信ルーチンに入
りスタート信号に続きスタートビット、制御データを送
信する。
Next, a case where a control signal is transmitted from only one control means 12 will be explained. If there is a transmission request in step 6 during the above-mentioned standby, the process proceeds to step 7, where the magnitude of t and T is determined. Now, since T=0, the process advances to step 8 and a start signal is transmitted. Thereafter, in step 9, the comparison reference threshold 16 is set to V2. In step 10, the bus line potential is compared with the comparison reference threshold 111i to monitor bus line collisions. In this case, since only one control means 12 is transmitting the start signal, the potential of the bus line is EO.
The potential EO of the bus line is V of the comparison reference threshold lG.
Since it is "L" compared to 2, the transmission routine of step 13 is entered, and the start bit and control data are transmitted following the start signal.

一方、他の制御手段22はステップ5でバスラインの電
位が26の比較基準閾値V+より“H”となるのでステ
ップ12の受信ルーチンに入る。
On the other hand, the other control means 22 enters the receiving routine in step 12 since the potential of the bus line becomes "H" higher than the comparison reference threshold value V+ of 26 in step 5.

制御手段22のみから制御信号が送信される場合も同様
に、制御手段22は送信ルーチンに進み、制御手段12
は受信ルーチンに入る。
Similarly, when the control signal is transmitted only from the control means 22, the control means 22 proceeds to the transmission routine, and the control means 12
enters the receive routine.

次に、2つの制御手段12. 22が全く同時に制御信
号の送信を開始した場合について述べる。この場合前述
の通りバスラインの電位はElとなりElはEOの約1
.8倍となる。ステップ9までは前述と同様の動きをす
るが、ステップ9で比較基準閾値IEi、2ftはv2
に設定されているので、ステップ10ではバスラインの
電位が18.26の比較基準閾値V2に較べ“H”であ
ることを検出し衝突が起こっているとわかる。バスライ
ンに衝突が起こっていることがわかった場合は、ステッ
プ11で各機器1゜2の優先順位に従って決められた待
ち時間T I、 T 2により、T = T1.  T
 = T*としステップ3に戻り、ステップ5でバスラ
インの電位が比較基準閾値に比べて“H”となるか、ま
たはステップ7でタイマーがt>Tとなるまでステップ
4. 5. 6. 7のルーチンを繰り返す。この待ち
時間TI、  T2の長さを各機器により変えることで
衝突は回避される。例えば、制御手段I2を制御手段2
2よりも優先しようとする場合、制御手段12の待ち時
間TIを制御手段22の待ち時間T2より小さく設定す
る。第2図に示すようにa−b間のスタート信号送信時
に衝突の検出が行われ、制御手段12.制御手段22共
にステップ11に進む。制御手段12はb点からT1秒
経過した0点でt>TIとなりステップ8に進み、スタ
ート信号を再送信する。制御手段I2がスタート信号を
再送信した時点で、制御手段22はTI<T2であるの
で前述のステップ4. 5. 6. 7のループ内にあ
るが、ステップ5でバスラインの電位が比較基準閾値V
1に比べて“H”になったことを検出し、受信ルーチン
にはいる。従って12秒後のd点になってもスタート信
号の再送信は行われない。よって衝突は回避され、且つ
あらかじめ決めた優先順位に従い制御手段12がスター
トビット。
Next, two control means 12. 22 start transmitting control signals at exactly the same time. In this case, as mentioned above, the potential of the bus line becomes El, and El is approximately 1 of EO.
.. It becomes 8 times. Up to step 9, the operation is similar to that described above, but in step 9, the comparison reference threshold IEi, 2ft is v2.
Therefore, in step 10, it is detected that the potential of the bus line is "H" compared to the comparison reference threshold value V2 of 18.26, and it is determined that a collision has occurred. If it is found that a collision has occurred on the bus line, in step 11 the waiting times T I, T 2 are determined according to the priority of each device 1.2, so that T = T1. T
= T*, and return to step 3, and continue in step 4. 5. 6. Repeat routine 7. Collisions can be avoided by varying the lengths of these waiting times TI and T2 for each device. For example, the control means I2 is
2, the waiting time TI of the control means 12 is set to be smaller than the waiting time T2 of the control means 22. As shown in FIG. 2, a collision is detected when a start signal is transmitted between a and b, and the control means 12. The control means 22 then proceeds to step 11. At point 0, which is T1 seconds after point b, t>TI, the control means 12 proceeds to step 8, and retransmits the start signal. At the time when the control means I2 retransmits the start signal, the control means 22 performs step 4 described above since TI<T2. 5. 6. However, in step 5, the potential of the bus line reaches the comparison reference threshold V.
It is detected that the signal has become "H" compared to 1, and the reception routine is entered. Therefore, even at point d 12 seconds later, the start signal is not retransmitted. Therefore, collisions are avoided, and the control means 12 receives the start bit according to the predetermined priority order.

制御データを送信する。Send control data.

以上のように本実施例によれば、バス信号検出手段の比
較基準閾値を可変することにより、バスラインの監視は
スタート信号送信時だけとし、衝突検出以前のバスライ
ンの信号の記憶を不用とすることかできる。また優先順
位に従ってバスライン衝突時に制御信号を再送信するま
での時間を可変することにより、バスラインの信号衝突
時に各機器に優先順位を付けることができる。
As described above, according to this embodiment, by varying the comparison reference threshold of the bus signal detection means, the bus line is monitored only when the start signal is transmitted, and the storage of the bus line signal before collision detection is unnecessary. I can do something. Further, by varying the time until retransmission of the control signal in the event of a bus line collision according to the priority order, it is possible to prioritize each device in the event of a bus line signal collision.

発明の効果 このような特徴を有する本発明によれば、バスラインの
監視はスタート信号送信時だけとすることができ、衝突
検出以前のバスラインの信号の記憶を不用とすることが
でき、バスラインの信号衝突時に各機器に優先順位を付
けることができ、その実用的効果は大きい。
Effects of the Invention According to the present invention having such features, the bus line can be monitored only when the start signal is transmitted, and the storage of bus line signals before collision detection can be made unnecessary. It is possible to prioritize each device in the event of signal collision on the line, which has great practical effects.

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

第1図は本発明の実施例における制御バスライン衝突防
止装置の構成図を示し、第2図は本発明の実施例におけ
る制御バスライン衝突防止装置の信号波形図、第3図は
本発明の実施例における制御バスライン衝突防止装置の
フローチャートであ突防止装置の信号波形図である。 l・・・第1の機器、  2・・・第2の機器、II、
21・・・終端抵抗、  12. 22・・・制御手段
、  13. 23・・・電圧増幅器、15. 25・
・・コンパレータ、IEi、2G・・・比較基準閾値、
17.27・・・抵抗。
FIG. 1 shows a configuration diagram of a control bus line collision prevention device according to an embodiment of the present invention, FIG. 2 is a signal waveform diagram of the control bus line collision prevention device according to an embodiment of the present invention, and FIG. It is a flowchart of the control bus line collision prevention device in an example, and is a signal waveform diagram of the collision prevention device. l...first device, 2...second device, II,
21...Terminal resistor, 12. 22...control means, 13. 23...voltage amplifier, 15. 25・
... Comparator, IEi, 2G... Comparison standard threshold,
17.27...Resistance.

Claims (1)

【特許請求の範囲】 バスラインに複数の機器が接続されたマルチマスタ方式
の制御バスライン衝突防止装置であって、前記バスライ
ンに接続された各機器は、 バスラインに信号を出力する電流駆動型バスライン駆動
手段と、 前記バスラインの信号を第1または第2の閾値と比較す
る比較器を有し、 バスラインの信号を検出するバス信号検出手段と、 前記バスライン駆動手段に信号を出力すると共に前記バ
ス信号検出手段からの信号を受信し、第2の閾値を越え
る信号が検出されたときに各機器毎に優先順位により決
定された相異なる再送信時間後に所定時間連続したスタ
ート信号を送信する制御手段とを具備するものであり、 前記バス信号検出手段の第1,第2の閾値は前記バスラ
インに1つの機器からスタート信号が与えられたときの
レベルより低いレベル及び高いレベルに各々設定されて
いることを特徴とする制御バスライン衝突防止装置。
[Claims] A multi-master control bus line collision prevention device in which a plurality of devices are connected to a bus line, wherein each device connected to the bus line is driven by a current that outputs a signal to the bus line. bus line driving means; bus signal detection means having a comparator for comparing the signal on the bus line with a first or second threshold and detecting the signal on the bus line; A start signal that continues for a predetermined period of time after different retransmission times determined by priority for each device when a signal exceeding a second threshold is detected while outputting a signal from the bus signal detection means. and control means for transmitting a signal, and the first and second threshold values of the bus signal detection means are lower and higher than the level when a start signal is applied to the bus line from one device. A control bus line collision prevention device characterized in that each of the control bus line collision prevention devices is set to .
JP14171889A 1989-06-02 1989-06-02 Control bus line collision prevention device Pending JPH036944A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14171889A JPH036944A (en) 1989-06-02 1989-06-02 Control bus line collision prevention device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14171889A JPH036944A (en) 1989-06-02 1989-06-02 Control bus line collision prevention device

Publications (1)

Publication Number Publication Date
JPH036944A true JPH036944A (en) 1991-01-14

Family

ID=15298586

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14171889A Pending JPH036944A (en) 1989-06-02 1989-06-02 Control bus line collision prevention device

Country Status (1)

Country Link
JP (1) JPH036944A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06124272A (en) * 1992-10-13 1994-05-06 Mitsubishi Electric Corp Redundancy constituting circuit
JPH06342421A (en) * 1993-06-01 1994-12-13 Nec Corp Data retransmitting system
JPH0846633A (en) * 1994-07-26 1996-02-16 Toyo Techno Corp:Kk Data communication equipment
JP2001022487A (en) * 1999-07-05 2001-01-26 Nec Ic Microcomput Syst Ltd Signal conflict detecting circuit
JP4707015B2 (en) * 2003-09-30 2011-06-22 味の素株式会社 Pouch for retort food
JP2017126311A (en) * 2016-01-15 2017-07-20 株式会社ネクステック Information processing device, information processing method, and information processing system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06124272A (en) * 1992-10-13 1994-05-06 Mitsubishi Electric Corp Redundancy constituting circuit
JPH06342421A (en) * 1993-06-01 1994-12-13 Nec Corp Data retransmitting system
JPH0846633A (en) * 1994-07-26 1996-02-16 Toyo Techno Corp:Kk Data communication equipment
JP2001022487A (en) * 1999-07-05 2001-01-26 Nec Ic Microcomput Syst Ltd Signal conflict detecting circuit
JP4707015B2 (en) * 2003-09-30 2011-06-22 味の素株式会社 Pouch for retort food
JP2017126311A (en) * 2016-01-15 2017-07-20 株式会社ネクステック Information processing device, information processing method, and information processing system

Similar Documents

Publication Publication Date Title
US6208924B1 (en) Bus system for data transfer
JP2851124B2 (en) Multiplex transmission method
JPH0752877B2 (en) Serial data bus for inter-module data communication
US5119398A (en) Signal regenerator for two-wire local area network
US5065153A (en) Contention control system
US5982781A (en) Process for information transmission in a bus system having several participants
JPH036944A (en) Control bus line collision prevention device
CA2119073C (en) Data transmission system for automotive vehicles
JP5018396B2 (en) Communication apparatus and communication system
US4943979A (en) Local access network signal regnerator
JPS60152153A (en) Bi-directional repeater
US6253265B1 (en) Reinitialization circuit for a data communications interface
JP3154626B2 (en) Serial transmission device
JP3221259B2 (en) Bus type duplex transmission equipment
JPH053478A (en) Multiplex communication controller
JP2544860B2 (en) Signal transmission method
JPH11243405A (en) Asynchronous serial communication system
JPH0457139B2 (en)
JPS59172859A (en) Retransmission system
JP3218740B2 (en) Loop disconnection detection circuit in double loop data communication system
JPS60220640A (en) Information communication system
JPH04311125A (en) Transmission line failure detecting circuit
JPH04364626A (en) Private communication equipment
JPH0637769A (en) Multiple access communication system
JPS635642A (en) Communication control unit