JP2000162346A - Computer system with clock function and its time correction method - Google Patents

Computer system with clock function and its time correction method

Info

Publication number
JP2000162346A
JP2000162346A JP33821598A JP33821598A JP2000162346A JP 2000162346 A JP2000162346 A JP 2000162346A JP 33821598 A JP33821598 A JP 33821598A JP 33821598 A JP33821598 A JP 33821598A JP 2000162346 A JP2000162346 A JP 2000162346A
Authority
JP
Japan
Prior art keywords
time
clock
code signal
computer system
pulse
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.)
Pending
Application number
JP33821598A
Other languages
Japanese (ja)
Inventor
Tatsuya Kishimoto
達也 岸本
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.)
NEC Electronics Engineering Co Ltd
Original Assignee
NEC Electronics Engineering 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 NEC Electronics Engineering Co Ltd filed Critical NEC Electronics Engineering Co Ltd
Priority to JP33821598A priority Critical patent/JP2000162346A/en
Publication of JP2000162346A publication Critical patent/JP2000162346A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To automatically set and correct the year, month, day, hour, minute, and second of a clock (RTC) that is built into an information-processing device of a computer or the like by a timecode signal that is supplied by a long-wave standard electronic wave. SOLUTION: A long wave standard electronic wave 2 that is transmitted from a long wave standard electronic wave transmission station 1 is received from a long wave receiver 3 that is built into a computer 4. The computer 4 successively calculates each time information of 'minute', 'hour', 'day', and 'year' from a digital timecode signal being included in the long wave standard electronic wave 2, compares the obtained time information with the time of a built-in clock 4F, and immediately corrects the day and time of the built-in clock 4F when an error results, thus constantly synchronizing the day and time of the built-in clock 4F to the Japanese Standard Time.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、時計機能を有する
コンピュータシステム及びその時刻補正方法に関し、更
に詳しくは、標準電波に含まれるタイムコード信号を用
いて自動的に時刻を設定するコンピュータシステム及び
その時刻補正方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer system having a clock function and a time correction method therefor, and more particularly, to a computer system for automatically setting time using a time code signal included in a standard radio wave, and a computer system therefor. It relates to a time correction method.

【0002】[0002]

【従来の技術】近年、急速に発展したコンピュータ・ネ
ットワークを使用したシステムでは、ネットワークを構
成する複数の情報処理機器が正確に同期して動作するこ
とが要求され、このため、近年のコンピュータシステム
の大部分が電池等によりバックアップされたカレンダ及
び時計機能(以下、「RTC」と言う。RTC:Rial T
ime Clock)を内蔵している。このRTCによれば、コ
ンピュータシステムに電源が供給されていなくても、電
池等により長期間にわたって時刻を刻み続けることがで
きる。
2. Description of the Related Art In a system using a computer network which has been rapidly developed in recent years, it is required that a plurality of information processing devices constituting the network operate accurately in synchronization with each other. A calendar and clock function (hereinafter referred to as "RTC") that is mostly backed up by batteries etc. RTC: Rial T
ime Clock). According to this RTC, even if power is not supplied to the computer system, the time can be kept for a long time by a battery or the like.

【0003】[0003]

【発明が解決しようとする課題】ところで、RTCは以
下のような問題を含んでいる。 (1)構成情報処理機器が遠地にあるような場合は、オ
ペレータが時刻修正を行うことができない。 (2)RTCの日付及び時刻設定を行うには、日付は新
聞等から目で確認し、時刻は電話による時報サービス等
を利用して、耳で確認しながらコンピュータを操作して
設定するのが一般的であり、その設定精度にも限界があ
り、かつ標準時に閏秒が挿入されたような場合は、その
修正を直ちにRTCへ反映させる手段が無い。
However, RTC has the following problems. (1) Configuration When the information processing device is in a remote place, the operator cannot correct the time. (2) In order to set the date and time of the RTC, it is necessary to check the date visually from a newspaper or the like, and to set the time by operating the computer while checking the time using a time signal service or the like by telephone. Generally, there is a limit in the setting accuracy, and when a leap second is inserted at the standard time, there is no means for immediately reflecting the correction to the RTC.

【0004】(3)RTCを機能させるための電池等に
は寿命があり、放電あるいは劣化によりその機能が維持
できなくなった場合、RTCもその機能を停止してしま
う。 (4)RTCの大部分は水晶発振子を用いたものであ
り、その精度は温度変化等に依存し、通常は月差数十秒
程度である。このため、長期間にわたって時刻の修正を
行わずに使用していると、その誤差が蓄積され、数分も
の誤差となる。
(3) A battery or the like for making the RTC function has a lifetime, and if the function cannot be maintained due to discharge or deterioration, the RTC also stops its function. (4) Most of the RTC uses a crystal oscillator, and its accuracy depends on a temperature change or the like, and is usually about several tens of seconds per month. Therefore, if the time is used without correcting the time for a long period of time, the error is accumulated, resulting in an error of several minutes.

【0005】RTCが含むこれらの問題を解決するため
の従来技術として、特開平6−180617号公報に
は、定時の時報を受信し、受信した電波から特定のパタ
ーンである時報のパターンを検出し、正時の信号により
特定信号を出力してコンピュータの内蔵時計の毎正時零
秒を合わせる技術が記載されている。
As a prior art for solving these problems included in the RTC, Japanese Patent Laid-Open Publication No. Hei 6-180617 discloses a method in which a regular time signal is received and a specific time signal pattern is detected from the received radio waves. A technique is described in which a specific signal is output based on the signal of the hour and the zero-second of each hour of the internal clock of the computer is adjusted.

【0006】また、特開平4−65697号公報には、
自動的に複数局のオメガ電波の10秒間に繰り返す受信
信号の発射パターンの少なくとも2種類の周波数のパル
スを順次補足し、コンピュータを用いてパルスパターン
を取り出し、その異なったパルスパターンの開始時刻を
時刻校正の基礎として、時計ICの時刻の秒のずれを自
動修正することによって、100msecの時刻精度を
長期間維持するという技術が記載されている。
[0006] Japanese Patent Application Laid-Open No. 4-65697 discloses that
Pulses of at least two kinds of frequencies of the emission pattern of the received signal that repeats automatically for 10 seconds of the omega radio waves of a plurality of stations are sequentially captured, the pulse pattern is extracted using a computer, and the start time of the different pulse pattern is set to the time. As a basis of the calibration, a technique is described in which the time accuracy of 100 msec is maintained for a long time by automatically correcting the time difference of the time of the clock IC.

【0007】更に、特開平10−31083号公報に
は、GPS衛星信号を受信し、その信号の中からグリニ
ッジ標準時を与えるデータを抽出し、ソフトウェアによ
って日本標準時に変換した時刻と、毎秒送られてくるG
PS信号のタイミングでコンピュータに内蔵される時計
とを比較し、誤差が生じた場合に自動的に修正すること
によって、常にGPS衛星における時計と秒単位で同期
させる技術が記載されている。
Further, Japanese Patent Laid-Open Publication No. Hei 10-31083 discloses that a GPS satellite signal is received, data giving Greenwich Mean Time is extracted from the signal, the time is converted by software into Japan Standard Time, and transmitted every second. Coming G
A technique is described in which a clock incorporated in a computer is compared at the timing of a PS signal, and an error is automatically corrected so that the clock is always synchronized with a clock in a GPS satellite in seconds.

【0008】しかしながら、これらの従来技術には次の
ような問題点がある。第一の問題点は、オメガ電波や時
報を用いた従来技術によれば、装置が大型化するという
問題がある。また、GPS電波を用いる従来技術によれ
ば、GPS電波を受けるために外部アンテナを必要と
し、最低3個の衛星を捕捉する必要があるため、室内の
複数のコンピュータに適用する場合には設置場所等が限
られると言う問題がある。
However, these conventional techniques have the following problems. The first problem is that, according to the conventional technology using the omega radio wave and the time signal, there is a problem that the device becomes large. Further, according to the conventional technology using GPS radio waves, an external antenna is required to receive GPS radio waves, and it is necessary to capture at least three satellites. Etc. is limited.

【0009】第二の問題点は、GPSを用いた従来技術
では、日時の時刻取得が可能ではあるが、その時刻の取
得まで最大で15分掛かることである。第三の問題点
は、いずれの従来技術も時刻の修正を主目的とするもの
であり、正確な日本標準時の設定には対応していないと
いう点である。
The second problem is that, in the conventional technology using GPS, time and date can be obtained, but it takes up to 15 minutes to obtain the time. The third problem is that none of the prior arts has a main purpose of correcting time, and does not support accurate setting of Japan Standard Time.

【0010】この発明は、上記事情に鑑みてなされたも
ので、長波標準電波に含まれるタイムコード信号を用い
て、装置の大型化を招くことなく、コンピュータシステ
ムに内蔵された時計の日付や時刻を、自動的に、しかも
正確且つ迅速に日本標準時に設定し補正することが可能
な時計機能を有するコンピュータシステム及びその時刻
補正方法を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and uses a time code signal included in a long-wave standard time signal to increase the date and time of a clock built in a computer system without increasing the size of the device. It is an object of the present invention to provide a computer system having a clock function capable of automatically and accurately and quickly setting and correcting the time in Japan Standard Time, and a method for correcting the time.

【0011】[0011]

【課題を解決するための手段】上記課題を解決達成する
ため、この発明は以下の構成を有する。すなわち、請求
項1にかかる発明は、所定の発振出力に基づき計時して
時刻を出力する計時手段と、タイムコード信号を含む標
準電波を受信する受信手段と、前記標準電波に含まれる
タイムコード信号から時刻情報を取得する時刻情報取得
手段と、前記タイムコード信号から取得された時刻情報
に基づき前記計時手段が出力する時刻を設定する時刻設
定手段と、を備えたことを特徴とする。なお、この発明
において、「時刻」は、時分秒に加えて、年月日、曜日
など、時を規定するすべての要素を包括する概念を表
す。
In order to achieve the above object, the present invention has the following arrangement. In other words, the invention according to claim 1 is a time measuring means for measuring the time based on a predetermined oscillation output and outputting a time, a receiving means for receiving a standard radio wave including a time code signal, and a time code signal included in the standard radio wave. And time setting means for setting the time output by the clocking means based on the time information obtained from the time code signal. In the present invention, “time” represents a concept including all elements that define time, such as year, month, day, day of the week, in addition to hours, minutes, and seconds.

【0012】請求項2にかかる発明は、前記時刻取得手
段が、前記タイムコード信号に含まれる所定のパルスを
検出するパルス検出部と、前記パルス検出部により検出
されたパルスの配列から時刻情報を算出する時刻算出部
と、を備えたことを特徴とする。
According to a second aspect of the present invention, the time acquiring means detects a predetermined pulse included in the time code signal, and detects time information from an array of pulses detected by the pulse detecting section. And a time calculating unit for calculating.

【0013】請求項3にかかる発明は、時計機能を有す
るコンピュータシステムの時刻補正方法において、
(a)タイムコード信号を含む標準電波を受信するステ
ップと、(b)受信された前記標準電波に含まれるタイ
ムコード信号から時刻情報を取得するステップと、
(c)前記タイムコード信号から取得された時刻情報に
基づき内蔵時計の時刻を設定するステップと、を含むこ
とを特徴とする。
According to a third aspect of the present invention, there is provided a time correction method for a computer system having a clock function.
(A) receiving a standard time signal including a time code signal; (b) obtaining time information from a time code signal included in the received standard time signal;
(C) setting the time of a built-in clock based on the time information obtained from the time code signal.

【0014】上述の発明によれば、標準電波送信所から
送信される標準電波から得られる日付及び時刻とコンピ
ュータ内蔵時計の日付及び時刻とを比較し、誤差が生じ
た場合は、直ちに修正することによって、コンピュータ
内蔵時計の日付及び時刻を常に日本標準時に同期させる
ことが可能となる。
According to the above-mentioned invention, the date and time obtained from the standard radio wave transmitted from the standard radio wave transmitting station are compared with the date and time of the internal clock of the computer, and if an error occurs, it is immediately corrected. This makes it possible to always synchronize the date and time of the computer clock with Japan Standard Time.

【0015】[0015]

【発明の実施の形態】以下、この発明の実施の形態につ
いて、図面を参照しながら説明する。なお、この実施の
形態において、「時刻」は、時分秒に加えて、年月日、
曜日など、時を規定する要素をすべて包括する概念を表
すものとする。
Embodiments of the present invention will be described below with reference to the drawings. In this embodiment, “time” includes hours, minutes, seconds, year, month, day,
It represents a concept that includes all elements that define time, such as days of the week.

【0016】図1に、本発明にかかるコンピュータシス
テムのブロック図である。同図において、符号1は、タ
イムコード信号を含む長波標準電波2(以下、単に「標
準電波」と記す)を送信する長波標準電波送信所、符号
3は、標準電波2を受信してこの標準電波2に含まれる
タイムコード信号TCを出力する受信手段としての長波
受信機であって、この実施の形態にかかるコンピュータ
システムに内蔵される。符号4は、このコンピュータシ
ステムをなすコンピュータである。
FIG. 1 is a block diagram of a computer system according to the present invention. In the figure, reference numeral 1 denotes a long-wave standard radio wave transmitting station for transmitting a long-wave standard radio wave 2 including a time code signal (hereinafter simply referred to as “standard radio wave”), and reference numeral 3 denotes a standard radio wave that receives the standard radio wave 2 and receives the standard radio wave. This is a long wave receiver as a receiving means for outputting the time code signal TC included in the radio wave 2, and is built in the computer system according to the present embodiment. Reference numeral 4 denotes a computer constituting the computer system.

【0017】符号4Aは、タイムコード信号TCに含ま
れる所定のパルスを検出するパルス検出部としての基準
マークパルス検出部、符号4B〜4Eは、検出されたパ
ルスの配列から「分」、「時」、「日付」、「年」の各
時刻情報を算出する時刻算出部であって、それぞれ分計
算部、時計算部、日付計算部、年計算部である。これら
基準マークパルス検出部4A、分計算部4B、時計算部
4C、日付計算部4D、年計算部4Eは、標準電波に含
まれるタイムコード信号から時刻情報を取得する時刻情
報取得手段をなし、例えばソフトウェア上で実現され
る。
Reference numeral 4A denotes a reference mark pulse detector as a pulse detector for detecting a predetermined pulse included in the time code signal TC, and reference numerals 4B to 4E denote "minutes" and "hours" based on the arrangement of the detected pulses. , "Date", and "year", which are a minute calculator, an hour calculator, a date calculator, and a year calculator, respectively. The reference mark pulse detecting section 4A, minute calculating section 4B, hour calculating section 4C, date calculating section 4D, and year calculating section 4E constitute time information obtaining means for obtaining time information from a time code signal included in a standard radio wave. For example, it is realized on software.

【0018】符号4Fは、所定の発振出力に基づき計時
して時刻を出力する計時手段としての内蔵時計(RT
C)であり、符号4Gは、タイムコード信号TCから取
得された時刻情報に基づき内蔵時計4Fの時刻を設定す
る時刻設定手段としての時刻設定部である。
Reference numeral 4F denotes a built-in clock (RT) as a time measuring means for measuring the time based on a predetermined oscillation output and outputting the time.
C), and reference numeral 4G denotes a time setting unit as time setting means for setting the time of the internal clock 4F based on the time information obtained from the time code signal TC.

【0019】ここで、標準電波に含まれるタイムコード
信号TCについて説明する。このタイムコード信号TC
は、「分」や「時」などの各時刻情報を含む信号であっ
て、図2に示すように、60秒の周期内にパルス幅の異
なる60個のパルスを含み、0.2秒のパルス幅を有す
るマークパルスP1と、0.5秒のパルス幅を有するマ
ークパルスP2と、0.8秒のパルス幅を有するマーク
パルスP3との3種類のパルスの組み合わせから構成さ
れる。
Here, the time code signal TC included in the standard radio wave will be described. This time code signal TC
Is a signal containing time information such as "minutes" and "hours". As shown in FIG. 2, the signal includes 60 pulses having different pulse widths within a period of 60 seconds, It is composed of a combination of three types of pulses: a mark pulse P1 having a pulse width, a mark pulse P2 having a pulse width of 0.5 seconds, and a mark pulse P3 having a pulse width of 0.8 seconds.

【0020】マークパルスP1は、更に60秒毎のタイ
ムコード信号の先頭を規定する基準マークパルスP1A
と、各時刻コードの位置を規定するポジションパルスP
1Bに分類される。各パルスの立ち上がりは正確に毎正
秒を表す。「年」、「時」および「分」の各時刻情報は
8個のパルス列(8ビット)で構成され、「日」の時刻
コードは11個のパルス列(11ビット)から構成され
る。
The mark pulse P1 further includes a reference mark pulse P1A for defining the head of the time code signal every 60 seconds.
And a position pulse P defining the position of each time code
Classified as 1B. The rise of each pulse represents exactly every second. Each time information of "year", "hour" and "minute" is composed of eight pulse trains (8 bits), and a time code of "day" is composed of 11 pulse trains (11 bits).

【0021】各パルスには、図2に示した如く、その位
置に対応させて時刻を表す値(以下、「時刻値」と記
す)による重み付けがなされている。時刻情報は、マー
クパルスP2(斜線が付されたパルス)の配列(パルス
位置)により表現され、各マークパルスP2のパルス位
置に対応する時刻値の和として得られる。
As shown in FIG. 2, each pulse is weighted by a value representing time (hereinafter, referred to as a "time value") in correspondence with the position. The time information is expressed by an arrangement (pulse position) of mark pulses P2 (pulsed hatched), and is obtained as a sum of time values corresponding to the pulse positions of each mark pulse P2.

【0022】例えば、図2に示す「分」の時刻情報を表
すパルス列において、基準マークパルスP1の後に続く
最初のパルス(パルス数=1)は、時刻値として40分
を表し、2番目のパルス(パルス数=2)は20分を表
す。斜線が付されたマークパルスP2が表す時刻値を合
計すると、40+10+2+1=53分となる。すなわ
ち、このタイムコード信号TCの「分」の時刻情報は、
「53分」を表す。
For example, in the pulse train representing the time information of "minute" shown in FIG. 2, the first pulse (number of pulses = 1) following the reference mark pulse P1 represents 40 minutes as a time value, and the second pulse (Number of pulses = 2) represents 20 minutes. The sum of the time values represented by the hatched mark pulse P2 is 40 + 10 + 2 + 1 = 53 minutes. That is, the time information of “minute” of the time code signal TC is:
Represents "53 minutes".

【0023】以下、この実施の形態にかかるコンピュー
タシステムの動作を、図4に沿って説明する。長波標準
電波送信所1から送信された標準電波2は、長波受信機
3にて受信され、検波・増幅および波形整形された後、
デジタル信号であるタイムコード信号としてコンピュー
タ4に出力される。長波受信機2から供給されたデジタ
ルのタイムコード信号は、コンピュータ4によって処理
される。
The operation of the computer system according to this embodiment will be described below with reference to FIG. The standard radio wave 2 transmitted from the long-wave standard radio wave transmitting station 1 is received by the long-wave receiver 3, and is subjected to detection / amplification and waveform shaping.
The digital signal is output to the computer 4 as a time code signal. The digital time code signal supplied from the long wave receiver 2 is processed by the computer 4.

【0024】具体的には次のようになる。 ステップS1:受信され得るパルス幅のタイムデータ信
号TCが受信されているのを確認する。 ステップS2:タイムデータ信号TCが受信されている
場合(ステップS1:YES)、このタイムデータ信号
TCに含まれるパルス列の先頭を示す基準マークパルス
P1Aを検出する。そして、この基準マークパルスP1
Aを検出した場合(ステップS2:YES)、以下の各
データの計算ステップを実行する。
Specifically, it is as follows. Step S1: Confirm that the time data signal TC having a pulse width that can be received is received. Step S2: When the time data signal TC is received (Step S1: YES), the reference mark pulse P1A indicating the head of the pulse train included in the time data signal TC is detected. Then, the reference mark pulse P1
When A is detected (step S2: YES), the following calculation steps for each data are executed.

【0025】ステップS3:最初の時刻情報として
「分」のデータの計算を行う。 ここで、図4を参照して、「分」のデータの計算処理を
説明する。 ステップS301:「分」のデータをリセットする。 ステップS302:タイムデータ信号TCに含まれる
「分」のデータを示す8個のパルスの順を数える。
Step S3: Data of "minute" is calculated as first time information. Here, with reference to FIG. 4, the calculation processing of the data of “minute” will be described. Step S301: Reset the data of "minute". Step S302: Count the order of eight pulses indicating "minute" data included in the time data signal TC.

【0026】ステップS303:実際の時刻値を示すマ
ークパルスP2を検出する。このマークパルスP2が検
出された場合(ステップS303:YES)、以下のス
テップS304〜ステップS318にて、マークパルス
P2が検出されたパルス位置に対応した時刻値が次々に
加えられ、「分」のデータを示す8個のパルスをすべて
検出した時点で、その時刻の「分」を得る。図2に示す
タイムデータ信号TCの場合、ステップS305,S3
09,S315,S317がそれぞれ実行され、最終的
に「53分」を表す時刻情報が得られる。
Step S303: A mark pulse P2 indicating an actual time value is detected. When the mark pulse P2 is detected (step S303: YES), in the following steps S304 to S318, time values corresponding to the pulse positions where the mark pulse P2 is detected are added one after another, and the "minute" is set. When all eight pulses indicating data are detected, "minute" at that time is obtained. In the case of the time data signal TC shown in FIG. 2, steps S305 and S3
Steps S09, S315 and S317 are executed, and finally time information representing "53 minutes" is obtained.

【0027】ここで、説明を図3に戻す。上述の「分」
のデータの計算手順と同様の手順を用いて、以下のステ
ップS4〜ステップS10により、マークパルスP2の
位置に応じて得られた値を加算して、「時」、「日
付」、「年」の各時刻情報を取得する。 ステップS5:「分」の計算処理が終了し、ポジション
パルスP1Bを検出すると(ステップS4:YES)、
「時」のデータの計算を行う。図2に示す例では、
「時」の時刻情報として、10+4+1=15分が得ら
れる。
Here, the description returns to FIG. Minutes as described above
Using the same procedure as the calculation procedure of the data of step (a), the values obtained in accordance with the position of the mark pulse P2 are added in steps S4 to S10 below, and "hour", "date", Get the time information of each. Step S5: When the calculation processing of “minutes” is completed and the position pulse P1B is detected (step S4: YES),
Calculate the data of "time". In the example shown in FIG.
As the time information of “hour”, 10 + 4 + 1 = 15 minutes is obtained.

【0028】ステップS7:「時」の計算処理が終了
し、ポジションパルスP1Bを検出すると(ステップS
6:YES)、「日付」のデータの計算を行う。図2に
示す例では、「日付」の時刻情報として、200+40
+20+2+1=263日(通算日)が得られる。 ステップS10:「日付」の計算処理が終了し、ポジシ
ョンパルスP1Bを検出し(ステップS8:YES)、
パリティが一致すると(ステップS9:YES)、
「年」のデータの計算を行う。図2に示す例では、
「年」のデータとして、80+10+8=98年(下2
桁)が得られる。
Step S7: When the "hour" calculation process is completed and the position pulse P1B is detected (step S7).
6: YES), the data of “date” is calculated. In the example shown in FIG. 2, the time information of “date” is 200 + 40
+ 20 + 2 + 1 = 263 days (total days) are obtained. Step S10: The “date” calculation process is completed, and the position pulse P1B is detected (step S8: YES),
If the parities match (step S9: YES),
Calculate the data of "year". In the example shown in FIG.
As data of “year”, 80 + 10 + 8 = 98 (lower 2
Digits).

【0029】ステップS12:「年」の計算処理が終了
し、ポジションパルスP1Bを検出すると(ステップS
11:YES)、閏秒がある場合には閏秒の補正を施
し、最終的な時刻情報を得る。 ステップS13:得られた時刻情報が示す時刻と、内蔵
時計(RTC)4Fの時刻とを比較し、誤差の有無を調
べる。 ステップS14:誤差がある場合(ステップS13:Y
ES)、内蔵時計(RTC)4Fの時刻を自動設定す
る。
Step S12: When the "year" calculation process is completed and the position pulse P1B is detected (step S12).
11: YES), if there is a leap second, the leap second is corrected to obtain final time information. Step S13: The time indicated by the obtained time information is compared with the time of the built-in clock (RTC) 4F to check for an error. Step S14: When there is an error (Step S13: Y
ES), the time of the built-in clock (RTC) 4F is automatically set.

【0030】以上のステップによって、コンピュータ4
の内蔵時計4Fは、日本標準時に同期して正確な計時を
行うこととなる。このようにして得られた計時が、本発
明の方式による時刻設定の基準となる。
By the above steps, the computer 4
The built-in clock 4F performs accurate time measurement in synchronization with Japan Standard Time. The clock obtained in this manner is used as a reference for setting the time according to the method of the present invention.

【0031】以上説明したように、本実施形態では、長
波標準電波にて供給されるタイムコード信号により、コ
ンピュータ等の情報処理装置に内蔵されたRTCの年月
日時分秒を、自動的に設定し修正し補正するコンピュー
タシステムを実現した。長波標準電波は極小型の空中線
で室内でも受信でき、供給されるタイムコード信号は、
日本標準時を刻む複数台の原子時計が元になっており、
西暦下二桁の年の情報のほか、曜日、1月1日からの通
算日、時、分、秒の各情報がデジタル信号として供給さ
れる。また、サマータイム等の時刻運用に対する補正に
も対応できるようになっており、最大でも2分で時刻を
取得できる。
As described above, in the present embodiment, the time, date, hour, minute, and second of the RTC incorporated in an information processing device such as a computer are automatically set by a time code signal supplied by a long-wave standard radio wave. A computer system for correction and correction was realized. Long-wave standard radio waves can be received indoors with a very small antenna, and the supplied time code signal is
It is based on multiple atomic clocks that engrave Japan Standard Time,
In addition to year information in the last two digits of the year, information on the day of the week, the total day from January 1, the hour, the minute, and the second are supplied as digital signals. Further, it is possible to cope with correction for time operation such as daylight saving time, and the time can be acquired in a maximum of two minutes.

【0032】また、この実施の形態によれば、24時間
放送される標準電波に含まれるタイムコード信号を用い
て、個々のコンピュータ並びに情報処理機器を日本標準
時に短時間で同期させることが可能となる。しかも、複
数のコンピュータ内蔵のRTCを室内において、相互に
あるいは外部にアンテナ等を接続することなく、正確に
日本標準時に維持しておくことができる。
Also, according to this embodiment, it is possible to synchronize individual computers and information processing equipment in a short time in Japan standard time using a time code signal included in a standard radio wave broadcast for 24 hours. Become. In addition, a plurality of RTCs with built-in computers can be accurately maintained in Japan standard time without connecting an antenna or the like to each other or outside the room.

【0033】以上、この発明の一実施の形態を説明した
が、この発明は、この実施形態に限られるものではな
く、この発明の要旨を逸脱しない範囲の設計変更等があ
っても本発明に含まれる。例えば、内蔵時計4Fの設定
は、タイムデータ信号を受信する度に行う必要はなく、
適切な期間を設定して行うものとしてもよい。
Although one embodiment of the present invention has been described above, the present invention is not limited to this embodiment, and the present invention is applicable to any design change or the like without departing from the gist of the present invention. included. For example, it is not necessary to set the built-in clock 4F every time a time data signal is received.
It may be performed by setting an appropriate period.

【0034】[0034]

【発明の効果】以上説明したように、この発明によれ
ば、タイムコード信号を含む標準電波を受信し、この標
準電波に含まれるタイムコード信号から時刻情報を取得
し、この時刻情報に基づき計時手段が出力する時刻を補
正するようにしたので、装置の大型化を招くことなく、
コンピュータシステムに内蔵された時計の日付や時刻を
自動的に、正確且つ迅速に日本標準時に設定し補正する
ことが可能となる。
As described above, according to the present invention, a standard radio wave including a time code signal is received, time information is obtained from the time code signal included in the standard radio wave, and time is measured based on the time information. Since the time output by the means is corrected, without increasing the size of the device,
It is possible to automatically and accurately and quickly set and correct the date and time of a clock built in a computer system.

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

【図1】 本発明の実施の形態にかかるコンピュータシ
ステムのブロック図である。
FIG. 1 is a block diagram of a computer system according to an embodiment of the present invention.

【図2】 本発明の実施の形態に用いるタイムコード信
号の一例を示す波形図である。
FIG. 2 is a waveform chart showing an example of a time code signal used in the embodiment of the present invention.

【図3】 本発明の実施の形態にかかるコンピュータシ
ステムの動作(時刻設定プロセス)を説明するためのフ
ローチャートである。
FIG. 3 is a flowchart illustrating an operation (time setting process) of the computer system according to the embodiment of the present invention;

【図4】 本発明の実施の形態にかかるコンピュータシ
ステムの動作(「分」のデータの計算処理)を説明する
ためのフローチャートである。
FIG. 4 is a flowchart for explaining the operation of the computer system according to the embodiment of the present invention (calculation processing of “minute” data).

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

1…長波標準電波送信所、2…長波標準電波(標準電
波)、3…長波受信機、4…コンピュータ、4A…基準
マークパルス検出部、4B…分計算部、4C…時計算
部、4D…日付計算部、4E…年計算部、4F…内蔵時
計(RTC)、4G…時刻設定部、TC…タイムデータ
信号、P1〜P3…マークパルス、P1A…基準マーク
パルス、P1B…ポジションパルス。
DESCRIPTION OF SYMBOLS 1 ... Long wave standard radio wave transmitting station, 2 ... Long wave standard radio wave (standard radio wave), 3 ... Long wave receiver, 4 ... Computer, 4A ... Reference mark pulse detection part, 4B ... Minute calculation part, 4C ... Time calculation part, 4D ... Date calculation unit, 4E: Year calculation unit, 4F: Built-in clock (RTC), 4G: Time setting unit, TC: Time data signal, P1 to P3: Mark pulse, P1A: Reference mark pulse, P1B: Position pulse.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 所定の発振出力に基づき計時して時刻を
出力する計時手段と、 タイムコード信号を含む標準電波を受信する受信手段
と、 前記標準電波に含まれるタイムコード信号から時刻情報
を取得する時刻情報取得手段と、 前記タイムコード信号から取得された時刻情報に基づき
前記計時手段が出力する時刻を設定する時刻設定手段
と、 を備えたことを特徴とする時計機能を有するコンピュー
タシステム。
1. A time measuring means for measuring the time based on a predetermined oscillation output to output time, a receiving means for receiving a standard radio wave including a time code signal, and acquiring time information from a time code signal included in the standard radio wave. A computer system having a clock function, comprising: a time information obtaining unit that performs the operation; and a time setting unit that sets a time that is output by the clock unit based on the time information obtained from the time code signal.
【請求項2】 前記時刻取得手段は、 前記タイムコード信号に含まれる所定のパルスを検出す
るパルス検出部と、 前記パルス検出部により検出されたパルスの配列から時
刻情報を算出する時刻算出部と、 を備えたことを特徴とする請求項1に記載された時計機
能を有するコンピュータシステム。
2. The time acquisition unit includes: a pulse detection unit that detects a predetermined pulse included in the time code signal; and a time calculation unit that calculates time information from an array of pulses detected by the pulse detection unit. The computer system having a clock function according to claim 1, comprising:
【請求項3】 時計機能を有するコンピュータシステム
の時刻補正方法において、 (a)タイムコード信号を含む標準電波を受信するステ
ップと、 (b)受信された前記標準電波に含まれるタイムコード
信号から時刻情報を取得するステップと、 (c)前記タイムコード信号から取得された時刻情報に
基づき内蔵時計の時刻を設定するステップと、 を含むことを特徴とする時計機能を有するコンピュータ
システムの時刻補正方法。
3. A time correction method for a computer system having a clock function, comprising: (a) receiving a standard radio wave including a time code signal; and (b) detecting a time from a time code signal included in the received standard radio wave. A time correction method for a computer system having a clock function, comprising: obtaining information; and (c) setting a time of an internal clock based on time information obtained from the time code signal.
JP33821598A 1998-11-27 1998-11-27 Computer system with clock function and its time correction method Pending JP2000162346A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33821598A JP2000162346A (en) 1998-11-27 1998-11-27 Computer system with clock function and its time correction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33821598A JP2000162346A (en) 1998-11-27 1998-11-27 Computer system with clock function and its time correction method

Publications (1)

Publication Number Publication Date
JP2000162346A true JP2000162346A (en) 2000-06-16

Family

ID=18316018

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33821598A Pending JP2000162346A (en) 1998-11-27 1998-11-27 Computer system with clock function and its time correction method

Country Status (1)

Country Link
JP (1) JP2000162346A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002090441A (en) * 2000-09-20 2002-03-27 Clarion Co Ltd Gps receiving device
US7257393B2 (en) 2005-02-28 2007-08-14 Fujitsu Limited Method and apparatus for time calibration
JP2018183230A (en) * 2017-04-24 2018-11-22 株式会社ユニバーサルエンターテインメント Game machine
US11011185B2 (en) 2016-06-22 2021-05-18 Nec Corporation Processing device, processing method, and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002090441A (en) * 2000-09-20 2002-03-27 Clarion Co Ltd Gps receiving device
US7257393B2 (en) 2005-02-28 2007-08-14 Fujitsu Limited Method and apparatus for time calibration
US11011185B2 (en) 2016-06-22 2021-05-18 Nec Corporation Processing device, processing method, and storage medium
JP2018183230A (en) * 2017-04-24 2018-11-22 株式会社ユニバーサルエンターテインメント Game machine
JP7016621B2 (en) 2017-04-24 2022-02-07 株式会社ユニバーサルエンターテインメント Pachinko machine

Similar Documents

Publication Publication Date Title
US6768452B2 (en) System and method for providing time to a satellite positioning system (SPS) receiver from a networked time server
CN101382589B (en) Methods and apparatus for obtaining accurate gnss time in a gnss receiver
US6678510B2 (en) Method, apparatus and system for GPS time synchronization using cellular signal bursts
JP3789556B2 (en) Electronic clock and clock timing adjustment method
US20090028006A1 (en) Clock Setup Over a Network
JP2001004764A (en) Clock device
CN1086647A (en) The method and apparatus of coordinating clocks in the radio network at the same time
US5859595A (en) System for providing paging receivers with accurate time of day information
EP1579238A1 (en) Device, system and method for obtaining timing information and ranging
RU2146419C1 (en) Method and device for clock synchronization in synchronous distributed network system
JPH03218494A (en) Clock with automatic correction of time accuracy
JP3664791B2 (en) Positioning system time extraction method and positioning system time extraction device
US7460955B2 (en) Synchronization of an external device using a GPS receiver
JP3796380B2 (en) Time correction information output device and automatic time correction clock
JP2000199792A (en) Time piece and time correction method
JP2000162346A (en) Computer system with clock function and its time correction method
US7474651B2 (en) Radio wave correction clock
JP2001228271A (en) Clock device
JP2005134215A (en) System for measuring difference of signal arrival time
US7288974B2 (en) Wave correction clock and method
EP0427515A2 (en) Automatically corrected electronic timepiece
JP2000019262A (en) Method and system for observing amount of rain of synchronous type self-activation system
JPH08297178A (en) Electronic clock
CN114815571B (en) Method and system for measuring satellite-ground time difference, storage medium and electronic equipment
JP3138910B2 (en) Radio-controlled clock

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20010321