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

Time information acquisition device and radio clock Download PDF

Info

Publication number
JP4905536B2
JP4905536B2 JP2009248786A JP2009248786A JP4905536B2 JP 4905536 B2 JP4905536 B2 JP 4905536B2 JP 2009248786 A JP2009248786 A JP 2009248786A JP 2009248786 A JP2009248786 A JP 2009248786A JP 4905536 B2 JP4905536 B2 JP 4905536B2
Authority
JP
Japan
Prior art keywords
value
waveform data
code
time
transmitting station
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
JP2009248786A
Other languages
Japanese (ja)
Other versions
JP2011095082A (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 JP2009248786A priority Critical patent/JP4905536B2/en
Priority to CN2010105526231A priority patent/CN102033486B/en
Priority to EP10178780.2A priority patent/EP2323002B1/en
Priority to US12/888,678 priority patent/US8264915B2/en
Publication of JP2011095082A publication Critical patent/JP2011095082A/en
Application granted granted Critical
Publication of JP4905536B2 publication Critical patent/JP4905536B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electric Clocks (AREA)
  • Electromechanical Clocks (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

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, long wave standard time radio waves are transmitted from transmitting stations in Japan, Germany, the UK, 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 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.

従来の処理回路は、復調された信号の立ち上がりで同期をとった後、所定のサンプリング周期で2値化して、バイナリーのビット列である単位時間長(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.

時刻情報の取得の際には、まず、秒パルス位置の検出、つまり、秒同期を行なう。秒同期とは、TCOデータにより示される符号のうち、1秒ごとに到来する符号の先頭位置を検出することである。   When acquiring the time information, first, the detection of the second pulse position, that is, the second synchronization is performed. Second synchronization is to detect the leading position of a code that arrives every second among the codes indicated by the TCO data.

たとえば、特許文献1においては、復調された信号を、所定のサンプリング間隔(50ms)で2値化して得られたTCOデータが取得され、1秒ごと(20サンプル)のバイナリーのビット列からなるデータ群がリスト化される。特許文献1に開示された装置は、このビット列と、符号「P:ポジションマーカー」を表すバイナリーのビット列のテンプレート、符号「1」を表すバイナリーのビット列のテンプレートおよび符号「0」を表すバイナリーのビット列のテンプレートとをそれぞれ比較して、その相関を求め、相関によりビット列が、符号「P」、「1」、「0」の何れに該当するかを判断する。   For example, 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). Are listed. 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”.

秒パルス位置を検出して、符号の先頭位置を順次見出すことで、分の先頭位置を特定することができる。また、分の先頭位置が検出されれば、時刻、曜日、年月日などを示す符号の特定が可能となる。   By detecting the second pulse position and sequentially finding the head position of the code, the head position of the minute can be specified. In addition, if the leading position of the minute is detected, it is possible to specify a code indicating the time, day of the week, date, and the like.

特開2005−249632号公報JP 2005-249632 A 特開2004−4136号公報JP 2004-4136 A

上述したように、標準時刻電波は、種々の国の送信局から送信されており、送信局によって、送信周波数、および、符号の波形形状などが異なる。たとえば、日本では、上述したように、福島県および佐賀県の送信局から、それぞれ、40kHzおよび60kHzの、JJYの規格にしたがった標準時刻電波が送信されている。米国では、たとえば、コロラド州の送信局から、60kHzのWWVBの規格にしたがった標準時刻電波が送信されている。英国では、たとえば、ラグビーの送信局から60kHzのMSFの規格にしたがった標準時刻電波が送信されている。また、ドイツでは、フランクフルト近郊の送信局から、77.5kHzのDSF77の規格にしたがった標準時刻電波が送信されている。   As described above, the standard time radio wave is transmitted from transmission stations in various countries, and the transmission frequency, the waveform shape of the code, and the like differ depending on the transmission station. For example, in Japan, as described above, standard time radio waves according to the JJY standard of 40 kHz and 60 kHz are transmitted from transmitting stations in Fukushima Prefecture and Saga Prefecture, respectively. In the United States, for example, a standard time radio wave according to the WWVB standard of 60 kHz is transmitted from a transmission station in Colorado. In the UK, for example, a standard time radio wave according to the 60 kHz MSF standard is transmitted from a rugby transmission station. In Germany, a standard time radio wave according to the 77.5 kHz DSF77 standard is transmitted from a transmission station near Frankfurt.

特許文献2には、同調回路における受信周波数を変更して、送信局を特定する技術が提案されている。しかしながら、たとえば、JJY、WWVB、MSFでは、送信周波数が60kHzと同一であり、上記受信周波数の変更の後、さらに、符号を識別することにより、送信局を特定する必要がある。   Patent Document 2 proposes a technique for specifying a transmitting station by changing a reception frequency in a tuning circuit. However, for example, in JJY, WWVB, and MSF, the transmission frequency is the same as 60 kHz, and after changing the reception frequency, it is necessary to further identify the transmission station by identifying the code.

従来、同一の送信周波数の標準時刻電波を判別、たとえば、JJY、WWVBおよびMSFの何れの送信局から送信された標準時刻電波であるかを判別するためには、何れか一つの規格を選択して、その規格にしたがって、秒同期、分同期などを行なった上で、適切な符号が得られたかを判断している。適切な符号が得られなければ、他の規格が選択され、秒同期、分同期などが繰り返される。   Conventionally, in order to determine the standard time radio wave of the same transmission frequency, for example, to determine which of the JJY, WWVB, and MSF is a standard time radio wave, select one standard. In accordance with the standard, second synchronization, minute synchronization, and the like are performed, and it is determined whether an appropriate code is obtained. If an appropriate code cannot be obtained, another standard is selected, and second synchronization, minute synchronization, etc. are repeated.

したがって、同一の送信周波数の標準時刻電波を判別する際に、実際の送信局とは異なる送信局の規格を選択すると、処理のやり直しが必要であり、判別時間が長時間となり、また、それに伴って消費電力も大きくなるという問題点があった。   Therefore, when a standard time radio wave with the same transmission frequency is discriminated, if a standard of a transmitting station different from the actual transmitting station is selected, it is necessary to redo the processing, and the discrimination time becomes long, and accordingly As a result, power consumption also increases.

本発明は、送信局を適切に判別するとともに、標準時刻電波の秒の先頭位置を精度良く特定できる時刻情報取得装置、および、時刻情報取得装置を備えた電波時計を提供することを目的とする。   An object of the present invention is to provide a time information acquisition device capable of appropriately identifying a transmitting station and accurately specifying the second position of the second of a standard time radio wave, and a radio timepiece including the time information acquisition device. .

本発明の目的は、タイムコードを含む標準時刻電波を受信する受信手段と、
前記受信手段から出力されたタイムコードを含む信号を、所定のサンプリング周期でサンプリングして、各サンプル点が、ローレベルを示す第1の値およびハイレベルを示す第2の値の何れかをとり、かつ、1以上の単位時間長を有する入力波形データを生成する入力波形データ生成手段と、
各サンプル点のデータ値が、少なくとも前記第1の値および前記第2の値の何れかをとり、前記入力波形データと同一の時間長を有し、かつ、その波形形状が、所定サンプルだけ順次ずれている複数の予測波形データを生成する予測波形データ生成手段と、
前記入力波形データのサンプル点と、前記予測波形データの対応するサンプル点とを演算することにより、前記入力波形データと前記複数の予測波形データそれぞれとの間の相関値を算出する相関値算出手段であって、前記入力波形データにおける第1の値と前記予測波形データにおける第1の値との演算、或いは、前記入力波形データにおける第2の値と前記予測波形データにおける第2の値との演算により、正の相関を示す第1の演算値をとる一方、前記入力波形データにおける第1の値と前記予測波形データにおける第2の値との演算、或いは、前記入力波形データにおける第2の値と前記予測波形データにおける第1の値との演算により、負の相関を示す第2の演算値をとる相関値算出手段と、
前記相関値算出手段により算出された相関値である前記第1の演算値と前記第2の演算値の累算値に基づいて、前記標準時刻電波を送信する送信局の種別を判別する送信局判別手段と、
前記相関値算出手段により算出された累算値を比較し、かつ、前記送信局判別手段により判別された送信局の種別に基づいて、前記累算値の最適値を特定する相関値比較手段と、
前記最適値を示した予測波形データに基づいて、前記タイムコードにおける秒パルス位置を特定する制御手段と、を備えたことを特徴とする時刻情報取得装置により達成される。
An object of the present invention is to receive a standard time radio wave including a time code;
The signal including the time code output from the receiving means is sampled at a predetermined sampling period, and each sample point takes either a first value indicating a low level or a second value indicating a high level. And input waveform data generating means for generating input waveform data having one or more unit time lengths;
The data value of each sample point takes at least one of the first value and the second value, and has the same time length as the input waveform data, and the waveform shape is sequentially a predetermined number of samples. Predicted waveform data generating means for generating a plurality of shifted predicted waveform data ;
Correlation value calculation means for calculating a correlation value between the input waveform data and each of the plurality of predicted waveform data by calculating a sample point of the input waveform data and a corresponding sample point of the predicted waveform data The calculation of the first value in the input waveform data and the first value in the predicted waveform data, or the second value in the input waveform data and the second value in the predicted waveform data While calculating the first calculated value indicating a positive correlation, the calculation of the first value in the input waveform data and the second value in the predicted waveform data, or the second value in the input waveform data A correlation value calculating means that takes a second calculated value indicating a negative correlation by calculating the value and the first value in the predicted waveform data;
A transmitting station that determines the type of transmitting station that transmits the standard time radio wave based on the accumulated value of the first calculated value and the second calculated value that are correlation values calculated by the correlation value calculating means Discrimination means;
Correlation value comparing means for comparing the accumulated values calculated by the correlation value calculating means and specifying the optimum value of the accumulated values based on the type of transmitting station determined by the transmitting station determining means; ,
This is achieved by a time information acquisition device comprising control means for specifying a second pulse position in the time code based on the predicted waveform data indicating the optimum value.

好ましい実施態様においては、前記送信局判別手段が、前記累算値の最大値と最小値との加算結果に基づいて、前記送信局の種別を判別する。   In a preferred embodiment, the transmitting station discriminating unit discriminates the type of the transmitting station based on the addition result of the maximum value and the minimum value of the accumulated values.

より好ましい実施態様においては、前記予測波形データ生成手段が、その波形形状が、所定サンプルだけ順次ずれているN個の予測波形データP(p)(p=1〜N)を生成し、
前記送信局判別手段が、最大値となる累算値Ca(q)を示す位置に隣接する複数サンプルに対応する累算値Ca(q−n)〜Ca(q+n)を加算して、加算された最大値を取得するとともに、最小値となる累算値Ca(r)を示す位置に隣接する複数サンプルに対応する累算値Ca(r−n)〜Ca(r+n)を加算して、加算された最小値を取得し、加算された最大値と加算された最小値との加算結果に基づいて、前記送信局の種別を判別する。
In a more preferred embodiment, the predicted waveform data generating means generates N predicted waveform data P (p) (p = 1 to N) whose waveform shape is sequentially shifted by a predetermined sample,
The transmitting station discriminating means adds the accumulated values Ca (q−n) to Ca (q + n) corresponding to a plurality of samples adjacent to the position indicating the accumulated value Ca (q) that is the maximum value. The maximum value is acquired, and the cumulative values Ca (r−n) to Ca (r + n) corresponding to a plurality of samples adjacent to the position indicating the minimum cumulative value Ca (r) are added and added. The obtained minimum value is acquired, and the type of the transmitting station is determined based on the addition result of the added maximum value and the added minimum value.

別の好ましい実施態様においては、前記送信局判別手段が、前記累算値の最小値と極大値との間隔、或いは、前記累算値の最大値と極小値との間隔に基づいて前記送信局の種別を判別する。   In another preferred embodiment, the transmitting station discriminating means is configured to transmit the transmitting station based on an interval between the minimum value and the maximum value of the accumulated value or an interval between the maximum value and the minimum value of the accumulated value. The type of is determined.

また、別の好ましい実施態様においては、前記予測波形データ生成手段が、各サンプル点が、信号レベルの変化点の前後の何れかの所定区間におけるローレベルを示す第1の値、前記変化点の前後の他の何れかの所定区間におけるハイレベルを示す第2の値、および、前記所定区間以外の他の区間における第3の値の何れかをとり、その波形形状が、所定サンプルだけ順次ずれている複数の予測波形データを生成し、
前記送信局判別手段が、前記最大値と最小値との加算結果が正の値であるときに、前記送信局の種別について、秒の先頭で立ち上がる波形形状を有する符号から構成される種別であると判断する。
In another preferred embodiment, the predicted waveform data generation means is configured such that each sample point has a first value indicating a low level in any predetermined section before and after the signal level change point, and the change point. One of the second value indicating the high level in any other predetermined section before and after and the third value in other sections other than the predetermined section, and the waveform shape is sequentially shifted by a predetermined sample. Generate multiple predicted waveform data,
When the transmission station discriminating means has a positive value as a result of adding the maximum value and the minimum value, the transmission station type is a type constituted by a code having a waveform shape that rises at the beginning of the second. Judge.

好ましい実施態様においては、前記制御手段が、前記時刻情報取得装置により特定された送信局の種別および秒パルス位置と、前記タイムコードの先頭位置の前後の信号レベルとに基づき、前記タイムコードにおける分先頭位置を特定するとともに、前記タイムコードが含む符号を取得して、当該符号が示す値にしたがって、前記タイムコードを構成する日、時、分を含むコードの値を取得し、
取得されたコードの値に基づいて現在時刻を算出する。
In a preferred embodiment, the control means determines the division in the time code based on the type and second pulse position of the transmitting station specified by the time information acquisition device and the signal level before and after the start position of the time code. Specify the head position, acquire the code included in the time code, and according to the value indicated by the code, acquire the value of the code including the day, hour, and minute that constitute the time code,
The current time is calculated based on the acquired code value.

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

本発明によれば、送信局を適切に判別するとともに、標準時刻電波の秒の先頭位置を精度良く特定できる、時刻情報取得装置、および、時刻情報取得装置を備えた電波時計を提供することが可能となる。   According to the present invention, it is possible to provide a time information acquisition device and a radio timepiece equipped with a time information acquisition device capable of appropriately identifying the transmitting station and accurately identifying the leading position of the second of the standard time radio wave. It becomes possible.

図1は、本実施の形態にかかる電波時計の構成を示すブロックダイヤグラムである。FIG. 1 is a block diagram showing the configuration of the radio timepiece according to the present embodiment. 図2は、本実施の形態にかかる受信回路の構成例を示すブロックダイヤグラムである。FIG. 2 is a block diagram showing a configuration example of the receiving circuit according to the present embodiment. 図3は、本実施の形態にかかる信号比較回路の構成を示すブロックダイヤグラムである。FIG. 3 is a block diagram showing the configuration of the signal comparison circuit according to the present embodiment. 図4は、本実施の形態にかかる電波時計において実行される処理の概略を示すフローチャートである。FIG. 4 is a flowchart showing an outline of processing executed in the radio timepiece according to the present embodiment. 図5は、JJYの規格にしたがった標準時刻電波の構成を示す図である。FIG. 5 is a diagram showing a configuration of a standard time radio wave according to the JJY standard. 図6(a)〜(c)は、それぞれ、JJY、WWVB、および、MSFのそれぞれの規格にしたがった符号の例を示す図である。FIGS. 6A to 6C are diagrams illustrating examples of codes according to JJY, WWVB, and MSF standards, respectively. 図7は、本実施の形態にかかる秒同期において利用される予測波形データの部分を例示する図であるFIG. 7 is a diagram exemplifying a portion of predicted waveform data used in the second synchronization according to the present embodiment. 図8は、本実施の形態にかかる送信局の判別および秒パルス位置の検出(秒同期)をより詳細に示すフローチャートである。FIG. 8 is a flowchart showing in more detail the determination of the transmitting station and the detection of the second pulse position (second synchronization) according to the present embodiment. 図9は、秒パルス位置の検出処理における共分散値の算出処理の例を示すフローチャートである。FIG. 9 is a flowchart illustrating an example of a covariance value calculation process in the second pulse position detection process. 図10は、本実施の形態にかかる秒パルス位置の検出処理を模式的に示す図である。FIG. 10 is a diagram schematically illustrating second pulse position detection processing according to the present embodiment. 図11は、本実施の形態にかかる共分散値の算出例を説明する図である。FIG. 11 is a diagram for explaining an example of calculating a covariance value according to the present embodiment. 図12は、本実施の形態にかかる送信局判別処理の例を示すフローチャートである。FIG. 12 is a flowchart showing an example of a transmitting station discrimination process according to the present embodiment. 図13(a)〜(c)は、入力波形データSn(j)および予測波形データP(p,j)(p=1〜20)の共分散値の累算値Ca(p)(p=1〜20)の例を示すヒストグラムである。FIGS. 13A to 13C show the accumulated values Ca (p) (p = p) of the covariance values of the input waveform data Sn (j) and the predicted waveform data P (p, j) (p = 1 to 20). It is a histogram which shows the example of 1-20. 図14は、本実施の形態にかかる分先頭位置の検出(分同期)の例をより詳細に示すフローチャートである。FIG. 14 is a flowchart showing in more detail an example of minute position detection (minute synchronization) according to the present embodiment. 図15は、本実施の形態にかかる分先頭位置の検出における入力波形データおよび予測波形データを説明する図である。FIG. 15 is a diagram for explaining input waveform data and predicted waveform data in the detection of the leading position according to the present embodiment. 図16(a)、(b)は、JJYの各符号における特徴区間を説明する図である。FIGS. 16A and 16B are diagrams for explaining the feature sections in each code of JJY. 図17は、本発明の実施の形態にかかる分の一の位の検出処理の例を示すフローチャートである。FIG. 17 is a flowchart showing an example of a fractional detection process according to the embodiment of the present invention. 図18は、入力波形データと予測波形データとの間の共分散値を説明する図である。FIG. 18 is a diagram for explaining a covariance value between input waveform data and predicted waveform data. 図19は、WWVBの各符号における特徴区間を説明する図である。FIG. 19 is a diagram for explaining a feature section in each code of WWVB. 図20は、MSFの各符号における特徴区間を説明する図である。FIG. 20 is a diagram for explaining a feature section in each code of MSF. 図21は、本発明の第2の実施の形態にかかる送信局判別処理の例を示すフローチャートである。FIG. 21 is a flowchart illustrating an example of a transmitting station determination process according to the second embodiment of the present invention. 図22(a)〜(c)は、入力波形データSn(j)および予測波形データP(p,j)(p=1〜20)の共分散値の累算値Ca(p)(p=0〜19)の他の例を示すヒストグラムである。FIGS. 22A to 22C show the accumulated value Ca (p) (p = p = covariance value) of the input waveform data Sn (j) and the predicted waveform data P (p, j) (p = 1 to 20). It is a histogram which shows the other example of 0-19. 図23は、本発明の第3の実施の形態にかかる送信局判別処理の部分を示すフローチャートである。FIG. 23 is a flowchart showing a part of the transmitting station discrimination process according to the third embodiment of the present invention. 図24(a)、(b)は、それぞれ、本発明の第4の実施の形態、および、第5の実施の形態にかかる送信局判別処理の部分を示すフローチャートである。FIGS. 24 (a) and 24 (b) are flowcharts showing the parts of the transmitting station discrimination process according to the fourth and fifth embodiments of the present invention, respectively.

以下、添付図面を参照して、本発明の実施の形態について説明する。本発明の実施の形態においては、長波帯の標準時刻電波を受信して、その信号を検波して、信号中に含まれるタイムコードを示す符号の列を取り出して、当該符号の列に基づいて時刻を修正する電波時計に、本発明にかかる時刻情報取得装置を設けている。   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 transmission 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に示すように、電波時計10は、CPU11、入力部12、表示部13、ROM14、RAM15、受信回路16、内部計時回路17および信号比較回路18を備える。   FIG. 1 is a block diagram showing the configuration of the radio timepiece according to the present embodiment. 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 timing circuit 17, and a signal comparison circuit 18.

CPU11は、所定のタイミングで、或いは、入力部12から入力された操作信号に応じてROM14に格納されたプログラムを読み出して、RAM15に展開し、当該プログラムに基づいて、電波時計10を構成する各部への指示やデータの転送などを実行する。具体的には、たとえば所定時間毎に受信回路16を制御して標準時刻電波を受信させて、受信回路16から得られた信号に基づくディジタルデータから、標準時刻電波信号を送信する送信局(標準時刻電波信号の種別)を判別し、標準時刻電波信号に含まれる符号の列を特定し、この符号の列に基づいて内部計時回路17で計時される現在時刻を修正する処理や、内部計時回路17によって計時された現在時刻を表示部13に転送する処理などを実行する。本実施の形態においては、1以上の単位時間長の、所定の形態の予測波形データを生成して、予測波形データと、受信回路により受信された標準時刻電波から得た入力波形データとを比較することで、送信局を判別するとともに秒の先頭を特定している。   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, a transmission station (standard) that controls the reception circuit 16 at predetermined intervals to receive standard time radio waves and transmits the standard time radio signals from digital data based on signals obtained from the reception circuit 16. A process of correcting the current time measured by the internal clock circuit 17 based on this code string, and an internal clock circuit The process etc. which transfer the present time time-measured by 17 to the display part 13 are performed. In the present embodiment, one or more unit time lengths of predicted waveform data in a predetermined form are generated, and the predicted waveform data is compared with the input waveform data obtained from the standard time radio wave received by the receiving circuit. Thus, the transmitting station is identified and the head of the second is specified.

また、本実施の形態においても、たとえば、予想波形データと入力波形データとを比較することにより、分の先頭、および、時、分、年月日を含む各種コード(符号)の値を特定している。年月日および時分が特定されることで、内部計時回路17における誤差が算出され、内部計時回路17における現在時刻を修正することができる。   Also in the present embodiment, for example, by comparing the predicted waveform data with the input waveform data, the values of various codes (codes) including the beginning of the minute and the hour, minute, and date are specified. ing. By specifying the date and time, the error in the internal clock circuit 17 is calculated, and the current time in the internal clock circuit 17 can be corrected.

入力部12は、電波時計10の各種機能の実行を指示するためのスイッチを含み、スイッチが操作されると、対応する操作信号をCPU11に出力する。表示部13は、文字盤やCPU11によって制御されたアナログ指針機構、液晶表示装置を含み、内部計時回路17によって計時された現在時刻を表示する。液晶表示装置は、現在時刻を表示することができる。ROM14は、電波時計10を動作させ、また、所定の機能を実現するためのシステムプログラムやアプリケーションプログラムなどを記憶する。所定の機能を実現するためのプログラムには、後述する送信局判別および秒パルス位置の検出処理のために信号比較回路18を制御するプログラム、分先頭位置や符号のデコード処理のため信号比較回路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 display device, and displays the current time measured by the internal clock circuit 17. The liquid crystal display device can display the current time. 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 program for controlling the signal comparison circuit 18 for transmission station discrimination and second pulse position detection processing, which will be described later, and a signal comparison circuit 18 for minute head position and code decoding processing. The program which controls is 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 the current time, and outputs current 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 standard time radio waves, a filter circuit 51 that removes noise of a standard time radio signal (standard time radio signal) received by the antenna circuit 50, and a filter An RF amplification circuit 52 that amplifies a high-frequency signal that is an output of the circuit 51, and a detection circuit 53 that detects a signal output from the RF amplification circuit 52 and demodulates a standard time radio signal, and is demodulated by the detection circuit 53. The signal is output to the signal comparison circuit 18.

図3は、本実施の形態にかかる信号比較回路の構成を示すブロックダイヤグラムである。図3に示すように、本実施の形態にかかる信号比較回路18は、入力波形データ生成部21、受信波形データバッファ22、予測波形データ生成部23、波形切り出し部24、相関値算出部25、相関値比較部26および送信局判別部27を有する。   FIG. 3 is a block diagram showing the configuration of the signal comparison circuit 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 reception waveform data buffer 22, a predicted waveform data generation unit 23, a waveform cutout unit 24, a correlation value calculation unit 25, A correlation value comparison unit 26 and a transmission station determination unit 27 are included.

入力波形データ生成部21は、受信回路16から出力された信号を、所定のサンプリング間隔で、その値が複数の値のうちの何れかをとるようなディジタルデータに変換して出力する。たとえば、上記サンプリング間隔は50msであり、1秒あたり20サンプルのデータを取得することができる。なお、本実施の形態にかかるディジタルデータの値については後に詳述する。受信波形データメモリ22は、入力波形データ生成部21において生成されたデータを順次記憶する。受信波形データメモリ22は、複数の単位時間長(1秒)のデータ(たとえば、10単位時間(10秒))を記憶することができ、新たにデータを記憶する場合には、古い順にデータを消去していく。   The input waveform data generation unit 21 converts the signal output from the receiving circuit 16 into digital data whose value takes any one of a plurality of values at a predetermined sampling interval and outputs the digital data. For example, the sampling interval is 50 ms, and data of 20 samples per second can be acquired. The value of the digital data according to this embodiment will be described in detail later. The reception waveform data memory 22 sequentially stores the data generated in the input waveform data generation unit 21. The reception waveform data memory 22 can store a plurality of unit time length (1 second) data (for example, 10 unit time (10 seconds)). Erase.

予測波形データ生成部23は、後述するそれぞれの処理において使用する、比較対象とする所定の時間長の予測波形データを生成する。予測波形データ生成部23において生成する予測波形データについては秒パルス位置の検出処理、分先頭位置の検出処理および符号のデコード処理のそれぞれにおいて説明する。波形切り出し部24は、予測波形データの時間長と同じ時間長の入力波形データを、受信波形データバッファ22から取り出す。   The predicted waveform data generation unit 23 generates predicted waveform data having a predetermined time length to be compared and used in each process described later. The predicted waveform data generated by the predicted waveform data generation unit 23 will be described in each of the second pulse position detection process, the minute leading position detection process, and the code decoding process. The waveform cutout unit 24 extracts input waveform data having the same time length as the predicted waveform data from the received waveform data buffer 22.

相関値算出部25は、複数の予測波形データのそれぞれと、入力波形データとの相関値を算出する。本実施の形態においては、後述するように相関をとるために共分散を採用している。相関値比較部26は、相関値算出部25において算出された相関値(共分散値)を比較して、その最適値を特定する。   The correlation value calculation unit 25 calculates a correlation value between each of the plurality of predicted waveform data and the input waveform data. In the present embodiment, covariance is adopted to obtain a correlation as will be described later. The correlation value comparison unit 26 compares the correlation values (covariance values) calculated by the correlation value calculation unit 25 and identifies the optimum value.

送信局判別部27は、相関値算出部25により算出された共分散値に基づいて、標準時刻電波信号を送信している送信局を判別し、その情報をCPU11に出力する。   Based on the covariance value calculated by the correlation value calculation unit 25, the transmission station determination unit 27 determines the transmission station that is transmitting the standard time radio signal, and outputs the information to the CPU 11.

図4は、本実施の形態にかかる電波時計において実行される処理の概略を示すフローチャートである。図4に示す処理は、主として、CPU11およびCPU11の指示に基づく信号比較回路18により実行される。図4に示すように、CPU11および信号比較回路18(以下、説明の便宜上「CPU11等」とも称する。)は、送信局を判別するとともに秒パルス位置を検出する(ステップ401)。なお、秒パルス位置の検出の処理は、秒同期とも称される。図5は、JJYの規格にしたがった標準時刻電波の構成を示す図である。図5に示すように、たとえば、JJYの規格にしたがった標準時刻電波は、規格に決められた順序で所定の符号が順次送信される。JJYの規格にしたがった標準時刻電波信号においては、1秒の単位時間長の「P」、「1」および「0」を示す符号が連なっている。また、この標準時刻電波は、60秒を1フレームとしており、1フレームには60個の符号が含まれる。また、標準時刻電波においては、10秒ごとにポジションマーカー「P1」、「P2」、・・・或いはマーカー「M」が到来し、また、フレームの末尾に配置されたポジションマーカー「P0」およびフレームの先頭に配置されたマーカー「M」が連続している部分を検出することで、60秒ごとに到来するフレームの先頭、つまり分の先頭位置を見出すことができる。   FIG. 4 is a flowchart showing an outline of processing executed in the radio timepiece 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) determine the transmitting station and detect the second pulse position (step 401). The second pulse position detection process is also referred to as second synchronization. FIG. 5 is a diagram showing a configuration of a standard time radio wave according to the JJY standard. As shown in FIG. 5, for example, for standard time radio waves according to the JJY standard, predetermined codes are sequentially transmitted in the order determined by the standard. In the standard time radio signal according to the JJY standard, 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.

図6(a)〜(c)は、それぞれ、JJY、WWVB、および、MSFのそれぞれの規格にしたがった符号の例を示す図である。図5および図6(a)に示すように、JJYには、「0」、「1」および「P」をそれぞれ示す3つの符号が含まれる。JJYの符号は、単位時間長(1秒)の符号であり、秒の先頭でローレベルからハイレベルに立ち上がる。JJYの符号「0」は、最初の800msだけハイレベルとなり、引き続く200msではローレベルとなる。すなわち、符号「0」は、80%デューティの信号である。符号「1」は、最初の500msだけハイレベルとなり、引き続く500msではローレベルとなる。すなわち、符号「1」は、50%デューティの信号である。符号「P」は、ポジションマーカー或いはマーカーとして使用される符号であり、最初の200msだけハイレベルとなり引き続く800msではローレベルとなる。すなわち、符号「P」は、20パーセントデューティの信号である。   FIGS. 6A to 6C are diagrams illustrating examples of codes according to JJY, WWVB, and MSF standards, respectively. As shown in FIG. 5 and FIG. 6A, JJY includes three codes indicating “0”, “1”, and “P”, respectively. The code of JJY is a code of unit time length (1 second), and rises from the low level to the high level at the head of the second. The code “0” of JJY becomes the high level only for the first 800 ms, and becomes the low level in the subsequent 200 ms. That is, the code “0” is an 80% duty signal. The code “1” becomes a high level only for the first 500 ms, and becomes a low level in the subsequent 500 ms. That is, the code “1” is a 50% duty signal. The code “P” is a code used as a position marker or a marker, and becomes a high level only for the first 200 ms and becomes a low level in the subsequent 800 ms. That is, the symbol “P” is a signal with a 20 percent duty.

日本の佐賀県の送信局から送信されるJJYの規格にしたがった標準時刻電波、WWVBの規格にしたがった標準時刻電波、および、MSFにしたがった標準時刻電波のそれぞれの送信周波数は60kHzである。したがって、受信回路において同調周波数を変更することで、これら標準時刻電波の種別を判別することは不可能である。そこで、本実施の形態においては、標準時刻電波に基づく入力波形データと、後述する予測波形データとの間の相関値(共分散値)に基づいて、標準時刻電波の種別、つまり、標準時刻電波を送信する送信局を判別している。   The transmission frequency of the standard time radio wave according to the JJY standard, the standard time radio wave according to the WWVB standard, and the standard time radio wave according to the MSF transmitted from a transmission station in Saga, Japan is 60 kHz. Therefore, it is impossible to determine the type of these standard time radio waves by changing the tuning frequency in the receiving circuit. Therefore, in this embodiment, based on the correlation value (covariance value) between input waveform data based on standard time radio waves and predicted waveform data described later, the standard time radio wave type, that is, standard time radio waves Is determined.

後に詳述するが、本実施の形態においては、標準時刻電波信号、たとえば、上記JJYの信号が、秒の先頭でローレベルからハイレベルに立ち上がることを正確に検出するために、所定のデータ値を有する単位時間長の波形データを所定数(本実施の形態においては4つ)だけ連続させ、それを50msずつずらしたような複数の予測波形データを生成している。このような複数の予測波形データと、入力波形データとの相関値を算出し、最適な相関値を示す予測波形データのローレベルからハイレベルへの立ち上がりを示す変化点を、秒パルス位置(秒の先頭位置)と判断する。また、同じ形状の複数の予測波形データを用いても、WWVBやMSFの信号が、秒の先頭でハイレベルからローレベルに立ち下がることを検出することもできる。以下、WWVBおよびMSFに従った標準時刻電波の信号について説明する。   As will be described in detail later, in the present embodiment, in order to accurately detect that a standard time radio signal, for example, the JJY signal rises from a low level to a high level at the beginning of a second, a predetermined data value A plurality of pieces of predicted waveform data are generated such that a predetermined number (four in the present embodiment) of waveform data having a unit time length is continued and shifted by 50 ms. The correlation value between the plurality of predicted waveform data and the input waveform data is calculated, and the change point indicating the rising from the low level to the high level of the predicted waveform data indicating the optimum correlation value is represented by the second pulse position (second The first position of Further, even when a plurality of predicted waveform data having the same shape is used, it can be detected that the signal of WWVB or MSF falls from the high level to the low level at the head of the second. Hereinafter, a standard time radio wave signal according to WWVB and MSF will be described.

図6(b)は、米国のWWVBに含まれる符号を示す図である。図6(b)に示すように、WWVBには、「0」、「1」および「P」をそれぞれ示す3つの符号が含まれる。WWVBの符号は、秒の先頭でハイレベルからローレベルに立ち下がる。WWVBの符号「0」は、最初の200msだけローレベルとなり、引き続く800msではハイレベルとなる。符号「1」は、最初の500msだけローレベルとなり、引き続く500msではハイレベルとなる。また、符号「P」は、最初の800msだけローレベルとなり引き続く200msではハイレベルとなる。   FIG. 6B is a diagram illustrating a code included in the WWVB of the United States. As shown in FIG. 6B, WWVB includes three codes indicating “0”, “1”, and “P”, respectively. The sign of WWVB falls from the high level to the low level at the beginning of the second. The code “0” of WWVB becomes a low level only for the first 200 ms, and becomes a high level in the subsequent 800 ms. The code “1” becomes a low level only for the first 500 ms, and becomes a high level in the subsequent 500 ms. Further, the code “P” becomes a low level only for the first 800 ms, and becomes a high level in the subsequent 200 ms.

図6(c)は、英国のMSFに含まれる符号を示す図である。MSFでは、JJYやWWVBと異なり、5つの符号を有し、そのうち4つは、2つのビット(A、B)のそれぞれの値を表すことができる。MSFの符号は、秒の先頭でハイレベルからローレベルに立ち下がる。「A=0、B=0」に相当する符号は、最初の100msだけローレベルとなり、引き続く900msではハイレベルとなる。「A=1、B=0」に相当する符号は、最初の200msだけローレベルとなり、引き続く800msでローレベルとなる。また、マーカーに相当する符号「M」は、最初の500msだけローレベルとなり、引き続く500msでハイレベルとなる。「A=0、B=1」に相当する符号は、最初の300msにおいて、100msずつ順次ローレベル、ハイレベル、ローレベルとなり、その後の700msでハイレベルとなる。また、「A=1、B=1」に相当する符号は、最初の300msだけローレベルとなり、引き続く700msではハイレベルとなる。   FIG. 6C is a diagram showing symbols included in the UK MSF. Unlike JJY and WWVB, MSF has five codes, and four of them can represent the values of two bits (A, B). The sign of MSF falls from high level to low level at the beginning of the second. The code corresponding to “A = 0, B = 0” becomes a low level only for the first 100 ms, and becomes a high level in the subsequent 900 ms. The code corresponding to “A = 1, B = 0” becomes a low level only for the first 200 ms, and subsequently becomes a low level in 800 ms. Further, the code “M” corresponding to the marker becomes a low level only for the first 500 ms, and becomes a high level in the subsequent 500 ms. A code corresponding to “A = 0, B = 1” sequentially becomes a low level, a high level, and a low level by 100 ms in the first 300 ms, and then becomes a high level in 700 ms thereafter. Further, the code corresponding to “A = 1, B = 1” becomes a low level only for the first 300 ms, and becomes a high level in the subsequent 700 ms.

ステップ401が終了すると、CPU等11は、分の先頭位置、つまり、上記1フレームの標準時刻電波信号の先頭位置を検出する(ステップ402)。   When step 401 ends, the CPU 11 detects the start position of the minute, that is, the start position of the standard time radio signal of one frame (step 402).

その後、CPU等11は、標準時刻電波信号の種々の符号(たとえば、JJYであれば分の一の位の符号(M1)、分の十の位の符号(M10)、日時や曜日など他の符号)を、予測波形データと入力波形データとの比較に基づいてデコードする(ステップ403)。   After that, the CPU 11 or the like can change various codes of the standard time radio signal (for example, JJY, the fractional sign (M1), the decimal place sign (M10), other date and day of the week, etc. Is decoded based on the comparison between the predicted waveform data and the input waveform data (step 403).

以下、本実施の形態にかかる送信局の判別および秒パルス位置の検出処理(ステップ401)についてより詳細に説明する。まず、処理において利用される予測波形データについて説明する。図7は、本実施の形態にかかる秒同期において利用される予測波形データの部分を例示する図である。図7において、予測波形データそれぞれの最初の単位時間長に相当する1秒分が表示されている。符号700で示す破線が、予測波形データの先頭を示している。実際には、本実施の形態においては、図7に示す単位時間長の所定のデータを4つ連続させた、4単位時間長、つまり、4秒分の予測波形データが、予測波形データ生成部23により生成される。また、本実施の形態では、それぞれ、50msずつ、データの先頭(ローレベルからハイレベルへの立ち上がり)の位置がずれた20個の予測波形データP(1,j)〜P(20,j)が、予測波形データ生成部23により生成される。   Hereinafter, the transmission station discrimination and second pulse position detection processing (step 401) according to the present embodiment will be described in more detail. First, predicted waveform data used in the processing will be described. FIG. 7 is a diagram illustrating a portion of predicted waveform data used in the second synchronization according to the present embodiment. In FIG. 7, one second corresponding to the initial unit time length of each predicted waveform data is displayed. A broken line indicated by reference numeral 700 indicates the beginning of the predicted waveform data. Actually, in the present embodiment, four unit time lengths, ie, four unit time lengths, that is, four seconds of predicted waveform data shown in FIG. 23. Further, in the present embodiment, 20 pieces of predicted waveform data P (1, j) to P (20, j) in which the position of the head of data (rise from low level to high level) is shifted by 50 ms each. Is generated by the predicted waveform data generation unit 23.

図7に示すように、第1の予測波形データP(1,j)は、データの先頭(符号700参照)でローレベルからハイレベルに立ち上がる。本実施の形態にかかる予測波形データにおいて、ローレベルからハイレベルに立ち上がるポイント(第1の予測波形データでは、符号700で示すポイント)の前方(時間的に古い側)に所定区間だけ、ローレベルを示す第1の値を有し、上記ポイントの後方(時間的に新しい側)に所定区間だけ、ハイレベルを示す第2の値を有する。また、上記ポイントの前後所定区間以外については、「0」を示す他の第3の値を有する。図7の例では、第1の値として「−1」、第2の値として「1」、第3の値として「0」を用いている。本実施の形態においては、ローレベルを示す第1の値の所定区間、および、ハイレベルを示す第2の値の所定区間は、ともに50msである。   As shown in FIG. 7, the first predicted waveform data P (1, j) rises from a low level to a high level at the beginning of the data (see reference numeral 700). In the predicted waveform data according to the present embodiment, the low level is set only for a predetermined interval in front of the point rising from the low level to the high level (the point indicated by reference numeral 700 in the first predicted waveform data). And a second value indicating a high level only for a predetermined interval behind the point (a new side in time). Other than the predetermined section before and after the point, another third value indicating “0” is provided. In the example of FIG. 7, “−1” is used as the first value, “1” is used as the second value, and “0” is used as the third value. In the present embodiment, the predetermined interval of the first value indicating the low level and the predetermined interval of the second value indicating the high level are both 50 ms.

また、実際の演算においては、第1の値を有する部分と第2の値を有する部分、つまり、第1の予測波形データP(1,j)(符号701参照)では、符号711、712に示す部分、第2の予測波形データP(2、j)〜第20の予測波形データP(20,j)では、それぞれ、符号721、731、741、751で示す部分のみの演算が実質的に有効となる。   In the actual calculation, in the portion having the first value and the portion having the second value, that is, in the first predicted waveform data P (1, j) (see reference numeral 701), reference numerals 711 and 712 are given. In the portion shown, the second predicted waveform data P (2, j) to the twentieth predicted waveform data P (20, j), only the operations indicated by the reference numerals 721, 731, 741, and 751 are substantially performed. It becomes effective.

図7から理解できるように、第2の予測波形データP(2,j)(符号702参照)は、データの先頭から50msだけ経過した位置でローレベルからハイレベルに立ち上がる。以下、第3の予測波形データP(3,j)、第4の予測波形データP(4,j)、・・・・は、ローレベルからハイレベルへの立ち上がりの位置が、50msに対応する位置だけ順次後ろになっていく。   As can be understood from FIG. 7, the second predicted waveform data P (2, j) (see reference numeral 702) rises from the low level to the high level at a position where 50 ms has elapsed from the top of the data. Hereinafter, in the third predicted waveform data P (3, j), the fourth predicted waveform data P (4, j),..., The rising position from the low level to the high level corresponds to 50 ms. Only the position goes back sequentially.

図8は、本実施の形態にかかる送信局の判別および秒パルス位置の検出(秒同期)をより詳細に示すフローチャート、図9は、秒パルス位置の検出処理における共分散値の算出処理の例を示すフローチャートである。また、図10は、本実施の形態にかかる秒パルス位置の検出処理を模式的に示す図である。   FIG. 8 is a flowchart showing in more detail transmission station discrimination and second pulse position detection (second synchronization) according to the present embodiment, and FIG. 9 shows an example of covariance value calculation processing in second pulse position detection processing. It is a flowchart which shows. FIG. 10 is a diagram schematically illustrating the second pulse position detection process according to the present embodiment.

図8に示すように、予測波形データ生成部23は、CPU11の指示にしたがって、上述したような、4単位時間長(4秒)の、それぞれ、50msずつ、ローレベルからハイレベルへの立ち上がりの位置がずれた20個の予測波形データP(1,j)〜P(20,j)を生成する(ステップ801、図10の符号1001)。予測波形データの値は、図7を参照して説明したように、第1の値、第2の値および第3の値の何れかとなる。   As shown in FIG. 8, the predicted waveform data generation unit 23 rises from the low level to the high level by 50 ms each in 4 unit time length (4 seconds) as described above according to the instruction of the CPU 11. Twenty pieces of predicted waveform data P (1, j) to P (20, j) whose positions are shifted are generated (step 801, reference numeral 1001 in FIG. 10). As described with reference to FIG. 7, the value of the predicted waveform data is any one of the first value, the second value, and the third value.

次いで、信号比較回路18において共分散値の算出処理が実行される(ステップ802)。図9に示すように、CPU11の指示にしたがって、波形切り出し部24は、受信波形データバッファ22から、4単位時間長(4秒)のデータを切り出して、入力波形データSn(j)を生成する(ステップ901、図10の符号1011)。本実施の形態では、1秒あたり20サンプルのデータが取得されるため、Sn(j)は、80サンプルを含むデータとなる。なお、処理を高速化させ、或いは、受信波形データバッファ22のサイズを小さくするために、波形切り出し部24は、4単位時間長のデータの全てが受信波形データバッファ22に格納されない状態で、Sn(1)、Sn(2)、・・・という順で順次、サンプルデータを取り出していっても良い。   Next, covariance value calculation processing is executed in the signal comparison circuit 18 (step 802). As shown in FIG. 9, in accordance with an instruction from the CPU 11, the waveform cutout unit 24 cuts out data having a unit time length (4 seconds) from the received waveform data buffer 22 to generate input waveform data Sn (j). (Step 901, reference numeral 1011 in FIG. 10). In this embodiment, since 20 samples of data are acquired per second, Sn (j) is data including 80 samples. In order to increase the processing speed or reduce the size of the received waveform data buffer 22, the waveform cutout unit 24 is configured so that all of the data of four unit time lengths are not stored in the received waveform data buffer 22. Sample data may be taken out in order of (1), Sn (2),.

本実施の形態において、入力波形データ生成部21は、受信回路16から出力されたアナログ信号(図10の符号1010参照)を、所定レベルを閾値として二値化する。ニ値化の際に、ローレベルのときには、データ値として第1の値「−1」が与えられ、ハイレベルのときには、データ値として第2の値「1」が与えられる。したがって、受信データバッファ22には、第1の値および第2の値からなるディジタルデータが格納される。したがって、波形切り出し部24により抽出される入力波形データSn(j)のデータ値も、第1の値或いは第2の値の何れかの値をとる。   In the present embodiment, the input waveform data generation unit 21 binarizes the analog signal (see reference numeral 1010 in FIG. 10) output from the reception circuit 16 with a predetermined level as a threshold value. At the time of binarization, the first value “−1” is given as the data value when the level is low, and the second value “1” is given as the data value when the level is high. Therefore, the reception data buffer 22 stores digital data composed of the first value and the second value. Therefore, the data value of the input waveform data Sn (j) extracted by the waveform cutout unit 24 also takes either the first value or the second value.

次いで、相関値算出部25は、CPU11の指示に従って、予測波形データを特定するパラメータpを「1」に初期化し(ステップ902)、入力波形データSn(j)と、予測波形データP(p,j)のそれぞれとの間の相関値(共分散値)C(p)を算出する(ステップ903)。また、相関値算出部25は、共分散値C(p)の累算値Ca(p)を算出する(ステップ904)。   Next, the correlation value calculation unit 25 initializes a parameter p for specifying the predicted waveform data to “1” in accordance with an instruction from the CPU 11 (step 902), the input waveform data Sn (j), and the predicted waveform data P (p, The correlation value (covariance value) C (p) between each of j) is calculated (step 903). Further, the correlation value calculating unit 25 calculates an accumulated value Ca (p) of the covariance value C (p) (step 904).

本実施の形態において、相関値算出部25は、入力波形データのデータ値Sn(j)と、その平均値Sm、予測波形データのデータ値P(p,j)値と、その平均値Pmとを用いて、共分散値C(p)を算出する。図10において、Sn(j)と、P(1,j)、P(2,j)、・・・、P(20,j)のそれぞれとの共分散値の算出により、C(1)、C(2)、・・・、C(20)が得られている。   In the present embodiment, the correlation value calculation unit 25 includes the data value Sn (j) of the input waveform data, its average value Sm, the data value P (p, j) value of the predicted waveform data, and its average value Pm. Is used to calculate the covariance value C (p). In FIG. 10, by calculating the covariance values of Sn (j) and each of P (1, j), P (2, j),..., P (20, j), C (1), C (2),..., C (20) are obtained.

共分散値C(p)は、本来は以下の数式で表される。   The covariance value C (p) is originally represented by the following mathematical formula.

C(p)=(1/N)*Σ((Sn(j)−Sm)*(P(p、j)−Pm))
Sm=(1/N)*Σ(Sn(j))、Pm=(1/N)*Σ(P(p、j))
なお、シグマは、j=1〜Nについてのものである。なお、上述したように、波形切り出し部24が、Sn(1)、Sn(2)、・・・という順で順次、サンプルデータを取り出していく場合には。全てのSn(j)(j=1〜N)がステップ703の当初には取得されていない。したがって、ステップ903の当初の段階では、平均値Sm=(1/N)*Σ(Sn(j))が得られない。
C (p) = (1 / N) * Σ ((Sn (j) −Sm) * (P (p, j) −Pm))
Sm = (1 / N) * Σ (Sn (j)), Pm = (1 / N) * Σ (P (p, j))
The sigma is for j = 1 to N. As described above, when the waveform cutout unit 24 sequentially extracts sample data in the order of Sn (1), Sn (2),. All Sn (j) (j = 1 to N) is not acquired at the beginning of step 703. Therefore, in the initial stage of Step 903, the average value Sm = (1 / N) * Σ (Sn (j)) cannot be obtained.

しかしながら、上記C(p)は、
C(p)=(1/N)Σ(Sn(j)*P(p,j))−Sm*Pm
と変形される。したがって、波形切り出し部24が、サンプルデータSn(j)を取得するごとに、相関値算出部25は、Sn(j)*P(p,j)を演算して、乗算結果である演算値を、加算結果に累算することを繰り返し、最後のサンプルデータSn(N)が得られたときに、相関値算出部25が、平均値Smを算出して、累算結果から、Sm*Pmを減算すればよい。
However, the above C (p) is
C (p) = (1 / N) Σ (Sn (j) * P (p, j)) − Sm * Pm
And transformed. Therefore, every time the waveform cutout unit 24 acquires the sample data Sn (j), the correlation value calculation unit 25 calculates Sn (j) * P (p, j) and obtains the calculated value as the multiplication result. When the last sample data Sn (N) is obtained, the correlation value calculation unit 25 calculates the average value Sm, and calculates Sm * Pm from the accumulation result. Subtract.

また、本実施の形態において、Sn(j)が第1の値「−1」で、P(p,j)が第1の値「−1」であるとき、Sn(j)*P(p,j)は「1」となる。同様に、Sn(j)が第2の値「1」で、P(p,j)が第2の値「1」であるときにも、Sn(j)*P(p,j)は「1」となる。つまり、P(p,j)が第1の値或いは第2の値をとり、かつ、Sn(j)とP(p,j)との値が一致するときに、正の相関を示す所定値(本実施の形態では「1」)となる。   Further, in the present embodiment, when Sn (j) is the first value “−1” and P (p, j) is the first value “−1”, Sn (j) * P (p , J) becomes “1”. Similarly, when Sn (j) is the second value “1” and P (p, j) is the second value “1”, Sn (j) * P (p, j) is “ 1 ". In other words, when P (p, j) takes the first value or the second value and Sn (j) and P (p, j) match, the predetermined value indicates a positive correlation. (“1” in this embodiment).

その一方、Sn(j)が第1の値「−1」で、P(p,j)が第2の値「1」であるとき、Sn(j)*P(p,j)は「−1」となる。同様に、Sn(j)が第2の値「1」で、P(p,j)が第1の値「−1」であるときにも、Sn(j)*P(p,j)は「−1」となる。つまり、P(p,j)が第1の値或いは第2の値をとり、Sn(j)とP(p,j)との値が一致しないときに、負の相関を示す負の所定値(本実施の形態では「−1」)となる。   On the other hand, when Sn (j) is the first value “−1” and P (p, j) is the second value “1”, Sn (j) * P (p, j) is “− 1 ". Similarly, when Sn (j) is the second value “1” and P (p, j) is the first value “−1”, Sn (j) * P (p, j) is “−1”. That is, when P (p, j) takes the first value or the second value and Sn (j) and P (p, j) do not match, a negative predetermined value indicating a negative correlation (In this embodiment, “−1”).

さらに、P(p,j)が第3の値「0」であるときには、Sn(j)の値にかかわらず、Sn(j)*P(p,j)は、共分散値の算出に影響しない値「0」となる。また、本実施の形態においては、パラメータp(p=1〜20)ごとの共分散値C(p)、および、各パラメータpについての共分散値の累算値Ca(p)を比較して、その最大値や最小値を見出している。したがって、サンプル数Nで、(Sn(j)*P(p,j))の総和Σ(Sn(j)*P(p,j))を除する必要もない。   Further, when P (p, j) is the third value “0”, Sn (j) * P (p, j) affects the calculation of the covariance value regardless of the value of Sn (j). The value not to be “0”. In the present embodiment, the covariance value C (p) for each parameter p (p = 1 to 20) and the accumulated value Ca (p) of the covariance value for each parameter p are compared. Find the maximum and minimum values. Therefore, it is not necessary to divide the sum Σ (Sn (j) * P (p, j)) of (Sn (j) * P (p, j)) by the number of samples N.

したがって、ステップ802においては、単に、
Σ(Sn(j)*P(p,j))を、相関値C(p)として算出している。
Therefore, in step 802, simply
Σ (Sn (j) * P (p, j)) is calculated as the correlation value C (p).

図11は、本実施の形態にかかる共分散値の算出例を説明する図である。図11の例では、入力波形データ、予測波形データのうち、最初の1秒(j=1〜20)を示している。また、右側に表示されるC(1)〜C(6)は、Sn(j)*P(p,j)の総和Σ(Sn(j)*P(p,j))を示している。入力波形データSn(j)においては、j=4、5のときにハイレベルとなり、第2の値「1」を示す。それ以外ではローレベルであり、第1の値「−1」を示している。   FIG. 11 is a diagram for explaining an example of calculating a covariance value according to the present embodiment. In the example of FIG. 11, the first one second (j = 1 to 20) is shown in the input waveform data and the predicted waveform data. Also, C (1) to C (6) displayed on the right side indicate the total sum Σ (Sn (j) * P (p, j)) of Sn (j) * P (p, j). In the input waveform data Sn (j), when j = 4, 5, the input waveform data Sn (j) is at the high level and indicates the second value “1”. Otherwise, it is at a low level, indicating the first value “−1”.

予測波形データP(1,j)〜P(3,j)では、C(1)〜C(3)はそれぞれ「0」となる。その一方、波形の立ち上がり位置が、入力波形データSn(j)の波形の立ち上がり位置と一致する予想波形データP(4,j)では、C(4)は「2」となる。これに対して、波形の立ち上がり位置が、入力波形データSn(j)の波形の立ち下がり位置と一致する予測波形データP(6,j)では、C(6)は「−2」となる。このように、本実施の形態においては、入力波形データの立ち上がり位置と、予測波形の立ち上がり位置とが一致する場合には、より強い相関があることを示すようにより大きい共分散値が現れる。また、入力波形データの立ち下がり位置と、予測波形の立ち上がり位置とが一致する場合、つまり、波形の形状が逆位相になる場合には、負の相関を示す負の共分散値が現れる。その一方、予測波形データの立ち上がり位置以外については、演算結果に影響を与えない値「0」が現れる。   In the predicted waveform data P (1, j) to P (3, j), C (1) to C (3) are “0”, respectively. On the other hand, in the predicted waveform data P (4, j) whose waveform rising position matches the waveform rising position of the input waveform data Sn (j), C (4) is “2”. On the other hand, in the predicted waveform data P (6, j) in which the rising position of the waveform matches the falling position of the waveform of the input waveform data Sn (j), C (6) is “−2”. Thus, in this embodiment, when the rising position of the input waveform data matches the rising position of the predicted waveform, a larger covariance value appears to indicate that there is a stronger correlation. In addition, when the falling position of the input waveform data matches the rising position of the predicted waveform, that is, when the waveform has an opposite phase, a negative covariance value indicating a negative correlation appears. On the other hand, a value “0” that does not affect the calculation result appears except for the rising position of the predicted waveform data.

パラメータpが「20」より小さい場合には(ステップ905でNo)、パラメータpがインクリメントされて(ステップ906)、ステップ903に戻る。全てのパラメータpについて、共分散値C(1)〜C(20)が取得されると(ステップ905でYes)、処理を終了する。   If the parameter p is smaller than “20” (No in step 905), the parameter p is incremented (step 906), and the process returns to step 903. When the covariance values C (1) to C (20) are acquired for all the parameters p (Yes in step 905), the process is terminated.

ステップ802の後、CPU11は、共分散値の算出(ステップ802)の処理回数が、所定回数に達したかを判断する(ステップ803)。ステップ803でNoと判断された場合には、ステップ802に戻る。その一方、ステップ803でYesと判断された場合には、CPU11の指示にしたがって、送信局判別部27が、送信局判別処理を実行する(ステップ804)。図12は、本実施の形態にかかる送信局判別処理の例を示すフローチャートである。   After step 802, the CPU 11 determines whether the number of covariance value calculations (step 802) has reached a predetermined number (step 803). If NO is determined in step 803, the process returns to step 802. On the other hand, when it is determined Yes in step 803, the transmission station determination unit 27 executes transmission station determination processing in accordance with an instruction from the CPU 11 (step 804). FIG. 12 is a flowchart showing an example of a transmitting station discrimination process according to the present embodiment.

図12に示すように、送信局判別部27は、共分散値の累算値Ca(p)の最大値Camaxおよび最小値Caminを特定する(ステップ1201)。図13(a)〜(c)は、入力波形データSn(j)および予測波形データP(p,j)(p=1〜20)の共分散値の累算値Ca(p)(p=1〜20)の例を示すヒストグラムである。図13(a)〜(c)は、それぞれ、JJYの標準時刻電波信号に基づく入力波形データ、WWVBの標準時刻電波信号に基づく入力波形データ、および、MSFの標準時刻電波信号に基づく入力波形データにしたがって得られている(符号1300、1310、1320参照)。   As shown in FIG. 12, the transmitting station determination unit 27 specifies the maximum value Camax and the minimum value Camin of the accumulated value Ca (p) of the covariance value (step 1201). FIGS. 13A to 13C show the accumulated values Ca (p) (p = p) of the covariance values of the input waveform data Sn (j) and the predicted waveform data P (p, j) (p = 1 to 20). It is a histogram which shows the example of 1-20. FIGS. 13A to 13C respectively show input waveform data based on the JJY standard time radio signal, input waveform data based on the WWVB standard time radio signal, and input waveform data based on the MSF standard time radio signal. (See reference numerals 1300, 1310, 1320).

それぞれの例において、p=3が、秒の先頭位置に対応している。ヒストグラムに示される相関値(共分散値の累算値)Ca(p)は、入力波形データと予測波形データとの相関性(波形の類似度)を示している。その最大値Camaxが示す位置(図13(a)の例ではCa(3)の位置であるp=3:符号1301参照)に対応する予測波形データP(i,j)(図13(a)の例では、P(3,j))は、入力波形データと、最も正の相関が大きな予測波形データとなる。また、図13(b)、(c)に示す例では、その最小値Caminが示す位置(p=3:符号1311、1321参照)に対応する予測波形データが、最も負の相関が大きな予測波形データとなる。   In each example, p = 3 corresponds to the start position of the second. The correlation value (accumulated value of covariance values) Ca (p) shown in the histogram indicates the correlation (waveform similarity) between the input waveform data and the predicted waveform data. Predicted waveform data P (i, j) corresponding to the position indicated by the maximum value Camax (p = 3, which is the position of Ca (3) in the example of FIG. 13 (a): 1301) (FIG. 13 (a)). In this example, P (3, j)) is input waveform data and predicted waveform data having the largest positive correlation. In the examples shown in FIGS. 13B and 13C, the predicted waveform data corresponding to the position indicated by the minimum value Camin (p = 3: see symbols 1311, 1321) has the largest negative correlation. It becomes data.

図6を参照して説明したように、JJYの標準時刻電波信号において、秒先頭位置では立ち上がりエッジであるのに対して、WWVBおよびMSFの標準時刻信号において、秒先頭位置では立ち下がりエッジとなっている。したがって、図13(a)に示すように、JJYの標準時刻電波信号から得た入力波形データでは、最も大きな正の相関を示す最大値Camax(符号1301参照)は、最も大きな負の相関を示す最小値Camin(符号1302参照)より大きくなる。その一方、WWVBおよびMSFの標準時刻電波信号から得た入力波形データでは、最も大きな負の相関を示す最小値Camin(符号1311、1321参照)が、最も大きな正の相関を示す最小値Camax(たとえば、符号1312、1322参照)より大きくなる。そこで、送信判別部27は、以下のような判断によりJJYと、WWVB、MSFとを区別している。   As described with reference to FIG. 6, the standard time radio signal of JJY has a rising edge at the leading position of the second, whereas the standard time signal of WWVB and MSF has a falling edge at the leading position of the second. ing. Therefore, as shown in FIG. 13A, in the input waveform data obtained from the JJY standard time radio signal, the maximum value Camax (see reference numeral 1301) indicating the largest positive correlation indicates the largest negative correlation. It becomes larger than the minimum value Camin (see reference numeral 1302). On the other hand, in the input waveform data obtained from the standard time radio signals of WWVB and MSF, the minimum value Camin (see reference numerals 1311 and 1321) indicating the largest negative correlation is the minimum value Camax (for example, the largest positive correlation). , Reference numerals 1312, 1322). Therefore, the transmission determination unit 27 distinguishes JJY from WWVB and MSF based on the following determination.

送信局判別部27は、共分散値の累算値を参照して、その最大値Camaxと最小値Caminとの和が「0」より大きいかを判断する(ステップ1202)。ステップ1202でYesと判断された場合には、送信局判別部27は、送信局がJJYの送信局であると判断する(ステップ1203)。   The transmitting station determination unit 27 refers to the accumulated value of the covariance values and determines whether the sum of the maximum value Camax and the minimum value Camin is greater than “0” (step 1202). If it is determined Yes in step 1202, the transmission station determination unit 27 determines that the transmission station is a JJY transmission station (step 1203).

ステップ1202でNoと判断された場合には、送信局がWWVB或いはMSFの何れであるかを判断する必要がある。図13(b)に示すように、WWVBの標準時刻電波信号から得た入力波形データでは、秒の先頭位置(最小値Caminが現れる位置)から、200ms、500msおよび800msだけ時間が経過した位置において、累算値の極大値が現れる(符号1312、1313、1314参照)。WWVBの標準時刻電波では、符号“0”が秒先頭位置から200ms経過後にパルスの立ち上がりを有し、符号“1”が秒先頭位置から500ms経過後にパルスの立ち上がりを有し、また、符号“P”が秒先頭位置から800ms経過後にパルスの立ち上がりを有している。したがって、符号におけるパルスの立ち上がりと、入力波形データにおける立ち上がりとが一致する場合があるため、上述した位置において正の相関を示す極大値が現れる。   If it is determined No in step 1202, it is necessary to determine whether the transmitting station is WWVB or MSF. As shown in FIG. 13 (b), in the input waveform data obtained from the WWVB standard time radio signal, at the position where 200 ms, 500 ms and 800 ms have elapsed from the start position of the second (the position where the minimum value Camin appears). Then, the maximum value of the accumulated value appears (see reference numerals 1312, 1313, and 1314). In the standard time radio wave of WWVB, the code “0” has a pulse rising after 200 ms from the second head position, the code “1” has a pulse rising after 500 ms from the second head position, and the code “P” "Has a rising edge after 800 ms from the beginning of the second. Therefore, since the rising edge of the pulse in the code may coincide with the rising edge in the input waveform data, a maximum value indicating a positive correlation appears at the above-described position.

その一方、図13(c)に示すように、MSFの標準時刻電波信号から得た入力波形データでは、秒の先頭位置(最小値Caminが現れる位置)から、100ms、200ms、300msおよび500msだけ時間が経過した位置において、累算値の極大値が現れる(符号1322〜1325参照)。MSFの標準時刻電波では、符号“A=0,B=0”が秒先頭位置から100ms経過後にパルスの立ち上がりを有し、符号“A=1,B=0”が秒先頭位置から200ms経過後にパルスの立ち上がりを有し、符号“A=0,B=1”が秒先頭位置から100経過後および300ms経過後にパルスの立ち上がりを有し、符号“A=1,B=1”が秒先頭位置から300ms経過後にパルスの立ち上がりを有し、符号“M”が秒先頭位置から500ms経過後にパルスの立ち上がりを有する。したがって、符号におけるパルスの立ち上がりと、入力波形データにおける立ち上がりとが一致する場合があるため、上述した位置において正の相関を示す極大値が現れる。   On the other hand, as shown in FIG. 13C, in the input waveform data obtained from the MSF standard time radio signal, the time is 100 ms, 200 ms, 300 ms, and 500 ms from the start position of the second (where the minimum value Camin appears). At the position where elapses, the maximum value of the accumulated value appears (see reference numerals 1322 to 1325). In the standard time radio wave of MSF, the code “A = 0, B = 0” has a pulse rising after 100 ms from the second head position, and the code “A = 1, B = 0” is 200 ms after the second head position. It has a rising edge of the pulse, the code “A = 0, B = 1” has the rising edge of the pulse after 100 seconds and 300 ms from the second head position, and the code “A = 1, B = 1” has the second head position. 300 ms from the start of the pulse, and the sign “M” has the rise of the pulse after 500 ms from the second position. Therefore, since the rising edge of the pulse in the code may coincide with the rising edge in the input waveform data, a maximum value indicating a positive correlation appears at the above-described position.

WWVBの標準時刻電波から得た入力波形データでは、符号の出現頻度を考慮すると、秒の先頭位置から200ms或いは500ms経過した位置の何れかで、累算値の最大値が出現することが予想される。符号“P”は、マーカーであるため、他の符号“0”および“1”と比較すると、その出現頻度は小さい。したがって、秒の先頭位置から800ms経過した位置で、累算値の最大値は出現しないと考えられる。   In the input waveform data obtained from the standard time radio wave of WWVB, the maximum accumulated value is expected to appear at either 200 ms or 500 ms after the second position in consideration of the appearance frequency of the code. The Since the code “P” is a marker, its appearance frequency is small compared to other codes “0” and “1”. Therefore, it is considered that the maximum value of the accumulated value does not appear at a position where 800 ms has elapsed from the start position of the second.

MSFの標準時刻電波から得た入力波形データでは、符号の出現頻度を考慮すると、秒の先頭位置から100ms、200ms或いは300ms経過した位置の何れかで、累算値の最大値が出現することが予想される。符号“M”は、マーカーであるため、他の符号と比較すると、その出現頻度は小さい。したがって、秒の先頭位置から500ms経過した位置で、累算値の最大値は出現しないと考えられる。   In the input waveform data obtained from the standard time radio wave of MSF, the maximum accumulated value may appear at a position where 100 ms, 200 ms, or 300 ms have elapsed from the start position of the second in consideration of the appearance frequency of the code. is expected. Since the code “M” is a marker, its appearance frequency is small compared to other codes. Therefore, it is considered that the maximum value of the accumulated value does not appear at a position where 500 ms has elapsed from the start position of the second.

そこで、ステップ1202でNoと判断された場合には、送信局判別部27は、累算値の最小値Caminが現れた位置から500ms後ろ側に位置する累算値Ca(p1)を特定する(ステップ1204)。次いで、送信局判別部27は、当該Ca(p1)が累算値の最大値であるかを判断する(ステップ1205)。ステップ1205でYesと判断された場合には、送信局判別部27は、送信局がWWVBの送信局であると判断する(ステップ1206)。   Therefore, when it is determined No in step 1202, the transmitting station determination unit 27 specifies the accumulated value Ca (p1) located 500 ms behind the position where the minimum accumulated value Camin appears ( Step 1204). Next, the transmitting station determination unit 27 determines whether or not the Ca (p1) is the maximum accumulated value (step 1205). When it is determined Yes in step 1205, the transmission station determination unit 27 determines that the transmission station is a WWVB transmission station (step 1206).

ステップ1205でNoと判断された場合には、累算値の最小値Caminが現れた位置から500ms後ろ側に位置する累算値Ca(p1)に加えて、送信局判別部27は、800ms後ろ側に位置する累算値Ca(p2)を特定し(ステップ1207)、Ca(p1)或いはCa(p2)が、累算値Caの2番目に大きな値であるかを判断する(ステップ1208)。ステップ1208でYesと判断された場合には、送信局判別部27は、送信局がWWVBの送信局であると判断する(ステップ1206)。   If it is determined No in step 1205, in addition to the accumulated value Ca (p1) located 500 ms behind the position at which the minimum accumulated value Camin appears, the transmitting station discriminating unit 27 performs the following 800 ms. The accumulated value Ca (p2) located on the side is specified (step 1207), and it is determined whether Ca (p1) or Ca (p2) is the second largest value of the accumulated value Ca (step 1208). . When it is determined Yes in step 1208, the transmission station determination unit 27 determines that the transmission station is a WWVB transmission station (step 1206).

その一方、ステップ1208でNoと判断された場合には、送信局判別部27は、送信局がMSFの送信局であると判断する(ステップ1209)。   On the other hand, when it is determined No in step 1208, the transmission station determination unit 27 determines that the transmission station is an MSF transmission station (step 1209).

送信局判別処理(ステップ804)が終了すると、相関値比較部26は、相関値の累算値Ca(1)〜Ca(20)を比較して、送信局にしたがった、累算値の最適値C(x)を見出す(ステップ805)。送信局がJJYの送信局であれば、最適値は最大値となる。その一方、送信局がWWVB或いはMSFの送信局であれば、最適値は最小値となる。CPU11は、最適値C(x)を受け入れて、当該最適値が有効であるか否かを判断する(ステップ806)。   When the transmission station determination process (step 804) is completed, the correlation value comparison unit 26 compares the correlation value accumulation values Ca (1) to Ca (20) and optimizes the accumulation value according to the transmission station. The value C (x) is found (step 805). If the transmitting station is a JJY transmitting station, the optimum value is the maximum value. On the other hand, if the transmitting station is a WWVB or MSF transmitting station, the optimum value is the minimum value. The CPU 11 receives the optimum value C (x) and determines whether or not the optimum value is valid (step 806).

以下、送信局がJJYの送信局であった場合の、最適値の有効の判断について説明する。得られた共分散値C(p)の中で最大値を示すC(x)が最も相関の高い予測波形であるが、母数の不十分な標本から得られた共分散値においては、ノイズによる偶発的な要因で最大値が出現する場合もある。このような場合を排除する目的で、たとえば、ステップ806においては、たとえば、以下のような判断基準を設け、誤検出を避ける。
(1)共分散計算に使用した入力波形データの数が既定数以上であること
(2)C(x)を示すxの値が複数回数出現し、かつ、複数回数xの値が等しく、その頻度が他に比べて大きいこと。(xが最頻値)
(3)既定回数以上連続してxの値が等しいこと。(最頻値の連続性)
(4)C(p)の分散が規定値以下であること、
(5)C(p)の統計量である尖度や歪度もしくは、それに準ずる評価関数を計算し、その結果が規定値に達しているかを判断すること。
Hereinafter, determination of validity of the optimum value when the transmitting station is a JJY transmitting station will be described. Among the obtained covariance values C (p), C (x) indicating the maximum value is a predicted waveform having the highest correlation. However, in a covariance value obtained from a sample with insufficient parameters, noise The maximum value may appear due to an accidental factor. For the purpose of eliminating such a case, for example, in step 806, for example, the following criteria are provided to avoid erroneous detection.
(1) The number of input waveform data used for covariance calculation is greater than or equal to a predetermined number. (2) The value of x indicating C (x) appears multiple times, and the value of the multiple times x is equal. The frequency is higher than others. (X is the mode)
(3) The value of x is continuously equal to the predetermined number of times. (Continuity of mode)
(4) The variance of C (p) is below a specified value,
(5) Calculate kurtosis or skewness, which is a statistic of C (p) , or an evaluation function equivalent thereto, and determine whether the result reaches a specified value.

無論、有効性の判断は上述した手法に限定されず、相関値の平均値や標準偏差を利用して、たとえば、相関値の極大値であっても、平均値より小さいものは有意ではないと判断しても良いし、統計において一般的な有意水準(たとえば、5パーセント)を利用しても良い。   Of course, the judgment of effectiveness is not limited to the above-described method, and the average value or standard deviation of the correlation value is used, for example, even if the correlation value is the maximum value, the value smaller than the average value is not significant. Judgment may be made, or a general significance level (for example, 5%) in statistics may be used.

最適値C(x)が有効であれば(ステップ806でYes)、CPU11は、最適値C(x)が示す予想波形データにおける信号レベルの変化点、つまり、ローレベルを示す第1の値からハイレベルを示す第2の値に変化する位置を、秒パルス位置と判断する(ステップ809)。CPU11は、秒パルス位置の情報を、RAM15に格納しておく。この秒パルス位置は、以下に述べる分先頭位置の検出等の処理で使用される。   If the optimum value C (x) is valid (Yes in step 806), the CPU 11 starts from the signal level change point in the predicted waveform data indicated by the optimum value C (x), that is, the first value indicating the low level. The position that changes to the second value indicating the high level is determined as the second pulse position (step 809). The CPU 11 stores second pulse position information in the RAM 15. This second pulse position is used in processing such as detection of the leading position as described below.

送信局の判別および秒パルス位置の検出(ステップ401)が終了すると、分先頭位置が検出される(ステップ402)。分先頭位置の検出を、分同期とも称する。ステップ401により、すでに秒パルス位置(秒の先頭位置)は確定している。また、たとえば、JJYでは、図5に示すように、1分のフレームにおいて、末尾にポジションマーカー「P0」を示す符号が配置され、また、先頭にマーカー「M」を示す符号が配置される。ポジションマーカー「P0」およびマーカー「M」は、ともに、デューティ20%の符号「P」である。分同期においては、分の先頭位置の前後を含む所定の単位時間長の予測波形データが生成される。   When the determination of the transmitting station and the detection of the second pulse position (step 401) are completed, the minute start position is detected (step 402). Detection of the minute start position is also referred to as minute synchronization. In step 401, the second pulse position (first position of the second) has already been determined. Further, for example, in JJY, as shown in FIG. 5, in one frame, a code indicating the position marker “P0” is arranged at the end, and a code indicating the marker “M” is arranged at the top. Both the position marker “P0” and the marker “M” have a sign “P” with a duty of 20%. In minute synchronization, predicted waveform data having a predetermined unit time length including before and after the minute start position is generated.

以下、送信局がJJYの送信局であると判断された場合について説明する。この場合には、デューティ20%の符号「P」が連続している形態の2単位時間長の予測波形データが生成されるまた、それぞれ秒パルス位置(つまり秒先頭位置)から開始される2単位時間長(2秒)の入力波形データが60個生成される。予測波形データと、60個の入力波形データの各々との相関値を算出することにより60個の相関値(共分散値)C(1)〜C(60)を得ることができる。   Hereinafter, a case where it is determined that the transmitting station is a JJY transmitting station will be described. In this case, predicted waveform data having a two-unit time length in a form in which a code “P” with a duty of 20% is continuous is generated, and each of two units starting from the second pulse position (that is, the second head position). 60 pieces of input waveform data having a time length (2 seconds) are generated. By calculating the correlation value between the predicted waveform data and each of the 60 input waveform data, 60 correlation values (covariance values) C (1) to C (60) can be obtained.

図14は、本実施の形態にかかる分先頭位置の検出(分同期)の例をより詳細に示すフローチャートである。また、図15は、本実施の形態にかかる分先頭位置の検出における入力波形データおよび予測波形データを説明する図である。秒同期によって、すでに秒パルス位置(秒先頭位置)は確定している。   FIG. 14 is a flowchart showing in more detail an example of minute position detection (minute synchronization) according to the present embodiment. FIG. 15 is a diagram for explaining input waveform data and predicted waveform data in the detection of the leading position according to this embodiment. With the second synchronization, the second pulse position (second head position) has already been determined.

予測波形データ生成部23は、CPU11からの指示にしたがって、JJYの規格にしたがった符号「P」を2つ連ねた形態の2単位時間長の予測波形データP(j)を生成する(ステップ1401)。図15に示すように、この予測波形データ(符号1500参照)は、単位時間長(1秒)において最初の200ms(20%)がハイレベルで残りがローレベルであるような波形を2つ連ねたものである。   The predicted waveform data generation unit 23 generates predicted waveform data P (j) having a 2-unit time length in a form in which two codes “P” in accordance with the JJY standard are connected in accordance with an instruction from the CPU 11 (step 1401). ). As shown in FIG. 15, this predicted waveform data (see reference numeral 1500) has two waveforms in which the first 200 ms (20%) is high level and the rest is low level in unit time length (1 second). It is a thing.

予測波形データ生成部23は、生成された予測波形データP(j)の特徴区間に属するデータ値(特徴値)を抽出する(ステップ1402)。図16(a)、(b)は、JJYの各符号における特徴区間を説明する図である。図16(a)に示すように、符号「P」(符号1601参照)、符号「1」(符号1602参照)および符号「0」(符号1603参照)においては、その値が他の符号の値と異なるような、固有の値を有する区間が存在する。たとえば、符号「P」では、200ms〜500msに至る区間(符号1611参照)がローレベル(データ値「−1」)であり、この区間において、他と異なる固有の値「−1」を有している。   The predicted waveform data generation unit 23 extracts data values (feature values) belonging to the feature section of the generated predicted waveform data P (j) (step 1402). FIGS. 16A and 16B are diagrams for explaining the feature sections in each code of JJY. As shown in FIG. 16 (a), in the code “P” (see the reference 1601), the code “1” (see the reference 1602), and the code “0” (see the reference 1603), the value is the value of another code. There are sections with unique values that are different from For example, in the code “P”, an interval from 200 ms to 500 ms (refer to the code 1611) is a low level (data value “−1”), and this interval has a unique value “−1” different from others. ing.

したがって、本実施の形態においては、符号「P」において200ms〜500msの区間が特徴区間となる。図15に示す予測波形データP(j)において、単位時間長のサンプル数が20であれば、j=1〜40となる。この場合には、予測波形データ生成部23は、特徴値として、200ms〜500msの区間および1200ms〜1500msの区間のデータ値、つまり、P(5)〜P(10)およびP(25)〜P(30)のみを抽出する。   Therefore, in the present embodiment, the section of 200 ms to 500 ms is the feature section in the code “P”. In the predicted waveform data P (j) shown in FIG. 15, if the number of samples of unit time length is 20, j = 1 to 40. In this case, the predicted waveform data generation unit 23 uses, as the feature value, data values in a section of 200 ms to 500 ms and a section of 1200 ms to 1500 ms, that is, P (5) to P (10) and P (25) to P Only (30) is extracted.

後述するが、符号のデコード処理においても、予測波形データの特徴区間の特徴値が利用される。符号のデコード処理では、符号「0」或いは符号「1」の何れであるかが判断できれば良い。つまり、分同期は終了しているため、符号「P」の判別は不要である。   As will be described later, the feature value of the feature section of the predicted waveform data is also used in the code decoding process. In the code decoding process, it is only necessary to determine whether the code is “0” or “1”. That is, since the minute synchronization has been completed, it is not necessary to determine the code “P”.

図16(b)に示すように、符号「1」では、500ms〜800msに至る区間(符号1612参照)がローレベル(データ値「−1」)であり、この区間において、他の符号「0」と異なる固有の値「−1」を有している。その一方、符号「0」では、500ms〜800msに至る区間(符号1613参照)がハイレベル(データ値「1」)であり、この区間において、他の符号「1」と異なる固有の値「1」を有している。したがって、符号「1」および「0」においては、それぞれ、500ms〜800msの区間が特徴区間となる。また、符号「1」の特徴区間における特徴値は「−1」であり、符号「0」の特徴区間における特徴値は「1」である。   As shown in FIG. 16B, in the code “1”, the section (see the code 1612) from 500 ms to 800 ms is at the low level (data value “−1”). And a unique value “−1”. On the other hand, in the code “0”, an interval from 500 ms to 800 ms (see reference numeral 1613) is a high level (data value “1”). In this interval, a unique value “1” different from other codes “1” is obtained. "have. Therefore, in the codes “1” and “0”, a section of 500 ms to 800 ms is a feature section. Further, the feature value in the feature section with the code “1” is “−1”, and the feature value in the feature section with the code “0” is “1”.

次いで、秒先頭位置を特定するためのパラメータiが初期化され、CPU11の指示にしたがって、波形切り出し部24は、受信波形データバッファ22から秒先頭位置から2単位時間長(2秒)の入力波形データSn(i,j)を生成する(ステップ1404)。また、波形切り出し部24は、予測波形データの特徴区間に対応するよう、Sn(i,j)の特徴区間に属するデータ値を抽出する(ステップ1405)。波形切り出し部24は、i=1のときには、Sn(1,5)〜Sn(1,10)およびSn(1,25)〜Sn(1,30)を、特徴区間に属するデータ値として抽出する。一般には、
Sn(i,5)〜S(i,10)、および、
Sn(i,25)〜S(i,30)が、特徴区間に属するデータとして抽出される。
Next, the parameter i for specifying the second head position is initialized, and in accordance with an instruction from the CPU 11, the waveform cutout unit 24 inputs an input waveform having a unit time length (2 seconds) from the second head position from the received waveform data buffer 22. Data Sn (i, j) is generated (step 1404). In addition, the waveform cutout unit 24 extracts data values belonging to the feature section of Sn (i, j) so as to correspond to the feature section of the predicted waveform data (step 1405). When i = 1, the waveform cutout unit 24 extracts Sn (1,5) to Sn (1,10) and Sn (1,25) to Sn (1,30) as data values belonging to the feature section. . In general,
Sn (i, 5) -S (i, 10), and
Sn (i, 25) to S (i, 30) are extracted as data belonging to the feature section.

次いで、相関値算出部25は、特徴区間に属する入力波形データSn(i,j)と、特徴区間に属する予測波形データP(j)との相関値(共分散値)C(i)を算出する(ステップ1406)。共分散値の算出は、秒同期処理と同様であるため、特徴区間との兼ね合いのみを説明する。本実施の形態においては、入力波形データについて、Sn(i,5)〜S(i,10)、および、Sn(i,25)〜S(i,30)が、特徴区間に属するデータ値として抽出される。また、予測波形データについても、P(5)〜P(10)およびP(25)〜(P30)が抽出される。   Next, the correlation value calculation unit 25 calculates a correlation value (covariance value) C (i) between the input waveform data Sn (i, j) belonging to the feature section and the predicted waveform data P (j) belonging to the feature section. (Step 1406). Since the calculation of the covariance value is the same as that of the second synchronization process, only the balance with the feature section will be described. In the present embodiment, Sn (i, 5) to S (i, 10) and Sn (i, 25) to S (i, 30) are input waveform data as data values belonging to the feature section. Extracted. Further, P (5) to P (10) and P (25) to (P30) are also extracted from the predicted waveform data.

したがって、共分散値C(i)の算出の際の、入力波形データのデータ値と、予測波形データのデータ値の乗算値の総和
ΣSn(i,j)*P(j)において、j=5〜10,25〜30となる。ここで、図16(a)を参照して説明したように、符号「P」の特徴区間のデータ値(特徴値)は「−1」である。したがって、予測区間における予測波形データP(j)(j=5〜10、25〜30)は、「−1」となる。したがって、上記乗算値の総和を算出する際に、Sn(i,j)(j=5〜10,25〜30)を求め、それに、特徴値「−1」を乗じれば良い。
Therefore, when calculating the covariance value C (i), the sum of the product values of the input waveform data and the data value of the predicted waveform data ΣSn (i, j) * P (j), j = 5 -10, 25-30. Here, as described with reference to FIG. 16A, the data value (feature value) of the feature section of the code “P” is “−1”. Therefore, the prediction waveform data P (j) (j = 5 to 10, 25 to 30) in the prediction section is “−1”. Therefore, when calculating the total sum of the multiplication values, Sn (i, j) (j = 5 to 10, 25 to 30) may be obtained and multiplied by the feature value “−1”.

次いで、CPU11は、パラメータiが60であるか否かを判断し(ステップ1407)、ステップ1407でNoと判断された場合には、パラメータiをインクリメントする(ステップ1408)。引き続くステップ1404においては、CPU11の指示にしたがって、波形切り出し部24は、次の秒先頭位置(つまり、先の入力波形データの秒先頭位置から20サンプルだけ後ろの位置)から2単位時間長(2秒)の入力波形データSn(i,j)を取得する。以下、新たに取得した入力波形データSn(i,j)と予測波形データP(j)との間で共分散値が算出される。   Next, the CPU 11 determines whether or not the parameter i is 60 (step 1407). If it is determined No in step 1407, the CPU 11 increments the parameter i (step 1408). In the subsequent step 1404, according to the instruction from the CPU 11, the waveform cutout unit 24 sets the length of 2 unit times (2) from the next second start position (that is, the position 20 samples behind the second start position of the previous input waveform data). Second) input waveform data Sn (i, j). Hereinafter, a covariance value is calculated between the newly acquired input waveform data Sn (i, j) and the predicted waveform data P (j).

図15に示すように、入力波形データSn(1,j)は、ある秒先頭位置からの2単位時間長のデータ1501、1502から構成される。次の入力波形データSn(2,j)は、次の秒先頭位置からの2単位時間長のデータ1502、1503から構成される。このように、Sn(n−1,j)とSn(n,j)とは、単位時間長(1秒)だけ秒先頭位置がずれたデータとなっている。最後尾の入力波形データSn(60,j)は、先頭の入力波形データSn(1,j)から59秒ずれた2単位時間長のデータ1559、1560から構成される。   As shown in FIG. 15, the input waveform data Sn (1, j) is composed of data 1501 and 1502 having a length of 2 unit time from a certain second head position. The next input waveform data Sn (2, j) is composed of data 1502 and 1503 having a length of 2 unit time from the next second head position. Thus, Sn (n-1, j) and Sn (n, j) are data in which the second head position is shifted by the unit time length (1 second). The last input waveform data Sn (60, j) is composed of data 1559 and 1560 of 2 unit time length shifted by 59 seconds from the first input waveform data Sn (1, j).

入力波形データS(1,j)、S(2,j)、S(3,j)、・・・、S(60,j)の特徴区間に属するデータ値と、予測波形データの特徴区空間に属する値とが用いられて、それぞれの共分散値が算出される。図15においては、図示の便宜上、Sn(1,j)、Sn(2,j)、Sn(3,j)、・・・、Sn(60,j)との間で共分散を算出する予測波形データを、P(1,j)、P(2,j)、P(3,j)、・・・、P(60,j)としているが、実際にはこれらは同じ値P(j)である。   The data values belonging to the feature sections of the input waveform data S (1, j), S (2, j), S (3, j),..., S (60, j) and the feature section space of the predicted waveform data Are used to calculate the respective covariance values. In FIG. 15, for convenience of illustration, prediction for calculating covariance among Sn (1, j), Sn (2, j), Sn (3, j),..., Sn (60, j). The waveform data is P (1, j), P (2, j), P (3, j),..., P (60, j), but these are actually the same value P (j). It is.

全ての相関値(共分散値)C(1)〜C(60)が取得されると、相関値比較部26は、共分散値C(1)〜C(60)を比較して、最適値(この場合には最大値)C(x)を見出す(ステップ1409)。CPU11は、最適値C(x)を受け入れて、当該最適値が有効であるか否かを判断する(ステップ1410)。有効であるか否かの判断も秒同期処理の場合(図8のステップ806)と同様である。なお、ステップ806に関する最適値の有効性の判断において、(1)〜(3)を適用する場合には、ステップ1403〜1409の処理の組が複数回実行される。   When all the correlation values (covariance values) C (1) to C (60) are acquired, the correlation value comparison unit 26 compares the covariance values C (1) to C (60) to determine the optimum value. (Maximum value in this case) C (x) is found (step 1409). The CPU 11 receives the optimum value C (x) and determines whether or not the optimum value is valid (step 1410). Whether it is valid or not is also the same as in the case of the second synchronization process (step 806 in FIG. 8). Note that in the determination of the validity of the optimum value relating to step 806, when (1) to (3) are applied, the processing set of steps 1403 to 1409 is executed a plurality of times.

ステップ1410でNoと判断された場合には、ステップ1403に戻り、波形切り出し部24は、CPU11の指示にしたがって、受信波形バッファ22に格納された、先の処理に用いられたデータとは別の入力波形データを取得する。   If it is determined No in step 1410, the process returns to step 1403, and the waveform cutout unit 24 is different from the data used for the previous processing stored in the reception waveform buffer 22 in accordance with the instruction from the CPU 11. Get input waveform data.

ステップ1410でYesと判断された場合には、CPU11は、最適値C(x)が示す入力波形データにおいて、2番目の符号「P」の先頭位置、つまり、2番目のローレベルからハイレベルへの立ち上がりの位置を、分の先頭位置と判断する(ステップ1411)。CPU11は、分の先頭位置の情報を、RAM15に格納しておく。   If it is determined Yes in step 1410, the CPU 11 changes the head position of the second code “P” in the input waveform data indicated by the optimum value C (x), that is, from the second low level to the high level. Is determined to be the leading position of the minute (step 1411). The CPU 11 stores information on the start position of the minute in the RAM 15.

分先頭位置の検出(ステップ402)、つまり、分同期が終了すると、分、時、曜日などの符号がデコードされる(ステップ403)。分のデコードでは、分の一の位のデコードおよび分の十の位のデコードが実行される。また、時のデコードでは、時の一の位のデコードおよび時の十の位のデコードが実行される。以下、送信局がJJYの送信局であった場合の分の一の位のデコードについて説明する。   When the minute leading position is detected (step 402), that is, when the minute synchronization is completed, codes such as minutes, hours, and days of the week are decoded (step 403). In the minute decoding, one-minute decoding and ten-minute decoding are executed. In the hour decoding, the hour's first digit and the hour's tenth digit are executed. Hereinafter, the decoding of a fraction of the case where the transmitting station is a JJY transmitting station will be described.

図17は、本発明の実施の形態にかかる分の一の位の検出処理の例を示すフローチャートである。この実施の態様においては、波形切り出し部24が、符号(分の一の位)の先頭位置から4単位時間長の入力波形データSn(j)を取得する(ステップ1701)。1秒あたり20サンプルであれば、80サンプル(j=1〜80)の入力波形データを得ることができる。   FIG. 17 is a flowchart showing an example of a fractional detection process according to the embodiment of the present invention. In this embodiment, the waveform cutout unit 24 acquires the input waveform data Sn (j) having a length of 4 unit time from the head position of the code (fractional place) (step 1701). If it is 20 samples per second, input waveform data of 80 samples (j = 1 to 80) can be obtained.

次いで、波形切り出し部24は、入力波形データSn(j)の特徴区間を抽出する(ステップ1702)。図16(b)に示すように、JJYに基づく符号「0」、「1」についての特徴区間は、符号の先頭から500msの位置から800msの位置である。したがって、入力波形データSn(j)の特徴区間は、
Sn(10)〜Sn(16)、Sn(30)〜Sn(36)、Sn(50)〜Sn(56)、および、Sn(70)〜Sn(76)のデータ値の区間となる。
Next, the waveform cutout unit 24 extracts a feature section of the input waveform data Sn (j) (step 1702). As shown in FIG. 16B, the feature section for the codes “0” and “1” based on JJY is a position 800 ms from a position 500 ms from the top of the code. Therefore, the characteristic section of the input waveform data Sn (j) is
It is a section of data values of Sn (10) to Sn (16), Sn (30) to Sn (36), Sn (50) to Sn (56), and Sn (70) to Sn (76).

次いで、BCDにより表される分の一の位の値を特定するパラメータBCDが「0000」に初期化される(ステップ1703)。予測波形データ生成部23は、パラメータBCDが示す符号に対応する4単位時間長の予測波形データP(j)を生成する(ステップ1704)。また、予測波形データ生成部23は、上記予測波形データP(j)の特徴区間を抽出する(ステップ1705)。この特徴区間は、
P(10)〜P(16)、P(30)〜P(36)、P(50)〜P(56)、および、P(70)〜P(76)のデータ値の区間となる。
Next, the parameter BCD that specifies the value of the fractional part represented by BCD is initialized to “0000” (step 1703). The predicted waveform data generation unit 23 generates predicted waveform data P (j) having a 4-unit time length corresponding to the code indicated by the parameter BCD (step 1704). Further, the predicted waveform data generation unit 23 extracts a feature section of the predicted waveform data P (j) (step 1705). This feature section is
This is a section of data values P (10) to P (16), P (30) to P (36), P (50) to P (56), and P (70) to P (76).

次いで、相関値算出部25は、Sn(j)の特徴区間のデータ値と、P(j)の特徴区間の対応するデータ値(特徴値)とを乗じて演算値を取得し、得られた演算値に基づき、共分散値C(p)を算出する(ステップ1706)。なお、予測波形データP(j)の特徴区間は4つあり、それぞれのデータ値は「1」または「0」となる。したがって、データ値の乗算は以下のように取得することができる。
(特徴区間(P(10)〜P(16))の特徴値)×Σ(Sn(10)〜Sn(16))+(特徴区間(P(30)〜P(36))の特徴値)×Σ(Sn(30)〜Sn(36))+(特徴区間(P(50)〜P(56))の特徴値)×Σ(Sn(50)〜Sn(56))+(特徴区間(P(70)〜P(76))の特徴値)×Σ(Sn(70)〜Sn(76))
したがって、全てのデータ値の乗算値の総和を求める必要は無い。
Next, the correlation value calculation unit 25 obtains an operation value by multiplying the data value of the feature section of Sn (j) and the corresponding data value (feature value) of the feature section of P (j). A covariance value C (p) is calculated based on the calculated value (step 1706). Note that there are four characteristic sections of the predicted waveform data P (j), and each data value is “1” or “0”. Therefore, the multiplication of data values can be obtained as follows.
(Feature value of feature section (P (10) to P (16))) × Σ (Sn (10) to Sn (16)) + (Feature value of feature section (P (30) to P (36))) × Σ (Sn (30) to Sn (36)) + (feature value of feature section (P (50) to P (56))) × Σ (Sn (50) to Sn (56)) + (feature section ( Characteristic value of P (70) to P (76)) × Σ (Sn (70) to Sn (76))
Therefore, there is no need to obtain the sum of the multiplication values of all data values.

パラメータが「BCD=1001」より小さければ(ステップ1707)、パラメータBCDをインクリメント(ステップ1708)してステップ1704に戻る。ステップ1707でYesと判断された場合には、ステップ1709に進む。   If the parameter is smaller than “BCD = 1001” (step 1707), the parameter BCD is incremented (step 1708) and the process returns to step 1704. If YES is determined in step 1707, the process proceeds to step 1709.

全ての相関値(共分散値)C(1)〜C(10)が取得されると、相関値比較部26は、共分散値C(1)〜C(10)を比較して、最適値(この場合には最大値)C(x)を見出す(ステップ1709)。CPU11は、最適値C(x)を受け入れて、当該最適値が有効であるか否かを判断する(ステップ1710)。有効であるか否かの判断も秒同期処理の場合(図8のステップ806)と同様である。ステップ1710でNoと判断された場合には、ステップ1701に戻る。その一方、ステップ1710でYesと版出された場合には、CPU11は、最適値C(x)が示す予測波形データが示す値(BCD)を、分の一の位の値と判断する(ステップ1711)。CPU11は、分の一の位の値を、RAM15に格納しておく。   When all the correlation values (covariance values) C (1) to C (10) are acquired, the correlation value comparison unit 26 compares the covariance values C (1) to C (10) to determine the optimum value. (Maximum value in this case) C (x) is found (step 1709). The CPU 11 accepts the optimum value C (x) and determines whether or not the optimum value is valid (step 1710). Whether it is valid or not is also the same as in the case of the second synchronization process (step 806 in FIG. 8). If NO in step 1710, the process returns to step 1701. On the other hand, if “Yes” is issued in step 1710, the CPU 11 determines that the value (BCD) indicated by the predicted waveform data indicated by the optimum value C (x) is a fractional value (step). 1711). The CPU 11 stores a fractional value in the RAM 15.

分の十の位、時の一の位および十の位、曜日など、他の符号のデコードも、分の一の位と同様の処理により実現できる。符号のデコードにより、現在日時、曜日、現在時刻などを含む時刻情報が取得されると、CPU11は、得られた時刻情報をRAM15に記憶する。また、CPU11は、符号から得られた現在時刻に基づいて、内部計時回路17において計時された現在時刻を修正するとともに、得られた現在時刻を表示部13に表示する(ステップ404)。   Decoding of other codes such as the tenths of a minute, the hours of the hour, the tens of the digits, and the day of the week can also be realized by the same processing as the ones of the minutes. When the time information including the current date and time, the day of the week, the current time, and the like is acquired by decoding the code, the CPU 11 stores the obtained time information in the RAM 15. Further, the CPU 11 corrects the current time measured by the internal clock circuit 17 based on the current time obtained from the code, and displays the obtained current time on the display unit 13 (step 404).

JJYの信号についての、秒同期、分同期、および、符号のデコードを説明したが、WWVBおよびMSFなど他の規格についても、秒同期、分同期、および、符号のデコードが可能である。   Although second synchronization, minute synchronization, and code decoding have been described for the JJY signal, second synchronization, minute synchronization, and code decoding are also possible for other standards such as WWVB and MSF.

WWVBやMSFの場合の共分散について再度説明する。図6(b)、(c)に示すように、WWVBやMSFでは、秒の先頭でハイレベルからローレベルに立ち下がる。図18は、入力波形データと予測波形データとの間の共分散値を説明する図である。図18(a)において、入力波形データSn(j)は、秒の先頭位置(符号1800参照)で、ローレベルからハイレベルに立ち上がる。上記立ち上がりのポイントの前方で、ローレベルに対応する第1の値をとり、立ち上がりのポイントの後方で、ハイレベルに対応する第2の値をとるような予測波形データP(j)と、上記入力波形データSn(j)との共分散値Cを考えると、最大値である「2」をとる。このように、JJYに基づく入力波形データのように秒の先頭位置で立ち上がる波形では、秒の先頭位置で、共分散値(或いは共分散値の累算値)の最大値が現れる。   The covariance in the case of WWVB or MSF will be described again. As shown in FIGS. 6B and 6C, WWVB and MSF fall from the high level to the low level at the beginning of the second. FIG. 18 is a diagram for explaining a covariance value between input waveform data and predicted waveform data. In FIG. 18A, the input waveform data Sn (j) rises from a low level to a high level at the first position of the second (see reference numeral 1800). Predicted waveform data P (j) that takes a first value corresponding to a low level before the rising point and takes a second value corresponding to a high level after the rising point; Considering the covariance value C with the input waveform data Sn (j), the maximum value is “2”. In this way, in a waveform that rises at the start position of the second like input waveform data based on JJY, the maximum value of the covariance value (or the accumulated value of the covariance values) appears at the start position of the second.

その一方、図18(b)に示すように、秒の先頭位置(秒パルス位置)で、ハイレベルからローレベルに立ち下がるような入力波形データS’n(j)を考える。この入力波形データS’n(j)と、予測波形データP(j)との共分散値Cを考えると、最小値である「−2」をとる。すなわち、WWBVやMSFのように、秒の先頭位置でハイレベルからローレベルに立ち下がるようなデータについては、最適値として、共分散値(或いは共分散値の累算値)の最小値を選択すれば良い。   On the other hand, as shown in FIG. 18B, consider input waveform data S′n (j) that falls from a high level to a low level at the start position (second pulse position) of the second. Considering the covariance value C between the input waveform data S′n (j) and the predicted waveform data P (j), the minimum value is “−2”. That is, for data that falls from the high level to the low level at the beginning of the second, such as WWBV and MSF, the minimum value of the covariance value (or the accumulated value of the covariance values) is selected as the optimum value. Just do it.

或いは、WWVBやMSFのように秒の先頭位置でハイレベルからローレベルに立ち下がるような形態のデータの秒の先頭位置を検出するために、上述した予測波形データP(p,j)を反転させた他の予測波形データを適用しても良い。図18(c)において、入力波形データS’n(j)は、図18(b)のものと同様である。また、予測波形データP’(j)は、図18(b)に示す予測波形データP(j)を反転させたものである。この場合には、p=2のときの共分散値C(2)が最大値をとる。したがって、予測波形データの形状を、反転させることにより、最適値として、共分散値(或いは共分散値の最適値)の最大値を選択するように構成することも可能である。   Alternatively, in order to detect the leading position of the second of the data that falls from the high level to the low level at the leading position of the second, such as WWVB or MSF, the above-described predicted waveform data P (p, j) is inverted Other predicted waveform data may be applied. In FIG. 18C, the input waveform data S′n (j) is the same as that in FIG. The predicted waveform data P ′ (j) is obtained by inverting the predicted waveform data P (j) shown in FIG. In this case, the covariance value C (2) when p = 2 takes the maximum value. Therefore, by inverting the shape of the predicted waveform data, the maximum value of the covariance value (or the optimum value of the covariance value) can be selected as the optimum value.

図14および図17を参照して、送信局がJJYの送信局であった場合の分の先頭位置の検出、および、分の一の位の検出の処理について説明した。送信局がWWVBの送信局である場合、或いは、送信局がMSFの送信局である場合にも、入力波形データと、予測波形データを用いて、共分散値(或いは共分散値の累算値)の最適値を算出し、分の先頭位置や、符号を決定することができる。   With reference to FIGS. 14 and 17, the processing for detecting the leading position of the minute when the transmitting station is a JJY transmitting station and the detection of the fractional position has been described. When the transmitting station is a WWVB transmitting station or when the transmitting station is an MSF transmitting station, the input waveform data and the predicted waveform data are used to calculate the covariance value (or the accumulated value of the covariance values). ) Is calculated, and the leading position and sign of the minute can be determined.

分先頭位置の検出においては、図14と同様に、WWVB或いはMSFの規格にしたがった分先頭位置の前後の所定数の符号を含む予測波形データが生成される(ステップ1401参照)。その後、予測波形データの特徴区間が抽出される(ステップ1402参照)。また、符号の値の検出においても、図17と同様に、入力波形データが取得され(ステップ1701参照)、その特徴区間が抽出される(ステップ1702参照)。また、WWVB或いはMSFの規格にしたがった予測波形データが生成され(ステップ1704)、その特徴区間が抽出される(ステップ1705参照)。以下、WWVBにしたがった符号の特徴区間、および、MSFにしたがった符号の特徴区間について説明する。   In the detection of the minute head position, similarly to FIG. 14, predicted waveform data including a predetermined number of codes before and after the head position is generated according to the WWVB or MSF standard (see step 1401). Thereafter, a feature section of the predicted waveform data is extracted (see step 1402). Also in the detection of the sign value, the input waveform data is acquired (see step 1701) and its characteristic section is extracted (see step 1702), as in FIG. In addition, predicted waveform data according to the WWVB or MSF standard is generated (step 1704), and the feature section is extracted (see step 1705). Hereinafter, the feature section of the code according to WWVB and the feature section of the code according to MSF will be described.

図19は、WWVBの各符号における特徴区間を説明する図である。図19に示すように、WWVBの符号においても、マーカー(符号1901参照)、符号「0」(符号1902参照)および符号「1」(符号1903参照)において、その値が他の符号の値と異なるような、固有の値を有する区間が存在する。マーカーでは、500ms〜800msに至る区間(符号1911参照)がローレベル(データ値「−1」)であり、この区間において、他と異なる固有の値「−1」を有している。本実施の形態においては、WWVBのマーカーにおいて500ms〜800msの区間が特徴区間となる。また、特徴区間のデータ値はローレベルを示す「−1」となる。   FIG. 19 is a diagram for explaining a feature section in each code of WWVB. As shown in FIG. 19, also in the WWVB code, the value of the marker (see reference numeral 1901), the reference numeral “0” (see reference numeral 1902), and the reference numeral “1” (see reference numeral 1903) There are different sections with unique values. In the marker, an interval from 500 ms to 800 ms (see reference numeral 1911) is a low level (data value “−1”), and this interval has a unique value “−1” different from others. In the present embodiment, a section of 500 ms to 800 ms is a feature section in the WWVB marker. The data value of the feature section is “−1” indicating a low level.

また、符号「0」では、200ms〜500msに至る区間(符号1912参照)がハイレベル(データ値「1」)であり、この区間において、他の符号「1」と異なる固有の値「1」を有している。その一方、符号「1」では、200ms〜500msに至る区間(符号1913参照)がローレベル(データ値「−1」)であり、この区間において、他の符号「0」と異なる固有の値「−1」を有している。したがって、符号「0」および「1」においては、それぞれ、500ms〜800msの区間が特徴区間となる。また、特徴区間におけるデータ値は、それぞれ、「1」、「−1」となる。   In addition, in the code “0”, the section from 200 ms to 500 ms (refer to the code 1912) is the high level (data value “1”), and in this section, a unique value “1” different from the other codes “1”. have. On the other hand, in the code “1”, the section from 200 ms to 500 ms (refer to the code 1913) is the low level (data value “−1”). In this section, the unique value “ -1 ". Therefore, in the codes “0” and “1”, a section of 500 ms to 800 ms is a feature section. The data values in the feature section are “1” and “−1”, respectively.

図20は、MSFの各符号における特徴区間を説明する図である。図20に示すように、MSFの符号においても、マーカー(符号2001参照)、符号「00」(符号2002参照)、符号「01」(符号2003参照)、符号「10」(符号2004参照)および符号「11」(符号2005参照)において、その値が他の符号の値と異なるような、固有の値を有する区間が存在する。   FIG. 20 is a diagram for explaining a feature section in each code of MSF. As shown in FIG. 20, also in the MSF code, a marker (see reference numeral 2001), a reference numeral “00” (see reference numeral 2002), a reference sign “01” (see reference numeral 2003), a reference sign “10” (see reference numeral 2004), and In the code “11” (see the code 2005), there is a section having a unique value whose value is different from the values of other codes.

マーカーでは、300ms〜500msに至る区間(符号2011参照)がローレベル(データ値「−1」)であり、この区間において、他と異なる固有の値「−1」を有している。本実施の形態においては、MSFのマーカーにおいて300ms〜500msの区間が特徴区間となる。また、特徴区間のデータ値はローレベルを示す「−1」となる。   In the marker, an interval from 300 ms to 500 ms (see reference numeral 2011) is a low level (data value “−1”), and this interval has a unique value “−1” different from others. In the present embodiment, a section of 300 ms to 500 ms is a feature section in the MSF marker. The data value of the feature section is “−1” indicating a low level.

また、符号「00」では、100ms〜300msに至る区間(符号2012参照)がハイレベル(データ値「1」)であり、この区間において、他の符号と異なる固有の値「1」を有している。符号「01」では、100ms〜200msに至る区間(符号2013参照)においてハイレベル(データ値「1」)、200ms〜300msに至る区間(符号1014参照)においてローレベル(データ値「−1」)であり、上記区間において、他の符号と異なる値の組み合わせ(前半が「1」で後半が「−1」)を有している。符号「10」では、100ms〜200msに至る区間(符号2015参照)においてローレベル(データ値「−1」)、200ms〜300msに至る区間(符号1016参照)においてハイレベル(データ値「1」)であり、上記区間において、他の符号と異なる値の組み合わせ(前半が「−1」で後半が「1」)を有している。さらに、符号「11」では、100ms〜300msに至る区間(符号2017参照)がローレベル(データ値「−1」)であり、この区間において、他の符号と異なる固有の値「−1」を有している。したがって、100ms〜300msに至る区間が特徴区間となる。それぞれのデータ値は、図20に示すようなものとなる。   In addition, in the code “00”, the section (see the code 2012) from 100 ms to 300 ms is a high level (data value “1”), and in this section, has a unique value “1” different from other codes. ing. In the code “01”, a high level (data value “1”) in a section from 100 ms to 200 ms (see 2013), and a low level (data value “−1”) in a section from 200 ms to 300 ms (see 1014). In the above section, there are combinations of values different from other codes (the first half is “1” and the second half is “−1”). In the code “10”, the low level (data value “−1”) in the section from 100 ms to 200 ms (see the code 2015), and the high level (data value “1”) in the section from the 200 ms to 300 ms (see the code 1016). In the above section, there is a combination of values different from other codes (the first half is “−1” and the second half is “1”). Further, in the code “11”, the section from 100 ms to 300 ms (see the code 2017) is the low level (data value “−1”), and in this section, a unique value “−1” different from other codes is set. Have. Therefore, a section extending from 100 ms to 300 ms is a feature section. Each data value is as shown in FIG.

本実施の形態においては、送信局判別部27は、相関値算出部25において算出され累算された相関値の累算値に基づいて、標準時刻電波を送信する送信局の種別を判別する。また、相関値比較部26は、累算値を比較し、かつ、送信局判別部27により判別された送信局の種別に基づいて、累算値の最適値を特定し、CPU11が、最適値を示した予測波形データに基づいて、タイムコードにおける秒パルス位置を特定する。このように、相関値の累算値が、送信局の種別の判別に利用されると同時に、秒パルス位置の特定にも利用される。相関値の最適値を用いて、ほぼ同時に送信局の判別および秒パルス位置の特定が可能であるため、処理時間の短縮化を図ることができ、また、省電力化も実現できる。   In the present embodiment, the transmitting station discriminating unit 27 discriminates the type of transmitting station that transmits the standard time radio wave based on the accumulated correlation value calculated by the correlation value calculating unit 25 and accumulated. Further, the correlation value comparing unit 26 compares the accumulated values and specifies the optimum value of the accumulated value based on the type of the transmitting station determined by the transmitting station determining unit 27, and the CPU 11 The second pulse position in the time code is specified based on the predicted waveform data indicating Thus, the accumulated value of the correlation value is used for determining the type of transmitting station and at the same time for specifying the second pulse position. Since it is possible to determine the transmitting station and specify the second pulse position almost simultaneously using the optimum value of the correlation value, the processing time can be shortened and power saving can be realized.

また、本実施の形態においては、送信局判別部27は、累算値の最大値と最小値との加算結果に基づいて、送信局の種別を判別する。入力波形データと予測波形データにおいて、その値の変化が同時でかつ同位相であれば、相関値は正の相関を示す値となる。その一方、その値の変化が同時でかつ逆位相であれば、相関値は負の相関を示す値となる。これを利用して、本実施の形態によれば、秒の先頭位置で立ち上がるような波形形状の符号を出力する送信局(たとえば、JJYの送信局)と、秒の先頭位置で立ち下がるような波形形状の送信局(たとえば、WWVBやMSFの送信局)とを判別することが可能となる。 Further, in the present embodiment, the transmission station determination unit 27 determines the type of transmission station based on the addition result of the maximum value and the minimum value of the accumulated values. In the input waveform data and the predicted waveform data, if the changes in the values are simultaneous and in phase, the correlation value is a value indicating a positive correlation. On the other hand, if the change in the value is simultaneous and opposite in phase, the correlation value is a value indicating a negative correlation. By utilizing this , according to the present embodiment, a transmitting station (for example, a JJY transmitting station) that outputs a waveform-shaped code that rises at the leading position of the second, and a trailing point that falls at the leading position of the second. It becomes possible to discriminate a waveform-shaped transmitting station (for example, a transmitting station of WWVB or MSF).

また、送信局判別部27は、前記累算値の最小値と極大値との間隔、或いは、前記累算値の最大値と極小値との間隔に基づいて前記送信局の種別を判別する。たとえば、符号の先頭位置における値の変化が同位相(たとえば立ち下がる)であるような複数の規格の標準時刻電波であっても、その符号の形状は異なる。そこで、秒の先頭位置と考えられる累算値の最小値(または最大値)と、符号における値の変化点と考えられる極大値(または極小値)との間隔に基づいて送信局の種別を判別することで、符号の先頭位置における値の変化が同位相であるような複数の規格を識別することが可能となる。   In addition, the transmitting station determination unit 27 determines the type of the transmitting station based on the interval between the minimum value and the maximum value of the accumulated value or the interval between the maximum value and the minimum value of the accumulated value. For example, even in the case of a plurality of standard time standard radio waves whose values at the head position of the code have the same phase (for example, falling), the shape of the code is different. Therefore, the type of transmitting station is determined based on the interval between the minimum value (or maximum value) of the accumulated value considered as the start position of the second and the maximum value (or minimum value) considered as the change point of the value in the sign. By doing so, it becomes possible to identify a plurality of standards whose change in value at the head position of the code is in phase.

たとえば、前記実施の形態においては、予測波形データ生成部23は、各サンプル点が、信号レベルの変化点の前後の何れかの所定区間におけるローレベルを示す第1の値、前記変化点の前後の他の何れかの所定区間におけるハイレベルを示す第2の値、および、前記所定区間以外の他の区間における第3の値の何れかをとり、その波形形状が、所定サンプルだけ順次ずれている複数の予測波形データを生成する。また、送信局判別部27は、最大値と最小値との加算結果が正の値であるときに、送信局の種別について、秒の先頭で立ち上がる波形形状を有する符号から構成される種別、たとえば、JJYであると判断することができる。   For example, in the above-described embodiment, the predicted waveform data generation unit 23 is configured so that each sample point is a first value indicating a low level in any predetermined section before and after the signal level change point, and before and after the change point. Any one of the second value indicating the high level in any other predetermined section and the third value in the other section other than the predetermined section, and the waveform shape is sequentially shifted by a predetermined sample. A plurality of predicted waveform data is generated. In addition, when the addition result of the maximum value and the minimum value is a positive value, the transmission station determination unit 27 has a type including a code having a waveform shape that rises at the beginning of the second, , JJY can be determined.

また、本実施の形態においては、上述した処理により特定された送信局の種別および秒パルス位置と、タイムコードの先頭位置の前後の信号レベルに基づき、タイムコードにおける分先頭位置を特定するとともに、タイムコードが含む符号を取得して、当該符号が示す値にしたがって、タイムコードを構成する日、時、分を含むコードの値を取得し、取得されたコードの値に基づいて現在時刻を算出する。したがって、内部計時回路17において得られた時刻を、算出された現在時刻により修正することが可能となる。   Further, in the present embodiment, based on the type of transmitting station and second pulse position specified by the above-described processing and the signal level before and after the start position of the time code, the minute start position in the time code is specified, Acquire the code included in the time code, acquire the code value including the day, hour, and minute that make up the time code according to the value indicated by the code, and calculate the current time based on the acquired code value To do. Therefore, it is possible to correct the time obtained in the internal clock circuit 17 with the calculated current time.

次に、本発明の第2の実施の形態について説明する。第1の実施の形態においては、JJYと、WWVB或いはMSFとを、共分散値の累算値の最大値と最小値の和の正負によって判別した。第2の実施の形態においては、ノイズの影響を考慮して、JJYと、WWVB或いはMSFとを判別する条件を変更している。   Next, a second embodiment of the present invention will be described. In the first embodiment, JJY and WWVB or MSF are discriminated by the sign of the sum of the maximum value and minimum value of the covariance accumulated value. In the second embodiment, the condition for discriminating between JJY and WWVB or MSF is changed in consideration of the influence of noise.

図21は、本発明の第2の実施の形態にかかる送信局判別処理の例を示すフローチャートである。送信局判別部27は、共分散値の累算値Ca(p)の最大値Camaxおよび最小値Caminを特定する(ステップ2101)。ステップ2101は、図12のステップ1201と同様である。次いで、送信局判別部27は、最大値Camaxを示す位置qの前後の累算値Ca(q−1)およびCa(q+1)を、元の最大値Camax(=Ca(q))に加算する(ステップ2102)。加算後の最大値Camaxは、以下のような値となる。
Camax=Ca(q−1)+Ca(q)+Ca(q+1)
FIG. 21 is a flowchart illustrating an example of a transmitting station determination process according to the second embodiment of the present invention. The transmitting station determination unit 27 specifies the maximum value Camax and the minimum value Camin of the accumulated value Ca (p) of the covariance values (step 2101). Step 2101 is the same as step 1201 in FIG. Next, the transmitting station determination unit 27 adds the accumulated values Ca (q−1) and Ca (q + 1) before and after the position q indicating the maximum value Camax to the original maximum value Camax (= Ca (q)). (Step 2102). The maximum value Camax after the addition is as follows.
Camax = Ca (q-1) + Ca (q) + Ca (q + 1)

同様に、送信局判別部27は、送信局判別部27は、最小値Caminを示す位置rの前後の累算値Ca(r−1)およびCa(r+1)を、元の最小値Camim(=Ca(r))に加算する(ステップ2103)。加算後の最小値Caminは、以下のような値となる。
Camin=Ca(r−1)+Ca(r)+Ca(r+1)
Similarly, the transmitting station determining unit 27 uses the accumulated values Ca (r−1) and Ca (r + 1) before and after the position r indicating the minimum value Camin as the original minimum value Camim (= Ca (r)) is added (step 2103). The minimum value Camin after the addition is as follows.
Camin = Ca (r−1) + Ca (r) + Ca (r + 1)

送信局判別部27は、加算後の最大値Camaxと加算後の最小値Caminとの和が「0」より大きいかを判断する(ステップ2104)。ステップ2104でYesと判断された場合には、送信局判別部27は、送信局がJJYの送信局であると判断する(ステップ2105)。ステップ2104でNoと判断された場合には、ステップ2106に進む。ステップ2106〜ステップ2111は、図12のステップ1204〜1209と同様である。
The transmitting station determination unit 27 determines whether the sum of the maximum value Camax after addition and the minimum value Camin after addition is greater than “0” (step 2104). When it is determined Yes in step 2104 , the transmission station determination unit 27 determines that the transmission station is a JJY transmission station (step 2105). If it is determined No in step 2104, the process proceeds to step 2106. Steps 2106 to 2111 are the same as steps 1204 to 1209 in FIG.

第2の実施の形態を適用したときの利点について説明する。サンプリングのタイミングによって、実際の秒の先頭位置が、隣接するサンプル点の中心付近に位置する場合がある。この場合には、先頭位置の両側にある上記隣接するサンプル点の何れかの位置での累算値Caが最大値或いは最小値となる。しかしながら、現れる最大値或いは最小値の絶対値は十分ではなく、送信局を正しく判断できない可能性がある。   Advantages when the second embodiment is applied will be described. Depending on the sampling timing, the actual start position of the second may be located near the center of the adjacent sample points. In this case, the accumulated value Ca at any position of the adjacent sample points on both sides of the head position becomes the maximum value or the minimum value. However, the absolute value of the maximum value or the minimum value that appears is not sufficient, and there is a possibility that the transmitting station cannot be determined correctly.

図22(a)〜(c)は、入力波形データSn(j)および予測波形データP(p,j)(p=1〜20)の共分散値の累算値Ca(p)(p=0〜19)の他の例を示すヒストグラムである。図22(a)〜(c)は、それぞれ、JJYの標準時刻電波信号に基づく入力波形データ、WWVBの標準時刻電波信号に基づく入力波形データ、および、MSFの標準時刻電波信号に基づく入力波形データにしたがって得られている(符号2200、2210、2220参照)。なお、この図においては、位置を示すパラメータpは、0〜19としている。   FIGS. 22A to 22C show the accumulated value Ca (p) (p = p = covariance value) of the input waveform data Sn (j) and the predicted waveform data P (p, j) (p = 1 to 20). It is a histogram which shows the other example of 0-19. FIGS. 22A to 22C respectively show input waveform data based on the JJY standard time radio signal, input waveform data based on the WWVB standard time radio signal, and input waveform data based on the MSF standard time radio signal. (See reference numerals 2200, 2210, and 2220). In this figure, the parameter p indicating the position is 0-19.

図22(a)において、秒の先頭位置は、p=2の位置と、p=3の位置との間にある(矢印2201参照)。したがって、累算値の最大値Camax=Ca(2)=66であるが(符号2202参照)、隣接する値もCa(3)=54(符号2203参照)であり、Camaxが十分な大きさを持っていないことが見出せる。その一方、累算値の最小値Camin=Ca(19)=−80である(符号2204参照)。したがって、単に最大値Camaxと最小値Caminとの和を考えると、Camax+Camin=−14<0となり、第1の実施の形態の手法にしたがうと、少なくともJJYに基づく入力波形データではないと判断されてしまう。   In FIG. 22A, the second position of the second is between the position of p = 2 and the position of p = 3 (see arrow 2201). Therefore, although the maximum value Camax = Ca (2) = 66 (see reference numeral 2202), the adjacent value is also Ca (3) = 54 (see reference numeral 2203), and Camax is sufficiently large. You can find that you do not have. On the other hand, the minimum accumulated value Camin = Ca (19) = − 80 (see reference numeral 2204). Therefore, simply considering the sum of the maximum value Camax and the minimum value Camin, Camax + Camin = −14 <0, and according to the method of the first embodiment, it is determined that the input waveform data is not based on at least JJY. End up.

図22(b)においては、秒の先頭位置は、p=1の位置と、p=2の位置との間にある(矢印2211参照)。累算値の最大値Camax=Ca(6)=82であり(符号2212参照)、累算値の最小値Camin=Ca(2)=−74である(符号2213参照)。このため、Camax+Camin=8>0となり、第1の実施の形態の手法にしたがうと、JJYに基づく入力波形データであると判断される。同様に、図22(c)においては、秒の先頭位置は、p=2の位置と、p=3の位置との間にある(矢印2221参照)。累算値の最大値Camax=Ca(5)=62であり(符号2222参照)、累算値の最小値Camin=Ca(3)=−64である(符号2223参照)。このため、Camax+Camin=2>0となり、第1の実施の形態にかかる手法にしたがうと、JJYに基づく入力波形データであると判断される。   In FIG. 22B, the second position of the second is between the position of p = 1 and the position of p = 2 (see arrow 2211). The maximum accumulated value Camax = Ca (6) = 82 (see reference numeral 2212), and the minimum accumulated value Camin = Ca (2) = − 74 (see reference numeral 2213). Therefore, Camax + Camin = 8> 0, and according to the method of the first embodiment, it is determined that the input waveform data is based on JJY. Similarly, in FIG. 22C, the start position of the second is between the position of p = 2 and the position of p = 3 (see arrow 2221). The maximum value of the accumulated value is Camax = Ca (5) = 62 (see reference numeral 2222), and the minimum value of the accumulated value is Camin = Ca (3) = − 64 (see reference numeral 2223). Therefore, Camax + Camin = 2> 0, and according to the method according to the first embodiment, it is determined that the input waveform data is based on JJY.

上述したように、秒の先頭位置がサンプル点の間に位置する場合に誤った判断がなされることを回避するために、第2の実施の形態においては、最大値の現れる位置の前後の位置に対応する累算値、および、最小値の現れる位置の前後の位置に対応する累算値を考慮している。   As described above, in order to avoid making an erroneous determination when the leading position of the second is located between the sample points, in the second embodiment, positions before and after the position where the maximum value appears. And the accumulated values corresponding to positions before and after the position where the minimum value appears are taken into consideration.

第2の実施の形態に従うと、図22(a)〜(c)に示す例では、以下のような判別結果が得られる。図22(a)においては、前後の位置の累算値を考慮した、加算後の最大値Camax=Ca(1)+Ca(2)+Ca(3)=120であり、また、前後の位置の累算値を考慮した、加算後の最小値Camin=Ca(18)+Ca(19)+Ca(0)=−80である。したがって、この場合には、Camax+Camin=40>0となり、JJYに基づく入力波形データであると判断される。   According to the second embodiment, the following discrimination results are obtained in the examples shown in FIGS. In FIG. 22A, the maximum value after addition Camax = Ca (1) + Ca (2) + Ca (3) = 120 considering the accumulated values of the front and rear positions, and the accumulation of the front and rear positions. In consideration of the calculated value, the minimum value after addition Camin = Ca (18) + Ca (19) + Ca (0) = − 80. Therefore, in this case, Camax + Camin = 40> 0, and it is determined that the input waveform data is based on JJY.

図22(b)においては、前後の位置の累算値を考慮した、加算後の最大値Camax=Ca(5)+Ca(6)+Ca(7)=82であり、また、前後の位置の累算値を考慮した、加算後の最小値Camin=Ca(1)+Ca(2)+Ca(3)=−120である。したがって、この場合には、Camax+Camin=−38<0となり、少なくともJJYに基づく入力波形データではないと判断される。   In FIG. 22B, the maximum value after addition Camax = Ca (5) + Ca (6) + Ca (7) = 82 in consideration of the accumulated value of the front and rear positions, and the accumulation of the front and rear positions. In consideration of the calculated value, the minimum value after addition Camin = Ca (1) + Ca (2) + Ca (3) = − 120. Therefore, in this case, Camax + Camin = −38 <0, and it is determined that the input waveform data is not based on at least JJY.

同様に、図22(c)においては、前後の位置の累算値を考慮した、加算後の最大値Camax=Ca(4)+Ca(5)+Ca(6)=86であり、また、前後の位置の累算値を考慮した、加算後の最小値Camin=Ca(2)+Ca(3)+Ca(4)=−108である。したがって、この場合には、Camax+Camin=−22<0となり、少なくともJJYに基づく入力波形データではないと判断される。   Similarly, in FIG. 22 (c), the maximum value after addition Camax = Ca (4) + Ca (5) + Ca (6) = 86 in consideration of the accumulated values of the front and rear positions, and The minimum value after addition Camin = Ca (2) + Ca (3) + Ca (4) = − 108 in consideration of the accumulated value of the position. Therefore, in this case, Camax + Camin = −22 <0, and it is determined that the input waveform data is not based on at least JJY.

第2の実施の形態によれば、送信局判別部27は、最大値となる累算値Ca(q)を示す位置に隣接する複数サンプルに対応する累算値Ca(q−n)〜Ca(q+n)(たとえば、Ca(q−1)、Ca(q)およびCa(q+1))を加算して、加算された最大値を取得するとともに、最小値となる累算値Ca(r)を示す位置に隣接する複数サンプルに対応する累算値Ca(r−n)〜Ca(r+n)(たとえば、Ca(r−1)、Ca(r)およびCa(r+1))を加算して、加算された最小値を取得する。また、送信局判別部27は、加算された最大値と加算された最小値との加算結果に基づいて、前記送信局の種別を判別する。これにより、秒先頭位置がサンプル点の間に位置してしまった場合や、入力波形データにノイズが比較的多く含まれる場合でも、適切に送信局を判別することが可能となる。   According to the second embodiment, the transmitting station discriminating unit 27 includes accumulated values Ca (q−n) to Ca corresponding to a plurality of samples adjacent to the position indicating the accumulated value Ca (q) that is the maximum value. (Q + n) (for example, Ca (q-1), Ca (q) and Ca (q + 1)) are added to obtain the added maximum value, and the accumulated value Ca (r) which is the minimum value is obtained. Add accumulated values Ca (r−n) to Ca (r + n) (for example, Ca (r−1), Ca (r) and Ca (r + 1)) corresponding to a plurality of samples adjacent to the indicated position Get the minimum value. Further, the transmission station determination unit 27 determines the type of the transmission station based on the addition result of the added maximum value and the added minimum value. As a result, even when the second leading position is located between the sample points, or even when the input waveform data includes a relatively large amount of noise, it is possible to appropriately determine the transmitting station.

本発明は、以上の実施の形態に限定されることなく、特許請求の範囲に記載された発明の範囲内で、種々の変更が可能であり、それらも本発明の範囲内に包含されるものであることは言うまでもない。   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の実施の形態において、WWVBの送信局とMSFの送信局を判別するために、図12のステップ1204〜1209に示す処理を実行していた。しかしながら、これに限定されるものではない。   For example, in the first embodiment, the processing shown in steps 1204 to 1209 in FIG. 12 is executed in order to determine the WWVB transmitting station and the MSF transmitting station. However, the present invention is not limited to this.

図23は、本発明の第3の実施の形態にかかる送信局判別処理の部分を示すフローチャートである。図23においては、図12のステップ1202でNoと判断され、或いは、図21のステップ2104でNoと判断された後に実行される処理ステップを示している。送信局判別部27は、累算値の最小値Caminが現れた位置から500ms後ろ側に位置する累算値Ca(p1)および800ms後ろ側に位置するCa(p2)を特定する(ステップ2301)。また、送信局判別部27は、累算値の上位3位までを特定する(ステップ2302)。   FIG. 23 is a flowchart showing a part of the transmitting station discrimination process according to the third embodiment of the present invention. FIG. 23 shows processing steps executed after No is determined in step 1202 of FIG. 12 or No is determined in step 2104 of FIG. The transmitting station discriminating unit 27 specifies the accumulated value Ca (p1) located 500 ms behind from the position where the minimum accumulated value Camin appears and the Ca (p2) located 800 ms behind (step 2301). . In addition, the transmitting station determination unit 27 specifies up to the third highest accumulated value (step 2302).

次いで、送信局判別部27は、Ca(p1)又はCa(p2)の何れかが、上記累算値の上位3位までの値の何れかに該当するかを判断する(ステップ2303)。ステップ2303でYesと判断された場合には、送信局判別部27は、送信局がWWVBの送信局であると判断する(ステップ2304)。その一方、ステップ2303でNoと判断された場合には、送信局判別部27は、送信局がMSFであると判断する(ステップ2305)。   Next, the transmitting station determination unit 27 determines whether either Ca (p1) or Ca (p2) corresponds to any of the top three values of the accumulated value (step 2303). When it is determined Yes in step 2303, the transmission station determination unit 27 determines that the transmission station is a WWVB transmission station (step 2304). On the other hand, if it is determined No in step 2303, the transmission station determination unit 27 determines that the transmission station is an MSF (step 2305).

図24(a)は、本発明の第4の実施の形態にかかる送信局判別処理の部分を示すフローチャートである。図24(a)においても、図12のステップ1202でNoと判断され、或いは、図21のステップ2104でNoと判断された後に実行される処理ステップを示している。この実施の形態においては、送信局判別部27は、累算値の最小値が現れた位置から100msだけ後ろ側に位置する累算値Ca(p3)を特定する(ステップ2401)。次いで、送信局判別部27は、Ca(p3)が最大値であるかを判断する(ステップ2402)。ステップ2402でYesと判断された場合には、送信局判別部27は、送信局がMSFの送信局であると判断する(ステップ2403)。その一方、ステップ2402でNoと判断された場合には、送信局判別部27は、送信局がWWVBの送信局であると判断する(ステップ2404)。   FIG. 24 (a) is a flowchart showing a part of a transmitting station discrimination process according to the fourth embodiment of the present invention. FIG. 24A also shows processing steps executed after No is determined in step 1202 of FIG. 12 or No is determined in step 2104 of FIG. In this embodiment, the transmitting station discriminating unit 27 specifies the accumulated value Ca (p3) located 100 ms behind the position where the minimum accumulated value appears (step 2401). Next, the transmitting station determination unit 27 determines whether or not Ca (p3) is the maximum value (step 2402). When it is determined Yes in step 2402, the transmission station determination unit 27 determines that the transmission station is an MSF transmission station (step 2403). On the other hand, if it is determined No in step 2402, the transmitting station determination unit 27 determines that the transmitting station is a WWVB transmitting station (step 2404).

図24(b)は、本発明の第5の実施の形態にかかる送信局判別処理の部分を示すフローチャートである。図24(b)においても、図12のステップ1202でNoと判断され、或いは、図21のステップ2104でNoと判断された後に実行される処理ステップを示している。この実施の形態においては、送信局判別部27は、累算値の最小値Caminが現れた位置から300ms後ろ側に位置する累算値Ca(p4)を特定する(ステップ2411)。また、送信局判別部27は、累算値の上位3位までを特定する(ステップ2412)。   FIG. 24 (b) is a flowchart showing a part of the transmitting station discrimination process according to the fifth embodiment of the present invention. FIG. 24B also shows processing steps executed after No is determined in step 1202 of FIG. 12 or No is determined in step 2104 of FIG. In this embodiment, the transmitting station determination unit 27 specifies the accumulated value Ca (p4) located 300 ms behind the position where the minimum accumulated value Camin appears (step 2411). Further, the transmitting station determination unit 27 specifies up to the third highest accumulated value (step 2412).

次いで、送信局判別部27は、Ca(p4)が、上記累算値の上位3位までの値の何れかに該当するかを判断する(ステップ2413)。ステップ2413でYesと判断された場合には、送信局判別部27は、送信局がMSFの送信局であると判断する(ステップ2414)。その一方、ステップ2413でNoと判断された場合には、送信局判別部27は、送信局がWWVBの送信局であると判断する(ステップ2415)。   Next, the transmitting station determination unit 27 determines whether Ca (p4) corresponds to any of the top three values of the accumulated value (step 2413). If it is determined Yes in step 2413, the transmission station determination unit 27 determines that the transmission station is an MSF transmission station (step 2414). On the other hand, if it is determined No in step 2413, the transmitting station determination unit 27 determines that the transmitting station is a WWVB transmitting station (step 2415).

また、前記実施の形態としては、ローレベルを示す第1の値を「−1」、ハイレベルを示す第2の値を「1」として、それ以外の他の第3の値を「0」としたがこれに限定されるものではない。第1の値および第2の値は、以下のようなものであれば良い。
(1)入力波形データにおいて第1の値が現れ、かつ、予測波形データにおいて第1の値が現れた場合、或いは、入力波形データにおいて第2の値が現れ、かつ、予測波形データにおいて第2の値が現れた場合に、演算により正の相関があることを示す所定の正の演算値が算出される。つまり、入力波形データおよび予測波形データにおいて、同じ値が現れた場合には、所定の正の演算値が算出される。
(2)入力波形データにおいて第1の値が現れ、かつ、予測波形データにおいて第2の値が現れた場合、或いは、入力波形データにおいて第2の値が現れ、かつ、予測波形データにおいて第1の値が現れた場合に、演算により負の相関があることを示す所定の負の演算値が算出される。つまり、入力波形データおよび予測波形データにおいて、異なる値が現れた場合には、所定の負の演算値が算出される。また、所定の負の演算値は、上記所定の正の値の符号を「−(マイナス)」としたものが望ましい。
In the embodiment, the first value indicating the low level is “−1”, the second value indicating the high level is “1”, and the other third values are “0”. However, the present invention is not limited to this. The first value and the second value may be as follows.
(1) When the first value appears in the input waveform data and the first value appears in the predicted waveform data, or the second value appears in the input waveform data and the second value in the predicted waveform data When a value of 現 れ appears, a predetermined positive calculation value indicating that there is a positive correlation is calculated by calculation. That is, when the same value appears in the input waveform data and the predicted waveform data, a predetermined positive calculation value is calculated.
(2) When the first value appears in the input waveform data and the second value appears in the predicted waveform data, or the second value appears in the input waveform data and the first value in the predicted waveform data When a value of 現 れ appears, a predetermined negative calculation value indicating that there is a negative correlation is calculated by calculation. That is, when different values appear in the input waveform data and the predicted waveform data, a predetermined negative calculation value is calculated. Further, it is desirable that the predetermined negative calculation value is obtained by setting the sign of the predetermined positive value to “− (minus)”.

また、第3の値も「0」でなくとも良いが、第1の値と演算されたとき、および、第2の値と演算されたときに、上記共分散値など相関値に影響を与えない値となる必要がある。   In addition, the third value may not be “0”, but when the first value is calculated and the second value is calculated, the correlation value such as the covariance value is affected. There must be no value.

また、前記実施の形態においては、相関値として共分散値を利用したがこれに限定されるものではない。たとえば、相関値として、差分の絶対値の総和である残差を利用しても良い。或いは、共分散や残差の代わりに、相互相関係数を利用しても良い。   Moreover, in the said embodiment, although the covariance value was utilized as a correlation value, it is not limited to this. For example, a residual that is the sum of absolute values of differences may be used as the correlation value. Alternatively, a cross-correlation coefficient may be used instead of covariance or residual.

さらに、前記第1の実施の形態においては、WWVB或いはMSFを判断するために、最小値Caminの現れる位置から500ms、800msだけ後ろ側に位置する累算値(たとえば、Ca(p1)或いはCa(p2))を参照している(たとえば、ステップ1204,1207参照)。しかしながら、これに限定されるものではなく、その前後所定範囲に位置するサンプルに対応する累算値(たとえば、Ca(p1−n)〜Ca(p1+n)或いはCa(p2−n)〜Ca(p2+n))を参照してもよい(nは1以上の整数)。   Further, in the first embodiment, in order to determine WWVB or MSF, an accumulated value (for example, Ca (p1) or Ca (for example) positioned 500 ms and 800 ms behind the position where the minimum value Camin appears is determined. p2)) (see, for example, steps 1204 and 1207). However, the present invention is not limited to this, and an accumulated value (for example, Ca (p1-n) to Ca (p1 + n) or Ca (p2-n) to Ca (p2 + n) corresponding to a sample located in a predetermined range before and after that. )) May be referred to (n is an integer of 1 or more).

また、前記第2の実施の形態においては、最大値Camaxを示す位置の前後1サンプルに対応する累算値を最大値に加算し、また、最小値Caminを示す位置の前後1サンプルに対応する累算値を最小値に加算している(図21のステップ2102、2103参照)。しかしながら、これに限定するものではなく、前後nサンプル(nは1以上の整数)に対応する累算値を加算しても良い。   In the second embodiment, an accumulated value corresponding to one sample before and after the position indicating the maximum value Camax is added to the maximum value, and also corresponding to one sample before and after the position indicating the minimum value Camin. The accumulated value is added to the minimum value (see steps 2102 and 2103 in FIG. 21). However, the present invention is not limited to this, and accumulated values corresponding to n samples before and after (n is an integer of 1 or more) may be added.

10 電波時計
11 CPU
12 入力部
13 表示部
14 ROM
15 RAM
16 受信回路
17 内部時計回路
18 信号比較回路
21 入力波形データ生成部
22 受信波形データバッファ
23 予測波形データ生成部
24 波形切り出し部
25 相関値算出部
26 相関値比較部
27 送信局判別部
10 radio time clock 11 CPU
12 Input unit 13 Display unit 14 ROM
15 RAM
DESCRIPTION OF SYMBOLS 16 Reception circuit 17 Internal clock circuit 18 Signal comparison circuit 21 Input waveform data generation part 22 Reception waveform data buffer 23 Predicted waveform data generation part 24 Waveform cut-out part 25 Correlation value calculation part 26 Correlation value comparison part 27 Transmission station discrimination | determination part

Claims (7)

タイムコードを含む標準時刻電波を受信する受信手段と、
前記受信手段から出力されたタイムコードを含む信号を、所定のサンプリング周期でサンプリングして、各サンプル点が、ローレベルを示す第1の値およびハイレベルを示す第2の値の何れかをとり、かつ、1以上の単位時間長を有する入力波形データを生成する入力波形データ生成手段と、
各サンプル点のデータ値が、少なくとも前記第1の値および前記第2の値の何れかをとり、前記入力波形データと同一の時間長を有し、かつ、その波形形状が、所定サンプルだけ順次ずれている複数の予測波形データを生成する予測波形データ生成手段と、
前記入力波形データのサンプル点と、前記予測波形データの対応するサンプル点とを演算することにより、前記入力波形データと前記複数の予測波形データそれぞれとの間の相関値を算出する相関値算出手段であって、前記入力波形データにおける第1の値と前記予測波形データにおける第1の値との演算、或いは、前記入力波形データにおける第2の値と前記予測波形データにおける第2の値との演算により、正の相関を示す第1の演算値をとる一方、前記入力波形データにおける第1の値と前記予測波形データにおける第2の値との演算、或いは、前記入力波形データにおける第2の値と前記予測波形データにおける第1の値との演算により、負の相関を示す第2の演算値をとる相関値算出手段と、
前記相関値算出手段により算出された相関値である前記第1の演算値と前記第2の演算値の累算値に基づいて、前記標準時刻電波を送信する送信局の種別を判別する送信局判別手段と、
前記相関値算出手段により算出された累算値を比較し、かつ、前記送信局判別手段により判別された送信局の種別に基づいて、前記累算値の最適値を特定する相関値比較手段と、
前記最適値を示した予測波形データに基づいて、前記タイムコードにおける秒パルス位置を特定する制御手段と、を備えたことを特徴とする時刻情報取得装置。
A receiving means for receiving a standard time radio wave including a time code;
The signal including the time code output from the receiving means is sampled at a predetermined sampling period, and each sample point takes either a first value indicating a low level or a second value indicating a high level. And input waveform data generating means for generating input waveform data having one or more unit time lengths;
The data value of each sample point takes at least one of the first value and the second value, and has the same time length as the input waveform data, and the waveform shape is sequentially a predetermined number of samples. Predicted waveform data generating means for generating a plurality of shifted predicted waveform data ;
Correlation value calculation means for calculating a correlation value between the input waveform data and each of the plurality of predicted waveform data by calculating a sample point of the input waveform data and a corresponding sample point of the predicted waveform data The calculation of the first value in the input waveform data and the first value in the predicted waveform data, or the second value in the input waveform data and the second value in the predicted waveform data While calculating the first calculated value indicating a positive correlation, the calculation of the first value in the input waveform data and the second value in the predicted waveform data, or the second value in the input waveform data A correlation value calculating means that takes a second calculated value indicating a negative correlation by calculating the value and the first value in the predicted waveform data;
A transmitting station that determines the type of transmitting station that transmits the standard time radio wave based on the accumulated value of the first calculated value and the second calculated value that are correlation values calculated by the correlation value calculating means Discrimination means;
Correlation value comparing means for comparing the accumulated values calculated by the correlation value calculating means and specifying the optimum value of the accumulated values based on the type of transmitting station determined by the transmitting station determining means; ,
A time information acquisition apparatus comprising: control means for specifying a second pulse position in the time code based on the predicted waveform data indicating the optimum value.
前記送信局判別手段が、前記累算値の最大値と最小値との加算結果に基づいて、前記送信局の種別を判別することを特徴とする請求項1に記載の時刻情報取得装置。   2. The time information acquisition apparatus according to claim 1, wherein the transmitting station determining unit determines the type of the transmitting station based on an addition result of the maximum value and the minimum value of the accumulated values. 前記予測波形データ生成手段が、その波形形状が、所定サンプルだけ順次ずれているN個の予測波形データP(p)(p=1〜N)を生成し、
前記送信局判別手段が、最大値となる累算値Ca(q)を示す位置に隣接する複数サンプルに対応する累算値Ca(q−n)〜Ca(q+n)を加算して、加算された最大値を取得するとともに、最小値となる累算値Ca(r)を示す位置に隣接する複数サンプルに対応する累算値Ca(r−n)〜Ca(r+n)を加算して、加算された最小値を取得し、加算された最大値と加算された最小値との加算結果に基づいて、前記送信局の種別を判別することを特徴とする請求項2に記載の時刻情報取得装置。
The predicted waveform data generating means generates N predicted waveform data P (p) (p = 1 to N) whose waveform shape is sequentially shifted by a predetermined sample,
The transmitting station discriminating means adds the accumulated values Ca (q−n) to Ca (q + n) corresponding to a plurality of samples adjacent to the position indicating the accumulated value Ca (q) that is the maximum value. The maximum value is acquired, and the cumulative values Ca (r−n) to Ca (r + n) corresponding to a plurality of samples adjacent to the position indicating the minimum cumulative value Ca (r) are added and added. 3. The time information acquisition apparatus according to claim 2, wherein the type of the transmitting station is determined based on a result of addition of the added maximum value and the added minimum value. .
前記送信局判別手段が、前記累算値の最小値と極大値との間隔、或いは、前記累算値の最大値と極小値との間隔に基づいて前記送信局の種別を判別することを特徴とする請求項1ないし3の何れか一項に記載の時刻情報取得装置。   The transmitting station determining means determines the type of the transmitting station based on an interval between the minimum value and the maximum value of the accumulated value or an interval between the maximum value and the minimum value of the accumulated value. The time information acquisition device according to any one of claims 1 to 3. 前記予測波形データ生成手段が、各サンプル点が、信号レベルの変化点の前後の何れかの所定区間におけるローレベルを示す第1の値、前記変化点の前後の他の何れかの所定区間におけるハイレベルを示す第2の値、および、前記所定区間以外の他の区間における第3の値の何れかをとり、その波形形状が、所定サンプルだけ順次ずれている複数の予測波形データを生成し、
前記送信局判別手段が、前記最大値と最小値との加算結果が正の値であるときに、前記送信局の種別について、秒の先頭で立ち上がる波形形状を有する符号から構成される種別であると判断することを特徴とする請求項1ないし4の何れか一項に記載の時刻取得装置。
The predicted waveform data generation means is configured such that each sample point has a first value indicating a low level in any predetermined section before and after the change point of the signal level, and in any other predetermined section before and after the change point. Either of a second value indicating a high level and a third value in a section other than the predetermined section, and generating a plurality of predicted waveform data whose waveform shape is sequentially shifted by a predetermined sample ,
When the transmission station discriminating means has a positive value as a result of adding the maximum value and the minimum value, the transmission station type is a type constituted by a code having a waveform shape that rises at the beginning of the second. The time acquisition device according to any one of claims 1 to 4, wherein the time acquisition device is determined.
前記制御手段が、前記時刻情報取得装置により特定された送信局の種別および秒パルス位置と、前記タイムコードの先頭位置の前後の信号レベルとに基づき、前記タイムコードにおける分先頭位置を特定するとともに、前記タイムコードが含む符号を取得して、当該符号が示す値にしたがって、前記タイムコードを構成する日、時、分を含むコードの値を取得し、
取得されたコードの値に基づいて現在時刻を算出することを特徴とする請求項1ないし5の何れか一項に記載の時刻情報取得装置。
The control means specifies the minute start position in the time code based on the type and second pulse position of the transmission station specified by the time information acquisition device and the signal level before and after the start position of the time code. , Obtaining a code included in the time code, and according to a value indicated by the code, obtaining a code value including a day, an hour, and a minute constituting the time code,
6. The time information acquisition apparatus according to claim 1, wherein the current time is calculated based on the acquired code value.
請求項6に記載された時刻情報取得装置と、
内部クロックにより現在時刻を計時する内部計時手段と、
前記時刻情報取得装置により取得された現在時刻によって、前記内部計時手段により計時された現在時刻を修正する時刻修正手段と、
前記内部計時手段により計時された、或いは、前記時刻修正手段により修正された現在時刻を表示する時刻表示手段と、を備えたことを特徴とする電波時計。
A time information acquisition device according to claim 6;
An internal time measuring means for measuring the current time by an internal clock;
Time correction means for correcting the current time measured by the internal time measurement means according to the current time acquired by the time information acquisition device;
A radio-controlled timepiece comprising: time display means for displaying the current time measured by the internal time measuring means or corrected by the time adjusting means.
JP2009248786A 2009-09-25 2009-10-29 Time information acquisition device and radio clock Active JP4905536B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2009248786A JP4905536B2 (en) 2009-10-29 2009-10-29 Time information acquisition device and radio clock
CN2010105526231A CN102033486B (en) 2009-09-25 2010-09-21 Time information-acquiring apparatus and radio wave timepiece
EP10178780.2A EP2323002B1 (en) 2009-09-25 2010-09-23 Time information-acquiring apparatus and radio wave timepiece
US12/888,678 US8264915B2 (en) 2009-09-25 2010-09-23 Time information-acquiring apparatus and radio wave timepiece

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009248786A JP4905536B2 (en) 2009-10-29 2009-10-29 Time information acquisition device and radio clock

Publications (2)

Publication Number Publication Date
JP2011095082A JP2011095082A (en) 2011-05-12
JP4905536B2 true JP4905536B2 (en) 2012-03-28

Family

ID=44112162

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009248786A Active JP4905536B2 (en) 2009-09-25 2009-10-29 Time information acquisition device and radio clock

Country Status (1)

Country Link
JP (1) JP4905536B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110622350A (en) * 2018-04-16 2019-12-27 古河电池株式会社 Metal-air battery and method for setting inter-electrode distance of metal-air battery

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5810978B2 (en) * 2012-03-06 2015-11-11 カシオ計算機株式会社 Time information acquisition device and radio clock
EP3951528B1 (en) * 2019-03-27 2023-09-06 Nissan Motor Co., Ltd. Abnormality detection apparatus, and abnormality detection method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005062137A1 (en) * 2003-12-24 2005-07-07 Citizen Watch Co., Ltd. Radio controlled clock, electronic device and time correction method
JP4276113B2 (en) * 2004-03-05 2009-06-10 Okiセミコンダクタ株式会社 Standard radio wave reception time device and time code signal decoding method
JP4322786B2 (en) * 2004-11-29 2009-09-02 Okiセミコンダクタ株式会社 Multiple standard radio wave decoding method and standard radio wave receiver
JP5386786B2 (en) * 2007-03-26 2014-01-15 カシオ計算機株式会社 Time information receiver and radio clock

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110622350A (en) * 2018-04-16 2019-12-27 古河电池株式会社 Metal-air battery and method for setting inter-electrode distance of metal-air battery

Also Published As

Publication number Publication date
JP2011095082A (en) 2011-05-12

Similar Documents

Publication Publication Date Title
JP4544351B2 (en) Time information acquisition device and radio clock
JP4506865B2 (en) Time acquisition device and radio clock
US8264915B2 (en) Time information-acquiring apparatus and radio wave timepiece
JP4479811B2 (en) Time correction device and radio clock
JP4752916B2 (en) Time information acquisition device and radio clock
JP5263270B2 (en) Time information acquisition device and radio clock
JP4905536B2 (en) Time information acquisition device and radio clock
JP5505472B2 (en) Time information acquisition device and radio clock
JP4835739B2 (en) Time information acquisition device and radio clock
JP4544347B2 (en) Time information acquisition device and radio clock
JP5621835B2 (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
JP5188911B2 (en) Standard radio wave receiver, radio wave correction watch, electronic device and time correction method
JP5407705B2 (en) Time information acquisition device and radio clock
JP4905523B2 (en) Time information acquisition device and radio clock
JP5408025B2 (en) Time information acquisition device and radio clock
JP5012948B2 (en) Time information acquisition device and radio clock
JP5012947B2 (en) Time information acquisition device and radio clock
JP2017015621A (en) Radio wave receiving device, radio wave correction timepiece and radio wave receiving method
JP4108528B2 (en) Minute detection method using standard radio waves and radio-controlled clock
JP6270695B2 (en) Radio clock
JP2014132274A (en) Time information acquisition device, and electromagnetic wave clock

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110819

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110830

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111028

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

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

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

Free format text: PAYMENT UNTIL: 20150120

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4905536

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150