JP2000304883A - Time synchronization method - Google Patents

Time synchronization method

Info

Publication number
JP2000304883A
JP2000304883A JP11772099A JP11772099A JP2000304883A JP 2000304883 A JP2000304883 A JP 2000304883A JP 11772099 A JP11772099 A JP 11772099A JP 11772099 A JP11772099 A JP 11772099A JP 2000304883 A JP2000304883 A JP 2000304883A
Authority
JP
Japan
Prior art keywords
time
data
propagation delay
delay time
receiving device
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.)
Withdrawn
Application number
JP11772099A
Other languages
Japanese (ja)
Inventor
Shinya Sato
信也 佐藤
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 Engineering Ltd
Original Assignee
NEC Engineering Ltd
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 Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP11772099A priority Critical patent/JP2000304883A/en
Publication of JP2000304883A publication Critical patent/JP2000304883A/en
Withdrawn legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To realize a time synchronization method capable of accurately synchronizing time of plural time reception devices as slave stations with time of a time transmission device as a master station, accurately synchronizing the time among the time reception devices, and immediately synchronizing time of an added time reception device. SOLUTION: In this synchronization method, a transmission prohibition/ permission selection part 303 for time data and a sampling clock is provided in a time transmission device and controlled such that the transmission prohibition/permission selection part 303 has a transmission prohibition state in the case that a data propagation delay time is not yet measured, and that the transmission prohibition/permission selection part 303 has a permission state only when the measurement of the data propagation delay time is completed and transmission of the sampling clock and the time data corrected by a delay time adjustment part 304 is possible. Thereby, the previously corrected time data can be transmitted to an added time reception device, and not only time synchronization among plural existing time reception devices but also time synchronization between the added time reception device and the existing time reception devices can be immediately executed.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、時刻同期方式に関
し、特に、従局としての複数台の時刻受信装置の時刻を
主局としての時刻送出装置に正確に同期させることがで
きるとともに、時刻受信装置との間の時刻も正確に同期
させることができる情報処理機器の時刻同期方式に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a time synchronizing system, and more particularly to a time synchronizing system which can accurately synchronize the times of a plurality of time receiving devices as slave stations with a time transmitting device as a master station. The present invention relates to a time synchronization method for an information processing device that can accurately synchronize the time between the information processing device and the information processing device.

【0002】[0002]

【従来の技術】この種の時刻同期方式の一例として、特
開平10−285140号公報に記載されている時刻同
期方式を図12に示す。
2. Description of the Related Art FIG. 12 shows a time synchronization system disclosed in Japanese Patent Application Laid-Open No. 10-285140 as an example of this type of time synchronization system.

【0003】主局(時刻送出装置)1は、基準クロック
信号S1を発生させる高精度発振器11と、高精度発振
器11からの基準クロック信号S1に基づいて基準時刻
信号S2を出力する時計12と、時計12から出力され
た基準時刻信号S2を、後述するように主局1と従局2
との間のデータ伝搬遅延時間Tに基づいて補正し、補正
時刻信号S3として出力する時刻信号補正回路13とを
備える。
The master station (time transmitting device) 1 includes a high-precision oscillator 11 for generating a reference clock signal S1, a clock 12 for outputting a reference time signal S2 based on the reference clock signal S1 from the high-precision oscillator 11, The reference time signal S2 output from the clock 12 is transmitted to the master station 1 and the slave station 2 as described later.
And a time signal correction circuit 13 that corrects the correction based on the data propagation delay time T and outputs the corrected time signal S3.

【0004】さらに、主局1は、主局1から従局2への
データ伝搬遅延時間Tを計測するための基準信号として
のトリガ信号S4を出力するトリガ信号発生器14と、
基準クロック信号S1、補正時刻信号S3及びトリガ信
号S4を直接拡散変調して送信アンテナ16aから送信
する直接拡散送信機15と、従局2から折り返されてき
たトリガ信号S4を受信アンテナ16bで受信して直接
拡散復調する直接拡散受信機17と、主局1と従局2と
の間のデータ伝搬遅延時間Tを算出する遅延時間算出器
18とを備える。
The master station 1 further includes a trigger signal generator 14 for outputting a trigger signal S4 as a reference signal for measuring a data propagation delay time T from the master station 1 to the slave station 2,
The direct spread transmitter 15 that directly spreads and modulates the reference clock signal S1, the corrected time signal S3, and the trigger signal S4 and transmits the spread signal from the transmitting antenna 16a, and the trigger signal S4 returned from the slave station 2 is received by the receiving antenna 16b. It includes a direct spread receiver 17 for performing direct spread demodulation and a delay time calculator 18 for calculating a data propagation delay time T between the master station 1 and the slave station 2.

【0005】一方、従局(時刻受信装置)2は、主局1
から送られてくる基準クロック信号S1、補正時刻信号
S3及びトリガ信号S4を受信アンテナ21bで受信し
て直接拡散復調する直接拡散受信機22と、受信した補
正時刻信号S3及び基準クロック信号S1に基づいて時
刻を計時する時計23と、受信したトリガ信号S4を直
接拡散変調して送信アンテナ21aから主局1へ返送す
る直接拡散送信機24とを備える。
On the other hand, the slave station (time receiving device) 2 is
From the reference clock signal S1, the correction time signal S3, and the trigger signal S4 received by the receiving antenna 21b for direct spread demodulation, and the received correction time signal S3 and reference clock signal S1. Clock 23, and a direct spread transmitter 24 that directly spread modulates the received trigger signal S4 and returns it from the transmitting antenna 21a to the main station 1.

【0006】次に、前記時刻同期方式の動作について説
明する。
Next, the operation of the time synchronization method will be described.

【0007】まず、主局1側では、同期を取る時刻をカ
ウントする際の基準となる基準クロック信号S1を高精
度発振器11によって発生させており、時計12はその
基準クロック信号S1に基づいて現在時刻をカウント
し、基準時刻信号S2を生成して時刻信号補正回路13
へ出力する。
First, on the master station 1 side, a high-precision oscillator 11 generates a reference clock signal S1 which is used as a reference when counting the time to synchronize, and a clock 12 is controlled based on the reference clock signal S1. The time is counted, the reference time signal S2 is generated, and the time signal correction circuit 13
Output to

【0008】時刻信号補正回路13は、時計12から送
られてくる基準時刻信号S2について、後述するように
遅延時間算出器18が算出したデータ伝搬遅延時間Tだ
けその時刻を進める補正を行った後、補正時刻信号S3
として直接拡散送信機15へ出力する。
The time signal correction circuit 13 corrects the reference time signal S2 sent from the clock 12 by advancing the time by the data propagation delay time T calculated by the delay time calculator 18 as described later. , Correction time signal S3
And outputs it to the spreading transmitter 15 directly.

【0009】また、トリガ信号発生器14は、基準クロ
ック信号S1に基づいて作成したトリガ信号S4を直接
拡散送信機15へ出力し、高精度発振器11からの基準
クロック信号S1、補正時刻信号S3及びトリガ信号S
4を送信アンテナ16aから従局2側へ送信する。
The trigger signal generator 14 outputs a trigger signal S4 generated based on the reference clock signal S1 directly to the spread transmitter 15, and outputs the reference clock signal S1, the correction time signal S3, Trigger signal S
4 is transmitted from the transmitting antenna 16a to the slave station 2 side.

【0010】従局2では、主局1からの基準クロック信
号S1、補正時刻信号S3及びトリガ信号S4の送信信
号を受信アンテナ21bを介して直接拡散受信機22で
受信し、トリガ信号S4を直接拡散送信機24から送信
アンテナ21aを介して主局1へ返信する。
In the slave station 2, the reference clock signal S1, the corrected time signal S3, and the trigger signal S4 from the master station 1 are received by the direct spread receiver 22 via the receiving antenna 21b, and the trigger signal S4 is directly spread. A reply is sent from the transmitter 24 to the master station 1 via the transmission antenna 21a.

【0011】また、主局1では、従局2から送り返され
てきたトリガ信号S4を受信アンテナ16bを介して直
接拡散受信機17で受信し、遅延時間算出器18へ入力
する。遅延時間算出器18は、このトリガ信号S4に基
づき主局1と従局2間の距離に応じたデータ伝搬遅延時
間Tを計算し、このデータ伝搬遅延時間Tだけ予め時刻
を進めるよう時刻信号補正回路13に指示する。
[0011] In the master station 1, the trigger signal S 4 sent back from the slave station 2 is directly received by the spreading receiver 17 via the receiving antenna 16 b and input to the delay time calculator 18. The delay time calculator 18 calculates a data propagation delay time T according to the distance between the master station 1 and the slave station 2 based on the trigger signal S4, and a time signal correction circuit to advance the time by the data propagation delay time T in advance. Instruct 13.

【0012】時刻信号補正回路13では、時計12から
入力する基準時刻信号S2を前記データ伝搬遅延時間T
だけ進めて補正時刻信号S3とし、従局2側へ送信す
る。このため、主局1と従局2との間の距離が変化して
も、主局1と従局2との間の時刻同期を常に迅速かつ高
精度に取ることができる。
The time signal correction circuit 13 converts the reference time signal S2 input from the clock 12 into the data propagation delay time T
Then, a correction time signal S3 is transmitted to the slave station 2 side. Therefore, even if the distance between the master station 1 and the slave station 2 changes, the time synchronization between the master station 1 and the slave station 2 can always be quickly and accurately performed.

【0013】[0013]

【発明が解決しようとする課題】しかしながら、前記従
来方式では次のような問題がある。
However, the conventional method has the following problems.

【0014】まず第1に、前記従来方式の場合には、主
局1の電源が投入されて立ち上がった後、主局1と従局
2との設置距離に応じた時間、従局2へ補正された時刻
データが送出されず、同期を取れない期間が存在する。
First, in the case of the conventional method, after the power of the master station 1 is turned on after being turned on, the time is corrected to the slave station 2 for a time corresponding to the installation distance between the master station 1 and the slave station 2. There is a period during which time data is not transmitted and synchronization is not achieved.

【0015】すなわち、主局1の時刻送信部12、1
3、15、及び基準クロック信号S1を無効にして送信
禁止状態にするための手段をハードウェア的にも、プロ
グラム的にも有しないため、主局1の電源が投入されて
立ち上がった直後においては、主局1は従局2との間の
データ伝搬遅延時間Tを計測するためのトリガ信号S4
を送出するのと同じタイミングで時刻データも従局2へ
送出してしまう。
That is, the time transmitting units 12 and 1 of the main station 1
Since there is neither hardware nor a program for disabling the transmission disable state by disabling the reference clock signal S1, the reference clock signal S1, and the reference clock signal S1, immediately after the main station 1 is powered on and started up, , Master station 1 has a trigger signal S4 for measuring data propagation delay time T with slave station 2.
Is transmitted to the slave station 2 at the same timing as the transmission of the slave station.

【0016】一方、主局1から従局2を経由して再び主
局1へ戻ってくるトリガ信号S4は、主局1と従局2と
の設置距離が遠い程、戻ってくるまでに時間がかかるた
め、このトリガ信号に基づいてデータ伝搬遅延時間Tを
計測し、その時間分だけ時刻を補正して同期をとった後
の補正時刻信号S3を従局2へ送出する前に、補正し直
す前の時刻データを、最低でも数回、設置距離が遠い場
合には数十回程度にわたり従局2へ送出してしまうこと
があり、この間は主局1と従局2との間の時刻同期を取
ることができない。
On the other hand, the trigger signal S4 returning from the master station 1 to the master station 1 again via the slave station 2 takes a longer time to return as the installation distance between the master station 1 and the slave station 2 increases. Therefore, the data propagation delay time T is measured based on the trigger signal, and the corrected time signal S3 after correcting the time and synchronizing the time by that time is transmitted to the slave station 2 before being corrected again. The time data may be transmitted to the slave station 2 at least several times, or several tens of times when the installation distance is long, and during this time, the time synchronization between the master station 1 and the slave station 2 may not be synchronized. Can not.

【0017】また、従局2が複数台存在する場合におい
ても、各々のデータ伝搬遅延時間Tを計測して時刻補正
時間が決定するまでには前述したと同様の問題があり、
その間は、主局と従局との間だけでなく各従局間の時刻
同期を取ることもできない。
Even when there are a plurality of slave stations 2, the same problem as described above occurs until the time correction time is determined by measuring each data propagation delay time T.
During this time, not only the master station and the slave stations but also time synchronization between the slave stations cannot be obtained.

【0018】さらに、従局2を増設した場合において
も、増設した従局2のデータ伝搬遅延時間Tを計測して
時刻データ補正時間が決定するまでは、この増設従局
と、既に主局1と接続されて時刻同期を行なっている既
設従局2との間の時刻同期を取ることができない。
Further, even when the slave station 2 is added, the additional slave station is already connected to the master station 1 until the data propagation delay time T of the added slave station 2 is measured and the time data correction time is determined. Therefore, time synchronization with the existing slave station 2 which is performing time synchronization cannot be performed.

【0019】第2に、前記従来方式の場合には、主局1
は従局2が接続しているか否かにかかわらず、絶えずト
リガ信号発生器14によりトリガ信号S4を送出しなく
てはならない。
Second, in the case of the conventional system, the main station 1
Must constantly send the trigger signal S4 by the trigger signal generator 14 regardless of whether the slave station 2 is connected or not.

【0020】すなわち、主局1は従局2が接続されたこ
とを検出する手段を備えていないため、トリガ信号S4
を常に送出していない限り、データ伝搬遅延時間Tを計
測し、時刻データの補正を実施するタイミングを見つけ
出すことができないためである。
That is, since the master station 1 has no means for detecting that the slave station 2 is connected, the trigger signal S4
Is not transmitted, it is not possible to measure the data propagation delay time T and find the timing for correcting the time data.

【0021】そこで、本発明は、上記問題に鑑みてなさ
れたものであって、従局としての複数台の時刻受信装置
の時刻を主局としての時刻送出装置に正確に同期させる
ことができるとともに、時刻受信装置間の時刻も正確に
同期させることができ、さらに増設した時刻受信装置も
直ちに時刻同期させることができるようにした時刻同期
方式を提供することを目的とするものである。
Therefore, the present invention has been made in view of the above problems, and can accurately synchronize the times of a plurality of time receiving apparatuses as slave stations with a time transmitting apparatus as a master station. It is an object of the present invention to provide a time synchronization method in which the time between time receiving apparatuses can be accurately synchronized, and the time of an added time receiving apparatus can be immediately synchronized.

【0022】[0022]

【課題を解決するための手段】上記目的を達成するた
め、請求項1記載の発明は、常時時刻データを送出する
主局としての時刻送出装置と、該時刻送出装置に通信回
線を通じて接続された従局としての1つまたは複数台の
時刻受信装置とを備え、前記時刻送出装置から送出され
る時刻データを取り込むことによって自局の時計を時刻
送出装置に同期させる時刻同期方式であって、前記各時
刻受信装置に、電源投入時に電源投入通知を時刻送出装
置へ報告する手段と、時刻送出装置から返送されてきた
時刻送出装置と時刻受信装置との間のデータ伝搬遅延時
間計測用信号をループバックする手段とを備えるととも
に、前記時刻送出装置に、各時刻受信装置に対応させ
て、該時刻送出装置と時刻受信装置との間のデータ伝搬
遅延時間の計測を開始させる手段と、遅延時間を計測す
る手段と、計測した結果を保存する手段と、時刻受信装
置から送られてくる電源投入通知信号をデータ伝搬遅延
時間計測用信号として再度時刻受信装置のループバック
手段へ送出する手段と、時刻受信装置よりループバック
されたデータ伝搬遅延時間計測用信号により時刻送出装
置と当該時刻受信装置間のデータ伝搬遅延時間を計測す
る手段と、各時刻受信装置のデータ伝搬遅延時間の計測
結果を比較して、最もデータ伝搬遅延時間が大きい時刻
受信装置に他の時刻受信装置のデータ伝搬遅延時間を一
致させるように補正するディレイ時間調整手段とを備え
たことを特徴とするものである。
In order to achieve the above object, according to the first aspect of the present invention, there is provided a time transmitting device as a master station for constantly transmitting time data, and the time transmitting device is connected to the time transmitting device through a communication line. A time synchronization system for synchronizing the clock of the own station with the time transmission device by taking in time data transmitted from the time transmission device, comprising one or more time reception devices as slave stations; Means for reporting a power-on notification to the time transmitting device when power is supplied to the time receiving device, and looping back a signal for measuring a data propagation delay time between the time transmitting device and the time receiving device returned from the time transmitting device. Means for starting the measurement of the data propagation delay time between the time sending device and the time receiving device in association with each time receiving device. Means for measuring the delay time, means for storing the measurement result, and a loop-back means for the time receiving device again using the power-on notification signal sent from the time receiving device as a data propagation delay time measuring signal. Means for measuring the data propagation delay time between the time transmitting apparatus and the time receiving apparatus using the data propagation delay time measurement signal looped back from the time receiving apparatus, and the data propagation delay of each time receiving apparatus. A time receiving device that compares the time measurement results and has the largest data propagation delay time, and a delay time adjusting unit that corrects the data propagation delay time of the other time receiving devices so as to match the data propagation delay time. Things.

【0023】請求項2記載の発明は、請求項1記載の時
刻同期方式において、前記時刻送出装置に、時刻送出装
置と時刻受信装置間のデータ伝搬遅延時間の計測が未実
施である時は、時刻データ及びその時刻データ取り込み
用のサンプリングクロックの送出を禁止し、データ伝搬
遅延時間の計測完了後に送出を許可する手段を設けたこ
とを特徴とするものである。
According to a second aspect of the present invention, in the time synchronization system according to the first aspect, when the measurement of the data propagation delay time between the time transmitting device and the time receiving device has not been performed, Means is provided in which transmission of time data and a sampling clock for capturing the time data is prohibited, and transmission is permitted after the completion of measurement of the data propagation delay time.

【0024】そして、請求項1記載の発明によれば、時
刻送出装置から各時刻受信装置へ送出される時刻データ
及びサンプリングクロックは、送出される前にデータ伝
搬遅延時間を計測され、最遠の時刻受信装置へ到達する
までに要する時間分だけ補正される。このため、既設の
複数台の時刻受信装置間は勿論のこと、増設された時刻
受信装置に対して送出される時刻データ及びサンプリン
グクロックも1回目から既設の時刻受信装置に同期させ
ることができる。従って、既設の複数台の時刻受信装置
間は勿論のこと、増設した時刻受信装置を時刻同期状態
で稼働している他の他時刻受信装置に直ちに時刻同期さ
せることができる。
According to the first aspect of the invention, the time data and the sampling clock sent from the time sending device to each time receiving device are measured for the data propagation delay time before being sent, and The time is corrected by the time required to reach the time receiving device. For this reason, the time data and the sampling clock transmitted to the additional time receiving devices as well as the plurality of existing time receiving devices can be synchronized with the existing time receiving devices from the first time. Therefore, it is possible to immediately synchronize the time of the added time receiving device as well as the other time receiving devices operating in the time synchronized state, as well as between the existing plurality of time receiving devices.

【0025】また、請求項2記載の発明によれば、時刻
受信装置の電源投入に連動して、その時刻受信装置に到
達するまでに要する遅延時間計測回路の開始及び停止制
御を行う。このため、時刻送出装置は時刻受信装置が接
続されているか否かを全く意識することなく、時刻送出
装置と時刻受信装置間のデータ伝搬遅延時間を計測する
ことができる。
According to the second aspect of the present invention, the start and stop of the delay time measuring circuit required to reach the time receiving device are controlled in conjunction with the turning on of the time receiving device. Therefore, the time sending device can measure the data propagation delay time between the time sending device and the time receiving device without being conscious of whether or not the time receiving device is connected.

【0026】[0026]

【発明の実施の形態】次に、本発明にかかる時刻同期方
式の実施の形態の具体例を図面を参照しながら説明す
る。
Next, a specific example of an embodiment of a time synchronization system according to the present invention will be described with reference to the drawings.

【0027】まず、図1を参照して、本発明にかかる時
刻同期方式の一実施例における時刻送出装置と各時刻受
信装置との間の接続状態について説明する。
First, with reference to FIG. 1, a description will be given of a connection state between a time transmitting device and each time receiving device in one embodiment of the time synchronization method according to the present invention.

【0028】主局としての時刻送出装置101には、有
線または無線の通信回線によって、従局としてのn台の
時刻受信装置1021〜102nが接続される。時刻送出
装置101から各時刻受信装置1021〜102nに対し
ては、時刻データ105と、各時刻受信装置が時刻を取
り込む際に使用するサンプリングクロック106が送出
され、また、各時刻受信装置1021〜102nから時刻
送出装置101に対しては、時刻データを伝送するため
に要する時間を計測するデータ伝搬遅延時間計測用信号
107が送出される。
The time transmitting apparatus 101 as the master station is connected to n time receiving apparatuses 102 1 to 102 n as slave stations by a wired or wireless communication line. Time data 105 and a sampling clock 106 used when each time receiving device captures the time are transmitted from the time transmitting device 101 to each of the time receiving devices 102 1 to 102 n . From 1 to 102 n, a data propagation delay time measurement signal 107 for measuring the time required to transmit the time data is transmitted to the time transmission device 101.

【0029】図2に、前記時刻送出装置101と時刻受
信装置1021〜102n に設置される遅延時間の計測
のための回路構成例を示す。
FIG. 2 shows an example of a circuit configuration for measuring the delay time installed in the time transmitting device 101 and the time receiving devices 102 1 to 102 n .

【0030】図示するように、時刻送出装置101に
は、データ伝搬遅延時間Tを計測するためのカウント歩
進に使用する周波発振器201が設けられているととも
に、各時刻受信装置1021〜102nに対応して、各遅
延時間計測回路1031〜103nが設けられている。
As shown in the figure, the time sending device 101 is provided with a frequency oscillator 201 used for counting increment for measuring a data propagation delay time T, and each of the time receiving devices 102 1 to 102 n. , Delay time measuring circuits 103 1 to 103 n are provided.

【0031】各々の遅延時間計測回路1031〜103n
は、データ伝搬遅延時間Tの計測の開始及び停止を行う
データ遅延時間計測開始/停止部202と、データ伝搬
遅延時間の計測結果に基づきデータ送出を遅延させる処
理を行うCPU(中央演算処理部)203と、時刻送出
装置101と対応する時刻受信装置1021〜102n
のデータ伝搬遅延時間Tを計測するためのデータ遅延時
間計測部204と、計測結果を保存しておく計測値保存
部205と、時刻送出装置101から対応する時刻受信
装置1021〜102nへ信号を送出するための送信部2
07と、対応する時刻受信装置1021〜102nからの
信号を受信するための受信部206、208とを備えて
いる。
Each of the delay time measuring circuits 103 1 to 103 n
Is a data delay time measurement start / stop unit 202 for starting and stopping the measurement of the data propagation delay time T, and a CPU (central processing unit) for performing a process of delaying data transmission based on the measurement result of the data propagation delay time. 203, a data delay time measurement unit 204 for measuring a data propagation delay time T between the time reception devices 102 1 to 102 n corresponding to the time transmission device 101, and a measurement value storage unit 205 for storing the measurement results And a transmitting unit 2 for transmitting a signal from the time transmitting device 101 to the corresponding time receiving devices 102 1 to 102 n .
07, and receiving units 206 and 208 for receiving signals from the corresponding time receiving devices 102 1 to 102 n .

【0032】また、各々の時刻受信装置1021〜10
nは、時刻送出装置101へ信号を送出するための送
信部209、211と、時刻送出装置101からの信号
を受信するための受信部210と、自局の電源投入時に
時刻送出装置101へ電源投入の報告を行う電源投入通
知部212とを備えている。
Further, each of the time receiving devices 102 1 to 102 1 to 10
2 n includes transmitting units 209 and 211 for transmitting signals to the time transmitting device 101, a receiving unit 210 for receiving a signal from the time transmitting device 101, and the time transmitting device 101 when the power of the own station is turned on. A power-on notification unit 212 for reporting power-on.

【0033】今、記時刻送出装置101の電源が投入さ
れると、各遅延時間計測回路103 1〜103nのデータ
遅延時間計測部204及び計測値保存部205は初期化
され、出力がともに無効状態となる。
Now, the power of the time transmission device 101 is turned on.
Then, each delay time measuring circuit 103 1~ 103ndata from
The delay time measurement unit 204 and the measured value storage unit 205 are initialized
And both outputs become invalid.

【0034】データ遅延時間計測部204は、最初、デ
ータ遅延時間計測開始/停止部202からの停止指示に
よりカウント動作を停止しているため、データ伝搬遅延
時間Tの計測を行なわない。そして、例えば、時刻受信
装置1021の電源が投入されると、時刻受信装置10
1の電源投入通知部212から時刻送出装置101に
対して電源投入通知が、送信部211及び受信部208
を経由して報告され、この電源投入通知信号はデータ遅
延時間計測開始/停止部202へ送られる。
The data delay time measuring section 204 does not measure the data propagation delay time T because the counting operation is first stopped by the stop instruction from the data delay time measuring start / stop section 202. Then, for example, when the power of the time receiving device 102 1 is turned on, the time receiving device 102 1
2 1 Powering notifies the time the delivery device 101 from power notification unit 212, transmission unit 211 and the receiver 208
The power-on notification signal is sent to the data delay time measurement start / stop unit 202.

【0035】データ遅延時間計測開始/停止部202
は、送られてきた電源投入通知信号により、データ遅延
時間計測部204へ計測開始の指示を発行する。計測開
始指示を受け取ったデータ遅延時間計測部204は、デ
ータ伝搬遅延時間Tの計測を開始する。また、時刻受信
装置1021より送られてきた前記電源投入通知信号
は、遅延時間計測回路1031の送信部207から、時
刻受信装置の受信部210及び送信部209を経由して
再び遅延時間計測回路1031のデータ受信部206に
ループバックされ、データ遅延時間計測開始/停止部2
02に到達する。
Data delay time measurement start / stop unit 202
Issues a measurement start instruction to the data delay time measurement unit 204 in response to the transmitted power-on notification signal. Upon receiving the measurement start instruction, the data delay time measurement unit 204 starts measuring the data propagation delay time T. The power-on notification signal transmitted from the time receiving device 102 1 is transmitted from the transmitting unit 207 of the delay time measuring circuit 103 1 to the delay time measuring device 210 and the transmitting unit 209 of the time receiving device again. It is looped back to the data receiving unit 206 of the circuit 103 1, data delay time measurement start / stop 2
Reach 02.

【0036】データ遅延時間計測開始/停止部202
は、ループバックされてきた信号を受けて、データ遅延
時間計測部204へ計測停止の指示を発行するととも
に、CPU203へ報告する。計測停止指示を受け取っ
たデータ遅延時間計測部204は、データ伝搬遅延時間
Tの計測を停止させ、計測されたデータ伝搬遅延時間T
を計測値保存部205に格納記憶する。
Data delay time measurement start / stop unit 202
Receives the looped-back signal, issues an instruction to stop measurement to the data delay time measuring unit 204, and reports the instruction to the CPU 203. Upon receiving the measurement stop instruction, the data delay time measuring unit 204 stops measuring the data propagation delay time T, and
Is stored in the measured value storage unit 205.

【0037】そして、報告を受けたCPU203は、計
測値保存部205に格納記憶された内容を読み出すこと
により、時刻送出装置101と時刻受信装置1021
のデータ伝搬遅延時間Tを知ることができる。また、図
示するように、各時刻受信装置1021〜102nに対応
して遅延時間計測回路1031〜103nを設けることに
より、時刻送出装置101と各時刻受信装置1021
102nとの間のデータ伝搬遅延時間Tを各々個別に計
測することができる。
Then, the CPU 203 that has received the report can know the data propagation delay time T between the time sending device 101 and the time receiving device 102 1 by reading the contents stored and stored in the measured value storage unit 205. . Also, as illustrated, by correspondingly providing the delay time measuring circuit 103 1 10 @ 2 to 10 @ 3 n each time the receiving apparatus 102 1 to 102 n, each time the receiving device and time delivery device 101 102 1 -
102 n can be individually measured.

【0038】図3に、前記時刻送出装置101と時刻受
信装置1021〜102nに設置される遅延時間の生成の
ための回路構成例を示す。
FIG. 3 shows an example of a circuit configuration for generating a delay time installed in the time transmitting device 101 and the time receiving devices 102 1 to 102 n .

【0039】図示するように、時刻送出装置101に
は、時刻データ及びサンプリングクロックを生成して出
力する時刻発生部301が設けられているとともに、各
時刻受信装置1021〜102nに対応して、遅延時間生
成回路1041〜104nが設けられている。
As shown in the figure, the time transmitting apparatus 101 is provided with a time generating section 301 for generating and outputting time data and a sampling clock, and also corresponds to each of the time receiving apparatuses 102 1 to 102 n. , And delay time generation circuits 104 1 to 104 n are provided.

【0040】各々の遅延時間生成回路1041〜104n
は、時刻データ及びサンプリングクロックが対応する時
刻受信装置1021〜102nまで到達するのに要する時
間を遅らせるように調整するディレイ時間調整部302
a、302bと、時刻データ及びサンプリングクロック
を対応する時刻受信装置1021〜102nへ送出するの
を禁止したり許可したりすることを可能としている送出
禁止/許可選択部303と、時刻データ及びサンプリン
グクロックを時刻受信装置へ送出する送信部304a、
304bとを備えている。
Each of the delay time generation circuits 104 1 to 104 n
Is a delay time adjusting unit 302 that adjusts so as to delay the time required for the time data and the sampling clock to reach the corresponding time receiving devices 102 1 to 102 n.
a and 302b, a transmission prohibition / permission selecting section 303 for prohibiting or permitting transmission of the time data and the sampling clock to the corresponding time receiving devices 102 1 to 102 n , A transmitting unit 304a for transmitting the sampling clock to the time receiving device;
304b.

【0041】また、各々の時刻受信装置1021〜10
nには、対応する遅延時間生成回路1041〜104n
から送出された時刻データ及びサンプリングクロックを
受信する受信部305a、305bを備えている。
Each of the time receiving devices 102 1 to 102 1 to 10
2 n has corresponding delay time generation circuits 104 1 to 104 n
And receiving units 305a and 305b for receiving the time data and the sampling clock transmitted from the.

【0042】今、前記時刻送出装置101の電源が投入
されると、各遅延時間生成回路1041〜104nの送出
禁止/許可選択部303は初期化され、送出禁止状態と
なるため、送信部304からは時刻データ及びサンプリ
ングクロックが時刻受信装置1021〜102nへ送出さ
れない。
Now, when the power of the time transmitting device 101 is turned on, the transmission prohibition / permission selection unit 303 of each of the delay time generation circuits 104 1 to 104 n is initialized and becomes a transmission prohibition state. From 304, the time data and the sampling clock are not sent to the time receiving devices 102 1 to 102 n .

【0043】しかし、前記図2において説明したように
データ伝搬遅延時間Tが計測され、ディレイ時間調整部
302a、302bにおいて時刻データ及びサンプリン
グクロックを対応する時刻受信装置に到達するに要する
時間分だけ遅らせるように調整を終了した時点で、送出
禁止/許可選択部303はモードを送出禁止から許可状
態に変わり、送信部305a、305bを経由して対応
する時刻受信装置1021〜102nに時刻データとサン
プリングクロックの送出を開始する。
However, as described in FIG. 2, the data propagation delay time T is measured, and the delay time adjusting units 302a and 302b delay the time data and the sampling clock by the time required to reach the corresponding time receiving device. When the adjustment is completed as described above, the transmission prohibition / permission selection unit 303 changes the mode from transmission prohibition to the permission state, and transmits the time data to the corresponding time receiving devices 102 1 to 102 n via the transmission units 305a and 305b. Start sending the sampling clock.

【0044】受信部305a、305bによって自局に
対応する時刻データとサンプリングクロックを受信した
各時刻受信装置1021〜102nは、この時刻データに
自局の時刻を合わせるように調整する。このようにし
て、各時刻受信装置1021〜102nの時刻を時刻送出
装置101の時刻に正確に同期させることができ、同時
に各時刻受信装置1021〜102n間の時刻同期も取る
ことができる。
Each of the time receiving apparatuses 102 1 to 102 n receiving the time data and the sampling clock corresponding to the own station by the receiving units 305 a and 305 b adjusts the time of the own station to the time data. In this way, the time of each time receiving device 102 1 to 102 n can be accurately synchronized with the time of the time transmitting device 101, and at the same time, the time synchronization between each time receiving device 102 1 to 102 n can be obtained. it can.

【0045】次に、前記実施例における遅延時間の計測
の具体的手法について、図4の遅延時間計測回路の具体
的な回路例、図6の遅延時間の計測のタイミングチャー
トを参照にして説明する。
Next, a specific method of measuring the delay time in the above embodiment will be described with reference to a specific circuit example of the delay time measuring circuit in FIG. 4 and a timing chart of the measurement of the delay time in FIG. .

【0046】尚、以下の説明においては、複数台の時刻
受信装置1021〜102nを代表して、一番目の時刻受
信装置1021についてその動作を説明するが、他の時
刻受信装置1022〜102nも同様に動作するものであ
る。また、時刻送出装置101と時刻受信装置1021
〜102nの電源投入の順序については、時刻データを
送出する側の時刻送出装置101が先で、時刻データを
取り込む時刻受信装置1021〜102n側は後となる。
In the following description, the operation of the first time receiving device 102 1 will be described on behalf of the plurality of time receiving devices 102 1 to 102 n , but other time receiving devices 102 2 will be described. -102 n operate similarly. Further, the time sending device 101 and the time receiving device 102 1
To 102 for the order of n power-on, at time delivery apparatus 101 in which sends time data earlier, the time reception apparatus 102 1 to 102 n-side capturing time data becomes later.

【0047】まず最初に、時刻送信装置101の電源が
投入されると、パワーオン・リセット回路402は、信
号S1を一定時間低電位Lに保った後、高電位Hに変化
する(図6の参照番号701)。このため、遅延時間計
測用カウンタ404及び計測値保存用入力レジスタ40
6にマスタリセットがかかり、初期化される(図6の参
照番号702)。
First, when the power source of the time transmitting apparatus 101 is turned on, the power-on reset circuit 402 keeps the signal S1 at the low potential L for a certain period of time and then changes to the high potential H (FIG. 6). Reference number 701). Therefore, the delay time measurement counter 404 and the measured value storage input register 40
6 is reset and initialized (reference numeral 702 in FIG. 6).

【0048】また、レシーバ410は、内部で高電位H
にプルアップされているため、出力端で反転された信号
S2は低電位Lとなり、レシーバ408も同様であるた
め、NOTゲート407を経由した信号S4は高電位H
となり、遅延時間の計測の開始/停止を指示するAND
ゲート405の出力信号S5は、低電位Lとなる(図6
の参照番号703)。
The receiver 410 has a high potential H internally.
, The signal S2 inverted at the output terminal has the low potential L, and the receiver 408 has the same configuration. Therefore, the signal S4 via the NOT gate 407 has the high potential H.
And an instruction to start / stop delay time measurement
The output signal S5 of the gate 405 becomes low potential L (FIG. 6).
703).

【0049】従って、遅延時間計測用のカウンタ404
はカウントを停止したままの状態となる。この状態で、
時刻受信装置1021の電源を投入すると、パワーオン
・リセット回路415は、信号S14が一定時間低電位
Lを保った後、高電位Hに変化する(図6の参照番号7
04)。
Therefore, the counter 404 for measuring the delay time is used.
Is in a state where counting is stopped. In this state,
When the power of the time receiving apparatus 102 1 is turned on, the power-on reset circuit 415 changes the signal S14 to the high potential H after maintaining the low potential L for a certain period of time (reference numeral 7 in FIG. 6).
04).

【0050】そして、ドライバ413とレシーバ410
を経由して、信号S2を低電位Lから高電位Hに変化さ
せるとともに(図6の参照番号705)、遅延時間の計
測の開始/停止を指示するANDゲート405の出力信
号S5は、信号S3により変化可能となるため、遅延時
間計測用のカウンタ404は信号S3の立ち下がりでカ
ウントを開始し、そのカウント数は入力レジスタ406
へ送られる(図6の参照番号706)。
Then, the driver 413 and the receiver 410
, The signal S2 is changed from the low potential L to the high potential H (reference numeral 705 in FIG. 6), and the output signal S5 of the AND gate 405 for instructing start / stop of the delay time measurement is changed to the signal S3. Therefore, the delay time measurement counter 404 starts counting at the falling edge of the signal S3.
(Reference numeral 706 in FIG. 6).

【0051】また、低電位Lから高電位Hに変化した信
号S2は、ドライバ409から時刻受信装置1021
レシーバ412へ通知され、ドライバ411を経由して
再び時刻送出装置101のレシーバ408へループバッ
クされる。そして、NOTゲート407により反転され
て信号S4が低電位Lとなり、遅延時間の計測の開始/
停止を指示するANDゲート405に入力される(図6
の参照番号707)。
The signal S2, which has changed from the low potential L to the high potential H, is notified from the driver 409 to the receiver 412 of the time receiving device 102 1 , and loops back to the receiver 408 of the time transmitting device 101 via the driver 411. Will be back. Then, the signal S4 is inverted by the NOT gate 407 and becomes the low potential L, and the measurement of the delay time is started /
The signal is input to the AND gate 405 for instructing stop (FIG. 6
707).

【0052】従って、遅延時間の計測の開始/停止を指
示するANDゲート405の信号S4が低電位Lとなる
ため、信号S5もL状態となり、遅延時間計測用のカウ
ンタ404はカウントを停止し(図6の参照番号70
8)、そのカウント値を入力レジスタ406に格納記憶
する。
Accordingly, since the signal S4 of the AND gate 405 for instructing start / stop of the measurement of the delay time is at the low potential L, the signal S5 is also in the L state, and the counter 404 for measuring the delay time stops counting ( Reference numeral 70 in FIG.
8) The count value is stored in the input register 406.

【0053】さらに、信号S4はCPU203(図3)
に割り込み要求信号として通知され、その割り込みを受
けたCPU203は入力レジスタ406に格納記憶され
ているカウント値を読み出すことにより、後述する遅延
時間生成処理によって、時刻送出装置101と時刻受信
装置1021間のデータ伝搬遅延時間Tを得ることがで
きる。
Further, the signal S4 is supplied to the CPU 203 (FIG. 3).
The CPU 203 that has received the interrupt reads the count value stored in the input register 406, and performs a delay time generation process described later to generate a signal between the time sending device 101 and the time receiving device 102 1. Can be obtained.

【0054】次に、前記実施の形態における遅延時間調
整の具体的手法について、図5の遅延時間生成回路の具
体的な回路例、図7(a)(b)のタイミングチャート
とデータ形式を示す図、図8の遅延時間生成処理のタイ
ミングチャート、図9のデータ伝搬遅延時間の算出処理
のフローチャートを参照して説明する。
Next, with respect to a specific method of delay time adjustment in the above embodiment, a specific circuit example of the delay time generation circuit of FIG. 5, a timing chart of FIGS. 7A and 7B and a data format will be shown. A description will be given with reference to FIG. 8, a timing chart of the delay time generation processing in FIG. 8, and a flowchart of the data propagation delay time calculation processing in FIG.

【0055】まず、時刻データのサンプリング方法につ
いて述べる。
First, a method of sampling time data will be described.

【0056】時刻送出装置101からの時刻データは1
秒毎に送出されている。その時刻データを時刻受信装置
1021がサンプリングするタイミングは、サンプリン
グクロックの同期パターンを検出することにより、25
6μsec毎に時刻データをサンプリングしていく(図
7(a)(b))。
The time data from the time sending device 101 is 1
It is sent out every second. The timing at which the time data is sampled by the time receiving device 102 1 is determined by detecting the synchronization pattern of the sampling clock.
Time data is sampled every 6 μsec (FIGS. 7A and 7B).

【0057】今、時刻送出装置101の電源が投入され
ると、パワーオン・リセット回路402(図4参照)か
ら送られてくるパワーオン・リセット信号S15によ
り、時刻発生部501及びディレイ時間選択用デコーダ
503が初期化される(図8の参照番号801)。
Now, when the power of the time sending device 101 is turned on, the time generating section 501 and the delay time selecting section are selected by the power-on reset signal S15 sent from the power-on reset circuit 402 (see FIG. 4). The decoder 503 is initialized (reference numeral 801 in FIG. 8).

【0058】時刻発生部501は、初期化後、時刻デー
タ及びサンプリングクロックをディレイ発生部502
a、502bへ送るとともに、ディレイ発生部502
a、502bは各出力端子より、各々遅延されたデータ
を送出禁止/許可用ANDゲート505a、505bへ
送る(図8の信号S22〜S29)。
After initialization, the time generator 501 converts the time data and the sampling clock to the delay generator 502.
a, 502b and a delay generator 502
A and 502b send the delayed data from the respective output terminals to the transmission inhibition / permission AND gates 505a and 505b (signals S22 to S29 in FIG. 8).

【0059】しかし、ディレイ時間選択用デコーダ50
3は、前記初期化によって出力が高電位Hとなってお
り、NOTゲート504により反転される(図8の信号
S18〜S21、S38)。従って、送出禁止/許可用
ANDデート505の出力が低電位Lとなり、時刻デー
タ及びサンプリングクロックは時刻受信装置1021
送出されない。
However, the delay time selection decoder 50
3 has a high potential H due to the initialization, and is inverted by the NOT gate 504 (signals S18 to S21 and S38 in FIG. 8). Therefore, the output of the transmission inhibit / permit AND date 505 becomes low potential L, and the time data and the sampling clock are not transmitted to the time receiving device 102 1 .

【0060】ところで、データ伝搬遅延時間Tの算出を
行うにあたり、CPU203(図3)は、前述したよう
に図4のデータ伝搬遅延時間計測用信号S4による割り
込みにより(図9のステップST1)、図4の入力レジ
スタ406のカウンタ値を読み出すが(図9のステップ
ST2)、この値は時刻送出装置101と時刻受信装置
1021を往復した値のため、これを1/2にした値を
時刻受信装置1021のデータ伝搬遅延時間Tとする。
In calculating the data propagation delay time T, the CPU 203 (FIG. 3) is interrupted by the data propagation delay time measurement signal S4 of FIG. 4 (step ST1 of FIG. 9) as described above. 4, the counter value of the input register 406 is read (step ST2 in FIG. 9). Since this value is a value that has reciprocated between the time sending device 101 and the time receiving device 102 1 , the value obtained by halving the value is received by the time receiving device. The data propagation delay time T of the device 102 1 is assumed.

【0061】そして、現在までデータ伝搬遅延時間の計
測が完了している他の時刻受信装置1022〜102n
比較し(図9のステップST3)、最もデータ伝搬遅延
時間Tの大きな時刻受信装置に合わせて遅らせるように
ディレイ時間選択用デコーダ503で調整した後(図9
ステップST4〜ST9)、ドライバ507から時刻受
信装置1021へ時刻データ及びサンプリングクロック
を送出する。
Then, a comparison is made with the other time receiving apparatuses 102 2 to 102 n for which the measurement of the data propagation delay time has been completed (step ST3 in FIG. 9), and the time receiving apparatus having the largest data propagation delay time T is obtained. 9 is adjusted by the delay time selection decoder 503 so as to be delayed according to
Step ST4~ST9), and sends the time data and the sampling clock from the driver 507 to the scheduled reception apparatus 102 1.

【0062】前記処理を複数台の時刻受信装置1021
〜102nについて実行する。この結果、各時刻受信装
置1021〜102nに送出される時刻データ及びサンプ
リングクロックは、時刻送出装置101から最も遠い距
離にある時刻受信装置に合わせるように時刻調整され
る。
The above processing is performed by a plurality of time receiving apparatuses 102 1
Perform for ~ 102 n . As a result, the time data and the sampling clock transmitted to each of the time receiving apparatuses 102 1 to 102 n are adjusted to match the time receiving apparatus furthest from the time transmitting apparatus 101.

【0063】従って、すべての時刻受信装置1021
102nが時刻送出装置101の時刻に同期すると同時
に、すべての時刻受信装置1021〜102nの間の時刻
も正確に同期された状態となる。
Therefore, all the time receiving apparatuses 102 1 to 102 1
102 n is synchronized with the time of the time sending device 101, and at the same time, the time between all the time receiving devices 102 1 to 102 n is also accurately synchronized.

【0064】次に、前記のようにして複数台の時刻受信
装置間で時刻同期運転を行っている状態において、さら
に時刻受信装置を1台増設(以後、これを時刻受信装置
102αとする)した場合におけるこれらの時刻受信装
置間の時刻同期方法について、具体的な数値を用いて説
明する。
Next, while the time synchronization operation is being performed between the plurality of time receiving devices as described above, one time receiving device is further added (hereinafter, this is referred to as the time receiving device 102α). The method of time synchronization between these time receiving devices in the case will be described using specific numerical values.

【0065】一例として、現在における時刻送出装置1
01から最遠の時刻受信装置(以後、これを時刻受信装
置102βとする)までのデータ伝搬遅延時間Tを48
0nsec、発振器401(図4)の発振周期を160
nsec、伝送ケーブル1m当たりのデータ伝搬遅延時
間を4nsec/m、時刻送出装置101と時刻受信装
置102α間のインタフェースケーブルの線長を60
m、また、ディレイ発生部502a、502b(図5)
の出力遅延時間を信号S22から信号S25、及び信号
S26から信号S29まで、80nsec刻みで遅延し
ていくものとする。
As an example, the current time sending device 1
The data propagation delay time T from 01 to the farthest time receiving device (hereinafter referred to as the time receiving device 102β) is 48
0 nsec, and the oscillation cycle of the oscillator 401 (FIG. 4) is 160
nsec, the data propagation delay time per meter of the transmission cable is 4 nsec / m, and the line length of the interface cable between the time transmitting device 101 and the time receiving device 102α is 60.
m, and delay generators 502a and 502b (FIG. 5)
Is delayed from the signal S22 to the signal S25 and from the signal S26 to the signal S29 in steps of 80 nsec.

【0066】増設した時刻受信装置102αの電源を投
入すると、図4の信号S2が高電位Hとなり、図4のカ
ウンタ404のカウント動作を開始させる。また、信号
S2は時刻受信装置102αを経由して再び時刻送出装
置101へループバックされ、図4のカウンタ404の
カウント動作を停止させる。
When the power of the added time receiving device 102α is turned on, the signal S2 in FIG. 4 becomes high potential H, and the counter 404 in FIG. 4 starts the counting operation. Further, the signal S2 is looped back to the time transmitting device 101 via the time receiving device 102α again, and stops the counting operation of the counter 404 in FIG.

【0067】その後、CPU203(図2)に割り込み
が通知され、図4の入力レジスタ406のカウント値を
読み出す。前記の条件下において入力レジスタ406の
カウント値を読み出したところ、カウント値=“3”で
あった。また、時刻受信装置102βのカウント値=
“6”であった。従って、増設した時刻受信装置102
αと、最遠の時刻受信装置102βとのカウント値の差
は6−3=3となり、80nsec×3=240nse
cの遅延時間差が発生していることになる。
Thereafter, an interrupt is notified to the CPU 203 (FIG. 2), and the count value of the input register 406 of FIG. 4 is read. When the count value of the input register 406 was read under the above conditions, the count value was "3". Also, the count value of the time receiving device 102β =
It was "6". Therefore, the added time receiving device 102
The difference between the count value of α and the count value of the farthest time receiving apparatus 102β is 6−3 = 3, and 80 nsec × 3 = 240 nsec.
This means that a delay time difference of c has occurred.

【0068】従って、増設した時刻受信装置αへ送出す
る時刻データとサンプリングクロックとを最遠の時刻受
信装置102βに合わせて240nsec間遅らせるこ
とで、時刻受信装置間の時刻同期を実現することができ
る。この場合、図5のデコーダ503の出力信号S20
のみを低電位Lにすることで、ディレイ発生部502
a、502bの出力信号S24及びS28が有効とな
り、240nsec遅延された時刻データとサンプリン
グクロックを増設した時刻受信装置αへ送出可能となる
(図8の信号S32、S34、S35)。
Therefore, the time synchronization between the time receiving devices can be realized by delaying the time data and the sampling clock to be transmitted to the added time receiving device α by 240 nsec in accordance with the farthest time receiving device 102β. . In this case, the output signal S20 of the decoder 503 in FIG.
By setting only the low potential L, the delay generator 502
The output signals S24 and S28 of the signals a and 502b become valid, and can be transmitted to the time receiving device α in which the time data delayed by 240 nsec and the sampling clock are added (the signals S32, S34, and S35 in FIG. 8).

【0069】反対に、増設した時刻受信装置102αが
最遠の時刻受信装置であった場合は、時刻受信装置10
2αに送出する時刻データ及びサンプリングクロック
は、デコーダ503の出力信号S38のみを低電位Lに
することで、送出禁止/許可用ANDゲート505a、
505bの信号S37、S40が有効となることで遅延
させず、他の時刻受信装置へ送出する時刻データ及びサ
ンプリングクロックを遅らせることにより、時刻受信装
置間の時刻同期を実現することができる。
On the other hand, if the added time receiving device 102α is the furthest time receiving device,
The time data and the sampling clock to be sent to 2α can be obtained by setting only the output signal S38 of the decoder 503 to the low potential L, thereby enabling the sending / prohibiting AND gate 505a,
The time synchronization between the time receiving devices can be realized by delaying the time data and the sampling clock to be transmitted to the other time receiving devices without delaying the signals S37 and S40 of the 505b to be valid.

【0070】3台の時刻受信装置1021〜1023を用
い、時刻送出装置101と各時刻受信装置1021〜1
023の間のインタフェースケーブル線長が、 時刻受信装置1021と時刻送出装置との間 → 30
m 時刻受信装置1022と時刻送出装置との間 → 60
m 時刻受信装置1023と時刻送出装置との間 → 10
0m の場合において、本発明の時刻同期方式を使用しなかっ
た場合と、使用した場合について、各々比較実験を行な
った。その結果を図10及び図11に示す。
[0070] using three times the receiving apparatus 102 1 to 102 3, each time the receiving device and time delivery device 101 102 1 to 1
02 Interface Cable length between 3, between times receiving apparatus 102 1 and the time delivery device → 30
m Between the time receiving device 102 2 and the time transmitting device → 60
m Between the time receiving device 102 3 and the time sending device → 10
In the case of 0 m, comparative experiments were performed for the case where the time synchronization method of the present invention was not used and the case where the time synchronization method was used. The results are shown in FIGS.

【0071】本発明の時刻同期方式を使用しなかった場
合には、図10に示すように、各時刻受信装置1021
〜1023毎に異なるデータ伝搬遅延が発生し、時刻受
信装置1021〜1023間の時刻同期を実現することが
できないが、本発明の時刻同期方式を使用した場合に
は、図11に示すように、最遠の時刻受信装置1023
に各時刻受信装置1021、1022の時刻データ及びサ
ンプリングクロックを遅らせて一致させることが可能と
なり、時刻受信装置間の時刻同期を実現することができ
る。
[0071] When not used the time synchronization method of the present invention, as shown in FIG. 10, each time the receiving apparatus 102 1
Data propagation delay occurs for different to 102 every 3, but can not achieve time synchronization between the time the receiving apparatus 102 1 to 102 3, when using the time synchronization method of the present invention, shown in FIG. 11 Thus, the farthest time receiving device 102 3
In this case, the time data and the sampling clock of each of the time receiving devices 102 1 and 102 2 can be delayed and made coincident with each other, and time synchronization between the time receiving devices can be realized.

【0072】[0072]

【発明の効果】請求項1記載の発明にかかる時刻同期方
式によれば、時刻送出装置から各時刻受信装置へ送出さ
れる時刻データ及びサンプリングクロックは送出される
前にデータ伝搬遅延時間を計測され、最遠の時刻受信装
置へ到達するまでに要する時間分だけ補正されるため、
既設の複数台の時刻受信装置間は勿論のこと、増設され
た時刻受信装置に対しても時刻データ及びサンプリング
クロック送出の1回目から時刻同期状態で稼働している
他の時刻受信装置に時刻同期させることが可能となる。
According to the time synchronization method according to the first aspect of the present invention, the time data and the sampling clock transmitted from the time transmitting device to each time receiving device are measured for the data propagation delay time before being transmitted. Is corrected by the time required to reach the farthest time receiving device,
The time synchronization with the other time receivers operating in the time synchronization state from the first transmission of the time data and the sampling clock is performed not only between the existing plurality of time receivers but also for the added time receiver. It is possible to do.

【0073】請求項2記載の発明によれば、時刻受信装
置の電源投入に連動して、その時刻受信装置に到達する
までに要する遅延時間の計測回路の開始及び停止制御を
行うため、時刻送出装置は時刻受信装置が接続されてい
るか否かを全く意識することなく、時刻送出装置と時刻
受信装置間のデータ伝搬遅延時間を計測することができ
る。
According to the second aspect of the present invention, the start and stop of the delay time measurement circuit required to reach the time receiving device are controlled in synchronization with the power-on of the time receiving device. The device can measure the data propagation delay time between the time sending device and the time receiving device without being conscious of whether or not the time receiving device is connected.

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

【図1】本発明にかかる時刻同期方式における時刻送出
装置と時刻受信装置間の接続状態図である。
FIG. 1 is a connection state diagram between a time sending device and a time receiving device in a time synchronization method according to the present invention.

【図2】本発明にかかる時刻同期方式における遅延時間
計測回路のブロック図である。
FIG. 2 is a block diagram of a delay time measuring circuit in the time synchronization method according to the present invention.

【図3】本発明にかかる時刻同期方式における遅延時間
生成回路のブロック図である。
FIG. 3 is a block diagram of a delay time generation circuit in the time synchronization method according to the present invention.

【図4】本発明にかかる時刻同期方式における遅延時間
計測回路の具体的な回路例を示す図である。
FIG. 4 is a diagram showing a specific circuit example of a delay time measuring circuit in the time synchronization method according to the present invention.

【図5】本発明にかかる時刻同期方式における遅延時間
生成回路の具体的な回路例を示す図である。
FIG. 5 is a diagram showing a specific circuit example of a delay time generation circuit in the time synchronization method according to the present invention.

【図6】本発明にかかる時刻同期方式における遅延時間
計測処理のタイミングチャートである。
FIG. 6 is a timing chart of a delay time measurement process in the time synchronization method according to the present invention.

【図7】(a)は、本発明における時刻データとサンプ
リングのタイミングチャート、(b)は送出する時刻デ
ータのデータ形式を示す図である。
7A is a timing chart of time data and sampling in the present invention, and FIG. 7B is a diagram showing a data format of time data to be transmitted.

【図8】本発明における遅延時間生成のタイミングチャ
ートである。
FIG. 8 is a timing chart of delay time generation in the present invention.

【図9】本発明における遅延時間の算出処理のフローチ
ャートである。
FIG. 9 is a flowchart of a delay time calculation process according to the present invention.

【図10】本発明にかかる時刻同期方式を適用しない場
合の各時刻受信装置の受信タイミングチャートである。
FIG. 10 is a reception timing chart of each time receiving apparatus when the time synchronization method according to the present invention is not applied.

【図11】本発明にかかる時刻同期方式を使用した場合
の各時刻受信装置の受信タイミングチャートである。
FIG. 11 is a reception timing chart of each time reception device when the time synchronization method according to the present invention is used.

【図12】従来の時刻同期方式の一例を示すブロック図
である。
FIG. 12 is a block diagram illustrating an example of a conventional time synchronization method.

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

101 時刻送出装置 1021〜102n 時刻受信装置 1031〜103n 遅延時間計測回路 1041〜104n 遅延時間生成回路 201 周波発振器 202 データ遅延時間計測開始/停止部 203 CPU 204 データ遅延時間計測部 205 計測値保存部 212 電源投入通知部 301 時刻発生部 302a、302b ディレイ時間調整部 303 時刻データとサンプリングクロックの送出禁止
/許可選択部 304a、304b 送信部 305a、305b 受信部 404 遅延時間計測用カウンタ 405 遅延時間計測の開始/停止指示用ANDゲート 406 計測値保存用入力レジスタ 407、504 NOTゲート 501 時刻データ発生部 502 ディレイ発生部 503 ディレイ時間選択用デコーダ 505 時刻データとサンプリングクロックの送出禁止
/許可用ANDゲート
Reference Signs List 101 time transmission device 102 1 to 102 n time reception device 103 1 to 103 n delay time measurement circuit 104 1 to 104 n delay time generation circuit 201 frequency oscillator 202 data delay time measurement start / stop unit 203 CPU 204 data delay time measurement unit 205 Measured value storage unit 212 Power-on notification unit 301 Time generation unit 302a, 302b Delay time adjustment unit 303 Time data and sampling clock transmission prohibition / permission selection unit 304a, 304b Transmission unit 305a, 305b Receiving unit 404 Delay time measurement counter 405 AND gate for instructing start / stop of delay time measurement 406 Input register for storing measured value 407, 504 NOT gate 501 Time data generator 502 Delay generator 503 Decoder for delay time selection 505 Time data and sampling Lock of sending enable / disable for the AND gate

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 常時時刻データを送出する主局としての
時刻送出装置と、該時刻送出装置に接続された従局とし
ての複数台の時刻受信装置とを備え、前記時刻送出装置
から送出される時刻データを取り込むことによって自局
の時計を時刻送出装置に同期させる時刻同期方式であっ
て、 前記各時刻受信装置に、 電源投入時に電源投入通知を時刻送出装置へ報告する手
段と、 時刻送出装置から返送されてきた時刻送出装置と時刻受
信装置との間のデータ伝搬遅延時間計測用信号をループ
バックする手段とを備えるとともに、 前記時刻送出装置には、各時刻受信装置に対応させて、 該時刻送出装置と時刻受信装置との間のデータ伝搬遅延
時間の計測を開始させる手段と、 データ伝搬遅延時間を計測する手段と、 計測した結果を保存する手段と、 時刻受信装置から送られてくる電源投入通知信号をデー
タ伝搬遅延時間計測用信号として再度時刻受信装置のル
ープバック手段へ送出する手段と、 時刻受信装置よりループバックされたデータ伝搬遅延時
間計測用信号により時刻送出装置と当該時刻受信装置と
の間のデータ伝搬遅延時間を計測する手段と、 各時刻受信装置のデータ伝搬遅延時間の計測結果を比較
して、最もデータ伝搬遅延時間が大きい時刻受信装置に
他の時刻受信装置のデータ伝搬遅延時間を一致させるよ
うに補正するディレイ時間調整手段とを備えたことを特
徴とする時刻同期方式。
1. A time transmitting device as a master station for constantly transmitting time data, and a plurality of time receiving devices as slave stations connected to the time transmitting device, wherein a time transmitted from the time transmitting device is provided. A time synchronization method for synchronizing a clock of the own station with a time sending device by taking in data, wherein a means for reporting a power-on notification to the time sending device when power is turned on to each of the time receiving devices; Means for looping back the signal for measuring the data propagation delay time returned between the time sending device and the time receiving device, and the time sending device is provided with a time corresponding to each time receiving device. Means for starting measurement of the data propagation delay time between the sending device and the time receiving device; means for measuring the data propagation delay time; means for storing the measurement result; Means for transmitting the power-on notification signal sent from the clock receiving device as a data propagation delay time measuring signal to the loop-back means of the time receiving device again, and a signal for measuring the data propagation delay time looped back from the time receiving device Means for measuring the data propagation delay time between the time sending device and the time receiving device, and comparing the measurement result of the data propagation delay time of each time receiving device with the time receiving device having the largest data propagation delay time And a delay time adjusting means for correcting the data propagation delay times of the other time receiving apparatuses so as to match each other.
【請求項2】 前記時刻送出装置に、時刻送出装置と時
刻受信装置との間のデータ伝搬遅延時間の計測が未実施
である時は、時刻データ及びその時刻データ取り込み用
のサンプリングクロックの送出を禁止し、データ伝搬遅
延時間の計測完了後に送出を許可する手段を設けたこと
を特徴とする請求項1記載の時刻同期方式。
2. When the data transmission delay time between the time transmitting device and the time receiving device has not been measured, the time transmitting device transmits time data and a sampling clock for capturing the time data. 2. The time synchronization system according to claim 1, further comprising means for prohibiting transmission after the completion of measurement of the data propagation delay time.
JP11772099A 1999-04-26 1999-04-26 Time synchronization method Withdrawn JP2000304883A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11772099A JP2000304883A (en) 1999-04-26 1999-04-26 Time synchronization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11772099A JP2000304883A (en) 1999-04-26 1999-04-26 Time synchronization method

Publications (1)

Publication Number Publication Date
JP2000304883A true JP2000304883A (en) 2000-11-02

Family

ID=14718633

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11772099A Withdrawn JP2000304883A (en) 1999-04-26 1999-04-26 Time synchronization method

Country Status (1)

Country Link
JP (1) JP2000304883A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006311571A (en) * 2005-04-29 2006-11-09 Tektronix Internatl Sales Gmbh Measurement system and synchronization method
JP2012191361A (en) * 2011-03-09 2012-10-04 Mitsubishi Electric Corp Synchronous control system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006311571A (en) * 2005-04-29 2006-11-09 Tektronix Internatl Sales Gmbh Measurement system and synchronization method
JP4718366B2 (en) * 2005-04-29 2011-07-06 テクトロニクス・インターナショナル・セールス・ゲーエムベーハー Measuring apparatus and synchronization method
JP2012191361A (en) * 2011-03-09 2012-10-04 Mitsubishi Electric Corp Synchronous control system

Similar Documents

Publication Publication Date Title
US8689035B2 (en) Communication system, communication interface, and synchronization method
JP2556254B2 (en) Burst transmission timing control method
JPH09331572A (en) Synchronization device between radio base stations
US8238850B2 (en) Radio communication method and equipment
US8179925B2 (en) Sink device for a wireless local area network
JP3982464B2 (en) Communication device
JP2005233678A (en) Radar device
US20040233936A1 (en) Apparatus for generating a control signal of a target beacon transmission time and method for the same
JPH118880A (en) Simultaneous data sending method and delay circuit for paging system
US7809973B2 (en) Spread spectrum clock for USB
JP2000304883A (en) Time synchronization method
US20230164725A1 (en) Synchronization correction method, master device and slave device
JP2897684B2 (en) Wireless transceiver
JPH07288516A (en) Serial data transmission reception circuit
JPH03503352A (en) wireless transceiver
KR100290133B1 (en) Auto RS232 / RS485 Communication Converter
JP3039497B2 (en) Clock extraction circuit, communication system, and transmission device
EP1921789B1 (en) Receiving apparatus for performing frequency synchronization using specific code pattern
JPS642304B2 (en)
US5648993A (en) Method and apparatus for synchronizing modem transmission by controlling a measured phase difference between an internal timing signal and a transmission timing signal
JP2766838B2 (en) Time data receiving device
US11463232B2 (en) System and method for generating time reference in duty-cycled wireless communications
JP2678172B2 (en) Time data receiving device and time adjusting device
US20220007317A1 (en) Electronic apparatus, electronic system, and method
JP2766837B2 (en) Time data transmission device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060704