JPH0525213B2 - - Google Patents

Info

Publication number
JPH0525213B2
JPH0525213B2 JP19741284A JP19741284A JPH0525213B2 JP H0525213 B2 JPH0525213 B2 JP H0525213B2 JP 19741284 A JP19741284 A JP 19741284A JP 19741284 A JP19741284 A JP 19741284A JP H0525213 B2 JPH0525213 B2 JP H0525213B2
Authority
JP
Japan
Prior art keywords
signal
transmission
time slot
time
transmission path
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
JP19741284A
Other languages
Japanese (ja)
Other versions
JPS6174434A (en
Inventor
Hiroshi Shimizu
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
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP19741284A priority Critical patent/JPS6174434A/en
Publication of JPS6174434A publication Critical patent/JPS6174434A/en
Publication of JPH0525213B2 publication Critical patent/JPH0525213B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明はバスネツトワークに関する。[Detailed description of the invention] (Industrial application field) The present invention relates to bus networks.

(従来技術とその問題点) バス状の伝送路に複数の通信端末が接続された
ネツトワークは、端末とネツトワークの結合がパ
ツシブであることにより、端末の着脱が容易ある
いは高信頼度などすぐれた特徴を有している。し
かしながら、音声通信のような則時系の通信を収
容するには不向きな面もあり、種々の検討が進め
られている。例えば昭和59年度電子通信学会総合
全国大会講演論文集No.1859森他「バス形配線によ
る端末収容方式の一考案」に記載の分離形スロツ
トバス方式がある。かかる方式では、従装置は主
装置からの同期信号にもとづいて通信を行なうの
で、主装置と従装置間の通信は同期して行うこと
ができるが、従装置相互間の通信は非同期となる
ので、従装置は、通過する信号毎に同期をとる必
要がある。そのため、信号検出回路が必要とな
り、従装置の高価格化、規模の増大をもたらすこ
ととなつていた。
(Prior art and its problems) Networks in which multiple communication terminals are connected to a bus-like transmission path have advantages such as easy connection and removal of terminals and high reliability due to the passive connection between the terminals and the network. It has the following characteristics. However, it is not suitable for accommodating regular time-based communications such as voice communications, and various studies are currently underway. For example, there is a separate slot bus system described in Mori et al.'s ``An Idea of a Terminal Accommodation System Using Bus-Type Wiring'', Proceedings of the 1985 National Conference of the Institute of Electronics and Communication Engineers, No. 1859. In this method, the slave devices communicate based on synchronization signals from the master device, so communication between the master device and the slave devices can be performed synchronously, but communication between the slave devices is asynchronous. , slave devices need to be synchronized for each passing signal. Therefore, a signal detection circuit is required, leading to an increase in the price and scale of the slave device.

(発明の目的) 本発明の目的は、従装置相互間の通信も同期し
て行なうことができる同期式バスネツトワークを
提供することにある。
(Object of the Invention) An object of the present invention is to provide a synchronous bus network in which communication between slave devices can also be performed synchronously.

(発明の構成) 本発明によれば、主装置と、複数の従装置と、
前記主装置の送信部と、前記複数の従装置の受信
部とを共通に接続する第1の伝送路と、前記主装
置の受信部と前記複数の従装置の送信部とを共通
に接続する第2の伝送路から構成されるバスネツ
トワークであつて、前記主装置は複数のタイムス
ロツトからなる一定の周期毎に周期の開始を示す
同期信号を前記第1の伝送路に送出するとともに
送信信号を送出する送信部と、前記第2の伝送路
より供給される信号を受信する受信部と、前記受
信された信号を受信されたタイムスロツト番号に
応じ定められた時刻まで遅延させ前記送信部に供
給する遅延回路とを含んで構成され、前記従装置
は前記第1の伝送路より受信信号が供給され、前
記受信信号より同期信号を検出し、検出された同
期信号を基準に定められた時刻に前記受信信号を
受信する受信部と、前記同期信号を基準にして定
められるタイムスロツトにおいて、送信信号を前
記第2の伝送路に送出する送信部と含んで構成さ
れることを特徴とする同期式バスネツトワークが
得られる。
(Structure of the Invention) According to the present invention, a main device, a plurality of slave devices,
A first transmission path that commonly connects the transmitter of the main device and the receivers of the plurality of slave devices, and a first transmission path that commonly connects the receiver of the main device and the transmitter of the plurality of slave devices. A bus network consisting of a second transmission path, wherein the main device sends a synchronization signal indicating the start of a cycle to the first transmission path at every fixed period consisting of a plurality of time slots, and also sends a synchronization signal to the first transmission path. a transmitter that sends out a signal; a receiver that receives the signal supplied from the second transmission path; and a transmitter that delays the received signal to a predetermined time according to the received time slot number. and a delay circuit that supplies a delay circuit to the first transmission line, the slave device is supplied with a received signal from the first transmission path, detects a synchronization signal from the received signal, and is determined based on the detected synchronization signal. The device is characterized in that it is configured to include a receiving section that receives the received signal at a time, and a transmitting section that sends the transmitted signal to the second transmission path at a time slot determined based on the synchronization signal. A synchronous bus network is obtained.

(実施例) 次に図面を参照しながら本発明は詳細に説明す
る。
(Example) Next, the present invention will be described in detail with reference to the drawings.

第1図は、本発明の構成を示す図であり、第1
図の分散制御型バスネツトワークは主装置3、従
装置4,5,6主装置3からこれら従装置への通
信のための伝送路1と、従装置から主装置3への
通信のための伝送路2及び伝送路1,2の終端回
路7,8から成る。
FIG. 1 is a diagram showing the configuration of the present invention, and the first
The distributed control bus network in the figure includes a main device 3, slave devices 4, 5, 6, a transmission line 1 for communication from the main device 3 to these slave devices, and a transmission line 1 for communication from the slave device to the main device 3. It consists of a transmission line 2 and termination circuits 7 and 8 for the transmission lines 1 and 2.

本発明の第1の実施例に用いる主装置3の構成
を第2図に、従装置の伝送路インタフエイスの構
成を第3図に示す。
FIG. 2 shows the configuration of the main device 3 used in the first embodiment of the present invention, and FIG. 3 shows the configuration of the transmission line interface of the slave device.

第2図の主装置3は伝送路1,2にそれぞれ接
続された出力端子11及び入力端子12を有して
おり、送信制御回路17は一定周期T0でセレク
タ15を制御し更に制御出力17−1により同期
信号発生回路16を起動し同期信号Fをドライバ
13に供給する。従装置からの信号ブロツクはレ
シーバ14より入力され、信号検出回路20に供
給される。信号検出回路20は信号ブロツクを検
出するとレジスタ19に記憶させる。レジスタ1
9の信号は定められたタイムスロツトの時間位置
でレジスタ18に転送され送信制御回路17の制
御にもとづきセレクタ15を介し、ドライバ13
より伝送路1に出力される。従つて、出力端子1
1から伝送路1に対し、一定周期を与える周期信
号Fにひまつづき、一定の時間間隔で、伝送路2
より受信された従装置からの信号ブロツクの折り
返し信号が送出される。
The main device 3 in FIG. 2 has an output terminal 11 and an input terminal 12 connected to the transmission lines 1 and 2, respectively, and a transmission control circuit 17 controls the selector 15 at a constant period T 0 and further controls the control output 17. -1 activates the synchronization signal generation circuit 16 and supplies the synchronization signal F to the driver 13. A signal block from the slave device is input from the receiver 14 and supplied to the signal detection circuit 20. When the signal detection circuit 20 detects a signal block, it stores it in the register 19. register 1
The signal 9 is transferred to the register 18 at the time position of the determined time slot, and is sent to the driver 13 via the selector 15 under the control of the transmission control circuit 17.
The signal is output to transmission line 1. Therefore, output terminal 1
Continuing with the periodic signal F that gives a constant period to the transmission line 1 from 1 to the transmission line 1, the transmission line 2
A return signal of the signal block received from the slave device is sent out.

第3図の従装置は、入力端子43が伝送路1に
出力端子44が伝送路2接続されている。主装置
3からの信号はレシーバ24を介し、同期信号検
出回路28及び受信バツフア25に供給される。
同期信号検出回路28は同期信号Fを検出する
と、タイミング制御回路29を初期化する。タイ
ミング制御回路29は、送信制御回路27からの
制御データ即ちタイムスロツト番号情報にもとづ
き、送信タイムスロツトを特定し、そのタイムス
ロツトで、送信バツフア26及びドライバ23を
起動し、送信すべき信号ブロツクを伝送路2に送
出する。
In the slave device shown in FIG. 3, the input terminal 43 is connected to the transmission line 1, and the output terminal 44 is connected to the transmission line 2. The signal from the main device 3 is supplied to a synchronization signal detection circuit 28 and a reception buffer 25 via a receiver 24.
When the synchronization signal detection circuit 28 detects the synchronization signal F, it initializes the timing control circuit 29. The timing control circuit 29 specifies a transmission time slot based on the control data from the transmission control circuit 27, that is, the time slot number information, starts the transmission buffer 26 and the driver 23 in that time slot, and transmits the signal block to be transmitted. Send to transmission path 2.

本実施例の動作を各端末にタイムスロツトが固
定的に割りあてられている場合について第4図を
用いて説明する。第4図a−1,a−2は主装置
3の出力端子11、入力端子12における信号
を、同図b−1,b−2は従装置4の入力端子4
3、出力端子44における信号を、更に同図c−
1,c−2及びd−1,d−2は従装置5及び6
の入力端子43、出力端子44における信号を示
す。
The operation of this embodiment will be described with reference to FIG. 4 in the case where time slots are fixedly assigned to each terminal. Figure 4 a-1 and a-2 show signals at the output terminal 11 and input terminal 12 of the main device 3, and figures b-1 and b-2 show the signals at the input terminal 4 of the slave device 4.
3. The signal at the output terminal 44 is further changed to c- in the same figure.
1, c-2 and d-1, d-2 are slave devices 5 and 6
The signals at the input terminal 43 and output terminal 44 are shown.

第4図a−1に示すように主装置3は一定周期
T0で同期信号Fを伝送路1に出力する。この同
期信号Fは同図b−1,c−1,d−1に示すよ
うに伝搬遅延の後従装置4,5,6に到着する。
各従装置はこの同期信号Fにもとづき、タイムス
ロツトによる送信制御を行なう。今従装置4,
5,6にそれぞれ第1のタイムスロツトτ1、第2
のタイムスロツトτ2、第3のタイムスロツトτ3
送信タイムスロツトとして割りあてられていると
する。なお、説明を簡単にするために全てのタイ
ムスロツトの時間幅をTと同じ長さにする。
As shown in Figure 4 a-1, the main device 3
At T 0 , synchronization signal F is output to transmission line 1. This synchronization signal F arrives at the slave devices 4, 5, and 6 after a propagation delay, as shown in b-1, c-1, and d-1 in the figure.
Based on this synchronization signal F, each slave device performs transmission control using time slots. Now slave device 4,
5 and 6 respectively, the first time slot τ 1 and the second time slot τ 1
Assume that a third time slot τ 2 and a third time slot τ 3 are assigned as transmission time slots. Note that to simplify the explanation, the time widths of all time slots are assumed to be the same length as T.

第3図に示す従装置4において、タイミング制
御回路29は送信制御回路27から第1のタイム
スロツトτ1の割りあて指示にもとづき、ドライバ
23を起動し送信バツフア内の信号ブロツクAを
伝送路2に出力する。この信号ブロツクAの送信
時間位置を第4図b−2に示す。この信号ブロツ
クAは伝送路2を伝搬し同図a−2に示す時間位
置で主装置に受信される。この信号ブロツクAは
同図c−2,d−2に示すよう従装置5,6にも
到着するが伝送路2にはこれら従装置の入力端子
は接続されておらずこれを受信することはない。
同図a−2に示す信号ブロツクAは第2図の主装
置3の信号検出回路20によりその受信を検出さ
れ、レジスタ19にストアされる。第2のタイム
スロツトτ2になると、送信制御回路17は制御出
力17−1によりレジスタ18を起動しレジスタ
19内の信号ブロツクAを格納すると同時にセレ
クタ15に出力する。セレクタ15は送信制御回
路17の制御にもとづきレジスタ18からの折り
返された信号ブロツクAをドライバ13を介し伝
送路1に送出する。従つて、第4図a−1に示す
ようにタイムスロツトτ2の開始と共に信号ブロツ
クAが伝送路1に供給される。このタイムスロツ
トτ2においては、伝送路1には信号ブロツクAが
供給されると共に、第4図b−2に示すように従
装置5からの信号ブロツクBが伝送路2に供給さ
れる。この信号ブロツクBは主装置3において折
り返され第3タイムスロツトτ3で伝送路1に出力
される。周期T0の最終のタイムスロツトで送出
された信号ブロツクCは信号ブロツクA,Bと同
様第2図に主装置3のレジスタ19に記憶される
が、次の周期T0が開始されるのでセレクタ15
は同期信号発生回路16を選択し、同期信号Fを
まず送出する。この送出が終了すると、セレクタ
15はレジスタ18を選択し同時にレジスタ19
内の信号ブロツクCがレジスタ18に転送され
る。従つて、信号ブロツクCは次の周期T0の同
期信号Fにひきつづいて伝送路1に送出される。
第4図a−1には前の周期において従装置6が送
出した信号ブロツクC′が同期信号Fにひきつづい
て送出される状況が示されている。以上の様にし
て、主装置3から各従装置への伝送路1には、折
り返された信号ブロツクが一定間隔で送出され
る。
In the slave device 4 shown in FIG. 3, the timing control circuit 29 starts the driver 23 based on the instruction to allocate the first time slot τ 1 from the transmission control circuit 27, and transfers the signal block A in the transmission buffer to the transmission line 2. Output to. The transmission time position of this signal block A is shown in FIG. 4b-2. This signal block A propagates through the transmission line 2 and is received by the main device at the time position shown at a-2 in the figure. This signal block A also arrives at the slave devices 5 and 6 as shown in c-2 and d-2 of the same figure, but the input terminals of these slave devices are not connected to the transmission line 2, so it cannot be received. do not have.
Signal block A shown in FIG. 2 is detected by the signal detection circuit 20 of the main device 3 in FIG. At the second time slot τ 2 , the transmission control circuit 17 activates the register 18 by the control output 17-1, stores the signal block A in the register 19, and outputs it to the selector 15 at the same time. The selector 15 sends the folded signal block A from the register 18 to the transmission line 1 via the driver 13 under the control of the transmission control circuit 17. Therefore, as shown in FIG. 4a-1, signal block A is supplied to transmission line 1 at the start of time slot τ2 . In this time slot τ 2 , the signal block A is supplied to the transmission line 1, and the signal block B from the slave device 5 is supplied to the transmission line 2 as shown in FIG. 4b-2. This signal block B is turned back at the main device 3 and output to the transmission line 1 at the third time slot τ3. The signal block C sent out in the last time slot of the period T0 is stored in the register 19 of the main unit 3 in FIG. 2 like the signal blocks A and B, but since the next period T0 is started, 15
selects the synchronizing signal generation circuit 16 and first sends out the synchronizing signal F. When this transmission is completed, the selector 15 selects the register 18 and at the same time register 19.
The signal block C within is transferred to register 18. Therefore, the signal block C is sent to the transmission line 1 following the synchronizing signal F of the next period T0 .
FIG. 4a-1 shows a situation in which the signal block C' sent out by the slave device 6 in the previous cycle is sent out following the synchronizing signal F. As described above, the folded signal blocks are sent out at regular intervals to the transmission path 1 from the main device 3 to each slave device.

なお、本実施例においては、各従装置からの信
号ブロツクは、与えられたタイムスロツトの時間
幅以内に主装置3に到着する必要があるので、タ
イムスロツトの長さは、信号ブロツクの長さと、
伝送路1及び2の最大往復伝搬遅延時間の和より
も長く設定されるものとする。
In this embodiment, the signal block from each slave device must arrive at the main device 3 within the time width of the given time slot, so the length of the time slot is equal to the length of the signal block. ,
It is assumed that it is set longer than the sum of the maximum round-trip propagation delay times of transmission lines 1 and 2.

各従装置は、第3図において、同期信号検出回
路28において検出された同期信号Fにもとづ
き、受信バツフア25を起動し伝送路1上の信号
ブロツクを受信する。この際、信号ブロツクは同
期信号Fに同期して一定間隔で到着するので、信
号ブロツク毎に到着時間位置を検出する必要はな
く、受信制御は簡単となる。
In FIG. 3, each slave device activates the reception buffer 25 based on the synchronization signal F detected by the synchronization signal detection circuit 28 and receives the signal block on the transmission line 1. At this time, since the signal blocks arrive at regular intervals in synchronization with the synchronization signal F, there is no need to detect the arrival time position of each signal block, and reception control becomes simple.

次に各従装置に固定的にタイムスロツトが割り
あてられていない場合について説明する。第5図
a′−1に示すようにある周期の時刻で、伝送路1
上の第2のタイムスロツトτ2が空であるとする
(破線で示す)。この空きタイムスロツトの検出は
第3図の従来装置において、送信制御回路27が
受信バツフア25内の各タイムスロツトに対応し
たエリアを読みだし、信号ブロツクの有無を判定
することにより実施でる。本例の場合、第2のタ
イムスロツトに対応したエリアには信号ブロツク
は無い。今、従装置4及び5に送信要求が生じた
とすると、両従装置は、伝送路1上に第2のタイ
ムスロツトの空きを検出すると、次の周期におい
て、伝送路1上の第2のタイムスロツトに対応し
た伝送路2上のタイムスロツト即ち、第1のタイ
ムスロツトτ1において共に信号ブロツクを送出す
る。なお、第5図a−1からc−2までは同図
a′−1に示す周期の次の周期の信号を示す。従装
置4及び5はそれぞれ第5図b−1,c−1に示
す時間位置で同期信号Fを受信すると、第1のタ
イムスロツトで、同図b−2,c−2に示すよう
にそれぞれの信号ブロツクA,Bを送出する。
Next, a case where time slots are not fixedly assigned to each slave device will be explained. Figure 5
At the time of a certain period as shown in a'-1, transmission line 1
Assume that the second time slot τ 2 above is empty (indicated by a dashed line). In the conventional apparatus shown in FIG. 3, this detection of empty time slots can be carried out by the transmission control circuit 27 reading out the area corresponding to each time slot in the receiving buffer 25 and determining the presence or absence of a signal block. In this example, there is no signal block in the area corresponding to the second time slot. Now, suppose that a transmission request is made to slave devices 4 and 5. When both slave devices detect that the second time slot is vacant on transmission path 1, they will select the second time slot on transmission path 1 in the next cycle. A signal block is transmitted at the time slot on the transmission line 2 corresponding to the slot, that is, at the first time slot τ1 . In addition, Figure 5 a-1 to c-2 are the same figure.
The signal of the period following the period indicated by a'-1 is shown. When the slave devices 4 and 5 receive the synchronization signal F at the time positions shown in FIG. The signal blocks A and B are sent out.

第3図を用いてこの送信制御を説明する。送信
制御回路27は伝送路1の第2のタイムスロツト
の空きを検出すると、1つ前のタイムスロツト即
ち第1方のタイムスロツトで送信する旨、タイミ
ング制御回路29に通知する。この通知にもとづ
いて、タイミング制御回路29は、第1のタイム
スロツトで送信バツフア26及びドライバ23を
起動し、送信バツフア26内の信号ブロツクを伝
送路2に送出する。
This transmission control will be explained using FIG. When the transmission control circuit 27 detects that the second time slot of the transmission path 1 is vacant, it notifies the timing control circuit 29 that transmission will be performed in the previous time slot, that is, the first time slot. Based on this notification, the timing control circuit 29 starts up the transmission buffer 26 and the driver 23 in the first time slot, and sends out the signal block in the transmission buffer 26 to the transmission line 2.

伝送路2に送出された信号ブロツクA,Bは第
5図a−2に示すように一部が重なつて主装置3
に受信される。なお、重なりあつた部分を斜線で
示す。第2図の主装置3において、信号検出回路
20は、先に到着した信号ブロツクAの検出によ
り、受信信号ブロツクをレジスタ19に格納させ
る。しかし、この信号ブロツクの一部は信号ブロ
ツクBとの衝突により破壊されている。この破壊
された信号ブロツクは正常に受信された信号ブロ
ツクと同様次のタイムスロツトτ2で折り返され伝
送路1に送出される。
The signal blocks A and B sent to the transmission line 2 are partially overlapped and sent to the main device 3 as shown in Figure 5 a-2.
will be received. Note that the overlapping portions are indicated by diagonal lines. In the main device 3 of FIG. 2, the signal detection circuit 20 stores the received signal block in the register 19 by detecting the signal block A that arrived first. However, part of this signal block is destroyed by collision with signal block B. This destroyed signal block is turned back at the next time slot τ 2 and sent out to the transmission line 1 in the same manner as the normally received signal block.

第3図において、従装置4,5の送信制御回路
27は、送信したタイムスロツトの次タイムスロ
ツトに対応する受信バツフア25のエリアを読み
だし送信した信号ブロツクと一致しているか否か
判定する。この場合、受信された信号ブロツクは
衝突により破壊されており、送信した信号ブロツ
クと一致していない。従つて、従装置4,5はタ
イムスロツト捕捉の競合を認識し、再試行を行な
う。この再試行の方法としては、例えばランダム
時間待つた後行なうなど公知の方法を用いること
ができる。受信した信号ブロツクと送信した信号
ブロツクとが一致している場合は、タイムスロツ
ト捕捉に競合が生じなかつたことを認識しそのタ
イムスロツトを捕捉することができる。タイムス
ロツトの使用権を獲得すれば、常にそのタイムス
ロツトで送信を行なつている限り、他の従装置と
競合することはない。なお、本例では伝送路1の
第2のタイムスロツトτ1が空いている場合につい
て説明したが、第1のタイムスロツトτ1が空いて
いる場合には、同一周期内の最後のタイムスロツ
トτ3でタイムスロツト捕捉のための送信を行な
う。このように本発明は、タイムスロツトを固定
的に割りあてないネツトワークにも適用すること
ができ、この場合も、各従装置は受信される信号
ブロツク毎にその受信時間位置を検出する必要は
ない。
In FIG. 3, the transmission control circuit 27 of the slave devices 4 and 5 reads out the area of the reception buffer 25 corresponding to the time slot next to the transmitted time slot and determines whether or not it matches the transmitted signal block. In this case, the received signal block has been corrupted by a collision and does not match the transmitted signal block. Therefore, slave devices 4 and 5 recognize the time slot acquisition conflict and retry. As a method for this retry, a known method such as waiting for a random time and then retrying can be used. If the received signal block and the transmitted signal block match, it is recognized that there is no conflict in capturing the time slot, and that time slot can be captured. Once you have acquired the right to use a time slot, you will not compete with other slave devices as long as you always transmit in that time slot. In this example, the case where the second time slot τ 1 of the transmission line 1 is vacant has been explained, but if the first time slot τ 1 is vacant, the last time slot τ in the same period At step 3 , transmission is performed to capture the time slot. In this way, the present invention can be applied to networks in which time slots are not fixedly allocated, and even in this case, it is not necessary for each slave device to detect the reception time position for each received signal block. do not have.

本発明においては、周期T0内のタイムスロツ
ト長を必らずしも全て同じにする必要はない。
In the present invention, the lengths of the time slots within the period T 0 do not necessarily have to be all the same.

即ち、幾種類かの長さのタイムスロツトを用い
てもよい。また、主装置3での折り返しは、1タ
イムスロツト毎ではなく数タイムスロツト分の信
号ブロツクをまとめて折り返してもよい。
That is, time slots of several lengths may be used. Further, the main device 3 may loop back signal blocks of several time slots at once instead of every time slot.

次に第2の実施例について説明する。本実施例
では周期T0内に2種類の長さのタイムスロツト
を有し、主装置3は1周期分の信号ブロツクをま
とめて折り返す。
Next, a second embodiment will be described. In this embodiment, there are time slots of two different lengths within the period T0 , and the main device 3 loops back signal blocks for one period all at once.

第6図a,bに、主装置3の出力端子11即ち
伝送路1上の信号及び入力端子12即ち伝送路2
上の信号を示す。伝送路1上の周期T0は短かい
時間幅のタイムスロツトτ1′,τ2′,τ3′,τ4′、
と長
い時間幅のタイムスロツトτ5′,τ6′より構成され、
一方伝送路2上の周期T0は前述のタイムスロツ
トτ1′,τ2′,τ3′,τ4′に対応したタイムスロツ

τ1,τ2,τ3,τ4及び前述のタイムスロツトτ5′,
τ6′に対応したタイムスロツトτ5,τ6により構成さ
れる。なお、この構成はあらかじめ設定される。
タイムスロツトτ1,τ2,τ3,τ4,τ5,τ6は第1の
実施例と同様、信号ブロツク長に往復の伝搬遅延
時間を加えた時間幅以上で与えるのに対し、タイ
ムスロツトτ1′,τ2′,τ3′,τ4′,τ5′,τ6
は信号ブロ
ツクと同じ長さで与えられる。第6図bに示すよ
うにタイムスロツトτ1,τ2,τ3,τ4で受信された
長さの短かい信号ブロツクS1,S2,S3,S4及びタ
イムスロツトτ5,τ6で主装置3に受信された長さ
の長い信号ブロツクS5,S6は次の周期において同
図aに示すように1周期分まとめて主装置3より
連続的に送出される。
6a and b show signals on the output terminal 11 of the main device 3, that is, the transmission line 1, and the input terminal 12, that is, the signal on the transmission line 2.
The signal above is shown. The period T 0 on the transmission line 1 consists of short time slots τ 1 ′, τ 2 ′, τ 3 ′, τ 4 ′,
It consists of time slots τ 5 ′ and τ 6 ′ with long time widths.
On the other hand, the period T 0 on the transmission line 2 corresponds to the time slots τ 1 , τ 2 , τ 3 , τ 4 corresponding to the aforementioned time slots τ 1 ′, τ 2 ′, τ 3 ′, τ 4 ′, and the aforementioned time slots τ 1 ′ , τ 2 ′ , τ 3 ′, τ 4 ′ . τ 5 ′,
It is composed of time slots τ 5 and τ 6 corresponding to τ 6 ′. Note that this configuration is set in advance.
As in the first embodiment, the time slots τ 1 , τ 2 , τ 3 , τ 4 , τ 5 , τ 6 are given by the time width equal to or longer than the signal block length plus the round-trip propagation delay time. Lot τ 1 ′, τ 2 ′, τ 3 ′, τ 4 ′, τ 5 ′, τ 6
is given with the same length as the signal block. As shown in FIG. 6b, short signal blocks S 1 , S 2 , S 3 , S 4 and time slots τ 5 , τ received in time slots τ 1 , τ 2 , τ 3 , τ 4 The long signal blocks S 5 and S 6 received by the main unit 3 at step 6 are continuously sent out from the main unit 3 in the next cycle in one cycle as shown in a in FIG.

本実施例に用いる主装置3の構成を第7図に示
す。第7図の主装置3は、第2図の主装置3に展
開回路22が加わると共に、1タイムスロツト分
の信号ブロツクをストアしていたレジスタ18に
代わり同期信号F及び1周期分の信号ブロツクを
ストアするレジスタ21を有している。レジスタ
19は信号検出回路20の検出結果にもとづき受
信された信号ブロツクを一度ストアした後、展開
回路22を介してレジスタ21に供給する。送信
制御回路17は、伝送路2上のタイムスロツト
τ1,τ2,τ3,τ4及びτ5,τ6に対応して、展開回路
22を制御し、レジスタ21の所定の位置に格納
させる。例えば、タイムスロツトτ1ではレジスタ
19の出力は、展開回路22を介しレジスタ21
の同期信号用エリアの次のエリアに接続され、タ
イムスロツトτ2では更に次のエリアに接続され、
最後のタイムスロツトτ6ではレジスタ21の最後
のエリアに接続される。なお各タイムスロツトに
対応したレジスタ21のエリアは、それぞれのタ
イムスロツトでの信号ブロツク長と等しくする。
FIG. 7 shows the configuration of the main device 3 used in this embodiment. The main device 3 in FIG. 7 has an expansion circuit 22 added to the main device 3 in FIG. It has a register 21 for storing. The register 19 once stores the received signal block based on the detection result of the signal detection circuit 20, and then supplies it to the register 21 via the expansion circuit 22. The transmission control circuit 17 controls the expansion circuit 22 in response to the time slots τ 1 , τ 2 , τ 3 , τ 4 and τ 5 , τ 6 on the transmission path 2, and stores them in predetermined positions of the register 21. let For example, at time slot τ 1 , the output of register 19 is transmitted to register 21 via expansion circuit 22.
It is connected to the next area of the synchronization signal area, and further connected to the next area at time slot τ 2 ,
The last time slot τ 6 is connected to the last area of register 21. The area of the register 21 corresponding to each time slot is made equal to the signal block length at each time slot.

次の周期の開始と共に、同期信号用のエリアに
同期信号発生回路16より出力される同期信号F
がストアされレジスタ21はシフト動作により同
期信号F及び各信号ブロツクをシリアルにドライ
バ13を介し伝送路1に供給する。このときの伝
送路1上の信号は第6図aに示される。
At the start of the next cycle, the synchronization signal F is output from the synchronization signal generation circuit 16 to the synchronization signal area.
is stored, and the register 21 serially supplies the synchronizing signal F and each signal block to the transmission line 1 via the driver 13 by a shift operation. The signal on the transmission line 1 at this time is shown in FIG. 6a.

本実施例に用いる従装置における制御を第3図
を用いて説明する。
Control in the slave device used in this embodiment will be explained using FIG. 3.

受信バツフア25は同期信号検出回路28が検
出した同期信号Fにもとづいて連続的に信号ブロ
ツクを受信する。一方、送信制御回路28及びタ
イミング制御回路29は伝送路2上のタイムスロ
ツト構成を記憶しており、タイミング制御回路2
9は送信制御回路27から送信タイムスロツト番
号を指定されるとそれに応じた時間幅のみ所定の
タイムスロツトで送信を行なう。この場合、固定
タイムスロツトでもタイムスロツトを固定しない
場合でも第1の実施例と同様の制御により通信を
行なうことができる。
The reception buffer 25 continuously receives signal blocks based on the synchronization signal F detected by the synchronization signal detection circuit 28. On the other hand, the transmission control circuit 28 and the timing control circuit 29 store the time slot configuration on the transmission line 2, and the timing control circuit 2
When a transmission time slot number is designated by the transmission control circuit 27, the transmission control circuit 9 performs transmission using a predetermined time slot only for a time width corresponding to the transmission time slot number. In this case, whether the time slot is fixed or the time slot is not fixed, communication can be performed by the same control as in the first embodiment.

また、本実施例のように幾種類もの長さのタイ
ムスロツトがある場合、ある従装置に対し、その
うちの一種類のタイムスロツトでのみ送信するよ
うにすることも、複数種類のタイムスロツトを使
用して送信できるようにすることも可能である。
後者の場合、送信制御回路27は、送信バツフア
26内の信号ブロツクの長さに応じて、タイムス
ロツト番号をタイミング制御回路29に通知す
る。
In addition, when there are time slots of various lengths as in this example, it is possible to transmit to a certain slave device using only one of the time slots, or to use multiple types of time slots. It is also possible to enable the transmission.
In the latter case, the transmission control circuit 27 notifies the timing control circuit 29 of the time slot number depending on the length of the signal block in the transmission buffer 26.

このように複数種類の長さのタイムスロツトを
設けることにより、送信すべき信号ブロツクの長
さに応じてタイムスロツトを選択したりあるいは
従装置の信号ブロツクの長さがあらかじめわかつ
ている場合は、その長さに応じて従装置に対し送
信可能なタイムスロツトを割りあてることができ
伝送路を効率良く使用することができる。
By providing time slots with multiple lengths in this way, you can select a time slot depending on the length of the signal block to be transmitted, or if the length of the signal block of the slave device is known in advance, It is possible to allocate transmission time slots to slave devices according to their lengths, allowing efficient use of the transmission path.

本実施例では、第6図aに示すように、折り返
された信号ブロツクを1周期分まとめて連続的に
送信することにより周期T0の後端のみで伝送路
1はアイドルとなる。従つてこのアイドル時間を
使用してオプシヨナルな通信、例えば主装置3か
ら各従装置への通信あるいは、外部ネツトワーク
から従装置への通信に使用することもできる。こ
のような場合の伝送路1及び2上の信号を第8図
a及びbに示す。本例では、従装置から主装置3
への通信は、同じなので同図bと第6図bとは同
じである。主装置3は、折り返すべき信号ブロツ
クに、オプシヨナルスロツトを用いた信号ブロツ
クX,Yを付加して伝送路1に送出する。第9図
にオプシヨナルタイムスロツトを付加する場合の
主装置3の構成を示す。本構成は、第7図の構成
にオプシヨナル通信用のレジスタ41及び42が
付加されたものである。レジスタ41には時間幅
の短かいタイムスロツトで送出される信号ブロツ
ク(第8図a信号ブロツクX)が、レジスタ42
には時間幅の長いタイムスロツトで送出される信
号ブロツク(第8図aの信号ブロツクY)が供給
され、周期T0の開始時にレジスタ21に格納さ
れ伝送路1に送出される。なお、タイムスロツト
が固定的に割りあてられていないネツトワークに
おいては各従装置は、オプシヨナルな通信のため
のタイムスロツトを以外のタイムスロツトに対し
てのみ捕捉制御を行なう。
In this embodiment, as shown in FIG. 6a, by continuously transmitting the folded signal blocks for one cycle, the transmission line 1 becomes idle only at the rear end of the cycle T0 . Therefore, this idle time can also be used for optional communication, for example, communication from the main device 3 to each slave device, or communication from an external network to the slave devices. Signals on transmission lines 1 and 2 in such a case are shown in FIGS. 8a and 8b. In this example, from the slave device to the main device 3
Since the communication to and from is the same, FIG. 6b and FIG. 6b are the same. The main device 3 adds signal blocks X and Y using optional slots to the signal block to be looped back and sends it to the transmission line 1. FIG. 9 shows the configuration of the main device 3 when an optional time slot is added. This configuration is obtained by adding registers 41 and 42 for optional communication to the configuration shown in FIG. The register 41 receives a signal block (signal block
is supplied with a signal block (signal block Y in FIG. 8a) which is sent out in a time slot with a long time width, and is stored in the register 21 and sent out to the transmission line 1 at the start of the period T0 . In a network where time slots are not fixedly assigned, each slave device performs acquisition control only on time slots other than the time slot for optional communication.

以上、主装置から従装置への伝送路と逆方向の
伝送路とが物理的に別線である例を用いて本発明
を説明したが、一つの伝送路を双方向で用いるバ
スネツトワークにも適用することができる。
The present invention has been explained above using an example in which the transmission path from the main device to the slave device and the transmission path in the opposite direction are physically separate lines. can also be applied.

第10図に第3の実施例を示す。第10図のバ
スネツトワークは、伝送路31は主装置3、従装
置4,5,6を相互に接続する共に終端回路30
により終端されている。第11図に時分割により
伝送路31を双方向の通信に用いる場合の伝送路
31上の信号を示す。伝送路31は周期T0のう
ち前端の時間T2の間主装置3から従装置4,5,
6へ伝送に、残りの時間T0の間で、逆方向の伝
送に使用される。時間T0は、タイムスロツトτ1
τ2,τ3,τ4,τ5,τ6に分割され、ある周期で送出
された従装置からの信号ブロツクは、主装置3内
に一度ストアされ、次の周期の時間T1の間に連
結して送信される。
FIG. 10 shows a third embodiment. In the bus network shown in FIG.
It is terminated by FIG. 11 shows signals on the transmission line 31 when the transmission line 31 is used for bidirectional communication by time division. The transmission line 31 is connected from the main device 3 to the slave devices 4, 5, and
6, and during the remaining time T 0 is used for transmission in the reverse direction. The time T 0 is the time slot τ 1 ,
The signal block from the slave device that is divided into τ 2 , τ 3 , τ 4 , τ 5 , and τ 6 and sent out in a certain period is stored once in the main device 3, and is sent during the time T 1 of the next period. is concatenated with and sent.

第12図及び第13図に本実施例に用いる主装
置3及び従装置の構成を示す。第12図の主装置
3は端子31により伝送路31に接続される。本
構成はドライバ32、レシーバ33が時間により
動作切換え制御をうけることを除き第7図の主装
置と同じである。送信制御回路17は、周期T0
の開始と共に制御出力17−3によりドライバ3
2を動作状態にし、第7図に示す主装置と同様の
方法によりレジスタ21にストアされている信号
ブロツクを伝送路31に送出する。この送出制御
はレジスタ21内の信号ブロツクが全て送出され
るまで即ち時間T1の間行なわれ、その間レシー
バ33は禁止状態となる。時間T1が経過すると、
ドライバ32は禁止状態、レシーバ33は動作状
態となり、受信制御を開始する。時間T2内の各
タイムスロツト内で受信された信号ブロツクは、
レジスタ21にストアされ次の周期での送信制御
に備える。第13図の従装置は、端子34を介
し、伝送路31に接続されている。本構成は、レ
シーバ35が、時間T1の間のみ動作状態となる
ことを除き第3図の従装置と同じである。本実施
例では、タイミング制御回路29は、同期信号F
の受信後時間T1が経過した後、送信タイムスロ
ツトを与える制御を開始する。
FIGS. 12 and 13 show the configurations of the main device 3 and slave devices used in this embodiment. The main device 3 in FIG. 12 is connected to a transmission line 31 through a terminal 31. The main device 3 shown in FIG. This configuration is the same as the main device shown in FIG. 7, except that the driver 32 and receiver 33 are subject to operation switching control depending on time. The transmission control circuit 17 has a period T 0
At the start of the control output 17-3, the driver 3
2 is brought into operation, and the signal block stored in the register 21 is sent to the transmission path 31 in the same manner as the main device shown in FIG. This transmission control is carried out until all the signal blocks in the register 21 are transmitted, that is, for a time T1 , during which time the receiver 33 is in an inhibited state. Once the time T 1 has elapsed,
The driver 32 is in a prohibited state, the receiver 33 is in an active state, and reception control is started. The signal block received within each time slot within time T2 is
The data is stored in the register 21 in preparation for transmission control in the next cycle. The slave device shown in FIG. 13 is connected to the transmission line 31 via a terminal 34. This configuration is the same as the slave device of FIG. 3, except that receiver 35 is active only during time T1 . In this embodiment, the timing control circuit 29 uses the synchronization signal F
After time T1 has elapsed since the reception of , control for providing a transmission time slot is started.

次に、従装置から主装置への送信におけるタイ
ムスロツトの長さについて簡単に述べる。タイム
スロツトの時間幅は、信号ブロツクの長さと伝送
路の往復伝搬時間の和以上にすることは前に述べ
たが、第14図に示すように、従装置4,5,6
がバス状の伝送路36に対し偏在している場合は
この限りではない。即ち、伝送路長(L1+L2
に対しL1の長さの部分にの従装置が接続されて
いる場合は、前記のタイムスロツトの時間幅は、
信号ブロツク長と距離2L1の伝搬時間の和以上に
すればよく、信号ブロツク長と全伝送路長の往復
分の時間長の和以上にする必要はない。
Next, the length of the time slot in transmission from the slave device to the main device will be briefly described. As mentioned above, the time width of the time slot should be greater than or equal to the sum of the length of the signal block and the round-trip propagation time of the transmission path, but as shown in FIG.
This is not the case if the signals are unevenly distributed on the bus-like transmission path 36. In other words, the transmission path length (L 1 +L 2 )
If a slave device of length L 1 is connected to
It is sufficient that the length is greater than the sum of the signal block length and the propagation time of the distance 2L1 , and there is no need to make it greater than the sum of the signal block length and the round trip time length of the total transmission path length.

(発明の効果) 以上述べた通り、本発明によれば、従装置は送
信、受信も同期信号に同期して行なうことができ
るので、伝送路インタフエイス回路の構成が簡単
になる。また、長さの異なるタイムスロツトを複
数種類具備することにより、送信信号ブロツク長
に応じたタイムスロツトを使用することができ、
伝送路を効率良く使用できる。更に、主装置にお
いて複数タイムスロツト分の信号ブロツクをまと
めて折り返すことにより、主装置から従装置への
伝送路に、折り返しの信号ブロツク以外の信号ブ
ロツクを重量させることができ、通信能力を増大
させることができる。更にまた、1対のバスを用
いても通信を行なうことができ、設置条件をゆる
やかにすることができる。
(Effects of the Invention) As described above, according to the present invention, the slave device can perform transmission and reception in synchronization with the synchronization signal, thereby simplifying the configuration of the transmission line interface circuit. Furthermore, by providing multiple types of time slots with different lengths, it is possible to use time slots according to the transmission signal block length.
Transmission lines can be used efficiently. Furthermore, by collectively looping back signal blocks for multiple time slots in the main device, it is possible to add signal blocks other than the looped signal blocks to the transmission path from the main device to the slave device, increasing communication capacity. be able to. Furthermore, communication can be performed using a pair of buses, and installation conditions can be relaxed.

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

第1図、第10図及び第14図は本発明におけ
るネツトワークの構成を示す図、第2図、第7
図、第9図及び第12図は本発明に用いる主装置
の構成を示す図、第3図及び第13図は本発明に
用いる従装置の構成を示す図、第4図、第5図、
第6図、第8図及び第11図は伝送路上の信号を
示す図である。 図において、1,2,31,36は伝送路、3
は主装置、4,5,6は従装置、7,8,30は
終端回路を示す。第2図、第3図、第7図、第9
図、第12図及び第13図において、13,2
3,32はドライバ、14,24,33,35は
レシーバ、15はセレクタ、17,27は送信制
御回路、16は同期信号発生回路、18,19,
21,41,42はレジスタ、20は信号検出回
路、28は同期信号検出回路、29はタイミング
制御回路、25,26はバツフア、22は展開回
路を示す。
FIGS. 1, 10, and 14 are diagrams showing the configuration of the network in the present invention, and FIGS.
9 and 12 are diagrams showing the configuration of the main device used in the present invention, FIGS. 3 and 13 are diagrams showing the configuration of the slave device used in the present invention, FIG. 4, FIG.
FIG. 6, FIG. 8, and FIG. 11 are diagrams showing signals on the transmission path. In the figure, 1, 2, 31, 36 are transmission lines, 3
4, 5 and 6 are slave devices, and 7, 8 and 30 are terminal circuits. Figure 2, Figure 3, Figure 7, Figure 9
In Figures 12 and 13, 13, 2
3 and 32 are drivers; 14, 24, 33 and 35 are receivers; 15 is a selector; 17 and 27 are transmission control circuits; 16 is a synchronization signal generation circuit; 18, 19,
21, 41, and 42 are registers, 20 is a signal detection circuit, 28 is a synchronization signal detection circuit, 29 is a timing control circuit, 25, 26 is a buffer, and 22 is an expansion circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 主装置と、複数の従装置と、前記主装置の送
信部と、前記複数の従装置の受信部とを共通に接
続する第1の伝送路と、前記主装置の受信部と前
記複数の従装置の送信部とを共通に接続する第2
の伝送路から構成されるバスネツトワークであつ
て、前記主装置は複数のタイムスロツトからなる
一定の周期毎に周期の開始を示す同期信号を前記
第1の伝送路に送出するとともに送信信号を送出
する送信部と、前記第2の伝送路より供給される
信号を受信する受信部と、前記受信された信号を
受信されたタイムスロツト番号に応じ定められた
時刻まで遅延させ前記送信部に供給する遅延回路
とを含んで構成され、前記従装置は前記第1の伝
送路より受信信号が供給され、前記受信信号より
同期信号を検出し、検出された同期信号を基準に
定められた時刻に前記受信信号を受信する受信部
と、前記同期信号を基準にして定められるタイム
スロツトにおいて、送信信号を前記第2の伝送路
に送出する送信部とを含んで構成されることを特
徴とする同期式バスネツトワーク。
1 A first transmission path that commonly connects a main device, a plurality of slave devices, a transmitting section of the main device, and a receiving section of the plurality of slave devices; A second terminal that is commonly connected to the transmitting section of the slave device.
In the bus network, the main device sends out a synchronization signal indicating the start of a cycle to the first transmission path at regular intervals consisting of a plurality of time slots, and also sends a transmission signal to the first transmission path. a transmitter that transmits the signal; a receiver that receives the signal supplied from the second transmission path; and a receiver that delays the received signal until a predetermined time according to the received time slot number and supplies the signal to the transmitter. The slave device is supplied with a received signal from the first transmission path, detects a synchronization signal from the received signal, and performs a synchronization signal at a predetermined time based on the detected synchronization signal. A synchronization device characterized in that it is configured to include a receiving section that receives the received signal, and a transmitting section that sends out the transmission signal to the second transmission path in a time slot determined based on the synchronization signal. expression bus network.
JP19741284A 1984-09-20 1984-09-20 Synchronizing type bus network Granted JPS6174434A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19741284A JPS6174434A (en) 1984-09-20 1984-09-20 Synchronizing type bus network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19741284A JPS6174434A (en) 1984-09-20 1984-09-20 Synchronizing type bus network

Publications (2)

Publication Number Publication Date
JPS6174434A JPS6174434A (en) 1986-04-16
JPH0525213B2 true JPH0525213B2 (en) 1993-04-12

Family

ID=16374082

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19741284A Granted JPS6174434A (en) 1984-09-20 1984-09-20 Synchronizing type bus network

Country Status (1)

Country Link
JP (1) JPS6174434A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1977566B1 (en) * 2006-01-27 2017-03-15 FTS Computertechnik GmbH Time-controlled secure communication

Also Published As

Publication number Publication date
JPS6174434A (en) 1986-04-16

Similar Documents

Publication Publication Date Title
EP0227808B1 (en) Reliable synchronous inter-node communication in a self-routing network
EP0051794B1 (en) Distributed-structure message switching system on random-access channel for message dialogue among processing units
EP0121410B1 (en) Bus-configured local area network with data exchange capability
WO1989011187A1 (en) Reconfigurable local area network
JPH0779348B2 (en) Stationary device and signal control method used in ring communication system and system
US5206638A (en) Method and apparatus for exchanging data within a digital communications system
EP0797881A1 (en) Communications network, a dual mode data transfer system therefor
WO1996019058A9 (en) Communications network, a dual mode data transfer system therefor
JP3150677B2 (en) Digital signal switch and network including same and method of configuring interconnection of multiple digital devices
JPH0525213B2 (en)
JPS61161842A (en) Signal transmitting system
JPH0337221B2 (en)
EP0268664B1 (en) A method of coupling a data transmitter unit to a signal line and an apparatus for performing the invention
US3859465A (en) Data transmission system with multiple access for the connected users
CN111970183B (en) Serial communication system and serial communication method
US4815070A (en) Node apparatus for communication network having multi-conjunction architecture
JP3487458B2 (en) Parallel signal transmission device
JP3459075B2 (en) Synchronous serial bus method
JPS5951794B2 (en) Control method of distributed electronic exchange
JPS5915583B2 (en) Synchronization method for data transmission between multiple communication devices
JP3125325B2 (en) Transmission control method in storage-type star communication network
JP2870178B2 (en) Repeater device for optical local area network
SU1282144A1 (en) Device for transmission of information in ring communication channel
JP3170827B2 (en) Polling data collection system
JP3230308B2 (en) Ring LAN