JP5012947B2 - Time information acquisition device and radio clock - Google Patents

Time information acquisition device and radio clock Download PDF

Info

Publication number
JP5012947B2
JP5012947B2 JP2010095021A JP2010095021A JP5012947B2 JP 5012947 B2 JP5012947 B2 JP 5012947B2 JP 2010095021 A JP2010095021 A JP 2010095021A JP 2010095021 A JP2010095021 A JP 2010095021A JP 5012947 B2 JP5012947 B2 JP 5012947B2
Authority
JP
Japan
Prior art keywords
time
waveform data
data pattern
value
errors
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
JP2010095021A
Other languages
Japanese (ja)
Other versions
JP2011226848A (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 JP2010095021A priority Critical patent/JP5012947B2/en
Priority to US13/086,484 priority patent/US8446800B2/en
Priority to CN2011100972353A priority patent/CN102221817B/en
Publication of JP2011226848A publication Critical patent/JP2011226848A/en
Application granted granted Critical
Publication of JP5012947B2 publication Critical patent/JP5012947B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、標準時刻電波を受信してその時刻情報を取得する時刻情報取得装置、および、当該時刻情報取得装置を搭載した電波時計に関する。   The present invention relates to a time information acquisition device that receives a standard time radio wave and acquires the time information, and a radio clock equipped with the time information acquisition device.

現在、日本およびドイツ、イギリス、スイスなどにおいて、長波の標準時刻電波が送信所から送出されている。たとえば、日本では、福島県および佐賀県の送信所から、それぞれ、40kHzおよび60kHzの振幅変調された標準時刻電波が送出されている。標準時刻電波は、年月日時分を示すタイムコードを構成する符号の列を含み、1周期60秒で送出されるようになっている。つまり、タイムコードの周期は60秒である。   Currently, in Japan, Germany, the United Kingdom, Switzerland, etc., long standard time radio waves are transmitted from transmitting stations. For example, in Japan, standard time radio waves with amplitude modulation of 40 kHz and 60 kHz are transmitted from transmitting stations in Fukushima Prefecture and Saga Prefecture, respectively. The standard time radio wave includes a sequence of codes constituting a time code indicating the year, month, day, hour and minute, and is transmitted in one cycle of 60 seconds. That is, the period of the time code is 60 seconds.

このようなタイムコードを含む標準時刻電波を受信し、受信した標準時刻電波からタイムコードを取り出して、時刻を修正することができる時計(電波時計)が実用化されている。電波時計の受信回路は、アンテナにより受信された標準時刻電波を受け入れ、標準時刻電波信号のみを取り出すためのバンドパスフィルタ(BPF)、包絡線検波などによって振幅変調された標準時刻電波信号を復調する復調回路、および、復調回路によって復調された信号に含まれるタイムコードを読み出す処理回路を備える。   A timepiece (radio timepiece) capable of receiving a standard time radio wave including such a time code, taking out the time code from the received standard time radio wave, and correcting the time has been put into practical use. The reception circuit of the radio clock accepts the standard time radio wave received by the antenna and demodulates the standard time radio signal amplitude-modulated by a band pass filter (BPF) for extracting only the standard time radio signal, envelope detection, etc. A demodulation circuit and a processing circuit that reads a time code included in the signal demodulated by the demodulation circuit are provided.

従来の処理回路は、復調された信号の立ち上がりで同期をとった後、所定のサンプリング周期で二値化して、バイナリーのビット列である単位時間長(1秒)のTCOデータを取得する。さらに、処理回路は、TCOデータのパルス幅(つまり、ビット「1」の時間や、ビット「0」の時間)を計測し、その幅の大きさに対応して、符号「P」、「0」、「1」の何れかを決定し、決定された符号の列に基づいて時刻情報を取得する。   The conventional processing circuit synchronizes at the rising edge of the demodulated signal, and then binarizes at a predetermined sampling period to obtain TCO data of a unit time length (1 second) which is a binary bit string. Further, the processing circuit measures the pulse width of the TCO data (that is, the time of bit “1” or the time of bit “0”), and codes “P”, “0” corresponding to the width. "Or" 1 "is determined, and time information is acquired based on the determined code sequence.

従来の処理回路では、標準時刻電波の受信開始から時刻情報の取得まで、秒同期処理、分同期処理、符号取り込み、整合判定というプロセスを経る。それぞれのプロセスにおいて適切に処理が終了できなかった場合に、処理回路は、最初から処理をやり直す必要がある。このため、信号中に含まれるノイズの影響により処理が何度もやり直さねばならない場合があり、時刻情報が取得できるまでの時間が著しく長くなる場合がある。   In a conventional processing circuit, a process of second synchronization processing, minute synchronization processing, code acquisition, and matching determination is performed from the start of reception of standard time radio waves to acquisition of time information. When processing cannot be completed properly in each process, the processing circuit needs to start processing from the beginning. For this reason, processing may have to be performed again and again due to the influence of noise included in the signal, and the time until the time information can be acquired may be significantly increased.

秒同期とは、TCOデータにより示される符号のうち、1秒毎に到来する符号の立ち上がりを検出することである。また、分同期とは、分の先頭位置を特定することである。JJYの規定にしたがったデータでは、フレームの末尾に配置されたポジションマーカー「P0」およびフレームの先頭に配置されたマーカー「M」が連続している部分を検出することで実現できる。上記分同期によりフレームの先頭が認識されるため、以後、符号取り込みが開始され、1フレーム分のデータを獲得した後に、パリティビットを調べられ、ありえない値(年月日時分が現実に起こりえない値)であるか否かが判断される(整合判定)。たとえば、分同期は、フレームの先頭を見出すものであるため、60秒の時間を要する場合がある。無論、数フレームにわたってフレームの先頭を検出するためにはその数倍の時間を要する。   Second synchronization is to detect the rise of a code that arrives every second among the codes indicated by the TCO data. The minute synchronization is to specify the start position of the minute. Data according to the JJY standard can be realized by detecting a portion where the position marker “P0” arranged at the end of the frame and the marker “M” arranged at the beginning of the frame are continuous. Since the beginning of the frame is recognized by the above-mentioned minute synchronization, code acquisition is started thereafter, and after acquiring the data for one frame, the parity bit is checked, and an impossible value (year, month, day, and time cannot actually occur) Value) is determined (consistency determination). For example, minute synchronization finds the beginning of a frame and may take 60 seconds. Of course, it takes several times as long to detect the beginning of a frame over several frames.

特許文献1においては、復調された信号を、所定のサンプリング間隔(50ms)で二値化して得られたTCOデータが取得され、1秒毎(20サンプル)のバイナリーのビット列からなるデータ群がリスト化される。特許文献1に開示された装置は、このビット列と、符号「P:ポジションマーカー」を表すバイナリーのビット列のテンプレート、符号「1」を表すバイナリーのビット列のテンプレートおよび符号「0」を表すバイナリーのビット列のテンプレートとをそれぞれ比較して、その相関を求め、相関によりビット列が、符号「P」、「1」、「0」の何れに該当するかを判断する。   In Patent Document 1, TCO data obtained by binarizing a demodulated signal at a predetermined sampling interval (50 ms) is acquired, and a data group consisting of binary bit strings every second (20 samples) is listed. It becomes. The apparatus disclosed in Patent Document 1 includes this bit string, a binary bit string template representing the code “P: position marker”, a binary bit string template representing the code “1”, and a binary bit string representing the code “0”. Each of the templates is compared with each other to obtain the correlation, and it is determined by the correlation whether the bit string corresponds to the code “P”, “1”, or “0”.

特開2005−249632号公報JP 2005-249632 A 特開2009−216544号公報JP 2009-216544 A

特許文献1に開示された技術においては、二値のビット列であるTCOデータを取得して、テンプレートとのマッチングを行っている。電界強度が弱い状態や復調された信号に多くのノイズが混入された状態では、取得されたTCOデータに多くの誤差が含まれてしまう。したがって、復調された信号からノイズを取り除くためのフィルタや、AD変換器のスレッショルドを微調整して、TCOデータの品質を向上させる必要があった。   In the technique disclosed in Patent Document 1, TCO data, which is a binary bit string, is acquired and matched with a template. In a state where the electric field strength is weak or a state where a lot of noise is mixed in the demodulated signal, many errors are included in the acquired TCO data. Therefore, it is necessary to finely adjust the filter for removing noise from the demodulated signal and the threshold of the AD converter to improve the quality of TCO data.

また、特許文献2には、1フレーム(60秒)分の入力波形データを生成するとともに、同様のデータ長を有し、内部時計に基づく時刻(ベースタイム)にしたがった現在時刻に対応する予測波形データを生成して、入力波形データのサンプル値と予測波形データの対応するサンプル値を比較して、そのエラー数を検出する技術が開示されている。特許文献2の技術においては、予測波形データを1ビットシフトし(データ末尾のサンプル値は先頭のサンプル値となる)、入力波形データのサンプル値と、シフトされた予測波形データの新たに対応するサンプル値との比較を繰り返す。60回だけ処理を繰り返して、予測波形データのそれぞれについてのエラー数から、最もエラー数の少ない予測波形データを見出して、見出された予測波形データのシフト数に基づき、ベースタイムの誤差を取得する。   Further, Patent Document 2 generates input waveform data for one frame (60 seconds), has a similar data length, and predicts corresponding to the current time according to the time based on the internal clock (base time). There is disclosed a technique for generating waveform data, comparing sample values of input waveform data with corresponding sample values of predicted waveform data, and detecting the number of errors. In the technique of Patent Document 2, the predicted waveform data is shifted by 1 bit (the sample value at the end of the data becomes the first sample value), and the sample value of the input waveform data and the shifted predicted waveform data newly correspond to each other. Repeat the comparison with the sample value. Repeat the process only 60 times, find the predicted waveform data with the smallest number of errors from the number of errors for each of the predicted waveform data, and obtain the base time error based on the number of shifts of the found predicted waveform data To do.

特許文献2の技術では、60秒分の入力波形データが必要である。また、シフトによって60種類の予測波形データの生成および入力波形データのサンプル値と予測波形データのサンプル値との比較が必要である。したがって、入力波形データの取得およびサンプル値の比較に処理時間を要するという問題点があった。また、電波の受信状況は一定とは限られないため、入力波形データを取得するために標準時刻電波の受信時間を短くすることが望ましい。   In the technique of Patent Document 2, input waveform data for 60 seconds is required. Further, it is necessary to generate 60 types of predicted waveform data by shifting and to compare the sample values of the input waveform data and the sample values of the predicted waveform data. Therefore, there is a problem that it takes a processing time to acquire input waveform data and compare sample values. In addition, since the reception status of radio waves is not always constant, it is desirable to shorten the reception time of standard time radio waves in order to acquire input waveform data.

本発明は、より短時間で、かつ、確実に、標準時刻電波に基づく現在時刻を取得可能な時刻情報取得装置および電波時計を提供することを目的とする。   An object of this invention is to provide the time information acquisition apparatus and radio timepiece which can acquire the present time based on a standard time radio wave reliably and in a shorter time.

本発明の目的は、受信された時刻情報を表すタイムコードを含む標準時刻電波において検出された秒先頭位置から、前記標準電波の信号を、所定のサンプリング周期でサンプリングして、各サンプル点のサンプル値が、ローレベルを示す第1の値およびハイレベルを示す第2の値の何れかをとり、かつ、1以上の単位時間長を有する入力波形データパターンを生成する入力波形データパターン生成手段と、
各サンプル点のサンプル値が、前記第1の値および前記第2の値の何れかをとり、前記入力波形データパターンと同一の時間長を有し、それぞれが、内部計時手段により計時されたベースタイムに基づく符号の列を表し、かつ、その先頭位置が、前記ベースタイムおよび当該ベースタイム前後所定の秒数だけずらされた時刻となるような複数の予測波形データパターンを生成する予測波形データパターン生成手段と、
前記入力波形データパターンのサンプル値と、前記予測波形データパターンのサンプル値との一致・不一致を判断し、不一致を示すエラー数を計数し、前記複数の予測波形データパターンのそれぞれについてのエラー数を取得するエラー検出手段と、
最小値のエラー数を示す予測波形データパターンの先頭位置に基づいて、前記ベースタイムを修正する現在時刻修正手段と、
前記現在時刻修正手段により前記ベースタイムが修正された時刻と前記ベースタイムとの時間差、および、予め定められた計時精度に基づいて、前記所定の秒数を決定し、生成すべき予測波形データパターンの数を決定する制御手段と、を備えたことを特徴とする時刻情報取得装置により達成される。
The object of the present invention is to sample the signal of the standard radio wave at a predetermined sampling period from the second start position detected in the standard time radio wave including a time code representing the received time information, and sample each sample point. An input waveform data pattern generation means for generating an input waveform data pattern having a value of one or more unit time lengths, the value of which is either a first value indicating a low level or a second value indicating a high level; ,
The sample value of each sample point takes either the first value or the second value, has the same time length as the input waveform data pattern, and each is a base timed by an internal time measuring means A predicted waveform data pattern that represents a sequence of codes based on time, and that generates a plurality of predicted waveform data patterns whose start position is the base time and a time shifted by a predetermined number of seconds before and after the base time Generating means;
It is determined whether or not the sample value of the input waveform data pattern matches the sample value of the predicted waveform data pattern, counts the number of errors indicating a mismatch, and calculates the number of errors for each of the plurality of predicted waveform data patterns. Error detection means to obtain;
Current time correcting means for correcting the base time based on the head position of the predicted waveform data pattern indicating the minimum number of errors;
A predicted waveform data pattern to be generated by determining the predetermined number of seconds based on a time difference between the time when the base time is corrected by the current time correction means and the base time, and a predetermined timing accuracy. And a control means for determining the number of times.

好ましい実施態様においては、前記入力波形データパターン生成手段により生成される入力波形データパターンは、符号ごとに1つのサンプル値を有し、前記入力波形データパターン生成手段は、当該サンプル値の取得において、符号ごとに、複数の時間的に異なる位置のデータ値を取得し、当該複数のデータ値に基づいて、当該符号についてのサンプル値を決定する。   In a preferred embodiment, the input waveform data pattern generated by the input waveform data pattern generation means has one sample value for each code, and the input waveform data pattern generation means For each code, a plurality of data values at different positions are acquired, and a sample value for the code is determined based on the plurality of data values.

別の好ましい実施態様においては、前記現在時刻修正手段が、前記エラー数の最小値が、サンプル数に対応して予め定められた許容最大エラー数より小さいときに、当該最小値のエラー数を示す予測波形データパターンの先頭位置に基づいて、前記ベースタイムを修正する。   In another preferred embodiment, the current time correction means indicates the number of errors of the minimum value when the minimum value of the number of errors is smaller than a maximum allowable number of errors predetermined corresponding to the number of samples. The base time is corrected based on the head position of the predicted waveform data pattern.

また、別の好ましい実施態様においては、 前記現在時刻修正手段が、前記エラー数の最小値と、2番目に小さい値とを考慮して、前記最小値が、前記2番目に小さい値より、所定以上離間しているときに、当該最小値のエラー数を示す予測波形データパターンの先頭位置に基づいて、前記ベースタイムを修正する。   In another preferred embodiment, the current time correction means takes into consideration the minimum value of the number of errors and the second smallest value, and the minimum value is smaller than the second smallest value. When the distance is more than the above, the base time is corrected based on the head position of the predicted waveform data pattern indicating the minimum number of errors.

さらに別の好ましい実施態様においては、前記制御手段は、受信された標準時刻電波の受信強度が小さくなるのにしたがって、サンプル値の個数が増大するように決定し、
前記入力波形データパターン生成手段は、決定されたサンプル値の個数にしたがって、入力波形データパターンを生成する。
In yet another preferred embodiment, the control means determines that the number of sample values increases as the received strength of the received standard time radio wave decreases.
The input waveform data pattern generation means generates an input waveform data pattern according to the determined number of sample values.

また、好ましい実施態様においては、前記制御手段は、前記時間差および計時精度に基づき、想定される最大誤差を算出し、
前記予測波形データパターン生成手段は、前記先頭位置が、前記最大誤差の範囲内となるような複数の予測波形データパターンを生成する。
In a preferred embodiment, the control means calculates an assumed maximum error based on the time difference and the timing accuracy,
The predicted waveform data pattern generation means generates a plurality of predicted waveform data patterns such that the head position is within the range of the maximum error.

また、本発明の目的は、上記時刻情報取得装置と、
内部クロックにより現在時刻を計時する前記内部計時手段と、
前記内部計時手段により計時された、或いは、前記現在時刻修正手段により修正された現在時刻を表示する時刻表示手段と、を備えたことを特徴とする電波時計により達成される。
Another object of the present invention is to provide the time information acquisition device,
The internal time measuring means for measuring the current time by an internal clock;
This is achieved by a radio timepiece comprising time display means for displaying the current time measured by the internal time measuring means or corrected by the current time adjusting means.

本発明によれば、より短時間で、かつ、確実に、標準時刻電波に基づく現在時刻を取得可能な時刻情報取得装置および電波時計を提供することが可能となる。   According to the present invention, it is possible to provide a time information acquisition device and a radio timepiece that can acquire the current time based on the standard time radio wave reliably and in a shorter time.

図1は、本発明の第1の実施の形態にかかる電波時計の構成を示すブロックダイヤグラムである。FIG. 1 is a block diagram showing the configuration of the radio-controlled timepiece according to the first embodiment of the present invention. 図2は、本実施の形態にかかる受信回路16の構成例を示すブロックダイヤグラムである。FIG. 2 is a block diagram showing a configuration example of the receiving circuit 16 according to the present embodiment. 図3は、本実施の形態にかかる信号比較回路18の構成を示すブロックダイヤグラムである。FIG. 3 is a block diagram showing the configuration of the signal comparison circuit 18 according to the present embodiment. 図4は、本実施の形態にかかる電波時計10において実行される処理の概略を示すフローチャートである。FIG. 4 is a flowchart showing an outline of processing executed in the radio timepiece 10 according to the present embodiment. 図5は、本実施の形態にかかるステップ405をより詳細に示すフローチャートである。FIG. 5 is a flowchart showing in more detail step 405 according to the present embodiment. 図6は、本実施の形態にかかる入力波形データ、入力波形データパターンおよび複数の予測波形データパターンを説明するための図である。FIG. 6 is a diagram for explaining input waveform data, an input waveform data pattern, and a plurality of predicted waveform data patterns according to the present embodiment. 図7は、JJYの規格にしたがった標準時刻電波信号の例を示す図である。FIG. 7 is a diagram illustrating an example of a standard time radio signal according to the JJY standard. 図8は、JJYの規格にしたがった標準時刻電波信号を構成する符号のそれぞれをより詳細に示す図である。FIG. 8 is a diagram showing in more detail each of the codes constituting the standard time radio signal according to the JJY standard. 図9は、本実施の形態にかかる許容最大BERテーブルの例を示す図である。FIG. 9 is a diagram illustrating an example of an allowable maximum BER table according to the present embodiment. 図10は、第2の実施の形態にかかる信号比較回路18の構成を示すブロックダイヤグラムである。FIG. 10 is a block diagram showing the configuration of the signal comparison circuit 18 according to the second embodiment. 図11は、JJYの符号、および、本実施の形態における1秒分の入力波形データのデータ構成例を示す図である。FIG. 11 is a diagram illustrating a data configuration example of JJY code and input waveform data for one second in the present embodiment. 図12は、第2の実施の形態にかかるステップ405をより詳細に示すフローチャートである。FIG. 12 is a flowchart showing in more detail step 405 according to the second embodiment. 図13は、第2の実施の形態にかかる入力波形データ、入力波形データパターンおよび複数の予測波形データパターンを説明するための図である。FIG. 13 is a diagram for explaining input waveform data, an input waveform data pattern, and a plurality of predicted waveform data patterns according to the second embodiment. 図14は、第2の実施の形態にかかるエラー数の有効値を説明するための図である。FIG. 14 is a diagram for explaining an effective value of the number of errors according to the second embodiment. 図15は、予測波形データパターンごとのエラー数のグラフの例である。FIG. 15 is an example of a graph of the number of errors for each predicted waveform data pattern. 図16(a)、(b)は、それぞれ、予測波形データパターンとエラー数との対応を示す他のグラフである。FIGS. 16A and 16B are other graphs showing the correspondence between the predicted waveform data pattern and the number of errors, respectively. 図17は、本発明の他の実施の形態にかかる信頼性判定テーブルの例を示す図である。FIG. 17 is a diagram showing an example of a reliability determination table according to another embodiment of the present invention. 図18は、他の実施の形態にかかる一致判定の例を示すフローチャートである。FIG. 18 is a flowchart illustrating an example of coincidence determination according to another embodiment.

以下、添付図面を参照して、本発明の実施の形態について説明する。本発明の実施の形態においては、長波帯の標準時刻電波を受信して、その信号を検波して、信号中に含まれるタイムコードを示す符号の列を取り出して、当該符号の列に基づいて時刻を修正する電波時計に、本発明にかかる時刻情報取得装置を設けている。   Embodiments of the present invention will be described below with reference to the accompanying drawings. In the embodiment of the present invention, a standard time radio wave in a long wave band is received, the signal is detected, a sequence of codes indicating a time code included in the signal is extracted, and based on the sequence of the codes The radio timepiece for correcting the time is provided with the time information acquisition device according to the present invention.

現在、日本、ドイツ、イギリス、スイスなどにおいて、所定の送信所から標準時刻電波が送信されるようになっている。たとえば、日本では、福島県および佐賀県の送信所から、それぞれ、40kHzおよび60kHzの振幅変調された標準時刻電波が送出されている。標準時刻電波は、年月日時分を示すタイムコードを構成する符号の列を含み、1周期60秒で送出されている。1つの符号は単位時間長(1秒)であるため、1周期では60個の符号を含み得る。   Currently, standard time radio waves are transmitted from a predetermined transmitting station in Japan, Germany, the United Kingdom, Switzerland, and the like. For example, in Japan, standard time radio waves with amplitude modulation of 40 kHz and 60 kHz are transmitted from transmitting stations in Fukushima Prefecture and Saga Prefecture, respectively. The standard time radio wave includes a string of codes constituting a time code indicating the year, month, day, hour and minute, and is transmitted in one cycle of 60 seconds. Since one code has a unit time length (1 second), one cycle can include 60 codes.

図1は、本発明の第1の実施の形態にかかる電波時計の構成を示すブロックダイヤグラムである。図1に示すように、電波時計10は、CPU11、入力部12、表示部13、ROM14、RAM15、受信回路16、内部計時回路17、および、信号比較回路18を備える。   FIG. 1 is a block diagram showing the configuration of the radio-controlled timepiece according to the first embodiment of the present invention. As shown in FIG. 1, the radio timepiece 10 includes a CPU 11, an input unit 12, a display unit 13, a ROM 14, a RAM 15, a receiving circuit 16, an internal clock circuit 17, and a signal comparison circuit 18.

CPU11は、所定のタイミングで、或いは、入力部12から入力された操作信号に応じてROM14に格納されたプログラムを読み出して、RAM15に展開し、当該プログラムに基づいて、電波時計10を構成する各部への指示やデータの転送などを実行する。具体的には、たとえば所定時間毎に受信回路16を制御して標準時刻電波を受信させて、受信回路16から得られた信号に基づくディジタルデータから、標準時刻電波信号に含まれる符号の列を特定し、この符号の列に基づいて内部計時回路17により得られる時刻であるベースタイムBTを修正する処理や、内部計時回路17によって得られたベースタイムを表示部13に転送する処理などを実行する。   The CPU 11 reads out a program stored in the ROM 14 at a predetermined timing or in response to an operation signal input from the input unit 12, expands the program in the RAM 15, and configures the radio clock 10 based on the program. Execute instructions and data transfer. Specifically, for example, by receiving the standard time radio wave by controlling the receiving circuit 16 every predetermined time, a sequence of codes included in the standard time radio signal is obtained from digital data based on the signal obtained from the receiving circuit 16. Specific processing is performed to correct the base time BT, which is the time obtained by the internal clock circuit 17 based on this code sequence, and to transfer the base time obtained by the internal clock circuit 17 to the display unit 13. To do.

本実施の形態においては、後述するように、内部計時回路17によって得られる時刻であるベースタイムBTを用いて、処理開始時刻Nowを特定し、処理開始時刻Nowの前後所定の時刻を開始時刻とする、1以上の単位時間長の予測波形データパターンを複数生成し、複数の予測波形データパターンと、受信波形から生成した入力波形データパターンとをそれぞれ比較する。   In the present embodiment, as will be described later, the processing start time Now is specified using the base time BT, which is the time obtained by the internal clock circuit 17, and a predetermined time before and after the processing start time Now is set as the start time. A plurality of predicted waveform data patterns having one or more unit time lengths are generated, and the plurality of predicted waveform data patterns are compared with the input waveform data pattern generated from the received waveform.

上記比較の結果、受信信号に含まれる符号が特定され、ベースタイムBTと受信信号に基づく時刻との誤差が算出され、内部計時回路17におけるベースタイムBTを修正することができる。   As a result of the comparison, the code included in the received signal is specified, the error between the base time BT and the time based on the received signal is calculated, and the base time BT in the internal time measuring circuit 17 can be corrected.

入力部12は、電波時計10の各種機能の実行を指示するためのスイッチを含み、スイッチが操作されると、対応する操作信号をCPU11に出力する。表示部13は、文字盤やCPU11によって制御されたアナログ指針機構、液晶パネルを含み、内部計時回路17によって計時されたベースタイムに基づく時刻を表示する。ROM14は、電波時計10を動作させ、また、所定の機能を実現するためのシステムプログラムやアプリケーションプログラムなどを記憶する。所定の機能を実現するためのプログラムには、秒パルス位置の検出処理、本実施の形態における予測波形データパターンおよび入力波形データパターンとの比較処理、分先頭位置の検出処理、並びに、符号のデコード処理等のために信号比較回路18を制御するプログラムも含まれる。RAM15は、CPU11の作業領域として用いられ、ROM14から読み出されたプログラムやデータ、CPU11にて処理されたデータなどを一時的に記憶する。   The input unit 12 includes a switch for instructing execution of various functions of the radio timepiece 10, and outputs a corresponding operation signal to the CPU 11 when the switch is operated. The display unit 13 includes a dial, an analog pointer mechanism controlled by the CPU 11, and a liquid crystal panel, and displays a time based on the base time measured by the internal clock circuit 17. The ROM 14 stores a system program, an application program, and the like for operating the radio timepiece 10 and realizing a predetermined function. The program for realizing the predetermined function includes a second pulse position detection process, a comparison process between the predicted waveform data pattern and the input waveform data pattern in this embodiment, a minute leading position detection process, and a code decoding A program for controlling the signal comparison circuit 18 for processing and the like is also included. The RAM 15 is used as a work area for the CPU 11 and temporarily stores programs and data read from the ROM 14, data processed by the CPU 11, and the like.

受信回路16は、アンテナ回路や検波回路などを含み、アンテナ回路にて受信された標準時刻電波から復調された信号を得て、信号比較回路18に出力する。内部計時回路17は、発振回路を含み、発振回路から出力されるクロック信号を計数してベースタイムに基づく時刻を計時し、時刻のデータをCPU11に出力する。   The reception circuit 16 includes an antenna circuit, a detection circuit, and the like, obtains a signal demodulated from the standard time radio wave received by the antenna circuit, and outputs the signal to the signal comparison circuit 18. The internal clock circuit 17 includes an oscillation circuit, counts clock signals output from the oscillation circuit, counts time based on the base time, and outputs time data to the CPU 11.

図2は、本実施の形態にかかる受信回路16の構成例を示すブロックダイヤグラムである。図2に示すように、受信回路16は、標準時刻電波を受信するアンテナ回路50、アンテナ回路50により受信された標準時刻電波信号のノイズを除去するフィルタ回路51、フィルタ回路51の出力である高周波信号を増幅するRF増幅回路52、RF増幅回路52から出力された信号を検波して、標準時刻電波信号を復調する検波回路53を備え、検波回路53によって復調された信号が、信号比較回路18に出力される。   FIG. 2 is a block diagram showing a configuration example of the receiving circuit 16 according to the present embodiment. As shown in FIG. 2, the receiving circuit 16 includes an antenna circuit 50 that receives a standard time radio wave, a filter circuit 51 that removes noise from the standard time radio signal received by the antenna circuit 50, and a high frequency that is an output of the filter circuit 51. An RF amplification circuit 52 that amplifies the signal, and a detection circuit 53 that detects the signal output from the RF amplification circuit 52 and demodulates the standard time radio signal, and the signal demodulated by the detection circuit 53 is the signal comparison circuit 18. Is output.

図3は、本実施の形態にかかる信号比較回路18の構成を示すブロックダイヤグラムである。図3に示すように、本実施の形態にかかる信号比較回路18は、入力波形データ生成部21、受信波形データバッファ22、予測波形データパターン生成部23、波形切り出し部24、エラー検出部25、一致判定部26および秒同期実行部27を有する。   FIG. 3 is a block diagram showing the configuration of the signal comparison circuit 18 according to the present embodiment. As shown in FIG. 3, the signal comparison circuit 18 according to this exemplary embodiment includes an input waveform data generation unit 21, a received waveform data buffer 22, a predicted waveform data pattern generation unit 23, a waveform cutout unit 24, an error detection unit 25, It has a coincidence determination unit 26 and a second synchronization execution unit 27.

入力波形データ生成部21は、受信回路16から出力された信号を、所定のサンプリング間隔で、その値が複数の値(「1」または「0」)のうちの何れかをとるようなディジタルデータに変換する。第1の実施の形態においては、たとえば、上記サンプリング間隔は50msであり、1秒あたり20サンプルのデータを取得することができる。受信波形データバッファ22は、入力波形データ生成部21において生成されたデータを順次記憶する。受信波形データバッファ22は、複数の単位時間長(1単位時間:1秒)のデータ(たとえば、20秒のデータ)を記憶することができ、新たにデータを記憶する場合には、古い順にデータを消去していく。   The input waveform data generation unit 21 converts the signal output from the receiving circuit 16 into digital data whose value takes one of a plurality of values (“1” or “0”) at a predetermined sampling interval. Convert to In the first embodiment, for example, the sampling interval is 50 ms, and data of 20 samples per second can be acquired. The reception waveform data buffer 22 sequentially stores the data generated in the input waveform data generation unit 21. The reception waveform data buffer 22 can store a plurality of unit time lengths (1 unit time: 1 second) of data (for example, 20 seconds of data). Will be erased.

さらに、入力波形データ生成部21は、秒同期実行部27による秒同期により秒の先頭位置が確定した後に、秒先頭位置から秒毎、つまり、符号毎に入力波形データのサンプル値D(n)を生成する。この場合、たとえば、上記所定のサンプリング間隔で取得された値のうち、所定の時間帯(500ms〜800ms)に対応するデータを得て、データ値「1」、「0」の何れが多く存在するかを判断することにより、秒毎の入力波形データのサンプル値D(n)を得ることができる。   Further, the input waveform data generation unit 21 determines the sample position D (n) of the input waveform data every second, that is, every code from the second start position after the second position is determined by the second synchronization by the second synchronization execution unit 27. Is generated. In this case, for example, data corresponding to a predetermined time zone (500 ms to 800 ms) is obtained from the values acquired at the predetermined sampling interval, and there are many data values “1” and “0”. By determining whether or not, the sample value D (n) of the input waveform data per second can be obtained.

なお、第1の実施の形態において、入力波形データ生成部21により生成された、1つの符号に対応するデータを入力波形データ、その値をサンプル値と称する。また、複数秒にわたって取得された複数の符号のデータを、入力波形データパターンと称する。以下に述べる予測波形データパターン生成部23においても、1つの符号に対応するデータを予測波形データ、複数の符号のデータを、予測波形データパターンと称する。   In the first embodiment, data corresponding to one code generated by the input waveform data generation unit 21 is referred to as input waveform data, and the value thereof is referred to as a sample value. A plurality of code data acquired over a plurality of seconds is referred to as an input waveform data pattern. Also in the predicted waveform data pattern generation unit 23 described below, data corresponding to one code is referred to as predicted waveform data, and data of a plurality of codes is referred to as a predicted waveform data pattern.

予測波形データパターン生成部23は、入力波形データパターンと比較すべき複数の予測波形データパターンを生成する。複数の予測波形データパターンについては後に詳述する。波形切り出し部24は、予測波形データパターンの時間長と同じ時間長の入力波形データパターンを、受信波形データバッファ22から取り出す。   The predicted waveform data pattern generation unit 23 generates a plurality of predicted waveform data patterns to be compared with the input waveform data pattern. The plurality of predicted waveform data patterns will be described in detail later. The waveform cutout unit 24 extracts an input waveform data pattern having the same time length as the predicted waveform data pattern from the received waveform data buffer 22.

秒同期実行部27は、たとえば、周知の従来の手法によって、入力波形データ生成部21にて生成された入力波形データにおいて、その秒先頭位置を検出する。たとえば、JJYにしたがった標準時刻電波においては、図8に示すように全ての符号において、秒の先頭位置で立ち上がる。したがって、この信号の立ち上がりを検出することで秒の先頭位置を検出することが可能である。   The second synchronization execution unit 27 detects the second start position in the input waveform data generated by the input waveform data generation unit 21 by, for example, a known conventional method. For example, in a standard time radio wave according to JJY, as shown in FIG. Therefore, it is possible to detect the leading position of the second by detecting the rising edge of this signal.

エラー検出部25は、複数の予測波形データパターンのそれぞれと、入力波形データパターンとの値の不一致を示すエラー数を算出する。上述したように入力波形データパターンは、秒毎の入力波形データのサンプル値D(n)を有する。また、予測波形データパターンも、同様に、秒毎の予測波形データのサンプル値P(n)を有する。したがって、入力波形データのサンプル値と、対応する予測波形データのサンプル値とを比較して、不一致の場合にエラー数が「1」だけカウントアップされるように構成すれば、エラー数の算出が可能となる。   The error detection unit 25 calculates the number of errors indicating a mismatch between each of the plurality of predicted waveform data patterns and the input waveform data pattern. As described above, the input waveform data pattern has the sample value D (n) of the input waveform data per second. Similarly, the predicted waveform data pattern has a sample value P (n) of predicted waveform data per second. Therefore, if the sample value of the input waveform data is compared with the sample value of the corresponding predicted waveform data and the number of errors is counted up by “1” in the case of a mismatch, the number of errors can be calculated. It becomes possible.

また、一致判定部26は、複数の予測波形データパターンごとのエラー数に基づくビットエラーレート(BER)を算出して、算出されたBERに基づき、入力波形データパターンと一致する予測波形データパターンを特定する。   Further, the coincidence determination unit 26 calculates a bit error rate (BER) based on the number of errors for each of the plurality of predicted waveform data patterns, and calculates a predicted waveform data pattern that matches the input waveform data pattern based on the calculated BER. Identify.

図4は、本実施の形態にかかる電波時計10において実行される処理の概略を示すフローチャートである。図4に示す処理は、主として、CPU11およびCPU11の指示に基づく信号比較回路18により実行される。図4に示すように、CPU11および信号比較回路18(以下、説明の便宜上「CPU11等」とも称する。)は、秒パルス位置を検出する(ステップ401)。秒パルス位置の検出の処理は、秒同期とも称される。   FIG. 4 is a flowchart showing an outline of processing executed in the radio timepiece 10 according to the present embodiment. The process shown in FIG. 4 is mainly executed by the CPU 11 and the signal comparison circuit 18 based on instructions from the CPU 11. As shown in FIG. 4, the CPU 11 and the signal comparison circuit 18 (hereinafter also referred to as “CPU 11 or the like” for convenience of description) detect the second pulse position (step 401). The process of detecting the second pulse position is also referred to as second synchronization.

秒同期は、信号比較回路18の秒同期実行部27により、たとえば、周知の従来の手法によって実現される。秒同期により、入力波形データにおける秒先頭位置が特定され、入力波形データの先頭と、特定された秒先頭位置との時間差Δtが得られる。   Second synchronization is realized by the second synchronization execution unit 27 of the signal comparison circuit 18 by, for example, a known conventional method. By the second synchronization, the second start position in the input waveform data is specified, and a time difference Δt between the start of the input waveform data and the specified second start position is obtained.

図7は、JJYの規格にしたがった標準時刻電波信号の例を示す図である。図7に示すように、JJYの規格にしたがった標準時刻電波信号は、JJYの符号が、決められた順序で送信される。JJYの標準時刻電波信号においては、1秒の単位時間長の「P」、「1」および「0」を示す符号が連なっている。標準時刻電波は、60秒を1フレームとしており、1フレームには60個の符号が含まれる。また、標準時刻電波においては、10秒毎にポジションマーカー「P1」、「P2」、・・・或いはマーカー「M」が到来し、また、フレームの末尾に配置されたポジションマーカー「P0」およびフレームの先頭に配置されたマーカー「M」が連続している部分を検出することで、60秒毎に到来するフレームの先頭、つまり分の先頭位置を見出すことができる。また、秒同期は、上記60個の符号の何れかの先頭位置を見出すことである。   FIG. 7 is a diagram illustrating an example of a standard time radio signal according to the JJY standard. As shown in FIG. 7, the standard time radio signal according to the JJY standard is transmitted in a predetermined order with the JJY code. In the standard time radio signal of JJY, symbols indicating “P”, “1” and “0” having a unit time length of 1 second are connected. The standard time radio wave has 60 seconds as one frame, and one frame includes 60 codes. Further, in the standard time radio wave, the position marker “P1”, “P2”,... Or the marker “M” arrives every 10 seconds, and the position marker “P0” and the frame arranged at the end of the frame. By detecting the portion where the marker “M” arranged at the head of the frame continues, the head of the frame that arrives every 60 seconds, that is, the head position of the minute can be found. Second synchronization is to find the head position of any one of the 60 codes.

図8は、JJYにしたがった標準時刻電波信号を構成する符号のそれぞれをより詳細に示す図である。図8に示すように、JJYにおいては、1秒の単位時間長の「P」、「1」および「0」を示す符号が含まれる。符号「0」では、先頭の800msの区間でハイレベル(値「1」)となり、残りの200msの区間でローレベル(値「0」)となる。符号「1」では、最初の500msの区間でハイレベル(値「1」)となり、残りの500msの区間でローレベル(値「0」)となる。また、符号「P」では、最初の200msの区間でハイレベル(値「1」)となり、残りの800msの区間でローレベル(値「0」)となる。   FIG. 8 is a diagram showing in more detail each of the codes constituting the standard time radio signal according to JJY. As shown in FIG. 8, JJY includes codes indicating “P”, “1”, and “0” having a unit time length of 1 second. In the code “0”, the high level (value “1”) is set in the first 800 ms section, and the low level (value “0”) is set in the remaining 200 ms section. In the code “1”, the high level (value “1”) is set in the first 500 ms section, and the low level (value “0”) is set in the remaining 500 ms section. In addition, in the code “P”, the high level (value “1”) is set in the first 200 ms section, and the low level (value “0”) is set in the remaining 800 ms section.

図6は、本実施の形態にかかる入力波形データ、入力波形データパターンおよび複数の予測波形データパターンを説明するための図である。図6において、内部計時回路17により計時された時刻であるベースタイムBTに基づく処理開始時刻Nowがデータ先頭となる入力波形データ600を考える。秒同期実行部27が秒同期を行なうことにより、秒先頭位置がベースタイムBTに基づく処理開始時刻NowよりΔtだけ時間軸上で後方であったことを示している。以下、入力波形データにおいて、Now+Δt、および、Now+Δtから秒単位で離間した位置を基準としてデータの切り出しが行なわれる。以下、時刻Now+Δtを符号先頭時刻と称する。ベースタイムBTは、本実施の形態にかかる電子時計10の内部計時回路17により計時される時刻をいう。また、処理開始時刻Nowは、ベースタイムBTにしたがった標準時刻電波の受信が開始された時刻である。   FIG. 6 is a diagram for explaining input waveform data, an input waveform data pattern, and a plurality of predicted waveform data patterns according to the present embodiment. In FIG. 6, consider input waveform data 600 in which the processing start time Now based on the base time BT, which is the time measured by the internal clock circuit 17, becomes the data head. The second synchronization execution unit 27 performs second synchronization, which indicates that the second head position is behind the processing start time Now based on the base time BT by Δt on the time axis. Hereinafter, in the input waveform data, data is cut out based on Now + Δt and a position separated from Now + Δt in seconds. Hereinafter, the time Now + Δt is referred to as a code head time. The base time BT refers to the time measured by the internal clock circuit 17 of the electronic timepiece 10 according to the present embodiment. The processing start time Now is the time when reception of the standard time radio wave according to the base time BT is started.

秒同期(ステップ401)が終了すると、CPU11等は、先の処理において取得し、RAM15の所定の領域に格納されている最終修正時刻Tlastが存在するかを判断する(ステップ402)。なお、Tlastは、電子時計10の全体がリセットされたとき、或いは、ユーザが入力部12を操作して、内部計時回路17の時刻を変更したときにリセットされる。したがって、このような場合に、ステップ402でNoと判断される。   When the second synchronization (step 401) ends, the CPU 11 or the like determines whether there is a final correction time Tlast acquired in the previous process and stored in a predetermined area of the RAM 15 (step 402). Note that Tlast is reset when the entire electronic timepiece 10 is reset or when the user operates the input unit 12 to change the time of the internal clock circuit 17. Therefore, in such a case, it is determined No in step 402.

ステップ402でYesと判断された場合には、CPU11等は、電子時計10における内部時計精度Prから、想定される誤差である想定最大誤差ΔSを算出する(ステップ403)。ΔSは以下の式に基づいて算出される。   When it is determined Yes in step 402, the CPU 11 and the like calculate an assumed maximum error ΔS, which is an assumed error, from the internal clock accuracy Pr in the electronic timepiece 10 (step 403). ΔS is calculated based on the following equation.

ΔS=Pr×(BT−Tlast)
(BT−Tlast)は、前回の処理で時刻が修正されたときから、内部計時回路17により計時された時刻BTまでの期間、すなわち、時刻修正が行なわれていない期間を示す。Prが、月差±15秒に対応する値(たとえば15秒)である場合に、(BT−Tlast)が30日であれば、ΔSは、15秒となる。
ΔS = Pr × (BT-Tlast)
(BT-Tlast) indicates a period from the time when the time was corrected in the previous process to the time BT timed by the internal clock circuit 17, that is, a period when the time is not corrected. When Pr is a value corresponding to a monthly difference of ± 15 seconds (for example, 15 seconds), if (BT-Tlast) is 30 days, ΔS is 15 seconds.

次いで、想定最大誤差ΔSが、閾値Sthより大きいかを判断する(ステップ404)。本実施の形態では、電子時計10が月差±15秒であり、時刻修正が行なわれていない期間が30日以内(つまりSthが30日に相当する)であれば、本実施の形態にかかる複数の予測波形データパターンを用いた時刻取得処理が実行される(ステップ405)。ΔSを秒数とすると、2ΔS+1個の複数の予測波形データパターンが生成される。   Next, it is determined whether the assumed maximum error ΔS is larger than the threshold value Sth (step 404). In the present embodiment, when the electronic timepiece 10 has a monthly difference of ± 15 seconds and the time is not adjusted within 30 days (that is, Sth corresponds to 30 days), the present embodiment is applied. Time acquisition processing using a plurality of predicted waveform data patterns is executed (step 405). When ΔS is the number of seconds, 2ΔS + 1 multiple predicted waveform data patterns are generated.

図5は、本実施の形態にかかるステップ405をより詳細に示すフローチャートである。図5に示すように、信号比較回路18の波形切り出し部24は、受信波形データバッファ22から入力波形データを読み出して、秒同期に基づく秒先頭位置Now+Δtから、所定秒数の時間長を有する入力波形データパターンDPを生成する。図6に示す例では、入力波形データのサンプル値D(0)〜D(4)の5秒分の入力波形データパターンDPが示されている(符号602参照)。実際には、サンプル値D(n)(n=0〜N−1)の個数は、受信回路16において受信される標準時刻電波の受信強度などにより決定される。たとえば、CPU11は、N−1=20程度を最小値として、標準時刻電波の受信強度が小さくなるのにしたがって、サンプル値の個数が増大するように、サンプル値の個数を決定すれば良い。   FIG. 5 is a flowchart showing in more detail step 405 according to the present embodiment. As shown in FIG. 5, the waveform cutout unit 24 of the signal comparison circuit 18 reads input waveform data from the received waveform data buffer 22, and has an input having a time length of a predetermined number of seconds from the second head position Now + Δt based on the second synchronization. A waveform data pattern DP is generated. In the example shown in FIG. 6, the input waveform data pattern DP for 5 seconds of the sample values D (0) to D (4) of the input waveform data is shown (see reference numeral 602). Actually, the number of sample values D (n) (n = 0 to N−1) is determined by the reception strength of the standard time radio wave received by the receiving circuit 16. For example, the CPU 11 may determine the number of sample values so that the number of sample values increases as the reception intensity of the standard time radio wave decreases, with N-1 = 20 being the minimum value.

図6において、サンプル値D(0)〜D(4)は、それぞれ、時刻Now+Δt、Now+Δt+1、Now+Δt+2、Now+Δt+3、Now+Δt+4から開始され、また、それぞれが1つの符号を示す値(「0」または「1」)を含む。   In FIG. 6, sample values D (0) to D (4) are started from times Now + Δt, Now + Δt + 1, Now + Δt + 2, Now + Δt + 3, Now + Δt + 4, and values (“0” or “1” each indicating one sign). ")including.

次いで、予測波形データパターン生成部23は、ベースタイムに基づく上記処理開始時刻Nowを中心にして、前後にΔSの範囲で開始時刻がずれた複数の予測波形データパターンを生成する(ステップ502)。すなわち、予測波形データパターン生成部23は、Now±ΔSをそれぞれパターンの先頭とする、入力波形データパターンと同一の時間長を有する複数の予測波形データパターンを生成する。図6に示す例では、ΔS=2(秒)であり、ΔS=−2〜2の、5つの予測波形データパターンが生成されている。   Next, the predicted waveform data pattern generation unit 23 generates a plurality of predicted waveform data patterns whose start times are shifted in the range of ΔS before and after the process start time Now based on the base time (step 502). That is, the predicted waveform data pattern generation unit 23 generates a plurality of predicted waveform data patterns having the same time length as the input waveform data pattern, each having Now ± ΔS as the head of the pattern. In the example illustrated in FIG. 6, ΔS = 2 (seconds), and five predicted waveform data patterns of ΔS = −2 to 2 are generated.

第1の予測波形データパターンPP(0)〜第5の予測波形データパターンPP(4)(符号610〜614参照)は、それぞれ、Now−2、Now−1、Now、Now+1、Now+2をパターンの開始時刻としている。たとえば、第1の予測波形データパターンPP(0)は、時刻Now−2における符号に対応するサンプル値P(−2)、時刻Now−1における符号に対応するサンプル値P(−1)、時刻Nowにおける符号に対応するサンプル値P(0)、時刻Now+1における符号に対応するサンプル値P(1)および時刻Now+2における符号に対応するサンプル値P(2)から構成される。   The first predicted waveform data pattern PP (0) to the fifth predicted waveform data pattern PP (4) (see reference numerals 610 to 614) have patterns of Now-2, Now-1, Now, Now + 1, Now + 2, respectively. It is the start time. For example, the first predicted waveform data pattern PP (0) includes a sample value P (-2) corresponding to a code at time Now-2, a sample value P (-1) corresponding to a code at time Now-1, and a time. The sample value P (0) corresponding to the code at Now, the sample value P (1) corresponding to the code at time Now + 1, and the sample value P (2) corresponding to the code at time Now + 2.

次いで、エラー検出部25は、入力波形データパターンDPと、複数の予測波形データパターンのそれぞれと、対応する符号のサンプル値を比較して、サンプル値の不一致に相当するエラー数を算出する(ステップ503)。図6の例においては、入力波形データパターンDPと、予測波形データパターンPP(0)〜PP(4)のそれぞれとが比較される。   Next, the error detection unit 25 compares the input waveform data pattern DP and each of the plurality of predicted waveform data patterns with the sample values of the corresponding codes, and calculates the number of errors corresponding to the mismatch of the sample values (Step) 503). In the example of FIG. 6, the input waveform data pattern DP is compared with each of the predicted waveform data patterns PP (0) to PP (4).

たとえば、入力波形データパターンDPと、第1の予測波形データパターンPP(0)との比較を考える。この場合には、対応するサンプル値、つまり、D(0)とP(−2)、D(1)とP(−1)、D(2)とP(0)、D(3)とP(1)、D(4)とP(2)がそれぞれ比較される。また、入力波形データパターンDPと、第2の予測波形データパターンPP(1)との比較を考えると、D(0)とP(−1)、D(1)とP(0)、D(2)とP(1)、D(3)とP(2)、D(4)とP(3)がそれぞれ比較される。   For example, consider a comparison between the input waveform data pattern DP and the first predicted waveform data pattern PP (0). In this case, the corresponding sample values, ie D (0) and P (-2), D (1) and P (-1), D (2) and P (0), D (3) and P (1), D (4) and P (2) are respectively compared. Further, considering the comparison between the input waveform data pattern DP and the second predicted waveform data pattern PP (1), D (0) and P (-1), D (1) and P (0), D ( 2) and P (1), D (3) and P (2), D (4) and P (3) are compared, respectively.

対応する符号データの比較の結果、双方が一致すればエラー数は「0」となる。双方が不一致の場合には、エラー数は「1」となる。エラー検出部25は、全ての対応する符号データにおけるエラー数の総計を算出する。   As a result of the comparison of the corresponding code data, the number of errors becomes “0” if the two match. If the two do not match, the number of errors is “1”. The error detection unit 25 calculates the total number of errors in all corresponding code data.

次いで、一致判定部26は、上記複数の予測波形データパターンのそれぞれについて算出されたエラー数(エラー数の総計)に基づき、複数の予測波形データパターンのそれぞれに対応するビットエラーレート(BER)を算出する(ステップ504)。たとえば、ビットエラーレート(BER)は、(エラー数の総計)/(入力波形データパターンのサンプル数I)を演算することにより求めることができる。一致判定部26は、ビットエラーレートBERのうちの最小ビットエラーレート(最小BER)を見出す(ステップ505)。その後、一致判定部26は、入力波形データパターンのサンプル数Iにより決定される許容最大ビットエラーレートBERmax(I)を取得し(ステップ506)、最小BERが、許容最大ビットエラーレートBERmax(I)より小さいかを判断する(ステップ507)。 Next, the coincidence determination unit 26 calculates a bit error rate (BER) corresponding to each of the plurality of predicted waveform data patterns based on the number of errors (total number of errors) calculated for each of the plurality of predicted waveform data patterns. Calculate (step 504). For example, the bit error rate (BER) can be obtained by calculating (total number of errors) / (number of samples I of input waveform data pattern). The coincidence determination unit 26 finds the minimum bit error rate (minimum BER) among the bit error rates BER (step 505). Thereafter, the coincidence determination unit 26 obtains an allowable maximum bit error rate BER max (I) determined by the number of samples I of the input waveform data pattern (step 506), and the minimum BER is the allowable maximum bit error rate BER max ( I) It is judged whether it is smaller (step 507).

以下、ビットエラーレートについて説明する。許容最大ビットエラーレートBERmax(I)は、受信するデータの数(入力波形データパターンのサンプル数)が大きくなる(つまり、データ長が大きくなる)のにしたがって大きくなる。つまり、データ長が大きくなるのにしたがって、エラーレートが大きくなっても、データの一致の信頼性は高くなる。 Hereinafter, the bit error rate will be described. The allowable maximum bit error rate BER max (I) increases as the number of received data (the number of samples of the input waveform data pattern) increases (that is, the data length increases). That is, as the data length increases, the reliability of data matching increases even if the error rate increases.

入力波形データパターンと予測波形データパターンの一致判定において、誤った一致判定を行なわないようにするには、偶然データが一致してしまう確率(エラーレート)を限りなく「0」に近づける必要がある。   In order to prevent erroneous match determination in the match determination between the input waveform data pattern and the predicted waveform data pattern, it is necessary to make the probability (error rate) of coincidence of data close to “0” as much as possible. .

電波時計10が、1日に24回標準時刻電波を受信し、それを100年繰り返しても1回しか間違わないとすると、誤一致の確率を、1/10^6程度=1/(24×365×100)に設定すれば良い。以下、誤一致の確率について、余裕をみて1/10^8を目標値と考える。   If the radio timepiece 10 receives the standard time radio wave 24 times a day and repeats it for 100 years and makes a mistake only once, the probability of mismatch is about 1/10 ^ 6 = 1 / (24 × 365 × 100). Hereinafter, regarding the probability of mismatch, 1/10 ^ 8 is considered as the target value with a margin.

Nビット(Nサンプル)の入力波形データパターン(サンプル値:「0」または「1」)が、偶然に予測波形データパターンと一致する確率は、「0」と「1」との出現確率が等しい場合には、以下のとおりとなる。
P0=P1=0.5 (P0:「0」が出現する確率、P1:「1」が出現する確率)
誤一致する確率を、P0^N<1/10^8とすると、N≧27となる。これは、27ビットのデータを受信して、Nビットの全てが予測波形データパターンと一致したとき信頼性を得られることになる。仮にビット数Nがこれより小さい場合には信頼性は得られないことを意味する。
The probability that the input waveform data pattern (sample value: “0” or “1”) of N bits (N samples) coincides with the predicted waveform data pattern by chance is the appearance probability of “0” and “1” are equal. In this case:
P0 = P1 = 0.5 (P0: probability that “0” appears, P1: probability that “1” appears)
If the probability of mismatch is P0 ^ N <1/10 ^ 8, then N ≧ 27. This means that reliability is obtained when 27 bits of data are received and all of the N bits match the predicted waveform data pattern. If the number of bits N is smaller than this, it means that reliability cannot be obtained.

実際には、「0」と「1」との出現確率は等しくない場合がある。すなわち、P0>P1というように、出現確率は偏ってしまう。このような場合、上記と同様の計算をすると
P0>P1となる。常識的に、最も出現確率が大きい数値は全Nビット「0」であり、誤一致する確率として最大である。また、その出現確率は、P0^Nとなる。
Actually, the appearance probabilities of “0” and “1” may not be equal. That is, the appearance probabilities are biased such that P0> P1. In such a case, P0> P1 when the same calculation as described above is performed. Commonly, the numerical value with the highest appearance probability is all N bits “0”, which is the maximum probability of mismatch. The appearance probability is P0 ^ N.

符号出現確率の偏りを、P0=0.55、P1=0.45と考えて、P0^N<1/10^8を解くと、N≧31となる。すなわち、P0=P1の例(N=27)と比較して、4ビット余分に受信しなければ信頼性が得られないことを意味する。   Considering the bias of the code appearance probability as P0 = 0.55 and P1 = 0.45, if P0 ^ N <1/10 ^ 8 is solved, N ≧ 31. That is, as compared with the example of P0 = P1 (N = 27), it means that reliability cannot be obtained unless an extra 4 bits are received.

Nビットの全てが一致する場合について説明した。しかしながら、弱電界時には、ノイズの影響で全てのビットが一致することは珍しい。このような一致しないビットが若干ある不完全一致でも、その出現頻度が1/10〜8以下となる解が1つであれば、それを一致と判定することが出来る。   The case where all of the N bits match has been described. However, in a weak electric field, it is rare that all bits match due to the influence of noise. Even if there is such an incomplete match with some unmatched bits, if there is one solution whose appearance frequency is 1/10 to 8 or less, it can be determined as a match.

入力波形データパターンがNビット(Nサンプル)で、予測波形データパターンと一致しないサンプル数(エラービット数)をeとすると、データの0/1の符号の列中で、入力波形データバターンと予測波形データパターンとが完全一致するものは1通り、不一致がe個存在する場合がCOMBIN(N,e)通り存在する。なお、COMBIN(N,e)は、N個からe個選ぶ組み合わせの数である。   If the input waveform data pattern is N bits (N samples) and e is the number of samples that do not match the predicted waveform data pattern (number of error bits), the input waveform data pattern is predicted in the 0/1 code string of the data. There are one pattern that completely matches the waveform data pattern, and there are COMMIN (N, e) cases where there are e mismatches. COMBIN (N, e) is the number of combinations selected from N to e.

Nがeに対して十分大きい(つまり、e<<N)とすれば、その不完全一致の個々の出現確率は、完全一致の出現確率にほぼ等しいとみなすことが出来る。P0>P1の下で、全ての不完全一致のうち最も大きい出現確率は、P0^N・COMBIN(N,e)となる。この値が、1/10^8以下であれば、不完全一致でも一致とみなすことができる。これは以下の式で表せる。
P0^N・COMBIN(N,e)<1/10^8
この式をe=1の場合をNについて解くと
N≧40となる。
If N is sufficiently larger than e (that is, e << N), the individual appearance probability of the incomplete match can be regarded as being almost equal to the appearance probability of the complete match. Under P0> P1, the highest appearance probability among all incomplete matches is P0 ^ N · COMBIN (N, e). If this value is 1/10 ^ 8 or less, even an incomplete match can be regarded as a match. This can be expressed as:
P0 ^ N · COMBIN (N, e) <1/10 ^ 8
When this equation is solved for N when e = 1, N ≧ 40.

同様に、e=10、21、31、42について演算すると以下のような結果が得られる。
e=10 N≧80 BER=0.125
e=21 N≧120 BER=0.175
e=31 N≧160 BER=0.194
e=42 N≧200 BER=0.21
このように受信ビット数Nに応じて、信頼性を確保するために必要な許容エラービット数eは変化することがわかる。
Similarly, the following results are obtained by calculating for e = 10, 21, 31, 42.
e = 10 N ≧ 80 BER = 0.125
e = 21 N ≧ 120 BER = 0.175
e = 31 N ≧ 160 BER = 0.194
e = 42 N ≧ 200 BER = 0.21
Thus, it can be seen that the allowable error bit number e required for ensuring reliability changes according to the reception bit number N.

一般に、Nが大きくなるに従って、eは大きくなるので、この特性を利用すれば、BERが悪くて時刻修正が出来ない場合でも、受信時間を長くし、ビット数(サンプル値の数)Nを大きくすれば、時刻修正が出来る可能性が高い。   In general, as N increases, e increases, so if this characteristic is used, the reception time is lengthened and the number of bits (number of sample values) N is increased even when the time cannot be adjusted due to poor BER. If so, there is a high possibility that the time can be corrected.

本実施の形態では、入力波形データのサンプル数の範囲ごとに、たとえば、図9に示すような許容最大BERテーブルを備える。一致判定部26は、入力波形データパターンのサンプル数Iに応じて、対応するBERmax(I)を取得することができる(ステップ506)。 In the present embodiment, for each range of the number of samples of input waveform data, for example, an allowable maximum BER table as shown in FIG. 9 is provided. The coincidence determination unit 26 can acquire the corresponding BER max (I) according to the number of samples I of the input waveform data pattern (step 506).

一致判定部26は、ステップ505で取得した最小BERと、ステップ506で取得したBERmax(I)とを比較して、最小BER<BERmax(I)であるかを判断する(ステップ507)。ステップ507でYesと判断された場合には、一致判定部26は、修正情報として修正成功を示す情報、および、最小BERを示した予測波形データパターンの情報(BTとのずれを示す情報)をCPU11に出力する(ステップ508)。 The coincidence determination unit 26 compares the minimum BER acquired in step 505 with the BER max (I) acquired in step 506, and determines whether or not the minimum BER <BER max (I) is satisfied (step 507). If it is determined Yes in step 507, the coincidence determination unit 26 uses correction information as information indicating successful correction and information on the predicted waveform data pattern indicating the minimum BER (information indicating a deviation from BT). The data is output to the CPU 11 (step 508).

ベースタイムBTとのずれ時間ΔTは以下のように表される。   The deviation time ΔT from the base time BT is expressed as follows.

ΔT=BT+s−(BT+Δt)=s−Δt
ここに、sは、予測波形データパターンの先頭の符号データにおけるベースタイムBTとのずれの時間である。
ΔT = BT + s− (BT + Δt) = s−Δt
Here, s is the time of deviation from the base time BT in the first code data of the predicted waveform data pattern.

ステップ507でNoと判断された場合には、一致判定部26は、修正情報として修正失敗を示す情報をCPU11に出力する(ステップ509)。CPU11は、修正情報として修正成功を受けた場合には(ステップ406でYes)、ベースタイムBTを、最終修正時刻TlastとしてRAM15に格納する(ステップ407)。また、ベースタイムBTとのずれ時間ΔTに基づいて、ベースタイムBTを修正する(ステップ408)。ステップ408においては、CPU11は、内部計時回路17の時刻を修正することに加え、修正された現在時刻を表示部13に表示する。   When it is determined No in step 507, the coincidence determination unit 26 outputs information indicating a correction failure to the CPU 11 as correction information (step 509). When the CPU 11 receives the correction success as the correction information (Yes in Step 406), the CPU 11 stores the base time BT in the RAM 15 as the final correction time Tlast (Step 407). Further, the base time BT is corrected based on the deviation time ΔT from the base time BT (step 408). In step 408, the CPU 11 displays the corrected current time on the display unit 13 in addition to correcting the time of the internal clock circuit 17.

ステップ402でNo、或いは、ステップ404でNoと判断された場合には、CPU11は、従来の周知の手法で分先頭位置を検出し(ステップ409)、かつ、分先頭位置から1秒毎の符号を特定して、分、時、曜日などをデコードして現在時刻を得る(ステップ410)。   If it is determined NO in step 402 or NO in step 404, the CPU 11 detects the minute start position by a conventional well-known method (step 409), and codes every second from the minute start position. The current time is obtained by decoding minutes, hours, days of the week, etc. (step 410).

本実施の形態によれば、波形切り出し部24は、秒先頭位置から、前記標準電波の信号を、所定のサンプリング周期でサンプリングして、各サンプル点のサンプル値が、ローレベルを示す第1の値およびハイレベルを示す第2の値の何れかをとり、かつ、1以上の単位時間長を有する入力波形データパターンを生成する。また、予測波形データパターン生成部23は、各サンプル点のサンプル値が、第1の値および第2の値の何れかをとり、入力波形データパターンと同一の時間長を有し、それぞれが、内部計時回路17により計時されたベースタイムBTに基づく符号の列を表し、かつ、その先頭位置が、ベースタイムBTおよび当該ベースタイム前後所定の秒数(±ΔS)だけずらされた時刻となるような複数の予測波形データパターンを生成する。エラー検出部25は、入力波形データパターンのサンプル値と、予測波形データパターンのサンプル値との一致・不一致を判断し、不一致を示すエラー数を計数し、複数の予測波形データパターンのそれぞれについてのエラー数を取得し、一致判定部26は、最小値のエラー数を示す予測波形データパターンの先頭位置に基づいて、ベースタイムBTの誤差を算出する。CPU11は、現在時刻修正手段により前記ベースタイムが修正された時刻と現在のベースタイムとの時間差、および、予め定められた計時精度に基づいて、所定の秒数を決定し、生成すべき予測波形データパターンの数を決定する。したがって、本実施の形態によれば、前回からの修正からの時間間隔に基づいて予測波形データパターンの数が決定され、多数の予測波形データパターンの生成による処理時間の増大を避けることができる。   According to the present embodiment, the waveform cutout unit 24 samples the signal of the standard radio wave at a predetermined sampling period from the second leading position, and the sample value at each sample point indicates a low level. An input waveform data pattern that takes one of the value and the second value indicating the high level and has one or more unit time lengths is generated. In addition, the predicted waveform data pattern generation unit 23 takes either the first value or the second value as the sample value of each sample point, and has the same time length as the input waveform data pattern. It represents a sequence of codes based on the base time BT timed by the internal time measuring circuit 17, and the start position thereof is a time shifted by the base time BT and a predetermined number of seconds (± ΔS) before and after the base time. A plurality of predicted waveform data patterns are generated. The error detection unit 25 determines whether the sample value of the input waveform data pattern matches the sample value of the predicted waveform data pattern, counts the number of errors indicating the mismatch, and determines each of the plurality of predicted waveform data patterns. The number of errors is acquired, and the coincidence determination unit 26 calculates an error in the base time BT based on the head position of the predicted waveform data pattern indicating the minimum number of errors. The CPU 11 determines a predetermined number of seconds based on the time difference between the time when the base time is corrected by the current time correction means and the current base time, and a predetermined timing accuracy, and a predicted waveform to be generated. Determine the number of data patterns. Therefore, according to the present embodiment, the number of predicted waveform data patterns is determined based on the time interval from the previous correction, and an increase in processing time due to the generation of a large number of predicted waveform data patterns can be avoided.

また、本実施の形態においては、生成される入力波形データパターンは、符号ごとに1つのサンプル値を有する。入力波形データ生成部21および波形切り出し部24は、当該サンプル値の取得において、符号ごとに、複数の時間的に異なる位置のデータ値を取得し、当該複数のデータ値に基づいて、当該符号についてのサンプル値を決定する。これにより、入力波形データパターンのデータ長を短くすることができ、処理時間をより短縮することができる。   In the present embodiment, the generated input waveform data pattern has one sample value for each code. In the acquisition of the sample value, the input waveform data generation unit 21 and the waveform cutout unit 24 acquire data values at a plurality of temporally different positions for each code, and about the code based on the plurality of data values Determine the sample value of. Thereby, the data length of the input waveform data pattern can be shortened, and the processing time can be further shortened.

本実施の形態において、一致検出部26は、エラー数の最小値が、サンプル数に対応して予め定められた許容最大エラー数より小さいときに、当該最小値のエラー数を示す予測波形データパターンの先頭位置に基づいて、ベースタイムの誤差を取得する。これにより、誤検出の可能性を著しく小さくすることができる。   In the present embodiment, the coincidence detection unit 26, when the minimum value of the number of errors is smaller than an allowable maximum number of errors determined in advance corresponding to the number of samples, predictive waveform data pattern indicating the number of errors of the minimum value The base time error is acquired based on the head position of the. Thereby, the possibility of erroneous detection can be significantly reduced.

また、本実施の形態において、CPU11は、受信された標準時刻電波の受信強度が小さくなるのにしたがって、サンプル値の個数が増大するように決定し、決定されたサンプル値の個数にしたがって、入力波形データパターンが生成される。したがって、受信強度に応じた最適なデータ長の入力波形データパターンおよび予測波形データパターンを生成することができる。   Further, in the present embodiment, the CPU 11 determines that the number of sample values increases as the received intensity of the received standard time radio wave decreases, and inputs according to the determined number of sample values. A waveform data pattern is generated. Therefore, it is possible to generate an input waveform data pattern and a predicted waveform data pattern having an optimal data length according to the reception intensity.

さらに、本実施の形態において、CPU11は、時間差および計時精度に基づき、想定される最大誤差ΔSを算出し、予測波形データパターン生成部23は、先頭位置が、最大誤差の範囲内(±ΔS)となるような複数の予測波形データパターンを生成する。これにより、精度の良さを維持しつつ、予測波形データパターンの数を最小限とすることが可能となる。   Further, in the present embodiment, the CPU 11 calculates the assumed maximum error ΔS based on the time difference and the timing accuracy, and the predicted waveform data pattern generation unit 23 has a head position within the range of the maximum error (± ΔS). A plurality of predicted waveform data patterns are generated as follows. As a result, it is possible to minimize the number of predicted waveform data patterns while maintaining good accuracy.

次に、本発明の第2の実施の形態について説明する。第1の実施の形態では、符号毎(1秒毎)に1つの値を示す入力波形データのサンプル値D(n)を得て、N秒分の入力波形データパターンを生成していた(図6参照)。予測波形データパターンも、入力波形データパターンと同様に秒毎のサンプル値P(n)をN秒分備えていた。第2の実施の形態においては、1つの符号を複数の区間(4つの区間)に分割して、各区間の値を取得して、1秒分の入力波形データを取得している。すなわち、1秒分の入力波形データは、4つのサンプル値から構成される。さらに、入力波形データパターン中の入力波形データと、予測波形データパターン中の予測波形データとの比較およびエラー数の検出においても、特定の区間のサンプル値の比較結果のみが有効値として使用される。   Next, a second embodiment of the present invention will be described. In the first embodiment, a sample value D (n) of input waveform data indicating one value is obtained for each code (every 1 second), and an input waveform data pattern for N seconds is generated (FIG. 6). Similarly to the input waveform data pattern, the predicted waveform data pattern also has sample values P (n) per second for N seconds. In the second embodiment, one code is divided into a plurality of sections (four sections), the value of each section is acquired, and input waveform data for one second is acquired. That is, the input waveform data for one second is composed of four sample values. Further, in comparison between input waveform data in the input waveform data pattern and predicted waveform data in the predicted waveform data pattern and detection of the number of errors, only a comparison result of sample values in a specific section is used as an effective value. .

図10は、第2の実施の形態にかかる信号比較回路18の構成を示すブロックダイヤグラムである。図10に示すように、第2の実施の形態にかかる信号比較回路18は、入力波形データ生成部21、受信波形データバッファ22、予測波形データパターン生成部23、波形切り出し部24、エラー検出部25、一致判定部26、秒同期実行部27および有効値取得部28を有する。   FIG. 10 is a block diagram showing the configuration of the signal comparison circuit 18 according to the second embodiment. As shown in FIG. 10, the signal comparison circuit 18 according to the second embodiment includes an input waveform data generation unit 21, a received waveform data buffer 22, a predicted waveform data pattern generation unit 23, a waveform cutout unit 24, and an error detection unit. 25, a coincidence determination unit 26, a second synchronization execution unit 27, and an effective value acquisition unit 28.

有効値取得部28は、後述する入力波形データパターンと予測波形データパターンとの比較結果(エラー検出)のうち、有効なもののみを取得して、エラー数を累算する。有効値取得部28の動作については後に詳述する。   The valid value acquisition unit 28 acquires only valid ones of comparison results (error detection) between an input waveform data pattern and a predicted waveform data pattern, which will be described later, and accumulates the number of errors. The operation of the valid value acquisition unit 28 will be described in detail later.

図11は、JJYの符号、および、本実施の形態における1秒分の入力波形データのデータ構成例を示す図である。前述したように、JJYにおいては、1秒の単位時間長の「P」、「1」および「0」を示す符号が含まれる。ここで、符号の先頭の200msの区間(第1の区間)では、全ての符号でハイレベル(値「1」)を示す。引き続く300msの区間(第2の区間:200ms〜500ms)では、符号「P」のみがローレベル(値「0」)を示す。さらに、次に300msの区間(第3の区間:500ms〜800ms)では、符号「0」のみがハイレベル(値「1」)で他の符号「1」および「P」はローレベル(値「0」)を示す。最後の200msの区間(第4の区間:800ms〜1000ms)では、全ての符号でローレベル(値「0」)を示す。そこで、本実施の形態においては1つの符号に対応する(1秒分の)入力波形データ(符号1100)は、上記第1の区間〜第4の区間のそれぞれにおけるサンプル値D(0,n)、D(1,n)、D(2,n)およびD(3,n)から構成される(符号1101から1104参照)。   FIG. 11 is a diagram illustrating a data configuration example of JJY code and input waveform data for one second in the present embodiment. As described above, JJY includes codes indicating “P”, “1”, and “0” having a unit time length of 1 second. Here, in the first 200 ms section (first section) of the code, all the codes indicate a high level (value “1”). In the subsequent 300 ms section (second section: 200 ms to 500 ms), only the symbol “P” indicates a low level (value “0”). Further, in the next 300 ms section (third section: 500 ms to 800 ms), only the code “0” is high level (value “1”) and the other codes “1” and “P” are low level (value “1”). 0 "). In the last 200 ms section (fourth section: 800 ms to 1000 ms), all codes indicate a low level (value “0”). Therefore, in this embodiment, the input waveform data (1100) corresponding to one code (for 1 second) is the sample value D (0, n) in each of the first to fourth intervals. , D (1, n), D (2, n) and D (3, n) (see reference numerals 1101 to 1104).

同様に、予測波形データも、1つの符号に対応する予測波形データは、サンプル値P(0,p)、P(1,p)、P(2,p)およびP(3,p)から構成される。   Similarly, the predicted waveform data corresponding to one code is composed of sample values P (0, p), P (1, p), P (2, p) and P (3, p). Is done.

第2の実施の形態にかかる入力波形データ生成部21は、所定のサンプリング間隔(たとえば、1秒あたり64サンプル)で、受信回路16から出力された信号を、所定のサンプリング間隔で、その値が複数の値(「1」または「0」)のうちの何れかをとるようなディジタルデータに変換する。さらに、秒同期が終了した後、入力波形データ生成部21は、1秒につき64サンプルある入力波形データのうち、第1の区間として第2サンプル〜第12サンプルの値を取得して、値「1」或いは値「0」の何れかが多いかによって、第1の区間のサンプル値D(0,n)を決定する。同様に、入力波形データ生成部21は、第2の区間〜第4の区間として、それぞれ、第14サンプル〜第30サンプル、第33サンプル〜第51サンプル、第53サンプル〜第63サンプルの値に基づき、第2の区間〜第4の区間のサンプル値D(1,n)、D(2,n)、D(3,n)を決定する。   The input waveform data generation unit 21 according to the second embodiment receives a signal output from the receiving circuit 16 at a predetermined sampling interval (for example, 64 samples per second), and the value is set at a predetermined sampling interval. It is converted into digital data that takes one of a plurality of values (“1” or “0”). Further, after the second synchronization is completed, the input waveform data generation unit 21 acquires the values of the second sample to the twelfth sample as the first interval from the input waveform data having 64 samples per second, and the value “ The sample value D (0, n) of the first section is determined depending on whether there is a larger value of “1” or “0”. Similarly, the input waveform data generation unit 21 sets the values of the 14th sample to the 30th sample, the 33rd sample to the 51st sample, and the 53rd sample to the 63rd sample as the second interval to the fourth interval, respectively. Based on this, sample values D (1, n), D (2, n), and D (3, n) for the second to fourth intervals are determined.

第2の実施の形態においても、図4と同様の処理が実行される。ステップ404でYesと判断された場合には、CPU11等は、本実施の形態にかかる複数の予測波形データパターンを用いた時刻取得処理が実行される(ステップ405)。図12は、第2の実施の形態にかかるステップ405をより詳細に示すフローチャートである。   Also in the second embodiment, the same processing as in FIG. 4 is executed. When it is determined Yes in step 404, the CPU 11 or the like executes time acquisition processing using a plurality of predicted waveform data patterns according to the present embodiment (step 405). FIG. 12 is a flowchart showing in more detail step 405 according to the second embodiment.

信号比較回路18の波形切り出し部24は、受信波形データバッファ22から入力波形データを読み出して、秒同期に基づく秒先頭位置Now+Δtから、所定秒数の時間長を有する入力波形データパターンDPを生成する。図13に示す例では、4秒分の入力波形データパターンが示されている。この入力波形データパターンは、最初の符号データを構成するサンプル値D(0、0)〜D(3,0)、2番目の符号データを構成するサンプル値D(0,1)〜D(3,1)、3番目の符号データを構成するサンプル値D(0,2)〜D(3,2)および4番目の符号データを構成するサンプル値D(0,3)〜D(3,3)を含む。   The waveform cutout unit 24 of the signal comparison circuit 18 reads the input waveform data from the received waveform data buffer 22 and generates an input waveform data pattern DP having a time length of a predetermined number of seconds from the second head position Now + Δt based on the second synchronization. . In the example shown in FIG. 13, an input waveform data pattern for 4 seconds is shown. This input waveform data pattern includes sample values D (0, 0) to D (3, 0) constituting the first code data, and sample values D (0, 1) to D (3) constituting the second code data. , 1) Sample values D (0, 2) to D (3, 2) constituting the third code data and sample values D (0, 3) to D (3, 3 constituting the fourth code data )including.

また、予測波形データパターン生成部23も、ベースタイムBTに基づく処理開始時刻Nowを中心にして、前後にΔSの範囲で開始時刻がずれた複数の予測波形データパターンを生成する(ステップ1202)。図13に示す例では、第1の実施の形態と同様にΔS=−2〜2として、5つの予測波形データパターンPP(0)〜PP(4)が生成されている。   The predicted waveform data pattern generation unit 23 also generates a plurality of predicted waveform data patterns whose start times are shifted in the range of ΔS before and after the process start time Now based on the base time BT (step 1202). In the example illustrated in FIG. 13, five predicted waveform data patterns PP (0) to PP (4) are generated with ΔS = −2 to 2 as in the first embodiment.

第1の予測波形データパターンPP(0)では、ΔS=−2、つまり、パターンの開始時刻がNow−2であり、第1の予測波形データパターンPP(0)最初の符号データを構成する第1〜第4のサンプル値P(0,−2)、P(1,−2)、P(2,−2)、P(3,−2)、2番目の符号データを構成する第1〜第4のサンプル値P(0,−1)、P(1,−1)、P(2,−1)、P(3,−1)、3番目の符号データを構成する第1〜第4のサンプル値P(0,0)、P(1,0)、P(2,0)、P(3,0)、および、第4の符号データを構成する第1〜第4のサンプル値P(0,1)、P(1,1)、P(2,1)、P(3,1)を含む。   In the first predicted waveform data pattern PP (0), ΔS = −2, that is, the pattern start time is Now−2, and the first code data constituting the first code data of the first predicted waveform data pattern PP (0) is formed. 1st to 4th sample values P (0, -2), P (1, -2), P (2, -2), P (3, -2), 1st to 1st constituting the second code data 4th sample value P (0, -1), P (1, -1), P (2, -1), P (3, -1), 1st-4th which comprises the 3rd code data. Sample values P (0,0), P (1,0), P (2,0), P (3,0), and first to fourth sample values P constituting the fourth code data (0,1), P (1,1), P (2,1), P (3,1).

同様に、第2の予測波形データパターンPP(1)では、ΔS=−1であり、パターンの開始時刻がNow−1である。第3の予測波形データパターンPP(2)では、ΔS=0であり、パターンの開始時刻がNowであり、第4の予測波形データパターンデータPP(3)では、ΔS=1であり、パターンの開始時刻がNow+1であり、第5の予測波形データパターンデータPP(4)では、パターンの開始時刻がNow+2である。   Similarly, in the second predicted waveform data pattern PP (1), ΔS = −1 and the pattern start time is Now−1. In the third predicted waveform data pattern PP (2), ΔS = 0, the start time of the pattern is Now, and in the fourth predicted waveform data pattern data PP (3), ΔS = 1, The start time is Now + 1, and in the fifth predicted waveform data pattern data PP (4), the pattern start time is Now + 2.

次いで、エラー検出部25は、入力波形データパターンDPと、複数の予測波形データパターンのそれぞれと、対応する符号を比較して、符号の不一致に相当するエラー数を算出する(ステップ1203)。図13の例においては、入力波形データパターンDPと、予測波形データパターンPP(0)〜PP(4)のそれぞれとが比較される。   Next, the error detection unit 25 compares the input waveform data pattern DP and each of the plurality of predicted waveform data patterns with the corresponding codes, and calculates the number of errors corresponding to the code mismatch (step 1203). In the example of FIG. 13, the input waveform data pattern DP is compared with each of the predicted waveform data patterns PP (0) to PP (4).

本実施の形態においては、入力波形データパターンの1秒分の入力波形データは、4つのサンプル値を有し、同様に、予測波形データパターンの1秒分の予測波形データは、4つのサンプル値を有する。したがって、1秒あたり、対応する4組のサンプル値について値の一致・不一致が検出される。   In the present embodiment, the input waveform data for one second of the input waveform data pattern has four sample values. Similarly, the predicted waveform data for one second of the predicted waveform data pattern has four sample values. Have Accordingly, a value match / mismatch is detected for the corresponding four sets of sample values per second.

たとえば、図13において、入力波形データパターンの最初の符号データD(0,0)〜D(3,0)と、予測波形データパターンPP(0)の最初の符号データP(0,−2)〜P(3,−2)とを考えると、D(0,0)とP(0,−2)、D(1,0)とP(1,−2)、D(2,0)とP(2,−2)、D(3,0)とP(3,−2)とが、それぞれ比較され、一致、不一致が検出される。   For example, in FIG. 13, the first code data D (0,0) to D (3,0) of the input waveform data pattern and the first code data P (0, -2) of the predicted waveform data pattern PP (0). ~ P (3, -2), D (0,0) and P (0, -2), D (1,0) and P (1, -2), D (2,0) and P (2, -2), D (3, 0) and P (3, -2) are respectively compared, and a match or mismatch is detected.

不一致のときのエラー数は「1」となり、エラー検出部25は、第1のサンプル値〜第4のサンプル値のそれぞれのエラー数を累算していく。図13の例について、入力波形データパターンと、予測波形データパターンPP(0)との間では、第1の区間のエラー数(D(0,s)(s=0〜3)とP(0,t)(t=−2〜1)のそれぞれのエラー数の総計)であるE(0,0)(図14の符号1401参照)、第2の区間のエラー数(D(1,s)(s=0〜3)とP(1,t)(t=−2〜1)のそれぞれのエラー数の総計)であるE(0,1)(図14の符号1402参照)、第3の区間のエラー数((D(2,s)(s=0〜3)とP(2,t)(t=−2〜1)のそれぞれのエラー数の総計)であるE(0,2)(図14の符号1403参照)、および、第4の区間のエラー数(D(3,s)(s=0〜3)とP(3,t)(t=−2〜1)のそれぞれのエラー数の総計)であるE(0,3)(図14の符号1404参照)が得られる。図14に示すように、他の予測波形データパターンPP(1)〜PP(4)についても同様に、第1の区間〜第4の区間のそれぞれについてのエラー数が取得される。   The number of errors when there is a mismatch is “1”, and the error detection unit 25 accumulates the number of errors of each of the first sample value to the fourth sample value. In the example of FIG. 13, between the input waveform data pattern and the predicted waveform data pattern PP (0), the number of errors (D (0, s) (s = 0 to 3) and P (0 , T) (the total number of errors of t = −2 to 1), which is E (0, 0) (see reference numeral 1401 in FIG. 14), the number of errors in the second section (D (1, s)) E (0, 1) (see reference numeral 1402 in FIG. 14), which is (the total number of errors of s = 0 to 3) and P (1, t) (t = −2 to 1), E (0,2) which is the number of errors in the section (the sum of the number of errors in each of (D (2, s) (s = 0 to 3) and P (2, t) (t = -2 to 1)) (Refer to reference numeral 1403 in FIG. 14) and the number of errors in the fourth section (D (3, s) (s = 0 to 3) and P (3, t) (t = −2 to 1) Total number of errors E (0, 3) (see reference numeral 1404 in Fig. 14) is obtained, as shown in Fig. 14, the other predicted waveform data patterns PP (1) to PP (4) are also in the same manner. The number of errors for each of the section to the fourth section is acquired.

図11に示すように、第1の区間は、符号「0」、「1」および「P」のいずれにおいても、値「1」をとる。また、第4の区間は、符号「0」、「1」および「P」の何れにおいても、値「0」をとる。その一方、第2の区間では、符号「P」は他の符号と異なる値をとり、また、第3の区間では、符号「0」が他の符号と異なる値をとる。したがって、第2の区間および第3の区間の値を参照することにより、符号の特定は可能である。   As shown in FIG. 11, the first section takes the value “1” in any of the signs “0”, “1”, and “P”. Further, the fourth section takes the value “0” in any of the codes “0”, “1”, and “P”. On the other hand, in the second section, the code “P” takes a value different from the other codes, and in the third section, the code “0” takes a value different from the other codes. Therefore, the code can be specified by referring to the values of the second and third intervals.

第2の実施の形態においては、有効値取得部28が、予測波形データパターンのそれぞれについて、第2の区間および第3の区間のエラー数の総計を有効値として、第2の区間および第3の区間のエラー数の総計を加算して、この加算結果をエラー数の最終的な総計とする(ステップ1204、図14の符号1410参照)。   In the second embodiment, the valid value acquisition unit 28 uses the total number of errors in the second section and the third section as a valid value for each of the predicted waveform data patterns. The total number of errors in the interval is added, and this addition result is used as the final total number of errors (see step 1204, reference numeral 1410 in FIG. 14).

一致判定部26は、上記複数の予測波形データパターンのそれぞれについて算出されたエラー数(エラー数の最終的な総計)に基づき、複数の予測波形データパターンのそれぞれに対応するビットエラーレート(BER)を算出する(ステップ1205)。ビットエラーレート(BER)は、第1の実施の形態と同様に、(エラー数の最終的な総計)/(サンプル値の数I)を演算することにより求めることができる。一致判定部26は、ビットエラーレートBERのうちの最小ビットエラーレート(最小BER)を見出す(ステップ1206)。その後、一致判定部26は、受信した符号データ数Iにより決定される許容最大ビットエラーレートBERmax(I)を取得し(ステップ1207)、最小BERが、許容最大ビットエラーレートBERmax(I)より小さいかを判断する(ステップ1208)。 The coincidence determination unit 26, based on the number of errors calculated for each of the plurality of predicted waveform data patterns (final sum of the number of errors), a bit error rate (BER) corresponding to each of the plurality of predicted waveform data patterns. Is calculated (step 1205). The bit error rate (BER) can be obtained by calculating (final sum of the number of errors) / (number of sample values I) as in the first embodiment. The coincidence determination unit 26 finds the minimum bit error rate (minimum BER) among the bit error rates BER (step 1206). Thereafter, the coincidence determination unit 26 obtains the allowable maximum bit error rate BER max (I) determined by the received code data number I (step 1207), and the minimum BER is the allowable maximum bit error rate BER max (I). It is determined whether it is smaller (step 1208).

ステップ1208でYesと判断された場合には、一致判定部26は、修正情報として修正成功を示す情報、および、最小BERを示した予測波形データパターンの情報(BTとのずれを示す情報)をCPU11に出力する(ステップ1209)。ステップ1208でNoと判断された場合には、一致判定部26は、修正情報として修正失敗を示す情報をCPU11に出力する(ステップ1210)。   When it is determined Yes in step 1208, the coincidence determination unit 26 uses correction information as information indicating successful correction and information on the predicted waveform data pattern indicating the minimum BER (information indicating a deviation from BT). It outputs to CPU11 (step 1209). When it is determined No in step 1208, the coincidence determination unit 26 outputs information indicating a correction failure to the CPU 11 as correction information (step 1210).

第2の実施の形態によれば、第1の実施の形態よりも1秒(1符号)あたりのサンプル値の比較の数が増大して(4倍になって)いる。したがって、受信するサンプル数について考えると、第1の実施の形態と比較して4倍のデータを受信していることと等価である。したがって、第1の実施の形態よりも、さらに受信時間を短く(1/4程度)にすることが可能となる。   According to the second embodiment, the number of sample value comparisons per second (one code) is increased (four times) as compared with the first embodiment. Therefore, considering the number of samples to be received, it is equivalent to receiving four times as much data as in the first embodiment. Therefore, the reception time can be further shortened (about 1/4) as compared with the first embodiment.

受信ビット数(サンプル数)をN、許容されるエラービット数をeとする。また、第1の実施の形態と同様に、符号出現確率の偏りを、P0=0.55、P1=0.45と考える。誤一致の確率も、第1の実施の形態と同様に、1/10^8とする。この条件で、P0^N・COMBIN(N,e)<1/10^8をeについて解き、許容されるエラービット数e、および、そのときのBERを演算した。   The number of received bits (number of samples) is N, and the number of allowable error bits is e. Similarly to the first embodiment, the bias of the code appearance probability is considered as P0 = 0.55 and P1 = 0.45. The probability of mismatch is also 1/10 ^ 8, as in the first embodiment. Under this condition, P0 ^ N · COMBIN (N, e) <1/10 ^ 8 was solved for e, and the allowable number of error bits e and the BER at that time were calculated.

以下、受信ビット数(サンプル数)をN、そのときの受信秒数をSと表している。   Hereinafter, the number of received bits (number of samples) is represented as N, and the number of received seconds is represented as S.

S=10 N=40 e=1 BER=0.1
S=20 N=80 e=10 BER=0.125
S=30 N=120 e=21 BER=0.175
S=40 N=160 e=31 BER=0.194
S=50 N=200 e=42 BER=0.210
S=60 N=240 e=53 BER=0.221
S=90 N=360 e=87 BER=0.242
第1の実施の形態と比較すると第1の実施の形態の1/4の受信時間で、同様の許容されるBERを得られることが理解される。
S = 10 N = 40 e = 1 BER = 0.1
S = 20 N = 80 e = 10 BER = 0.125
S = 30 N = 120 e = 21 BER = 0.175
S = 40 N = 160 e = 31 BER = 0.194
S = 50 N = 200 e = 42 BER = 0.210
S = 60 N = 240 e = 53 BER = 0.221
S = 90 N = 360 e = 87 BER = 0.242
Compared to the first embodiment, it is understood that the same allowable BER can be obtained with the reception time of ¼ that of the first embodiment.

本発明は、以上の実施の形態に限定されることなく、特許請求の範囲に記載された発明の範囲内で、種々の変更が可能であり、それらも本発明の範囲内に包含されるものであることは言うまでもない。   The present invention is not limited to the above embodiments, and various modifications can be made within the scope of the invention described in the claims, and these are also included in the scope of the present invention. Needless to say.

たとえば、第1の実施の形態および第2の実施の形態において、得られた最小BERが、許容最大ビットエラーBERmax(I)以上であった場合に、修正は失敗したと判断される(ステップ1208、1210参照)。この場合に、再度、ステップ405を実行しても良い。再度のステップ405の実行においては、入力波形データパターンの秒数(つまり符号数)を、先のステップ405において生成した入力波形データパターンの秒数より、大きくする。受信時間を長くし、ビット数(サンプル値の数)Nを大きくすることにより、時刻修正が出来る可能性が高くなる。 For example, in the first and second embodiments, if the obtained minimum BER is equal to or greater than the maximum allowable bit error BER max (I), it is determined that the correction has failed (step 1208, 1210). In this case, step 405 may be executed again. In the execution of step 405 again, the number of seconds (that is, the number of codes) of the input waveform data pattern is made larger than the number of seconds of the input waveform data pattern generated in the previous step 405. Increasing the reception time and increasing the number of bits (number of sample values) N increases the possibility of time correction.

また、第1の実施の形態および第2の実施の形態においては、最小BERと、許容最大ビットエラーBERmax(I)とを比較しているが、これに限定されず、他の手法を採用することも可能である。   In the first embodiment and the second embodiment, the minimum BER and the allowable maximum bit error BERmax (I) are compared. However, the present invention is not limited to this, and other methods are adopted. It is also possible.

たとえば、受信された標準時刻電波の信号にノイズが含まれていなければ、入力波形データパターンと、修正すべき時刻に対応する予測波形データパターンとのエラー数は「0」(つまり、ビットエラーレートBERも「0」)となる。たとえば、予測波形データパターンについてのエラー数を例示した図15においては、実線のグラフが、標準時刻電波の受信状況が良好なときの予測波形データパターンPPのそれぞれについてのエラー数を示す。このように、受信状況が良好であり、信号中にノイズが含まれていなければ、予測波形データパターンPP(3)について、エラー数が「0」となり、予測波形データパターンPP(3)が、入力波形データパターンと一致するパターンであると判断することができる。   For example, if the received standard time signal does not contain noise, the number of errors between the input waveform data pattern and the predicted waveform data pattern corresponding to the time to be corrected is “0” (that is, the bit error rate). BER is also “0”). For example, in FIG. 15 exemplifying the number of errors for the predicted waveform data pattern, a solid line graph indicates the number of errors for each predicted waveform data pattern PP when the reception status of the standard time radio wave is good. Thus, if the reception condition is good and the noise is not included in the signal, the number of errors becomes “0” for the predicted waveform data pattern PP (3), and the predicted waveform data pattern PP (3) It can be determined that the pattern matches the input waveform data pattern.

しかしながら、実際には、標準時刻電波の信号にはノイズが含まれるため、エラー数(およびビットエラーレートBER)は、「0」より大きい値をとり、ノイズが増大するのにしたがって、エラー数(およびビットエラーレートBER)も増大する(図15の破線参照)。   However, in practice, since the standard time radio signal includes noise, the number of errors (and the bit error rate BER) takes a value larger than “0”, and as the noise increases, the number of errors ( And the bit error rate BER) also increases (see the broken line in FIG. 15).

図16(a)、(b)は、それぞれ、予測波形データパターンとエラー数との対応を示す他のグラフの例である。図16(a)、(b)に示す例において、エラー数の小さいものから、順に、E1、E2、・・・と番号が付されている。図16(a)に示すように、エラー数の最小値E1と、2番目に小さい値E2とが比較的接近している場合には、E1とE2が著しく離間している場合(図16(b)参照)と比較すると、最小値E1を示した予測波形データパターンPP(j)を、入力波形データパターンと一致していると判断するのが望ましくない可能性もある。   FIGS. 16A and 16B are examples of other graphs showing the correspondence between the predicted waveform data pattern and the number of errors, respectively. In the example shown in FIGS. 16A and 16B, numbers E1, E2,... Are assigned in order from the smallest error number. As shown in FIG. 16A, when the minimum value E1 of the number of errors is relatively close to the second smallest value E2, E1 and E2 are significantly separated (FIG. 16 ( Compared with b), it may be undesirable to determine that the predicted waveform data pattern PP (j) indicating the minimum value E1 matches the input waveform data pattern.

そこで、この実施の形態においては、エラー数の最小値E1および2番目に小さい値E2とが、所定よりも離間している場合には、最小値E1に信頼性があると判断している。所定よりも離間しているかを判断するために、2番目に小さい値E2の下限を、エラー率Pd、サンプル数Nおよびエラー数の最小値E1に基づき決定している。   Therefore, in this embodiment, when the minimum value E1 of the number of errors and the second smallest value E2 are separated from each other by a predetermined value, it is determined that the minimum value E1 is reliable. In order to determine whether the distance is greater than the predetermined value, the lower limit of the second smallest value E2 is determined based on the error rate Pd, the number of samples N, and the minimum value E1 of the number of errors.

エラー数の最小値E1が、一致点(つまり、入力波形データパターンと一致するポイント)ではないことを示すエラー率をPとすると、Pは、上記N、E1およびE2の関数として表すことができる。   If the error rate indicating that the minimum value E1 of the number of errors is not a coincidence point (that is, a point that coincides with the input waveform data pattern) is P, P can be expressed as a function of N, E1, and E2. .

P=f(N,E1,E2)
より具体的には、たとえば、以下の式により表すことができる。
P = f (N, E1, E2)
More specifically, for example, it can be expressed by the following formula.

Figure 0005012947
ただし、N>0、E1<E2
上記エラー率Pを用いて、当該エラー率P(=f(N,E1,E2))が、判定基準値Pd(たとえば、Pd=1e−8)より小さい場合、つまり、
f(N,E1,E2)<Pdである場合には、エラー数E1を一致点とすることの信頼性が十分あると判断する。
Figure 0005012947
However, N> 0, E1 <E2
When the error rate P (= f (N, E1, E2)) is smaller than the determination reference value Pd (for example, Pd = 1e-8) using the error rate P, that is,
If f (N, E1, E2) <Pd, it is determined that there is sufficient reliability that the error number E1 is the coincidence point.

実際に、上記数1に示す式にしたがって、エラー率Pを求め、エラー率Pと予め定められた判定基準値Pdとを比較しても良いが、演算時間を要することもある。したがって、サンプル数Nおよびエラー数の最小値E1の組み合わせのそれぞれについて、f(N,E1,E2)<Pdを満たすE2の下限値を示す信頼性判定テーブルを、RAM15に格納し、処理の際に信頼性判定テーブルの値が読み出されるように構成しても良い。たとえば、図17に示すように、信頼性判定テーブル1700は、サンプル数N(図17の例では、N=1、2、3、4、・・・)およびエラー数の最小値(E1=1、2、・・・)として、(N,E1)のそれぞれについて、E2の下限値Emin(N,E1)が格納されている。   Actually, the error rate P may be obtained according to the equation shown in the above equation 1, and the error rate P may be compared with a predetermined criterion value Pd. However, it may take a calculation time. Therefore, a reliability determination table indicating the lower limit value of E2 satisfying f (N, E1, E2) <Pd is stored in the RAM 15 for each combination of the sample number N and the minimum value E1 of the error number. Alternatively, the values of the reliability determination table may be read out. For example, as shown in FIG. 17, the reliability determination table 1700 includes the number of samples N (N = 1, 2, 3, 4,... In the example of FIG. 17) and the minimum number of errors (E1 = 1). 2,...), The lower limit value Emin (N, E1) of E2 is stored for each of (N, E1).

図18は、この実施の形態にかかる信頼性判定処理の例を示すフローチャートである。図18に示す処理は、第1の実施の形態の図5のステップ504〜ステップ507の代わりに実行される。図18に示すように、一致判定部26は、予測波形データパターンごとのエラー数に基づき、エラー数の最小値E1および2番目に小さい値E2を特定する(ステップ1801)。次いで、一致判定部26は、サンプル数Nおよび最小値E1に基づき、RAM15中の信頼性判定テーブルを参照して、対応する下限値Emin(N,E1)を取得する(ステップ1802)。   FIG. 18 is a flowchart illustrating an example of the reliability determination process according to this embodiment. The process shown in FIG. 18 is executed instead of step 504 to step 507 in FIG. 5 of the first embodiment. As shown in FIG. 18, the coincidence determination unit 26 specifies the minimum number E1 of errors and the second smallest value E2 based on the number of errors for each predicted waveform data pattern (step 1801). Next, the coincidence determination unit 26 refers to the reliability determination table in the RAM 15 based on the number of samples N and the minimum value E1, and acquires the corresponding lower limit value Emin (N, E1) (step 1802).

一致判定部26は、値E2が下限値Emin以上であるかを判断する(ステップ1803)。ステップ1803でYesと判断された場合には、信頼性ありとして、ステップ508に進む。その一方、ステップ1803でNoと判断された場合には、信頼性なしとして、ステップ509に進む。第2の実施の形態についても、同様に上記手法を適用することができる。   The coincidence determination unit 26 determines whether the value E2 is greater than or equal to the lower limit value Emin (step 1803). If YES is determined in step 1803, the process proceeds to step 508 with reliability. On the other hand, if No is determined in step 1803, the process proceeds to step 509 with no reliability. The above method can be similarly applied to the second embodiment.

上記実施の形態によれば、エラー数の最小値E1だけではなく、2番目に小さい値E2を考慮して、最小値E1が、2番目に小さい値E2よりも所定以上離間していれば、最小値E1について予測波形データパターンの、入力波形データパターンとの一致が信頼性ありと判断している。これにより、信頼性の高い一致の判断を実現することができる。   According to the above embodiment, considering not only the minimum value E1 of the number of errors but also the second smallest value E2, if the minimum value E1 is more than a predetermined distance from the second smallest value E2, For the minimum value E1, it is determined that the predicted waveform data pattern matches the input waveform data pattern with reliability. Thereby, it is possible to realize a highly reliable determination of coincidence.

10 電波時計
11 CPU
12 入力部
13 表示部
14 ROM
15 RAM
16 受信回路
17 内部時計回路
18 信号比較回路
10 radio time clock 11 CPU
12 Input unit 13 Display unit 14 ROM
15 RAM
16 Receiving Circuit 17 Internal Clock Circuit 18 Signal Comparison Circuit

Claims (7)

受信された時刻情報を表すタイムコードを含む標準時刻電波において検出された秒先頭位置から、前記標準電波の信号を、所定のサンプリング周期でサンプリングして、各サンプル点のサンプル値が、ローレベルを示す第1の値およびハイレベルを示す第2の値の何れかをとり、かつ、1以上の単位時間長を有する入力波形データパターンを生成する入力波形データパターン生成手段と、
各サンプル点のサンプル値が、前記第1の値および前記第2の値の何れかをとり、前記入力波形データパターンと同一の時間長を有し、それぞれが、内部計時手段により計時されたベースタイムに基づく符号の列を表し、かつ、その先頭位置が、前記ベースタイムおよび当該ベースタイム前後所定の秒数だけずらされた時刻となるような複数の予測波形データパターンを生成する予測波形データパターン生成手段と、
前記入力波形データパターンのサンプル値と、前記予測波形データパターンのサンプル値との一致・不一致を判断し、不一致を示すエラー数を計数し、前記複数の予測波形データパターンのそれぞれについてのエラー数を取得するエラー検出手段と、
最小値のエラー数を示す予測波形データパターンの先頭位置に基づいて、前記ベースタイムを修正する現在時刻修正手段と、
前記現在時刻修正手段により前記ベースタイムが修正された時刻と前記現在のベースタイムとの時間差、および、予め定められた計時精度に基づいて、前記所定の秒数を決定し、生成すべき予測波形データパターンの数を決定する制御手段と、を備えたことを特徴とする時刻情報取得装置。
The standard radio wave signal is sampled at a predetermined sampling period from the second position detected in the standard time radio wave including the time code representing the received time information, and the sample value of each sample point becomes a low level. An input waveform data pattern generation means for generating an input waveform data pattern that takes one of a first value and a second value indicating a high level and has one or more unit time lengths;
The sample value of each sample point takes either the first value or the second value, has the same time length as the input waveform data pattern, and each is a base timed by an internal time measuring means A predicted waveform data pattern that represents a sequence of codes based on time, and that generates a plurality of predicted waveform data patterns whose start position is the base time and a time shifted by a predetermined number of seconds before and after the base time Generating means;
It is determined whether or not the sample value of the input waveform data pattern matches the sample value of the predicted waveform data pattern, counts the number of errors indicating a mismatch, and calculates the number of errors for each of the plurality of predicted waveform data patterns. Error detection means to obtain;
Current time correcting means for correcting the base time based on the head position of the predicted waveform data pattern indicating the minimum number of errors;
A predicted waveform to be generated by determining the predetermined number of seconds based on a time difference between the time when the base time is corrected by the current time correcting means and the current base time, and a predetermined timing accuracy. A time information acquisition apparatus comprising: control means for determining the number of data patterns.
前記入力波形データパターン生成手段により生成される入力波形データパターンは、符号ごとに1つのサンプル値を有し、前記入力波形データパターン生成手段は、当該サンプル値の取得において、符号ごとに、複数の時間的に異なる位置のデータ値を取得し、当該複数のデータ値に基づいて、当該符号についてのサンプル値を決定することを特徴とする請求項1に記載の時刻情報取得装置。   The input waveform data pattern generated by the input waveform data pattern generation means has one sample value for each code, and the input waveform data pattern generation means has a plurality of codes for each code in acquiring the sample values. The time information acquisition apparatus according to claim 1, wherein data values at different positions in time are acquired, and a sample value for the code is determined based on the plurality of data values. 前記現在時刻修正手段が、前記エラー数の最小値が、サンプル数に対応して予め定められた許容最大エラー数より小さいときに、当該最小値のエラー数を示す予測波形データパターンの先頭位置に基づいて、前記ベースタイムを修正することを特徴とする請求項1または2に記載の時刻情報取得装置。   When the minimum value of the number of errors is smaller than a predetermined maximum allowable number of errors corresponding to the number of samples, the current time correction means is positioned at the head position of the predicted waveform data pattern indicating the number of errors of the minimum value. 3. The time information acquisition apparatus according to claim 1, wherein the base time is corrected based on the time information. 前記現在時刻修正手段が、前記エラー数の最小値と、2番目に小さい値とを考慮して、前記最小値が、前記2番目に小さい値より、所定以上離間しているときに、当該最小値のエラー数を示す予測波形データパターンの先頭位置に基づいて、前記ベースタイムを修正することを特徴とする請求項1または2に記載の時刻情報取得装置。   When the current time correction means considers the minimum value of the number of errors and the second smallest value, the minimum value is more than a predetermined distance from the second smallest value. The time information acquisition apparatus according to claim 1, wherein the base time is corrected based on a head position of a predicted waveform data pattern indicating the number of value errors. 前記制御手段は、受信された標準時刻電波の受信強度が小さくなるのにしたがって、サンプル値の個数が増大するように決定し、
前記入力波形データパターン生成手段は、決定されたサンプル値の個数にしたがって、入力波形データパターンを生成することを特徴とする請求項1ないし4の何れか一項に記載の時刻情報取得装置。
The control means determines that the number of sample values increases as the received intensity of the received standard time radio wave decreases,
5. The time information acquisition apparatus according to claim 1, wherein the input waveform data pattern generation unit generates an input waveform data pattern according to the determined number of sample values. 6.
前記制御手段は、前記時間差および計時精度に基づき、想定される最大誤差を算出し、
前記予測波形データパターン生成手段は、前記先頭位置が、前記最大誤差の範囲内となるような複数の予測波形データパターンを生成することを特徴とする請求項1ないし5の何れか一項に記載の時刻情報取得装置。
The control means calculates an assumed maximum error based on the time difference and the timing accuracy,
6. The predicted waveform data pattern generation unit generates a plurality of predicted waveform data patterns such that the head position is within the range of the maximum error. Time information acquisition device.
請求項1ないし6の何れか一項に記載の時刻情報取得装置と、
内部クロックにより現在時刻を計時する前記内部計時手段と、
前記内部計時手段により計時された、或いは、前記現在時刻修正手段により修正された現在時刻を表示する時刻表示手段と、を備えたことを特徴とする電波時計。
The time information acquisition device according to any one of claims 1 to 6,
The internal time measuring means for measuring the current time by an internal clock;
A radio-controlled timepiece comprising time display means for displaying the current time measured by the internal time measuring means or corrected by the current time adjusting means.
JP2010095021A 2010-04-16 2010-04-16 Time information acquisition device and radio clock Active JP5012947B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2010095021A JP5012947B2 (en) 2010-04-16 2010-04-16 Time information acquisition device and radio clock
US13/086,484 US8446800B2 (en) 2010-04-16 2011-04-14 Time information acquisition apparatus and radio wave timepiece
CN2011100972353A CN102221817B (en) 2010-04-16 2011-04-15 Time information acquisition apparatus and radio wave timepiece

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010095021A JP5012947B2 (en) 2010-04-16 2010-04-16 Time information acquisition device and radio clock

Publications (2)

Publication Number Publication Date
JP2011226848A JP2011226848A (en) 2011-11-10
JP5012947B2 true JP5012947B2 (en) 2012-08-29

Family

ID=45042365

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010095021A Active JP5012947B2 (en) 2010-04-16 2010-04-16 Time information acquisition device and radio clock

Country Status (1)

Country Link
JP (1) JP5012947B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4276113B2 (en) * 2004-03-05 2009-06-10 Okiセミコンダクタ株式会社 Standard radio wave reception time device and time code signal decoding method
JP2008032583A (en) * 2006-07-31 2008-02-14 Rhythm Watch Co Ltd Radio-controlled timepiece
JP4479811B2 (en) * 2008-03-11 2010-06-09 カシオ計算機株式会社 Time correction device and radio clock

Also Published As

Publication number Publication date
JP2011226848A (en) 2011-11-10

Similar Documents

Publication Publication Date Title
US8446800B2 (en) Time information acquisition apparatus and radio wave timepiece
JP4544351B2 (en) Time information acquisition device and radio clock
JP4506865B2 (en) Time acquisition device and radio clock
JP2007139703A (en) Time receiving apparatus and radio controlled timepiece
JP4479811B2 (en) Time correction device and radio clock
US8264915B2 (en) Time information-acquiring apparatus and radio wave timepiece
JP5263270B2 (en) Time information acquisition device and radio clock
JP4752916B2 (en) Time information acquisition device and radio clock
JP2007139705A (en) Time receiving apparatus and radio controlled timepiece
JP5505472B2 (en) Time information acquisition device and radio clock
JP4544347B2 (en) Time information acquisition device and radio clock
JP4835739B2 (en) Time information acquisition device and radio clock
JP5012947B2 (en) Time information acquisition device and radio clock
JP5012948B2 (en) Time information acquisition device and radio clock
JP4905536B2 (en) Time information acquisition device and radio clock
JP5408025B2 (en) Time information acquisition device and radio clock
JP4905531B2 (en) Time information acquisition device and radio clock
JP5316375B2 (en) Time information acquisition device and radio clock
JP4905523B2 (en) Time information acquisition device and radio clock
JP5407705B2 (en) Time information acquisition device and radio clock
JP4108528B2 (en) Minute detection method using standard radio waves and radio-controlled clock
JP2021063717A (en) Radio correction clock and time correction method for radio correction clock
JP2009139322A (en) Radio wave reception device, and radio-controlled clock
JP2006105606A (en) Radio-controlled timepiece, and standard radio wave receiving method
JP2014077695A (en) Radio controlled timepiece and time correction method for radio controlled timepiece

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120419

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120521

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

Free format text: PAYMENT UNTIL: 20150615

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5012947

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150