JP3019370B2 - Data multiplexing method - Google Patents

Data multiplexing method

Info

Publication number
JP3019370B2
JP3019370B2 JP2192951A JP19295190A JP3019370B2 JP 3019370 B2 JP3019370 B2 JP 3019370B2 JP 2192951 A JP2192951 A JP 2192951A JP 19295190 A JP19295190 A JP 19295190A JP 3019370 B2 JP3019370 B2 JP 3019370B2
Authority
JP
Japan
Prior art keywords
synchronization signal
terminal
data
signal line
terminal number
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
JP2192951A
Other languages
Japanese (ja)
Other versions
JPH0479637A (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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2192951A priority Critical patent/JP3019370B2/en
Publication of JPH0479637A publication Critical patent/JPH0479637A/en
Application granted granted Critical
Publication of JP3019370B2 publication Critical patent/JP3019370B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は各端末からのデータを多重する方式に係り、
特に可変長のデータを多重するバス構成によるデータ多
重方式に関するものである。
The present invention relates to a system for multiplexing data from each terminal,
In particular, the present invention relates to a data multiplexing system using a bus configuration for multiplexing variable-length data.

〔従来の技術〕[Conventional technology]

従来のデータ多重方式は、予め端末接続用の端子を用
意して多重化装置を構成していた。
In the conventional data multiplexing method, a multiplexing device is configured by preparing terminals for connecting terminals in advance.

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

この従来のデータ多重方式では、多重化装置に設けら
れた端子数以下の端末しか接続できず、多重できる端末
数が限られてしまうという課題があつた。
In this conventional data multiplexing method, there is a problem that the number of terminals that can be multiplexed is limited because only terminals less than the number of terminals provided in the multiplexer can be connected.

〔課題を解決するための手段〕[Means for solving the problem]

本発明のデータ多重方式は、バス上に1つ以上の端末
が接続された装置で、送信を行いたい端末が端末間の競
合をとりながらデータを送信することで多重するデータ
多重方式において、1本以上のデータ線と、1本のワイ
ヤードOR接続の競合制御信号線と、1本のワイヤードOR
接続の同期信号線と、転送クロックを表すクロック線
と、予め設定された自走周期で同期信号を作成して同期
信号線に同期信号を送信するとともに同期信号線上の同
期信号で自走周期の位相をリセットする同期信号送信器
とを有したバス構成をとり、端末はそれぞれ、端末毎に
固有の2進数の端末番号が与えられかつ同期信号線から
同期信号が入った時点でクロックに合わせて端末番号を
1ビットずつ競合制御信号線に送信する端末番号保持部
と、この端末番号保持部から送信された信号と競合制御
信号線上の信号とを比較して両者の間に不一致が生じた
時点で端末番号保持部に端末番号の送信を停止させる比
較部と、端末番号保持部から送信された信号と競合制御
信号線上の信号とが最後まで一致した場合に同期信号線
からの次の同期信号に合わせてデータを送信し始めるデ
ータ保持部と、このデータ保持部がデータを送信し終わ
ると同期信号線に同期信号を送信する同期信号出力部と
を有するものである。
The data multiplexing method of the present invention is a data multiplexing method in which one or more terminals are connected on a bus, and a terminal that wants to transmit multiplexes by transmitting data while competing between the terminals. One or more data lines, one wired OR connection conflict control signal line, and one wired OR
A synchronization signal line for connection, a clock line representing a transfer clock, and a synchronization signal generated at a preset self-running cycle and transmitted to the synchronization signal line, and a synchronization signal on the synchronization signal line is used to generate the synchronization signal. The terminal has a bus configuration having a synchronization signal transmitter for resetting a phase, and each terminal is given a unique binary terminal number for each terminal and adjusts to a clock when a synchronization signal is input from a synchronization signal line. A terminal number holding unit for transmitting a terminal number to the contention control signal line one bit at a time, and a signal transmitted from the terminal number holding unit is compared with a signal on the contention control signal line, and when a mismatch occurs between the two. A comparison unit that causes the terminal number holding unit to stop transmitting the terminal number, and a next synchronization signal from the synchronization signal line when the signal transmitted from the terminal number holding unit and the signal on the contention control signal line match to the end. A data holding unit starts to transmit the data to fit, the data holding unit is one that has a synchronizing signal output unit for transmitting a synchronization signal to the synchronization signal line when finishes sending data.

また、本発明の別の発明によるデータ多重方式は、上
記のものにおいて、優先順位の高い端末から順に大きな
端末番号が端末番号保持部に与えられるようにしたもの
である。
A data multiplexing method according to another aspect of the present invention is the data multiplexing method according to the above-described method, in which the terminal numbers having the highest priority are assigned to the terminal number holding unit in order.

また、本発明のさらに別の発明によるデータ多重方式
は、バス上に1つ以上の端末が接続された装置で、送信
を行いたい端末が端末間の競合をとりながらデータを送
信することで多重するデータ多重方式において、1本以
上のデータ線と、1本のワイヤードAND接続の競合制御
信号線と、1本のワイヤードOR接続の同期信号線と、転
送クロックを表すクロック線と、予め設定された自走周
期で同期信号を作成して同期信号線に同期信号を送信す
るとともに同期信号線上の同期信号で自走周期の位相を
リセットする同期信号送信器とを有したバス構成をと
り、端末はそれぞれ、端末毎に固有の2進数の端末番号
が与えられかつ同期信号線から同期信号が入った時点で
クロックに合わせて端末番号を1ビットずつ競合制御信
号線に送信する端末番号保持部と、この端末番号保持部
から送信された信号と競合制御信号線上の信号とを比較
して両者の間に不一致が生じた時点で端末番号保持部に
端末番号の送信を停止させる比較部と、端末番号保持部
から送信された信号と競合制御信号線上の信号とが最後
まで一致した場合に同期信号線からの次の同期信号に合
わせてデータを送信し始めるデータ保持部と、このデー
タ保持部がデータを送信し終わると同期信号線に同期信
号を送信する同期信号出力部とを有するものである。
A data multiplexing method according to still another aspect of the present invention is a device in which one or more terminals are connected on a bus, and a terminal that wants to transmit transmits data while competing between the terminals. In a data multiplexing method, one or more data lines, one wired AND connection conflict control signal line, one wired OR connection synchronization signal line, and a clock line representing a transfer clock are preset. A synchronization signal transmitter that generates a synchronization signal in the free-running cycle, transmits the synchronization signal to the synchronization signal line, and resets the phase of the free-running cycle with the synchronization signal on the synchronization signal line; Is a terminal number that is given a unique binary terminal number for each terminal and transmits the terminal number to the contention control signal line one bit at a time in synchronization with the clock when a synchronization signal is input from the synchronization signal line. A comparing unit that compares the signal transmitted from the terminal number holding unit with the signal on the contention control signal line and stops transmission of the terminal number to the terminal number holding unit when a mismatch occurs between the two. And a data holding unit that starts transmitting data in accordance with the next synchronization signal from the synchronization signal line when the signal transmitted from the terminal number holding unit and the signal on the contention control signal line match up to the end, A synchronization signal output unit that transmits a synchronization signal to a synchronization signal line when the holding unit finishes transmitting data.

また、本発明の別の発明によるデータ多重方式は、上
記のものにおいて、優先順位の高い端末から順に小さな
端末番号が端末番号保持部に与えられるようにしたもの
である。
Further, a data multiplexing method according to another invention of the present invention is the data multiplexing method as described above, wherein the terminal numbers having the lowest priority are assigned to the terminal number holding unit in order from the terminal having the highest priority.

〔作 用〕(Operation)

本発明においては、バス上に1つ以上の端末を接続
し、送信を行いたい端末が端末間の競合をとりながらデ
ータを送信することで多重する。
In the present invention, one or more terminals are connected on a bus, and a terminal that wants to transmit multiplexes by transmitting data while competing between the terminals.

〔実施例〕〔Example〕

以下、図面に基づき本発明の実施例を詳細に説明す
る。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

第1図は本発明の一実施例を示すブロツク図である。
この第1図において、1−1〜1−nは端末で、この端
末1−1〜1−nは、データ線2と1本のワイヤードOR
接続の競合制御信号線3および1本のワイヤードOR接続
の同期信号線4ならびに転送クロツクを表すクロツク線
5によつて構成されるバスに接続されている。6は予め
設定された自走周期で同期信号を作成して,同期信号線
4に同期信号を送信する機能を有しかつ同期信号線4上
の同期信号で自走周期の位相がリセツトされる同期信号
送信器で、この同期信号送信器6は同期信号線4に接続
されている。
FIG. 1 is a block diagram showing one embodiment of the present invention.
In FIG. 1, 1-1 to 1-n are terminals, and the terminals 1-1 to 1-n are connected to a data line 2 and one wired OR.
It is connected to a bus constituted by a connection control signal line 3 for connection, a synchronization signal line 4 for one wired OR connection, and a clock line 5 representing a transfer clock. Numeral 6 has a function of generating a synchronization signal at a preset free-running cycle and transmitting the synchronization signal to the synchronization signal line 4, and the phase of the free-running cycle is reset by the synchronization signal on the synchronization signal line 4. The synchronization signal transmitter 6 is connected to the synchronization signal line 4.

そして、各端末1−1〜1−nは、それぞれ送信デー
タを保持するデータ保持部7−1〜7−nと、端末固有
の端末番号を保持する端末番号保持部8−1〜8−n
と、データ送信後に同期信号を送信する同期信号出力部
9−1〜9−nおよび比較部10−1を備えており、デー
タ保持部7−1〜7−nはバスのデータ線2に、端末番
号保持部8−1〜8−nはバスの競合制御信号線3に、
同期信号出力部9−1〜9−nはバスの同期信号線4に
それぞれ接続されている。ここで、データ保持部7−1
〜7−nは各端末が送信したいデータの保持部であり、
また、端末番号保持部8−1〜8−nは各端末固有の端
末番号を保持するように構成され、同期信号出力部9−
1〜9−nはデータ送信終了を検知し同期信号を送信す
るように構成されている。そして、端末内に送信データ
が存在する場合、端末は端末番号を競合制御信号線3に
送信しその競合制御信号線3上の信号と自分の送信した
端末番号とを比較部10−1〜10−nでそれぞれ比較し
て、一致した場合にのみデータをバスのデータ線に送信
することができる。ここで、この比較部10−1〜10−n
は端末が送つた信号と競合制御信号線3上の信号を比較
するためのコンパレータである。また各端末は、送信し
たいデータが予め設定されたデータ長の最大値より短い
場合は、同期信号出力部9−1〜9−nより同期信号を
同期信号線4にそれぞれ送信する。また、データ長が上
記最大値より長い場合には同期信号送信器6より同期信
号が同期信号線4に送信される。これらの同期信号が同
期信号線4に送信された時点で、次の送信を行いたい端
末が競合し、前述と同様にある1つの端末が優先されデ
ータをデータ線に送信できる。
Each of the terminals 1-1 to 1-n has data holding units 7-1 to 7-n for holding transmission data and terminal number holding units 8-1 to 8-n for holding terminal numbers unique to the terminals.
And a synchronization signal output unit 9-1 to 9-n for transmitting a synchronization signal after data transmission and a comparison unit 10-1. The data holding units 7-1 to 7-n are connected to the data line 2 of the bus. The terminal number holding units 8-1 to 8-n connect to the contention control signal line 3 of the bus,
The synchronization signal output units 9-1 to 9-n are connected to the synchronization signal lines 4 of the bus, respectively. Here, the data holding unit 7-1
To 7-n are holding units of data that each terminal wants to transmit,
The terminal number holding units 8-1 to 8-n are configured to hold terminal numbers unique to each terminal, and the synchronization signal output unit 9-n.
1 to 9-n are configured to detect the end of data transmission and transmit a synchronization signal. If the transmission data exists in the terminal, the terminal transmits the terminal number to the contention control signal line 3 and compares the signal on the contention control signal line 3 with the terminal number transmitted by itself. The data can be transmitted to the data line of the bus only when they are compared with each other by -n. Here, the comparison units 10-1 to 10-n
Is a comparator for comparing the signal sent by the terminal with the signal on the contention control signal line 3. If the data to be transmitted is shorter than the preset maximum data length, each terminal transmits a synchronization signal to the synchronization signal line 4 from the synchronization signal output units 9-1 to 9-n. When the data length is longer than the maximum value, a synchronization signal is transmitted from the synchronization signal transmitter 6 to the synchronization signal line 4. When these synchronization signals are transmitted to the synchronization signal line 4, terminals wishing to perform the next transmission compete, and one terminal is given priority and data can be transmitted to the data line as described above.

そして、各端末にそれぞれ固有の2進数の端末番号を
与え、各端末は同期信号が入つた時点で、クロツクにあ
わせて1ビツトずつ競合制御信号線3に送信し、その送
信された信号と競合制御信号線3上の信号とを比較し、
不一致が生じた場合は直ちにその端末は端末番号の送信
を停止し、一致した場合はそのまま端末番号を送信し、
最後まで一致すると、その端末は次の同期信号に合わせ
てデータを送信でき、データを送信し終わると同期信号
線4に同期信号を送信するように構成されている。
Then, each terminal is given a unique binary terminal number, and each terminal transmits one bit to the contention control signal line 3 according to the clock when the synchronization signal is input, and the contention with the transmitted signal is given. Compare the signal on the control signal line 3 and
If there is a mismatch, the device immediately stops sending the terminal number, and if there is a match, it just sends the terminal number,
When the terminal reaches the end, the terminal can transmit data in accordance with the next synchronization signal, and transmits the synchronization signal to the synchronization signal line 4 when the data transmission is completed.

第2図は第1図に示す実施例において各端末が送つた
信号と競合制御信号線上の信号の態様を示す説明図で、
(a)は同期信号線4上の同期信号を示したものであ
り、(b)はクロツク線5上のクロツク、(c)〜
(e)は端末A,B,Cの端末番号、(f)は競合制御信号
線3上の信号、(g)はデータ線2上のデータを示した
ものである。
FIG. 2 is an explanatory diagram showing a mode of a signal transmitted by each terminal and a signal on a contention control signal line in the embodiment shown in FIG.
(A) shows the synchronization signal on the synchronization signal line 4, (b) shows the clock on the clock line 5, (c) to (c).
(E) shows the terminal numbers of the terminals A, B and C, (f) shows the signal on the contention control signal line 3, and (g) shows the data on the data line 2.

第3図は第1図に示す実施例において端末番号に具体
的な数値を与えたときの各端末が送つた信号と競合制御
信号線上の信号の態様を示す説明図で、(a)は同期信
号線4上の同期信号を示したものであり、(b)はクロ
ツク信号線5上のクロツク、(c),(d),(e)は
端末A,B,Cの端末番号、(f)は競合制御信号線3上の
信号を示したものである。この第3図(c),(d)に
おける0は不一致を示す。
FIG. 3 is an explanatory diagram showing a form of a signal transmitted by each terminal and a signal on a contention control signal line when a specific numerical value is given to a terminal number in the embodiment shown in FIG. FIG. 5B shows a synchronization signal on the signal line 4, (b) shows a clock on the clock signal line 5, (c), (d), and (e) show terminal numbers of terminals A, B, and C, and (f). ) Shows the signals on the competition control signal line 3. In FIGS. 3 (c) and 3 (d), 0 indicates a mismatch.

第4図は第1図に示す実施例においてデータ長の異な
るデータを持つた3つの端末A,B,Cが送信を行いたい場
合の競合制御信号線とデータ線の態様を示す説明図で、
(a)は同期信号線4上の同期信号を示したものであ
り、(b)はクロツク線5上のクロツク、(c)はデー
タ線2上のデータ、(d)は競合制御信号線3上の信号
を示したものである。,,,,は同期信号を
示す。
FIG. 4 is an explanatory diagram showing the mode of the contention control signal line and the data line when three terminals A, B, and C having data having different data lengths want to transmit in the embodiment shown in FIG.
(A) shows a synchronization signal on the synchronization signal line 4, (b) shows a clock on the clock line 5, (c) shows data on the data line 2, and (d) shows a contention control signal line 3. It shows the above signal. ,,, Indicate synchronization signals.

つぎに第1図に示す実施例の動作を第2図ないし第4
図を参照して説明する。
Next, the operation of the embodiment shown in FIG. 1 will be described with reference to FIGS.
This will be described with reference to the drawings.

今3つの端末A,B,Cが送信を行いたいときの動作を第
2図を参照して説明する。
The operation when three terminals A, B, and C now want to transmit will be described with reference to FIG.

それぞれの端末番号を、第2図(c),(d),
(e)に示す端末A=a,b,c,d、端末B=e,f,g,h、端末
C=i,j,k,lとする。これらの端末が送信したいデータ
の長さは予め設定されたデータ長の最大値より短いもの
とする。ある同期信号が立ち上がつたとき、同期信号と
同時に立ち上がつたクロツクの次のクロツクの立ち上が
りで端末番号の1ビツト目、端末Aはaを、端末Bはe
を、端末Cはiを競合制御信号線3にそれぞれ送信す
る。このとき第2図(f)に示す競合制御線3上の信号
mはa,e,iのORになる。この送られた信号a,e,iと競合制
御信号線3上の信号mをそれぞれ比較部10−1〜10−n
で比較する。例えば、信号aと信号mが不一致だつたと
すると端末Aはb,c,dは送信せずに次のクロツクの立ち
上がりから次の同期信号が入るまでずつと「0」を送信
する。そして、一致した端末B,Cは次のクロツクの立ち
上がりで端末番号の2ビツト目をそれぞれ競合制御信号
線3に送信し1ビツト目と同様にして比較する。このよ
うにして、4ビツト目まで比較し最後まで一致した端末
が次の同期信号の立ち上がりにあわせてデータ保持部7
−1〜7−nに入つているデータをデータ線2に送信で
きる。そして、データを全て送信すると同期信号出力部
9−1〜9−nより同期信号を同期信号線4に送信す
る。また、同期信号送信器6はこの同期信号が入つた時
点から自らの同期で同期信号を送信する。
Each terminal number is shown in FIG. 2 (c), (d),
It is assumed that the terminals A = a, b, c, d, the terminals B = e, f, g, h, and the terminals C = i, j, k, l shown in (e). It is assumed that the length of data that these terminals want to transmit is shorter than the preset maximum data length. When a certain synchronizing signal rises, the first bit of the terminal number at the rising edge of the clock following the clock that has risen at the same time as the synchronizing signal, terminal A has terminal a, terminal B has terminal e.
The terminal C transmits i to the contention control signal line 3 respectively. At this time, the signal m on the competition control line 3 shown in FIG. 2 (f) is the OR of a, e, i. The transmitted signals a, e, i and the signal m on the competition control signal line 3 are compared with the comparison units 10-1 to 10-n, respectively.
To compare. For example, if the signal a and the signal m do not match, the terminal A does not transmit the signals b, c, and d, but transmits "0" from the rising edge of the next clock until the next synchronization signal is input. Then, the coincident terminals B and C transmit the second bit of the terminal number to the contention control signal line 3 at the next rising edge of the clock, and compare them in the same manner as the first bit. In this manner, the terminal which has been compared up to the fourth bit and which has reached the last bit matches the data holding unit 7 in accordance with the rise of the next synchronization signal.
Data contained in -1 to 7-n can be transmitted to the data line 2. When all the data is transmitted, the synchronization signal is transmitted from the synchronization signal output units 9-1 to 9-n to the synchronization signal line 4. The synchronization signal transmitter 6 transmits the synchronization signal by its own synchronization from the time when the synchronization signal is input.

つぎに、第3図と第4図を参照して上述の例で具体的
な番号を与えた場合の動作について説明する。
Next, the operation in the case where specific numbers are given in the above example will be described with reference to FIGS. 3 and 4.

各端末の端末番号をそれぞれ第3図(c),(d),
(e)に示すように、端末A=0011,端末B=1010,端末
C=1100とする。また端末A,B,Cのデータの長さは予め
設定されたデータ長の最大値より短いものとする。各端
末は同期信号送信器6より同期信号線4に送信された同
期信号と同時に立ち上がつたクロツクの次のクロツク
の立ち上がりで端末番号の1ビツト目をそれぞれ端末A
は「0」を、端末Bは「1」を、端末Cは「1」を競合
制御信号線3に送信する。このときワイヤードOR接続の
競合制御信号線3上の信号は「0」,「1」,「1」の
ORをとり「1」となる。そして、端末Aの比較部で、送
信した「0」と競合制御信号線3上の「1」を比較し不
一致となるので、端末Aは残りの番号「011」は送信し
ないで次のクロツクの立ち上がりから次の同期信号が入
るまでずつと「0」を送信する。また、端末B,Cについ
ては送つた信号「1」に対して競合制御信号線3上の信
号は「1」となり一致するので、次のクロツクの立ち上
がりに合わせて端末番号の2ビツト目をそれぞれ端末B
は「0」を、端末Cは「1」を競合制御信号線3に送信
する。ここで、端末Aは「0」を送信する。このとき、
競合制御信号線3上の信号は「0」,「0」,「1」の
ORになり「1」となる。そして、端末Bにおいて端末B
の送信した「0」と競合制御信号線3上の信号「1」を
比較部で比較し不一致となるので、端末Bは残りの番号
「10」は送信しないで次のクロツクの立ち上がりから次
の同期信号が入るまでずつと「0」を送信する。端末C
は送つた信号「1」に対して競合制御信号線3上の信号
も「1」となり一致するので、次のクロツクに合わせて
端末番号の3ビツト目の「0」を競合制御信号線3に送
信する。このとき、端末Cのみとなるので競合制御信号
線3上の信号も「0」,「0」,「0」のORになり
「0」となるので一致する。よつてまた次のビツトも次
のクロツクの立ち上がりで端末番号の4ビツト目の
「0」を競合制御信号線3に送り、この競合制御信号線
3上の信号も「0」となり一致する。このようにして、
最後まで一致した端末Cは次の同期信号に合わせてデー
タ保持手段部に入つているデータをデータ線2に送信す
ることができる。また、データの長さが上記最大値より
短いので、端末Cは同期信号送信器6の同期信号に合
わせてデータを送信し、全て送信した後、端末内の同期
信号出力部より同期信号を送信する。また同期信号
に合わせて、次の送信を行いたい端末A,Bがそれぞれ端
末番号を競合制御信号線3に送信して競合し、その結果
端末Bが優先される。そして前述の同期信号に合わせ
てデータを送信し全て送信した後、端末内の同期信号出
力部より同期信号を同期信号線に送信する。また、同
期信号に合わせて次に送信を行いたい端末Aが端末番
号を競合制御信号線3に送信し優先され、同期信号に
合わせてデータを送信する。そして、データを全て送信
した後、端末内の同期信号出力部より同期信号を同期
信号線に送信する。つまり、以上のことからわかるよう
に、端末番号の大きい端末が優先されることになる。上
記の3つの端末がデータ長が上記最大値より短いデータ
を送信したい場合は、第3図に示すように、まず端末C
が一致するので端末Cが優先され、次は端末Bが優先さ
れ、また次では端末Aが優先される。
The terminal numbers of the terminals are shown in FIGS. 3 (c), (d),
As shown in (e), it is assumed that terminal A = 0011, terminal B = 1010, and terminal C = 1100. It is also assumed that the data lengths of terminals A, B, and C are shorter than the preset maximum data length. Each terminal sends the first bit of the terminal number to the terminal A at the rising edge of the clock following the rising clock at the same time as the synchronization signal transmitted from the synchronization signal transmitter 6 to the synchronization signal line 4.
Transmits “0”, terminal B transmits “1”, and terminal C transmits “1” to the contention control signal line 3. At this time, the signals on the conflict control signal line 3 of the wired OR connection are “0”, “1”, and “1”.
The result is OR and becomes "1". Then, the comparing section of the terminal A compares the transmitted "0" with the "1" on the contention control signal line 3 and does not match. Therefore, the terminal A does not transmit the remaining number "011" and transmits the next clock. "0" is transmitted every time from the rise to the next synchronization signal. For the terminals B and C, the signal on the contention control signal line 3 becomes "1" with the transmitted signal "1", which coincides with the signal "1". Terminal B
Transmits "0" to the terminal C and "1" to the contention control signal line 3. Here, the terminal A transmits “0”. At this time,
The signals on the conflict control signal line 3 are "0", "0", "1".
It becomes OR and becomes “1”. Then, in the terminal B, the terminal B
Since the comparison unit compares the transmitted "0" with the signal "1" on the competition control signal line 3 and finds a mismatch, the terminal B does not transmit the remaining number "10" but transmits the next number from the next rising edge of the clock. “0” is transmitted until the synchronization signal is input. Terminal C
In response to the transmitted signal "1", the signal on the contention control signal line 3 also becomes "1" and matches, so the "0" of the third terminal number is added to the contention control signal line 3 in accordance with the next clock. Send. At this time, since only the terminal C is present, the signal on the contention control signal line 3 is also an OR of “0”, “0”, and “0” and becomes “0”, so that they match. Accordingly, the next bit also sends the fourth bit "0" of the terminal number to the contention control signal line 3 at the rise of the next clock, and the signal on the contention control signal line 3 also becomes "0" and coincides. In this way,
The terminal C that has reached the end can transmit the data stored in the data holding unit to the data line 2 in synchronization with the next synchronization signal. Further, since the length of the data is shorter than the maximum value, the terminal C transmits the data according to the synchronization signal of the synchronization signal transmitter 6, and after transmitting all, transmits the synchronization signal from the synchronization signal output unit in the terminal. I do. Further, terminals A and B, which want to perform the next transmission, transmit their terminal numbers to the contention control signal line 3 in accordance with the synchronization signal and compete with each other. As a result, terminal B is given priority. Then, after transmitting and transmitting all data in accordance with the above-mentioned synchronization signal, the synchronization signal is transmitted from the synchronization signal output unit in the terminal to the synchronization signal line. Terminal A, which wants to transmit next in synchronization with the synchronization signal, transmits the terminal number to contention control signal line 3 and has priority, and transmits data in synchronization with the synchronization signal. Then, after transmitting all the data, the synchronization signal is transmitted from the synchronization signal output unit in the terminal to the synchronization signal line. That is, as can be seen from the above, a terminal having a higher terminal number is given priority. If the above three terminals want to transmit data whose data length is shorter than the maximum value, first, as shown in FIG.
, The terminal C has priority, the terminal B has priority next, and the terminal A has priority next.

また、上述の実施例においては、ワイヤードOR接続の
競合制御信号線を用いた場合を説明したが、ワイヤード
AND接続の競合制御信号線を用いることもでき、この場
合は自分の端末番号と競合制御信号線上の信号に不一致
が生じた場合はその後「1」を送信する。また、ワイヤ
ードAND接続の競合制御信号線を用いた場合は、端末番
号の小さい端末が優先される。上述の実施例のA,B,Cの
値のときは、A,B,Cの順で優先される。すなわち、優先
順位の高い端末の順に小さな2進数の端末番号を与え
る。
Further, in the above-described embodiment, the case where the contention control signal line of the wired OR connection is used has been described.
An AND connection conflict control signal line can also be used. In this case, if there is a mismatch between the terminal number of the terminal and a signal on the conflict control signal line, "1" is transmitted thereafter. Further, when a contention control signal line of a wired AND connection is used, a terminal having a smaller terminal number has priority. In the case of the values of A, B, and C in the above-described embodiment, priority is given in the order of A, B, and C. That is, a terminal number of a small binary number is given in the order of the terminal having the highest priority.

また、上述の実施例よりワイヤードOR接続の競合制御
信号線を用いた場合は、端末番号の大きい端末が優先さ
れることが分かる。すなわち、優先順位の高い端末の順
に大きな2進数の端末番号を与える。よつて優先したい
端末から順に最初から大きい端末番号を与えておくと、
それらの端末を優先したい順に優先することができる。
In addition, according to the above-described embodiment, when the contention control signal line of the wired OR connection is used, it is understood that the terminal having the larger terminal number has priority. That is, a terminal number of a larger binary number is given in the order of the terminal having the higher priority. If you give a terminal number from the beginning in order from the terminal you want to give priority to,
Those terminals can be prioritized in the order of priority.

また、上述の実施例よりワイヤードAND接続の競合制
御信号線を用いた場合は、端末番号の小さい端末が優先
されることがわかる。よつて優先したい端末から順に最
初から小さい端末番号を与えておくと、それらの端末を
優先したい順に優先することができる。
In addition, according to the above-described embodiment, when the contention control signal line of the wired AND connection is used, it is understood that the terminal having the smaller terminal number has priority. Thus, if the terminal numbers which are to be prioritized are assigned in order from the beginning, those terminals can be prioritized in the order of priority.

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

以上説明したように本発明は、バスを用いて多重する
ことにより、バスの容量を超えない限り任意の数の端末
を接続し各端末からのデータを多重することができる効
果がある。
As described above, the present invention has an effect that by multiplexing using a bus, any number of terminals can be connected and data from each terminal can be multiplexed as long as the capacity of the bus is not exceeded.

また、データの長さを、端末番号の長さ(min)〜予
め設定していた同期信号送信器からの同期信号の周期の
長さ(max)と可変にできるという効果を有する。
In addition, there is an effect that the length of data can be varied from the length (min) of the terminal number to the length (max) of the period of the synchronization signal from the synchronization signal transmitter set in advance.

また、各端末に個別に付与する端末番号によって、各
端末に優先順位をつけることができるという効果があ
る。
Also, there is an effect that priorities can be assigned to the terminals by the terminal numbers individually assigned to the terminals.

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

第1図は本発明の一実施例を示すブロツク図、 第2図は第1図に示す実施例において各端末が送つた信
号と競合制御信号線上の信号の態様を示す説明図、第3
図は第1図に示す実施例において端末番号に具体的な数
値を与えたときの各端末が送つた信号と競合制御信号線
上の信号の態様を示す説明図、第4図は第1図に示す実
施例においてデータ長の異なるデータを持つた3つの端
末A,B,Cが送信を行いたい場合の競合制御信号線とデー
タ線の態様を示す説明図である。 1−1〜1−n……端末、2……データ線、3……競合
制御信号線、4……同期信号線、5……クロツク線、6
……同期信号送信器。
FIG. 1 is a block diagram showing one embodiment of the present invention, FIG. 2 is an explanatory diagram showing the form of signals transmitted by each terminal and signals on a contention control signal line in the embodiment shown in FIG.
FIG. 4 is an explanatory diagram showing the form of the signal transmitted by each terminal and the signal on the contention control signal line when a specific numerical value is given to the terminal number in the embodiment shown in FIG. 1, and FIG. FIG. 11 is an explanatory diagram showing the mode of a contention control signal line and a data line when three terminals A, B, and C having data having different data lengths want to transmit in the embodiment shown. 1-1 to 1-n terminal 2, data line 3, competitive control signal line 4, synchronous signal line 5, clock line 6,
... Synchronous signal transmitter.

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】バス上に1つ以上の端末が接続された装置
で、送信を行いたい前記端末が端末間の競合をとりなが
らデータを送信することで多重するデータ多重方式にお
いて、 1本以上のデータ線と、 1本のワイヤードOR接続の競合制御信号線と、 1本のワイヤードOR接続の同期信号線と、 転送クロックを表すクロック線と、 予め設定された自走周期で同期信号を作成して前記同期
信号線に前記同期信号を送信するとともに前記同期信号
線上の同期信号で前記自走周期の位相をリセットする同
期信号送信器とを有したバス構成をとり、 前記端末はそれぞれ、 前記端末毎に固有の2進数の端末番号が与えられかつ前
記同期信号線から前記同期信号が入った時点でクロック
に合わせて前記端末番号を1ビットずつ前記競合制御信
号線に送信する端末番号保持部と、 この端末番号保持部から送信された信号と前記競合制御
信号線上の信号とを比較して両者の間に不一致が生じた
時点で前記端末番号保持部に前記端末番号の送信を停止
させる比較部と、 前記端末番号保持部から送信された信号と前記競合制御
信号線上の信号とが最後まで一致した場合に前記同期信
号線からの次の前記同期信号に合わせて前記データを送
信し始めるデータ保持部と、 このデータ保持部が前記データを送信し終わると前記同
期信号線に同期信号を送信する同期信号出力部とを有す
ることを特徴とするデータ多重方式。
1. A data multiplexing system in which one or more terminals are connected on a bus, and the terminal that wants to transmit multiplexes by transmitting data while competing between the terminals. Data line, one wired-OR connection control signal line, one wired-OR connection synchronization signal line, a clock line that represents the transfer clock, and a synchronization signal created with a preset self-running cycle And a synchronization signal transmitter for transmitting the synchronization signal to the synchronization signal line and resetting the phase of the free-running cycle with the synchronization signal on the synchronization signal line, and the terminal includes: When a unique binary terminal number is given to each terminal and the synchronization signal is input from the synchronization signal line, the terminal number is transmitted to the contention control signal line one bit at a time in accordance with a clock. The terminal number holding unit, and a signal transmitted from the terminal number holding unit is compared with a signal on the contention control signal line, and when there is a mismatch between the two, the terminal number is transmitted to the terminal number holding unit. And a comparing unit that stops the data, in accordance with the next synchronization signal from the synchronization signal line when the signal transmitted from the terminal number holding unit and the signal on the contention control signal line match up to the end. A data multiplexing method comprising: a data holding unit that starts transmitting; and a synchronization signal output unit that transmits a synchronization signal to the synchronization signal line when the data holding unit finishes transmitting the data.
【請求項2】請求項1記載のデータ多重方式において、 優先順位の高い前記端末から順に大きな前記端末番号が
前記端末番号保持部に与えられることを特徴とするデー
タ多重方式。
2. The data multiplexing method according to claim 1, wherein the terminal numbers having the highest priority are assigned to the terminal number holding unit in order from the terminal having the highest priority.
【請求項3】バス上に1つ以上の端末が接続された装置
で、送信を行いたい前記端末が端末間の競合をとりなが
らデータを送信することで多重するデータ多重方式にお
いて、 1本以上のデータ線と、 1本のワイヤードAND接続の競合制御信号線と、 1本のワイヤードOR接続の同期信号線と、 転送クロックを表すクロック線と、 予め設定された自走周期で同期信号を作成して前記同期
信号線に前記同期信号を送信するとともに前記同期信号
線上の同期信号で前記自走周期の位相をリセットする同
期信号送信器とを有したバス構成をとり、 前記端末はそれぞれ、 前記端末毎に固有の2進数の端末番号が与えられかつ前
記同期信号線から前記同期信号が入った時点でクロック
に合わせて前記端末番号を1ビットずつ前記競合制御信
号線に送信する端末番号保持部と、 この端末番号保持部から送信された信号と前記競合制御
信号線上の信号とを比較して両者の間に不一致が生じた
時点で前記端末番号保持部に前記端末番号の送信を停止
させる比較部と、 前記端末番号保持部から送信された信号と前記競合制御
信号線上の信号とが最後まで一致した場合に前記同期信
号線からの次の前記同期信号に合わせて前記データを送
信し始めるデータ保持部と、 このデータ保持部が前記データを送信し終わると前記同
期信号線に同期信号を送信する同期信号出力部とを有す
ることを特徴とするデータ多重方式。
3. A data multiplexing system in which one or more terminals are connected on a bus and the terminal that wants to transmit multiplexes by transmitting data while competing between the terminals. Data line, one wired AND connection conflict control signal line, one wired OR connection synchronization signal line, and a clock line that represents a transfer clock, and a synchronization signal created at a preset self-running cycle And a synchronization signal transmitter for transmitting the synchronization signal to the synchronization signal line and resetting the phase of the free-running cycle with the synchronization signal on the synchronization signal line, and the terminal includes: When a unique binary terminal number is given to each terminal and the synchronization signal is input from the synchronization signal line, the terminal number is transmitted to the contention control signal line one bit at a time in accordance with a clock. The terminal number holding unit, and a signal transmitted from the terminal number holding unit is compared with a signal on the contention control signal line, and when there is a mismatch between the two, the terminal number is transmitted to the terminal number holding unit. And a comparing unit that stops the data, in accordance with the next synchronization signal from the synchronization signal line when the signal transmitted from the terminal number holding unit and the signal on the contention control signal line match up to the end. A data multiplexing method comprising: a data holding unit that starts transmitting; and a synchronization signal output unit that transmits a synchronization signal to the synchronization signal line when the data holding unit finishes transmitting the data.
【請求項4】請求項3記載のデータ多重方式において、 優先順位の高い前記端末から順に小さな前記端末番号が
前記端末番号保持部に与えられることを特徴とするデー
タ多重方式。
4. The data multiplexing method according to claim 3, wherein the terminal numbers having smaller numbers are given to the terminal number holding section in order from the terminal having a higher priority.
JP2192951A 1990-07-23 1990-07-23 Data multiplexing method Expired - Lifetime JP3019370B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2192951A JP3019370B2 (en) 1990-07-23 1990-07-23 Data multiplexing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2192951A JP3019370B2 (en) 1990-07-23 1990-07-23 Data multiplexing method

Publications (2)

Publication Number Publication Date
JPH0479637A JPH0479637A (en) 1992-03-13
JP3019370B2 true JP3019370B2 (en) 2000-03-13

Family

ID=16299734

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2192951A Expired - Lifetime JP3019370B2 (en) 1990-07-23 1990-07-23 Data multiplexing method

Country Status (1)

Country Link
JP (1) JP3019370B2 (en)

Also Published As

Publication number Publication date
JPH0479637A (en) 1992-03-13

Similar Documents

Publication Publication Date Title
US5172373A (en) Packet communication system and its control method
JPH0748739B2 (en) Multiple access control method and multiple access control system implementing the method
EP0121410B1 (en) Bus-configured local area network with data exchange capability
JPS58108844A (en) Digital data communicating method
JPH0652900B2 (en) Multi-master communication bus
JP3019370B2 (en) Data multiplexing method
JPS6276948A (en) Automatically equalizing method for level in local network
WO1987007797A1 (en) A method of coupling a data transmitter unit to a signal line and an apparatus for performing the invention
JP2001265716A (en) Device and method for transmitting information
JP3042822B2 (en) Bus contention control method
JP2000295114A (en) Data transfer circuit
JP2002507085A (en) Operating method for a data bus having a plurality of nodes
JP2615815B2 (en) Priority control method
SU1133590A1 (en) Interface for linking information transducer with computer
JPH0226904B2 (en)
JPS589618B2 (en) Data transmission method
JPH0439938B2 (en)
JPS6348215B2 (en)
JPH09181750A (en) Data processing system
KR940010576A (en) Transmission bus occupancy reservation method and device
JPS5974746A (en) Time slot control method of loop communication system
JPS6328141A (en) Alarm detecting system for optical receiver
JPH10215268A (en) Data transmission system
JPH0298250A (en) Communication controller
JPS5970036A (en) Multi-drop type receiving device for optical transmission