JPH05191418A - Transmission control system - Google Patents

Transmission control system

Info

Publication number
JPH05191418A
JPH05191418A JP2047192A JP2047192A JPH05191418A JP H05191418 A JPH05191418 A JP H05191418A JP 2047192 A JP2047192 A JP 2047192A JP 2047192 A JP2047192 A JP 2047192A JP H05191418 A JPH05191418 A JP H05191418A
Authority
JP
Japan
Prior art keywords
station
stations
synchronization
data frame
solicitation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2047192A
Other languages
Japanese (ja)
Inventor
Hiromi Nagasaki
寛美 長崎
Hiroshi Saito
寛 斉藤
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.)
Toshiba Corp
Toshiba System Technology Corp
Original Assignee
Toshiba Corp
Toshiba System Technology Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp, Toshiba System Technology Corp filed Critical Toshiba Corp
Priority to JP2047192A priority Critical patent/JPH05191418A/en
Publication of JPH05191418A publication Critical patent/JPH05191418A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)
  • Small-Scale Networks (AREA)

Abstract

(57)【要約】 【目的】 トークン・パッシング・バス又はこれと類似
した通信規約を有する伝送制御方式において、従局のデ
ータ送信時刻の変動を少なくすると共に、主局の同期制
御の手順を容易にする。 【構成】 この伝送制御方式は、同期の主局がネットワ
ーク参加局のアドレス情報より、システムを形成する上
で必要な従局がすべてネットワークに参加していると判
定した場合に、従局に対して新局勧誘を中止する指令を
出し、従局はこの指令により新局勧誘を実行しないよう
にしたものである。
(57) [Abstract] [Purpose] In a token passing bus or a transmission control method having a communication protocol similar to this, it is possible to reduce fluctuations in data transmission time of a slave station and to easily perform a synchronization control procedure of a master station. To do. [Structure] This transmission control method enables the slave master station to update the slave station when the master station determines from the address information of the network participants that all slave stations required to form the system are participating in the network. A command to cancel the solicitation of stations was issued, and subordinate stations did not execute solicitation of new stations by this command.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、データ伝送方式に係
り、特にトークン・パッシング・バスを用いて互いに離
れた複数地点のデータ(例えば電圧・電流等の瞬時値)
を同時にサンプリングするための伝送制御方式に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transmission system, and in particular, data at a plurality of points separated from each other by using a token passing bus (for example, instantaneous values of voltage, current, etc.).
The present invention relates to a transmission control method for simultaneously sampling signals.

【0002】[0002]

【従来の技術】ローカルエリアネットワーク(以下、L
ANという)は近年急速に普及しつつあるが、その中で
注目すべき動向のひとつに米国ゼネラルモーターズ(G
M)社の提唱したMAP(マニュファクチュアリング
オートメーション プロトコルManufacturing Automati
on Protocol )と呼ばれる工業用LANに対する関心の
高まりがあげられる。FA(ファクトリー オートメー
ション Factory Automation),OA(オフィス オー
トメーション Office Automation )のためにロボッ
ト,コンピュータ等多数の機器が工場,事務所に導入さ
れているが、これらの機器の相互接続を容易かつ安価に
行なえることを目的として、前記MAPの標準化が進め
られている。一企業のLANというよりは業界の標準を
目ざしており、多数の有力企業が参加している。ISO
(国際標準化機構)のOSI(オープン システム イ
ンターコネクション Open System Interconection)階
層モデルの各層を埋める形で標準化が進められており、
下位2層(物理層,データリンク層)のうち論理リンク
制御サブレイヤを除く部分は、IEEE(米国の電気・
電子技術者会議 The Institute of Electrical and El
ectronics EngineersInc.)802.4委員会のトーク
ン・パッシング・バスが使用される。現在IEEE80
2.4規格では物理層の伝送媒体としては同軸ケーブル
を使用することとしているが、光ファイバケーブルの適
用についても検討されつつあり、媒体を光ファイバケー
ブルとしてもデータリンク層の通信方式としては全く同
一である。
2. Description of the Related Art A local area network (hereinafter referred to as L
AN) is rapidly gaining popularity in recent years, and one of the notable trends among them is General Motors (G)
MAP (Manufacturing) advocated by M)
Automation Protocol Manufacturing Automati
There is increasing interest in industrial LANs called "on Protocol". Many devices such as robots and computers have been installed in factories and offices for factory automation (FA) and office automation (OA), but these devices can be interconnected easily and inexpensively. For that purpose, standardization of the MAP is in progress. It aims to be an industry standard rather than a LAN for one company, and many leading companies are participating. ISO
(International Standardization Organization) OSI (Open System Interconnection) standardization is underway by filling each layer of the hierarchical model,
The lower two layers (physical layer, data link layer) except for the logical link control sublayer are IEEE (US
Electronic Engineers Conference The Institute of Electrical and El
The ectronics Engineers Inc.) 802.4 Committee token passing bus will be used. Currently IEEE80
According to the 2.4 standard, a coaxial cable is used as a physical layer transmission medium, but application of an optical fiber cable is also under consideration. It is the same.

【0003】図5はこのトークン・パッシング・バスを
光ファイバで構成したネットワークを示す構成図であ
る。図において、11 〜1n はネットワークを構成する
局、21 〜2n は光ファイバケーブル、3は光スターカ
プラである。次に動作について説明する。バス形ネット
ワークには各局が任意にデータを送信する方式(CSM
A/CD)もあるが、伝送データ量が増大し負荷が大き
くなると伝送効率が急速に低下するという欠点がある。
これに対しこのトークン・パッシング・バスは、決定論
的アクセス方式によりこの欠点を避けている。即ち、ト
ークンと呼ばれる送信権がトークン・パッシング・バス
に加入している各局間で順番に受けわたされ、同一時刻
に複数の局が送信することが防止される。トークンはア
ドレスの大きい局から小さい局へ順番にわたされ、又、
各局は自局がトークンをわたすべき局(後続局)を記憶
しており、これによりトークンが巡回する論理上のリン
グ(論理リング)が構成される。しかしこの論理リング
が固定的なものであると、新しく局が加入したい場合に
加入できず、又、加入局のいずれかが故障すると論理リ
ングが壊れて通信が停止してしまうことになる。それ故
に、トークン・パッシング・バスでは次のようなリング
維持機能を備えている。
FIG. 5 is a block diagram showing a network in which the token passing bus is composed of an optical fiber. In the figure, 1 1 to 1 n are stations forming a network, 2 1 to 2 n are optical fiber cables, and 3 is an optical star coupler. Next, the operation will be described. A method in which each station arbitrarily sends data to the bus network (CSM
A / CD) is also available, but there is a drawback in that the transmission efficiency rapidly decreases when the amount of transmission data increases and the load increases.
The token passing bus, on the other hand, avoids this drawback by a deterministic access scheme. That is, a transmission right called a token is sequentially transmitted among the stations that are subscribing to the token passing bus, and a plurality of stations are prevented from transmitting at the same time. Tokens are passed from the station with the largest address to the station with the smallest address, and
Each station stores the station (successor station) to which the station should pass the token, and this constitutes a logical ring (logical ring) in which the token circulates. However, if this logical ring is fixed, it will not be possible to join when a new station wants to join, and if any of the joining stations fails, the logical ring will break and communication will stop. Therefore, the token passing bus has the following ring maintenance function.

【0004】 ノイズ等によりトークンが一時的に消
失した時は、前トークン保持局がトークン再発行を行な
う。 後続局が故障した場合は、故障局の後続局にトーク
ンをわたし、故障局を論理リングから除去する。 ほぼ一定の周期で新局勧誘を行ない、論理リングに
加入を希望する局の加入を許可する。 一方、このトークン・パッシング・バスを用いて、機器
の高速制御を行なう応用分野があり、この中で各局で特
定信号を同時刻に繰り返し発生する必要があるシステム
がある。例えば、複数地点で電圧・電流等の瞬時値を同
時に求めるためのサンプリング信号の同期が必要なシス
テムの場合、トークン・パッシング・バスを用いて信号
同期を行なう方法としては、特定局を主局として、主局
が周期的に送信するデータフレームを利用して主局以外
の局(従局)が、主局に合わせて同期をとる方法が考え
られる。即ち、主局11 が主同期信号S1 を周期Tで発
生し、主局11 のデータフレームD1 を主同期信号S1
に同期して送信し、従局12 〜1n はデータフレームD
1 の着信時刻から逆算して主同期信号S1 の発生時刻を
知ることが可能となり、ネットワークに参加する全ての
局の信号同期が可能となる。
When the token temporarily disappears due to noise or the like, the previous token holding station reissues the token. If the successor station fails, it tokens the successor station of the failing station and removes the failing station from the logical ring. New stations are solicited at almost regular intervals and stations wishing to join the logical ring are allowed to join. On the other hand, there is an application field in which high-speed control of equipment is performed by using this token passing bus, and there is a system in which each station needs to repeatedly generate a specific signal at the same time. For example, in the case of a system that requires synchronization of sampling signals to simultaneously obtain instantaneous values of voltage, current, etc. at multiple points, a method of synchronizing signals using a token passing bus is to use a specific station as the main station. A method is conceivable in which a station (slave station) other than the master station synchronizes with the master station by using a data frame periodically transmitted by the master station. That is, the master station 1 1 generates the master synchronization signal S 1 in the cycle T, and the data frame D 1 of the master station 1 1 is transmitted by the master synchronization signal S 1
And the slave stations 1 2 to 1 n transmit the data frame D.
It becomes possible to know the generation time of the main synchronization signal S 1 by back-calculating from the arrival time of 1 , and it becomes possible to perform signal synchronization of all stations participating in the network.

【0005】ここで主局11 が送信する同期のためのデ
ータフレームD1 を主同期データフレームとする。更に
主同期信号S1 に同期して主同期データフレームD1
一定周期で送信するため、主同期データフレームの送信
に先立って空データフレームを送信し、かつ主同期デー
タフレームの送信完了時刻と主同期信号S1 の時間差に
応じて空データフレームの長さを変えることにより、主
同期信号S1 に同期した主同期データフレームD1 の送
信が可能となる。一方、従局では前記主同期データフレ
ームD1 の受信完了時刻と局同期制御信号との時間差に
より自局内の局同期制御信号を位相制御することで、主
同期信号S1 に追随して局同期制御信号の信号同期が行
なわれる。
Here, the data frame D 1 for synchronization transmitted by the main station 1 1 will be referred to as a main synchronization data frame. Further, since the main synchronization data frame D 1 is transmitted at a constant cycle in synchronization with the main synchronization signal S 1 , an empty data frame is transmitted prior to the transmission of the main synchronization data frame, and the transmission completion time of the main synchronization data frame is by changing the length of the null data frames according to the time difference between the main synchronization signals S 1, it is possible to main synchronization signal transmitted in the main synchronization data frame D 1 in synchronization with the S 1. On the other hand, in the slave station, the station synchronization control signal in the local station is phase-controlled by the time difference between the reception completion time of the main synchronization data frame D 1 and the station synchronization control signal, so that the station synchronization control follows the main synchronization signal S 1. Signal synchronization of signals is performed.

【0006】[0006]

【発明が解決しようとする課題】通常、ネットワークの
維持・拡張のためネットワークの参加局は定周期毎に勧
誘フレームを送信し、新局の勧誘を行なわなければなら
ないが、機器の高速制御を行なう応用分野に適用した場
合では、システムを構成する上で必要とする局が限定で
き、かつ、必要とする局がすべてネットワークに参加し
たことを条件として運用できる場合がある。例えば、電
力系統の保護システムに適用した例として、同期の主局
を母線保護リレー装置に、同期の従局を各フィーダに設
置した端末装置で構成する場合がある。このシステムの
場合、母線保護リレー装置及び各端末装置がすべてネッ
トワークに参加した状態が運用形態となり、保守・点検
時を除けば、1装置でもネットワークに参加していない
状態は通常有り得ないものである。ところが、従来のネ
ットワークでは、システムを構成する上で必要な局がす
べてネットワークに参加している場合でも、新局の勧誘
を行なっており、更に従来の伝送制御方式では新局勧誘
が各局毎に独立に行なわれるため、例えば図6の
(イ),(ウ)に示すように新局勧誘が実行される度に
主同期データフレームの送信完了時刻が大きく変動し、
そのため従局のデータ送信時刻が変動し、主局の空デー
タフレームの調整方法によっては一時的に信号同期外れ
となる場合があるなどの問題点があった。本発明は上記
問題点を解消するためになされたものであり、従局のデ
ータ送信時刻の変動を少なくすると共に、主局の同期制
御の手順が容易となる伝送制御方式を提供することを目
的としている。
Normally, in order to maintain and expand the network, the participating stations of the network must send a solicitation frame at regular intervals to solicit new stations, but perform high-speed control of equipment. When applied to an application field, there are cases in which the stations required to configure the system can be limited, and operation can be performed on the condition that all the required stations have joined the network. For example, as an example applied to a power system protection system, there is a case where a synchronous main station is configured by a bus protection relay device and a synchronous slave station is configured by a terminal device installed in each feeder. In the case of this system, the busbar protection relay device and each terminal device are all in the state of participating in the network, and it is not possible that even one device is not participating in the network except during maintenance and inspection. .. However, in the conventional network, new stations are solicited even when all the stations necessary for configuring the system are participating in the network. Furthermore, in the conventional transmission control method, new stations are solicited for each station. Since they are performed independently, the transmission completion time of the main synchronization data frame varies greatly each time a new station solicitation is executed, as shown in (a) and (c) of FIG.
Therefore, there is a problem that the data transmission time of the slave station fluctuates, and signal synchronization may be temporarily lost depending on the method of adjusting the empty data frame of the master station. The present invention has been made to solve the above problems, and an object of the present invention is to provide a transmission control method that reduces fluctuations in data transmission time of a slave station and facilitates a procedure of synchronization control of a master station. There is.

【0007】[0007]

【課題を解決するための手段】本発明による伝送制御方
式は、同期の主局がネットワーク参加局のアドレス情報
より、システムを形成する上で必要な従局がすべてネッ
トワークに参加していると判定した場合に、従局に対し
て新局勧誘を中止する指令を出し、従局はこの指令によ
り新局勧誘を実行しないようにしたものである。
In the transmission control method according to the present invention, the master station for synchronization judges from the address information of the network participating stations that all slave stations necessary for forming the system are participating in the network. In this case, the slave station issues a command to stop solicitation of new stations, and the slave stations do not execute solicitation of new stations by this command.

【作用】したがって、本伝送制御方式は上記手段によ
り、主局がネットワークの全参加局からシステムを形成
する上での局構成で有るか否かを判断し、新局勧誘を必
要としない局構成となった時に、従局に対して新局勧誘
を中止する指令を出し、これにより従局は新局勧誘を中
止することで、新局勧誘時の一時的な信号同期外れを防
止でき、各参加局のデータ送信タイミングの変動をなく
すことができる。
Therefore, according to this transmission control method, by the above means, it is determined whether or not the main station has a station configuration for forming a system from all the participating stations of the network, and a station configuration that does not require solicitation of a new station. When this happens, a command is issued to the subordinate station to stop soliciting new stations, so that the subordinate stations can stop soliciting new stations and prevent temporary loss of signal synchronization when soliciting new stations. It is possible to eliminate the fluctuation of the data transmission timing of

【0008】[0008]

【実施例】以下、この発明の一実施例を図について説明
する。図1は本発明の信号同期方式による主局の主同期
データフレームの送信方法を示す。A1 〜An は各々図
5における局11 〜1n の局アドレスを示し、A1 >A
2 >…An が成り立つ。図5のトークン・パッシング・
バスにおいて局11 を信号同期に関する主局,局12
n を従局とする。図2は本発明の一実施例による主局
の勧誘同期指令の送信方法を示す。図3は本発明の特徴
である主局の動作フローを示し、図4は従局の動作フロ
ーを示す。 a. 主局となる局の動作の詳細な説明 主局はトークンを後続局へわたす度に図3に示すフロー
の動作を実行する。即ち、トークン・パスを実行する度
に1ずつ減算する勧誘同期制御カウンタCNTを有し、
ステップ1にて現在の勧誘同期制御カウンタCNTの値
が0でないなら1を減算し、0の際は最大設定値CNT
max を代入する。ステップ2にて主同期信号S1 と主同
期データフレームD1 の送信完了時刻との時間差t1
計測する。ステップ3にて前回送信された空データフレ
ームDs 以外のフレームの長さの総和及びサイレンスの
総和が変更されないものとして、前回空データフレーム
の長さts 前と前記計測した時間差t1 とにより、本来
送信すべき空データフレームの長さts 現を計算する。
通常空データフレームの長さの計算式は例えば、ts 現
=ts 前−t1 となるが、その他ts 現=ts 前− 1/2
・t1 あるいはts =2ts 前−ts 前々−t1 現
1 前等が考えられるが、本発明の特徴ではないので、
s 現=f(t1 )とする。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows a method of transmitting a main synchronization data frame of a main station according to the signal synchronization method of the present invention. A 1 to A n respectively represent station addresses of the stations 1 1 to 1 n in FIG. 5, and A 1 > A
2 > ... A n holds. Token passing of Figure 5
In the bus, station 1 1 is the main station for signal synchronization, station 1 2 ~
1 n is a slave station. FIG. 2 shows a method of transmitting a solicitation synchronization command from a master station according to an embodiment of the present invention. FIG. 3 shows an operation flow of the master station, which is a feature of the present invention, and FIG. 4 shows an operation flow of the slave station. a. Detailed description of operation of station serving as master station Each time the master station passes the token to the succeeding station, the master station performs the operation of the flow shown in FIG. That is, it has an invitation synchronization control counter CNT that decrements by 1 each time a token pass is executed,
In step 1, if the current value of the solicitation synchronization control counter CNT is not 0, 1 is subtracted, and if 0, the maximum set value CNT
Substitute max . In step 2 of measuring the time difference t 1 between the main synchronization signals S 1 and the main synchronization transmission completion time of the data frame D 1. As Step 3 in the previous transmitted null data frame length of D s other frame summation and silence the sum is not changed, by a length t s before and the measured time difference t 1 of the previous empty data frame , Calculate the length t s of the empty data frame to be originally transmitted.
The formula for calculating the length of a normally empty data frame is, for example, t s current
= T s before- t 1 , but other t s present = t s before -1 / 2
· T 1 or t s current = 2t s before -t s before the previous -t 1 current +
Before t 1 is considered, but it is not a feature of the present invention.
Let t s present = f (t 1 ).

【0009】次にステップS1 にて主局は、システムを
構成する上で必要な局(システム局)のすべてがネット
ワークに参加していることを判別する。すべて加入して
いると判断した場合はステップS2 、必要な局がまだ加
入していないと判断した場合はステップ4の動作を行な
う。この場合、システムを形成する上で必要な局は、予
め定数として設定しておくだけでなく、外部からの設
定、もしくは遠隔操作にて設定しても良いことは言うま
でもない。ステップS2 では今回送信すべき空データフ
レームの長さts として、前記本来送信すべき空デ
ータフレームの長さをts 現を使用する。ステップS3
では前記今回送信すべき空データフレームの長さts
を有する空データフレームDs を送信待ち行列に加え
る。更にステップS4 で勧誘同期制御カウンタCNTに
0を代入し、ステップ11に処理を移す。
Next, in step S1, the main station determines that all the stations (system stations) necessary for constructing the system participate in the network. If it is determined that all stations are subscribed, step S2 is performed, and if it is determined that the required station is not subscribed, step 4 is performed. In this case, it goes without saying that the stations necessary for forming the system may be set not only as constants in advance but also externally or by remote control. As the length t s' current empty data frame to be transmitted this time in step S2, the length of the null data frames to send the original to use t s current. Step S3
Then, the length t s ′ of the empty data frame to be transmitted this time
Add an empty data frame D s with the current to the transmission queue. Further, in step S4, 0 is substituted into the solicitation synchronization control counter CNT, and the process is moved to step 11.

【0010】ステップS1 にてまだ必要な局が加入して
いないと判断した場合は、ステップ4にて前記勧誘同期
制御カウンタCNTの値とネットワークの参加局中の最
小アドレス局のアドレスAn の既定定数a倍の乗算した
結果が一致しているかどうか判定し、一致していればス
テップ8、一致していなければステップ5の動作を行な
う。ステップ5では前記勧誘同期制御カウンタCNTの
値とネットワークの参加中の最小アドレス局以外の局の
アドレスA1 〜An-1 の既定定数a倍の乗算した結果が
1つでも一致しているか否か判定し、いずれか一致して
いればステップ7、すべて一致していなければステップ
6の動作を行なう。ステップ6ではネットワークの参加
局中の何れの局も新局勧誘を行なわないと判断し、今回
送信すべき空データフレームの長さts として前記
本来送信すべき空データフレームの長さts 現を使用す
る。ステップ7ではネットワーク中の最小アドレス局を
除く局11 〜1n-1 の新局勧誘を予知し、今回送信すべ
き空データフレームの長さts として、前記本来送
信すべき空データフレームの長さts 現より勧誘フレー
ムの長さtc 及び1応答ウィンドウの長さtw を減算し
た値を使用する。ステップ8ではネットワーク中の最小
アドレス局1n の新局勧誘を予知し、今回送信すべき空
データフレームの長さts として、前記本来送信す
べき空データフレームの長さts 現より勧誘フレームの
長さtc 及び2応答ウィンドウの長さ2・tw を減算し
た値を使用する。
If it is determined in step S1 that the necessary station has not yet joined, in step 4 the value of the solicitation synchronization control counter CNT and the address A n of the minimum address station among the participating stations of the network are set. It is determined whether or not the results of multiplication by the constant a times match. If they match, the operation in step 8 is performed, and if they do not match, the operation in step 5 is performed. In step 5, it is determined whether or not the result of multiplying the value of the solicitation synchronization control counter CNT by a predetermined constant a times the addresses A 1 to A n-1 of stations other than the minimum address station participating in the network is a constant. It is determined whether or not they match, and if they do not match, the operation of step 7 is performed. In step 6, it is judged that none of the stations participating in the network is soliciting a new station, and the length t s ′ of the empty data frame to be transmitted this time is the current length t s of the empty data frame to be originally transmitted. s Use current . In step 7, the solicitation of new stations of the stations 1 1 to 1 n-1 excluding the lowest address station in the network is predicted, and the empty data frame length t spresent to be transmitted this time is used as the empty data to be originally transmitted. The value obtained by subtracting the length t c of the invitation frame and the length t w of one response window from the length t s of the frame is used. In step 8, the new station invitation of the smallest address station 1 n in the network is predicted, and the empty data frame length t spresent to be transmitted this time is set as the empty data frame length t s present to be originally transmitted. using the value obtained by subtracting the length t c and 2 length 2 · t w of the response window solicitation frame.

【0011】ステップ9では前記今回送信すべき空デー
タフレームの長さts を有する空データフレームD
s を送信待ち行列に加える。ステップ10では勧誘同期制
御カウンタCNTを参照し、カウンタ値が0であればス
テップ11、0でなければステップ12の動作を行なう。ス
テップ11では例えば図2に示すような勧誘同期指令付き
の主同期データフレームを送信待ち行列に追加する。ス
テップ12では勧誘同期指令なしの主同期データフレーム
を送信待ち行列に追加する。ネットワークの構成情報の
収集方法としては、例えばデータフレーム受信毎にフレ
ームの送信元アドレスを抽出し、受信順に配列しておく
ことにより可能となる。又、前記最大設定値CNTmax
は主局となる局のアドレスA1 の既定定数a倍より大き
い値を選択しておく必要がある。以上のように親局側が
動作すると、ステップS1 でシステムを構成する上で必
要な局のすべてがネットワークに参加していると判断し
た場合は、勧誘同期制御カウンタを0とすることで、常
にステップ11を実行することになる。又、ネットワーク
に参加すべき局がある場合、ステップ4以降を実行し、
これにより従局側では新局勧誘を行なう。
In step 9, the empty data frame D having the length t s ′ of the empty data frame to be transmitted this time is present.
Add s to the send queue. In step 10, the solicitation synchronization control counter CNT is referred to. If the counter value is 0, the operation in step 11 is performed, and if not 0, the operation in step 12 is performed. In step 11, for example, a main synchronization data frame with an invitation synchronization command as shown in FIG. 2 is added to the transmission queue. In step 12, the main synchronization data frame without the solicitation synchronization command is added to the transmission queue. The method of collecting the network configuration information can be achieved by, for example, extracting the source address of the frame every time the data frame is received and arranging the addresses in the order of reception. Also, the maximum set value CNT max
It is necessary to select a value larger than a predetermined constant a times the address A 1 of the main station. When the master station operates as described above, if it is determined in step S1 that all of the stations necessary for configuring the system are participating in the network, the solicitation synchronization control counter is set to 0, and the steps are always performed. 11 will be executed. If there is a station that should join the network, execute step 4 and subsequent steps.
As a result, the subordinate side invites a new station.

【0012】b. 従局となる局の動作の詳細な説明 従局はトークンを後続局へわたす度に図4に示すフロー
の動作を実行する。即ち、ステップ1では主局より受信
した主同期データフレーム中に勧誘同期指令があるか否
か判定し、あればステップ2にて勧誘同期制御カウンタ
CNTに0を代入し、ステップ3の動作を実行する。勧
誘同期指令なしの場合はそのままステップ3の動作を実
行する。ステップ3では勧誘同期制御カウンタCNTを
参照し、0でなければ1を減算し、0であれば最大設定
値CNTmax を代入する。ステップ4にて前記勧誘同期
制御カウンタCNTの値と従局のアドレスA1 〜An
既定定数a倍の乗算した結果が、一致していればステッ
プ6にて新局勧誘を実行し、一致していなければステッ
プ5にて勧誘禁止を実行する。以上のように従局側が動
作すると、主局がシステムを構成する上で必要な局がネ
ットワークにすべて加入していると判断した場合、主局
から勧誘同期指令が継続出力され、従局側ではこの勧誘
同期指令があると判断して、勧誘同期制御カウンタCN
Tを最大設定値CNTmax を代入し、CNT=自局アド
レスとなることがなく結果として勧誘禁止となる。
B. Detailed description of operation of slave station The slave station executes the operation of the flow shown in FIG. 4 every time the token is passed to the succeeding station. That is, in step 1, it is judged whether or not there is an invitation synchronization command in the main synchronization data frame received from the main station, and if there is an invitation synchronization control counter CNT is substituted with 0 in step 2 and the operation of step 3 is executed. To do. If there is no solicitation synchronization command, the operation of step 3 is executed as it is. In step 3, the solicitation synchronization control counter CNT is referenced, and if it is not 0, 1 is subtracted, and if it is 0, the maximum set value CNT max is substituted. If the result of multiplying the value of the solicitation synchronization control counter CNT by the predetermined constant a times the slave station addresses A 1 to A n in step 4 is the same, the new station solicitation is executed in step 6 and they match. If not, solicitation is prohibited in step 5. When the slave station operates as described above, if the master station determines that all stations required to configure the system have joined the network, the master station continuously outputs the solicitation synchronization command, and the slave station side It is judged that there is a synchronization command, solicitation synchronization control counter CN
Substituting the maximum setting value CNT max for T, CNT does not become the own station address, and as a result, solicitation is prohibited.

【0013】以上のような主局及び従局の動作により、
図1のような動作となる。即ち、(ア)のケースでは勧
誘同期制御カウンタCNTに最大設定値CNTmax が設
定されてから、トークン・パス毎に1ずつ前記勧誘同期
制御カウンタCNTが減算されていく過程の状態で、新
局勧誘は行なわれず、今回送信すべきデータフレームD
s の長さts として、本来の空データフレームの長
さts 現(ts 現=f(t1 ))を使用して、主同期デ
ータフレームD1 の送信完了時刻と主同期信号S1 が同
期する。(イ)のケースでは主局11 の新局勧誘が行な
われ、主局11 は今回送信すべき空データフレームDs
の長さts として本来の空データフレームts 現
ら勧誘フレームの長さtc と1応答ウィンドウの長さt
w を減算した結果(ts =ts 現−tc −tw )を
使用し、主同期データフレームD1 の送信完了時刻と主
同期信号S1 が同期する。(ウ)のケースでは、従局1
2 が新局勧誘を行ない、(イ)のケースと同様に主同期
データフレームD1 の送信完了時刻と主同期信号S1
同期する。(エ)のケースでは、最小アドレス局1n
新局勧誘を行ない、主局11 の今回送信すべき空データ
フレームDs の長さts 現として、ts 現−tc −2・
w を使用し、同じく主同期データフレームD1 の送信
完了時刻と、主同期信号S1 が同期する。(オ)のケー
スでは、前記勧誘同期制御カウンタCNTの値が最小局
1 のアドレスAn の既定定数a倍より小さくなった場
合で、新局勧誘は行なわれず、主局11 の今回送信すべ
き空データフレームの長さts として本来送信すべ
き空データフレームの長さts を使用する。
By the operations of the master station and the slave stations as described above,
The operation is as shown in FIG. That is, in the case of (a), the new synchronization station CNT is decremented by 1 for each token pass after the maximum setting value CNT max is set in the solicitation synchronization control counter CNT. Data frame D to be sent this time without solicitation
as the length t s' current of s, using the length t s current original empty data frame (t s current = f (t 1)), primary synchronization transmission completion time of the data frame D 1 main sync The signal S 1 is synchronized. In the case of (b) is performed new station soliciting main station 1 1, the main station 1 1 empty data frame D s to be transmitted this time
Of the original empty data frame t s as the current length t s ′ of the solicitation frame length t c and one response window length t c
Use result of subtracting w a (t s' current = t s current -t c -t w), primary synchronization transmission completion time of the data frame D 1 main sync signal S 1 is synchronized. In the case of (c), slave station 1
2 solicits a new station, and the transmission completion time of the main synchronization data frame D 1 and the main synchronization signal S 1 are synchronized as in the case (a). In the case of (d), minimum address station 1 n will perform new station invitation, as the length t s current empty data frame D s to be transmitted this time the master station 1 1, t s current -t c -2 ·
Using the t w, also primary synchronization transmission completion time of the data frame D 1, the main synchronization signal S 1 is synchronized. In the case of (e), when the value of the solicitation synchronization control counter CNT becomes smaller than the predetermined constant a times the address A n of the minimum station 1 1 , the new station is not solicited and the main station 1 1 transmits this time. using the length t s current of empty data frame to be transmitted originally as the length of t s' current of should do an empty data frame.

【0014】更に、(カ)のケースでは、ネットワーク
に参加している局がシステムを構成する上で必要な局が
すべて加入していると主局が判定した場合で、ネットワ
ークに参加しているどの局も新局勧誘を行なわないた
め、主局11 の今回送信すべきデータフレームの長さt
s として本来送信すべき空データフレームts 現
使用する。従って、主同期データフレームD1 の送信完
了時刻と主同期信号S1 は同期する。勧誘フレームの長
さtc はIE3 802.4規格の中で長さが規定されて
おり、応答ウィンドウの長さtw はシステム固有の値と
して予め設定される。従って、前記勧誘フレームの長さ
c 及び応答ウィンドウの長さtw は固定値として主局
1 で保持しておく必要がある。又、主局,従局共、図
3,図4に示す以外の動作も必要であるが、本発明の特
徴部分ではないため説明は省略する。なお、上記実施例
では主局が勧誘同期指令を継続出力することで新局勧誘
を実行しないようにしたが、主局は主同期データフレー
ムの中で新局勧誘の禁止指令を送信し、従局はこの新局
勧誘禁止指令にしたがって新局の勧誘を実行しないよう
にする。もしくは、主局の中でカウントしている勧誘同
期制御カウンタの値を主同期データフレームの中で送信
し、このカウント値は新局勧誘禁止を行なう場合に一定
値(例えば最大値)として送信するようにしても、同様
の効果を得ることができる。
Further, in the case of (f), the main station judges that the stations participating in the network are all the stations necessary for configuring the system, and the stations are participating in the network. for which station also does not perform new station invitation, the data frame to be transmitted this time the main station 1 1 length t
s' to use an empty data frame t s current to be transmitted originally as the current. Therefore, the transmission completion time of the main synchronization data frame D 1 and the main synchronization signal S 1 are synchronized. The length t c of the invitation frame is defined length in the IE 3 802.4 standard, the length t w of the response window is pre-set as system-specific value. Therefore, the length t c of the solicitation frame and the length t w of the response window must be held by the main station 1 1 as fixed values. Further, both the master station and the slave stations need operations other than those shown in FIGS. 3 and 4, but the description is omitted because they are not the characteristic parts of the present invention. In the above embodiment, the main station does not execute the new station solicitation by continuously outputting the solicitation synchronization command, but the main station sends the new station solicitation prohibition command in the main synchronization data frame and Will not solicit new stations in accordance with this new station solicitation prohibition directive. Alternatively, the value of the invitation synchronization control counter counting in the main station is transmitted in the main synchronization data frame, and this count value is transmitted as a constant value (for example, maximum value) when new station invitation is prohibited. Even if it does so, the same effect can be obtained.

【0015】[0015]

【発明の効果】以上説明したように、本発明によればシ
ステムを構成する上で必要な従局がすべてネットワーク
に参加した時点で、新局勧誘を中止することで、主局の
主同期データフレームの送信完了時刻が主同期信号に同
期して一定に保たれ、又、従局側の送信タイミングも主
同期信号に同期して一定に保たれる。従って、安定な信
号同期が得られ、なおかつ信号同期制御のためのソフト
ウェアを容易にできる。
As described above, according to the present invention, when all the slave stations necessary for constructing the system have joined the network, the solicitation of the new station is stopped, so that the master synchronization data frame of the master station is canceled. The transmission completion time is kept constant in synchronization with the main synchronization signal, and the transmission timing on the slave station side is also kept constant in synchronization with the main synchronization signal. Therefore, stable signal synchronization can be obtained, and software for signal synchronization control can be facilitated.

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

【図1】本発明の一実施例によるトークン・パッシング
・バスの動作を示す図。
FIG. 1 is a diagram showing the operation of a token passing bus according to an embodiment of the present invention.

【図2】本発明の一実施例による主同期データフレーム
の構成図。
FIG. 2 is a configuration diagram of a main synchronization data frame according to an embodiment of the present invention.

【図3】本発明の一実施例による主局の動作フロー図。FIG. 3 is an operation flow diagram of a master station according to an embodiment of the present invention.

【図4】本発明の一実施例による主局および従局の動作
フロー図。
FIG. 4 is an operation flow diagram of a master station and a slave station according to an embodiment of the present invention.

【図5】光スターカプラを用いたバス形ネットワークの
構成図。
FIG. 5 is a block diagram of a bus network using an optical star coupler.

【図6】従来の信号同期方式による新局勧誘を周期的に
実行した場合のトークン・パッシング・バスの動作を示
す図。
FIG. 6 is a diagram showing an operation of a token passing bus when soliciting a new station by a conventional signal synchronization method is periodically executed.

【符号の説明】[Explanation of symbols]

1 〜Tn トークンフレーム D1 〜Dn データフレーム Ds 空データフレーム A1 〜An 局アドレス CNT 勧誘同期制御カウンタ a 既定値(新局勧誘間隔) tc 勧誘フレーム長 tw 応答ウィンドウ長 ts 現 本来送信すべき空データフレーム長 ts 今回送信すべき空データフレーム長 S1 主同期信号 t1 主同期信号と主同期データフレームの送信完了時
刻との時間差 11 〜1n 局 21 〜2n 光ファイバケーブル 3 光スターカプラ
T 1 to T n token frame D 1 to D n data frame D s empty data frame A 1 to A n station address CNT solicitation synchronization control counter a default value (new station solicitation interval) t c solicitation frame length t w response window length t s Current empty data frame length to be originally transmitted t sCurrently empty data frame length to be transmitted S 1 Main synchronization signal t 1 Time difference between main synchronization signal and transmission completion time of main synchronization data frame 1 1 to 1 n Station 2 1 to 2 n Optical fiber cable 3 Optical star coupler

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 IEEE802.4トークン・パッシン
グ・バス又はこれと類似の通信規約を有するネットワー
クを用いた伝送制御方式において、システム構成上の局
がすべて前記ネットワークに参加していることを条件
に、前記ネットワーク上の新局勧誘を中心することを特
徴とする伝送制御方式。
1. A transmission control method using a network having an IEEE802.4 token passing bus or a communication protocol similar to the IEEE802.4 token passing bus, provided that all stations in the system configuration participate in the network. A transmission control method characterized by mainly soliciting new stations on the network.
JP2047192A 1992-01-09 1992-01-09 Transmission control system Pending JPH05191418A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2047192A JPH05191418A (en) 1992-01-09 1992-01-09 Transmission control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2047192A JPH05191418A (en) 1992-01-09 1992-01-09 Transmission control system

Publications (1)

Publication Number Publication Date
JPH05191418A true JPH05191418A (en) 1993-07-30

Family

ID=12028019

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2047192A Pending JPH05191418A (en) 1992-01-09 1992-01-09 Transmission control system

Country Status (1)

Country Link
JP (1) JPH05191418A (en)

Similar Documents

Publication Publication Date Title
EP0413286B1 (en) Data synchronous transfer system using a fiber distributed data exchange interface
EP2822228B1 (en) Industrial network apparatus and data communication method
AU2024219903B2 (en) Traceroute method to identify devices in tunneled segment of routing path
US6320871B1 (en) Communication network
US8452843B2 (en) Data communication system and data communication device
JPH04213251A (en) Communication system
JPH0750895B2 (en) Signal synchronization method
JPH05191418A (en) Transmission control system
JPH0666793B2 (en) Signal synchronization method
CN110098886B (en) FC network time synchronization method based on complex network structure
JPH063921B2 (en) Signal synchronization method
Ryley et al. Piggybacked token-passing access protocol for multichannel optical fibre LANs
Scharbarg et al. Interconnecting can busses via an ethernet backbone
JPH0787463B2 (en) Signal synchronization method
JPH01238243A (en) Signal synchronizing system
Upender et al. Embedded communication protocol options
JPH02135834A (en) Signal synchronizing system
Ahmad et al. Performance analysis of bridged LANs
JPH0279637A (en) Signal synchronizing system
JPH0748735B2 (en) Data communication method
Messerschmidt Real-time with Ethernet
JPH0435933B2 (en)
JPH0666792B2 (en) Data communication method
Ibe Introduction to local area networks for manufacturing and office systems
TWI688239B (en) Control network system and its node device