JP6428816B2 - Satellite radio wave receiver, electronic clock, date and time information acquisition method and program - Google Patents

Satellite radio wave receiver, electronic clock, date and time information acquisition method and program Download PDF

Info

Publication number
JP6428816B2
JP6428816B2 JP2017055289A JP2017055289A JP6428816B2 JP 6428816 B2 JP6428816 B2 JP 6428816B2 JP 2017055289 A JP2017055289 A JP 2017055289A JP 2017055289 A JP2017055289 A JP 2017055289A JP 6428816 B2 JP6428816 B2 JP 6428816B2
Authority
JP
Japan
Prior art keywords
date
time
code
assumed
information
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
JP2017055289A
Other languages
Japanese (ja)
Other versions
JP2017142254A (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 JP2017055289A priority Critical patent/JP6428816B2/en
Publication of JP2017142254A publication Critical patent/JP2017142254A/en
Application granted granted Critical
Publication of JP6428816B2 publication Critical patent/JP6428816B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electric Clocks (AREA)
  • Electromechanical Clocks (AREA)

Description

この発明は、測位衛星からの電波を受信して日時情報を取得する衛星電波受信装置、電子時計、日時情報取得方法及びプログラムに関する。   The present invention relates to a satellite radio wave receiving apparatus, an electronic timepiece, a date / time information acquisition method, and a program that receive radio waves from a positioning satellite and acquire date / time information.

従来、GNSS(Global Navigation Satellite System)に係るナビゲーション衛星(測位衛星)からの電波を受信して日時情報を取得することで、計数する日時を正確に保つ機能を有する電子時計(電波時計)がある。この電波時計では、ユーザの手動操作を必要とせず、また、世界の各地で計数、表示する日時を正確に保つことが出来る。   2. Description of the Related Art Conventionally, there is an electronic timepiece (radio timepiece) having a function of accurately keeping a date and time by receiving radio waves from a navigation satellite (positioning satellite) according to GNSS (Global Navigation Satellite System) and acquiring date and time information. . This radio timepiece does not require manual operation by the user, and can accurately keep the date and time counted and displayed in various parts of the world.

しかしながら、衛星電波の受信に係る負荷は、電子時計における日時の計数や表示に係る負荷と比較して非常に大きく、衛星電波の受信への対応は、バッテリの大型化、及びこれに伴う電子時計のサイズの大型化や重量増加に繋がるという問題がある。そこで、従来、電力消費を低減させるための種々の技術が開発されている。   However, the load related to the reception of satellite radio waves is very large compared to the load related to the counting and display of date and time in an electronic timepiece, and the response to the reception of satellite radio waves is due to the increase in size of the battery and the accompanying electronic timepiece There is a problem that this leads to an increase in size and weight. Therefore, conventionally, various techniques for reducing power consumption have been developed.

このような電力消費を低減させる技術の一つとして、電波受信時間の短縮がある。特許文献1には、GPS衛星から送信される信号のフォーマット(航法メッセージ)に従って日時情報を含む所定の部分の送信タイミングに合わせて受信し、不要な情報が送信されている間受信を一時停止させる技術について開示されている。このとき、日時の誤同定を避けるために、上記所定の部分を含むブロックに対応するパリティデータが取得されて受信データの整合が確認されている。   One technique for reducing such power consumption is to shorten the radio wave reception time. According to Patent Document 1, reception is performed in accordance with a transmission timing of a predetermined part including date and time information according to a format (navigation message) of a signal transmitted from a GPS satellite, and reception is temporarily stopped while unnecessary information is transmitted. The technology is disclosed. At this time, in order to avoid misidentification of the date and time, parity data corresponding to the block including the predetermined portion is acquired, and the consistency of the received data is confirmed.

特開2009−36748号公報JP 2009-36748 A

しかしながら、符号を同定してから日時を解読し、更にパリティチェックなどの照合動作を行うと、受信開始後の処理負担が大きくなり、また、負荷や電力消費量の増大に繋がりやすいという課題がある。   However, if the code is identified, the date and time are decoded, and then a collation operation such as parity check is performed, the processing burden after starting reception increases, and there is a problem that the load and power consumption are likely to increase. .

この発明の目的は、より処理負荷や電力消費を適切に抑えながら正確な日時情報を取得することの出来る衛星電波受信装置、電子時計、日時情報取得方法及びプログラムを提供することにある。   An object of the present invention is to provide a satellite radio wave receiver, an electronic timepiece, a date / time information acquisition method, and a program capable of acquiring accurate date / time information while appropriately suppressing processing load and power consumption.

上記目的を達成するため、本発明は、
衛星からの電波を受信して航法メッセージの情報に係る受信符号を同定する受信部と、
制御部と、を備え、
前記制御部は、
前記受信符号の受信タイミングで受信が想定される想定符号と、前記同定された受信符号とを照合し、
前記受信部が同定した前記受信符号に係る信号品質を取得し、この取得した前記信号品質が所定の基準値以上であるか否かを判別し、前記信号品質が前記所定の基準値以上の場合には、前記航法メッセージの前記情報に係る前記受信符号に対する前記照合した結果が第1の合致条件を満たす前記想定符号が示す日時に基づいて日時情報を取得し、前記信号品質が前記所定の基準値未満の場合には、前記航法メッセージの前記情報に係る前記受信符号に対する前記照合した結果が第2の合致条件を満たす前記想定符号が示す日時に基づいて日時情報を取得する
ことを特徴とする衛星電波受信装置である。
In order to achieve the above object, the present invention provides:
A receiving unit that receives radio waves from a satellite and identifies a received code related to navigation message information;
A control unit,
The controller is
Matching the assumed code expected to be received at the reception timing of the received code with the identified received code,
When the signal quality related to the received code identified by the receiving unit is acquired, it is determined whether or not the acquired signal quality is equal to or higher than a predetermined reference value, and the signal quality is equal to or higher than the predetermined reference value , said navigation result of the verification with respect to the reception code according to the information of the message is based on the date and time indicated by the first match satisfies the assumed code acquires date and time information, the signal quality is above a predetermined reference If the value is less than the value, the date and time information is acquired based on the date and time indicated by the assumed code that satisfies the second matching condition for the received code related to the received code related to the information in the navigation message. This is a satellite radio wave receiver.

本発明に従うと、衛星電波を受信して正確な日時情報を取得する際に、より処理負荷や電力消費を適切に抑えることが出来るという効果がある。   According to the present invention, when receiving satellite radio waves and acquiring accurate date and time information, there is an effect that processing load and power consumption can be appropriately suppressed.

本発明の電子時計の実施形態を示すブロック図である。It is a block diagram which shows embodiment of the electronic timepiece of this invention. GPS衛星から送信されている航法メッセージのフォーマットを説明する図である。It is a figure explaining the format of the navigation message currently transmitted from the GPS satellite. 本実施形態の電子時計における符号の照合について説明する図である。It is a figure explaining the collation of the code | symbol in the electronic timepiece of this embodiment. 日時取得処理の制御手順を示すフローチャートである。It is a flowchart which shows the control procedure of a date acquisition process. 日時情報受信処理の制御手順を示すフローチャートである。It is a flowchart which shows the control procedure of a date information reception process. 日時情報受信処理で呼び出されるパターン照合処理の制御手順を示すフローチャートである。It is a flowchart which shows the control procedure of the pattern matching process called by the date information reception process. 日時情報受信処理で呼び出される信頼性判定処理の制御手順を示すフローチャートである。It is a flowchart which shows the control procedure of the reliability determination process called by the date information reception process. 変形例の日時情報受信処理で呼び出されるパターン照合処理の制御手順を示すフローチャートである。It is a flowchart which shows the control procedure of the pattern matching process called by the date information reception process of a modification. 変形例の日時情報受信処理で呼び出される信頼性判定処理の制御手順を示すフローチャートである。It is a flowchart which shows the control procedure of the reliability determination process called by the date information reception process of a modification. 変形例の日時情報受信処理で呼び出される信頼性判定処理の制御手順を示すフローチャートである。It is a flowchart which shows the control procedure of the reliability determination process called by the date information reception process of a modification.

以下、本発明の実施の形態を図面に基づいて説明する。
図1は、本発明の衛星電波受信装置及び電子時計の実施形態である電子時計1の機能構成を示すブロック図である。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing a functional configuration of an electronic timepiece 1 which is an embodiment of a satellite radio wave receiver and an electronic timepiece according to the present invention.

この電子時計1は、少なくとも米国のGPS(Global Positioning System)に係る測位衛星(以下、GPS衛星と記す)からの電波を受信して信号を復調し、日時情報を取得することが可能な電波時計である。
電子時計1は、ホストCPU41(Central Processing Unit)(日時修正手段)と、ROM42(Read Only Memory)と、RAM43(Random Access Memory)と、発振回路44と、分周回路45と、計時手段としての計時回路46と、表示手段としての表示部47と、表示ドライバ48と、操作部49と、電源部50と、衛星電波受信装置としての衛星電波受信処理部60と、アンテナANなどを備える。
This electronic timepiece 1 receives a radio wave from a positioning satellite (hereinafter referred to as a GPS satellite) related to at least GPS (Global Positioning System) in the United States, demodulates the signal, and can acquire date and time information. It is.
The electronic timepiece 1 includes a host CPU 41 (Central Processing Unit) (date correction means), a ROM 42 (Read Only Memory), a RAM 43 (Random Access Memory), an oscillation circuit 44, a frequency dividing circuit 45, and a time measuring means. A clock circuit 46, a display unit 47 as a display means, a display driver 48, an operation unit 49, a power supply unit 50, a satellite radio wave reception processing unit 60 as a satellite radio wave receiver, an antenna AN, and the like are provided.

ホストCPU41は、各種演算処理を行い、電子時計1の全体動作を統括制御する。ホストCPU41は、ROM42から制御プログラムを読み出し、RAM43にロードして日時の表示や各種機能に係る演算制御や表示などの各種動作処理を行う。また、ホストCPU41は、衛星電波受信処理部60を動作させて測位衛星からの電波を受信させ、受信内容に基づいて求められた日時情報や位置情報を取得する。   The host CPU 41 performs various arithmetic processes and controls the overall operation of the electronic timepiece 1. The host CPU 41 reads out a control program from the ROM 42, loads it into the RAM 43, and performs various operation processes such as date and time display, arithmetic control and display related to various functions. In addition, the host CPU 41 operates the satellite radio wave reception processing unit 60 to receive radio waves from the positioning satellite, and acquires date information and position information obtained based on the received contents.

ROM42は、マスクROMや書き換え可能な不揮発性メモリなどであり、制御プログラムや初期設定データが記憶されている。制御プログラムの中には、測位衛星から各種情報を取得するための各種処理の制御に係るプログラム421が含まれる。   The ROM 42 is a mask ROM, a rewritable nonvolatile memory, or the like, and stores a control program and initial setting data. The control program includes a program 421 relating to control of various processes for acquiring various information from the positioning satellite.

RAM43は、SRAMやDRAMなどの揮発性のメモリであり、ホストCPU41に作業用のメモリ空間を提供して一時データを記憶すると共に、各種設定データを記憶する。各種設定データには、電子時計1のホーム都市設定や、日時の計数、表示における夏時間の適用可否に係る設定が含まれる。RAM43に記憶される各種設定データの一部又は全部は、不揮発性メモリに記憶されても良い。   The RAM 43 is a volatile memory such as SRAM or DRAM, and provides a working memory space to the host CPU 41 to store temporary data and various setting data. The various setting data includes a home city setting of the electronic timepiece 1, a date / time counting, and a setting relating to whether or not daylight saving time is applicable for display. Some or all of the various setting data stored in the RAM 43 may be stored in a nonvolatile memory.

発振回路44は、予め定められた所定の周波数信号を生成して出力する。この発振回路44には、例えば、水晶発振器が用いられている。   The oscillation circuit 44 generates and outputs a predetermined frequency signal determined in advance. For example, a crystal oscillator is used for the oscillation circuit 44.

分周回路45は、発振回路44から入力された周波数信号を計時回路46やホストCPU41が利用する周波数の信号に分周して出力する。この出力信号の周波数は、ホストCPU41による設定に基づいて変更されることが可能であっても良い。   The frequency dividing circuit 45 divides the frequency signal input from the oscillation circuit 44 into a frequency signal used by the time measuring circuit 46 or the host CPU 41 and outputs the frequency signal. The frequency of the output signal may be changeable based on the setting by the host CPU 41.

計時回路46は、分周回路45から入力された所定の周波数信号(クロック信号)の入力回数を計数して初期値に加算することで現在の日時を計数する。計時回路46としては、ソフトウェア的にRAMに記憶させる値を変化させるものであっても良いし、或いは、専用のカウンタ回路を備えていても良い。計時回路46の計数する日時は、特には限られないが、所定のタイミングからの累積時間、UTC日時(協定世界時)、又は予め設定されたホーム都市の日時(地方時)などのうち何れかである。また、この計時回路46の計数する日時自体は、必ずしも年月日、時分秒の形式で保持される必要がない。分周回路45から計時回路46に入力されるクロック信号には、正確な時間経過とは若干のずれがあり、1日当たりのずれの大きさ(歩度)は、動作環境、例えば温度によって変化し、通常では、±0.5秒以内である。   The timer circuit 46 counts the current date and time by counting the number of times the predetermined frequency signal (clock signal) input from the frequency divider 45 is input and adding it to the initial value. As the timing circuit 46, a value stored in the RAM may be changed by software, or a dedicated counter circuit may be provided. The date and time counted by the timing circuit 46 is not particularly limited, but is any of accumulated time from a predetermined timing, UTC date and time (Coordinated Universal Time), or preset date and time of the home city (local time). It is. Further, the date and time itself counted by the timer circuit 46 does not necessarily have to be held in the format of year / month / day, hour / minute / second. The clock signal input from the frequency dividing circuit 45 to the time counting circuit 46 has a slight deviation from the accurate time passage, and the magnitude of the deviation per day (the rate) varies depending on the operating environment, for example, the temperature, Usually, it is within ± 0.5 seconds.

表示部47は、例えば、液晶ディスプレイ(LCD)や有機EL(Electro-Luminescent)ディスプレイなどの表示画面を備え、ドットマトリクス方式及びセグメント方式の何れか又はこれらの組み合わせにより日時や各種機能に係るデジタル表示動作を行う。
表示ドライバ48は、表示画面の種別に応じた駆動信号をホストCPU41からの制御信号に基づいて表示部47に出力して、表示画面上に表示を行わせる。
The display unit 47 includes, for example, a display screen such as a liquid crystal display (LCD) or an organic EL (Electro-Luminescent) display, and digital display related to date and time and various functions by using either a dot matrix method or a segment method or a combination thereof. Perform the action.
The display driver 48 outputs a drive signal corresponding to the type of the display screen to the display unit 47 based on a control signal from the host CPU 41 to cause display on the display screen.

操作部49は、ユーザからの入力操作を受け付けて、当該入力操作に応じた電気信号を入力信号としてホストCPU41に出力する。この操作部49には、例えば、押しボタンスイッチやりゅうずスイッチが含まれる。
或いは、表示部47の表示画面に重ねてタッチセンサが設けられ、当該タッチセンサによるユーザの接触動作に係る接触位置や接触態様の検出に応じた操作信号を出力するタッチパネルとして表示画面を機能させることで、表示部47と操作部49とが一体的に設けられても良い。
The operation unit 49 receives an input operation from the user and outputs an electrical signal corresponding to the input operation to the host CPU 41 as an input signal. The operation unit 49 includes, for example, a push button switch crown switch.
Alternatively, a touch sensor is provided so as to overlap the display screen of the display unit 47, and the display screen functions as a touch panel that outputs an operation signal according to detection of a contact position and a contact mode related to a user's contact operation by the touch sensor Thus, the display unit 47 and the operation unit 49 may be provided integrally.

電源部50は、バッテリを備え、電子時計1の動作に係る電力を所定の電圧で各部に供給する。電源部50のバッテリとしては、ここでは、ソーラパネルと二次電池が用いられている。ソーラパネルは、入射した光により起電力を生じてホストCPU41などの各部に電力供給を行うと共に、余剰電力が生じた場合には、当該電力を二次電池に蓄電する。一方、ソーラパネルへの外部からの入射光量により発電可能な電力が消費電力に対して不足している場合には、二次電池から電力が供給される。或いは、バッテリとしてボタン型などの一次電池が用いられても良い。   The power supply unit 50 includes a battery and supplies power related to the operation of the electronic timepiece 1 to each unit with a predetermined voltage. Here, a solar panel and a secondary battery are used as the battery of the power supply unit 50. The solar panel generates electromotive force by the incident light and supplies power to each part such as the host CPU 41. When surplus power is generated, the solar panel stores the power in the secondary battery. On the other hand, when the power that can be generated by the amount of incident light from the outside to the solar panel is insufficient with respect to the power consumption, power is supplied from the secondary battery. Alternatively, a button type primary battery may be used as the battery.

衛星電波受信処理部60は、アンテナANを介して測位衛星からの電波に同調して各測位衛星に固有のC/Aコード(疑似ランダムノイズ)を同定、捕捉することで当該電波を受信し、測位衛星が送信する航法メッセージを復調、復号して必要な情報を取得する。衛星電波受信処理部60は、モジュールCPU61(照合手段、ずれ量検出手段、想定符号列生成手段、日時取得手段、最大ずれ幅設定手段)と、メモリ62と、記憶部63と、RF部64と、ベースバンド変換部65と、捕捉追尾部66などを備える。   The satellite radio wave reception processing unit 60 receives the radio waves by identifying and capturing C / A codes (pseudorandom noise) specific to each positioning satellite in synchronization with the radio waves from the positioning satellites via the antenna AN, Necessary information is acquired by demodulating and decoding the navigation message transmitted by the positioning satellite. The satellite radio wave reception processing unit 60 includes a module CPU 61 (verification unit, deviation amount detection unit, assumed code string generation unit, date and time acquisition unit, maximum deviation width setting unit), a memory 62, a storage unit 63, and an RF unit 64. A baseband conversion unit 65, a capture tracking unit 66, and the like.

モジュールCPU61は、ホストCPU41からの制御信号や設定データの入力に応じて衛星電波受信処理部60の動作を制御する。モジュールCPU61は、記憶部63から必要なプログラムや設定データを読み出して、RF部64、ベースバンド変換部65及び捕捉追尾部66を動作させ、受信された各測位衛星からの電波を受信、復調させて日時情報を取得する。このモジュールCPU61は、受信した電波を復号して日時情報を取得する他、復号せずに、復調された受信符号列を予め設定された比較照合用の符号列(照合符号列)と比較照合して一致検出を行うことが出来る。   The module CPU 61 controls the operation of the satellite radio wave reception processing unit 60 in accordance with a control signal and setting data input from the host CPU 41. The module CPU 61 reads out necessary programs and setting data from the storage unit 63, operates the RF unit 64, the baseband conversion unit 65, and the acquisition tracking unit 66 to receive and demodulate the received radio waves from each positioning satellite. To get date and time information. The module CPU 61 obtains the date and time information by decoding the received radio wave, and compares and collates the demodulated received code string with a preset code string for comparison and collation (collation code string) without decoding. Can be detected.

メモリ62は、衛星電波受信処理部60におけるモジュールCPU61に作業用のメモリ空間を提供するRAMである。また、メモリ62には、受信された符号列との比較照合用に生成された符号列データが一時記憶される。
記憶部63は、GPS測位に係る各種設定データや測位及び日時情報取得の履歴を記憶する。記憶部63には、フラッシュメモリやEEPROM(Electrically Erasable and Programmable Read Only Memory)などの各種不揮発性メモリが用いられる。記憶部63に記憶されるデータには、各測位衛星の精密軌道情報(エフェメリス)、予測軌道情報(アルマナック)や前回の測位日時及び位置が含まれる。また、記憶部63には、世界各地のタイムゾーンや夏時間の実施情報に係るデータが時差テーブルとして記憶されている。測位が行われると、この時差テーブルが参照されて、得られた現在位置における標準時間での協定世界時(UTC)からの時差や夏時間実施情報などの地方時情報が特定される。
また、記憶部63には、測位を行ってこの地方時情報を特定するためのプログラムや、日時情報を受信して取得するためのプログラム631が記憶されており、モジュールCPU61により読み出されて実行される。
The memory 62 is a RAM that provides a working memory space to the module CPU 61 in the satellite radio wave reception processing unit 60. In addition, the memory 62 temporarily stores code string data generated for comparison with the received code string.
The memory | storage part 63 memorize | stores the history of various setting data regarding GPS positioning, positioning, and date information acquisition. As the storage unit 63, various nonvolatile memories such as a flash memory and an EEPROM (Electrically Erasable and Programmable Read Only Memory) are used. The data stored in the storage unit 63 includes precise orbit information (ephemeris), predicted orbit information (almanac), the previous positioning date and time, and position of each positioning satellite. Further, the storage unit 63 stores data relating to time zones around the world and implementation information of daylight saving time as a time difference table. When positioning is performed, the time difference table is referred to, and local time information such as a time difference from Coordinated Universal Time (UTC) in standard time at the current position and daylight saving time implementation information is specified.
The storage unit 63 stores a program for performing positioning and specifying the local time information, and a program 631 for receiving and acquiring date and time information, and is read out and executed by the module CPU 61. Is done.

RF部64は、L1帯(GPS衛星では、1.57542GHz)の衛星電波を受信して測位衛星からの信号を選択的に通過、増幅させ、中間周波数信号に変換する。RF部64には、LNA(低雑音増幅器)、BPF(帯域通過フィルタ)、局部発振器やミキサなどが含まれる。   The RF unit 64 receives satellite radio waves in the L1 band (1.57542 GHz for GPS satellites), selectively passes and amplifies signals from the positioning satellites, and converts them to intermediate frequency signals. The RF unit 64 includes an LNA (low noise amplifier), a BPF (band pass filter), a local oscillator, a mixer, and the like.

ベースバンド変換部65は、RF部64で得られた中間周波数信号に対して各測位衛星のC/Aコードを適用してベースバンド信号、即ち、航法メッセージ(所定のフォーマット)に係る符号列(受信符号列)を取得する。
捕捉追尾部66は、RF部64で得られた中間周波数信号に対して各測位衛星の各位相でのC/Aコードとの間で各々相関値を算出してそのピークを特定することで、受信されている測位衛星からの信号とその位相を同定する。また、捕捉追尾部66は、同定された測位衛星のC/Aコードとその位相により当該測位衛星からの航法メッセージに係る符号列を継続的に取得するために、ベースバンド変換部65に対して位相情報のフィードバックなどを行い、受信電波を復調して各符号(受信符号)を同定する。
これらRF部64、ベースバンド変換部65及び捕捉追尾部66により受信手段が構成される。
The baseband conversion unit 65 applies the C / A code of each positioning satellite to the intermediate frequency signal obtained by the RF unit 64 to generate a baseband signal, that is, a code string (a predetermined format) related to a navigation message (predetermined format). Received code string) is acquired.
The acquisition and tracking unit 66 calculates a correlation value between the intermediate frequency signal obtained by the RF unit 64 and the C / A code at each phase of each positioning satellite, and identifies the peak thereof. Identify the signal from the positioning satellite being received and its phase. In addition, the acquisition and tracking unit 66 uses the C / A code of the identified positioning satellite and the phase thereof to continuously acquire a code string related to the navigation message from the positioning satellite, with respect to the baseband conversion unit 65. The phase information is fed back, and the received radio wave is demodulated to identify each code (received code).
The RF unit 64, the baseband conversion unit 65, and the acquisition tracking unit 66 constitute a receiving unit.

この衛星電波受信処理部60は、電源部50から直接電力が供給され、そのオンオフがホストCPU41の制御信号により切り替えられる。即ち、衛星電波受信処理部60は、測位衛星からの電波受信及び日時取得や測位に係る算出動作が行われている期間以外には、常時動作しているホストCPU41などとは別個に電源がオフされる。   The satellite radio wave reception processing unit 60 is directly supplied with power from the power supply unit 50, and is turned on / off by a control signal from the host CPU 41. That is, the satellite radio wave reception processing unit 60 is powered off separately from the host CPU 41 and the like that are always operating during periods other than the period during which radio wave reception from the positioning satellite, date and time acquisition, and calculation operations related to positioning are performed. Is done.

次に、GPS衛星から送信される航法メッセージのフォーマットについて説明する。
GNSSでは、複数の測位衛星を複数の軌道上に分散配置させ、地上の各地点から同時に複数の異なる測位衛星の送信電波を受信可能とすることで、当該受信可能な測位衛星から送信されている当該測位衛星の現在位置に係る情報や日時情報を4機以上の測位衛星(地表面であるとの仮定の上では3機)から取得することで、これらの取得データと、取得タイミングのずれ、即ち、各測位衛星からの伝播時間(距離)の差と、に基づいて三次元空間における位置座標及び日時を決定することが出来る。また、1機の測位衛星からの日時情報が取得されることで、当該測位衛星からの伝播時間の誤差範囲(100msec未満程度)で現在日時を取得することが出来る。
Next, the format of the navigation message transmitted from the GPS satellite will be described.
In GNSS, a plurality of positioning satellites are distributed on a plurality of orbits, and transmission waves of a plurality of different positioning satellites can be received simultaneously from each point on the ground, thereby transmitting from the receivable positioning satellites. By acquiring information related to the current position of the positioning satellite and date and time information from four or more positioning satellites (three on the assumption that it is the ground surface), these acquisition data, That is, the position coordinates and date / time in the three-dimensional space can be determined based on the difference in propagation time (distance) from each positioning satellite. Further, by acquiring date / time information from one positioning satellite, it is possible to acquire the current date / time within an error range of propagation time from the positioning satellite (less than about 100 msec).

測位衛星からは、日時に係る情報と、衛星の位置に係る情報と、衛星の健康状態などのステータス情報などを示す符号列(航法メッセージ)がC/Aコード(疑似ランダムノイズ)により位相変調されることでスペクトラム拡散されて送信されている。これらの信号送信フォーマット(航法メッセージのフォーマット)は、測位システムごとに定められている。   From the positioning satellite, a code string (navigation message) indicating information related to the date and time, information related to the position of the satellite, status information such as the health status of the satellite, etc. is phase-modulated by a C / A code (pseudorandom noise). Thus, the spectrum is spread and transmitted. These signal transmission formats (navigation message formats) are determined for each positioning system.

図2は、GPS衛星から送信されている航法メッセージのフォーマットを説明する図である。
GPSでは、各GPS衛星からそれぞれ30秒単位のフレームデータが合計25ページ送信されることで、12.5分周期で全てのデータが出力されている。GPSでは、GPS衛星ごとに固有のC/Aコードが用いられており、このC/Aコードは、1.023MHzで1023個の符号(チップ)が配列されて1msec周期で繰り返されている。このチップの先頭は、GPS衛星の内部時計と同期しているので、GPS衛星ごとにこの位相のずれを検出することで、伝播時間、即ち、GPS衛星から現在位置までの距離に応じた位相ずれ(疑似距離、距離指標値)が検出される。
FIG. 2 is a diagram for explaining the format of a navigation message transmitted from a GPS satellite.
In GPS, a total of 25 pages of 30-second frame data are transmitted from each GPS satellite, so that all data is output in a 12.5 minute cycle. In the GPS, a unique C / A code is used for each GPS satellite, and 1023 codes (chips) are arranged at 1.023 MHz and this C / A code is repeated at a cycle of 1 msec. Since the top of this chip is synchronized with the internal clock of the GPS satellite, by detecting this phase shift for each GPS satellite, the phase shift according to the propagation time, that is, the distance from the GPS satellite to the current position. (Pseudo distance, distance index value) is detected.

各フレームデータは、5つのサブフレーム(各6秒)で構成されている。更に、各サブフレームは10個のワード(各0.6秒、順番にWORD1〜WORD10)によって構成されている。各ワードは、それぞれ30ビットであり、即ち、毎秒50ビットの符号が送信されている。WORD1とWORD2のデータフォーマットは、全てのサブフレームで同一である。WORD1は、8ビットの固定符号列であるプリアンブル(Preamble)に続き、14ビットのテレメトリメッセージ(TLM Message)が含まれ、その後ろに1ビットのIntegrity status flagと1ビットの予備ビットを挟んで、6ビットのパリティデータが配される。WORD2は、週内経過時間を示す17ビットのTOW−Count(Zカウントともいう)に続き、Alert flagとAnti-spoof flagがそれぞれ1ビットずつで示されている。それから、サブフレームの番号(周期番号)を示すサブフレームID(Subframe-ID)が3ビットで示され、パリティデータの整合用2ビットを挟んで6ビットのパリティデータが配列される。   Each frame data is composed of 5 subframes (6 seconds each). Further, each subframe is composed of 10 words (each 0.6 seconds, in order WORD1 to WORD10). Each word is 30 bits, that is, a code of 50 bits per second is transmitted. The data formats of WORD1 and WORD2 are the same in all subframes. WORD1 includes a 14-bit telemetry message (TLM Message) following a preamble which is an 8-bit fixed code string, followed by a 1-bit Integrity status flag and a 1-bit spare bit, 6-bit parity data is arranged. In WORD2, 17-bit TOW-Count (also referred to as Z count) indicating the elapsed time within the week is indicated, and an Alert flag and an Anti-spoof flag are each indicated by 1 bit. Then, a subframe ID (Subframe-ID) indicating a subframe number (period number) is indicated by 3 bits, and 6 bits of parity data are arranged with 2 bits for parity data matching interposed therebetween.

WORD3以降のデータは、サブフレームによって異なる。サブフレーム1のWORD3には、先頭に10ビットのWN(週番号)が含まれる。サブフレーム2、3には、主に、エフェメリス(精密軌道情報)が含まれ、サブフレーム4の一部及びサブフレーム5では、アルマナック(予測軌道情報)が送信されている。   Data after WORD3 varies depending on the subframe. WORD3 of subframe 1 includes a 10-bit WN (week number) at the beginning. Subframes 2 and 3 mainly include ephemeris (precision orbit information), and a part of subframe 4 and subframe 5 transmit almanac (predicted orbit information).

ここで、GPS衛星で計数されている日時(GPS日時)は、うるう秒の実施によるずれを含んでいない。従って、GPS日時とUTC日時との間には、ずれが存在するので、GPS衛星からの電波受信により取得された日時は、UTC日時に換算されて出力される必要がある。また、計時回路46の計数する日時に基づいてGPS衛星からの電波受信タイミングを制御したり、受信される日時を推測したりする場合には、当該計時回路46の日時をGPS日時に換算して用いる必要がある。   Here, the date and time (GPS date and time) counted by the GPS satellite does not include a deviation due to the implementation of leap seconds. Accordingly, since there is a difference between the GPS date and time and the UTC date and time, the date and time acquired by receiving the radio wave from the GPS satellite needs to be converted into the UTC date and output. In addition, when controlling the reception timing of a radio wave from a GPS satellite based on the date and time counted by the timing circuit 46 or estimating the date and time of reception, the date and time of the timing circuit 46 is converted into a GPS date and time. It is necessary to use it.

次に、本実施形態の電子時計1における日時情報の取得動作について説明する。
上述したように、電子時計1で計数されている日時(現在日時)のずれ量がサブフレームの長さ(6秒)と比較して短ければ、当該サブフレームやその前後のサブフレームにおいて送信されるTOW−Count、サブフレームIDや、サブフレーム1におけるWNは、当該日時に基づいて想定され得る。本実施形態の電子時計1では、このような想定可能な符号を用いて予め想定符号列を生成しておき、受信された符号(受信符号)と、各想定符号とを順次比較照合することで、受信符号と想定符号とが一致し続けるずれ量に基づいて当該想定符号列に応じた正確な日時に係る情報(日時情報)を取得する。また、このようにサブフレームごとに変化する符号が想定符号列に含まれることで、万が一計時回路46の計数する日時が後述のように見積もられた範囲よりも大きくずれていた場合に、誤って一致判定されることを防ぐことが出来る。
Next, the acquisition operation of date information in the electronic timepiece 1 of the present embodiment will be described.
As described above, if the shift amount of the date and time (current date and time) counted by the electronic timepiece 1 is shorter than the length of the subframe (6 seconds), it is transmitted in the subframe and the subframes before and after the subframe. TOW-Count, subframe ID, and WN in subframe 1 can be assumed based on the date and time. In the electronic timepiece 1 of the present embodiment, an assumed code string is generated in advance using such an assumed code, and the received code (received code) and each assumed code are sequentially compared and collated. Based on the amount of deviation in which the received code and the assumed code continue to match, information related to the exact date and time (date information) corresponding to the assumed code string is acquired. In addition, since the code that changes for each subframe is included in the assumed code string in this way, if the date and time counted by the time counting circuit 46 is greatly deviated from the estimated range as described later, an error occurs. It is possible to prevent a match determination.

この想定符号列には、上述の日時に応じて変化する符号列に加え、例えば、プリアンブルや予備ビットのように送信周期によらず一定の符号が含まれ得る。また、Alert flagやAnti-spoof flagのように、通常では「0」であり、「1」の場合には利用が好ましくない符号(送信状態に係る所定のフラグ)は、予測が可能な訳ではないが、「0」であると想定して想定符号列に加えられても良い。   In addition to the above-described code sequence that changes according to the date and time, the assumed code sequence may include a certain code regardless of the transmission cycle, such as a preamble or a spare bit. In addition, codes such as Alert flag and Anti-spoof flag, which are normally “0” and are not preferably used in the case of “1” (predetermined flags related to transmission status) are not necessarily predictable. However, it may be added to the assumed code string assuming “0”.

更に、直近の一又は複数回の衛星電波の受信の際に受信された符号配列とその受信日時(受信履歴)を記憶部63に記憶させておき、当該記憶された符号配列のうち、航法メッセージにおける符号位置(即ち、情報の種別)に応じて前回の受信からの変化が完全には予測出来ないが、前回の受信からの経過時間が短い場合には通常当該経過時間内に変化がしないと判断可能なもの、例えば、WORD1のテレメトリメッセージを想定符号列として利用しても良く、或いは、テレメトリメッセージの一部又は全部と上述の固定符号列や送信周期に応じて変化する符号列とを組み合わせて想定符号列としても良い。想定符号列に使用可能か否かの判断は、単純に前回の受信からの経過時間だけで行われる場合に限られず、複数回の受信で一度も変化していない符号を用いるなどの条件が追加されても良い。
同様に、アルマナックデータなどの測位衛星の軌道に係るデータが取得されていて、次の更新までの時間が経過していない場合には、当該軌道に係るデータも想定符号列に含めることが出来る。
Further, the code sequence received at the time of the most recent reception of one or more satellite radio waves and the reception date and time (reception history) are stored in the storage unit 63, and the navigation message is stored in the stored code sequence. The change from the previous reception cannot be completely predicted depending on the code position (that is, the type of information), but if the elapsed time from the previous reception is short, it usually has to be changed within the elapsed time What can be determined, for example, a WORD1 telemetry message may be used as an assumed code string, or a part or all of a telemetry message may be combined with a fixed code string or a code string that changes according to the transmission cycle. An assumed code string may be used. Judgment as to whether or not it can be used for the assumed code string is not limited to the case where it is simply performed based on the elapsed time since the previous reception, and additional conditions such as using a code that has never changed in multiple receptions are added. May be.
Similarly, when data related to the positioning satellite orbit such as almanac data is acquired and the time until the next update has not elapsed, the data related to the orbit can also be included in the assumed code string.

各ワードの25〜30ビット目に配列されるパリティデータは、前のワードにおける29ビット目又は30ビット目のパリティ符号と、同一のワードにおける1〜24ビット目のうちそれぞれ必要なビットデータに基づいて算出される。従って、前のワードにおける29ビット目及び30ビット目のパリティ符号を想定するのが困難であり、本実施形態の電子時計1では、これらパリティデータは、想定符号列に含まれない。   The parity data arranged in the 25th to 30th bits of each word is based on the 29th or 30th bit parity code in the previous word and the necessary bit data in the 1st to 24th bits in the same word. Is calculated. Therefore, it is difficult to assume the parity codes of the 29th and 30th bits in the previous word, and in the electronic timepiece 1 of this embodiment, these parity data are not included in the assumed code string.

想定符号列は、全て連続している必要はなく、複数の異なる符号列部分に分割されていて良い。即ち、想定符号列は、WORD1の23ビット目である予備ビットと、WORD2の1〜17ビット目であるTOW−Countの間のパリティデータ6ビットを飛ばして生成することが出来る。このように想定符号列に含まれる想定可能な符号と、想定符号列に含まれない想定不可能な符号とは、各符号にそれぞれ対応して想定可否フラグ(識別情報)を設定することで識別可能となる。この想定可否フラグの配列は、想定符号列の生成時に併せて生成されれば良い。   The assumed code strings do not need to be all continuous, and may be divided into a plurality of different code string portions. In other words, the assumed code string can be generated by skipping 6 bits of parity data between the spare bit, which is the 23rd bit of WORD1, and the TOW-Count, which is the 1st to 17th bits of WORD2. In this way, an imaginable code included in the assumed code string and an unimaginable code not included in the assumed code string are identified by setting an imaginable flag (identification information) corresponding to each code. It becomes possible. The arrangement of the assumption possibility flag may be generated together with the generation of the assumption code string.

ここで、想定符号列と受信符号列の照合に際し、実際にGPS衛星から送信されている情報に応じた符号列は、ワードごとに一つ前のワードの最終ビット(30ビット目)のパリティデータ(反転符号)の符号に応じて1〜24ビット目の符号(パリティデータ以外の符号)が反転される。即ち、反転符号が「0」であった場合、次のワードの1〜24ビット目の符号は、送信情報に応じてそのまま送信されるのに対し、この反転符号が「1」であった場合、次のワードの1〜24ビット目の符号は、送信情報に応じた符号列が全て反転されたものとなる。従って、生成される想定符号列は、一通りではなく、各ワードの反転有無のパターンに応じた数が生成される。   Here, when collating the assumed code string with the received code string, the code string corresponding to the information actually transmitted from the GPS satellite is the parity data of the last bit (30th bit) of the previous word for each word. The 1st to 24th bit codes (codes other than parity data) are inverted in accordance with the (inverted code) code. That is, when the inverted code is “0”, the code of the 1st to 24th bits of the next word is transmitted as it is according to the transmission information, whereas the inverted code is “1”. The codes of the 1st to 24th bits of the next word are all the code strings corresponding to the transmission information inverted. Therefore, the assumed code string to be generated is not one, but a number corresponding to the pattern of whether each word is inverted is generated.

想定符号列と受信符号列との間には、計時回路46の計数する日時のずれの分だけ位相(符号)ずれが生じる。上述のように、計時回路46の歩度は、0.5秒/日(1/48[sec/h])であるので、直近の日時修正からの経過時間tp[h]に応じて計時回路46の計数する日時の正確な日時からのずれの最大値dt(最大ずれ幅の半分)がdt=tp/48と見積もられる。即ち、正確な日時tcは、計時回路46の計数する日時tに対してt−dt≦tc≦t+dtの範囲であると推測される。   There is a phase (code) shift between the assumed code string and the received code string by the amount of time difference counted by the time counting circuit 46. As described above, since the rate of the time counting circuit 46 is 0.5 seconds / day (1/48 [sec / h]), the time counting circuit 46 is set according to the elapsed time tp [h] from the most recent date and time correction. It is estimated that the maximum value dt (half of the maximum deviation width) of the date and time counted from the exact date and time is dt = tp / 48. That is, the accurate date and time tc is estimated to be in the range of t−dt ≦ tc ≦ t + dt with respect to the date and time t counted by the time counting circuit 46.

本実施形態の電子時計1では、計時回路46の計数する日時tに取得された受信符号r(t)に対して、t−dt≦tc≦t+dtの範囲内にあると想定される各符号をそれぞれ照合させ、複数の日時tに対して得られた照合結果を正確な日時tcからの差分量dcに応じた配列の各要素にそれぞれ積算することで、完全に合致する差分量dcを特定する。   In the electronic timepiece 1 of the present embodiment, each code assumed to be within the range of t−dt ≦ tc ≦ t + dt is obtained with respect to the received code r (t) acquired at the date and time t counted by the timing circuit 46. Each matching is performed, and the matching result obtained for a plurality of dates and times t is added to each element of the array corresponding to the difference amount dc from the correct date and time tc, thereby specifying the completely matching difference amount dc. .

図3は、本実施形態の電子時計1における符号の照合について説明する図である。
図3(a)に示すように、前回の計時回路46の日時修正から4日(96時間)が経過した後に、UTC時刻におけるある時分の02秒に受信を開始する場合、正確な日時tcは、00秒から04秒の間と推測される。この時刻は、UTC日時とGPS日時との差が17秒の場合、GPS日時で17秒から21秒の間となる。更に、受信開始からGPS衛星からの電波が捕捉されて符号の取得が開始されるまでに2秒を要する場合、符号の取得開始は、GPS日時で19秒から23秒の間となる。この場合、生成される想定符号列は、GPS日時で19秒から23秒を含み、更に、最も遅い23秒から1サブフレーム分にあたる6秒間(送信周期)経過した29秒まで含ませることが出来る。また、想定符号列の生成後、19秒より前の符号は不要であるので、19秒の符号を先頭とする想定符号列のみ記憶保持させることが出来る。
FIG. 3 is a diagram for explaining collation of codes in the electronic timepiece 1 of the present embodiment.
As shown in FIG. 3 (a), when reception starts at 02 seconds of a certain hour in UTC time after 4 days (96 hours) have elapsed since the previous date / time correction of the clock circuit 46, the accurate date / time tc Is estimated to be between 00 seconds and 04 seconds. If the difference between the UTC date and time and the GPS date and time is 17 seconds, this time is between 17 and 21 seconds in the GPS date and time. Furthermore, when it takes 2 seconds from the start of reception until the radio wave from the GPS satellite is captured and the acquisition of the code is started, the acquisition of the code is between 19 seconds and 23 seconds in the GPS date and time. In this case, the assumed code string to be generated includes 19 to 23 seconds in GPS date and time, and can further include 29 seconds from the latest 23 seconds to 6 seconds (transmission cycle) that corresponds to one subframe. . Moreover, since the code before 19 seconds is unnecessary after the generation of the assumed code string, only the assumed code string starting with the 19-second code can be stored and held.

図3(b)に示すように、計時回路46の計数する日時t0(ここでは、19秒)における受信符号r(t0)が先ず取得されると、想定符号列において日時t0−dt(ここでは、17秒)に対応する想定可否フラグp(0)から日時t0+dt(ここでは、21秒)に対応する想定可否フラグp(100dt)までの201個の想定可否フラグp(i)が参照され、符号の想定が「可」であることを示す(例えば、p(i)=1である)配列番号iの想定符号c(i)と受信符号r(t0)とがそれぞれ比較される。   As shown in FIG. 3B, when the reception code r (t0) at the date and time t0 (here, 19 seconds) counted by the time counting circuit 46 is first acquired, the date and time t0-dt (here, , 17 seconds), 201 assumption possibility flags p (i) from the assumption possibility flag p (0) corresponding to the date and time t0 + dt (here, 21 seconds) to the assumption possibility flag p (100dt) are referred to. The assumed code c (i) of array number i indicating that the code assumption is “possible” (for example, p (i) = 1) and the received code r (t0) are respectively compared.

想定可否フラグp(i)が符号を想定可能であることを示していて、照合が行われたものについては、照合数N(i)に1が加算される。ここでは、上述のように、想定可能の場合にp(i)=1、想定不可の場合にp(i)=0として、照合数N(i)にこのp(i)を加算する。また、照合の結果、合致していたものについては、合致数E(i)に1が加算される。   The assumption possibility flag p (i) indicates that a sign can be assumed, and 1 is added to the number N (i) of verifications for which verification has been performed. Here, as described above, p (i) = 1 is set when the assumption is possible, and p (i) = 0 is set when the assumption is impossible, and this p (i) is added to the verification number N (i). Further, for those that match as a result of the collation, 1 is added to the number of matches E (i).

上記の処理動作は、新たに受信された符号が1つ同定されるごとに繰り返される。上述のように、GPS衛星からは、毎秒50ビットの符号が送信されるので、間隔ε=20[msec]でこの処理動作が繰り返されることになる。   The above processing operation is repeated each time one newly received code is identified. As described above, since the GPS satellite transmits a code of 50 bits per second, this processing operation is repeated at an interval ε = 20 [msec].

図3(c)に示すように、新たに符号が同定されるごとに(即ち、間隔εが経過するごとに)1が加算されるカウント数kを用いて、日時t0+εkでは、k+1個目の受信符号r(t0+εk)が同定される。このとき想定符号列における日時tc0−dt+εkから想定符号列における日時t0+dt+εkまでの想定可否フラグp(k)〜p(100dt+k)が参照されて、各々N(0)〜N(100dt)に加算される。また、想定符号c(k)〜c(100dt+k)のうち、想定可能であるものが受信符号r(t0+εk)とそれぞれ照合されて、合致したものについては、それぞれ、想定符号cの配列番号iからkを減じた配列番号の合致数E(0)〜E(100dt)に1が加算される。   As shown in FIG. 3C, using the count number k to which 1 is added every time a new code is identified (that is, every time the interval ε elapses), at the date and time t0 + εk, the k + 1th A received code r (t0 + εk) is identified. At this time, the possibility flag p (k) to p (100 dt + k) from the date and time tc0−dt + εk in the assumed code string to the date and time t0 + dt + εk in the assumed code string is referred to and added to N (0) to N (100 dt), respectively. . Also, of the assumed codes c (k) to c (100dt + k), those that can be assumed are collated with the received code r (t0 + εk), respectively, and for those that match, from the array number i of the assumed code c, respectively. 1 is added to the number of matches E (0) to E (100 dt) of the sequence number obtained by subtracting k.

なお、この図3(c)では、想定可否フラグp(i)及び想定符号c(i)の配列番号iが時間の経過と共に単調に増加するように示しているが、照合された先頭の想定可否フラグp(k)及び想定符号c(k)のデータは、以後参照されないので消去することが出来る。ここでは、参照された各想定可否フラグp(i)及び対応する想定符号c(i)のうち、i≧1のもの(1≦i≦M;Mは生成済みの想定符号及び想定可否フラグに係る最後の配列番号)について、それぞれ配列番号iを一つずつ減少させて、それぞれp(i−1)、c(i−1)とされる。或いは、予め定められた最大配列数(100dt+1に所定のマージンを追加した値imax)の範囲で、新たに生成されたカウント数k番目の想定可否フラグや想定符号が、配列番号i=k mod imax(カウント数kを整数imaxで除した剰余の値)の配列位置にループ状に代入されていっても良い。   In FIG. 3 (c), the assumption possibility flag p (i) and the arrangement number i of the assumption code c (i) are shown to increase monotonically with the passage of time. The data of the availability flag p (k) and the assumed code c (k) can be deleted because they are not referred to thereafter. Here, among each of the assumed possibility flag p (i) and the corresponding assumption code c (i), i ≧ 1 (1 ≦ i ≦ M; M is a generated assumption code and assumption possibility flag. With respect to (the last SEQ ID NO), SEQ ID NO: i is decreased by one to be p (i-1) and c (i-1), respectively. Alternatively, in the range of the predetermined maximum number of arrays (value imax obtained by adding a predetermined margin to 100 dt + 1), the newly generated count number kth assumption possibility flag or assumption code is array number i = k mod imax. It may be substituted in a loop at the array position (the remainder value obtained by dividing the count number k by the integer imax).

この処理が繰り返されることで、想定符号列と受信符号列とが合致する位相ずれ(配列番号i)に対応する合致数E(i)が選択的に増加する。そして、他の位相ずれのタイミングでの合致数Eが偶然増加することで誤同定がなされる確率が十分に小さいと判断可能な合致数Eが得られた場合に、当該合致数Eと照合数Nとが一致していれば、想定符号列と受信符号列との間でE個(N個)の符号が完全に合致したことになり、当該合致数Eに対応するタイミングに基づいて正確な日時が取得される。   By repeating this process, the number of matches E (i) corresponding to the phase shift (array number i) where the assumed code string and the received code string match is selectively increased. Then, when the number of matches E that can be determined to have a sufficiently low probability of misidentification due to an accidental increase in the number of matches E at other phase shift timings, the number of matches E and the number of matches If N matches, E codes (N codes) are completely matched between the assumed code string and the received code string, and an accurate code based on the timing corresponding to the match number E is obtained. The date and time are acquired.

誤同定の確率が十分に小さくなったと判定するための基準合致数Eth(基準照合回数)は、電子時計1に要求される誤同定の確率の上限値などに基づいて定められる。想定符号列と同一の符号列が想定外の位置に出現する確率(出現確率)、即ち、受信符号の配列との合致確率は、想定符号列が短いほど上がる。一方で、想定符号列が長くなるほど、必要な受信時間が長くなる。本実施形態の電子時計1では、各二値符号における「0」、「1」の出現確率が均等に1/2であると単純化して、電子時計1の製品寿命内における日時データの想定受信回数や頻度に比して、想定符号列の出現回数や合致確率が十分に小さくなるように当該出現回数や合致確率の基準値を定めて想定符号列の長さを設定することとする。   The reference match number Eth (reference matching count) for determining that the probability of misidentification has become sufficiently small is determined based on the upper limit value of the probability of misidentification required for the electronic timepiece 1. The probability (appearance probability) that the same code string as the assumed code string appears in an unexpected position, that is, the probability of matching with the received code array increases as the assumed code string becomes shorter. On the other hand, the longer the assumed code string, the longer the required reception time. In the electronic timepiece 1 of the present embodiment, the appearance probability of “0” and “1” in each binary code is simplified to be equally ½, and the assumed reception of date and time data within the product life of the electronic timepiece 1 is assumed. The length of the assumed code string is set by determining the reference number of the number of appearances and the match probability so that the number of appearances and the match probability of the assumed code string are sufficiently smaller than the number of times and the frequency.

即ち、ある一つのNビット符号列の出現確率は、(1/2)となるので、この出現確率が十分小さい符号列長であれば良い。例えば、出現確率を10−8未満とするためには、N≧27となり、出現確率を10−6未満とするためには、N≧20となる。電子時計1の製品寿命が20年であって1日に6回受信動作が行われるとすると、想定受信回数は、43830回となるので、N=20の場合、製品寿命の間に一度でも誤同定が生じる確率が約4.2%となり、N=27の場合、誤同定が生じる確率が約0.033%となる。
この出現確率の基準値は、予め設定されていても良いし、操作部49へのユーザの設定入力操作に基づいて直接又は間接的に(例えば、「厳しく」、「普通」、「緩く」などの表現に対応付けられて各々異なる基準値が設定されても良い)設定可能であっても良い。
That is, since the appearance probability of a certain N-bit code string is (1/2) N , it is sufficient if the appearance probability is sufficiently small. For example, in order to make the appearance probability less than 10 −8 , N ≧ 27, and in order to make the appearance probability less than 10 −6 , N ≧ 20. Assuming that the product life of the electronic timepiece 1 is 20 years and the reception operation is performed 6 times a day, the expected number of receptions is 43830 times. Therefore, when N = 20, there is an error even once during the product life. The probability of occurrence of identification is about 4.2%. When N = 27, the probability of occurrence of erroneous identification is about 0.033%.
The reference value of the appearance probability may be set in advance, or directly or indirectly (for example, “strict”, “normal”, “loose”, etc.) based on a user setting input operation to the operation unit 49. Different reference values may be set in association with the expression).

図4は、本実施形態の電子時計1における日時取得処理のホストCPU41による制御手順を示すフローチャートである。
この日時取得処理は、ユーザによる操作部49への実行命令の入力操作が検出されるか、又は予め定められた受信時刻や受信タイミングなどの条件が満たされた場合に起動される。
FIG. 4 is a flowchart showing a control procedure by the host CPU 41 of date and time acquisition processing in the electronic timepiece 1 of this embodiment.
This date and time acquisition process is started when an input operation of an execution command to the operation unit 49 by the user is detected or when conditions such as a predetermined reception time and reception timing are satisfied.

日時取得処理が開始されると、ホストCPU41は、衛星電波受信処理部60を起動する(ステップS101)。また、ホストCPU41は、衛星電波受信処理部60に対し、初期データとして取得対象が日時情報であることを示す設定及び計時回路46の計数する日時の情報を送信する(ステップS102)。この日時情報には、前回計時回路46の日時を修正してからの経過時間に基づくずれの最大値の情報が含まれる。それから、衛星電波受信処理部60からのデータ出力を待ち受ける。なお、この待ち受け中に、ホストCPU41は、表示部47に受信中である旨を示す表示を行わせても良い。   When the date and time acquisition process is started, the host CPU 41 activates the satellite radio wave reception processing unit 60 (step S101). In addition, the host CPU 41 transmits, to the satellite radio wave reception processing unit 60, initial setting data indicating that the acquisition target is date / time information and date / time information counted by the timing circuit 46 (step S102). This date / time information includes information on the maximum value of the deviation based on the elapsed time since the date / time of the previous time counting circuit 46 was corrected. Then, it waits for data output from the satellite radio wave reception processing unit 60. During this standby, the host CPU 41 may cause the display unit 47 to display that it is receiving.

ホストCPU41は、衛星電波受信処理部60からの信号を待ち受けて、日時データを取得する(ステップS103)。それから、ホストCPU41は、衛星電波受信処理部60を停止させると共に(ステップS104)、計時回路46の計数する日時を修正する(ステップS105)。また、ホストCPU41は、RAM43に記憶された受信履歴を更新する(ステップS106)。そして、ホストCPU41は、日時取得処理を終了する。   The host CPU 41 waits for a signal from the satellite radio wave reception processing unit 60 and acquires date / time data (step S103). Then, the host CPU 41 stops the satellite radio wave reception processing unit 60 (step S104) and corrects the date and time counted by the timer circuit 46 (step S105). Further, the host CPU 41 updates the reception history stored in the RAM 43 (Step S106). Then, the host CPU 41 ends the date acquisition process.

図5は、本実施形態の電子時計1における日時情報受信処理のモジュールCPU61による制御手順を示すフローチャートである。
この日時情報受信処理は、ホストCPU41により衛星電波受信処理部60が起動され、ホストCPU41からステップS102の処理で出力された取得対象情報が日時情報である場合に起動される。
FIG. 5 is a flowchart showing a control procedure by the module CPU 61 of date / time information reception processing in the electronic timepiece 1 of the present embodiment.
This date and time information reception process is started when the satellite radio wave reception processing unit 60 is activated by the host CPU 41 and the acquisition target information output from the host CPU 41 in the process of step S102 is date and time information.

日時情報受信処理が起動されると、モジュールCPU61は、メモリ領域の確保や割り当てなどの初期設定や動作チェックを行う(ステップS201)。モジュールCPU61は、ホストCPU41からステップS102の処理で出力された日時情報を取得して、取得されたUTC日時をGPS日時に換算し、また、誤差情報に基づいて正確な日時の範囲を推測する(ステップS202)。   When the date / time information reception process is activated, the module CPU 61 performs initial settings such as securing and allocation of a memory area and an operation check (step S201). The module CPU 61 acquires the date / time information output from the host CPU 41 in step S102, converts the acquired UTC date / time into GPS date / time, and estimates an accurate date / time range based on the error information ( Step S202).

モジュールCPU61は、少なくとも推測された正確な日時の範囲で受信されると想定される符号を全て含む範囲の想定可否フラグp(i)の配列及び想定符号列c(i)を生成する(ステップS203)。モジュールCPU61は、GPS衛星からの電波受信を開始して(ステップS204)、受信可能なGPS衛星からの電波を捕捉する(ステップS205)。モジュールCPU61は、各GPS衛星のC/Aコードに対してそれぞれ受信電波から得られた信号の位相をずらしながら適用して逆スペクトラム拡散を試みることで、GPS衛星からの信号を検出、捕捉する。   The module CPU 61 generates an array of the possible / impossible flags p (i) and an assumed code string c (i) in a range including all the codes that are assumed to be received within at least the estimated accurate date and time range (step S203). ). The module CPU 61 starts receiving radio waves from GPS satellites (step S204) and captures radio waves from receivable GPS satellites (step S205). The module CPU 61 detects and captures the signal from the GPS satellite by applying inverse spectrum spreading to the C / A code of each GPS satellite while shifting the phase of the signal obtained from the received radio wave.

GPS衛星からの信号が捕捉されると、モジュールCPU61は、当該GPS衛星を捕捉された位相で追尾しながら受信データの各符号の同定を開始する(ステップS206)。また、モジュールCPU61は、カウント数kに初期値「0」を設定する。モジュールCPU61は、ステップS203の処理で想定符号列c(i)及び想定可否フラグp(i)が生成されたタイミングと当該符号の同定が実際に開始されたタイミングとのずれに基づいて、想定符号列の補正を行う(ステップS207)。   When the signal from the GPS satellite is captured, the module CPU 61 starts identifying each code of the received data while tracking the GPS satellite with the captured phase (step S206). Further, the module CPU 61 sets an initial value “0” for the count number k. The module CPU 61 determines the assumed code based on the difference between the timing at which the assumed code string c (i) and the assumed availability flag p (i) are generated in the process of step S203 and the timing at which the identification of the code is actually started. Column correction is performed (step S207).

モジュールCPU61は、1つの符号が同定されるごとに当該符号を取得する(ステップS208)。モジュールCPU61は、パターン照合処理を呼び出して実行し(ステップS209)、次いで、信頼性判定処理を呼び出して実行する(ステップS210)。モジュールCPU61は、ステップS210の処理で得られた判定結果により、信頼性がOKであるか否かを判別する(ステップS211)。OKではないと判別された場合には(ステップS211で“NO”)、モジュールCPU61は、GPS衛星からの電波受信を開始してからタイムアウト時間が経過したか否かを判別する(ステップS212)。経過したと判別された場合には(ステップS212で“YES”)、モジュールCPU61の処理は、ステップS216に移行する。経過していないと判別された場合には(ステップS212で“NO”)、モジュールCPU61は、配列番号i≧1について、それぞれ想定符号列c(i)を想定符号列c(i−1)とし、また、想定可否フラグp(i)を想定可否フラグp(i−1)とすることで配列を1ビットずつずらす。また、モジュールCPU61は、必要に応じて想定符号列c(i)及び想定可否フラグp(i)を追加生成する(ステップS213)。それから、モジュールCPU61の処理は、ステップS208に戻る。   The module CPU 61 acquires the code every time one code is identified (step S208). The module CPU 61 calls and executes the pattern matching process (step S209), and then calls and executes the reliability determination process (step S210). The module CPU 61 determines whether or not the reliability is OK based on the determination result obtained in the process of step S210 (step S211). If it is determined that it is not OK (“NO” in step S211), the module CPU 61 determines whether or not a timeout period has elapsed since the start of radio wave reception from a GPS satellite (step S212). If it is determined that the time has elapsed (“YES” in step S212), the processing of the module CPU 61 proceeds to step S216. If it is determined that it has not elapsed (“NO” in step S212), the module CPU 61 sets the assumed code string c (i) as the assumed code string c (i−1) for the array element number i ≧ 1. In addition, the array is shifted bit by bit by setting the assumption possibility flag p (i) to the assumption possibility flag p (i-1). Further, the module CPU 61 additionally generates an assumed code string c (i) and an assumed availability flag p (i) as necessary (step S213). Then, the process of the module CPU 61 returns to step S208.

ステップS211の判別処理で、信頼性OKであると判別された場合には(ステップS211で“YES”)、モジュールCPU61は、信頼性OKと判別された符号配列のタイミングと想定符号列が示す日時とに基づいて正確なGPS日時を取得し、更に、当該取得されたGPS日時をUTC日時に変換して、そのタイミングを設定する(ステップS214)。モジュールCPU61は、設定されたタイミングに合わせて日時情報をホストCPU41に出力する(ステップS215)。それから、モジュールCPU61の処理は、ステップS216に移行する。   When it is determined that the reliability is OK in the determination process of step S211 (“YES” in step S211), the module CPU 61 indicates the timing of the code arrangement determined as the reliability OK and the date and time indicated by the assumed code string. Based on the above, the accurate GPS date / time is acquired, and the acquired GPS date / time is converted into UTC date / time, and the timing is set (step S214). The module CPU 61 outputs date and time information to the host CPU 41 in accordance with the set timing (step S215). Then, the process of the module CPU 61 proceeds to step S216.

ステップS216の処理に移行すると、モジュールCPU61は、GPS衛星からの電波受信を終了する(ステップS216)。そして、モジュールCPU61は、日時情報受信処理を終了する。   When the process proceeds to step S216, the module CPU 61 ends the reception of radio waves from the GPS satellite (step S216). Then, the module CPU 61 ends the date / time information reception process.

図6は、日時情報受信処理のステップS209で呼び出されるパターン照合処理の制御手順を示すフローチャートである。   FIG. 6 is a flowchart showing a control procedure of the pattern matching process called in step S209 of the date / time information reception process.

パターン照合処理が呼び出されると、モジュールCPU61は、カウント数kに1を加算する(ステップS801)。モジュールCPU61は、配列番号iを初期値である「0」に設定し、また、照合される対象となる符号(照合符号)を想定符号c(i)に設定する(ステップS802)。   When the pattern matching process is called, the module CPU 61 adds 1 to the count number k (step S801). The module CPU 61 sets the array element number i to “0” which is an initial value, and sets the code to be collated (collation code) to the assumed code c (i) (step S802).

モジュールCPU61は、想定可否フラグp(i)を参照して、想定符号c(i)が想定可能な符号であるか否かを判別する(ステップS803)。想定可能ではないと判別された場合には(ステップS803で“NO”)、モジュールCPU61の処理は、ステップS808に移行する。   The module CPU 61 refers to the assumption possibility flag p (i) and determines whether or not the assumption sign c (i) is a sign that can be assumed (step S803). If it is determined that it cannot be assumed (“NO” in step S803), the process of the module CPU 61 proceeds to step S808.

想定符号c(i)が想定可能な符号であると判別された場合(ステップS803で“YES”)、モジュールCPU61は、照合数N(i)に「1」を加算し(ステップS804)、取得されている受信符号rと照合符号、即ち、想定符号c(i)とが等しいか否かを判別する(ステップS806)。等しくないと判別された場合には(ステップS806で“NO”)、モジュールCPU61の処理は、ステップS808に移行する。   When it is determined that the assumed code c (i) is an assumed code (“YES” in step S803), the module CPU 61 adds “1” to the collation number N (i) (step S804) and obtains it. It is determined whether or not the received code r and the verification code, that is, the assumed code c (i) are equal (step S806). If it is determined that they are not equal (“NO” in step S806), the processing of the module CPU 61 proceeds to step S808.

受信符号rと照合符号とが等しいと判別された場合には(ステップS806で“YES”)、モジュールCPU61は、合致数E(i)に「1」を加算する(ステップS807)。それから、モジュールCPU61の処理は、ステップS808に移行する。   If it is determined that the received code r is equal to the verification code (“YES” in step S806), the module CPU 61 adds “1” to the match number E (i) (step S807). Then, the process of the module CPU 61 proceeds to step S808.

ステップS808の処理に移行すると、モジュールCPU61は、配列番号iが100dt以上であるか否かを判別する(ステップS808)。即ち、モジュールCPU61は、想定符号c(100dt)まで比較照合が行われたか否かを判別する。配列番号iが100dt以上ではない、即ち、照合対象範囲の全てで比較照合が行われていないと判別された場合には(ステップS808で“NO”)、モジュールCPU61は、配列番号iに「1」を加算して、想定符号c(i)を照合符号として設定する(ステップS809)。それから、モジュールCPU61は、処理をステップS803に戻す。配列番号iが100dt以上である、即ち、想定符号c(100dt)までの照合対象範囲全てで比較照合が行われたと判別された場合には(ステップS808で“YES”)、モジュールCPU61は、パターン照合処理を終了して処理を日時情報受信処理に戻す。   When the process proceeds to step S808, the module CPU 61 determines whether or not the array element number i is 100 dt or more (step S808). That is, the module CPU 61 determines whether or not the comparison verification has been performed up to the assumed code c (100 dt). When it is determined that the array number i is not 100 dt or more, that is, comparison / collation is not performed in the entire collation target range (“NO” in step S808), the module CPU 61 sets the array number i to “1”. ”And the assumed code c (i) is set as a verification code (step S809). Then, the module CPU 61 returns the process to step S803. If it is determined that the array number i is equal to or greater than 100 dt, that is, comparison comparison has been performed in the entire verification target range up to the assumed code c (100 dt) (“YES” in step S808), the module CPU 61 The collation process is terminated, and the process returns to the date / time information reception process.

図7は、日時情報受信処理のステップS210で呼び出される信頼性判定処理の制御手順を示すフローチャートである。   FIG. 7 is a flowchart showing the control procedure of the reliability determination process called in step S210 of the date / time information reception process.

信頼性判定処理が呼び出されると、モジュールCPU61は、合致数E(i)の中で最大のものを最大合致数Emaxとして抽出する(ステップS901)。モジュールCPU61は、最大合致数Emaxが基準合致数Eth(ここでは、26)より大きいか(即ち27以上か)否かを判別する(ステップS902)。基準合致数Ethより大きくないと判別された場合には(ステップS902で“NO”)、モジュールCPU61の処理は、ステップS906に移行する。   When the reliability determination process is called, the module CPU 61 extracts the largest match number E (i) as the maximum match number Emax (step S901). The module CPU 61 determines whether or not the maximum match number Emax is larger than the reference match number Eth (here, 26) (that is, 27 or more) (step S902). If it is determined that it is not larger than the reference match number Eth (“NO” in step S902), the processing of the module CPU 61 proceeds to step S906.

最大合致数Emaxが基準合致数Ethより大きいと判別された場合(ステップS902で“YES”)、モジュールCPU61は、当該最大合致数Emaxに対応する配列番号iの照合数N(i)を取得する(ステップS903)。モジュールCPU61は、最大合致数Emaxと取得された照合数N(i)とが等しいか否かを判別する(ステップS904)。等しいと判別された場合には(ステップS904で“YES”)、モジュールCPU61は、信頼性OKであるとして(ステップS908)、信頼性判定処理を終了し、処理を日時情報受信処理に戻す。   When it is determined that the maximum match number Emax is greater than the reference match number Eth (“YES” in step S902), the module CPU 61 obtains the matching number N (i) of the array element number i corresponding to the maximum match number Emax. (Step S903). The module CPU 61 determines whether or not the maximum match number Emax is equal to the acquired collation number N (i) (step S904). If it is determined that they are equal (“YES” in step S904), the module CPU 61 determines that the reliability is OK (step S908), ends the reliability determination process, and returns the process to the date / time information reception process.

最大合致数Emaxと照合数N(i)とが等しくないと判別された場合には(ステップS904で“NO”)、モジュールCPU61は、当該最大合致数Emaxに対応する合致数E(i)と取得された照合数N(i)とをリセットして「0」に戻し、それから、処理をステップS906に移行させる。   If it is determined that the maximum number of matches Emax and the number of matches N (i) are not equal (“NO” in step S904), the module CPU 61 determines that the number of matches E (i) corresponding to the maximum number of matches Emax. The acquired collation number N (i) is reset to “0”, and then the process proceeds to step S906.

ステップS902又はステップS905の処理からステップS906の処理に移行すると、モジュールCPU61は、カウント数kを300(即ち、1サブフレーム分の符号数)で除した剰余が「0」であるか否かを判別する(ステップS906)。「0」であると判別された場合には(ステップS906で“YES”)、モジュールCPU61は、全ての配列番号iに対する照合数N(i)及び合致数E(i)を初期化して「0」に戻す(ステップS907)。それから、モジュールCPU61は、信頼性NGであるとする(ステップS909)。そして、モジュールCPU61は、信頼性判定処理を終了し、処理を日時情報受信処理に戻す。「0」でないと判別された場合には(ステップS906で“NO”)、モジュールCPU61の処理は、ステップS909に移行する。   When the process proceeds from step S902 or step S905 to step S906, the module CPU 61 determines whether or not the remainder obtained by dividing the count number k by 300 (that is, the number of codes for one subframe) is “0”. A determination is made (step S906). If it is determined that the value is “0” (“YES” in step S906), the module CPU 61 initializes the matching number N (i) and the matching number E (i) for all the array element numbers i, and sets “0”. (Step S907). Then, it is assumed that the module CPU 61 is reliable NG (step S909). Then, the module CPU 61 ends the reliability determination process and returns the process to the date / time information reception process. If it is determined that it is not “0” (“NO” in step S906), the processing of the module CPU 61 proceeds to step S909.

以上のように、本実施形態の衛星電波受信処理部60は、測位衛星からの電波を受信して復調した信号の各受信符号を同定する受信手段としてのRF部64、ベースバンド変換部65及び捕捉追尾部66と、モジュールCPU61と、を備える。モジュールCPU61は、照合手段として、受信符号の受信タイミングとして計時回路46から取得された現在日時に対して設定される最大ずれ幅内での受信が想定される想定符号と同定された受信符号とを照合し、照合結果に係る情報を現在日時からのずれ量と対応付けて取得し、ずれ量検出手段として、複数の受信符号に対する照合結果が所定の合致条件を満たすずれ量を検出し、日時取得手段として、当該合致条件を満たすずれ量に基づいて日時情報を取得する。
これにより、電波の受信中に復号して日時情報を取得する動作が不要になるので、受信中の処理が簡素化されて負荷を分散させ、ピークを抑えることが出来る。また、受信開始から速やかに正確な日時情報を取得することが出来る。
As described above, the satellite radio wave reception processing unit 60 according to the present embodiment receives the radio wave from the positioning satellite and identifies each received code of the demodulated signal by the RF unit 64, the baseband conversion unit 65, A capture tracking unit 66 and a module CPU 61 are provided. The module CPU 61 uses, as collation means, an assumed code that is assumed to be received within the maximum deviation width set for the current date and time acquired from the timing circuit 46 as a reception timing of the received code and an identified received code. Collation is performed, information related to the collation result is acquired in association with the amount of deviation from the current date and time, and the amount of deviation is detected by detecting the amount of deviation in which the collation results for a plurality of received codes satisfy a predetermined match condition. As a means, date information is acquired based on the amount of deviation satisfying the matching condition.
This eliminates the need for decoding and acquiring date / time information during reception of radio waves, simplifying processing during reception, distributing the load, and suppressing peaks. Also, accurate date and time information can be acquired promptly from the start of reception.

また、計時回路46の計数する日時に想定されるずれの範囲内であれば、サブフレームデータとの受信タイミングのずれにより正確な符号列の検出に失敗する可能性を排除出来るので、動作開始タイミングによらず容易且つより確実に日時情報を取得することが出来る。   In addition, if it is within the range of the deviation assumed for the date and time counted by the time counting circuit 46, the possibility of failing to detect the correct code string due to the deviation of the reception timing with the subframe data can be eliminated, so the operation start timing Regardless of this, the date and time information can be acquired easily and more reliably.

また、モジュールCPU61は、想定符号列生成手段として、計時回路46の計数する日時に対して見積もられる最大ずれ幅内の想定符号を含む想定符号列と、当該想定符号列内において想定符号と想定されなかった符号とを識別する想定可否フラグとを生成する。そして、モジュールCPU61は、照合手段として、想定可否フラグに基づいて照合可能な想定符号と受信符号とを照合する。
このように、想定符号列に含まれる照合不能な符号に対しては、単に照合をスキップするだけで良いので、単純なループ処理で正確な日時に対応するずれ量を検出することが出来る。また、最大ずれ幅内のずれ量に対して並列に照合が行われるので、受信開始タイミングの影響を受けづらくなる。
Further, the module CPU 61 is assumed to be an assumed code string including an assumed code within a maximum deviation estimated with respect to the date and time counted by the timer circuit 46 as an assumed code string generating unit, and an assumed code within the assumed code string. An assumption possibility flag for identifying a code that has not been generated is generated. And module CPU61 collates the assumption code | cord | chord which can be collated based on an assumption possibility flag, and a received code as a collation means.
As described above, since it is only necessary to skip collation for codes that cannot be collated included in the assumed code string, it is possible to detect a deviation amount corresponding to an accurate date and time by a simple loop process. In addition, since collation is performed in parallel for the deviation amount within the maximum deviation width, it is difficult to be influenced by the reception start timing.

また、モジュールCPU61は、照合手段として、受信手段(RF部64、ベースバンド変換部65及び捕捉追尾部66)により一の受信符号が新たに同定されるごとに、この一の受信符号の受信日時に対する最大ずれ幅内の想定符号と、当該一の受信符号とを照合する。このようにリアルタイムで一つの受信符号ずつ照合を行っていくことで、正確な日時に対応するずれ量が遅滞なく検出されて速やかに現在日時を出力することが出来る。   The module CPU 61 receives the reception date and time of this one reception code every time a reception code (RF section 64, baseband conversion section 65, and acquisition tracking section 66) is newly identified as a verification means. The assumed code within the maximum deviation width with respect to the one received code is collated. By collating each received code in real time in this way, a deviation amount corresponding to an accurate date and time can be detected without delay, and the current date and time can be output promptly.

また、モジュールCPU61は、最大ずれ幅設定手段として、現在日時を計数する計時回路46の当該現在日時が直近に修正されてからの経過時間に基づいて最大ずれ幅を設定するので、容易且つ適切に最大ずれ幅を設定し、必要以上に広いずれ幅の設定で処理内容を増やさない。   Further, the module CPU 61 sets the maximum deviation width based on the elapsed time since the current date and time of the timing circuit 46 counting the current date and time is most recently corrected as the maximum deviation width setting means. Set the maximum deviation width and do not increase the processing contents by setting the width wider than necessary.

また、同一のずれ量に係る想定符号と受信符号との間での照合において、基準合致数Eth以上連続して合致することで、正確な日時と現在日時とのずれ量を同定する。このように、同定される対象のずれ量に係る配列番号iでの合致数E(i)が選択的に増加するので、容易に適切なずれ量が同定される。   Further, in the collation between the assumed code and the received code related to the same deviation amount, the deviation amount between the accurate date and time and the current date and time is identified by continuously matching the reference matching number Eth or more. In this way, the number of matches E (i) at SEQ ID NO: i relating to the amount of deviation of the object to be identified is selectively increased, so that an appropriate amount of deviation is easily identified.

また、基準合致数Ethは、当該基準合致数Ethの受信符号が連続して想定符号と合致する合致確率が、予め定められた基準値、例えば、10−8未満となるように定められる。
この基準値が電子時計に要求される精度や製品寿命と、誤同定の発生頻度との対応関係に応じて定められることで、電子時計1を要求精度の範囲で容易且つ適切に正確な日時表示に保つことが出来る。
The reference match number Eth is determined such that the match probability that the received codes of the reference match number Eth continuously match the assumed code is less than a predetermined reference value, for example, 10 −8 .
This reference value is determined according to the correspondence between the accuracy and product life required for the electronic timepiece and the frequency of occurrence of misidentification, so that the electronic timepiece 1 can be displayed easily and appropriately accurately within the required accuracy range. Can be kept.

また、各二値符号の出現確率をそれぞれ1/2とする、即ち、想定符号との合致確率が一回の照合当たり1/2であるとして求められることで、容易且つ概ね的確に電子時計1に求められる精度に沿った電力消費量や所要時間で正確な日時情報の取得を行うことが出来る。   In addition, since the occurrence probability of each binary code is halved, that is, the probability of matching with the assumed code is determined to be ½ per collation, the electronic timepiece 1 can be easily and almost accurately obtained. Accurate date and time information can be acquired with the power consumption and required time in accordance with the accuracy required for the above.

また、本実施形態の電子時計1は、上述の衛星電波受信処理部60と、現在日時を計数する計時回路46と、日時取得手段としての衛星電波受信処理部60により取得された日時により計時回路46の計数する日時を修正する日時修正手段としてのホストCPU41と、計時回路46により計数された日時を表示する表示部47などを備える。
従って、電力消費に係る制限の厳しい電子時計1、特に、腕時計などの軽量で携帯される電子時計において、負荷を抑えつつ適切な消費電力と所要時間で正確な日時を取得することが出来る。
In addition, the electronic timepiece 1 of the present embodiment includes the above-described satellite radio wave reception processing unit 60, a clock circuit 46 that counts the current date and time, and a clock circuit based on the date and time acquired by the satellite radio wave reception processing unit 60 as date and time acquisition means. 46 includes a host CPU 41 as a date and time correcting means for correcting the date and time counted by 46, a display unit 47 for displaying the date and time counted by the time measuring circuit 46, and the like.
Therefore, in an electronic timepiece 1 that is severely limited in terms of power consumption, particularly a lightweight electronic timepiece such as a wristwatch, an accurate date and time can be acquired with appropriate power consumption and required time while suppressing a load.

また、上述のモジュールCPU61による日時情報の取得方法により、測位衛星からの電波を受信可能な衛星電波受信装置において容易且つより確実に効率良く日時情報を取得することが出来る。   Further, the date and time information acquisition method by the module CPU 61 described above makes it possible to acquire the date and time information easily, more reliably and efficiently in a satellite radio wave receiving apparatus capable of receiving radio waves from positioning satellites.

また、上述の手順で日時情報を取得する処理を行うプログラム631を、受信手段としてのRF部64、ベースバンド変換部65及び捕捉追尾部66を備えたコンピュータにインストールして実行することで、当該コンピュータを備える各種電子機器において容易且つより確実に効率良く日時情報を取得することが出来る。   In addition, by installing and executing a program 631 that performs processing for obtaining date and time information in the above-described procedure on a computer including the RF unit 64, the baseband conversion unit 65, and the acquisition tracking unit 66 as a reception unit, Date and time information can be acquired easily and more reliably and efficiently in various electronic devices including a computer.

[変形例]
次に、電子時計1で実行される日時情報受信処理の変形例について説明する。
本変形例の日時情報受信処理では、想定符号列と受信符号列との照合の際に、完全一致だけではなく、少数のエラーを含む不完全一致であっても、誤同定の確率が十分に抑えられる範囲で信頼性OKとすることで、測位衛星からの電波の受信強度が低く、S/N比(SNR)が低い場合であっても日時情報を取得可能とする。
[Modification]
Next, a modification of the date / time information reception process executed by the electronic timepiece 1 will be described.
In the date and time information reception process of this modification, the probability of misidentification is sufficiently high not only for complete matching but also for incomplete matching including a small number of errors when matching the assumed code string with the received code string. By setting the reliability OK within a range that can be suppressed, date and time information can be acquired even when the reception intensity of radio waves from the positioning satellite is low and the S / N ratio (SNR) is low.

この電子時計1では、不完全な一致である場合に誤同定の確率が低く抑えられると判定する条件(不一致許容条件)は、受信符号列に対する各位相ずれを伴う想定符号列との不一致数(不一致符号数)の最小値(最小不一致数)に係る出現確率と、二番目に小さい不一致数(次点不一致数)に係る出現確率とに基づいて定められる。各符号における「0」と「1」の出現確率をそれぞれ1/2とすると、出現確率Pは、照合数N及び不一致数Eにより、P=/2で表すことが出来る。例えば、44ビット長の想定符号列との照合時に3ビットの不一致を伴う符号配列の出現確率は、44/244=7.53×10−10である。また、28ビット長の想定符号列との照合時に1ビットの不一致を伴う符号配列の出現確率は、28/228=1.04×10−7である。
なお、不一致数の最小値と合致数の最大値とは、確率上等価である。従って、後述のように、最大の合致数に係る出現確率と二番目に大きい合致数に係る出現確率とに基づいて行われる処理は、上述の処理と違いがなく、同じ結果が得られる。
In this electronic timepiece 1, the condition (mismatch tolerance condition) for determining that the probability of misidentification is kept low when there is an incomplete match is the number of mismatches with the assumed code string (which includes each phase shift from the received code string) ( It is determined based on the appearance probability according to the minimum value (minimum mismatch number) of the number of mismatch codes and the appearance probability according to the second smallest mismatch number (next-point mismatch number). A "0" in each code When each 1/2 probability of occurrence of the "1", the occurrence probability P is a matching number N and the number of mismatches E, can be expressed by P = N C E / 2 N . For example, the probability of occurrence of code sequences with 3 bits mismatch when matching the 44 bit length of the assumed code sequence is a 44 C 3/2 44 = 7.53 × 10 -10. Also, the probability of occurrence of code sequences with one bit mismatch at the time of verification of the 28 bit length of the assumed code sequence is a 28 C 1/2 28 = 1.04 × 10 -7.
The minimum value of the number of mismatches and the maximum value of the number of matches are equivalent in terms of probability. Therefore, as will be described later, the processing performed based on the appearance probability related to the maximum number of matches and the appearance probability related to the second largest number of matches is not different from the above-described processing, and the same result is obtained.

ここで、上述のように、最小不一致数に係る出現確率のみを基準として誤同定の可能性を排除しても良い。しかしながら、不完全一致の場合には、実際の受信符号列中で偶然に想定符号列に類似した符号列が出現する可能性も増加するので、このような類似符号列の出現が排除出来る条件設定がより好ましい。例えば、TOW−Countが0(TOW−Countの全ての符号が「0」)付近の場合や、TOW−Countの略全ての符号が「1」の場合に、これらの符号列を想定符号列の一部又は全部として用いると、想定符号列と受信符号列とが僅かな位相ずれの場合にもこれらの重複部分では符号が一致する。また、TOW−Countなどが周期的な符号列の場合(例えば、「0」と「1」が交互に配列されている場合など)には、当該周期分の位相ずれでは、符号が一致する。従って、この場合には、通常の位相ずれの状態と比較して、不一致数が小さくなり、ノイズ(電波受信強度)などによって誤同定が生じる確率が上昇する。   Here, as described above, the possibility of misidentification may be excluded based on only the appearance probability related to the minimum mismatch number. However, in the case of an incomplete match, the possibility that a code string similar to the assumed code string appears by chance in the actual received code string also increases, so the condition setting that can eliminate the appearance of such a similar code string Is more preferable. For example, when TOW-Count is near 0 (all codes of TOW-Count are “0”), or when almost all codes of TOW-Count are “1”, these code strings are assumed code strings. When used as a part or the whole, even if the assumed code string and the received code string have a slight phase shift, the codes coincide in these overlapping parts. Further, when TOW-Count or the like is a periodic code string (for example, when “0” and “1” are alternately arranged), the codes coincide with each other in the phase shift of the period. Therefore, in this case, the number of mismatches is smaller than in a normal phase shift state, and the probability of erroneous identification due to noise (radio wave reception intensity) or the like increases.

先ず、計時回路46の歩度に基づいて見積もられた日時の最大ずれ量に応じて設定された想定符号列の位相ずれ設定範囲内でそれぞれサブフレーム1周期分の長さ(300ビット)に亘って各々照合がなされる。それから、当該位相ずれ設定範囲内で最小の不一致数である最小不一致数Ebminと二番目に小さい不一致数である次点不一致数Ebmin2とを用い、最小不一致数Ebminに係る出現確率P1の次点不一致数Ebmin2に係る出現確率P2に対する割合を危険度Pdとして算出する。この危険度Pd=P1/P2が所定の基準値以下である(出現確率P1が出現確率P2に対して所定の割合以下である)場合に、誤同定の確率が十分に小さいと判断される。最小不一致数Ebmin及び次点不一致数Ebmin2の代わりに最大合致数に係る出現確率及び二番目に大きい合致数である次点合致数に係る出現確率が用いられても同一の結果が得られる。   First, over the length (300 bits) of each subframe within the phase shift setting range of the assumed code string set in accordance with the maximum date and time shift amount estimated based on the rate of the clock circuit 46. Each is verified. Then, using the minimum mismatch number Ebmin, which is the minimum mismatch number within the phase shift setting range, and the next mismatch number Ebmin2, which is the second smallest mismatch number, the next point mismatch of the appearance probability P1 related to the minimum mismatch number Ebmin A ratio with respect to the appearance probability P2 related to the number Ebmin2 is calculated as the risk Pd. When the risk Pd = P1 / P2 is equal to or less than a predetermined reference value (appearance probability P1 is equal to or less than a predetermined ratio with respect to the appearance probability P2), it is determined that the probability of misidentification is sufficiently small. The same result can be obtained even if the appearance probability related to the maximum match number and the appearance probability related to the next point match number which is the second largest match number are used instead of the minimum mismatch number Ebmin and the next point mismatch number Ebmin2.

危険度Pdと比較される基準値Pmは、製品寿命内の想定受信回数と製品に要求される精度とに応じて適切に定められれば良く、ここでは、例えば、Pm=10−8とされる。 The reference value Pm to be compared with the risk Pd may be appropriately determined according to the estimated number of receptions within the product lifetime and the accuracy required for the product. Here, for example, Pm = 10 −8. .

この場合、上述のように、想定符号列の位相をずらしてもあまり不完全一致数が増加しない場合には、想定符号列と完全に一致する受信符号列が取得されていた場合(不一致数が「0」)であっても合致タイミングと判定されない場合が生じ得る。そこで、不一致数が「0」の場合には、その出現確率P0を「0」として危険度Pdを算出することで、危険度Pdが基準値Pm以下となるようにすることが出来る。   In this case, as described above, if the number of incomplete matches does not increase even if the phase of the assumed code string is shifted, a received code string that completely matches the assumed code string has been acquired (the number of mismatches is Even if it is “0”), there may be a case where the match timing is not determined. Therefore, when the number of mismatches is “0”, the risk Pd can be made equal to or less than the reference value Pm by calculating the risk Pd with the appearance probability P0 being “0”.

本実施形態の電子時計1では、SNRに応じて受信状態が良好な場合には上述の完全一致による信頼性判定を行い、受信状態が良好ではない場合には、この不完全な一致の場合の誤同定回避に係る信頼性の判定を行う。また、完全一致による信頼性判定で所定時間(上限照合時間)、例えば、1サブフレーム分の6秒が経過しても信頼性OKとならない場合には、不完全一致における誤同定回避に係る信頼性の判定に移行する。   In the electronic timepiece 1 of the present embodiment, when the reception state is good according to the SNR, the reliability determination based on the complete match described above is performed, and when the reception state is not good, the case of this incomplete match is obtained. Judgment of reliability related to avoiding erroneous identification is performed. Further, if reliability is not OK even after a predetermined time (upper limit comparison time), for example, 6 seconds for one subframe, has passed in the reliability determination based on complete matching, the reliability related to avoiding erroneous identification in incomplete matching Move on to sex determination.

図8は、本変形例の日時情報受信処理で呼び出されるパターン照合処理の制御手順を示すフローチャートである。
このパターン照合処理は、図6に示した上記実施形態のパターン照合処理に対してステップS805、S806aの処理が追加され、ステップS807の処理がステップS807aの処理に置き換えられた点を除き同一であり、同一の処理内容については詳しい説明を省略する。
FIG. 8 is a flowchart showing the control procedure of the pattern matching process called in the date / time information receiving process of this modification.
This pattern matching process is the same except that the processes of steps S805 and S806a are added to the pattern matching process of the embodiment shown in FIG. 6 and the process of step S807 is replaced with the process of step S807a. Detailed description of the same processing contents is omitted.

ステップS804の処理で照合数N(i)が加算された後、モジュールCPU61は、符号同定が開始されたタイミング付近における受信電波のSNR(信号指標値)が所定の強度基準値Sth未満であるか否かを判別する(ステップS805)。強度基準値Sthは、二値符号の同定アルゴリズムなどに応じて同定にミスが生じ得るレベルに基づいて定められ、ここでは、例えば、30dBなどに定められる。   After the collation number N (i) is added in the process of step S804, the module CPU 61 determines whether the SNR (signal index value) of the received radio wave near the timing at which the code identification is started is less than the predetermined strength reference value Sth. It is determined whether or not (step S805). The strength reference value Sth is determined based on a level at which an identification error may occur according to the binary code identification algorithm, and is set to 30 dB, for example.

SNRが強度基準値Sth未満ではないと判別された場合には(ステップS805で“NO”)、モジュールCPU61の処理は、ステップS806に移行する。モジュールCPU61は、受信符号rと想定符号c(i)とが合致するか否かを判別する(ステップS806)。合致すると判別された場合には(ステップS806で“YES”)、モジュールCPU61は、加算値Eb(i)に「1」を加算し(ステップS807a)、それから、処理をステップS808に移行させる。合致しないと判別された場合には(ステップS806で“NO”)、モジュールCPU61の処理は、ステップS808に移行する。   When it is determined that the SNR is not less than the intensity reference value Sth (“NO” in step S805), the process of the module CPU 61 proceeds to step S806. The module CPU 61 determines whether or not the received code r matches the assumed code c (i) (step S806). If it is determined that they match (“YES” in step S806), the module CPU 61 adds “1” to the added value Eb (i) (step S807a), and then shifts the processing to step S808. If it is determined that they do not match (“NO” in step S806), the processing of the module CPU 61 proceeds to step S808.

一方、ステップS805の判別処理で、SNRが強度基準値Sth未満であると判別された場合には(ステップS805で“YES”)、モジュールCPU61は、受信符号rと想定符号c(i)とが合致しないか否かを判別する(ステップS806a)。そして、合致しないと判別された場合には(ステップS806aで“YES”)、モジュールCPU61の処理は、ステップS807aに移行し、合致すると判別された場合には(ステップS806aで“NO”)、モジュールCPU61の処理は、ステップS808に移行する。   On the other hand, when it is determined in the determination process in step S805 that the SNR is less than the intensity reference value Sth (“YES” in step S805), the module CPU 61 determines that the received code r and the assumed code c (i) are It is determined whether or not they match (step S806a). If it is determined that they do not match (“YES” in step S806a), the processing of the module CPU 61 proceeds to step S807a, and if it is determined that they match (“NO” in step S806a), the module The process of the CPU 61 proceeds to step S808.

即ち、初回のSNRが強度基準値Sth以上の場合には、上記実施形態と同様に受信符号rと想定符号c(i)との一致を検出して加算するのに対し、初回SNRが強度基準値Sth未満の場合には、受信符号rと想定符号c(i)との不一致を検出して加算する。   That is, when the initial SNR is equal to or greater than the intensity reference value Sth, the coincidence between the received code r and the assumed code c (i) is detected and added as in the above embodiment, whereas the initial SNR is the intensity reference value. If it is less than the value Sth, a mismatch between the received code r and the assumed code c (i) is detected and added.

図9及び図10は、変形例の日時情報受信処理で呼び出される信頼性判定処理の制御手順を示すフローチャートである。この信頼性判定処理は、図7で示した信頼性判定処理に対して、ステップS911、S912の処理、ステップS921〜S926の各処理、及びステップS931〜S934の処理が追加され、ステップS905〜S907の処理が削除されている。その他の同一の処理内容については、詳しい説明を省略する。   9 and 10 are flowcharts showing the control procedure of the reliability determination process called in the date / time information reception process of the modification. In the reliability determination process, steps S911 and S912, steps S921 to S926, and steps S931 to S934 are added to the reliability determination process shown in FIG. 7, and steps S905 to S907 are performed. Processing has been removed. Detailed descriptions of other identical processing contents are omitted.

信頼性判定処理が呼び出されると、モジュールCPU61は、初回の符号同定時におけるSNRが強度基準値Sth未満であるか否かを判別する(ステップS911)。強度基準値Sth未満であると判別された場合には(ステップS911で“YES”)、モジュールCPU61の処理は、ステップS931に移行する。   When the reliability determination process is called, the module CPU 61 determines whether or not the SNR at the first code identification is less than the strength reference value Sth (step S911). If it is determined that it is less than the strength reference value Sth (“YES” in step S911), the processing of the module CPU 61 proceeds to step S931.

強度基準値Sth未満ではないと判別された場合には(ステップS911で“NO”)、モジュールCPU61は、カウント数kが300未満であるか否かを判別する(ステップS912)。300未満ではないと判別された場合には(ステップS912で“NO”)、モジュールCPU61の処理は、ステップS921に移行する。   When it is determined that it is not less than the intensity reference value Sth (“NO” in step S911), the module CPU 61 determines whether or not the count number k is less than 300 (step S912). If it is determined that it is not less than 300 (“NO” in step S912), the processing of the module CPU 61 proceeds to step S921.

カウント数kが300未満であると判別された場合には(ステップS912で“YES”)、モジュールCPU61の処理は、ステップS901に移行する。その後、ステップS902の判別処理で“NO”に分岐した場合、及びステップS904の判別処理で“NO”に分岐した場合、モジュールCPU61の処理は、ステップS909に移行する。
なお、本変形例では、ステップS905の処理に係る信頼性NGの加算値Eb(i)及び対応する照合数N(i)がリセットされないので、次回以降の信頼性判定処理におけるステップS901の処理で再度同一の加算値Eb(i)が最大値Ebmaxとして抽出され得る。即ち、正確な位相に対応する加算値Eb(i)は、この最大値Ebmaxの値を超える必要があるので、事実上、基準合致数Ethが初期値(ここでは27)より大きく変更されたのと同等になる。
When it is determined that the count number k is less than 300 (“YES” in step S912), the processing of the module CPU 61 proceeds to step S901. Thereafter, when branching to “NO” in the determination process of step S902 and when branching to “NO” in the determination process of step S904, the process of the module CPU 61 proceeds to step S909.
In the present modification, the reliability NG addition value Eb (i) and the corresponding collation number N (i) related to the processing in step S905 are not reset, so in the processing of step S901 in the reliability determination processing after the next time. The same added value Eb (i) can be extracted again as the maximum value Ebmax. That is, since the added value Eb (i) corresponding to the correct phase needs to exceed the value of the maximum value Ebmax, the reference match number Eth is actually changed to be larger than the initial value (27 in this case). Is equivalent to

ステップS912の判別処理で“NO”に分岐した場合、モジュールCPU61は、図10に示すように、カウント数kを300で除した剰余が「0」であるか否かを判別する(ステップS921)。剰余が「0」ではないと判別された場合には(ステップS921で“NO”)、モジュールCPU61は、信頼性NGとして(ステップS927)、信頼性判定処理を終了し、処理を日時情報受信処理に戻す。   When the determination processing in step S912 branches to “NO”, the module CPU 61 determines whether or not the remainder obtained by dividing the count number k by 300 is “0” as shown in FIG. 10 (step S921). . If it is determined that the remainder is not “0” (“NO” in step S921), the module CPU 61 determines the reliability as NG (step S927), ends the reliability determination process, and performs the date / time information reception process. Return to.

剰余が「0」であると判別された場合(ステップS921で“YES”)、モジュールCPU61は、得られている加算値Eb(i)の中から最大加算値Ebmax及び2番目に大きい次点加算値Ebmax2を抽出する(ステップS922)。また、モジュールCPU61は、これら最大加算値Ebmax及び次点加算値Ebmax2となる加算値Eb(i1)、Eb(i2)に応じた照合数N(i1)、N(i2)を取得する(ステップS923)。   When it is determined that the remainder is “0” (“YES” in step S921), the module CPU 61 adds the maximum addition value Ebmax and the second largest next-point addition from the obtained addition values Eb (i). The value Ebmax2 is extracted (step S922). Further, the module CPU 61 obtains the collation numbers N (i1) and N (i2) corresponding to the addition values Eb (i1) and Eb (i2) that become the maximum addition value Ebmax and the next point addition value Ebmax2 (step S923). ).

モジュールCPU61は、最大加算値Ebmax及び照合数N(i1)に基づいて出現確率P1を算出し、次点加算値Ebmax2及び照合数N(i2)に基づいて出現確率P2を算出する。モジュールCPU61は、これら出現確率P1、P2から危険度Pd=P1/P2を算出する(ステップS924)。それから、モジュールCPU61の処理は、ステップS925に移行する。   The module CPU 61 calculates the appearance probability P1 based on the maximum addition value Ebmax and the collation number N (i1), and calculates the appearance probability P2 based on the next point addition value Ebmax2 and the collation number N (i2). The module CPU 61 calculates the risk Pd = P1 / P2 from the appearance probabilities P1 and P2 (step S924). Then, the process of the module CPU 61 proceeds to step S925.

一方、ステップS911の判別処理で“YES”に分岐した場合、モジュールCPU61は、カウント数kを300で除した剰余が「0」であるか否かを判別する(ステップS931)。剰余が「0」ではないと判別された場合には(ステップS931で“NO”)、モジュールCPU61は、信頼性NGとして(ステップS927)、信頼性判定処理を終了し、処理を日時情報受信処理に戻す。   On the other hand, when branching to “YES” in the determination processing in step S911, the module CPU 61 determines whether or not the remainder obtained by dividing the count number k by 300 is “0” (step S931). When it is determined that the remainder is not “0” (“NO” in step S931), the module CPU 61 ends the reliability determination process as reliability NG (step S927), and the process is the date / time information reception process. Return to.

剰余が「0」であると判別された場合(ステップS931で“YES”)、モジュールCPU61は、得られている加算値Eb(i)の中から最小加算値Ebmin及び2番目に小さい次点加算値Ebmin2を抽出する(ステップS932)。また、モジュールCPU61は、これら最小加算値Ebmin及び次点加算値Ebmin2となる加算値Eb(i1)、Eb(i2)に応じた照合数N(i1)、N(i2)を取得する(ステップS933)。   When it is determined that the remainder is “0” (“YES” in step S931), the module CPU 61 adds the minimum addition value Ebmin and the second smallest next point addition from the obtained addition values Eb (i). The value Ebmin2 is extracted (step S932). Further, the module CPU 61 obtains the collation numbers N (i1) and N (i2) corresponding to the addition values Eb (i1) and Eb (i2) that become the minimum addition value Ebmin and the next point addition value Ebmin2 (step S933). ).

モジュールCPU61は、最小加算値Ebmin及び照合数N(i1)に基づいて出現確率P1を算出し、次点加算値Ebmin2及び照合数N(i2)に基づいて出現確率P2を算出する。モジュールCPU61は、これら出現確率P1、P2から危険度Pd=P1/P2を算出する(ステップS934)。それから、モジュールCPU61の処理は、ステップS925に移行する。   The module CPU 61 calculates the appearance probability P1 based on the minimum addition value Ebmin and the collation number N (i1), and calculates the appearance probability P2 based on the next point addition value Ebmin2 and the collation number N (i2). The module CPU 61 calculates the risk Pd = P1 / P2 from the appearance probabilities P1 and P2 (step S934). Then, the process of the module CPU 61 proceeds to step S925.

ステップS925の処理に移行すると、モジュールCPU61は、危険度Pdの対数log(Pd)が−8以下であるか否かを判別する(ステップS925)。−8以下であると判別された場合には(ステップS925で“YES”)、モジュールCPU61は、信頼性OKとして(ステップS926)、信頼性判定処理を終了し、処理を日時情報受信処理に戻す。−8以下ではないと判別された場合には(ステップS925で“NO”)、モジュールCPU61は、信頼性NGとして(ステップS927)、信頼性判定処理を終了し、処理を日時情報受信処理に戻す。   When the process proceeds to step S925, the module CPU 61 determines whether or not the logarithm log (Pd) of the risk Pd is −8 or less (step S925). If it is determined that the value is −8 or less (“YES” in step S925), the module CPU 61 ends the reliability determination processing as reliability OK (step S926), and returns the processing to the date / time information reception processing. . If it is determined that it is not −8 or less (“NO” in step S925), the module CPU 61 ends the reliability determination process as reliability NG (step S927) and returns the process to the date / time information reception process. .

以上のように、変形例の日時情報受信処理では、同一のずれ量に係る想定符号と受信符号との間での照合回数において、不一致となる符号数が、想定外の符号列部分を誤同定する確率を低く抑えられると判定するための所定の不一致許容条件を満たす場合に当該条件を満たすずれ量を正確な日時に対するずれ量として同定する。従って、電波受信強度が弱かったり、ノイズが大きかったりなどでSNRが低く、全ての受信符号を正確に同定するのが難しい場合であっても電波受信時間を大きく増加させずに効率良く正確な日時情報を取得しやすい。これにより、電力消費の増大を抑えることが出来る。   As described above, in the date / time information reception process of the modified example, the number of codes that do not match in the number of collations between the assumed code and the received code related to the same deviation amount erroneously identifies the unexpected code string portion. When a predetermined mismatch tolerance condition for determining that the probability of performing is low can be suppressed, a deviation amount that satisfies the condition is identified as a deviation amount with respect to an accurate date and time. Therefore, even when it is difficult to accurately identify all received codes due to weak radio wave reception intensity or high noise, it is possible to efficiently and accurately correct the date and time without greatly increasing the radio wave reception time. Easy to get information. Thereby, an increase in power consumption can be suppressed.

また、受信手段としての捕捉追尾部66は、符号の同定開始時といった所定のタイミングで測位衛星からの受信電波のSNRを取得し、モジュールCPU61は、ずれ量検出手段として、SNRに応じてずれ量の信頼性OK判定基準を変更する。これにより、受信状況の良い場合に受信時間を不必要に伸ばしたり、受信状況が悪い場合に無理に厳しい基準で判定を行ったりというような状況を避けて柔軟且つ的確に日時情報を取得することが出来る。   Further, the acquisition tracking unit 66 as a receiving unit acquires the SNR of the received radio wave from the positioning satellite at a predetermined timing such as at the start of code identification, and the module CPU 61 functions as a deviation amount detection unit according to the SNR. Change the reliability OK criterion. This makes it possible to acquire date and time information flexibly and accurately avoiding situations such as unnecessarily extending the reception time when reception conditions are good or forcibly making judgments based on strict standards when reception conditions are bad. I can do it.

また、モジュールCPU61は、ずれ量検出手段として、SNRが所定の基準値以上の場合には、同一のずれ量に係る想定符号と受信符号との間での照合において、の基準合致数Eth以上連続して合致することを信頼性OKの判定条件とし、SNRが当該基準値よりも低い場合には、同一のずれ量に係る想定符号と受信符号との間での照合回数において不一致となる符号数の割合が上述の不一致許容条件を満たすことを信頼性OKの判定条件とする。
従って、受信状況が良い場合には、完全一致の検出で速やかに日時情報を取得することが出来、受信状況があまり良くない場合には、不完全の一致であっても確率的に誤同定の可能性が十分低ければ日時の取得を可能とすることで、適切な判定基準に応じた受信時間や電力消費量での正確な日時情報の取得が可能となる。
Further, the module CPU 61 serves as a deviation amount detecting means, and when the SNR is equal to or greater than a predetermined reference value, in the collation between the assumed code and the received code related to the same deviation amount, the module CPU 61 continuously exceeds the reference number of matches Eth. If the SNR is lower than the reference value, the number of codes that do not match in the number of collations between the assumed code and the received code related to the same deviation amount That the above-mentioned ratio satisfies the disagreement allowance condition is set as a reliability OK determination condition.
Therefore, when the reception situation is good, the date and time information can be obtained quickly by detecting the complete match. When the reception situation is not good, even if it is an incomplete match, the erroneous identification is probabilistic. If the possibility is sufficiently low, the date and time can be acquired, so that accurate date and time information can be acquired with the reception time and power consumption according to an appropriate determination criterion.

また、S/N比(SNR)を用いて完全一致で日時情報を取得するか否かを決定するので、容易且つ適切に各符号の誤同定の発生可能性に応じて適切な日時情報の取得方法を選択するので、上述のように柔軟に適切な電力消費量や受信時間で日時の取得が行われる。   In addition, since it is determined whether or not to acquire date / time information with a perfect match using the S / N ratio (SNR), acquisition of appropriate date / time information according to the possibility of erroneous identification of each code easily and appropriately Since the method is selected, the date and time are acquired flexibly with appropriate power consumption and reception time as described above.

また、モジュールCPU61は、照合手段として、所定の上限照合時間(例えば、1サブフレーム分6秒)以内に信頼性OKとなるための条件を満たすずれ量が検出されなかった場合には、当該所定の合致条件を変更する。
即ち、当初は受信状況が良かったが、途中でビルの陰などで急激に状況が悪くなった又は一時的に状況が悪くなった場合などで、完全一致での検出が適切ではない場合などに、不必要に受信時間を延長して同じ判定条件で判定しようとせずに柔軟に判定条件を変更することで、効率良く正確な日時を取得することが出来る。
Further, the module CPU 61, as the collating means, if no deviation amount that satisfies the condition for reliability OK within a predetermined upper limit collating time (for example, 6 seconds per subframe) is not detected. Change the mating condition.
In other words, when the reception situation was good at the beginning, but the situation suddenly deteriorated due to the shadow of the building, etc. And, by extending the reception time unnecessarily and flexibly changing the determination condition without trying to make the determination under the same determination condition, it is possible to acquire the accurate date and time efficiently.

また、計時回路46の計数する日時に対する最大ずれ幅内のずれ量ごとに所定回数(ここでは、サブフレーム1周期分300ビット中に含まれる想定符号の数と同一回数)ずつ実施された照合において、最も小さい不一致符号数の出現確率P1が、二番目に小さい不一致符号数の出現確率P2に比して所定の割合以下となる、即ち、危険度Pd=P1/P2が所定の基準値Pm以下の場合に、想定外の符号列を誤同定する確率を低く抑えられると判定するための上記不一致許容条件を満たして信頼性OKであると判定する。
従って、誤同定を生じやすい受信符号列が実際に存在する場合でも、当該誤同定を生じやすい受信符号列と正しい受信符号列との混同を確実に避けて、正確な日時情報を取得することが出来る。
Further, in the collation performed by a predetermined number of times (here, the same number as the number of assumed codes included in 300 bits for one subframe period) for each deviation amount within the maximum deviation width with respect to the date and time counted by the clock circuit 46. The appearance probability P1 of the smallest number of mismatched codes is less than a predetermined ratio compared to the appearance probability P2 of the second smallest number of mismatched codes, that is, the risk Pd = P1 / P2 is less than or equal to a predetermined reference value Pm. In this case, it is determined that the reliability is OK by satisfying the above-described mismatch mismatch condition for determining that the probability of erroneously identifying an unexpected code string can be suppressed low.
Therefore, even when a reception code string that is likely to cause misidentification actually exists, it is possible to reliably avoid confusion between the reception code string that is likely to cause misidentification and a correct reception code string, and to obtain accurate date and time information. I can do it.

また、出現確率P1、P2は、全ての符号において二値がそれぞれ1/2の確率で出現するものとして求められるので、計算を複雑化して処理負荷を上げたり処理時間を余計に必要とさせたりせず、簡便な処理で容易且つ概ね正確に誤同定の可能性を見積もりながら正確な日時情報を取得することが出来る。   Further, since the appearance probabilities P1 and P2 are obtained as binary values appearing with a probability of 1/2 in all codes, the calculation is complicated to increase the processing load or to require extra processing time. Therefore, accurate date and time information can be obtained by estimating the possibility of erroneous identification easily and almost accurately by a simple process.

また、上述の不一致となる符号数の数に基づく信頼性判定は、GPS衛星の航法メッセージに従ってサブフレームの送信周期である6秒ごとに行われるので、受信を開始したタイミングによらず、各ずれ量で照合数を揃えて適切に信頼性の判定を行うことが出来る。   In addition, since the reliability determination based on the number of codes that are inconsistent as described above is performed every 6 seconds, which is the subframe transmission period, according to the navigation message of the GPS satellite, It is possible to appropriately determine reliability by aligning the number of verifications by quantity.

なお、本発明は、上記実施の形態に限られるものではなく、様々な変更が可能である。
例えば、上記実施の形態では、何れかのタイミングで信頼性OKが出るまで現在日時から最大ずれ幅の範囲内で全て照合を行わせることとしたが、不一致数と一致数がほぼ等しい場合など、明らかに異なるずれ量のものについては、中途で照合を中止させても良い。
The present invention is not limited to the above-described embodiment, and various modifications can be made.
For example, in the above embodiment, all collations are performed within the range of the maximum deviation from the current date and time until reliability OK is obtained at any timing, but when the number of mismatches and the number of matches are approximately equal, If the amount of deviation is clearly different, the collation may be stopped midway.

また、上記実施の形態では、1つの符号が同定されるごとに当該符号との照合が行われたが、これに限られない。例えば、基準合致数Eth程度の符号が同定されてからまとめて照合が行われても良く、また、その後所定の複数の符号が同定されてから当該複数の符号に対してまとめて照合が行われても良い。   In the above-described embodiment, each time one code is identified, the code is compared with the code. However, the present invention is not limited to this. For example, collation may be performed collectively after a code having the number of reference matches Eth is identified, or after a plurality of predetermined codes are identified, the plurality of codes are collectively collated. May be.

また、上記実施の形態では、最大ずれ幅を計数されている日時に対して前後均等に定めたが、ずれに方向がある場合には、当該ずれを考慮して最大ずれ幅を定めても良い。また、単純に直近の日時修正からの経過時間からだけではなく、温度条件などに応じて最大ずれ幅を見積もっても良い。或いは、反対に、前回の受信から6日以内であれば一律に±3秒の最大ずれ幅を設定するというようなより単純な処理を行っても良い。   In the above-described embodiment, the maximum deviation width is set to be uniform before and after the date and time when the deviation is counted. However, when the deviation has a direction, the maximum deviation width may be determined in consideration of the deviation. . Further, the maximum deviation width may be estimated not only from the elapsed time since the most recent date correction but also according to the temperature condition and the like. Or, on the contrary, if it is within 6 days from the previous reception, a simpler process of uniformly setting the maximum deviation width of ± 3 seconds may be performed.

また、上記実施の形態では、モジュールCPU61の処理により照合数N(i)及び合致数E(i)の計数を行ったが、照合数N(i)及び合致数E(i)の計数に論理回路を用いることも出来る。   In the above embodiment, the number of verifications N (i) and the number of matches E (i) are counted by the processing of the module CPU 61. However, the number of verifications N (i) and the number of matches E (i) are logically counted. A circuit can also be used.

また、上記実施の形態において、完全一致の場合のみ信頼性OKとする場合、変形例と同様に、図7のステップS905の処理を省略しても良い。或いは、合致数E(i)は、連続して想定符号列と合致した場合のみ加算されて、一つでも受信符号rと照合符号とが合致しなかった場合には、その時点で合致数E(i)を「0」に戻すこととしても良い。これにより、照合数N(i)を計数、保持しなくて良いことになる。   Further, in the above embodiment, when the reliability is OK only in the case of complete coincidence, the processing in step S905 in FIG. 7 may be omitted as in the modification. Alternatively, the match number E (i) is added only when the expected code string is continuously matched, and if even one received code r does not match the verification code, the match number E at that time (I) may be returned to “0”. This eliminates the need to count and hold the collation number N (i).

また、上記実施の形態では、1サブフレーム分の300符号が照合されても信頼性OKとなる配列番号iが得られない場合に、リセットさせたり完全一致による判断から誤同定を含む信頼性判断に移行させたりしたが、1サブフレーム分に限られない。例えば、全ての配列番号iに対して照合数N(i)が所定の数、例えば、基準合致数Eth以上となった時点で信頼性判定方法を変更させても良い。   Further, in the above embodiment, when the sequence number i that is OK in reliability cannot be obtained even if 300 codes for one subframe are collated, the reliability determination including misidentification from the determination based on the reset or complete match However, it is not limited to one subframe. For example, the reliability determination method may be changed when the collation number N (i) becomes a predetermined number, for example, the reference match number Eth or more for all the array element numbers i.

また、信頼性判定の選択条件に用いられるS/N比に代えて、信号指標値として受信強度自体など、他のものが用いられても良い。   Further, instead of the S / N ratio used as the selection condition for reliability determination, other signal intensity values such as reception intensity itself may be used.

或いは、信頼性判定方法の選択や切替タイミングの設定は、ユーザの操作部49への入力操作などにより手動でなされても良い。また、想定符号列内に確実に一致するとは断定出来ない符号、例えば、直近に受信されてテレメトリメッセージなどを含む場合には、完全一致とせずに初めから誤同定を含む信頼性判断を行っても良い。また、この場合、誤同定されてはならない箇所を定めた条件を追加しても良い。   Alternatively, the selection of the reliability determination method and the setting of the switching timing may be manually performed by an input operation to the operation unit 49 by the user. In addition, when a code that cannot be determined to be surely matched within the assumed code string, for example, when a telemetry message is received most recently, a reliability judgment including misidentification is made from the beginning without a complete match. Also good. In this case, a condition that defines a portion that should not be erroneously identified may be added.

また、上記実施の形態では、前回衛星電波受信手段による日時修正からの経過時間に基いて最大ずれ幅を見積もったが、他の修正方法、例えば、長波長帯の標準電波による日時修正が併用可能な場合には、当該日時修正も含めた直近の日時修正からの経過時間に基づいて見積もることが出来る。   In the above embodiment, the maximum deviation is estimated based on the elapsed time since the date correction by the satellite radio wave reception means last time. However, other correction methods, for example, the date correction using the standard radio wave in the long wavelength band can be used together. In this case, it is possible to estimate based on the elapsed time since the most recent date / time correction including the date / time correction.

また、変形例の信頼性判定処理では、最大合致数や最小不一致数を用いた信頼性の判定をサブフレーム周期ごとに行うこととしたが、各ずれ量のいずれにおいても必要な数の照合数N(i)に達した場合には、サブフレーム一周期分のデータが取得される前に信頼性判別を行っても良い。この場合、照合数N(i)が全てのずれ量に対して同一でなくても良い。   Further, in the reliability determination process of the modified example, the reliability determination using the maximum number of matches or the minimum number of mismatches is performed for each subframe period. When N (i) is reached, reliability determination may be performed before data for one subframe period is acquired. In this case, the collation number N (i) may not be the same for all deviation amounts.

また、上記実施の形態では、GPS衛星からの受信電波を例に挙げて説明したが、その他の測位衛星、例えば、GLONASSやGalileoからの受信電波を利用しても良い。   In the above embodiment, the received radio wave from the GPS satellite has been described as an example, but the received radio wave from other positioning satellites such as GLONASS and Galileo may be used.

また、上記実施の形態では、日時情報受信処理においてステップS201〜S203の処理が終了し次第GPS衛星からの電波受信を開始させたが、最大ずれ幅内に想定可能な符号の無い期間にステップS206の処理へ移行することが見込まれる場合には、ステップS204の処理の開始タイミングを調整するなどしても良い。   In the above embodiment, the reception of radio waves from the GPS satellite is started as soon as the processing of steps S201 to S203 is completed in the date and time information reception processing. If it is expected to shift to the process, the start timing of the process in step S204 may be adjusted.

また、上記実施の形態では、衛星電波受信処理部60のモジュールCPU61が計時回路46の計数する日時に基づいて衛星電波の受信及び日時の情報取得に係る動作制御を行ったが、これに限られない。これらの動作制御のうち一部又は全部をホストCPU41が行っても良い。また、衛星電波受信処理部60が別個に計時回路やRTC(Real Time Clock)などを有していても良い。   In the above embodiment, the module CPU 61 of the satellite radio wave reception processing unit 60 performs the operation control related to the reception of the satellite radio wave and the acquisition of the date information based on the date and time counted by the clock circuit 46. However, the present invention is not limited to this. Absent. Some or all of these operation controls may be performed by the host CPU 41. Further, the satellite radio wave reception processing unit 60 may separately have a time measuring circuit, an RTC (Real Time Clock), and the like.

また、上記実施の形態では、各符号の偶然出現確率を1/2としたが、これに限られない。符号の想定位置や、直近の受信状況などに応じて変更されても良い。   Further, in the above embodiment, the chance of appearance of each code is halved, but the present invention is not limited to this. It may be changed according to the assumed position of the code, the latest reception status, and the like.

また、本実施形態の衛星電波受信装置は、専用の電子時計に用いられるものに限られない。各種用途の電子機器に用いられても良い。   In addition, the satellite radio wave receiver of the present embodiment is not limited to that used for a dedicated electronic timepiece. You may use for the electronic device of various uses.

また、以上の説明では、本発明に係るモジュールCPU61の処理動作に係る日時情報受信処理などの動作処理プログラムのコンピュータ読み取り可能な媒体として不揮発性メモリからなる記憶部63を例に挙げて説明したが、これに限定されない。その他のコンピュータ読み取り可能な媒体として、HDD(Hard Disk Drive)や、CD−ROMやDVDディスクなどの可搬型記録媒体を適用することが可能である。また、本発明に係るプログラムのデータを通信回線を介して提供する媒体として、キャリアウェーブ(搬送波)も本発明に適用される。
その他、上記実施の形態で示した具体的な構成、動作の内容や手順などは、本発明の趣旨を逸脱しない範囲において適宜変更可能である。
In the above description, the storage unit 63 formed of a nonvolatile memory has been described as an example of a computer-readable medium for an operation processing program such as date / time information reception processing related to the processing operation of the module CPU 61 according to the present invention. However, the present invention is not limited to this. As other computer-readable media, a portable recording medium such as an HDD (Hard Disk Drive), a CD-ROM, or a DVD disk can be applied. A carrier wave is also applied to the present invention as a medium for providing program data according to the present invention via a communication line.
In addition, the specific configuration, operation content, procedure, and the like shown in 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, and 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>
衛星からの電波を受信して復調した信号の各受信符号を同定する受信手段と、
前記受信符号の受信タイミングとして取得された現在日時に対して設定される最大ずれ幅内での受信が想定される想定符号と、前記同定された受信符号とを照合し、照合結果に係る情報を前記現在日時からのずれ量と対応付けて取得する照合手段と、
複数の前記受信符号に対する前記照合結果が所定の合致条件を満たす前記ずれ量を検出するずれ量検出手段と、
検出された前記所定の合致条件を満たすずれ量に基づいて日時情報を取得する日時取得手段と、
を備えることを特徴とする衛星電波受信装置。
<請求項2>
前記最大ずれ幅内の想定符号を含む想定符号列と、当該想定符号列内において前記想定符号と想定されなかった符号とを識別する識別情報とを生成する想定符号列生成手段を備え、
前記照合手段は、前記識別情報に基づいて前記想定符号と受信符号とを照合する
ことを特徴とする請求項1記載の衛星電波受信装置。
<請求項3>
前記照合手段は、前記受信手段により一の受信符号が新たに同定されるごとに、前記一の受信符号の受信日時に対する前記最大ずれ幅内の前記想定符号と、当該一の受信符号とを照合することを特徴とする請求項1又は2記載の衛星電波受信装置。
<請求項4>
前記現在日時を計数する計時手段の当該現在日時が直近に修正されてからの経過時間に基づいて前記最大ずれ幅を設定する最大ずれ幅設定手段を備えることを特徴とする請求項1〜3の何れか一項に記載の衛星電波受信装置。
<請求項5>
前記所定の合致条件は、同一のずれ量に係る想定符号と前記受信符号との間での照合回数に対する不一致符号数が所定の不一致許容条件を満たすこととされることを特徴とする請求項1〜4の何れか一項に記載の衛星電波受信装置。
<請求項6>
前記所定の合致条件は、同一のずれ量に係る想定符号と前記受信符号との間での照合において、所定の基準照合回数以上連続して合致することであることを特徴とする請求項1〜4の何れか一項に記載の衛星電波受信装置。
<請求項7>
前記所定の基準照合回数は、当該基準照合回数連続して前記想定符号と合致する符号が出現する合致確率が、予め定められた基準値未満となるように定められることを特徴とする請求項6記載の衛星電波受信装置。
<請求項8>
前記合致確率は、一回の照合当たり1/2であるとして求められることを特徴とする請求項7記載の衛星電波受信装置。
<請求項9>
前記受信手段は、所定のタイミングで前記衛星からの電波の受信強度に係る信号指標値を取得し、
前記ずれ量検出手段は、当該信号指標値に応じて前記所定の合致条件を変更することを特徴とする請求項1〜8の何れか一項に記載の衛星電波受信装置。
<請求項10>
前記ずれ量検出手段は、前記信号指標値が所定の強度基準値以上に良好な値の場合には、同一のずれ量に係る想定符号と前記受信符号との間での照合において、所定の基準照合回数以上連続して合致することを前記所定の合致条件とし、
前記信号指標値が前記所定の強度基準値よりも良好ではない値の場合には、同一のずれ量に係る想定符号と前記受信符号との間での照合回数に対する不一致符号数が所定の不一致許容条件を満たすことを前記所定の条件とする
ことを特徴とする請求項9記載の衛星電波受信装置。
<請求項11>
前記信号指標値は、S/N比であることを特徴とする請求項9又は10記載の衛星電波受信装置。
<請求項12>
前記照合手段は、所定の上限照合時間以内に前記所定の合致条件を満たすずれ量が検出されなかった場合には、当該所定の合致条件を変更することを特徴とする請求項1〜11の何れか一項に記載の衛星電波受信装置。
<請求項13>
前記所定の不一致許容条件は、前記最大ずれ幅内の前記ずれ量ごとに所定回数ずつ実施された照合において、最も小さい不一致符号数の出現確率が、二番目に小さい不一致符号数の出現確率に比して所定の割合以下となることであることを特徴とする請求項5又は10記載の衛星電波受信装置。
<請求項14>
前記出現確率は、全ての符号において二値がそれぞれ1/2の確率で出現するものとして求められることを特徴とする請求項13記載の衛星電波受信装置。
<請求項15>
前記所定の不一致許容条件を満たすか否かの判別は、前記衛星に応じた信号送信フォーマットに従って送信される符号列に係る所定の送信周期ごとに行われることを特徴とする請求項5、10、13、14の何れか一項に記載の衛星電波受信装置。
<請求項16>
請求項1〜15の何れか一項に記載の衛星電波受信装置と、
現在日時を計数する計時手段と、
前記日時取得手段により取得された日時により前記計時手段の計数する日時を修正する日時修正手段と、
前記計時手段により計数された日時を表示する表示手段と、
を備えることを特徴とする電子時計。
<請求項17>
衛星からの電波を受信して復調した信号の各受信符号を同定する受信手段を備える衛星電波受信装置の日時情報取得方法であって、
前記受信符号の受信タイミングとして取得された現在日時に対して見積もられる最大ずれ幅内での受信が想定される想定符号と、前記同定された受信符号とを照合し、照合結果に係る情報を前記現在日時からのずれ量と対応付けて取得する照合ステップ、
複数の前記受信符号に対する前記照合結果が所定の合致条件を満たす前記ずれ量を検出するずれ量検出ステップ、 検出された前記ずれ量に基づいて日時情報を取得する日時取得ステップ、
を含むことを特徴とする日時情報取得方法。
<請求項18>
衛星からの電波を受信して復調した信号の各受信符号を同定する受信手段を備える衛星電波受信装置のコンピュータを、
前記受信符号の受信タイミングとして取得された現在日時に対して見積もられる最大ずれ幅内での受信が想定される想定符号と、前記同定された受信符号とを照合し、照合結果に係る情報を前記現在日時からのずれ量と対応付けて取得する照合手段、
複数の前記受信符号に対する前記照合結果が所定の合致条件を満たす前記ずれ量を検出するずれ量検出手段、
検出された前記ずれ量に基づいて日時情報を取得する日時取得手段、
として機能させることを特徴とするプログラム。
[Appendix]
<Claim 1>
Receiving means for identifying each received code of a signal demodulated by receiving radio waves from a satellite;
The expected code expected to be received within the maximum deviation width set for the current date and time acquired as the reception timing of the received code is collated with the identified received code, and information on the collation result is obtained. Collating means for acquiring in association with the amount of deviation from the current date and time;
A deviation amount detecting means for detecting the deviation amount in which the collation results for a plurality of the received codes satisfy a predetermined matching condition;
Date and time acquisition means for acquiring date and time information based on the detected deviation amount satisfying the predetermined match condition;
A satellite radio wave receiving apparatus comprising:
<Claim 2>
An assumed code string generation means for generating an assumed code string including the assumed code within the maximum deviation width and identification information for identifying the code that was not assumed to be the assumed code in the assumed code string;
The satellite radio wave receiving apparatus according to claim 1, wherein the collating unit collates the assumed code with the received code based on the identification information.
<Claim 3>
The collation unit collates the assumed code within the maximum deviation width with respect to the reception date and time of the one reception code and the one reception code each time a reception code is newly identified by the reception unit. The satellite radio wave receiving apparatus according to claim 1 or 2, characterized in that:
<Claim 4>
4. The maximum deviation width setting means for setting the maximum deviation width based on an elapsed time since the current date and time of the timing means for counting the current date and time is most recently corrected. The satellite radio wave receiver according to any one of the above.
<Claim 5>
2. The predetermined matching condition is characterized in that the number of mismatch codes with respect to the number of collations between the assumed code and the received code related to the same deviation amount satisfies a predetermined mismatch tolerance condition. The satellite radio wave receiver according to any one of -4.
<Claim 6>
The predetermined matching condition is that matching is performed continuously for a predetermined reference number of times or more in matching between an assumed code related to the same deviation amount and the received code. 5. The satellite radio wave receiver according to any one of 4 above.
<Claim 7>
7. The predetermined reference collation number is determined such that a match probability that a code that matches the assumed code appears continuously is less than a predetermined reference value. The satellite radio wave receiver described.
<Claim 8>
The satellite radio wave receiver according to claim 7, wherein the match probability is obtained as ½ per collation.
<Claim 9>
The receiving means acquires a signal index value related to the reception intensity of radio waves from the satellite at a predetermined timing,
The satellite radio wave receiver according to any one of claims 1 to 8, wherein the deviation amount detection means changes the predetermined matching condition according to the signal index value.
<Claim 10>
When the signal index value is a value better than a predetermined intensity reference value, the deviation amount detection means is configured to use a predetermined reference in collation between the assumed code related to the same deviation amount and the received code. The predetermined match condition is to match continuously more than the number of verifications,
When the signal index value is a value that is not better than the predetermined strength reference value, the number of mismatch codes with respect to the number of collations between the assumed code and the received code for the same deviation amount is a predetermined mismatch tolerance. The satellite radio wave receiver according to claim 9, wherein satisfying a condition is the predetermined condition.
<Claim 11>
11. The satellite radio wave receiving apparatus according to claim 9, wherein the signal index value is an S / N ratio.
<Claim 12>
12. The matching unit according to claim 1, wherein the matching unit changes the predetermined matching condition when a deviation amount that satisfies the predetermined matching condition is not detected within a predetermined upper limit matching time. A satellite radio wave receiver according to claim 1.
<Claim 13>
The predetermined mismatch mismatch condition is that the occurrence probability of the smallest mismatch code number is compared with the appearance probability of the second smallest mismatch code number in the collation performed a predetermined number of times for each shift amount within the maximum shift width. The satellite radio wave receiving apparatus according to claim 5 or 10, wherein the satellite radio wave receiving apparatus has a predetermined ratio or less.
<Claim 14>
14. The satellite radio wave receiving apparatus according to claim 13, wherein the appearance probability is obtained by assuming that the binary appears with a probability of 1/2 in all codes.
<Claim 15>
The determination as to whether or not the predetermined mismatch tolerance condition is satisfied is performed for each predetermined transmission cycle related to a code string transmitted in accordance with a signal transmission format corresponding to the satellite. The satellite radio wave receiver according to any one of 13 and 14.
<Claim 16>
The satellite radio wave receiver according to any one of claims 1 to 15,
A time counting means for counting the current date and time;
A date and time correction means for correcting the date and time counted by the timing means by the date and time acquired by the date and time acquisition means;
Display means for displaying the date and time counted by the time measuring means;
An electronic timepiece characterized by comprising:
<Claim 17>
A date and time information acquisition method of a satellite radio wave receiving device comprising a receiving means for identifying each received code of a signal demodulated by receiving radio waves from a satellite,
The expected code expected to be received within the maximum deviation estimated with respect to the current date and time acquired as the reception timing of the received code is collated with the identified received code, and information related to the collation result is A collation step to be acquired in association with the amount of deviation from the current date and time,
A deviation amount detecting step for detecting the deviation amount in which the collation results for a plurality of the received codes satisfy a predetermined matching condition; a date and time obtaining step for obtaining date and time information based on the detected deviation amount;
The date and time information acquisition method characterized by including.
<Claim 18>
A computer of a satellite radio wave receiving device comprising a receiving means for identifying each received code of a signal demodulated by receiving radio waves from a satellite,
The expected code expected to be received within the maximum deviation estimated with respect to the current date and time acquired as the reception timing of the received code is collated with the identified received code, and information related to the collation result is Collation means to obtain in association with the amount of deviation from the current date and time,
A deviation amount detecting means for detecting the deviation amount in which the collation result for a plurality of the received codes satisfies a predetermined matching condition;
Date and time acquisition means for acquiring date and time information based on the detected deviation amount;
A program characterized by functioning as

1 電子時計
41 ホストCPU
42 ROM
43 RAM
44 発振回路
45 分周回路
46 計時回路
47 表示部
48 表示ドライバ
49 操作部
50 電源部
60 衛星電波受信処理部
61 モジュールCPU
62 メモリ
63 記憶部
64 RF部
65 ベースバンド変換部
66 捕捉追尾部
421 プログラム
631 プログラム
AN アンテナ
1 Electronic clock 41 Host CPU
42 ROM
43 RAM
44 Oscillator 45 Divider 46 Clock circuit 47 Display unit 48 Display driver 49 Operation unit 50 Power supply unit 60 Satellite radio wave reception processing unit 61 Module CPU
62 memory 63 storage unit 64 RF unit 65 baseband conversion unit 66 acquisition tracking unit 421 program 631 program AN antenna

Claims (9)

衛星からの電波を受信して航法メッセージの情報に係る受信符号を同定する受信部と、
制御部と、を備え、
前記制御部は、
前記受信符号の受信タイミングで受信が想定される想定符号と、前記同定された受信符号とを照合し、
前記受信部が同定した前記受信符号に係る信号品質を取得し、この取得した前記信号品質が所定の基準値以上であるか否かを判別し、前記信号品質が前記所定の基準値以上の場合には、前記航法メッセージの前記情報に係る前記受信符号に対する前記照合した結果が第1の合致条件を満たす前記想定符号が示す日時に基づいて日時情報を取得し、前記信号品質が前記所定の基準値未満の場合には、前記航法メッセージの前記情報に係る前記受信符号に対する前記照合した結果が第2の合致条件を満たす前記想定符号が示す日時に基づいて日時情報を取得する
ことを特徴とする衛星電波受信装置。
A receiving unit that receives radio waves from a satellite and identifies a received code related to navigation message information;
A control unit,
The controller is
Matching the assumed code expected to be received at the reception timing of the received code with the identified received code,
When the signal quality related to the received code identified by the receiving unit is acquired, it is determined whether or not the acquired signal quality is equal to or higher than a predetermined reference value, and the signal quality is equal to or higher than the predetermined reference value , said navigation result of the verification with respect to the reception code according to the information of the message is based on the date and time indicated by the first match satisfies the assumed code acquires date and time information, the signal quality is above a predetermined reference If the value is less than the value, the date and time information is acquired based on the date and time indicated by the assumed code that satisfies the second matching condition for the received code related to the received code related to the information in the navigation message. Satellite radio wave receiver.
前記想定符号は、前記受信符号の前記受信タイミングとして取得された現在日時に対して設定される最大ずれ幅内で受信が想定される符号であることを特徴とする請求項1に記載の衛星電波受信装置。   The satellite radio wave according to claim 1, wherein the assumed code is a code that is assumed to be received within a maximum deviation width set with respect to a current date and time acquired as the reception timing of the received code. Receiver device. 前記制御部は、前記照合した結果を、前記最大ずれ幅内のずれ量と対応付けて取得することを特徴とする請求項2に記載の衛星電波受信装置。   The satellite radio wave receiving apparatus according to claim 2, wherein the control unit acquires the collated result in association with a deviation amount within the maximum deviation width. 前記制御部は、前記照合した結果に基づいて、前記受信符号と前記想定符号とが所定の合致条件を満たす前記ずれ量の前記想定符号を特定し、前記特定した前記想定符号が示す日時に基づいて前記日時情報を取得することを特徴とする請求項3に記載の衛星電波受信装置。   The control unit identifies the assumed code of the shift amount that satisfies a predetermined match condition between the received code and the assumed code based on the collation result, and based on the date and time indicated by the identified assumed code 4. The satellite radio wave receiving apparatus according to claim 3, wherein the date and time information is acquired. 前記制御部は、前記現在日時を計数する計時手段の当該現在日時が直近に修正されてからの経過時間に基づいて前記最大ずれ幅を設定することを特徴とする請求項2〜4の何れか一項に記載の衛星電波受信装置。   5. The control unit according to claim 2, wherein the controller sets the maximum deviation width based on an elapsed time since the current date and time of the time counting unit that counts the current date and time is most recently corrected. The satellite radio wave receiver according to one item. 前記制御部は、前記現在日時を計数する計時手段の当該現在日時が直近に修正されてからの温度条件に基づいて前記最大ずれ幅を設定することを特徴とする請求項2〜4の何れか一項に記載の衛星電波受信装置。   5. The control unit according to claim 2, wherein the control unit sets the maximum deviation width based on a temperature condition after the current date and time of the time counting unit that counts the current date and time is most recently corrected. The satellite radio wave receiver according to one item. 請求項1〜6の何れか一項に記載の衛星電波受信装置と、
現在日時を計数する計時手段と、
前記制御部により取得された日時により前記計時手段の計数する日時を修正する日時修正手段と、
前記計時手段により計数された日時を表示する表示手段と、
を備えることを特徴とする電子時計。
The satellite radio wave receiver according to any one of claims 1 to 6,
A time counting means for counting the current date and time;
Date and time correcting means for correcting the date and time counted by the time measuring means according to the date and time acquired by the control unit;
Display means for displaying the date and time counted by the time measuring means;
An electronic timepiece characterized by comprising:
衛星からの電波を受信して航法メッセージの情報に係る各受信符号を同定する受信部を備える衛星電波受信装置の日時情報取得方法であって、
前記受信符号の受信タイミングで受信が想定される想定符号と、前記同定された受信符号とを照合する照合ステップ、
前記受信部が同定した前記受信符号に係る信号品質を取得する信号品質取得ステップし、
前記信号品質取得ステップで取得した前記信号品質が所定の基準値以上であるか否かを判別する判別ステップ、
前記判別ステップで前記信号品質が前記所定の基準値以上であると判別された場合には、前記航法メッセージの前記情報に係る前記受信符号に対する前記照合した結果が第1の合致条件を満たす前記想定符号が示す日時に基づいて日時情報を取得し、前記判別ステップで前記信号品質が前記所定の基準値未満であると判別された場合には、前記航法メッセージの前記情報に係る前記受信符号に対する前記照合した結果が第2の合致条件を満たす前記想定符号が示す日時に基づいて日時情報を取得する日時取得ステップ、
を含むことを特徴とする日時情報取得方法。
A date and time information acquisition method for a satellite radio wave receiving device including a receiver that receives radio waves from a satellite and identifies each received code related to navigation message information,
A collation step of collating the assumed code expected to be received at the reception timing of the received code with the identified received code;
A signal quality acquisition step of acquiring a signal quality related to the received code identified by the receiver;
A determining step for determining whether or not the signal quality acquired in the signal quality acquiring step is equal to or higher than a predetermined reference value;
When it is determined in the determination step that the signal quality is equal to or higher than the predetermined reference value, the comparison result for the received code related to the information of the navigation message satisfies the assumption that the first matching condition is satisfied. Date and time information is obtained based on the date and time indicated by the code, and when the signal quality is determined to be less than the predetermined reference value in the determining step, the received code related to the received code related to the information of the navigation message A date and time acquisition step of acquiring date and time information based on the date and time indicated by the assumed code that the matching result satisfies the second matching condition ;
The date and time information acquisition method characterized by including.
衛星からの電波を受信して航法メッセージの情報に係る受信符号を同定する受信部を備える衛星電波受信装置のコンピュータを、
前記受信符号の受信タイミングで受信が想定される想定符号と、前記同定された受信符号とを照合する照合手段、
前記受信部が同定した前記受信符号に係る信号品質を取得する信号品質取得手段、
前記信号品質取得手段で取得した前記信号品質が所定の基準値以上であるか否かを判別する判別手段、
前記判別手段で前記信号品質が前記所定の基準値以上であると判別された場合には、前記航法メッセージの前記情報に係る前記受信符号に対する前記照合した結果が第1の合致条件を満たす前記想定符号が示す日時に基づいて日時情報を取得し、前記判別手段で前記信号品質が前記所定の基準値未満であると判別された場合には、前記航法メッセージの前記情報に係る前記受信符号に対する前記照合した結果が第2の合致条件を満たす前記想定符号が示す日時に基づいて日時情報を取得する日時取得手段、
として機能させることを特徴とするプログラム。
A satellite radio wave reception device computer including a reception unit that receives radio waves from a satellite and identifies a reception code related to navigation message information,
Collating means for collating the assumed code expected to be received at the reception timing of the received code with the identified received code;
Signal quality acquisition means for acquiring signal quality related to the received code identified by the receiver;
Discriminating means for discriminating whether or not the signal quality acquired by the signal quality acquiring means is equal to or higher than a predetermined reference value;
When it is determined by the determining means that the signal quality is equal to or higher than the predetermined reference value, the comparison result for the received code related to the information of the navigation message satisfies the assumption that the first matching condition is satisfied. Date and time information is acquired based on the date and time indicated by the code, and when the signal quality is determined to be less than the predetermined reference value by the determining means, the received code related to the received code related to the information of the navigation message A date and time acquisition means for acquiring date and time information based on the date and time indicated by the assumed code whose collation result satisfies the second matching condition ;
A program characterized by functioning as
JP2017055289A 2017-03-22 2017-03-22 Satellite radio wave receiver, electronic clock, date and time information acquisition method and program Active JP6428816B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017055289A JP6428816B2 (en) 2017-03-22 2017-03-22 Satellite radio wave receiver, electronic clock, date and time information acquisition method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017055289A JP6428816B2 (en) 2017-03-22 2017-03-22 Satellite radio wave receiver, electronic clock, date and time information acquisition method and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2015122656A Division JP6115589B2 (en) 2015-06-18 2015-06-18 Satellite radio wave receiver, electronic clock, date and time information acquisition method and program

Publications (2)

Publication Number Publication Date
JP2017142254A JP2017142254A (en) 2017-08-17
JP6428816B2 true JP6428816B2 (en) 2018-11-28

Family

ID=59628932

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017055289A Active JP6428816B2 (en) 2017-03-22 2017-03-22 Satellite radio wave receiver, electronic clock, date and time information acquisition method and program

Country Status (1)

Country Link
JP (1) JP6428816B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7020204B2 (en) * 2018-03-14 2022-02-16 カシオ計算機株式会社 Satellite radio receiver, electronic clock and date / time acquisition method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1165694A (en) * 1997-08-15 1999-03-09 Nec Corp System for correcting software clock
JP5378258B2 (en) * 2010-02-09 2013-12-25 シチズンホールディングス株式会社 GPS watch

Also Published As

Publication number Publication date
JP2017142254A (en) 2017-08-17

Similar Documents

Publication Publication Date Title
JP6115589B2 (en) Satellite radio wave receiver, electronic clock, date and time information acquisition method and program
JP6679844B2 (en) Radio clock, date and time information acquisition method and program
JP6327183B2 (en) Radio wave receiver, radio wave clock, signal acquisition method and program
JP6115591B2 (en) Satellite radio wave receiver, electronic clock, date acquisition method and program
CN106918824B (en) Satellite radio wave receiving device, radio wave watch, and code signal acquisition method
JP6508096B2 (en) Satellite radio wave receiver, radio wave clock, date and time information output method, and program
US9746835B2 (en) Radio-controlled timepiece, method of obtaining date/time information, and recording medium
US10261190B2 (en) Satellite radio wave receiving device, electronic timepiece, positioning control method, and storage medium
JP6428816B2 (en) Satellite radio wave receiver, electronic clock, date and time information acquisition method and program
JP6206479B2 (en) Satellite radio wave receiver, radio clock, information acquisition method and program
US10915071B2 (en) Electronic timepiece, device, method and computer-readable storage device storing instructions for controlling method for obtaining date/time information
JP6610010B2 (en) Radio clock, date / time information acquisition method and program
US9766598B2 (en) Radio-controlled timepiece, method of obtaining date/time information, and recording medium
JP6702246B2 (en) Satellite radio receiver, electronic clock, date and time acquisition method and program
JP7020204B2 (en) Satellite radio receiver, electronic clock and date / time acquisition method
JP2018010004A (en) Satellite radio wave receiving device, radio controlled clock, information acquisition method, and program
JP6953860B2 (en) Electronic clock, date and time information acquisition method and program
JP6493574B2 (en) Radio wave receiver, radio wave clock, signal acquisition method and program
JP6686992B2 (en) Satellite radio receiver, radio clock, code signal acquisition method and program

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170519

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170519

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180307

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180403

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180530

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181015

R150 Certificate of patent or registration of utility model

Ref document number: 6428816

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150