JPH063910B2 - Data transmission system between a plurality of devices - Google Patents
Data transmission system between a plurality of devicesInfo
- Publication number
- JPH063910B2 JPH063910B2 JP60293249A JP29324985A JPH063910B2 JP H063910 B2 JPH063910 B2 JP H063910B2 JP 60293249 A JP60293249 A JP 60293249A JP 29324985 A JP29324985 A JP 29324985A JP H063910 B2 JPH063910 B2 JP H063910B2
- Authority
- JP
- Japan
- Prior art keywords
- signal
- data
- time
- gate
- time slot
- 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
Links
Landscapes
- Synchronisation In Digital Transmission Systems (AREA)
- Small-Scale Networks (AREA)
Description
【発明の詳細な説明】 発明の要約 複数の装置が送受信伝送ラインで接続されており、一定
の周期で同期信号が与えられる。各装置は、この同期信
号を基準として上記一定の周期内で複数のタイム・スロ
ットを作成する。これらのタイム・スロットのうちの1
つは同期信号用、他の1つは制御信号送受用、残りのタ
イム・スロットは各装置に割当てられたデータ信号送受
用である。制御信号送受用タイム・スロットにおいて、
任意の装置間の接続が試みられる。接続された装置は、
データ信号送受用タイム・スロットにおいてデータ信号
を相互に送受する。DETAILED DESCRIPTION OF THE INVENTION A plurality of devices are connected by a transmission / reception transmission line, and a synchronization signal is given at a constant cycle. Each device creates a plurality of time slots within the above-mentioned fixed period on the basis of this synchronization signal. One of these time slots
One is for synchronizing signals, the other is for transmitting and receiving control signals, and the remaining time slots are for transmitting and receiving data signals assigned to each device. In the control signal transmission / reception time slot,
Connections between any devices are attempted. The connected device is
Data signals are mutually transmitted and received in the time slot for data signal transmission and reception.
目次 (1)発明の背景 (1.1)技術分野 (1.2)従来技術 (2)発明の概要 (2.1)発明の目的 (2.2)発明の構成と効果 (3)実施例の説明 (3.1)システム全体の構成および動作の概要 (3.2)装置の構成 (3.3)同期確立処理(初期処理) (3.4)電文フォーマット (3.5)接続および交信処理 (3.6)衝突検出 (1)発明の背景 (1.1)技術分野 この発明は、複数の装置相互間のデータ伝送システムに
関し、さらに詳しくは、構内電話交換システムその他の
ローカル・ネットワークにおいて、複数の端末機間で音
声データを含むディジタル・データを相互に送受するた
めのシステムに関する。Table of Contents (1) Background of the Invention (1.1) Technical Field (1.2) Prior Art (2) Outline of the Invention (2.1) Purpose of the Invention (2.2) Structure and Effect of the Invention (3) Description of the Embodiment (3.1) Overall System Overview of configuration and operation (3.2) Device configuration (3.3) Synchronization establishment processing (initial processing) (3.4) Message format (3.5) Connection and communication processing (3.6) Collision detection (1) Background of the invention (1.1) Technical field The present invention relates to a data transmission system between a plurality of devices, and more particularly, to a system for exchanging digital data including voice data between a plurality of terminals in a private branch exchange system or other local networks. Regarding
(1.2)従来技術 複数の装置相互間のデータ伝送システムには、スター形
ネットワーク・システム、ループ形ネットワーク・シス
テムなどがその典型的なものとして利用されている。(1.2) Prior Art Star type network systems, loop type network systems, etc. are typically used as data transmission systems between a plurality of devices.
しかしながら、これらの従来のシステムにおいては、い
ずれも接続、交信のための主制御装置が必要であり、主
制御装置に接続された複数の端末機は主制御装置を介し
て相互にデータ伝送を行なう。端末機の数がきわめて少
ない場合であっても主制御装置の設置は不可避であるか
ら、設備投資費用が嵩むという問題がある。However, these conventional systems all require a main controller for connection and communication, and a plurality of terminals connected to the main controller perform mutual data transmission via the main controller. . Even if the number of terminals is extremely small, it is inevitable to install the main control unit, which causes a problem of increasing capital investment cost.
また、これら従来のシステムでは、主制御装置に端末機
の数だけ通信のためのインターフェイスを設ける必要が
あるので、この点においても主制御装置の構成が複雑に
なり高価となることは避けられない。Further, in these conventional systems, since it is necessary to provide the main control device with interfaces for communication as many as the number of terminals, it is unavoidable that the configuration of the main control device becomes complicated and expensive in this respect as well. .
さらに、スター形システムにおいては、すべて端末機は
主制御装置と別個の伝送ラインで接続されるので、総伝
送ライン長がきわめて長くなる。ループ形システムにお
いても、送信ラインと受信ラインとが必要である。Further, in the star type system, since all terminals are connected to the main controller by a separate transmission line, the total transmission line length becomes extremely long. Even in a loop system, a transmission line and a reception line are necessary.
(2)発明の概要 (2.1)発明の目的 この発明は、従来のような主制御装置が不要であってし
かも総伝送ライン長を短くすることのできる複数の装置
相互間のデータ伝送システムを提供することを目的とす
る。(2) Outline of the Invention (2.1) Object of the Invention The present invention provides a data transmission system between a plurality of devices that does not require a conventional main control device and can shorten the total transmission line length. The purpose is to do.
(2.2)発明の構成と効果 この発明による複数の装置相互間のデータ伝送システム
は、送受信兼用伝送ラインにより接続され、あらかじめ
識別符号が付けられた複数の装置と、一定の周期で同期
信号を送信する手段とから構成されている。そして、各
装置は、同期信号を基準として、上記一定の周期内で、
装置数よりも少なくとも2つ以上多い数で分割された複
数のタイム・スロットを作成する手段を備えている。各
タイム・スロットの時間長は、通信される信号の最初か
ら終わりまでの持続時間に装置間最大伝搬遅延時間の2
倍の時間を加えたものを含む長さである。また、これら
のタイム・スロットの1つが送信装置と受信装置との間
の通信信号の同期を行うための同期信号用、他の1つが
データ通信開始を要求する装置から送信される接続要求
信号もしくはデータ通信開始を要求された装置から送信
される接続完了信号、またはデータ通信終了を要求する
装置から送信される開放要求信号もしくはデータ通信終
了を要求された装置から送信される開放完了信号、およ
びデータ通信開始または終了を要求する装置の識別符号
とデータ通信開始または終了を要求される装置の識別符
号を含む制御信号の送受信用、そして残りのタイム・ス
ロットがデータ送信用となっている。さらに、各装置
は、同期信号を送信する装置においては、同期信号用タ
イム・スロットに同期して開かれ、このタイム・スロッ
トの時間の経過後に閉じられる第1のゲート、同期信号
を受信する装置においては、同期信号用タイム・スロッ
トに同期して開かれ、このタイム・スロットの時間の経
過後に閉じられる第2のゲート、制御信号を送信すると
きに、制御信号送受信用タイム・スロットに同期して開
かれ、このタイム・スロットの時間の経過後に閉じられ
る第3のゲート、制御信号を受信する状態のときに、制
御信号送受信用タイム・スロットに同期して開かれ、こ
のタイム・スロットの時間の経過後に閉じられる第4の
ゲート、データを送信するときに、装置の識別符号ごと
にデータ送信用としてあらかじめ割当てられているデー
タ送信用タイム・スロットに同期して開かれ、このタイ
ム・スロットの時間の経過後に閉じられる第5のゲー
ト、制御信号の送受により通信すべき相手装置が定まっ
たのち、データを受信すべき状態のときに、相手装置に
割当てられているデータ送信用タイム・スロットに同期
して開かれ、このタイム・スロットの時間の経過後に閉
じられる第6のゲート、ならびにデータ通信開始を要求
するときに第3のゲートを開いて制御信号を伝送ライン
に送信し、上記一定の周期で第4のゲートを開いて制御
信号を伝送ラインから取込み、制御信号の送受により通
信すべき装置が定まったのち、第5のゲートを開いて、
送信すべきデータを伝送ラインに送出しまたは第6のゲ
ートを開いて伝送ラインからデータを取込むように、お
よびデータ通信終了を要求するときに第3のゲートを開
いて制御信号を伝送ラインに送信し、上記一定の周期で
第4のゲートを開いて制御信号を伝送ラインから取込
み、制御信号の送受により通信を終了するように、制御
する手段備えている。(2.2) Configuration and effect of the invention A data transmission system between a plurality of devices according to the present invention transmits a synchronization signal at a fixed cycle to a plurality of devices which are connected by a transmission / reception transmission line and are pre-identified. And means for doing so. Then, each device, within the above-mentioned fixed period, based on the synchronization signal,
Means are provided for creating a plurality of time slots divided by at least two more than the number of devices. The time length of each time slot is 2 times the maximum propagation delay time between devices for the duration from the beginning to the end of the signal to be communicated.
It is the length including doubled time. Further, one of these time slots is for a synchronization signal for synchronizing the communication signal between the transmitting device and the receiving device, and the other one is a connection request signal transmitted from the device requesting the start of data communication or A connection completion signal transmitted from a device requested to start data communication, a release request signal transmitted from a device requesting termination of data communication, or a release completion signal transmitted from a device requested to terminate data communication, and data. The control signal including the identification code of the device requesting the start or end of communication and the identification code of the device requesting the start or end of the data communication are transmitted and received, and the remaining time slots are used for data transmission. Further, each device is a device that transmits a synchronization signal, a first gate that is opened in synchronization with a synchronization signal time slot, and is closed after the time of this time slot has elapsed, a device that receives the synchronization signal. In the second gate, which is opened in synchronization with the synchronization signal time slot and is closed after the elapse of the time of this time slot, when transmitting the control signal, it is synchronized with the control signal transmission / reception time slot. The third gate which is opened and closed after the elapse of the time of this time slot, is opened in synchronization with the control signal transmission / reception time slot when the control signal is received, and the time of this time slot 4th gate that is closed after the elapse of time, when data is transmitted, the data previously assigned for data transmission for each identification code of the device Fifth gate that is opened in synchronization with the trust time slot and closed after the time of this time slot has elapsed, when the other device to communicate with has been determined by sending and receiving a control signal, and when data is to be received. In addition, a sixth gate opened in synchronization with a time slot for data transmission assigned to the partner apparatus and closed after the time of this time slot has passed, and a third gate when requesting the start of data communication. After opening the gate and transmitting the control signal to the transmission line, opening the fourth gate at the above-mentioned constant period to take in the control signal from the transmission line, and by transmitting and receiving the control signal, the device to be communicated is determined, and then the fifth signal is transmitted. Open the gate,
Send the data to be transmitted to the transmission line or open the sixth gate to take in the data from the transmission line, and when requesting the end of data communication, open the third gate to send the control signal to the transmission line. It is provided with means for transmitting, transmitting the control signal from the transmission line by opening the fourth gate at the above-mentioned constant period, and ending the communication by transmitting and receiving the control signal.
好ましくは、同期信号を送信する手段を一の装置に含ま
せておく。この場合には、一の装置のタイム・スロット
作成手段は送信されるべき同期信号を基準としてタイム
・スロットを作成する。他の装置のタイム・スロット作
成手段は、一の装置から送信された同期信号を受信する
ことによってこの受信した同期信号を基準としてタイム
・スロットを作成する。Preferably, the device for transmitting the synchronization signal is included in one device. In this case, the time slot creating means of one device creates a time slot on the basis of the synchronization signal to be transmitted. The time slot creating means of the other device receives the sync signal transmitted from the one device, and creates a time slot on the basis of the received sync signal.
データ通信開始を要求する装置(通信要求側装置)は、
第3のゲートが開いているときに、接続要求信号、自装
置の識別符号、および通信相手の装置の識別符号を含む
制御信号を伝送ラインに送出する。The device requesting the start of data communication (communication requesting device) is
When the third gate is opened, the control signal including the connection request signal, the identification code of the own device, and the identification code of the device of the communication partner is sent to the transmission line.
他の装置は、第4のゲートが開いているときに、接続要
求信号とこれら識別符号を含む制御信号を伝送ラインか
ら取り込む。これら他の装置は、制御信号に含まれた通
信相手の装置の識別符号が自装置のものであれば、自装
置が通信を要求されている装置(通信被要求側装置)で
あることになるので、通信要求側装置に返信を行う。Another device takes in a connection request signal and a control signal including these identification codes from the transmission line when the fourth gate is opened. If the identification code of the communication partner device included in the control signal is one of these other devices, it means that the other device is a device (communication requested device) for which communication is requested. Therefore, a reply is sent to the communication request side device.
通信被要求側装置が通信可能の状態にあれば、この装置
は、第3のゲートが開いているときに、通信要求側装置
に接続完了信号を含む制御信号を送信する。通信被要求
側装置が、既に他の装置と通信中などにより通信できな
い状態の場合は、ビジー信号を含む制御信号を送信す
る。When the communication requesting device is in the communicable state, this device transmits the control signal including the connection completion signal to the communication requesting device when the third gate is opened. If the communication-requested device is in a state in which it cannot communicate because it is already communicating with another device, it transmits a control signal including a busy signal.
通信要求側装置は、第4のゲートが開いているときに、
制御信号送受信用タイム・スロットの制御信号を取り込
む。この信号に、接続完了信号が含まれていれば、以
後、自装置に予め割当てられているデータ送信用タイム
・スロットを用いて、データを送信する。また、通信要
求側装置は、通信被要求側装置に割当てられているデー
タ送信用タイム・スロットからデータを受信する。この
ようにして通信が行われる。The communication requesting device, when the fourth gate is open,
Control signal The control signal of the time slot for transmitting and receiving is taken in. If this signal includes a connection completion signal, then the data is transmitted using the time slot for data transmission previously assigned to the own device. Also, the communication request side device receives data from the data transmission time slot assigned to the communication request side device. Communication is performed in this way.
通信を終了するときは、通信要求側装置または通信被要
求側装置の一方が、制御信号に開放要求信号を含めて送
信し、この信号を受信した他の一方の装置が、制御信号
に開放完了信号を含めて送信する。このようにして通信
が終了する。When ending communication, one of the device requesting communication or the device requesting communication transmits a control signal including a release request signal, and the other device receiving this signal completes releasing the control signal. Transmit including signals. In this way, the communication ends.
この発明によると、複数の装置は送受信用兼用伝送ライ
ンで接続されているから、従来のスター形システムに比
べて総伝送ライン長がきわめて短くなり、ループ形シス
テムに比べてもその1/2となる。According to the present invention, since the plurality of devices are connected by the transmission / reception transmission line, the total transmission line length is extremely short compared to the conventional star system, and is half that of the loop system. Become.
また、この発明では従来のように交換ないしは接続機能
をもった主制御装置は不要であり、単に一定周期の同期
信号を発生する手段を設ければ足りる。同期信号発生手
段も少なくともいずれか1つの装置に組込むことが可能
である。Further, the present invention does not require a main control device having a replacement or connection function as in the prior art, and it suffices to simply provide a means for generating a synchronization signal of a constant cycle. The synchronization signal generating means can also be incorporated in at least one device.
各装置がそれぞれ接続機能をもっているから、主制御装
置を設けることなく、少なくとも3台の装置があればシ
ステムの構築が可能であり、必要に応じて順次、接続す
る装置の数を増加させていくこともできる。Since each device has its own connection function, it is possible to construct a system without providing a main control device if there are at least three devices, and the number of devices to be connected will be increased sequentially as necessary. You can also
さらにこの発明によると、同期信号が発生する各周期に
おいて装置が相互に交信することが可能であるからリア
ル・タイムのデータ送受が確保されており、任意の装置
間の交信が可能である。Further, according to the present invention, since the devices can communicate with each other in each cycle in which the synchronization signal is generated, real-time data transmission / reception is ensured, and communication between arbitrary devices is possible.
(3)実施例の説明 (3.1)システム全体の構成および動作の概要 第1図はこの発明によるデータ伝送システムの全体的な
構成を概略的に示している。(3) Description of Embodiments (3.1) Outline of Overall System Configuration and Operation FIG. 1 schematically shows the overall configuration of a data transmission system according to the present invention.
第1図(A)において、n台の装置が2線式マルチドロッ
プ方式によって相互に接続されている。n台の装置を接
続する2本の伝送ラインは送受信兼用である。これらの
装置は、たとえば電話機、その他のコンピュータによっ
て制御される端末機であり、便宜的に1,2,…,i,
…,k,…,nの番号が付けられている。In FIG. 1 (A), n devices are mutually connected by a two-wire multi-drop method. Two transmission lines that connect n devices are used for both transmission and reception. These devices are, for example, telephones and other terminals controlled by a computer, and for the sake of convenience, 1, 2, ..., I,
..., k, ..., n are numbered.
n台の装置はそれぞれライン・インターフェイス(I/
F)を備えており、このラインI/Fを介して相互に交
信をする。装置1のラインI/Fが同期信号Sを送出す
る機能をもっている点を除いて、すべてのラインI/F
は全く同じ構成である。Each of the n units has a line interface (I /
F) and communicate with each other via this line I / F. All the line I / Fs except that the line I / F of the device 1 has a function of transmitting the synchronization signal S.
Have exactly the same configuration.
装置1が同期信号Sを発生することは装置1が通信の主
導権を持っていることを意味するものではない。この同
期信号発生機能のみを装置1から全く切り離して、第1
図(B)に示すよう同期信号発生装置10をラインに接続し
てもよい。このようにすることにより、n台の装置は相
互の交信に関して全く同じ機能をもち、通信方式におい
て全く平等であると位置づけることができる。The generation of the synchronization signal S by the device 1 does not mean that the device 1 has the initiative in communication. Only this synchronization signal generating function is completely separated from the device 1, and the first
The synchronization signal generator 10 may be connected to a line as shown in FIG. By doing so, the n devices have exactly the same function with respect to mutual communication, and can be regarded as completely equal in the communication system.
以下の説明では便宜上、装置1が同期信号Sの発生機能
をもっているものとする。In the following description, for convenience, it is assumed that the device 1 has a function of generating the synchronization signal S.
第2図は、システム全体のタイミング関係を示してい
る。装置1は、一定時間Tの間隔で、ライン上に同期信
号Sを送出するとともに、周期Tを(n+2)個に分割
することにより、周期T内に、同一時間長の連続する
(n+2)個のタイム・スロットTSx(xはs,c,
1,2,…,i,…k,…,n)をつくる。他の装置2
〜nは、装置1から送信された同期信号Sを受信し、受
信した同期信号Sに基づいてそれぞれの装置の中で同じ
ように、同一時間長の連続する(n+2)個のタイム・
スロットTSxを作成する。後述するように同期信号S
は特定のビット・パターンを有しているので、各装置2
〜nはこの信号Sを検出することが可能である。各装置
2〜nにおける一連のタイム・スロットTSxは、装置
1におけるそれを基準にすると、信号の伝搬時間だけ位
相が遅れたものとなる。FIG. 2 shows the timing relationship of the entire system. The device 1 sends the synchronization signal S on the line at intervals of a fixed time T and divides the cycle T into (n + 2) pieces, so that the continuous (n + 2) pieces having the same time length are included in the cycle T. Time slot TS x (where x is s, c,
1, 2, ..., I, ... K, ..., N). Other device 2
~ N receives the synchronization signal S transmitted from the device 1, and based on the received synchronization signal S, in each of the devices similarly, consecutive (n + 2) times of the same time length
Create slot TS x . As will be described later, the synchronization signal S
Has a specific bit pattern, each device 2
~ N can detect this signal S. A series of time slots TS x in each of the devices 2 to n are phase-delayed by the propagation time of the signal with reference to that in the device 1.
第1番目のタイム・スロットTSsはn台の装置間の同
期確立用であって(同期チャネル)、上述の同期信号S
がこのタイム・スロットTSsで送受される。The first time slot TS s is for establishing synchronization between n devices (synchronization channel), and the above-mentioned synchronization signal S
Are transmitted and received in this time slot TS s .
第2番目のタイム・スロットTScはn台の装置中の少
なくとも2台の装置を相互に接続する、または接続を切
離すためのものである(制御チャネル)。このタイム・
スロットTScにおいて、たとえば或る1つの装置が他
の1つの装置をアドレス指定して接続要求を出し、それ
以後の周期Tのタイム・スロットにおいて該当する他の
装置が該当する或る装置に接続完了で応答すれば、これ
らの2つの装置は相互に接続され、交信が可能な状態と
なる。接続状態にある2つの装置を切離す場合にも同じ
ように行なわれるが、詳細については後述する。このタ
イム・スロットTScで送受される信号は制御信号Dc
と呼ばれる。The second time slot TS c is for connecting or disconnecting at least two of the n devices to each other (control channel). This time
In slot TS c , for example, one device addresses another one to issue a connection request, and in the subsequent time slot of period T, the corresponding other device connects to the corresponding device. If the reply is complete, the two devices are connected to each other and are ready for communication. The same operation is performed when disconnecting the two connected devices, but the details will be described later. The signal transmitted / received in this time slot TS c is the control signal D c.
Called.
他のタイム・スロットTS1〜TSnはデータの送受信
のために用いられる(データ・チャネル)。タイム・ス
ロットTSiは装置iがデータを送信するための時間帯
である。このとき装置iと接続された装置はこの送出さ
れたデータを受信する。たとえば、装置iと装置kとが
接続され相互に交信するときには、タイム・スロットT
Siにおいて装置iがデータ信号Diを送出して装置k
がこれを受信し、タイム・スロットTSkにおいて装置
kがデータ信号Dkを送出し装置iがこれを受信する。
これによって、データの全二重通信、音声の双方向同時
通話が実現される。The other time slots TS 1 to TS n are used for sending and receiving data (data channels). The time slot TS i is a time slot in which the device i transmits data. At this time, the device connected to the device i receives the transmitted data. For example, when device i and device k are connected and communicate with each other, time slot T
At S i , device i sends out a data signal D i and device k
Receives it, device k sends out a data signal D k in time slot TS k , and device i receives it.
As a result, full-duplex communication of data and bidirectional simultaneous voice communication are realized.
上記各信号S,Dc,D1,〜Dnはそれぞれ同一ビッ
ト数、たとえば後述するように10ビットで構成される。
これらの信号の時間長をτbとする。Each signal S, D c, D 1, ~D n respectively the same number of bits, and for example, in 10 bits, as described later.
Let τ b be the time length of these signals.
上述したように、各装置1〜nにおけるタイム・スロッ
トの位相は伝搬時間だけ相互にずれている。また、各装
置1〜nから送出された信号は同一ライン上にのる。各
装置1〜nから送出された信号が伝搬時間による遅延の
ために伝送ライン上で相互に重ならないようにするため
に、各タイム・スロットにはガード・タイムτgが設け
られている。最も伝送距離の長い2つの装置における伝
搬時間を最大伝搬遅延時間τdとする。異なるタイム・
スロットの間において異なる装置から送出された信号が
互いに重ならないようにするための条件は、タイム・ス
ロットの時間長を[TSx]°として、次式で与えられ
る。As described above, the phases of the time slots in each of the devices 1 to n are offset from each other by the propagation time. Further, the signals sent from the respective devices 1 to n are on the same line. A guard time τ g is provided in each time slot so that the signals emitted from each device 1-n do not overlap each other on the transmission line due to the delay due to the propagation time. The propagation time in the two devices with the longest transmission distance is set as the maximum propagation delay time τ d . Different time
The condition for preventing signals transmitted from different devices from overlapping each other during the slot is given by the following equation, where the time length of the time slot is [TS x ] °.
[TSx]=τb+τg >2・τd+τb …(1) これより、 2・τd<τg …(2) となる。第(2)式の条件を満足するような時間長のガー
ド・タイムτgを設ければよいことが分る。[TS x ] = τ b + τ g > 2 · τ d + τ b (1) From this, 2 · τ d <τ g (2). It can be seen that the guard time τ g having a time length that satisfies the condition of the expression (2) should be provided.
第3図は、2つの装置間での信号の送受信タイミングと
各信号のビット構成を示している。ここでは、装置iか
ら装置kにデータ信号Diが伝送される様子が拡大して
図示されている。送信側装置iでは、そのタイム・スロ
ットTSiに同期して(タイム・スロットTSiのスタ
ートに同期して)データ信号Diが送出される。しかし
ながら、伝搬遅延時間は交信を行なう装置相互間の距離
によって変わるので、受信側装置kでは、信号Diはそ
のタイム・スロットTSi内で到着はするが、受信タイ
ミングの位相がタイム・スロットTSi内で変化する、
すなわち非同期となる。そこで、受信タイミングが非同
期である場合に対処しうるように、信号Diのビット列
d1〜d8の前にスタート・ビットSTを、後にストッ
プ・ビットSPをそれぞれ付加した調歩同期方式が採用
されている。したがって、データ・ビットが8ビットで
構成されるとすると、信号Diは10ビットとなる。FIG. 3 shows the transmission / reception timing of signals between two devices and the bit configuration of each signal. Here, the manner in which the data signal D i is transmitted from the device i to the device k is illustrated in an enlarged manner. In the transmission-side apparatus i, the time slot in synchronization with the TS i (in synchronization with the start of the time slot TS i) the data signal D i is transmitted. However, since the propagation delay time changes depending on the distance between the communicating devices, at the receiving device k, the signal D i arrives within the time slot TS i , but the phase of the reception timing is the time slot TS i . changes within i ,
That is, it is asynchronous. Therefore, as can deal with when reception timing is asynchronous, the start bit ST before the bit sequence d 1 to d 8 of the signal D i, asynchronous method which stop bit SP were respectively added later is adopted ing. Therefore, if the data bits consist of 8 bits, the signal D i will be 10 bits.
データ信号以外の他の信号、すなわち同期信号Sおよび
制御信号Dcも同じように調歩同期方式のビット構成と
なっている。Other signals other than the data signal, that is, a bit configuration of the asynchronous method equally well synchronization signals S and control signal D c.
第4図は同期信号Sの構成の一例を示している。すべて
のデータ・ビットd1〜d8は1であり、このビット列
の前後にスタート・ビットSTとストップ・ビットSP
がある。このように同期信号Sは特定のビット・パター
ンをもっている。FIG. 4 shows an example of the structure of the synchronization signal S. All the data bits d 1 to d 8 are 1, and a start bit ST and a stop bit SP are provided before and after this bit string.
There is. Thus, the sync signal S has a specific bit pattern.
(3.2)装置の構成 第5図は、上述の装置1〜nの構成の一例を示してい
る。すべての装置のハードウェア構成は全く同じである
から、第5図は1つの装置のみを示している。この装置
はディジタル・データの送受信に適するものである。(3.2) Device Configuration FIG. 5 shows an example of the configuration of the devices 1 to n described above. Since all the devices have exactly the same hardware configuration, FIG. 5 shows only one device. This device is suitable for sending and receiving digital data.
タイム・スロットの作成、接続制御、送信データの作
成、受信データの解読、上位CPUとの交信等々の処理
はCPU20、好ましくはマイクロプロセッサによって行
なわれる。このCPU20には、そのプログラムを格納し
たROM21、制御に必要なデータたとえばその装置の番
号や送信すべきデータ、受信したデータなどを記憶する
RAM22、タイム・スロット・ゲート信号発生回路23、
上位CPUとのインタフェース26、制御信号Dcの送、
受信バッファ34,33およびデータ信号Diの送、受信バ
ッファ36,35が各種バスを介して接続されている。Processing such as time slot generation, connection control, transmission data generation, reception data decoding, and communication with a host CPU is performed by the CPU 20, preferably a microprocessor. The CPU 20 includes a ROM 21 storing the program, a RAM 22 for storing data necessary for control such as the device number, data to be transmitted, and received data, a time slot gate signal generation circuit 23,
Interface 26 with upper CPU, sending control signal D c ,
The reception buffers 34 and 33 and the transmission / reception buffers 36 and 35 for transmitting the data signal D i are connected via various buses.
タイム・スロット・ゲート信号発生回路23は、CPU20
の制御のもとに、後述するタイミングでゲート制御信号
G1〜G6を発生するものである。The time slot gate signal generation circuit 23 includes the CPU 20
Under the control of 1), the gate control signals G1 to G6 are generated at the timing described later.
同期信号検出回路31は上述した特定ビット・パターン
(第4図)を検出するもので、たとえば8つのビット・
データd1〜d8を入力とするAND回路を含んでい
る。同期信号発生回路32は上記と同じ特定ビット・パタ
ーンの同期信号Sを発生するものである。The synchronization signal detection circuit 31 detects the above-mentioned specific bit pattern (FIG. 4), and for example, 8 bits
It includes an AND circuit which receives the data d 1 to d 8 . The sync signal generating circuit 32 generates the sync signal S having the same specific bit pattern as described above.
同期信号発生回路32、制御信号送信バッファ34およびデ
ータ送信バッファ36は、それぞれゲート2,4および6
を介して並直変換回路24にバス接続され、さらにこの回
路24を経て伝送ラインに接続されている。同様に、同期
信号検出回路31、制御信号受信バッファ33およびデータ
受信バッファ35は、それぞれゲート1、3および5を介
して直並変換回路25にバス接続され、さらにこの回路25
を経て伝送ラインに接続されている。The synchronization signal generation circuit 32, the control signal transmission buffer 34, and the data transmission buffer 36 are provided with gates 2, 4 and 6, respectively.
Is connected to the parallel-to-serial conversion circuit 24 via the bus, and further connected to the transmission line via the circuit 24. Similarly, the synchronization signal detection circuit 31, the control signal reception buffer 33, and the data reception buffer 35 are bus-connected to the serial-parallel conversion circuit 25 via the gates 1, 3 and 5, respectively, and further this circuit 25
Via the transmission line.
第6図はアナログ・データの交信に適した装置の例を示
しており、ここでは音声を送受できる装置が図示されて
いる。音声の送受のために、音響/電気変換器である電
話器29、電話器29からのアナログ信号をコード化または
ディジタル化(たとえばPCMコード化)するとともに
ディジタル信号をアナログ音声信号に変換するためのコ
ーディック(CODEC,A-D/D-Aインタフェースまたは符号
/復号回路)27、およびダイヤル信号の送出、音声電流
の増幅等の機能をもつ加入者回路28が設けられている。
コーディック27はデータ送、受信バッファ36,35とバス
接続されているとともに回路28に接続されている。加入
者回路28はCPU20にバス接続されている。電話器29は
この回路28を介してコーディック27と接続されている。FIG. 6 shows an example of a device suitable for communicating analog data, and here, a device capable of transmitting and receiving voice is shown. Telephone / phone 29 which is an acoustic / electrical converter for transmitting / receiving voice, for encoding or digitizing an analog signal from the telephone 29 (for example, PCM encoding) and for converting a digital signal into an analog voice signal. A codec (CODEC, AD / DA interface or encoding / decoding circuit) 27, and a subscriber circuit 28 having functions such as transmission of dial signals and amplification of voice current are provided.
The codec 27 is bus-connected to the data transmission / reception buffers 36 and 35 and is also connected to the circuit 28. The subscriber circuit 28 is bus-connected to the CPU 20. The telephone 29 is connected to the codec 27 via this circuit 28.
他の構成は、上位CPUとのインタフェース26が設けら
れていないことを除いて、第5図に示すものと同じであ
るので、同一物には同一符号が付けられている。The other structure is the same as that shown in FIG. 5 except that the interface 26 with the upper CPU is not provided, and therefore, the same components are designated by the same reference numerals.
第7図は、タイム・スロット・ゲート信号発生回路23の
具体的構成の一例を示している。同期信号検出回路31か
ら出力される同期信号検出信号(装置2〜nの場合)、
またはCPU20から同期信号発生回路32に与えられる同
期信号発生指令信号がOR回路49を経てカウンタ59にス
タート信号として与えられ、これによってカウンタ59は
零から計数を開始する。同期信号発生指令信号または同
検出信号とカウンタ59の計数出力との関係が第8図に示
されている。カウンタ59は、上記の周期T内で(n+
2)個に時分割されたタイム・スロットの番号(T
Ss,TSc,TS1,TS2…など)を表わす計数出
力を発生するものである。この計数出力は一致回路51〜
56にそれぞれ与えられる。FIG. 7 shows an example of a concrete configuration of the time slot gate signal generation circuit 23. A sync signal detection signal output from the sync signal detection circuit 31 (for devices 2 to n),
Alternatively, a synchronizing signal generation command signal given from the CPU 20 to the synchronizing signal generating circuit 32 is given as a start signal to the counter 59 via the OR circuit 49, whereby the counter 59 starts counting from zero. The relationship between the synchronization signal generation command signal or the detection signal and the count output of the counter 59 is shown in FIG. The counter 59 is (n +
2) Time slot number (T
S s , TS c , TS 1 , TS 2, ...) Is generated. This count output is the coincidence circuit 51-
Given to 56 respectively.
一方、上記の一致回路51〜56にそれぞれ設定値レジスタ
41〜46が設けられている。これらのレジスタにはCPU
20によって、対応するゲートを開くべきタイム・スロッ
トの番号を表わす計数値に対応する値があらかじめ設定
される。レジスタ41〜46の出力は対応する一致回路51〜
56にそれぞれ送られる。On the other hand, each of the matching circuits 51 to 56 has a set value register
41 to 46 are provided. CPU for these registers
20 presets a value corresponding to a count value representing the number of the time slot in which the corresponding gate should be opened. The outputs of the registers 41-46 correspond to the matching circuits 51-
Sent to 56 each.
したがって、カウンタ59の計数出力とレジスタの設定値
とが一致したタイム・スロットにおいて、対応する一致
回路からその一致信号としてゲート制御信号(G1〜G
6のいずれか)が発生する。たとえば、第8図に示すよ
うに、レジスタ46に1010という設定値が設定されると、
タイム・スロットTS4においてゲート制御信号G6が
発生する。Therefore, in the time slot in which the count output of the counter 59 and the setting value of the register match, the gate control signals (G1 to G1) are output from the corresponding matching circuits as the matching signals.
6) occurs. For example, as shown in FIG. 8, when the set value of 1010 is set in the register 46,
The gate control signal G6 is generated in the time slot TS 4.
タイム・スロット・ゲート信号発生回路23にはさらに、
ゲート1と2について、これらのゲートを強制的にかつ
持続的に閉じさせるためにデコーダ47および48が設けら
れている。CPU20によって、ゲート1の強制閉鎖指令
が与えられると、デコーダ47がこれを解読してロー・レ
ベルの信号を発生し、AND回路57の一方の入力端子を
ロー・レベルとするので、いかなる場合にもゲート制御
信号G1は送出されない。同じように、ゲート2の強制
閉鎖指令がCPU20によって与えられると、デコーダ48
がこれを解読して、AND回路58を閉じ、ゲート制御信
号G2の出力を禁止する。The time slot gate signal generation circuit 23 further includes
For gates 1 and 2, decoders 47 and 48 are provided to force and close these gates. When the CPU 20 gives a compulsory closing command for the gate 1, the decoder 47 decodes the command to generate a low level signal, and one input terminal of the AND circuit 57 is set to a low level. However, the gate control signal G1 is not transmitted. Similarly, when a command to force gate 2 to close is issued by the CPU 20, the decoder 48
Decodes this, closes the AND circuit 58, and prohibits output of the gate control signal G2.
(3.3)同期確立処理(初期処理) 上述したように装置1はシステム全体の同期をとるため
に同期信号Sを作成して送出する機能をもっている。こ
の装置1は同期信号Sを受信する必要はない。したがっ
て、装置1における動作、とくにCPU20の処理の手順
は第9図に示されるようになる。(3.3) Synchronization establishment processing (initial processing) As described above, the device 1 has a function of creating and transmitting the synchronization signal S in order to synchronize the entire system. This device 1 does not need to receive the synchronization signal S. Therefore, the operation of the apparatus 1, especially the procedure of the processing of the CPU 20 is as shown in FIG.
電源が投入されると、まず装置1自体のイニシャル処理
が行なわれる(ステップ101)。そして、同期信号Sの
受信は不要であるから、ゲート1を閉じるためにその強
制閉鎖指令がデコーダ47に与えられるので、ゲート回路
57は常に閉じ、ゲート制御信号G1が出力されることは
ない(ステップ102)。この状態は永続的に持続する。When the power is turned on, first, the initial processing of the apparatus 1 itself is performed (step 101). Since the reception of the synchronization signal S is unnecessary, the compulsory closing command is given to the decoder 47 to close the gate 1, so that the gate circuit is closed.
57 is always closed, and the gate control signal G1 is not output (step 102). This state lasts forever.
また、CPU20によってレジスタ42に設定値0000(タイ
ム・スロットTSsに対応)がプリセットされるととも
に、CPU20から同期信号発生指令が発生し同期信号発
生回路32およびカウンタ59に与えられる。これによって
カウンタ59は計数動作を開始し、タイム・スロット・シ
ーケンスに対応した計数出力を発生する。レジスタ42の
設定値とカウンタ59の計数値が一致したときに一致回路
52からゲート制御信号G2が出力され、これによってゲ
ート2が開く。同期信号発生指令によって同期信号発生
回路32は同期信号Sを発生し、これはそのとき開いてい
るゲート2を通して並直変換回路24から伝送ラインに送
出される(ステップ103)。Further, the CPU 20 presets the set value 0000 (corresponding to the time slot TS s ) in the register 42, and the CPU 20 issues a synchronization signal generation command and gives it to the synchronization signal generation circuit 32 and the counter 59. This causes the counter 59 to start counting and generate a count output corresponding to the time slot sequence. Matching circuit when the set value of register 42 and the count value of counter 59 match
The gate control signal G2 is output from 52, which causes the gate 2 to open. In response to the synchronization signal generation command, the synchronization signal generation circuit 32 generates the synchronization signal S, which is sent out from the parallel / serial conversion circuit 24 to the transmission line through the gate 2 which is open at that time (step 103).
この時点からあらかじめ定められた周期Tが経過すると
(ステップ104)、同じようにゲート2が開かれ同期信
号Sが送出される(ステップ103)。カウンタ59をリン
グ・カウンタにしておけば、CPU20が最初の動作指令
(同期信号発生指令)を与えるだけで、このカウンタが
自走することにより、上述の動作が周期Tごとに繰返さ
れていく。そして、カウンタ59の計数値が0000になった
ときに、カウンタの計数出力の立上り(または立下り)
によって同期信号発生回路32にトリガを与え同期信号S
を発生させるようにする。When a predetermined period T elapses from this point (step 104), the gate 2 is similarly opened and the synchronizing signal S is transmitted (step 103). If the counter 59 is a ring counter, the CPU 20 only gives the first operation command (synchronization signal generation command) and the counter self-runs to repeat the above-described operation every cycle T. Then, when the count value of the counter 59 reaches 0000, the count output of the counter rises (or falls).
Triggers the synchronizing signal generating circuit 32 by the synchronizing signal S
To generate.
装置1以外の他の装置2〜nは同期信号Sを送出するこ
とはなく、装置1からの同期信号Sを受信してこれに同
期したタイム・スロット・シーケンスを作成する。した
がって、他の装置2〜nにおける動作は第10図に示され
るようになる。The devices 2 to n other than the device 1 do not send the synchronization signal S, but receive the synchronization signal S from the device 1 and create a time slot sequence synchronized with this. Therefore, the operation in the other devices 2 to n is as shown in FIG.
装置自体のイニシャル処理がまず行なわれる(ステップ
111)。このイニシャル処理によってカウンタ59はリセ
ット状態に置かれ、その計数出力は0000を表わす。レジ
スタ41に設定値0000が設定されることにより、一致回路
51からゲート制御信号G1が発生し、AND回路57を経
て(このときデコーダ47の出力はハイ・レベルにある)
送出されるので、ゲート1は開いた状態に保たれる。ま
た、CPU20からゲート2の強制閉鎖指令がデコーダ48
に与えられるので、デコーダ48の出力はロウ・レベルに
なり、ゲート回路58が閉じるので、ゲート制御信号G2
は出力されることはなく、ゲート2は永続的に閉じられ
る(ステップ112)。Initial processing of the device itself is first performed (step
111). By this initial processing, the counter 59 is placed in the reset state, and its count output shows 0000. By setting the setting value 0000 in the register 41, the matching circuit
The gate control signal G1 is generated from 51 and passes through the AND circuit 57 (at this time, the output of the decoder 47 is at the high level).
Being delivered, the gate 1 is kept open. Also, the CPU 20 issues a compulsory closing command for the gate 2 to the decoder 48.
Is applied to the gate control signal G2, the output of the decoder 48 becomes low level and the gate circuit 58 is closed.
Is never output and gate 2 is permanently closed (step 112).
この状態で、装置1から送出され、伝送ライン、直並変
換回路25、およびゲート1を経て入力する同期信号Sを
待つ。そして、検出回路31が同期信号Sを検出する(ス
テップ113)ことによってカウンタ59が計数動作を開始
する。検出した同期信号Sに同期したタイム・スロット
・シーケンスを表わす計数値がカウンタ59から順次出力
されていく。カウンタ59の計数出力が0000以外の値とな
ると、設定値レジスタ41に設定されている設定値0000と
一致しなくなるので、一致回路51の出力はロー・レベル
となり、これにともないANDゲート57の出力G1もロ
ー・レベルとなり、ゲート1は閉じられる。最初の同期
信号Sの検出がCPU20に与えられると、CPU20は、
タイム・スロット・シーケンスの最後のタイム・スロッ
トTSnに対応する設定値をレジスタ41に与える。カウ
ンタ59の計数値がこの設定値に一致すると、ゲート制御
信号G1が出力されゲート1が開き、次の同期信号Sが
検出されるとカウンタ59は再び零から計数を開始する。
そして、再び、カウンタ59の計数出力値と設定値レジス
タ41の設定値とが一致しなくなるので、上述したのと同
様に、ゲート1は閉じられる。このようにして装置2〜
nにおいては、周期Tごとにゲート1が開閉され、装置
1から送られる同期信号Sを受信するごとにその同期信
号Sに同期したタイム・スロット・シーケンスが作成さ
れる(ステップ114)。また、装置2〜nでは、CPU2
0によって同期信号Sの前方保護および後方保護の処理
も行なわれる(ステップ115)。In this state, the apparatus waits for the synchronization signal S sent from the device 1 and input through the transmission line, the serial-parallel conversion circuit 25, and the gate 1. Then, when the detection circuit 31 detects the synchronization signal S (step 113), the counter 59 starts the counting operation. The count value representing the time slot sequence synchronized with the detected synchronization signal S is sequentially output from the counter 59. When the count output of the counter 59 becomes a value other than 0000, it does not match the setting value 0000 set in the setting value register 41, so the output of the matching circuit 51 becomes low level, and the output of the AND gate 57 accordingly. G1 also goes low and gate 1 is closed. When the first detection of the synchronization signal S is given to the CPU 20, the CPU 20
The set value corresponding to the last time slot TS n of the time slot sequence is given to the register 41. When the count value of the counter 59 matches this set value, the gate control signal G1 is output and the gate 1 is opened. When the next synchronization signal S is detected, the counter 59 starts counting from zero again.
Then, again, since the count output value of the counter 59 and the set value of the set value register 41 do not match, the gate 1 is closed in the same manner as described above. In this way the device 2
In n, the gate 1 is opened and closed every period T, and each time the synchronizing signal S sent from the device 1 is received, a time slot sequence synchronized with the synchronizing signal S is created (step 114). In the devices 2 to n, the CPU2
With 0, forward protection and backward protection of the synchronization signal S are also performed (step 115).
(3.4)電文フォーマット 制御信号Dcによって送受される制御電文およびデータ
信号Di(i=1〜n)によって送受されるデータ電文
のフォーマットとしては種々の形式のものを採用するこ
とができるが、一例としてHDLC(ハイ・レベル・デ
ータ・リンク・コントロール)と呼ばれるフォーマット
が用いられた場合について簡単に説明しておく。(3.4) Message Format As the format of the control message transmitted / received by the control signal D c and the data message transmitted / received by the data signal D i (i = 1 to n), various formats can be adopted. As an example, a case where a format called HDLC (High Level Data Link Control) is used will be briefly described.
このHDLCのフレーム形式は第11図(A)に示されてお
り、開始フラグ(F)フィールド(8ビット)、アドレス
(A)フィールド(8ビット)、制御(コントロール:
C)フィールド(8ビット)、情報(I)フィールド(任
意ビット数)、検査(フレーム・チェック・シーケン
ス;FCS)フィールド(16ビット)および終止フラグ
(F)フィールド(8ビット)から構成されている。The frame format of this HDLC is shown in FIG. 11 (A), and the start flag (F) field (8 bits), address
(A) field (8 bits), control (control:
C) field (8 bits), information (I) field (arbitrary number of bits), check (frame check sequence; FCS) field (16 bits) and end flag (F) field (8 bits) .
開始フラグ・フィールドおよび終止フラグ・フィールド
はフレームの始まりと終りとを識別するためのものであ
る。また開始フラグによりCRC(サイクリック・リダ
ンダンシィ・チェック)方式による伝送エラーの検査が
開始され、終止フラグによりこの検査が終る。The start flag field and end flag field are for identifying the beginning and end of a frame. Further, the start flag starts the inspection of the transmission error by the CRC (Cyclic Redundancy Check) method, and the end flag ends the inspection.
アドレス・フィールドは交信相手局のアドレスを指定す
るために用いられる。たとえば装置iが装置kと交信し
ようとする場合には、装置iから装置kに送られる制御
電文のアドレス・フィールドには装置(交信相手局)k
のアドレス(番号kなど)が設定され、この制御電文に
対して装置kが装置iに応答する場合にはその応答制御
電文のアドレス・フィールドには装置iのアドレスが設
定される。The address field is used to specify the address of the communicating station. For example, when the device i attempts to communicate with the device k, the device (communication partner station) k is included in the address field of the control message sent from the device i to the device k.
Is set (such as the number k), and when the device k responds to this control message to the device i, the address of the device i is set in the address field of the response control message.
装置iと装置kとの接続が完了したのち両装置iとkと
の間でデータ電文の送受を行なう場合には、データ電文
のアドレス・フィールドはHDLC手順の規約に従う。
データ電文では必ずしもアドレス・データは必要ではな
い。なぜなら、接続が完了したのちにおいては特定のタ
イム・スロットにより形成されるデータ・チャネルは2
つの装置間で1:1の関係で結ばれているからである。When the data telegram is transmitted and received between the devices i and k after the connection between the device i and the device k is completed, the address field of the data telegram follows the rules of the HDLC procedure.
Address data is not always necessary in the data telegram. 2 data channels formed by a particular time slot after the connection is completed
This is because there is a 1: 1 relationship between the two devices.
制御フィールドは、自局から相手局への呼びかけ、相手
局から自局への呼びかけに対応する応答の区別に用いら
れる。これはHDLCの規約の中では、ホール(P)、
ファイナル(F)、その他で示されている。The control field is used for distinguishing a response from a call from the local station to the remote station and a response from the remote station to the local station. This is a hall (P) in the HDLC convention,
Shown in Final (F), etc.
情報フィールドは制御電文とデータ電文とにおいて異な
った様相を呈する。Information fields have different appearances in control and data telegrams.
制御電文においては情報フィールドは常に16ビットで構
成され、第11図(B)に示されるように、各ビットがそれ
ぞれ特定の意味をもっている。すなわち、最初の8ビッ
トb11〜b18は自局のアドレスを表わしている。続く8
ビットのうちの第1ビットb21は接続要求を、第2ビッ
トb22は開放要求(接続の切離し要求)を、第5ビット
b25は接続完了を、第6ビットb26は開放完了を、第7
ビットb27はビジー(他局と交信中)をそれぞれ表わし
ている。情報フィールドに自局(送信局)のアドレスが
含まれているので、相手局(受信局)は送信局のこのア
ドレスに対応して受信すべきタイム・スロットの位置
(番号)を知ることができる。In the control message, the information field is always composed of 16 bits, and each bit has a specific meaning as shown in FIG. 11 (B). That is, the first 8 bits b 11 to b 18 represent the address of the own station. Continued 8
Of the bits, the first bit b 21 is a connection request, the second bit b 22 is a release request (connection disconnection request), the fifth bit b 25 is connection completion, and the sixth bit b 26 is release completion. 7th
Bit b 27 represents busy (communication with another station). Since the information field contains the address of the own station (transmitting station), the partner station (receiving station) can know the position (number) of the time slot to be received corresponding to this address of the transmitting station. .
このような制御電文はUI(Unnumbered In-formation)
フレームを構成するので、以下単にUIコマンドまたは
UIレスポンスと呼ぶことにする。Such control messages are UI (Unnumbered In-formation)
Since the frame is configured, it will be simply referred to as a UI command or a UI response hereinafter.
データ電文においては、情報フィールドには送信すべき
データが組込まれる。したがって、このフィールドのビ
ット数はデータの長さによって変化する。In the data telegram, the information field contains the data to be transmitted. Therefore, the number of bits in this field changes depending on the length of data.
検査フィールドには、フレーム内のすべての2進ビット
の表現する数値を、エラー検査のためにCRC方式によ
り送信側が算術的に計算した結果が設定される。受信側
では自局で同様の計算を行ない送られてきた検査フィー
ルドの値と比較照合して、伝送エラー等が発生したかど
うかをチェックする。In the check field, the result of arithmetically calculating the numerical value represented by all the binary bits in the frame by the transmitting side by the CRC method for error checking is set. On the receiving side, the same calculation is performed at the receiving side and the result is compared and collated with the value of the inspection field sent to check whether a transmission error or the like has occurred.
上述したように制御信号Dcはスタート・ビットおよび
ストップ・ビットを含めて10ビット(実質的には8ビッ
ト)で構成される。これに対して制御電文は第11図から
も分るように64ビットで構成されている。第12図に示さ
れるようにタイム・スロット・シーケンスは周期Tで繰
返されるので、制御電文は8つの制御信号Dc1〜Dc8に
分割され、これらが8周期にわたって連続的に伝送され
ることにより1つの制御電文が送受信されることにな
る。すなわち、第1番目の制御信号Dc1は開始フラグ・
フィールドの8ビットのデータの前後にスタート・ビッ
トSTとストップ・ビットSPが付加されることにより
構成される。次の周期のタイム・スロットTScでは、
アドレス・フィールドの8ビットのアドレス・データと
ビットST,SPとが制御信号Dc2として送出される。
以下、同じようにして第3〜第8番目の周期のタイム・
スロットTScで送出される制御信号Dc3〜Dc8に制御
電文中の各種データが8ビットずつ編集される。As described above, the control signal Dc is composed of 10 bits (substantially 8 bits) including the start bit and the stop bit. On the other hand, the control message is composed of 64 bits as can be seen from FIG. As shown in FIG. 12, the time slot sequence is repeated in the period T, so that the control message is divided into eight control signals D c1 to D c8 , which are continuously transmitted over eight periods. One control message will be transmitted and received. That is, the first control signal D c1 is the start flag
It is configured by adding a start bit ST and a stop bit SP before and after the 8-bit data of the field. In the time slot TS c of the next cycle,
The 8-bit address data of the address field and the bits ST and SP are transmitted as the control signal D c2 .
In the same manner, the time of the 3rd to 8th cycles
Various data in the control message are edited in units of 8 bits in the control signals D c3 to D c8 sent in the slot TS c .
データ電文もこれと全く同じように、それを構成する全
ビット・データが連続する6つ以上のデータ信号D
ij(i=1〜n,j=1〜m,m≧6)に8ビットずつ
に分割されて送信される。情報フィールドのビット数は
送信すべきデータ長に応じて定められるので、データ信
号Dijの数もこれに応じて変わる。Just like this, the data telegram has six or more data signals D in which all the bit data constituting the data telegram are continuous.
ij (i = 1 to n, j = 1 to m, m ≧ 6) is divided into 8 bits and transmitted. Since the number of bits of the information field is determined according to the data length to be transmitted, the number of data signals D ij also changes accordingly.
(3.5)接続および交信処理 第5図または第6図において、交信する2つの装置の相
互接続のために、ゲート3および4がゲート制御信号G
3およびG4によってそれぞれ開閉制御される。これら
のゲート3,4の制御は、どの装置においても同じよう
に行なわれる。(3.5) Connection and communication processing In FIG. 5 or FIG. 6, gates 3 and 4 are gate control signals G for interconnection of two devices to communicate.
Opening and closing are controlled by 3 and G4, respectively. Control of these gates 3 and 4 is performed in the same manner in any device.
いずれか他の装置から送信されたUIコマンドを受信す
るために、ゲート3は各周期ごとにタイム・スロットT
Scに同期してこのタイム・スロットTScの間だけ開
かれる。これは、第7図において、レジスタ43にタイム
・スロットTScを表わすカウンタ59の計数値に対応す
る設定値をCPU20がプリセットすることにより実現さ
れる。伝送ラインを伝送されているUIコマンド(一連
の制御信号Dc)があれば、それは直並変換回路25およ
び開いているゲート3を通って受信バッファ33にストア
される。CPU20はこの受信バッファ33にストアされた
UIコマンドを解読して、自局にあてられたものであれ
ば後述するように必要なUIレスポンス(一連の制御信
号Dc)を送出する。自局が他の装置を発呼するために
UIコマンドを送出するか、または受信したUIコマン
ドに対してUIレスポンスで応答する場合には、送信バ
ッファ34にこれらのコマンドまたはレスポンスを編集
し、タイム・スロットTScと同一タイミングでゲート
4を開いて、編集された電文を構成する制御信号Dcを
各周期ごとに送出する。この信号は並直変換回路24でシ
リアルな信号に変換されて伝送ラインに現われる。ゲー
ト4の開放も上述と同じやり方で行なわれる。In order to receive a UI command sent from any other device, the gate 3 receives the time slot T every cycle.
In synchronization with the S c is opened only during the time slot TS c. This is because, in FIG. 7, the set value corresponding to the count value of the counter 59 representing the time slot TS c in the register 43 CPU20 is achieved by preset. Any UI command (series of control signals D c ) being transmitted on the transmission line is stored in the receive buffer 33 through the deserializer 25 and the open gate 3. The CPU 20 decodes the UI command stored in the reception buffer 33, and if it is addressed to its own station, sends a necessary UI response (a series of control signals D c ) as described later. When the local station sends a UI command to call another device or responds to the received UI command with a UI response, these commands or responses are edited in the transmission buffer 34 and the time slots open gate 4 in TS c and the same timing, and sends a control signal D c constituting the edited message in each period. This signal is converted into a serial signal by the parallel-serial conversion circuit 24 and appears on the transmission line. The gate 4 is opened in the same manner as described above.
タイム・スロットTScは全装置1〜nが共通に使用す
るために、2つ以上の装置から送出された制御信号Dc
が重なる(衝突する)ことがありうる。このために、後
述のようにして衝突検出を行ない、衝突した場合に対処
する。The time slot TS c is commonly used by all the devices 1 to n, so that the control signal D c sent from two or more devices is used.
Can overlap (collide). For this reason, collision detection is performed as will be described later, and the case of collision is dealt with.
UIコマンドとそれに対するUIレスポンスの交信によ
って2つの装置が相互に接続されると、データの送受信
に移る。このときには、ゲート制御信号G5,G6によ
るゲート5,6の開閉制御が行なわれる。ゲート5,6
の開閉制御動作はすべての装置1〜nにおいて全く同じ
やり方で行なわれる。すなわち、レジスタ45(図示
略)、46への所定の設定値の設定によって実現される。When the two devices are connected to each other by the communication of the UI command and the UI response to the UI command, data transmission / reception starts. At this time, opening / closing control of the gates 5 and 6 is performed by the gate control signals G5 and G6. Gates 5 and 6
The opening / closing control operation of is performed in exactly the same manner in all the devices 1 to n. That is, it is realized by setting a predetermined set value in the registers 45 (not shown) and 46.
上述したように、装置iと装置kとの間のデータの送受
信においては、タイム・スロットTSiとTSkとが固
定される。装置iが装置kにデータを送信する場合に
は、装置iのCPU20は送信バッファ36に、編集した送
信データ電文をストアし、タイム・スロットTSiに同
期してこのタイム・スロットTSiの間だけゲート6を
開き、各周期ごとに編集されたデータ電文を構成するデ
ータ信号Diを並直変換回路24を経てラインに送出す
る。装置kにおいても、タイム・スロットTSiに同期
してゲート5を開き、伝送ライン上の装置iから送出さ
れたデータ信号Diを直並変換回路25を経て受信バッフ
ァ35に取込む。As described above, in data transmission / reception between the device i and the device k, the time slots TS i and TS k are fixed. When the device i sends data to the device k is the CPU20 the transmission buffer 36 of the device i, and stores the transmission data telegram edited during this time slot TS i in synchronization with the time slots TS i Only the gate 6 is opened, and the data signal D i forming the data message edited in each cycle is sent to the line through the parallel-serial conversion circuit 24. Also in the device k, the gate 5 is opened in synchronization with the time slot TS i , and the data signal D i sent from the device i on the transmission line is taken into the reception buffer 35 via the serial-parallel conversion circuit 25.
第13図および第14図を参照して、接続処理およびデータ
送受信処理について全体的に説明する。第13図は発信側
の装置(装置iとする)の動作の流れを、第14図は受信
側の装置(装置kとする)の動作の手順をそれぞれ示し
ている。The connection process and the data transmission / reception process will be generally described with reference to FIGS. 13 and 14. FIG. 13 shows the operation flow of the device on the transmission side (designated as device i), and FIG. 14 shows the procedure of the operation of the device on the reception side (designated as device k).
装置iが装置kに送信すべきデータをもっているとする
と(ステップ121)、装置iでは、アドレス・フィール
ドに装置kのアドレスを、情報フィールドの最初の8ビ
ットに自局iのアドレスを、続く8ビットのうち第1ビ
ットb21に「接続要求」(1をセット)をそれぞれ設定
したUIコマンドを編集して、タイム・スロットTSc
のタイミングでこれを制御信号Dcとして送出する(ス
テップ122)。Assuming that device i has data to be sent to device k (step 121), device i will store the address of device k in the address field, the address of its own station in the first 8 bits of the information field, and the next 8 bits. The UI command in which “connection request” (set to 1) is set in the first bit b 21 of the bits is edited, and the time slot TS c
And it sends this as a control signal D c at the timing (step 122).
他のすべての装置はタイム・スロットTScでゲート3
を開いて制御信号Dcをウォッチングしている。装置k
が自局(装置k)のアドレスをアドレス・フィールドに
含みかつ「接続要求」のビットをもった制御信号Dcを
受信したとすると(ステップ141)、現在、自局が他の
装置と交信中(ビジー)であるかどうかをチェックする
(ステップ142)。ビジーでなければ、アドレス・フィ
ールドに相手局iのアドレスを、情報フィールドの最初
の8ビットに自局kのアドレスを、続く8ビットのうち
の第5ビットb25に「接続完了」(1をセット)をそれ
ぞれセットしたUIレスポンスを編集して、タイム・ス
ロットTScのタイミングで送出する(ステップ14
3)。ビジーの場合には、第7ビットb27を1にしたU
Iレスポンスを送出する(ステップ147)。All other devices have gate 3 in time slot TS c
Is opened to watch the control signal D c . Device k
There When receiving the control signal D c having a bit of contain and "connection request" to the address field of the address of the own station (device k) (step 141), currently in communication own station to other devices It is checked whether it is (busy) (step 142). If not busy, the address of the partner station i is set in the address field, the address of the local station k is set in the first 8 bits of the information field, and "connection completed" (1 is set in the fifth bit b 25 of the following 8 bits). edit the UI response that sets each set), and sends the timing of the time slot TS c (step 14
3). In the case of busy, U in which the 7th bit b 27 is set to 1
The I response is sent (step 147).
装置iは上述のUIコマンドを送出したのちは、タイム
・スロットTScに同期してゲート3を開き、装置kか
らのUIレスポンスを待っている。アドレス・フィール
ドに装置iのアドレスが設定されたUIレスポンスを受
信すると、装置iはそのレスポンスを解読して情報フィ
ールドの最初の8ビットに相手局kのアドレスが、続く
8ビットのうちの第5ビットb25に1がセットされてい
るか、それとも第7ビットに1がセットされているかを
判別する(ステップ124,125)。After sending the above-mentioned UI command, the device i opens the gate 3 in synchronization with the time slot TS c and waits for a UI response from the device k. When receiving the UI response in which the address of the device i is set in the address field, the device i decodes the response and the address of the partner station k is stored in the first 8 bits of the information field and the fifth of the following 8 bits. It is determined whether the bit b 25 is set to 1 or the 7th bit is set to 1 (steps 124 and 125).
装置kからのUIレスポンスが「接続完了」を表わして
いるときには、自局すなわち装置iに割当てられたタイ
ム・スロットTSiに同期してゲート6を開き、必要な
データを送信する。When the UI response from the device k indicates "connection completed", the gate 6 is opened in synchronization with the time slot TS i assigned to the own station, that is, the device i, and necessary data is transmitted.
「接続完了」のUIレスポンスを送出した装置kは装置
iとの交信に備えて、タイム・スロットTSiに同期し
てゲート5を開き、装置iからのデータ電文の到来を待
っている。The device k which has sent the UI response of “connection completed” opens the gate 5 in synchronization with the time slot TS i in preparation for the communication with the device i, and waits for the arrival of the data telegram from the device i.
このようにして、タイム・スロットTSiにおいて、装
置iから装置kへのデータの送信が行なわれる(ステッ
プ126,144)。In this way, data is transmitted from the device i to the device k in the time slot TS i (steps 126 and 144).
このとき、装置kから装置iに送るべきデータがあれ
ば、制御信号を用いて接続処理をした上で、タイム・ス
ロットTSkを利用してこのデータの送信を行なうこと
もできる。At this time, if there is data to be transmitted from the device k to the device i, it is possible to perform connection processing using the control signal and then transmit this data using the time slot TS k .
装置iにおいて、装置kに送るべきすべてのデータの送
出が終了すると(ステップ127)、装置iは装置kのア
ドレス(アドレス・フィールド)と自局iのアドレスお
よび「開放要求」(第2ビットb22)(情報フィール
ド)をセットしたUIコマンドをタイム・スロットTS
cのタイミングで送出する(ステップ128)。When the device i finishes sending all the data to be sent to the device k (step 127), the device i receives the address (address field) of the device k, the address of its own station i, and the "release request" (second bit b). 22 ) UI command with (information field) is set to time slot TS
It is sent at the timing of c (step 128).
装置kはこの「開放要求」UIコマンドを受信すると
(ステップ145)、「開放完了」(第6ビットb26)を
セットしたUIレスポンスを送出し(ステップ146)、
処理を終える。装置iにおいては、装置kからのこのU
Iレスポンスを受信すると(ステップ129)、同様に処
理が終る。Device k receives this "release request" UI command (step 145), "release completion" (the sixth bit b 26) sends a UI response that sets (step 146),
Finish the process. In device i, this U from device k
When the I response is received (step 129), the processing is similarly ended.
装置iが装置kからの「ビジー」UIレスポンスを受信
したときには(ステップ124)、相手ビジー処理に進む
(ステップ130)。このときには、この時点では装置i
は装置kと交信することはできない。When the device i receives the "busy" UI response from the device k (step 124), the process proceeds to the partner busy process (step 130). At this point, the device i
Cannot communicate with device k.
相手ビジー処理とは、データ交信の場合には一定時間後
に再度接続要求を出す処理を意味し、電話システムでは
電話器において「話中音」を発生させるとともに必要な
らば一定時間後に再度接続要求を出す処理を指す。The other party's busy process is a process of issuing a connection request again after a certain time in the case of data communication. In the telephone system, a "busy tone" is generated in the telephone and the connection request is made again after a certain time if necessary. Refers to the process of issuing.
この発明によるシステムをローカル電話交換システムに
適用した場合には、第6図で既に説明したようにPCM
コード化された音声データが装置間で送受される。電話
交換システムでは、音声データをバッファ等に長い間保
持しておくことは不可能であるから、迅速な交信が必要
である。たとえば、周期Tを125μS、各タイム・スロ
ットを10.417μSにそれぞれ設定すると、10台の電話機
の間でこのシステムの適用が可能となる。音声は8KHz
ごとにサンプリングされるので、1/8000=125μSと
なり、1サンプリング・データを125μSごとに送受信
すればよい。もちろん、タイム・スロットTSiにおい
て装置iから装置kへ、タイム・スロットTSkにおい
て装置kから装置iに音声を送ることができるので、双
方向の通話が可能なのはいうまでもない。When the system according to the present invention is applied to a local telephone exchange system, the PCM as already described in FIG.
Coded voice data is transmitted and received between the devices. In a telephone exchange system, it is impossible to hold voice data in a buffer or the like for a long period of time, so quick communication is necessary. For example, if the period T is set to 125 μS and each time slot is set to 10.417 μS, this system can be applied to 10 telephones. Audio is 8KHz
Since it is sampled every 1/8000 = 125 μS, one sampling data may be transmitted / received every 125 μS. Of course, the device i in time slot TS i to device k, it is possible to send audio to device i from the device k in time slot TS k, the possible bidirectional call course.
上記実施例では、n台の装置のすべてが同期信号発生機
能をもっているので、同期信号を発生している装置がダ
ウンしたとしても、これに代って他の装置が同期信号を
発生してシステムにおける交信を継続することが可能で
ある。In the above-mentioned embodiment, since all the n devices have the synchronizing signal generating function, even if the device generating the synchronizing signal goes down, another device instead generates the synchronizing signal and the system is activated. It is possible to continue communication in.
また、この発明によるシステムにおいては、1つの装置
が複数の装置に同時にデータを送るようにすることも可
能である。たとえばHDLCにおけるグローバル・アド
レスをアドレス・フィールドにセットすれば、1つの装
置は他のすべての装置と接続可能となる。1つの装置が
任意の数の装置と接続する場合には、1つの装置はそれ
ぞれの装置に対して接続要求を出せばよい。It is also possible in a system according to the invention for one device to send data to multiple devices simultaneously. For example, setting the global address in HDLC in the address field allows one device to connect to all other devices. When one device connects to any number of devices, one device may issue a connection request to each device.
(3.6)衝突検出 第15図は衝突検出回路の一例を示している。装置から送
出される信号は並直変換回路24でシリアルな信号に変換
されたのちライン・ドライバ61を経て伝送ラインに送り
出される。伝送ライン上の信号はライン・レシーバ62で
受信されたのち直並変換回路25に入力する。ライン・ド
ライバ61の入力側(A点)とライン・レシーバ62の出力
側(B点)は排他的論理和回路EOR63に接続されてい
る。EOR63の出力側(C点)は微分回路64に接続され
ているとともにDTフリップフロップ66のデータ入力端
子Dに接続されている。微分回路64では入力信号の立上
りが検出され、その検出信号によってカウンタ65がリセ
ットされる。カウンタ65は、たとえば10進カウンタであ
って、リセット信号によって零から計数を開始する。カ
ウンタ65の或る計数出力(計数値CN、たとえば5)を
表わす信号がDTフリップフロップ66のタイミング入力
端子Tに送られる。カウンタ65に与えられるクロック・
パルスとしては、信号の1ビット長の10倍の速度をもつ
ものとする。DTフリップフロップ66の出力信号Qが衝
突検出信号となる。(3.6) Collision detection Fig. 15 shows an example of the collision detection circuit. The signal sent from the device is converted into a serial signal by the parallel-serial conversion circuit 24, and then sent out to the transmission line through the line driver 61. The signal on the transmission line is received by the line receiver 62 and then input to the serial-parallel conversion circuit 25. The input side (point A) of the line driver 61 and the output side (point B) of the line receiver 62 are connected to the exclusive OR circuit EOR63. The output side (point C) of the EOR 63 is connected to the differentiating circuit 64 and the data input terminal D of the DT flip-flop 66. The differentiating circuit 64 detects the rising edge of the input signal, and the detection signal resets the counter 65. The counter 65 is, for example, a decimal counter, and starts counting from zero by a reset signal. A signal representing a certain count output (count value C N , eg 5) of the counter 65 is sent to the timing input terminal T of the DT flip-flop 66. The clock supplied to the counter 65
It is assumed that the pulse has a speed 10 times as long as one bit length of the signal. The output signal Q of the DT flip-flop 66 becomes the collision detection signal.
第16図は、この衝突検出回路の動作を示しており、
(A)は衝突の生じていない場合を、(B)は信号の衝
突が生じている場合をそれぞれ示している。FIG. 16 shows the operation of this collision detection circuit,
(A) shows a case where no collision has occurred, and (B) shows a case where a signal collision has occurred.
第16図(A)を参照して、装置からライン・ドライバ61
を経て伝送ラインに送出される信号は、ライン・レシー
バ62にも入力する。したがって、A点とB点とにはほぼ
同じ波形の信号が現われるが、これらの信号はライン・
ドライバ61とライン・レシーバ62の遅延時間tdだけ位相
がずれている。この位相ずれがEOR63によって検出さ
れ、その検出信号の微分回路64によって検出された立上
りによってカウンタ65がリセットされるので、カウンタ
65は計数を開始する。カウンタ65の計数値がCNとなる
とDTフリップフロップ66のタイミング入力端子Tにパ
ルスが与えられる。しかしながら、この時点ではC点の
信号(データ入力D)はロウ・レベルになっているの
で、DTフリップフロップ66はセットされない。Referring to FIG. 16 (A), the device drives the line driver 61.
The signal sent to the transmission line via the line is also input to the line receiver 62. Therefore, signals with almost the same waveform appear at points A and B, but these signals are
The driver 61 and the line receiver 62 are out of phase by the delay time td. This phase shift is detected by the EOR 63, and the counter 65 is reset by the rise of the detection signal detected by the differentiating circuit 64.
65 starts counting. When the count value of the counter 65 reaches C N , a pulse is given to the timing input terminal T of the DT flip-flop 66. However, since the signal at point C (data input D) is at low level at this point, the DT flip-flop 66 is not set.
第16図(B)において、装置から送出される信号(A点
の信号)に加えて他の装置から送出された信号が伝送ラ
イン上を伝搬していると、これらの信号が重覚された形
で伝送ライン上には信号が現われ、これより少し遅れた
信号波形がB点に現われる。したがって、A点の信号と
B点の信号とのEOR演算結果(C点)には幅の広い信
号が現われることがある。C点の信号がハイ・レベルで
ある間にカウンタ65の出力がDTフリップフロップ66に
与えられると、このDTフリップフロップ66がセットさ
れるので、信号の衝突が検出される。In FIG. 16 (B), when a signal sent from another device (a signal at point A) and a signal sent from another device are propagating on the transmission line, these signals were noticed. A signal appears on the transmission line in a form, and a signal waveform slightly delayed from this appears at point B. Therefore, a wide signal may appear in the EOR operation result (point C) of the signal at point A and the signal at point B. When the output of the counter 65 is applied to the DT flip-flop 66 while the signal at the point C is at the high level, the DT flip-flop 66 is set, so that the signal collision is detected.
このように衝突が検出されたということは、他の装置が
送信中ということを意味するので、その装置はチャネル
が空になるまで待機する。This collision detected means that another device is transmitting, so that device waits until the channel is empty.
第1図(A)および(B)は、この発明の実施例におけ
るデータ伝送システムの全体的な構成の例を概略的にそ
れぞれ示すブロック図である。 第2図は、システム全体のタイミング関係を示すタイム
・チャートである。 第3図は、2つの装置間での信号の送受信タイミングと
各信号のビット構成を示すものである。 第4図は、同期信号のビット構成を示している。 第5図および第6図は、装置のハードウェア構成の例を
それぞれ示すブロック図である。 第7図は、タイム・スロット・ゲート信号発生回路の具
体的構成の一例を示すブロック図、第8図はその動作を
示すタイム・チャートである。 第9図および第10図は同期確立処理を示すフロー・チャ
ートであり、第9図は同期信号を送出する装置の、第10
図は他の装置の動作をそれぞれ示している。 第11図(A)および(B)はHDLC電文フォーマット
を示すものである。 第12図は、電文を複数の周期にわたって送受する様子を
示している。 第13図および第14図は、2つの装置間での接続および交
信処理を示すもので、第13図は発信側の動作を、第14図
は受信側の動作をそれぞれ示している。 第15図は、衝突検出回路の具体的構成の一例を示すブロ
ック図、第16図(A),(B)はその動作を示す波形図
である。 20…CPU、 23…タイム・スロット・ゲート信号発生回路。1 (A) and 1 (B) are block diagrams schematically showing examples of the overall configuration of a data transmission system according to an embodiment of the present invention. FIG. 2 is a time chart showing the timing relationship of the entire system. FIG. 3 shows the transmission / reception timing of signals between two devices and the bit configuration of each signal. FIG. 4 shows the bit structure of the synchronization signal. FIG. 5 and FIG. 6 are block diagrams respectively showing examples of the hardware configuration of the apparatus. FIG. 7 is a block diagram showing an example of a concrete configuration of the time slot gate signal generating circuit, and FIG. 8 is a time chart showing its operation. 9 and 10 are flow charts showing the synchronization establishing process, and FIG. 9 is a flow chart of the device for transmitting the synchronization signal.
The figure shows the operation of each of the other devices. FIGS. 11A and 11B show the HDLC message format. FIG. 12 shows how a message is transmitted and received over a plurality of cycles. 13 and 14 show the connection and communication processing between the two devices. FIG. 13 shows the operation on the originating side, and FIG. 14 shows the operation on the receiving side. FIG. 15 is a block diagram showing an example of a concrete configuration of the collision detection circuit, and FIGS. 16 (A) and 16 (B) are waveform charts showing the operation thereof. 20 ... CPU, 23 ... Time slot gate signal generation circuit.
Claims (2)
らかじめ識別符号が付けられた複数の装置と、一定の周
期で同期信号を送信する手段とから構成され、 各装置は、 同期信号を基準として、上記一定の周期内で、装置数よ
りも少なくとも2つ以上多い数で分割された複数のタイ
ム・スロットであって、各タイム・スロットの時間長
は、通信される信号の最初から終わりまでの持続時間に
装置間最大伝搬遅延時間の2倍の時間を加えたものを含
む長さであり、これらのタイム・スロットの1つが送信
装置と受信装置との間の通信信号の同期を行うための同
期信号用、他の1つがデータ通信開始を要求する装置か
ら送信される接続要求信号もしくはデータ通信開始を要
求された装置から送信される接続完了信号、またはデー
タ通信終了を要求する装置から送信される開放要求信号
もしくはデータ通信終了を要求された装置から送信され
る開放完了信号、およびデータ通信開始または終了を要
求する装置の識別符号とデータ通信開始または終了を要
求される装置の識別符号を含む制御信号の送受信用、そ
して残りのタイム・スロットがデータ送信用である、そ
のようなタイム・スロットを作成する手段、 同期信号を送信する装置において、同期信号用タイム・
スロットに同期して開かれ、このタイム・スロットの時
間の経過後に閉じられる第1のゲート、 同期信号を受信する装置において、同期信号用タイム・
スロットに同期して開かれ、このタイム・スロットの時
間の経過後に閉じられる第2のゲート、 制御信号を送信するときに、制御信号送受信用タイム・
スロットに同期して開かれ、このタイム・スロットの時
間の経過後に閉じられる第3のゲート、 制御信号を受信する状態のときに、制御信号送受信用タ
イム・スロットに同期して開かれ、このタイム・スロッ
トの時間の経過後に閉じられる第4のゲート、 データを送信するときに、装置の識別符号ごとにデータ
送信用としてあらかじめ割当てられているデータ送信用
タイム・スロットに同期して開かれ、このタイム・スロ
ットの時間の経過後に閉じられる第5のゲート、 制御信号の送受により通信すべき相手装置が定まったの
ち、データを受信すべき状態のときに、相手装置に割当
てられているデータ送信用タイム・スロットに同期して
開かれ、このタイム・スロットの時間の経過後に閉じら
れる第6のゲート、ならびに データ通信開始を要求するときに第3のゲートを開いて
制御信号を伝送ラインに送信し、上記一定の周期で第4
のゲートを開いて制御信号を伝送ラインから取込み、制
御信号の送受により通信すべき装置が定まったのち、第
5のゲートを開いて、送信すべきデータを伝送ラインに
送出しまたは第6のゲートを開いて伝送ラインからデー
タを取込むように、およびデータ通信終了を要求すると
きに第3のゲートを開いて制御信号を伝送ラインに送信
し、上記一定の周期で第4のゲートを開いて制御信号を
伝送ラインから取込み、制御信号の送受により通信を終
了するように、制御する手段、 を備えている、 複数の装置相互間のデータ伝送システム。1. A plurality of devices, which are connected by a transmission / reception combined transmission line and are provided with an identification code in advance, and a means for transmitting a synchronization signal at a constant cycle. Each device has a synchronization signal as a reference. A plurality of time slots divided by a number that is at least two or more larger than the number of devices within the fixed period, and the time length of each time slot is a duration from the beginning to the end of a signal to be communicated. A length including time plus twice the maximum propagation delay time between devices, and one of these time slots is a synchronization for synchronizing a communication signal between a transmitting device and a receiving device. For signals, the other one requires a connection request signal transmitted from a device requesting the start of data communication, a connection completion signal transmitted from a device requested to start the data communication, or the end of data communication. Release request signal transmitted from the device that requests the end of the data communication, the release completion signal transmitted from the device that requested the end of the data communication, the identification code of the device requesting the start or the end of the data communication, and the device requested to start or end the data communication. Means for creating such time slots, for transmitting and receiving control signals containing the identification code of, and for the remaining time slots for data transmission;
The first gate, which is opened in synchronization with the slot and closed after the time of this time slot has elapsed,
A second gate that is opened synchronously with the slot and closed after the time of this time slot has elapsed.
The third gate, which is opened in synchronization with the slot and closed after the time of this time slot has elapsed, is opened in synchronization with the control signal transmission / reception time slot when the control signal is received, and this time A fourth gate which is closed after the lapse of the time of the slot, which is opened in synchronization with a data transmission time slot which is previously assigned for data transmission for each device identification code when transmitting data, Fifth gate which is closed after the time of the time slot elapses. For transmitting data assigned to the partner device when data is to be received after the partner device to communicate with is determined by sending and receiving control signals. A sixth gate opened synchronously with the time slot and closed after the time of this time slot has elapsed, as well as the start of data communication. When the request is made, the third gate is opened to send the control signal to the transmission line, and the fourth signal is sent at the constant cycle.
Open the gate of the control signal to take in the control signal from the transmission line, and after sending and receiving the control signal to determine the device to communicate, open the fifth gate to send the data to be transmitted to the transmission line or the sixth gate. Open to take in data from the transmission line, and when requesting the end of data communication, open the third gate to send a control signal to the transmission line, and open the fourth gate at the above-mentioned constant period. A data transmission system between a plurality of devices, which comprises means for controlling so that a control signal is taken in from a transmission line and communication is terminated by sending and receiving the control signal.
れており、 一の装置のタイム・スロット作成手段は送信されるべき
同期信号を基準としてタイム・スロットを作成するもの
であり、他の装置のタイム・スロット作成手段は、一の
装置から送信された同期信号を受信することによってこ
の受信した同期信号を基準としてタイム・スロットを作
成するものである、特許請求の範囲第1項に記載の複数
の装置相互間のデータ伝送システム。2. A means for transmitting a synchronization signal is included in one device, and the time slot creating means of the one device creates a time slot on the basis of the synchronization signal to be transmitted, The time slot creating means of another device creates a time slot by receiving a synchronization signal transmitted from one device and using the received synchronization signal as a reference. A data transmission system between a plurality of devices described in 1.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60293249A JPH063910B2 (en) | 1985-12-27 | 1985-12-27 | Data transmission system between a plurality of devices |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP60293249A JPH063910B2 (en) | 1985-12-27 | 1985-12-27 | Data transmission system between a plurality of devices |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS62154932A JPS62154932A (en) | 1987-07-09 |
| JPH063910B2 true JPH063910B2 (en) | 1994-01-12 |
Family
ID=17792373
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP60293249A Expired - Lifetime JPH063910B2 (en) | 1985-12-27 | 1985-12-27 | Data transmission system between a plurality of devices |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH063910B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9479275B2 (en) * | 2012-06-01 | 2016-10-25 | Blackberry Limited | Multiformat digital audio interface |
| DE102017110890B4 (en) * | 2017-05-18 | 2025-10-30 | Basler Ag | Device and method for transmitting control information within a data communication via a serial interface |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS58142654A (en) * | 1982-02-18 | 1983-08-24 | Mitsubishi Electric Corp | Transmitting system |
| JPS5915583A (en) * | 1982-07-19 | 1984-01-26 | 勇 絹江 | Natural indigo dyeing of leather |
-
1985
- 1985-12-27 JP JP60293249A patent/JPH063910B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS62154932A (en) | 1987-07-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5440556A (en) | Low power isochronous networking mode | |
| US4598397A (en) | Microtelephone controller | |
| US5594734A (en) | Asynchronous processor access to a switch table in a network with isochronous capability | |
| US5276678A (en) | Distributed switching and telephone conferencing system | |
| EP0596452A1 (en) | Local loopback of isochronous data in a switching mechanism | |
| US4380762A (en) | Polyfunction programmable data receiver | |
| JP2815304B2 (en) | Method for transmitting a high-speed digital data flow over a plurality of independent digital communication channels | |
| JP2004135311A (en) | Network link endpoint performance detection | |
| JPS60501487A (en) | Data transmission method and device in data loop | |
| US4049908A (en) | Method and apparatus for digital data transmission | |
| JPH0424702A (en) | Control system | |
| JPH063910B2 (en) | Data transmission system between a plurality of devices | |
| US3883693A (en) | Digital communication system | |
| JP3252229B2 (en) | Digital data transmission system | |
| JPH0865327A (en) | Communication network to be connected to token ring | |
| JPH0365063B2 (en) | ||
| JP2654024B2 (en) | Digital key telephone equipment | |
| JP2654027B2 (en) | Digital key telephone equipment | |
| JP2791233B2 (en) | Switching interface system and synchronous digital data communication network communication method | |
| JPS63211997A (en) | Local area network exchanger | |
| JPS62227236A (en) | Data transmission system between plural equipments | |
| JPH11122253A (en) | Multidrop system and system synchronization method | |
| EP0596650A1 (en) | Apparatus & method for accommodating cable length delays using isochronous fifoing | |
| JP2718673B2 (en) | Bidirectional transmission method and apparatus using two-wire system | |
| JPH0815275B2 (en) | Data transmission system and data transmission method between a plurality of devices |