JP5114936B2 - Clock device and leap second correction method - Google Patents

Clock device and leap second correction method Download PDF

Info

Publication number
JP5114936B2
JP5114936B2 JP2006333212A JP2006333212A JP5114936B2 JP 5114936 B2 JP5114936 B2 JP 5114936B2 JP 2006333212 A JP2006333212 A JP 2006333212A JP 2006333212 A JP2006333212 A JP 2006333212A JP 5114936 B2 JP5114936 B2 JP 5114936B2
Authority
JP
Japan
Prior art keywords
leap
time
reception
data
reception timing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2006333212A
Other languages
Japanese (ja)
Other versions
JP2008145287A (en
Inventor
信裕 青木
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2006333212A priority Critical patent/JP5114936B2/en
Publication of JP2008145287A publication Critical patent/JP2008145287A/en
Application granted granted Critical
Publication of JP5114936B2 publication Critical patent/JP5114936B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electric Clocks (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Description

本発明は、時計装置及び閏秒補正方法に関する。   The present invention relates to a timepiece device and a leap second correction method.

従来、GPS(Global Positioning System)衛星からGPS信号を受信して自機の位置計測を行うGPS機器があった。GPS衛星から送信されるGPS信号には、C/Aコード(Coarse/Acquisition code)が含まれる。C/Aコードには、GPS衛星の軌道を示す航法データ(航法メッセージ)が含まれる。   Conventionally, there has been a GPS device that receives a GPS signal from a GPS (Global Positioning System) satellite and measures its own position. A GPS signal transmitted from a GPS satellite includes a C / A code (Coarse / Acquisition code). The C / A code includes navigation data (navigation message) indicating the orbit of the GPS satellite.

C/Aコードは、28個のGPS衛星にそれぞれ異なる値が割り当てられたコードである。したがって、GPS機器側で、受信したいGPS衛星のC/Aコードと、複数同時に受信したGPS信号中のC/Aコードとを照合することにより、GPS衛星を選択してGPS信号を受信できる。また、GPS機器は、現在時刻を計時してその現在時刻データ(以下、内部時刻データという)を出力する時計部を備える。   The C / A code is a code in which different values are assigned to 28 GPS satellites. Therefore, the GPS device can select the GPS satellite and receive the GPS signal by collating the C / A code of the GPS satellite to be received with the C / A codes in the GPS signals received simultaneously. The GPS device also includes a clock unit that measures the current time and outputs the current time data (hereinafter referred to as internal time data).

GPS受信機は、受信可能なGPS衛星から3又は4つのGPS衛星を選択し、それら選択したGPS衛星から受信するGPS信号の航法データと、内部時刻データと、に基づいて自機の位置を測定する。   The GPS receiver selects three or four GPS satellites from receivable GPS satellites, and measures the position of the own aircraft based on the navigation data of the GPS signals received from the selected GPS satellites and the internal time data To do.

また、航法データには、送信元のGPS衛星に搭載された原子時計の正確な時刻情報が含まれる。   In addition, the navigation data includes accurate time information of an atomic clock mounted on the transmission source GPS satellite.

この航法データに含まれる時刻情報を利用して、GPS機器の内部時刻を修正する技術が考えられている。また、航法データに含まれる閏秒の補正に関する閏秒補正データを利用して、GPS機器の計時部の閏秒補正を行う構成が考えられている(例えば、特許文献1、2参照)。   A technique for correcting the internal time of the GPS device using time information included in the navigation data is considered. In addition, a configuration has been considered in which leap second correction data for leap seconds included in the navigation data is used to correct leap second correction of the timekeeping unit of the GPS device (see, for example, Patent Documents 1 and 2).

具体的には、GPS機器は、受信した航法データ等に基づいて自機器の位置情報を算出する際に、航法データ中の時刻情報に基づき現在の時刻修正情報も算出して計時部の内部時刻データを修正し、その際受信した航法データ中の閏秒補正データに基づき閏秒補正していた。但し、GPS機能付電子時計等の携帯機器では、電池の消耗を考慮し、連続で計測できる時間の制限や一回測位したら計測停止など、常に連続でGPS衛星からの情報を取得できるものではなかった。
特開2002−365385号公報 特開2001−228271号公報
Specifically, when the GPS device calculates the position information of its own device based on the received navigation data, the GPS device also calculates the current time correction information based on the time information in the navigation data, The data was corrected and the leap second was corrected based on the leap second correction data in the received navigation data. However, in portable devices such as electronic watches with GPS function, it is not always possible to continuously acquire information from GPS satellites, such as limiting the time that can be measured continuously, or stopping measurement after positioning once, considering battery consumption. It was.
JP 2002-365385 A JP 2001-228271 A

しかし、従来のGPS機能付電子時計は、上述したように電池の消耗を考慮したGPS計測時間の制限があるため、GPS衛星から12.5分に一度だけ送信される閏秒補正データを確実に受信できるものではなく、閏秒が挿入された場合にこの閏秒補正データが受信できなかった場合は、閏秒が挿入された秒だけ計時部の内部時刻データがずれてしまうという問題があった。   However, since the conventional electronic timepiece with GPS function has a limitation on the GPS measurement time in consideration of battery consumption as described above, the leap second correction data transmitted only once every 12.5 minutes from the GPS satellite is surely obtained. If the leap second correction data could not be received when the leap second was inserted instead of being able to be received, there was a problem that the internal time data of the timekeeping part was shifted by the second when the leap second was inserted. .

本発明の課題は、閏秒補正データを確実に受信して閏秒を補正することである。   An object of the present invention is to reliably receive leap second correction data and correct leap seconds.

上記課題を解決するために、本発明の時計装置は、
現在時刻を計時し内部時刻データとして保持する計時手段と、
GPS衛星から送信された航法データを受信する受信手段と、
この受信手段により受信された航法データの中からサブフレーム及びページの各識別情報と時刻情報とを取得する第1の取得手段と、
この第1の取得手段により取得されたサブフレーム及びページの各識別情報と時刻情報とから、当該サブフレーム以降のサブフレームに含まれる閏秒補正データを受信するまでの時間を算出する受信時間算出手段と、
前記受信時間算出手段は、
サブフレーム及びページの各識別情報を用いて受信タイミング値を算出する受信タイミング値算出手段と、
前記受信タイミング値が所定時間未満であるか否かを判別する受信タイミング値判別手段と、
前記受信タイミング値が所定時間未満である場合、受信タイミング値に航法データの全フレームを受信するのに必要な時間を加算して受信タイミング値を更新し、更新した受信タイミング値と時刻情報とから、閏秒補正データを受信するまでの時間を設定する第1設定手段と、
前記受信タイミング値が所定時間未満でない場合、受信タイミング値と時刻情報とから、閏秒補正データを受信するまでの時間を設定する第2設定手段と、を有し、
この受信時間算出手段により算出された閏秒補正データを受信するまでの時間に基づいて、当該閏秒補正データを受信する受信タイミングになったか否かを判別する受信タイミング判別手段と、
この受信タイミング判別手段により前記閏秒補正データを受信するタイミングとなったと判別された場合に、前記受信手段に航法データを受信させ、当該受信された航法データ中のサブフレームに含まれている閏秒補正データを取得する第2の取得手段と、
前記第2の取得手段により取得された閏秒補正データに基づいて、前記計時手段の内部時刻データの閏秒を補正する閏秒補正制御手段と、
を備えることを特徴とする。
In order to solve the above problems, the timepiece device of the present invention includes:
A timekeeping means that keeps the current time as internal time data ,
Receiving means for receiving navigation data transmitted from a GPS satellite ;
First acquisition means for acquiring each subframe and page identification information and time information from the navigation data received by the reception means ;
Receiving time calculation for calculating the time until receiving leap second correction data included in the subframes after the subframe from the identification information and time information of the subframe and page acquired by the first acquisition unit Means,
The reception time calculating means includes
A reception timing value calculating means for calculating a reception timing value using each identification information of a subframe and a page;
Reception timing value determination means for determining whether or not the reception timing value is less than a predetermined time;
When the reception timing value is less than a predetermined time, the reception timing value is updated by adding the time necessary to receive all the frames of the navigation data to the reception timing value, and from the updated reception timing value and time information First setting means for setting a time until receiving leap second correction data;
If the reception timing value is not less than a predetermined time, the second setting means for setting the time until reception of leap second correction data from the reception timing value and time information,
Based on the time until receiving the leap second correction data calculated by the reception time calculation means, a reception timing determination means for determining whether or not the reception timing for receiving the leap second correction data is reached ;
When it is determined by the reception timing determination means that it is time to receive the leap second correction data, the reception means receives the navigation data, and the reception data is included in the subframe included in the received navigation data. A second acquisition means for acquiring second correction data ;
Leap second correction control means for correcting the leap second of the internal time data of the time measuring means based on the leap second correction data acquired by the second acquisition means ;
It is characterized by providing.

本発明の時計装置は、
現在時刻を計時し内部時刻データとして保持する計時手段と、
GPS衛星から送信された航法データを受信する受信手段と、
この受信手段により受信された航法データの中からサブフレーム及びページの各識別情報と時刻情報とを取得する第1の取得手段と、
この第1の取得手段により取得されたサブフレーム及びページの各識別情報と時刻情報とに基づいて、他のサブフレームに含まれている閏秒補正データの取得すべきタイミングを閏秒補正データ取得タイミングとして算出する取得タイミング算出手段と、
前記取得タイミング算出手段は、
サブフレーム及びページの各識別情報を用いて受信タイミング値を算出する受信タイミング値算出手段と、
前記受信タイミング値が所定時間未満であるか否かを判別する受信タイミング値判別手段と、
前記受信タイミング値が所定時間未満である場合、受信タイミング値に航法データの全フレームを受信するのに必要な時間を加算して受信タイミング値を更新し、更新した受信タイミング値と時刻情報とに基づいて、閏秒補正データ取得タイミングを設定する第1設定手段と、
前記受信タイミング値が所定時間未満でない場合、受信タイミング値と時刻情報とに基づいて、閏秒補正データ取得タイミングを設定する第2設定手段と、を有し、
この取得タイミング算出手段により算出された閏秒補正データ取得タイミングに至る直前に、前記受信手段に航法データを受信させ、当該受信された航法データ中のサブフレームに含まれている閏秒補正データを取得する第2の取得手段と、
この第2の取得手段により取得された閏秒補正データに基づいて、前記計時手段の内部時刻データの閏秒の補正を行う閏秒補正制御手段と、
を備えることを特徴とする。
The timepiece device of the present invention includes:
A timekeeping means that keeps the current time as internal time data,
Receiving means for receiving navigation data transmitted from a GPS satellite;
First acquisition means for acquiring each subframe and page identification information and time information from the navigation data received by the reception means;
Based on the identification information and time information of the subframe and page acquired by the first acquisition means, the leap second correction data acquisition timing of the leap second correction data included in the other subframe is acquired. Acquisition timing calculation means for calculating as timing ;
The acquisition timing calculation means includes
A reception timing value calculating means for calculating a reception timing value using each identification information of a subframe and a page;
Reception timing value determination means for determining whether or not the reception timing value is less than a predetermined time;
When the reception timing value is less than a predetermined time, the reception timing value is updated by adding the time necessary to receive all the frames of the navigation data to the reception timing value, and the updated reception timing value and time information are obtained. A first setting means for setting the leap second correction data acquisition timing based on:
A second setting means for setting the leap second correction data acquisition timing based on the reception timing value and the time information when the reception timing value is not less than a predetermined time;
Immediately before reaching the leap second correction data acquisition timing calculated by the acquisition timing calculation means, the reception means receives the navigation data, and the leap second correction data included in the subframe in the received navigation data is received. A second acquisition means for acquiring ;
Leap second correction control means for correcting leap seconds of the internal time data of the time measuring means based on the leap second correction data acquired by the second acquisition means;
It is characterized by providing.

本発明の時計装置は、
現在時刻を計時し内部時刻データとして保持する計時手段と、
GPS衛星から送信された航法データを受信する受信手段と、
この受信手段により受信された航法データの中からサブフレーム及びページの各識別情報と時刻情報とを取得する第1の取得手段と、
この第1の取得手段により取得されたサブフレーム及びページの各識別情報と時刻情報とから、当該サブフレーム以降のサブフレームに含まれる閏秒補正データを受信するまでの時間を算出する受信時間算出手段と、
前記受信時間算出手段は、
サブフレーム及びページの各識別情報を用いて受信タイミング値を算出する受信タイミング値算出手段と、
前記受信タイミング値が所定時間未満であるか否かを判別する受信タイミング値判別手段と、
前記受信タイミング値が所定時間未満である場合、受信タイミング値に航法データの全フレームを受信するのに必要な時間を加算して受信タイミング値を更新し、更新した受信タイミング値と時刻情報とから、閏秒補正データを受信するまでの時間を設定する第1設定手段と、
前記受信タイミング値が所定時間未満でない場合、受信タイミング値と時刻情報とから、閏秒補正データを受信するまでの時間を設定する第2設定手段と、を有し、
前記計時手段の内部時刻データで示される時間が、予め設定された閏秒補正データを受信する設定タイミングになったか否かを判別する設定タイミング判別手段と、
この設定タイミング判別手段により前記閏秒補正データを受信する設定タイミングとなったと判別された場合に、前記受信手段に航法データを受信させ、当該受信された航法データ中のサブフレームに含まれている閏秒補正データを取得する第2の取得手段と、
前記第2の取得手段により取得された閏秒補正データに基づいて、前記計時手段の内部時刻データの閏秒を補正する閏秒補正制御手段と、
を備えることを特徴とする。
The timepiece device of the present invention includes:
A timekeeping means that keeps the current time as internal time data,
Receiving means for receiving navigation data transmitted from a GPS satellite;
First acquisition means for acquiring each subframe and page identification information and time information from the navigation data received by the reception means;
Receiving time calculation for calculating the time until receiving leap second correction data included in the subframes after the subframe from the identification information and time information of the subframe and page acquired by the first acquisition unit Means,
The reception time calculating means includes
A reception timing value calculating means for calculating a reception timing value using each identification information of a subframe and a page;
Reception timing value determination means for determining whether or not the reception timing value is less than a predetermined time;
When the reception timing value is less than a predetermined time, the reception timing value is updated by adding the time necessary to receive all the frames of the navigation data to the reception timing value, and from the updated reception timing value and time information First setting means for setting a time until receiving leap second correction data;
If the reception timing value is not less than a predetermined time, the second setting means for setting the time until reception of leap second correction data from the reception timing value and time information,
A setting timing discriminating means for discriminating whether or not the time indicated by the internal time data of the time measuring means has reached a setting timing for receiving preset leap second correction data;
When it is determined by the setting timing determining means that the setting timing for receiving the leap second correction data has been reached, the receiving means receives the navigation data and is included in the subframe in the received navigation data. A second acquisition means for acquiring leap second correction data;
Leap second correction control means for correcting the leap second of the internal time data of the time measuring means based on the leap second correction data acquired by the second acquisition means;
It is characterized by providing.

本発明の閏秒補正方法は、
GPS衛星から送信された航法データを受信する第1の受信工程と、
この第1の受信工程において受信された航法データの中からサブフレーム及びページの各識別情報と時刻情報とを取得する第1の取得工程と、
この第1の取得工程において取得されたサブフレーム及びページの各識別情報と時刻情報とから、当該サブフレーム以降のサブフレームに含まれる閏秒補正データを受信するまでの時間を算出する受信時間算出工程と、
前記受信時間算出工程は、
サブフレーム及びページの各識別情報を用いて受信タイミング値を算出する受信タイミング値算出工程と、
前記受信タイミング値が所定時間未満であるか否かを判別する受信タイミング値判別工程と、
前記受信タイミング値が所定時間未満である場合、受信タイミング値に航法データの全フレームを受信するのに必要な時間を加算して受信タイミング値を更新し、更新した受信タイミング値と時刻情報とから、閏秒補正データを受信するまでの時間を設定する第1設定工程と、
前記受信タイミング値が所定時間未満でない場合、受信タイミング値と時刻情報とから、閏秒補正データを受信するまでの時間を設定する第2設定工程と、を有し、
この受信時間算出工程において算出された閏秒補正データを受信するまでの時間に基づいて、当該閏秒補正データを受信する受信タイミングになったか否かを判別する受信タイミング判別工程と、
この受信タイミング判別工程において前記閏秒補正データを受信するタイミングとなったと判別された場合に、航法データを受信する第2の受信工程と、
この第2の受信工程において受信された航法データ中のサブフレームに含まれている閏秒補正データを取得する第2の取得工程と、
この第2の取得工程において取得された閏秒補正データに基づいて、現在時刻を計時し内部時刻データとして保持する計時手段の内部時刻データの閏秒を補正する閏秒補正制御工程と、
を含むことを特徴とする。
The leap second correction method of the present invention includes:
A first receiving step of receiving navigation data transmitted from a GPS satellite;
A first acquisition step of acquiring identification information and time information of each subframe and page from the navigation data received in the first reception step;
Receiving time calculation for calculating the time taken to receive leap second correction data included in subframes after the subframe from the identification information and time information of the subframe and page acquired in the first acquisition step. Process ,
The reception time calculating step includes
A reception timing value calculating step of calculating a reception timing value using identification information of each subframe and page;
A reception timing value determination step of determining whether or not the reception timing value is less than a predetermined time;
When the reception timing value is less than a predetermined time, the reception timing value is updated by adding the time necessary to receive all the frames of the navigation data to the reception timing value, and from the updated reception timing value and time information A first setting step of setting a time until receiving leap second correction data;
If the reception timing value is not less than a predetermined time, a second setting step of setting a time until reception of leap second correction data from the reception timing value and time information,
A reception timing determination step for determining whether it is a reception timing for receiving the leap second correction data, based on the time until the leap second correction data calculated in the reception time calculation step is received;
A second reception step of receiving navigation data when it is determined that the timing for receiving the leap second correction data is reached in this reception timing determination step;
A second acquisition step of acquiring leap second correction data included in the subframe in the navigation data received in the second reception step;
Based on the leap second correction data acquired in the second acquisition step, the leap second correction control step of correcting the leap second of the internal time data of the time measuring means that measures the current time and holds it as internal time data;
It is characterized by including.

本発明の閏秒補正方法は、
GPS衛星から送信された航法データを受信する第1の受信工程と、
この第1の受信工程において受信された航法データの中からサブフレーム及びページの各識別情報と時刻情報とを取得する第1の取得工程と、
この第1の取得工程において取得されたサブフレーム及びページの各識別情報と時刻情報とに基づいて、他のサブフレームに含まれている閏秒補正データの取得すべきタイミングを閏秒補正データ取得タイミングとして算出する取得タイミング算出工程と、
前記取得タイミング算出工程は、
サブフレーム及びページの各識別情報を用いて受信タイミング値を算出する受信タイミング値算出工程と、
前記受信タイミング値が所定時間未満であるか否かを判別する受信タイミング値判別工程と、
前記受信タイミング値が所定時間未満である場合、受信タイミング値に航法データの全フレームを受信するのに必要な時間を加算して受信タイミング値を更新し、更新した受信タイミング値と時刻情報とに基づいて、閏秒補正データ取得タイミングを設定する第1設定工程と、
前記受信タイミング値が所定時間未満でない場合、受信タイミング値と時刻情報とに基づいて、閏秒補正データ取得タイミングを設定する第2設定工程と、を有し、
この取得タイミング算出工程において算出された閏秒補正データ取得タイミングに至る直前に、航法データを受信する第2の受信工程と、
この第2の受信工程において受信された航法データ中のサブフレームに含まれている閏秒補正データを取得する第2の取得工程と、
この第2の取得工程において取得された閏秒補正データに基づいて、現在時刻を計時し内部時刻データとして保持する計時手段の内部時刻データの閏秒の補正を行う閏秒補正制御工程と、
を含むことを特徴とする。
The leap second correction method of the present invention includes:
A first receiving step of receiving navigation data transmitted from a GPS satellite;
A first acquisition step of acquiring identification information and time information of each subframe and page from the navigation data received in the first reception step;
Based on the identification information and time information of each subframe and page acquired in the first acquisition step, the leap second correction data acquisition timing for acquiring leap second correction data included in other subframes is acquired. An acquisition timing calculation step to calculate as timing ;
The acquisition timing calculation step includes
A reception timing value calculating step of calculating a reception timing value using identification information of each subframe and page;
A reception timing value determination step of determining whether or not the reception timing value is less than a predetermined time;
When the reception timing value is less than a predetermined time, the reception timing value is updated by adding the time necessary to receive all the frames of the navigation data to the reception timing value, and the updated reception timing value and time information are obtained. A first setting step for setting the leap second correction data acquisition timing based on:
A second setting step for setting a leap second correction data acquisition timing based on the reception timing value and the time information when the reception timing value is not less than a predetermined time; and
A second reception step of receiving navigation data immediately before reaching the leap second correction data acquisition timing calculated in the acquisition timing calculation step;
A second acquisition step of acquiring leap second correction data included in the subframe in the navigation data received in the second reception step;
Based on the leap second correction data acquired in the second acquisition step, the leap second correction control step of correcting the leap second of the internal time data of the clock means that measures the current time and holds it as internal time data;
It is characterized by including.

本発明の閏秒補正方法は、
GPS衛星から送信された航法データを受信する第1の受信工程と、
この第1の受信工程により受信された航法データの中からサブフレーム及びページの各識別情報と時刻情報とを取得する第1の取得工程と、
この第1の取得工程により取得されたサブフレーム及びページの各識別情報と時刻情報とから、当該サブフレーム以降のサブフレームに含まれる閏秒補正データを受信するまでの時間を算出する受信時間算出工程と、
前記受信時間算出工程は、
サブフレーム及びページの各識別情報を用いて受信タイミング値を算出する受信タイミング値算出工程と、
前記受信タイミング値が所定時間未満であるか否かを判別する受信タイミング値判別工程と、
前記受信タイミング値が所定時間未満である場合、受信タイミング値に航法データの全フレームを受信するのに必要な時間を加算して受信タイミング値を更新し、更新した受信タイミング値と時刻情報とから、閏秒補正データを受信するまでの時間を設定する第1設定工程と、
前記受信タイミング値が所定時間未満でない場合、受信タイミング値と時刻情報とから、閏秒補正データを受信するまでの時間を設定する第2設定工程と、を有し、
現在時刻を計時し内部時刻データとして保持する計時手段の内部時刻データで示される時間が、予め設定された閏秒補正データを受信する設定タイミングになったか否かを判別する設定タイミング判別工程と、
この設定タイミング判別工程において前記閏秒補正データを受信する設定タイミングとなったと判別された場合に、航法データを受信する第2の受信工程と、
この第2の受信工程において受信された航法データ中のサブフレームに含まれている閏秒補正データを取得する第2の取得工程と、
前記第2の取得工程により取得された閏秒補正データに基づいて、前記計時手段の内部時刻データの閏秒を補正する閏秒補正制御工程と、
を含むことを特徴とする。
The leap second correction method of the present invention includes:
A first receiving step of receiving navigation data transmitted from a GPS satellite;
A first acquisition step of acquiring the identification information and time information of each subframe and page from the navigation data received by the first reception step;
Receiving time calculation for calculating the time from reception of leap second correction data included in subframes subsequent to the subframe from the identification information and time information of the subframe and page acquired in the first acquisition step. Process,
The reception time calculating step includes
A reception timing value calculating step of calculating a reception timing value using identification information of each subframe and page;
A reception timing value determination step of determining whether or not the reception timing value is less than a predetermined time;
When the reception timing value is less than a predetermined time, the reception timing value is updated by adding the time necessary to receive all the frames of the navigation data to the reception timing value, and from the updated reception timing value and time information A first setting step of setting a time until receiving leap second correction data;
If the reception timing value is not less than a predetermined time, a second setting step of setting a time until reception of leap second correction data from the reception timing value and time information,
A setting timing determination step for determining whether or not the time indicated by the internal time data of the time measuring means for measuring the current time and holding it as internal time data has reached a setting timing for receiving preset leap second correction data;
A second receiving step for receiving navigation data when it is determined that the setting timing for receiving the leap second correction data is reached in the setting timing determining step ;
A second acquisition step of acquiring leap second correction data included in the subframe in the navigation data received in the second reception step;
A leap second correction control step of correcting the leap second of the internal time data of the time measuring means based on the leap second correction data acquired by the second acquisition step;
It is characterized by including.

請求項1、10に記載の発明によれば、閏秒補正データの受信タイミングになったときに、閏秒補正データを確実に受信して閏秒を補正できる。   According to the first and tenth aspects of the present invention, when the reception timing of leap second correction data is reached, leap second correction data can be reliably received to correct leap seconds.

請求項2に記載の発明によれば、受信タイミングを容易に判別できる。 According to the second aspect of the present invention, the reception timing can be easily determined.

請求項3に記載の発明によれば、受信タイミングを容易に判別できる。 According to the third aspect of the present invention, the reception timing can be easily determined.

請求項4に記載の発明によれば、余裕をもって閏秒補正データを受信でき、閏秒補正データをより確実に受信できる。 According to the invention of claim 4, leap second correction data can be received with a margin, and leap second correction data can be received more reliably.

請求項5に記載の発明によれば、閏秒補正データを受信して取得することを繰り返すので、いつの閏秒補正データも漏らさず確実に取得できる。 According to the fifth aspect of the present invention, since receiving and acquiring leap second correction data is repeated, any leap second correction data can be reliably acquired without leaking.

請求項6、11に記載の発明によれば、閏秒補正データの受信タイミングの直前になったときに、閏秒補正データを確実に受信して閏秒を補正できる。 According to the sixth and eleventh aspects of the present invention, when the leap second correction data comes immediately before the reception timing of the leap second correction data, the leap second correction data can be reliably received and the leap second can be corrected.

請求項7、12に記載の発明によれば、設定タイミングになったときに閏秒補正データを受信するので、閏秒補正データを確実に受信して閏秒補正できるとともに、閏秒補正データ受信を行う回数を低減でき、消費電力を低減できる。 According to the seventh and twelfth aspects of the invention, since the leap second correction data is received at the set timing, the leap second correction data can be reliably received and the leap second correction data can be received. Can be reduced, and power consumption can be reduced.

請求項8に記載の発明によれば、閏秒補正を行う回数をさらに低減でき、消費電力をさらに低減できる。 According to the eighth aspect of the invention, the number of leap second corrections can be further reduced, and the power consumption can be further reduced.

請求項9に記載の発明によれば、補正タイミングになったときに閏秒補正を行うので、適切なタイミングで確実に閏秒を補正できる。 According to the ninth aspect of the invention, since the leap second correction is performed at the correction timing, the leap second can be reliably corrected at an appropriate timing.

以下、添付図面を参照して本発明に係る好適な第1及び第2の実施の形態を順に詳細に説明する。なお、本発明は、図示例に限定されるものではない。   Hereinafter, preferred first and second embodiments of the present invention will be described in detail with reference to the accompanying drawings. The present invention is not limited to the illustrated example.

(第1の実施の形態)
図1〜図5を参照して、本発明に係る第1の実施の形態を説明する。先ず、図1を参照して、本実施の形態の装置構成を説明する。図1に、本実施の形態の時計装置100の内部構成を示す。時計装置100は、GPS機能付電子時計であり、GPS衛星からGPS信号を受信して正確な現在時刻を計時及び表示する。
(First embodiment)
A first embodiment according to the present invention will be described with reference to FIGS. First, the apparatus configuration of the present embodiment will be described with reference to FIG. FIG. 1 shows an internal configuration of the timepiece device 100 according to the present embodiment. The timepiece device 100 is an electronic timepiece with a GPS function, receives a GPS signal from a GPS satellite, and measures and displays an accurate current time.

時計装置100は、CPU(Central Processing Unit)11と、表示駆動回路12と、表示部13と、ブザー回路14と、スピーカ15と、電池16と、アンテナ17aと、GPSモジュール17と、操作部18と、ROM(Read Only Memory)19と、記憶部20と、RAM(Random Access Memory)21と、照明駆動回路22と、照明部23と、計時部24と、を備えて構成される。計時部24は、発振回路25と、分周回路26と、計時計数回路27と、を備える。   The timepiece device 100 includes a CPU (Central Processing Unit) 11, a display drive circuit 12, a display unit 13, a buzzer circuit 14, a speaker 15, a battery 16, an antenna 17a, a GPS module 17, and an operation unit 18. A ROM (Read Only Memory) 19, a storage unit 20, a RAM (Random Access Memory) 21, an illumination drive circuit 22, an illumination unit 23, and a timer unit 24. The timer unit 24 includes an oscillation circuit 25, a frequency dividing circuit 26, and a clock count circuit 27.

CPU11は、ROM19に記憶されているシステムプログラム及び各種アプリケーションプログラムの中から指定されたプログラムをRAM21に展開し、RAM21に展開されたプログラムとの協働で、各種処理を実行する。   The CPU 11 expands a program designated from the system program and various application programs stored in the ROM 19 in the RAM 21 and executes various processes in cooperation with the program expanded in the RAM 21.

CPU11は、後述する第1の閏秒補正プログラムとの協働により、航法データの受信時に、閏秒補正データを受信するタイミングを示す閏秒補正データ取得タイミングTを算出し、その閏秒補正データ取得タイミングT−30秒になったときに、航法データを受信して閏秒補正データを取得し、閏秒挿入タイミングSになったときに、閏秒補正データを用いて閏秒補正を行う。   The CPU 11 calculates a leap second correction data acquisition timing T indicating the timing of receiving leap second correction data when receiving navigation data in cooperation with a first leap second correction program to be described later. When the acquisition timing T-30 seconds, navigation data is received and leap second correction data is acquired, and when leap second insertion timing S is reached, leap second correction is performed using leap second correction data.

表示駆動回路12は、CPU11から入力される表示信号に基づいて表示駆動信号を生成して表示部13に出力し、表示部13を表示駆動する。表示部13は、小型LCD(Liquid Crystal Display)、ELD(ElectroLuminescent Display)等により構成され、表示駆動回路12から入力される表示駆動信号に基づいて各種情報を表示する。表示部13は、例えば計時部24で計時する内部時刻データを現在時刻としてデジタル表示する。   The display drive circuit 12 generates a display drive signal based on the display signal input from the CPU 11 and outputs the display drive signal to the display unit 13 to drive the display unit 13 for display. The display unit 13 includes a small LCD (Liquid Crystal Display), an ELD (ElectroLuminescent Display), and the like, and displays various types of information based on a display drive signal input from the display drive circuit 12. For example, the display unit 13 digitally displays the internal time data measured by the time measuring unit 24 as the current time.

ブザー回路14は、CPU11から入力される制御信号に基づいてアラーム音等のブザー音の鳴音信号を生成してスピーカ15に出力し、スピーカ15に鳴音させる。スピーカ15は、ブザー回路14から入力される鳴音信号に基づいてブザー音を出力する。   The buzzer circuit 14 generates a buzzer sound signal such as an alarm sound based on a control signal input from the CPU 11, outputs it to the speaker 15, and causes the speaker 15 to sound. The speaker 15 outputs a buzzer sound based on the sound signal input from the buzzer circuit 14.

電池16は、CPU11等の時計装置100の各部に電力供給を行う。GPSモジュール17は、アンテナ17aを介して、時計装置100がGPS信号を受信可能な位置の(可視の)GPS衛星からGPS信号(航法データ)を、受信し、CPU11に出力する。航法データについては後述する。   The battery 16 supplies power to each part of the timepiece device 100 such as the CPU 11. The GPS module 17 receives a GPS signal (navigation data) from a (visible) GPS satellite at a position where the timepiece device 100 can receive a GPS signal via the antenna 17 a and outputs the GPS signal (navigation data) to the CPU 11. The navigation data will be described later.

操作部18は、各種ボタンを備え、操作者によるこの各種ボタンを介する各種操作入力の操作信号をCPU11に出力する。各種操作は、例えば、各種表示モードの変更、照明部23の発光等である。   The operation unit 18 includes various buttons, and outputs operation signals for various operation inputs made by the operator via the various buttons to the CPU 11. The various operations include, for example, changing various display modes, light emission of the illumination unit 23, and the like.

ROM19は、各種プログラム及びデータを記憶する読み出し専用のメモリである。記憶部20は、フラッシュメモリ等により構成され、各種データを読み書き可能に記憶する不揮発性のメモリである。RAM21は、各種プログラム及びデータを読み書き可能に記憶するワークエリアを有する揮発性のメモリである。ROM19、記憶部20、RAM21に記憶される具体的な情報は後述する。   The ROM 19 is a read-only memory that stores various programs and data. The storage unit 20 is configured by a flash memory or the like, and is a non-volatile memory that stores various data in a readable / writable manner. The RAM 21 is a volatile memory having a work area for storing various programs and data in a readable / writable manner. Specific information stored in the ROM 19, the storage unit 20, and the RAM 21 will be described later.

照明駆動回路22は、CPU11から入力される制御信号に基づいて照明駆動信号を生成して照明部23に出力し、照明部23を点灯させる。照明部23は、LED(Light Emitting Diode)、EL等の表示部13を照らす照明部であり、照明駆動回路22から入力される照明駆動信号に基づいて点灯する。   The illumination drive circuit 22 generates an illumination drive signal based on the control signal input from the CPU 11 and outputs the illumination drive signal to the illumination unit 23 to turn on the illumination unit 23. The illuminating unit 23 is an illuminating unit that illuminates the display unit 13 such as an LED (Light Emitting Diode) or an EL, and lights up based on an illumination drive signal input from the illumination drive circuit 22.

計時部24は、時計としての主たる機能である計時を行う回路群である。発振回路25は、例えば水晶発振器等にて構成され、常時一定周波数のクロック信号を分周回路26へ出力する回路である。分周回路26は、発振回路25から入力されるクロック信号を計数して、計数値が1分に対応する値になる度に、1分信号を計時計数回路27へ出力する回路である。計時計数回路27は、分周回路26から入力される1分信号に基づいて、当該日の日付や現在の時分秒等の内部時刻データを計数し保持する回路である。   The timekeeping unit 24 is a circuit group that performs timekeeping, which is a main function as a clock. The oscillation circuit 25 is configured by, for example, a crystal oscillator or the like, and is a circuit that outputs a clock signal having a constant frequency to the frequency dividing circuit 26 at all times. The frequency divider circuit 26 is a circuit that counts the clock signal input from the oscillation circuit 25 and outputs a one-minute signal to the clock count circuit 27 every time the count value becomes a value corresponding to one minute. The clock count circuit 27 is a circuit that counts and holds internal time data such as the date of the day and the current hour / minute / second based on the one-minute signal input from the frequency divider 26.

これらの構成により、計時部24は、内部時刻データにより示される現在の年月日時分秒の日付時刻を計時し得、この内部時刻データをCPU11に出力する。そして、この内部時刻データに基づき、CPU11が表示駆動回路12、表示部13を制御し、表示部13に現在時刻を表示する。   With these configurations, the timer unit 24 can count the date / time of the current year / month / day / hour / minute / second indicated by the internal time data, and outputs the internal time data to the CPU 11. Based on the internal time data, the CPU 11 controls the display drive circuit 12 and the display unit 13 to display the current time on the display unit 13.

次いで、図2を参照して、時計装置100において記憶する各種情報を説明する。図2(a)に、本実施の形態においてROM19に情報を記憶する記憶エリアを示す。図2(b)に、記憶部20に情報を記憶する記憶エリアを示す。図2(c)に、RAM21に情報を格納する格納エリアを示す。   Next, various types of information stored in the timepiece device 100 will be described with reference to FIG. FIG. 2A shows a storage area for storing information in the ROM 19 in the present embodiment. FIG. 2B shows a storage area for storing information in the storage unit 20. FIG. 2C shows a storage area for storing information in the RAM 21.

図2(a)に示すように、ROM19は、プログラムエリア191と、データエリア192と、を有する。プログラムエリア191には、第1の閏秒補正プログラム(データ)が記憶される。データエリア192には、閏秒補正データ取得タイミングT、閏秒挿入タイミングSを算出するための後述する式(1)、式(2)を示すデータが記憶されている。   As shown in FIG. 2A, the ROM 19 has a program area 191 and a data area 192. The program area 191 stores a first leap second correction program (data). The data area 192 stores data representing formulas (1) and (2), which will be described later, for calculating the leap second correction data acquisition timing T and the leap second insertion timing S.

図2(b)に示すように、記憶部20は、データエリア201〜203を有する。データエリア201には、全GPS衛星の軌道情報であるアルマナックデータが記憶される。データエリア202には、時刻情報を受信してから内部時刻データに反映させるまでの時間情報である内部処理時間が記憶される。アルマナックデータ及び内部処理時間は、時刻修正処理に用いられる情報である。データエリア203には、後述する閏秒補正データ取得タイミングTから余裕を持って閏秒補正データを受信させるための余裕時間が記憶される。余裕時間は、30秒として説明するが、これに限定されるものではなく、1分等、他の時間でもよい。   As illustrated in FIG. 2B, the storage unit 20 includes data areas 201 to 203. The data area 201 stores almanac data that is orbit information of all GPS satellites. The data area 202 stores an internal processing time that is time information from when the time information is received until the time information is reflected in the internal time data. Almanac data and internal processing time are information used for time correction processing. The data area 203 stores a margin time for receiving leap second correction data with a margin from a leap second correction data acquisition timing T described later. The margin time is described as 30 seconds, but is not limited to this, and may be another time such as one minute.

図2(c)に示すように、RAM21は、プログラムエリア211と、データエリア212〜217と、を有する。プログラムエリア211には、第1の閏秒補正プログラム(データ)が展開される。データエリア212には、受信した航法データ中の時刻情報が格納される。データエリア213には、受信した航法データ中のサブフレームのページ番号が格納される。データエリア214には、受信した航法データ中のサブフレーム番号が格納される。データエリア215には、算出された閏秒補正データ取得タイミングTが格納される。データエリア216には、受信した航法データ中の閏秒補正データが格納される。データエリア217には、算出された閏秒挿入タイミングが格納される。   As shown in FIG. 2C, the RAM 21 has a program area 211 and data areas 212 to 217. In the program area 211, the first leap second correction program (data) is developed. The data area 212 stores time information in the received navigation data. The data area 213 stores the page number of the subframe in the received navigation data. The data area 214 stores a subframe number in the received navigation data. The data area 215 stores the calculated leap second correction data acquisition timing T. The data area 216 stores leap second correction data in the received navigation data. The data area 217 stores the calculated leap second insertion timing.

次いで、図3及び図4を参照して、GPSの概要及び航法データの内容を説明する。   Next, the outline of GPS and the contents of navigation data will be described with reference to FIGS.

GPS全体システムのうち宇宙空間にある部分をスペースセグメント、地上部分をコントロールセグメント、そしてユーザ受信機をユーザセグメントと称する。GPS衛星はスペースセグメントに属する。GPS衛星は、静止衛星ではなく高度2万kmを周回し地球に対し刻々と位置変える。スペースセグメントとコントロールセグメントは米軍が開発、運営しているが、ユーザセグメントについてはユーザ側が設計、製造しなければならない。そのため、GPS衛星から送信される信号の仕様は詳細に規定され、文書が公開されている。この文書がインターフェースコントロールドキュメント(Interface Control Document:略称ICD)と名づけられる。このICDは版が更新されており、例えばその一つとしてGPS-ICD-200がある。   A part in the outer space of the entire GPS system is called a space segment, a ground part is called a control segment, and a user receiver is called a user segment. GPS satellites belong to the space segment. The GPS satellite is not a geostationary satellite, but orbits the altitude of 20,000 km and changes its position with respect to the earth. The space and control segments are developed and operated by the US military, but the user segment must be designed and manufactured by the user. Therefore, the specification of the signal transmitted from the GPS satellite is defined in detail and the document is made public. This document is named an Interface Control Document (abbreviated as ICD). The version of this ICD has been updated, for example, GPS-ICD-200.

現在、28機のGPS衛星から無線信号(GPS信号)が送信されている。GPS衛星が送信している無線信号の周波数は基本的には1575.42MHz(名称:L1波)であり、この周波数に民間用のC/Aコードと呼ばれる信号が乗せられている。   Currently, radio signals (GPS signals) are transmitted from 28 GPS satellites. The frequency of a radio signal transmitted by a GPS satellite is basically 1575.42 MHz (name: L1 wave), and a signal called a C / A code for civil use is placed on this frequency.

図3に、航法データのフォーマットを示す。図3(a)に、航法データのフレーム構成を示す。図3(b)に、航法データのサブフレーム構成を示す。C/Aコードによって図2に示すフォーマットの航法データが記述されGPS衛星からGPS信号として送信される。この航法データのなかに軌道情報、時刻情報等が含まれている。航法データのデータ速度は50bpsである。   FIG. 3 shows the format of the navigation data. FIG. 3A shows the frame structure of the navigation data. FIG. 3B shows a subframe configuration of navigation data. The navigation data having the format shown in FIG. 2 is described by the C / A code and transmitted as a GPS signal from a GPS satellite. The navigation data includes trajectory information, time information, and the like. The data rate of the navigation data is 50 bps.

航法データの1サイクルは、フレームという単位で呼ばれ、図3(a)に示す構造をとる。1フレームは1500ビットである。GPS衛星において、1フレームを送信するには30秒の時間がかかる。フレームは、5つのサブフレーム(各300ビット)から構成されており、サブフレーム1から順番に送信を始め、サブフレーム5を送信し終わると再びサブフレーム1の送信に戻る。   One cycle of the navigation data is called in units of frames and has the structure shown in FIG. One frame is 1500 bits. In a GPS satellite, it takes 30 seconds to transmit one frame. The frame is composed of five subframes (300 bits each), and transmission is started in order from subframe 1. When transmission of subframe 5 is completed, transmission returns to transmission of subframe 1 again.

図4に、サブフレームの概略構成を示す。図4に示すように、フレームを構成する5つのサブフレームのうち、サブフレーム1〜3は送信しているGPS衛星自身のクロック補正情報や軌道情報(エフェメリス)が含まれている。サブフレーム4,5については、全衛星が同じ内容を送信しており、その内容は軌道上のすべてのGPS衛星(最大32衛星)の概略軌道情報(アルマナック)や電離層補正情報となっている。しかし、これらはデータ量が多いためさらにページ単位に分割されてサブフレームに収容される。   FIG. 4 shows a schematic configuration of the subframe. As shown in FIG. 4, among the five subframes constituting the frame, subframes 1 to 3 include clock correction information and orbit information (ephemeris) of the transmitting GPS satellite itself. For subframes 4 and 5, all satellites transmit the same contents, and the contents are rough orbit information (almanac) and ionosphere correction information of all GPS satellites (up to 32 satellites) in orbit. However, since these have a large amount of data, they are further divided into pages and accommodated in subframes.

すなわち、図3(a)に示すように、サブフレーム4,5により送信されるデータはそれぞれページ1〜25に分割されており、フレームごとに異なるページの内容が順番に送られる。すべてのページ内容を送信するには25フレームを必要とし、航法データの全情報を得るには12分30秒(12.5分)かかる。   That is, as shown in FIG. 3A, the data transmitted in the subframes 4 and 5 are divided into pages 1 to 25, and the contents of different pages are sequentially transmitted for each frame. It takes 25 frames to transmit all page contents, and it takes 12 minutes and 30 seconds (12.5 minutes) to get all the navigation data information.

サブフレームの内部は、図3(b)及び図4に示すようにワードという単位に分割されている。1ワードは30ビットで1サブフレームは10ワードに対応し、各ワードは24ビットのデータ部とパリティチェック用の6ビットから構成される。各サブフレームの先頭にはTLM(TeLeMetry)ワード、続けてHOW(HandOver Word)が記述されている。TLMワードには同期用のパターン、HOWにはGPS信号の時刻情報が含まれている。   The inside of the subframe is divided into units called words as shown in FIGS. One word is 30 bits, and one subframe corresponds to 10 words. Each word is composed of a 24-bit data portion and 6 bits for parity check. At the beginning of each subframe, a TLM (TeLeMetry) word and then a HOW (HandOver Word) are described. The TLM word includes a synchronization pattern, and the HOW includes GPS signal time information.

GPS信号における時刻は、1週間を単位として管理されている。週始めは毎週日曜日の0時(土曜日の24時)で、時刻はそれからの経過時間(TOW(Time Of Week))で表される。HOWには、この経過時間を1.5秒単位で表した数が含まれており、受信機が現在時刻を知る手がかりを与える。それぞれの週には番号(週番号:WN(Week Number))がつけられており、1980年1月6日00:00:00に始まる週が週番号0とされている。これより1週間経つごとに週番号が1増加され、例えば、2004年10月10日に始まる週の週番号は1292である。   The time in the GPS signal is managed in units of one week. The beginning of the week is 0:00 on every Sunday (24:00 on Saturday), and the time is expressed by the elapsed time (TOW (Time Of Week)). The HOW includes a number representing this elapsed time in 1.5 second units, and gives a clue that the receiver knows the current time. Each week is assigned a number (week number: WN (Week Number)), and the week starting at 00:00:00 on January 6, 1980 is set to week number 0. From this point, the week number is incremented by 1 every week. For example, the week number of the week starting on October 10, 2004 is 1292.

5つのサブフレームには、航法データが分担されて収容されている。以下、一部の事項を説明するが、詳細についてはGPS-ICD-200などを参照すればわかる。   The navigation data is divided and accommodated in the five subframes. Hereinafter, some items will be described, but the details can be understood by referring to GPS-ICD-200 or the like.

図5〜図9を参照して、航法データの情報(主として本実施の形態に関する情報)を簡単に説明する。   With reference to FIGS. 5 to 9, navigation data information (mainly information relating to the present embodiment) will be briefly described.

図5に、HOWの内部構成を示す。図5に示すように、全てのサブフレーム1〜5に記述されるHOWには、ビット位置1〜17に上述のTOWが記述されるとともに、ビット位置20〜22(サブフレームのビット位置50〜52)に各サブフレームを識別するサブフレームIDが記述されている。サブフレームIDは、HOWのビット位置20〜22に記述されている。   FIG. 5 shows the internal configuration of the HOW. As shown in FIG. 5, in the HOW described in all the subframes 1 to 5, the above TOW is described in the bit positions 1 to 17, and the bit positions 20 to 22 (the bit positions 50 to 50 of the subframe). 52) describes a subframe ID for identifying each subframe. The subframe ID is described in bit positions 20 to 22 of the HOW.

図6に、サブフレーム1の構成を示す。図6に示すように、航法データのサブフレーム1には、航法データを送信しているGPS衛星自体の状態を表す数値やクロック補正係数が収められている。サブフレーム1には、先頭のTLMワード、HOWに続き、上述した週番号WN、測距精度URA、衛星健康状態SVhealthの各ワードが記述される。   FIG. 6 shows the configuration of subframe 1. As shown in FIG. 6, the subframe 1 of the navigation data contains a numerical value representing the state of the GPS satellite itself that is transmitting the navigation data and a clock correction coefficient. In subframe 1, following the first TLM word and HOW, the week number WN, ranging accuracy URA, and satellite health status SVhealth described above are described.

測距精度URAは、その衛星により疑似距離(受信機の時計の進みによる誤差が加わって測定されたGPS衛星と受信機との間の距離)を測定した場合の測距精度の目安で、15の場合はやはり何らかの異常あることを意味する。衛星健康状態SVhealthは、衛星の状態を示すコードで、0以外の場合は何らかの異常があることを示す。   Ranging accuracy URA is a rough standard of ranging accuracy when a pseudo-range (a distance between a GPS satellite and a receiver measured by adding an error due to advance of a receiver clock) is measured by the satellite. In the case of, it means that something is wrong. The satellite health state SVhealth is a code indicating the state of the satellite, and when it is other than 0, it indicates that there is some abnormality.

サブフレーム2,3には、各衛星の軌道情報が格納されている(その詳細はGPS-ICD-200などを参照)。これらの軌道情報はエフェメリスと呼ばれ、任意の時刻におけるGPS衛星の位置を計算できるようになっている。   The subframes 2 and 3 store the orbit information of each satellite (refer to GPS-ICD-200 for details). Such orbit information is called ephemeris, and the position of the GPS satellite at an arbitrary time can be calculated.

全GPS衛星分の概略軌道情報はアルマナック(アルマナックデータ)と呼ばれ、サブフレーム4のページ2〜5及び7〜10、サブフレーム5のページ1〜24に収められており、合計32ページで32機のGPS衛星に対応する。アルマナックデータは、GPS信号のサブフレームに含まれるとともに、受信機としての時計装置100において、記憶部20にも記憶される。記憶部20に記憶されたアルマナックデータは、数ヶ月に一度、受信したアルマナックデータで更新される。図7に、アルマナックデータを含むサブフレームの構成を示す。   The rough orbit information for all GPS satellites is called almanac (almanac data), and is stored in pages 2 to 5 and 7 to 10 of subframe 4 and pages 1 to 24 of subframe 5, for a total of 32 pages. Corresponds to the GPS satellite of the aircraft. The almanac data is included in the subframe of the GPS signal and is also stored in the storage unit 20 in the timepiece device 100 as a receiver. The almanac data stored in the storage unit 20 is updated with the received almanac data once every several months. FIG. 7 shows a configuration of a subframe including almanac data.

図8に、ページ18のサブフレーム4の構成を示す。図8に示すように、ページ18のサブフレーム4の先頭にはTLMワード、HOWが記述されている。また、ページ18のサブフレーム4には、ページ18を識別するSV ID(ページID)がビット位置63〜68に記述されている。また、高度100km以上に分布する電離層は電波を遅延させる働きがあり、その遅延量を補正するための情報はページ18のサブフレーム4(ビット位置144)に記述されている。SV ID(ページID)は、サブフレーム4の他のページにも記述される。   FIG. 8 shows the configuration of subframe 4 of page 18. As shown in FIG. 8, the TLM word and HOW are described at the top of the subframe 4 of the page 18. Further, in the subframe 4 of the page 18, an SV ID (page ID) for identifying the page 18 is described in the bit positions 63 to 68. The ionosphere distributed at an altitude of 100 km or more has a function of delaying radio waves, and information for correcting the delay amount is described in subframe 4 (bit position 144) of page 18. The SV ID (page ID) is also described in another page of the subframe 4.

また、ページ18のサブフレーム4には、現在の閏秒ΔtLS、閏秒の更新週WNLSF、閏秒の更新日DN、更新後の閏秒ΔtLSFがビット位置241〜278に記述されている。これら、現在の閏秒、閏秒の更新週、閏秒の更新日及び更新後の閏秒は、閏秒の補正に必要な情報であり、閏秒補正データとする。 In subframe 4 of page 18, the current leap second Δt LS , leap second update week WN LSF , leap second update date DN, and updated leap second Δt LSF are described in bit positions 241 to 278. Yes. The current leap second, leap second update week, leap second update date, and updated leap second are information necessary for leap second correction and are leap second correction data.

図9に、ページ番号1〜24のサブフレーム5の構成を示す。図9に示すように、サブフレーム5の先頭にはTLMワード、HOWが記述されている。また、サブフレーム5にも、サブフレーム5の各ページ番号を識別するSV ID(ページID)がビット位置63〜68に記述されている。   FIG. 9 shows the configuration of subframe 5 with page numbers 1 to 24. As shown in FIG. 9, TLM word and HOW are described at the head of subframe 5. Also in the subframe 5, an SV ID (page ID) for identifying each page number of the subframe 5 is described in bit positions 63 to 68.

このように、航法データのサブフレーム1〜5の受信により、HOWからサブフレームIDが取得可能であり、ページ数が複数のサブフレーム4,5の受信により、SV IDからページIDが取得可能である。また、ページ18のサブフレーム4の受信により、閏秒補正データが取得可能である。   Thus, the subframe ID can be acquired from the HOW by receiving the subframes 1 to 5 of the navigation data, and the page ID can be acquired from the SV ID by receiving the subframes 4 and 5 having a plurality of pages. is there. Further, leap second correction data can be acquired by receiving subframe 4 of page 18.

次に、図10〜図12を参照して、本実施の形態の時計装置100の動作を説明する。図10に、第1の閏秒補正処理の概要を示す。   Next, the operation of the timepiece device 100 according to the present embodiment will be described with reference to FIGS. FIG. 10 shows an outline of the first leap second correction process.

図10に示すように、GPS衛星から送信される航法データの全データの受信には、12.5分かかる。全データのうち、時間T1において、各サブフレームを受信して自装置の位置計測等のGPS計測動作を行う。時間T1の終了とともに、時計装置100は、省電力のため、GPS計測のための部分に供給する電源がオフされる。   As shown in FIG. 10, it takes 12.5 minutes to receive all the navigation data transmitted from the GPS satellite. Among all data, at time T1, each subframe is received and GPS measurement operation such as position measurement of the own apparatus is performed. At the end of the time T1, the clock device 100 is turned off to supply power to the GPS measurement portion in order to save power.

しかし、閏秒補正データは、サブフレーム4のページ18のみに格納されている。本実施の形態における第1の閏秒補正処理では、閏秒補正を行うため、閏秒補正データが受信可能な時間T2について、時間T1から時間T2までの時間を算出して、その算出時間後の時間T2において、少なくともサブフレーム4のページ18を受信して閏秒補正データを取得し、その閏秒補正データを用いて閏秒補正のタイミングで閏秒補正を行う。   However, leap second correction data is stored only in page 18 of subframe 4. In the first leap second correction process according to the present embodiment, since leap second correction is performed, for the time T2 at which leap second correction data can be received, the time from time T1 to time T2 is calculated, and after that calculation time. At time T2, at least page 18 of subframe 4 is received to obtain leap second correction data, and leap second correction is performed at the leap second correction timing using the leap second correction data.

図11及び図12を参照して、本実施の形態において、時計装置100で実行される第1の閏秒補正処理を説明する。図11に、第1の閏秒補正処理の流れを示す。図12(a)に、閏秒補正データ取得タイミング算出処理の流れを示す。図12(b)に、閏秒挿入タイミング算出処理の流れを示す。   With reference to FIGS. 11 and 12, the first leap second correction process executed in the timepiece device 100 in the present embodiment will be described. FIG. 11 shows the flow of the first leap second correction process. FIG. 12A shows a flow of leap second correction data acquisition timing calculation processing. FIG. 12B shows a flow of leap second insertion timing calculation processing.

時計装置100において、例えば、時計修正の開始や、操作部18を介してユーザより第1の閏秒補正処理の実行指示が入力されたことをトリガとして、ROM19のプログラムエリア191から読み出されてRAM21のプログラムエリア211に展開された第1の閏秒補正プログラムと、CPU11との協働により第1の閏秒補正処理が実行される。   In the timepiece device 100, for example, the timepiece 100 is read from the program area 191 of the ROM 19 triggered by the start of clock correction or the input of the execution instruction of the first leap second correction process from the user via the operation unit 18. The first leap second correction process executed in cooperation with the first leap second correction program developed in the program area 211 of the RAM 21 and the CPU 11 is executed.

先ず、GPS計測動作が開始される(ステップS11)。GPS計測動作とは、時計装置100の時刻修正のためにGPS衛星から航法データを受信する動作とし、その受信した航法データを用いて時刻修正を行う時刻修正動作の一部であるものとする。本実施の形態では、時刻修正動作は周知の動作とし、時刻修正動作の説明は省略する。   First, a GPS measurement operation is started (step S11). The GPS measurement operation is an operation for receiving navigation data from a GPS satellite for the time adjustment of the timepiece device 100, and is a part of the time adjustment operation for adjusting the time using the received navigation data. In the present embodiment, the time adjustment operation is a known operation, and the description of the time adjustment operation is omitted.

そして、受信可能なGPS衛星のうち少なくとも一つのGPS衛星が捕捉され、捕捉されたGPS衛星から、アンテナ17a及びGPSモジュール17を介して航法データが受信される(ステップS12)。受信される航法データには、少なくとも時刻修正のための時刻情報(HOW、サブフレーム1の週番号WN等)、ページID、サブフレームIDが含まれ、ページ18のサブフレーム4は含まれていないものとする。   Then, at least one GPS satellite among the receivable GPS satellites is captured, and navigation data is received from the captured GPS satellites via the antenna 17a and the GPS module 17 (step S12). The received navigation data includes at least time information for time correction (HOW, week number WN of subframe 1), page ID, subframe ID, and does not include subframe 4 of page 18. Shall.

そして、ステップS12で受信された航法データから時刻情報が取得されてRAM21のデータエリア212に格納される(ステップS13)。そして、ステップS12で受信された航法データのページID及びサブフレームIDからページ番号及びサブフレーム番号が取得され、それぞれRAM21のデータエリア213及びデータエリア214に格納される(ステップS14)。ページIDは、図8及び図9に示すように、サブフレーム4,5にのみ含まれる。また、サブフレームIDは、図5に示すように、各サブフレーム中のHOWに含まれる。サブフレーム番号は、サブフレームID又は(サブフレームID+1)とする。   Then, time information is acquired from the navigation data received in step S12 and stored in the data area 212 of the RAM 21 (step S13). Then, the page number and subframe number are acquired from the page ID and subframe ID of the navigation data received in step S12, and stored in the data area 213 and data area 214 of the RAM 21, respectively (step S14). The page ID is included only in the subframes 4 and 5, as shown in FIGS. Further, the subframe ID is included in the HOW in each subframe as shown in FIG. The subframe number is a subframe ID or (subframe ID + 1).

そして、ステップS11から開始されたGPS計測動作が終了される(ステップS15)。GPS計測動作の終了とともに、GPSモジュール等のGPS計測の受信に関する部分への電池16からの電力供給が停止される。   Then, the GPS measurement operation started from step S11 is ended (step S15). With the end of the GPS measurement operation, the power supply from the battery 16 to the parts related to reception of GPS measurements such as the GPS module is stopped.

そして、閏秒補正データ取得タイミング算出処理が実行される(ステップS16)。ステップS16では、後述するように、閏秒補正データを受信するタイミングを示す閏秒補正データ取得タイミングTが算出されてRAM21のデータエリア215に格納される。   Then, leap second correction data acquisition timing calculation processing is executed (step S16). In step S <b> 16, as will be described later, leap second correction data acquisition timing T indicating the timing for receiving leap second correction data is calculated and stored in the data area 215 of the RAM 21.

そして、データエリア203から余裕時間が読み出され、計時計数回路27の内部時刻データが閏秒補正データ取得タイミングT―30秒(余裕時間)になったか否かが判別される(ステップS17)。この30秒は、ページ18のサブフレーム4を受信するに当たり、このサブフレームを確実に受信するため、受信の余裕を持たせるために予め設定された余裕時間の一例である。   Then, the margin time is read out from the data area 203, and it is determined whether or not the internal time data of the clock count circuit 27 has reached the leap second correction data acquisition timing T-30 seconds (margin time) (step S17). . The 30 seconds is an example of a margin time that is set in advance in order to provide a margin for reception in order to reliably receive the subframe when the subframe 4 of the page 18 is received.

閏秒補正データ取得タイミングT―30秒になっていない場合(ステップS17;NO)、ステップS17に移行される。タイマの値が閏秒補正データ取得タイミングT―30秒になった場合(ステップS17;YES)、ステップS11と同様にGPS計測動作が開始される(ステップS18)。   If the leap second correction data acquisition timing T is not 30 seconds (step S17; NO), the process proceeds to step S17. When the value of the timer reaches the leap second correction data acquisition timing T-30 seconds (step S17; YES), the GPS measurement operation is started as in step S11 (step S18).

そして、ステップS12と同様にGPS衛星の捕捉及び航法データが受信される(ステップS19)。ステップS19において受信される航法データには、ページ18のサブフレーム4のデータが含まれる。そして、ステップS20において受信された航法データのページ18のサブフレーム4のデータから閏秒補正データ(閏秒の更新週、閏秒更新日、更新後の閏秒数等)が取得され、RAM21のデータエリア216に格納される(ステップS20)。   Then, the GPS satellite acquisition and navigation data are received as in step S12 (step S19). The navigation data received in step S19 includes the data of subframe 4 of page 18. Then, leap second correction data (leap second update week, leap second update date, leap second number after update, etc.) is acquired from the data of subframe 4 on page 18 of the navigation data received in step S20. It is stored in the data area 216 (step S20).

そして、ステップS18から開始されたGPS計測動作が終了される(ステップS21)。   Then, the GPS measurement operation started from step S18 is ended (step S21).

そして、閏秒挿入タイミング算出処理が実行される(ステップS22)。閏秒挿入タイミング算出処理では、後述するように、閏秒を挿入(補正)するタイミングを示す閏秒挿入タイミングSが算出されてRAM21のデータエリア217に格納される。   Then, leap second insertion timing calculation processing is executed (step S22). In the leap second insertion timing calculation process, as will be described later, a leap second insertion timing S indicating the timing for inserting (correcting) the leap second is calculated and stored in the data area 217 of the RAM 21.

そして、データエリア217に格納された閏秒挿入タイミングSが読み出され、閏秒挿入タイミングSになったか否かが判別される(ステップS23)。閏秒挿入タイミングSになったか否かは、例えば、計時計数回路27の内部時刻データの年月日情報が閏秒挿入タイミングSに対応する年月日になったか否かにより判別される。   Then, the leap second insertion timing S stored in the data area 217 is read, and it is determined whether or not the leap second insertion timing S has been reached (step S23). Whether or not the leap second insertion timing S has come is determined, for example, by whether or not the date information of the internal time data of the clock count circuit 27 has reached the date corresponding to the leap second insertion timing S.

閏秒挿入タイミングSになった場合(ステップS23;YES)、データエリア216に格納された閏秒補正データが読み出され、閏秒補正データに基づいて、計時計数回路27に保持される内部時刻データが閏秒補正される(ステップS24)。   When the leap second insertion timing S is reached (step S23; YES), the leap second correction data stored in the data area 216 is read and the internal clock count circuit 27 stores the leap second correction data based on the leap second correction data. The time data is corrected for leap seconds (step S24).

そして、第1の閏秒補正処理を終了するか否かが判別される(ステップS25)。ステップS25では、例えば、操作部18を介してユーザから第1の閏秒補正処理の終了指示が入力されたか否かにより判別される。閏秒挿入タイミングSになっていない場合(ステップS23;NO)、ステップS25に移行される。   Then, it is determined whether or not to end the first leap second correction process (step S25). In step S25, for example, the determination is made based on whether or not an instruction to end the first leap second correction process is input from the user via the operation unit 18. If the leap second insertion timing S is not reached (step S23; NO), the process proceeds to step S25.

第1の閏秒補正処理を終了する場合(ステップS25;YES)、第1の閏秒補正処理が終了する。第1の閏秒補正処理を終了しない場合(ステップS25;NO)、閏秒補正データ取得タイミングTが、閏秒補正データ取得タイミングT+12.5分に設定され(ステップS26)、ステップS17に移行される。ステップS26を介するループにより、12.5分毎の取得タイミングで閏秒補正データが受信されることとなる。   When the first leap second correction process is finished (step S25; YES), the first leap second correction process is finished. If the first leap second correction process is not terminated (step S25; NO), the leap second correction data acquisition timing T is set to leap second correction data acquisition timing T + 12.5 minutes (step S26), and the process proceeds to step S17. The By the loop through step S26, leap second correction data is received at an acquisition timing of every 12.5 minutes.

図12(a)を参照して、第1の閏秒補正処理のステップS16の閏秒補正データ取得タイミング算出処理を詳細に説明する。図12(a)に示すように、ステップS15の実行後、RAM21のデータエリア212、データエリア213、データエリア214から時刻情報、ページ番号及びサブフレーム番号が読み出される(ステップS161)。   With reference to Fig.12 (a), the leap second correction data acquisition timing calculation process of step S16 of a 1st leap second correction process is demonstrated in detail. As shown in FIG. 12A, after execution of step S15, time information, page number, and subframe number are read from the data area 212, data area 213, and data area 214 of the RAM 21 (step S161).

そして、ROM19のデータエリア192から式データが読み出され、ステップS161において読み出されたページ番号及びサブフレーム番号を用いて、式データの次式(1)により値dTが算出される(ステップS162)。
dT=(18.8−(ページ番号+サブフレーム番号×0.2))×30 …(1)
式(1)における18.8は、ページ18のサブフレーム4を数値で表したものである。また、(ページ番号+サブフレーム番号×0.2)は、GPS計測で取得したページ番号及びサブフレーム番号を数値で表現したものである。30は、1フレーム(サブフレーム1〜5)の受信時間である。
Then, the formula data is read from the data area 192 of the ROM 19, and the value dT is calculated by the following formula (1) of the formula data using the page number and subframe number read in step S161 (step S162). ).
dT = (18.8− (page number + subframe number × 0.2)) × 30 (1)
18.8 in the formula (1) represents the subframe 4 of the page 18 with a numerical value. Further, (page number + subframe number × 0.2) is a numerical representation of the page number and subframe number acquired by GPS measurement. Reference numeral 30 denotes a reception time of one frame (subframes 1 to 5).

そして、ステップS162で算出された値dTが60秒未満であるか否かが判別される(ステップS163)。値dTが60秒未満である場合(ステップS163;YES)、値dTが、値dT+12.5分に更新される(ステップS164)。そして、閏秒補正データ取得タイミングTとして、ステップS161で読み出した時刻情報+値dTが設定される(ステップS165)。   Then, it is determined whether or not the value dT calculated in step S162 is less than 60 seconds (step S163). When the value dT is less than 60 seconds (step S163; YES), the value dT is updated to the value dT + 12.5 minutes (step S164). Then, the time information + value dT read in step S161 is set as the leap second correction data acquisition timing T (step S165).

値dTが60秒以上である場合(ステップS163;NO)、ステップS165に移行される。そして、ステップS165において算出された閏秒補正データ取得タイミングTがRAM21のデータエリア215に格納され(ステップS166)、閏秒補正データ取得タイミング算出処理が終了する。そして、ステップS17に移行される。   When the value dT is 60 seconds or more (step S163; NO), the process proceeds to step S165. Then, the leap second correction data acquisition timing T calculated in step S165 is stored in the data area 215 of the RAM 21 (step S166), and the leap second correction data acquisition timing calculation processing ends. Then, the process proceeds to step S17.

図12(b)を参照して、第1の閏秒補正処理のステップS22の閏秒挿入タイミング算出処理を詳細に説明する。図12(b)に示すように、ステップS21の実行後、RAM21のデータエリア216から閏秒補正データが読み出される(ステップS221)。   With reference to FIG.12 (b), the leap second insertion timing calculation process of step S22 of a 1st leap second correction process is demonstrated in detail. As shown in FIG. 12B, after execution of step S21, leap second correction data is read from the data area 216 of the RAM 21 (step S221).

そして、ROM19のデータエリア192から式データが読み出され、ステップS221において読み出された閏秒補正データの閏秒更新週、閏秒更新日を用いて、式データの次式(2)により、閏秒挿入タイミングSが算出される(ステップS222)。
S=基準日+閏秒更新週×7+閏秒更新日 …(2)
但し、基準日とは、GPS週信号が0週の日である。また、閏秒更新週×7は、閏秒が更新される週数に一週間の日数7をかけて日数にしたものである。また、閏秒更新日は、閏秒か更新される週頭からの日数である。
Then, the formula data is read from the data area 192 of the ROM 19, and the leap second update week and leap second update date of the leap second correction data read in step S221 is used to obtain the following equation (2) of the equation data: The leap second insertion timing S is calculated (step S222).
S = base date + leap second update week x 7 + leap second update date (2)
However, the reference date is the day when the GPS week signal is 0 weeks. The leap second update week × 7 is the number of days obtained by multiplying the number of weeks in which leap seconds are updated by the number of days 7 of a week. The leap second update date is the number of days from the beginning of the week when the leap second is updated.

そして、ステップS222において算出された閏秒挿入タイミングSがRAM21のデータエリア217に格納され(ステップS223)、閏秒挿入タイミング算出処理が終了する。そして、ステップS23に移行される。   Then, the leap second insertion timing S calculated in step S222 is stored in the data area 217 of the RAM 21 (step S223), and the leap second insertion timing calculation processing ends. Then, the process proceeds to step S23.

以上、本実施の形態によれば、時計装置100において、航法データの受信時に閏秒補正データ取得タイミングTを算出し、内部時刻データが閏秒補正データ取得タイミングTになったときに、閏秒補正データを受信するので、閏秒補正データを確実に受信して閏秒補正できるとともに、閏秒補正データを受信しない時間にGPSモジュール17の電力供給を停止できるので、消費電力を低減できる。   As described above, according to the present embodiment, the timepiece device 100 calculates the leap second correction data acquisition timing T when the navigation data is received, and the internal time data reaches the leap second correction data acquisition timing T. Since the correction data is received, the leap second correction data can be reliably received and the leap second correction can be performed, and the power supply of the GPS module 17 can be stopped during the time when the leap second correction data is not received, so that the power consumption can be reduced.

また、閏秒挿入タイミングSを算出し、内部時刻データが閏秒挿入タイミングSになったときに閏秒補正を行うので、適切なタイミングで確実に閏秒を補正できる。   Moreover, since leap second insertion timing S is calculated and leap second correction is performed when the internal time data reaches leap second insertion timing S, leap seconds can be reliably corrected at an appropriate timing.

また、初回の閏秒補正データ取得タイミングT(−30秒)から12.5分毎に閏秒補正データを受信するので、いつの閏秒補正データも漏らさず確実に取得できる。   Also, since leap second correction data is received every 12.5 minutes from the initial leap second correction data acquisition timing T (-30 seconds), any leap second correction data can be reliably acquired without leaking.

また、閏秒補正データ取得タイミングTの余裕時間前に閏秒補正データの受信を行うので、閏秒補正データを余裕をもって受信でき、閏秒補正データをさらに確実に取得できる。   Further, since the leap second correction data is received before the leap second correction data acquisition timing T, the leap second correction data can be received with a margin, and the leap second correction data can be acquired more reliably.

(第2の実施の形態)
図13及び図14を参照して、本発明に係る第2の実施の形態を説明する。本実施の形態では、第1の実施の形態と同様に、時計装置100を用い、第1の実施の形態と同様の構成の説明を省略し、異なる部分を主として説明する。
(Second Embodiment)
A second embodiment of the present invention will be described with reference to FIGS. In the present embodiment, as in the first embodiment, the timepiece device 100 is used, the description of the same configuration as in the first embodiment is omitted, and different portions are mainly described.

本実施の形態の装置構成としては、第1の実施の形態と同様に、時計装置100を用いる。   As the device configuration of the present embodiment, the timepiece device 100 is used as in the first embodiment.

図13を参照して、時計装置100において記憶する各種情報を説明する。図13(a)に、本実施の形態においてROM19に情報を記憶する記憶エリアを示す。図13(b)に、記憶部20に情報を記憶する記憶エリアを示す。図13(c)に、RAM21に情報を格納する格納エリアを示す。   Various types of information stored in the timepiece device 100 will be described with reference to FIG. FIG. 13A shows a storage area for storing information in the ROM 19 in the present embodiment. FIG. 13B shows a storage area for storing information in the storage unit 20. FIG. 13C shows a storage area for storing information in the RAM 21.

図13(a)に示すように、ROM19は、プログラムエリア193と、データエリア192と、を有する。プログラムエリア193には、第2の閏秒補正プログラム(データ)が記憶される。   As shown in FIG. 13A, the ROM 19 has a program area 193 and a data area 192. The program area 193 stores a second leap second correction program (data).

図13(b)に示すように、記憶部20は、データエリア201〜204を有する。データエリア204には、閏秒挿入タイミングSよりも前で且つ予め設定された閏秒補正を行うタイミングとしての設定タイミングが記憶される。本実施の形態では、設定タイミングを、月末の23時を過ぎるタイミングを示す情報とするが、これに限定されるものではない。閏秒が挿入されるタイミングは、UTC(Coordinated Universal Time)の12月31日23時59分60秒や、6月30日23時59分60秒と、ある程度決まっているので、例えば、設定タイミングが6月末及び12月末のタイミング(所定時間(23時等)を過ぎるタイミング)を少なくとも含む情報としてもよい。なお、閏秒を予告するデータは、GPS衛星側でいつ更新されるかがが正確には決まっていないので、6月末日及び12月末日〜その数日前に閏秒補正データを受信することが好ましい。   As illustrated in FIG. 13B, the storage unit 20 includes data areas 201 to 204. The data area 204 stores a setting timing as a timing for performing a leap second correction before the leap second insertion timing S and in advance. In the present embodiment, the setting timing is information indicating the timing after 23:00 at the end of the month, but is not limited to this. The leap second is inserted at a certain timing such as UTC (Coordinated Universal Time) December 31, 23:59:60, and June 30, 23:59:60. May be information including at least the timing of the end of June and the end of December (the timing of passing a predetermined time (23:00, etc.)). It should be noted that since the data for announcing leap seconds is not determined exactly when it is updated on the GPS satellite side, leap second correction data may be received from the end of June and the end of December to several days before. preferable.

図13(c)に示すように、RAM21は、プログラムエリア218と、データエリア212〜217と、を有する。プログラムエリア218には、第2の閏秒補正プログラム(データ)が展開される。   As illustrated in FIG. 13C, the RAM 21 includes a program area 218 and data areas 212 to 217. In the program area 218, the second leap second correction program (data) is developed.

次に、図14を参照して、本実施の形態において、時計装置100で実行される第2の閏秒補正処理を説明する。図14に、第2の閏秒補正処理の流れを示す。   Next, a second leap second correction process executed by the timepiece device 100 in the present embodiment will be described with reference to FIG. FIG. 14 shows the flow of the second leap second correction process.

時計装置100において、例えば、時刻修正の開始や、操作部18を介してユーザより第2の閏秒補正処理の実行指示が入力されたことをトリガとして、ROM19のプログラムエリア193から読み出されてRAM21のプログラムエリア218に展開された第2の閏秒補正プログラムと、CPU11との協働により第2の閏秒補正処理が実行される。   In the timepiece device 100, for example, it is read from the program area 193 of the ROM 19 triggered by the start of time correction or the input of the execution instruction of the second leap second correction process from the user via the operation unit 18. A second leap second correction process is executed in cooperation with the second leap second correction program developed in the program area 218 of the RAM 21 and the CPU 11.

ステップS31〜S37は、第1の閏秒補正処理のステップS11〜S17と同様である。そして、記憶部20のデータエリア204から設定タイミングが読み出され、この設定タイミングに基づき、計時計数回路27の内部時刻データが月末の23時を過ぎたタイミングであるか否かが判別される(ステップS38)。内部時刻データが月末の23時を過ぎたタイミングでない場合(ステップS38;NO)、閏秒補正データ取得タイミングTが、閏秒補正データ取得タイミングT+12.5分に更新され(ステップS39)、ステップS37に移行される。   Steps S31 to S37 are the same as steps S11 to S17 of the first leap second correction process. Then, the setting timing is read from the data area 204 of the storage unit 20, and based on this setting timing, it is determined whether or not the internal time data of the clock counting circuit 27 is the timing after 23:00 at the end of the month. (Step S38). If the internal time data is not the timing after 23:00 at the end of the month (step S38; NO), the leap second correction data acquisition timing T is updated to the leap second correction data acquisition timing T + 12.5 minutes (step S39), and step S37. It is transferred to.

内部時刻データが月末の23時を過ぎたタイミングである場合(ステップS38;YES)、ステップS40に移行される。ステップS40〜S46は、第1の閏秒補正処理のステップS18〜S24と同様である。但し、閏秒挿入タイミングSになっていない場合(ステップS45;NO)、ステップS45に移行される。また、ステップS46の実行後、第2の閏秒補正処理は終了する。   When the internal time data is at a timing after 23:00 at the end of the month (step S38; YES), the process proceeds to step S40. Steps S40 to S46 are the same as steps S18 to S24 of the first leap second correction process. However, if the leap second insertion timing S is not reached (step S45; NO), the process proceeds to step S45. In addition, after the execution of step S46, the second leap second correction process ends.

以上、本実施の形態によれば、時計装置100において、閏秒補正データ取得タイミングで且つ設定タイミングになったときに閏秒補正データを受信するので、より適切なタイミングで閏秒補正データを確実に受信して閏秒補正できるとともに、閏秒補正データ受信を行う回数を低減でき、消費電力を低減できる。   As described above, according to the present embodiment, the timepiece device 100 receives the leap second correction data at the leap second correction data acquisition timing and the set timing, so that the leap second correction data can be reliably obtained at a more appropriate timing. The leap second correction can be performed and the number of times the leap second correction data is received can be reduced, and the power consumption can be reduced.

特に、設定タイミングを6月末及び12月末の最低限必要なタイミングにすれば、閏秒補正を行う回数をさらに低減でき、消費電力をさらに低減できる。   In particular, if the set timing is set to the minimum necessary timing at the end of June and December, the number of leap second corrections can be further reduced, and the power consumption can be further reduced.

また、事前に閏秒を予告するデータを受信しておく作業を行えば、閏秒補正データの受信に失敗しても再トライすることができ、実際の閏秒が挿入されるタイミングで確実に閏秒を補正できる確率を高くすることができる。   Also, if you work to receive leap second advance notice data, you can try again even if reception of leap second correction data fails, ensuring that the actual leap second is inserted. The probability of correcting leap seconds can be increased.

なお、上記実施の形態における記述は、本発明に係る時計装置及び閏秒補正方法の一例であり、これに限定されるものではない。   The description in the above embodiment is an example of the timepiece device and leap second correction method according to the present invention, and the present invention is not limited to this.

例えば、本実施の形態では、GPS信号を用いて時刻修正可能な時計装置100を用いる構成としたが、これに限定されるものではない。例えば、時計装置100を、位置計測を行うGPS受信機に組み込む構成としてもよい。   For example, in the present embodiment, the timepiece device 100 capable of correcting the time using a GPS signal is used, but the present invention is not limited to this. For example, the timepiece device 100 may be incorporated into a GPS receiver that performs position measurement.

また、第2の実施の形態において、設定タイミングになったときに、ページ18のサブフレーム4を含む航法データを受信して閏秒補正データを受信する構成としてもよい。また、RAM21に格納する閏秒補正データ、閏秒補正データ取得タイミング、閏秒補正タイミング等の情報は、適宜記憶部20に記憶する構成としてもよい。   In the second embodiment, the navigation data including the subframe 4 of page 18 may be received and the leap second correction data may be received at the set timing. Information such as leap second correction data, leap second correction data acquisition timing, leap second correction timing, and the like stored in the RAM 21 may be appropriately stored in the storage unit 20.

また、上記第1の実施の形態において、閏秒補正データ取得タイミングTに12.5分を加算し、受信タイミングの判別を行うことを繰り返して、閏秒補正データを受信することを繰り返す構成としたが、これに限定されるものではない。例えば、ステップS17の後に、12.5分のタイマをスタートし、閏秒補正データを受信した後、タイマが0になるタイミングで閏秒補正データを受信し、次の12.5分のタイマをスタートすることを繰り返すこととしてもよい。   Further, in the first embodiment, 12.5 minutes is added to the leap second correction data acquisition timing T, the reception timing is repeatedly determined, and reception of leap second correction data is repeated. However, the present invention is not limited to this. For example, after step S17, a 12.5 minute timer is started, and after leap second correction data is received, leap second correction data is received at the timing when the timer becomes 0, and the next 12.5 minute timer is set. It is good also as repeating starting.

また、上記第1の実施の形態において、閏秒補正データ取得タイミングTが時刻を示す情報であり、計時部24の内部時刻データと比較することにより、閏秒補正データ取得タイミングT−30秒になったか否かを判別する構成としたが、これに限定されるものではない。例えば、航法データの受信時に、タイマをスタートさせ、タイマ値が値dT−30秒経過したか否かを判別することにより、閏秒補正データの受信タイミングを判別する構成としてもよい。   In the first embodiment, the leap second correction data acquisition timing T is information indicating time, and by comparing with the internal time data of the time measuring unit 24, the leap second correction data acquisition timing T-30 seconds. However, the present invention is not limited to this. For example, the reception timing of leap second correction data may be determined by starting a timer when receiving navigation data and determining whether or not the timer value dT-30 seconds has elapsed.

また、上記実施の形態における時計装置100の各構成要素の細部構成及び細部動作に関しては、本発明の趣旨を逸脱することのない範囲で適宜変更可能であることは勿論である。   In addition, it is needless to say that the detailed configuration and detailed operation of each component of the timepiece device 100 in the above embodiment can be appropriately changed without departing from the gist of the present invention.

本発明に係る第1の実施の形態の時計装置100の内部構成を示すブロック図である。1 is a block diagram showing an internal configuration of a timepiece device 100 according to a first embodiment of the present invention. (a)は、第1の実施の形態においてROM19に情報を記憶する記憶エリアを示す図である。(b)は、記憶部20に情報を記憶する記憶エリアを示す図である。(c)は、RAM21に情報を格納する格納エリアを示す図である。(A) is a figure which shows the storage area which memorize | stores information in ROM19 in 1st Embodiment. (B) is a diagram showing a storage area for storing information in the storage unit 20. (C) is a diagram showing a storage area for storing information in the RAM 21. 航法データのフォーマットを示す図である。It is a figure which shows the format of navigation data. サブフレームの概略構成を示す図である。It is a figure which shows schematic structure of a sub-frame. HOWの内部構成を示す図である。It is a figure which shows the internal structure of HOW. サブフレーム1の構成を示す図である。2 is a diagram illustrating a configuration of a subframe 1. FIG. アルマナックデータを含むサブフレームの構成を示す図である。It is a figure which shows the structure of the sub-frame containing almanac data. ページ18のサブフレーム4の構成を示す図である。FIG. 6 is a diagram showing a configuration of subframe 4 of page 18. ページ番号1〜24のサブフレーム5の構成を示す図である。It is a figure which shows the structure of the sub-frame 5 of page numbers 1-24. 第1の閏秒補正処理の概要を示す図である。It is a figure which shows the outline | summary of a 1st leap second correction process. 第1の閏秒補正処理を示すフローチャートである。It is a flowchart which shows a 1st leap second correction process. (a)は、閏秒補正データ取得タイミング算出処理を示すフローチャートである。(b)は、閏秒挿入タイミング算出処理を示すフローチャートである。(A) is a flowchart which shows a leap second correction data acquisition timing calculation process. (B) is a flowchart showing leap second insertion timing calculation processing. (a)は、第2の実施の形態においてROM19に情報を記憶する記憶エリアを示す図である。(b)は、記憶部20に情報を記憶する記憶エリアを示す図である。(c)は、RAM21に格納する格納エリアを示す図である。(A) is a figure which shows the storage area which memorize | stores information in ROM19 in 2nd Embodiment. (B) is a diagram showing a storage area for storing information in the storage unit 20. (C) is a diagram showing a storage area stored in the RAM 21. 第2の閏秒補正処理を示すフローチャートである。It is a flowchart which shows a 2nd leap second correction process.

符号の説明Explanation of symbols

100 時計装置
11 CPU
12 表示駆動回路
13 表示部
14 ブザー回路
15 スピーカ
16 電池
17 GPSモジュール
18 操作部
19 ROM
20 記憶部
21 RAM
22 照明駆動回路
23 照明部
24 計時部
25 発振回路
26 分周回路
27 計時計数回路
100 Clock device 11 CPU
12 Display Drive Circuit 13 Display Unit 14 Buzzer Circuit 15 Speaker 16 Battery 17 GPS Module 18 Operation Unit 19 ROM
20 storage unit 21 RAM
22 Illumination Drive Circuit 23 Illumination Unit 24 Timekeeping Unit 25 Oscillation Circuit 26 Dividing Circuit 27 Count Clock Circuit

Claims (12)

現在時刻を計時し内部時刻データとして保持する計時手段と、
GPS衛星から送信された航法データを受信する受信手段と、
この受信手段により受信された航法データの中からサブフレーム及びページの各識別情報と時刻情報とを取得する第1の取得手段と、
この第1の取得手段により取得されたサブフレーム及びページの各識別情報と時刻情報とから、当該サブフレーム以降のサブフレームに含まれる閏秒補正データを受信するまでの時間を算出する受信時間算出手段と、
前記受信時間算出手段は、
サブフレーム及びページの各識別情報を用いて受信タイミング値を算出する受信タイミング値算出手段と、
前記受信タイミング値が所定時間未満であるか否かを判別する受信タイミング値判別手段と、
前記受信タイミング値が所定時間未満である場合、受信タイミング値に航法データの全フレームを受信するのに必要な時間を加算して受信タイミング値を更新し、更新した受信タイミング値と時刻情報とから、閏秒補正データを受信するまでの時間を設定する第1設定手段と、
前記受信タイミング値が所定時間未満でない場合、受信タイミング値と時刻情報とから、閏秒補正データを受信するまでの時間を設定する第2設定手段と、を有し、
この受信時間算出手段により算出された閏秒補正データを受信するまでの時間に基づいて、当該閏秒補正データを受信する受信タイミングになったか否かを判別する受信タイミング判別手段と、
この受信タイミング判別手段により前記閏秒補正データを受信するタイミングとなったと判別された場合に、前記受信手段に航法データを受信させ、当該受信された航法データ中のサブフレームに含まれている閏秒補正データを取得する第2の取得手段と、
前記第2の取得手段により取得された閏秒補正データに基づいて、前記計時手段の内部時刻データの閏秒を補正する閏秒補正制御手段と、
を備えることを特徴とする時計装置。
A timekeeping means that keeps the current time as internal time data,
Receiving means for receiving navigation data transmitted from a GPS satellite;
First acquisition means for acquiring each subframe and page identification information and time information from the navigation data received by the reception means;
Receiving time calculation for calculating the time until receiving leap second correction data included in the subframes after the subframe from the identification information and time information of the subframe and page acquired by the first acquisition unit Means,
The reception time calculating means includes
A reception timing value calculating means for calculating a reception timing value using each identification information of a subframe and a page;
Reception timing value determination means for determining whether or not the reception timing value is less than a predetermined time;
When the reception timing value is less than a predetermined time, the reception timing value is updated by adding the time necessary to receive all the frames of the navigation data to the reception timing value, and from the updated reception timing value and time information First setting means for setting a time until receiving leap second correction data;
If the reception timing value is not less than a predetermined time, the second setting means for setting the time until reception of leap second correction data from the reception timing value and time information,
Based on the time until receiving the leap second correction data calculated by the reception time calculation means, a reception timing determination means for determining whether or not the reception timing for receiving the leap second correction data is reached;
When it is determined by the reception timing determination means that it is time to receive the leap second correction data, the reception means receives the navigation data, and the reception data is included in the subframe included in the received navigation data. A second acquisition means for acquiring second correction data;
Leap second correction control means for correcting the leap second of the internal time data of the time measuring means based on the leap second correction data acquired by the second acquisition means;
A timepiece device comprising:
前記受信タイミング判別手段は、前記受信時間算出手段により算出された閏秒補正データを受信するまでの時間に基づいて、前記計時手段の内部時刻データで示される時刻が当該閏秒補正データを受信する受信タイミングになったか否かを判別することを特徴とする請求項1に記載の時計装置。   The reception timing determining means receives the leap second correction data at the time indicated by the internal time data of the time measuring means based on the time until the leap second correction data calculated by the reception time calculating means is received. The timepiece device according to claim 1, wherein it is determined whether or not reception timing has come. 前記受信タイミング判別手段は、前記受信時間算出手段により算出された閏秒補正データを受信するまでの時間に基づいて、前記時刻情報からの経過時間が当該閏秒補正データを受信する受信タイミングになったか否かを判別することを特徴とする請求項1に記載の時計装置。   The reception timing discriminating means is a reception timing for receiving the leap second correction data based on the time until reception of the leap second correction data calculated by the reception time calculation means. The timepiece device according to claim 1, wherein it is determined whether or not. 前記受信タイミング判別手段は、前記閏秒補正データを受信するまでの時間の余裕時間前に対応する受信タイミングになったか否かを判別することを特徴とする請求項1から3のいずれか一項に記載の時計装置。   4. The reception timing determination unit determines whether or not a reception timing corresponding to a time before the reception of the leap second correction data is reached, according to any one of claims 1 to 3. The clock device described in 1. 前記第2の取得手段による閏秒補正データの取得後、前記閏秒補正データの取得すべき受信タイミングを次の閏秒補正データの取得すべき受信タイミングに更新する更新手段を備え、
前記受信タイミング判別手段は、前記更新手段により更新された閏秒補正データの取得すべき受信タイミングになったか否かを判別することを特徴とする請求項1から4のいずれか一項に記載の時計装置。
After the acquisition of the leap second correction data by the second acquisition means, the update means for updating the reception timing to acquire the leap second correction data to the reception timing to acquire the next leap second correction data,
The said reception timing discrimination means discriminate | determines whether it became the reception timing which should acquire the leap second correction data updated by the said update means, It is any one of Claim 1 to 4 characterized by the above-mentioned. Clock device.
現在時刻を計時し内部時刻データとして保持する計時手段と、
GPS衛星から送信された航法データを受信する受信手段と、
この受信手段により受信された航法データの中からサブフレーム及びページの各識別情報と時刻情報とを取得する第1の取得手段と、
この第1の取得手段により取得されたサブフレーム及びページの各識別情報と時刻情報とに基づいて、他のサブフレームに含まれている閏秒補正データの取得すべきタイミングを閏秒補正データ取得タイミングとして算出する取得タイミング算出手段と、
前記取得タイミング算出手段は、
サブフレーム及びページの各識別情報を用いて受信タイミング値を算出する受信タイミング値算出手段と、
前記受信タイミング値が所定時間未満であるか否かを判別する受信タイミング値判別手段と、
前記受信タイミング値が所定時間未満である場合、受信タイミング値に航法データの全フレームを受信するのに必要な時間を加算して受信タイミング値を更新し、更新した受信タイミング値と時刻情報とに基づいて、閏秒補正データ取得タイミングを設定する第1設定手段と、
前記受信タイミング値が所定時間未満でない場合、受信タイミング値と時刻情報とに基づいて、閏秒補正データ取得タイミングを設定する第2設定手段と、を有し、
この取得タイミング算出手段により算出された閏秒補正データ取得タイミングに至る直前に、前記受信手段に航法データを受信させ、当該受信された航法データ中のサブフレームに含まれている閏秒補正データを取得する第2の取得手段と、
この第2の取得手段により取得された閏秒補正データに基づいて、前記計時手段の内部時刻データの閏秒の補正を行う閏秒補正制御手段と、
を備えることを特徴とする時計装置。
A timekeeping means that keeps the current time as internal time data,
Receiving means for receiving navigation data transmitted from a GPS satellite;
First acquisition means for acquiring each subframe and page identification information and time information from the navigation data received by the reception means;
Based on the identification information and time information of the subframe and page acquired by the first acquisition means, the leap second correction data acquisition timing of the leap second correction data included in the other subframe is acquired. Acquisition timing calculation means for calculating as timing;
The acquisition timing calculation means includes
A reception timing value calculating means for calculating a reception timing value using each identification information of a subframe and a page;
Reception timing value determination means for determining whether or not the reception timing value is less than a predetermined time;
When the reception timing value is less than a predetermined time, the reception timing value is updated by adding the time necessary to receive all the frames of the navigation data to the reception timing value, and the updated reception timing value and time information are obtained. A first setting means for setting the leap second correction data acquisition timing based on:
A second setting means for setting the leap second correction data acquisition timing based on the reception timing value and the time information when the reception timing value is not less than a predetermined time;
Immediately before reaching the leap second correction data acquisition timing calculated by the acquisition timing calculation means, the reception means receives the navigation data, and the leap second correction data included in the subframe in the received navigation data is received. A second acquisition means for acquiring;
Leap second correction control means for correcting leap seconds of the internal time data of the time measuring means based on the leap second correction data acquired by the second acquisition means;
A timepiece device comprising:
現在時刻を計時し内部時刻データとして保持する計時手段と、
GPS衛星から送信された航法データを受信する受信手段と、
この受信手段により受信された航法データの中からサブフレーム及びページの各識別情報と時刻情報とを取得する第1の取得手段と、
この第1の取得手段により取得されたサブフレーム及びページの各識別情報と時刻情報とから、当該サブフレーム以降のサブフレームに含まれる閏秒補正データを受信するまでの時間を算出する受信時間算出手段と、
前記受信時間算出手段は、
サブフレーム及びページの各識別情報を用いて受信タイミング値を算出する受信タイミング値算出手段と、
前記受信タイミング値が所定時間未満であるか否かを判別する受信タイミング値判別手段と、
前記受信タイミング値が所定時間未満である場合、受信タイミング値に航法データの全フレームを受信するのに必要な時間を加算して受信タイミング値を更新し、更新した受信タイミング値と時刻情報とから、閏秒補正データを受信するまでの時間を設定する第1設定手段と、
前記受信タイミング値が所定時間未満でない場合、受信タイミング値と時刻情報とから、閏秒補正データを受信するまでの時間を設定する第2設定手段と、を有し、
前記計時手段の内部時刻データで示される時間が、予め設定された閏秒補正データを受信する設定タイミングになったか否かを判別する設定タイミング判別手段と、
この設定タイミング判別手段により前記閏秒補正データを受信する設定タイミングとなったと判別された場合に、前記受信手段に航法データを受信させ、当該受信された航法データ中のサブフレームに含まれている閏秒補正データを取得する第2の取得手段と、
前記第2の取得手段により取得された閏秒補正データに基づいて、前記計時手段の内部時刻データの閏秒を補正する閏秒補正制御手段と、
を備えることを特徴とする時計装置。
A timekeeping means that keeps the current time as internal time data,
Receiving means for receiving navigation data transmitted from a GPS satellite;
First acquisition means for acquiring each subframe and page identification information and time information from the navigation data received by the reception means;
Receiving time calculation for calculating the time until receiving leap second correction data included in the subframes after the subframe from the identification information and time information of the subframe and page acquired by the first acquisition unit Means,
The reception time calculating means includes
A reception timing value calculating means for calculating a reception timing value using each identification information of a subframe and a page;
Reception timing value determination means for determining whether or not the reception timing value is less than a predetermined time;
When the reception timing value is less than a predetermined time, the reception timing value is updated by adding the time necessary to receive all the frames of the navigation data to the reception timing value, and from the updated reception timing value and time information First setting means for setting a time until receiving leap second correction data;
If the reception timing value is not less than a predetermined time, the second setting means for setting the time until reception of leap second correction data from the reception timing value and time information,
A setting timing discriminating means for discriminating whether or not the time indicated by the internal time data of the time measuring means has reached a setting timing for receiving preset leap second correction data;
When it is determined by the setting timing determining means that the setting timing for receiving the leap second correction data has been reached, the receiving means receives the navigation data and is included in the subframe in the received navigation data. A second acquisition means for acquiring leap second correction data;
Leap second correction control means for correcting the leap second of the internal time data of the time measuring means based on the leap second correction data acquired by the second acquisition means;
A timepiece device comprising:
前記設定タイミングは、GPS衛星側で閏秒の補正が実行される予定時期に対応し、少なくとも6月及び12月の末日に対応するタイミングを含むことを取得する請求項7に記載の時計装置。   The timepiece device according to claim 7, wherein the setting timing corresponds to a scheduled time when leap second correction is performed on the GPS satellite side, and includes a timing corresponding to at least the last day of June and December. 前記第2の取得手段により取得された閏秒補正データに基づいて、閏秒の補正タイミングを算出する補正タイミング算出手段と、
この補正タイミング算出手段により算出された補正タイミングに基づいて、前記計時手段の内部時刻データで示される時間が閏秒を補正する補正タイミングになったか否かを判別する補正タイミング判別手段と、を備え、
前記閏秒補正制御手段は、前記補正タイミングとなったと判別された場合に、前記計時手段の内部時刻データの閏秒を補正することを特徴とする請求項1から8のいずれか一項に記載の時計装置。
Correction timing calculating means for calculating leap second correction timing based on leap second correction data acquired by the second acquisition means;
Correction timing determining means for determining whether or not the time indicated by the internal time data of the time measuring means has reached a correction timing for correcting leap seconds based on the correction timing calculated by the correction timing calculating means. ,
9. The leap second correction control means corrects leap seconds of the internal time data of the time measuring means when it is determined that the correction timing is reached. 9. Clock device.
GPS衛星から送信された航法データを受信する第1の受信工程と、
この第1の受信工程において受信された航法データの中からサブフレーム及びページの各識別情報と時刻情報とを取得する第1の取得工程と、
この第1の取得工程において取得されたサブフレーム及びページの各識別情報と時刻情報とから、当該サブフレーム以降のサブフレームに含まれる閏秒補正データを受信するまでの時間を算出する受信時間算出工程と、
前記受信時間算出工程は、
サブフレーム及びページの各識別情報を用いて受信タイミング値を算出する受信タイミング値算出工程と、
前記受信タイミング値が所定時間未満であるか否かを判別する受信タイミング値判別工程と、
前記受信タイミング値が所定時間未満である場合、受信タイミング値に航法データの全フレームを受信するのに必要な時間を加算して受信タイミング値を更新し、更新した受信タイミング値と時刻情報とから、閏秒補正データを受信するまでの時間を設定する第1設定工程と、
前記受信タイミング値が所定時間未満でない場合、受信タイミング値と時刻情報とから、閏秒補正データを受信するまでの時間を設定する第2設定工程と、を有し、
この受信時間算出工程において算出された閏秒補正データを受信するまでの時間に基づいて、当該閏秒補正データを受信する受信タイミングになったか否かを判別する受信タイミング判別工程と、
この受信タイミング判別工程において前記閏秒補正データを受信するタイミングとなったと判別された場合に、航法データを受信する第2の受信工程と、
この第2の受信工程において受信された航法データ中のサブフレームに含まれている閏秒補正データを取得する第2の取得工程と、
この第2の取得工程において取得された閏秒補正データに基づいて、現在時刻を計時し内部時刻データとして保持する計時手段の内部時刻データの閏秒を補正する閏秒補正制御工程と、
を含むことを特徴とする閏秒補正方法。
A first receiving step of receiving navigation data transmitted from a GPS satellite;
A first acquisition step of acquiring identification information and time information of each subframe and page from the navigation data received in the first reception step;
Receiving time calculation for calculating the time taken to receive leap second correction data included in subframes after the subframe from the identification information and time information of the subframe and page acquired in the first acquisition step. Process,
The reception time calculating step includes
A reception timing value calculating step of calculating a reception timing value using identification information of each subframe and page;
A reception timing value determination step of determining whether or not the reception timing value is less than a predetermined time;
When the reception timing value is less than a predetermined time, the reception timing value is updated by adding the time necessary to receive all the frames of the navigation data to the reception timing value, and from the updated reception timing value and time information A first setting step of setting a time until receiving leap second correction data;
If the reception timing value is not less than a predetermined time, a second setting step of setting a time until reception of leap second correction data from the reception timing value and time information,
A reception timing determination step for determining whether it is a reception timing for receiving the leap second correction data, based on the time until the leap second correction data calculated in the reception time calculation step is received;
A second reception step of receiving navigation data when it is determined that the timing for receiving the leap second correction data is reached in this reception timing determination step;
A second acquisition step of acquiring leap second correction data included in the subframe in the navigation data received in the second reception step;
Based on the leap second correction data acquired in the second acquisition step, the leap second correction control step of correcting the leap second of the internal time data of the time measuring means that measures the current time and holds it as internal time data;
A leap second correction method comprising:
GPS衛星から送信された航法データを受信する第1の受信工程と、
この第1の受信工程において受信された航法データの中からサブフレーム及びページの各識別情報と時刻情報とを取得する第1の取得工程と、
この第1の取得工程において取得されたサブフレーム及びページの各識別情報と時刻情報とに基づいて、他のサブフレームに含まれている閏秒補正データの取得すべきタイミングを閏秒補正データ取得タイミングとして算出する取得タイミング算出工程と、
前記取得タイミング算出工程は、
サブフレーム及びページの各識別情報を用いて受信タイミング値を算出する受信タイミング値算出工程と、
前記受信タイミング値が所定時間未満であるか否かを判別する受信タイミング値判別工程と、
前記受信タイミング値が所定時間未満である場合、受信タイミング値に航法データの全フレームを受信するのに必要な時間を加算して受信タイミング値を更新し、更新した受信タイミング値と時刻情報とに基づいて、閏秒補正データ取得タイミングを設定する第1設定工程と、
前記受信タイミング値が所定時間未満でない場合、受信タイミング値と時刻情報とに基づいて、閏秒補正データ取得タイミングを設定する第2設定工程と、を有し、
この取得タイミング算出工程において算出された閏秒補正データ取得タイミングに至る直前に、航法データを受信する第2の受信工程と、
この第2の受信工程において受信された航法データ中のサブフレームに含まれている閏秒補正データを取得する第2の取得工程と、
この第2の取得工程において取得された閏秒補正データに基づいて、現在時刻を計時し内部時刻データとして保持する計時手段の内部時刻データの閏秒の補正を行う閏秒補正制御工程と、
を含むことを特徴とする閏秒補正方法。
A first receiving step of receiving navigation data transmitted from a GPS satellite;
A first acquisition step of acquiring identification information and time information of each subframe and page from the navigation data received in the first reception step;
Based on the identification information and time information of each subframe and page acquired in the first acquisition step, the leap second correction data acquisition timing for acquiring leap second correction data included in other subframes is acquired. An acquisition timing calculation step to calculate as timing;
The acquisition timing calculation step includes
A reception timing value calculating step of calculating a reception timing value using identification information of each subframe and page;
A reception timing value determination step of determining whether or not the reception timing value is less than a predetermined time;
When the reception timing value is less than a predetermined time, the reception timing value is updated by adding the time necessary to receive all the frames of the navigation data to the reception timing value, and the updated reception timing value and time information are obtained. A first setting step for setting the leap second correction data acquisition timing based on:
A second setting step for setting a leap second correction data acquisition timing based on the reception timing value and the time information when the reception timing value is not less than a predetermined time; and
A second reception step of receiving navigation data immediately before reaching the leap second correction data acquisition timing calculated in the acquisition timing calculation step;
A second acquisition step of acquiring leap second correction data included in the subframe in the navigation data received in the second reception step;
Based on the leap second correction data acquired in the second acquisition step, the leap second correction control step of correcting the leap second of the internal time data of the clock means that measures the current time and holds it as internal time data;
A leap second correction method comprising:
GPS衛星から送信された航法データを受信する第1の受信工程と、
この第1の受信工程により受信された航法データの中からサブフレーム及びページの各識別情報と時刻情報とを取得する第1の取得工程と、
この第1の取得工程により取得されたサブフレーム及びページの各識別情報と時刻情報とから、当該サブフレーム以降のサブフレームに含まれる閏秒補正データを受信するまでの時間を算出する受信時間算出工程と、
前記受信時間算出工程は、
サブフレーム及びページの各識別情報を用いて受信タイミング値を算出する受信タイミング値算出工程と、
前記受信タイミング値が所定時間未満であるか否かを判別する受信タイミング値判別工程と、
前記受信タイミング値が所定時間未満である場合、受信タイミング値に航法データの全フレームを受信するのに必要な時間を加算して受信タイミング値を更新し、更新した受信タイミング値と時刻情報とから、閏秒補正データを受信するまでの時間を設定する第1設定工程と、
前記受信タイミング値が所定時間未満でない場合、受信タイミング値と時刻情報とから、閏秒補正データを受信するまでの時間を設定する第2設定工程と、を有し、
現在時刻を計時し内部時刻データとして保持する計時手段の内部時刻データで示される時間が、予め設定された閏秒補正データを受信する設定タイミングになったか否かを判別する設定タイミング判別工程と、
この設定タイミング判別工程において前記閏秒補正データを受信する設定タイミングとなったと判別された場合に、航法データを受信する第2の受信工程と、
この第2の受信工程において受信された航法データ中のサブフレームに含まれている閏秒補正データを取得する第2の取得工程と、
前記第2の取得工程により取得された閏秒補正データに基づいて、前記計時手段の内部時刻データの閏秒を補正する閏秒補正制御工程と、
を含むことを特徴とする閏秒補正方法。
A first receiving step of receiving navigation data transmitted from a GPS satellite;
A first acquisition step of acquiring the identification information and time information of each subframe and page from the navigation data received by the first reception step;
Receiving time calculation for calculating the time from reception of leap second correction data included in subframes subsequent to the subframe from the identification information and time information of the subframe and page acquired in the first acquisition step. Process,
The reception time calculating step includes
A reception timing value calculating step of calculating a reception timing value using identification information of each subframe and page;
A reception timing value determination step of determining whether or not the reception timing value is less than a predetermined time;
When the reception timing value is less than a predetermined time, the reception timing value is updated by adding the time necessary to receive all the frames of the navigation data to the reception timing value, and from the updated reception timing value and time information A first setting step of setting a time until receiving leap second correction data;
If the reception timing value is not less than a predetermined time, a second setting step of setting a time until reception of leap second correction data from the reception timing value and time information,
A setting timing determination step for determining whether or not the time indicated by the internal time data of the time measuring means for measuring the current time and holding it as internal time data has reached a setting timing for receiving preset leap second correction data;
A second receiving step for receiving navigation data when it is determined that the setting timing for receiving the leap second correction data is reached in the setting timing determining step;
A second acquisition step of acquiring leap second correction data included in the subframe in the navigation data received in the second reception step;
A leap second correction control step of correcting the leap second of the internal time data of the time measuring means based on the leap second correction data acquired by the second acquisition step;
A leap second correction method comprising:
JP2006333212A 2006-12-11 2006-12-11 Clock device and leap second correction method Expired - Fee Related JP5114936B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006333212A JP5114936B2 (en) 2006-12-11 2006-12-11 Clock device and leap second correction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006333212A JP5114936B2 (en) 2006-12-11 2006-12-11 Clock device and leap second correction method

Publications (2)

Publication Number Publication Date
JP2008145287A JP2008145287A (en) 2008-06-26
JP5114936B2 true JP5114936B2 (en) 2013-01-09

Family

ID=39605625

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006333212A Expired - Fee Related JP5114936B2 (en) 2006-12-11 2006-12-11 Clock device and leap second correction method

Country Status (1)

Country Link
JP (1) JP5114936B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9869977B2 (en) 2014-01-14 2018-01-16 Casio Computer Co., Ltd. Radio-controlled timepiece

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5200636B2 (en) * 2008-04-07 2013-06-05 セイコーエプソン株式会社 Electronic clock and time correction method of electronic clock
JP5333014B2 (en) * 2009-07-30 2013-11-06 セイコーエプソン株式会社 Electronic device and leap second update information receiving method of electronic device
US8792308B2 (en) 2010-03-26 2014-07-29 Citizen Holdings Co., Ltd. Radio-controlled watch
JP5578103B2 (en) 2011-02-09 2014-08-27 セイコーエプソン株式会社 Electronic timepiece and reception control method for electronic timepiece
JP5790061B2 (en) * 2011-03-25 2015-10-07 セイコーエプソン株式会社 Electronic timepiece and control method thereof
JP5590198B2 (en) * 2013-07-31 2014-09-17 セイコーエプソン株式会社 Electronic device and leap second update information receiving method of electronic device
JP5842908B2 (en) 2013-12-26 2016-01-13 カシオ計算機株式会社 Radio clock
CN112135168B (en) * 2014-11-20 2022-11-04 松下电器(美国)知识产权公司 Transmission method, reception method, transmission device, and reception device
JP5870221B2 (en) * 2015-03-06 2016-02-24 シチズンホールディングス株式会社 Radio wave watch
EP3979007A1 (en) * 2020-10-02 2022-04-06 Montres Breguet S.A. Watch with mechanical movement with force control mechanism

Family Cites Families (2)

* Cited by examiner, † Cited by third party
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
JP4362656B2 (en) * 2004-12-28 2009-11-11 カシオ計算機株式会社 Time information receiving apparatus and time information receiving control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9869977B2 (en) 2014-01-14 2018-01-16 Casio Computer Co., Ltd. Radio-controlled timepiece

Also Published As

Publication number Publication date
JP2008145287A (en) 2008-06-26

Similar Documents

Publication Publication Date Title
JP5114936B2 (en) Clock device and leap second correction method
JP4957049B2 (en) Clock device and time correction method
JP5428167B2 (en) Time correction device, time measuring device with time correction device, and time correction method
JP5310426B2 (en) Electronic clock and time correction method of electronic clock
JP5200636B2 (en) Electronic clock and time correction method of electronic clock
US7701390B2 (en) Time adjustment device, timekeeping device with a time adjustment device, and a time adjustment method
JP2008032638A (en) Positioning system, positioning method, and clock having the positioning system
US9952561B2 (en) Radio timepiece, method for acquiring leap second correction information and recording medium
US10317850B2 (en) Positioning apparatus, electronic timepiece, positioning control method and recording medium
JP6508096B2 (en) Satellite radio wave receiver, radio wave clock, date and time information output method, and program
JP2023112161A (en) Satellite radio wave receiver, electronic timepiece, positioning control method and program
CN109100930B (en) Electronic device, date and time acquisition control method, and recording medium
JP6394008B2 (en) Electronic clock and date data correction method
US20140226446A1 (en) Radio-controlled wristwatch
US9557718B2 (en) Electronic timepiece and electronic device
JP6485148B2 (en) Radio clock
JP6015694B2 (en) Radio clock
JP5007254B2 (en) Time calculation device and positioning device
JP6702246B2 (en) Satellite radio receiver, electronic clock, date and time acquisition method and program
US20240176307A1 (en) Satellite radio wave receiving device, electronic watch, method for controlling acquisition of date and time information, and program for the same
JP6687141B2 (en) Radio clock
JP6953860B2 (en) Electronic clock, date and time information acquisition method and program
JP2012132705A (en) Electronic clock, and time correction method of electronic clock
JP2019060753A (en) Satellite radio wave receiver, electronic timepiece, date-time information acquisition control method and program
JP2015225057A (en) Electronic timepiece

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091008

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111128

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120321

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120521

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20120521

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120918

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121001

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5114936

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20151026

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees