JPH0279637A - Signal synchronizing system - Google Patents
Signal synchronizing systemInfo
- Publication number
- JPH0279637A JPH0279637A JP63230117A JP23011788A JPH0279637A JP H0279637 A JPH0279637 A JP H0279637A JP 63230117 A JP63230117 A JP 63230117A JP 23011788 A JP23011788 A JP 23011788A JP H0279637 A JPH0279637 A JP H0279637A
- Authority
- JP
- Japan
- Prior art keywords
- station
- synchronization
- data frame
- stations
- signal
- 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.)
- Granted
Links
Landscapes
- Small-Scale Networks (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
[産業上の利用分野]
本発明は、信号同期方式に係り、特に、トークンパッシ
ングバスを利用し、互いに離れた複数の地点で、例えば
、電圧、電流等の瞬時値を同時に求めるためのサンプリ
ング信号等を生成するために用いて好適な信号同期方式
に関する。[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a signal synchronization method, and in particular, uses a token passing bus to transmit instantaneous values of, for example, voltage, current, etc. at multiple points apart from each other. The present invention relates to a signal synchronization method suitable for use in generating sampling signals etc. for simultaneously determining .
[従来の技術]
ローカルエリアネットワーク(LAN)は、近年急速に
普及しつつあり、特に注目すべき技術の1つとして、M
A P (Manufacturing Auton
+ationProtocol)と呼ばれる工業用LA
Nが知られている。[Prior art] Local area networks (LANs) have been rapidly spreading in recent years, and one of the technologies that deserves particular attention is M
A P (Manufacturing Auton
An industrial LA called +ationProtocol)
N is known.
このMAPは、FA、OA等のために、工場、事務所等
に導入されているロボット、コンピュータ等の機器の相
互接続を容易かつ安価に行うことを目的としており、そ
の標準化が進められている。The purpose of this MAP is to easily and inexpensively interconnect equipment such as robots and computers installed in factories, offices, etc. for FA, OA, etc., and its standardization is progressing. .
この標準化は、l5O(国際S準化機構)の08I(O
pen Systems Interconnecti
on)階層モデルの各層を埋める形で進められており、
下位2層(物理層、データリンク暦)のうち理論リンク
制御サブレイヤを除く部分は、IEEE (米国の電気
、電子技術者会議) 802.4委員会のトークンパッ
シングバスが使用される。This standardization is based on 08I (O
pen Systems Interconnecti
on) Progress is being made by filling in each layer of the hierarchical model,
For the lower two layers (physical layer, data link calendar) excluding the theoretical link control sublayer, a token passing bus of the IEEE (American Council of Electrical and Electronics Engineers) 802.4 committee is used.
以下、このトークンパッシングバスと信号伝送について
図面により説明する。The token passing bus and signal transmission will be explained below with reference to the drawings.
第3図は信号同期を行うトークンパッシングバスの伝送
信号の軸側を示す図、第4図は同軸ケーブルを用いたバ
ス型ネットワークの例を示す図、第6図はネットワーク
への加入局数が少ない場合の伝送信号の例を示す図であ
る。第4図において、1□〜1fiは加入局、2は同軸
ケーブル、3□〜3aは分岐装置である。Figure 3 shows the axis side of the transmission signal of the token passing bus that performs signal synchronization, Figure 4 shows an example of a bus type network using coaxial cables, and Figure 6 shows the number of stations joining the network. It is a figure which shows the example of a transmission signal when there are few. In FIG. 4, 1□ to 1fi are subscriber stations, 2 is a coaxial cable, and 3□ to 3a are branching devices.
第4図において、ネットワークを構成する加入局11〜
1゜は、タップと呼ばれる分岐装置3□〜3fiを介し
て同軸ケーブル2に接続されている。In FIG. 4, subscriber stations 11 to 11 constituting the network
1° is connected to the coaxial cable 2 via branch devices 3□ to 3fi called taps.
この種バス型ネットワークには、接続されている各加入
局が任意にデータを送信する方式(CSMA/CD)も
あるが、この方式は、伝送データ量が増大し負荷が大き
くなると、伝送効率が急速に低下するという欠点を有す
る。これに対し、本発明が適用されるトークンパッシン
グバスは、決定論的アクセス方式によりこの欠点を避け
ることのできるものである。すなわち、このトークンパ
ッシングバスは、トークンと呼ばれる送信権を示す情報
がトークンパッシングバスに加入している各加入局間で
順番に受けわたされ、同一時刻に複数の加入局が同時に
送信を行うことを防止している。トークンは、例えば、
アドレスの大きい局から小さい局へ順番にわたされ、ま
た、各加入局は、自局がトークンをわたすべき後続の加
入局を記憶しており、これにより、トークンが巡回する
論理上のリング(論理リング)が構成される。しかし、
この論理リングが固定的なものであると、新しい加入局
が、バスに加入したい場合にも加入することができず、
また、加入局のいずれかが故障すると、論理リングが壊
れて通信が停止してしまうことになる。このようなこと
を回避するため、トークンパッシングバスは、次のよう
なリグ維持機能を備えている。In this type of bus network, there is also a method (CSMA/CD) in which each connected subscriber station transmits data arbitrarily, but with this method, as the amount of transmitted data increases and the load increases, the transmission efficiency decreases. It has the disadvantage of rapidly decreasing. On the other hand, the token passing bus to which the present invention is applied can avoid this drawback by using a deterministic access method. In other words, in this token passing bus, information indicating a transmission right called a token is passed in order between each subscribing station that has joined the token passing bus, and multiple subscribing stations simultaneously transmit at the same time. It is prevented. The token can be e.g.
The token is passed in order from the station with the largest address to the station with the smallest address, and each subscribing station remembers the subsequent subscribing station to which it should pass the token. ring) is configured. but,
If this logical ring is fixed, new stations will not be able to join the bus even if they wish to do so.
Furthermore, if any of the subscriber stations fails, the logical ring will be broken and communication will stop. To avoid this, the token passing bus is equipped with the following rig maintenance function.
(1)ノイズ等によりトークンが一時的に消失した場合
、前のトークンを保持していた加入局がトークンの再発
行を行う。(1) If a token is temporarily lost due to noise or the like, the subscriber station that held the previous token reissues the token.
(2)トークンをわたすべき後続の加入局が故障した場
合、トークン発行加入局は、故障加入局の後続局にトー
クンをわたし、故障加入局を論理リングから除去する。(2) If the subsequent subscriber station to which the token should be passed fails, the token-issuing subscriber station passes the token to the successor station of the failed subscriber station, and removes the failed subscriber station from the logical ring.
(3)はぼ一定の周期で新加入局の勧誘を行い、論理リ
ングに加入を希望する加入局の加入を許可する。(3) New stations are solicited at regular intervals, and stations that wish to join the logical ring are allowed to join.
一方、このトークンパッシングバスを含むLANを利用
して機器の高速制御を行う応用分野があり、この中には
、各加入局で特定信号を同時刻に繰返し発生させる必要
のあるシステムがある。例えば、複数地点で電圧、電流
、変位、加速度等の瞬時値を同時に求めるためのサンプ
リング信号の発生等である。従って、LANを用いるト
ークンパッシングバスを用いて、このような特定信号、
たとえば、サンプリング信号の信号同期を行うことがで
きれば、トークンパッシングバスが、元来備える即時性
、自己回復性、拡張性の優れた特徴とあわ。On the other hand, there are application fields in which high-speed control of equipment is performed using a LAN including this token passing bus, and among these are systems that require each subscriber station to repeatedly generate a specific signal at the same time. For example, sampling signals are generated to simultaneously obtain instantaneous values of voltage, current, displacement, acceleration, etc. at multiple points. Therefore, by using a token passing bus using a LAN, such specific signals,
For example, if it were possible to perform signal synchronization of sampling signals, the token passing bus would have the advantages of instantaneousness, self-healing, and scalability.
せて、トークンパッシングバスの用途を一層広くするこ
とができる。In addition, the uses of the token passing bus can be further expanded.
トークンパッシングバスを用いて、前述のような信号同
期を行う方法として、ネットワークを構成する特定の加
入局を主局と定め、この主局が周期的に発するデータフ
レームを利用して、主局以外の他の加入局(従局)が主
局に合わせて同期を行い、サンプリング信号等の特定信
号を生成する方法がある。As a method of performing signal synchronization as described above using a token passing bus, a specific subscriber station that makes up the network is designated as the master station, and data frames periodically emitted by this master station are used to synchronize signals other than the master station. There is a method in which other participating stations (slave stations) synchronize with the master station and generate specific signals such as sampling signals.
いま、第4図において、加入局11を主局、他の加入局
1□〜16を従局とし、主局を含む加入局1□〜1゜が
データを送信するものとする。この場合、第3図に示す
ように、まず、主局である加入局1がデータフレームロ
工を送信後、トークンT工を送信する。主局の後位に論
理的に位置ずけられている従局である加入局、例えば、
加入局1□は。Now, in FIG. 4, it is assumed that the subscriber station 11 is the master station, the other subscriber stations 1□-16 are slave stations, and the subscriber stations 1□-1° including the master station transmit data. In this case, as shown in FIG. 3, the subscribing station 1, which is the main station, first transmits a data frame request and then a token T request. A subscribing station that is a slave station that is logically positioned after the master station, e.g.
Joined station 1□ is.
この主局からのトークンT1を検出し、自局に送信権が
移ったことを確認して、データフレームD2を送信し、
後位の加入局に送信権を移行させるために、トークンT
、を送出する。このような動作が全加入局で行われると
、送信権は再び主局となる加入局1□に移り、さらに前
述の動作が繰返えされることになる。Detecting the token T1 from this main station, confirming that the transmission right has been transferred to the own station, and transmitting the data frame D2,
In order to transfer the transmission right to the subsequent subscriber station, the token T
, is sent. When such operations are performed by all subscriber stations, the transmission right is transferred again to subscriber station 1□, which becomes the main station, and the above-described operations are repeated.
ところで、主局となる加入局1□がサンプリング信号等
の特定信号のために発生する同期信号(以下、主同期信
号という)S□を周期Tで発生しているものとし、この
主局となる加入局1□が、この主同期信号S工に同期し
てデータフレームロ工を送信することができれば、他の
従局となる加入局12〜1.は、データフレームロ工の
受信時刻に基づいて、主同期信号S4の発生時刻を知る
ことができ、この主同期信号S□に同期した自局同期信
号S、、S、・・・を生成することができる。すなわち
、トークンパッシングバスでは、データフレームロ工は
、その宛先アドレスを適切に設定することにより、全従
局にほぼ同時に受信されるからである。By the way, it is assumed that the subscriber station 1□, which becomes the main station, generates a synchronization signal (hereinafter referred to as the main synchronization signal) S□, which is generated for a specific signal such as a sampling signal, with a period T, and this becomes the main station. If the joining station 1□ can transmit the data frame load in synchronization with this main synchronization signal S, the joining stations 12 to 1. can know the generation time of the main synchronization signal S4 based on the reception time of the data frame processing, and generates own station synchronization signals S,, S, etc. in synchronization with this main synchronization signal S□. be able to. That is, in the token passing bus, data frame processing can be received by all slave stations almost simultaneously by appropriately setting the destination address.
前述した信号同期を実現するには、主局となる加入局1
1において、いかにして主同期信号S□に同期したデー
タフレームを送信すればよいかという問題がある。In order to realize the signal synchronization described above, subscriber station 1, which is the main station,
1, there is a problem in how to transmit a data frame synchronized with the main synchronization signal S□.
本来、トークンパッシングバスにおけるトークンは、論
理リング維持のためのアルゴリズムに従って巡回し、そ
の巡回闇期は、主同期信号S1の周期Tとは異なること
は勿論、新局の勧誘やトークンパッシング再試行等が確
率現象的に行われるため常に変動する。従って、トーク
ンパッシングバスを用いて前述のような信号同期を行う
ためには、主局となる加入局11が主同期信号S□に同
期してデータフレームロ工を送信可能とする手段が不可
欠である。その一方法として、主局・どなる加入局1□
がトークンを受信して送信権を得た後、直ちに送信すべ
きデータフレームD1の送信を、前記主同期信号S工の
発生時刻まで待たせる方法が考えられる。しかし、この
方法は、無信号状態が長く続くことになり、主局となる
加入局11にトークンを送信した先行する加入局が、ト
ークンパッシングが失敗したとみなしてトークンを再送
信し、さらには主局となる加入局1□を故障とみなして
論理リングから外してしまうという問題点がある。Originally, the tokens on the token passing bus circulate according to an algorithm to maintain the logical ring, and the dark period of the cycle is of course different from the period T of the main synchronization signal S1, and is also caused by solicitation of new stations, token passing retries, etc. Since it is performed stochastically, it always fluctuates. Therefore, in order to perform the above-mentioned signal synchronization using the token passing bus, it is essential to have a means to enable the subscribing station 11, which is the main station, to transmit data frame processing in synchronization with the main synchronization signal S□. be. As one method, the main station and the subscriber station 1□
A conceivable method is to make the transmission of the data frame D1, which should be immediately transmitted, wait until the time when the main synchronization signal S is generated after receiving the token and obtaining the right to transmit. However, with this method, the no-signal state continues for a long time, and the previous subscriber station that sent the token to the subscriber station 11, which is the main station, assumes that the token passing has failed and retransmits the token. There is a problem in that the joining station 1□, which is the main station, is considered to be faulty and removed from the logical ring.
このような問題点を解決する方法として、主局がデータ
フレームD、の送信に先立って空データフレームD、を
送信し、かつ、この空データフレームD、の長さを主局
のトークン受信時刻に応じて変化させることにより、デ
ータフレームD□の送信時刻を調節するという手法があ
る。しかし、この方法は、ネットワークへの加入局数が
少ない場合に次のような問題を生じる。As a method to solve such problems, the master station transmits an empty data frame D before transmitting the data frame D, and the length of this empty data frame D is determined based on the master station's token reception time. There is a method of adjusting the transmission time of the data frame D□ by changing the transmission time according to the data frame D□. However, this method causes the following problem when the number of stations joining the network is small.
第6図はネットワークへの加入局数が主局を含め2局で
ある場合の伝送信号を示す図であり、この図において、
主局となる加入局11が、主同期信号S工に同期するデ
ータフレーム送信後、トークンTiを送信すると、従局
は、このトークンT工を検出して、データフレームD工
を送信後、トークンT2を送信する。ネットワークへの
加入局数が2局であるとしたので、主局となる加入局1
□は、このトークンTユにより送信権を得ることになり
、直ちに、空データフレームD1、の送信を開始する必
要がある。しかし、この場合、主局においてトークンT
工を送信してから、再び自局宛のトークンT2が着信す
る迄の時間tlNTが短かく、主局となる加入局1□は
、この間に行わなければならない、空データフレームの
長さを演算し、送信待ち行列の先頭に加える処理が間に
合わない場合がある。この場合、前記の方法では同期を
維持できなくなる。FIG. 6 is a diagram showing transmission signals when the number of stations joining the network is two including the main station, and in this diagram,
When the subscribing station 11, which is the master station, transmits a token Ti after transmitting a data frame synchronized with the main synchronization signal S, the slave station detects this token T, transmits a data frame D, and then sends a token T2. Send. Assuming that the number of stations joining the network is 2, the joining station 1 becomes the main station.
□ obtains the transmission right with this token Tyu, and must immediately start transmitting the empty data frame D1. However, in this case, the token T
Since the time tlNT from when the token T2 is sent until the token T2 destined for the own station arrives again is short, the subscribing station 1□, which becomes the main station, calculates the length of the empty data frame, which must be done during this time. However, there may be cases where the processing to add to the head of the transmission queue is not done in time. In this case, synchronization cannot be maintained using the method described above.
なお、前述で説明した、主局となる加入者局1□が送信
するデータフレームD1と主同期信号S工の同期は、第
3図、第6図に示すように、データフレームD工の送信
終了時が、主同期信号S□の同期位置となるように制御
されている。As explained above, the synchronization between the data frame D1 transmitted by the subscriber station 1□ serving as the main station and the main synchronization signal S is as shown in FIGS. 3 and 6. The end time is controlled to be the synchronization position of the main synchronization signal S□.
[発明が解決しようとする課題]
前述したように、前記従来技術は、ネットワークへの加
入局数が少ない場合には、主局において、空データフレ
ーム長の演算等が終了しないうちにトークンが着信する
場合があり、その場合には、信号同期を維持することが
できないという問題点を有している。[Problem to be Solved by the Invention] As mentioned above, in the conventional technology, when the number of stations joining the network is small, the token arrives before the main station completes calculation of the empty data frame length, etc. In this case, there is a problem that signal synchronization cannot be maintained.
本発明の目的は、前記従来技術の問題点を解決し、ネッ
トワークへの加入局数が少ない場合にも確実に信号同期
を維持することのできる信号同期方式を提供することに
ある。SUMMARY OF THE INVENTION An object of the present invention is to provide a signal synchronization method that solves the problems of the prior art and can reliably maintain signal synchronization even when the number of stations joining a network is small.
[課題を解決するための手段]
本発明によれば、前記目的は、ネットワークへの加入局
数が少ない場合には、従局においても空データフレーム
を送信するようにすることにより達成される。[Means for Solving the Problems] According to the present invention, the above object is achieved by causing slave stations to also transmit empty data frames when the number of stations joining the network is small.
[作用]
従局において、空フレームを送信することにより、主局
は、トークンを送信後、トークンを受信して次の送信権
を得る迄の時間が大きくなり、空データフレームのフレ
ーム長計算と送信準備の処理を行うに充分な時間を確保
することが可能となる。このため、常に確実に信号同期
を維持することができる。[Effect] By transmitting an empty frame in the slave station, the time required for the master station to receive the token and obtain the next transmission right after transmitting the token increases, and the time required for calculating the frame length of the empty data frame and transmitting it increases. It becomes possible to secure sufficient time to perform the preparation process. Therefore, signal synchronization can always be maintained reliably.
[実施例]
以下、本発明による信号同期方式の一実施例を図面によ
り詳細に説明する。[Embodiment] Hereinafter, an embodiment of the signal synchronization method according to the present invention will be described in detail with reference to the drawings.
第1図はネットワークへの加入局数が2局の場合の本発
明の実施例による信号伝送を説明する図、第2図は加入
局数がネットワークの最大加入局数である場合の本発明
の実施例による信号伝送を説明する図である。FIG. 1 is a diagram illustrating signal transmission according to an embodiment of the present invention when the number of stations joining the network is two, and FIG. FIG. 3 is a diagram illustrating signal transmission according to an embodiment.
本発明が適用されるネットワークは、従来技術として、
第4図により説明したと同一の構成を有しており、以後
の説明において、加入局11を信号同期に関して主局と
し、他の加入局12〜1.を従局とする。そして、加入
局12〜1.に与えられるアドレスは、その収容位置に
係わりなく任意に付与加納であり、このアドレスに従が
って、順次トークンが移動するものとする。The network to which the present invention is applied includes, as conventional technology,
It has the same configuration as explained with reference to FIG. 4, and in the following explanation, the subscriber station 11 will be regarded as the main station regarding signal synchronization, and the other subscriber stations 12 to 1. is the subordinate station. Then, joining stations 12-1. The address given to the token is arbitrarily assigned regardless of its accommodation position, and the tokens are sequentially moved according to this address.
第1図において、主局となる加入局11は、主同期信号
S工に同期してデータフレーム(以下。In FIG. 1, the subscribing station 11, which is the main station, synchronizes with the main synchronization signal S to frame a data frame (hereinafter referred to as "S").
この主局における主同期信号に同期したデータフレーム
を同期データフレームという)D、を送信し、引続きト
ークンT2を送信する。前記同期データフレームD工は
、固定のフレーム長を有し、そのデータパターンが全て
の同期信号を利用する従局により予め知られており、か
つ、その宛先アドレスとして、同期信号を利用する全て
の従局を包含するグループアドレスが付与されている。A data frame synchronized with the main synchronization signal in this main station is called a synchronous data frame )D, and then a token T2 is sent. The synchronization data frame D has a fixed frame length, its data pattern is known in advance by all the slave stations that use the synchronization signal, and its destination address is known to all the slave stations that use the synchronization signal. A group address that includes is assigned.
そして、この同期データフレームD1は、その送信終了
時が、主同期信号S1の発生時刻となるように、その送
信時刻が制御されている。従局となる加入局1□は、前
記トークンT工を受信すると、自局のデータフレームD
2の送信に先立って固定長の空データフレームDI2を
送信し、引続き、自局のデータフレームD2とトークン
T2を送信する。The transmission time of this synchronization data frame D1 is controlled so that the transmission end time is the generation time of the main synchronization signal S1. When the subscribing station 1□, which becomes the slave station, receives the token T, it transfers its own data frame D.
2, it transmits a fixed-length empty data frame DI2, and subsequently transmits its own data frame D2 and token T2.
第1図の例では、ネットワークに収容される加入局数を
2局であるとしたので、主局となる加入局11は、この
従局となる加入局1□か・らのトークンT2の受信によ
り、自局に送信権が移行したことを知る。主局となる加
入者1□は、同期データフレームD1の送信を次の主同
期信号に同期させて行うために、その間に空データフレ
ームD、Lを送信する必要がある。このため、主局とな
る加入局1□は、自局が送信するトークンT□の送信終
了から従局となる加入局1□からのトークンT2の受信
までの間の時間t INTの間に空データフレームD6
、のフレーム長を、前回の空データフレームのフレーム
長と、同期フレーム送信終了時刻と主同期信号S4との
誤差より計算し、この結果により得られたフレーム長の
空データフレームIL、を送信待ち行列の先頭に加える
処理を行う。従局となる加入局1□より送信される空デ
ータフレームD、2のフレーム長は、前述の時間tlN
Tが主局となる加入局11で前述の処理を行う処理時間
より長くなるように予め設定される。In the example shown in Figure 1, the number of subscriber stations accommodated in the network is 2, so the subscriber station 11, which becomes the master station, receives the token T2 from the subscriber station 1□, which becomes the slave station. , learns that the transmission right has been transferred to its own station. In order to synchronize the transmission of the synchronization data frame D1 with the next main synchronization signal, the subscriber 1□ serving as the main station needs to transmit empty data frames D and L during that time. Therefore, the subscribing station 1□, which becomes the master station, receives empty data during the time t INT from the end of transmission of the token T□ that it transmits to the reception of the token T2 from the subscribing station 1□, which becomes the slave station. Frame D6
The frame length of , is calculated from the frame length of the previous empty data frame, the error between the synchronization frame transmission end time and the main synchronization signal S4, and the empty data frame IL with the frame length obtained from this result is waiting for transmission. Performs processing to add to the beginning of the matrix. The frame length of the empty data frame D, 2 transmitted from the subscriber station 1□, which becomes the slave station, is the above-mentioned time tlN.
T is set in advance so that it is longer than the processing time for performing the above-described processing at the subscriber station 11 serving as the main station.
ネットワークへの加入局数が多い場合、従局からの空デ
ータフレームの送信がなくても、主局において、トーク
ン送信後、次のトークンを受信するまでの時間t□、ア
は、充分に長い時間となるので、従局からの空データフ
レームの送信は不要となる。この場合の信号伝送の様子
を示しているのが第2図である。When there are a large number of stations joining the network, the time t□, a from the time the master station sends a token until it receives the next token is a sufficiently long time even if no empty data frame is sent from the slave station. Therefore, there is no need to transmit empty data frames from the slave station. FIG. 2 shows the state of signal transmission in this case.
第2図において、主局となる加入局11は、主同期信号
S1に同期した同期データフレームD□の送信後、トー
クンT1を送信する。このトークンT8を受信した下位
加入局である従局は、自局のデータフレームD2を送信
した後、トークンT2を送信して下位局に送信権を移行
させる。このような動作により、全加入局におけるデー
タフレームの送信が終了すれば、最下信局となる加入局
は。In FIG. 2, the subscribing station 11, which is the main station, transmits a token T1 after transmitting a synchronization data frame D□ synchronized with the main synchronization signal S1. The slave station, which is a subordinate station that has received this token T8, transmits its own data frame D2, and then transmits the token T2 to transfer the transmission right to the subordinate station. Through such operations, when all subscriber stations have finished transmitting data frames, the subscriber station that becomes the lowest transmitting station.
トークンTnを送信する。これにより、送信権は、再び
主局となる加入局1□に移ることになる。主局となる加
入局1□におけるトークンT4の送信後、トークンT4
の受信迄の時間trNtは、この場合、充分に大きなも
のであり、空データフレームD、。Send token Tn. As a result, the transmission right is transferred to the subscriber station 1□, which becomes the main station again. After transmitting token T4 at subscribing station 1□, which becomes the main station, token T4
In this case, the time trNt until reception of the empty data frame D, is sufficiently large.
のフレーム長の演算等の処理をこの間に充分実行可能で
ある6従って、このt従局となる加入局は、いずれも空
データの送信を行う必要がなく、ネットワークへの加入
局数を、ネットワーク容量により決まる最大数まで増加
させることができる。During this time, processing such as calculating the frame length of can be increased up to a maximum number determined by
このような構成により、主局となる加入局1□は、常に
、主同期信号S1に同期して同期データフレーム口工を
送信することができ、この同期データフレームD1を受
信可能な全従局は、この同期データフレーム口工の終了
時点を同期位置とする自局同期信号を生成することが可
能となる。また、従局となる加入局は、自局クロックを
備えているので、この主局からの主同期信号S1を検出
すべき時刻を予測することができ、もし、検出された主
同期信号S工が、この予測した時刻と大きく異なった場
合、ネットワーク内に何らから異常が生じたものとして
、検出された主同期信号S1を無視するように構成され
る。これにより、従局となる加入局における同期信号の
信頼性をより向上させることができる。With this configuration, the subscriber station 1□, which is the master station, can always transmit the synchronized data frame in synchronization with the main synchronization signal S1, and all slave stations that can receive this synchronized data frame D1 , it becomes possible to generate a local synchronization signal whose synchronization position is the end point of this synchronization data frame processing. Furthermore, since the joining station that becomes the slave station is equipped with its own station clock, it can predict the time at which it should detect the main synchronization signal S1 from the master station, and if the detected main synchronization signal S1 is If the time is significantly different from the predicted time, it is assumed that an abnormality has occurred in the network and the detected main synchronization signal S1 is ignored. This makes it possible to further improve the reliability of the synchronization signal in the subscribing station that becomes the slave station.
前述した本発明の実施例において、空データフレームを
送信する従局を1個としたが、空データフレームを送信
する従局は、ネットワークに収容されている任意の従局
の1個であってよく、また複数個であってもよい。また
、従局が空データフレームを送信すべきか否かは、ネッ
トワーク内に収容されている加入局数に応じて、主局よ
り夫々の従局に指示されるようにしてもよく、あるいは
、各従局において、ネットワーク内に収容されている加
入局数に応じて判断してもよく、さらに主局からの空デ
ータフレームのフレーム長を用いて判断するようにして
もよい。In the embodiment of the present invention described above, there is one slave station that transmits the empty data frame, but the slave station that transmits the empty data frame may be any one of the slave stations accommodated in the network. There may be more than one. Furthermore, whether or not a slave station should transmit an empty data frame may be instructed by the master station to each slave station, depending on the number of subscribed stations accommodated in the network, or each slave station may The determination may be made according to the number of participating stations accommodated in the network, or may be further determined using the frame length of the empty data frame from the main station.
また、ネットワークに収容される加入局数に応じて、空
データフレームの送信を行う従局数を可変としてもよく
、あるいは、ネットワークに収容される加入局数に応じ
て、従局が送信する空データフレームのフレーム長を可
変とすることも可能である。また、主局が送信する空デ
ータフレームは、必要に応じて2つ以上に分割して送信
するようにしてもよい。Furthermore, the number of slave stations that transmit empty data frames may be made variable depending on the number of subscribed stations accommodated in the network, or the empty data frames transmitted by slave stations may vary depending on the number of subscribed stations accommodated in the network. It is also possible to make the frame length variable. Further, the empty data frame transmitted by the main station may be divided into two or more parts and transmitted as necessary.
本発明の実施例においてネットワーク内に伝送される従
局または主局からの空データフレームは、どの加入局に
おいても受信する必要のないものであり、その宛先アド
レスは、ネットワークに収容されるいかなる加入局をも
指示しないグループアドレスまたは個別アドレスである
。In the embodiment of the present invention, an empty data frame transmitted from a slave station or a master station within the network does not need to be received by any subscriber station, and its destination address is not required to be received by any subscriber station accommodated in the network. It is a group address or an individual address that does not specify any information.
前述した本発明の実施例において、従局が空データフレ
ームを送信する場合、その従局は、空データフレームを
送信した後、自局データフレームを送信するとしたが、
自局データフレームの送信後、空データフレームを送信
してもよい。In the embodiment of the present invention described above, when a slave station transmits an empty data frame, the slave station transmits its own data frame after transmitting the empty data frame.
After transmitting the local data frame, an empty data frame may be transmitted.
第5図は本発明が適用される他のネットワークの構成を
示す図である。第5図において、4は光スターカプラ、
5□〜5ユは光フアイバケーブルであり、他の符号は第
4図の場合と同一である。FIG. 5 is a diagram showing the configuration of another network to which the present invention is applied. In FIG. 5, 4 is an optical star coupler;
5□ to 5U are optical fiber cables, and other symbols are the same as in FIG. 4.
本発明は、第4図に示した同軸ケーブルを備えるネット
ワークにのみ適用できるものではなく、例えば・第5図
に示すように、光スターカプラ4及び光フアイバケーブ
ル5□〜56によるネットワークにも適用することがで
きる。光フアイバケーブル5□〜5゜は、夫々2心の光
フアイバ心線を含んでいる。このネットワークにおいて
、例えば。The present invention is applicable not only to a network equipped with the coaxial cable shown in FIG. 4, but also to a network using an optical star coupler 4 and optical fiber cables 5□ to 56, as shown in FIG. 5, for example. can do. Each of the optical fiber cables 5□ to 5° includes two optical fiber cores. In this network, e.g.
加入局1□からの送信信号は、光フアイバケーブル51
の送信ファイバを経て、光スターカプラ4に送られ、こ
こで分岐されて同一信号が光フアイバケーブル5□〜5
fiの受信ファイバを介して加入局1□〜1.に送られ
る。このネットワークのトポロジは、物理的には、スタ
ー形であるが、論理的にはバス形として、第4図の場合
と同様に扱うことができる。なお、C8MA/CD方式
であって、光トークンバスの文献ではないが、スターカ
プラを用いたネットワークの文献として、信学総全大N
o、1780 (1984)、信学通信部門全大No、
177 (1984)等がある。The transmission signal from the subscriber station 1□ is transmitted through the optical fiber cable 51.
The signal is sent to the optical star coupler 4 through the transmission fiber of
The participating stations 1□-1. sent to. Although the topology of this network is physically a star shape, it can be treated logically as a bus shape in the same way as in the case of FIG. Although it is a C8MA/CD method and not a document on optical token bus, there is a document on network using star coupler in IEICE National University.
o, 1780 (1984), IEICE Communication Division Zendai No.
177 (1984), etc.
[発明の効果]
以上説明したように、本発明によれば、IEEE802
.4トークンパツシングバスまたは該バスと類似の通信
規約を有するネットワークにおいて、空データフレーム
のフレーム長を調整することにより信号同期を行う際、
ネットワークに収容されている加入局数が少ない場合に
は、従局においても空データフレームを送信することに
より、加入局数が少ない場合にも安定した信号同期を実
現することができ、また、ネットワークに収容されてい
る加入局数が多い場合には、従局における空データフレ
ームの送信を止めることにより、ネットワークの容量に
よる最大局数まで加入局数を増加することが可能となる
。[Effects of the Invention] As explained above, according to the present invention, IEEE802
.. When performing signal synchronization by adjusting the frame length of empty data frames in a 4-token passing bus or a network having a communication protocol similar to that bus,
When the number of subscriber stations accommodated in the network is small, stable signal synchronization can be achieved even when the number of subscriber stations is small by transmitting empty data frames at slave stations as well. If a large number of subscriber stations are accommodated, by stopping the transmission of empty data frames in the slave stations, it is possible to increase the number of subscriber stations up to the maximum number of stations depending on the capacity of the network.
第1図はネットワークへの加入局数が2局の場合の本発
明の実施例による信号伝送を説明する図、第2図は加入
局数がネットワークの最大加入局数である場合の本発明
の実施例による信号伝送を説明する図、第3図は信号同
期を行うトークンパラ ゛シングバスの伝送信号の例
を示す図、第4図は同軸ケーブルを用いたバス型ネット
ワークの例を示す図、第5図は光フアイバケーブルを用
いたネットワークの例を示す図、第6図はネットワーク
への加入局数が2局の場合の従来技術による信号伝送を
説明する図である。
1□〜1゜・・・・・・加入局、2・・・・・・同軸ケ
ーブル、3□〜3つ・・・・・・分岐装置、4・・・・
・・光スターカプラ、5□〜5.・・・・・・光フアイ
バケーブル。
の の第3図
第4図
第5図FIG. 1 is a diagram illustrating signal transmission according to an embodiment of the present invention when the number of stations joining the network is two, and FIG. 3 is a diagram illustrating an example of a transmission signal of a token paralleling bus that performs signal synchronization; FIG. 4 is a diagram illustrating an example of a bus-type network using a coaxial cable; FIG. 5 is a diagram showing an example of a network using optical fiber cables, and FIG. 6 is a diagram illustrating signal transmission according to the prior art when the number of stations joining the network is two. 1□~1゜・・・Subscribing station, 2...Coaxial cable, 3□~3...Branch device, 4...
・・Optical star coupler, 5□~5. ...Fiber optic cable. Figure 3 Figure 4 Figure 5
Claims (1)
これと類似の通信規約を有するネツトワーククを用いる
信号同期方式において、同期の主局となる加入局は、自
局が送信する同期データフレームの送信時刻を調整する
ために、前記同期データフレームの送信に先立つて空デ
ータフレームを送信し、かつ、前記空データフレームの
長さを調整することにより前記同期データフレームの送
信終了時刻を主同期信号に同期させて送信するとともに
、同期の従局となる加入局は、前記ネツトワークへの加
入局数が少ない場合、その一部ないし全部が空データフ
レームを送信することを特徴とする信号同期方式。 2、前記同期の従局となる加入局は、前記同期データフ
レームの受信終了時刻を検知することにより、自局の局
同期信号を前記主同期信号に同期させることを特徴とす
る特許請求の範囲第1項記載の信号同期方式。 3、前記同期の主局となる加入局は、前記ネツトワーク
への加入局数が少ない場合に、前記従局となる加入局の
一部ないし全部に、空データフレームを送信することを
指示することを特徴とする特許請求の範囲第1項または
第2項記載の信号同期方式。 4、前記従局となる加入局は、各加入局の判断により空
データフレームを送信するか否かを決定することを特徴
とする特許請求の範囲第1項または第2項記載の信号同
期方式。 5、前記従局となる加入局は、前記同期データフレーム
の受信終了時刻が、正常な予定受信終了時刻に対して一
定の許容範囲を越えて早いまたは遅い場合、この受信終
了により生成される同期信号を無視することを特徴とす
る特許請求の範囲第2項、第3項または第4項記載の信
号同期方式。 6、前記空データフレームの宛先アドレスは、ネットワ
ーク内のいかなる同期の従局となる加入局をも指示しな
いグループアドレスまたは個別アドレスであることを特
徴とする特許請求の範囲第1項ないし第5項のいずれか
1項記載の信号同期方式。 7、前記同期データフレームの宛先アドレスは、ネット
ワーク内の全ての同期の従局となる加入局を包含するグ
ループアドレスであることを特徴とする特許請求の範囲
第1項ないし第6項のいずれか1項記載の信号同期方式
。 8、前記同期データフレームのフレーム長は固定であり
、かつ、全ての前記同期の従局となる加入局により予め
知られていることを特徴とする特許請求の範囲第1項な
いし第7項記載のいずれか1項記載の信号同期方式。[Claims] 1. In a signal synchronization method using an IEEE 802.4 token passing bus or a network having a communication protocol similar to this, a subscriber station that serves as a synchronization master station transmits synchronized data frames from the own station. In order to adjust the transmission time, an empty data frame is transmitted prior to the transmission of the synchronous data frame, and by adjusting the length of the empty data frame, the transmission end time of the synchronous data frame is adjusted to the main synchronous signal. The signal synchronization method is characterized in that, when the number of stations joining the network is small, some or all of the stations that become synchronized slave stations transmit empty data frames. 2. The subscribing station that becomes the slave station of the synchronization synchronizes its own station synchronization signal with the main synchronization signal by detecting the end time of reception of the synchronization data frame. The signal synchronization method described in Section 1. 3. When the number of stations joining the network is small, the joining station that becomes the master station of the synchronization instructs some or all of the joining stations that become the slave stations to transmit an empty data frame. A signal synchronization method according to claim 1 or 2, characterized in that: 4. The signal synchronization system according to claim 1 or 2, wherein the subscribing stations that become slave stations decide whether to transmit an empty data frame based on the judgment of each subscribing station. 5. If the reception end time of the synchronized data frame is earlier or later than the normal scheduled reception end time by exceeding a certain tolerance range, the joining station that becomes the slave station shall receive a synchronization signal generated by this reception end time. The signal synchronization method according to claim 2, 3, or 4, characterized in that the signal synchronization method ignores. 6. The destination address of the empty data frame is a group address or an individual address that does not indicate any synchronized slave station in the network. The signal synchronization method described in any one of the items. 7. Any one of claims 1 to 6, wherein the destination address of the synchronization data frame is a group address that includes all subscribing stations that become synchronization slave stations in the network. Signal synchronization method described in section. 8. The frame length of the synchronization data frame is fixed and known in advance by all subscribing stations that become synchronization slave stations. The signal synchronization method described in any one of the items.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63230117A JPH0767110B2 (en) | 1988-09-16 | 1988-09-16 | Signal synchronization method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63230117A JPH0767110B2 (en) | 1988-09-16 | 1988-09-16 | Signal synchronization method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0279637A true JPH0279637A (en) | 1990-03-20 |
| JPH0767110B2 JPH0767110B2 (en) | 1995-07-19 |
Family
ID=16902840
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63230117A Expired - Fee Related JPH0767110B2 (en) | 1988-09-16 | 1988-09-16 | Signal synchronization method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0767110B2 (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63263938A (en) * | 1987-04-22 | 1988-10-31 | Tokyo Electric Power Co Inc:The | Signal synchronizing system |
| JPS63318842A (en) * | 1987-06-22 | 1988-12-27 | Tokyo Electric Power Co Inc:The | Signal synchronizing system |
-
1988
- 1988-09-16 JP JP63230117A patent/JPH0767110B2/en not_active Expired - Fee Related
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63263938A (en) * | 1987-04-22 | 1988-10-31 | Tokyo Electric Power Co Inc:The | Signal synchronizing system |
| JPS63318842A (en) * | 1987-06-22 | 1988-12-27 | Tokyo Electric Power Co Inc:The | Signal synchronizing system |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0767110B2 (en) | 1995-07-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4040762B2 (en) | Method and apparatus for transmitting packet data from a medium access controller | |
| US5182747A (en) | Method for controlling the insertion of stations into fddi network | |
| JP2535615B2 (en) | Data synchronous transmission system | |
| US10873536B2 (en) | Distribution node, automation network, and method for transmitting real-time-relevant and non-real-time-relevant data packets | |
| JPH04213251A (en) | Communication system | |
| Rios et al. | A hybrid multiple-access protocol for data and voice-packet over local area networks | |
| JP3777809B2 (en) | Method for detecting line abnormality in duplex communication system | |
| Martínez et al. | RT-EP: Real-time Ethernet protocol for analyzable distributed applications on a minimum real-time posix kernel | |
| JPH063921B2 (en) | Signal synchronization method | |
| Kim et al. | High speed ring-based distributed networked control system for real-time multivariable applications | |
| JPH0767110B2 (en) | Signal synchronization method | |
| KR101992713B1 (en) | Communication interface apparatus | |
| JPH01238243A (en) | Signal synchronizing system | |
| JPH02113746A (en) | Signal synchronizing system | |
| CN113037372B (en) | A time-triggered passive optical bus and its realization method | |
| JPH1069448A (en) | Deterministic network protocol | |
| JPS63263939A (en) | Signal synchronizing system | |
| JPH02135834A (en) | Signal synchronizing system | |
| JPH01238242A (en) | Signal synchronizing system | |
| CN121173618A (en) | Distributed IO backboard bus protocol implementation method and device based on double-link architecture | |
| JP3691679B2 (en) | Network with dual transmission path | |
| JPH05191418A (en) | Transmission control system | |
| JPS6276839A (en) | Data transfer control system | |
| Kang et al. | Hybrid-token ring: a load sharing local area network | |
| Huagang et al. | Bandwidth allocation for real-time communication with LTPB protocol |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313115 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| LAPS | Cancellation because of no payment of annual fees |