[go: up one dir, main page]

JPH11211858A - Analyzing method for time code for radio wave-corrected timepiece - Google Patents

Analyzing method for time code for radio wave-corrected timepiece

Info

Publication number
JPH11211858A
JPH11211858A JP10015193A JP1519398A JPH11211858A JP H11211858 A JPH11211858 A JP H11211858A JP 10015193 A JP10015193 A JP 10015193A JP 1519398 A JP1519398 A JP 1519398A JP H11211858 A JPH11211858 A JP H11211858A
Authority
JP
Japan
Prior art keywords
time
code
signal
level
data
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.)
Granted
Application number
JP10015193A
Other languages
Japanese (ja)
Other versions
JP3698882B2 (en
Inventor
Shunichi Makuta
俊一 幕田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Rhythm Co Ltd
Original Assignee
Rhythm Watch Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Rhythm Watch Co Ltd filed Critical Rhythm Watch Co Ltd
Priority to JP01519398A priority Critical patent/JP3698882B2/en
Publication of JPH11211858A publication Critical patent/JPH11211858A/en
Application granted granted Critical
Publication of JP3698882B2 publication Critical patent/JP3698882B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To allow time read-in via the analysis of a time code even with the weak radio wave and to reduce the limitation on the installation position of a timepiece body. SOLUTION: When time data are read in by the analytical process of the standard radio wave, a time code is read after 1-sec synchronization and 0-sec position detection, and level detection is made by sampling pulses. The level detection of the time data signal is made for the time of a long pulse width from the output start point of each code expressing each bit data by the length of the pulse width. When an active level is detected only during the time of a short pulse width, '1' is set. When the active level is detected after the time of the short pulse width elapses, '0' is set. If the time data are not within the range of the value normally used for time display, the analytical process of the standard ratio wave is again started from the 1-sec synchronization and 0-sec position detection.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、長波の標準電波を
用いて表示時刻を修正する電波修正時計に関するもので
あり、尚詳しくは、標準電波に含まれる時刻コードの解
析方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a radio-controlled timepiece that corrects display time using a long standard radio wave, and more particularly to a method of analyzing a time code contained in a standard radio wave.

【0002】[0002]

【従来の技術】今日、日本標準時を高精度で伝える長波
の標準電波(JG2AS)を用い、日本標準時との誤差
を極めて少なくした時刻を表示する電波修正時計が用い
られている。この電波修正時計は、40キロヘルツの搬
送周波数とされた標準電波を受信するバーアンテナを有
し、受信した標準電波から時刻コードなどのデータ信号
を復調する受信復調手段を有するものである。
2. Description of the Related Art Today, a radio-controlled timepiece that uses a long-wave standard radio wave (JG2AS) that conveys the Japan Standard Time with high accuracy and displays the time with an extremely small difference from the Japanese Standard Time is used. This radio-controlled timepiece has a bar antenna for receiving a standard radio wave having a carrier frequency of 40 kHz, and has a reception demodulator for demodulating a data signal such as a time code from the received standard radio wave.

【0003】そして、この電波修正時計では、水晶発振
器と分周器とで形成された1ヘルツの秒信号をカウント
する時刻カウンタと、受信復調手段で復調したデータ信
号から時刻コードを解読するマイクロコンピュータとを
有し、所要時間毎に標準電波の受信及び時刻コードの解
析を行うものである。更に、この電波修正時計は、時刻
コードを解析して正確な日本標準時の時刻データを求め
たときに、この日本標準時の時刻データを時刻カウンタ
に読み込んで時刻カウンタの値を正確に日本標準時に合
わせ、デジタル表示式の時計体ではこの時刻カウンタの
値を1秒毎に増加させつつ時刻カウンタのカウント値を
液晶表示装置などの表示装置に表示するものとしてい
る。
In this radio-controlled timepiece, a time counter for counting a one-hertz second signal formed by a crystal oscillator and a frequency divider, and a microcomputer for decoding a time code from a data signal demodulated by reception demodulation means are provided. And receives the standard radio wave and analyzes the time code for each required time. Furthermore, this radio-controlled clock reads the time code of Japan Standard Time into a time counter when the time code is analyzed to determine the correct time data of Japan Standard Time, and adjusts the value of the time counter exactly to Japan Standard Time. In a digital display type clock body, the count value of the time counter is displayed on a display device such as a liquid crystal display device while the value of the time counter is increased every second.

【0004】又、指針を駆動して時刻を表示するアナロ
グ式の電波修正時計では、バーアンテナ及び受信復調手
段を有すると共に、時刻コードを解読し且つ指針駆動モ
ータを制御するマイクロコンピュータを内蔵した時計体
とされている。このアナログ式の電波修正時計は、例え
ば、図12に示すように、標準電波を受信するバーアン
テナ13、及び、標準電波から時刻コード信号などのデー
タ信号を復調する受信復調手段15、更に、時刻コードを
解析し且つ指針駆動モータを制御するマイクロコンピュ
ータ11を有するものである。
An analog radio-controlled timepiece that displays the time by driving the hands has a bar antenna and a receiving / demodulating means, and also has a built-in microcomputer for decoding the time code and controlling the hands driving motor. It is a body. For example, as shown in FIG. 12, the analog radio-controlled timepiece includes a bar antenna 13 for receiving a standard radio wave, a reception demodulation unit 15 for demodulating a data signal such as a time code signal from the standard radio wave, It has a microcomputer 11 for analyzing a code and controlling a pointer driving motor.

【0005】このマイクロコンピュータ11には、ムーブ
メント21に組み込む秒針用モータ25や時分針用モータ27
が接続され、マイクロコンピュータ11からの出力パルス
がモータ駆動用バッファ23を介して秒針用モータ25や時
分針用モータ27に印加されるものである。又、時針及び
分針が0時0分を示す指針位置を検知する時分針用セン
サ33、及び、秒針が0秒を示す指針位置を検知する秒針
用センサ31もムーブメント21に有し、この時分針用セン
サ33及び秒針用センサ31もマイクロコンピュータ11に接
続しているものである。
[0005] The microcomputer 11 has a second hand motor 25 and an hour / minute hand motor 27 incorporated in the movement 21.
Is connected, and an output pulse from the microcomputer 11 is applied to the second hand motor 25 and the hour / minute hand motor 27 via the motor drive buffer 23. The movement 21 also has an hour / minute hand sensor 33 for detecting the hand position where the hour hand and the minute hand indicate 0:00, and a second hand sensor 31 for detecting the hand position where the second hand indicates 0 second. The sensor 33 for the second hand and the sensor 31 for the second hand are also connected to the microcomputer 11.

【0006】尚、このマイクロコンピュータ11には、リ
セットスイッチ19や水晶発振回路17も接続されている。
そして、このマイクロコンピュータ11には、受信復調手
段15の出力レベルを検出するレベル検出手段、標準電波
に含まれる信号コードを解読する解析手段としての機能
を持たせ、更に標準電波に含まれるコード信号の内、時
刻コード信号に基づいて当該時計体の時刻カウンタに正
確な現時刻を設定する時刻設定手段としての機能をも持
たせ、又、標準電波に基づいた時刻コード信号による時
刻データがセットされて1秒毎にカウント値を進める時
刻カウンタが設けられているものである。更に、時刻カ
ウンタのカウント値と指針により表示している現時刻の
値との比較を行う比較手段や、1秒毎に秒針用モータ25
を1ステップ駆動し、且つ、10秒毎などに時分針用モ
ータ27を1ステップ駆動する主制御手段としての機能を
有すると共に、この秒針用モータ25や時分針用モータ27
に出力するパルス数をカウントすることにより、指針が
表示している現時刻を記憶する表示カウンタも有するマ
イクロコンピュータ11である。
A reset switch 19 and a crystal oscillation circuit 17 are also connected to the microcomputer 11.
The microcomputer 11 has a function as a level detecting means for detecting the output level of the receiving and demodulating means 15 and an analyzing means for decoding a signal code contained in the standard radio wave. Of these, the time counter of the clock body has a function as time setting means for setting an accurate current time based on the time code signal, and time data based on the time code signal based on the standard time signal is set. A time counter that advances the count value every second. Further, comparing means for comparing the count value of the time counter with the current time value indicated by the hands, a second hand motor 25 for every second.
Of the second hand motor 25 and the hour / minute hand motor 27 as a main control means for driving the hour / minute hand motor 27 one step every 10 seconds or the like.
The microcomputer 11 also has a display counter that stores the current time indicated by the hands by counting the number of pulses output to the pointer.

【0007】又、主制御手段としては、1秒毎に1ステ
ップづつ秒針を歩進させ、10秒毎に1ステップづつ時
分針を歩進させる制御を行うのみでなく、1秒間に10
乃至20ステップの歩進を行わせる早送りの制御も行う
ものである。そして、この早送り制御は、時刻カウンタ
のカウント値と表示カウンタのカウント値との一致検出
を行いつつ、両カウンタのカウント値が一致するまで指
針を早送りする早送り修正を行う場合や、秒針用センサ
31が秒針の0位置を検出するまで、及び、時分針用セン
サ33が時針及び分針の0位置を検出するまでの早送りを
行う帰零制御の場合に実行されるものである。
The main control means not only controls the second hand to advance by one step every one second and the hour and minute hands by one step every ten seconds, but also controls the hour and minute hands every ten seconds.
It also controls fast-forwarding to perform steps of up to 20 steps. This fast-forward control detects the coincidence between the count value of the time counter and the count value of the display counter, and performs a fast-forward correction of fast-forwarding the hands until the count values of both counters match.
This is executed in the case of the zero-return control in which fast-forwarding is performed until 31 detects the 0 position of the second hand and until the hour / minute hand sensor 33 detects the 0 position of the hour hand and the minute hand.

【0008】尚、時計体によっては、秒針用モータ25の
他に分針用モータと時針用モータとを設け、3個のモー
タにより秒針や分針及び時針を各々個別に駆動制御する
ものもある。そして、この電波修正時計では、バーアン
テナ13などにより標準電波を受信し、受信復調手段15に
より標準電波から時刻コード信号などを復調し、この復
調信号をマイクロコンピュータ11に入力して時刻コード
を解析し、時分秒の各データを時刻カウンタにセットす
るものである。又、このマイクロコンピュータ11は、正
確な基準周波数信号を出力する水晶発振器などの発振回
路17の出力によりマイクロコンピュータ11を作動させ、
このマイクロコンピュータ11に解析手段や主制御手段と
しての各種制御や作動を行なわせるものである。
In some timepieces, a minute hand motor and an hour hand motor are provided in addition to the second hand motor 25, and the three hands drive and control the second hand, minute hand and hour hand individually. In this radio-controlled timepiece, a standard radio wave is received by the bar antenna 13 or the like, a time code signal or the like is demodulated from the standard radio wave by the reception / demodulation means 15, and the demodulated signal is input to the microcomputer 11 to analyze the time code. Then, each data of hour, minute, and second is set in a time counter. The microcomputer 11 operates the microcomputer 11 by an output of an oscillation circuit 17 such as a crystal oscillator that outputs an accurate reference frequency signal,
The microcomputer 11 performs various controls and operations as analysis means and main control means.

【0009】このマイクロコンピュータ11が行う制御動
作としては、電池が挿入されたときやリセットスイッチ
19が操作されたとき、図13に示すように、先ず初期設
定(S111)を行い、帰零制御(S113)を行うも
のである。この帰零制御(S113)は、秒針用モータ
25や時分針用モータ27に10ヘルツ又は20ヘルツなど
の周波数とするモータ駆動用パルスを出力し、モータ駆
動用バッファ23を介して各モータ25,27に駆動パルス電
圧を印加して各モータ25,27を早送りするものである。
The microcomputer 11 performs a control operation when a battery is inserted or a reset switch.
When the button 19 is operated, as shown in FIG. 13, first, initial setting (S111) is performed, and zero-return control (S113) is performed. This return-to-zero control (S113) is performed by the second hand motor.
A motor drive pulse having a frequency of 10 Hz or 20 Hz is output to the motor 25 or the hour / minute hand 27, and a drive pulse voltage is applied to each of the motors 25, 27 via the motor drive buffer 23, and each motor 25 is output. , 27 fast forward.

【0010】更に、帰零制御(S113)では、秒針用
モータ25や時分針用モータ27に1パルスのモータ駆動パ
ルスを出力する毎に秒針用センサ31や時分針用センサ33
を作動させ、秒針用センサ31により秒針が0位置に達し
たか否かを検出し、又、時分針用センサ33により時針及
び分針が0位置に達したか否かを検出するものである。
Further, in the zero-return control (S113), the second hand sensor 31 and the hour / minute hand sensor 33 each time one motor drive pulse is output to the second hand motor 25 or the hour / minute hand motor 27.
The second hand sensor 31 detects whether the second hand has reached the zero position, and the hour / minute hand sensor 33 detects whether the hour hand and the minute hand have reached the zero position.

【0011】そして、秒針用センサ31により秒針が0秒
位置に達したことを検知したときは秒針用モータ25への
モータ駆動パルスの出力を停止し、又、時分針用センサ
33により時針及び分針が0時0分位置に達したことを検
知したときは時分針用モータ27へのモータ駆動パルスの
出力を停止するものである。このようにして、帰零制御
(S113)により秒針及び時分針を0位置に早送りし
た後、マイクロコンピュータ11は、バーアンテナ13で標
準電波を受信して受信復調手段15で復調した時刻コード
などの解析及び日本標準時の時刻読込み(S115)を
行うものである。
When the second hand sensor 31 detects that the second hand has reached the 0 second position, the output of the motor drive pulse to the second hand motor 25 is stopped.
When detecting that the hour hand and the minute hand have reached the 0:00 position by 33, the output of the motor drive pulse to the hour / minute hand motor 27 is stopped. In this way, after the second hand and the hour / minute hand are rapidly advanced to the zero position by the zero-return control (S113), the microcomputer 11 receives the standard radio wave by the bar antenna 13 and demodulates by the reception demodulation means 15 the time code and the like. The analysis and the reading of the time of Japan Standard Time (S115) are performed.

【0012】この郵政省で定めているJG2ASの標準
電波は、図14に示すように、0秒から0.2秒間の基
準マーカー信号を形成し、9秒、19秒、29秒などの
10秒毎に0.2秒間のポジションマーカー信号を形成
し、1秒から8秒の間に分データ信号を、12秒から1
8秒の間に時データ信号を、22秒から33秒の間に日
データ信号を形成し、更に他の種々のデータ信号も各秒
に挿入するものとしており、データ信号は0.8秒間の
長パルス信号を2進数の「0」に、0.5秒間の短パル
ス信号を2進数の「1」として1分間に所定の2進コー
ドの信号を含ませ、基準マーカー信号の立ち上りを正確
に0秒に合わせているものである。
As shown in FIG. 14, the JG2AS standard radio wave defined by the Ministry of Posts and Telecommunications forms a reference marker signal of 0 to 0.2 seconds, and 10 seconds such as 9 seconds, 19 seconds, and 29 seconds. A position marker signal of 0.2 seconds is formed every minute, and a minute data signal is generated between 1 second and 8 seconds.
An hour data signal is formed during 8 seconds, a day data signal is formed between 22 seconds and 33 seconds, and various other data signals are inserted at each second. A long pulse signal is set to a binary “0”, and a short pulse signal for 0.5 seconds is set to a binary “1”, and a signal of a predetermined binary code is included in one minute, so that the rising of the reference marker signal is accurately performed. It is set to 0 seconds.

【0013】尚、この標準電波における分データは、1
秒目に0.5秒幅の「1」があれば40分の値を、2秒
目に0.5秒幅の「1」があれば20分の値を、3秒目
に0.5秒幅の「1」があれば10分の値を、5秒目に
0.5秒幅の「1」があれば8分の値を、6秒目に0.
5秒幅の「1」があれば4分の値を、7秒目に0.5秒
幅の「1」があれば2分の値を、8秒目に0.5秒幅の
「1」があれば1分の値を示し、各秒目に0.8秒幅の
「0」があれば各数値を0とし、各桁のコード「0」又
はコード「1」の組み合わせにより0分から59分まで
の標準時の値を示す。又、時データは、12秒目に0.
5秒幅の「1」があれば20時の値を、13秒目に0.
5秒幅の「1」があれば10時の値を、15秒目に0.
5秒幅の「1」があれば8時の値を、16秒目に0.5
秒幅の「1」があれば4時の値を、17秒目に0.5秒
幅の「1」があれば2時の値を、18秒目に0.5秒幅
の「1」があれば1時の値を示し、各秒目に0.8秒幅
の「0」があれば各数値を0とし、各桁のコード「0」
又はコード「1」の組み合わせにより0時から23時ま
での標準時の値を示し、20秒目以降には年間通算日な
ど、その他のデータを0.8秒幅のコード「0」と0.
5秒幅のコード「1」との組み合わせにより含むもので
ある。
The minute data in the standard radio wave is 1
If there is a “1” with a 0.5 second width in the second, the value of 40 minutes, if there is a “1” with a 0.5 second width in the second, a value of 20 minutes and 0.5 in the third second If there is a "1" in the second width, a value of 10 minutes is used. If there is a "1" in the 0.5 second width at the fifth time, a value of 8 minutes is used.
If there is "1" with a width of 5 seconds, the value of 4 minutes is used. If "1" with a width of 0.5 seconds is 7 seconds, a value of 2 minutes is set. ”Indicates a value of 1 minute, and if there is a“ 0 ”with a 0.8 second width in each second, each numerical value is set to 0, and from 0 minutes by a combination of a code“ 0 ”or a code“ 1 ”of each digit. The values at standard time up to 59 minutes are shown. The hour data is set to 0.
If there is a “1” having a width of 5 seconds, the value at 20:00 is set to 0 at the 13th second.
If there is a "1" with a width of 5 seconds, the value at 10:00 is set to 0 at the 15th second.
If there is a "1" with a width of 5 seconds, the value at 8:00 is set to 0.5 at the 16th second.
If there is a second width of “1”, the value of 4:00 is given if there is a 0.5 second width “1” at the 17th second, and the value of 2:00 is given if the second width is 18 seconds. Indicates the value of 1 o'clock, and if there is a "0" with a 0.8 second width at each second, each numerical value is set to 0, and the code of each digit is "0"
Alternatively, the value of the standard time from 0:00 to 23:00 is indicated by a combination of the code “1”, and other data such as the day of the year after the twentieth second is converted to the code “0” and 0.8.
It is included in combination with the code “1” having a width of 5 seconds.

【0014】そして、日本標準時の読込み(S115)
は、図15に示すように、マーカー信号やデータ信号の
立ち上がりに合わせて先ず1秒同期を取り(S20
1)、同期が取れたか否かの判断を行い(S202)、
同期が取れたときは0.2秒幅のマーカー信号を検出す
る0秒位置の検出(S203)を行い、0秒位置か否か
の判断(S204)をマーカー信号が2個連続してポジ
ションマーカー信号に続く基準マーカー信号の検出によ
って行うものである。
Then, reading of Japan Standard Time (S115)
First, as shown in FIG. 15, first one second is synchronized with the rise of the marker signal or the data signal (S20).
1) It is determined whether synchronization has been achieved (S202).
When synchronization is established, detection of a 0-second position for detecting a marker signal having a width of 0.2 seconds is performed (S203), and determination of whether or not the position is a 0-second position (S204) is performed by continuously detecting two marker signals by two marker signals. This is performed by detecting a reference marker signal following the signal.

【0015】更に、0秒位置を検出したときは、データ
信号のレベルがHレベルか否かの判断(S205)を行
いつつコード信号のパルス幅を測定し(S206)、H
レベルの持続時間によって分データ信号や時データ信号
の各信号をコード「0」又はコード「1」とする2進コ
ード信号とし、この2進コード信号を時刻データにコー
ド変換(S207)することを行うものであり、最終デ
ータが読み込まれたか否かの判断(S208)を行って
最後に時刻データが適切な数値であるか否かの判断(S
209)を行うものである。
Further, when the 0-second position is detected, the pulse width of the code signal is measured while determining whether the level of the data signal is at the H level (S205) (S206).
Each signal of the minute data signal and the hour data signal is converted into a binary code signal having a code “0” or a code “1” according to the level duration, and the binary code signal is converted into time data (S207). It is determined whether or not the last data has been read (S208), and finally, whether or not the time data is an appropriate numerical value (S208).
209).

【0016】この分データ信号や時データ信号の各パル
ス幅により「0」又は「1」の2進コード信号を形成す
るに際し、パルス幅の検出としては、1秒間に数十回の
サンプリングを行い、数十回の検出の内、アクティブレ
ベルの検出回数に基づいて0.5秒幅の「1」と0.8
秒幅の「0」とを識別する方法や、1秒間に数十回のサ
ンプリングを行い、H又はLの同一レベルが数回連続し
たときにレベル判定を行いつつHからLへの変化点及び
LからHへの変化点を検出してアクティブレベルの幅を
検知し、コード「0」又はコード「1」の識別を行う方
法、更に、0.3秒又は0.4秒位置と0.7秒位置な
どの2箇所を決めて1秒間に2回の検出を行うことによ
り、0.5秒幅のコード「1」と0.8秒幅のコード
「0」とを識別する方法などが採用されている。
When a binary code signal of "0" or "1" is formed based on the pulse widths of the minute data signal and the hour data signal, sampling is performed several tens of times per second to detect the pulse width. Of the tens of detections, “1” and 0.8 having a width of 0.5 seconds are determined based on the number of detections of the active level.
A method of identifying a second width of “0”, a sampling of several tens of times per second, and a change point from H to L while performing level determination when the same level of H or L continues several times, and A method of detecting the point of change from L to H to detect the width of the active level and identifying code “0” or code “1”. A method such as determining a 0.5-second width code "1" and a 0.8-second width code "0" by determining two points such as the second position and performing detection twice a second is adopted. Have been.

【0017】ところで、標準電波の受信状態が良好であ
れば、図16のAに示すように、受信復調手段15の出力
信号は、0.2秒幅や0.5秒幅、又は0.8秒幅のア
クティブレベル(図示ではLレベル)を有するパルス信
号が1秒間隔で出力されるものである。しかし、屋内な
どの設置場所によっては電波が微弱となることがある。
このため、受信復調手段15によるコード信号の復調が正
確に行えず、受信復調手段15に組み込まれている微分回
路などによりコード信号の変化点が強調されつつコード
信号に追従したレベル変化を有する信号となることがあ
り、又、他の電波などのノイズの影響を受けるために、
図16のBに示すように不正確なレベル信号が形成さ
れ、閾値VHによりLレベルとHレベルとを区別する
と、受信復調手段15の出力は図16のCに示すように一
応はコード信号に対応しつつもHレベルとLレベルとが
混在した不正確な復調波となるものである。
If the reception condition of the standard radio wave is good, the output signal of the receiving / demodulating means 15 has a width of 0.2 seconds, 0.5 seconds, or 0.8 seconds as shown in FIG. A pulse signal having a second width active level (L level in the figure) is output at one second intervals. However, the electric wave may be weak depending on the installation location such as indoors.
For this reason, the demodulation of the code signal by the reception demodulation means 15 cannot be performed accurately, and a signal having a level change that follows the code signal while emphasizing a change point of the code signal by a differentiating circuit incorporated in the reception demodulation means 15 or the like. And may be affected by noise such as other radio waves,
When an inaccurate level signal is formed as shown in FIG. 16B, and the L level and the H level are distinguished by the threshold value VH, the output of the receiving / demodulating means 15 becomes a code signal as shown in FIG. Although it corresponds, it becomes an inaccurate demodulated wave in which the H level and the L level are mixed.

【0018】従って、電波が微弱になると、コード信号
のパルス幅、即ち分データ信号や時データ信号の「0」
又は「1」を正確に判別して分データ信号や時データ信
号の解読をすることができなくなることが有る。このた
め、時刻データ信号を解読して求めた時刻データが不適
切な数値、例えば分データとして60以上の数値とな
り、又、時データとして24以上の値となり、分データ
や時データが通常の時刻表示に使用されない値となった
とき、再度、標準電波の解析及び時刻読込みを行うもの
であって、このデータ信号の解析に基づく日本標準時の
読込みと1秒毎の通常運針と合わせて行う標準電波の受
信及び時刻読込み(S115)を所要時間継続するもの
である。
Therefore, when the radio wave becomes weak, the pulse width of the code signal, that is, “0” of the minute data signal and the hour data signal is reduced.
Alternatively, the minute data signal and the hour data signal may not be deciphered by accurately determining “1”. Therefore, the time data obtained by decoding the time data signal is an inappropriate value, for example, a value of 60 or more as minute data, and a value of 24 or more as hour data. When the value becomes a value not used for display, the standard signal is analyzed again and the time is read again. And the time reading (S115) is continued for a required time.

【0019】そして、日本標準時の時刻データを適切な
数値として読み取ったときは、この時刻データを時刻カ
ウンタにプリセットし(S211)、更に1秒以下の誤
差を修正するように1ヘルツの秒信号を形成する分周回
路や秒カウンタを0秒に合わせてリセットし(S21
5)、標準電波の受信及び時刻読込み(S115)を終
了するものである。
When the time data of Japan Standard Time is read as an appropriate numerical value, this time data is preset in a time counter (S211), and a second signal of 1 Hz is corrected so as to correct an error of 1 second or less. The dividing circuit and the second counter to be formed are reset to 0 seconds (S21).
5) The standard radio wave reception and time reading (S115) are terminated.

【0020】又、この標準電波の受信及び時刻読込み
(S115)を所要時間継続し、又は標準電波の受信及
び時刻読込み(S115)において秒カウンタのリセッ
トを行った後、図13に示したように、時刻カウンタへ
のプリセット即ち適切な数値の時刻データの読込みを行
ったか否かの判断(S117)を行い、時刻データの読
込みを行ったときは、日本標準時の時刻データをプリセ
ットして1秒毎にカウントアップする時刻カウンタの数
値に対応させた時刻を指針により表示させる早送り修正
(S119)を行うものである。
After receiving the standard radio wave and reading the time (S115) for a required time or resetting the second counter in the standard radio wave receiving and reading the time (S115), as shown in FIG. It is determined whether or not the time counter has been preset, that is, whether or not the time data of an appropriate numerical value has been read (S117). When the time data has been read, the time data of Japan Standard Time is preset and The fast forward correction (S119) is performed in which the time corresponding to the value of the time counter that counts up is displayed by the hands.

【0021】この早送り修正は、時刻カウンタと表示カ
ウンタの各カウント値が一致しているか否かの判断を行
って一致していないときはモータ駆動パルスの出力を行
いつつ表示カウンタの値を1増加させ、両カウンタの各
カウント値が一致しているか否かの判断を行い、一致し
ていないときはモータ駆動パルスを出力して早送り修正
の修正を継続し、一致すれば通常運針(S120)を行
うようにするものである。
In this fast-forward correction, it is determined whether or not the count values of the time counter and the display counter match, and when they do not match, the value of the display counter is increased by 1 while outputting a motor drive pulse. It is determined whether or not the respective count values of both counters match, and if they do not match, the motor drive pulse is output to continue the correction of the fast-forward correction, and if they match, the normal hand operation (S120) is performed. What you do.

【0022】尚、この早送り修正に際しては、秒針用モ
ータ25にモータ駆動パルスの出力を10回又は20回な
どの所定回数の出力を行う毎に時分針用モータ27にモー
タ駆動パルスを1回出力する場合や、時刻カウンタ及び
表示カウンタを時分カウンタと秒カウンタとに分離して
おき、時分針用モータ27による時分針の早送りは、時刻
カウンタの内の時分カウンタと表示カウンタの時分カウ
ンタとのカウント値が一致するまで行いつつ、合わせて
時刻カウンタの内の秒カウンタと表示カウンタの秒カウ
ンタとのカウント値が一致するまで秒針用モータ25を早
送り駆動する制御を行うこともある。
In this fast-forward correction, a motor drive pulse is output once to the hour / minute hand motor 27 every time the motor drive pulse is output to the second hand motor 25 a predetermined number of times, such as 10 or 20 times. When the time counter and the display counter are separated into an hour / minute counter and a second counter, and the hour / minute hand is fast-forwarded by the hour / minute hand motor 27, the hour / minute counter of the time counter and the hour / minute counter of the display counter are used. In some cases, the second hand motor 25 is fast-forward-driven until the count value of the second counter of the time counter and the second counter of the display counter match while the count value of the second counter and the second counter of the time counter match.

【0023】そして、日本標準時の時刻を指針で表示さ
せた後は、1秒毎に秒針を駆動し、10秒又は数十秒毎
に分針及び時針を駆動する通常運針(S120)を行
い、更に、自動修正時刻か否かの判断(S121)に基
づき、自動修正時刻になったときは、数分間乃至10分
間程度の所要時間だけ標準電波の受信及びコード解析を
行って日本標準時の時刻データを時刻カウンタにプリセ
ットする時刻読込み(S123)を行うものである。
After the time in Japan Standard Time is displayed by the hands, the second hand is driven every one second, and the normal hand (S120) for driving the minute hand and the hour hand every ten seconds or several tens of seconds is performed. When it is determined that the time is the automatic correction time (S121), when the automatic correction time comes, the reception of the standard radio wave and the code analysis are performed for the required time of several minutes to about 10 minutes to convert the time data of Japan Standard Time. The time reading (S123) to be preset in the time counter is performed.

【0024】更に、時刻カウンタへのプリセットなどを
行って時刻データの読込みを行ったか否かの判断(S1
25)を行い、時刻カウンタへのプリセットなどの時刻
読込みを行ったときは日本標準時の時刻データと指針に
よる表示時刻の表示データとが一致しているか否かの判
断(S127)を行い、誤差が生じているときは表示修
正(S129)を行うものである。
Further, it is determined whether or not the time data has been read by presetting the time counter (S1).
25) is performed, and when the time such as presetting to the time counter is read, it is determined whether or not the time data of Japan Standard Time matches the display data of the display time by the hands (S127). If so, the display is corrected (S129).

【0025】そして、時刻差がないときは通常運針(S
120)に戻り、次の自動修正時刻に達したか否かの判
断(S121)を繰り返し、時刻差があるときは表示修
正(S129)を行うものである。この表示修正(S1
29)は、時刻カウンタのカウント値と表示カウンタの
カウント値との大小比較を行い、時刻カウンタのカウン
ト値が大きい場合は早送り修正を行い、表示カウンタの
カウント値が大きい場合は、秒針などの歩進を停止させ
て時刻カウンタのカウント値と表示カウンタのカウント
値との比較を繰り返し、時刻カウンタのカウント値と表
示カウンタのカウント値とが一致するまで秒針などの歩
進を停止しておくか、又は、出力端子の切り換えを行っ
て秒針用モータ25などを逆転させつつ表示カウンタのカ
ウント値を順次減算し、両カウンタのカウント値を一致
させるものもある。
When there is no time difference, the normal hand operation (S
Returning to step 120), it is determined whether or not the next automatic correction time has been reached (S121). If there is a time difference, the display is corrected (S129). This display correction (S1
29) Compares the count value of the time counter with the count value of the display counter, corrects the fast-forward when the count value of the time counter is large, and corrects the steps such as the second hand when the count value of the display counter is large. Stop the advance and repeat the comparison of the count value of the time counter and the count value of the display counter, and stop the advance of the second hand or the like until the count value of the time counter matches the count value of the display counter, Alternatively, there is a device in which the count values of the display counters are sequentially reduced while the output terminals are switched to reverse the second hand motor 25 and the like, so that the count values of both counters match.

【0026】このようにして、電波修正時計は、電池交
換時やリセット時には、指針を0時0分0秒とした後、
1秒毎に秒針を駆動しつつ標準電波を受信して時刻コー
ド信号などを解析し、日本標準時の時刻データの値を時
刻カウンタにプリセットする時刻読込みを行って日本標
準時を表示するように秒針及び時分針などの指針を運針
制御し、以後、1日に1回又は数回の標準電波の受信及
びコード信号の解析による時刻読込みを行って表示時刻
と日本標準時との誤差を修正し、常に正確な時刻の表示
を行うものである。
In this way, the radio-controlled timepiece sets the hands at 0: 0: 0 when replacing the battery or resetting it.
While driving the second hand every second, receive the standard time signal, analyze the time code signal, etc., read the time data to preset the time data value of Japan Standard Time in the time counter, and display the Japan Standard Time The hands, such as the hour and minute hands, are controlled by hand movement. After that, once or several times a day, the standard time is received and the time is read by analyzing the code signal to correct the error between the displayed time and the Japan Standard Time, so that it is always accurate The display of the time is performed.

【0027】尚、この電波修正時計では、図12に示し
たように、発光ダイオード38などの読込み表示手段37を
マイクロコンピュータ11に接続し、この読込み表示手段
37を時計体の文字板などに設け、標準電波の受信及び時
刻読込みの処理(S115,S123)を行っていると
きは、この読込み表示手段37を点滅させることも行われ
ている。
In this radio-controlled timepiece, as shown in FIG. 12, a reading and displaying means 37 such as a light emitting diode 38 is connected to the microcomputer 11, and the reading and displaying means is connected to the microcomputer 11.
37 is provided on a dial of a clock body or the like, and when the processing of receiving the standard radio wave and reading the time (S115, S123) is performed, the reading display means 37 is also made to blink.

【0028】[0028]

【発明が解決しようとする課題】前述のように、標準電
波を解析することにより日本標準時に合わせた時刻の表
示を行う電波修正時計は、常に正確な時刻を表示するこ
とが可能となるものである。しかし、屋内など、電波が
微弱な位置に配置される電波修正時計においては、時刻
コードを正確に読み取ることが困難となるため、正確な
時刻表示を行えなくなることが有る。
As described above, a radio-controlled timepiece that displays a time adjusted to Japan Standard Time by analyzing a standard time signal can always display an accurate time. is there. However, in a radio-controlled timepiece in which radio waves are weakly located, such as indoors, it is difficult to accurately read the time code, so that accurate time display may not be performed.

【0029】このため、標準電波の受信状態が良好な位
置に電波修正時計を設置しなければ正確な時刻表示を行
わせることができず、時計体の設置場所が制限される場
合があった。本発明は、このような欠点を排除し、微弱
な電波であっても時刻コードの解析による時刻読込みを
可能とし、ひいては時計体の設置場所の制限を少なくす
るものである。
For this reason, accurate time display cannot be performed unless the radio-controlled timepiece is installed at a position where the reception condition of the standard radio wave is good, and the installation place of the clock body is sometimes limited. The present invention eliminates such a drawback, enables reading of time by analyzing a time code even with a weak radio wave, and reduces restrictions on the installation location of the clock body.

【0030】[0030]

【課題を解決するための手段】本発明は、標準電波の解
析処理を行って時刻データを読み込むに際し、1秒同期
及び0秒位置検出を行った後、時刻コードの読み取り処
理において、サンプリングパルスによりコード信号のレ
ベル検出を行い、パルス幅の長短により分データ及び時
データを現す各コードの出力開始点から長パルスの時間
内だけ分データ信号及び時データ信号のレベル検出を行
い、短パルスの時間幅内にのみアクティブレベルを検出
したときはコード「1」又はコード「0」の一方とし、
短パルスの時間幅経過後にアクティブレベルを検出した
ときはコード「0」又はコード「1」の他方とし、分デ
ータ及び時データの値が通常の時刻表示に使用される適
正値の範囲でないときは、再度、1秒同期及び0秒位置
検出から標準電波の解析処理を行うこととする。
According to the present invention, when performing standard radio wave analysis processing to read time data, 1 second synchronization and 0 second position detection are performed, and then in time code reading processing, sampling pulses are used. The level of the code signal is detected, and the level of the minute data signal and the hour data signal are detected within the time of the long pulse from the output start point of each code that indicates minute data and hour data according to the length of the pulse width. When an active level is detected only within the width, it is determined to be either code "1" or code "0",
If the active level is detected after the elapse of the short pulse time width, it is the other of code "0" or code "1". If the values of minute data and hour data are not within the range of appropriate values used for normal time display, Then, the standard radio wave analysis processing is performed again from the one-second synchronization and the zero-second position detection.

【0031】このように、時刻修正に必要な分データ信
号及び時データ信号のレベル検出を行うものとし、コー
ド信号における各コードの出力開始点から長パルスの時
間幅である0.8秒間だけのレベル検出を行い、短パル
スの時間幅である最初の0.5秒間の内にのみアクティ
ブレベルを検出したときはコード「1」又はコード
「0」を設定する故、微弱な電波からも時刻データとし
て必要なコード「1」又はコード「0」を設定すること
ができる。
As described above, the level detection of the minute data signal and the hour data signal required for time correction is performed, and only 0.8 seconds, which is the time width of a long pulse, from the output start point of each code in the code signal. If level detection is performed and an active level is detected only within the first 0.5 seconds, which is the time width of a short pulse, code "1" or code "0" is set, so time data can be obtained from weak radio waves. The necessary code "1" or code "0" can be set.

【0032】又、1秒間の内、コードの出力開始点から
長パルスの時間幅である0.8秒間だけのレベル検出を
行い、短パルスの時間幅である0.5秒以降であってコ
ードの出力開始点から0.8秒以内にアクティブレベル
を検出したときはコード「0」又はコード「1」を設定
する故、微弱な電波からも時刻データとして必要なコー
ド「0」又はコード「1」を設定することができる。
In one second, level detection is performed for only 0.8 seconds, which is the time width of a long pulse, from the output start point of the code. When the active level is detected within 0.8 seconds from the output start point of the data, the code "0" or the code "1" is set, so that the code "0" or the code "1" required as time data even from a weak radio wave is set. Can be set.

【0033】そして、必要な時刻データのコード位置及
び各コードの時間幅のみのレベル検出を行う故、時刻デ
ータに不必要な箇所のノイズに影響されることなく時刻
データを解析することができる。更に、この発明では分
データ及び時データの値が適正値の範囲である否かの判
断を行い、時刻データの値が適正値の範囲でないときは
1秒同期から再度処理を行うから、微弱な電波からも正
確に時刻データを読み取ることができる。
Since the level detection is performed only for the code position of the required time data and the time width of each code, the time data can be analyzed without being affected by noise at unnecessary portions of the time data. Further, according to the present invention, it is determined whether or not the values of the minute data and the hour data are within a proper value range. If the value of the time data is not within the proper value range, the processing is performed again from 1 second synchronization. Time data can be accurately read from radio waves.

【0034】尚、本発明においては、信号のレベル検出
は、1秒内に数十回のサンプリングを割込み信号に基づ
いて行い、サンプリング回数中、1回又は数回でもアク
ティブレベルを検出したときは、時刻コードの識別を行
うものである。このように、割込み信号に基づくサンプ
リングによりレベル検出を行う故、1秒間に数十回のレ
ベル検出を容易に行い、1回又は数回のアクティブレベ
ルの検出をもって時刻コードの判別を行うから、微弱な
電波から容易にコード「0」又はコード「1」を形成す
ることができる。
In the present invention, the signal level is detected several tens of times within one second based on the interrupt signal, and when the active level is detected once or several times during the number of samplings, , Time code. As described above, since the level detection is performed by sampling based on the interrupt signal, the level detection is easily performed several tens of times per second, and the time code is determined by detecting the active level once or several times. The code “0” or the code “1” can be easily formed from a simple radio wave.

【0035】更に、時刻コード信号のパルス幅計測やサ
ンプリングにおいて、検出数をカウントし、このカウン
ト数を積算してアクティブレベルの時間幅を求めるなど
の演算処理を行う必要がなく、簡単で容易にコード
「0」又はコード「1」とする処理が行えるものであ
る。又、本発明においては、レベル検出に際し、長パル
ス及び短パルスの各コード出力開始点から0.8秒以内
にアクティブレベルを全く検出できないときは、1秒同
期及び0秒位置検出の処理から、再度、標準電波のコー
ド解析処理を行うこととする。
Further, in the pulse width measurement and sampling of the time code signal, there is no need to perform arithmetic processing such as counting the number of detections and integrating the counts to obtain the time width of the active level, which is simple and easy. It is possible to perform the process of setting the code to “0” or “1”. In the present invention, when detecting the level, when no active level can be detected within 0.8 seconds from the start point of each code output of the long pulse and the short pulse, from the processing of 1 second synchronization and 0 second position detection, The code analysis processing of the standard radio wave is performed again.

【0036】このように、時刻コード信号の解析処理中
に、存在すべきであるアクティブレベルを全く検出でき
なかったときは、解析処理の最初から処理を行うから、
微弱な電波から誤った時刻データを読み込むおそれを少
なくすることができる。そして、本発明においては、所
要時間を設定し、所要時間内に2回連続して適正な値の
時刻データを求め、且つ、連続して読み取った時刻デー
タの値が1分差で一致したとき、又は、所要時間が経過
したときに時刻読込みを終了するものとする。
As described above, when no active level that should exist is not detected at all during the time code signal analysis processing, the processing is performed from the beginning of the analysis processing.
The possibility of reading incorrect time data from a weak radio wave can be reduced. In the present invention, when the required time is set, time data of an appropriate value is obtained twice consecutively within the required time, and when the values of the time data read continuously match by one minute. Alternatively, the time reading is terminated when the required time has elapsed.

【0037】このように、2回連続した時刻データの解
析結果により時刻の一致判断を行うから、正確に時刻デ
ータを読み取ったときに時刻読込みの処理を完了するこ
とができる。又、所要時間が経過したときは、無駄に時
刻データの読み取りを継続しないようにすることができ
る。
As described above, since the time coincidence is determined based on the analysis result of the time data that has been successively performed twice, the time reading process can be completed when the time data is accurately read. Further, when the required time has elapsed, the reading of the time data can be prevented from being uselessly continued.

【0038】[0038]

【発明の実施の形態】本発明に係る電波修正時計におけ
る時刻読込みは、受信復調手段15の出力信号を解析する
に際し、10分程度の所要時間を設定し、1秒同期の処
理により秒同期をとった後、標準電波におけるコード信
号の0秒位置検出を行い、時刻コード信号のパルス幅を
検出してコード変換により時刻コードを形成し、時刻デ
ータを2回求めて一致したときの時刻データを採用する
ものである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The time reading in the radio-controlled timepiece according to the present invention is performed by setting a required time of about 10 minutes when analyzing the output signal of the receiving / demodulating means 15 and performing second synchronization by processing of one second synchronization. After that, the 0 second position detection of the code signal in the standard radio wave is performed, the pulse width of the time code signal is detected, the time code is formed by code conversion, and the time data when the time data is obtained twice and coincides is obtained. To adopt.

【0039】即ち、図13に示した従来の技術と同様
に、リセット時などの初期設定(S111)の後に行う
標準電波の受信及び時刻読込みの処理(S115)や、
自動修正時刻に達したときに行う標準電波の受信及び時
刻読込みの処理(S123)として、図1及び図2に示
すように、先ず、タイマー割込みの許可(S311)を
行い、1秒間に数十回の割込み処理に基づいて1秒同期
(S340)や0秒位置検出(S350)及びコード変
換(S370)などの時刻読込みの処理を行うものであ
る。
That is, similarly to the conventional technique shown in FIG. 13, the processing of receiving the standard radio wave and reading the time (S115) performed after the initialization (S111) such as resetting,
As shown in FIG. 1 and FIG. 2, as a process of receiving the standard radio wave and reading the time (S123) performed when the automatic correction time is reached, first, a timer interrupt is permitted (S311), and several tens of Time reading processes such as 1-second synchronization (S340), 0-second position detection (S350), and code conversion (S370) are performed based on the interruption process.

【0040】そして、図1に示したように、タイマー割
込みの許可(S311)の後、先ず1秒同期を取り(S
340)、所要時間内か否かの判断(S313)を行っ
た後、0秒位置の検出(S350)を行い、再度所要時
間内か否かの判断(S314)を行ってパルス幅の検出
(S360)を行うものである。尚、このパルス幅の検
出(S360)は、後述するように、時刻コード信号位
置のパルス幅を検出し、0.5秒幅の短パルスか0.8
秒幅の長パルスかを識別するものである。
Then, as shown in FIG. 1, after permitting the timer interrupt (S311), first, synchronization for one second is obtained (S311).
340), after determining whether or not the time is within the required time (S313), detection of the 0 second position is performed (S350), and determination of whether or not within the required time (S314) is performed again to detect the pulse width (S314). S360). The detection of the pulse width (S360) detects the pulse width at the time code signal position and determines whether the pulse width is 0.5 second as a short pulse or 0.8 pulse as described later.
This is to identify whether the pulse is a long pulse having a second width.

【0041】そして、1秒毎に0.5秒幅の短パルスか
0.8秒幅の長パルスかの判断を行うパルス幅検出(S
360)を行いつつ、所要時間内か否かの判断(S31
5)を行って図2に符号Cで示したようにコード変換
(S370)を行うものである。このコード変換(S3
70)では、分データ信号や時データ信号に基づいて日
本標準時の時刻データを求め、数値が適正値であるか否
かの判断を行って適切な値であればこの数値を記憶する
ものである。
Then, pulse width detection (S) is performed to determine whether a short pulse having a width of 0.5 seconds or a long pulse having a width of 0.8 seconds is performed every second.
(360), while determining whether or not the time is within the required time (S31).
5) to perform code conversion (S370) as indicated by reference numeral C in FIG. This code conversion (S3
In 70), the time data of Japan Standard Time is obtained based on the minute data signal and the hour data signal, it is determined whether or not the numerical value is an appropriate value, and if the value is an appropriate value, this numerical value is stored. .

【0042】そして、日本標準時の時刻データが既に記
憶されており、且つ、新たに適切な値の時刻データが求
められたか否か、即ち、時刻データの検出が2回目であ
るか否かの判断(S321)を行い、2回目であれば、
前回に求めた時刻データの値に1分を加えて記憶してい
る値と新たに求めた時刻データの値とを比較するデータ
比較(S380)を行い、時刻データが一致したか否か
の判断(S325)を行うものである。
Then, it is determined whether or not the time data of Japan Standard Time has already been stored and time data of an appropriate value has been newly obtained, that is, whether or not the time data has been detected for the second time. (S321), and if it is the second time,
Data comparison (S380) is performed to compare the stored value obtained by adding one minute to the value of the time data obtained last time and the value of the newly obtained time data, and determine whether or not the time data match. (S325).

【0043】その後、時刻データが一致したときは読込
み完了フラグのセット(S327)及びタイマー割込み
の禁止(S329)を行って標準電波の受信及び時刻読
込みの処理(S115,S123)を終了するものであ
る。又、分データ信号や時データ信号のコード変換を1
秒毎に行い、時刻データが揃わないときは、時刻データ
の検出が2回目であるか否かの判断(S321)及びデ
ータエラーか否かの判断(S323)を行いつつパルス
幅検出(S360)やコード変換(S370)を繰り返
し、コード変換(S370)により求めた時刻データの
数値が通所の時刻表示に使用される適正な値でない場合
や2回目に求めた数値が前回の数値に1分を加えた数値
と一致しないときはデータエラーか否かの判断(S32
3)に基づいて、再度、1秒同期(S340)の処理か
ら行うものである。
Thereafter, when the time data coincides with each other, the reading completion flag is set (S327) and the timer interrupt is prohibited (S329), and the processing of receiving the standard radio wave and reading the time (S115, S123) is completed. is there. Also, the code conversion of the minute data signal and the hour data signal is performed by one.
This is performed every second, and when the time data is not aligned, the pulse width detection (S360) is performed while determining whether the detection of the time data is the second time (S321) and determining whether there is a data error (S323). And the code conversion (S370) are repeated, and when the numerical value of the time data obtained by the code conversion (S370) is not an appropriate value used for displaying the time of the place, or when the numerical value obtained the second time is one minute from the previous numerical value. If it does not match the added numerical value, it is determined whether or not a data error has occurred (S32).
Based on 3), the process is performed again from the process of 1-second synchronization (S340).

【0044】この1秒同期(S340)の処理は、図3
に示すように、先ず初期設定(S401)を行うもので
ある。この初期設定(S401)は、1秒同期の処理を
含む時刻読込みの処理に必要なステップカウンタやステ
ップナンバー記憶メモリ、更にフラグメモリやその他の
メモリなどをクリアするものである。
The processing of the one-second synchronization (S340) is shown in FIG.
As shown in (1), first, initial setting (S401) is performed. This initial setting (S401) clears a step counter, a step number storage memory, a flag memory, and other memories necessary for time reading processing including one-second synchronization processing.

【0045】そして、割込み信号に基づいて1秒間に数
十回の割合で以下の処理を行うものとし、本実施の形態
では、32ヘルツの割込み信号に基づいて約31ミリ秒
毎に割込み要求を行い、32ヘルツの割込み信号による
割込み要求がされたか否かの判断(S402)を行って
各処理を行うものである。この割込み要求がされたか否
かの判断(S402)の後、所要時間内であるか否かの
判断(S403)を行って設定された10分間などの所
要時間が経過しているか否かを判断し、所要時間が経過
したときはタイムオーバーフラグをセット(S404)
し、図4に符号Eとして示すように、1秒同期(S34
0)の処理を終了するものである。
The following processing is performed at a rate of several tens of times per second based on the interrupt signal. In the present embodiment, an interrupt request is issued about every 31 milliseconds based on a 32 Hz interrupt signal. Then, it is determined whether or not an interrupt request has been made by an interrupt signal of 32 Hz (S402), and each process is performed. After determining whether or not this interrupt request has been made (S402), it is determined whether or not it is within the required time (S403) to determine whether or not the required time such as 10 minutes has elapsed. When the required time has elapsed, a time-over flag is set (S404).
Then, as shown by a symbol E in FIG.
This ends the process of 0).

【0046】又、10分間などの設定された所要時間内
であれば、第32ステップか否かの判断(S405)、
即ち1秒以内か否かの判断を行い、1秒毎となる第32
ステップのときはステップカウンタをクリア(S40
7)するものである。そして、第32ステップ以外のと
き、及び、ステップカウンタをクリア(S407)した
後は、以下のように各ステップで受信復調手段15の出力
信号のレベル検出を行い、アクティブレベルとしたLレ
ベルへの信号の変化点を検出するものである。
If it is within the set required time such as 10 minutes, it is determined whether or not it is the 32nd step (S405).
That is, it is determined whether or not the time is within one second.
If it is a step, the step counter is cleared (S40
7) What you do. Then, at times other than the 32nd step, and after the step counter is cleared (S407), the level of the output signal of the reception / demodulation means 15 is detected at each step as described below, and the level of the output signal is changed to the active level L level. This is to detect a change point of a signal.

【0047】この第32ステップ以外及びステップカウ
ンタをクリア(S407)した後に行う各処理は、図3
及び図4に符号Fで示したように、前回の検出レベルが
Hレベルであったか否かの判断(S411)を行い、H
フラグがセットされておらず、前回のレベル検出でHレ
ベルを検出していないと判断したときはレベル検出(S
412)を行ってLレベルか否かの判断(S413)を
行い、Lレベルであれば単にステップカウンタに1を加
え(S421)、図3及び図4に符号Gで示したよう
に、割込み要求があったか否かの判断(S402)に戻
るものであり、又、レベル検出(S412)及びLレベ
ルか否かの判断(S413)の結果、Hレベルであった
ときはHフラグのセット(S414)を行ってステップ
カウンタに1を加え(S421)、割込み要求があった
か否かの判断(S402)に戻るものである。
The processing other than the step 32 and after the step counter is cleared (S407) is described in FIG.
Also, as indicated by reference numeral F in FIG. 4, it is determined whether or not the previous detection level was at the H level (S411).
When it is determined that the flag is not set and the H level is not detected in the previous level detection, the level detection (S
412) to determine whether or not the signal is at the L level (S413). If the signal is at the L level, 1 is simply added to the step counter (S421), and an interrupt request is issued as shown by the symbol G in FIGS. The process returns to the determination (S402) of whether or not there is an error. If the result of the level detection (S412) and the determination of whether or not the level is L (S413) indicates that the level is H level, the H flag is set (S414). Is performed, 1 is added to the step counter (S421), and the process returns to the determination of whether or not an interrupt request has been made (S402).

【0048】又、前回の検出レベルがHレベルであった
か否かの判断(S411)においてHフラグを検出した
ときは、レベル検出(S415)及びLレベルか否かの
判断(S416)を行い、このレベル検出(S415)
においてもHレベルであればステップカウンタに1を加
え(S421)、割込み要求があったか否かの判断(S
402)に戻るものである。
When the H flag is detected in the previous judgment (S411) as to whether or not the detection level is the H level, the level detection (S415) and the judgment as to whether or not the detection level is the L level (S416) are performed. Level detection (S415)
If it is also at the H level, 1 is added to the step counter (S421), and it is determined whether or not an interrupt request has been made (S421).
402).

【0049】しかし、前回の検出結果がHレベルであっ
て、新たなレベル検出(S415)においてLレベルを
検出したときは、Lレベルか否かの判断(S416)に
基づいてHフラグをリセット(S417)すると共に、
当該ステップナンバーに一致したステップナンバーの記
憶があるか否かの判断(S418)を行い、当該ステッ
プナンバーが記憶されていないときは当該ステップナン
バーを記憶(S419)してステップカウンタに1を加
え(S421)、割込み要求があったか否かの判断(S
402)に戻るものである。
However, when the previous detection result is the H level and the L level is detected in the new level detection (S415), the H flag is reset (S416) based on the determination whether the level is the L level (S416). S417) and
It is determined whether or not a step number that matches the step number is stored (S418). If the step number is not stored, the step number is stored (S419) and 1 is added to the step counter (S418). S421), it is determined whether or not an interrupt request has been made (S421).
402).

【0050】即ち、割込み信号に基づいて、1秒間に3
2回などの数十回のレベル検出を行い、前回のレベル検
出ではHレベルであるも、新たなレベル検出でアクティ
ブレベルであるLレベルを検出したときは、そのステッ
プナンバーのカウンタに記録を行って受信復調手段15の
出力信号における立ち下り位置を検出して記憶しておく
ものである。
That is, based on the interrupt signal, three times a second
Dozens of level detections, such as twice, are performed. If the previous level detection detects the H level but the new level detection detects the L level which is the active level, recording is performed on the counter of the step number. The falling position in the output signal of the receiving and demodulating means 15 is detected and stored.

【0051】又、当該ステップにおいて立ち下りを検出
したとき、当該ステップナンバーに一致したステップナ
ンバーが既にメモリに記憶されていると、同一ステップ
ナンバーの記憶があるか否かの判断(S418)に基づ
き、検出完了フラグをセット(S425)し、このステ
ップナンバーをエッジ位置即ちコード信号の開始点とし
て記憶(S427)するものである。
When a fall is detected in the step, if a step number corresponding to the step number is already stored in the memory, it is determined whether or not the same step number is stored (S418). , The detection completion flag is set (S425), and this step number is stored as the edge position, that is, the start point of the code signal (S427).

【0052】このように、1秒同期(S340)の処理
においては、例えば32ヘルツなどの割込み信号により
1秒間に32回など、数十回のレベル検出(S412,
S415)をサンプリングパルスによって行い、コード
の出力開始点となるアクティブレベルへの変化点を検出
した割込み処理のナンバーであるステップナンバーを記
録し、同一ステップナンバー即ち、1秒間隔をもって再
度アクティブレベルに変化したエッジ位置を検出したと
きに1秒同期(S340)の処理を終了するものであ
る。
As described above, in the one-second synchronization (S340) process, for example, several tens of times of level detection (S412, S32, etc.) by an interrupt signal of 32 Hz or the like, for example, 32 times a second.
S415) is performed by a sampling pulse, and the step number which is the number of the interrupt processing that detects the change point to the active level serving as the code output start point is recorded, and changes to the active level again with the same step number, that is, one second interval. When the detected edge position is detected, the processing of the one-second synchronization (S340) ends.

【0053】従って、図16のAに示したように、受信
状態が良好であって、受信復調手段15から正しくコード
信号が出力されているときは、2秒目でエッジ検出を完
了し、て1秒同期(S340)の処理を終了するもので
ある。又、図16のBに示すように、受信状態が悪化し
て標準電波が微弱となり、図16のCに示すように受信
復調手段15からの出力信号が乱れた場合においても、コ
ードの出力開始点であるアクティブレベルへの変化点で
常に出力信号の立ち下りが生じれば、コード信号の途中
にノイズが含まれる場合であっても、2秒目で1秒同期
(S340)の処理を終了することができるものであ
る。
Therefore, as shown in FIG. 16A, when the reception state is good and the code signal is correctly output from the reception demodulation means 15, the edge detection is completed in the second second. This ends the one-second synchronization (S340) process. Also, as shown in FIG. 16B, even when the reception state deteriorates and the standard radio wave becomes weak, and the output signal from the receiving / demodulating means 15 is disturbed as shown in FIG. If the fall of the output signal always occurs at the point of change to the active level, which is a point, even if noise is included in the middle of the code signal, the process of 1 second synchronization (S340) ends at the second second. Is what you can do.

【0054】更に、電波状態が一層悪化し、各コードの
信号を正しく復調することができない状態であっても、
1秒間隔で発生する確率の低いノイズに比較して、1秒
毎に生じる確率の最も高い各コードの出力開始点を数秒
程度の時間で検出することが可能となる。尚、上記1秒
同期(S340)の処理は、1秒間隔となるアクティブ
レベルへの変化点を検出するに際し、1秒毎にステップ
カウンタをクリアしつつ同一ステップナンバーでの立ち
下りを検出すると直ちに1秒同期(S340)の処理を
終了しているも、同一ステップナンバーを3又は4回な
どの複数回検出したときにこのステップナンバーの位置
をエッジ位置として1秒同期(S340)を終了するこ
ともある。
Further, even if the condition of the radio wave is further deteriorated and the signal of each code cannot be correctly demodulated,
Compared to noise having a low probability of occurring at one second intervals, it becomes possible to detect the output start point of each code having the highest probability of occurring every second in about several seconds. Note that the 1-second synchronization (S340) process detects a change point to the active level at 1-second intervals, clears the step counter every 1 second, and immediately detects a fall with the same step number. Although the processing of the one-second synchronization (S340) has been completed, when the same step number is detected a plurality of times, such as three or four times, the position of this step number is set as an edge position and the one-second synchronization (S340) is ended. There is also.

【0055】そして、1秒同期(S340)の処理の次
に行う0秒位置の検出(S350)は、図5に示すよう
に、先ず初期設定(S501)を行ってステップカウン
タやパルスカウンタをクリアしておくものである。そし
て、10分間などの所要時間が経過したか否かの判断
(S503)を行い、所要時間が経過するとタイムオー
バーフラグのセット(S505)を行って0秒位置の検
出(S350)を終了するものであるも、所要時間内で
あれば、第32ステップか否かの判断(S511)、即
ち、1秒同期により求めた各コードの開始位置であるコ
ード信号のエッジ位置から1秒が経過したか否かの判断
を行うものである。
Then, in the detection of the 0-second position (S350) performed after the 1-second synchronization (S340) processing, as shown in FIG. 5, first, initialization (S501) is performed to clear the step counter and the pulse counter. It is something to keep. Then, it is determined whether or not a required time such as 10 minutes has elapsed (S503). When the required time has elapsed, a time-over flag is set (S505) and the detection of the 0-second position (S350) ends. If it is within the required time, it is determined whether or not it is the 32nd step (S511), that is, whether or not 1 second has elapsed from the edge position of the code signal which is the start position of each code obtained by 1 second synchronization. It is to determine whether or not.

【0056】更に、各コードの出力開始点としたエッジ
位置から1秒が経過していないときは、図6に符号Iと
して示すように、ステップ数が13未満であるか否かの
判断(S521)、即ち、エッジ位置から約0.4秒以
内であるか否かの判断を行い、第13ステップ未満であ
れば、受信復調手段15が出力する信号のレベル検出(S
523)をサンプリングパルスに基づいて行い、Hレベ
ルか否かのレベル判断(S525)を行ってLレベルで
あればパルス幅カウンタに1を加える(S527)もの
である。
Further, when one second has not elapsed from the edge position at which the output of each code is started, it is determined whether or not the number of steps is less than 13, as indicated by reference numeral I in FIG. 6 (S521). That is, it is determined whether it is within about 0.4 seconds from the edge position, and if it is less than the thirteenth step, the level detection of the signal output by the reception demodulation means 15 (S
523) is performed based on the sampling pulse, and a level determination as to whether or not the signal is at the H level is performed (S525). If the signal is at the L level, 1 is added to the pulse width counter (S527).

【0057】そして、ステップ数が13未満のときは、
受信復調手段15から出力されるコード信号のレベル検出
(S523)を行い、更に検出したコード信号がHレベ
ルか否かの判断(S525)を行い、出力信号がLレベ
ルのときはパルス幅カウンタに1を加えた(S527)
後、又、出力信号がHレベルのときはHレベルか否かの
判断(S525)の後、ステップ数が12に達したか否
かの判断(S531)を行い、このステップ数が12に
達したか否かの判断(S531)により、ステップ数が
12に達していないときは、ステップカウンタに1を加
えて(S541)割込み要求があったか否かの判断(S
545)を繰り返し、割込み要求があると所要時間が経
過したか否かの判断(S503)に戻るものである。
When the number of steps is less than 13,
The level of the code signal output from the receiving / demodulating means 15 is detected (S523), and it is determined whether or not the detected code signal is at the H level (S525). One was added (S527).
Thereafter, when the output signal is at the H level, it is determined whether or not the number of steps has reached 12 (S531), and then whether or not the number of steps has reached 12 (S531). If the number of steps has not reached 12 as a result of the determination (S531), 1 is added to the step counter (S541), and it is determined whether an interrupt request has been made (S541).
545) is repeated, and if there is an interrupt request, the process returns to the determination (S503) as to whether the required time has elapsed.

【0058】又、ステップ数が12に達したか否かの判
断(S531)に基づいて、ステップ数が12に達した
と判断したときは、パルス幅カウンタのカウント値が4
以上であるか否かの判断(S533)及びカウント値が
10未満であるか否かの判断(S535)を行い、4以
上で9以下のときはマーカーフラグのセット(S53
7)を、3以下又は10以上のときはノンマーカーフラ
グのセット(S539)を行うものである。
If it is determined that the number of steps has reached 12 based on the determination of whether or not the number of steps has reached 12 (S531), the count value of the pulse width counter becomes 4
A determination is made as to whether or not this is the case (S533) and whether or not the count value is less than 10 (S535). If the count is 4 or more and 9 or less, a marker flag is set (S53).
If 7) is 3 or less or 10 or more, the non-marker flag is set (S539).

【0059】尚、第13ステップ以降は、ステップ数が
13未満か否かの判断(S521)、を行った後、単に
ステップカウンタに1を加え(S541)、割込み要求
があったか否かの判断(S545)を行って所要時間が
経過したか否かの判断(S503)に戻り、エッジ位置
から1秒が経過するまで第32ステップか否かの判断
(S511)及びステップカウンタの加算(S541)
を繰り返すものである。
After the thirteenth step, it is determined whether or not the number of steps is less than 13 (S521). Then, 1 is simply added to the step counter (S541), and it is determined whether or not an interrupt request has been made (S541). (S545) is performed, and the process returns to the determination (S503) as to whether or not the required time has elapsed. The determination is made as to whether or not the 32nd step is performed until one second has elapsed from the edge position (S511) and the step counter is incremented (S541).
Is repeated.

【0060】そして、第32ステップか否かの判断(S
511)により、第32ステップに達したと判断したと
きは、図5に示したように、ステップカウンタをクリア
(S513)し、マーカー信号が2回連続したか否かの
判断(S515)をマーカーフラグ及びノンマーカーフ
ラグに基づいて行い、マーカー信号が連続していないと
判断したときは、再度、第12ステップまでのレベル検
出(S523)を行い、パルス幅カウンタのカウント値
に応じてマーカーフラグのセット(S537)又はノン
マーカーフラグのセット(S539)を行うものであ
る。
Then, it is determined whether or not it is the 32nd step (S
If it is determined in step 511) that the 32nd step has been reached, as shown in FIG. 5, the step counter is cleared (S513), and it is determined whether or not the marker signal has continued twice (S515). This is performed based on the flag and the non-marker flag, and when it is determined that the marker signal is not continuous, the level detection up to the twelfth step is performed again (S523), and the marker flag is set according to the count value of the pulse width counter. The setting (S537) or the setting of the non-marker flag (S539) is performed.

【0061】又、第32ステップにおいて、マーカーフ
ラグが連続してマーカー信号が連続したことを検出した
ときは、秒カウンタに1をセット(S517)し、更に
検出完了フラグのセット(S519)を行って0秒位置
の検出(S350)を終了するものである。従って、こ
の0秒位置の検出(S350)では、図16のAに示し
たように、標準電波を正しく復調した信号では、本来、
0.2秒間であるマーカー信号の検出回数であるべき回
数よりも多い回数であって、2進数の「1」を示す短パ
ルスの0.5秒間よりも少ない回数である9以下の場合
にマーカーフラグをセットするものであり、0.5秒間
又は0.8秒間のアクティブレベルが設定される短パル
スや長パルスの時刻コード信号などを除外してマーカー
信号を正しく検出することができる。
In the 32nd step, when it is detected that the marker flag is continuous and the marker signal is continuous, the second counter is set to 1 (S517), and the detection completion flag is set (S519). Then, the detection of the 0 second position (S350) is completed. Accordingly, in the detection of the 0-second position (S350), as shown in FIG.
If the number of times of detection of the marker signal is 0.2 seconds, which is more than the number of times that should be detected, and the number of short pulses representing a binary "1" is less than 0.5 seconds, which is 9 or less, the marker is used. A flag is set, and a marker signal can be correctly detected by excluding a time code signal of a short pulse or a long pulse in which an active level for 0.5 seconds or 0.8 seconds is set.

【0062】又、図16のBやCに示したように、受信
状態の不安定な電波を復調した場合であっても、カウン
ト数が9以下であって4以上の場合にマーカーフラグを
セットしてマーカー信号とするものであるから、瞬間的
なノイズによるアクティブレベルの検出を除去しつつマ
ーカー信号の検出を行うことができる。更に、図16の
BやCに示したように、受信状態の不安定な電波を復調
した場合であっても、マーカー信号の検出時間としてコ
ードの出力開始点から約0.4秒間とする第1ステップ
乃至第12ステップを検出対象としているから、受信状
態が不安定なために、1秒同期(S340)の処理にお
いて求めたエッジ位置であるべき第1ステップと正規の
コード信号における出力開始点が僅かにずれている場合
であっても、マーカー信号の検出を可能とするものであ
る。
As shown in FIG. 16B and FIG. 16C, even when an unstable radio wave in a receiving state is demodulated, a marker flag is set when the count is 9 or less and 4 or more. Thus, the marker signal can be detected while eliminating the detection of the active level due to instantaneous noise. Further, as shown in FIGS. 16B and C, even when an unstable radio wave in a reception state is demodulated, the detection time of the marker signal is set to about 0.4 seconds from the code output start point. Since the first to twelfth steps are to be detected, since the reception state is unstable, the first step which should be the edge position obtained in the one-second synchronization (S340) process and the output start point in the regular code signal Can detect a marker signal even when is slightly shifted.

【0063】そして、受信状態が極めて不安定な場合で
あっても、コードの出力開始点から約0.4秒以内に4
回以上のアクティブレベルの検出を行ったときはマーカ
ー信号として取り扱うものである故、微弱な電波であっ
てもマーカー信号を検出することができる。尚、極めて
微弱な電波では、時刻コード信号などのコード信号を誤
ってマーカー信号と判断することが生じるも、この場合
は、誤った位置を一旦0秒位置とすることにより、次の
時刻コード信号のパルス幅検出(S360)及びコード
変換(S370)を行い、求めた時刻データの数値が適
正な値であるか否かの判断を行って誤りを訂正するもの
である。
Even if the reception state is extremely unstable, the reception time should be within about 0.4 seconds from the start point of the code output.
When the active level is detected more than once, it is handled as a marker signal, so that the marker signal can be detected even with a weak radio wave. In the case of an extremely weak radio wave, a code signal such as a time code signal may be erroneously determined to be a marker signal. In this case, however, the erroneous position is temporarily set to the 0 second position so that the next time code signal can be determined. The pulse width detection (S360) and the code conversion (S370) are performed to determine whether or not the numerical value of the obtained time data is an appropriate value to correct the error.

【0064】そして、0秒位置の検出(S350)の次
に行うパルス幅の検出処理(S360)は、図7に示す
ように、先ず所要時間が経過したか否かの判断(S60
1)を行い、所要時間が経過したときはタイムオーバー
フラグをセット(S603)してパルス幅の検出処理
(S360)を終了するものである。そして、所要時間
内であれば、所要時間が経過したか否かの判断(S60
1)の後に0秒位置から20秒以上が経過したか否かの
判断(S605)、即ち、分データ信号や時データ信号
の時刻コード信号か否かの判断を行い、20秒未満であ
れば第32ステップか否かの判断(S611)を行うも
のである。
Then, in the pulse width detection processing (S360) performed after the detection of the 0 second position (S350), first, as shown in FIG. 7, it is determined whether or not the required time has elapsed (S60).
1) is performed, and when the required time has elapsed, the time-over flag is set (S603), and the pulse width detection processing (S360) is completed. If it is within the required time, it is determined whether the required time has elapsed (S60).
After 1), it is determined whether 20 seconds or more have elapsed from the 0 second position (S605), that is, it is determined whether or not the time code signal is a minute data signal or an hour data signal. A determination is made as to whether or not it is the 32nd step (S611).

【0065】このステップ数の判断(S611)におい
て、第32ステップでない場合、即ち、1秒以内の各割
込み信号に基づく処理では、受信復調手段15が出力する
信号のレベル検出(S621)をサンプリングパルスに
よって行い、Hレベルか否かの判断(S623)を行っ
てLレベルの場合にはLレベルカウンタの値に1を加え
る(S625)ものである。
In the judgment of the number of steps (S611), if it is not the 32nd step, that is, in the process based on each interrupt signal within one second, the level detection (S621) of the signal output by the reception demodulation means 15 is performed by the sampling pulse. It is determined whether or not the signal is at the H level (S623). If the signal is at the L level, 1 is added to the value of the L level counter (S625).

【0066】そして、図8に符号Kをもって示したよう
に、第16ステップか否かの判断(S631)を行い、
第16ステップに達したとき、即ちコードの出力開始点
と一致させた第1ステップから短パルスの時間幅である
0.5秒が経過したとき、Lレベルカウンタのカウント
値が0であるか否かの判断(S633)を行って0でな
ければSフラグのセット(S635)及びLレベルカウ
ンタのクリア(S637)を行うものである。
Then, as indicated by reference numeral K in FIG. 8, it is determined whether or not the operation is the 16th step (S631).
When the sixteenth step is reached, that is, when 0.5 seconds, which is the time width of a short pulse, has elapsed from the first step matched with the code output start point, whether or not the count value of the L level counter is 0 If it is determined that the value is not 0 (S633), the S flag is set (S635) and the L level counter is cleared (S637).

【0067】又、第26ステップか否かの判断(S64
1)を行い、第26ステップに達したとき、即ちコード
の出力開始点と一致させた第1ステップから長パルスの
時間幅である0.8秒が経過したとき、Lレベルカウン
タのカウント値が0であるか否かの判断(S643)を
行って0でなければLフラグのセット(S645)及び
Lレベルカウンタのクリア(S647)を行うものであ
る。
Also, it is determined whether or not the step is the 26th step (S64).
1) is performed, and when the process reaches the 26th step, that is, when the time width of the long pulse of 0.8 seconds has elapsed from the first step matched with the output start point of the code, the count value of the L level counter becomes It is determined whether or not it is 0 (S643). If it is not 0, the L flag is set (S645) and the L level counter is cleared (S647).

【0068】更に、各ステップでLレベルの検出(S6
21)やレベル判断(S625)を行い、第16ステッ
プや第26ステップではSフラグのセット(S635)
やLフラグのセット(S645)を行いつつ、各ステッ
プでステップカウンタの値に1を加え(S665)、割
込み要求がされたか否かの判断(S667)を行って割
込み要求があると所要時間が経過したか否かの判断(S
601)や20秒以上が経過したか否かの判断(S60
5)及び第32ステップか否かの判断(S611)に戻
るものである。
Further, in each step, detection of L level (S6)
21) and level determination (S625), and setting of the S flag in the 16th and 26th steps (S635)
While the L flag is set (S645), 1 is added to the value of the step counter in each step (S665), and it is determined whether or not an interrupt request has been made (S667). It is determined whether or not the time has passed (S
601) and whether or not 20 seconds or more have elapsed (S60)
The process returns to step 5) and to determine whether or not it is the 32nd step (S611).

【0069】そして、第32ステップに達したときは、
即ち、コードの出力開始点であるエッジ位置から1秒が
経過したときは、図7に示したように、ステップカウン
タをクリア(S613)し、Lレベルカウンタもクリア
(S615)して秒カウンタのカウント値に1を加え
(S617)、計測完了フラグをセット(S619)し
てパルス幅の検出処理(S360)を終了し、Sフラグ
やLフラグに基づくコード変換処理(S370)を行う
ものである。
When the 32nd step is reached,
That is, when one second has elapsed from the edge position which is the code output start point, as shown in FIG. 7, the step counter is cleared (S613), the L level counter is also cleared (S615), and the second counter is cleared. One is added to the count value (S617), the measurement completion flag is set (S619), the pulse width detection process (S360) is completed, and the code conversion process based on the S flag and the L flag (S370) is performed. .

【0070】又、このパルス幅の検出処理(S360)
では、20秒以上の場合、図7に示したように、第32
ステップか否かの判断(S611)を行い、第32ステ
ップに達しないときは、図8に符号Lで示したように、
単にステップカウンタの値に1を加え(S665)、割
込み要求がされたか否かの判断(S667)を繰り返
し、第32ステップに達したとき、図7に示したよう
に、Sフラグ及びLフラグをセット(S663)し、ス
テップカウンタのクリア(S613)、Lレベルカウン
タのクリア(S615)、更に秒カウンタのカウント値
に1を加算(S617)し、計測完了フラグをセット
(S619)してパルス幅の検出処理(S360)を終
了するものである。
The pulse width is detected (S360).
In the case of 20 seconds or more, as shown in FIG.
It is determined whether or not the current step is a step (S611). If the step does not reach the 32nd step, as indicated by a symbol L in FIG.
Simply adding 1 to the value of the step counter (S665), and repeatedly determining whether or not an interrupt request has been made (S667). When the 32nd step is reached, as shown in FIG. Set (S663), clear the step counter (S613), clear the L level counter (S615), further add 1 to the count value of the second counter (S617), set the measurement completion flag (S619), and set the pulse width. Is ended (S360).

【0071】従って、このパルス幅の検出処理(S36
0)は、0秒又は1秒から19秒までの各秒毎に1秒間
の間に32回などのレベル検出をサンプリングパルスに
よって行い、コード信号の出力開始点から0.5秒以内
にアクティブレベルであるLレベルを1回でも検出した
ときはSフラグを立て、又、0.5秒から0.8秒の間
にアクティブレベルであるLレベルを1回でも検出した
ときはLフラグを立てるものであり、1秒毎にパルス幅
の検出処理(S360)を終了して次のコード変換処理
(S370)を行うものである。
Therefore, this pulse width detection processing (S36)
0) indicates that the level is detected by a sampling pulse, for example, 32 times during one second at 0 second or every second from 1 second to 19 seconds by a sampling pulse, and the active level is detected within 0.5 second from the output start point of the code signal. The S flag is set when the L level is detected at least once, and the L flag is set when the L level which is the active level is detected even once within 0.5 to 0.8 seconds. The pulse width detection process (S360) is terminated every second and the next code conversion process (S370) is performed.

【0072】尚、レベルカウンタのカウント値が0か否
かの判断(S633,S643)では、カウント値が2
又は3以上であるか否かの判断とすることもある。そし
て、このコード変換処理(S370)は、図9に示すよ
うに、先ずSフラグがセットされているか否かの判断
(S701)を行った後、Sフラグがセットされている
場合及びSフラグがセットされていない場合共にLフラ
グがセットされているか否かの判断(S702,S70
4)を行うものである。
In the judgment (S633, S643) whether or not the count value of the level counter is 0, the count value is 2
Alternatively, it may be determined whether or not the number is three or more. Then, as shown in FIG. 9, in the code conversion process (S370), first, it is determined whether or not the S flag is set (S701), and then, when the S flag is set and when the S flag is set, as shown in FIG. If not set, it is determined whether the L flag is set (S702, S70).
4).

【0073】そして、Sフラグセットの判断(S70
1)及びLフラグセットの判断(S702)により、S
フラグ及びLフラグが共にセットされていないと判断し
たとき、即ち、0秒位置から19秒位置までの各コード
の出力開始点から短パルスの時間幅である0.5秒以内
の間にアクティブレベルであるLレベルが全く検出され
ず、且つ、0秒位置から19秒位置までの各コードの出
力開始点から0.5秒以降で長パルスの時間幅である
0.8秒までの間にもアクティブレベルであるLレベル
が全く検出されなかったときは、エラーフラグのセット
(S703)を行い、図10に符号Nで示すように、コ
ード変換処理(S370)を終了するものである。
Then, it is determined whether the S flag is set (S70).
1) and L flag set determination (S702), S
When it is determined that both the flag and the L flag are not set, that is, the active level is within a short pulse time width of 0.5 seconds from the output start point of each code from the 0 second position to the 19 second position. L level is not detected at all, and between the output start point of each code from the 0 second position to the 19 second position and 0.5 seconds or later and 0.8 seconds which is the time width of a long pulse. If the L level, which is the active level, is not detected at all, an error flag is set (S703), and the code conversion process (S370) is ended, as indicated by the symbol N in FIG.

【0074】そして、Sフラグセットの判断(S70
1)及びLフラグセットの判断(S704)により、S
フラグがセットされていてコードの出力開始点から0.
5秒以内の間にアクティブレベルであるLレベルが検出
され、且つ、Lフラグがセットされずにコードの出力開
始点から0.5秒以降0.8秒までの間にはアクティブ
レベルであるLレベルが全く検出されなかったときは、
コード「1」をセット(S706)するものである。
又、Sフラグセットの判断(S701)の後、Sフラグ
の有無にかかわらずに行う各Lフラグセットの判断(S
702,S704)において、Lフラグがセットされて
いると判断したときは、コード「0」をセット(S70
5)するものである。
Then, the S flag set is determined (S70).
1) and L flag set determination (S704), S
The flag is set and 0 .0 from the code output start point.
The L level which is the active level is detected within 5 seconds, and the L level which is the active level is 0.5 seconds to 0.8 seconds after the code output start point without setting the L flag. If no level is detected,
The code "1" is set (S706).
After the determination of the S flag set (S701), the determination of each L flag set (S
702, S704), when it is determined that the L flag is set, the code "0" is set (S70).
5) What you do.

【0075】その後、Sフラグ及びLフラグのリセット
(S707)を行い、0秒位置から20秒が経過したか
否かの判断(S711)を行うものである。そして、2
0秒未満であれば、当該処理が10分桁の処理であるか
否か、即ち1秒目乃至3秒目の処理であるか否かの判断
(S713)を行い、10分桁であればコード「0」又
はコード「1」に基づいて数値の記録(S715)を行
うものである。
Thereafter, the S flag and the L flag are reset (S707), and it is determined whether 20 seconds have elapsed from the 0 second position (S711). And 2
If it is less than 0 seconds, it is determined whether or not the process is a process of a 10-minute digit, that is, whether or not it is a process of the first to third seconds (S713). The numerical value is recorded based on the code “0” or the code “1” (S715).

【0076】この10分桁の数値の記録(S715)
は、1秒目のコードが「1」であれば数値を「40」と
し、2秒目のコードが「1」であれば数値を「20」、
3秒目のコードが「1」であれば数値を「10」として
加算し、各コードが「0」であれば数値の「0」を加算
するものである。尚、この数値の記録は、10分桁カウ
ンタにシフトレジスタを用い、各秒毎に「0」又は
「1」を入力して順次「0」又は「1」をシフトさせる
ことにより10分桁の数値を記録させることができる。
Recording of this 10-minute digit (S715)
If the code of the first second is “1”, the numerical value is “40”, if the code of the second second is “1”, the numerical value is “20”,
If the code at the third second is "1", the numerical value is added as "10", and if each code is "0", the numerical value "0" is added. This numerical value is recorded by using a shift register for the 10-minute digit counter, inputting "0" or "1" every second and sequentially shifting "0" or "1" to the 10-minute digit. Numeric values can be recorded.

【0077】又、10分桁の処理であるか否かの判断
(S713)の次には1分桁の処理であるか否か、即ち
5秒目乃至8秒目の処理であるか否かの判断(S71
7)を行い、1分桁であればコード「0」又は「1」に
基づいて数値の記録(S719)を行うものである。こ
の1分桁の数値の記録(S719)は、5秒目のコード
が「1」であれば数値を「8」とし、6秒目のコードが
「1」であれば数値を「4」、7秒目のコードが「1」
であれば数値を「2」、8秒目のコードが「1」であれ
ば数値を「1」として加算し、10分桁と同様に、シフ
トレジスタに記録しておくものである。
After the determination as to whether or not the processing is for the 10-minute digit (S713), whether or not the processing is for the 1-minute digit, that is, whether or not the processing is for the fifth to eighth seconds. (S71
7), and if it is a one-minute digit, a numerical value is recorded based on the code “0” or “1” (S719). In the recording of the one-minute digit value (S719), if the code at the 5th second is “1”, the numerical value is “8”, and if the code at the 6th second is “1”, the numerical value is “4”. The code for the 7th second is "1"
If so, the numerical value is set to "2", and if the code at the 8th second is "1", the numerical value is set to "1" and added to the shift register in the same manner as for the 10-minute digit.

【0078】更に1分桁の処理であるか否かの判断(S
717)の次には10時桁の処理であるか否か、即ち1
2秒目乃至13秒目の処理であるか否かの判断(S72
1)を行い、10時桁であればコード「0」又は「1」
に基づいて数値の記録(S723)を行うものである。
又、10時桁の処理であるか否かの判断(S721)の
次には1時桁の処理であるか否か、即ち15秒目乃至1
8秒目の処理であるか否かの判断(S725)を行い、
1時桁であればコード「0」又は「1」に基づいて数値
の記録(S727)を行うものである。
Further, it is determined whether or not the processing is for one-minute digits (S
After 717), it is determined whether or not the process is for the 10:00 digit, that is, 1
It is determined whether or not the processing is the second to thirteenth seconds (S72).
Perform 1), and if it is a 10 o'clock digit, code “0” or “1”
Is recorded (S723) based on.
After the determination of whether or not the processing is for the 10:00 digit (S721), it is determined whether or not the processing is for the 1 hour digit, that is, from the 15th second to the 1st.
It is determined whether or not the process is for the 8th second (S725).
If it is the 1 o'clock digit, a numerical value is recorded based on the code “0” or “1” (S727).

【0079】この10時桁や1時桁における数値記録
(S723,S727)の処理も、10分桁や1分桁と
同様に、コード「0」又は「1」に基づいてシフトレジ
スタに記録しておくものである。そして、1秒毎の各桁
の判断(S713,S717,S721,S725)及
び必要な数値の記録(S715,S719,S723,
S727)を行った後は、図10に符号Pで示したよう
に、コード変換処理(S370)を終了するものであ
る。
In the process of recording the numerical value at the 10-hour digit and the 1-hour digit (S723, S727), similarly to the 10-minute digit and the 1-minute digit, the numerical value is recorded in the shift register based on the code “0” or “1”. It is something to keep. Then, each digit is determined every second (S713, S717, S721, S725) and necessary numerical values are recorded (S715, S719, S723, S723).
After performing S727), the code conversion process (S370) is ended, as indicated by reference numeral P in FIG.

【0080】このように、このコード変換処理(S37
0)では、図9に示したように、SフラグやLフラグの
判断(S701,S702,S704)を行ってSフラ
グかLフラグかの何れかが検出されたときはコード
「0」又は「1」のセット(S705,S706)を行
ない、更に、Sフラグ及びLフラグのリセット(S70
7)した後、20秒以上か否かの判断(S711)を行
うものである。
As described above, the code conversion processing (S37)
In (0), as shown in FIG. 9, when the S flag or the L flag is determined (S701, S702, S704) and either the S flag or the L flag is detected, the code “0” or “ 1 "(S705, S706), and further, the S flag and the L flag are reset (S70
After 7), it is determined whether or not it is longer than 20 seconds (S711).

【0081】そして、この20秒以上か否かの判断(S
711)により20秒以上であると判断したときは、図
10に符号Oにより示したように、先ず20秒目か否か
の判断(S731)を行い、20秒目であれば時刻デー
タが揃ったのが2回目であるか否かの判断(S733)
を行うものである。更に、2回目であるか否かの判断
(S733)に基づき、前述の10分桁のレジスタや1
分桁のレジスタ、及び、10時桁のレジスタや1時桁の
レジスタの各値がメモリに記憶されていない1回目であ
れば、1分桁のレジスタの値が10以上であるか否かの
判断(S741)を行い、10以上であればエラーフラ
グをセット(S747)するものである。
Then, it is determined whether or not the time is longer than 20 seconds (S
If it is determined that the time is 20 seconds or longer according to 711), it is first determined whether or not it is the 20th second (S731), as indicated by reference symbol O in FIG. It is determined whether or not it is the second time (S733)
Is what you do. Further, based on the determination as to whether or not it is the second time (S733), the 10-minute register or 1
If the value of the minute digit register, the value of the 10 hour digit register and the value of the 1 hour digit register are not stored in the memory for the first time, it is determined whether the value of the minute digit register is 10 or more. The judgment is made (S741), and if it is 10 or more, an error flag is set (S747).

【0082】又、1分桁のレジスタの値が10未満であ
れば、次に10分桁のレジスタの値が6以上であるか否
かの判断(S742)を行い、6以上であればエラーフ
ラグのセット(S747)を行い、6未満であれば1時
桁のレジスタの値が10以上であるか否かの判断(S7
43)を行う。更に、1時桁のレジスタの値が10以上
であればエラーフラグのセット(S747)を行い、1
0未満であれば10時桁のレジスタの値が3以上である
か否かの判断(S744)を行って3以上であればエラ
ーフラグのセット(S747)を行うものである。
If the value of the 1-minute register is less than 10, it is determined whether the value of the 10-minute register is 6 or more (S742). The flag is set (S747), and if it is less than 6, it is determined whether or not the value of the hour digit register is 10 or more (S7).
43) is performed. Further, if the value of the 1-hour digit register is 10 or more, an error flag is set (S747), and
If it is less than 0, it is determined whether or not the value of the 10:00 digit register is 3 or more (S744), and if it is 3 or more, an error flag is set (S747).

【0083】そして、10時桁のレジスタの値が3未満
であれば、時刻データに1分を加えた時刻データとし、
1分を加算した各レジスタの値をメモリに移してレジス
タをクリアし、1分桁、10分桁、1時桁、10時桁の
各桁の値をメモリに記憶(S745)しておくものであ
る。このように、20秒以上か否かの判断(S711)
及び20秒目か否かの判断(S731)により、20秒
目であれば各桁が適切な数値か否かの判断(S741,
S742,S743,S744)を行ってメモリに記憶
(S745)した後、又、何れかの桁の数値が不適切な
値であってエラーフラグをセット(S747)した後、
及び、20秒以上であって20秒目でないときは、当該
コード変換処理(S370)を終了し、図2に示したよ
うに、2回目か否かの判断(S321)及びデータエラ
ーか否かの判断(S323)を行って図1に示したよう
にパルス幅の検出処理(S360)に戻るものである。
If the value of the 10-hour digit register is less than 3, the time data is obtained by adding one minute to the time data.
The value of each register to which 1 minute has been added is transferred to the memory, the register is cleared, and the value of each digit of 1 minute digit, 10 minute digit, 1 hour digit, 10 hour digit is stored in the memory (S745). It is. Thus, it is determined whether or not the time is longer than 20 seconds (S711).
Then, according to the determination as to whether or not it is the 20th second (S731), if it is the 20th second, it is determined whether or not each digit is an appropriate numerical value (S741, S741).
After performing S742, S743, and S744) and storing the result in the memory (S745), and setting the error flag (S747) because any numerical value is an inappropriate value,
If the time is equal to or longer than 20 seconds and not the 20th second, the code conversion process (S370) is terminated, and as shown in FIG. 2, it is determined whether or not it is the second time (S321) and whether or not there is a data error. Is determined (S323), and the process returns to the pulse width detection processing (S360) as shown in FIG.

【0084】又、コード変換処理(S370)におい
て、Sフラグ及びLフラグが共に検出できずにエラーフ
ラグをセット(S703)したとき、及び、時刻コード
の各桁の数値が不適切であってエラーフラグをセット
(S747)したときは、図2に示したデータエラーの
判断(S323)において、エラーを検出したものと判
断し、図1に示したように、再度、1秒同期(S34
0)の処理から行うものである。
In the code conversion process (S370), when the error flag is set (S703) because neither the S flag nor the L flag can be detected, or when the value of each digit of the time code is inappropriate, an error occurs. When the flag is set (S747), in the data error determination (S323) shown in FIG. 2, it is determined that an error has been detected, and as shown in FIG. 1, one second synchronization (S34) is performed again.
0).

【0085】このように、0秒目から19秒目の何れか
の1秒において、エッジ位置から0.8秒間に全くアク
ティブレベルを検出できなかったときは、再度、1秒同
期(S340)の処理から行うから、アクティブレベル
が存在すべき0.8秒以内に、マーカー信号やコード
「0」又は「1」を示すべきコード信号のアクティブレ
ベルを全く検出できない電波状態では、1秒同期(S3
40)の処理から繰り返し、ノイズによる誤った時刻デ
ータの値を読み込むことを防止することができる。そし
て、コード解析のエラーにより時刻データの値が適正値
の範囲になる場合も、時刻データの読み直しを行って2
回連続して解析した時刻データの値が1分差の場合に解
析処理を終了するものとし、誤った時刻データの読込み
を防止している。
As described above, when no active level is detected for 0.8 seconds from the edge position in any one second from the 0th to 19th seconds, the 1-second synchronization (S340) is performed again. Since the processing is started from the processing, in the radio wave state where no active level of the marker signal or the code signal indicating the code “0” or “1” can be detected within 0.8 seconds at which the active level should exist, synchronization for one second (S3
It is possible to prevent the reading of the incorrect time data value due to noise by repeating the processing of 40). When the value of the time data falls within the proper value range due to a code analysis error, the time data is read again and
If the value of the time data analyzed consecutively is 1 minute, the analysis process is terminated, and reading of incorrect time data is prevented.

【0086】即ち、このコード変換処理(S370)で
は、20秒目に行う2回目か否かの判断(S733)に
おいて、1分桁や10分桁及び1時桁や10時桁の値が
既にメモリに記憶されており、且つ、1秒目乃至18秒
目の各データからSフラグ及びLフラグに基づいて各桁
の数値として再度レジスタに1分桁や10分桁及び1時
桁や10時桁の適切な値として数値が記録されたとき
は、完了フラグのセット(S735)を行ってコード変
換処理(S370)を終了するものである。
That is, in the code conversion process (S370), the value of the 1 minute digit, the 10 minute digit, and the 1 hour digit and the 10 hour digit has already been determined in the determination whether the second time is to be performed at the 20th second (S733). 1 minute digit, 10 minute digit, 1 hour digit and 10:00 are stored in the memory, and are again stored in the register as numerical values of each digit based on the S flag and the L flag from each data of the first to 18 seconds. When a numerical value is recorded as an appropriate digit value, a completion flag is set (S735), and the code conversion process (S370) ends.

【0087】そして、この完了フラグに基づき、2回目
か否かの判断(S321)において2回目と判断したと
きは、データ比較(S380)の処理を行い、このデー
タ比較(S380)の処理では、図11に示すように、
時刻コードの各桁の値が各メモリの記憶値と各レジスタ
の値と一致するか否かの判断(S801)を行い、各桁
が一致していれば、日本標準時の24時間単位を時計体
で表示する12時間単位に変更(S803)し、更に0
秒位置の開始点に合わせて時計体の各タイマーや分周器
などをリセットスタートさせる時計体のスタート(S8
05)を行うものであり、何れかの桁の値がメモリとレ
ジスタとで相違するときは、エラーフラグのセット(S
807)を行うものである。
Then, based on the completion flag, if it is determined that the second time has been reached (S321), the data comparison (S380) is performed. In this data comparison (S380), As shown in FIG.
A determination is made as to whether the value of each digit of the time code matches the value stored in each memory and the value of each register (S801). Is changed to the unit of 12 hours indicated by (S803), and
The start of the clock body for reset start of each timer, frequency divider, etc. of the clock body at the start point of the second position (S8
05), and if the value of any digit differs between the memory and the register, the error flag is set (S
807).

【0088】そして、この時刻コードの解析による時刻
データの読込みでは、図2に示したように、データ比較
(S840)の後にもデータが一致したか否かの判断
(S325)を行い、エラーフラグを検出したときは、
再度、1秒同期(S340)の処理から行うものであ
る。又、時計体のスタート(S805)を行ったとき
は、データ比較の処理(S380)及びデータ一致の判
断(S325)の後、読込み完了フラグのセット(S3
27)を行い、更に32ヘルツのタイマー割込みの禁止
(S329)を行って標準電波の受信及び時刻読込みの
処理(S115又はS123)を終了するものである。
In reading the time data by analyzing the time code, as shown in FIG. 2, it is determined whether or not the data matches after the data comparison (S840) (S325). When is detected,
The process is performed again from the one-second synchronization (S340) process. When the clock body is started (S805), the reading completion flag is set (S3) after the data comparison processing (S380) and the data coincidence determination (S325).
27), and further prohibits a timer interrupt of 32 Hz (S329), and terminates the process of receiving the standard radio wave and reading the time (S115 or S123).

【0089】尚、コード変換処理(S370)におい
て、SフラグやLフラグによってコード「1」又はコー
ド「0」をセットするに際し、Sフラグにより短パルス
の時間内である0.5秒以内にアクティブレベルが有っ
たことを検出し、Lフラグが無いことにより0.5秒以
降0.8秒以内にアクティブレベルを検出できなかった
ときにコード「1」をセットすることに換えてコード
「0」をセットし、又、Lフラグにより0.5秒以降
0.8秒までの間にアクティブレベルが検出されたと判
断したときときにコード「0」をセットすることに換え
てコード「1」をセットすることもあり、この場合は、
時刻データの数値変換に際してコード「1」を0とし、
コード「0」をその位置に応じて数値の1,2,4,8
などに対応させるものである。
In the code conversion process (S370), when the code "1" or the code "0" is set by the S flag or the L flag, the signal is activated within 0.5 seconds within the short pulse time by the S flag. When the active level is detected within 0.5 seconds to 0.8 seconds after the absence of the L flag due to the absence of the L flag, the code “0” is set instead of setting the code “1”. Is set, and when it is determined from the L flag that the active level has been detected from 0.5 seconds to 0.8 seconds, the code "1" is set instead of the code "0". Sometimes set, in this case,
At the time of numerical conversion of time data, code “1” is set to 0,
The code "0" is changed to the numerical value 1, 2, 4, 8 according to the position.
And so on.

【0090】このように、本実施の形態では、標準電波
の受信及び時刻読込みの処理(S115及びS123)
において、1秒同期(S340)及び0秒位置検出(S
350)を行った後、時刻コード信号の位置である秒信
号に関し、「1」を示す0.5秒間の内に一瞬でもアク
ティブレベルがあれば「1」又は「0」とし、「0」を
示す0.8秒間の内、0.5秒以降の時間内に一瞬でも
アクティブレベルがあれば「0」又は「1」として時刻
コードの解析を行うものであるから、微弱な電波であっ
て、時刻コードの正確な復元ができない場合であって
も、時刻コードの読込みを行うことができる。
As described above, in the present embodiment, the process of receiving the standard radio wave and reading the time (S115 and S123)
At 1 second synchronization (S340) and 0 second position detection (S
After the step 350), regarding the second signal which is the position of the time code signal, if there is an active level even for an instant within 0.5 seconds indicating “1”, it is set to “1” or “0”, and “0” is set. Of the 0.8 seconds shown, if there is an active level even for an instant within the time after 0.5 seconds, the time code is analyzed as "0" or "1". Even when the time code cannot be accurately restored, the time code can be read.

【0091】そして、2回連続した時刻コードの適正な
値の範囲の解析結果を照合するから、微弱な電波から読
み取った標準時の確認を行い、ノイズなどの不確実な信
号による誤りを読込みエラーとして除去し、正しい日本
標準時の時刻データを読み込むことができる。尚、コー
ド「0」又は「1」への変換に際し、アクティブレベル
の検出は、1回の検出に限るものでなく、数回のアクテ
ィブレベルの検出によってSフラグ及びLフラグのセッ
トを行い、短時間の検出によってコード「0」又は
「1」の判断を行う場合もあることは前述の通りであ
る。
Then, since the analysis results in the range of the appropriate value of the time code which are consecutive twice are collated, the standard time read from a weak radio wave is checked, and an error due to an uncertain signal such as noise is regarded as a read error. You can remove it and read the correct time data for Japan Standard Time. Note that the detection of the active level at the time of conversion to the code “0” or “1” is not limited to one detection, and the S flag and the L flag are set by detecting the active level several times. As described above, the determination of the code “0” or “1” may be performed by detecting the time.

【0092】又、1秒間に各検出処理などを行う割込み
回数は、32回に限るものでないことは言うまでもな
い。更に、この標準電波の受信及び時刻読込みの処理
(S115又はS123)は、デジタル式の時計体であ
っても同様に行うものであり、時刻表示が24時間形の
デジタル時計では、データ比較(S380)の処理にお
ける12時間単位への変更(S803)を省略するもの
である。
It goes without saying that the number of interrupts for performing each detection processing and the like in one second is not limited to 32. Further, the process of receiving the standard radio wave and reading the time (S115 or S123) is performed in the same manner even with a digital clock body, and the data comparison (S380) is performed on a 24-hour digital clock. ) Is omitted in the process of 12 hours (S803).

【0093】[0093]

【発明の効果】請求項1に係る本発明は、1秒同期及び
0秒位置検出を行った後、時刻コードの読み取り処理に
おいて、パルス幅の長短により各ビットデータが現され
るコードの出力開始点から長パルスの幅の時間だけ分デ
ータ信号及び時データ信号のレベル検出を行い、短パル
スの時間内のみにアクティブレベルを検出したときはコ
ード「1」又はコード「0」とし、短パルスの時間経過
後にアクティブレベルを検出したときはコード「0」又
はコード「1」とし、分データ及び時データの値が適正
値の範囲でないときは、再度、1秒同期及び0秒位置検
出から処理を行う電波修正時計における時刻コードの解
析方法とするものである。
According to the first aspect of the present invention, after performing 1-second synchronization and 0-second position detection, in a time code reading process, output of a code in which each bit data is represented by the length of a pulse width is started. From the point, the level of the data signal and the hour data signal is detected for the time of the long pulse width, and when the active level is detected only within the time of the short pulse, the code is set to "1" or "0". If the active level is detected after the lapse of time, the code is set to "0" or "1". If the minute data and the hour data are not within the appropriate range, the process is repeated from 1 second synchronization and 0 second position detection. This is a method of analyzing a time code in a radio-controlled timepiece.

【0094】従って、長パルス幅の時間である0.8秒
以内の内、短パルス幅の時間内及び短パルス幅の時間経
過後に各々短時間でもアクティブレベルを検出したとき
はコード「1」又は「0」として時刻データを求めるか
ら、微弱な標準電波であっても標準電波の受信により日
本標準時の時刻データを求め、日本標準時に合わせた時
刻の表示を行うことができる。
Therefore, when the active level is detected within a short pulse width time and within a short pulse width time within 0.8 seconds, which is a long pulse width time, and even after a short pulse width, respectively, the code "1" or Since the time data is obtained as "0", the time data of the Japan Standard Time can be obtained by receiving the standard time signal even for a weak standard time signal, and the time can be displayed in accordance with the Japan Standard Time.

【0095】このため、受信状態が良好でない場所であ
っても電波修正時計を設置して正確な時刻の表示を行わ
せることができる。又、請求項2に係る本発明は、レベ
ル検出を割込み信号に基づいて1秒間に数十回行い、1
回又は数回のアクティブレベルの検出をもって時刻コー
ド信号のコード「1」又は「0」の識別を行う請求項1
に記載した電波修正時計における時刻コードの解析方法
とするものである。
[0095] For this reason, even in a place where the reception condition is not good, a radio-controlled timepiece can be installed to display an accurate time. Further, according to the present invention, the level detection is performed several tens of times per second based on the interrupt signal.
The code "1" or "0" of the time code signal is identified by detecting the active level one or several times.
The time code analysis method in the radio-controlled timepiece described in (1).

【0096】従って、アクティブレベルの検出回数に基
づく演算処理を行う必要がなく、容易に判定処理を行っ
てコード「1」又は「0」を形成し、日本標準時の時刻
データを読み込むことができる。そして、請求項3に係
る本発明は、レベル検出を行った際、各コードの出力開
始点から長パルス幅の時間内にアクティブレベルを全く
検出できないときは、1秒同期及び0秒位置検出から再
度標準電波の受信及びコード解析の処理を行う請求項1
又は請求項2に記載した電波修正時計における時刻コー
ドの解析方法とするものである。
Therefore, there is no need to perform arithmetic processing based on the number of times the active level has been detected, and it is possible to easily perform the determination processing to form the code “1” or “0” and read the time data in Japan Standard Time. In the present invention according to claim 3, when the level detection is performed, if no active level can be detected within a long pulse width time from the output start point of each code, 1 second synchronization and 0 second position detection are performed. 2. The process of receiving a standard radio wave and performing code analysis again.
Alternatively, it is a method of analyzing a time code in a radio-controlled timepiece according to a second aspect.

【0097】従って、マーカー信号やコード「1」又は
「0」を示すべきコード信号のアクティブレベルを全く
検出できない電波状態では、誤った時刻データの値を読
み込むことを防止し、正しい日本標準時の時刻データを
読み込むことができる。更に、請求項4に係る本発明
は、所要時間内に2回連続して適正な値の時刻データを
求め、且つ、連続して読み取った時刻データの値が1分
差で一致したとき、又は、設定した所要時間が経過した
ときにに標準電波の解析処理を終了する請求項1乃至請
求項3の何れかに記載した電波修正時計における時刻コ
ードの解析方法とするものである。
Therefore, in a radio wave state in which the active level of the marker signal or the code signal indicating the code “1” or “0” cannot be detected at all, reading of the wrong time data value is prevented, and the correct time in Japan Standard Time is prevented. Data can be read. Furthermore, the present invention according to claim 4 is that the time data of the appropriate value is obtained twice consecutively within the required time, and the values of the time data read continuously match by one minute difference, or The method for analyzing a time code in a radio-controlled timepiece according to any one of claims 1 to 3, wherein the standard radio wave analysis processing is terminated when the set required time has elapsed.

【0098】このように、連続して読み取った適正な値
である時刻データの値が1分差で一致したときに解析処
理を終了する故、正しい日本標準時の時刻データを読み
込んだときに処理の終了をすることができる。
As described above, the analysis process is terminated when the values of the time data, which are successively read appropriate values, match with a difference of one minute, so that when the correct time data of the Japan Standard Time is read, the processing is terminated. You can end.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明に係る電波修正時計における時刻コード
の解析処理の全体動作を示すフローチャート図。
FIG. 1 is a flowchart showing the overall operation of a time code analysis process in a radio-controlled timepiece according to the present invention.

【図2】本発明に係る電波修正時計における時刻コード
の解析処理の全体動作を示すフローチャート図。
FIG. 2 is a flowchart showing the entire operation of a time code analysis process in the radio-controlled timepiece according to the present invention.

【図3】本発明に係る解析処理の1秒同期の制御動作を
示すフローチャート図。
FIG. 3 is a flowchart showing a control operation of one-second synchronization in the analysis processing according to the present invention.

【図4】本発明に係る解析処理の1秒同期の制御動作を
示すフローチャート図。
FIG. 4 is a flowchart showing a control operation of one-second synchronization in the analysis processing according to the present invention.

【図5】本発明に係る解析処理の0秒位置検出の制御動
作を示すフローチャート図。
FIG. 5 is a flowchart showing a control operation for detecting a 0-second position in the analysis processing according to the present invention.

【図6】本発明に係る解析処理の0秒位置検出の制御動
作を示すフローチャート図。
FIG. 6 is a flowchart showing a control operation for detecting a 0-second position in the analysis processing according to the present invention.

【図7】本発明に係る解析処理のパルス幅計測の制御動
作を示すフローチャート図。
FIG. 7 is a flowchart showing a control operation of pulse width measurement in the analysis processing according to the present invention.

【図8】本発明に係る解析処理のパルス幅計測の制御動
作を示すフローチャート図。
FIG. 8 is a flowchart showing a control operation of pulse width measurement in the analysis processing according to the present invention.

【図9】本発明に係る解析処理のコード変換の制御動作
を示すフローチャート図。
FIG. 9 is a flowchart showing a control operation of code conversion in the analysis processing according to the present invention.

【図10】本発明に係る解析処理のコード変換の制御動
作を示すフローチャート図。
FIG. 10 is a flowchart showing a control operation of code conversion in the analysis processing according to the present invention.

【図11】本発明に係る解析処理のデータ比較の制御動
作を示すフローチャート図。
FIG. 11 is a flowchart showing a control operation of data comparison in the analysis processing according to the present invention.

【図12】従来の電波修正時計の回路ブロックの一例を
示す図。
FIG. 12 is a diagram showing an example of a circuit block of a conventional radio-controlled timepiece.

【図13】従来の電波修正時計の全体制御動作を示すタ
イムチャート図。
FIG. 13 is a time chart showing the overall control operation of a conventional radio-controlled timepiece.

【図14】日本標準電波のコード様式を示す図。FIG. 14 is a view showing a code format of a Japanese standard radio wave.

【図15】従来の電波修正時計における電波解析処理の
一例を示すタイムチャート図。
FIG. 15 is a time chart showing an example of radio wave analysis processing in a conventional radio-controlled timepiece.

【図16】復調された日本標準電波の信号例を示す図。FIG. 16 is a diagram illustrating an example of a demodulated Japanese standard radio signal.

【符号の説明】[Explanation of symbols]

11 マイクロコンピュータ 13 バーアンテ
ナ 15 受信復調手段 17 水晶発振回
路 19 リセットスイッチ 21 ムーブメント 23 モータ駆動
用バッファ 25 秒針用モータ 27 時分針用モ
ータ 31 秒針用センサ 33 時分針用セ
ンサ 37 読込み表示手段
Reference Signs List 11 microcomputer 13 bar antenna 15 reception demodulation means 17 crystal oscillation circuit 19 reset switch 21 movement 23 motor drive buffer 25 second hand motor 27 hour and minute hand motor 31 second hand sensor 33 hour and minute hand sensor 37 reading and displaying means

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 標準電波の受信及びコード解析の処理を
行って時刻データを読み込むに際し、1秒同期及び標準
電波におけるコード信号の0秒位置検出を行った後、時
刻コードの読み取り処理において、サンプリングパルス
によりコード信号のレベル検出を行うものとし、パルス
幅の長短により各ビットのデータが現される各コードの
出力開始点から長パルスの幅の時間だけ分データ信号位
置及び時データ信号位置のレベル検出を行い、短パルス
の幅の時間にのみアクティブレベルを検出したときはコ
ード「1」又はコード「0」の何れか一方とし、短パル
スの幅の時間経過後にアクティブレベルを検出したとき
はコード「1」又はコード「0」の何れか他方とし、コ
ード解析の結果、分データ及び時データの値が通常の時
刻表示に使用される値の範囲でないときは、再度、1秒
同期及び0秒位置検出から標準電波の受信及びコード解
析の処理を行うことを特徴とする電波修正時計における
時刻コードの解析方法。
When reading time data by performing standard radio wave reception and code analysis processing, after performing 1-second synchronization and detecting a 0-second position of a code signal in the standard radio wave, sampling is performed in a time code reading process. The level of the code signal is detected by the pulse, and the level of the data signal position and the hour data signal position for the time of the long pulse width from the output start point of each code in which the data of each bit is represented by the length of the pulse width If detection is performed and the active level is detected only during the short pulse width, either code "1" or code "0" is used. If the active level is detected after the short pulse width has elapsed, the code is used. The value of minute data and hour data is used for normal time display as a result of code analysis as either "1" or code "0". A time code analysis method for a radio-controlled timepiece, wherein the process of receiving the standard radio wave and performing the code analysis from the one-second synchronization and the zero-second position detection is performed again when the value is not within the value range.
【請求項2】 コード信号のレベル検出は、1秒内に数
十回のサンプリングを割込み信号に基づいて行い、サン
プリング回数中、1回又は数回のHレベル又はLレベル
であるアクティブレベルの検出をもって時刻コード信号
における各コードの「1」又は「0」の識別を行うこと
を特徴とする請求項1に記載した電波修正時計における
時刻コードの解析方法。
2. The level detection of a code signal is performed several tens of times within one second based on an interrupt signal, and detection of an active level which is one or several H levels or L levels during the number of samplings. 2. The time code analysis method for a radio-controlled timepiece according to claim 1, wherein the identification of "1" or "0" of each code in the time code signal is performed by the following.
【請求項3】 レベル検出を行った際、各コードの出力
開始点から前記長パルスの幅の時間内にアクティブレベ
ルを全く検出できないときは、1秒同期及び0秒位置検
出から再度標準電波の受信及びコード解析の処理を行う
ことを特徴とする請求項1又は請求項2に記載した電波
修正時計における時刻コードの解析方法。
3. When level detection is performed, if no active level can be detected within the time of the long pulse width from the output start point of each code, the standard radio signal is again transmitted from 1 second synchronization and 0 second position detection. 3. The time code analyzing method in a radio-controlled timepiece according to claim 1, wherein the time code is received and analyzed.
【請求項4】 所要時間を設定し、所要時間内に2回連
続して適正な値の時刻データを求め、且つ、連続して読
み取った時刻データの値が1分差で一致したとき、又
は、設定した所要時間が経過したときに標準電波の解析
処理を終了することを特徴とする請求項1乃至請求項3
の何れかに記載した電波修正時計における時刻コードの
解析方法。
4. When a required time is set, time data of an appropriate value is obtained twice consecutively within the required time, and when values of time data read continuously match by one minute, or 4. The standard radio wave analysis processing is terminated when a set required time has elapsed.
The time code analysis method in the radio-controlled timepiece described in any one of the above.
JP01519398A 1998-01-28 1998-01-28 Time code analysis method for radio-controlled watches Expired - Fee Related JP3698882B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP01519398A JP3698882B2 (en) 1998-01-28 1998-01-28 Time code analysis method for radio-controlled watches

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP01519398A JP3698882B2 (en) 1998-01-28 1998-01-28 Time code analysis method for radio-controlled watches

Publications (2)

Publication Number Publication Date
JPH11211858A true JPH11211858A (en) 1999-08-06
JP3698882B2 JP3698882B2 (en) 2005-09-21

Family

ID=11882030

Family Applications (1)

Application Number Title Priority Date Filing Date
JP01519398A Expired - Fee Related JP3698882B2 (en) 1998-01-28 1998-01-28 Time code analysis method for radio-controlled watches

Country Status (1)

Country Link
JP (1) JP3698882B2 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1978425A2 (en) 2007-03-26 2008-10-08 Casio Computer Co., Ltd. Time information receiver and radio controlled watch
EP2015150A1 (en) 2007-07-09 2009-01-14 Seiko Epson Corporation Time adjustment device, timekeeping device with a time adjustment device, and a time adjustment method
EP2023218A2 (en) 2007-08-02 2009-02-11 Seiko Epson Corporation Time adjustment device, timekeeping device with a time adjustment device, and a time adjustment method
US7551521B2 (en) 2007-03-26 2009-06-23 Casio Computer Co., Ltd. Time information receiver and radio controlled watch
JP2010043910A (en) * 2008-08-11 2010-02-25 Seiko Epson Corp Time receiving apparatus, radio-controlled watch, and method for controlling the time receiving apparatus
JP2011075298A (en) * 2009-09-29 2011-04-14 Casio Computer Co Ltd Time information-acquiring apparatus and radio wave timepiece
JP2012163541A (en) * 2011-02-09 2012-08-30 Seiko Epson Corp Time receiver, radio controlled timepiece, and coding method
JP2013092533A (en) * 2013-01-16 2013-05-16 Seiko Epson Corp Time reception device, radio wave correction timepiece, and control method of time reception device
KR20140016867A (en) * 2010-10-01 2014-02-10 가부시키가이샤 야쿠르트 혼샤 Fermented food and method for producing same

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008241351A (en) * 2007-03-26 2008-10-09 Casio Comput Co Ltd Time information receiver and radio clock
US7551521B2 (en) 2007-03-26 2009-06-23 Casio Computer Co., Ltd. Time information receiver and radio controlled watch
EP1978425A3 (en) * 2007-03-26 2010-01-06 Casio Computer Co., Ltd. Time information receiver and radio controlled watch
EP1978425A2 (en) 2007-03-26 2008-10-08 Casio Computer Co., Ltd. Time information receiver and radio controlled watch
US8089918B2 (en) 2007-03-26 2012-01-03 Casio Computer Co., Ltd. Time information receiver and radio controlled watch
EP2015150A1 (en) 2007-07-09 2009-01-14 Seiko Epson Corporation Time adjustment device, timekeeping device with a time adjustment device, and a time adjustment method
US7701390B2 (en) 2007-07-09 2010-04-20 Seiko Epson Corporation Time adjustment device, timekeeping device with a time adjustment device, and a time adjustment method
US8488417B2 (en) 2007-08-02 2013-07-16 Seiko Epson Corporation Time adjustment device, timekeeping device with a time adjustment device, and a time adjustment method
EP2023218A2 (en) 2007-08-02 2009-02-11 Seiko Epson Corporation Time adjustment device, timekeeping device with a time adjustment device, and a time adjustment method
US8077551B2 (en) 2007-08-02 2011-12-13 Seiko Epson Corporation Time adjustment device, timekeeping device with a time adjustment device, and a time adjustment method
JP2010043910A (en) * 2008-08-11 2010-02-25 Seiko Epson Corp Time receiving apparatus, radio-controlled watch, and method for controlling the time receiving apparatus
JP2011075298A (en) * 2009-09-29 2011-04-14 Casio Computer Co Ltd Time information-acquiring apparatus and radio wave timepiece
KR20140016867A (en) * 2010-10-01 2014-02-10 가부시키가이샤 야쿠르트 혼샤 Fermented food and method for producing same
KR101867429B1 (en) * 2010-10-01 2018-06-14 가부시키가이샤 야쿠르트 혼샤 Fermented food and method for producing same
JP2012163541A (en) * 2011-02-09 2012-08-30 Seiko Epson Corp Time receiver, radio controlled timepiece, and coding method
JP2013092533A (en) * 2013-01-16 2013-05-16 Seiko Epson Corp Time reception device, radio wave correction timepiece, and control method of time reception device

Also Published As

Publication number Publication date
JP3698882B2 (en) 2005-09-21

Similar Documents

Publication Publication Date Title
JP4233311B2 (en) Radio clock, standard radio wave reception method and electronic equipment
JPH11211858A (en) Analyzing method for time code for radio wave-corrected timepiece
EP1892591B1 (en) Radio-controlled timepiece and method of changing the waveform discrimination standard
CN102314149B (en) Time information acquisition device and radio controlled timepiece
JP2010025651A (en) Time information acquisition device and radio clock
EP2701017B1 (en) Time information obtaining device and radio-controlled timepiece
EP2407835B1 (en) Radio controlled timepiece
US4374622A (en) Digital alarm timepiece with setting pointer
JP5621835B2 (en) Time information acquisition device and radio clock
JPH11211857A (en) Analog type radio wave-corrected timepiece
JP4964182B2 (en) Radio clock
JP4873040B2 (en) Analog electronic watch
JPH07151875A (en) Radiowave correcting clock
JPH06258364A (en) Pulse signal detecting circuit
JP5316375B2 (en) Time information acquisition device and radio clock
JP5625977B2 (en) Time receiver, radio wave correction clock, and encoding method
JP4108528B2 (en) Minute detection method using standard radio waves and radio-controlled clock
JP2002286877A (en) Time frame start timing determining method, time frame start timing determining device, time information detecting device, and radio-controlled clock
JP2012021920A (en) Marker detector and atomic clock
JP4905531B2 (en) Time information acquisition device and radio clock
JP2017058282A (en) Time information reception device, radio wave correcting timepiece and time code type determining method
HK1118103A (en) Radio-controlled timepiece and method of changing the waveform discrimination standard
JP2003114288A (en) Radio wave-correctable clock
JP6136647B2 (en) Radio correction watch and radio correction watch code determination method
JP2013019723A (en) Time receiver, radio wave correcting timepiece and time code type determining method

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041007

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050706

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20080715

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100715

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100715

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120715

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20140715

Year of fee payment: 9

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees