JP4884247B2 - Time correction apparatus and time correction program - Google Patents
Time correction apparatus and time correction program Download PDFInfo
- Publication number
- JP4884247B2 JP4884247B2 JP2007023622A JP2007023622A JP4884247B2 JP 4884247 B2 JP4884247 B2 JP 4884247B2 JP 2007023622 A JP2007023622 A JP 2007023622A JP 2007023622 A JP2007023622 A JP 2007023622A JP 4884247 B2 JP4884247 B2 JP 4884247B2
- Authority
- JP
- Japan
- Prior art keywords
- time
- effective range
- detection signal
- signal
- detection
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Electric Clocks (AREA)
- Electromechanical Clocks (AREA)
Description
本発明は時報によって時刻を修正する時刻修正装置及び時刻修正用プログラムに関するものである。 The present invention relates to a time correction device and a time correction program for correcting time according to a time signal.
従来からラジオ放送の時報を用いて時刻修正を行う時刻修正装置を備えた時計がある。NHK(特殊法人日本放送協会)の時報は、0.1秒継続する440Hzの予報音を1秒間隔で3回送信し、その1秒後に1秒継続し減衰する880Hzの正報音を送信するという構成となっている。 2. Description of the Related Art Conventionally, there are watches equipped with a time adjustment device that adjusts the time using radio broadcast time signals. NHK (Nippon Broadcasting Corporation) time signal transmits 440 Hz forecast sound that lasts 0.1 seconds three times at 1 second intervals, and then sends 880 Hz correct sound that decays 1 second after 1 second. It is the composition.
例えば、特許文献1のものでは、予報音、正報音を受信し、受信した信号の継続時間及びパルス間隔を計測して総ての計測値が正規の時報のそれと一致したときに、受信信号を時報と判定するものである。
特許文献1のものでは、高精度に時報を判定できるが、計測された継続時間、パルス間隔の一つでも所定の許容範囲から外れるものがあれば、時報ではないと判定される。このため、特許文献1のものは受信状況によっては厳格な判定により返って時報の取得の機会を逸し易いという問題があった。また、所定の許容範囲を広くすることにより、時報の取得機会を高めることも可能であるが時刻の修正精度が低下する。 With the thing of patent document 1, although the time signal can be determined with high precision, if even one of the measured duration and pulse interval falls outside the predetermined allowable range, it is determined that the time signal is not. For this reason, the thing of patent document 1 had the problem that it was easy to miss the opportunity of acquisition of a time signal by returning by a strict judgment depending on the reception situation. In addition, by increasing the predetermined allowable range, it is possible to increase the acquisition opportunity of the time signal, but the time correction accuracy decreases.
そこで、本発明の目的は、時報の取得機会を確保しつつ高精度に時報の判定を行い、ひいては高精度の時刻修正を可能とすることにある。 Therefore, an object of the present invention is to determine a time signal with high accuracy while securing an opportunity to acquire the time signal, and to enable time correction with high accuracy.
上記目的を達成するため、本発明の第1の観点の時刻修正装置は、
複数の予報音、正報音からなる時報を重畳した電波を受信して前記時報に基づいて時刻修正を行う時刻修正装置において、
前記電波を受信して得られた信号に第1の周波数の信号が検出されたときに予報音を検出したことを示す第1の検出信号を出力する予報音検出手段と、
前記電波を受信して得られた信号に第2の周波数の信号が検出されたときに正報音を検出したことを示す第2の検出信号を出力する正報音検出手段と、
前記第1の検出信号の出力のタイミングに基づいて、当該第1の検出信号の次の前記第1の検出信号が適切なタイミングに出力されたか否かを判定するための第1の有効範囲を順次狭めつつ設定するとともに、前記第1の検出信号に続く前記第2の検出信号が適切なタイミングに出力されたか否かを判定するための第2の有効範囲を最後に設定された前記第1の有効範囲より狭く設定する有効範囲設定手段と、
前記有効範囲設定手段により設定された第1の有効範囲内で複数の前記第1の検出信号を順次受けた後に、前記第2の有効範囲内で前記第2の検出信号を受けたタイミングを前記時報の示す時刻として時刻修正信号を出力する有効範囲検出手段と、
を備え、
前記時刻修正信号の出力のタイミングに基づき時刻修正を行うことを特徴とする。
In order to achieve the above object, a time correction apparatus according to a first aspect of the present invention is
In a time adjustment device that receives a radio wave superimposed with a time signal composed of a plurality of forecast sounds and correct sound and corrects the time based on the time signal,
A forecast sound detection means for outputting a first detection signal indicating that a forecast sound has been detected when a signal of a first frequency is detected in the signal obtained by receiving the radio wave;
Correct sound detection means for outputting a second detection signal indicating that a correct sound is detected when a signal of a second frequency is detected in the signal obtained by receiving the radio wave;
Based on the output timing of the first detection signal, a first effective range for determining whether the first detection signal next to the first detection signal is output at an appropriate timing The first effective range is set last, and the second effective range for determining whether or not the second detection signal following the first detection signal is output at an appropriate timing is set last. Effective range setting means for setting narrower than the effective range of,
The timing of receiving the second detection signal within the second effective range after sequentially receiving the plurality of first detection signals within the first effective range set by the effective range setting means Effective range detection means for outputting a time correction signal as the time indicated by the time signal;
With
Time correction is performed based on the output timing of the time correction signal.
また、前記時刻修正装置において、
前記第1の検出信号により時間計測動作を開始するタイマ手段を備え、
前記有効範囲設定手段は前記タイマ手段の計測する時間に基づいて順次第1の有効範囲及び前記第2の有効範囲を設定する
ようにしてもよい。
In the time adjustment device,
Timer means for starting a time measuring operation by the first detection signal;
The effective range setting unit may sequentially set the first effective range and the second effective range based on the time measured by the timer unit.
また、前記時刻修正装置において、
前記タイマ手段は、前記第1の検出信号を受ける度に時間計測を再開し、
前記有効範囲設定手段は、最初第1の検出信号を受けて計測が開始された時間に基づいて2番目の第1の検出信号の前記有効範囲を設定し、 当該有効範囲に当該2番目の第1の検出信号があったときに、当該2番目の第1の検出信号を受けて計測が開始され時間に基づいて3番目の第1の検出信号の前記有効範囲を設定し、当該有効範囲に当該3番目の第1の検出信号があったときに、当該3番目の第1の検出信号を受けて計測が開始され時間に基づいて前記第2の検出信号の前記有効範囲を設定する
ようにしてもよい。
In the time adjustment device,
The timer means restarts time measurement every time the first detection signal is received,
The effective range setting means sets the effective range of the second first detection signal based on the time when the first detection signal is first received and measurement is started, and the second first detection signal is set in the effective range. When there is one detection signal, measurement is started upon receipt of the second first detection signal, the effective range of the third first detection signal is set based on the time, and the effective range is set to the effective range. When there is the third first detection signal, measurement is started by receiving the third first detection signal, and the effective range of the second detection signal is set based on time. May be.
また、本発明の第2の観点の時刻修正用プログラムは、
コンピュータに、電波に重畳された複数の予報音、正報音からなる時報に基づいて時刻修正を行う処理を実行させる時刻修正用プログラムであって、
前記電波を受信して得られた信号に第1の周波数の信号が検出されたときに予報音を検出したことを示す第1の検出信号を出力する予報音検出手段から前記コンピュータに出力される前記第1の検出信号を監視する予報音検出処理と、
前記電波を受信して得られた信号に第2の周波数の信号が検出されたときに正報音を検出したことを示す第2の検出信号を出力する正報音検出手段から前記コンピュータに出力される前記第2の検出信号を監視する正報音検出処理と、
前記第1の検出信号の出力のタイミングに基づいて、当該第1の検出信号の次の前記第1の検出信号が適切なタイミングに出力されたか否かを判定するための第1の有効範囲を順次狭めつつ設定するとともに、前記第1の検出信号に続く前記第2の検出信号が適切なタイミングに出力されたか否かを判定するための第2の有効範囲を最後に設定された前記第1の有効範囲より狭く設定する有効範囲設定処理と、
前記有効範囲設定処理により設定された第1の有効範囲内で複数の前記第1の検出信号を順次受けた後に、前記第2の有効範囲内で前記第2の検出信号を受けたタイミングを前記時報の示す時刻として時刻修正信号を出力する有効範囲検出処理と、
を実行させ、前記時刻修正信号の出力のタイミングに基づき時刻修正処理を行う
ことを特徴とする。
The time correction program according to the second aspect of the present invention is:
A time correction program for causing a computer to execute a process for correcting a time based on a plurality of forecast sounds superimposed on radio waves and a time signal composed of correct sound sounds,
Output from the forecast sound detecting means for outputting a first detection signal indicating that a forecast sound has been detected when a signal of the first frequency is detected in the signal obtained by receiving the radio wave to the computer. A forecast sound detection process for monitoring the first detection signal;
Output to the computer from a correct sound detection means for outputting a second detection signal indicating that a correct sound is detected when a signal of a second frequency is detected in the signal obtained by receiving the radio wave. A correct sound detection process for monitoring the second detection signal,
Based on the output timing of the first detection signal, a first effective range for determining whether the first detection signal next to the first detection signal is output at an appropriate timing The first effective range is set last, and the second effective range for determining whether or not the second detection signal following the first detection signal is output at an appropriate timing is set last. Effective range setting processing to set narrower than the effective range of
The timing of receiving the second detection signal within the second effective range after sequentially receiving the plurality of first detection signals within the first effective range set by the effective range setting process An effective range detection process for outputting a time correction signal as the time indicated by the time signal;
And the time adjustment processing is performed based on the output timing of the time adjustment signal.
前記時刻修正用プログラムにおいて、
前記第1の検出信号により時間計測動作を開始するタイマ処理を実行させ、
前記有効範囲設定処理は前記タイマ処理の計測する時間に基づいて順次第1の有効範囲及び前記第2の有効範囲を設定する
ようにしてもよい。
In the time correction program,
A timer process for starting a time measuring operation by the first detection signal is executed;
The effective range setting process may sequentially set the first effective range and the second effective range based on the time measured by the timer process.
また、前記時刻修正用プログラムにおいて、
前記タイマ処理は、前記第1の検出信号を受ける度に時間計測を再開し、
前記有効範囲設定処理は、最初の第1の検出信号を受けて計測が開始された時間に基づいて2番目の第1の検出信号の前記有効範囲を設定し、 当該有効範囲に当該2番目の第1の検出信号があったときに、当該2番目の第1の検出信号を受けて計測が開始され時間に基づいて3番目の第1の検出信号の前記有効範囲を設定し、当該有効範囲に当該3番目の第1の検出信号があったときに、当該3番目の第1の検出信号を受けて計測が開始され時間に基づいて前記第2の検出信号の前記有効範囲を設定する
ようにしてもよい。
In the time correction program,
The timer process restarts time measurement every time the first detection signal is received,
The effective range setting process sets the effective range of the second first detection signal based on the time when the measurement is started upon receiving the first first detection signal, and the second effective detection range is set in the effective range. When there is a first detection signal, measurement is started upon receipt of the second first detection signal, the effective range of the third first detection signal is set based on time, and the effective range is set. When the third first detection signal is present, measurement is started upon receiving the third first detection signal, and the effective range of the second detection signal is set based on the time. It may be.
また、前記時刻修正用プログラムにおいて、
前記タイマ処理、前記有効範囲設定処理及び有効範囲検出処理を、前記時刻修正信号を生成する1組の生成処理とし、
前記第1の検出信号を受ける度に新たな前記生成処理の実行を開始させる実行制御処理を実行させ、
前記生成処理のいずれかから出力される前記時刻修正信号の出力のタイミングに基づき時刻修正処理を行う
ようにしてもよい。
In the time correction program,
The timer process, the effective range setting process and the effective range detection process are a set of generation processes for generating the time correction signal,
Each time the first detection signal is received, execution control processing for starting execution of the new generation processing is executed,
The time adjustment process may be performed based on the output timing of the time adjustment signal output from any of the generation processes.
前記時刻修正用プログラムにおいて、
前記生成処理は、実行が開始されて最初に受けた前記第1の検出信号を自身の最初の前記第1の検出信号とし、
前記生成処理のいずれかから最初に出力される前記時刻修正信号の出力のタイミングに基づき時刻修正処理を行う
ようにしてもよい。
In the time correction program,
The generation process uses the first detection signal received first after the execution is started as its first detection signal;
The time adjustment process may be performed based on the output timing of the time adjustment signal output first from any of the generation processes.
本発明の時刻修正装置及び時刻修正用プログラムによれば、時報の取得機会を確保しつつ高精度に時報の判定を行うことが可能となり、ひいては高精度の時刻修正が可能となる。 According to the time correction apparatus and the time correction program of the present invention, it is possible to determine a time signal with high accuracy while securing an opportunity to acquire a time signal, and thus it is possible to correct time with high accuracy.
以下、本発明の好適な実施の形態を図面を参照して説明する。 Preferred embodiments of the present invention will be described below with reference to the drawings.
図1は、この発明の実施形態に適用される時刻修正装置10のブロック図である。 FIG. 1 is a block diagram of a time adjustment device 10 applied to the embodiment of the present invention.
FMラジオ受信機1は、アンテナ1aにより受けたFM放送電波を受信し、予報音、正報音を含む音声信号に復調して出力するものである。 The FM radio receiver 1 receives an FM broadcast radio wave received by an antenna 1a, demodulates it into an audio signal including a forecast sound and a correct report sound, and outputs it.
ローパスフィルタ2は、ラジオ受信機1より出力される信号の高調波雑音をカットするものである。 The low-pass filter 2 is for cutting harmonic noise of the signal output from the radio receiver 1.
トーンデコーダ3a、3bは、あらかじめ設定された周波数の信号が入力された場合に出力トランジスタがONとして検出信号を出力する回路である。トーンデコーダ3a、3bはそれぞれ440Hz、880Hzの周波数を検出するものである。 The tone decoders 3a and 3b are circuits that output a detection signal by turning on the output transistor when a signal having a preset frequency is input. The tone decoders 3a and 3b detect frequencies of 440 Hz and 880 Hz, respectively.
CPU(Central Processing Unit)4は、時刻修正装置全体の制御を司るものである。また、CPU4は、トーンデコーダ3a、3bの検出信号を入力端子に受けて、トーンデコーダ3a、3bの検出信号に応じては、内部で計時する時刻情報を修正する処理を実行するものである。この処理のためのソフトウェア、すなわち、時刻修正用プログラムは図示しないROM(Read Only Memory)に格納され、図示しないRAM(Random Access Memory)を作業領域として実行される。CPU4はこれらROM及びRAMとともに時刻修正用プログラムを実行するコンピュータを成す。 A CPU (Central Processing Unit) 4 controls the entire time adjustment device. Further, the CPU 4 receives the detection signals of the tone decoders 3a and 3b at the input terminal, and executes a process of correcting time information measured internally in accordance with the detection signals of the tone decoders 3a and 3b. Software for this processing, that is, a time correction program is stored in a ROM (Read Only Memory) (not shown), and is executed using a RAM (Random Access Memory) (not shown) as a work area. The CPU 4 forms a computer that executes the time correction program together with the ROM and RAM.
CPU4は、所定のタイミング、例えば、正午の前後15秒にこの処理を行い、トーンデコーダ3aの検出信号、換言すれば、予報音を3回検出した後に、トーンデコーダ3bの検出信号、換言すれば、正報音を検出したことをもって、正午(午後12時00分00秒)のタイミングを特定し、内部で計時する時刻情報をこれに応じて修正するものである。 The CPU 4 performs this processing at a predetermined timing, for example, 15 seconds before and after noon, and after detecting the detection signal of the tone decoder 3a, in other words, the forecast sound three times, in other words, the detection signal of the tone decoder 3b. When the correct alarm sound is detected, the timing of noon (12:00 p.m.) is specified, and the time information measured internally is corrected accordingly.
また、CPU4により修正した時刻情報を図示しないRTC(Real Time Clock)に書き込む、叉は、RTCに正報音と同期した1秒のタイミングでトリガをかけて時刻修正するように構成してもよい。 Further, the time information corrected by the CPU 4 may be written in an RTC (Real Time Clock) (not shown), or the time may be corrected by triggering the RTC at a timing of 1 second synchronized with the correct alarm sound. .
図2は、FM放送の時報を示すタイミングチャートである。時報は、3回の予報音、1回の正報音で構成され、NHKのFM放送の場合、予報音は440Hz、正報音は880Hzの周波数で放送されている。1回目の予報音が0.1秒継続し、0.9秒後に次の2回目の予報音が続く。同様に3回目の予報音の0.9秒後に、880Hzの正報音が1秒以上継続する。 FIG. 2 is a timing chart showing a time report of FM broadcasting. The time signal is composed of three forecast sounds and one correct report sound. In the case of NHK FM broadcasting, the forecast sound is broadcast at a frequency of 440 Hz and the correct report sound is broadcast at 880 Hz. The first forecast sound continues for 0.1 seconds, and the next second forecast sound continues after 0.9 seconds. Similarly, the 880 Hz corrective sound continues for 1 second or more 0.9 seconds after the third predicted sound.
図3は、CPU4で実行される時刻修正処理の要部を模式的に示した模式図である。 FIG. 3 is a schematic diagram schematically showing the main part of the time correction process executed by the CPU 4.
予報音検出処理31aは、トーンデコーダ3aからの検出信号、すなわち、440Hzの予報音の発生を監視し、検出信号が発生するときに予報音が発生したことを示す予報音フラグを立てる処理である。なお、他の処理は最新の予報音フラグを用いる。 The forecast sound detection process 31a is a process for monitoring the generation of a detection signal from the tone decoder 3a, that is, a forecast sound of 440 Hz, and setting a forecast sound flag indicating that a forecast sound has been generated when the detection signal is generated. . Other processing uses the latest forecast sound flag.
正報音検出処理31bは、トーンデコーダ3bからの検出信号、すなわち、880Hzの正報音の発生を監視し、検出信号が発生するときに正報音が発生したことを示す正報音フラグを立てる処理である。なお、他の処理は最新の予報音フラグを用いる。 The correct sound detection processing 31b monitors the detection signal from the tone decoder 3b, that is, the generation of a correct sound of 880 Hz, and sets a correct sound flag indicating that the correct sound has been generated when the detection signal is generated. It is a process to make. Other processing uses the latest forecast sound flag.
タイマ処理32は、予報音検出処理31による予報音フラグに応答し、予報音が発生してからの経過時間を測定するタイマ処理である。例えば、タイマ処理32は、後述する有効範囲フラグを受けており、このフラグが立っているときに新たな予報音フラグを受ける度に経過時間の測定を繰り返し、その度に測定フラグを立てる。 The timer process 32 is a timer process that measures the elapsed time after the forecast sound is generated in response to the forecast sound flag by the forecast sound detection process 31. For example, the timer process 32 receives an effective range flag, which will be described later, and repeats the measurement of the elapsed time each time a new forecast sound flag is received when this flag is set, and sets the measurement flag each time.
有効範囲設定処理33は、タイマ処理32の測定する経過時間を受け、次の予報音又は正音が発生したことを示す予報音フラグ又は正音フラグが立ったときに、これらを有効なフラグとみなす経過時間の範囲を設定する処理である。 The valid range setting process 33 receives the elapsed time measured by the timer process 32, and when a forecast sound flag or a normal sound flag indicating that the next forecast sound or a normal sound has been generated stands, the effective range setting process 33 regards these as valid flags This is a process for setting a time range.
例えば、有効範囲設定処理34は、最初の予報音に対する予報音フラグの立ち上がりから1秒の前後0.1秒(±100ミリ秒)を2番目の予報音フラグの立ち上がりを許容する有効範囲(第1の有効範囲)とし、この有効範囲(第1の有効範囲)に受けた2番目の予報音フラグの立ち上がりから1秒の前後0.05秒(±50ミリ秒)を3番目の予報音フラグの立ち上がりを許容する有効範囲(第2の有効範囲)とし、この有効範囲(第2の有効範囲)に受けた3番目の予報音フラグの立ち上がりから1秒の前後0.01秒(±10ミリ秒)を正報音フラグの立ち上がりを許容する有効範囲(第3の有効範囲)とし、これら有効範囲にある期間それを示す有効範囲フラグを立てる。この処理は、例えば、次のような処理でも良い。 For example, the effective range setting process 34 is an effective range that allows the second predicted sound flag to rise for 0.1 second (± 100 milliseconds) around 1 second from the rising of the predicted sound flag for the first predicted sound. 1 effective range), and 0.05 second (± 50 milliseconds) around 1 second from the rise of the second predicted sound flag received in this effective range (first effective range) is the third predicted sound flag. The effective range (second effective range) that allows the rising of the second prediction range, and 0.01 second (± 10 mm) around 1 second from the rising of the third forecast sound flag received in this effective range (second effective range) Second) is set as an effective range (third effective range) that allows the rising of the correct alarm flag, and an effective range flag indicating the period within the effective range is set. This processing may be the following processing, for example.
有効範囲設定処理33は、タイマ処理32の測定フラグを受けると、これをカウントする。有効範囲設定処理33は、カウント値が初期値である0のときには有効範囲フラグを立ててある。有効範囲設定処理33は、カウント値が1となると、図示しないRAMに設定する経過時間に対する第1の閾値を0.90秒(900ミリ秒)とし、第2の閾値を1.1秒(1100ミリ秒)とし、一旦有効範囲フラグを下げ、タイマ処理32の測定する経過時間が900ミリ秒に達すると有効範囲フラグを立て、タイマ処理32の測定する経過時間が1100ミリ秒に達すると有効範囲フラグを下げる。 When receiving the measurement flag of the timer process 32, the valid range setting process 33 counts this. The effective range setting process 33 sets an effective range flag when the count value is 0 which is an initial value. When the count value becomes 1, the valid range setting process 33 sets the first threshold value for the elapsed time set in the RAM (not shown) to 0.90 seconds (900 milliseconds) and sets the second threshold value to 1.1 seconds (1100). The effective range flag is once lowered, the effective range flag is set when the elapsed time measured by the timer process 32 reaches 900 milliseconds, and the effective range is reached when the elapsed time measured by the timer process 32 reaches 1100 milliseconds. Lower the flag.
有効範囲設定処理33は、カウント値が2となると、図示しないRAMに設定する経過時間に対する第1の閾値を0.95秒(950ミリ秒)とし、第2の閾値を1.05秒(1050ミリ秒)とし、一旦有効範囲フラグを下げ、タイマ処理32の測定する経過時間が950ミリ秒に達すると有効範囲フラグを立て、タイマ処理32の測定する経過時間が1050ミリ秒に達すると有効範囲フラグを下げる。 When the count value reaches 2, the valid range setting process 33 sets the first threshold value for the elapsed time set in the RAM (not shown) to 0.95 seconds (950 milliseconds) and sets the second threshold value to 1.05 seconds (1050). The effective range flag is once lowered, the effective range flag is set when the elapsed time measured by the timer process 32 reaches 950 milliseconds, and the effective range is set when the elapsed time measured by the timer process 32 reaches 1050 milliseconds. Lower the flag.
有効範囲設定処理33は、カウント値が3となると、図示しないRAMに設定する経過時間に対する第1の閾値を0.99秒(990ミリ秒)とし、第2の閾値を1.01秒(1010ミリ秒)とし、一旦有効範囲フラグを下げ、タイマ処理32の測定する経過時間が990ミリ秒に達すると有効範囲フラグを立て、タイマ処理32の測定する経過時間が1010ミリ秒に達すると有効範囲フラグを下げ、カウント値を0にリセットする。 In the effective range setting process 33, when the count value becomes 3, the first threshold value for the elapsed time set in the RAM (not shown) is set to 0.99 seconds (990 milliseconds), and the second threshold value is set to 1.01 seconds (1010). The effective range flag is once lowered, the effective range flag is set when the elapsed time measured by the timer process 32 reaches 990 milliseconds, and the effective range is set when the elapsed time measured by the timer process 32 reaches 1010 milliseconds. The flag is lowered and the count value is reset to zero.
これらの有効範囲は一例であり、本発明では、予報音から正報音へと順次範囲を狭めていくような設定であればよく、適宜変更可能である。 These effective ranges are merely examples. In the present invention, any setting may be used as long as the range is narrowed sequentially from the predicted sound to the correct sound, and can be changed as appropriate.
有効範囲検出処理33は、予報音検出処理31aの予報音フラグ、正報音検出処理31bの正報音フラグ、有効範囲設定処理33の有効範囲フラグを監視し、有効範囲フラグが立っているときの予報音フラグ又は正音フラグを有効なものとして、第1、第2の有効範囲において予報音フラグを検出した後に、第3の有効範囲にある正報音フラグを検出することにより正報音の発生タイミング、換言すれば、時報で知らされる時刻を特定する処理である。有効範囲検出処理33は、このように有効な正報音の発生タイミングを特定し、時刻修正信号(時刻修正フラグ)を出力するものである。この時刻修正信号により、CPU4の内部又は外部で計時される時刻を時報と同期した時刻に修正する。 The valid range detection process 33 monitors the forecast sound flag of the forecast sound detection process 31a, the correct report sound flag of the correct report sound detection process 31b, and the valid range flag of the valid range setting process 33, and when the valid range flag is set. By detecting the forecast sound flag in the third effective range after detecting the forecast sound flag in the first and second effective ranges, the forecast sound flag or the correct sound flag is valid. This is a process of specifying the generation timing, in other words, the time notified by the time signal. The effective range detection process 33 is to specify the generation timing of a valid correct alarm sound and output a time correction signal (time correction flag). With this time adjustment signal, the time measured inside or outside the CPU 4 is corrected to a time synchronized with the time signal.
次に図4のタイミングチャートを参照しながら、本実施形態の時刻修正装置の動作について説明する。 Next, the operation of the time adjustment device of this embodiment will be described with reference to the timing chart of FIG.
CPU4は、所定のタイミングに、例えば、正午の前後15秒にFMラジオ受信機1、ローパスフィルタ2、トーンデコーダ3a、3bを動作状態とし、時報検出処理を開始する。 The CPU 4 activates the FM radio receiver 1, the low-pass filter 2, and the tone decoders 3a and 3b at a predetermined timing, for example, at 15 seconds before and after noon, and starts a time signal detection process.
予報音検出処理31aにより、1回目の予報音を検出すると、タイマ処理32をスタートし経過時間の計測を開始する。このとき、有効時間設定処理33に対し、次の予報音の有効範囲を設定する。タイマ処理32が1秒を計測する前後100ミリ秒を有効範囲と設定した場合、タイマ処理32が経過時間の計測をスタートしてから1秒後に、2回目の予報音を検出することになる。丁度1秒後に2回目の予報音を検出すると、有効時間検出処理34では第1の有効範囲である1秒±100ミリ秒を有効なものと判断し、次の予報音の有効範囲(第2の有効範囲)として有効時間設定処理を1秒±50ミリ秒と設定し、3回目の予報音の検出を開始する。このとき、2回目の予報音が1秒±100ミリ秒後に検出できない場合、たとえば1.5秒後に予報音を検出した場合は、有効時間検出処理34により無効と判断され、1回目の予報音を検出する処理に戻ることとなる。 When the first forecast sound is detected by the forecast sound detection process 31a, the timer process 32 is started and the measurement of the elapsed time is started. At this time, the effective range of the next forecast sound is set for the effective time setting process 33. When 100 milliseconds before and after the timer process 32 measures 1 second is set as an effective range, the second forecast sound is detected 1 second after the timer process 32 starts measuring the elapsed time. When the second forecast sound is detected just after one second, the valid time detection process 34 determines that the first valid range of 1 second ± 100 milliseconds is valid and determines the valid range of the next forecast sound (second The effective time setting process is set to 1 second ± 50 milliseconds, and detection of the third forecast sound is started. At this time, if the second forecast sound cannot be detected after 1 second ± 100 milliseconds, for example, if a forecast sound is detected after 1.5 seconds, the valid time detection process 34 determines that the second forecast sound is invalid, and the first forecast sound. It returns to the process which detects this.
次に3回目の予報音が第2の有効範囲である1秒±50ミリ秒の範囲内に検出されると、有効時間検出処理はその予報音を有効と判断し、次の正報音検出を開始する。このとき、有効時間設定処理33は第3の有効範囲を1秒±10ミリ秒と設定する。次の正報音を有効時間検出処理が第3の有効範囲にあり有効と判断した場合、有効な正報音を検出したとして時刻修正フラグを立てる、換言すれば、時刻修正信号を出力する。これにより時報検出処理は終了する。 Next, when the third forecast sound is detected within the second effective range of 1 second ± 50 milliseconds, the valid time detection process determines that the predicted sound is valid and detects the next correct sound. To start. At this time, the valid time setting process 33 sets the third valid range as 1 second ± 10 milliseconds. When it is determined that the valid time detection process is within the third valid range and the next correct sound is valid, a time correction flag is set as if a valid correct sound was detected, in other words, a time correction signal is output. Thus, the time signal detection process ends.
このように時刻修正信号は、3回目の予報音に対して±10ミリ秒の精度で出力されることになる。 Thus, the time correction signal is output with an accuracy of ± 10 milliseconds with respect to the third forecast sound.
次にこの時刻修正信号を時刻修正フラグとしてCPU4の内部時計などを修正する処理を行う。これは、時報の示す時刻、例えば、正午(午後12時00分00秒)をCPU4の内部時計にセットしておき、時刻修正フラグに同期したタイミングに秒の計時を開始させることにより、時報源の時刻と同期した時刻を計時するように内部時計を修正する処理である。また、時報の示す時刻、例えば、午後12時00分00秒より1秒進んだ時刻をCPU4の内部時計にセットしておき、時刻修正フラグの検出タイミングと、これの実際の正午のタイミングに対する回路及び処理による遅延を加味して、得られた午後12時00分01秒のタイミングに秒の計時を開始させて内部時計を修正する処理であってもよい。 Next, processing for correcting the internal clock of the CPU 4 is performed using the time correction signal as a time correction flag. This is because the time indicated by the time signal, for example, noon (12:00 p.m.) is set in the internal clock of the CPU 4 and time measurement is started at the timing synchronized with the time correction flag. This is a process for correcting the internal clock so as to measure the time synchronized with the time. Further, the time indicated by the time signal, for example, the time advanced by 1 second from 12:00 p.m. is set in the internal clock of the CPU 4, and the circuit for the detection timing of the time correction flag and the actual noon timing thereof is set. In addition, in consideration of the delay due to the processing, the internal clock may be corrected by starting the time measurement of the second at the obtained timing of 12:00:01 pm.
また、同様にこの時刻修正信号出力を使用し、RTC等のCPU4の外部の時計にトリガをかけ、時刻修正を指示するようにしてもよい。 Similarly, this time correction signal output may be used to trigger a clock external to the CPU 4 such as an RTC to instruct time correction.
以上のように本実施形態の時刻修正装置は、最初の予報音から正報音までこれらの有効性を評価する有効範囲を段階的に狭めていく。このため、時報の取得機会を確保しつつ、高い時刻修正精度を維持し、誤修正を防止することが可能となる。 As described above, the time correction apparatus according to the present embodiment gradually narrows the effective range for evaluating the effectiveness from the first forecast sound to the correct report sound. For this reason, it is possible to maintain high time correction accuracy and prevent erroneous correction while securing a time signal acquisition opportunity.
上記実施形態の時刻修正装置では、CPU4により最初の予報音、すなわち、トーンデコーダ3aからの検出信号をトリガとして1つの時刻修正信号の生成処理を実行するようにしたが、本発明はこれに限るものではなく、トーンデコーダ3aからの検出信号毎に時刻修正信号の生成処理を開始するようにして、複数の生成処理を並行して実行し、これらの生成処理の内いずれかから得られた時刻修正信号を時刻修正に用いるようにしてもよい。 In the time adjustment device of the above-described embodiment, the CPU 4 executes the process of generating the first forecast sound, that is, the detection signal from the tone decoder 3a as a trigger, but the present invention is limited to this. Instead, a time correction signal generation process is started for each detection signal from the tone decoder 3a, a plurality of generation processes are executed in parallel, and a time obtained from any one of these generation processes You may make it use a correction signal for time correction.
この処理の構成は、例えば、図5に示すように、図3に示すタイマ処理32、有効範囲設定処理33及び有効範囲検出処理34を時刻修正信号の生成処理51(同図の51a、51b、51c、51dは同様の生成処理を示す)とし、時報検出処理の初期状態では上記実施形態と同様に1つの生成処理51aのみが実行され、トーンデコーダ3aからの検出信号を受ける毎に実行制御処理52が生成処理51を開始させ、これらが並行して実行され、それぞれに時刻修正信号を生成し、これらを論理和処理53により最初に生成された時刻修正信号を正報音と同期したタイミングとするものである。 For example, as shown in FIG. 5, the processing configuration includes timer processing 32, effective range setting processing 33, and effective range detection processing 34 shown in FIG. 3, and time correction signal generation processing 51 (51a, 51b, 51c and 51d indicate similar generation processes), and in the initial state of the time signal detection process, only one generation process 51a is executed as in the above embodiment, and the execution control process is performed each time a detection signal is received from the tone decoder 3a. 52 starts the generation process 51, which are executed in parallel, generate time correction signals for each of them, and synchronize the time correction signal first generated by the OR process 53 with the correct sound. To do.
実行制御処理52は、予報音検出処理31aの予報音フラグの立ち上がりを監視し、この立ち上がり毎に生成処理51を開始させ、例えば、予報音フラグの立ち上がり毎に生成処理51b、51c、51dを開始させる処理である。このようにCPU4は生成処理51a、51b、51c、51dは平行して実行する。並列実行する生成処理51の数は、CPU4の処理能力を加味して適当に制限すればよい。なお、各生成処理51は、有効範囲に予報音フラグ又は正報音フラグの立ち上がりが検出されないときには終了する。 The execution control process 52 monitors the rise of the forecast sound flag of the forecast sound detection process 31a and starts the generation process 51 at each rise, for example, starts the generation processes 51b, 51c and 51d at every rise of the forecast sound flag. It is a process to make. In this way, the CPU 4 executes the generation processes 51a, 51b, 51c, and 51d in parallel. The number of generation processes 51 to be executed in parallel may be appropriately limited in consideration of the processing capability of the CPU 4. Each generation process 51 ends when the rising of the forecast sound flag or the correct sound flag is not detected in the effective range.
論理和処理53は、各生成処理51のいずれかにより最初に時刻修正フラグが立てられるとこれを時刻修正に用いる時刻修正フラグとするものである。 The logical sum processing 53 sets a time correction flag used for time correction when the time correction flag is first set by any of the generation processes 51.
次に図5に示す処理を行う実施形態の時刻修正装置の動作を説明する。 Next, the operation of the time adjustment apparatus according to the embodiment that performs the processing shown in FIG.
時報検出処理の当初は、図3に示す処理と同様に生成処理51aのみが行われている。図4に示すように、最初に予報音とされる検出信号が正規のものであれば適正な有効範囲が設定されるが、そうでなければこれに続く予報音、正報音を検出できない。そこで、本実施形態の時刻修正装置では、実行制御処理52により予報音フラグの立ち上がりに新たに生成処理51を立ち上げる。例えば、1回目の予報音フラグの立ち上がりに生成処理51bを立ち上げる。このとき、生成処理51aではタイマ処理32が開始され、このときの予報音フラグの立ち上りから1秒±100ミリ秒の有効範囲が設定される。 At the beginning of the time signal detection process, only the generation process 51a is performed as in the process shown in FIG. As shown in FIG. 4, an appropriate effective range is set if the detection signal initially used as the forecast sound is normal, but if not, the subsequent forecast sound and correct report sound cannot be detected. Therefore, in the time adjustment device of the present embodiment, the generation process 51 is newly started up by the execution control process 52 at the rise of the forecast sound flag. For example, the generation process 51b is started at the rise of the first forecast sound flag. At this time, in the generation process 51a, the timer process 32 is started, and an effective range of 1 second ± 100 milliseconds is set from the rise of the forecast sound flag at this time.
2回目の予報音フラグが立ち上がると生成処理51bではこれを自身が受ける最初の予報音フラグとしてタイマ処理32を開始し、このときの予報音フラグの立ち上りから1秒±100ミリ秒の有効範囲が設定される。2回目の予報音フラグが立ち上がったタイミングが生成処理51aで先に設定した有効範囲にあれば、生成処理51aは継続して実行され、有効範囲にない場合は生成処理51aは終了する。 When the second forecast sound flag rises, the generation process 51b starts the timer process 32 as the first forecast sound flag received by itself, and an effective range of 1 second ± 100 milliseconds from the rise of the forecast sound flag at this time is obtained. Is set. If the timing at which the second forecast sound flag rises is within the valid range previously set in the generation process 51a, the generation process 51a is continuously executed, and if it is not within the valid range, the generation process 51a ends.
また、2回目の予報音フラグが立ち上がると実行制御処理52により新たに生成処理51cを立ち上げる。 When the second forecast sound flag rises, the execution control process 52 newly starts the generation process 51c.
3回目の予報音フラグが立ち上がると生成処理51cではこれを自身が受ける最初の予報音フラグとしてタイマ処理32を開始し、このときの予報音フラグの立ち上りから1秒±100ミリ秒の有効範囲が設定される。3回目の予報音フラグが立ち上がったタイミングが生成処理51a、51bで先に設定した有効範囲にあれば、生成処理51a、51bは継続して実行され、それぞれ有効範囲にない場合は処理を終了する。 When the third forecast sound flag rises, the generation process 51c starts the timer process 32 as the first forecast sound flag received by itself, and an effective range of 1 second ± 100 milliseconds from the rise of the forecast sound flag at this time is obtained. Is set. If the timing at which the third forecast sound flag rises is within the effective range previously set in the generation processes 51a and 51b, the generation processes 51a and 51b are continuously executed. .
このとき、生成処理51a、51bはそれぞれ前回の予報音フラグの立ち上りから1秒±50ミリ秒、1秒±100ミリ秒の有効範囲を用いて検出する。 At this time, the generation processes 51a and 51b detect using the effective ranges of 1 second ± 50 milliseconds and 1 second ± 100 milliseconds from the previous rise of the forecast sound flag, respectively.
また、3回目の予報音フラグが立ち上がると実行制御処理52により新たに生成処理51dを立ち上げる。 When the third forecast sound flag rises, the execution control process 52 newly starts the generation process 51d.
さて、1回目から3回目まで正規の予報音を検出し、続いて正規の正報音を検出することとなる。生成処理51aは、前回の予報音フラグの立ち上りから1秒±10ミリ秒の有効範囲に正報音フラグの立ち上がりを検出すると、時刻修正フラグを立てる。論理和処理53はこれを時報の示す時刻、例えば、正午(午後12時00分00秒)と同期した時刻修正フラグとする。この時刻修正フラグにより上記実施形態と同様にCPU4の内部時計の時刻が修正される。 Now, the normal forecast sound is detected from the first time to the third time, and then the normal correct sound is detected. The generation process 51a sets the time correction flag when it detects the rising of the correct alarm sound flag within the effective range of 1 second ± 10 milliseconds from the previous rising edge of the predicted sound flag. The logical sum processing 53 uses this as a time correction flag synchronized with the time indicated by the time signal, for example, noon (12:00 p.m. 12 pm). This time correction flag corrects the time of the internal clock of the CPU 4 as in the above embodiment.
以上の動作に対して、1回目の予報音フラグが、正規の予報音によるものではなく、ノイズを予報音として誤検出することに起因するものであれば、生成処理51aはそれに基づいて設定された有効範囲で正規の予報音フラグを検出できず、終了することがある。この場合でも先の予報音フラグにて実行されている生成処理51bでは正規の予報音フラグの立ち上りによりタイマ処理32のカウント処理が開始されれば、この正規の予報音フラグの立ち上りから1秒±10ミリ秒の有効範囲を設定する。これにより、生成処理51bでは先の正規の予報音フラグに続く正規の予報音フラグを正しく設定された有効範囲で検出することができる。 For the above operation, if the first forecast sound flag is not due to a regular forecast sound but is caused by erroneous detection of noise as a forecast sound, the generation processing 51a is set based on the detection sound flag. The normal forecast sound flag may not be detected within the effective range, and the process may end. Even in this case, in the generation process 51b executed with the previous forecast sound flag, if the count process of the timer process 32 is started by the rise of the regular forecast sound flag, 1 second ± from the rise of the regular forecast sound flag Set an effective range of 10 milliseconds. As a result, in the generation process 51b, it is possible to detect the normal forecast sound flag following the previous normal forecast sound flag within the correctly set effective range.
同様に1回目、2回目の予報音フラグが誤検出に起因するものであれば、生成処理51a、51bでは、正規の予報音フラグを検出できず、終了することがあるが、この場合も、先の予報音フラグにて実行されている生成処理51cにより正規の予報音フラグを正しく設定された有効範囲で検出することができる。 Similarly, if the first and second forecast sound flags are caused by erroneous detection, the generation processing 51a and 51b may not detect the regular forecast sound flag and may end. By the generation process 51c executed with the previous forecast sound flag, the regular forecast sound flag can be detected within the valid range set correctly.
このように、誤検出に起因する予報音フラグが連続してもそれに続く正規の予報音フラグは最後に開始された生成処理51において正しい有効範囲の設定の基準とされ、最後に開始された生成処理51において正規の予報音フラグ、正報音フラグを検出することができ、時刻修正フラグを生成することができる。 In this way, even if the forecast sound flag caused by false detection continues, the normal forecast sound flag that follows is used as the reference for setting the correct effective range in the last started generation process 51, and the generation that is started last. In the process 51, a normal forecast sound flag and a correct report sound flag can be detected, and a time correction flag can be generated.
以上のように図5に示す時刻修正装置の処理では、上記本実施形態の図3に示す時刻修正装置時報の処理よりもさらに取得機会を確保することができ、高い時刻修正精度を維持し、誤修正を防止することが可能となる。 As described above, in the process of the time adjustment device shown in FIG. 5, an acquisition opportunity can be secured further than the processing of the time adjustment device time signal shown in FIG. 3 of the present embodiment, and high time correction accuracy is maintained. It becomes possible to prevent erroneous correction.
3a トーンデコーダ
3b トーンデコーダ
4 CPU
31a 予報音検出処理
31b 正報音検出処理
32 タイマ処理
33 有効範囲設定処理
34 有効範囲検出処理
51a乃至51d 生成処理
52 実行制御処理
3a tone decoder 3b tone decoder 4 CPU
31a Predictive sound detection processing 31b Corrective sound detection processing 32 Timer processing 33 Effective range setting processing 34 Effective range detection processing 51a to 51d Generation processing 52 Execution control processing
Claims (8)
前記電波を受信して得られた信号に第1の周波数の信号が検出されたときに予報音を検出したことを示す第1の検出信号を出力する予報音検出手段と、
前記電波を受信して得られた信号に第2の周波数の信号が検出されたときに正報音を検出したことを示す第2の検出信号を出力する正報音検出手段と、
前記第1の検出信号の出力のタイミングに基づいて、当該第1の検出信号の次の前記第1の検出信号が適切なタイミングに出力されたか否かを判定するための第1の有効範囲を順次狭めつつ設定するとともに、前記第1の検出信号に続く前記第2の検出信号が適切なタイミングに出力されたか否かを判定するための第2の有効範囲を最後に設定された前記第1の有効範囲より狭く設定する有効範囲設定手段と、
前記有効範囲設定手段により設定された第1の有効範囲内で複数の前記第1の検出信号を順次受けた後に、前記第2の有効範囲内で前記第2の検出信号を受けたタイミングを前記時報の示す時刻として時刻修正信号を出力する有効範囲検出手段と、
を備え、
前記時刻修正信号の出力のタイミングに基づき時刻修正を行うことを特徴とする時刻修正装置。 In a time adjustment device that receives a radio wave superimposed with a time signal composed of a plurality of forecast sounds and correct sound and corrects the time based on the time signal,
A forecast sound detection means for outputting a first detection signal indicating that a forecast sound has been detected when a signal of a first frequency is detected in the signal obtained by receiving the radio wave;
Correct sound detection means for outputting a second detection signal indicating that a correct sound is detected when a signal of a second frequency is detected in the signal obtained by receiving the radio wave;
Based on the output timing of the first detection signal, a first effective range for determining whether the first detection signal next to the first detection signal is output at an appropriate timing The first effective range is set last, and the second effective range for determining whether or not the second detection signal following the first detection signal is output at an appropriate timing is set last. Effective range setting means for setting narrower than the effective range of,
The timing of receiving the second detection signal within the second effective range after sequentially receiving the plurality of first detection signals within the first effective range set by the effective range setting means Effective range detection means for outputting a time correction signal as the time indicated by the time signal;
With
A time adjustment device for performing time adjustment based on the output timing of the time adjustment signal.
前記有効範囲設定手段は前記タイマ手段の計測する時間に基づいて順次第1の有効範囲及び前記第2の有効範囲を設定する
ことを特徴とする請求項1に記載の時刻修正装置。 Timer means for starting a time measuring operation by the first detection signal;
The time adjustment device according to claim 1, wherein the effective range setting unit sequentially sets the first effective range and the second effective range based on the time measured by the timer unit.
前記有効範囲設定手段は、最初の第1の検出信号を受けて計測が開始された時間に基づいて2番目の第1の検出信号の前記有効範囲を設定し、
当該有効範囲に当該2番目の第1の検出信号があったときに、当該2番目の第1の検出信号を受けて計測が開始され時間に基づいて3番目の第1の検出信号の前記有効範囲を設定し、当該有効範囲に当該3番目の第1の検出信号があったときに、当該3番目の第1の検出信号を受けて計測が開始され時間に基づいて前記第2の検出信号の前記有効範囲を設定する
ことを特徴とする請求項2に記載の時刻修正装置。 The timer means restarts time measurement every time the first detection signal is received,
The effective range setting means sets the effective range of the second first detection signal based on the time when the measurement was started upon receiving the first first detection signal,
When the second first detection signal is in the effective range, measurement is started in response to the second first detection signal, and the validity of the third first detection signal is based on time. A range is set, and when the third first detection signal is in the effective range, measurement is started in response to the third first detection signal, and the second detection signal is based on the time. The time adjustment device according to claim 2, wherein the effective range is set.
前記電波を受信して得られた信号に第1の周波数の信号が検出されたときに予報音を検出したことを示す第1の検出信号を出力する予報音検出手段から前記コンピュータに出力される前記第1の検出信号を監視する予報音検出処理と、
前記電波を受信して得られた信号に第2の周波数の信号が検出されたときに正報音を検出したことを示す第2の検出信号を出力する正報音検出手段から前記コンピュータに出力される前記第2の検出信号を監視する正報音検出処理と、
前記第1の検出信号の出力のタイミングに基づいて、当該第1の検出信号の次の前記第1の検出信号が適切なタイミングに出力されたか否かを判定するための第1の有効範囲を順次狭めつつ設定するとともに、前記第1の検出信号に続く前記第2の検出信号が適切なタイミングに出力されたか否かを判定するための第2の有効範囲を最後に設定された前記第1の有効範囲より狭く設定する有効範囲設定処理と、
前記有効範囲設定処理により設定された第1の有効範囲内で複数の前記第1の検出信号を順次受けた後に、前記第2の有効範囲内で前記第2の検出信号を受けたタイミングを前記時報の示す時刻として時刻修正信号を出力する有効範囲検出処理と、
を実行させ、前記時刻修正信号の出力のタイミングに基づき時刻修正処理を行う
ことを特徴とする時刻修正用プログラム。 A time correction program for causing a computer to execute a process for correcting a time based on a plurality of forecast sounds superimposed on radio waves and a time signal composed of correct sound sounds,
Output from the forecast sound detecting means for outputting a first detection signal indicating that a forecast sound has been detected when a signal of the first frequency is detected in the signal obtained by receiving the radio wave to the computer. A forecast sound detection process for monitoring the first detection signal;
Output to the computer from a correct sound detection means for outputting a second detection signal indicating that a correct sound is detected when a signal of a second frequency is detected in the signal obtained by receiving the radio wave. A correct sound detection process for monitoring the second detection signal,
Based on the output timing of the first detection signal, a first effective range for determining whether the first detection signal next to the first detection signal is output at an appropriate timing The first effective range is set last, and the second effective range for determining whether or not the second detection signal following the first detection signal is output at an appropriate timing is set last. Effective range setting processing to set narrower than the effective range of
The timing of receiving the second detection signal within the second effective range after sequentially receiving the plurality of first detection signals within the first effective range set by the effective range setting process An effective range detection process for outputting a time correction signal as the time indicated by the time signal;
And a time correction process based on the output timing of the time correction signal.
前記有効範囲設定処理は前記タイマ処理の計測する時間に基づいて順次第1の有効範囲及び前記第2の有効範囲を設定する
ことを特徴とする請求項4に記載の時刻修正用プログラム。 A timer process for starting a time measuring operation by the first detection signal is executed;
The time correction program according to claim 4, wherein the effective range setting process sequentially sets the first effective range and the second effective range based on the time measured by the timer process.
前記有効範囲設定処理は、最初の第1の検出信号を受けて計測が開始された時間に基づいて2番目の第1の検出信号の前記有効範囲を設定し、当該有効範囲に当該2番目の第1の検出信号があったときに、当該2番目の第1の検出信号を受けて計測が開始され時間に基づいて3番目の第1の検出信号の前記有効範囲を設定し、当該有効範囲に当該3番目の第1の検出信号があったときに、当該3番目の第1の検出信号を受けて計測が開始され時間に基づいて前記第2の検出信号の前記有効範囲を設定する
ことを特徴とする請求項5に記載の時刻修正用プログラム。 The timer process restarts time measurement every time the first detection signal is received,
The effective range setting process sets the effective range of the second first detection signal based on the time when the measurement is started upon receiving the first first detection signal, and the second effective range is set in the effective range. When there is a first detection signal, measurement is started upon receipt of the second first detection signal, the effective range of the third first detection signal is set based on time, and the effective range is set. When the third first detection signal is present, measurement is started in response to the third first detection signal, and the effective range of the second detection signal is set based on the time. The time correction program according to claim 5.
前記第1の検出信号を受ける度に新たな前記生成処理の実行を開始させる実行制御処理を実行させ、
前記生成処理のいずれかから出力される前記時刻修正信号の出力のタイミングに基づき時刻修正処理を行う
ことを特徴とする請求項4乃至6の何れか1項に記載の時刻修正用プログラム。 The timer process, the effective range setting process and the effective range detection process are a set of generation processes for generating the time correction signal,
Each time the first detection signal is received, execution control processing for starting execution of the new generation processing is executed,
The time correction program according to any one of claims 4 to 6, wherein the time correction process is performed based on the output timing of the time correction signal output from any of the generation processes.
前記生成処理のいずれかから最初に出力される前記時刻修正信号の出力のタイミングに基づき時刻修正処理を行う
ことを特徴とする請求項7に記載の時刻修正用プログラム。 The generation process uses the first detection signal received first after the execution is started as its first detection signal;
The time correction program according to claim 7, wherein the time correction process is performed based on an output timing of the time correction signal output first from any of the generation processes.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007023622A JP4884247B2 (en) | 2007-02-02 | 2007-02-02 | Time correction apparatus and time correction program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007023622A JP4884247B2 (en) | 2007-02-02 | 2007-02-02 | Time correction apparatus and time correction program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2008190918A JP2008190918A (en) | 2008-08-21 |
| JP4884247B2 true JP4884247B2 (en) | 2012-02-29 |
Family
ID=39751169
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007023622A Active JP4884247B2 (en) | 2007-02-02 | 2007-02-02 | Time correction apparatus and time correction program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4884247B2 (en) |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5241560A (en) * | 1975-09-29 | 1977-03-31 | T I Shii Shichizun:Kk | Alarm sound detecting device |
| JPS5391782A (en) * | 1977-01-24 | 1978-08-11 | Shingo Kizai Kk | Timepiece time setting method and device therefor in time signal selective receiving apparatus |
| JPS6049285A (en) * | 1983-08-29 | 1985-03-18 | T I Shii Shichizun:Kk | Time signal detector |
| JP2002277574A (en) * | 2001-03-16 | 2002-09-25 | Matsushita Electric Ind Co Ltd | Time correction method and timer device |
-
2007
- 2007-02-02 JP JP2007023622A patent/JP4884247B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| JP2008190918A (en) | 2008-08-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5508819B2 (en) | Receiver | |
| US8446800B2 (en) | Time information acquisition apparatus and radio wave timepiece | |
| US8665674B2 (en) | Time code discrimination apparatus and wave clock | |
| JPH03218494A (en) | Time accuracy self-correcting clock | |
| JP4884247B2 (en) | Time correction apparatus and time correction program | |
| JP5159829B2 (en) | Time correction device | |
| JP2007078405A (en) | Timing program of software timepiece | |
| JP2021185383A (en) | Electronic devices, sounding methods for electronic devices, and programs | |
| US9807689B2 (en) | Communication device, method and communication system | |
| CN114815571B (en) | Method and system for measuring satellite-ground time difference, storage medium and electronic equipment | |
| JP2007218821A (en) | Radio-controlled timepiece | |
| JP4969482B2 (en) | Time measuring device with time correction function and time correction method | |
| JP2012202814A (en) | Gps timepiece with time correction function | |
| CN120143582B (en) | An injector time calibration method, apparatus, equipment and medium | |
| JP2006234439A (en) | Radio-controlled timepiece | |
| JP6729896B2 (en) | Detection device, alarm device, and control program | |
| JP3459771B2 (en) | Time information receiving device and clock with time correction function | |
| JP5359913B2 (en) | Radio receiver and radio clock | |
| JP3357564B2 (en) | Time generator | |
| JP2008070335A (en) | Time calibration control apparatus and method | |
| JP2017015621A (en) | Radio wave receiving device, radio wave correction timepiece and radio wave receiving method | |
| JP2002277574A (en) | Time correction method and timer device | |
| JP3361261B2 (en) | Clock with time adjustment function | |
| JP2005020042A (en) | Digital broadcast receiving apparatus and digital broadcast receiving method | |
| JP3013237B2 (en) | Time signal detection device and time correction method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080930 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110726 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110727 |
|
| 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: 20111122 |
|
| 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: 20111206 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20141216 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 4884247 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313113 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |