JPS63108292A - Method for controlling reference timepiece - Google Patents
Method for controlling reference timepieceInfo
- Publication number
- JPS63108292A JPS63108292A JP61251946A JP25194686A JPS63108292A JP S63108292 A JPS63108292 A JP S63108292A JP 61251946 A JP61251946 A JP 61251946A JP 25194686 A JP25194686 A JP 25194686A JP S63108292 A JPS63108292 A JP S63108292A
- Authority
- JP
- Japan
- Prior art keywords
- time
- reference clock
- error rate
- timepiece
- error
- 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
Links
- 238000000034 method Methods 0.000 title claims description 19
- 238000012544 monitoring process Methods 0.000 abstract description 6
- 230000000694 effects Effects 0.000 description 2
- 230000003111 delayed effect Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
Landscapes
- Electric Clocks (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明は、電子機器等における実時間を与えるための
基準時計制御方法に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a reference clock control method for providing real time in electronic equipment and the like.
マイクロコンビエータで信号処理を行なう電子機器等に
おいては、何月何日何時何分何秒というような正確な実
時間を必要とする場合がある。In electronic devices and the like that perform signal processing using micro combinators, accurate real time information such as month, day, hour, minute, and second may be required.
従来、このような電子機器等における実時間を与える九
めの基準時計としては、マイクロコンピュータ自身に内
蔵されている時計を用いるのが一般的であり、この時計
に基づいて実時間を推定し、所定の処理を実行するもの
であった。従って、よシ正確な実時間を常に与えておく
念めには、その時計部分に高精度な部品を用い、かつ精
密な調整を行なってその精度を充分に高いものにしてお
く必要があった。Conventionally, the clock built into the microcomputer itself has generally been used as the ninth reference clock for giving the real time in such electronic devices, etc., and the real time is estimated based on this clock. It was to execute a predetermined process. Therefore, in order to always provide accurate real time, it was necessary to use high-precision parts for the clock part and to make precise adjustments to ensure its accuracy was sufficiently high. .
従来の電子機器等における実時間は以上のようにして与
えられるものであ夛、高精度の部品、精密な調整は直接
コストアップにつながるものであルタメ、マイクロコン
ピュータ自身に内蔵された時計の高精度化には経済面で
制約され、充分な精度のものが得にくいばかりか、いく
ら高精度のものを用いても、時計の性格上、長い期間の
間には誤差が蓄積されてその許容値を越してしまうとい
う問題点があった。The real time in conventional electronic devices is given as described above, and the high precision parts and precise adjustments directly lead to increased costs. Accuracy is constrained by economics, and not only is it difficult to obtain a sufficiently accurate one, but due to the nature of watches, errors will accumulate over a long period of time and the tolerance will drop, no matter how high the precision is used. The problem was that it exceeded the limit.
この発明は上記のような問題点を解消するためになされ
たもので、基準時計として比較的精度の低い時計を用い
ても与えられる実時間の誤差が許容値を越えることのな
い基準時計制御方法を得ることを目的とする。This invention was made in order to solve the above-mentioned problems, and provides a reference clock control method in which the error in real time given does not exceed a permissible value even when a clock with relatively low accuracy is used as the reference clock. The purpose is to obtain.
この発明に係る基準時計制御方法は、まず基準時計の誤
差率を求め、得られた誤差率と基準時計に許され之許容
誤差から時刻調整周期を定めて、この時刻調整周期毎に
、前記誤差率と時刻調整周期に基づいて基準時計の時刻
調整を行なうものである。The reference clock control method according to the present invention first determines the error rate of the reference clock, determines a time adjustment cycle from the obtained error rate and the allowable error allowed for the reference clock, and adjusts the error rate for each time adjustment cycle. The time of the reference clock is adjusted based on the rate and time adjustment cycle.
この発明における基準時計制御方法は、当該基準時計の
実際に求め念誤差率と許された許容誤差とによって時刻
調整周期を定め、この時刻調整周期と前記誤差率に基づ
いて、基準時計の誤差が許容誤差を越える前にその時刻
を自動調整する。The reference clock control method according to the present invention determines a time adjustment period based on the actual expected error rate and the allowable tolerance of the reference clock, and determines the error of the reference clock based on the time adjustment period and the error rate. Automatically adjust the time before it exceeds the tolerance.
〔実施例〕
以下、この発明の一実施例を図について説明する。第1
図はこの発明の一実施例による基準時計制御方法を示す
フローチャートであり、第2図はその説明のためのタイ
ムチャートである。第2図において、1は標準となる正
確な時間の時間スケールで、例えば電話の時報サービス
、ラジオの時報あるいは標準電波(JJY)等によって
得るものであり、2は制御される基準時計の時間スケー
ルを示している。[Example] Hereinafter, an example of the present invention will be described with reference to the drawings. 1st
The figure is a flowchart showing a reference clock control method according to an embodiment of the present invention, and FIG. 2 is a time chart for explaining the method. In Figure 2, 1 is the time scale of the standard accurate time, for example, obtained from a telephone time signal service, radio time signal, or standard radio wave (JJY), and 2 is the time scale of the reference clock to be controlled. It shows.
まず、ステップST1にて、前記電話の時報サービス等
から正確な時刻t。を読み込んで、制御される基準時計
にその時刻t。を設定する。次に、ステップST2にて
その時刻t0を記憶して時間監視を開始する。ステップ
ST3で予め定められた所定の時間T。、例えば3日間
が経過したことを検知すると、ステップST4にて再度
電話の時報サービス等から正確な時刻t1を読み込んで
、制御される基準時計にその時刻t1を再設定する。First, in step ST1, the accurate time t is determined from the time signal service of the telephone. The time t is read into the controlled reference clock. Set. Next, in step ST2, the time t0 is stored and time monitoring is started. A predetermined time T predetermined in step ST3. When it is detected that, for example, three days have passed, in step ST4, the accurate time t1 is read again from a telephone time signal service, etc., and the time t1 is reset to the controlled reference clock.
次に、ステップST5では、この時刻t1の再設定時に
おける前記基準時計の指示値と正確な時刻t工との差分
d。を求め、この差分d。より例えば30秒/1日の進
みというような単位時間あたシの誤差、即ち誤差率を算
定する。次に、ステップST6にて、この得られた誤差
率と前記基準時計に許されている許容誤差とに基づいて
第2図にTで示す時刻調整周期を決定する。即ち、この
基準時計に許容されている誤差が1分であれば、時刻調
整周期Tは2日以内の値、例えば2日に決定される。こ
こまでの処理は、例えば製品出荷前の初期調整として例
えば調整作業者によって実施される。Next, in step ST5, the difference d between the instruction value of the reference clock at the time of resetting the time t1 and the accurate time t is determined. Find this difference d. From this, the error per unit time, such as the advance of 30 seconds/day, that is, the error rate is calculated. Next, in step ST6, the time adjustment period shown by T in FIG. 2 is determined based on the obtained error rate and the allowable error allowed for the reference clock. That is, if the error allowed for this reference clock is one minute, the time adjustment period T is determined to be within two days, for example, two days. The processing up to this point is performed, for example, by an adjustment operator as an initial adjustment before shipping the product.
次にステップSTγにて、前記再設定された時刻t1よ
シ時間監視に入り、時刻t2になってステップST8で
時刻調整周期Tの経過が検出されるまで、当該基準時計
は通常の計時動作を行なっている。この時間監視は制御
される基準時計自身の計時に基づいて行なわれるもので
あり、ステップST8で時刻調整周期Tの経過が検出さ
れると、ステップST9にて前記ステップST5にて算
定された誤差率とこの時刻調整周期Tとに基づいて第2
図にdで示す時刻の差分だけ基準時計の時刻調整が行な
われる。例えば、誤差率が前述の如く30秒/1日の進
みで、時刻調整周期Tが2日であれば、ステップST9
では基準時計ば6o秒遅らせられる。ステップST9に
よる時刻調整が終ると、処理はステップST7に戻され
、時刻t2より時間監視に入り、以下、前述と同様の処
理が繰返される。Next, in step STγ, time monitoring starts from the reset time t1, and the reference clock continues normal timekeeping operation until time t2 is reached and the passage of the time adjustment cycle T is detected in step ST8. I am doing it. This time monitoring is performed based on the timekeeping of the controlled reference clock itself, and when the passage of the time adjustment period T is detected in step ST8, the error rate calculated in step ST5 is determined in step ST9. and this time adjustment period T.
The time of the reference clock is adjusted by the difference in time indicated by d in the figure. For example, if the error rate advances by 30 seconds/day as described above and the time adjustment period T is 2 days, step ST9
In this case, the reference clock is delayed by 60 seconds. When the time adjustment in step ST9 is completed, the process returns to step ST7, time monitoring starts from time t2, and the same process as described above is repeated.
また、第3図はこの発明の他の実施例による基準時計制
御方法を示すフローチャートで、長期の使用等によって
再調整の必要が生じた場合の処理を可能としたものであ
る。第3図において、ステップST1からステップST
9までは第1図に示すそれらと同一であるため説明は省
略する。FIG. 3 is a flowchart showing a reference clock control method according to another embodiment of the present invention, which enables processing when readjustment becomes necessary due to long-term use or the like. In FIG. 3, from step ST1 to step ST
9 are the same as those shown in FIG. 1, so their explanation will be omitted.
この実施例では、ステップST8で時刻調整周期Tが経
過していないと判定された場合、処理が直接ステップS
T7に戻されるのではなく、ステップST10を経由し
て戻されるようになっている。このステップSTI O
は前記再調整の必要性の有無を判定するもので、例えば
、ユーザが使用中に、再調整の必要性を感じた場合に操
作するスイッチの状態検出によって行なっている。従っ
て、再調整の必要性を感じたユーザがスイッチ操作を行
なうと、これを検出したステップST10は処理をステ
ップST7へは戻さずステップST11に移す。ステッ
プST11では、電話の時報サービス等からその時の正
確な時刻tnを読み込み、制御される基準時計にその時
刻tnを再設定を行なう。次に、ステップST12では
、この時刻tnの再設定時の前記基準時計の指示値と正
確な時刻t との差分を求め、この差分と、今までにス
テツブST9による時刻調整の実行回数、及び最後に前
記時刻調整が行なわれてからステップST11にて基準
時計が再設定されるまでの時間とに基づいて誤差率の計
算をやり直し、これを修正して処理をステップST7へ
戻す。以下、第1図に示す実施例と同等に処理が進行し
て、このステップST7にて時刻調整周期T毎にこの時
刻調整周期Tと修正された誤差率に基づいて基準時計の
時刻調整が行なわれる。In this embodiment, if it is determined in step ST8 that the time adjustment period T has not elapsed, the process is directly performed in step S.
The process is not returned to T7, but is returned via step ST10. This step STIO
The determination is made as to whether there is a need for readjustment. For example, this is done by detecting the state of a switch that the user operates when he or she feels the need for readjustment during use. Therefore, when the user who feels the need for readjustment performs a switch operation, step ST10 that detects this moves the process to step ST11 without returning to step ST7. In step ST11, the accurate time tn at that time is read from a telephone time signal service, etc., and the time tn is reset to the reference clock to be controlled. Next, in step ST12, the difference between the indicated value of the reference clock at the time of resetting the time tn and the accurate time t is calculated, and this difference is combined with the number of times the time adjustment has been performed by step ST9 up to now, and the last time. The error rate is recalculated based on the time from when the time adjustment is performed until the reference clock is reset at step ST11, and this is corrected, and the process returns to step ST7. Thereafter, the process proceeds in the same manner as in the embodiment shown in FIG. 1, and in step ST7, the time of the reference clock is adjusted every time adjustment period T based on this time adjustment period T and the corrected error rate. It will be done.
以上のように、この発明によれば、制御される基準時計
の誤差率を測定して、得られた誤差率とその基準時計に
許されている許容誤差とによって決定された時刻調整周
期毎に、この時刻調整周期と前記誤差率とに基づいて基
準時計の時刻を自動調整するように構成したので、基準
時計はその誤差が許容誤差を越える前にその時刻が正確
な値に調整されるため、基準時計として比較的精度の低
い時計を用いても、この基準時計によって与えられる実
時間が誤差の許容値を越えるようなことがなくなる効果
がある。As described above, according to the present invention, the error rate of the reference clock to be controlled is measured, and each time adjustment cycle is determined based on the obtained error rate and the tolerance allowed for the reference clock. Since the time of the reference clock is automatically adjusted based on this time adjustment cycle and the error rate, the time of the reference clock is adjusted to an accurate value before the error exceeds the tolerance. Even if a clock with relatively low accuracy is used as the reference clock, the real time given by the reference clock will not exceed the allowable error value.
第1図はこの発明の一実施例による基準時計制御方法を
示すフローチャート、第2図はその説明のためのタイム
チャート、第3図はこの発明の他の実施例を示すフロー
チャートである。
1は標準となる正確な時間の時間スケール、2は基準時
計の時間スケール、ToFi誤差率を求めるための所定
の時間、Tは時刻調整周期、t0〜t は時刻、do、
dは時刻の差分。FIG. 1 is a flowchart showing a reference clock control method according to an embodiment of the present invention, FIG. 2 is a time chart for explaining the method, and FIG. 3 is a flowchart showing another embodiment of the invention. 1 is the time scale of the standard accurate time, 2 is the time scale of the reference clock, the predetermined time for determining the ToFi error rate, T is the time adjustment period, t0 to t are the times, do,
d is the time difference.
Claims (1)
の時間経過後に正確な時刻を読み込んで前記基準時計の
誤差率を検出し、この検出された誤差率と前記基準時計
に与えられた許容誤差に基づいて時刻調整周期を決定し
、この時刻調整周期と前記検出された誤差率に基づいて
前記基準時計の時刻を前記時刻調整周期毎に自動調整す
ることを特徴とする基準時計制御方法。Set a reference clock to an accurate time, read the accurate time after a predetermined time has elapsed from the set time, detect the error rate of the reference clock, and calculate the detected error rate and the tolerance given to the reference clock. A reference clock control method characterized in that a time adjustment cycle is determined based on the error, and the time of the reference clock is automatically adjusted for each time adjustment cycle based on the time adjustment cycle and the detected error rate.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61251946A JPS63108292A (en) | 1986-10-24 | 1986-10-24 | Method for controlling reference timepiece |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61251946A JPS63108292A (en) | 1986-10-24 | 1986-10-24 | Method for controlling reference timepiece |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS63108292A true JPS63108292A (en) | 1988-05-13 |
Family
ID=17230330
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP61251946A Pending JPS63108292A (en) | 1986-10-24 | 1986-10-24 | Method for controlling reference timepiece |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS63108292A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH02310492A (en) * | 1989-05-25 | 1990-12-26 | Nippon Data Netsuto:Kk | Time correcting device |
JP2007278873A (en) * | 2006-04-07 | 2007-10-25 | Seiko Epson Corp | Time synchronizer, time synchronization method, and program thereof |
US7738322B2 (en) | 2004-09-30 | 2010-06-15 | Casio Computer Co., Ltd. | Radio-wave timepieces and time information receivers |
-
1986
- 1986-10-24 JP JP61251946A patent/JPS63108292A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH02310492A (en) * | 1989-05-25 | 1990-12-26 | Nippon Data Netsuto:Kk | Time correcting device |
US7738322B2 (en) | 2004-09-30 | 2010-06-15 | Casio Computer Co., Ltd. | Radio-wave timepieces and time information receivers |
JP2007278873A (en) * | 2006-04-07 | 2007-10-25 | Seiko Epson Corp | Time synchronizer, time synchronization method, and program thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2369438B1 (en) | Calibration method of a real time clock signal | |
EP0647017A1 (en) | Synchronization circuit using a high speed digital slip counter | |
EP0635771B1 (en) | Data transmission/reception system of electronic timepiece | |
US4282595A (en) | Method for digital frequency trimming an oscillator in an electronic timepiece | |
JP2000199792A (en) | Time piece and time correction method | |
US6442704B1 (en) | Ring oscillator clock frequency measuring method, ring oscillator clock frequency measuring circuit, and microcomputer | |
JPS63108292A (en) | Method for controlling reference timepiece | |
US4761771A (en) | Electronic timekeeping apparatus with temperature compensation and method for compensating same | |
US5448533A (en) | Method and apparatus for accurate time maintenance and display | |
US4290130A (en) | Digital frequency trimmed electronic timepiece | |
CA1059324A (en) | Electronic watch with time correction system | |
EP0187310A2 (en) | Real time clock synchronization | |
US4536093A (en) | Electronic timepiece with system for synchronizing hands | |
JPS5819587A (en) | Clock for computer | |
EP0511573A2 (en) | Clock with clock adjusting data memory | |
JPH10160874A (en) | Automatic error correcting clock | |
JPH1114775A (en) | Method for automatically correcting display time of electronic clock | |
CN113820942B (en) | Automatic time and/or date correction device | |
JPS61133893A (en) | Time apparatus | |
JP2005140595A (en) | Radio controlled timepiece and time correcting method therefor | |
CN118092120A (en) | Automatic switching time keeping device and method for multiple master clocks | |
JP3102190B2 (en) | Printable recorder | |
JPH08285970A (en) | Electronic timepiece | |
JPS5912381A (en) | Electronic time piece | |
JP2002181968A (en) | Time timer |