JP2678172B2 - Time data receiving device and time adjusting device - Google Patents

Time data receiving device and time adjusting device

Info

Publication number
JP2678172B2
JP2678172B2 JP16029291A JP16029291A JP2678172B2 JP 2678172 B2 JP2678172 B2 JP 2678172B2 JP 16029291 A JP16029291 A JP 16029291A JP 16029291 A JP16029291 A JP 16029291A JP 2678172 B2 JP2678172 B2 JP 2678172B2
Authority
JP
Japan
Prior art keywords
time
time data
circuit
signal
clock
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP16029291A
Other languages
Japanese (ja)
Other versions
JPH0511075A (en
Inventor
中宣 森谷
正 赤塚
Original Assignee
株式会社精工舎
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 株式会社精工舎 filed Critical 株式会社精工舎
Priority to JP16029291A priority Critical patent/JP2678172B2/en
Publication of JPH0511075A publication Critical patent/JPH0511075A/en
Application granted granted Critical
Publication of JP2678172B2 publication Critical patent/JP2678172B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Electric Clocks (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、時刻データ受信装置お
よび時刻修正装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a time data receiving device and a time adjusting device.

【0002】[0002]

【従来の技術】従来より、例えば、各地の放送局におけ
る計時時刻をセンター装置の基準時刻に同期させるた
め、電話回線を通じて時刻データを送信して時刻修正を
行なう技術が提案されている。
2. Description of the Related Art Conventionally, for example, a technique has been proposed in which time data is transmitted through a telephone line to correct the time in order to synchronize the clock time of a broadcasting station in each place with the reference time of a center device.

【0003】[0003]

【発明が解決しようとする課題】上記従来の装置では、
ビットシリアルで送信される時刻データを受信側で受信
して正確なタイミングで時刻修正するとともに秒同期を
とる必要がある。そのためには、時刻データの他に秒同
期のためのクロック信号も送信しなければならず、その
ための回路構成が複雑になるとともにクロック信号のノ
イズ対策等が必要になる欠点がある。
In the above-mentioned conventional apparatus,
It is necessary to receive the time data transmitted in bit serial on the receiving side, correct the time at accurate timing, and synchronize the seconds. For this purpose, a clock signal for synchronizing seconds must be transmitted in addition to the time data, so that there are disadvantages that the circuit configuration therefor becomes complicated and that countermeasures against clock signal noise are required.

【0004】本発明は、同期用のクロック信号の送出が
不要で、かつ送信側と端末側の時刻を極めて正確に同期
させることのできる時刻データ受信装置および時刻修正
装置を提供することを目的としている。
[0004] The present invention aims to provide a time data receiving apparatus and a time adjustment device can be synchronized transmission of the clock signal for synchronization is not required, and the time of the transmission side and the terminal side very precisely I am trying.

【0005】[0005]

【課題を解決するための手段】本発明では、時刻データ
送信装置から、時刻データの送信終了を表す後端を第
のクロック信号に同期して送信される上記時刻データを
受信する受信部と、上記時刻データ送信装置から送信さ
れる上記時刻データの遅延時間を検出する検出手段と、
上記時刻データの送信終了を表す後端および上記遅延時
間とによって同期信号を生成する同期信号生成手段と、
第2のクロック信号を発生する基準信号回路と、上記第
2のクロック信号に基づいて時刻を計時する時計回路
と、上記同期信号生成手段からの上記同期信号によって
上記基準信号回路の上記第2のクロック信号を上記時刻
データ送信装置の上記第1のクロック信号に同期させる
とともに、上記時計回路の計時時刻を上記時刻データに
基づいて修正する時刻修正手段とを具備する時刻データ
受信装置を構成する。
According to the present invention, time data
From the transmitting device, the rear end indicating the end of transmission of the time data is first
The above time data transmitted in synchronization with the clock signal of
Received by the receiving unit and the time data transmitter.
Detecting means for detecting the delay time of the time data
At the rear end that indicates the end of transmission of the time data and at the time of the delay
A synchronization signal generating means for generating a synchronization signal according to
A reference signal circuit for generating a second clock signal;
Clock circuit that measures time based on the clock signal of 2
And the sync signal from the sync signal generating means
The second clock signal of the reference signal circuit is set to the time of day.
Synchronizing with the first clock signal of the data transmitter
At the same time, the time measured by the clock circuit is converted into the time data.
Time data including a time correction means for correcting based on
Configure a receiver.

【0006】また、時刻データ送信装置から送信される
時刻データを時刻データ受信装置で受信し、上記時刻デ
ータに基づいて上記時刻データ受信装置側の時刻を修正
する時刻修正装置において、上記時刻データ送信装置
は、第1のクロック信号を出力する第1の基準信号回路
と、この第1のクロック信号に基づいて時刻を計時する
第1の時計回路と、この第1の時計回路の時刻データを
出力する時刻データ出力回路と、この時刻データ出力回
路からの時刻データの送信終了を表す後端を上記基準信
号回路からの上記第1のクロック信号に同期させて出力
する同期手段とを具備し、上記時刻データ受信装置は、
上記時刻データ送信装置からの上記時刻データを受信す
る受信部と、上記時刻データ送信装置から送信される時
刻データの遅延時間を検出する検出手段と、上記時刻デ
ータの送信終了を表す後端および上記遅延時間とによっ
て同期信号を生成する同期信号生成手段と、第2のクロ
ック信号を発生する第2の基準信号回路と、この第2の
クロック信号に基づいて時刻を計時する時計回路と、上
記第2の基準信号回路からの第2のクロック信号を上記
データ送信装置における上記第1のクロック信号に同期
させるとともに上記第2の時計回路の計時時刻を上記時
刻データに基づいて修正する時刻修正手段とを具備する
時刻修正装置を構成する。
Further, it is transmitted from the time data transmitter.
The time data is received by the time data receiving device and
Correct the time on the time data receiving device side based on the data
In the time adjustment device, the time data transmission device
Is a first reference signal circuit that outputs a first clock signal.
And time based on this first clock signal
The first clock circuit and the time data of this first clock circuit
The time data output circuit to output and this time data output circuit
The end of the transmission indicating the end of time data transmission from the road
Output in synchronization with the first clock signal from the signal circuit
The time data receiving device, comprising:
Receives the time data from the time data transmitter
When the data is sent from the receiving unit and the time data sending device
Time delay data detection means and the time
The end of the transmission of the data and the delay time
Synchronization signal generating means for generating a synchronization signal by the second clock
And a second reference signal circuit for generating a clock signal
A clock circuit that measures the time based on the clock signal
The second clock signal from the second reference signal circuit is
Synchronized with the first clock signal in the data transmitter
And the time measured by the second clock circuit is set to the above time.
Time correction means for correcting the time based on the time data
Configure a time adjustment device.

【0007】以上の時刻データ受信装置および時刻修正
装置により上記課題を解決する。
The above time data receiving device and time correction
The device solves the above problems.

【0008】[0008]

【実施例】以下、本発明の一実施例を図面に基づいて説
明する。
An embodiment of the present invention will be described below with reference to the drawings.

【0009】図1は時刻修正装置全体のシステム構成を
示したものである。同図において、1は基準時刻を計時
する基準時計部、2はパソコン等のシステムコントロー
ラ、3a…3aは基準時刻データを送信するデータ送信
部であり、これらにより時刻データ送信装置3が構成さ
れる。4…4はそれぞれデータ受信部4aと時計部4b
とからなる時刻データ受信装置である。
FIG. 1 shows the system configuration of the entire time adjustment device. In FIG. 1, reference numeral 1 denotes a reference clock unit for measuring a reference time, reference numeral 2 denotes a system controller such as a personal computer, and reference numerals 3a to 3a denote data transmission units for transmitting reference time data. . 4 ... 4 are a data receiving unit 4a and a clock unit 4b, respectively.
And a time data receiving device.

【0010】図2は時刻データ送信装置3の内部構成を
示したものである。基準時計部1は、発振回路(図示せ
ず。)から1MHzと1Hzの同期したクロック信号が
供給され、1秒信号および通信用クロック信号を出力す
第1の基準信号回路5と、基準信号回路5からの1秒
信号に基づいて時刻を計時する第1の時計回路6と、時
計回路6の計時時刻を表示する時刻表示部7と、時計回
路6の計時時刻データを出力する時刻データ出力回路8
とで構成される。データ送信部3aは、時刻データ出力
回路8からの時刻データを受信する時刻データ入力回路
9と、時刻データ入力回路9で受信された時刻データの
通信制御を行なう通信制御回路10と、時刻データ通信
のタイミング信号を発生するタイミング回路11と、通
信制御回路10からの時刻データをタイミング回路11
からのタイミング信号に基づいてシリアル−パラレル変
換するシリアル通信回路12と、時刻データの送受信お
よびループバック路の形成を行なうループバック回路1
3と、電話回線に対するデータ送受信動作を制御するモ
デム回路14と、システムコントローラ2と接続するた
めのインターフェイス回路15とで構成される。
FIG. 2 shows the internal structure of the time data transmission device 3. Reference clock unit 1 includes an oscillation circuit (not shown.) Synchronized with the clock signal of 1MHz and 1Hz is supplied from a first reference signal circuit 5 for outputting a second signal and a communication clock signal, the reference signal circuit a first clock circuit 6 for measuring time on the basis of the second signal from the 5, a time display unit 7 for displaying the measured time of the clock circuit 6, the time data output circuit for outputting the measured time data of the clock circuit 6 8
It is composed of The data transmission unit 3a includes a time data input circuit 9 that receives the time data from the time data output circuit 8, a communication control circuit 10 that controls communication of the time data received by the time data input circuit 9, and a time data communication. Timing signal from the communication control circuit 10 and the timing circuit 11 for generating the timing signal of
A serial communication circuit 12 for performing serial-to-parallel conversion based on a timing signal from the device, and a loopback circuit 1 for transmitting / receiving time data and forming a loopback path.
3, a modem circuit 14 for controlling a data transmission / reception operation with respect to a telephone line, and an interface circuit 15 for connecting to the system controller 2.

【0011】図3は時刻データ受信装置4の内部構成を
示したものである。同図において、16は時刻データ受
信装置4の各部に必要な各種周波数のクロック信号を発
生する第2の基準信号回路、17は基準信号回路16か
らの1秒信号に基づいて時刻を計時する第2の時計回
路、18は時計回路17で計時されている時刻を表示す
る時刻表示部であり、これらによって時計部4bが構成
される。19は電話回線に対するデータ送受信動作を制
御するモデム回路、20は受信データのパラレル−シリ
アル変換を行なうシリアル通信回路、21は時刻データ
送信装置3と時刻データ受信装置4との間のデータ遅延
時間の計測および時刻修正を行なう時刻修正回路、22
は時刻データ受信装置4の通信動作および時刻修正動作
等の制御を行なう通信制御回路であり、これらによって
データ受信部4aが構成される。
FIG. 3 shows the internal structure of the time data receiving device 4. In the figure, 16 is a second reference signal circuit for generating clock signals of various frequencies necessary for each part of the time data receiving device 4, and 17 is a second reference signal circuit for timing the time based on the 1-second signal from the reference signal circuit 16 . The reference numeral 2 denotes a clock circuit, and a reference numeral 18 denotes a time display section for displaying the time measured by the clock circuit 17, which constitutes a clock section 4b. Reference numeral 19 is a modem circuit for controlling a data transmission / reception operation with respect to a telephone line, 20 is a serial communication circuit for performing parallel-serial conversion of received data, and 21 is a data delay time between the time data transmitting device 3 and the time data receiving device 4. A time correction circuit for measuring and correcting the time, 22
Is a communication control circuit that controls the communication operation and time adjustment operation of the time data receiving device 4, and these constitute a data receiving unit 4a.

【0012】つぎに、図4を参照しながら、時刻修正動
作の概略を説明する。時刻データ送信装置3および時刻
データ受信装置4はそれぞれ独立して時刻を計時してい
る。時刻修正の起動は時刻データ受信装置4側からの要
求にしたがって行なわれる。時刻データ受信装置4から
時刻データ送信装置3へ電話をかけ、回線が接続される
と時刻データ受信装置4からループ閉結信号を送出す
る。時刻データ送信装置3では上記ループ閉結信号を受
信すると、時刻データ受信装置4との間にループバック
路を形成する。つづいて時刻データ受信装置4から遅延
時間計測のための所定信号を送出し、この信号が時刻デ
ータ送信装置3から戻ってくるまでの時間を計測し、そ
の時間を記憶する。つづいて、時刻データ受信装置4か
らループ解除信号を送出し、ループバック路を解除す
る。その後、時刻データ受信装置4から時刻データ要求
信号を送出し、この時刻データ要求信号を受信すること
により時刻データ送信装置3から1秒毎の時刻データが
送られてくる。この時刻データは、図7に示すようにそ
の送信終了を表す後端が1秒周期のクロック信号に同期
している。時刻データ受信装置4では、その時刻データ
に基づいて時刻修正を行なう。この時刻修正が終了する
と、時刻データ受信装置4は終了信号を送信し、これに
より時刻データ送信装置3では時刻データの送出を停止
するとともに回線を開放し、時刻修正動作を終了する。
Next, the outline of the time adjustment operation will be described with reference to FIG. The time data transmitting device 3 and the time data receiving device 4 measure time independently. Activation of the time correction is performed according to a request from the time data receiving device 4 side. The time data receiving device 4 makes a call to the time data transmitting device 3, and when the line is connected, the time data receiving device 4 sends out a loop closing signal. When the time data transmitting device 3 receives the loop closing signal, it forms a loopback path with the time data receiving device 4. Subsequently, a predetermined signal for delay time measurement is transmitted from the time data receiving device 4, a time until this signal returns from the time data transmitting device 3 is measured, and the time is stored. Subsequently, a loop release signal is transmitted from the time data receiving device 4 to release the loopback path. After that, the time data receiving device 4 sends a time data request signal, and by receiving this time data request signal, the time data transmitting device 3 sends time data every one second. This time data is as shown in FIG.
The rear end indicating the end of the transmission of is synchronized with the clock signal having a cycle of 1 second. The time data receiving device 4 corrects the time based on the time data. When the time correction is completed, the time data receiving device 4 transmits an end signal, whereby the time data transmitting device 3 stops transmitting the time data, opens the line, and ends the time correction operation.

【0013】つぎに、各部の詳細構成および動作につい
て説明する。まず、基準信号回路5において1秒信号と
通信用クロック信号を同期させる動作について説明す
る。図5は基準信号回路5の内部構成を示したものであ
る。基準信号回路5に供給される1MHzのクロック信
号は分周回路23で1/1250分周され、800Hz
のクロック信号に変換される。この800Hzのクロッ
ク信号は分周回路24で1/800分周され、1Hzの
クロック信号に変換される。一方、基準信号回路5に供
給される1Hzのクロック信号に基づいて、同期分離回
路25から基準信号回路5の各部における動作を同期さ
せるための1Hzのクロック信号が出力される。このク
ロック信号は分周回路23、24に供給され、分周回路
24からの1Hzのクロック信号を上記基準信号回路5
に供給される1Hzのクロック信号に同期させる。信号
検出回路26は上記1MHzのクロック信号と同期分離
回路25からの1Hzのクロック信号とが供給されてい
るか否かを検出し、いずれか一方の供給が停止すると、
切換え回路27を切り換えて、出力回路28から常に1
Hzのクロック信号すなわち1秒信号を出力させる。以
上の構成によって1Hzまたは1MHzのクロック信号
の停波対策がとられる。
Next, the detailed configuration and operation of each unit will be described. First, an operation of synchronizing the one-second signal and the communication clock signal in the reference signal circuit 5 will be described. FIG. 5 shows the internal configuration of the reference signal circuit 5. The 1-MHz clock signal supplied to the reference signal circuit 5 is divided by 1/1250 by the frequency dividing circuit 23 to 800 Hz.
Clock signal. The 800 Hz clock signal is frequency-divided by 1/800 in the frequency dividing circuit 24 and is converted into a 1 Hz clock signal. On the other hand, based on the 1 Hz clock signal supplied to the reference signal circuit 5, a 1 Hz clock signal for synchronizing the operation of each part of the reference signal circuit 5 is output from the synchronization separation circuit 25. This clock signal is supplied to frequency dividing circuits 23 and 24, and the 1-Hz clock signal from frequency dividing circuit 24 is
Is synchronized with the 1 Hz clock signal supplied to. The signal detection circuit 26 detects whether or not the 1 MHz clock signal and the 1 Hz clock signal from the synchronization separation circuit 25 are being supplied.
By switching the switching circuit 27, the output circuit 28 always outputs 1
A clock signal of 1 Hz, that is, a 1 second signal is output. With the above configuration, countermeasures against interruption of the 1 Hz or 1 MHz clock signal are taken.

【0014】一方、上記通信用クロック信号は、30
0、1200、2400BPS等であり、上記1MHz
のクロック信号を分周して生成することができない。そ
こで、電圧制御水晶発振回路29の発振周波数(本例で
は4915200Hzとする。)を分周回路30,31
を経て1/6144分周して800Hzのクロック信号
とし、これと分周回路23からの800Hzのクロック
信号とを位相比較回路32で位相比較して、その周波数
を上記1MHzのクロック信号に同期させる。さらに、
同期分離回路25からの1Hzのクロック信号により分
周回路30、31にリセットをかけ、上記基準信号回路
5に供給される1Hzのクロック信号との同期をとる。
分周回路30からは76.8kHzの通信用クロック信
号が出力され、タイミング回路11へ供給される。
On the other hand, the communication clock signal is 30
0, 1200, 2400 BPS, etc.
Cannot be generated by dividing the frequency of the clock signal. Therefore, the oscillation frequency of the voltage controlled crystal oscillation circuit 29 (4915200 Hz in this example) is set to the frequency dividing circuits 30 and 31.
Is divided by 1/6144 into an 800 Hz clock signal, and the 800 Hz clock signal from the frequency dividing circuit 23 is compared in phase by the phase comparator 32 to synchronize the frequency with the 1 MHz clock signal. . further,
The frequency dividing circuits 30 and 31 are reset by the 1 Hz clock signal from the synchronization separating circuit 25 to synchronize with the 1 Hz clock signal supplied to the reference signal circuit 5.
The frequency division circuit 30 outputs a communication clock signal of 76.8 kHz, which is supplied to the timing circuit 11.

【0015】以上のようにして、1秒信号と通信用クロ
ック信号とが同期しして基準信号回路5から出力され
る。
As described above, the 1-second signal and the communication clock signal are synchronized with each other and output from the reference signal circuit 5.

【0016】つぎに、時刻データ出力回路8からの時刻
データの送信終了を表す後端を1秒信号に同期させる動
作について説明する。時刻データの送信終了を表す後端
を1秒信号に同期させるには、シリアル通信回路12の
パラレル−シリアル変換時の遅延時間補正および時刻デ
ータの送出タイミングのシフトを行なう必要がある。時
刻データ量k1は通信速度に関係なく一定である。ま
た、時刻データのパラレル−シリアル変換に伴う遅延も
発生するが、この遅延量k2も原理的には通信速度に関
係なく一定である。したがって実際の時刻データのシフ
ト量Nはk1+k2となる。いま、通信速度を2400
BPS、時刻データ量k1を90ビット、時刻データの
パラレル−シリアル変換に伴う遅延量k2を2ビットと
すると、N=k1+k2=92ビットとなる。
Next, the operation of synchronizing the rear end indicating the end of transmission of the time data from the time data output circuit 8 with the 1-second signal will be described. In order to synchronize the rear end indicating the end of transmission of the time data with the 1-second signal, it is necessary to correct the delay time at the time of parallel-serial conversion of the serial communication circuit 12 and shift the timing of sending the time data. The time data amount k1 is constant regardless of the communication speed. In addition, a delay due to the parallel-to-serial conversion of the time data occurs, but this delay amount k2 is also constant in principle regardless of the communication speed. Therefore, the shift amount N of the actual time data is k1 + k2. Now, the communication speed is 2400
Assuming that the BPS and the time data amount k1 are 90 bits and the delay amount k2 accompanying the parallel-serial conversion of the time data is 2 bits, N = k1 + k2 = 92 bits.

【0017】図6はタイミング回路11の内部構成を示
したものである。基準信号回路5からの76.8kHz
のクロック信号は分周回路33で分周され、上記通信速
度すなわち2400BPSに合った周期のクロック信号
に変換され、シリアル通信回路12へ供給される。ま
た、分周回路33からのクロック信号はタイマ回路34
へも供給され、クロック数がカウントされる。
FIG. 6 shows the internal structure of the timing circuit 11. 76.8 kHz from reference signal circuit 5
Is divided by the frequency dividing circuit 33, is converted into a clock signal having a cycle suitable for the communication speed, that is, 2400 BPS, and is supplied to the serial communication circuit 12. The clock signal from the frequency dividing circuit 33 is supplied to the timer circuit 34.
And the number of clocks is counted.

【0018】図7は時刻データの送出タイミングを示す
ものである。1秒クロックの立上りからシフト量Nの時
間分早く時刻データの送出を開始することにより、時刻
データの送信終了を表す後端と1秒信号を同期させるこ
とができる。いま、通信速度は2400BPSなので、
タイマ回路34のカウント設定数をnとすると、n=2
400−N=2400−92=2308となる。このn
=2308をタイマ回路34にセットしておく。タイマ
回路34は微分回路35からの1秒毎の計時スタート信
号により分周回路33からのクロック数のカウントを開
始し、“2308”をカウントしたときに通信制御回路
10に時刻データ送信信号を供給し、これによって時刻
データの送信が開始される。
FIG. 7 shows the timing of sending time data. By starting the transmission of the time data earlier by the amount of shift N from the rise of the 1-second clock, it is possible to synchronize the 1-second signal with the rear end indicating the end of the transmission of the time data. Now, since the communication speed is 2400 BPS,
Assuming that the count set number of the timer circuit 34 is n, n = 2
400−N = 2400−92 = 2308. This n
= 2308 is set in the timer circuit 34. The timer circuit 34 starts counting the number of clocks from the frequency dividing circuit 33 in response to the time counting start signal every second from the differentiating circuit 35, and supplies a time data transmission signal to the communication control circuit 10 when "2308" is counted. Then, transmission of time data is started.

【0019】以上のようにして、時刻データの送信終了
を表す後端と1秒信号とを同期させる。
As described above, the time data transmission is completed.
Synchronizing the trailing and second signal representative of.

【0020】つぎに、時刻データの伝送遅延時間の計測
および時刻データ受信装置での時刻修正動作について詳
細に説明する。
Next, the measurement of the transmission delay time of the time data and the time correction operation in the time data receiving device will be described in detail.

【0021】図8はループバック路について説明するた
めの説明図である。同図において、図2および図3と同
じ番号のものは同一のものを示す。36は電話回線であ
り、これを介してデータの送受信が行なわれる。本例で
は、時刻データの伝送遅延時間の計測は、ループバック
路直前すなわちシリアル通信回路20とモデム回路19
の間で行なう。こうすることにより、モデム回路14お
よび19における遅延時間を含めて時刻修正を行なうこ
とができる。
FIG. 8 is an explanatory diagram for explaining the loopback path. In the figure, those having the same numbers as those in FIGS. 2 and 3 indicate the same ones. Reference numeral 36 denotes a telephone line through which data is transmitted and received. In this example, the transmission delay time of the time data is measured immediately before the loopback path, that is, the serial communication circuit 20 and the modem circuit 19.
Perform between By doing so, the time can be adjusted including the delay time in modem circuits 14 and 19.

【0022】図8を参照しながら遅延時間の計測動作を
説明すると、まず、時刻データ受信装置4から“ループ
閉結信号”を時刻データ送信装置3へ送信する。この
“ループ閉結信号”により時刻データ送信装置3ではル
ープバック回路13のスイッチAを端子aへ切り換え
る。これにより時刻データ受信装置4の端子cからスイ
ッチAを経て時刻データ受信装置4の端子dまでのルー
プバック路が形成される。ループバック路が形成されて
いるときでもモデム回路14とシリアル通信回路12と
は接続しているので、時刻データ受信装置4からの信号
は時刻データ送信装置3で受信可能である。ループバッ
ク路が形成されると、時刻データ受信装置4から遅延時
間計測のための計測用信号が送出される。時刻修正回路
21において、この計測用信号を送出してから戻ってく
るまでの時間を計測するのである。計測を終了して時刻
データ受信装置4から“ループ解除信号”が送信される
と、時刻データ送信装置3ではスイッチAを端子bへ切
り換える。
The delay time measuring operation will be described with reference to FIG. 8. First, the time data receiving device 4 transmits a "loop closing signal" to the time data transmitting device 3. The time data transmitting device 3 switches the switch A of the loopback circuit 13 to the terminal a in accordance with the “loop closing signal”. As a result, a loopback path from the terminal c of the time data receiving device 4 to the terminal d of the time data receiving device 4 via the switch A is formed. Even when the loopback path is formed, the signal from the time data receiving device 4 can be received by the time data transmitting device 3 because the modem circuit 14 and the serial communication circuit 12 are connected. When the loopback path is formed, the time data receiving device 4 sends a measurement signal for measuring the delay time. The time adjustment circuit 21 measures the time from sending out the measurement signal to returning. When the measurement is completed and the "loop release signal" is transmitted from the time data receiving device 4, the time data transmitting device 3 switches the switch A to the terminal b.

【0023】計測する遅延時間は図9に示すように、時
刻修正回路21で計測用信号の立上りから、この信号が
戻ってきて再び時刻修正回路21でこの信号の立上りを
検出するときまでの時間である。遅延時間の発生箇所と
しては図8に示すように、t1:パラレル−シリアル変
換遅延、t2:モデム送信遅延、t3:往路の回線遅
延、t4:モデム受信遅延、t5:モデム送信遅延、t
6:復路の回線遅延、t7:モデム受信遅延、t8:シ
リアル−パラレル変換遅延がある。時刻修正回路21で
計測される遅延時間をTxとすると、Tx=t2+t3
+t4+t5+t6+t7である。ところが、実際に時
刻データ送信回路3から時刻データ受信装置4へ時刻デ
ータが送られるときの遅延時間をTdとすると、Td=
t5+t6+t7+t8である。ここで、t2、t4、
t5、t7はモデム回路内の遅延時間であり、時刻デー
タ送信装置3と時刻データ受信装置4において同一のモ
デム回路を同一の通信速度で使用すれば、t2=t5、
t4=t7と見做せる。また、上記往路と復路の各遅延
時間もほぼ等しいと見做せば、Tx=2×(t5+t6
+t7)であるので、Td=(Tx/2)+t8とな
る。すなわち、実際の遅延時間Tdは“モデムの送受信
時の遅延時間と通信回線の遅延時間とパラレル−シリア
ル変換時の遅延時間の和”である。t8は通信速度Fに
関わらず、固定されたビット数nであり、t8=(1/
F)×n=n/Fとなる。したがって、Td=(Tx/
2)+(n/F)となる。(Tx/2)は片方向通信の
遅延時間で、(n/F)は通信速度に依存する固有の時
間である。
As shown in FIG. 9, the delay time to be measured is the time from the rise of the measurement signal in the time adjustment circuit 21 to the time when this signal returns and the time adjustment circuit 21 detects the rise of this signal again. Is. As shown in FIG. 8, the places where the delay time occurs are: t1: parallel-serial conversion delay, t2: modem transmission delay, t3: forward line delay, t4: modem reception delay, t5: modem transmission delay, t
6: There is a return line delay, t7: modem reception delay, and t8: serial-parallel conversion delay. Assuming that the delay time measured by the time correction circuit 21 is Tx, Tx = t2 + t3
+ T4 + t5 + t6 + t7. However, if the delay time when the time data is actually sent from the time data transmitting circuit 3 to the time data receiving device 4 is Td, then Td =
It is t5 + t6 + t7 + t8. Here, t2, t4,
t5 and t7 are delay times in the modem circuit. If the same modem circuit is used at the same communication speed in the time data transmitting device 3 and the time data receiving device 4, t2 = t5,
It can be considered that t4 = t7. Further, if it is considered that the respective delay times of the forward path and the return path are substantially equal, Tx = 2 × (t5 + t6
+ T7), so that Td = (Tx / 2) + t8. That is, the actual delay time Td is “the sum of the delay time at the time of transmission / reception of the modem, the delay time of the communication line, and the delay time at the time of parallel-serial conversion”. t8 is a fixed number of bits n regardless of the communication speed F, and t8 = (1/1 /
F) × n = n / F. Therefore, Td = (Tx /
2) + (n / F). (Tx / 2) is a one-way communication delay time, and (n / F) is a unique time depending on the communication speed.

【0024】以上のように、時刻修正回路21によって
測定される遅延時間Txと通信速度Fに依存する固有の
時間(n/F)によって時刻データ送信の際の遅延時間
Tdを求めることができる。
As described above, the delay time Td at the time data transmission can be obtained from the delay time Tx measured by the time adjustment circuit 21 and the specific time (n / F) depending on the communication speed F.

【0025】つぎに、上記遅延時間に基づく時刻データ
受信装置4の時刻修正動作について説明する。遅延時間
Tdに基づいて時刻修正回路21でシフト時間Tsが設
定される。図10のcに示すように、遅延時間Tdが1
秒以内であれば、シフト時間Ts=(1−Td)とな
る。このシフト時間Tsを時刻修正回路21のタイマに
設定し、図10のdに示すように、受信された時刻デー
タの3秒目のデータが確定した時点でシフト時間Tsの
計時を開始する。この計時が終了したときに、図10の
eに示すように時刻修正回路21からリセット信号を出
力して基準信号回路16をリセットするとともに、通信
制御回路22により、リセット直前に受信した時刻デー
タに基づいて時計回路17の時刻を修正する。
Next, the time correction operation of the time data receiving device 4 based on the delay time will be described. The shift time Ts is set by the time correction circuit 21 based on the delay time Td. As shown in FIG. 10C, the delay time Td is 1
If within seconds, the shift time Ts = (1−Td). This shift time Ts is set in the timer of the time correction circuit 21, and as shown in FIG. 10D, timing of the shift time Ts is started when the third second of the received time data is determined. When this time measurement is completed, a reset signal is output from the time correction circuit 21 to reset the reference signal circuit 16 as shown in FIG. 10E, and the communication control circuit 22 sets the time data received immediately before the reset to The time of the clock circuit 17 is corrected based on the time.

【0026】図10のfに時計回路17が進んでいる場
合、図10のg,hに時計回路17が遅れている場合の
時刻修正タイミングを示す。ここでは、基準信号回路1
6のリセット直前に受信した7:00:02の時刻デー
タに基づいて時計回路17の時刻が7:00:03に修
正される。
FIG. 10f shows the time adjustment timing when the clock circuit 17 is advanced, and g and h of FIG. 10 are the timing adjustment timing when the clock circuit 17 is delayed. Here, the reference signal circuit 1
The time of the clock circuit 17 is corrected to 7:00:03 based on the time data of 7:00:02 received immediately before the reset of Step 6.

【0027】以上の動作により、秒同期用のクロック信
号の送出が不要で、かつ時刻データ受信装置4の時刻が
時刻データ送信装置3の時刻に同期した正しい時刻に修
正される。
By the above operation, it is not necessary to send the clock signal for second synchronization, and the time of the time data receiving device 4 is corrected to the correct time synchronized with the time of the time data transmitting device 3.

【0028】[0028]

【発明の効果】本発明によれば、時刻データの送信終了
を表す後端が、時刻データ送信装置側の第1のクロック
信号に同期した時刻データを受信し、時刻データ通信時
の遅延時間を検出し、上記時刻データの終了を表す後端
および遅延時間に基づいて受信装置側の第2のクロック
信号を第1のクロック信号に同期させるため、同期用の
クロック信号を送出することなく、第1と第2のクロッ
ク信号、すなわち、時刻データ送信装置、受信装置の両
装置のクロック信号の位相同期をとることが可能となる
とともに、両装置の時刻を極めて正確に合わせ込むこと
ができる。
According to the present invention, the transmission of time data is completed.
Is the first clock on the time data transmitter side.
When receiving time data synchronized with the signal and communicating time data
The trailing edge that indicates the end of the above time data by detecting the delay time of
And a second clock on the receiver side based on the delay time
For synchronizing the signal to the first clock signal,
The first and second clocks are sent without sending a clock signal.
Signal, that is, both the time data transmitter and receiver
Enables phase synchronization of device clock signals
Along with, the time of both devices should be set very accurately.
Can be.

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

【図1】本発明による時刻修正装置の一実施例を示した
ブロック図
FIG. 1 is a block diagram showing an embodiment of a time adjustment device according to the present invention.

【図2】時刻データ送信装置3の構成を示したブロック
FIG. 2 is a block diagram showing a configuration of a time data transmitting device 3.

【図3】時刻データ受信装置4の構成を示したブロック
FIG. 3 is a block diagram showing a configuration of a time data receiving device 4;

【図4】時刻修正動作を説明するための説明図FIG. 4 is an explanatory diagram for explaining a time correction operation;

【図5】第1の基準信号回路5の内部構成を示したブロ
ック図
FIG. 5 is a block diagram showing an internal configuration of a first reference signal circuit 5 .

【図6】タイミング回路11の内部構成を示したブロッ
ク図
FIG. 6 is a block diagram showing an internal configuration of a timing circuit 11;

【図7】時刻データの送出タイミングを説明するための
説明図
FIG. 7 is an explanatory diagram for explaining transmission timing of time data.

【図8】ループバック路を説明するための説明図FIG. 8 is an explanatory diagram for explaining a loopback path.

【図9】遅延時間の計測タイミングを説明するための説
明図
FIG. 9 is an explanatory diagram for explaining a delay time measurement timing;

【図10】時刻修正動作を説明するためのタイミングチ
ャート
FIG. 10 is a timing chart for explaining a time correction operation.

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

3 時刻データ送信装置 3a データ送信部 4 時刻データ受信装置 4a データ受信部 5 第1の基準信号回路第1の時計回路 8 時刻データ出力回路16 第2の基準信号回路 17 第2の時計回路 21 時刻修正回路 22 通信制御回路3 time data transmitter 3a data transmitter 4 time data receiver 4a data receiver 5 first reference signal circuit 6 first clock circuit 8 time data output circuit 16 second reference signal circuit 17 second clock circuit 21 Time adjustment circuit 22 Communication control circuit

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平8−191301(JP,A) 特開 昭60−71981(JP,A) 特開 昭60−214291(JP,A) ─────────────────────────────────────────────────── ─── Continuation of the front page (56) Reference JP-A-8-191301 (JP, A) JP-A-60-71981 (JP, A) JP-A-60-214291 (JP, A)

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 時刻データ送信装置から、時刻データの
送信終了を表す後端を第1のクロック信号に同期して送
信される上記時刻データを受信する受信部と、 上記時刻データ送信装置から送信される上記時刻データ
の遅延時間を検出する検出手段と、 上記時刻データの送信終了を表す後端および上記遅延時
間とによって同期信号を生成する同期信号生成手段と、 第2のクロック信号を発生する基準信号回路と、 上記第2のクロック信号に基づいて時刻を計時する時計
回路と、 上記同期信号生成手段からの上記同期信号によって上記
基準信号回路の上記第2のクロック信号を上記時刻デー
タ送信装置の上記第1のクロック信号に同期させるとと
もに、上記時計回路の計時時刻を上記時刻データに基づ
いて修正する時刻修正手段とを具備することを特徴とす
る時刻データ受信装置。
1. A time data transmission device transmits time data.
The rear end that indicates the end of transmission is transmitted in synchronization with the first clock signal.
A receiving unit that receives the time data transmitted , and the time data transmitted from the time data transmission device
Detecting means for detecting the delay time of, and the rear end indicating the end of transmission of the time data and the delay time.
And a reference signal circuit that generates a second clock signal, and a clock that measures time based on the second clock signal.
A circuit and the synchronizing signal from the synchronizing signal generating means
The second clock signal of the reference signal circuit is changed to the time data.
When synchronized with the first clock signal of the transmitter
In addition, the clocked time of the above clock circuit is based on the above time data.
And a time adjusting means for adjusting the time.
Time data receiving device.
【請求項2】 時刻データ送信装置から送信される時刻
データを時刻データ受信装置で受信し、上記時刻データ
に基づいて上記時刻データ受信装置側の時刻を修正する
時刻修正装置において、 上記時刻データ送信装置は、第1のクロック信号を出力
する第1の基準信号回路と、この第1のクロック信号に
基づいて時刻を計時する第1の時計回路と、この第1の
時計回路の時刻データを出力する時刻データ出力回路
と、この時刻データ出力回路からの時刻データの送信終
了を表す後端を上記基準信号回路からの上記第1のクロ
ック信号に同期させて出力する同期手段とを具備し、 上記時刻データ受信装置は、上記時刻データ送信装置か
らの上記時刻データを受信する受信部と、上記時刻デー
タ送信装置から送信される時刻データの遅延時間を検出
する検出手段と、上記時刻データの送信終了を表す後端
および上記遅延時間とによって同期信号を生成する同期
信号生成手段と、第2のクロック信号を 発生する第2の
基準信号回路と、この第2のクロック信号に基づいて時
刻を計時する時計回路と、上記第2の基準信号回路から
の第2のクロック信号を上記データ送信装置における上
記第1のクロック信号に同期させるとともに上記第2の
時計回路の計時時刻を上記時刻データに基づいて修正す
る時刻修正手段とを具備することを特徴とするする時刻
修正装置。
2. The time transmitted from the time data transmission device
Data is received by the time data receiving device, and the time data
Correct the time on the time data receiving device side based on
In the time adjustment device, the time data transmission device outputs a first clock signal
To the first reference signal circuit and the first clock signal
A first clock circuit that measures time based on the
Time data output circuit that outputs the time data of the clock circuit
And the end of transmission of the time data from this time data output circuit.
The trailing end indicating the end of the first signal from the reference signal circuit.
And a synchronizing means for outputting in synchronization with the clock signal, the time data receiving device is the time data transmitting device.
From the receiver that receives the time data described above and the time data described above.
Detects the delay time of the time data transmitted from the transmitter
Detection means and a rear end indicating the end of transmission of the time data
And a synchronization for generating a synchronization signal according to the above delay time
A signal generating means and a second clock signal generating a second clock signal .
Based on the reference signal circuit and this second clock signal
From the clock circuit that keeps time and the second reference signal circuit
The second clock signal of the above in the data transmitter
The second clock is synchronized with the first clock signal.
Correct the clock time of the clock circuit based on the above time data.
Time adjusting means for adjusting time
Correction device.
JP16029291A 1991-07-01 1991-07-01 Time data receiving device and time adjusting device Expired - Lifetime JP2678172B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16029291A JP2678172B2 (en) 1991-07-01 1991-07-01 Time data receiving device and time adjusting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16029291A JP2678172B2 (en) 1991-07-01 1991-07-01 Time data receiving device and time adjusting device

Related Child Applications (2)

Application Number Title Priority Date Filing Date
JP28181395A Division JP2766837B2 (en) 1995-10-30 1995-10-30 Time data transmission device
JP28181495A Division JP2766838B2 (en) 1995-10-30 1995-10-30 Time data receiving device

Publications (2)

Publication Number Publication Date
JPH0511075A JPH0511075A (en) 1993-01-19
JP2678172B2 true JP2678172B2 (en) 1997-11-17

Family

ID=15711829

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16029291A Expired - Lifetime JP2678172B2 (en) 1991-07-01 1991-07-01 Time data receiving device and time adjusting device

Country Status (1)

Country Link
JP (1) JP2678172B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6071981A (en) * 1983-09-29 1985-04-23 Fujitsu Ltd Remote time setting system
JPS60214291A (en) * 1984-04-11 1985-10-26 Nec Corp Timepiece control system
JPS63210693A (en) * 1987-02-26 1988-09-01 Hitachi Ltd Time setter

Also Published As

Publication number Publication date
JPH0511075A (en) 1993-01-19

Similar Documents

Publication Publication Date Title
JP2001186180A (en) Ip terminal device, method for estimating frequency error range, method of estimating frequency difference and method of calculating estimated required time
CA2037739C (en) Frame synchronization dependent type bit synchronization extraction circuit
JP2001326626A (en) Method for synchronization, module and program module
AU753396B2 (en) Synchronisation method for satellite positioning system
JPH118880A (en) Simultaneous data sending method and delay circuit for paging system
KR100967197B1 (en) Clock transmission Apparatus for network synchronization between system and system
JP2678172B2 (en) Time data receiving device and time adjusting device
US20230164725A1 (en) Synchronization correction method, master device and slave device
JP2766838B2 (en) Time data receiving device
JP2766837B2 (en) Time data transmission device
JP2897684B2 (en) Wireless transceiver
JP2693758B2 (en) Frame pulse generation method
TWM628940U (en) Master device and slave device
CN113359948A (en) Time synchronization device and synchronization method
US20070297546A1 (en) Signal synchronization system
JP2501581B2 (en) Clock signal synchronizer
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
US5923704A (en) Transmit clock generation system and method
TWI809564B (en) Synchronization correction method, master device and slave device
KR100219876B1 (en) A device for synchronous transmission of page data in the paging system
KR0159665B1 (en) Automatic control delay circuit and method for broadcasting of paging system
JPH05161181A (en) Time synchronization system
JPH08328691A (en) Time synchronization device in remote supervisory controller
JP2535226B2 (en) Selective call receiver
JP2000304883A (en) Time synchronization method

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080801

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090801

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090801

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100801

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100801

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110801

Year of fee payment: 14

EXPY Cancellation because of completion of term