JP3329065B2 - Clock device with time calibration function - Google Patents
Clock device with time calibration functionInfo
- Publication number
- JP3329065B2 JP3329065B2 JP9927294A JP9927294A JP3329065B2 JP 3329065 B2 JP3329065 B2 JP 3329065B2 JP 9927294 A JP9927294 A JP 9927294A JP 9927294 A JP9927294 A JP 9927294A JP 3329065 B2 JP3329065 B2 JP 3329065B2
- Authority
- JP
- Japan
- Prior art keywords
- time
- signal
- clock
- time signal
- built
- 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
Links
Landscapes
- Electric Clocks (AREA)
- Electromechanical Clocks (AREA)
Description
【0001】[0001]
【産業上の利用分野】この発明は、放送信号中に含まれ
る時報信号を検出して現在時刻を較正することを特徴と
する時刻較正機能付時計装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a timepiece with a time calibration function, which detects a time signal included in a broadcast signal and calibrates the current time.
【0002】[0002]
【従来の技術】ビデオカセットレコーダ等には、現在時
刻を表示するための時計装置が搭載されている。この時
計装置は、機器内に設けられている内部時計により、正
確な時刻に較正されるようになっている。2. Description of the Related Art A video cassette recorder or the like is equipped with a clock device for displaying the current time. This clock device is calibrated at an accurate time by an internal clock provided in the device.
【0003】内部時計で時刻を較正する方法としては、
時報信号検出手段として、時報信号の周波数に同調する
アナログフィルタや、マイクロコンピュータ(以下、マ
イコンとする)、DSP(Digital Signal Processor)
等で直接的に信号をサンプリングする方法等が用いられ
ている。[0003] As a method of calibrating the time with an internal clock,
As a time signal detection means, an analog filter tuned to the frequency of the time signal, a microcomputer (hereinafter referred to as a microcomputer), a DSP (Digital Signal Processor)
For example, a method of directly sampling a signal is used.
【0004】また、上述のように時刻を較正する時計装
置では、時報のパターン、即ち、3つの予報音信号と1
つの正時音信号の時間的並びを検出することにより時報
信号検出を行っている。なお、予報音信号とは、時報に
おいて、正時の3、2及び1秒前に発音される440H
zの時報信号のことである。また、正時音信号とは、正
時に発音される880Hzの時報信号のことである。In the timepiece device for calibrating the time as described above, a time signal pattern, that is, three forecast sound signals and 1
The time signal is detected by detecting the temporal arrangement of the two hourly sound signals. Note that the forecast sound signal is 440H which is generated 3, 2, and 1 second before the hour in the hourly signal.
It is a time signal of z. The hour sound signal is an 880 Hz time signal emitted at the hour.
【0005】[0005]
【発明が解決しようとする課題】ところで、3つの予報
音信号と1つの正時音信号の時間的並びを検出する場
合、放送において、予報音信号及び正時音信号と同一周
波数の音声信号成分は、かなりの確率で存在し、この音
声信号成分が時報信号と同じパターンで検出される可能
性もある。このため、音声信号成分が時報信号であると
誤判別されてしまい、時計較正機能が誤動作するおそれ
がある。By the way, when detecting the temporal arrangement of three forecast sound signals and one hour sound signal, in broadcast, an audio signal component having the same frequency as the forecast sound signal and the hour sound signal is detected. Exists with a considerable probability, and this audio signal component may be detected in the same pattern as the time signal. For this reason, the audio signal component may be erroneously determined to be a time signal, and the clock calibration function may malfunction.
【0006】即ち、放送の音声信号から予報音信号と同
じ成分を検出し、その検出間隔によってそれを時報信号
とみなす時報検出方法においては、誤動作する可能性が
ある。これは、検出された信号が時報信号の予報音信号
なのか、それとも全く時報の意味を持たない、予報音信
号と同じ周波数成分を有する音声信号であるのか、判別
する方法がないからである。That is, in the time signal detection method in which the same component as the forecast sound signal is detected from the audio signal of the broadcast and the signal is regarded as a time signal according to the detection interval, malfunction may occur. This is because there is no way to determine whether the detected signal is a forecast sound signal of a time signal or an audio signal having the same frequency component as the forecast sound signal, which has no meaning as a time signal at all.
【0007】従って、この発明の目的は、正確に時報信
号を検出し、時刻較正の誤動作を減少させることができ
る時計装置を提供することにある。Accordingly, an object of the present invention is to provide a timepiece device capable of accurately detecting a time signal and reducing malfunctions of time calibration.
【0008】[0008]
【課題を解決するための手段】この発明は、放送信号を
受信する受信手段と、受信手段により受信された放送信
号中に含まれる時報信号に対応する特定周波数の成分の
信号を検出する特定周波数検出手段と、特定周波数検出
手段により検出された特定周波数の成分から時報信号を
抽出する手段と、特定周波数の成分から時報信号が抽出
されたら、内蔵時計の時刻と時報信号から得られる時刻
との時間的なズレの情報を求める手段と、前回までの内
蔵時計の時刻と時報信号から得られる時刻との時間的な
ズレの平均値を保持する手段と、今回の内蔵時計の時刻
と時報信号から得られる時刻との時間的なズレと、前回
までの内蔵時計の時刻と時報信号から得られる時刻との
時間的なズレの平均値との誤差が所定の許容範囲内にあ
るか否かを判断する手段と、今回の内蔵時計の時刻と時
報信号から得られる時刻との時間的なズレと、前回まで
の内蔵時計の時刻と時報信号から得られる時刻との時間
的なズレの平均値との誤差が所定の許容範囲内にあれ
ば、時報信号から得られる時刻に基づいて内蔵時計の較
正を行い、今回の内蔵時計の時刻と時報信号から得られ
る時刻との時間的なズレと、前回までの内蔵時計の時刻
と時報信号から得られる時刻との時間的なズレの平均値
との誤差が所定の許容範囲内になければ、内蔵時計の較
正を行わないように制御する手段とを備えるようにした
時刻較正付時計装置である。According to the present invention, a broadcast signal is transmitted.
Receiving means for receiving, the components of the specific frequency corresponding to the time signal contained in the broadcast signal <br/> No. received by receiving means
Specific frequency detection means for detecting a signal , and specific frequency detection
The time signal from a component in a specific frequency detected by means
Extraction means and time signal extraction from specific frequency components
If so, the time of the internal clock and the time obtained from the time signal
Means for obtaining information on the time difference between
The time between the time of the clock and the time obtained from the time signal
Means for holding the average deviation and the time of the internal clock this time
And the time difference from the time obtained from the time signal
Between the time of the internal clock up to and the time obtained from the time signal
The deviation from the average value of the time deviation is within the predetermined tolerance.
And the time and time of the built-in clock this time
The time difference from the time obtained from the information signal and the last time
Time between the time of the internal clock and the time obtained from the time signal
Deviation from the average value of the typical deviation is within the specified tolerance
For example, the internal clock can be compared based on the time obtained from the time signal.
Performs the correction and obtains the time and time signal from the built-in clock this time.
And the time of the internal clock up to the last time
Of the time difference between the time and the time obtained from the time signal
If the error is not within the specified tolerance, the internal clock
Means for controlling so as not to perform correction.
【0009】[0009]
【作用】トーンデコーダ5で放送受信部1で受信した信
号から特定周波数を検出する。トーンデコーダ5の検出
出力がマイコン7に供給される。マイコン7では、以前
に時刻を較正した時の上記内蔵時計部と時報信号との時
間的ズレに基づいて、今回検出された信号が時報信号で
あるか否かを判断する。The specific frequency is detected from the signal received by the broadcast receiving section by the tone decoder. The detection output of the tone decoder 5 is supplied to the microcomputer 7. The microcomputer 7 determines whether or not the signal detected this time is a time signal based on the time difference between the built-in clock unit and the time signal when the time was previously calibrated.
【0010】[0010]
【実施例】以下、この発明が適用された時計装置の実施
例に関して図面を参照して説明する。図1は、この発明
が適用された、時報信号の予報音を検出するための時計
装置のシステムブロック図である。時計装置は、放送受
信部1と、特定周波数検出部4と、時報一致検出部、時
刻較正部、内蔵時計部及びタイマー部6とからなる。放
送受信部1は、アンテナ2及びチューナー3から構成さ
れる。特定周波数検出部4は、予報音信号を検出するト
ーンデコーダ5である。時報一致検出部、時刻較正部、
内蔵時計部及びタイマー部6は、マイコン7で構成され
る。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a timepiece apparatus to which the present invention is applied will be described below with reference to the drawings. FIG. 1 is a system block diagram of a timepiece apparatus for detecting a forecast sound of a time signal, to which the present invention is applied. The clock device includes a broadcast receiving unit 1, a specific frequency detecting unit 4, a time signal coincidence detecting unit, a time calibrating unit, a built-in clock unit, and a timer unit 6. The broadcast receiving unit 1 includes an antenna 2 and a tuner 3. The specific frequency detector 4 is a tone decoder 5 that detects a forecast sound signal. Time signal match detection unit, time calibration unit,
The built-in clock section and the timer section 6 are constituted by a microcomputer 7.
【0011】アンテナ2により放送が受信され、チュー
ナー3により所望の放送局が選択される。その局の音声
信号は、トーンデコーダ5に供給される。なお、トーン
デコーダ5は、予報音信号と同一の周波数の信号を検出
するように設定されている。トーンデコーダ5の出力
は、マイコン7に供給される。マイコン7が有する時報
一致検出部において、入力信号が時報信号であると検出
された場合には、マイコン7が有する時刻較正部により
内蔵時計部の時刻が較正されるようになっている。トー
ンデコーダ5は基本的にPLL回路であり、Qの高いア
ナログフィルタと等価の働きをすることができ、且つ、
比較的容易に構成することができる。A broadcast is received by the antenna 2, and a desired broadcast station is selected by the tuner 3. The audio signal of the station is supplied to the tone decoder 5. Note that the tone decoder 5 is set to detect a signal having the same frequency as the forecast sound signal. The output of the tone decoder 5 is supplied to the microcomputer 7. When the time signal coincidence detecting section of the microcomputer 7 detects that the input signal is a time signal, the time of the internal clock section is calibrated by the time calibrating section of the microcomputer 7. The tone decoder 5 is basically a PLL circuit, and can function equivalently to an analog filter having a high Q, and
It can be configured relatively easily.
【0012】ところで、マイコン7内の時報一致検出部
は、前回に時刻較正を行った時(時報信号を検出した
時)から現在までの経過時間によってその動作時間が決
定される。この動作時間に入力信号が時報信号であると
みなされた場合にのみ、内蔵時計部の時刻が較正される
ようになっている。The operation time of the time signal coincidence detection unit in the microcomputer 7 is determined by the elapsed time from the previous time calibration (when a time signal was detected) to the present. Only when the input signal is regarded as a time signal during this operation time, the time of the built-in clock section is calibrated.
【0013】例えば、時刻較正動作を1日に1度、所定
の時間に行う場合を考えると、前回時刻を較正してから
現在までの時間は、24時間経過している。仮に、マイ
コン7内の内蔵時計部の精度が月差±30秒であるなら
ば、1日当たりの誤差は、平均±1秒程度と見なせる。
従って、時計動作開始から時報信号を検出した時の内蔵
時計部のズレの情報を参照することにより、このズレか
ら大きくずれた時刻に時報信号と同じ周波数成分を有す
る信号を検出したとしても、その信号は時報信号でない
と判断することができる。これを応用して、例えば、過
去に時報信号を検出した際の時報信号に対する内蔵時計
の時間的なズレの平均値を保持していれば、そのズレか
ら離れた時間に受信した信号は、時報信号でないと判断
することができる。For example, assuming that the time calibration operation is performed once a day at a predetermined time, 24 hours have passed since the last time the time was calibrated. If the accuracy of the built-in clock unit in the microcomputer 7 is ± 30 seconds per month, the error per day can be considered to be about ± 1 second on average.
Therefore, even if a signal having the same frequency component as the time signal is detected at a time greatly deviated from the time difference by referring to the information on the deviation of the built-in clock unit when the time signal is detected from the start of the clock operation, It can be determined that the signal is not a time signal. By applying this, for example, if the average value of the time difference of the built-in clock with respect to the time signal when the time signal was detected in the past is held, the signal received at a time away from the time signal is It can be determined that it is not a signal.
【0014】図2は、時報信号とトーンデコーダの出力
との関係を示す図である。図2Aは日本における時報信
号の波形を示し、図2Bは、この時報信号を入力信号と
した際のトーンデコーダの出力波形を示す。図2Bに示
されるトーンデコーダの出力波形は、図2Aに示される
時報信号である必要はない。即ち、入力信号に図2Aに
示される信号と同じ周波数成分が含まれていれば、図2
Bのような波形が得られる。時報信号でない信号を時報
信号として検出することを防止するには、上述のよう
に、過去に検出した際の時間ズレの情報を用いることが
有効である。FIG. 2 is a diagram showing the relationship between the time signal and the output of the tone decoder. FIG. 2A shows the waveform of the time signal in Japan, and FIG. 2B shows the output waveform of the tone decoder when the time signal is used as an input signal. The output waveform of the tone decoder shown in FIG. 2B does not need to be the time signal shown in FIG. 2A. That is, if the input signal contains the same frequency component as the signal shown in FIG.
A waveform like B is obtained. In order to prevent a signal other than a time signal from being detected as a time signal, it is effective to use information on a time lag at the time of detection in the past as described above.
【0015】図3は、マイコン7における時報一致検出
のためのフローチャートである。図3において、ステッ
プ11で入力信号中に予報音と同じ周波数の音声成分
(以下、予報音成分とする)があるか否かが判断され
る。予報音成分がない場合にはステップ11が繰り返さ
れ、ある場合にはステップ12に進む。ステップ12で
は、予報音成分の長さの測定が開始される。なお、測定
開始は、マイコン7のタイマー部をオンすることにより
なされる。ステップ13では、予報音成分があるか否か
が再び判断される。この場合、実際には、予報音成分が
終了したか否かが判断される。予報音成分がまだ検出さ
れる場合には、このステップが繰り返され、ない場合に
はステップ14に進む。ステップ14では、予報音成分
の長さ測定がタイマー部をオフすることにより終了とさ
れる。測定された予報音成分の長さが時報の予報音信号
と同じ長さか否かがステップ15で判断される。同じ長
さでない場合には、ステップ20で時報と一致しないと
出力される。一方、同じ長さの場合には、その予報音成
分が3つ目の予報音か否かがステップ16で判断され
る。FIG. 3 is a flow chart for the time signal coincidence detection in the microcomputer 7. In FIG. 3, it is determined in step 11 whether or not the input signal includes a voice component having the same frequency as the predicted sound (hereinafter referred to as a predicted sound component). If there is no forecast sound component, step 11 is repeated, and if there is, the process proceeds to step 12. In step 12, measurement of the length of the forecast sound component is started. The measurement is started by turning on the timer unit of the microcomputer 7. In step 13, it is determined again whether or not there is a forecast sound component. In this case, it is actually determined whether or not the forecast sound component has ended. If the forecast sound component is still detected, this step is repeated; otherwise, the process proceeds to step 14. In step 14, the length measurement of the forecast sound component is ended by turning off the timer unit. It is determined in step 15 whether or not the length of the measured forecast sound component is the same as the length of the forecast sound signal of the hourly signal. If the lengths are not the same, it is output in step 20 that they do not match the time signal. On the other hand, if the lengths are the same, it is determined in step 16 whether or not the predicted sound component is the third predicted sound.
【0016】3つ目の予報音の場合には、ステップ17
に進む。ステップ17では、現在の内蔵時計部の正時か
らのズレが、過去のズレの平均値+1秒以内に収まるか
否かが判断される。収まっていないならば、ステップ2
0で時報と一致しないと出力される。一方、収まってい
るならば、入力信号は時報であると判断されて出力され
る(ステップ18)。その後、今回のズレの情報を用い
て、時報検出時の内蔵時計部のズレの平均値が更新され
る(ステップ19)。In the case of the third forecast sound, step 17
Proceed to. In step 17, it is determined whether or not the current deviation of the internal clock unit from the hour is within the average of the past deviations plus one second. If not, step 2
It is output if it does not match the time signal at 0. On the other hand, if it is settled, the input signal is determined to be a time signal and output (step 18). Thereafter, the average value of the deviation of the built-in clock unit at the time of detecting the time signal is updated using the information of the current deviation (step 19).
【0017】ところで、ステップ16において、予報音
成分が3つ目の予報音でない時には、ステップ21で予
報音信号間の長さの測定がタイマー部をオンすることに
より開始される。ステップ22で、予報音成分があるか
否かが判断される。ない場合には、ステップ22が繰り
返される。一方、ある場合には、ステップ23で信号間
の長さ測定がタイマー部をオフすることにより終了とさ
れる。その後、ステップ24で信号間の長さが時報の予
報音声成分間の長さと同じであるか否かが判断される。
同じ場合には、処理はステップ12に戻る。一方、異な
る場合には、ステップ20で時報と一致しないと出力さ
れる。When the forecast sound component is not the third forecast sound in step 16, the measurement of the length between the forecast sound signals is started in step 21 by turning on the timer unit. In step 22, it is determined whether or not there is a forecast sound component. If not, step 22 is repeated. On the other hand, in some cases, in step 23, the length measurement between the signals is terminated by turning off the timer unit. Thereafter, in step 24, it is determined whether or not the length between the signals is the same as the length between the forecast audio components of the time signal.
If they are the same, the process returns to step 12. On the other hand, if they are different, an output is made at step 20 that the time signal does not match.
【0018】このような動作を実現することで、入力信
号に予報音成分が存在する場合、時報検出時の内蔵時計
部のズレの平均値と比較し、その予報音成分の発生時間
が内蔵時計部のズレの平均値と大きく異なる場合には、
その入力信号は、時報信号でないと判断することができ
る。従って、時報信号の誤検出を低下させることがで
き、時刻較正の誤動作を低下させることができる。な
お、上述のフローチャートでは、ステップ17におい
て、内蔵時計部のズレを平均値+1秒としたが、この設
定は、内蔵時計部の月差及び時報検出の間隔によって異
なることはいうまでもない。また、ズレの平均値を用い
る代わりに、例えばズレの最大値や最小値を用いたり、
ズレの分布における標準偏差を用いても、同様の効果を
得ることができる。By realizing such an operation, when a predictive sound component is present in the input signal, it is compared with the average value of the deviation of the built-in clock unit when the time signal is detected, and the time when the predictive sound component is generated is determined by the internal clock. If the difference is very different from the average
It can be determined that the input signal is not a time signal. Therefore, erroneous detection of the time signal can be reduced, and erroneous operation of time calibration can be reduced. In the above-described flowchart, in step 17, the deviation of the built-in clock is set to the average value + 1 second. However, it goes without saying that this setting differs depending on the month difference of the built-in clock and the time signal detection interval. Also, instead of using the average value of the deviation, for example, using the maximum value or the minimum value of the deviation,
The same effect can be obtained by using the standard deviation in the deviation distribution.
【0019】ところで、図3中のステップ17では、内
蔵時計部のズレの固定値(平均値)を参照して、入力さ
れた予報音成分が時報であるか否かが判断されている。
このような判断基準だと、例えば、前回時報を誤検出し
て時計を較正した場合に、次回以降に正確な時報信号を
受信できなくなる可能性がある。そこで、前回時報を検
出した際の内蔵時計部の正時からのズレの情報に対応し
て、時報一致検出部の動作時間を変化させるようにすれ
ば、時刻較正の誤動作を低下させることができる。In step 17 in FIG. 3, it is determined whether or not the inputted forecast sound component is a time signal by referring to the fixed value (average value) of the deviation of the built-in clock portion.
With such a criterion, for example, when the clock is calibrated by erroneously detecting the previous time signal, there is a possibility that an accurate time signal cannot be received from the next time. Therefore, if the operation time of the time signal coincidence detection unit is changed in accordance with the information on the deviation from the hour of the built-in clock when the previous time signal was detected, the malfunction of the time calibration can be reduced. .
【0020】即ち、時刻一致検出部の動作時間を、前回
の時報検出が正しく動作した場合及び誤って動作した場
合の両方に対応する時間とすることで、1回目で時報を
誤検出してしまっても、次回から正しい検出をすること
ができる。また、誤検出の場合には、次回の時報検出動
作時間を広げなければならないが、この動作時間の延長
は、誤検出を行った次の検出だけに限られる。That is, by setting the operation time of the time coincidence detection unit to a time corresponding to both a case where the previous time signal detection was correctly operated and a case where the previous time signal was erroneously operated, the time signal was erroneously detected at the first time. However, correct detection can be performed from the next time. Further, in the case of erroneous detection, the time signal detection operation time for the next time must be extended, but this operation time is extended only to the next detection after the erroneous detection.
【0021】図4は、時報一致検出部の動作を示すフロ
ーチャートである。なお、ここでは、内蔵時計部の前回
のズレがマイナス、つまり、時報に比べて内蔵時計部が
遅れていた場合には現在の内蔵時計部における(正時−
前回のズレ)±5秒の2値と、現在の内蔵時計部におけ
る正時±5秒の2値とを合わせた4値のうち、最も近い
時間と最も遠い時間の間が動作時間とされる。この動作
時間を時報検出許容時間とする。例えば、内蔵時計部が
30秒遅れている場合、10時の時報で内蔵時計部が9
時59分30秒(以下、9:59:30と表記する)で
あれば、11時の時報では内蔵時計部は30秒進められ
て11:00:00±5秒となる。一方、10時の時報
でない信号を誤って検出した時に内蔵時計部が9:5
9:30ならば、11時の時報では10:59:30±
5秒となる。FIG. 4 is a flowchart showing the operation of the time signal coincidence detecting section. Here, if the previous deviation of the built-in clock unit is minus, that is, if the built-in clock unit is behind the time signal,
Of the four values obtained by combining the two values of ± 5 seconds at the previous time and ± 5 seconds at the present time in the built-in clock section, the operation time is the time between the closest time and the farthest time. . This operation time is defined as a time signal detection allowable time. For example, if the built-in clock is 30 seconds late, the built-in clock
If the time is 59:30:30 (hereinafter referred to as 9:59:30), the timepiece at 11:00 advances the built-in clock by 30 seconds to 11: 00: 0 ± 5 seconds. On the other hand, when a signal other than the 10:00 time signal is erroneously detected, the built-in clock section is set to 9: 5.
If 9:30, the time signal at 11 o'clock is 10: 59: 30 ±
5 seconds.
【0022】また、内蔵時計部の前回のズレがプラス、
つまり、時報に比べて内蔵時計部が進んでいた場合には
現在の内蔵時計部における(正時+前回のズレ)±5秒
の2値と、現在の内蔵時計部における正時±5秒の2値
とを合わせた4値のうち、最も近い時間と最も遠い時間
の間が時報検出許容時間とされる。例えば、内蔵時計部
が30秒進んでいた場合、10時の時報で内蔵時計部が
10:00:30となり、11時の時報では内蔵時計部
は構成されて11:00:00±5秒となる。内蔵時計
部の10:00:30に時報でない信号を誤検出した場
合には、11時の時報では内蔵時計部は10:59:3
0±5秒となる。Also, the previous deviation of the built-in clock section is a plus,
That is, when the internal clock section is advanced compared to the time signal, the two values of (current time + previous deviation) ± 5 seconds at the current internal clock section and ± 5 seconds at the current time at the current internal clock section are used. Of the four values obtained by combining the two values, a portion between the closest time and the farthest time is defined as the time signal detection allowable time. For example, if the built-in clock is advanced by 30 seconds, the built-in clock is 10:00:30 at the time signal of 10:00, and the built-in clock is configured at 11:00 at the time signal of 11: 00: 5 ± 5 seconds. Become. If a signal that is not a time signal is erroneously detected at 10:00:30 of the built-in clock section, the built-in clock section is set to 10: 59: 3 in the 11:00 time signal.
0 ± 5 seconds.
【0023】図4において、ステップ31で入力信号中
に予報音成分があるか否かが判断される。予報音成分が
ない場合にはステップ31が繰り返され、ある場合には
ステップ32に進む。ステップ32では、予報音成分の
長さの測定がタイマー部をオンすることにより開始され
る。ステップ33では、予報音成分があるか否かが再び
判断される。この場合、実際には、予報音成分が終了し
たか否かが判断される。予報音成分がまだある場合に
は、このステップが繰り返され、ない場合にはステップ
34に進む。ステップ34では、予報音成分の長さ測定
がタイマー部をオフすることにより終了とされる。測定
された予報音成分の長さが時報の予報音信号と同じ長さ
か否かがステップ35で判断される。同じ長さでない場
合には、ステップ40で時報と一致しないと出力され
る。一方、同じ長さの場合には、その予報音成分が3つ
目の予報音か否かがステップ36で判断される。In FIG. 4, it is determined in step 31 whether or not a forecast sound component is present in the input signal. If there is no forecast sound component, step 31 is repeated. In step 32, the measurement of the length of the forecast sound component is started by turning on the timer unit. In step 33, it is determined again whether or not there is a forecast sound component. In this case, it is actually determined whether or not the forecast sound component has ended. If there is still a forecast sound component, this step is repeated. In step 34, the measurement of the length of the forecast sound component is ended by turning off the timer unit. At step 35, it is determined whether or not the length of the measured forecast sound component is the same as that of the hourly forecast sound signal. If the lengths are not the same, an output is made at step 40 if the length does not match the time signal. On the other hand, if the lengths are the same, it is determined in step 36 whether or not the predicted sound component is the third predicted sound.
【0024】3つ目の予報音の場合には、ステップ37
に進む。ステップ37では、現在の内蔵時計部の時刻
が、時報検出許容時間内に収まっているか否かが判断さ
れる。収まっていないならば、ステップ40で時報と一
致しないと出力される。一方、収まっているならば、入
力信号は時報であると判断されて出力される(ステップ
38)。その後、今回のズレの情報を用いて、次回の時
報検出時の時報検出許容時間が算出され(ステップ3
9)、処理が終了する。In the case of the third forecast sound, step 37
Proceed to. In step 37, it is determined whether or not the current time of the built-in clock section is within the time signal detection allowable time. If it does not fit, it is output in step 40 that it does not match the time signal. On the other hand, if it does, the input signal is determined to be a time signal and output (step 38). Thereafter, the time signal detection allowable time at the time of the next time signal detection is calculated using the information of the current deviation (step 3).
9), the process ends.
【0025】ところで、ステップ36において、予報音
成分が3つ目の予報音でない時には、ステップ41で予
報音信号間の長さの測定がタイマー部をオンすることに
より開始される。ステップ42では、予報音成分がある
か否かが判断される。ない場合には、ステップ42が繰
り返される。一方、ある場合には、ステップ43で信号
間の長さ測定がタイマー部をオフすることにより終了と
される。その後、ステップ44で信号間の長さが時報の
予報間の長さと同じであるか否かが判断される。同じ場
合には、処理はステップ32に戻る。一方、異なる場合
には、ステップ40で時報と一致しないと出力されて処
理が終了する。If the predicted sound component is not the third predicted sound in step 36, the measurement of the length between the predicted sound signals is started in step 41 by turning on the timer unit. In step 42, it is determined whether there is a forecast sound component. If not, step 42 is repeated. On the other hand, in some cases, in step 43, the length measurement between the signals is terminated by turning off the timer unit. Thereafter, in step 44, it is determined whether or not the length between signals is the same as the length between hourly forecasts. If they are the same, the process returns to step 32. On the other hand, if they are different, it is output in step 40 that they do not match the time signal, and the process ends.
【0026】このような動作を実現することで、入力信
号に予報音成分が存在する場合、時報検出時に内蔵時計
部が示す時刻が時報検出許容時間内に収まっていれば、
その予報音成分は時報と判断される。従って、前回時報
を誤って検出してしまった場合でも、次回には正しく時
報を検出することができる。By realizing such an operation, if the input signal has a forecast sound component, if the time indicated by the built-in clock unit is within the time signal detection allowable time when the time signal is detected,
The forecast sound component is determined to be a time signal. Therefore, even if the previous time signal is erroneously detected, the next time signal can be correctly detected.
【0027】なお、上述のフローチャートでは、ステッ
プ37において、内蔵時計部の時報検出許容時間を正時
±5秒と設定したが、この値は、内蔵時計部の月差及び
時報検出の間隔により異なるものとなることはいうまで
もない。In the above-described flowchart, the allowable time signal detection time of the built-in clock unit is set to ± 5 seconds on the hour at step 37, but this value varies depending on the month difference of the built-in clock unit and the time signal detection interval. Needless to say,
【0028】さて、ここで再び、時刻較正動作を1日に
1度、所定の時間に行う場合を考えると、仮に、マイコ
ン7内の内蔵時計部の精度が月差±30秒であるなら
ば、1日当たりの誤差は、前述のように±1秒程度と見
なせる。従って、相当な余裕を持ったとしても、時報検
出が正時から例えば±15秒も異なることは、通常動作
ではありえない。これより、前回の検出からの経過時間
が例えば50時間未満の場合には、時報一致検出部の動
作は、内蔵時計部の正時±15秒で十分である。このよ
うに、前回の時刻検出からの経過時間によって変化する
時報一致検出部の時報検出許容時間は、時報を検出する
間隔と内蔵時計部の月差とによって、適当な時間に設定
することもできる。Now, consider again the case where the time calibration operation is performed once a day at a predetermined time. If the accuracy of the built-in clock section in the microcomputer 7 is ± 30 seconds per month, The error per day can be regarded as about ± 1 second as described above. Therefore, even if there is a considerable margin, it is impossible that the time signal detection differs from the hour by, for example, ± 15 seconds in the normal operation. Thus, if the elapsed time from the previous detection is, for example, less than 50 hours, the operation of the time signal coincidence detection unit is sufficient if the internal clock unit is at ± 15 seconds. As described above, the time signal detection allowable time of the time signal coincidence detection unit that changes according to the elapsed time from the previous time detection can be set to an appropriate time according to the time signal detection interval and the month difference of the built-in clock unit. .
【0029】例えば、時報検出動作を正時±5秒に行う
時計を考えてみると、前回正しく時報検出が行われてい
れば、今回も正時±5秒に時報信号は存在するであろ
う。また、前回に誤って時報検出が行われて時刻が較正
された場合、今回では正時±5秒に時報信号は存在しな
いであろう。さらに、前回時報検出が行われない場合、
次回は正時±120秒に時報検出を行い、前回時報検出
が行われた場合には、次回は正時±5秒にしか時報検出
動作を行わないような時計では、前回時計較正を誤って
しまったら、次回に時報信号を検出できる可能性は極め
て低くなる。ここで、時報検出を以下のような処理で行
うようにする。For example, considering a clock that performs a time signal detection operation at ± 5 seconds on the hour, if the time signal detection was correctly performed last time, the time signal will be present at ± 5 seconds on the hour. . In addition, if the time signal is incorrectly detected last time and the time is calibrated, there will be no time signal at ± 5 seconds on the hour. Furthermore, if the previous time signal detection is not performed,
The next time, the time signal is detected at ± 120 seconds on the hour, and if the previous time signal is detected, the next time the time signal detection operation is performed only at ± 5 seconds on the hour, the clock is incorrectly calibrated last time. If so, the possibility of detecting the time signal next time is extremely low. Here, the time signal detection is performed by the following processing.
【0030】図5は、上述のようにして設定された時報
検出許容時間を用いたマイコン7における時報一致検出
のためのフローチャートである。なお、ここでは、時報
検出の間隔は24時間で、前回の時報検出から現在まで
の経過時間が50時間未満ならば、内蔵時計部における
正時の±15秒に時報検出許容時間が設定され、50時
間以上ならば、±120秒に設定されるものとする。FIG. 5 is a flowchart for detecting the coincidence of the time signal in the microcomputer 7 using the time signal detection allowable time set as described above. In this case, the time signal detection interval is 24 hours, and if the elapsed time from the previous time signal detection to the present is less than 50 hours, the time signal detection allowable time is set to ± 15 seconds of the hour at the internal clock section, If it is 50 hours or more, it is set to ± 120 seconds.
【0031】図5において、ステップ51で入力信号中
に予報音成分があるか否かが判断される。予報音成分が
ない場合にはステップ51が繰り返され、ある場合には
ステップ52に進む。ステップ52では、予報音成分の
長さの測定がタイマー部をオンすることにより開始され
る。ステップ53では、予報音成分があるか否かが再び
判断される。この場合、実際には、予報音成分が終了し
たか否かが判断される。予報音成分がまだある場合に
は、このステップが繰り返され、ない場合にはステップ
54に進む。ステップ54では、予報音成分の長さ測定
がタイマー部をオフすることにより終了とされる。測定
された予報音成分の長さが時報の予報音信号と同じ長さ
か否かがステップ55で判断される。同じ長さでない場
合には、ステップ61で時報と一致しないと出力され
る。一方、同じ長さの場合には、その予報音成分が3つ
目の予報音か否かがステップ56で判断される。Referring to FIG. 5, in step 51, it is determined whether or not there is a forecast sound component in the input signal. If there is no forecast sound component, step 51 is repeated. In step 52, the measurement of the length of the forecast sound component is started by turning on the timer unit. In step 53, it is determined again whether or not there is a forecast sound component. In this case, it is actually determined whether or not the forecast sound component has ended. If there is still a forecast sound component, this step is repeated. In step 54, the measurement of the length of the forecast sound component is ended by turning off the timer unit. It is determined in step 55 whether or not the length of the measured forecast sound component is the same as the length of the forecast sound signal of the hourly signal. If the lengths are not the same, it is output in step 61 that they do not match the time signal. On the other hand, if the lengths are the same, it is determined in step 56 whether or not the forecast sound component is the third forecast sound.
【0032】3つ目の予報音の場合には、ステップ57
に進む。ステップ57では、前回時報を検出してから5
0時間以上経過した否かが判断され、経過していない場
合にはステップ58に進む。ステップ58では、時刻を
検出した現在の時刻が、較正すべき内蔵時計部におい
て、正時±15秒以内であるか否かが検出される。正時
±15秒以内ならば、検出された予報音成分は時報であ
ると出力される(ステップ59)。一方、正時±15秒
以内でないならば、検出された予報音成分は時報でない
と出力される(ステップ61)。In the case of the third forecast sound, step 57
Proceed to. In step 57, 5 hours after the previous time signal is detected
It is determined whether 0 hours or more have elapsed, and if not, the process proceeds to step 58. In step 58, it is detected whether or not the current time when the time is detected is within ± 15 seconds of the hour in the internal clock section to be calibrated. If within ± 15 seconds of the hour, the detected forecast sound component is output as a time signal (step 59). On the other hand, if it is not within ± 15 seconds of the hour, the detected forecast sound component is output as not a time signal (step 61).
【0033】ステップ57において、前回時報を検出し
てから50時間以上経過したと判断されると、処理はス
テップ60に進む。ステップ60では、時報を検出した
現在の時刻が、較正すべき内蔵時計部において、正時±
120秒以内であるか否かが判断される。正時±120
秒以内ならば、検出された予報音成分は時報と一致した
と出力される(ステップ59)。一方、正時±120秒
以内でないならば、検出された予報音成分は時報と一致
しないと出力される(ステップ61)。If it is determined in step 57 that 50 hours or more have elapsed since the previous time signal was detected, the process proceeds to step 60. In step 60, the current time when the time signal is detected is set to ±
It is determined whether it is within 120 seconds. Hour ± 120
If within seconds, the detected forecast sound component is output as coincident with the time signal (step 59). On the other hand, if it is not within ± 120 seconds of the hour, the detected forecast sound component is output as not coincident with the time signal (step 61).
【0034】ところで、ステップ56において、予報音
成分が3つ目の予報音でない時には、ステップ62で予
報音信号間の長さの測定がタイマー部をオンすることに
より開始される。ステップ63では、予報音成分がある
か否かが判断される。ない場合には、ステップ63が繰
り返される。一方、ある場合には、ステップ64で信号
間の長さ測定がタイマー部をオフすることにより終了と
される。その後、ステップ65で信号間の長さが時報の
予報間の長さと同じであるか否かが判断される。同じ場
合には、処理はステップ52に戻る。一方、異なる場合
には、ステップ61で時報と一致しないと出力されて処
理が終了する。When the predicted sound component is not the third predicted sound in step 56, the measurement of the length between the predicted sound signals is started in step 62 by turning on the timer unit. In step 63, it is determined whether there is a forecast sound component. If not, step 63 is repeated. On the other hand, in some cases, in step 64, the length measurement between the signals is terminated by turning off the timer unit. Thereafter, in step 65, it is determined whether or not the length between signals is the same as the length between hourly forecasts. If they are the same, the process returns to step 52. On the other hand, if they are different, it is output in step 61 that they do not match the time signal, and the process ends.
【0035】このような動作を実現することで、入力信
号に予報音成分が存在しても、前回時報を検出してから
50時間以上経過している場合には正時±120秒、経
過していない場合には正時±15秒以内に予報音成分が
検出されなければ、時報信号ではないと判断することが
できる。従って、時報信号の誤検出を低下させることが
でき、また、時刻較正の誤動作を低下させることができ
る。By realizing such an operation, even if a forecast sound component is present in the input signal, if 50 hours or more have passed since the last time signal was detected, the time ± 120 seconds has passed. Otherwise, if no forecast sound component is detected within ± 15 seconds of the hour, it can be determined that the signal is not a time signal. Therefore, erroneous detection of the time signal can be reduced, and malfunction of time calibration can be reduced.
【0036】なお、図5の説明では、時報検出の間隔を
24時間とし、前回の時報検出から現在までの経過時間
が50時間未満の時には時報検出許容時間を正時の±1
5秒、50時間以上の時には時報検出許容時間を正時の
±120秒として説明したが、これらを他の値に代えた
場合にも同様の効果が得られる。また、上述では2つの
時報検出許容時間を設けたが、これをより多くの場合に
分けても、同様の効果が得られるのはいうまでもない。In the description of FIG. 5, the time signal detection interval is set to 24 hours, and when the elapsed time from the previous time signal detection to the present is less than 50 hours, the time signal detection allowable time is set to ± 1 of the hour.
Although the time signal detection permissible time has been described as ± 120 seconds on the hour when the time is 5 seconds or more than 50 hours, a similar effect can be obtained when these values are replaced with other values. Further, in the above description, two time signal detection allowable times are provided, but it goes without saying that the same effect can be obtained even if the time signal detection allowable time is divided into more cases.
【0037】[0037]
【発明の効果】この発明に依れば、過去に時報を検出し
た時のズレの平均値を保持し、このズレとかけ離れた時
間に受信した信号は時報ではないと判断できる。また、
前回時報を検出した時の内蔵時計の正時からのズレの情
報により、時報一致検出の動作時間を変えることができ
る。さらに、前回時報信号を検出してから今回までの経
過時間によって、その動作時間を変えることができる。
このため、正確に時報信号を検出し、時刻較正の誤動作
を低下させることが可能となる。According to the present invention, it is possible to hold the average value of the deviation at the time when the time signal was detected in the past, and determine that a signal received at a time far from the deviation is not a time signal. Also,
The operation time of the time signal coincidence detection can be changed based on the information on the deviation of the internal clock from the hour when the time signal was detected last time. Further, the operation time can be changed according to the elapsed time from the detection of the previous time signal to the current time.
For this reason, it is possible to accurately detect the time signal and reduce the malfunction of the time calibration.
【図1】この発明が適用された時計装置のシステムブロ
ック図である。FIG. 1 is a system block diagram of a timepiece device to which the present invention is applied.
【図2】時報信号とトーンデコーダの出力との関係を示
す図である。FIG. 2 is a diagram illustrating a relationship between a time signal and an output of a tone decoder.
【図3】時報一致検出のためのフローチャートである。FIG. 3 is a flowchart for time signal coincidence detection.
【図4】時報一致検出のためのフローチャートである。FIG. 4 is a flowchart for time signal coincidence detection.
【図5】時報一致検出のためのフローチャートである。FIG. 5 is a flowchart for time signal coincidence detection.
4 トーンデコーダ 6 時報一致検出部、時刻較正部、内蔵時計部及びタイ
マー部 7 マイコン4 Tone decoder 6 Time signal coincidence detection unit, time calibration unit, built-in clock unit and timer unit 7 Microcomputer
Claims (1)
報信号に対応する特定周波数の成分の信号を検出する特
定周波数検出手段と、 上記特定周波数検出手段により検出された上記特定周波
数の成分から時報信号を抽出する手段と、上記特定周波数の成分から時報信号が抽出されたら、上
記内蔵時計の時刻と上記時報信号から得られる時刻との
時間的なズレの情報を求める手段と、 前回までの上記内蔵時計の時刻と上記時報信号から得ら
れる時刻との時間的なズレの平均値を保持する手段と、 今回の上記内蔵時計の時刻と上記時報信号から得られる
時刻との時間的なズレと、前回までの上記内蔵時計の時
刻と上記時報信号から得られる時刻との時間的なズレの
平均値との誤差が所定の許容範囲内にあるか否かを判断
する手段と、 今回の上記内蔵時計の時刻と上記時報信号から得られる
時刻との時間的なズレと、前回までの上記内蔵時計の時
刻と上記時報信号から得られる時刻との時間的なズレの
平均値との誤差が所定の許容範囲内にあれば、上記時報
信号から得られる時刻に基づいて上記内蔵時計の較正を
行い、今回の上記内蔵時計の時刻と上記時報信号から得
られる時刻との時間的なズレと、前回までの上記内蔵時
計の時刻と上記時報信号から得られる時刻との時間的な
ズレの平均値との誤差が所定の許容範囲内になければ、
上記内蔵時計の較正を行わないように制御する手段と を
備えるようにした 時刻較正付時計装置。[1 claim: a receiving means for receiving a broadcast signal, when included in the broadcast signal received by the upper Ki受 Shin means
A specific frequency detecting means for detecting a signal component of a specific frequency corresponding to the broadcast signal, means for extracting a time signal from a component of the specific frequency detected by the specific frequency detector, time signal from a component of the specific frequency Once the signal is extracted,
Between the time of the internal clock and the time obtained from the time signal
A means for obtaining information on temporal deviation, and a method for obtaining information on the time of the internal clock up to the previous time and the time signal.
Means for holding the average value of the time deviation from the time of the internal clock, and the time obtained from the time of the internal clock and the time signal.
The time difference from the time and the time of the built-in clock up to the last time
Time difference between the time and the time obtained from the time signal
Determines whether the difference from the average value is within a specified tolerance
And the time of the built-in clock and the time signal
The time difference from the time and the time of the built-in clock up to the last time
Time difference between the time and the time obtained from the time signal
If the error from the average value is within the specified tolerance,
Calibration of the built-in clock based on the time obtained from the signal
From the time of the built-in clock and the time signal
Time difference from the time when the
Total time and the time obtained from the time signal
If the deviation from the average of the deviation is not within the predetermined tolerance,
And means for controlling so as not to perform calibration of the internal clock
A clock device with time calibration provided .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9927294A JP3329065B2 (en) | 1994-04-13 | 1994-04-13 | Clock device with time calibration function |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9927294A JP3329065B2 (en) | 1994-04-13 | 1994-04-13 | Clock device with time calibration function |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH07280963A JPH07280963A (en) | 1995-10-27 |
| JP3329065B2 true JP3329065B2 (en) | 2002-09-30 |
Family
ID=14243051
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP9927294A Expired - Fee Related JP3329065B2 (en) | 1994-04-13 | 1994-04-13 | Clock device with time calibration function |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3329065B2 (en) |
-
1994
- 1994-04-13 JP JP9927294A patent/JP3329065B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH07280963A (en) | 1995-10-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5758009A (en) | Video recording control device | |
| JP3329065B2 (en) | Clock device with time calibration function | |
| KR20020025969A (en) | Method and apparatus for providing adaptive horizontal sync detection | |
| US6751163B1 (en) | Clock adjusting method and electronic equipment using the method | |
| US6577974B2 (en) | Recording and reproducing apparatus and time calibration method of recording and reproducing apparatus | |
| EP0427515A2 (en) | Automatically corrected electronic timepiece | |
| JP3523159B2 (en) | Radio-controlled clock and its second signal detection method | |
| KR100959208B1 (en) | How to detect duplicate scheduled recording time | |
| JPH05172966A (en) | Timing device | |
| JP2002277574A (en) | Time correction method and timer device | |
| JP3387755B2 (en) | Video signal receiving device | |
| JP3357564B2 (en) | Time generator | |
| JPH0944933A (en) | Automatic time correcting device | |
| JPH09145866A (en) | Time setting device and electronic device | |
| JP2000131471A (en) | Broadcast receiver | |
| JP3382384B2 (en) | RDS receiver | |
| JP2002174689A (en) | Timer device and time correction method thereof | |
| JP3361261B2 (en) | Clock with time adjustment function | |
| JP3067309B2 (en) | Noise removal device | |
| KR19980020457A (en) | Automatic time correction device of digital clock using radio wave and its control method | |
| JPH09257968A (en) | Automatic timepiece setting device | |
| JPH03238392A (en) | Time-piece | |
| KR19990048238A (en) | How to control VCC's visual correction device | |
| JP3013237B2 (en) | Time signal detection device and time correction method | |
| JPH11252588A (en) | Broadcast confirming method and its device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080719 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080719 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090719 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090719 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100719 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100719 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110719 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110719 Year of fee payment: 9 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120719 Year of fee payment: 10 |
|
| LAPS | Cancellation because of no payment of annual fees |