JP5458904B2 - Communication system synchronization method, communication system, master station - Google Patents
Communication system synchronization method, communication system, master station Download PDFInfo
- Publication number
- JP5458904B2 JP5458904B2 JP2010009842A JP2010009842A JP5458904B2 JP 5458904 B2 JP5458904 B2 JP 5458904B2 JP 2010009842 A JP2010009842 A JP 2010009842A JP 2010009842 A JP2010009842 A JP 2010009842A JP 5458904 B2 JP5458904 B2 JP 5458904B2
- Authority
- JP
- Japan
- Prior art keywords
- communication line
- transmission delay
- slave
- delay time
- station
- 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 - Fee Related
Links
Images
Landscapes
- Maintenance And Management Of Digital Transmission (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Description
本発明は、マスタ局と複数のスレーブ局とから構成される通信システムにおいて、複数のスレーブ局をマスタ局と時間的に同期させるための同期方法、通信システム、マスタ局に関する。 The present invention relates to a synchronization method, a communication system, and a master station for temporally synchronizing a plurality of slave stations with a master station in a communication system including a master station and a plurality of slave stations.
サーボ機器やインバータ機器などのスレーブ局を有する制御システムでは、各スレーブ局をマスタ局の時刻に合わせて、時間的に同期して動作させることがある。各スレーブ局がマスタ局と同期するには、マスタ局からの距離や動作環境がそれぞれ異なることに起因する伝送遅延を考慮する必要がある。このような伝送遅延を考慮する先行技術として、特許文献1・2が提案されている。
In a control system having slave stations such as servo equipment and inverter equipment, each slave station may be operated in synchronization with the time of the master station. In order for each slave station to synchronize with the master station, it is necessary to consider transmission delays resulting from different distances from the master station and operating environments.
しかしながら、特許文献1・2の先行技術では、たとえば主系と従系からなる通信システムにおいて、伝送障害により伝送経路が変更された場合、伝送遅延を補償できず、よってマスタ局と複数のスレーブ局からなる通信システムを同期できなかった。
本発明は、上記課題を解決するためになされたもので、伝送障害により伝送経路が変更された場合に、通信システムが同期することを目的とする。
However, in the prior arts of
The present invention has been made to solve the above-described problem, and an object of the present invention is to synchronize a communication system when a transmission path is changed due to a transmission failure.
上記課題を解決するために、本発明の通信システムの同期方法によれば、n(n≧2)個のスレーブ局がシリーズに接続される第1の通信回線と、n個のスレーブ局がシリーズに接続される第2の通信回線と、第1の通信回線のn個のスレーブ局と第2の通信回線のn個のスレーブ局とをそれぞれ対応付けて接続するn個の中継装置と、第1および第2の通信回線と接続されるマスタ局と、からなる通信システムの同期方法において、平常時は、マスタ局は第1の通信回線を使って予め同期している第1の通信回線に接続されるn個のスレーブ局と通信し、第1の通信回線に伝送障害が発生した場合、マスタ局が、伝送障害の発生箇所の前後にある第1の通信回線に接続されるスレーブ局に対応する中継装置を中継可能な状態にし、当該中継装置および第2の通信回線を経由して第1の通信回線へ通信を迂回する経路を構成するステップと、マスタ局が、第1の通信回線に接続されるスレーブ局へ再同期要求情報を送信するステップと、第1の通信回線に接続されるスレーブ局が、再同期要求情報を受信すると、マスタ局との通信で生じる伝送遅延時間を算出し、この伝送遅延時間に基づきマスタ局と同期するステップと、当該ステップにおいて、第1の通信回線に接続されるスレーブ局は、再同期要求情報を受信して算出した伝送遅延時間をマスタ局へ送信し、マスタ局は、予め保有している第1の通信回線に接続される各スレーブ局の伝送遅延時間を、スレーブ局から受信した伝送遅延時間を使って更新し、各スレーブ局の伝送遅延時間の大きさが予め設定されたスレーブ局の配置順序にしたがう場合に、すべてのスレーブ局の同期が完了したと判断する。
In order to solve the above problem, according to the synchronization method of the communication system of the present invention, a first communication line in which n (n ≧ 2) slave stations are connected in series, and n slave stations are in series A second communication line connected to the first communication line, n slave stations of the first communication line and n slave stations of the second communication line in association with each other, In a synchronization method of a communication system comprising a master station connected to a first communication line and a second communication line, the master station normally uses a first communication line to synchronize with the first communication line. When a transmission failure occurs in the first communication line when communicating with the n slave stations to be connected, the master station becomes a slave station connected to the first communication line before and after the location where the transmission failure occurs. Make the corresponding relay device ready for relaying and relay A step of configuring a path for bypassing communication to the first communication line via the apparatus and the second communication line, and the master station transmitting resynchronization request information to the slave station connected to the first communication line And when the slave station connected to the first communication line receives the resynchronization request information, it calculates a transmission delay time caused by communication with the master station, and synchronizes with the master station based on the transmission delay time. In this step, the slave station connected to the first communication line transmits the transmission delay time calculated by receiving the resynchronization request information to the master station. The transmission delay time of each slave station connected to one communication line is updated using the transmission delay time received from the slave station, and the size of the transmission delay time of each slave station is preset. When following location order, it determines that the synchronization of all slave stations complete.
本発明によれば、伝送障害により伝送経路が変更された場合に、マスタ局と複数のスレーブ局からなる通信システムが同期することができる。 According to the present invention, when a transmission path is changed due to a transmission failure, a communication system composed of a master station and a plurality of slave stations can be synchronized.
添付図面を適宜参照しながら、本発明にかかる通信システムの同期方法の好適な実施の形態について説明する。
図1は、本発明の通信システムにおけるシステム構成図である。
図1において、Mはマスタ局、S1〜S4およびS1’〜S4’はスレーブ局、D1〜D4は中継装置として機能するデバイスを示している。スレーブ局S1〜S4はシリーズに接続されており、主系として第1の通信回線を構成している。スレーブ局S1’〜S4’はシリーズに接続されており、従系として第2の通信回線を構成している。すなわち、第1および第2の通信回線からなる冗長な並列型のネットワークトポロジーとして構成することで、伝送障害に対する信頼性を向上している。デバイスD1〜D4は、スレーブ局S1〜S4のそれぞれとスレーブ局S1’〜S4’のそれぞれとを、1対1に対応付ける形で接続している。
マスタ局Mは、第1の通信回線の端部(始点)に位置するスレーブ局S1、および第2の通信回線の端部(始点)に位置するスレーブ局S1’と接続する。デバイスD1〜D4は、通常は中継機能をオフにしており、マスタ局Mからの指令により中継機能が中継可能な状態にオンされる、たとえばスイッチとして構成することができる。
A preferred embodiment of a synchronization method of a communication system according to the present invention will be described with reference to the accompanying drawings as appropriate.
FIG. 1 is a system configuration diagram in a communication system according to the present invention.
In FIG. 1, M denotes a master station, S1 to S4 and S1 ′ to S4 ′ denote slave stations, and D1 to D4 denote devices that function as relay apparatuses. The slave stations S1 to S4 are connected in series and constitute a first communication line as a main system. The slave stations S1 ′ to S4 ′ are connected in series and constitute a second communication line as a slave. That is, by configuring as a redundant parallel network topology composed of the first and second communication lines, the reliability against transmission failures is improved. The devices D1 to D4 connect the slave stations S1 to S4 and the slave stations S1 ′ to S4 ′ in a one-to-one correspondence.
The master station M is connected to the slave station S1 located at the end (start point) of the first communication line and the slave station S1 ′ located at the end (start point) of the second communication line. The devices D1 to D4 normally have the relay function turned off, and can be configured, for example, as switches that are turned on in a state in which the relay function can be relayed by a command from the master station M.
図2は、マスタ局Mの機能ブロックを示す図である。
マスタ局Mは、スレーブ局SおよびデバイスDとで通信を行う通信部1、マスタ局Mの動作を制御する制御部2、第1および第2の通信回線のどこで障害が発生したかを特定する障害箇所特定部3を有する。障害箇所特定部3は、たとえば、スレーブ局S2と通信が可能で、かつ、スレーブ局S3と通信が不能の場合、スレーブ局S2とスレーブ局S3との間の通信回線に伝送障害(経路障害)が発生したと判断する。
マスタ局Mは、迂回経路構成部4、同期要求部5、伝送遅延時間テーブル6、伝送遅延時間更新部7を有する。
迂回経路構成部4は、たとえば第1の通信回線に伝送障害が発生した場合、伝送障害の発生箇所の前後にある第1の通信回線に接続されるスレーブ局に対応する2つのデバイスをオンにし、オンにしたデバイスおよび第2の通信回線を経由して第1の通信回線へ通信を迂回する経路を構成する。具体的には、図3に示すように、スレーブ局S2とスレーブ局S3との間の通信回線に伝送障害が発生した場合、発生箇所の前後に位置するスレーブ局S2とスレーブ局S3に対応するデバイスD2・D3をオンにする。したがって、マスタ局Mからスレーブ局S3へ向けた通信は、「デバイスD2−スレーブ局S2’−スレーブ局S3’−デバイスD3」を経由して到着する。
FIG. 2 is a diagram illustrating functional blocks of the master station M.
The master station M specifies the
The master station M includes a detour
For example, when a transmission failure occurs in the first communication line, the detour
マスタ局Mは、平常時は第1の通信回線を使って、予め同期が確立されている第1の通信回線に接続されるスレーブ局S1〜S4と通信する。マスタ局Mは、第1の通信回線に伝送障害が発生した場合、迂回経路構成部4で構成した経路を使って、スレーブ局S1〜S4と通信する。
同期要求部5は、各スレーブ局Sへ同期を要求するための機能である。各スレーブ局Sの同期を確立するタイミングは、たとえばシステムを立ち上げた時に行う。同期要求部5から同期の要求を受けたスレーブ局Sは、マスタ局Mおよび他のスレーブ局Sと同期をとるために算出した伝送遅延時間、すなわち自スレーブ局Sの基準クロックとマスタ局Mの基準クロックとのずれ、をマスタ局Mへ送信する。マスタ局Mは、スレーブ局の局番号S1〜S4・S1’〜S4’と伝送遅延時間とを対応付けて、伝送遅延時間テーブル6に記憶する。同期要求部5は、迂回経路構成部4が通信経路を再構成した場合、スレーブ局Sへ再同期要求情報を送信する。スレーブ局Sから再同期要求に対して算出した伝送遅延時間を受信したら、伝送遅延時間更新部7が伝送遅延時間テーブル6を更新する。なお、マスタ局Mの計時部10の基準クロックとスレーブ局Sの計時部14の基準クロックとの個体差により、時刻の同期にずれが発生するため、同期合わせは定期的に行う。
The master station M communicates with the slave stations S1 to S4 connected to the first communication line in which synchronization is established in advance using the first communication line in normal times. When a transmission failure occurs in the first communication line, the master station M communicates with the slave stations S1 to S4 using the path configured by the detour
The
マスタ局Mは、配置順序記憶部8、同期完了判断部9、計時部10を有する。配置順序記憶部8は、各スレーブ局Sとマスタ局Mとの距離に基づき決まる順序を記憶している。
同期完了判断部9は、各スレーブ局の同期が完了したことを判断する。同期完了判断部9は、伝送遅延時間テーブル6が保有する各スレーブ局Sの伝送遅延時間の大きさに関する順序と、配置順序記憶部8の順序とを比較し、各スレーブ局の同期が完了したかどうかを判断する。たとえば、第1の通信回線で考えた場合、マスタ局Mと距離が最も近いスレーブ局S1の伝送遅延時間が最も小さく、マスタ局Mと距離が最も遠いスレーブ局S4の伝送遅延時間が最も大きくなる。よって、各スレーブ局Sの配置順序にしたがい各スレーブ局の伝送遅延時間の大きさが並べば、スレーブ局の同期が完了したと判断できる。
図4は、スレーブ局Sの機能ブロックを示す図である。
スレーブ局Sは、マスタ局Mや他のスレーブ局SやデバイスDと通信を行う通信部11、スレーブ局Sの動作を制御する制御部12、マスタ局Mとの通信で生じる伝送遅延時間を算出する伝送遅延時間算出部13、計時部14を有する。
伝送遅延時間算出部13は、マスタ局Mおよび他のスレーブ局Sと同期して動作するために、マスタ局Mとの通信で生じる伝送遅延時間を算出する演算部である。スレーブ局Sは、迂回経路構成部4が通信経路を再構成したことに伴いマスタ局Mから再同期要求情報を受信すると、伝送遅延時間算出部13が、まず、伝送遅延測定用のフレームをマスタ局Mへ送信しマスタ局Mから応答信号を受信するまでの時間を計測する。マスタ局Mが生成する応答信号には、スレーブ局Sから伝送遅延測定用のフレームを受信し、マスタ局Mがスレーブ局へ応答送信する処理に要した処理時間情報を含んでいる。よって、スレーブ局Sの伝送遅延時間算出部13は、伝送遅延測定用のフレームをマスタ局Mへ送信してから応答信号を受信するまでを計測した時間と、応答信号に含まれているマスタ局Mで要した処理時間情報との差をとり、この差の1/2を伝送遅延時間として算出する。ここで、伝送速度は、上り/下りで対称と仮定している。
The master station M includes an arrangement order storage unit 8, a synchronization completion determination unit 9, and a
The synchronization completion determination unit 9 determines that the synchronization of each slave station has been completed. The synchronization completion determination unit 9 compares the order of the transmission delay time of each slave station S held in the transmission delay time table 6 with the order of the arrangement order storage unit 8, and the synchronization of each slave station is completed. Determine whether or not. For example, when considering the first communication line, the transmission delay time of the slave station S1 closest to the master station M is the shortest, and the transmission delay time of the slave station S4 farthest from the master station M is the longest. . Therefore, if the magnitudes of the transmission delay times of the slave stations are arranged according to the arrangement order of the slave stations S, it can be determined that the synchronization of the slave stations has been completed.
FIG. 4 is a diagram illustrating functional blocks of the slave station S.
The slave station S calculates a transmission delay time caused by communication with the master station M, another slave station S, and a communication unit 11 that communicates with the device D, a
The transmission delay
ここで、マスタ局Mが、スレーブ局Sから伝送遅延測定用のフレームを受信し、マスタ局Mがスレーブ局へ応答送信する際の、特許文献1・2などによりすでに公知となっている処理を簡単に説明する。マスタ局Mの計時部10は、制御部2の指示により、マスタ局Mがスレーブ局Sから伝送遅延測定用のフレームを受信し、マスタ局Mからスレーブ局Sへ応答信号を送信するために要した処理時間を計測する。そして、マスタ局Mは、この処理時間に関する情報を含んだ応答信号を、スレーブ局Sへ送信する。厳密には、マスタ局Mの計時部10が計測できる処理時間は、マスタ局Mがスレーブ局Sへ応答信号を送信する少し前までに関する時間である。つまり、応答信号に書き込まれる処理時間には、マスタ局Mが処理時間を含んだ応答信号を生成してからスレーブ局Sへ送信するまでの時間が含まれていない。このことを考慮して、応答信号に書き込まれる処理時間には、予めマスタ局Mが処理時間を含んだ応答信号を生成してからスレーブ局Sへ送信するまでに要する時間を求めておき、計時部10の計測値にこの時間を補正値として加えた時間を、応答信号に書き込む処理時間としてもよい。
スレーブ局Sは、上述のようにして算出した伝送遅延時間を、マスタ局Mの時刻情報に加えることで、自スレーブ局Sの時刻を求める。他のスレーブ局Sも、同様に伝送遅延時間を算出し自スレーブ局Sの時刻を求めて動作するので、システム全体がマスタ局Mの時刻に同期する。
Here, when the master station M receives a transmission delay measurement frame from the slave station S and the master station M transmits a response to the slave station, the processing already known from
The slave station S obtains the time of the slave station S by adding the transmission delay time calculated as described above to the time information of the master station M. The other slave stations S operate in the same manner by calculating the transmission delay time and obtaining the time of the slave station S, so that the entire system is synchronized with the time of the master station M.
図5は、マスタ局Mの動作を示したフローチャートである。
マスタ局Mの同期要求部5は、システム立ち上げ時などに、各スレーブ局Sへ初回の同期動作を要求し、各スレーブ局Sの時刻を同期させる(ステップS1)。マスタ局Mは経路障害(伝送障害)を監視しており、経路障害が起きた場合は、マスタ局Mの障害箇所特定部3が障害箇所を特定する。ここで、図3のように、第1の通信回線に接続されるスレーブ局S2とスレーブ局S3との間で経路障害が起こると(ステップS2,Yes)、マスタ局Mの迂回経路構成部4が迂回経路を構成する(ステップS3)。
迂回経路構成部4は、伝送障害の発生箇所の前後にある第1の通信回線に接続されるスレーブ局S2とスレーブ局S3に対応する2つのデバイスD2・D3をオンにして伝送データの中継を行う状態にさせ、第2の通信回線を経由して第1の通信回線へ通信を迂回する経路を構成する。すなわち、迂回経路構成部4は、マスタ局Mからスレーブ局S3への通信が、「デバイスD2−スレーブ局S2’−スレーブ局S3’−デバイスD3」を経由して行うように通信経路を構成する。
マスタ局Mの同期要求部5は、迂回経路構成部4が通信経路を再構成したことに伴い同期をとり直すために、第1の通信回線に接続されるスレーブ局Sへ再同期要求情報を送信し、スレーブ局Sへ伝送遅延時間の算出を指示する(ステップS4)。
FIG. 5 is a flowchart showing the operation of the master station M.
The
The detour
The
同期要求部5が再同期要求情報を送信するスレーブ局Sの相手は、第1の通信回線に接続されるすべてのスレーブ局S1〜S4でもよい。もしくは、同期要求部5が再同期要求情報を送信するスレーブ局Sの相手は、マスタ局Mからみて通信障害が発生した箇所以降にある第1の通信回線に接続されるスレーブ局S3・S4のみとしてもよい。すなわち、すでに同期がとれているスレーブ局S1・S2を同期対象から除いてもよい。同期をとる対象を少なくした場合、システム全体の同期を確立する時間を短くできる効果がある。
マスタ局Mの同期完了判断部9は、各スレーブ局の同期が完了したかどうかを判断する(ステップS5)。
マスタ局Mは、スレーブ局の番号S1〜S4・S1’〜S4’と伝送遅延時間とを対応付けて、伝送遅延時間テーブル6に記憶する。マスタ局Mは、マスタ局が送信した再同期要求情報に応答するスレーブ局Sから伝送遅延時間を収集し、伝送遅延時間更新部7が伝送遅延時間テーブル6を更新する。そして、同期完了判断部9は、伝送遅延時間テーブル6が保有する各スレーブ局Sの伝送遅延時間の大きさに関する順序と、配置順序記憶部8に記憶している順序とを比較し、各スレーブ局の同期が完了したかどうかを判断する。
同期完了判断部9は、同期が完了していないと判断すれば(ステップS5,No)、再び伝送遅延時間の算出を指示する(ステップS4)。同期完了判断部9は、各スレーブ局の同期が完了したと判断すれば(ステップS5,Yes)、同期動作の終了を指示する(ステップS6)。そして、スレーブ局S1〜S4は、それぞれが算出した伝送遅延時間をマスタ局Mから受信する時刻に加えて動作することで、マスタ局Mおよびスレーブ局S1〜S4からなる通信システムが同期して動作する。
The counterpart of the slave station S to which the
The synchronization completion determination unit 9 of the master station M determines whether the synchronization of each slave station has been completed (step S5).
The master station M stores the slave station numbers S1 to S4 and S1 ′ to S4 ′ in the transmission delay time table 6 in association with the transmission delay times. The master station M collects the transmission delay time from the slave station S responding to the resynchronization request information transmitted by the master station, and the transmission delay
If the synchronization completion determination unit 9 determines that the synchronization is not completed (No at Step S5), the synchronization completion determination unit 9 instructs the calculation of the transmission delay time again (Step S4). If the synchronization completion determination unit 9 determines that the synchronization of each slave station has been completed (step S5, Yes), it instructs the end of the synchronization operation (step S6). The slave stations S1 to S4 operate in addition to the transmission delay times calculated by the slave stations S1 to S4 in addition to the time at which the slave stations S1 to S4 receive the master station M, so that the communication system including the master station M and the slave stations S1 to S4 operates in synchronization. To do.
なお、本発明の実施例においては、同期完了判断部9が各スレーブ局の同期が完了したと判断してから同期動作の終了を指示したが、同期完了判断部9の判断を待たずに同期動作を終了することもできる。すなわち、各スレーブ局Sは伝送遅延時間を算出すると、同期完了判断部9の判断を待たずに、この求めた伝送遅延時間を自スレーブ局の時刻に加えて動作させることもできる。しかしながら、本発明のような同期完了判断部9を備えると、スレーブ局Sが正常に同期していることを判別できるので、同期をはずれた状態における不安定な動作を防止できる効果がある。 In the embodiment of the present invention, the synchronization completion determination unit 9 instructs the end of the synchronization operation after determining that the synchronization of each slave station is completed, but the synchronization completion determination unit 9 does not wait for the determination of the synchronization completion determination unit 9 to synchronize. The operation can also be terminated. That is, when each slave station S calculates the transmission delay time, the slave station S can be operated by adding the determined transmission delay time to the time of the slave station without waiting for the determination of the synchronization completion determination unit 9. However, if the synchronization completion determination unit 9 as in the present invention is provided, it is possible to determine that the slave station S is normally synchronized, and therefore, there is an effect that it is possible to prevent an unstable operation in a state of being out of synchronization.
M マスタ局
S スレーブ局
1 通信部
2 制御部
3 障害箇所特定部
4 迂回経路構成部
5 同期要求部
6 伝送遅延時間テーブル
7 伝送遅延時間更新部
8 配置順序記憶部
9 同期完了判断部
10 計時部
11 通信部
12 制御部
13 伝送遅延時間算出部
14 計時部
M Master station
Claims (4)
平常時は、前記マスタ局は前記第1の通信回線を使って予め同期している前記第1の通信回線に接続されるn個のスレーブ局と通信し、
前記第1の通信回線に伝送障害が発生した場合、
前記マスタ局が、前記伝送障害の発生箇所の前後にある前記第1の通信回線に接続されるスレーブ局に対応する前記中継装置を中継可能な状態にし、当該中継装置および前記第2の通信回線を経由して前記第1の通信回線へ通信を迂回する経路を構成するステップと、
前記マスタ局が、前記第1の通信回線に接続されるスレーブ局へ再同期要求情報を送信するステップと、
前記第1の通信回線に接続されるスレーブ局が、前記再同期要求情報を受信すると、前記マスタ局との通信で生じる伝送遅延時間を算出し、この伝送遅延時間に基づき前記マスタ局と同期するステップと、当該ステップにおいて、前記第1の通信回線に接続されるスレーブ局は、前記再同期要求情報を受信して算出した前記伝送遅延時間を前記マスタ局へ送信し、前記マスタ局は、予め保有している前記第1の通信回線に接続される各スレーブ局の伝送遅延時間を、前記スレーブ局から受信した伝送遅延時間を使って更新し、各スレーブ局の伝送遅延時間の大きさが予め設定されたスレーブ局の配置順序にしたがう場合に、すべてのスレーブ局の同期が完了したと判断する
ことを特徴とする通信システムの同期方法。 a first communication line in which n (n ≧ 2) slave stations are connected in series, a second communication line in which n slave stations are connected in series, and n of the first communication lines N relay stations that connect and connect n slave stations of the second communication line in association with each other, and a master station connected to the first and second communication lines In a synchronization method of a communication system,
During normal times, the master station communicates with n slave stations connected to the first communication line that is synchronized in advance using the first communication line;
When a transmission failure occurs in the first communication line,
The master station puts the relay device corresponding to the slave station connected to the first communication line before and after the transmission failure location into a relayable state, and the relay device and the second communication line Configuring a path to bypass communication to the first communication line via
The master station transmitting resynchronization request information to a slave station connected to the first communication line;
When a slave station connected to the first communication line receives the resynchronization request information, it calculates a transmission delay time caused by communication with the master station, and synchronizes with the master station based on the transmission delay time. And a slave station connected to the first communication line in the step transmits the transmission delay time calculated by receiving the resynchronization request information to the master station. The transmission delay time of each slave station connected to the first communication line possessed is updated using the transmission delay time received from the slave station, and the size of the transmission delay time of each slave station is determined in advance. Judging that all slave stations have been synchronized when the set arrangement order of slave stations is followed
A synchronization method for a communication system.
前記マスタ局は、このマスタ局からみて前記発生箇所以降にある前記第1の通信回線に接続されるスレーブ局へ再同期要求情報を送信する
ことを特徴とする請求項1に記載の通信システムの同期方法。 In the step of the master station transmitting resynchronization request information to a slave station connected to the first communication line,
2. The communication system according to claim 1, wherein the master station transmits resynchronization request information to a slave station connected to the first communication line after the occurrence point when viewed from the master station. Synchronization method.
前記マスタ局は、通信部と、前記第1の通信回線における障害箇所を特定する障害箇所特定部と、前記障害箇所を迂回するように経路を構成する迂回経路構成部と、当該迂回経路構成部が迂回経路を構成したことを受けて、前記第1の通信回線に接続されるスレーブ局へ再同期要求情報を送信する同期要求部と、
前記スレーブ局の局番号と伝送遅延時間とを対応付けて記憶する伝送遅延時間テーブルと、前記伝送遅延時間テーブルを更新する伝送遅延時間更新部と、前記各スレーブ局と前記マスタ局との距離に基づき決まる順序を記憶している配置順序記憶部と、前記各スレーブ局の同期が完了したことを判断する同期完了判断部と、を備え、
前記第1の通信回線に接続されるスレーブ局は、前記再同期要求情報を受信して算出した前記伝送遅延時間を前記マスタ局へ送信し、
前記マスタ局の前記伝送遅延時間更新部は、スレーブ局から受信した前記伝送遅延時間に基づき前記伝送遅延時間テーブルを更新し、
前記マスタ局の前記同期完了判断部は、前記更新した伝送遅延時間テーブルに記憶した前記各スレーブ局の伝送遅延時間の大きさの順序が、前記配置順序記憶部が記憶しているスレーブ局の配置順序にしたがう場合に、すべてのスレーブ局の同期が完了したと判断する
ことを特徴とする通信システム。 a first communication line in which n (n ≧ 2) slave stations are connected in series, a second communication line in which n slave stations are connected in series, and n of the first communication lines N relay stations that connect and connect n slave stations of the second communication line in association with each other, and a master station connected to the first and second communication lines In a communication system,
The master station includes a communication unit, and the failure point identification unit that identifies a fault point in a first communication line, a detour path forming portion constituting the path to bypass the failure point, the detour path forming section A synchronization request unit that transmits resynchronization request information to a slave station connected to the first communication line in response to the configuration of the detour path;
The transmission delay time table that stores the slave station number and the transmission delay time in association with each other, the transmission delay time update unit that updates the transmission delay time table, and the distance between each slave station and the master station An arrangement order storage unit that stores an order determined based on the synchronization completion determination unit that determines that the synchronization of each slave station is completed,
The slave station connected to the first communication line transmits the transmission delay time calculated by receiving the resynchronization request information to the master station,
The transmission delay time update unit of the master station updates the transmission delay time table based on the transmission delay time received from the slave station,
The synchronization completion determination unit of the master station is configured to arrange the slave stations in which the order of the transmission delay times of the slave stations stored in the updated transmission delay time table is stored in the arrangement order storage unit. If the order is followed, it is determined that all slave stations have been synchronized.
A communication system characterized by the above.
通信部と、前記第1の通信回線における障害箇所を特定する障害箇所特定部と、前記障害箇所を迂回するように経路を構成する迂回経路構成部と、前記スレーブ局へ同期を要求する同期要求部と、前記スレーブ局の局番号と伝送遅延時間とを対応付けて記憶する伝送遅延時間テーブルと、前記伝送遅延時間テーブルを更新する伝送遅延時間更新部と、前記各スレーブ局と前記マスタ局との距離に基づき決まる順序を記憶している配置順序記憶部と、前記各スレーブ局の同期が完了したことを判断する同期完了判断部と、を備え、
前記迂回経路構成部は、前記障害箇所特定部が特定した障害箇所の前後にある前記第1の通信回線に接続されるスレーブ局に対応する前記中継装置を中継可能な状態にし、当該中継装置および前記第2の通信回線を経由して前記第1の通信回線へ通信を迂回する経路を構成し、
前記同期要求部は、前記迂回経路構成部が迂回経路を構成したことを受けて、前記第1の通信回線に接続されるスレーブ局へ再同期要求情報を送信し、
前記伝送遅延時間更新部は、前記送信した再同期要求情報に応答してスレーブ局から受信した前記伝送遅延時間に基づき前記伝送遅延時間テーブルを更新し、
前記同期完了判断部は、前記更新した伝送遅延時間テーブルに記憶した前記各スレーブ局の伝送遅延時間の大きさの順序が、前記配置順序記憶部が記憶しているスレーブ局の配置順序にしたがう場合に、すべてのスレーブ局の同期が完了したと判断する
ことを特徴とするマスタ局。 a first communication line in which n (n ≧ 2) slave stations are connected in series, a second communication line in which n slave stations are connected in series, and n of the first communication lines Connected to the first and second communication lines in a communication system comprising n relay apparatuses that associate and connect n slave stations of the second communication line and n slave stations of the second communication line. A master station,
A communication unit, a failure point specifying unit that specifies a failure point in the first communication line, a detour path configuration unit that configures a route to bypass the failure point, and a synchronization request for requesting synchronization to the slave station A transmission delay time table that associates and stores a station number and a transmission delay time of the slave station, a transmission delay time update unit that updates the transmission delay time table, each of the slave stations, and the master station, An arrangement order storage unit that stores an order determined based on the distance of each, and a synchronization completion determination unit that determines that the synchronization of each slave station is completed,
The detour path configuration unit makes the relay device corresponding to the slave station connected to the first communication line before and after the failure location identified by the failure location identification unit in a relayable state, and the relay device and Configuring a path to bypass communication to the first communication line via the second communication line;
The synchronization request unit transmits resynchronization request information to a slave station connected to the first communication line in response to the detour path configuration unit configured a detour path,
The transmission delay time update unit updates the transmission delay time table based on the transmission delay time received from the slave station in response to the transmitted resynchronization request information,
The synchronization completion determination unit is configured such that the order of magnitude of the transmission delay time of each slave station stored in the updated transmission delay time table follows the arrangement order of the slave stations stored in the arrangement order storage unit. In addition, the master station determines that all slave stations have been synchronized.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010009842A JP5458904B2 (en) | 2010-01-20 | 2010-01-20 | Communication system synchronization method, communication system, master station |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010009842A JP5458904B2 (en) | 2010-01-20 | 2010-01-20 | Communication system synchronization method, communication system, master station |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011151530A JP2011151530A (en) | 2011-08-04 |
JP5458904B2 true JP5458904B2 (en) | 2014-04-02 |
Family
ID=44538142
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010009842A Expired - Fee Related JP5458904B2 (en) | 2010-01-20 | 2010-01-20 | Communication system synchronization method, communication system, master station |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5458904B2 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2792572B1 (en) * | 2011-12-12 | 2016-11-16 | Mitsubishi Electric Corporation | Train information management device and train information management method |
JP5711653B2 (en) * | 2011-12-15 | 2015-05-07 | 株式会社日立製作所 | Information transmission system and information transmission method |
JP2017098588A (en) | 2014-02-20 | 2017-06-01 | 日本電気株式会社 | Communication system, radio communication device, and radio communication method |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FI95978C (en) * | 1994-03-01 | 1996-04-10 | Nokia Telecommunications Oy | Hierarchical synchronization method |
JP3766194B2 (en) * | 1997-11-20 | 2006-04-12 | 株式会社東芝 | In-car transmission device |
JP2001094577A (en) * | 1999-09-27 | 2001-04-06 | Matsushita Electric Ind Co Ltd | Communication device with sscop function of current/ standby constitution and current and standby switching method |
JP4097891B2 (en) * | 2000-11-27 | 2008-06-11 | 三菱電機株式会社 | Synchronization system using IEEE 1394 |
JP2002185463A (en) * | 2000-12-12 | 2002-06-28 | Matsushita Electric Ind Co Ltd | Duplicated communication controller and method for switching system |
JP4472535B2 (en) * | 2005-01-12 | 2010-06-02 | 株式会社日立製作所 | Information transmission system, railway vehicle information transmission system, and vehicle information transmission terminal device |
JP4810520B2 (en) * | 2007-09-21 | 2011-11-09 | 日本電信電話株式会社 | Client device and synchronization system |
-
2010
- 2010-01-20 JP JP2010009842A patent/JP5458904B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2011151530A (en) | 2011-08-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3016306B1 (en) | Method and apparatus for providing in-vehicle network time synchronization using redundant grandmaster | |
JP5792884B2 (en) | Method, apparatus and system for time distribution in a communication network | |
CN105680973B (en) | The method for synchronizing time of free-running node in avionic device network | |
US8817823B2 (en) | Method and device for time synchronization | |
JP5377663B2 (en) | COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND TIME SYNCHRONIZATION METHOD | |
JP6192995B2 (en) | COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND COMPUTER PROGRAM | |
JP6404975B2 (en) | Slave, serial communication system, and communication method of serial communication system | |
US10484163B2 (en) | Measure and improve clock synchronization using combination of transparent and boundary clocks | |
CN104115432A (en) | Method and apparatus for communicating time information between time-aware devices | |
JP2019505127A (en) | Synchronization method and apparatus | |
WO2016106908A1 (en) | Method and system for synchronizing clocks in sdh network | |
JP5458904B2 (en) | Communication system synchronization method, communication system, master station | |
JP5120097B2 (en) | Time synchronization system and time synchronization apparatus | |
CN106688207A (en) | Method for determining a propagation time of a telegram in a communication network, and corresponding network components | |
JP2015179999A (en) | Time synchronization device, backup device therefor and time synchronization system | |
US20150318939A1 (en) | Relay device, relay method, and relay program | |
JP6301752B2 (en) | Information service display system and time synchronization method | |
JP5643240B2 (en) | Time setting method, communication device, and time setting program | |
CN102546144A (en) | Method and device for synchronizing information | |
JP6503271B2 (en) | Time synchronization system | |
JP2017063363A (en) | Communication system and packet switch | |
KR101148060B1 (en) | Apparatus and method for robot control based network | |
JP2020136780A (en) | Transmission device, time transmission system, and, delay correction method | |
CN104244302A (en) | Method and device for detecting asymmetric link | |
JP6627958B1 (en) | Communications system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20121114 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20131030 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20131112 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20131202 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20131217 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20131230 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5458904 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |