[go: up one dir, main page]

JP6394008B2 - Electronic clock and date data correction method - Google Patents

Electronic clock and date data correction method Download PDF

Info

Publication number
JP6394008B2
JP6394008B2 JP2014048441A JP2014048441A JP6394008B2 JP 6394008 B2 JP6394008 B2 JP 6394008B2 JP 2014048441 A JP2014048441 A JP 2014048441A JP 2014048441 A JP2014048441 A JP 2014048441A JP 6394008 B2 JP6394008 B2 JP 6394008B2
Authority
JP
Japan
Prior art keywords
time
date
period
satellite
radio wave
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.)
Active
Application number
JP2014048441A
Other languages
Japanese (ja)
Other versions
JP2015172523A (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 JP2014048441A priority Critical patent/JP6394008B2/en
Publication of JP2015172523A publication Critical patent/JP2015172523A/en
Application granted granted Critical
Publication of JP6394008B2 publication Critical patent/JP6394008B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electric Clocks (AREA)

Description

この発明は、測位衛星からの電波を受信して日時を修正する機能を有する電子時計及び日時データの修正方法に関する。   The present invention relates to an electronic timepiece having a function of correcting a date and time by receiving radio waves from a positioning satellite and a date and time data correcting method.

従来、GPS(Global Positioning System)を始めとする測位システムのスペースセグメントである測位衛星の送信電波を受信して日時情報を取得し、取得された日時情報により計時データを修正する機能を有する電子時計がある。測位衛星の送信電波を利用した計時データの修正では、複数の測位衛星から日時情報及び位置(軌道)情報を取得することで、非常に高い精度で日付及び時刻を取得することが出来る。   2. Description of the Related Art Conventionally, an electronic timepiece having a function of receiving time transmission information from a positioning satellite, which is a space segment of a positioning system such as a GPS (Global Positioning System), obtaining date / time information, and correcting time measurement data based on the obtained date / time information. There is. In the correction of time measurement data using the transmission radio wave of the positioning satellite, the date and time can be acquired with very high accuracy by acquiring the date information and position (orbit) information from a plurality of positioning satellites.

GPSの測位衛星(以後、GPS衛星と記す)からの送信データには、5つのサブフレームデータ(6秒)により合計30秒のフレームデータが構成されている。この中で、各フレームに含まれる日時情報としては、一週間の中での経過時間を示すデータ(TOW-Count)を含むHOW(Hand Over Word)と、当該週がどの週であるかを示すデータ(WN、Week Number)とがある。このうちHOWは、全てのサブフレームにそれぞれ含まれるのに対し、WNは、一フレームの中で1つのサブフレームにのみ含まれる。従って、完全な日時データを取得するためには、最大で一フレーム30秒のデータを受信する必要が生じ得ることから消費電力が増大するという問題がある。   The transmission data from the GPS positioning satellite (hereinafter referred to as GPS satellite) is composed of five sub-frame data (6 seconds) and a total of 30 seconds of frame data. Among them, the date and time information included in each frame indicates HOW (Hand Over Word) including data (TOW-Count) indicating elapsed time in one week and which week the corresponding week is. Data (WN, Week Number). Of these, HOW is included in all subframes, whereas WN is included in only one subframe in one frame. Therefore, in order to acquire complete date and time data, there is a problem that power consumption increases because it is necessary to receive data of 30 seconds per frame at the maximum.

そこで、従来、予めWNデータに対応する日付情報や更には時間情報を設定しておき、1サブフレームのデータを受信してHOWのみに基づいて日時を取得することで、受信時間の短縮とこれに伴う消費電力の低減を図りながら正確に計時データを修正する技術がある。   Therefore, conventionally, date information or further time information corresponding to WN data is set in advance, one subframe data is received and the date and time is acquired based only on HOW, thereby shortening the reception time. There is a technology that corrects time data accurately while reducing the power consumption associated with.

また、本願に関連した発明として、期限付きコンテンツの再生認証において、時刻情報の改竄による不正への対策として所定時間以上現在時刻の修正が行われていない場合や、手動での時刻修正が行われている場合には、GPS衛星からの時刻情報や長波長帯で時刻情報を送信している標準電波の時刻情報を取得して自動的に時刻の修正を行う技術がある。   In addition, as an invention related to the present application, in the reproduction authentication of time-limited content, when the current time is not corrected for a predetermined time or more as a countermeasure against fraud due to falsification of time information, or the time is manually corrected. In such a case, there is a technique for automatically correcting the time by acquiring time information from a GPS satellite or time information of a standard radio wave transmitting time information in a long wavelength band.

特開2005−251248号公報JP 2005-251248 A

しかしながら、測位衛星から短時間の受信で日時情報を取得して修正を行う場合、受信データからは、取得された日時情報の正確性を保証する情報が削られることから、信頼性が低下するという課題がある。また、予め設定される日付や時間の精度によっては、当該設定を利用して日時を修正すると、むしろずれが拡大したり、日時を誤修正したりする場合が生じるという課題がある。   However, when the date and time information is acquired from the positioning satellite in a short time and corrected, the information that guarantees the accuracy of the acquired date and time information is deleted from the received data, so that the reliability decreases. There are challenges. In addition, depending on the accuracy of the date and time set in advance, there is a problem that when the date and time are corrected using the setting, the deviation may be increased or the date and time may be erroneously corrected.

この発明の目的は、電力消費の増大を抑えながら、正確な日時をより確実に取得して計時を行うことの出来る電子時計及び日時データの修正方法を提供することにある。   SUMMARY OF THE INVENTION An object of the present invention is to provide an electronic timepiece and a date / time data correction method capable of obtaining an accurate date and time more reliably while suppressing an increase in power consumption.

本発明は、上記目的を達成するため、
日時を計数する計時手段と、
測位衛星からの電波信号を受信する衛星電波受信手段と、
前記衛星電波受信手段による受信期間を制御する受信期間制御手段と、
前記衛星電波受信手段により受信された電波信号に基づいて日時情報を取得する衛星日時取得手段と、
外部との通信を行う外部通信手段と、
当該外部通信手段により外部から日時情報を取得する外部日時取得手段と、
取得された日時情報を用いて前記計時手段が計数する日時を修正する修正手段と、
を備え、
前記衛星日時取得手段は、前記修正手段により前回修正が行われてからの経過時間が、前回の日時の修正方法に応じて定められ、日時情報の取得方法の選択に係る第1基準時間以下の場合には、前記経過時間及び選択される前記取得方法に応じた読取期間を定めて、前記衛星電波受信手段による受信内容に基づいて当該読取期間内の日時を取得し、
前記受信期間制御手段は、前記測位衛星から送信される一連のデータのうち、前記衛星日時取得手段が現在の日時を同定することが可能な一部のデータを取得する間を前記受信期間として前記衛星電波受信手段を動作させる
ことを特徴とする電子時計である。
In order to achieve the above object, the present invention
A time counting means for counting the date and time;
Satellite radio wave receiving means for receiving radio signals from positioning satellites;
A reception period control means for controlling a reception period by the satellite radio wave reception means;
Satellite date and time acquisition means for acquiring date and time information based on the radio wave signal received by the satellite radio wave reception means;
An external communication means for communicating with the outside;
External date and time acquisition means for acquiring date and time information from outside by the external communication means;
Correction means for correcting the date and time counted by the time measuring means using the acquired date and time information;
With
The satellite time acquisition unit, an elapsed time from being performed the previous corrected by the correcting means, is determined according to the correction method of the previous time, the first following criteria hour according to the selection of the method for obtaining the day-time information In this case, the reading period according to the elapsed time and the acquisition method to be selected is determined, and the date and time within the reading period is acquired based on the content received by the satellite radio wave reception means,
The reception period control means sets the reception period as a period during which the satellite date and time acquisition means acquires a part of data capable of identifying the current date and time among a series of data transmitted from the positioning satellite. An electronic timepiece characterized by operating a satellite radio wave receiving means.

本発明に従うと、電力消費の増大を抑えながら、正確な日時をより確実に取得して計時を行うことが出来るという効果がある。   According to the present invention, there is an effect that time can be measured by more accurately acquiring the accurate date and time while suppressing an increase in power consumption.

本発明の第1実施形態の電子時計の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the electronic timepiece of 1st Embodiment of this invention. GPS衛星の送信メッセージフォーマットについて説明する図である。It is a figure explaining the transmission message format of a GPS satellite. 直近の日時修正を示すステータス情報について説明する図である。It is a figure explaining the status information which shows the latest date correction. 日時修正処理の制御手順を示すフローチャートである。It is a flowchart which shows the control procedure of a date correction process. 標準電波日時修正処理の制御手順を示すフローチャートである。It is a flowchart which shows the control procedure of a standard radio wave date correction process. GPS日時修正処理の制御手順を示すフローチャートである。It is a flowchart which shows the control procedure of a GPS date correction process. 第2実施形態のステータス設定処理の制御手順を示すフローチャートである。It is a flowchart which shows the control procedure of the status setting process of 2nd Embodiment. 第2実施形態の標準電波日時修正処理の制御手順を示すフローチャートである。It is a flowchart which shows the control procedure of the standard radio wave date correction process of 2nd Embodiment. 第2実施形態のGPS日時修正処理の制御手順を示すフローチャートである。It is a flowchart which shows the control procedure of the GPS date correction process of 2nd Embodiment. 第3実施形態のステータス設定処理の制御手順を示すフローチャートである。It is a flowchart which shows the control procedure of the status setting process of 3rd Embodiment. 第3実施形態のGPS日時修正処理の制御手順を示すフローチャートである。It is a flowchart which shows the control procedure of the GPS date correction process of 3rd Embodiment. 第4実施形態のGPS日時修正処理の制御手順を示すフローチャートである。It is a flowchart which shows the control procedure of the GPS date correction process of 4th Embodiment. 第5実施形態のGPS日時修正処理の制御手順を示すフローチャートである。It is a flowchart which shows the control procedure of the GPS date correction process of 5th Embodiment.

以下、本発明の実施の形態を図面に基づいて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

[第1実施形態]
先ず、第1実施形態の電子時計1について説明する。
図1は、第1実施形態の電子時計1の内部構成を示すブロック図である。
[First Embodiment]
First, the electronic timepiece 1 of the first embodiment will be described.
FIG. 1 is a block diagram showing the internal configuration of the electronic timepiece 1 of the first embodiment.

この電子時計1は、CPU(Central Processing Unit)41(衛星日時取得手段、修正手段、手動日時取得手段、整合判別手段、外部日時取得手段、ずれ算出手段)と、ROM(Read Only Memory)42(重複期間記憶手段)と、RAM(Random Access Memory)43と、発振回路44と、分周回路45と、計時回路46(計時手段)と、操作部47(操作手段)と、表示部48及び表示ドライバ49と、GPS受信処理部50及びそのアンテナ51と、長波受信部52及びそのアンテナ53と、電源部54などを備えている。   This electronic timepiece 1 includes a CPU (Central Processing Unit) 41 (satellite date / time acquisition means, correction means, manual date / time acquisition means, alignment determination means, external date / time acquisition means, deviation calculation means), and ROM (Read Only Memory) 42 ( (Overlap period storage means), RAM (Random Access Memory) 43, oscillation circuit 44, frequency divider circuit 45, timer circuit 46 (timer means), operation unit 47 (operation means), display unit 48 and display A driver 49, a GPS reception processing unit 50 and its antenna 51, a long wave reception unit 52 and its antenna 53, a power supply unit 54, and the like are provided.

CPU41は、各種演算処理を行い、電子時計1の全体動作を統括制御する。CPU41は、計時回路46の現在の日時データを読み出して表示部48に表示させると共に、プログラム42aに基づいてGPS受信処理部50及び長波受信部52を動作させて正確な日時データを取得して、計時回路46が計数する日時を修正する。   The CPU 41 performs various arithmetic processes and controls the overall operation of the electronic timepiece 1. The CPU 41 reads out the current date / time data of the timing circuit 46 and displays it on the display unit 48, and operates the GPS reception processing unit 50 and the long wave reception unit 52 based on the program 42a to acquire accurate date / time data, The date and time counted by the timer circuit 46 is corrected.

ROM42は、制御用の各種プログラムや初期設定データなどを記憶して格納する。ROM42に格納されるプログラムには、計時回路46の計数する現在の日時を修正するための処理に係るプログラム42aが含まれる。また、ROM42には、GPS衛星からの受信信号において、後述するPreambleと同一の符号配列が日時データ内に出現する期間が予め格納されている。この期間データは、テーブルデータとしてプログラム42aから読み出されて利用される。或いは、この期間データがプログラム42aの中に一体的に格納されていても良い。
RAM43は、CPU41に作業用のメモリ空間を提供し、作業データや各種設定データを記憶する。RAM43には、修正履歴記憶部43a(読取期間設定記憶手段)が含まれ、直近の日時修正履歴に係る情報を記憶する。本実施形態の修正履歴記憶部43aには、直近の日時修正状況を示すステータスbが記憶される。
The ROM 42 stores and stores various control programs and initial setting data. The programs stored in the ROM 42 include a program 42a related to a process for correcting the current date and time counted by the timer circuit 46. Further, the ROM 42 stores in advance a period in which the same code array as the preamble described later appears in the date / time data in the received signal from the GPS satellite. This period data is read from the program 42a as table data and used. Alternatively, this period data may be integrally stored in the program 42a.
The RAM 43 provides a work memory space to the CPU 41 and stores work data and various setting data. The RAM 43 includes a correction history storage unit 43a (reading period setting storage means), and stores information related to the latest date / time correction history. The correction history storage unit 43a of the present embodiment stores a status b indicating the latest date and time correction status.

発振回路44は、所定の周波数信号を生成して出力する。発振回路44は、例えば、水晶発振器を備えている。
分周回路45は、発振回路44から入力された所定の周波数信号をCPU41や計時回路46が利用する各周波数の信号に分周して各々出力する。
The oscillation circuit 44 generates and outputs a predetermined frequency signal. The oscillation circuit 44 includes, for example, a crystal oscillator.
The frequency dividing circuit 45 divides the predetermined frequency signal input from the oscillation circuit 44 into signals of each frequency used by the CPU 41 and the time measuring circuit 46, and outputs the signals.

計時回路46は、現在の日付及び時刻(日時)を計数する。計時回路46は、分周回路45から入力されたクロック信号を計数し、日時の初期値に加算していくことで現在の日時データを保持するカウンタである。計時回路46の初期値は、電源投入時には、図示略のRTC(Real Time Clock)が参照されて設定されるとともに、日時修正に係るプログラム42aの実行に応じてCPU41により上書き修正される。
この計時回路46により計数される日時は、発振回路44の水晶発振器が生成する周波数信号の周波数誤差に応じた計時誤差(歩度)が含まれる。通常の電子時計1で用いられる発振回路44の水晶発振器の計時誤差としては、例えば、月当たり約15秒であり、予め測定、取得してROM42などに設定しておくことが出来る。前回日時修正が行われてからの経過時間にこの計時誤差を乗ずることで、計時回路46の計数する日時が正確な日時に対してずれる時間差を見積もることが出来る。
The timer circuit 46 counts the current date and time (date and time). The timer circuit 46 is a counter that holds the current date and time data by counting the clock signal input from the frequency dividing circuit 45 and adding it to the initial date and time value. The initial value of the time measuring circuit 46 is set by referring to an unillustrated RTC (Real Time Clock) when the power is turned on, and is overwritten and corrected by the CPU 41 in accordance with the execution of the program 42a related to date and time correction.
The date and time counted by the timing circuit 46 includes a timing error (rate) according to the frequency error of the frequency signal generated by the crystal oscillator of the oscillation circuit 44. The clocking error of the crystal oscillator of the oscillation circuit 44 used in the normal electronic timepiece 1 is, for example, about 15 seconds per month, and can be measured and acquired in advance and set in the ROM 42 or the like. By multiplying the elapsed time since the previous correction of date and time by this timing error, it is possible to estimate the time difference that the date and time counted by the timing circuit 46 deviates from the accurate date and time.

操作部47は、ユーザの入力操作を受け付けて、入力信号として電気信号をCPU41に出力する。操作部47は、押しボタンスイッチ、りゅうずやタッチセンサなどのうち一又は複数を備え、これらの押下、回転、接触などの予め定められた各種操作が検出されて操作内容に対応する電気信号が生成される。   The operation unit 47 accepts a user input operation and outputs an electrical signal to the CPU 41 as an input signal. The operation unit 47 includes one or a plurality of push button switches, crowns, touch sensors, and the like, and various predetermined operations such as pressing, rotation, and contact are detected, and an electric signal corresponding to the operation content is received. Generated.

表示部48は、特には限られないが、デジタル式の表示画面を備え、現在時刻に加えて電子時計1で実行可能な種々の機能に係る表示を行う。表示画面としては、例えば、液晶ディスプレイ(LCD)が用いられ、また、表示ドライバ49には、当該LCDを駆動する液晶ドライバが用いられる。表示ドライバ49は、CPU41から入力された制御信号に基づいてLCDの駆動信号をLCDに出力する。或いは、表示部48は、デジタル表示画面に加えて又は代えて、一又は複数の指針を備え、駆動回路により駆動されるステッピングモータの回転により当該指針が回転動作されて日時やステータスの一部又は全部をアナログ表示することが可能な構成であっても良い。
これらの表示部48及び表示ドライバ49により報知手段が構成される。
Although not particularly limited, the display unit 48 includes a digital display screen, and displays various functions that can be executed by the electronic timepiece 1 in addition to the current time. For example, a liquid crystal display (LCD) is used as the display screen, and a liquid crystal driver that drives the LCD is used as the display driver 49. The display driver 49 outputs an LCD drive signal to the LCD based on the control signal input from the CPU 41. Alternatively, the display unit 48 includes one or a plurality of hands in addition to or in place of the digital display screen, and the hands are rotated by the rotation of the stepping motor driven by the drive circuit, so that a part of the date and time or the status is displayed. A configuration capable of analog display of the whole may be used.
The display unit 48 and the display driver 49 constitute notification means.

GPS受信処理部50は、アンテナ51を用いて一又は複数の測位衛星、ここでは、GPS衛星から電波を受信し、日時情報を取得する。ここで、日時情報とは、GPS衛星の内部時計が計数する日時に対応した値であり、当該値を電子時計1のタイムゾーンや後述する遅延時間などの情報に基づいて変換することで、計時回路46が計数する時刻の値に変換される。このGPS受信処理部50は、複数のGPS衛星の中から受信可能なものを探索して当該GPS衛星の受信周波数に同調し、また、復号するためのC/Aコードを同定する。また、GPS受信処理部50は、受信されたGPS衛星からの送信電波を復調、復号して日時データを取得し、設定されたフォーマットでCPU41に出力する。
このとき、GPS受信処理部50は、1フレーム分のデータ(一連のデータ)を全て受信しないことで、完全な日時データが受信電波から取得されなくても、予め設定入力された現在の日時データに対して定められた範囲(読取期間)内の日時であると見做して日時データを出力することが出来る。また、この設定入力が無い場合にWNデータが取得されなかった場合には、日付が空白のまま時刻データのみを出力することが可能となっている。
The GPS reception processing unit 50 receives radio waves from one or a plurality of positioning satellites, here GPS satellites, using the antenna 51, and acquires date and time information. Here, the date and time information is a value corresponding to the date and time counted by the internal clock of the GPS satellite, and the time is measured by converting the value based on information such as the time zone of the electronic clock 1 and a delay time described later. The time is counted by the circuit 46. The GPS reception processing unit 50 searches for a receivable one from a plurality of GPS satellites, tunes to the reception frequency of the GPS satellite, and identifies a C / A code for decoding. In addition, the GPS reception processing unit 50 demodulates and decodes the received radio wave from the GPS satellite to acquire date / time data, and outputs it to the CPU 41 in a set format.
At this time, the GPS reception processing unit 50 does not receive all the data (a series of data) for one frame, so that the current date / time data set and input in advance even if the complete date / time data is not acquired from the received radio wave. It is possible to output date / time data on the assumption that the date / time is within the range (reading period) defined for If no WN data is acquired without this setting input, only the time data can be output with the date blank.

また、GPS受信処理部50は、複数のGPS衛星から必要なデータが全て取得された場合には、日時だけではなく、電子時計1の位置を算出、出力可能となっている。
これらのGPS受信処理部50及びアンテナ51により衛星電波受信手段が構成される。
The GPS reception processing unit 50 can calculate and output not only the date but also the position of the electronic timepiece 1 when all necessary data is acquired from a plurality of GPS satellites.
These GPS reception processing unit 50 and antenna 51 constitute a satellite radio wave receiving means.

長波受信部52は、アンテナ53を用いて長波長帯で送信されている時刻情報の電波(標準電波)に同調して受信し、復調した信号をCPU41に出力する。この復調された信号がCPU41で復号されて、日時情報が取得される。なお、長波受信部52が復号処理もまとめて行い、取得された時刻情報がCPU41に出力される構成であっても良い。また、長波受信部52は、更に、種々のノイズ軽減処理に係る構成を備えていても良い。
これらの長波受信部52及びアンテナ53により外部通信手段が構成される。
これらのGPS受信処理部50及び長波受信部52は、他の制御部とはそれぞれ個別に電力供給のオンオフに係るスイッチ制御を行うことが出来る。
The long wave receiving unit 52 uses the antenna 53 to receive in synchronization with the time information radio wave (standard radio wave) transmitted in the long wavelength band, and outputs the demodulated signal to the CPU 41. The demodulated signal is decoded by the CPU 41 to obtain date / time information. In addition, the structure which the long wave receiving part 52 also performs a decoding process collectively and the acquired time information is output to CPU41 may be sufficient. Further, the long wave receiving unit 52 may further include a configuration related to various noise reduction processes.
These long wave receiving unit 52 and antenna 53 constitute an external communication means.
The GPS reception processing unit 50 and the long wave receiving unit 52 can perform switch control related to on / off of power supply separately from other control units.

電源部54は、電子時計1の各部に電力を供給する。電源部54は、例えば、ボタン型或いは円盤状の一次電池といったバッテリを有し、この一次電池は、必要に応じて着脱交換可能となっている。   The power supply unit 54 supplies power to each unit of the electronic timepiece 1. The power supply unit 54 includes, for example, a battery such as a button-type or disk-shaped primary battery, and the primary battery can be attached and detached as necessary.

次に、本実施形態の電子時計1における日時修正の動作について説明する。
図2は、GPS衛星からの送信電波のフォーマットを説明する図である。
Next, the operation of date correction in the electronic timepiece 1 of the present embodiment will be described.
FIG. 2 is a diagram for explaining a format of a transmission radio wave from a GPS satellite.

GPS衛星は、符号データの配列(航法メッセージデータ)を衛星ごとに固有のC/Aコードで位相変調して50bpsで送信している。この航法メッセージデータは、300ビット長(6秒)のサブフレームを5つ含むフレームデータ(1500ビット)を単位として送信される。全データは、25フレーム(ページ)で構成され、これらを全て取得するのには、12.5分を要する。   A GPS satellite modulates the phase of a code data array (navigation message data) with a unique C / A code for each satellite and transmits the data at 50 bps. This navigation message data is transmitted in units of frame data (1500 bits) including five 300-bit length (6 seconds) subframes. All data is composed of 25 frames (pages), and it takes 12.5 minutes to acquire all of them.

各フレームにおいて、サブフレーム1〜3には、当該サブフレームごとの日時情報、ステータス情報や当該GPS衛星の軌道情報(エフェメリスデータ)が含まれる。また、サブフレーム4、5では、全てのGPS衛星に関する予測軌道情報(アルマナックデータ)が25フレームに分割されて送信される。   In each frame, subframes 1 to 3 include date and time information, status information, and orbit information (ephemeris data) of the GPS satellite for each subframe. In subframes 4 and 5, predicted orbit information (almanac data) regarding all GPS satellites is divided into 25 frames and transmitted.

各サブフレームは、30ビット長(0.6秒)、即ち、30個の2値符号配列からなるワード(WORD)10個で構成される。このうち、先頭のWORD1には、22ビットのTLM(テレメトリワード)が含まれ、このTLMは、固定された8ビットの符号配列「10001011」であるPreamble(プリアンブル)で開始される。また、WORD2には、22ビットのHOW(Hand Over Word)が含まれる。このHOWには、日曜0時を始点とする週内の時間を示すTOW−Countが17ビット含まれている。このTOW−Count(Zカウントともいう)は、当該週内でサブフレーム(6秒)ごとに1ずつ増加する値であり、最大値は、土曜日の23時59分54秒の値である「11000100110111111」(10進数で100799)である。
サブフレーム1におけるWORD3の先頭では、1980年1月6日を基準とする週番号WNが10ビット(10進数で最大1023)で送信される。また、各ワードの末尾には、6ビットのパリティ情報が含まれ、当該パリティ情報によりワードの復調が正確に行われたか否かの判定を行うことが出来る。
Each subframe is 30 bits long (0.6 seconds), that is, 10 words (WORD) composed of 30 binary code arrays. Of these, the first WORD1 includes a 22-bit TLM (telemetry word), and this TLM starts with a preamble (preamble) having a fixed 8-bit code array “10001011”. WORD2 includes a 22-bit HOW (Hand Over Word). This HOW includes 17 bits of TOW-Count indicating the time of the week starting from 0:00 on Sunday. This TOW-Count (also referred to as Z count) is a value that increases by 1 every subframe (6 seconds) within the week, and the maximum value is a value of 23:59:54 on Saturday “11000100110111111 "(10079 in decimal).
At the beginning of WORD3 in subframe 1, a week number WN based on January 6, 1980 is transmitted in 10 bits (maximum 1023 in decimal). Further, 6-bit parity information is included at the end of each word, and it can be determined whether or not the demodulation of the word has been accurately performed based on the parity information.

ここで、計時回路46が保持している日時データに日単位以上のずれがないと想定される場合には、WNを取得する必要が無い。従って、何れかのサブフレームのデータが取得されることで、TLM及びHOWのデータが受信される。このとき、隣接するサブフレームの先頭同士6秒間隔で2回Preambleを検出することで、サブフレームにおける各ワードの位置がより正確に同定される。従って、2回Preambleを受信して時刻情報を取得するのに必要な時間は、7〜12秒程度となる。   Here, when it is assumed that the date and time data held by the timing circuit 46 is not shifted by a day unit or more, it is not necessary to acquire the WN. Therefore, TLM and HOW data are received by acquiring data of any subframe. At this time, the position of each word in the subframe is more accurately identified by detecting the preamble twice at intervals of 6 seconds between the heads of adjacent subframes. Accordingly, the time required to receive the preamble twice and acquire the time information is about 7 to 12 seconds.

また、2回目のPreambleの検出を省略すると、GPS受信処理部50は、WORD1を受信して1回のPreambleのみでワードの位置を同定し、WORD2のデータで日時を解読した時点で受信を終了することも出来る。計時回路46が保持している日時データに数秒以上のずれがない場合には、当該タイミングに合わせてGPS衛星からの電波受信を開始することで、2〜3ワード分の長さ、即ち、1〜2秒程度の受信時間で必要な時刻情報が取得可能になる。但し、この場合には、GPS衛星からの信号の中にPreambleと同一の符号配列が存在した場合に、各ワード位置が誤同定される虞がある。そしてこの場合、パリティチェックも3回程度しか行われないので、同定の誤りが検出されない場合もある。   If the detection of the second preamble is omitted, the GPS reception processing unit 50 receives WORD1, identifies the position of the word only with one preamble, and terminates the reception when the date / time is decoded with the data of WORD2. You can also When the date and time data held by the clock circuit 46 is not shifted by several seconds or more, the reception of the radio wave from the GPS satellite is started in accordance with the timing, so that the length of 2 to 3 words, that is, 1 Necessary time information can be acquired with a reception time of about 2 seconds. However, in this case, if the same code sequence as the preamble is present in the signal from the GPS satellite, each word position may be erroneously identified. In this case, since the parity check is performed only about three times, an identification error may not be detected.

また、更に、例えば、計時回路46が保持している日時データに3秒未満のずれ(同期点の日時を同定可能な所定のずれ量)しかないと想定される場合には、Preambleを検出して6秒ごとの同期のタイミング(例えば、このPreambleの先頭を同期点とする)のみを取得することで、計時回路の46の計数する日時に対して、例えば、±2秒の合計4秒を読取期間として、当該読取期間内の日時に計時回路46の日時データの修正を行うことも出来る。この場合には、タイミングを合わせてGPS衛星からの電波受信を行うことで、約1ワード分の長さ、即ち1秒未満の受信時間で現在の日時が同定され、計時回路46の日時データの修正が行われる。但し、3ワード分の受信と比較して、更に、ワード位置の誤同定の可能性が高まる。   Further, for example, when it is assumed that the date and time data held by the time counting circuit 46 has a deviation of less than 3 seconds (a predetermined deviation amount that can identify the date and time of the synchronization point), the preamble is detected. By acquiring only the timing of synchronization every 6 seconds (for example, the head of this preamble is set as the synchronization point), for example, a total of 4 seconds of ± 2 seconds is obtained for the date and time counted by 46 of the clock circuit. As the reading period, the date / time data of the timing circuit 46 can be corrected at the date / time within the reading period. In this case, the current date and time is identified with a length of about one word, that is, a reception time of less than one second, by receiving radio waves from the GPS satellites at the same timing. Corrections are made. However, the possibility of misidentification of the word position is further increased as compared with reception of three words.

なお、1つのGPS衛星からの送信電波のみを用いて日時データを取得する場合には、当該GPS衛星と受信地点との間の正確な距離を求めることが出来ないので、60ms〜85ms程度の伝播時間のよる遅延を正確に見積もることが出来ない。そこで、取得された日時から一律に、例えば、70ms程度進めることで、約15ms以内のずれで現在の日時データを取得することとしても良い。これにより、受信時間を延長せず、即ち、電力消費を増大させずに時計の実用上問題のない程度の小さな誤差範囲内で略正確な日時情報を取得することが出来る。   Note that when date / time data is acquired using only the radio waves transmitted from one GPS satellite, it is impossible to determine the exact distance between the GPS satellite and the reception point, so propagation of about 60 ms to 85 ms is possible. The delay due to time cannot be estimated accurately. Therefore, the current date / time data may be acquired with a deviation within about 15 ms by, for example, about 70 ms of advance from the acquired date / time. As a result, it is possible to obtain substantially accurate date and time information within a small error range that does not cause a practical problem of the timepiece without extending the reception time, that is, without increasing power consumption.

また、閏秒に係る情報、夏時間の実施情報、タイムゾーンに係る情報などの特殊な情報は、別途保持されている必要がある。   In addition, special information such as leap second information, daylight saving time implementation information, and time zone information needs to be stored separately.

このように、1フレームデータ全体を受信せず、短時間の電波受信により日時情報を取得する場合、計時回路46の日時データをどの程度利用出来るかについては、当該日時のずれの大きさに依存するので、この電子時計1では、当該ずれの大きさの見込値に応じて日時情報の受信及び取得の方法を変更する。   As described above, when date / time information is acquired by short-time radio wave reception without receiving the entire frame data, the extent to which the date / time data of the clock circuit 46 can be used depends on the magnitude of the date / time deviation. Therefore, in the electronic timepiece 1, the method for receiving and acquiring the date / time information is changed according to the estimated value of the magnitude of the deviation.

図3は、直近の日時の修正を示すステータス情報について説明する図表である。
本実施形態の電子時計1では、修正履歴記憶部43aに4つのフラグb[0]〜b[3]による4ビットのステータスbを記憶させることで、直近の日時修正のタイミング(前回修正が行われてからの経過時間)と種別(日時情報の取得方法)を容易に取得することが出来る。
FIG. 3 is a chart for explaining status information indicating correction of the latest date and time.
In the electronic timepiece 1 according to the present embodiment, the correction history storage unit 43a stores the 4-bit status b based on the four flags b [0] to b [3], so that the most recent date / time correction timing (previous correction is performed). Elapsed time since then) and type (date information acquisition method) can be easily acquired.

ステータスbの最下位ビットのフラグb[0]は、直近の日時修正がGPS衛星からの電波受信によるものであるか否かを示す。フラグb[0]が「1」の場合には、1ヵ月(第1基準時間)以内にGPS衛星からの電波受信により日時修正が行われていることを示し、フラグb[0]が「0」の場合には、直近の日時修正がGPS衛星からの電波受信によるものではない、又は、1ヵ月以内に日時修正が行われていないことを示す。   The flag b [0] of the least significant bit of status b indicates whether or not the most recent date / time correction is due to radio wave reception from a GPS satellite. When the flag b [0] is “1”, it indicates that the date / time has been corrected by receiving a radio wave from a GPS satellite within one month (first reference time), and the flag b [0] is “0”. "" Indicates that the most recent date / time correction is not due to radio wave reception from a GPS satellite, or that the date / time correction has not been performed within one month.

同様に、2桁目のフラグb[1]は、直近の日時修正が標準電波の受信によるものであるか否かを示す。フラグb[1]が「1」の場合には、1ヵ月以内に標準電波の受信により日時修正が行われていることを示し、フラグb[1]が「0」の場合には、直近の日時修正が標準電波の受信よるものではないか、又は、1ヵ月以内に日時修正が行われていないことを示す。   Similarly, the second digit flag b [1] indicates whether or not the most recent date and time correction is due to reception of a standard radio wave. When the flag b [1] is “1”, it indicates that the date and time have been corrected by receiving the standard radio wave within one month, and when the flag b [1] is “0”, the latest This indicates that the date / time correction is not based on reception of the standard radio wave, or that the date / time correction has not been performed within one month.

また、3桁目のフラグb[2]は、直近の日時修正がユーザの手動入力操作によるものであるか否かを示す。フラグb[2]が「1」の場合には、1ヵ月以内に手動入力操作により日時修正が行われていることを示し、フラグb[2]が「0」の場合には、直近の日時修正が手動入力操作によるものではないか、又は、1ヵ月以内に日時修正が行われていないことを示す。
なお、フラグb[0]〜b[2]における修正の有効期限である1ヵ月は、修正方法ごとに適宜変更可能である。例えば、手動入力操作による日時修正のみ7日以内というように異なる設定であっても良い。また、計時回路46の誤差(歩度)が小さい電子時計1の場合には、有効期限をより長く設定しても問題を生じない。
The third digit flag b [2] indicates whether or not the most recent date / time correction is due to a user's manual input operation. When the flag b [2] is “1”, it indicates that the date / time has been corrected by manual input operation within one month, and when the flag b [2] is “0”, the most recent date / time is displayed. This indicates that the correction is not due to a manual input operation, or that the date / time has not been corrected within one month.
It should be noted that the one month, which is the expiration date of correction in the flags b [0] to b [2], can be changed as appropriate for each correction method. For example, different settings may be used such that only date correction by manual input operation is within 7 days. Further, in the case of the electronic timepiece 1 having a small error (rate) of the clock circuit 46, no problem occurs even if the expiration date is set longer.

最上位ビットのフラグb[3]は、各フラグb[0]〜b[2]の何れかが「1」である場合において、当該「1」であるフラグに係る日時修正が1日以内に行われたか否かを示す。フラグb[3]が「0」である場合には、当該日時修正が1日以内に行われたことを示し、フラグb[3]が「1」である場合には、日時修正が1日以内ではなく、且つ、1ヵ月以内に行われたことを示す。なお、フラグb[3]の切り替えの基準期間は、1日とは異なっても良い。例えば、1日に一回日時修正の動作を繰り返し行わせることを考慮して、1日以内ではなく、例えば、23時間50分以内などとしても良い。   When the flag b [3] of the most significant bit is “1” in any of the flags b [0] to b [2], the date / time correction related to the flag “1” is within one day. Indicates whether it was done. When the flag b [3] is “0”, it indicates that the date / time correction is performed within one day, and when the flag b [3] is “1”, the date / time correction is one day. Indicates that it was done within one month. Note that the reference period for switching the flag b [3] may be different from one day. For example, considering that the date correction operation is repeatedly performed once a day, it may be within 23 hours 50 minutes instead of within one day.

本実施形態の電子時計1では、各フラグb[0]〜b[2]に「1」がセットされたタイミングからカウンタを動作させて、一日後にb[3]を「1」に変更し、更に、一ヵ月後に当該フラグb[0]〜b[2]及びb[3]をまとめて「0」に戻すことで設定される。この場合のカウンタは、CPU41による分周回路45からの所定の周波数信号の計数によるソフトウェア的なものであって良い。   In the electronic timepiece 1 of the present embodiment, the counter is operated from the timing when “1” is set in each of the flags b [0] to b [2], and b [3] is changed to “1” one day later. Further, the flag b [0] to b [2] and b [3] are collectively set back to “0” after one month. The counter in this case may be of a software type by counting a predetermined frequency signal from the frequency dividing circuit 45 by the CPU 41.

図4は、本実施形態の電子時計1において実行される日時修正処理のCPU41による制御手順を示すフローチャートである。この日時修正処理は、一日に一回所定の時刻に自動で、また、ユーザによる実行命令の入力操作があった場合に当該操作に応じて、起動されて実行される。   FIG. 4 is a flowchart showing a control procedure by the CPU 41 of the date correction process executed in the electronic timepiece 1 of the present embodiment. This date and time correction process is automatically executed once a day at a predetermined time, and is activated and executed in response to an input operation of an execution command by the user.

日時修正処理が呼び出されると、CPU41は、先ず標準電波日時修正処理を実行する(ステップS102)。その後に、CPU41は、GPS日時修正処理を実行する(ステップS104)。そして、CPU41は、日時修正処理を終了する。   When the date correction process is called, the CPU 41 first executes the standard radio wave date correction process (step S102). Thereafter, the CPU 41 executes a GPS date correction process (step S104). Then, the CPU 41 ends the date correction process.

図5は、日時修正処理で呼び出された標準電波日時修正処理のCPU41による制御手順を示すフローチャートである。   FIG. 5 is a flowchart showing a control procedure by the CPU 41 of the standard radio wave date correction process called in the date correction process.

標準電波日時修正処理が呼び出されると、CPU41は、長波受信部52をオンして(ステップS201)、長波受信部52の起動動作に係る処理を行う(ステップS202)。CPU41は、長波受信部52に所望の標準電波送信局からの標準電波を受信させて信号を復調させる。CPU41は、復調された信号を受信された標準電波局の送信フォーマットに従って復号して日時情報を取得する(ステップS203)。   When the standard radio wave date and time correction process is called, the CPU 41 turns on the long wave receiving unit 52 (step S201) and performs a process related to the activation operation of the long wave receiving unit 52 (step S202). The CPU 41 causes the long wave reception unit 52 to receive a standard radio wave from a desired standard radio wave transmission station and demodulates the signal. CPU41 decodes the demodulated signal according to the transmission format of the received standard radio station, and acquires date information (step S203).

CPU41は、標準電波の受信及び日時情報の取得に成功したか否かを判別する(ステップS204)。成功しなかったと判別された場合には(ステップS204で“NO”)、CPU41は、標準電波日時修正処理を終了して、日時修正処理に戻る。   The CPU 41 determines whether or not the reception of the standard radio wave and the acquisition of date / time information have been successful (step S204). If it is determined that the process has not been successful (“NO” in step S204), the CPU 41 ends the standard radio wave date correction process and returns to the date correction process.

標準電波の受信及び日時情報の取得に成功したと判別された場合には(ステップS204で“YES”)、CPU41は、修正履歴記憶部43aからステータスbを読み込む(ステップS205)。CPU41は、取得されたステータスbの下位3ビット(b[2:0])が「001」又は「010」の何れかであるか否かを判別する(ステップS206)。何れでもないと判別された場合には(ステップS206で“NO”)、CPU41の処理は、ステップS208に移行する。   When it is determined that the reception of the standard radio wave and the acquisition of the date / time information are successful (“YES” in step S204), the CPU 41 reads the status b from the correction history storage unit 43a (step S205). The CPU 41 determines whether or not the lower 3 bits (b [2: 0]) of the acquired status b is “001” or “010” (step S206). If it is determined that the result is none (“NO” in step S206), the process of the CPU 41 proceeds to step S208.

ステータスbの下位3ビットが「001」又は「010」であると判別された場合には(ステップS206で“YES”)、CPU41は、標準電波から取得された日時と、計時回路46が計数する日時との差が15秒以内であるか否かを判別する(ステップS207)。15秒以内ではないと判別された場合には(ステップS207で“NO”)、CPU41は、そのまま標準電波日時修正処理を終了して、日時修正処理に戻る。15秒以内であると判別された場合には、CPU41の処理は、ステップS208に移行する。   When it is determined that the lower 3 bits of the status b are “001” or “010” (“YES” in step S206), the CPU 41 counts the date and time acquired from the standard radio wave and the time counting circuit 46. It is determined whether or not the difference between the date and time is within 15 seconds (step S207). If it is determined that it is not within 15 seconds (“NO” in step S207), the CPU 41 ends the standard radio wave date correction process as it is and returns to the date correction process. If it is determined that it is within 15 seconds, the process of the CPU 41 proceeds to step S208.

ステップS208の処理に移行すると、CPU41は、取得日時に基づいて計時回路46の計数する日時データを上書き修正する(ステップS208)。CPU41は、ステータスb[3:0]を「0010」に上書き更新して、当該ステータスに係るカウンタの計数を開始させる(ステップS209)。そして、CPU41は、標準電波日時修正処理を終了して、日時修正処理に戻る。   When the process proceeds to step S208, the CPU 41 overwrites and corrects the date / time data counted by the timing circuit 46 based on the acquisition date / time (step S208). The CPU 41 overwrites and updates the status b [3: 0] to “0010” and starts counting the counter related to the status (step S209). Then, the CPU 41 ends the standard radio wave date correction process and returns to the date correction process.

図6は、日時修正処理で呼び出されるGPS日時修正処理のCPU41による制御手順を示すフローチャートである。   FIG. 6 is a flowchart showing a control procedure by the CPU 41 of the GPS date correction process called in the date correction process.

GPS日時修正処理が起動されると、CPU41は、修正履歴記憶部43aからステータスbを読み込む(ステップS401)。CPU41は、ステータスbが「0001」又は「0010」であるか否かを判別する(ステップS402)。ステータスbが何れかであると判別された場合には(ステップS402で“YES”)、改めて日時の修正を行う必要が無く、CPU41は、GPS日時修正処理を終了して日時修正処理に戻る。   When the GPS date / time correction process is activated, the CPU 41 reads the status b from the correction history storage unit 43a (step S401). The CPU 41 determines whether the status b is “0001” or “0010” (step S402). If it is determined that the status b is any ("YES" in step S402), there is no need to correct the date and time again, and the CPU 41 ends the GPS date and time correction process and returns to the date and time correction process.

ステータスbが「0001」及び「0010」の何れでもないと判別された場合には(ステップS402で“NO”)、CPU41は、GPS受信処理部50の電源をオンして(ステップS403)、GPS受信処理部50の起動処理を行う(ステップS404)。
なお、ステップS402で“NO”に分岐した場合、即座にステップS403の処理に移行せず、予め設定されたGPS受信処理の起動条件、例えば、電子時計1が屋外や窓際などにあることを判別するために光センサにより所定の光量が検出されるといった条件が満たされるまで待機しても良い。また、CPU41は、ステップS403の起動処理において実行される受信周波数及びC/Aコードを探索して何れかのGPS衛星の送信電波に同調するといった処理に並行して、ステップS405、S406の処理を行うことが可能である。
When it is determined that the status b is neither “0001” nor “0010” (“NO” in step S402), the CPU 41 turns on the power of the GPS reception processing unit 50 (step S403), and GPS The activation processing of the reception processing unit 50 is performed (step S404).
If “NO” is branched in step S402, the process does not immediately shift to step S403, and it is determined that the preset start condition of the GPS reception process, for example, the electronic timepiece 1 is outdoors or near a window. In order to do so, the optical sensor may wait until a condition that a predetermined amount of light is detected is satisfied. Further, the CPU 41 searches for the reception frequency and C / A code executed in the activation process of step S403 and performs the processes of steps S405 and S406 in parallel with the process of tuning to the transmission radio wave of any GPS satellite. Is possible.

CPU41は、ステータスbが「1001」又は「1010」であるか否かを判別する(ステップS405)。何れかであると判別された場合には(ステップS405で“YES”)、CPU41は、計時回路46が計数する現在の日時をGPS受信処理部50に送信する(ステップS406)。それから、CPU41の処理は、ステップS407に移行する。ステータスbが「1001」又は「1010」の何れでもないと判別された場合には(ステップS405で“NO”)、CPU41の処理は、そのままステップS407に移行する。   The CPU 41 determines whether the status b is “1001” or “1010” (step S405). If it is determined that it is any (“YES” in step S405), the CPU 41 transmits the current date and time counted by the timer circuit 46 to the GPS reception processing unit 50 (step S406). Then, the process of the CPU 41 proceeds to step S407. If it is determined that the status b is neither “1001” nor “1010” (“NO” in step S405), the processing of the CPU 41 proceeds to step S407 as it is.

CPU41は、GPS受信処理部50にGPS衛星からの電波の受信処理を行わせる(ステップS407)。ここでの受信時間は、上述したように、1又は連続する2つのPreambleが同定されてHOWデータが併せて取得、解読される時間である。CPU41は、日時情報の取得に成功したか否かを判別する(ステップS408)。日時情報の取得に成功しなかったと判別された場合には(ステップS408で“NO”)、CPU41は、そのままGPS日時修正処理を終了し、日時修正処理に戻る。   The CPU 41 causes the GPS reception processing unit 50 to perform reception processing of radio waves from GPS satellites (step S407). As described above, the reception time here is the time when one or two consecutive preambles are identified and the HOW data is acquired and decoded together. CPU41 discriminate | determines whether acquisition of date information was successful (step S408). If it is determined that the acquisition of date / time information has not been successful ("NO" in step S408), the CPU 41 ends the GPS date / time correction process and returns to the date / time correction process.

日時情報の取得に成功したと判別された場合には(ステップS408で“YES”)、CPU41は、ステータスbが「1001」又は「1010」の何れかであるか否かを判別する(ステップS409)。何れかであると判別された場合、即ち、一ヶ月(第3基準時間)以内に衛星日時取得処理または標準電波日時取得処理で日時が取得されている場合には(ステップS410で“YES”)、CPU41は、取得された日時と計時回路46が保持する現在の日時との差が15秒以内(整合確認期間)であるか否かを判別する(ステップS411)。15秒以内であると判別された場合には(ステップS411で“YES”)、CPU41の処理は、ステップS412の処理に移行する。15秒以内ではないと判別された場合には(ステップS411で“NO”)、取得日時が不正確であるとして、CPU41は、そのまま日時修正処理を終了し、日時修正処理に戻る。ステータスbが「1001」及び「1010」の何れでもないと判別された場合には(ステップS410で“NO”)、CPU41の処理は、そのままステップS412に移行する。   If it is determined that the date / time information has been successfully acquired (“YES” in step S408), the CPU 41 determines whether the status b is “1001” or “1010” (step S409). ). If it is determined that the date / time is acquired, that is, if the date / time is acquired in the satellite date / time acquisition process or the standard radio wave date / time acquisition process within one month (third reference time) (“YES” in step S410). The CPU 41 determines whether or not the difference between the acquired date and time and the current date and time held by the timing circuit 46 is within 15 seconds (matching confirmation period) (step S411). If it is determined that it is within 15 seconds (“YES” in step S411), the process of the CPU 41 proceeds to the process of step S412. When it is determined that it is not within 15 seconds (“NO” in step S411), the CPU 41 ends the date correction process as it is, assuming that the acquisition date is incorrect, and returns to the date correction process. If it is determined that the status b is neither “1001” nor “1010” (“NO” in step S410), the processing of the CPU 41 proceeds to step S412 as it is.

CPU41は、取得された日時に基づいて計時回路46の現在の日時を修正する(ステップS412)。CPU41は、ステータスbを「0001」に上書き更新し、ステータスbに係るカウンタの計数を開始する(ステップS413)。そして、CPU41は、日時修正処理を終了する。   The CPU 41 corrects the current date and time of the clock circuit 46 based on the acquired date and time (step S412). The CPU 41 overwrites and updates the status b to “0001” and starts counting the counter related to the status b (step S413). Then, the CPU 41 ends the date correction process.

以上のように、本実施形態の電子時計1は、日時を計数する計時回路46と、GPS衛星からの電波信号を受信するGPS受信処理部50及びアンテナ51と、を備え、CPU41は、GPS受信処理部50による受信期間を制御し、受信された電波信号に基づいて日時情報を取得する。また、CPU41は、GPS衛星からの電波受信の他、長波受信部52や操作部47などの各所から取得された日時情報を用いて計時回路46が計数する日時を修正する。
そして、CPU41は、計時回路46が計数する日時の修正が前回行われてから今回日時情報が取得されるまでの経過時間が日時情報の取得方法に応じてそれぞれ定められた第1基準時間、例えば、1ヵ月以下の場合には、この経過時間及び日時の取得方法に応じた読取期間、例えば、日付を定めて、GPS受信処理部50による受信内容に基づいて読取期間内の日時を取得する。このとき、CPU41は、GPS衛星から送信される航法メッセージデータ全体のうち、GPS受信処理部50が現在の日時を同定することが可能な一部のデータを取得する間を受信期間としてGPS受信処理部50を動作させる。
従って、現在計時回路46が計数している日時の正確さに応じて、正確な日時情報を取得するために必要とされる長さだけのデータをGPS衛星から受信することで、電力消費の増大を抑えながら、正確な日時をより確実に取得して計時を行うことが出来る。
As described above, the electronic timepiece 1 of the present embodiment includes the clock circuit 46 that counts the date and time, the GPS reception processing unit 50 that receives the radio signal from the GPS satellite, and the antenna 51, and the CPU 41 receives the GPS signal. The reception period by the processing unit 50 is controlled, and date information is acquired based on the received radio signal. In addition to receiving radio waves from GPS satellites, the CPU 41 corrects the date and time counted by the timing circuit 46 using date and time information acquired from various places such as the long wave receiving unit 52 and the operation unit 47.
Then, the CPU 41 sets a first reference time determined in accordance with the acquisition method of the date / time information, for example, the elapsed time from the previous correction of the date / time counted by the timing circuit 46 to the acquisition of the current date / time information, for example, In the case of one month or less, a reading period, for example, a date is determined according to the elapsed time and date acquisition method, and the date and time within the reading period is acquired based on the content received by the GPS reception processing unit 50. At this time, the CPU 41 performs GPS reception processing while the reception period is a period during which the GPS reception processing unit 50 acquires a part of the navigation message data transmitted from the GPS satellite that can identify the current date and time. The unit 50 is operated.
Therefore, according to the accuracy of the date and time currently counted by the time counting circuit 46, data of a length necessary for obtaining accurate date and time information is received from the GPS satellite, thereby increasing the power consumption. It is possible to measure the time by acquiring the accurate date and time more reliably while suppressing the time.

即ち、日付レベルの大きなずれがないと見込まれる場合には、サブフレーム1にのみ含まれるWNのデータを取得せずとも、全てのサブフレームに含まれるHOWが取得出来れば、日時が特定可能であるので、適宜なタイミングで受信を始めても、最大でサブフレーム2つ分程度の受信時間でフレーム位置を同定し、必要な日時情報を取得することが出来るので、データの信頼性を落とさずに低消費電力で正確な日時を取得することが出来る。   In other words, if it is expected that there will be no significant difference in date level, the date and time can be specified if HOWs included in all subframes can be acquired without acquiring WN data included only in subframe 1. Therefore, even if reception is started at an appropriate timing, the frame position can be identified and the necessary date and time information can be acquired with a reception time of about two subframes at the maximum, without compromising data reliability. Accurate date and time can be acquired with low power consumption.

また、前回の日時修正からの経過時間が第1基準時間以下の第3基準時間、例えば、ここでは1ヵ月を超えていない場合に、取得された日時が読取期間(ここでは1日)より狭い整合確認期間、ここでは、15秒内にあるか否かを判別して、当該整合確認期間内にない日時が取得されていた場合には、計時回路46の計数する日時を修正しないこととする。従って、受信時間を短縮することでパリティチェックや複数回受信による整合確認が省略されることによる正確性の低下を補い、特に、Preambleの誤同定による日時ずれを防ぐことが出来る。   In addition, when the elapsed time from the previous date / time correction does not exceed a third reference time that is less than or equal to the first reference time, for example, one month here, the acquired date / time is narrower than the reading period (here, one day). It is determined whether or not it is within the consistency check period, here 15 seconds, and if a date and time not within the consistency check period has been acquired, the date and time counted by the timing circuit 46 is not corrected. . Therefore, by shortening the reception time, it is possible to compensate for the decrease in accuracy due to the omission of the parity check and the consistency check by receiving a plurality of times, and in particular, it is possible to prevent a date / time shift due to erroneous identification of the preamble.

また、外部から標準電波を受信する長波受信部52及びアンテナ53を備え、CPU41は、当該長波受信部52により復調された信号を復号して日時情報を取得することが出来る。修正履歴記憶部43aには、この標準電波受信による修正履歴に係る情報b[1]、b[3]を記憶させ、この修正履歴情報に基づいてGPS衛星からの電波受信による日時修正の際の受信期間及び読取期間の設定が行われ得る。
従って、GPS衛星からの電波受信に限らず、他の方法でも自動的に外部から日時情報を取得することが出来るので、このようにして取得された日時に基づいてGPS衛星からの電波受信の期間を適切に短縮しながら正確な日時情報を取得することが出来る。従って、電力消費量を有効に低減することが出来る。
Moreover, the long wave receiving part 52 and the antenna 53 which receive a standard radio wave from the outside are provided, and CPU41 can decode the signal demodulated by the said long wave receiving part 52, and can acquire date information. The correction history storage unit 43a stores information b [1] and b [3] related to the correction history by the standard radio wave reception, and the date and time correction by the radio wave reception from the GPS satellite based on the correction history information. A reception period and a reading period can be set.
Therefore, not only the reception of radio waves from GPS satellites, but other methods can also automatically acquire date and time information from the outside, so the period of radio wave reception from GPS satellites based on the date and time acquired in this way Accurate date and time information can be acquired while appropriately shortening. Therefore, power consumption can be reduced effectively.

GPS衛星から電波を受信する場合に、CPU41は、受信期間として、計時回路46の計数する日時により何れかのサブフレームの先頭から2ワード又は3ワードが受信されると見積もられる期間を設定する。従って、特に計時回路46の日時のずれが大きくないと想定される場合に、必要な信号、即ち、PreambleとHOWとを無駄なく短時間で受信して電力消費を低減させることが出来る。   When receiving a radio wave from a GPS satellite, the CPU 41 sets a period during which 2 or 3 words are estimated to be received from the top of any subframe depending on the date and time counted by the clock circuit 46 as the reception period. Therefore, especially when it is assumed that the date and time difference of the timing circuit 46 is not large, the necessary signals, that is, the preamble and the HOW can be received in a short time without waste, and the power consumption can be reduced.

[第2実施形態]
次に、第2実施形態の電子時計1について説明する。
第2実施形態の電子時計1の内部構成は、第1実施形態の電子時計1と同一であり、同一の符号を用いて説明することとする。
[Second Embodiment]
Next, the electronic timepiece 1 of the second embodiment will be described.
The internal configuration of the electronic timepiece 1 of the second embodiment is the same as that of the electronic timepiece 1 of the first embodiment, and will be described using the same reference numerals.

次に、第2実施形態の電子時計1における日時の修正動作について説明する。
この実施形態の日時修正動作では、ステータスbに関し、カウンタを動作させてリアルタイムで更新するのではなく、必要な場合にのみステータス設定処理を実行してステータスbを更新する。このために、修正履歴記憶部43aには、ステータスbに加えて直近の修正タイミング及び修正方法に係る修正履歴情報が記憶される。
Next, the date and time correction operation in the electronic timepiece 1 of the second embodiment will be described.
In the date and time correction operation of this embodiment, status b is updated by executing status setting processing only when necessary, instead of operating the counter in real time by updating the status b. For this purpose, the correction history storage unit 43a stores correction history information related to the latest correction timing and correction method in addition to the status b.

図7は、第2実施形態の電子時計1において実行されるステータス設定処理のCPU41による制御手順を示すフローチャートである。
このステータス設定処理は、必要に応じて、例えば、標準電波日時修正処理やGPS日時修正処理が実行される前に、先に呼び出されて実行される。
FIG. 7 is a flowchart showing a control procedure by the CPU 41 of status setting processing executed in the electronic timepiece 1 of the second embodiment.
This status setting process is called and executed first as necessary, for example, before the standard radio wave date correction process and the GPS date correction process are executed.

ステータス設定処理が開始されると、CPU41は、修正履歴記憶部43aから最新の修正履歴情報を取得する(ステップS301)。CPU41は、1日(24時間)以内に日時の修正が行われたか否かを判別する(ステップS312)。なお、一日に一回GPS衛星からの電波受信による日時修正が行えるように、この期間は、24時間ではなく、例えば、23時間50分などに設定されても良い。   When the status setting process is started, the CPU 41 acquires the latest correction history information from the correction history storage unit 43a (step S301). The CPU 41 determines whether or not the date and time have been corrected within one day (24 hours) (step S312). Note that this period may be set to 23 hours 50 minutes instead of 24 hours so that the date and time can be corrected once a day by receiving radio waves from GPS satellites.

1日以内に日時の修正が行われていると判別された場合には(ステップS312で“YES”)、CPU41は、当該直近の日時修正がGPS衛星からの電波受信によるものであるか否かを判別する(ステップS313)。GPS衛星からの電波受信によるものであると判別された場合には(ステップS313で“YES”)、CPU41は、修正履歴記憶部43aに記憶されたステータスbのうち、フラグb[0]を「1」に設定し、また、他のフラグb[1]〜b[3]をそれぞれ「0」に設定する(ステップS314)。即ち、設定されるステータスbは、「0001」となる。そして、CPU41は、ステータス設定処理を終了する。   If it is determined that the date / time has been corrected within one day (“YES” in step S312), the CPU 41 determines whether or not the latest date / time correction is due to radio wave reception from a GPS satellite. Is determined (step S313). When it is determined that the radio wave is received from the GPS satellite (“YES” in step S313), the CPU 41 sets the flag b [0] among the status b stored in the correction history storage unit 43a to “ 1 ”and the other flags b [1] to b [3] are set to“ 0 ”(step S314). That is, the set status b is “0001”. Then, the CPU 41 ends the status setting process.

GPS衛星からの電波受信による日時修正ではないと判別された場合には(ステップS313で“NO”))、CPU41は、長波の標準電波を用いた日時の修正がなされているか否かを判別する(ステップS315)。長波の標準電波を用いた日時の修正がなされていると判別された場合には(ステップS315で“YES”)、CPU41は、2桁目のフラグb[1]を「1」に設定し、他のフラグb[0]、b[1]〜b[3]をそれぞれ「0」に設定する(ステップS316)。即ち、設定されるステータスbは、「0010」となる。それから、CPU41は、ステータス設定処理を終了する。   If it is determined that the date / time correction is not due to radio wave reception from the GPS satellite (“NO” in step S313), the CPU 41 determines whether date / time correction using a long-wave standard radio wave has been performed. (Step S315). If it is determined that the date and time correction using the long wave standard radio wave has been made (“YES” in step S315), the CPU 41 sets the second digit flag b [1] to “1”, The other flags b [0] and b [1] to b [3] are respectively set to “0” (step S316). That is, the set status b is “0010”. Then, the CPU 41 ends the status setting process.

長波の標準電波を用いた日時の修正ではないと判別された場合には(ステップS315で“NO”)、その他の方法による日時修正、即ち、ここでは、手動での日時修正となるので、CPU41は、3桁目のフラグb[2]を「1」に設定し、他のフラグb[0]、b[1]、及びb[3]をそれぞれ「0」に設定する(ステップS317)。即ち、設定されるステータスbは、「0100」となる。それから、CPU41は、ステータス設定処理を終了する。   If it is determined that the date / time is not corrected using the long-wave standard radio wave (“NO” in step S315), the date / time is corrected by other methods, that is, the date / time is corrected manually here. Sets the third digit flag b [2] to “1” and sets the other flags b [0], b [1], and b [3] to “0” (step S317). That is, the set status b is “0100”. Then, the CPU 41 ends the status setting process.

ステップS312の判別処理で、1日以内に日時の修正が行われていないと判別された場合には(ステップS312で“NO”)、CPU41は、所定日数、例えば、1ヶ月以内にGPS衛星からの電波受信による日時の修正が行われているか否かを判別する(ステップS321)。1ヶ月以内にGPS衛星からの電波受信による日時の修正が行われたと判別された場合には(ステップS321で“YES”)、CPU41は、最上位ビットのフラグb[3]を「1」に設定して、ステータスbを「1001」とする(ステップS322)。なお、ステータス設定処理の動作間隔が1日より長い場合には、GPS衛星からの電波受信による日時修正が行われた後最初のステータス設定でステータスbが「0001」になっていない場合があるので、CPU41は、フラグb[0]〜b[3]の値をまとめて変更してステータスbを「1001」とする。そして、CPU41は、ステータス設定処理を終了する。   If it is determined in the determination process in step S312 that the date and time have not been corrected within one day (“NO” in step S312), the CPU 41 determines whether the GPS satellite has received a predetermined number of days, for example, within one month. It is determined whether or not the date and time has been corrected by receiving the radio wave (step S321). If it is determined that the date and time have been corrected by receiving radio waves from GPS satellites within one month (“YES” in step S321), the CPU 41 sets the flag b [3] of the most significant bit to “1”. The status b is set to “1001” (step S322). If the operation interval of the status setting process is longer than one day, the status b may not be “0001” in the first status setting after the date / time correction by the radio wave reception from the GPS satellite is performed. The CPU 41 collectively changes the values of the flags b [0] to b [3] to set the status b to “1001”. Then, the CPU 41 ends the status setting process.

1ヶ月以内にGPS衛星からの電波受信による日時の修正が行われていないと判別された場合には(ステップS321で“NO”)、CPU41は、フラグb[0]及びフラグb[3]をそれぞれ「0」に設定する(ステップS323)。   If it is determined that the date / time has not been corrected by radio wave reception from the GPS satellite within one month (“NO” in step S321), the CPU 41 sets the flag b [0] and the flag b [3]. Each is set to “0” (step S323).

次いで、CPU41は、1ヶ月以内に長波の標準電波による日時の修正が行われたか否かを判別する(ステップS324)。標準電波による日時の修正が行われたと判別された場合には(ステップS324で“YES”)、CPU41は、フラグb[1]及びb[3]をそれぞれ「1」に設定することで(ステップS322)、ステータスbを「1010」とする。一方、日時の修正が行われていないと判別された場合には(ステップS324で“NO”)、CPU41は、フラグb[1]及びフラグb[3]をそれぞれ「0」に設定する(ステップS325)。   Next, the CPU 41 determines whether or not the date and time have been corrected by the long standard wave within one month (step S324). If it is determined that the date / time correction by the standard radio wave has been performed (“YES” in step S324), the CPU 41 sets the flags b [1] and b [3] to “1” (step 1). S322), status b is set to “1010”. On the other hand, when it is determined that the date and time have not been corrected (“NO” in step S324), the CPU 41 sets the flag b [1] and the flag b [3] to “0”, respectively (step S324). S325).

CPU41は、1ヶ月以内に手動で日時の修正が行われたか否かを判別する(ステップS326)。手動で日時の修正が行われたと判別された場合には(ステップS326で“YES”)、CPU41は、フラグb[3]をそれぞれ「1」に設定することで(ステップS322)、ステータスbを「1100」とする。手動で日時の修正が行われていないと判別された場合には(ステップS326で“NO”)、CPU41は、フラグb[2]及びフラグb[3]をそれぞれ「0」に設定する(ステップS327)。そして、CPU41は、ステータス設定処理を終了する。   The CPU 41 determines whether or not the date and time have been manually corrected within one month (step S326). When it is determined that the date and time have been manually corrected (“YES” in step S326), the CPU 41 sets the flag b [3] to “1” (step S322), thereby setting the status b to “b”. “1100”. When it is determined that the date and time have not been manually corrected (“NO” in step S326), the CPU 41 sets the flag b [2] and the flag b [3] to “0”, respectively (step S326). S327). Then, the CPU 41 ends the status setting process.

図8及び図9は、それぞれ、本実施形態の電子時計1において実行される標準電波日時修正処理及びGPS日時修正処理のCPU41による制御手順を示すフローチャートである。   FIGS. 8 and 9 are flowcharts showing control procedures by the CPU 41 of the standard radio wave date correction process and the GPS date correction process executed in the electronic timepiece 1 of the present embodiment, respectively.

第2実施形態の標準電波日時修正処理は、ステップS209の処理が省略された点を除き、第1実施形態の電子時計1において実行される標準電波日時修正処理と同一である。また、第2実施形態のGPS日時修正処理は、ステップS413の処理が省略された点を除き、第1実施形態の電子時計1において実行されるGPS日時修正処理と同一である。
即ち、これらの標準電波日時修正処理及びGPS日時修正処理では、日時の修正がなされた際にステータスbの書き換え及びカウンタの動作をリアルタイムで行わない。
The standard radio wave date and time correction process of the second embodiment is the same as the standard radio wave date and time correction process executed in the electronic timepiece 1 of the first embodiment, except that the process of step S209 is omitted. Moreover, the GPS date correction process of 2nd Embodiment is the same as the GPS date correction process performed in the electronic timepiece 1 of 1st Embodiment except the process of step S413 being abbreviate | omitted.
That is, in these standard radio wave date correction processing and GPS date correction processing, status b rewriting and counter operation are not performed in real time when date correction is performed.

このように、第2実施形態の電子時計1は、読取期間や整合確認期間などを定めるために用いられる前回の日時修正からの経過時間を必要な場合にのみ算出するので、より容易な制御内容で、第1実施形態の電子時計1と同様の作用効果を得ることが出来る。   As described above, the electronic timepiece 1 according to the second embodiment calculates the elapsed time from the previous date and time correction used for determining the reading period, the alignment confirmation period, and the like only when necessary. Thus, the same effect as that of the electronic timepiece 1 of the first embodiment can be obtained.

[第3実施形態]
次に、第3実施形態の電子時計1について説明する。
第3実施形態の電子時計1は、第1実施形態及び第2実施形態の電子時計1の内部構成と同一の構成を有し、同一の符号を用いることとして説明を省略する。
[Third Embodiment]
Next, the electronic timepiece 1 of the third embodiment will be described.
The electronic timepiece 1 of the third embodiment has the same configuration as the internal configuration of the electronic timepiece 1 of the first embodiment and the second embodiment, and description thereof is omitted because the same reference numerals are used.

次に、第3実施形態の電子時計1における日時修正動作について説明する。
図10は、第3実施形態の電子時計1において実行されるステータス設定処理のCPU41による制御手順を示すフローチャートである。
Next, the date correction operation in the electronic timepiece 1 of the third embodiment will be described.
FIG. 10 is a flowchart showing a control procedure by the CPU 41 of status setting processing executed in the electronic timepiece 1 of the third embodiment.

この第3実施形態のステータス設定処理は、ステップS302〜S305の処理が追加された点を除いて第2実施形態のステータス設定処理と同一であり、同一の処理については同一の符号を付して詳しい説明を省略する。   The status setting process of the third embodiment is the same as the status setting process of the second embodiment except that the processes of steps S302 to S305 are added, and the same processes are denoted by the same reference numerals. Detailed description is omitted.

CPU41は、最新の日時修正履歴情報を修正履歴記憶部43aから取得した後(ステップS301)、半年(第2の基準時間)以内に日時修正が行われているか否かを判別する(ステップS302)。半年以内に日時の修正が行われたと判別された場合には(ステップS302で“YES”)、CPU41の処理は、そのままステップS312に移行する。半年以内に日時の修正が行われていないと判別された場合には(ステップS302で“NO”)、CPU41は、ユーザに対して日時の修正動作を促す表示を表示部48に行わせるように表示ドライバ49に制御信号を出力する(ステップS303)。また、電子時計1がブザーなどの音を発生する音声発生部や振動を発生する振動モータを備えている場合には、CPU41は、これらのドライバに制御信号を出力して、表示部48と共に動作させても良い。
それから、CPU41は、予め設定された最大時間以内で日時修正動作、即ち、日時データの手動入力操作や標準電波の受信に係る命令の入力を待ち受けて、当該時刻修正動作の命令入力があったか否かを判別する(ステップS304)。
なお、CPU41は、通常、日時修正処理やこれに伴うステータス設定処理が深夜など、ユーザが電子時計1を使用しないような時刻に行われる場合、ステップS303、S304に係る報知動作及び入力の待ち受け動作をこれらとは異なる時間帯、例えば、日中や夕方などに行わせても良い。
After acquiring the latest date / time correction history information from the correction history storage unit 43a (step S301), the CPU 41 determines whether date / time correction has been performed within half a year (second reference time) (step S302). . If it is determined that the date and time have been corrected within half a year (“YES” in step S302), the processing of the CPU 41 proceeds directly to step S312. If it is determined that the date / time has not been corrected within six months (“NO” in step S302), the CPU 41 causes the display unit 48 to display a message prompting the user to correct the date / time. A control signal is output to the display driver 49 (step S303). When the electronic timepiece 1 includes a sound generation unit that generates a sound such as a buzzer or a vibration motor that generates vibration, the CPU 41 outputs a control signal to these drivers and operates together with the display unit 48. You may let them.
Then, the CPU 41 waits for the date correction operation within the maximum time set in advance, that is, the input of the command relating to the manual input operation of the date data and the reception of the standard radio wave, and whether or not the command input of the time correction operation has been received. Is determined (step S304).
Note that the CPU 41 normally performs the notification operation and the input standby operation according to steps S303 and S304 when the date and time correction process and the status setting process associated therewith are performed at a time when the user does not use the electronic timepiece 1, such as midnight. May be performed at a time different from these, for example, during the day or in the evening.

日時修正動作に係る命令入力が無かったと判別された場合には(ステップS304で“NO”)、CPU41の処理は、ステップS312に移行する。日時修正動作の命令入力があったと判別された場合には(ステップS304で“YES”)、CPU41は、当該入力操作に応じた日時修正に係る処理を行う(ステップS305)。例えば、手動での日時の入力操作があった場合には、当該日時に計時回路46の日時を上書き変更する。また、標準電波の受信命令が入力された場合には、CPU41は、標準電波時刻修正処理を実行する。この実施形態における標準電波日時修正処理は、図8に示した処理と同一であり、説明を省略する。それから、CPU41は、処理をステップS312に移行させる。   If it is determined that there is no command input related to the date / time correction operation (“NO” in step S304), the processing of the CPU 41 proceeds to step S312. If it is determined that a command for date correction operation has been input (“YES” in step S304), the CPU 41 performs processing related to date correction in accordance with the input operation (step S305). For example, when a manual date / time input operation is performed, the date / time of the clock circuit 46 is overwritten and changed to the date / time. If a standard radio wave reception command is input, the CPU 41 executes standard radio wave time correction processing. The standard radio wave date and time correction process in this embodiment is the same as the process shown in FIG. Then, the CPU 41 shifts the process to step S312.

図11は、第3実施形態の電子時計1において実行されるGPS時刻修正処理のCPU41による制御手順を示すフローチャートである。
このGPS時刻修正処理は、ステップS420及びステップS421の処理が追加された点を除いて第2実施形態のGPS時刻修正処理と同一であり、同一の処理については同一の符号を付して詳しい説明を省略する。
FIG. 11 is a flowchart showing a control procedure by the CPU 41 of the GPS time correction process executed in the electronic timepiece 1 of the third embodiment.
This GPS time correction process is the same as the GPS time correction process of the second embodiment except that the processes of step S420 and step S421 are added. The same processes are denoted by the same reference numerals and are described in detail. Is omitted.

ステップS410の判別処理で、ステータスbが「1001」又は「1010」ではないと判別された場合に(ステップS410で“NO”)、CPU41は、更に、ステータスbが「0100」又は「1100」の何れかであるか否かを判別する(ステップS420)。「0100」及び「1100」の何れでもないと判別された場合には(ステップS420で“NO”)、CPU41の処理は、ステップS412に移行する。   If the status b is determined not to be “1001” or “1010” in the determination process in step S410 (“NO” in step S410), the CPU 41 further sets the status b to “0100” or “1100”. It is determined whether or not any of them (step S420). If it is determined that neither “0100” nor “1100” is present (“NO” in step S420), the processing of the CPU 41 proceeds to step S412.

ステータスbが「0100」又は「1100」であると判別された場合には(ステップS420で“YES”)、CPU41は、GPS受信処理部50から取得された日時と計時回路46の日時との差が1時間以内であるか否かを判別する(ステップS421)。1時間以内であると判別された場合には(ステップS421で“YES”)、CPU41の処理は、ステップS412に移行する。1時間以内ではないと判別された場合には(ステップS421で“NO”)、CPU41は、そのままGPS時刻修正処理を終了して、処理を時刻修正処理に戻す。   When it is determined that the status b is “0100” or “1100” (“YES” in step S420), the CPU 41 determines the difference between the date and time acquired from the GPS reception processing unit 50 and the date and time of the timing circuit 46. Is within one hour (step S421). If it is determined that the time is within one hour (“YES” in step S421), the process of the CPU 41 proceeds to step S412. If it is determined that it is not within one hour (“NO” in step S421), the CPU 41 ends the GPS time adjustment process as it is, and returns the process to the time adjustment process.

以上のように、第3実施形態の電子時計1は、前回の日時修正からの経過時間が第1基準時間以上の第2基準時間、ここでは、半年を超えた場合に、CPU41は、ユーザに対して日時の修正要求を伝えるための表示を表示部48に行わせるように表示ドライバ49に制御信号を出力する。
従って、長期間に亘りGPS衛星や標準電波などにより日時情報が自動取得出来ない状況が続いている場合には、積極的に概算日時を手動で、例えば、分単位で入力させたり、ユーザの動作命令によりユーザが受信条件のいい場所に移動した状態でGPS衛星からの電波受信や標準電波の受信を行わせたりすることで、日時情報の精度を向上させることが出来る。また、このような処理、特にユーザの操作部47からの入力操作により、GPS衛星から電波を受信する際の読取期間設定に係る日時情報を取得し、このような場合でも効率的にGPS衛星からの電波受信時間を短縮して消費電力の増大を抑えることが出来る。
As described above, in the electronic timepiece 1 according to the third embodiment, when the elapsed time from the previous date / time correction exceeds the first reference time, the second reference time, here, six months, the CPU 41 notifies the user. On the other hand, a control signal is output to the display driver 49 so as to cause the display unit 48 to display the date and time correction request.
Therefore, if the date and time information cannot be obtained automatically due to GPS satellites or standard radio waves for a long period of time, the estimated date and time can be entered manually, for example, in minutes, or the user's action The accuracy of the date / time information can be improved by causing the user to receive a radio wave from a GPS satellite or receive a standard radio wave in a state where the user has moved to a place with good reception conditions according to the command. In addition, by such processing, in particular, input operation from the operation unit 47 of the user, date / time information related to the reading period setting when receiving radio waves from the GPS satellite is acquired, and even in such a case, the GPS satellite can be efficiently The increase in power consumption can be suppressed by shortening the radio wave reception time.

また、GPS衛星からの電波の受信により日時を修正する際に、CPU41は、前回の日時修正が手動操作によるものであった場合の整合確認期間を、前回の日時修正がGPS衛星からの電波の受信により行われた場合に設定される整合確認期間よりも広く設定する。即ち、手動操作による日時修正に係る入力が大雑把であっても、GPS衛星からの電波受信による日時修正がその信頼性を大きく低下させずに可能となる。従って、ユーザによる日時の入力設定に係る負担を大きくしない一方で、当該入力設定された日時データを有効に読取期間や整合確認期間の設定に用いて、GPS衛星からの受信時間の短縮や、取得時刻の正確性の維持に利用することが出来る。   In addition, when correcting the date and time by receiving radio waves from the GPS satellite, the CPU 41 sets an alignment confirmation period when the previous date and time correction is due to manual operation, and the previous date and time correction is the radio wave from the GPS satellite. It is set wider than the consistency check period set when it is performed by reception. That is, even if the input related to the date correction by manual operation is rough, the date correction by radio wave reception from the GPS satellite can be performed without greatly reducing the reliability. Accordingly, while not burdening the user with the date / time input setting, the input / date data is effectively used to set the reading period and the alignment confirmation period, thereby shortening the receiving time from the GPS satellite and acquiring the data. It can be used to maintain time accuracy.

[第4実施形態]
次に、第4実施形態の電子時計1について説明する。
この第4実施形態の電子時計1は、第1実施形態〜第3実施形態の電子時計1と同一の内部構成であり、同一の構成については同一の符号を用いることとして説明を省略する。
[Fourth Embodiment]
Next, an electronic timepiece 1 according to a fourth embodiment will be described.
The electronic timepiece 1 of the fourth embodiment has the same internal configuration as that of the electronic timepiece 1 of the first to third embodiments, and the same reference numerals are used for the same configuration and the description thereof is omitted.

この第4実施形態の電子時計1の日時修正動作は、GPS日時修正処理において日時情報の取得方法が一部変更されている点を除き、第2実施形態の電子時計1における日時修正動作と同一である。   The date / time correction operation of the electronic timepiece 1 of the fourth embodiment is the same as the date / time correction operation of the electronic timepiece 1 of the second embodiment, except that the acquisition method of date / time information is partially changed in the GPS date / time correction processing. It is.

図12は、第4実施形態の電子時計1で実行されるGPS日時修正処理のCPU41による制御手順を示すフローチャートである。
このGPS日時修正処理は、ステップS405の判別処理に続いてステップS405bの判別処理が実行され、また、ステップS405、S405bの判別処理の結果に応じてステップS407a、S407bの何れかの処理が実行される点を除き、第2実施形態の電子時計1で実行されるGPS日時修正処理と同一であり、同一の処理については同一の符号を付して詳しい説明を省略する。
FIG. 12 is a flowchart showing a control procedure by the CPU 41 of the GPS date / time correction process executed by the electronic timepiece 1 of the fourth embodiment.
In this GPS date correction process, the determination process of step S405b is executed following the determination process of step S405, and any one of steps S407a and S407b is executed according to the result of the determination process of steps S405 and S405b. Except for this point, it is the same as the GPS date correction process executed by the electronic timepiece 1 of the second embodiment, and the same processes are denoted by the same reference numerals and detailed description thereof is omitted.

上述したように、GPS衛星から受信された信号の中には、Preambleと同一の8ビット符号列が別の場所に出現しうる。これらのうち、WORD2のTOW−CountやWORD3のWNでは、特定の日時においてPreambleと同一の符号列になる。例えば、TOW−Countの17ビット符号列中上位8ビットの配列が「10001011」となるサブフレームは、UTC時刻において毎週木曜日の22時36分48秒に始まるサブフレームから同日の23時27分54秒に始まるサブフレームまでのものである。従って、これらのサブフレームでは、WORD1とWORD2で連続してPreambleと同一の符号列が検出されることになる。   As described above, in the signal received from the GPS satellite, the same 8-bit code string as the preamble can appear in another place. Among these, the WORD2 TOW-Count and the WORD3 WN have the same code string as the preamble at a specific date and time. For example, a subframe in which the upper 8 bits of the 17-bit code string of TOW-Count is “10001011” is 23:27:54 on the same day from the subframe starting at 22:36:48 every Thursday at UTC time. Up to the subframe starting in seconds. Therefore, in these subframes, the same code string as the preamble is detected continuously in WORD1 and WORD2.

従って、計時回路46の計数する時刻が当該範囲にある場合には、この時刻が多少ずれた場合でも、Preambleを誤同定する場合が生じうる。そこで、本実施形態の電子時計1では、計時回路46が当該範囲(厳密にこの範囲である必要は無く、誤差や余裕を含めて広めに設定することが出来る)にある場合には、隣接するサブフレームのデータを受信し、WORD1のPreambleとWORD2のTOW−CountにおけるPreambleと同一の符号列とを同定する。このとき、WORD2が2回受信されて、それぞれから復号、取得されたTOW−Countが1増加していることを確認することで、より誤同定を防ぐこととしても良い。   Therefore, when the time counted by the time counting circuit 46 is within the range, even when the time slightly deviates, the preamble may be erroneously identified. Therefore, in the electronic timepiece 1 of the present embodiment, when the timing circuit 46 is in the range (strictly, it is not necessary to be in this range and can be set wider including an error and a margin), it is adjacent. The subframe data is received, and the preamble of WORD1 and the same code string as the preamble in the TOW-Count of WORD2 are identified. At this time, WORD2 is received twice, and it is good also as preventing misidentification more by confirming that the TOW-Count decoded and acquired from each increases by 1.

図12に示すように、ステップS405の判別処理において、ステータスbが「1001」及び「1010」の何れでもないと判別された場合には(ステップS405で“NO”)、CPU41は、GPS衛星から電波を受信して、日時情報を取得する(ステップS407b)。このとき、CPU41は、GPS受信処理部50に連続する2回のPreambleが同定されるまでGPS衛星からの送信電波を受信させ、当該同定された2回のPreambleの間のHOWから日時情報を解読、取得させる。ステータスbが「1001」又は「1010」の何れかであると判別された場合には(ステップS405で“YES”)、CPU41は、更に、計時回路46により計数される現在時刻がUTCで木曜日の22時36分48秒から23時27分59秒の間であるか否かを判別する(ステップS405a)。この期間であると判別された場合には(ステップS405aで“YES”)、CPU41の処理は、ステップS407bに移行する。この期間ではないと判別された場合には(ステップS405aで“NO”)、CPU41は、日時情報をGPS受信処理部50に送って設定した後に(ステップS406)、1つのPreambleのみ、又は、1つのPreamble(WORD1)とHOW(WORD2)とが得られるまでGPS衛星の送信電波を受信させる(ステップS407a)。   As shown in FIG. 12, when it is determined that the status b is neither “1001” nor “1010” in the determination process in step S405 (“NO” in step S405), the CPU 41 determines whether the status is b from the GPS satellite. A radio wave is received and date information is acquired (step S407b). At this time, the CPU 41 causes the GPS reception processing unit 50 to receive a transmission radio wave from a GPS satellite until two consecutive preambles are identified, and decodes date / time information from the HOW between the identified two preambles. Get it. If it is determined that the status b is either “1001” or “1010” (“YES” in step S405), the CPU 41 further indicates that the current time counted by the time counting circuit 46 is UTC and is Thursday. It is determined whether it is between 22:36:48 and 23:27:59 (step S405a). If it is determined that this is the period (“YES” in step S405a), the processing of the CPU 41 proceeds to step S407b. If it is determined that this period is not reached ("NO" in step S405a), the CPU 41 sends the date / time information to the GPS reception processing unit 50 and sets it (step S406), or only one preamble or 1 The GPS satellite transmission radio waves are received until one Preamble (WORD1) and HOW (WORD2) are obtained (step S407a).

このように、本実施形態の電子時計1では、計時回路46が計数する日時の正確な時刻からのずれを示す時間差の見積もり量の大小に応じて、GPS衛星からの電波受信時間の長短を調整する。即ち、時間差が1フレーム分の時間(30秒)より十分短い場合、ここでは、15秒以下程度の場合には、WORD1のPreambleとWORD2のHOWデータを一度受信する程度の短時間での受信であっても、Preambleの誤同定といった要因による日時の取得失敗の可能性が低く、積極的に消費電力の低減を図る一方で、時間差が大きい場合には、連続する2つのサブフレームの先頭におけるPreambleを同定することでこのPreambleの誤同定の可能性を減らし、信頼性の低下を防いでいる。   As described above, in the electronic timepiece 1 according to the present embodiment, the length of the radio wave reception time from the GPS satellite is adjusted according to the estimated amount of the time difference indicating the deviation of the date and time counted by the time counting circuit 46 from the accurate time. To do. That is, when the time difference is sufficiently shorter than the time of one frame (30 seconds), here, when it is about 15 seconds or less, the reception of the WORD1 preamble and the WORD2 HOW data is received in a short time. Even if there is a low possibility of date acquisition due to factors such as incorrect identification of the preamble, the power consumption is actively reduced, but if the time difference is large, the preamble at the beginning of two consecutive subframes is used. This reduces the possibility of erroneous identification of the preamble and prevents a decrease in reliability.

また、計時回路46が計数する時刻の正確な時刻からのずれが小さい場合であっても、特定の時刻では、隣接するWORD2でPreambleと同一の符号配列が出現するので、この場合には、1サブフレーム以上の受信を行うこととして、確実にPreambleとTOW−Countとをそれぞれ区別し、誤同定を防いでいる。   Even when the time counted by the time counting circuit 46 is small from the exact time, the same code sequence as the preamble appears in the adjacent WORD 2 at a specific time. By receiving more than a subframe, Preamble and TOW-Count are reliably distinguished from each other to prevent erroneous identification.

[第5実施形態]
次に、第5実施形態の電子時計1について説明する。
この第5実施形態の電子時計1は、第1実施形態〜第4実施形態の電子時計1と同一の内部構成であり、同一の構成については同一の符号を用いることとして説明を省略する。
[Fifth Embodiment]
Next, an electronic timepiece 1 according to a fifth embodiment will be described.
The electronic timepiece 1 of the fifth embodiment has the same internal configuration as the electronic timepiece 1 of the first to fourth embodiments, and the same reference numerals are used for the same configuration, and the description thereof is omitted.

この第5実施形態の電子時計1の日時修正動作は、GPS日時修正処理において日時情報の取得方法が一部変更されている点を除き、第3実施形態の電子時計1における日時修正動作と同一である。   The date / time correction operation of the electronic timepiece 1 of the fifth embodiment is the same as the date / time correction operation of the electronic timepiece 1 of the third embodiment, except that the acquisition method of date / time information is partially changed in the GPS date / time correction processing. It is.

図13は、第5実施形態の電子時計1で実行されるGPS日時修正処理のCPU41による制御手順を示すフローチャートである。
このGPS日時修正処理は、ステップS407の代わりにステップS407aの処理が実行され、また、ステップS407bの処理が追加された点を除き、第3実施形態の電子時計1で実行されるGPS日時修正処理と同一であり、また、ステップS407a、S407bの処理は、第4実施形態のGPS日時修正処理の説明で示したものと同一である。従って、同一の処理については同一の符号を付して説明を省略する。
FIG. 13 is a flowchart showing a control procedure by the CPU 41 of the GPS date / time correction process executed by the electronic timepiece 1 of the fifth embodiment.
This GPS date and time correction process is performed by the electronic timepiece 1 of the third embodiment except that the process of step S407a is executed instead of step S407 and the process of step S407b is added. In addition, the processes in steps S407a and S407b are the same as those described in the description of the GPS date / time correction process in the fourth embodiment. Accordingly, the same processes are denoted by the same reference numerals and description thereof is omitted.

以上のように、第4実施形態及び第5実施形態の電子時計1は、計時回路46の計数する日時が正確な日時に対してずれる時間差を、予め取得された計時回路46の計時誤差(歩度)と前回の日時修正からの経過時間とに基づいて算出し、この算出された時間差が、大きくない、例えば、水晶発振器による通常の一か月分の誤差に対応する15秒以内の場合には、各サブフレームの先頭の2、3ワード程度の受信時間を設定し、時間差が大きい場合には、1サブフレームのデータを完全に受信するように受信時間を設定する。
従って、時間差が小さく、Preambleの誤同定といった要因による日時の取得失敗の可能性が低い場合には、積極的に消費電力の低減を図る一方で、時間差が大きい場合には、連続する2つのサブフレームの先頭におけるPreambleを同定することでこのPreambleの誤同定の可能性を減らし、信頼性の低下を防いでいる。従って、消費電力の低減と信頼性の維持とをバランス良く保ちながら、全体として確実に正確な日時を取得することが可能となっている。
As described above, in the electronic timepiece 1 of the fourth and fifth embodiments, the time difference that the date and time counted by the time circuit 46 deviates from the exact date and time is calculated as the time error (step rate) of the time circuit 46 acquired in advance. ) And the elapsed time since the previous date and time correction, and the calculated time difference is not large, for example, within 15 seconds corresponding to an error for one month due to a crystal oscillator. A reception time of about a few words at the beginning of each subframe is set, and when the time difference is large, the reception time is set so that data of one subframe is completely received.
Therefore, when the time difference is small and the possibility of date and time acquisition failure due to factors such as erroneous identification of the preamble is low, the power consumption is actively reduced. On the other hand, when the time difference is large, two consecutive sub By identifying the preamble at the head of the frame, the possibility of erroneous identification of the preamble is reduced and the reliability is prevented from being lowered. Accordingly, it is possible to reliably acquire the accurate date and time as a whole while maintaining a good balance between reducing power consumption and maintaining reliability.

なお、本発明は、上記実施の形態に限られるものではなく、様々な変更が可能である。
例えば、上記実施の形態では、水晶発振器を有する発振回路44により計時回路46が月当たり15秒程度の計時誤差を有する場合について説明したが、これに限られない。そしてこれよりも計時誤差が小さい場合には、より長い期間に亘って計時回路46の時刻に基づいて狭い読取期間を設定可能であり、反対に、計時誤差が大きい場合には、より短い期間でのみ、狭い読取期間の設定が可能となる。
The present invention is not limited to the above-described embodiment, and various modifications can be made.
For example, in the above embodiment, the case where the clock circuit 46 has a clock error of about 15 seconds per month by the oscillation circuit 44 having a crystal oscillator has been described, but the present invention is not limited to this. When the timing error is smaller than this, a narrow reading period can be set based on the time of the timing circuit 46 over a longer period. On the contrary, when the timing error is large, a shorter period can be set. Only a narrow reading period can be set.

また、電波受信対象の測位衛星は、GPS衛星に限られない。例えば、GLONASS衛星の受信電波を用いる場合には、スーパーフレーム全体や1フレーム全てのデータではなく、各フレームの第1ストリングのデータ、特に、当日の秒数(sec in the current day)のデータを用いて日時データを取得したり、更には、各ストリングの末尾のタイムマークMK及び先頭の固定符号「0」のみを用いて2秒同期点を確定したりする場合に、本願発明を適用して効率良く正確な日時を取得することが出来る。   In addition, a positioning satellite that is a target of radio wave reception is not limited to a GPS satellite. For example, when using the received radio waves of a GLONASS satellite, the data of the first string of each frame, particularly the data of the second of the day (sec in the current day), is not the data of the entire superframe or all of one frame. The present invention is applied to the case where the date and time data is acquired by using the time mark MK and the 2 second synchronization point is determined only by using the time mark MK at the end of each string and the fixed code “0” at the beginning. Efficient and accurate date and time can be acquired.

また、上記実施の形態では、修正手段としてのCPU41が日時をGPS衛星以外の外部から取得する方法として、標準電波送信局の放送設備から送信される標準電波の受信を挙げたが、これに限られない。例えば、Bluetooth(登録商標)通信やNFC(Near field communication、近接場型無線通信)を用いて通信接続された外部機器(日時情報出力先)から日時情報を取得することも出来る。この場合、更に、外部機器として、携帯電話、スマートフォン、タブレット端末やPCなどのネットワーク接続可能な機器を用いることで、外部機器から日時情報を取得する前に、当該外部機器に携帯基地局やNTP(Network Time Protocol)サーバなどから正確な時刻情報を取得させておくことが出来る。   In the above embodiment, the CPU 41 as the correction means acquires the date and time from the outside of the GPS satellite, but the reception of the standard radio wave transmitted from the broadcasting facility of the standard radio wave transmission station is mentioned. I can't. For example, the date / time information can be acquired from an external device (date / time information output destination) connected by communication using Bluetooth (registered trademark) communication or NFC (Near field communication). In this case, by using a device that can be connected to a network such as a mobile phone, a smartphone, a tablet terminal, or a PC as an external device, before acquiring date / time information from the external device, (Network Time Protocol) Accurate time information can be acquired from a server or the like.

また、上記第4の実施形態において、TOW−Countの上位8ビットがPreambleと同一の場合について、1サブフレーム以上の受信に切り替えてPreambleの誤同定を防ぐこととしたが、日時を示す符号列とPreambleとの重複に応じて1サブフレーム以上の受信を行う期間として予め定めておく期間は、これだけに限られない。TOW−Countの2ビット目以下の配列、例えば、2〜9ビット目がPreambleと同一の符号配列になる期間(火曜日の11時18分24秒から25分30秒間)や、WNの中の8ビット配列、例えば、下位8ビットがPreambleと同一になる週(256週に一度)などについても、同様に対応することが出来る。   In the fourth embodiment, when the upper 8 bits of the TOW-Count are the same as the preamble, it is decided to switch to reception of one subframe or more to prevent erroneous identification of the preamble. The period set in advance as the period for receiving one or more subframes according to the overlap between the preamble and the preamble is not limited to this. TOW-Count 2nd bit or lower array, for example, the period when 2nd to 9th bit is the same code array as the preamble (Tuesday 11:18:24 to 25:30), 8 in WN The bit arrangement, for example, the week in which the lower 8 bits are the same as the preamble (once every 256 weeks) can be similarly handled.

また、上記実施の形態では、Preambleと同一の符号配列が予定される期間において、1サブフレーム分の受信で誤同定を防ぐこととしたが、一度のPreambleと同一の符号配列の検出で即座にPreambleの同定を行わず、1サブフレーム内の予測された間隔でPreambleと同一の符号配列が2回以上現れることを同定しさえ出来れば、必ずしも1サブフレーム分の受信を行わなくても良い。   In the above embodiment, erroneous identification is prevented by receiving one subframe during a period in which the same code sequence as the preamble is scheduled. However, detection of the same code sequence as one preamble is immediately detected. As long as the identification of the preamble is not performed and it can be identified that the same code sequence as the preamble appears two or more times at the predicted interval in one subframe, it is not always necessary to receive one subframe.

一方で、GPS衛星以外の外部から日時情報を取得する方法が無く、日時情報の取得方法が手動操作による日時修正と、GPS衛星からの送信電波の受信による日時修正のみであっても良い。   On the other hand, there is no method for acquiring date / time information from the outside other than the GPS satellite, and the date / time information acquisition method may be only the date / time correction by manual operation and the date / time correction by receiving the transmission radio wave from the GPS satellite.

また、上記実施の形態では、ステータスbを用いてGPS衛星からの電波受信可否、受信時間や日時設定の有無などを決定したが、修正履歴記憶部43aに記憶された直近の修正履歴を直接利用してステータスbを用いずに毎回条件判定を行っても良い。   In the above embodiment, the status b is used to determine whether radio waves can be received from GPS satellites, the reception time, the presence / absence of date / time settings, etc., but the latest correction history stored in the correction history storage unit 43a is directly used. Then, the condition determination may be performed every time without using the status b.

その他、上記実施の形態の説明で示した具体的な構成や処理などの細部は、本発明の趣旨を逸脱しない範囲において適宜変更可能である。   In addition, details such as the specific configuration and processing shown in the description of the above embodiment can be changed as appropriate without departing from the spirit of the present invention.

本発明のいくつかの実施形態を説明したが、本発明の範囲は、上述の実施の形態に限定するものではなく、特許請求の範囲に記載された発明の範囲とその均等の範囲を含む。
以下に、この出願の願書に最初に添付した特許請求の範囲に記載した発明を付記する。付記に記載した請求項の項番は、この出願の願書に最初に添付した特許請求の範囲の通りである。
Although several embodiments of the present invention have been described, the scope of the present invention is not limited to the above-described embodiments, but includes the scope of the invention described in the claims and equivalents thereof.
The invention described in the scope of claims attached to the application of this application will be added below. The item numbers of the claims described in the appendix are as set forth in the claims attached to the application of this application.

[付記]
<請求項1>
日時を計数する計時手段と、
測位衛星からの電波信号を受信する衛星電波受信手段と、
前記衛星電波受信手段による受信期間を制御する受信期間制御手段と、
前記衛星電波受信手段により受信された電波信号に基づいて日時情報を取得する衛星日時取得手段と、
取得された日時情報を用いて前記計時手段が計数する日時を修正する修正手段と、
を備え、
前記衛星日時取得手段は、前記修正手段により前回修正が行われてからの経過時間が前記日時情報の取得方法に応じて定められた第1基準時間以下の場合には、前記経過時間及び前記取得方法に応じた読取期間を定めて、前記衛星電波受信手段による受信内容に基づいて当該読取期間内の日時を取得し、
前記受信期間制御手段は、前記測位衛星から送信される一連のデータのうち、前記衛星日時取得手段が現在の日時を同定することが可能な一部のデータを取得する間を前記受信期間として前記衛星電波受信手段を動作させる
ことを特徴とする電子時計。
<請求項2>
前記経過時間が前記第1基準時間以上の第2基準時間を超えた場合に、ユーザに対して日時の修正要求を伝えるための所定の動作を行う報知手段を備えることを特徴とする請求項1記載の電子時計。
<請求項3>
前記経過時間が前記第1基準時間以下の第3基準時間を超えていない場合に、前記取得された日時が前記読取期間より狭い整合確認期間内にあるか否かを判別する整合判別手段を備え、
前記修正手段は、前記取得された日時が前記整合確認期間内にないと判別された場合には、前記計時手段の計数する日時を前記取得された日時を用いて修正しない
ことを特徴とする請求項1又は2の何れか一項に記載の電子時計。
<請求項4>
ユーザ操作を受け付ける操作手段と、
前記操作手段により入力された日時情報を取得する手動日時取得手段と、
を備え、
前記修正手段は、
前記手動日時取得手段により取得された日時に対する前記整合確認期間を、前記衛星日時取得手段により取得された日時に対する前記整合確認期間よりも広く設定する
ことを特徴とする請求項3記載の電子時計。
<請求項5>
外部との通信を行う外部通信手段と、
当該外部通信手段により外部から日時情報を取得する外部日時取得手段と、
前記外部日時取得手段により取得される日時情報に対して前記外部の日時情報出力先ごとに予め定められる前記読取期間に係る前記経過時間及び前記取得方法を記憶する読取期間設定記憶手段と、
を備えることを特徴とする請求項1〜4の何れか一項に記載の電子時計。
<請求項6>
前記測位衛星がGPS衛星の場合に、前記受信期間制御手段は、前記受信期間としてサブフレームの先頭から2ワード又は3ワードが受信される期間を設定することを特徴とする請求項1〜5の何れか一項に記載の電子時計。
<請求項7>
前記計時手段の計数する日時が正確な日時に対してずれる時間差を、予め取得された前記計時手段の計時誤差と前記経過時間とに基づいて算出するずれ算出手段を備え、
前記受信期間制御手段は、前記時間差が所定のずれ量以下である場合には、前記2ワード又は3ワードが受信される間を前記受信期間とし、前記時間差が前記ずれ量より大きい場合には、サブフレーム1つ分以上の時間を前記受信期間とする
ことを特徴とする請求項6記載の電子時計。
<請求項8>
GPS衛星からの信号において各サブフレームデータの先頭位置を規定する先頭符号列と同一の符号列が日時情報に係る符号列部分に出現する重複期間を記憶する重複期間記憶手段を備え、
前記受信期間制御手段は、前記重複期間内には、前記先頭符号列と同一の符号配列を複数回検出し、当該複数回の検出位置の位置関係に基づいてサブフレームの先頭位置を同定し、時刻情報を取得する
ことを特徴とする請求項6又は7記載の電子時計。
<請求項9>
日時を計数する計時手段と、測位衛星からの電波を受信する衛星電波受信手段とを備えた電子時計の日時データの修正方法であって、
前記衛星電波受信手段による受信期間を制御する受信期間制御ステップ、
前記衛星電波受信手段により受信された電波信号に基づいて日時情報を取得する衛星日時取得ステップ、
取得された日時情報を用いて前記計時手段が計数する日時を修正する修正ステップ、
を含み、
前記衛星日時取得ステップは、前記修正ステップでの前回の修正が行われてからの経過時間が前記日時情報の取得方法に応じて定められた第1基準時間以下の場合には、前記経過時間及び前記取得方法に応じた読取期間を定めて、前記衛星電波受信手段による受信内容に基づいて当該読取期間内の日時を取得し、
前記受信期間制御ステップは、前記測位衛星から送信される一連のデータのうち、前記衛星日時取得ステップで現在の日時を同定することが可能な一部のデータを取得する間を前記受信期間として前記衛星電波受信手段を動作させる
ことを特徴とする日時データの修正方法。
[Appendix]
<Claim 1>
A time counting means for counting the date and time;
Satellite radio wave receiving means for receiving radio signals from positioning satellites;
A reception period control means for controlling a reception period by the satellite radio wave reception means;
Satellite date and time acquisition means for acquiring date and time information based on the radio wave signal received by the satellite radio wave reception means;
Correction means for correcting the date and time counted by the time measuring means using the acquired date and time information;
With
The satellite date and time acquisition means, when the elapsed time since the last correction by the correction means is less than or equal to a first reference time determined according to the acquisition method of the date and time information, the elapsed time and the acquisition Determine the reading period according to the method, acquire the date and time within the reading period based on the content received by the satellite radio wave receiving means,
The reception period control means sets the reception period as a period during which the satellite date and time acquisition means acquires a part of data capable of identifying the current date and time among a series of data transmitted from the positioning satellite. An electronic timepiece characterized by operating a satellite radio wave receiving means.
<Claim 2>
2. The information processing apparatus according to claim 1, further comprising a notification unit that performs a predetermined operation for transmitting a date / time correction request to a user when the elapsed time exceeds a second reference time that is equal to or greater than the first reference time. The electronic watch described.
<Claim 3>
Alignment determining means for determining whether or not the acquired date and time is within an alignment confirmation period narrower than the reading period when the elapsed time does not exceed a third reference time equal to or less than the first reference time. ,
The correction means does not correct the date and time counted by the timing means using the acquired date and time when it is determined that the acquired date and time are not within the consistency check period. Item 3. The electronic timepiece according to any one of Items 1 and 2.
<Claim 4>
An operation means for accepting a user operation;
Manual date and time acquisition means for acquiring date and time information input by the operation means;
With
The correcting means is
The electronic timepiece according to claim 3, wherein the consistency check period for the date and time acquired by the manual date and time acquisition unit is set wider than the alignment check period for the date and time acquired by the satellite date and time acquisition unit.
<Claim 5>
An external communication means for communicating with the outside;
External date and time acquisition means for acquiring date and time information from outside by the external communication means;
Reading period setting storage means for storing the elapsed time and the acquisition method related to the reading period that is predetermined for each external date and time information output destination with respect to date and time information acquired by the external date and time acquisition means;
The electronic timepiece according to any one of claims 1 to 4, further comprising:
<Claim 6>
6. The reception period control means sets a period during which 2 words or 3 words are received from the head of a subframe as the reception period when the positioning satellite is a GPS satellite. The electronic timepiece described in any one of the items.
<Claim 7>
A deviation calculating means for calculating a time difference that the date and time counted by the time measuring means deviates from an accurate date and time based on the time measurement error of the time measuring means acquired in advance and the elapsed time;
When the time difference is equal to or less than a predetermined shift amount, the reception period control means sets the reception period to be the time during which the two words or three words are received, and when the time difference is larger than the shift amount, The electronic timepiece according to claim 6, wherein a time corresponding to one or more subframes is set as the reception period.
<Claim 8>
An overlapping period storage means for storing an overlapping period in which a code string identical to the leading code string defining the leading position of each subframe data in a signal from a GPS satellite appears in a code string portion related to date and time information;
The reception period control means detects the same code sequence as the head code string a plurality of times within the overlap period, and identifies the head position of the subframe based on the positional relationship of the plurality of detection positions, The electronic timepiece according to claim 6 or 7, wherein time information is acquired.
<Claim 9>
A method for correcting date and time data of an electronic timepiece comprising a time measuring means for counting the date and time and a satellite radio wave receiving means for receiving radio waves from positioning satellites,
A reception period control step for controlling a reception period by the satellite radio wave reception means;
A satellite date acquisition step of acquiring date information based on the radio signal received by the satellite radio wave reception means;
A correction step of correcting the date and time counted by the timing means using the acquired date and time information;
Including
In the satellite date acquisition step, when the elapsed time since the previous correction in the correction step is less than or equal to a first reference time determined according to the acquisition method of the date information, the elapsed time and Determine the reading period according to the acquisition method, acquire the date and time within the reading period based on the content received by the satellite radio wave receiving means,
In the reception period control step, the period during which a part of data that can identify the current date and time in the satellite date and time acquisition step is acquired as the reception period among the series of data transmitted from the positioning satellite. A method for correcting date and time data, characterized by operating a satellite radio wave receiving means.

1 電子時計
41 CPU
42 ROM
42a プログラム
43 RAM
43a 修正履歴記憶部
44 発振回路
45 分周回路
46 計時回路
47 操作部
48 表示部
49 表示ドライバ
50 GPS受信処理部
51 アンテナ
52 長波受信部
53 アンテナ
54 電源部
b ステータス
1 Electronic clock 41 CPU
42 ROM
42a program 43 RAM
43a Correction history storage unit 44 Oscillation circuit 45 Frequency division circuit 46 Timekeeping circuit 47 Operation unit 48 Display unit 49 Display driver 50 GPS reception processing unit 51 Antenna 52 Long wave reception unit 53 Antenna 54 Power supply unit b Status

Claims (9)

日時を計数する計時手段と、
測位衛星からの電波信号を受信する衛星電波受信手段と、
前記衛星電波受信手段による受信期間を制御する受信期間制御手段と、
前記衛星電波受信手段により受信された電波信号に基づいて日時情報を取得する衛星日時取得手段と、
外部との通信を行う外部通信手段と、
当該外部通信手段により外部から日時情報を取得する外部日時取得手段と、
取得された日時情報を用いて前記計時手段が計数する日時を修正する修正手段と、
を備え、
前記衛星日時取得手段は、前記修正手段により前回修正が行われてからの経過時間が、前回の日時の修正方法に応じて定められ、日時情報の取得方法の選択に係る第1基準時間以下の場合には、前記経過時間及び選択される前記取得方法に応じた読取期間を定めて、前記衛星電波受信手段による受信内容に基づいて当該読取期間内の日時を取得し、
前記受信期間制御手段は、前記測位衛星から送信される一連のデータのうち、前記衛星日時取得手段が現在の日時を同定することが可能な一部のデータを取得する間を前記受信期間として前記衛星電波受信手段を動作させる
ことを特徴とする電子時計。
A time counting means for counting the date and time;
Satellite radio wave receiving means for receiving radio signals from positioning satellites;
A reception period control means for controlling a reception period by the satellite radio wave reception means;
Satellite date and time acquisition means for acquiring date and time information based on the radio wave signal received by the satellite radio wave reception means;
An external communication means for communicating with the outside;
External date and time acquisition means for acquiring date and time information from outside by the external communication means;
Correction means for correcting the date and time counted by the time measuring means using the acquired date and time information;
With
The satellite time acquisition unit, an elapsed time from being performed the previous corrected by the correcting means, is determined according to the correction method of the previous time, the first following criteria hour according to the selection of the method for obtaining the day-time information In this case, the reading period according to the elapsed time and the acquisition method to be selected is determined, and the date and time within the reading period is acquired based on the content received by the satellite radio wave reception means,
The reception period control means sets the reception period as a period during which the satellite date and time acquisition means acquires a part of data capable of identifying the current date and time among a series of data transmitted from the positioning satellite. An electronic timepiece characterized by operating a satellite radio wave receiving means.
前記経過時間が前記第1基準時間以上の第2基準時間を超えた場合に、ユーザに対して日時の修正要求を伝えるための所定の動作を行う報知手段を備えることを特徴とする請求項1記載の電子時計。   2. The information processing apparatus according to claim 1, further comprising a notification unit that performs a predetermined operation for transmitting a date / time correction request to a user when the elapsed time exceeds a second reference time that is equal to or greater than the first reference time. The electronic watch described. 前記経過時間が前記第1基準時間以下の第3基準時間を超えていない場合に、前記取得された日時と前記計時手段の計数する日時との差が前記読取期間より狭い整合確認期間内にあるか否かを判別する整合判別手段を備え、
前記修正手段は、前記取得された日時が前記整合確認期間内にないと判別された場合には、前記計時手段の計数する日時を前記取得された日時を用いて修正しない
ことを特徴とする請求項1又は2の何れか一項に記載の電子時計。
When the elapsed time does not exceed a third reference time that is equal to or less than the first reference time , the difference between the acquired date and time and the date and time counted by the timing means is within an alignment confirmation period that is narrower than the reading period. It is provided with a consistency determination means for determining whether or not
The correction means does not correct the date and time counted by the timing means using the acquired date and time when it is determined that the acquired date and time are not within the consistency check period. Item 3. The electronic timepiece according to any one of Items 1 and 2.
ユーザ操作を受け付ける操作手段と、
前記操作手段により入力された日時情報を取得する手動日時取得手段と、
前記手動日時取得手段により取得された日時と、前記計時手段の計数する日時との差が所定の第2整合確認期間内にあるか否かを判別する第2整合判別手段と、
を備え、
前記修正手段は、
前記手動日時取得手段により取得された日時に対する前記第2整合確認期間を、前記衛星日時取得手段により取得された日時に対する前記整合確認期間よりも広く設定する
ことを特徴とする請求項3記載の電子時計。
An operation means for accepting a user operation;
Manual date and time acquisition means for acquiring date and time information input by the operation means;
Second alignment determination means for determining whether or not the difference between the date acquired by the manual date acquisition means and the date counted by the timing means is within a predetermined second alignment confirmation period;
With
The correcting means is
The electronic device according to claim 3, wherein the second consistency check period for the date and time acquired by the manual date and time acquisition unit is set wider than the alignment check period for the date and time acquired by the satellite date and time acquisition unit. clock.
前記衛星日時取得手段又は前記外部日時取得手段により直近に取得され日時情報に係る修正方法、及び当該修正方法に応じて予め定められ前記読取期間に係る前記経過時間を記憶する読取期間設定記憶手段と、
を備えることを特徴とする請求項1〜4の何れか一項に記載の電子時計。
Correction method according to the obtained date and time information most recently by the satellite time acquiring means or the external time acquiring unit, and the reading period setting reading to store between at the elapsed according to the predetermined period in response to the correction method Storage means;
The electronic timepiece according to any one of claims 1 to 4, further comprising:
前記測位衛星がGPS衛星の場合に、前記受信期間制御手段は、前記受信期間としてサブフレームの先頭から2ワード又は3ワードが受信される期間を設定することを特徴とする請求項1〜5の何れか一項に記載の電子時計。   6. The reception period control means sets a period during which 2 words or 3 words are received from the head of a subframe as the reception period when the positioning satellite is a GPS satellite. The electronic timepiece described in any one of the items. 前記計時手段の計数する日時が正確な日時に対してずれる時間差を、予め取得された前記計時手段の計時誤差と前記経過時間とに基づいて算出するずれ算出手段を備え、
前記受信期間制御手段は、前記時間差が所定のずれ量以下である場合には、前記2ワード又は3ワードが受信される間を前記受信期間とし、前記時間差が前記ずれ量より大きい場合には、サブフレーム1つ分以上の時間を前記受信期間とする
ことを特徴とする請求項6記載の電子時計。
A deviation calculating means for calculating a time difference that the date and time counted by the time measuring means deviates from an accurate date and time based on the time measurement error of the time measuring means acquired in advance and the elapsed time;
When the time difference is equal to or less than a predetermined shift amount, the reception period control means sets the reception period to be the time during which the two words or three words are received, and when the time difference is larger than the shift amount, The electronic timepiece according to claim 6, wherein a time corresponding to one or more subframes is set as the reception period.
GPS衛星からの信号において各サブフレームデータの先頭位置を規定する先頭符号列と同一の符号列が日時情報に係る符号列部分に出現する重複期間を記憶する重複期間記憶手段を備え、
前記受信期間制御手段は、前記重複期間内には、前記先頭符号列と同一の符号配列を複数回検出し、当該複数回の検出位置の位置関係に基づいてサブフレームの先頭位置を同定し、時刻情報を取得する
ことを特徴とする請求項6又は7記載の電子時計。
An overlapping period storage means for storing an overlapping period in which a code string identical to the leading code string defining the leading position of each subframe data in a signal from a GPS satellite appears in a code string portion related to date and time information;
The reception period control means detects the same code sequence as the head code string a plurality of times within the overlap period, and identifies the head position of the subframe based on the positional relationship of the plurality of detection positions, The electronic timepiece according to claim 6 or 7, wherein time information is acquired.
日時を計数する計時手段と、測位衛星からの電波を受信する衛星電波受信手段と、外部との通信を行う外部通信手段と、を備えた電子時計の日時データの修正方法であって、
前記衛星電波受信手段による受信期間を制御する受信期間制御ステップ、
前記衛星電波受信手段により受信された電波信号に基づいて日時情報を取得する衛星日時取得ステップ、
前記外部通信手段により外部から日時情報を取得する外部日時取得ステップ、
取得された日時情報を用いて前記計時手段が計数する日時を修正する修正ステップ、
を含み、
前記衛星日時取得ステップは、前記修正ステップでの前回の修正が行われてからの経過時間が、前回の日時の修正方法に応じて定められ、日時情報の取得方法の選択に係る第1基準時間以下の場合には、前記経過時間及び選択される前記取得方法に応じた読取期間を定めて、前記衛星電波受信手段による受信内容に基づいて当該読取期間内の日時を取得し、
前記受信期間制御ステップは、前記測位衛星から送信される一連のデータのうち、前記衛星日時取得ステップで現在の日時を同定することが可能な一部のデータを取得する間を前記受信期間として前記衛星電波受信手段を動作させる
ことを特徴とする日時データの修正方法。
A method for correcting date and time data of an electronic timepiece comprising a time measuring means for counting the date and time, a satellite radio wave receiving means for receiving radio waves from positioning satellites, and an external communication means for communicating with the outside ,
A reception period control step for controlling a reception period by the satellite radio wave reception means;
A satellite date acquisition step of acquiring date information based on the radio signal received by the satellite radio wave reception means;
An external date and time acquisition step of acquiring date and time information from the outside by the external communication means;
A correction step of correcting the date and time counted by the timing means using the acquired date and time information;
Including
The satellite time acquisition step, the elapsed time since been carried out last modified in said modifying step is determined according to the modified method of the previous time, the first reference of the selection of method for obtaining the day-time information If it is less than or equal to the time, determine the reading period according to the elapsed time and the acquisition method selected , and acquire the date and time within the reading period based on the content received by the satellite radio wave receiving means,
In the reception period control step, the period during which a part of data that can identify the current date and time in the satellite date and time acquisition step is acquired as the reception period among the series of data transmitted from the positioning satellite. A method for correcting date and time data, characterized by operating a satellite radio wave receiving means.
JP2014048441A 2014-03-12 2014-03-12 Electronic clock and date data correction method Active JP6394008B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014048441A JP6394008B2 (en) 2014-03-12 2014-03-12 Electronic clock and date data correction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014048441A JP6394008B2 (en) 2014-03-12 2014-03-12 Electronic clock and date data correction method

Publications (2)

Publication Number Publication Date
JP2015172523A JP2015172523A (en) 2015-10-01
JP6394008B2 true JP6394008B2 (en) 2018-09-26

Family

ID=54259944

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014048441A Active JP6394008B2 (en) 2014-03-12 2014-03-12 Electronic clock and date data correction method

Country Status (1)

Country Link
JP (1) JP6394008B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6658611B2 (en) * 2017-02-27 2020-03-04 カシオ計算機株式会社 Electronic clock, information acquisition control method, and program
JP6866760B2 (en) * 2017-05-17 2021-04-28 カシオ計算機株式会社 Electronic clock, date and time acquisition control method and program
JP2019060625A (en) * 2017-09-25 2019-04-18 カシオ計算機株式会社 Satellite radio wave receiver, electronic watch, positioning information acquisition control method and program
JP2019060624A (en) * 2017-09-25 2019-04-18 カシオ計算機株式会社 Satellite radio wave receiver, electronic watch, positioning control method and program

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10213688A (en) * 1997-01-28 1998-08-11 Sony Corp Timepiece device
JP2006284348A (en) * 2005-03-31 2006-10-19 Fujitsu Ten Ltd Electronic device and receiving device of radio controlled clock
JP2007263598A (en) * 2006-03-27 2007-10-11 Casio Comput Co Ltd Time correction control device and time correction control method
JP5374912B2 (en) * 2007-08-02 2013-12-25 セイコーエプソン株式会社 Time correction device, time measuring device with time correction device, and time correction method
JP5378258B2 (en) * 2010-02-09 2013-12-25 シチズンホールディングス株式会社 GPS watch
US9317017B2 (en) * 2012-07-11 2016-04-19 Citizen Holdings Co., Ltd. Satellite radio-controlled wristwatch

Also Published As

Publication number Publication date
JP2015172523A (en) 2015-10-01

Similar Documents

Publication Publication Date Title
JP5842908B2 (en) Radio clock
JP6435762B2 (en) Electronic device, program, and date / time information acquisition method
JP6075297B2 (en) Radio clock
US9952561B2 (en) Radio timepiece, method for acquiring leap second correction information and recording medium
JP6394008B2 (en) Electronic clock and date data correction method
JP6508096B2 (en) Satellite radio wave receiver, radio wave clock, date and time information output method, and program
EP3418819B1 (en) Electronic device, date-and-time acquisition control method, and recording medium
JP2019168372A (en) Electronic clock and method for acquiring information
US10915071B2 (en) Electronic timepiece, device, method and computer-readable storage device storing instructions for controlling method for obtaining date/time information
JP5262776B2 (en) Time information receiving terminal and time information transmitting / receiving system
JP6485148B2 (en) Radio clock
JP6264175B2 (en) Radio clock
JP6741058B2 (en) Electronic device, program, and acquisition method of date and time information
JP6687141B2 (en) Radio clock
US11703812B2 (en) Timepiece, control method for change of time, and storage medium
JP6562067B2 (en) Radio clock
JP2018025459A (en) Satellite radio wave receiver, electronic timepiece, radio wave reception level judgment method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170222

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20171122

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171205

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180205

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: 20180731

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180813

R150 Certificate of patent or registration of utility model

Ref document number: 6394008

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150