JP4258213B2 - Time data receiver - Google Patents

Time data receiver Download PDF

Info

Publication number
JP4258213B2
JP4258213B2 JP2002368092A JP2002368092A JP4258213B2 JP 4258213 B2 JP4258213 B2 JP 4258213B2 JP 2002368092 A JP2002368092 A JP 2002368092A JP 2002368092 A JP2002368092 A JP 2002368092A JP 4258213 B2 JP4258213 B2 JP 4258213B2
Authority
JP
Japan
Prior art keywords
radio wave
noise
frequency
reception
bits
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2002368092A
Other languages
Japanese (ja)
Other versions
JP2004198289A (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 JP2002368092A priority Critical patent/JP4258213B2/en
Publication of JP2004198289A publication Critical patent/JP2004198289A/en
Application granted granted Critical
Publication of JP4258213B2 publication Critical patent/JP4258213B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

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

Description

【0001】
【発明の属する技術分野】
本発明は、時刻データ受信装置に関する。
【0002】
【従来の技術】
現在我が国(日本)では、時刻データ即ちタイムコード入りの40kHz及び60kHzの標準電波が、2つの送信所(福島県及び佐賀県)より送出されている。図7に、この標準電波に含まれるタイムコードのフォーマットを示す。
【0003】
図7によれば、タイムコードは、1分毎に、1周期60秒のフレームで送出されている。そして、この60秒のフレームの開始時点である正分(毎分0秒)の立ち上がりには、先頭マーカ(M)が対応している。この先頭マーカ(M)は、パルス幅0.2秒のものが配され、またこれと同じパルス幅0.2秒のポジションマーカが、9秒(P1)、19秒(P2)、29秒(P3)、39秒(P4)、49秒(P5)及び59秒(P0)の時点にも配されている。このため、フレームの境界には、ほぼ1秒の間隔をおいてパルス幅0.2秒のものが2個(即ち、先頭マーカ(M)で示されるものと、ポジションマーカ(P0)で示されるもの)配されていることになり、これにより新フレームの開始を認識することができるようになっている。また、先頭マーカ(M)は、フレーム基準マーカ(M)であり、このフレーム基準マーカ(M)で示されるパルスの立ち上がり時点を、現在時刻の分の桁の正確な更新時となる。そして、上記フレーム内には、当該フレーム開始時点(M)の時刻の分、時、通算日(1月1日からの日数)、年(西暦下2桁)、曜日等のデータが、それぞれ1秒代、10秒代及び30〜40秒代に2進化10進数で配されており、この場合、ロジック1及び0は、それぞれ、パルス幅が0.5秒及び0.8秒のパルスで表されている。尚、図7に示すフレームには、通算日114日の17時25分のデータが示されている。
【0004】
近年では、このようなタイムコード入り標準電波を受信して、これにより時刻計数回路の時刻データを修正する、いわゆる電波時計が実用化されている。電波時計は、所定時間毎に、内蔵しているアンテナを介して標準電波を受信し、増幅変調してタイムコードを解読することにより、現在時刻を修正している。
【0005】
また、この種の電波時計においては、異なる複数周波数の電波を受信し、最も適切と思われる電波に含まれるタイムコードに基づいて、時刻修正する機能を有するものもある。例えば、時刻情報を含む電波を受信し、この受信した電波のうち、予め設定されている周波数で且つ最も電界が強い電波を検出し、この検出した電波に含まれる時刻情報に基づいて時刻修正する電波時計が知られている(例えば、特許文献1参照)。
【0006】
【特許文献1】
特開平5−142363号公報
【0007】
【発明が解決しようとする課題】
しかしながら、上述の電波時計では、適切と思われる電波の選択を、受信電波の電界強度に基づいて行っているため、ノイズが多い等の受信感度が良くない(低感度の)周波数の電波を受信している可能性があるという問題があった。また、先ずどちらかの周波数で一定時間電波を受信し、その後もう一方の周波数に切り換えているため、最初の受信周波数で受信不可能であっても、周波数切換まで一定時間待たなくてはならず、適切な周波数の選択に時間がかかるという問題もあった。
【0008】
上記問題に鑑み、本発明は、複数周波数の電波を受信可能な時刻データ受信装置において、受信感度の良い周波数を速やかに選択して受信し、時刻修正を実行することを目的としている。
【0009】
【課題を解決するための手段】
上記課題を解決するために、請求項1記載の時刻データ受信装置は、
基準クロック信号を計数して現在時刻データを得る計時計数手段と、
複数ビットからなる時刻コードを含み、且つ周波数の異なる2つの電波を受信する電波受信手段と、
2つの周波数の電波のうち最初に受信する電波の周波数を記憶する周波数格納手段と、
前記電波受信手段を、前記周波数格納手段に記憶されている一方の周波数の電波を受信するように制御する第1の電波受信制御手段と、
前記電波受信手段で前記一方の周波数の電波を受信しているときに、受信したビット数とノイズ数とを計数する第1の計数手段と、
前記電波受信手段で前記一方の周波数の電波受信が成功か失敗か、および前記ノイズ数が上限ノイズ数以上か否かを判別する第1の判別手段と、
この第1の判別手段で電波受信が成功と判別され、かつ、前記ノイズ数が前記上限ノイズ数以上でないと判別された場合に、前記電波受信手段によって受信された電波に含まれる時刻コードに基づいて、前記現在時刻データを修正する第1の時刻修正手段と、
前記第1の判別手段で電波受信が失敗と判別された場合、或は、前記ノイズ数が前記上限ノイズ数以上と判別された場合に、前記電波受信手段を、他方の周波数の電波を受信するように制御する第2の電波受信制御手段と、
前記電波受信手段で前記他方の周波数の電波を受信しているときに、受信したビット数とノイズ数とを計数する第2の計数手段と、
前記電波受信手段で前記他方の周波数の電波受信が成功か失敗か、および前記ノイズ数が前記上限ノイズ数以上か否かを判別する第2の判別手段と、
この第2の判別手段で電波受信が成功と判別され、かつ、前記ノイズ数が前記上限ノイズ数以上でないと判別された場合に、前記電波受信手段によって受信された電波に含まれる時刻コードに基づいて、前記現在時刻データを修正すると共に前記他方の受信周波数を前記周波数格納手段に記憶させる第2の時刻修正手段と、
前記第2の判別手段で電波受信が失敗と判別された場合、或は前記ノイズ数が前記上限ノイズ数以上と判別された場合に、前記2つの周波数の電波夫々のノイズ数を、夫々の受信ビット数で除算して前記2つの周波数の電波夫々のノイズ率を算出するノイズ率算出手段と、
前記2つの受信周波数の電波のうちノイズ率の小さい方の受信周波数を前記周波数格納手段に記憶させる周波数記憶制御手段と、
を備えることを特徴としている。
【0010】
この請求項1に記載の発明によれば、時刻データ受信装置は、複数ビットからなる時刻コードを含み、且つ周波数の異なる複数の電波を受信可能であり、受信した時刻コードに含まれるノイズ量を検出する。そして、検出したノイズ量が所定量以上の場合には、受信周波数を他の周波数へ切り換えることができる。従って、含まれるノイズが少なく、受信感度が良い周波数の電波を選択して受信することが可能となる。
【0011】
請求項2に記載の時刻データ受信装置は、
基準クロック信号を計数して現在時刻データを得る計時計時手段(例えば、図1の発振装置14、分周回路15、計時計数回路16)と、
複数ビットからなる時刻コードを含み、且つ周波数の異なる複数の電波を受信する電波受信手段(例えば、図1の受信アンテナ17a;図6のステップS12〜S16、ステップS22〜S26)と、
この電波受信手段によって受信された電波に含まれる時刻コードに基づいて、前記現在時刻データを修正する時刻修正手段(例えば、図1のCPU11;図3のステップS19、S29)と、
前記電波受信手段によって受信された電波に含まれる時刻コードの各ビットに、所定のノイズレベルより大きいレベルのノイズがあるか否かを検出する検出手段(例えば、図1のCPU11;図3のステップS14〜T15、S24〜T25)と、
この検出手段によって、前記時刻コードの複数ビットの内、所定数以上のビットにノイズがあると検出された場合に、前記電波受信手段の受信周波数を切り替える周波数切替制御手段(例えば、図1のCPU11;図3のステップT32〜T33)と、
を備えることを特徴としている。
【0012】
上記課題を解決するために、請求項2記載の時刻データ受信装置は、
基準クロック信号を計数して現在時刻データを得る計時計数手段と、
複数ビットからなる時刻コードを含み、且つ周波数の異なる2つの電波を受信する電波受信手段と、
2つの周波数の電波のうち最初に受信する電波の周波数を記憶する周波数格納手段と、
前記電波受信手段を、前記周波数格納手段に記憶されている一方の周波数の電波を受信するように制御する第1の電波受信制御手段と、
前記電波受信手段で前記一方の周波数の電波を受信しているときに、受信したビット数とノイズ有りのビット数とを計数する第1の計数手段と、
前記電波受信手段で前記一方の周波数の電波受信が成功か失敗か、および前記ノイズビット数が上限ノイズビット数以上か否かを判別する第1の判別手段と、
この第1の判別手段で電波受信が成功と判別され、かつ、前記ノイズビット数が前記上限ノイズビット数以上でないと判別された場合に、前記電波受信手段によって受信された電波に含まれる時刻コードに基づいて、前記現在時刻データを修正する第1の時刻修正手段と、
前記第1の判別手段で電波受信が失敗と判別された場合、或は、前記ノイズビット数が前記上限ノイズビット数以上と判別された場合に、前記電波受信手段を、他方の周波数の電波を受信するように制御する第2の電波受信制御手段と、
前記電波受信手段で前記他方の周波数の電波を受信しているときに、受信したビット数とノイズ有りのビット数とを計数する第2の計数手段と、
前記電波受信手段で前記他方の周波数の電波受信が成功か失敗か、および前記ノイズビット数が前記上限ノイズビット数以上か否かを判別する第2の判別手段と、
この第2の判別手段で電波受信が成功と判別され、かつ、前記ノイズビット数が前記上限ノイズビット数以上でないと判別された場合に、前記電波受信手段によって受信された電波に含まれる時刻コードに基づいて、前記現在時刻データを修正すると共に前記他方の受信周波数を前記周波数格納手段に記憶させる第2の時刻修正手段と、
前記第2の判別手段で電波受信が失敗と判別された場合、或は前記ノイズビット数が前記上限ノイズビット数以上と判別された場合に、前記2つの周波数の電波夫々のノイズビット数を、夫々の受信ビット数で除算して前記2つの周波数の電波夫々のノイズ率を算出するノイズ率算出手段と、
前記2つの受信周波数の電波のうちノイズ率の小さい方の受信周波数を前記周波数格納手段に記憶させる周波数記憶制御手段と
を備えることを特徴としている。
【0013】
【発明の実施の形態】
以下、図面を参照し、本発明の実施の形態について詳細に説明する。
〔第1実施例〕
先ず、図1〜図4を参照し、第1実施例について説明する。
本第1実施例における時刻データ受信装置は、受信した標準電波に含まれるタイムコードに含まれるノイズ量を検出し、検出したノイズ量が所定量以上であるか否かによって、受信周波数を切り換える点を特徴としている。
【0014】
<構成>
図1は、第1実施例における時刻データ受信装置1の内部構成を示すブロック図である。
同図によれば、時刻データ受信装置1は、CPU(Central Processing Unit)11、スイッチ部12、表示部13、発振回路14、分周回路15、計時計数回路16、受信回路17、周波数切替回路18、ROM(Read Only Memory)19、RAM(Random Access Memory)20、を備えて構成される。
【0015】
CPU11は、所定のタイミング、或いはスイッチ部12から入力された操作信号に応じて、ROM19に格納された各種プログラムを読み出してRAM20内に展開し、当該プログラムに基づいて、時刻データ受信装置1が備える各部を集中制御する。特に、本第1実施例においては、ROM19に格納された時刻修正プログラム(1)19aに基づく時刻修正処理(図3参照)を実行する。
【0016】
スイッチ部12は、例えば、時刻修正を手動で開始させるための時刻修正スイッチ等の各種操作スイッチで構成された入力装置であり、これらのスイッチの操作に応じた操作信号を、CPU11へ出力する。
【0017】
表示部13は、例えば、LCD(Liquid Crystal Display)等で構成された表示装置であり、CPU11から入力される表示信号に基づいて、現在時刻等を表示する。
【0018】
発振回路14は、例えば水晶発振器等を備えて構成され、常時一定の周波数のクロック信号を分周回路に出力する。
分周回路15は、発振回路14から入力されるクロック信号を計数して、計数値が1分に相当する値になる度に、1分信号を計時計数回路16へ出力する。
計時計数回路16は、分周回路15から入力される1分信号に基づいて、現在の日付や時分秒等の現在時刻データを計数する。CPU11は、この計時計数回路16において計数される現在時刻データを、適宜、標準電波から得られるタイムコードに基づいて修正する。
【0019】
受信回路17は、受信アンテナ17aを介して、送出されてくる標準電波を受信し検波する等して、受信信号から所定周波数の信号を取り出す。そして、取り出した所定周波数の信号から、標準時刻コード、積算日コード、曜日コード、等の時計機能に必要なデータを含む標準タイムコードを抽出してCPU11へ出力する。また、受信回路17は、CPU11から入力される受信開始信号又は受信終了信号によって、標準電波の受信動作を開始又は終了する。また、受信回路17は、複数周波数と同調可能に構成されており、本第1実施例においては、40kHz或いは60kHzのタイムコード入り長波標準電波と同調する構成となっている。
【0020】
周波数切替回路18は、CPU11から入力される周波数切替信号に基づいて受信アンテナ17aの同調周波数を切り替えて、受信回路17を40kHz或いは60kHzの周波数に同調させる。
【0021】
ROM19は、各種初期設定値や初期プログラムの他、時刻データ受信装置1が有する各機能を実現するためのプログラムやデータ等が格納される。特に、本第1実施例においては、時刻修正処理(図3参照)を実現するための時刻修正プログラム(1)19a、上限ノイズ数19bが格納される。
【0022】
上限ノイズ数19bとは、3フレーム分のタイムコードに含まれるノイズ数の許容数xであり、時刻データ受信装置1に求められる受信感度に応じて、適切な値に定められる。
【0023】
RAM20は、CPU11により実行される各種プログラムや、これらのプログラムの実行に係るデータ等を一時的に保持するためのデータ格納領域を備える。特に、本第1実施例においては、図2に示すように構成される。
【0024】
図2は、第1実施例におけるRAM20の構成を示す図である。
同図によれば、RAM20は、受信した標準電波のタイムコードに関わるデータを保持するタイムコード格納領域21a、21b、前回受信周波数を保持する周波数格納領域25を備えている。
【0025】
タイムコード格納領域21a、21bは、時刻データ受信装置1が受信可能な周波数の標準電波用の格納領域であり、タイムコード格納領域21aには、最初に受信される周波数F1の標準電波(以下、適宜「第1標準電波」という。)のタイムコード(以下、適宜「第1タイムコード」という。)に関わるデータが、また、タイムコード格納領域21bには、次に受信される周波数F2の標準電波(以下、適宜「第2標準電波」という。)のタイムコード(以下、適宜「第2タイムコード」という。)に関わるデータが、それぞれ保持される。
【0026】
また、タイムコード格納領域21a、21aには、該当するタイムコードに含まれるノイズの総数(ノイズ数)を保持するノイズカウンタ22a、22bと、該当するタイムコードの受信ビットの総数(受信ビット数)を保持する受信ビット数格納領域23a、23bと、該当するタイムコードから抽出される3フレーム分の時分データ(時及び分のデータ)を保持する時分データ格納領域24a、24bと、がそれぞれ含まれている。
【0027】
周波数格納領域25に保持される前回受信周波数とは、前回の時刻修正処理において、受信が成功した電波の周波数である。時刻修正処理を開始する際には、この前回受信周波数が、最初に受信する電波の周波数(受信周波数F1)に設定されるとともに、当該処理の実行中においては、受信が成功した電波の周波数に、適宜更新される。また、双方の周波数(40kHz及び60kHz)での受信を失敗した際には、ノイズ率が小さい方の周波数に更新される。
【0028】
<動作>
次に、第1実施例における動作を説明する。
図3は、第1実施例における時刻データ受信装置1の処理フローを示す図である。この処理は、スイッチ部12から時刻修正スイッチの操作信号が入力された場合に、CPU11によって、ROM19に格納された時刻修正プログラム(1)19aに基づいて実行される処理である。
【0029】
同図によれば、CPU11は、先ず初期設定として、タイムコード領域21a、21bに含まれる各領域を“0”に更新する。そして、周波数格納領域25に保持されている前回受信周波数を受信周波数F1に設定して、受信周波数F1の標準電波(即ち、第1標準電波)を受信するように、周波数切替信号を周波数切替回路18へ出力する(ステップS11)。尚、周波数格納領域25に前回受信周波数が格納されていない場合には、予め定められた40kHz或いは60kHzの何れかの周波数を設定する。
【0030】
次いで、CPU11は、受信開始信号を受信回路17へ出力し、第1標準電波の受信を開始させる。受信回路17は、当該受信周波数F1に同調して第1標準電波を受信し、第1標準電波に含まれるタイムコード(即ち、第1タイムコード)を、CPU11へ出力する。そして、CPU11は、受信回路17から入力される第1タイムコード中にフレーム基準マーカ(M)を探し、フレーム基準マーカ(M)が入力されると、当該フレーム基準マーカ(M)を先頭ビットとする3フレーム分のタイムコードに対するコード処理を行う(ステップS12)。
【0031】
コード処理について、具体的に説明する。
図4は、CPU11へ入力されるタイムコードの一例を示す図であり、同図(a)は、ノイズが含まれない場合(ノイズ無し)のタイムコードを、同図(b)は、ノイズが含まれる場合(ノイズ有り)のタイムコードを、それぞれ示している。尚、同図においては、3ビット分のタイムコードが示されている。
【0032】
ここで、タイムコードの各ビットは、フレーム基準マーカ(M)或いはポジションマーカ(P1〜P4)、2進数の“1”、“0”、の何れかのコードを表す。これらのコードは、それぞれ、パルス幅0.2秒、0.8秒、0.5秒、のパルス信号である。そして、これ以外のパルス信号がノイズであり、本実施例においては、パルス幅(立下りから立ち上がりまでを含む)が所定秒以上0.2秒以下であり、且つそのレベルが所定レベル以上のものをノイズと判定する。
従って、CPU11は、パルス幅から、各ビットのコードがフレーム基準マーカ(M)或いはポジションマーカ(P1〜P4)、“1”、“0”、の何れであるのかを判別するともに、ノイズの有無及びその数を検出する。
【0033】
即ち、同図(b)においては、1ビット目は、パルス幅が0.2秒のパルス、即ちフレーム基準マーカ(M)或いはポジションマーカ(P0〜P5)であり、2つのノイズが含まれている。また、2ビット目は、パルス幅が0.8秒のパルス、即ち“0”であり、1つのノイズが含まれている。また、3ビット目は、パルス幅が0.2秒のパルス、即ち“1”であり、2つのノイズが含まれている。
【0034】
このようなコード処理により、CPU11は、各ビット毎にコードの判別及びノイズの検出を行い、コード処理の結果、当該ビットのコードの判別が可能である場合には(ステップS13:YES)、受信ビット数格納領域23aに保持される受信ビット数を“1”加算して更新する。また、ノイズが検出された場合には(ステップS14:YES)、当該検出したノイズの数を、ノイズカウンタ22aに加算して更新する(ステップS15)。その後、ステップS12へ戻り、受信終了と判定するまでの間(ステップS16:NO)、CPU11は、1ビット毎に同様の処理を繰り返す。
【0035】
また、それとともに、CPU11は、上記ステップS12〜S15と並行して、フレーム基準マーカ(M)を先頭ビットとする1フレーム分(即ち、60ビット)の第1タイムコードを受信すると、この受信した1フレーム分のタイムコードから時分データを抽出し、抽出した時分データを、時分データ格納領域24aに、順次格納する。そして、3フレーム分のタイムコードを受信し、時分データ格納領域24aに3つの時分データを格納すると、CPU11は、受信回路17へ受信終了信号を出力して、第1標準電波の受信を終了させる。
【0036】
第1標準電波の受信を終了すると(ステップS16:YES)、CPU11は、時分データ格納領域24aに保持された3フレーム分の時分データに基づいて、第1標準電波の受信は成功であるか否かを判定する。即ち、当該3フレーム分の時分データが1分毎に連続する時分データであるか否かを判断し、連続する場合には受信成功と判断し、一方、連続しない場合には受信失敗と判断する。
【0037】
受信成功と判断した場合(ステップS17:YES)、CPU11は、ノイズカウンタ22aに保持されているノイズ数と、上限ノイズ数19bとを比較する。比較の結果、ノイズカウンタ22aに保持されているノイズ数が上限ノイズ数19b未満である場合(ステップS18:YES)、CPU11は、受信した第1タイムコードに基づいて、計時計数回路16で計数される現在時刻データを修正する(ステップS19)。次いで、CPU11は、時刻表示処理を実行して、当該時刻修正を表示部13の現在時刻表示に反映させた後(ステップS20)、本処理を終了する。
【0038】
一方、ステップS13において、コードの判別が不可能であった場合(ステップS13:NO)、或いは、ステップS17において、第1標準電波の受信を失敗したと判断した場合(ステップS17:NO)、或いは、ステップS18において、ノイズカウンタ22aに保持されているノイズ数が上限ノイズ数19b以上であった場合には(ステップS18:NO)、CPU11は、もう一方の周波数(受信周波数F1が「40kHz」であれば「60kHz」、「60kHz」であれば「40kHz」である。)を、2つ目の受信周波数F2に設定して、受信周波数F2の標準電波(即ち、第2標準電波)を受信するように、周波数切替回路18へ周波数切替信号を出力する(ステップS21)。
【0039】
そして、CPU11は、受信開始信号を受信回路17へ出力し、第2標準電波の受信を開始させる。受信回路17は、当該受信周波数F2に同調して第2標準電波を受信し、第2標準電波に含まれるタイムコード(即ち、第2タイムコード)を、CPU11へ出力する。そして、CPU11は、受信回路17から入力される第2タイムコード中にフレーム基準マーカ(M)を探し、フレーム基準マーカ(M)が入力されると、当該フレーム基準マーカ(M)を先頭ビットとする3フレーム分のタイムコードに対するコード処理を行い、各ビット毎にコード判別及びノイズ検出を行う(ステップS22)。
【0040】
コード処理の結果、当該ビットのコードの判別が可能である場合には(ステップS23:YES)、CPU11は、受信ビット数格納領域23bに保持される受信ビット数を“1”加算して更新する。また、ノイズが検出された場合には(ステップS24:YES)、検出したノイズの数を、ノイズカウンタ22bに加算して更新する(ステップS25)。その後、ステップS22へ戻り、受信終了と判定するまでの間(ステップS26:NO)、1ビット毎に同様の処理を繰り返す。
【0041】
また、それとともに、CPU11は、上記ステップS22〜S25と並行して、フレーム基準マーカ(M)を先頭ビットとする1フレーム分(即ち、60ビット)の第2タイムコードを受信すると、この受信した1フレーム分のタイムコードから時分データを抽出し、抽出した時分データを、時分データ格納領域24bに、順次格納する。そして、3フレーム分のタイムコードを受信し、時分データ格納領域24bに3つの時分データを格納すると(ステップS26:YES)、CPU11は、受信回路17へ受信終了信号を出力して、第2標準電波の受信を終了させる。
【0042】
第2標準電波の受信を終了すると、CPU11は、時分データ格納領域24bに保持された3フレーム分の時分データに基づいて、第2標準電波の受信は成功であるか否かを判定する。即ち、当該3フレーム分の時分データが1分毎に連続する時分データであるか否かを判断して、連続する場合には受信成功と判断し、一方、連続しない場合には失敗と判断する。
【0043】
受信成功と判断した場合(ステップS27:YES)、CPU11は、ノイズカウンタ22bに保持されているノイズ数と、上限ノイズ数19bとを比較する。比較の結果、ノイズカウンタ22bに保持されているノイズ数が上限ノイズ数19b未満である場合には(ステップS28:YES)、CPU11は、受信した第2タイムコードに基づいて、計時計数回路16で計数される現在時刻データを修正する(ステップS29)。そして、当該受信周波数F2を周波数格納領域25に保持させるとともに、時刻表示処理を実行して、当該時刻修正を表示部13の現在時刻表示に反映させた後(ステップS30)、本処理を終了する。
【0044】
一方、ステップS23において、コードの判別が不可能であった場合(ステップS23:NO)、或いは、ステップS27において、第2標準電波の受信を失敗した場合(ステップS27:NO)、或いは、ステップS28において、ノイズカウンタ22bに保持されているノイズ数が上限ノイズ数19b以上であった場合には(ステップS28:NO)、CPU11は、続いて、受信周波数F1、F2毎のノイズ率を算出する。
【0045】
即ち、CPU11は、ノイズカウンタ22aに保持されているノイズ数を、受信ビット数格納領域23aに保持されている受信ビット数で除算して、受信周波数F1のノイズ率を算出する。また、ノイズカウンタ22bに保持されているノイズ数を、受信ビット数格納領域23bに保持されている受信ビット数で除算して、受信周波数F2のノイズ率を算出する(ステップS31)。ノイズ率を算出すると、CPU11は、算出した双方のノイズ率を比較し(ステップS32)、ノイズ率が小さい方の受信周波数を、周波数格納領域25に保持させる(ステップS33)。以上の処理を行うと、CPU11は、本時刻修正処理を終了する。
【0046】
以上のように、第1の実施例によれば、時刻データ受信装置1は、先ず第1標準電波を受信して、第1タイムコードの各ビットに含まれるノイズを検出し、3フレーム分のタイムコードに含まれるノイズ数を検出する。そして、検出したノイズ数が所定の上限ノイズ数19b未満の場合には、当該第1タイムコードに基づいて時刻修正し、一方、検出したノイズ数が上限ノイズ数19b以上の場合には、受信周波数を切り換えて第2標準電波を受信して、同様の処理を行う。尚、第1タイムコードの受信中、1ビットでもコード判別不可能となった場合には、直ちに受信周波数を切り換える。
従って、含まれるノイズ数が少なく、受信感度が良い周波数の標準電波に基づいて、時刻修正を速やかに行うことができる。
【0047】
〔第2実施例〕
次に、図5、図6を参照し、第2実施例について説明する。
本第2実施例における時刻データ受信装置は、受信した標準電波に含まれるタイムコード中、ノイズが含まれるビット数を検出し、検出したビット数が所定数以上であるか否かによって、受信周波数を切り換える点を特徴としている。
【0048】
<構成>
第2実施例における時刻データ受信装置は、上述した第1実施例において図1に示したROM19を、図5(a)に示すROM29に、また図2に示したRAM20を、図5(b)に示すRAM30に、それぞれ置き換えた構成であり、以下においては、同一の構成要素については同符号を付して、詳細な説明を省略する。
【0049】
図5は、第2実施例における時刻データ受信装置のROM29及びRAM30の構成を示す図であり、同図(a)はROM29の構成を、同図(b)はRAM30の構成を、それぞれ示している。
【0050】
図5(a)によれば、ROM29には、時刻修正プログラム(2)29a、上限ノイズビット数29bが格納される。
上限ノイズビット数29bとは、3フレーム分のタイムコードに含まれるノイズビット数の許容数yであり、時刻データ受信装置1に求められる受信感度に応じて、適切な値に定められる。
【0051】
また、図5(b)によれば、RAM30は、受信した標準電波のタイムコードに関わるデータを保持するタイムコード格納領域31a、31b、前回の受信周波数(前回受信周波数)を保持する周波数格納領域25、を備えている。
【0052】
タイムコード格納領域31a、31bは、それぞれ、時刻データ受信装置1が受信可能な2つの周波数F1、F2用の格納領域であり、タイムコード格納領域31aには、最初に受信される標準電波(即ち、第1標準電波)のタイムコード(即ち、第1タイムコード)に関わるデータが、また、タイムコード格納領域31bには、次に受信される標準電波(即ち、第2標準電波)のタイムコード(即ち、第2タイムコード)に関わるデータが、それぞれ保持される。
【0053】
また、タイムコード格納領域31a、31bには、それぞれ、該当するタイムコードに含まれるノイズ有りのビットの総数(ノイズビット数)を保持するノイズビットカウンタ32a、32bと、該当するタイムコードの受信ビットの総数(受信ビット数)を保持する受信ビット数格納領域23a、23bと、該当するタイムコードから抽出される3フレーム分の時分データ(時及び分のデータ)を保持する時分データ格納領域24a、24bと、が含まれている。
【0054】
<動作>
図6は、第2実施例における時刻データ受信装置1の処理フローを示す図である。この動作は、ROM29に格納された時刻修正プログラム(2)29aに基づいて、CPU11によって実行される。尚、上述した第1実施例において図3に示した処理フローと同一ステップについては、同符号(ステップ番号)を付している。
【0055】
同図によれば、CPU11は、先ず初期設定として、タイムコード領域31a、31bに含まれる各領域を“0”に更新する。そして、周波数格納領域25に保持されている前回受信周波数を受信周波数F1に設定して、受信周波数F1の標準電波(即ち、第1標準電波)を受信するように、周波数切替回路18へ周波数切替信号を出力する(ステップS11)。
【0056】
次いで、CPU11は、受信開始信号を受信回路17へ出力し、第1標準電波の受信を開始させる。受信回路17は、当該受信周波数F1に同調して第1標準電波を受信し、第1標準電波に含まれるタイムコード(即ち、第1タイムコード)を、CPU11へ出力する。そして、CPU11は、受信回路17から入力される第1タイムコード中にフレーム基準マーカ(M)を探し、フレーム基準マーカ(M)が入力されると、当該フレーム基準マーカ(M)を先頭ビットとする3フレーム分のタイムコードに対するコード処理を行い、各ビット毎に、コード判別及びノイズ検出を行う(ステップS12)。
【0057】
コード処理の結果、当該ビットのコードの判別が可能である場合には(ステップS13:YES)、CPU11は、受信ビット数格納領域23aに保持される受信ビット数を“1”加算して更新する。また、ノイズが検出された場合には(ステップS14:YES)、ノイズビットカウンタ32aを“1”加算して更新する(ステップT15)。その後、ステップS12へ戻り、CPU11は、受信終了と判定するまでの間(ステップS16:NO)、1ビット毎に同様の処理を繰り返す。
【0058】
また、それとともに、CPU11は、上記ステップS12〜T15と平行して、フレーム基準マーカ(M)を先頭ビットとする1フレーム分(即ち、60ビット)のタイムコードを受信すると、このタイムコードから時分データを抽出し、抽出した時分データを、時分データ格納領域24bに、順次格納する。そして、3フレーム分のタイムコードを受信し、時分データ格納領域24bに3つの時分データを格納すると、CPU11は、受信回路17へ受信終了信号を出力して、第1標準電波の受信を終了させる。
【0059】
第1標準電波の受信を終了すると(ステップS16:YES)、CPU11は、時分データ格納領域24bに保持された3フレーム分の時分データに基づいて、第1標準電波の受信は成功であるか否かを判定する。即ち、当該3フレーム分の時分データが1分毎に連続する時分データであるか否かを判断し、連続する場合には受信成功と判断し、一方、連続しない場合には受信失敗と判断する(ステップS17)。
【0060】
受信成功と判断した場合(ステップS17:YES)、CPU11は、ノイズビットカウンタ32aに保持されているノイズビット数と、上限ノイズビット数29bとを比較する。
【0061】
比較の結果、ノイズビットカウンタ32aに保持されているノイズビット数が上限ノイズビット数29b未満である場合(ステップT18:YES)、CPU11は、受信した第1タイムコードに基づいて、計時計数回路16で計数される現在時刻データを修正する(ステップS19)。そして、CPU11は、時刻表示処理を実行して、当該時刻修正を表示部13の現在時刻表示に反映させた後(ステップS20)、本処理を終了する。
【0062】
一方、ステップS13において、コードの判別が不可能であった場合(ステップS13:NO)、或いは、ステップS17において、第1標準電波の受信を失敗したと判断した場合(ステップS17:NO)、或いは、ステップT18において、ノイズビットカウンタ32aに保持されているノイズビット数が上限ノイズビット数29b以上であった場合には(ステップT18:NO)、CPU11は、もう一方の周波数(受信周波数F1が「40kHz」であれば「60kHz」、「60kHz」であれば「40kHz」である。)を、2つ目の受信周波数F2に設定して、受信周波数F2の標準電波(即ち、第2標準電波)を受信するように、周波数切替信号を周波数切替回路18へ出力する(ステップS21)。
【0063】
そして、CPU11は、受信開始信号を受信回路17へ出力し、第2標準電波の受信を開始させる。受信アンテナ17aは、当該受信周波数F2に同調して第2標準電波を受信し、受信回路17は、第2標準電波に含まれるタイムコード(即ち、第2タイムコード)を、CPU11へ出力する。そして、CPU11は、受信回路17から入力される第2タイムコード中にフレーム基準マーカ(M)を探し、フレーム基準マーカ(M)が入力されると、当該フレーム基準マーカ(M)を先頭ビットとする3フレーム分のタイムコードに対するコード処理を行い、各ビット毎に、コード判別及びノイズ検出を行う(ステップS22)
【0064】
コード処理の結果、当該ビットのコードの判別が可能である場合には(ステップS23:YES)、CPU11は、受信ビット数格納領域23bに格納される受信ビット数を“1”を加算して更新する。また、ノイズが検出された場合には(ステップS24:YES)、ノイズビットカウンタ32bを“1”加算して更新する(ステップT25)。その後、ステップS22へ戻り、受信終了と判定するまでの間(ステップS26:NO)、CPU11は、1ビット毎に同様の処理を繰り返す。
【0065】
また、それとともに、CPU11は、上記ステップS22〜T25と並行して、フレーム基準マーカ(M)を先頭ビットとする1フレーム分(即ち、60ビット)のタイムコードを受信すると、このタイムコードから時分データを抽出し、抽出した時分データを、時分データ格納領域24bに、順次格納する。そして、3フレーム分のタイムコードを受信し、時分データ格納領域24bに3つの時分データを格納すると、CPU11は、受信回路17へ受信終了信号を出力して、第2標準電波の受信を終了させる。
【0066】
第2標準電波の受信を終了すると(ステップS26:YES)、CPU11は、時分データ格納領域24bに保持された3フレーム分の時分データに基づいて、第2標準電波の受信は成功であるか否かを判定する。即ち、当該3フレーム分の時分データが1分毎に連続する時分データであるか否かを判断して、連続する場合には受信成功と判断し、一方、連続しない場合には失敗と判断する。
【0067】
受信成功と判断した場合(ステップS27:YES)、CPU11は、ノイズビットカウンタ32bに保持されているノイズビット数と、上限ノイズビット数29bとを比較する。比較の結果、ノイズビットカウンタ32bに保持されているノイズビット数が上限ノイズビット数29b未満である場合には(ステップT28:YES)、CPU11は、受信した第2タイムコードに基づいて、計時計数回路16で計数される現在時刻データを修正する(ステップS29)。そして、当該受信周波数F2を周波数格納領域25に保持させるとともに、時刻表示処理を実行して、当該時刻修正を表示部13の現在時刻表示に反映させた後(ステップS30)、本処理を終了する。
【0068】
一方、ステップS23において、コードの判別が不可能であった場合(ステップS23:NO)、或いは、ステップS27において、第2標準電波の受信を失敗した場合(ステップS27:NO)、或いは、ステップT28において、ノイズビットカウンタ32bに保持されているノイズビット数が上限ノイズビット数29b以上であった場合には(ステップT28:NO)、CPU11は、続いて、受信周波数F1、F2毎のノイズ率を算出する。
【0069】
即ち、CPU11は、ノイズビットカウンタ32aに保持されているノイズビット数を、受信ビット数格納領域23aに保持されている受信ビット数で除算し、受信周波数F1のノイズ率を算出する。また、ノイズビットカウンタ32bに保持されているノイズビット数を、受信ビット数格納領域23bに保持されている受信ビット数で除算し、受信周波数F2のノイズ率を算出する(ステップST31)。ノイズ率を算出すると、CPU11は、算出した双方のノイズ率を比較し(ステップT32)、ノイズ率が小さい方の周波数を周波数格納領域25に保持させる(ステップT33)。以上の処理を行うと、CPU11は、本時刻修正処理を終了する。
【0070】
以上のように、第2実施例によれば、時刻データ受信装置1は、先ず第1標準電波を受信して、第1タイムコードの各ビットのノイズ有無を検出し、3フレーム分のタイムコード中、ノイズが含まれるビット数(ノイズビット数)を検出する。そして、検出したノイズビット数が所定の上限ノイズビット数29b未満の場合には、当該第1タイムコードに基づいて時刻修正し、一方、検出したノイズビット数が上限ノイズビット数29b以上の場合には、受信周波数を切り換えて第2標準電波を受信して、同様の処理を行う。尚、第1タイムコードの受信中、1ビットでもコード判別不可能となった場合には、直ちに受信周波数を切り換える。
従って、含まれるノイズ数が少なく、受信感度が良い周波数の標準電波に基づいて、時刻修正を速やかに行うことができる。
【0071】
尚、本発明の適用は、上述した実施の形態に限らず、本発明の趣旨を逸脱しない範囲で適宜変更可能である。
【0072】
【発明の効果】
本発明によれば、時刻データ受信装置は、複数ビットからなる時刻コードを含み、且つ周波数の異なる複数の電波を受信可能であり、受信した時刻コードに含まれるノイズ量を検出する。そして、検出したノイズ量が所定量以上の場合には、受信周波数を他の周波数へ切り換えることができる。従って、含まれるノイズが少なく、受信感度が良い周波数の電波を選択して受信することが可能となる。
【0073】
また、時刻データ受信装置は、複数ビットからなる時刻コードを含み、且つ周波数の異なる複数の電波を受信可能であり、受信した時刻コードの各ビットの内、所定のノイズレベルより大きいレベルのノイズが含まれるビット数を検出する。そして、検出したビット数が所定数以上の場合には、受信周波数を他の周波数へ切り換えることができる。従って、含まれるノイズが少なく、受信感度が良い周波数の電波に基づいて、時刻修正を速やかに行うことが可能となる。
【図面の簡単な説明】
【図1】時刻データ受信装置の内部構成を示すブロック図。
【図2】第1実施例におけるRAMの構成を示す図。
【図3】第1実施例における時刻データ受信装置の処理フローを示す図。
【図4】コード処理を説明する図。
【図5】第2実施例におけるROM及びRAMの構成を示す図。
【図6】第2実施例における時刻データ受信装置の処理フローを示す図。
【図7】タイムコードのフォーマットを示す図。
【符号の説明】
1 時刻データ受信装置
11 CPU
12 スイッチ部
13 表示部
14 発振回路
15 分周回路
16 計時計数回路
17 受信回路
17a 受信アンテナ
18 周波数切替回路
19、29 ROM
19a 時刻修正プログラム(1)
19b 上限ノイズ数
29a 時刻修正プログラム(2)
29b 上限ノイズビット数
20、30 RAM
21a、21b、31a、31b タイムコード格納領域
22a、22b ノイズカウンタ
23a、23b 受信ビット格納領域
24a、24b 時分データ格納領域
32a、32b ノイズビットカウンタ
25 周波数格納領域
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a time data receiving apparatus.
[0002]
[Prior art]
Currently, in Japan (Japan), time data, that is, 40 kHz and 60 kHz standard radio waves including time codes are transmitted from two transmitting stations (Fukushima Prefecture and Saga Prefecture). FIG. 7 shows the format of the time code included in this standard radio wave.
[0003]
According to FIG. 7, the time code is transmitted every 60 minutes in a frame of 60 seconds per cycle. The leading marker (M) corresponds to the rise of the minute (0 seconds per minute), which is the start time of the 60-second frame. This head marker (M) is provided with a pulse width of 0.2 seconds, and the same position marker with a pulse width of 0.2 seconds is 9 seconds (P1), 19 seconds (P2), 29 seconds ( P3), 39 seconds (P4), 49 seconds (P5), and 59 seconds (P0). For this reason, two frames having a pulse width of 0.2 seconds with an interval of approximately 1 second (ie, indicated by the head marker (M) and the position marker (P0)) at the frame boundary. This means that the start of a new frame can be recognized. The head marker (M) is a frame reference marker (M), and the rising edge of the pulse indicated by the frame reference marker (M) is the time when the minute digit of the current time is accurately updated. In the frame, data such as the minute, hour, total date (number of days since January 1), year (last two digits), day of the week, etc. are respectively 1 In the second, tenth and thirty to forty seconds, it is arranged in binary-coded decimal numbers. In this case, logic 1 and 0 are represented by pulses with pulse widths of 0.5 seconds and 0.8 seconds, respectively. Has been. In the frame shown in FIG. 7, data at 17:25 on the 114th day is shown.
[0004]
In recent years, so-called radio timepieces have been put to practical use that receive such standard time-code radio waves and thereby correct time data of the time counting circuit. The radio timepiece corrects the current time by receiving a standard radio wave via a built-in antenna every predetermined time, amplifying and modulating the time code, and decoding the time code.
[0005]
Some of these types of radio timepieces have a function of receiving radio waves of different frequencies and correcting the time based on a time code included in the radio wave that seems to be most appropriate. For example, a radio wave including time information is received, a radio wave having a preset frequency and the strongest electric field is detected, and the time is corrected based on the time information included in the detected radio wave. A radio timepiece is known (see, for example, Patent Document 1).
[0006]
[Patent Document 1]
Japanese Patent Laid-Open No. 5-142363
[0007]
[Problems to be solved by the invention]
However, in the radio timepiece described above, radio waves that are considered appropriate are selected based on the field strength of the received radio waves, so that radio waves of frequencies with poor reception sensitivity (low sensitivity) such as a lot of noise are received. There was a problem that it may have. In addition, since radio waves are first received at a certain frequency and then switched to the other frequency, even if reception is not possible at the first reception frequency, it is necessary to wait for a certain time until the frequency is switched. There is also a problem that it takes time to select an appropriate frequency.
[0008]
In view of the above problems, an object of the present invention is to quickly select and receive a frequency with good reception sensitivity and perform time correction in a time data receiving apparatus capable of receiving radio waves of a plurality of frequencies.
[0009]
[Means for Solving the Problems]
  In order to solve the above-mentioned problem, a time data receiving device according to claim 1,
  A clock counting means for obtaining a current time data by counting a reference clock signal;
  Includes time code consisting of multiple bits and different frequencyTwoRadio wave receiving means for receiving radio waves;
  A frequency storage means for storing a frequency of a radio wave received first among radio waves of two frequencies;
  First radio wave reception control means for controlling the radio wave reception means to receive radio waves of one frequency stored in the frequency storage means;
  First counting means for counting the number of received bits and the number of noises when the radio wave receiving means is receiving radio waves of the one frequency;
  First determination means for determining whether the reception of the radio wave of the one frequency is successful or unsuccessful in the radio wave reception means, and whether or not the noise number is equal to or greater than an upper limit noise number;
  Based on the time code included in the radio wave received by the radio wave receiving means when the first discrimination means determines that the radio wave reception is successful and the noise number is determined not to be greater than or equal to the upper limit noise number. First time correcting means for correcting the current time data;
  When the radio wave reception is determined to have failed by the first determination unit, or when the noise number is determined to be equal to or greater than the upper limit noise number, the radio wave reception unit receives the radio wave of the other frequency. Second radio wave reception control means for controlling
  A second counting means for counting the number of received bits and the number of noises when receiving the radio wave of the other frequency by the radio wave receiving means;
  Second determination means for determining whether reception of the other frequency radio wave is successful or unsuccessful in the radio wave reception means, and whether the noise number is equal to or greater than the upper limit noise number;
  Based on the time code included in the radio wave received by the radio wave receiving means when the second discrimination means determines that the radio wave reception is successful and the noise number is determined not to be greater than or equal to the upper limit noise number. Second time correction means for correcting the current time data and storing the other received frequency in the frequency storage means,
  When it is determined that reception of radio waves has failed by the second determination unit, or when the number of noises is determined to be greater than or equal to the upper limit noise number, the number of noises of each of the radio waves of the two frequencies is received. Noise rate calculating means for calculating the noise rate of each of the radio waves of the two frequencies by dividing by the number of bits;
  A frequency storage control means for storing in the frequency storage means the reception frequency with the smaller noise rate of the radio waves of the two reception frequencies;
  It is characterized by having.
[0010]
According to the first aspect of the present invention, the time data receiving device is capable of receiving a plurality of radio waves having different time frequencies, including a time code consisting of a plurality of bits, and calculating the amount of noise included in the received time code. To detect. When the detected noise amount is equal to or greater than a predetermined amount, the reception frequency can be switched to another frequency. Therefore, it is possible to select and receive radio waves having a frequency with low noise and good reception sensitivity.
[0011]
The time data receiving device according to claim 2,
Clock timer means for counting the reference clock signal to obtain current time data (for example, the oscillation device 14, the frequency divider circuit 15, and the clock timer circuit 16 in FIG. 1);
Radio wave receiving means (for example, receiving antenna 17a in FIG. 1; steps S12 to S16 and steps S22 to S26 in FIG. 6) for receiving a plurality of radio waves with different frequencies and including a time code consisting of a plurality of bits;
Time correction means (for example, the CPU 11 in FIG. 1; steps S19 and S29 in FIG. 3) for correcting the current time data based on the time code included in the radio wave received by the radio wave reception means;
Detection means for detecting whether or not each bit of the time code included in the radio wave received by the radio wave reception means has a noise level higher than a predetermined noise level (for example, CPU 11 in FIG. 1; step in FIG. 3) S14 to T15, S24 to T25),
When the detection means detects that noise is present in a predetermined number of bits or more of the plurality of bits of the time code, the frequency switching control means (for example, the CPU 11 in FIG. 1) switches the reception frequency of the radio wave reception means. Steps T32 to T33 in FIG. 3;
It is characterized by having.
[0012]
  In order to solve the above problem, a time data receiving device according to claim 2 is provided:
  Time counting to obtain current time data by counting the reference clock signalCountingMeans,
  Includes time code consisting of multiple bits and different frequencyTwoRadio wave receiving means for receiving radio waves;
  A frequency storage means for storing a frequency of a radio wave received first among radio waves of two frequencies;
  First radio wave reception control means for controlling the radio wave reception means to receive radio waves of one frequency stored in the frequency storage means;
  First counting means for counting the number of received bits and the number of bits with noise when the radio wave receiving means is receiving radio waves of the one frequency;
  First determination means for determining whether the reception of the radio wave at the one frequency is successful or unsuccessful in the radio wave reception means, and whether or not the number of noise bits is equal to or greater than an upper limit noise bit number;
  The time code included in the radio wave received by the radio wave receiving means when the first discrimination means determines that the radio wave reception is successful and the noise bit number is determined not to be greater than or equal to the upper limit noise bit number. First time correction means for correcting the current time data based on:
  When it is determined that reception of radio waves has failed by the first determination unit, or when the number of noise bits is determined to be greater than or equal to the upper limit noise bit number, the radio reception unit is configured to transmit radio waves of the other frequency. Second radio wave reception control means for controlling to receive,
  Second counting means for counting the number of received bits and the number of bits with noise when the radio wave receiving means is receiving radio waves of the other frequency;
  A second discriminating unit for discriminating whether radio wave reception of the other frequency is successful or unsuccessful in the radio wave receiving unit, and whether the number of noise bits is equal to or greater than the upper limit noise bit number;
  The time code included in the radio wave received by the radio wave receiving means when the second discrimination means determines that the radio wave reception is successful and the noise bit number is not greater than or equal to the upper limit noise bit number. Based on the second time correction means for correcting the current time data and storing the other received frequency in the frequency storage means,
  When it is determined by the second determining means that radio wave reception has failed, or when the number of noise bits is determined to be greater than or equal to the upper limit noise bit number, the number of noise bits of each of the two frequency radio waves is determined, A noise rate calculating means for calculating the noise rate of each of the radio waves of the two frequencies by dividing by the number of received bits;
  Frequency storage control means for storing in the frequency storage means the reception frequency with the smaller noise rate of the two reception frequency radio waves;,
  It is characterized by having.
[0013]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
[First embodiment]
First, the first embodiment will be described with reference to FIGS.
The time data receiving device in the first embodiment detects the amount of noise included in the time code included in the received standard radio wave, and switches the reception frequency depending on whether or not the detected amount of noise is equal to or greater than a predetermined amount. It is characterized by.
[0014]
<Configuration>
FIG. 1 is a block diagram showing an internal configuration of a time data receiving apparatus 1 in the first embodiment.
According to the figure, the time data receiver 1 includes a CPU (Central Processing Unit) 11, a switch unit 12, a display unit 13, an oscillation circuit 14, a frequency dividing circuit 15, a clock number circuit 16, a receiving circuit 17, a frequency switching The circuit 18 includes a ROM (Read Only Memory) 19 and a RAM (Random Access Memory) 20.
[0015]
The CPU 11 reads out various programs stored in the ROM 19 in accordance with a predetermined timing or an operation signal input from the switch unit 12 and expands the programs in the RAM 20, and the time data receiving device 1 includes the programs based on the programs. Centralized control of each part. In particular, in the first embodiment, a time correction process (see FIG. 3) based on the time correction program (1) 19a stored in the ROM 19 is executed.
[0016]
The switch unit 12 is an input device composed of various operation switches such as a time adjustment switch for manually starting time adjustment, and outputs an operation signal corresponding to the operation of these switches to the CPU 11.
[0017]
The display unit 13 is, for example, a display device configured with an LCD (Liquid Crystal Display) or the like, and displays the current time and the like based on a display signal input from the CPU 11.
[0018]
The oscillation circuit 14 includes a crystal oscillator or the like, for example, and always outputs a clock signal having a constant frequency to the frequency dividing circuit.
The frequency dividing circuit 15 counts the clock signal input from the oscillation circuit 14 and outputs a one-minute signal to the clock counting circuit 16 every time the count value becomes a value corresponding to one minute.
The clock count circuit 16 counts current time data such as the current date and hour / minute / second based on the one-minute signal input from the frequency divider circuit 15. The CPU 11 corrects the current time data counted by the clock count circuit 16 based on a time code obtained from the standard radio wave as appropriate.
[0019]
The receiving circuit 17 takes out a signal having a predetermined frequency from the received signal by receiving and detecting the transmitted standard radio wave via the receiving antenna 17a. Then, a standard time code including data necessary for a clock function such as a standard time code, an integrated date code, and a day of the week code is extracted from the extracted signal of a predetermined frequency and output to the CPU 11. The receiving circuit 17 starts or ends the reception operation of the standard radio wave according to the reception start signal or the reception end signal input from the CPU 11. The receiving circuit 17 is configured to be tunable with a plurality of frequencies. In the first embodiment, the receiving circuit 17 is configured to be tuned to a long-wave standard radio wave with a time code of 40 kHz or 60 kHz.
[0020]
The frequency switching circuit 18 switches the tuning frequency of the receiving antenna 17a based on the frequency switching signal input from the CPU 11, and tunes the receiving circuit 17 to a frequency of 40 kHz or 60 kHz.
[0021]
The ROM 19 stores various initial setting values and initial programs, as well as programs and data for realizing the functions of the time data receiving device 1. In particular, in the first embodiment, a time correction program (1) 19a and an upper limit noise number 19b for realizing the time correction process (see FIG. 3) are stored.
[0022]
The upper limit noise number 19b is an allowable number x of the number of noises included in the time code for three frames, and is set to an appropriate value according to the reception sensitivity required for the time data receiving apparatus 1.
[0023]
The RAM 20 includes a data storage area for temporarily holding various programs executed by the CPU 11 and data related to the execution of these programs. In particular, the first embodiment is configured as shown in FIG.
[0024]
FIG. 2 is a diagram showing the configuration of the RAM 20 in the first embodiment.
As shown in the figure, the RAM 20 includes time code storage areas 21a and 21b for holding data related to the time code of the received standard radio wave, and a frequency storage area 25 for holding the previous reception frequency.
[0025]
The time code storage areas 21a and 21b are storage areas for standard radio waves having frequencies that can be received by the time data receiving device 1, and the time code storage area 21a includes standard radio waves of the frequency F1 that are received first (hereinafter, Data relating to a time code (hereinafter referred to as “first time code” as appropriate) referred to as “first standard radio wave” as appropriate, and in the time code storage area 21b, a standard of frequency F2 received next. Data relating to a time code (hereinafter referred to as “second time code” as appropriate) of a radio wave (hereinafter referred to as “second standard radio wave” as appropriate) is held.
[0026]
In the time code storage areas 21a and 21a, noise counters 22a and 22b that hold the total number of noises included in the corresponding time code (the number of noises), and the total number of received bits (the number of received bits) of the corresponding time code. Received bit number storage areas 23a and 23b, and hour / minute data storage areas 24a and 24b for holding hour / minute data (hour and minute data) for three frames extracted from the corresponding time code, respectively. include.
[0027]
The previous reception frequency held in the frequency storage area 25 is the frequency of the radio wave that has been successfully received in the previous time adjustment process. When starting the time adjustment process, the previous reception frequency is set to the frequency of the radio wave received first (reception frequency F1), and during the execution of the process, the frequency of the radio wave that has been successfully received is set. , Updated as appropriate. When reception at both frequencies (40 kHz and 60 kHz) fails, the frequency is updated to the one with the smaller noise rate.
[0028]
<Operation>
Next, the operation in the first embodiment will be described.
FIG. 3 is a diagram showing a processing flow of the time data receiving apparatus 1 in the first embodiment. This process is a process executed by the CPU 11 based on the time correction program (1) 19a stored in the ROM 19 when an operation signal of the time correction switch is input from the switch unit 12.
[0029]
According to the figure, the CPU 11 first updates each area included in the time code areas 21a and 21b to “0” as an initial setting. Then, the frequency switching signal is set to the frequency switching circuit so as to receive the standard radio wave (that is, the first standard radio wave) of the reception frequency F1 by setting the previous reception frequency held in the frequency storage area 25 to the reception frequency F1. 18 (step S11). If no previous reception frequency is stored in the frequency storage area 25, either a predetermined frequency of 40 kHz or 60 kHz is set.
[0030]
Next, the CPU 11 outputs a reception start signal to the reception circuit 17 to start reception of the first standard radio wave. The receiving circuit 17 receives the first standard radio wave in synchronization with the reception frequency F1, and outputs the time code (that is, the first time code) included in the first standard radio wave to the CPU 11. Then, the CPU 11 searches for the frame reference marker (M) in the first time code input from the receiving circuit 17, and when the frame reference marker (M) is input, the frame reference marker (M) is set as the first bit. Code processing is performed on the time code for three frames to be performed (step S12).
[0031]
The code processing will be specifically described.
FIG. 4 is a diagram showing an example of a time code input to the CPU 11. FIG. 4A shows a time code when noise is not included (no noise), and FIG. The time codes when included (with noise) are shown. In the figure, a time code for 3 bits is shown.
[0032]
Here, each bit of the time code represents either a frame reference marker (M) or position markers (P1 to P4), and a binary number “1” or “0”. These codes are pulse signals having pulse widths of 0.2 seconds, 0.8 seconds, and 0.5 seconds, respectively. The other pulse signal is noise, and in this embodiment, the pulse width (including the period from falling to rising) is not less than a predetermined second and not more than 0.2 seconds, and the level is not less than the predetermined level. Is determined as noise.
Accordingly, the CPU 11 determines from the pulse width whether the code of each bit is the frame reference marker (M) or the position markers (P1 to P4), “1”, “0”, and whether or not there is noise. And its number.
[0033]
That is, in FIG. 5B, the first bit is a pulse having a pulse width of 0.2 seconds, that is, a frame reference marker (M) or position markers (P0 to P5), and includes two noises. Yes. The second bit is a pulse having a pulse width of 0.8 seconds, that is, “0”, and includes one noise. The third bit is a pulse having a pulse width of 0.2 seconds, that is, “1”, and includes two noises.
[0034]
By such code processing, the CPU 11 performs code discrimination and noise detection for each bit. If the code processing can discriminate the code of the bit (step S13: YES), the reception is performed. The reception bit number held in the bit number storage area 23a is updated by adding “1”. If noise is detected (step S14: YES), the number of detected noise is added to the noise counter 22a and updated (step S15). Thereafter, the process returns to step S12, and the CPU 11 repeats the same processing for each bit until it is determined that the reception is completed (step S16: NO).
[0035]
At the same time, when the CPU 11 receives the first time code for one frame (ie, 60 bits) having the frame reference marker (M) as the first bit in parallel with the steps S12 to S15, the CPU 11 receives the received first time code. The hour / minute data is extracted from the time code for one frame, and the extracted hour / minute data is sequentially stored in the hour / minute data storage area 24a. When the time code for three frames is received and the three hour / minute data are stored in the hour / minute data storage area 24a, the CPU 11 outputs a reception end signal to the reception circuit 17 to receive the first standard radio wave. Terminate.
[0036]
When the reception of the first standard radio wave is completed (step S16: YES), the CPU 11 has successfully received the first standard radio wave based on the time / minute data for three frames held in the hour / minute data storage area 24a. It is determined whether or not. That is, it is determined whether or not the time data for the three frames is continuous time data every minute, and if it is continuous, it is determined that the reception has succeeded. to decide.
[0037]
When it is determined that the reception is successful (step S17: YES), the CPU 11 compares the number of noises held in the noise counter 22a with the upper limit noise number 19b. As a result of the comparison, when the number of noises held in the noise counter 22a is less than the upper limit noise number 19b (step S18: YES), the CPU 11 counts the clock count circuit 16 based on the received first time code. The current time data to be corrected is corrected (step S19). Next, the CPU 11 executes a time display process to reflect the time correction on the current time display on the display unit 13 (step S20), and then ends this process.
[0038]
On the other hand, if it is impossible to determine the code in step S13 (step S13: NO), or if it is determined in step S17 that reception of the first standard radio wave has failed (step S17: NO), or In step S18, when the number of noises held in the noise counter 22a is greater than or equal to the upper limit noise number 19b (step S18: NO), the CPU 11 determines that the other frequency (the reception frequency F1 is “40 kHz”). If it is “60 kHz” and “60 kHz”, it is “40 kHz”) is set to the second reception frequency F2, and the standard radio wave (that is, the second standard radio wave) of the reception frequency F2 is received. Thus, a frequency switching signal is output to the frequency switching circuit 18 (step S21).
[0039]
Then, the CPU 11 outputs a reception start signal to the reception circuit 17 to start reception of the second standard radio wave. The receiving circuit 17 receives the second standard radio wave in synchronization with the reception frequency F2, and outputs the time code (that is, the second time code) included in the second standard radio wave to the CPU 11. Then, the CPU 11 searches for the frame reference marker (M) in the second time code input from the receiving circuit 17, and when the frame reference marker (M) is input, the frame reference marker (M) is set as the first bit. Code processing is performed on the time code for three frames, and code discrimination and noise detection are performed for each bit (step S22).
[0040]
If it is possible to determine the code of the bit as a result of the code processing (step S23: YES), the CPU 11 updates the received bit number held in the received bit number storage area 23b by adding “1”. . If noise is detected (step S24: YES), the number of detected noises is added to the noise counter 22b and updated (step S25). Thereafter, the process returns to step S22 until the end of reception is determined (step S26: NO), and the same processing is repeated for each bit.
[0041]
At the same time, the CPU 11 receives the second time code for one frame (ie, 60 bits) having the frame reference marker (M) as the first bit in parallel with the steps S22 to S25. The hour / minute data is extracted from the time code for one frame, and the extracted hour / minute data is sequentially stored in the hour / minute data storage area 24b. When the time code for three frames is received and the three hour / minute data are stored in the hour / minute data storage area 24b (step S26: YES), the CPU 11 outputs a reception end signal to the reception circuit 17, 2 End reception of standard radio waves.
[0042]
When the reception of the second standard radio wave is completed, the CPU 11 determines whether or not the reception of the second standard radio wave is successful based on the time / minute data for three frames held in the hour / minute data storage area 24b. . That is, it is determined whether or not the time data for the three frames is continuous time data every minute, and if it is continuous, it is determined that the reception is successful. to decide.
[0043]
When it is determined that the reception is successful (step S27: YES), the CPU 11 compares the number of noises held in the noise counter 22b with the upper limit noise number 19b. As a result of the comparison, when the number of noises held in the noise counter 22b is less than the upper limit noise number 19b (step S28: YES), the CPU 11 counts the clock count circuit 16 based on the received second time code. The current time data counted in step S29 is corrected (step S29). Then, the reception frequency F2 is held in the frequency storage area 25, and the time display process is executed to reflect the time correction on the current time display on the display unit 13 (step S30), and then the process ends. .
[0044]
On the other hand, if it is impossible to determine the code in step S23 (step S23: NO), or if reception of the second standard radio wave fails in step S27 (step S27: NO), or step S28. When the noise count held in the noise counter 22b is equal to or greater than the upper limit noise count 19b (step S28: NO), the CPU 11 subsequently calculates the noise rate for each of the reception frequencies F1 and F2.
[0045]
That is, the CPU 11 calculates the noise rate of the reception frequency F1 by dividing the noise number held in the noise counter 22a by the reception bit number held in the reception bit number storage area 23a. Further, the noise number held in the noise counter 22b is divided by the number of received bits held in the received bit number storage area 23b to calculate the noise rate of the reception frequency F2 (step S31). After calculating the noise rate, the CPU 11 compares the calculated noise rates (step S32), and holds the reception frequency with the smaller noise rate in the frequency storage area 25 (step S33). If the above process is performed, CPU11 will complete | finish this time correction process.
[0046]
As described above, according to the first embodiment, the time data receiving device 1 first receives the first standard radio wave, detects the noise included in each bit of the first time code, and corresponds to three frames. The number of noises included in the time code is detected. When the detected noise number is less than the predetermined upper limit noise number 19b, the time is corrected based on the first time code. On the other hand, when the detected noise number is equal to or higher than the upper limit noise number 19b, the reception frequency Is switched to receive the second standard radio wave, and the same processing is performed. If the code cannot be discriminated even with one bit during reception of the first time code, the reception frequency is immediately switched.
Therefore, the time can be quickly adjusted based on a standard radio wave having a frequency with a small number of noises and good reception sensitivity.
[0047]
[Second Embodiment]
Next, a second embodiment will be described with reference to FIGS.
The time data receiving apparatus according to the second embodiment detects the number of bits including noise in the time code included in the received standard radio wave, and determines whether or not the received frequency depends on whether or not the detected number of bits is equal to or greater than a predetermined number. It is characterized by switching.
[0048]
<Configuration>
The time data receiver in the second embodiment is the same as the ROM 19 shown in FIG. 1 in the first embodiment, the ROM 29 shown in FIG. 5A, and the RAM 20 shown in FIG. In the following, the same components are denoted by the same reference numerals, and detailed description thereof is omitted.
[0049]
FIG. 5 is a diagram showing the configuration of the ROM 29 and the RAM 30 of the time data receiving device in the second embodiment. FIG. 5A shows the configuration of the ROM 29, and FIG. 5B shows the configuration of the RAM 30. Yes.
[0050]
According to FIG. 5A, the ROM 29 stores a time correction program (2) 29a and an upper limit noise bit number 29b.
The upper limit noise bit number 29b is the allowable number y of the noise bit number included in the time code for three frames, and is set to an appropriate value according to the reception sensitivity required for the time data receiver 1.
[0051]
Further, according to FIG. 5B, the RAM 30 includes time code storage areas 31a and 31b that hold data related to the time code of the received standard radio wave, and a frequency storage area that holds the previous reception frequency (previous reception frequency). 25.
[0052]
The time code storage areas 31a and 31b are storage areas for the two frequencies F1 and F2 that can be received by the time data receiver 1, respectively. , The first standard radio wave) data related to the time code (ie, the first time code), and the time code storage area 31b stores the time code of the next standard radio wave (ie, the second standard radio wave) received. Data related to (that is, the second time code) is held.
[0053]
In the time code storage areas 31a and 31b, noise bit counters 32a and 32b that hold the total number of bits with noise (number of noise bits) included in the corresponding time code, and received bits of the corresponding time code, respectively. Received bit number storage areas 23a and 23b for holding the total number (received bit number) and hour / minute data storage area for holding hour / minute data (hour and minute data) for three frames extracted from the corresponding time code 24a, 24b.
[0054]
<Operation>
FIG. 6 is a diagram showing a processing flow of the time data receiving device 1 in the second embodiment. This operation is executed by the CPU 11 based on the time correction program (2) 29a stored in the ROM 29. In the first embodiment described above, the same steps (step numbers) are assigned to the same steps as those in the processing flow shown in FIG.
[0055]
According to the figure, the CPU 11 first updates each area included in the time code areas 31a and 31b to “0” as an initial setting. Then, the frequency switching circuit 18 switches the frequency so as to receive the standard radio wave (that is, the first standard radio wave) of the reception frequency F1 by setting the previous reception frequency held in the frequency storage area 25 to the reception frequency F1. A signal is output (step S11).
[0056]
Next, the CPU 11 outputs a reception start signal to the reception circuit 17 to start reception of the first standard radio wave. The receiving circuit 17 receives the first standard radio wave in synchronization with the reception frequency F1, and outputs the time code (that is, the first time code) included in the first standard radio wave to the CPU 11. Then, the CPU 11 searches for the frame reference marker (M) in the first time code input from the receiving circuit 17, and when the frame reference marker (M) is input, the frame reference marker (M) is set as the first bit. Code processing is performed on the time code for three frames, and code discrimination and noise detection are performed for each bit (step S12).
[0057]
If it is possible to determine the code of the bit as a result of the code processing (step S13: YES), the CPU 11 updates the received bit number held in the received bit number storage area 23a by adding “1”. . If noise is detected (step S14: YES), the noise bit counter 32a is updated by adding "1" (step T15). Thereafter, the process returns to step S12, and the CPU 11 repeats the same process for each bit until it is determined that the reception is completed (step S16: NO).
[0058]
At the same time, when the CPU 11 receives a time code for one frame (ie, 60 bits) having the frame reference marker (M) as the first bit in parallel with the above steps S12 to T15, the CPU 11 calculates the time code from this time code. Minute data is extracted, and the extracted hour / minute data is sequentially stored in the hour / minute data storage area 24b. When the time code for three frames is received and the three hour / minute data is stored in the hour / minute data storage area 24b, the CPU 11 outputs a reception end signal to the reception circuit 17 to receive the first standard radio wave. Terminate.
[0059]
When the reception of the first standard radio wave is completed (step S16: YES), the CPU 11 has successfully received the first standard radio wave based on the time / minute data for three frames held in the hour / minute data storage area 24b. It is determined whether or not. That is, it is determined whether or not the time data for the three frames is continuous time data every minute, and if it is continuous, it is determined that the reception has succeeded. Judgment is made (step S17).
[0060]
When it is determined that the reception is successful (step S17: YES), the CPU 11 compares the number of noise bits held in the noise bit counter 32a with the upper limit noise bit number 29b.
[0061]
As a result of comparison, if the number of noise bits held in the noise bit counter 32a is less than the upper limit noise bit number 29b (step T18: YES), the CPU 11 counts the clock count circuit based on the received first time code. The current time data counted at 16 is corrected (step S19). Then, the CPU 11 executes the time display process, reflects the time correction on the current time display on the display unit 13 (step S20), and then ends the process.
[0062]
On the other hand, if it is impossible to determine the code in step S13 (step S13: NO), or if it is determined in step S17 that reception of the first standard radio wave has failed (step S17: NO), or In step T18, when the number of noise bits held in the noise bit counter 32a is equal to or greater than the upper limit noise bit number 29b (step T18: NO), the CPU 11 determines that the other frequency (the reception frequency F1 is “ “40 kHz” is set to “60 kHz”, and “60 kHz” is set to “40 kHz”.) Is set to the second reception frequency F2, and the standard radio wave (that is, the second standard radio wave) of the reception frequency F2 is set. So that the frequency switching signal is output to the frequency switching circuit 18 (step S21).
[0063]
Then, the CPU 11 outputs a reception start signal to the reception circuit 17 to start reception of the second standard radio wave. The reception antenna 17a receives the second standard radio wave in synchronization with the reception frequency F2, and the reception circuit 17 outputs the time code (that is, the second time code) included in the second standard radio wave to the CPU 11. Then, the CPU 11 searches for the frame reference marker (M) in the second time code input from the receiving circuit 17, and when the frame reference marker (M) is input, the frame reference marker (M) is set as the first bit. Code processing is performed on the time code for three frames, and code discrimination and noise detection are performed for each bit (step S22).
[0064]
If it is possible to determine the code of the bit as a result of the code processing (step S23: YES), the CPU 11 updates the number of received bits stored in the received bit number storage area 23b by adding “1”. To do. If noise is detected (step S24: YES), the noise bit counter 32b is updated by adding "1" (step T25). Thereafter, the process returns to step S22, and the CPU 11 repeats the same processing for each bit until it is determined that the reception is completed (step S26: NO).
[0065]
At the same time, when the CPU 11 receives a time code for one frame (that is, 60 bits) having the frame reference marker (M) as the first bit in parallel with the above steps S22 to T25, Minute data is extracted, and the extracted hour / minute data is sequentially stored in the hour / minute data storage area 24b. When the time code for three frames is received and the three hour / minute data is stored in the hour / minute data storage area 24b, the CPU 11 outputs a reception end signal to the reception circuit 17 to receive the second standard radio wave. Terminate.
[0066]
When the reception of the second standard radio wave is completed (step S26: YES), the CPU 11 has successfully received the second standard radio wave based on the time / minute data for three frames held in the hour / minute data storage area 24b. It is determined whether or not. That is, it is determined whether or not the time data for the three frames is continuous time data every minute, and if it is continuous, it is determined that the reception is successful. to decide.
[0067]
When it is determined that the reception is successful (step S27: YES), the CPU 11 compares the number of noise bits held in the noise bit counter 32b with the upper limit noise bit number 29b. As a result of the comparison, when the number of noise bits held in the noise bit counter 32b is less than the upper limit noise bit number 29b (step T28: YES), the CPU 11 counts the timepiece based on the received second time code. The current time data counted by the number circuit 16 is corrected (step S29). Then, the reception frequency F2 is held in the frequency storage area 25, and the time display process is executed to reflect the time correction on the current time display on the display unit 13 (step S30), and then the process ends. .
[0068]
On the other hand, if it is impossible to determine the code in step S23 (step S23: NO), or if reception of the second standard radio wave fails in step S27 (step S27: NO), or step T28. When the number of noise bits held in the noise bit counter 32b is equal to or greater than the upper limit noise bit number 29b (step T28: NO), the CPU 11 subsequently calculates the noise rate for each of the reception frequencies F1 and F2. calculate.
[0069]
That is, the CPU 11 calculates the noise rate of the reception frequency F1 by dividing the number of noise bits held in the noise bit counter 32a by the number of reception bits held in the reception bit number storage area 23a. Further, the number of noise bits held in the noise bit counter 32b is divided by the number of received bits held in the received bit number storage area 23b to calculate the noise rate of the reception frequency F2 (step ST31). After calculating the noise rate, the CPU 11 compares the calculated noise rates (step T32), and holds the frequency with the smaller noise rate in the frequency storage area 25 (step T33). If the above process is performed, CPU11 will complete | finish this time correction process.
[0070]
As described above, according to the second embodiment, the time data receiver 1 first receives the first standard radio wave, detects the presence or absence of noise in each bit of the first time code, and the time code for three frames. Among them, the number of bits including noise (the number of noise bits) is detected. If the detected noise bit number is less than the predetermined upper limit noise bit number 29b, the time is corrected based on the first time code, while the detected noise bit number is equal to or greater than the upper limit noise bit number 29b. Performs the same processing by switching the reception frequency and receiving the second standard radio wave. If the code cannot be discriminated even with one bit during reception of the first time code, the reception frequency is immediately switched.
Therefore, the time can be quickly adjusted based on a standard radio wave having a frequency with a small number of noises and good reception sensitivity.
[0071]
The application of the present invention is not limited to the above-described embodiment, and can be changed as appropriate without departing from the spirit of the present invention.
[0072]
【The invention's effect】
According to the present invention, the time data receiving device can receive a plurality of radio waves having different time frequencies including a time code composed of a plurality of bits, and detects a noise amount included in the received time code. When the detected noise amount is equal to or greater than a predetermined amount, the reception frequency can be switched to another frequency. Therefore, it is possible to select and receive radio waves having a frequency with low noise and good reception sensitivity.
[0073]
Further, the time data receiving device can receive a plurality of radio waves having different time frequencies including a time code consisting of a plurality of bits, and noise of a level greater than a predetermined noise level is included in each bit of the received time code. Detect the number of bits contained. When the detected number of bits is equal to or greater than a predetermined number, the reception frequency can be switched to another frequency. Therefore, it is possible to quickly adjust the time based on radio waves having a frequency with low noise and good reception sensitivity.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an internal configuration of a time data receiving apparatus.
FIG. 2 is a diagram showing a configuration of a RAM in the first embodiment.
FIG. 3 is a diagram showing a processing flow of the time data receiving apparatus in the first embodiment.
FIG. 4 is a diagram illustrating code processing.
FIG. 5 is a diagram showing a configuration of a ROM and a RAM in a second embodiment.
FIG. 6 is a diagram showing a processing flow of a time data receiving apparatus in the second embodiment.
FIG. 7 is a diagram showing a format of a time code.
[Explanation of symbols]
1 Time data receiver
11 CPU
12 Switch part
13 Display section
14 Oscillator circuit
15 divider circuit
16 Clock circuit
17 Receiver circuit
17a Receiving antenna
18 Frequency switching circuit
19, 29 ROM
19a Time correction program (1)
19b Maximum number of noises
29a Time correction program (2)
29b Maximum number of noise bits
20, 30 RAM
21a, 21b, 31a, 31b Time code storage area
22a, 22b Noise counter
23a, 23b Received bit storage area
24a, 24b hour / minute data storage area
32a, 32b Noise bit counter
25 Frequency storage area

Claims (2)

基準クロック信号を計数して現在時刻データを得る計時計数手段と、
複数ビットからなる時刻コードを含み、且つ周波数の異なる2つの電波を受信する電波受信手段と、
2つの周波数の電波のうち最初に受信する電波の周波数を記憶する周波数格納手段と、
前記電波受信手段を、前記周波数格納手段に記憶されている一方の周波数の電波を受信するように制御する第1の電波受信制御手段と、
前記電波受信手段で前記一方の周波数の電波を受信しているときに、受信したビット数とノイズ数とを計数する第1の計数手段と、
前記電波受信手段で前記一方の周波数の電波受信が成功か失敗か、および前記ノイズ数が上限ノイズ数以上か否かを判別する第1の判別手段と、
この第1の判別手段で電波受信が成功と判別され、かつ、前記ノイズ数が前記上限ノイズ数以上でないと判別された場合に、前記電波受信手段によって受信された電波に含まれる時刻コードに基づいて、前記現在時刻データを修正する第1の時刻修正手段と、
前記第1の判別手段で電波受信が失敗と判別された場合、或は、前記ノイズ数が前記上限ノイズ数以上と判別された場合に、前記電波受信手段を、他方の周波数の電波を受信するように制御する第2の電波受信制御手段と、
前記電波受信手段で前記他方の周波数の電波を受信しているときに、受信したビット数とノイズ数とを計数する第2の計数手段と、
前記電波受信手段で前記他方の周波数の電波受信が成功か失敗か、および前記ノイズ数が前記上限ノイズ数以上か否かを判別する第2の判別手段と、
この第2の判別手段で電波受信が成功と判別され、かつ、前記ノイズ数が前記上限ノイズ数以上でないと判別された場合に、前記電波受信手段によって受信された電波に含まれる時刻コードに基づいて、前記現在時刻データを修正すると共に前記他方の受信周波数を前記周波数格納手段に記憶させる第2の時刻修正手段と、
前記第2の判別手段で電波受信が失敗と判別された場合、或は前記ノイズ数が前記上限ノイズ数以上と判別された場合に、前記2つの周波数の電波夫々のノイズ数を、夫々の受信ビット数で除算して前記2つの周波数の電波夫々のノイズ率を算出するノイズ率算出手段と、
前記2つの受信周波数の電波のうちノイズ率の小さい方の受信周波数を前記周波数格納手段に記憶させる周波数記憶制御手段と、
を備えることを特徴とする時刻データ受信装置。
A clock counting means for obtaining a current time data by counting a reference clock signal;
A radio wave receiving means for receiving two radio waves having different frequencies and including a time code consisting of a plurality of bits;
A frequency storage means for storing a frequency of a radio wave received first among radio waves of two frequencies;
First radio wave reception control means for controlling the radio wave reception means to receive radio waves of one frequency stored in the frequency storage means;
First counting means for counting the number of received bits and the number of noises when the radio wave receiving means is receiving radio waves of the one frequency;
First determination means for determining whether the reception of the radio wave of the one frequency is successful or unsuccessful in the radio wave reception means, and whether or not the noise number is equal to or greater than an upper limit noise number;
Based on the time code included in the radio wave received by the radio wave receiving means when the first discrimination means determines that the radio wave reception is successful and the noise number is determined not to be greater than or equal to the upper limit noise number. First time correcting means for correcting the current time data;
When the radio wave reception is determined to have failed by the first determination unit, or when the noise number is determined to be equal to or greater than the upper limit noise number, the radio wave reception unit receives the radio wave of the other frequency. Second radio wave reception control means for controlling
A second counting means for counting the number of received bits and the number of noises when receiving the radio wave of the other frequency by the radio wave receiving means;
Second determination means for determining whether reception of the other frequency radio wave is successful or unsuccessful in the radio wave reception means, and whether the noise number is equal to or greater than the upper limit noise number;
Based on the time code included in the radio wave received by the radio wave receiving means when the second discrimination means determines that the radio wave reception is successful and the noise number is determined not to be greater than or equal to the upper limit noise number. Second time correction means for correcting the current time data and storing the other received frequency in the frequency storage means,
When it is determined that reception of radio waves has failed by the second determination unit, or when the number of noises is determined to be greater than or equal to the upper limit noise number, the number of noises of each of the radio waves of the two frequencies is received. Noise rate calculating means for calculating the noise rate of each of the radio waves of the two frequencies by dividing by the number of bits;
A frequency storage control means for storing in the frequency storage means the reception frequency with the smaller noise rate of the radio waves of the two reception frequencies;
A time data receiving device comprising:
基準クロック信号を計数して現在時刻データを得る計時計数手段と、
複数ビットからなる時刻コードを含み、且つ周波数の異なる2つの電波を受信する電波受信手段と、
2つの周波数の電波のうち最初に受信する電波の周波数を記憶する周波数格納手段と、
前記電波受信手段を、前記周波数格納手段に記憶されている一方の周波数の電波を受信するように制御する第1の電波受信制御手段と、
前記電波受信手段で前記一方の周波数の電波を受信しているときに、受信したビット数とノイズ有りのビット数とを計数する第1の計数手段と、
前記電波受信手段で前記一方の周波数の電波受信が成功か失敗か、および前記ノイズビット数が上限ノイズビット数以上か否かを判別する第1の判別手段と、
この第1の判別手段で電波受信が成功と判別され、かつ、前記ノイズビット数が前記上限ノイズビット数以上でないと判別された場合に、前記電波受信手段によって受信された電波に含まれる時刻コードに基づいて、前記現在時刻データを修正する第1の時刻修正手段と、
前記第1の判別手段で電波受信が失敗と判別された場合、或は、前記ノイズビット数が前記上限ノイズビット数以上と判別された場合に、前記電波受信手段を、他方の周波数の 電波を受信するように制御する第2の電波受信制御手段と、
前記電波受信手段で前記他方の周波数の電波を受信しているときに、受信したビット数とノイズ有りのビット数とを計数する第2の計数手段と、
前記電波受信手段で前記他方の周波数の電波受信が成功か失敗か、および前記ノイズビット数が前記上限ノイズビット数以上か否かを判別する第2の判別手段と、
この第2の判別手段で電波受信が成功と判別され、かつ、前記ノイズビット数が前記上限ノイズビット数以上でないと判別された場合に、前記電波受信手段によって受信された電波に含まれる時刻コードに基づいて、前記現在時刻データを修正すると共に前記他方の受信周波数を前記周波数格納手段に記憶させる第2の時刻修正手段と、
前記第2の判別手段で電波受信が失敗と判別された場合、或は前記ノイズビット数が前記上限ノイズビット数以上と判別された場合に、前記2つの周波数の電波夫々のノイズビット数を、夫々の受信ビット数で除算して前記2つの周波数の電波夫々のノイズ率を算出するノイズ率算出手段と、
前記2つの受信周波数の電波のうちノイズ率の小さい方の受信周波数を前記周波数格納手段に記憶させる周波数記憶制御手段と
を備えることを特徴とする時刻データ受信装置。
A clock counting means for obtaining a current time data by counting a reference clock signal;
A radio wave receiving means for receiving two radio waves having different frequencies and including a time code consisting of a plurality of bits;
A frequency storage means for storing a frequency of a radio wave received first among radio waves of two frequencies;
First radio wave reception control means for controlling the radio wave reception means to receive radio waves of one frequency stored in the frequency storage means;
First counting means for counting the number of received bits and the number of bits with noise when the radio wave receiving means is receiving radio waves of the one frequency;
First determination means for determining whether the reception of the radio wave at the one frequency is successful or unsuccessful in the radio wave reception means, and whether or not the number of noise bits is equal to or greater than an upper limit noise bit number;
The time code included in the radio wave received by the radio wave receiving means when the first discrimination means determines that the radio wave reception is successful and the noise bit number is determined not to be greater than or equal to the upper limit noise bit number. First time correction means for correcting the current time data based on:
When the radio wave received by the first discriminating means is determined to fail, or if the number of noise bits is determined to the upper noise bits or more, the radio wave receiving unit, radio wave of the other frequency Second radio wave reception control means for controlling to receive,
Second counting means for counting the number of received bits and the number of bits with noise when the radio wave receiving means is receiving radio waves of the other frequency;
A second discriminating unit for discriminating whether radio wave reception of the other frequency is successful or unsuccessful in the radio wave receiving unit, and whether the number of noise bits is equal to or greater than the upper limit noise bit number;
The time code included in the radio wave received by the radio wave receiving means when the second discrimination means determines that the radio wave reception is successful and the noise bit number is not greater than or equal to the upper limit noise bit number. Based on the second time correction means for correcting the current time data and storing the other received frequency in the frequency storage means,
When it is determined by the second determining means that radio wave reception has failed, or when the number of noise bits is determined to be greater than or equal to the upper limit noise bit number, the number of noise bits of each of the two frequency radio waves is determined, A noise rate calculating means for calculating the noise rate of each of the radio waves of the two frequencies by dividing by the number of received bits;
A frequency storage control means for storing in the frequency storage means the reception frequency with the smaller noise rate of the radio waves of the two reception frequencies ;
A time data receiving device comprising:
JP2002368092A 2002-12-19 2002-12-19 Time data receiver Expired - Fee Related JP4258213B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002368092A JP4258213B2 (en) 2002-12-19 2002-12-19 Time data receiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002368092A JP4258213B2 (en) 2002-12-19 2002-12-19 Time data receiver

Publications (2)

Publication Number Publication Date
JP2004198289A JP2004198289A (en) 2004-07-15
JP4258213B2 true JP4258213B2 (en) 2009-04-30

Family

ID=32764771

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002368092A Expired - Fee Related JP4258213B2 (en) 2002-12-19 2002-12-19 Time data receiver

Country Status (1)

Country Link
JP (1) JP4258213B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4322786B2 (en) 2004-11-29 2009-09-02 Okiセミコンダクタ株式会社 Multiple standard radio wave decoding method and standard radio wave receiver
JP5188911B2 (en) * 2007-09-20 2013-04-24 シチズンホールディングス株式会社 Standard radio wave receiver, radio wave correction watch, electronic device and time correction method

Also Published As

Publication number Publication date
JP2004198289A (en) 2004-07-15

Similar Documents

Publication Publication Date Title
JP4882610B2 (en) Radio correction clock and radio correction clock time correction method
JP3584042B2 (en) Receiver with clock function and time adjustment method
US5537101A (en) Time data receiving apparatus
JPWO2005062137A1 (en) Radio correction clock, electronic device and time correction method
JP2003270370A (en) Time data receiving device and time data correcting method
JP2004198290A (en) Time data transmitter
US8570839B2 (en) Time-information obtaining apparatus and radio-controlled timepiece
JPH06289156A (en) Radio wave corrected clock and setting of receiving time and correction of time
JP3881107B2 (en) Radio correction clock
JP4258213B2 (en) Time data receiver
JP2003060520A (en) Long wave standard radio wave receiver
JP3632674B2 (en) Radio correction clock and control method of radio correction clock
CN102346433B (en) Time data receiving device
JP2002296374A (en) Time information acquiring method and device and radio- controlled timepiece
JPH07198877A (en) Time data receiver
JP5408028B2 (en) Electronic device with timekeeping function and control method thereof
JP3551567B2 (en) Time data receiving device
JP4377150B2 (en) Radio correction clock and control method thereof
JP2004144688A (en) Method and apparatus for acquiring time information, and radio controlled clock
JPH07198876A (en) Time data receiver
JP3309116B2 (en) Time data receiving device
JP4444617B2 (en) Radio correction clock
JP3731492B2 (en) Time data receiving apparatus and time data correcting method
JP2021063717A (en) Radio correction clock and time correction method for radio correction clock
JP2005003651A (en) Time data receiving device and method of correcting time data

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051007

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081009

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081014

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081203

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

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

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

Free format text: PAYMENT UNTIL: 20120220

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4258213

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120220

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130220

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130220

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20140220

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees