JPH10142361A - Time synchronization system of transmission network - Google Patents

Time synchronization system of transmission network

Info

Publication number
JPH10142361A
JPH10142361A JP29517596A JP29517596A JPH10142361A JP H10142361 A JPH10142361 A JP H10142361A JP 29517596 A JP29517596 A JP 29517596A JP 29517596 A JP29517596 A JP 29517596A JP H10142361 A JPH10142361 A JP H10142361A
Authority
JP
Japan
Prior art keywords
communication device
time
delay time
measurement
transmission line
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
JP29517596A
Other languages
Japanese (ja)
Inventor
Mamoru Morimitsu
守 盛光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP29517596A priority Critical patent/JPH10142361A/en
Publication of JPH10142361A publication Critical patent/JPH10142361A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electric Clocks (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To achieve a reliable time synchronization system of a transmission network by connecting, in parallel, a first communication device and a plurality of communication devices by a transmission line for transmitting data bi- directionally. SOLUTION: A first communication device 11 - an nth communication device 1n for constituting a transmission line network are connected in parallel by a transmission line 2. An optical fiber that can transmit data bi-directionally is used for the transmission line 2. A second communication device 12 - an nth communication device 1n are connected to the transmission line 2 via light distributors 31 -3n-2 , and data transmitted from the first communication device 11 are branched by the light distributors 31 -3n-2 and are inputted to the second communication device 12 - nth communication device 1n . On the other hand, data transmitted from the communication device 1n of the second communication device 12 - nth communication device 1n are propagated on the same transmission line 2 via the light distributors 31 -3n-2 and are transmitted to the first communication device 11 .

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は伝送路によって接続
された複数の通信装置から構成される伝送路網に関し、
特に各通信装置の時刻を同期させる伝送路網の時刻同期
方式に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a transmission line network comprising a plurality of communication devices connected by a transmission line.
In particular, the present invention relates to a time synchronization method of a transmission line network for synchronizing the time of each communication device.

【0002】[0002]

【従来の技術】伝送路網を構成する複数の通信装置の時
刻を同期させるためには、基準となる時刻を有する通信
装置との間のデータ伝送に要する時間(以下、遅延時間
と称す)をそれぞれ算出し、算出した遅延時間によって
各通信装置が有する時刻を補正する必要がある。
2. Description of the Related Art In order to synchronize the times of a plurality of communication devices constituting a transmission line network, a time required for data transmission with a communication device having a reference time (hereinafter referred to as a delay time) is required. It is necessary to calculate the time and correct the time of each communication device based on the calculated delay time.

【0003】遅延時間を算出する方法には、基準となる
時刻を有する通信装置との折り返しの遅延時間(データ
が往復するのに要する時間)をそれぞれ測定し、往路及
び復路に要する時間が等しいことを前提にして各通信装
置までの遅延時間を算出する方法がある。また、基準と
なる時刻を有する通信装置と、その遠端点に接続された
通信装置との折り返しの遅延時間を測定して伝送路網全
体の遅延時間を測定し、各通信装置内の遅延時間も考慮
して各通信装置までの遅延時間をそれぞれ算出する方法
などもある。
[0003] The method of calculating the delay time is to measure the return delay time (the time required for data to reciprocate) with the communication device having the reference time, and to determine that the time required for the forward path and the time required for the return path are equal. There is a method of calculating a delay time to each communication device on the premise of the following. In addition, the delay time of the return between the communication device having the reference time and the communication device connected to the far end point is measured to measure the delay time of the entire transmission line network, and the delay time in each communication device is measured. There is also a method of calculating the delay time to each communication device in consideration of the above.

【0004】図4は従来の伝送路網の時刻同期方式を採
用した伝送路網の構成を示すブロック図である。なお、
図4に示した伝送路網は、第1の通信装置〜第4の通信
装置の4つの通信装置によって構成されている例を示し
ている。
FIG. 4 is a block diagram showing a configuration of a transmission line network adopting a conventional transmission line network time synchronization method. In addition,
The transmission path network illustrated in FIG. 4 illustrates an example in which four communication devices, a first communication device to a fourth communication device, are configured.

【0005】図4において、伝送路網を構成する第1の
通信装置41 〜第4の通信装置44は、それぞれ伝送路
5によって直列に接続され、第1の通信装置41 には不
図示の基準時計から伝送路網の基準時刻Tref が入力さ
れている。
[0005] In FIG. 4, the first communication device 4 first to fourth communication device 4 4 constituting the transmission line network are connected in series by each transmission path 5, the first communication device 4 1 not The reference time Tref of the transmission line network is input from the illustrated reference clock.

【0006】このような構成において、各通信装置の時
刻を同期させる際には、まず第1の通信装置41 から遅
延時間を測定するための測定用データを第2の通信装置
2に対して送信し、第2の通信装置42 はその測定用
データを入力端で折り返して返信する。このとき、第1
の通信装置41 はその測定用データの折り返しの遅延時
間(Tab+Tba)を測定し、第2の通信装置42
での伝送路5によって生じる遅延時間Tab(≒Tb
a)を算出する。
[0006] In this configuration, when synchronizing the time of each communication device, to the second communication apparatus 4 2 measurement data for first measuring a delay time from the first communication device 4 1 send Te, the second communication apparatus 4 2 sends back wrap the measurement data at the input end. At this time, the first
Communication apparatus 4 1 delay time of the return of the measurement data (Tab + Tba) was measured, the delay time caused by the transmission path 5 to the second communication apparatus 4 2 Tab (≒ Tb
a) is calculated.

【0007】次に、第1の通信装置41 は遅延時間を測
定するための測定用データを再び第2の通信装置42
対して送信し、第2の通信装置42 はその測定用データ
を今度は出力端で折り返して返信する。このとき、第1
の通信装置41 はその測定用データの折り返しの遅延時
間(Tab+Tba+TB1+TB2)を測定し、上記
伝送路による遅延時間Tab(≒Tba)を用いて、第
2の通信装置42 自身が有する装置内の遅延時間TB1
(≒TB2)を算出する。
[0007] Next, the first communication device 4 1 is transmitted to the measurement data again second communication apparatus 4 2 for measuring the delay time, the second communication apparatus 4 2 for measurement This time, the data is returned at the output terminal and returned. At this time, the first
Communication device 4 1 delay time of the return of the measurement data (Tab + Tba + TB1 + TB2 ) were measured, by using the transmission path by the delay time Tab (≒ Tba), in the apparatus having a second communication apparatus 4 2 itself Delay time TB1
(≒ TB2) is calculated.

【0008】同様にして第1の通信装置41 は、第3の
通信装置43 までの遅延時間(Tab+TB1+Tb
c)、第3の通信装置43 の装置内の遅延時間(TC
1)、及び第4の通信装置44 までの遅延時間(Tab
+TB1+Tbc+TC1+Tcd)をそれぞれ算出す
る。第2の通信装置42 〜第4の通信装置44 は、第1
の通信装置41 で算出したこれらの遅延時間を受けとっ
てそれぞれが有する時刻を補正し、基準時刻Tref に同
期させていた。
[0008] The first communication device 4 1 and similarly, the third communication device 4 delay time until 3 (Tab + TB1 + Tb
c), the delay time (TC in the third communication device 43)
1) and the delay time (Tab to the fourth communication device 44)
+ TB1 + Tbc + TC1 + Tcd). Second communication device 4 second to fourth communication apparatus 4 4 is first
Each receiving communication device 4 first delay time of these calculated in correcting the time included in the were in synchronism with the reference time T ref.

【0009】[0009]

【発明が解決しようとする課題】しかしながら上記した
ような従来の伝送路網の時刻同期方式では、通信装置内
ではその往路及び復路で異なる内部メモリを通過するた
め、往路の遅延時間と復路の遅延時間が異なる値になっ
ていた。また、データはフレーム単位で送信されるた
め、フレームパルスとのタイミングによって装置内の遅
延時間が変動することがあった。したがって、算出され
た遅延時間に誤差が生じる問題があった。例えば、図4
に示した第2の通信装置の装置内の往路及び復路の遅延
時間が異なる場合(TB1≠TB2)、遅延時間の誤差
は{(TB1−TB2)/2}となる。つまり、測定さ
れた折り返しの遅延時間に対し、(通信装置内及び伝送
路による遅延時間の差/2)が遅延時間の誤差となって
いた。
However, in the conventional time synchronization method of the transmission line network as described above, since the communication device passes through different internal memories on the forward path and the return path, the delay time of the forward path and the delay of the return path are different. Time was different. In addition, since data is transmitted in units of frames, the delay time in the device sometimes fluctuates depending on the timing with a frame pulse. Therefore, there is a problem that an error occurs in the calculated delay time. For example, FIG.
When the delay time of the forward path and the return path in the device of the second communication device shown in (1) are different (TB1 {TB2), the error of the delay time is {(TB1-TB2) / 2}. That is, (difference in delay time between the communication device and the transmission path / 2) is an error in the delay time with respect to the measured return delay time.

【0010】特に、図4のような構成の場合、第2の通
信装置で生じた誤差は、第3の通信装置、及び第4の通
信装置までの折り返しの遅延時間の測定にも影響を及ぼ
すため、基準時刻を有する第1の通信装置から遠い通信
装置(図4では第4の通信装置)では、途中に挿入され
た複数の通信装置の遅延時間の誤差が累積されるため、
より大きな誤差が生じてしまう。
In particular, in the case of the configuration as shown in FIG. 4, an error generated in the second communication device affects the measurement of the delay time of the return to the third communication device and the fourth communication device. Therefore, in a communication device (fourth communication device in FIG. 4) far from the first communication device having the reference time, errors in delay times of a plurality of communication devices inserted in the middle are accumulated.
A larger error occurs.

【0011】また、遅延時間は瞬間的に変動することも
あるため、この遅延時間の変動も時刻同期の誤差を大き
くする要因になっていた。
Further, since the delay time may fluctuate instantaneously, the fluctuation of the delay time has also caused an increase in the time synchronization error.

【0012】さらに、図4に示すような伝送路網では、
任意の通信装置が故障した場合、時刻同期網自体も壊れ
てしまうため、時刻の同期ができなくなってしまう問題
もあった。
Further, in a transmission line network as shown in FIG.
If an arbitrary communication device breaks down, the time synchronization network itself is broken, so that there has been a problem that time synchronization cannot be performed.

【0013】本発明は上記したような従来の技術が有す
る問題点を解決するためになされたものであり、伝送路
網を構成する各通信装置の時刻を基準時刻に対して少な
い誤差で安定して同期させた信頼性の高い伝送路網の時
刻同期方式を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems of the prior art, and is intended to stabilize the time of each communication device constituting a transmission line network with a small error with respect to a reference time. It is an object of the present invention to provide a highly reliable time synchronization method of a transmission line network synchronized with the time.

【0014】[0014]

【課題を解決するための手段】上記目的を達成するため
本発明の伝送路網の時刻同期方式は、伝送路網の基準時
刻を備えた第1の通信装置と、前記第1の通信装置との
間のデータ伝送に要する時間である遅延時間を求め、前
記遅延時間を用いて自局が有する時刻の補正を行って前
記基準時刻に同期させる複数の通信装置とを有する伝送
路網の時刻同期方式において、前記第1の通信装置は、
前記複数の通信装置から送信される、前記遅延時間を測
定するための測定用データを返信する計測用折り返し部
を備え、前記複数の通信装置は、前記第1の通信装置に
対して前記測定用データを所定の回数だけ送信する計測
用開始送出部と、前記第1の通信装置から返信された前
記測定用データの往復に要した時間を測定し、前記所定
の回数だけ、前記往復に要した時間から前記遅延時間を
算出する遅延時間測定部と、前記所定の回数だけ算出し
た前記遅延時間が、それぞれ所定の範囲内にあるか否か
を判定する測定結果比較部と、前記所定の回数だけ算出
した前記遅延時間のうち、前記測定結果比較部で所定の
範囲内にあると判定した複数の前記遅延時間の平均値を
求める平均化処理部と、前記遅延時間の平均値で時刻が
補正される装置内基準時計と、をそれぞれ備え、前記第
1の通信装置及び前記複数の通信装置は双方向にデータ
伝送可能な伝送路によってそれぞれ並列に接続されてい
ることを特徴とする。
In order to achieve the above object, a time synchronization method for a transmission line network according to the present invention comprises a first communication device having a reference time of the transmission line network; Time synchronization of a transmission line network having a plurality of communication devices for obtaining a delay time which is a time required for data transmission between the plurality of communication devices and correcting the time possessed by the own station using the delay time to synchronize with the reference time. Wherein the first communication device comprises:
The communication device includes a measurement return unit that returns measurement data for measuring the delay time, which is transmitted from the plurality of communication devices, and the plurality of communication devices are configured to perform the measurement for the first communication device. A measurement start sending unit for transmitting data a predetermined number of times, and measuring a time required for reciprocation of the measurement data returned from the first communication device, and measuring the time required for the reciprocation for the predetermined number of times. A delay time measuring unit that calculates the delay time from a time, the delay time calculated by the predetermined number of times, a measurement result comparison unit that determines whether or not each of the delay times is within a predetermined range; Among the calculated delay times, an averaging processing unit that calculates an average value of the plurality of delay times determined by the measurement result comparison unit to be within a predetermined range, and time is corrected by the average value of the delay times. Inside the device Includes a semi-clock, respectively, said first communication device and the plurality of communication devices are characterized by being connected in parallel by transmission lines which can be data transmission in both directions.

【0015】なお、このとき前記伝送路に光ファイバを
用いてもよい。
At this time, an optical fiber may be used for the transmission line.

【0016】上記のように構成された伝送路網の時刻同
期方式は、第1の通信装置及び複数の通信装置が双方向
にデータ伝送可能な伝送路によってそれぞれ並列に接続
されているため、複数の通信装置は、基準時刻を備えた
第1の通信装置との間の遅延時間を直接測定して自局が
備えた時刻を補正することができる。したがって、複数
の通信装置のうち、任意の通信装置で故障が発生して
も、故障が発生していないその他の通信装置の時刻の同
期に影響することがない。
In the time synchronization system of the transmission line network configured as described above, since the first communication device and the plurality of communication devices are connected in parallel by the transmission lines capable of bidirectional data transmission, a plurality of communication devices are connected in parallel. Can directly measure the delay time with the first communication device provided with the reference time and correct the time provided by its own station. Therefore, even if a failure occurs in any communication device among the plurality of communication devices, it does not affect the time synchronization of other communication devices in which no failure has occurred.

【0017】また、複数の通信装置では、平均化処理部
によって、所定の回数だけ算出した遅延時間のなかか
ら、所定の範囲内にあると判定した複数の遅延時間の平
均値を求める。そして、その遅延時間の平均値で装置内
基準時計の時刻を補正するため、装置内基準時計の時刻
が安定して基準時刻に同期する。
Further, in the plurality of communication devices, the averaging unit obtains an average value of the plurality of delay times determined to be within the predetermined range from the delay times calculated a predetermined number of times. Then, the time of the internal reference clock is corrected by the average value of the delay times, so that the time of the internal reference clock is stabilized and synchronized with the reference time.

【0018】[0018]

【発明の実施の形態】次に本発明について図面を参照し
て説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0019】図1は本発明の伝送路網の時刻同期方式を
採用した伝送路網の構成を示すブロック図であり、図2
は図1に示した通信装置の構成を示すブロック図であ
る。なお、図2は第1の通信装置、及び第2の通信装置
の構成についてのみ記載している。第3の通信装置〜第
nの通信装置についてはそれぞれ第2の通信装置と同様
の構成であるため、その説明は省略する。
FIG. 1 is a block diagram showing the configuration of a transmission line network adopting the time synchronization method of the transmission line network of the present invention.
FIG. 2 is a block diagram illustrating a configuration of the communication device illustrated in FIG. 1. FIG. 2 illustrates only the configurations of the first communication device and the second communication device. Each of the third to n-th communication devices has the same configuration as the second communication device, and a description thereof will be omitted.

【0020】図1において、伝送路網を構成する第1の
通信装置11 〜第nの通信装置1n(n:任意の正数)
は、図1に示すように伝送路2によってそれぞれ並列に
接続され、第1の通信装置11 には不図示の基準時計か
ら伝送路網の基準時刻Trefが入力されている。
In FIG. 1, a first communication device 1 1 to an n-th communication device 1 n constituting a transmission path network (n: any positive number)
Are connected in parallel by a transmission line 2 as shown in FIG. 1, and a reference time Tref of the transmission line network is input to a first communication device 11 from a reference clock (not shown).

【0021】ここで、伝送路2にはデータを双方向に伝
送することが可能な光ファイバを用いている。第2の通
信装置12 〜第nの通信装置1n はそれぞれ光分配器3
1 〜3n-2 を介して伝送路2と接続され、第1の通信装
置11 から送出されたデータは光分配器31 〜3n-2
よって分岐されて第2の通信装置12 〜第nの通信装置
n に対してそれぞれ入力される。逆に、第2の通信装
置12 〜第nの通信装置1n から送出されたデータは光
分配器31 〜3n-2 を介して同じ伝送路2上を伝わり第
1の通信装置11 へ送信される。
Here, an optical fiber capable of transmitting data in both directions is used for the transmission line 2. The second communication device 1 2, respectively - the communication device 1 n of the n optical distributor 3
1-3 n-2 through a connected to the transmission path 2, the first is the data sent from the communication device 1 1 optical distributor 3 1 to 3 is branched by the n-2 second communication device 1 2 To the n-th communication device 1 n . Conversely, data sent from the communication apparatus 1 n of the second communication device 1 2 to n-th through the optical splitter 3 1 to 3 n-2 transmitted through the same transmission path 2 on the first communication device 1 Sent to 1 .

【0022】なお、伝送路2には複数の通信装置が並列
に接続されているため、光分配器3 1 〜3n-2 は、第2
の通信装置12 〜第n−1の通信装置1n-1 に対して受
信可能な範囲内でできるだけ低いレベルの信号が入力さ
れるように分岐する。また、伝送路2上には残りの高い
レベルの信号が伝わるようにする。このとき、第2の通
信装置12 〜第n−1の通信装置1n-1 の入力レベルが
低すぎるようであれば、往復の遅延時間が等しい増幅器
を挿入して入力レベルを大きくしてもよい。
A plurality of communication devices are connected in parallel on the transmission line 2.
Is connected to the optical distributor 3 1~ 3n-2Is the second
Communication device 1TwoTo the (n-1) th communication device 1n-1Against
A signal of the lowest possible level within the
Branch so that Also, the remaining high
The level signal is transmitted. At this time, the second
Communication device 1TwoTo the (n-1) th communication device 1n-1Input level is
If it seems too low, an amplifier with equal round-trip delay
May be inserted to increase the input level.

【0023】図2において、第1の通信装置11 は、第
2の通信装置12 〜第nの通信装置1n に対して遅延時
間の測定開始を要求する計測開始要求部111と、第2
の通信装置12 〜第nの通信装置1n から送信された遅
延時間を測定するための測定用データを返信する計測用
折り返し部112と、第2の通信装置12 〜第nの通信
装置1n から送信される遅延時間の測定終了通知を受信
してカウントアップ要求を送出する計測完了確認部11
3と、計測完了確認部113のカウントアップ要求を受
けとって計数処理を行う計数部114と、計数部114
の計数結果によって遅延時間を測定する次の通信装置を
指定する装置番号振り分け部115とによって構成され
る。
[0023] In FIG. 2, the first communication device 1 1 includes a measurement start request unit 111 for requesting the measurement start delay time for the second communication device 1 2 ~ communication apparatus 1 n of the n, the 2
The communication device 1 2 ~ measurement folded portion 112 of the n returns the measurement data from the communication device 1 n for measuring the delay time the transmission of the second communication device 1 2 to n-th communication device Measurement completion confirming unit 11 that receives the delay time measurement end notification transmitted from 1 n and sends a count-up request
3, a counting unit 114 that performs a counting process in response to a count-up request from the measurement completion confirmation unit 113, and a counting unit 114.
And a device number sorting unit 115 for designating the next communication device whose delay time is to be measured based on the counting result.

【0024】一方、第2の通信装置12 は、自局の基準
時刻を保持する装置内基準時計121と、第1の通信装
置11 からの計測開始要求を受信し、遅延時間の測定の
可否を判定する計測開始要求確認部122と、第1の通
信装置11 に対して、予め設定された測定回数(m回:
mは任意の正数)だけ遅延時間を測定するための測定用
データを送信する計測開始送出部123と、第1の通信
装置11 から返信された測定用データの折り返しの遅延
時間を測定し、m個の遅延時間を算出する遅延時間測定
部124と、算出した遅延時間が予め設定された測定変
動誤差範囲内にあるか否かを判定する測定結果比較部1
25と、算出したm個の遅延時間のうち、測定結果比較
部125によって測定変動誤差範囲内にあると判定され
た複数の遅延時間の平均値を算出する平均化処理部12
6と、遅延時間の測定が終了したら第1の通信装置11
に対して測定終了通知を送信する計測終了送信部127
とによって構成される。
On the other hand, the second communication device 1 2, the device reference clocks 121 to hold the reference time of its own station, receives the measurement start request from the first communication device 1 1, a delay time measurement The measurement start request confirmation unit 122 for judging whether the measurement is possible and the first communication device 11 are set to a preset number of measurements (m:
m measures the arbitrary positive number) by a measurement start sending unit 123 which transmits the measurement data to measure the delay time, the delay time of the return of the measurement data sent back from the first communication apparatus 1 1 , A delay time measurement unit 124 that calculates m delay times, and a measurement result comparison unit 1 that determines whether the calculated delay time is within a predetermined measurement variation error range.
25, and an averaging processing unit 12 that calculates an average value of a plurality of delay times determined to be within the measurement variation error range by the measurement result comparison unit 125 among the calculated m delay times.
6 and when the measurement of the delay time is completed, the first communication device 11 1
Measurement end transmission unit 127 that transmits a measurement end notification to
It is constituted by and.

【0025】このような構成において、次に基準時刻を
有する第1の通信装置とその他の各通信装置との間の遅
延時間の測定手順について、図2及び図3を参照して説
明する。
Next, a procedure for measuring the delay time between the first communication device having the reference time and the other communication devices in such a configuration will be described with reference to FIGS.

【0026】図3は本発明の伝送路網の時刻同期方式の
遅延時間測定手順を示す図である。
FIG. 3 is a diagram showing a delay time measuring procedure of the time synchronization system of the transmission line network according to the present invention.

【0027】まず、第1の通信装置11 の計測開始要求
部111は、不図示の基準時計から入力される基準時刻
ref を受信し、装置番号振り分け部115が指定する
通信装置である第2の通信装置12 に対して、基準時刻
ref 及び遅延時間の測定開始要求を送出する。
[0027] First, the first communication apparatus 1 1 for measurement start request section 111 is a communication device which receives the reference time T ref input from the reference clock (not shown), specifying the unit number sorting unit 115 A request to start measuring the reference time Tref and the delay time is sent to the second communication device 12.

【0028】第1の通信装置11 から送出される基準時
刻Tref 及び測定開始要求を受信した第2の通信装置1
2 の測定開始要求確認部122は、自局と第1の通信装
置1 1 との間の遅延時間の測定開始要求であることを確
認する。
First communication device 11Reference time sent from
Time TrefAnd the second communication device 1 that has received the measurement start request
TwoThe measurement start request confirmation unit 122 of the
Place 1 1Request to start measuring the delay time between
Admit.

【0029】測定開始要求を確認した第2の通信装置1
2 は、測定開始送出部123によって遅延時間を測定す
るための測定用データを第1の通信装置11 に対して送
信する。
The second communication device 1 that has confirmed the measurement start request
2 transmits the measurement data to measure the delay time by the measurement start sending section 123 to the first communication apparatus 1 1.

【0030】ここで、第1の通信装置11 から送出され
る測定開始要求は伝送路2が1本であるため、全ての通
信装置に対して送出される。したがって、各通信装置は
自局と第1の通信装置11 との間の遅延時間の測定開始
要求であることを確認する必要がある。また、測定開始
要求を確認することのできない他の通信装置は測定用デ
ータを第1の通信装置11 に対して送信することがな
い。よって、ここでは第2の通信装置12 のみが応答す
る。
[0030] Here, since the first measurement start request sent from the communication device 1 1 is the transmission line 2 is one, is sent to all communication devices. Thus, each communication device needs to verify that the delay time of the measurement start request between the communication device 1 1 of the own station and the first. Further, there is no transmitting the measurement data to another communication device that can not be confirmed measurement start request to the first communication apparatus 1 1. Therefore, only the second communication device 1 2 responds here.

【0031】遅延時間を測定するための測定用データを
受信した第1の通信装置11 は、測定用折り返し部11
2によって受信した測定用データを第2の通信装置12
に対してそのまま返信する。
The first communication device 1 1 receives the measurement data to measure the delay time measuring folded portion 11
2 transmits the measurement data received by the second communication device 1 2
Reply directly to

【0032】測定用データが返信された第2の通信装置
2 は、遅延時間測定部124によって測定用データの
折り返しの遅延時間を測定し、遅延時間を算出する。こ
こで、遅延時間測定部124は第2の通信装置12 が所
有する装置内基準時計121の時刻を用いて折り返しの
遅延時間を測定する。また、測定用データは中継装置等
を含まない往路と同じ伝送路2(光ファイバ)を伝わっ
て返信されるため、往路と復路の遅延時間差がほとんど
発生しない。このため、遅延時間は測定された折り返し
の遅延時間の1/2で算出することができる。
The second communication device 1 2 measurement data is returned measures the delay time of the return of the measurement data by the delay time measuring unit 124, calculates the delay time. Here, the delay time measuring unit 124 measures the return delay time using the time of the internal reference clock 121 owned by the second communication device 12. In addition, since the measurement data is returned via the same transmission path 2 (optical fiber) as the outgoing path that does not include the relay device or the like, a delay time difference between the outgoing path and the return path hardly occurs. Therefore, the delay time can be calculated as で of the measured return delay time.

【0033】計測開始送出部123及び遅延時間測定部
124は、予め設定された回数(m回)だけ同様の処理
を行い、m個の折り返しの遅延時間のデータを取得し、
それぞれの折り返しの遅延時間のデータからm個の遅延
時間を算出する。
The measurement start sending unit 123 and the delay time measuring unit 124 perform the same processing a predetermined number of times (m times) to obtain m pieces of data of the return delay times,
The m delay times are calculated from the data of the delay times of each return.

【0034】次に、第2の通信装置12 の測定結果比較
部125は、算出されたm個の遅延時間のデータについ
て、それぞれ、予め設定された測定変動誤差範囲内にあ
るか否かを確認する。測定変動誤差範囲はシステムの特
性に合わせて最適に設定される値であり、遅延時間の変
動範囲が、後述する遅延時間の平均値を求めるためのデ
ータとしてどの程度まで許容されるかを示している。
Next, the second communication device 1 2 of the measurement result comparison unit 125, the calculated m pieces of delay time data, respectively, whether within a preset measured variation error range Confirm. The measurement variation error range is a value that is optimally set according to the characteristics of the system, and indicates to what extent the variation range of the delay time is allowed as data for calculating the average value of the delay time described later. I have.

【0035】測定結果比較部125で測定変動誤差範囲
内であると判定された遅延時間のデータは平均化処理部
126に送信される。また、測定変動誤差範囲外と判定
された遅延時間のデータは破棄される。なお、測定変動
誤差範囲外と判定される遅延時間のデータが頻繁に得ら
れる場合は、装置の異常と判定し、自局の通信機能を制
御する不図示の制御装置に対してその旨を通知する。ま
た第1の通信装置11に対しては計測終了送信部127
を介して遅延時間の測定終了を通知する。
The delay time data determined by the measurement result comparing section 125 to be within the range of the measurement variation error is transmitted to the averaging section 126. Further, the data of the delay time determined to be out of the measurement fluctuation error range is discarded. If the delay time data that is determined to be out of the measurement fluctuation error range is frequently obtained, it is determined that the device is abnormal and a control device (not shown) that controls the communication function of the own station is notified of the fact. I do. The measurement end first to the communication device 1 1 transmission section 127
Notify the end of the delay time measurement via.

【0036】平均化処理部126は送られてきた複数の
遅延時間のデータの平均値を算出し、第2の通信装置1
2 までの遅延時間Tabとして装置内基準時計121の
時刻を補正する。時刻の補正方法には、第1の通信装置
から送信された基準時刻Tre f と遅延時間Tabを加算
し、装置内基準時計121の時刻を加算した時刻(T
ref +Tab)に書き換える方法等がある。
The averaging unit 126 receives a plurality of
The average value of the data of the delay time is calculated, and the second communication device 1
TwoOf the internal reference clock 121 as the delay time Tab until
Correct the time. The time correction method includes a first communication device
Reference time T transmitted fromre fAnd delay time Tab
Then, the time obtained by adding the time of the internal reference clock 121 (T
ref+ Tab).

【0037】一方、全ての遅延時間のデータついて測定
変動誤差範囲内にあるか否かを確認した測定結果比較部
125は、計測終了送信部127に対して遅延時間の測
定の終了を通知し、計測終了送信部127は第1の通信
装置11 に対して測定終了通知を送信する。
On the other hand, the measurement result comparison unit 125, which has confirmed whether or not all the delay time data is within the measurement variation error range, notifies the measurement end transmission unit 127 of the end of the delay time measurement. The measurement end transmitting unit 127 transmits a measurement end notification to the first communication device 11.

【0038】測定終了通知を受信した第1の通信装置1
1 の測定完了確認部113は計数部114に対してカウ
ントアップの要求を行い、計数部114はその要求に基
づいて計数処理を行う。そして、装置番号振り分け部1
15は計数部114の計数結果を基に、遅延時間を測定
する次の通信装置を指定する。
The first communication device 1 that has received the measurement end notification
The first measurement completion confirmation unit 113 requests the counting unit 114 to count up, and the counting unit 114 performs a counting process based on the request. Then, the device number distribution unit 1
Reference numeral 15 designates the next communication device to measure the delay time based on the counting result of the counting unit 114.

【0039】同様にして、第3の通信装置13 は遅延時
間Tacを、また、第n−1の通信装置1n-1 は遅延時
間Tan−1、第nの通信装置1n は遅延時間Tanを
それぞれ算出し、算出した遅延時間から装置内基準時計
の時刻を補正することにより自局の時刻を基準時刻に同
期させる。
[0039] Similarly, the third communication device 1 3 delay time Tac, The communication device 1 n-1 of the n-1 delay time Tan-1, the communication apparatus 1 n n-th delay time Tan is calculated, and the time of the own station is synchronized with the reference time by correcting the time of the internal reference clock from the calculated delay time.

【0040】ここで、第2の通信装置12 〜第nの通信
装置1n は、基準時刻Tref が入力される第1の通信装
置11 との間で遅延時間を直接測定することができるた
め、第2の通信装置12 〜第nの通信装置1n のうち、
任意の通信装置で故障が発生しても、故障が発生してい
ないその他の通信装置の時刻同期はそのまま維持され
る。したがって、信頼性の高い伝送路網の時刻同期方式
を得ることができる。
[0040] Here, the communication apparatus 1 n of the second communication device 1 2 to n-th, that the reference time T ref is directly measures the delay time between the first communication apparatus 1 1 input possible because, in the communication apparatus 1 n of the second communication device 1 2 to the n,
Even if a failure occurs in any communication device, the time synchronization of other communication devices in which no failure has occurred is maintained as it is. Therefore, it is possible to obtain a highly reliable time synchronization method for a transmission line network.

【0041】また、得られた複数の遅延時間の平均値を
用いて時刻を補正するため、第2の通信装置12 〜第n
の通信装置1n は、自局の時刻を基準時刻に安定して同
期させることができる。
Further, for correcting the time using the average value of a plurality of delay times obtained, the second communication device 1 2 to n-th
The communication device 1n can stably synchronize its own time with the reference time.

【0042】ところで、本発明では、伝送路2に光ファ
イバを用いているため、遅延時間を最小限にすることが
できる。また、第1の通信装置11 と第2の通信装置1
2 〜第nの通信装置1n との折り返しの遅延時間を測定
する際には、その往路及び復路で要する遅延時間の差が
ほとんどないため、最小限の誤差で時刻の補正に必要な
遅延時間を算出することができる。
In the present invention, since an optical fiber is used for the transmission line 2, the delay time can be minimized. Also, the first communication device 11 and the second communication device 1
When measuring the return delay time from the second to the n-th communication device 1 n , there is almost no difference in the delay time required for the forward path and the return path, so the delay time required for time correction with a minimum error Can be calculated.

【0043】なお、本実施の形態では基準時刻Tref
第1の通信装置11 に入力される場合で説明している
が、第1の通信装置11 に基準時刻Tref を発生する基
準時計を備えていてもよい。
[0043] The reference in this embodiment has been described in the case where the reference time T ref is input to the first communication device 1 1, which generates a reference time T ref to the first communication apparatus 1 1 A clock may be provided.

【0044】[0044]

【発明の効果】本発明は以上説明したように構成されて
いるので、以下に記載する効果を奏する。
Since the present invention is configured as described above, the following effects can be obtained.

【0045】請求項1に記載のものにおいては、複数の
通信装置のうち、任意の通信装置で故障が発生しても、
故障が発生していないその他の通信装置の時刻の同期に
影響することがないため、信頼性の高い時刻同期方式を
得ることができる。
According to the first aspect of the present invention, even if a failure occurs in any of the plurality of communication devices,
Since it does not affect the time synchronization of other communication devices in which no failure has occurred, a highly reliable time synchronization method can be obtained.

【0046】また、算出した複数の遅延時間の平均値で
装置内基準時計の時刻を補正するため、装置内基準時計
の時刻が安定して基準時刻に同期する。請求項2に記載
のものにおいては、伝送路に光ファイバを用いること
で、第1の通信装置と複数の通信装置との間のデータの
往復に要する時間を測定する際、その往路及び復路で要
する時間の差がほとんどないため、最小限の誤差で遅延
時間を算出することができる。
Further, since the time of the internal reference clock is corrected by the calculated average value of the plurality of delay times, the time of the internal reference clock is stabilized and synchronized with the reference time. According to the second aspect, by using an optical fiber for the transmission path, when measuring the time required for data round-trip between the first communication device and the plurality of communication devices, the forward and return paths are measured. Since there is almost no difference in the required time, the delay time can be calculated with a minimum error.

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

【図1】本発明の伝送路網の時刻同期方式を採用した伝
送路網の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a transmission line network employing a time synchronization method of the transmission line network of the present invention.

【図2】図1に示した通信装置の構成を示すブロック図
である。
FIG. 2 is a block diagram showing a configuration of the communication device shown in FIG.

【図3】本発明の伝送路網の時刻同期方式の遅延時間測
定手順を示す図である。
FIG. 3 is a diagram showing a delay time measuring procedure of the time synchronization method of the transmission line network according to the present invention.

【図4】従来の伝送路網の時刻同期方式を採用した伝送
路網の構成を示すブロック図である。
FIG. 4 is a block diagram showing a configuration of a transmission line network adopting a conventional transmission line network time synchronization method.

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

1 第1の通信装置 12 第2の通信装置 13 第3の通信装置 1n-1 第n−1の通信装置 1n 第nの通信装置 111 計測開始要求部 112 計測用折り返し部 113 計測完了確認部 114 計数部 115 装置番号振り分け部 121 装置内基準時計 122 計測開始要求確認部 123 計測開始送出部 124 遅延時間測定部 125 測定結果比較部 126 平均化処理部 127 計測終了送信部DESCRIPTION OF SYMBOLS 1 1 1st communication apparatus 1 2 2nd communication apparatus 1 3 3rd communication apparatus 1 n- 1th n-1th communication apparatus 1 nth nth communication apparatus 111 Measurement start request part 112 Measurement return part 113 Measurement completion confirmation unit 114 Counting unit 115 Device number distribution unit 121 In-apparatus reference clock 122 Measurement start request confirmation unit 123 Measurement start transmission unit 124 Delay time measurement unit 125 Measurement result comparison unit 126 Averaging processing unit 127 Measurement completion transmission unit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 伝送路網の基準時刻を備えた第1の通信
装置と、前記第1の通信装置との間のデータ伝送に要す
る時間である遅延時間を求め、前記遅延時間を用いて自
局が有する時刻の補正を行って前記基準時刻に同期させ
る複数の通信装置とを有する伝送路網の時刻同期方式に
おいて、 前記第1の通信装置は、 前記複数の通信装置から送信される、前記遅延時間を測
定するための測定用データを返信する計測用折り返し部
を備え、 前記複数の通信装置は、 前記第1の通信装置に対して前記測定用データを所定の
回数だけ送信する計測用開始送出部と、 前記第1の通信装置から返信された前記測定用データの
往復に要した時間を測定し、前記所定の回数だけ、前記
往復に要した時間から前記遅延時間を算出する遅延時間
測定部と、 前記所定の回数だけ算出した前記遅延時間が、それぞれ
所定の範囲内にあるか否かを判定する測定結果比較部
と、 前記所定の回数だけ算出した前記遅延時間のうち、前記
測定結果比較部で所定の範囲内にあると判定した複数の
前記遅延時間の平均値を求める平均化処理部と、 前記遅延時間の平均値で時刻が補正される装置内基準時
計と、をそれぞれ備え、 前記第1の通信装置及び前記複数の通信装置は双方向に
データ伝送可能な伝送路によってそれぞれ並列に接続さ
れていることを特徴とする伝送路網の時刻同期方式。
1. A delay time which is a time required for data transmission between a first communication device having a reference time of a transmission path network and the first communication device is determined, and the delay time is determined by using the delay time. In a time synchronization method of a transmission line network having a plurality of communication devices that perform time correction of a station and synchronize with the reference time, the first communication device is transmitted from the plurality of communication devices, A measurement return unit that returns measurement data for measuring a delay time, wherein the plurality of communication devices are configured to transmit the measurement data to the first communication device a predetermined number of times; A transmission unit, a delay time measurement for measuring a time required for reciprocation of the measurement data returned from the first communication device, and calculating the delay time from the time required for the reciprocation for the predetermined number of times; Part and the predetermined A measurement result comparison unit that determines whether each of the delay times calculated by the number of times is within a predetermined range, and among the delay times calculated by the predetermined number of times, a predetermined number of times by the measurement result comparison unit. An averaging processing unit that calculates an average value of the plurality of delay times determined to be within the range; and an in-device reference clock whose time is corrected by the average value of the delay times. A time synchronization method for a transmission line network, wherein the device and the plurality of communication devices are connected in parallel by a transmission line capable of bidirectional data transmission.
【請求項2】 請求項1に記載の伝送路網の時刻同期方
式において、 前記伝送路に光ファイバを用いることを特徴とする伝送
路網の時刻同期方式。
2. The time synchronization method for a transmission line network according to claim 1, wherein an optical fiber is used for the transmission line.
JP29517596A 1996-11-07 1996-11-07 Time synchronization system of transmission network Pending JPH10142361A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29517596A JPH10142361A (en) 1996-11-07 1996-11-07 Time synchronization system of transmission network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29517596A JPH10142361A (en) 1996-11-07 1996-11-07 Time synchronization system of transmission network

Publications (1)

Publication Number Publication Date
JPH10142361A true JPH10142361A (en) 1998-05-29

Family

ID=17817207

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29517596A Pending JPH10142361A (en) 1996-11-07 1996-11-07 Time synchronization system of transmission network

Country Status (1)

Country Link
JP (1) JPH10142361A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001318178A (en) * 2000-05-09 2001-11-16 Atsumi Electric Co Ltd Method of time setting for system wherein master device is connected to slave device through packet circuit network having unstable transmission route
JP2003510895A (en) * 1999-09-17 2003-03-18 ローベルト ボツシユ ゲゼルシヤフト ミツト ベシユレンクテル ハフツング Method for receiving a wireless signal via a wireless channel
US6577647B1 (en) 1998-07-06 2003-06-10 Nec Corporation Synchronization system and method, and recording medium
WO2008123272A1 (en) 2007-03-28 2008-10-16 Kabushiki Kaisha Yaskawa Denki Communication device, synchronized communication system, and synchronized communication method
JP2009077207A (en) * 2007-09-21 2009-04-09 Nippon Telegr & Teleph Corp <Ntt> Client device and synchronization system
JP2018533266A (en) * 2015-09-10 2018-11-08 ブルー ダニューブ システムズ, インク.Blue Danube Systems, Inc. Serial interconnect calibration
JP2019535182A (en) * 2016-09-29 2019-12-05 ブルー ダニューブ システムズ, インク.Blue Danube Systems, Inc. Distribution of coherent signals to long-range serial interconnects
JP2020020768A (en) * 2018-08-03 2020-02-06 日本電信電話株式会社 Time synchronization system and time synchronization method
JP2021036634A (en) * 2019-08-30 2021-03-04 沖電気工業株式会社 Propagation delay time estimating device and program, as well as echo canceler, echo canceling program and echo canceling method

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6577647B1 (en) 1998-07-06 2003-06-10 Nec Corporation Synchronization system and method, and recording medium
JP4705296B2 (en) * 1999-09-17 2011-06-22 ローベルト ボツシユ ゲゼルシヤフト ミツト ベシユレンクテル ハフツング Method for receiving a radio signal via a radio channel
JP2003510895A (en) * 1999-09-17 2003-03-18 ローベルト ボツシユ ゲゼルシヤフト ミツト ベシユレンクテル ハフツング Method for receiving a wireless signal via a wireless channel
JP2001318178A (en) * 2000-05-09 2001-11-16 Atsumi Electric Co Ltd Method of time setting for system wherein master device is connected to slave device through packet circuit network having unstable transmission route
JP4760978B2 (en) * 2007-03-28 2011-08-31 株式会社安川電機 Communication device, synchronous communication system, and synchronous communication method
WO2008123272A1 (en) 2007-03-28 2008-10-16 Kabushiki Kaisha Yaskawa Denki Communication device, synchronized communication system, and synchronized communication method
US8223804B2 (en) 2007-03-28 2012-07-17 Kabushiki Kaisha Yaskawa Denki Synchronized communication system
KR101410625B1 (en) * 2007-03-28 2014-06-20 가부시키가이샤 야스카와덴키 Communication device, synchronized communication system, and synchronized communication method
JP2009077207A (en) * 2007-09-21 2009-04-09 Nippon Telegr & Teleph Corp <Ntt> Client device and synchronization system
JP2018533266A (en) * 2015-09-10 2018-11-08 ブルー ダニューブ システムズ, インク.Blue Danube Systems, Inc. Serial interconnect calibration
JP2019535182A (en) * 2016-09-29 2019-12-05 ブルー ダニューブ システムズ, インク.Blue Danube Systems, Inc. Distribution of coherent signals to long-range serial interconnects
JP2020020768A (en) * 2018-08-03 2020-02-06 日本電信電話株式会社 Time synchronization system and time synchronization method
WO2020026817A1 (en) * 2018-08-03 2020-02-06 日本電信電話株式会社 Time synchronization system and time synchronization method
JP2021036634A (en) * 2019-08-30 2021-03-04 沖電気工業株式会社 Propagation delay time estimating device and program, as well as echo canceler, echo canceling program and echo canceling method

Similar Documents

Publication Publication Date Title
US5245634A (en) Base-site synchronization in a communication system
JP5377663B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND TIME SYNCHRONIZATION METHOD
US8126333B2 (en) Optical transmission system and synchronization method using time reference pulse
CN105933085B (en) The method for measuring asymmetric fiber loop chain circuit transmission time delay
KR101290643B1 (en) Method and system for bearing time synchronization protocol in optical transport network
JPH10509294A (en) System with predetermined timing relationship between data input and output, and transmitter and receiver of such system
US20070223537A1 (en) Method of and apparatus for determining relative time alignment
JP6058713B2 (en) Time synchronization method and time synchronization apparatus
WO2013014531A2 (en) Techniques for detecting optical faults in passive optical networks
CN110784783B (en) Clock synchronization method and device based on optical fiber network
KR20110081911A (en) Link band estimating apparatus
WO2013143385A1 (en) Calculating time offset
JP6227888B2 (en) Communication system, synchronization system, and communication method
JP6834642B2 (en) Time correction method
JPH10142361A (en) Time synchronization system of transmission network
JP2007529163A (en) Network node
JPH0715421A (en) Clock synchronizing device in communication network
JP6823568B2 (en) Time management device, reference time management system, and reference time management method
JP2010147806A (en) Delay measurement method and communication device
US9906356B2 (en) Timer synchronizing system in loop communication channel
US11445341B2 (en) Dynamic weighing device
JP2011071869A (en) Clock synchronizing method and packet communication system
US20230231641A1 (en) Link profiling for asymmetric delay compensation
JPH07250127A (en) Transmission timing adjustment device
US20150244455A1 (en) Calculating time offset