JP2013055588A - Time adjustment device and time adjustment method - Google Patents
Time adjustment device and time adjustment method Download PDFInfo
- Publication number
- JP2013055588A JP2013055588A JP2011193817A JP2011193817A JP2013055588A JP 2013055588 A JP2013055588 A JP 2013055588A JP 2011193817 A JP2011193817 A JP 2011193817A JP 2011193817 A JP2011193817 A JP 2011193817A JP 2013055588 A JP2013055588 A JP 2013055588A
- Authority
- JP
- Japan
- Prior art keywords
- clock signal
- time
- clock
- control unit
- unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Synchronisation In Digital Transmission Systems (AREA)
- Mobile Radio Communication Systems (AREA)
- Electric Clocks (AREA)
Abstract
【課題】複数の子局が有しているRTCの誤差を削減する時刻制御装置及び時刻制御方法を提供することを目的としている。
【解決手段】衛星から情報を受信し、受信した情報に基づき第1クロック信号を生成する第1クロック生成部と、第2クロック信号を生成する第2クロック生成部と、第1クロック信号と第2クロック信号との誤差を検出する誤差検出部と、誤差検出部が検出した誤差が予め定められている値より大きい場合、第2クロック生成部が生成する第2クロック信号を調整する制御部と、を備える。
【選択図】図2An object of the present invention is to provide a time control device and a time control method for reducing errors in RTCs possessed by a plurality of slave stations.
A first clock generation unit that receives information from a satellite and generates a first clock signal based on the received information, a second clock generation unit that generates a second clock signal, a first clock signal, and a first clock signal An error detection unit that detects an error from the two clock signal, and a control unit that adjusts the second clock signal generated by the second clock generation unit when the error detected by the error detection unit is greater than a predetermined value; .
[Selection] Figure 2
Description
本発明は、時刻制御装置及び時刻制御方法に関する。 The present invention relates to a time control device and a time control method.
環境監視システム等では、親局と、親局から離れた地点に設置された複数の子局各々が観測した観測データを親局に送信するテレメータシステムが用いられている。これらの子局は、自局が各々有しているRTC(リアル・タイム・クロック)に基づく時刻データを持っている。 In an environment monitoring system or the like, a telemeter system that transmits observation data observed by a master station and each of a plurality of slave stations installed at points away from the master station to the master station is used. These slave stations have time data based on the RTC (Real Time Clock) that each own station has.
これに対して、特許文献1に記載の従来技術において、親局は、通信網を介して順次、子局に観測データの送信を要求する。各子局が親局からの送信要求に応じて、観測データを送信する。これにより、親局は、所望の時刻に各子局の観測データを収集していた。つまり、子局は、親局からの送信要求に応じたタイミングで観測データを送信していた。
On the other hand, in the prior art described in
しかしながら、特許文献1に記載の従来技術では、RTCは、部品の特性や、子局が設置されている周辺温度の変化などが原因で誤差が生じる。このため、複数の子局が有しているRTCに誤差が大きくなった場合、管理者が手動で子局のRTCの誤差を調整する必要があるという問題点があった。
このため、親局は、所望の時刻の観測データを得るために、各子局に送信要求を送って子局の送信タイミングを制御する必要があった。
However, in the prior art described in
For this reason, in order to obtain observation data at a desired time, the master station needs to send a transmission request to each slave station to control the transmission timing of the slave station.
本発明は、上記の問題点に鑑みてなされたものであって、複数の子局が有しているRTCの誤差を削減する時刻制御装置及び時刻制御方法を提供することを目的としている。 The present invention has been made in view of the above-described problems, and an object of the present invention is to provide a time control device and a time control method that reduce errors in RTCs possessed by a plurality of slave stations.
上記目的を達成するため、本発明に係る時刻制御装置は、衛星から情報を受信し、受信した前記情報に基づき第1クロック信号を生成する第1クロック生成部と、第2クロック信号を生成する第2クロック生成部と、前記第1クロック信号と前記第2クロック信号との誤差を検出する誤差検出部と、前記誤差検出部が検出した誤差が予め定められている値より大きい場合、前記第2クロック生成部が生成する第2クロック信号を調整する制御部と、を備えることを特徴としている。 In order to achieve the above object, a time control apparatus according to the present invention receives information from a satellite, generates a first clock signal based on the received information, and generates a second clock signal. A second clock generation unit; an error detection unit that detects an error between the first clock signal and the second clock signal; and an error detected by the error detection unit that is greater than a predetermined value. And a control unit that adjusts a second clock signal generated by the two-clock generation unit.
また、本発明の時刻制御装置において、前記制御部は、前記第2クロック信号を調整した後、前記第1クロック生成部に対して衛星からの情報の受信を停止するように制御し、当該制御部をスリープ状態に制御するようにしてもよい。 In the time control device of the present invention, the control unit controls the first clock generation unit to stop receiving information from the satellite after adjusting the second clock signal, and The unit may be controlled to sleep.
また、本発明の時刻制御装置において、前記第2クロック生成部は、前記第2クロック信号を調整した後、予め定められている時間が経過した後、前記制御部を起動するアラーム信号を出力し、前記制御部は、前記第2クロック生成部が出力する前記アラーム信号に応じて、当該制御部をスリープ状態から復帰し、前記第1クロック生成部に対して衛星からの情報の受信を開始するように制御するようにしてもよい。 In the time control device of the present invention, the second clock generation unit outputs an alarm signal that activates the control unit after a predetermined time has elapsed after adjusting the second clock signal. In response to the alarm signal output from the second clock generation unit, the control unit returns the control unit from a sleep state and starts receiving information from the satellite to the first clock generation unit. You may make it control so.
また、本発明の時刻制御装置において、前記制御部は、前記誤差検出部が検出した誤差が予め定められている値より大きい場合、前記第2クロック信号の生成開始タイミングをリセットして調整すること、前記第2クロック生成部の内部クロック周波数を変化させて調整すること、前記第2クロック生成部の1秒を計時する計時部の1秒分のカウント値を変化させて調整の少なくとも1つにより前記第2クロック信号を調整するようにしてもよい。 In the time control device of the present invention, the control unit resets and adjusts the generation start timing of the second clock signal when the error detected by the error detection unit is larger than a predetermined value. Adjusting the internal clock frequency of the second clock generator by changing the count, and changing the count value for one second of the clock unit for measuring one second of the second clock generator by at least one of the adjustments The second clock signal may be adjusted.
上記目的を達成するため、本発明は、時刻制御装置における時刻制御方法であって、第1クロック生成部が、衛星から情報を受信し、受信した前記情報に基づき第1クロック信号を生成する第1クロック生成手順と、第2クロック生成部が、第2クロック信号を生成する第2クロック生成手順と、誤差検出部が、前記第1クロック信号と前記第2クロック信号との誤差を検出する誤差検出手順と、制御部が、前記誤差検出手順で検出された誤差が予め定められている値より大きい場合、前記第2クロック生成部が生成する第2クロック信号を調整する手順と、を含むことを特徴としている。 To achieve the above object, the present invention provides a time control method in a time control device, wherein a first clock generation unit receives information from a satellite and generates a first clock signal based on the received information. A 1 clock generation procedure, a second clock generation procedure in which a second clock generation unit generates a second clock signal, and an error in which an error detection unit detects an error between the first clock signal and the second clock signal A detection procedure; and a control unit that adjusts a second clock signal generated by the second clock generation unit when the error detected in the error detection procedure is greater than a predetermined value. It is characterized by.
本発明の時刻制御装置は、衛星から受信した情報から第1クロック生成部が生成した第1クロック信号と、第2クロック生成部が生成した第2クロック信号との誤差を、誤差検出部が検出し、制御部が予め定められている値より誤差が大きいか判定する。そして、予め定められている値より誤差が大きいと判定した場合、制御部は、第2クロック生成部が生成する第2クロック信号を調整するようにした。この結果、このような時刻制御装置の時刻情報の誤差を削減することができる。このため、本発明の時刻制御装置を備えるテレメータシステムの子局の時刻情報は、自動的に所定の範囲内の誤差範囲に収められるので、子局の時刻情報を管理者が手動で調整する必要がなくなる。 In the time control device of the present invention, the error detection unit detects an error between the first clock signal generated by the first clock generation unit from the information received from the satellite and the second clock signal generated by the second clock generation unit. The control unit determines whether the error is larger than a predetermined value. When it is determined that the error is larger than a predetermined value, the control unit adjusts the second clock signal generated by the second clock generation unit. As a result, errors in time information of such a time control device can be reduced. For this reason, since the time information of the slave station of the telemeter system provided with the time control device of the present invention is automatically within an error range within a predetermined range, the administrator needs to manually adjust the time information of the slave station. Disappears.
以下、図面を用いて、本発明の実施形態について説明する。
図1は、本実施形態に係るテレメータシステム1の概略構成図である。図1に示すように、テレメータシステム1は、n個の子局10−1〜10−n(nは1以上の自然数)、親局20及びGPS衛星30を含んでいる。なお、テレメータシステムとは、遠隔地において観測した観測データを送信する子局(観測局ともいう)と、この子局から送信された観測データを、通信網を介して受信する親局(監視局ともいう)で構成されるシステムである。以下、子局10−1〜10−nを総称して、子局10という。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a schematic configuration diagram of a
子局10は、後述するように、時刻制御部を備える。各子局10−1〜10−nの他の機能は、同一であっても異なっていてもよい。子局10は、GPS衛星30が発する航法メッセージs1を受信し、受信した航法メッセージs1に基づき時刻制御部のクロックを校正する。子局10−1は、親局20からの送信要求s2−1に応じて、または、予め各子局に定められている時刻に応じて、送信データs3−1を親局20に送信する。同様に、子局10−nは、親局20からの送信要求s2−nに応じて、または、予め各子局に定められている時刻に応じて、送信データs3−nを親局20に送信する。例えば、子局10は、子局10が設置されている場所の温度等の観測データを、送信データとして親局20に送信する。
親局20は、図示しない通信衛星または通信網を介して子局10と通信を行う。親局20は、例えば、各子局10に送信要求s2−1〜s2−nを送信し、送信した送信要求s2−1〜s2−nへの応答である送信データs3−1〜s3−nを受信する。
The
The
GPS(グローバル・ポジショニング・システム(Global Positioning System))衛星30は、GPSで用いられる人工衛星であり、地上から約20万kmの高度の軌道を、一周約12時間で移動する準同期衛星である。GPS衛星30は、宇宙空間に向けて航法メッセージs1を発している。航法メッセージs1には、GPS衛星30に搭載された原子時計からの時刻のデータと、自衛星の天体(軌道)暦情報等が含まれている。
A GPS (Global Positioning System)
次に、子局10の時刻制御部11の構成について、図2を用いて説明する。
図2は、本実施形態に係る子局10における時刻制御部11の概略構成図である。図2に示すように、時刻制御部11は、GPS受信部101、RTC102、制御部103、発振器104、カウンタ105、RAM106及びバックアップ電源部107を備える。また、時刻制御部11は、アンテナ12に接続されている。なお、GPS受信部101、制御部103、発振器104、カウンタ105及びバックアップ電源部107には、子局10の図示しない電源部から電力が供給されている。
Next, the configuration of the
FIG. 2 is a schematic configuration diagram of the
GPS受信部101(第1クロック生成部)は、GPS衛星30が発する航法メッセージs1を、アンテナ12を介して受信する。GPS受信部101は、受信した航法メッセージs1に基づきクロック信号GPSPPS(第1クロック信号)を生成し、生成したクロック信号GPSPPSをカウンタ105に出力する。ここで、クロック信号GPSPPS(PPSは、パルス/秒の略である)とは、1秒毎の時刻データであるGPS時刻情報に基づくクロック信号である。なお、GPS時刻とは、1週間を周期とするGPS衛星30で管理されている時間である。また、GPS受信部101は、受信した航法メッセージs1から、うるう秒に関する情報を抽出し、抽出したうるう秒に関する情報をRAM106に記憶させる。また、GPS受信部101は、GPS時刻及びうるう秒に関する情報に基づきUTC(協定世界時)を計算し、計算したUTC情報を制御部103に出力する。なお、うるう秒に関する情報とは、UTCにおいて、地球の自転に基づく世界時との差を調整するために用いられる情報である。
The GPS receiving unit 101 (first clock generating unit) receives the navigation message s1 emitted from the
RTC(リアル・タイム・クロック)102(第2クロック生成部)は、例えば水晶発振器により生成されたクロック信号RTCPPS(第2クロック信号)を生成し、生成したクロック信号RTCPPSをカウンタ105に出力する。RTC102は、生成したクロック信号RTCPPSに基づいて計時情報を生成し、生成した計時情報を制御部103に出力する。また、RTC102は、制御部103によるリセット後、予め定められている時間経過後、制御部103にアラーム信号を出力する。
An RTC (real time clock) 102 (second clock generation unit) generates a clock signal RTCPPS (second clock signal) generated by a crystal oscillator, for example, and outputs the generated clock signal RTCPPS to the
制御部103は、GPS受信部101及びカウンタ105の電源のオン状態とオフ状態を制御する。制御部103は、カウンタ105が出力するクロック信号GPSPPSに対するクロック信号RTCPPSのずれ値(誤差)が、予め定められている値より大きいか否かを判定する。誤差が予め定められている値より大きいと判定した場合、制御部103は、RTC102に対してクロック生成タイミングをリセットする。制御部103は、RTC102が出力するアラーム信号に基づき、自部をスリープ状態から通常動作状態に復帰させる。なお、スリープ状態とは、制御部103を省電力モードで動作させる状態である。制御部103は、GPS受信部101が出力するUTC情報及びRTC102が出力する計時情報を、図示しない子局10の送受信制御部に出力する。なお、子局10は、親局20に送信データs3−1〜s3−nを送信する際にUTC情報及び計時情報を含めて送信するようにしてもよい。
The
発振器104は、例えば水晶発振器であり、発振したクロック信号をカウンタ105に出力する。
カウンタ105(誤差検出部)には、GPS受信部101が出力するクロック信号GPSPPSと、RTC102が出力するクロック信号RTCPPSとが入力される。カウンタ105は、入力されたクロック信号GPSPPSに対するRTC102が出力するクロック信号RTCPPSのタイミング差を発振器104が出力するクロック信号を用いてカウントする。カウンタ105は、カウントしたクロック信号同士のタイミング差を制御部103に出力する。
RAM(Random Access Memory)106には、航法メッセージs1から抽出されたうるう秒に関する情報等が記憶されている。
The oscillator 104 is a crystal oscillator, for example, and outputs the oscillated clock signal to the
A clock signal GPSPPS output from the
A RAM (Random Access Memory) 106 stores information about leap seconds extracted from the navigation message s1.
バックアップ電源部107は、例えば、2次電池や容量の大きなキャパシタなどである。バックアップ電源部107は、電源部(図示せず)から供給される電力を用いて2次電池やキャパシタを充電し、充電した電力をRTC102及びRAM106に供給する。
The backup
次に、子局10の起動後、初回に行う時刻校正動作について、図3を用いて説明する。
図3は、本実施形態に係る子局10の起動後、初回時に行う時刻校正動作のタイミングチャートである。図3において、横軸は時間を表し、縦軸は各クロックの信号レベルを表している。
図3に示すように、時刻t1において、時刻制御部11は電源がオン状態になる。
時刻t2において、時刻制御部11のRTC102は、クロック信号RTCPPSの生成を開始し、生成したクロック信号RTCPPSをカウンタ105に出力する。
時刻t3からt5の期間、GPS受信部101は、航法メッセージs1の取得を待機する。
時刻t4において、GPS受信部101は、航法メッセージs1からGPS時刻情報を取得した後、クロック信号GPSPPSの生成を開始し、生成したクロック信号GPSPPSをカウンタ105に出力する。
Next, the time calibration operation performed for the first time after the
FIG. 3 is a timing chart of the time calibration operation performed at the first time after the
As shown in FIG. 3, at time t1, the
At time t2, the
During the period from time t3 to t5, the
At time t <b> 4, the
時刻t5において、GPS受信部101は、航法メッセージs1から、うるう秒に関する情報を抽出する。GPS受信部101は、時刻t4で抽出したGPS時刻情報及び時刻t5で抽出したうるう秒に関する情報に基づきUTCを計算する。
時刻t6において、カウンタ105は、クロック信号GPSPPSにおいて、例えば信号の立ち上がりのタイミングを表す信号を制御部103に出力する。制御部103は、カウンタ105が出力する信号が表すタイミングで、RTC102のクロック信号の生成開始タイミングをリセットする。この結果、時刻t6では、クロック信号GPSPPSに対するクロック信号RTCPPSのタイミング差がなくなる。クロック信号の生成開始タイミングをリセット後、制御部103は、GPS受信部101に対して、電源がオフ状態になるように制御する。
At time t5, the
At time t <b> 6, the
時刻t7において、制御部103は、アラーム時間情報をRTC102に出力する。なお、アラーム時刻とは、制御部103がスリープ状態になった後、RTC102が出力するアラーム信号により復帰するまでの時間である。次に、RTC102は、制御部103が出力するアラーム時間情報に基づき、制御部103にアラーム信号を出力する時刻をセットする(RTCアラームセットともいう)。次に、制御部103は、該制御部103をスリープ状態になるように制御する。なお、制御部103がスリープ状態でも、バックアップ電源部107から供給される電力によりRTC102は電源オン状態を維持し、クロック信号RTCPPSの生成を継続する。なお、制御部103は、時刻t6から予め定められている時間経過後の時刻t7においてスリープ状態になる。
At time t7, the
図4は、本実施形態に係る子局10の2回目以降に行う時刻校正動作のタイミングチャートである。図4において、横軸は時間を表し、縦軸は各クロックの信号レベルを表している。
時刻t11において、RTC102は、設定されたアラーム時刻に達したか否かを判定し、設定されたアラーム時刻に達したと判定した場合、制御部103にアラーム信号を出力する。制御部103は、RTC102が出力するアラーム信号に基づき、該制御部103をスリープ状態から復帰させるように制御する。
FIG. 4 is a timing chart of the time calibration operation performed after the second time of the
At time t11, the
時刻t12からt17の期間、GPS受信部101は、航法メッセージs1の取得を待機する。
時刻t13において、GPS受信部101は、航法メッセージs1からGPS時刻情報を取得した後、クロック信号GPSPPSの生成を開始し、生成したクロック信号GPSPPSをカウンタ105に出力する。
時刻t14において、カウンタ105は、後述するように、1つ前のクロック信号RTCPPSの立ち上がりからクロック信号GPSPPSの立ち上がりまでの時刻(時刻t13)を発振器104が生成したクロック信号を用いてカウントする。また、カウンタ105は、1つ前のクロック信号RTCPPSの立ち上がりからクロック信号RTCPPSの立ち上がりまでの時刻(t14)をカウントする。カウンタ105は、クロック信号GPSPPSに対するクロック信号RTCPPSのタイミング差(=t14−t13)を算出する。カウンタ105は、算出したタイミング差を制御部103に出力する。
時刻t16において、同様にカウンタ105は、クロック信号GPSPPSに対するクロック信号RTCPPSのタイミング差(=t16−t15)を算出し、算出したタイミング差を制御部103に出力する。
時刻t17において、GPS受信部101は、RAM106に記憶されているうるう秒に関する情報を読み出し、GPS時刻情報及びうるう秒に関する情報に基づきUTCを計算し、計算したUTCを制御部103に出力する。
時刻t19において、同様にカウンタ105は、クロック信号GPSPPSに対するクロック信号RTCPPSのタイミング差(=t19−t18)を算出し、算出したタイミング差を制御部103に出力する。
次に、制御部103は、時刻t14、t16及びt19にカウンタ105が出力するタイミング差を、前回校正した時刻から現在までの経過時間で割り、クロック信号RTCPPSの誤差を算出する。次に、制御部103は、算出した誤差が予め定められている値より大きな値であるか否かを判別する。
During the period from time t12 to t17, the
At time t <b> 13, after receiving GPS time information from the navigation message s <b> 1, the
At time t14, the
Similarly, at time t <b> 16, the
At time t <b> 17, the
Similarly, at time t19, the
Next, the
時刻t20において、誤差が予め定められている値より大きな値であると判定した場合、制御部103は、RTC102のクロック信号の生成開始タイミングをリセットすることで、クロック信号RTCPPSのタイミングを校正する。校正終了後、制御部103は、GPS受信部101の電源をオフ状態になるように制御する。
When determining that the error is larger than a predetermined value at time t20, the
時刻t21において、制御部103は、アラーム時間情報をRTC102に出力する。RTC102は、制御部103が出力するアラーム時間情報に基づき、制御部103にアラーム信号を出力する時刻をセットする。なお、アラーム時間情報は、例えば30分後、1時間後などである。次に、制御部103は、該制御部103をスリープ状態になるように制御する。
At time t <b> 21, the
次に、RTC校正方法の一例について、図5を用いて説明する。
図5は、本実施形態に係るRTC校正方法を説明するタイミングチャートである。図5(a)は、正方向にタイミングがずれている例を説明するタイミングチャートであり、図5(b)は、負方向にタイミングがずれている例を説明するタイミングチャートである。図5(a)及び図5(b)において、横軸は時間を表し、縦軸は波形g101、g101’、g102、g102’においては信号レベルを表し、波形g103とg103’においてはカウント値を表している。また、図5(a)及び図5(b)において、波形g101及びg101’は、クロック信号GPSPPSであり、波形g102及びg102’は、クロック信号RTCPPSであり、波形g103及びg103’は、カウンタ105によるカウント値である。
Next, an example of the RTC calibration method will be described with reference to FIG.
FIG. 5 is a timing chart for explaining the RTC calibration method according to the present embodiment. FIG. 5A is a timing chart for explaining an example in which the timing is shifted in the positive direction, and FIG. 5B is a timing chart for explaining an example in which the timing is shifted in the negative direction. 5A and 5B, the horizontal axis represents time, the vertical axis represents the signal level in the waveforms g101, g101 ′, g102, and g102 ′, and the count value in the waveforms g103 and g103 ′. Represents. 5A and 5B, waveforms g101 and g101 ′ are the clock signal GPSPPS, waveforms g102 and g102 ′ are the clock signal RTCPPS, and waveforms g103 and g103 ′ are the
図5(a)及び図5(b)に示すように、時刻t101において、制御部103は、RTC102をクロック信号RTCPPS(g102)の立ち上がりでリセットして校正する。その後、カウンタ105は、クロック信号RTCPPSの立ち上がりから、次のクロック信号RTCPPSの立ち上がりまでの期間(時刻t101〜t102、t102〜t103、t103〜t104、・・・)、発振器104が生成したクロック信号を用いてカウントする。
RTC校正後の時刻t103以降、制御部103は、GPS受信部101の電源をオフ状態になるように制御する。そして、アラーム信号により制御部103がスリープ状態から復帰した後、すなわち一定時間が経過した後、カウンタ105は、時刻t105において、クロック信号RTCPPSの立ち上がりから、カウントをリセットして再開する。制御部103は、GPS受信部101の電源をオン状態になるように制御する。
As shown in FIGS. 5A and 5B, at time t101, the
After time t103 after the RTC calibration, the
次に、正方向にタイミングがずれた場合を、図5(a)を用いて説明する。
時刻t106において、GPS受信部101は、航法メッセージs1からGPS時刻情報を抽出し、クロック信号GPSPPS(g101)の生成を再開する。この場合、クロック信号RTCPPSの校正後、一定時間が経過しているため、クロック信号GPSPPSの立ち上がり(時刻t106)に対して、クロック信号RTCPPSの立ち上がり(時刻t107)は、正方向のタイミング差が生じている。
時刻t108において、カウンタ105は、クロック信号GPSPPSの入力時の第1のカウンタ値(時刻t107から時刻t108までのカウント値)を保存する。
時刻t109において、カウンタ105は、クロック信号RTCPPSの入力時の第2のカウント値(時刻t107から時刻t109までのカウント値)を保存する。
カウンタ105は、第2のカウンタ値から第1のカウンタ値を減算してタイミング差を算出し、算出したタイミング差を示す値を制御部103に出力する。
Next, the case where the timing is shifted in the positive direction will be described with reference to FIG.
At time t106, the
At time t108, the
At time t109, the
The
次に、負方向にタイミングがずれた場合を、図5(b)を用いて説明する。
時刻t106’において、カウンタ105は、RTCPPSの入力のタイミングで、カウント値をリセットする。時刻t107’において、GPS受信部101は、クロック信号GPSPPS(g101’)の生成を再開する。この場合、クロック信号RTCPPSの校正後、一定時間が経過しているため、クロック信号GPSPPSの立ち上がり(時刻t107’)に対して、クロック信号RTCPPSの立ち上がり(時刻t106’)は、負方向のタイミング差が生じている。
時刻t108’において、カウンタ105は、RTCPPSの入力のタイミングで、カウント値をリセットする。次に、カウンタ105は、時刻t108’から、カウントを開始する。
時刻t109’において、カウンタ105は、クロック信号GPSPPSの入力時のカウンタ値(時刻t108’から時刻t109’までのカウント値)を、タイミング差を示す値として制御部103に出力する。
Next, the case where the timing is shifted in the negative direction will be described with reference to FIG.
At time t106 ′, the
At time t108 ′, the
At time t109 ′, the
制御部103は、カウンタ105が出力するタイミング差を、前回校正した時刻から現在までの経過時間で割り、クロック信号RTCPPSの誤差を算出する。
図5(a)及び図5(b)に示すように、時刻t110において、制御部103は、誤差が予め定められている値より大きいと判定したため、RTC102のクロック信号の生成開始タイミングをリセットすることでクロック信号RTCPPSを校正する。あるいは、制御部103は、RTC102に対して生成されるクロック信号の周波数を、誤差を軽減する方向に変化させるようにしてもよい。または、制御部103は、RTC102内の1秒を計時する図示しないカウンタの1秒分のカウント値を変化させるようにしてもよい。
時刻t111において、カウンタ105と制御部103は、クロック信号GPSPPSに対するクロック信号RTCPPSのタイミング差を算出し、このタイミング差から算出した誤差が予め定められている値より大きいか否かを判定する。この場合、制御部103は、RTC校正後のため誤差が予め定められている値より大きくないと判定する。
The
As shown in FIGS. 5A and 5B, at time t110, the
At time t111, the
以上のように、時刻制御部11は、航法メッセージs1からGPS時刻情報を抽出して、クロック信号RTCPPSを校正する。校正後、時刻制御部11は、クロック信号GPSPPSの代わりにクロック信号RTCPPSを計時情報として使用する。この計時情報を、定期的に校正するために、校正完了後、制御部103はRTC102に対してアラーム時間情報を設定する。制御部103は、このアラーム信号に基づき、RTC校正の処理動作を開始し、校正終了後、スリープ状態になるように制御する。このように、制御部103は、クロック信号RTCPPSの校正期間のみ、電源が定期的にオン状態になるように制御されるので、消費電力を削減することができる。また、GPS受信部101は、航法メッセージs1の受信期間のみ電源がオン状態になるように制御されるので、消費電力を削減することができる。この場合、GPS受信部101は、うるう秒に関する情報を、時刻制御部11が起動された初回および数日に一度取得してRAM106に記憶し、スリープ状態から復帰した後、RAM106に記憶されているうるう秒に関する情報を用いるようにした。このため、GPS受信部101は、スリープ復帰後は、航法メッセージs1を全て受信する必要がなく、GPS時刻情報のみ受信するようにすればよい。従って、図3の航法メッセージ取得待機期間t3〜t5と比較し、図4の航法メッセージ取得待機期間t12〜t17の方が短い。
また、以上のように校正したため、各子局10に記憶されている動作ログに記録されている時刻の精度が高くなっている。この結果、親局20は、この動作ログをテレメータシステム1の動作を確認する場合等に活用することが可能になる。例えば、各子局10から送信データが送信されない場合や送信データが適切ではない場合など、親局20は、その子局10の動作ログを取得して検証することで子局10の動作を調査することができる。
As described above, the
In addition, since the calibration is performed as described above, the accuracy of the time recorded in the operation log stored in each
なお、本実施形態では、タイミング差を、前回校正した時刻から現在までの経過時間で割り、クロック信号RTCPPSの誤差を算出する例を説明したが、クロック信号RTCPPSとクロック信号GPSPPSのタイミング差を算出し、算出した値が予め定めた値より大きいか否かにより校正を行うようにしてもよい。 In this embodiment, the timing difference is divided by the elapsed time from the previous calibration time to the present time to calculate the error of the clock signal RTCPPS. However, the timing difference between the clock signal RTCPPS and the clock signal GPSPPS is calculated. Then, calibration may be performed depending on whether or not the calculated value is larger than a predetermined value.
なお、本実施形態では、制御部103は、GPS受信部101が航法メッセージs1を受信した後(図3、時刻t5)、クロック信号RTCPPS数クロック分後(図3、時刻t6)にRTC102のクロック信号の生成開始タイミングをリセットして校正する例を説明したがこれに限られない。例えば、図3において、時刻t5とt6の間のクロック信号GPSPPSの立ち上がりで、RTC102のクロック信号の生成開始タイミングをリセットするにしてもよい。また、制御部103は、クロック信号GPSPPSの立ち上がりではなく、立ち下がりでリセットを行うようにしてもよい。
また、本実施形態では、カウンタ105が、クロック信号RTCPPSとクロック信号GPSPPSの各クロック数をカウントする例を説明したが、クロック信号RTCPPS用のカウンタ及びクロック信号GPSPPS用のカウンタを備えるようにし、制御部103がこれらのカウント数の誤差を算出するようにしてもよい。
In this embodiment, the
In this embodiment, the
10、10−1〜10−n・・・子局、20・・・親局、30・・・GPS衛星、11・・・時刻制御部、101・・・GPS受信部、102・・・RTC、103・・・制御部、104・・・発振器、105・・・カウンタ、106・・・RAM、107・・・バックアップ電源部 10, 10-1 to 10-n ... Slave station, 20 ... Master station, 30 ... GPS satellite, 11 ... Time controller, 101 ... GPS receiver, 102 ... RTC , 103 ... Control unit, 104 ... Oscillator, 105 ... Counter, 106 ... RAM, 107 ... Backup power supply unit
Claims (5)
第2クロック信号を生成する第2クロック生成部と、
前記第1クロック信号と前記第2クロック信号との誤差を検出する誤差検出部と、
前記誤差検出部が検出した誤差が予め定められている値より大きい場合、前記第2クロック生成部が生成する第2クロック信号を調整する制御部と、
を備えることを特徴としている時刻制御装置。 A first clock generator for receiving information from a satellite and generating a first clock signal based on the received information;
A second clock generator for generating a second clock signal;
An error detector for detecting an error between the first clock signal and the second clock signal;
A control unit that adjusts a second clock signal generated by the second clock generation unit when the error detected by the error detection unit is larger than a predetermined value;
A time control device comprising:
前記第2クロック信号を調整した後、前記第1クロック生成部に対して衛星からの情報の受信を停止するように制御し、当該制御部をスリープ状態に制御する
ことを特徴とする請求項1に記載の時刻制御装置。 The controller is
2. After adjusting the second clock signal, the first clock generation unit is controlled to stop receiving information from a satellite, and the control unit is controlled to be in a sleep state. The time control device described in 1.
前記第2クロック信号を調整した後、予め定められている時間が経過した後、前記制御部を起動するアラーム信号を出力し、
前記制御部は、
前記第2クロック生成部が出力する前記アラーム信号に応じて、当該制御部をスリープ状態から復帰し、前記第1クロック生成部に対して衛星からの情報の受信を開始するように制御する
ことを特徴とする請求項1または請求項2に記載の時刻制御装置。 The second clock generator is
After adjusting the second clock signal, after a predetermined time has elapsed, an alarm signal for starting the control unit is output,
The controller is
In response to the alarm signal output from the second clock generation unit, the control unit is returned from the sleep state, and the first clock generation unit is controlled to start receiving information from a satellite. The time control apparatus according to claim 1 or 2, characterized in that
前記誤差検出部が検出した誤差が予め定められている値より大きい場合、
前記第2クロック信号の生成開始タイミングをリセットして調整すること、前記第2クロック生成部の内部クロック周波数を変化させて調整すること、前記第2クロック生成部の1秒を計時する計時部の1秒分のカウント値を変化させて調整の少なくとも1つにより前記第2クロック信号を調整する
ことを特徴とする請求項1から請求項3のいずれか1項に記載の時刻制御装置。 The controller is
When the error detected by the error detection unit is larger than a predetermined value,
Resetting and adjusting the generation start timing of the second clock signal; adjusting by changing the internal clock frequency of the second clock generation unit; and a timing unit for timing one second of the second clock generation unit 4. The time control device according to claim 1, wherein the second clock signal is adjusted by at least one of adjustments by changing a count value for one second. 5.
第1クロック生成部が、衛星から情報を受信し、受信した前記情報に基づき第1クロック信号を生成する第1クロック生成手順と、
第2クロック生成部が、第2クロック信号を生成する第2クロック生成手順と、
誤差検出部が、前記第1クロック信号と前記第2クロック信号との誤差を検出する誤差検出手順と、
制御部が、前記誤差検出手順で検出された誤差が予め定められている値より大きい場合、前記第2クロック生成部が生成する第2クロック信号を調整する手順と、
を含むことを特徴とする時刻制御方法。 A time control method in a time control device,
A first clock generation unit that receives information from a satellite and generates a first clock signal based on the received information;
A second clock generation procedure in which a second clock generation unit generates a second clock signal;
An error detection procedure in which an error detection unit detects an error between the first clock signal and the second clock signal;
A procedure for the controller to adjust the second clock signal generated by the second clock generator when the error detected in the error detection procedure is greater than a predetermined value;
The time control method characterized by including.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011193817A JP2013055588A (en) | 2011-09-06 | 2011-09-06 | Time adjustment device and time adjustment method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011193817A JP2013055588A (en) | 2011-09-06 | 2011-09-06 | Time adjustment device and time adjustment method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2013055588A true JP2013055588A (en) | 2013-03-21 |
Family
ID=48132186
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2011193817A Pending JP2013055588A (en) | 2011-09-06 | 2011-09-06 | Time adjustment device and time adjustment method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2013055588A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104753497A (en) * | 2014-04-29 | 2015-07-01 | 许继电气股份有限公司 | Method and device for correcting OSCPPS |
| KR101977959B1 (en) * | 2017-12-04 | 2019-05-13 | 현대오트론 주식회사 | An Apparatus and a Method For Providing Real Time Clock For Vehicles |
| JP2019115036A (en) * | 2017-12-21 | 2019-07-11 | スティヒティング・イメック・ネーデルラントStichting IMEC Nederland | Transceiver device with real-time clock |
| JP2022075736A (en) * | 2014-12-08 | 2022-05-18 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ | Transmission method, reception method, transmission device and reception device |
| US11567529B2 (en) | 2019-12-25 | 2023-01-31 | Seiko Epson Corporation | Real-time clock device and electronic apparatus |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH1082875A (en) * | 1996-09-09 | 1998-03-31 | Furuno Electric Co Ltd | Electronic watch and clocking content correcting method |
| JP2005508005A (en) * | 2001-10-30 | 2005-03-24 | サーフ テクノロジー インコーポレイテッド | A calibrated real-time clock that captures GPS signals during low-power operation |
| JP2006177680A (en) * | 2004-12-20 | 2006-07-06 | Furuno Electric Co Ltd | Positioning signal receiver |
-
2011
- 2011-09-06 JP JP2011193817A patent/JP2013055588A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH1082875A (en) * | 1996-09-09 | 1998-03-31 | Furuno Electric Co Ltd | Electronic watch and clocking content correcting method |
| JP2005508005A (en) * | 2001-10-30 | 2005-03-24 | サーフ テクノロジー インコーポレイテッド | A calibrated real-time clock that captures GPS signals during low-power operation |
| JP2006177680A (en) * | 2004-12-20 | 2006-07-06 | Furuno Electric Co Ltd | Positioning signal receiver |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104753497A (en) * | 2014-04-29 | 2015-07-01 | 许继电气股份有限公司 | Method and device for correcting OSCPPS |
| CN104753497B (en) * | 2014-04-29 | 2017-05-24 | 许继电气股份有限公司 | Method and device for correcting OSCPPS |
| JP2022075736A (en) * | 2014-12-08 | 2022-05-18 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ | Transmission method, reception method, transmission device and reception device |
| JP7295293B2 (en) | 2014-12-08 | 2023-06-20 | パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカ | Transmission method, reception method, transmission device and reception device |
| KR101977959B1 (en) * | 2017-12-04 | 2019-05-13 | 현대오트론 주식회사 | An Apparatus and a Method For Providing Real Time Clock For Vehicles |
| JP2019115036A (en) * | 2017-12-21 | 2019-07-11 | スティヒティング・イメック・ネーデルラントStichting IMEC Nederland | Transceiver device with real-time clock |
| US11567529B2 (en) | 2019-12-25 | 2023-01-31 | Seiko Epson Corporation | Real-time clock device and electronic apparatus |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8384590B2 (en) | System and method for time synchronization | |
| US11747484B2 (en) | Electronic timepiece, information update control method and storage medium | |
| JP4600480B2 (en) | Electronic clock | |
| JP3168099U (en) | Clock using GPS time | |
| US20100034190A1 (en) | Apparatus for wireless communication and method for synchronizing time thereof | |
| JP5030001B2 (en) | Time synchronization apparatus and time synchronization method | |
| JP2013055588A (en) | Time adjustment device and time adjustment method | |
| US20130038358A1 (en) | Wireless sensor node and method | |
| US20150025831A1 (en) | Dynamically updating a time interval of a gps | |
| CN113341685A (en) | Satellite time management method, electronic device and medium | |
| JP5968609B2 (en) | Telemeter system and telemeter system control method | |
| US20230063308A1 (en) | Electronic timepiece and information acquisition method | |
| JP2018142860A (en) | Information acquisition method, radio communication device, electronic watch, and program | |
| JP6898903B2 (en) | Transceiver with real-time clock | |
| JP6451666B2 (en) | Communication device, electronic timepiece, communication method, and program | |
| JP5250468B2 (en) | Server device, date and time generation device, and date and time generation system | |
| US11550269B2 (en) | Electronic timepiece, information update control method and storage medium | |
| JP2015068777A (en) | GPS receiver, electronic timepiece, control method, and program | |
| CN201408333Y (en) | Time token using GPS to conduct clock calibration | |
| JP5821324B2 (en) | Time error detection apparatus and method | |
| CN114815571B (en) | Method and system for measuring satellite-ground time difference, storage medium and electronic equipment | |
| JP2009036673A (en) | Time correction device, time measuring device with time correction device, and time correction method | |
| CN201302608Y (en) | GNSS monitoring device | |
| CN201352258Y (en) | GNSS monitoring device and clock module | |
| KR101037665B1 (en) | GPS time synchronization system and time synchronization method using same |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140829 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20150515 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20150602 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20151020 |