JPH06174865A - Control clock device - Google Patents

Control clock device

Info

Publication number
JPH06174865A
JPH06174865A JP4322007A JP32200792A JPH06174865A JP H06174865 A JPH06174865 A JP H06174865A JP 4322007 A JP4322007 A JP 4322007A JP 32200792 A JP32200792 A JP 32200792A JP H06174865 A JPH06174865 A JP H06174865A
Authority
JP
Japan
Prior art keywords
seconds
error
time
minute
counting
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
JP4322007A
Other languages
Japanese (ja)
Inventor
Yoshihiro Miyaishi
義博 宮石
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.)
KYUSHU HENATSUKI KK
Original Assignee
KYUSHU HENATSUKI KK
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 KYUSHU HENATSUKI KK filed Critical KYUSHU HENATSUKI KK
Priority to JP4322007A priority Critical patent/JPH06174865A/en
Publication of JPH06174865A publication Critical patent/JPH06174865A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electric Clocks (AREA)

Abstract

PURPOSE:To automatically adjust gain or loss due to errors in an oscillator. CONSTITUTION:A period of seconds for correcting error is set by an error- correcting second setting means 5 to adjust gain or loss due to errors in an oscillator built into a timer 1. At a predetermined time an error-correcting count variation means 6 issues a command to vary the number of seconds in one minute to a counting means 2. According to the command from the error-correcting count variation means 6, the counting means 2 counts the period of seconds for correcting an error of sixty seconds in place of counting a period of sixty seconds at the predetermined time, thereby automatically correcting the gain or loss of the seconds for correcting error.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本考案は、コンピュータを利用し
て制御を行う各種の制御機器の時間制御に用いる制御用
時計装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a timepiece device for control used for time control of various control devices which control using a computer.

【0002】[0002]

【従来の技術】最近の電気温水器等の制御機器の大半
は、制御にコンピュータを利用している。コンピュータ
は振動子からのパルス信号に基いてクロック信号を出力
するタイマを内蔵しており、従来からこのタイマを利用
して制御のための時刻を知る制御用時計装置を構成して
いる。
2. Description of the Related Art Most of recent control devices such as electric water heaters use computers for control. The computer has a built-in timer that outputs a clock signal based on a pulse signal from a vibrator, and conventionally, a timer device for control that uses this timer to know the time for control is configured.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、振動子
(水晶発振器等)には必ず精度誤差があり、この精度誤
差が原因となって時刻の遅れまたは進みが生じる。従来
の制御用時計装置では、定期的にこの遅れまたは進みを
修正して時刻を合わせる機能は有していたが、根本的に
振動子の精度誤差に基づく遅れまたは進みを調節するこ
とはできなかった。
However, the oscillator (crystal oscillator, etc.) always has a precision error, and the precision error causes a delay or advance in time. The conventional control timepiece has a function of periodically correcting this delay or advance to adjust the time, but it is not possible to fundamentally adjust the delay or advance based on the accuracy error of the oscillator. It was

【0004】本発明の目的は、振動子の誤差に基づく遅
れまたは進み量を秒単位で調節できるようにして、でき
るだけ時刻合わせの周期を長くすることができる制御用
時計装置を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a control timepiece device in which the delay or advance amount based on the error of the vibrator can be adjusted in units of seconds so that the time adjustment cycle can be extended as long as possible. .

【0005】[0005]

【課題を解決するための手段】請求項1の発明では、コ
ンピュータに内蔵されているタイマを利用し、タイマの
出力で60秒分カウントする毎に分の表示を1分進める
ように構成された制御用時計装置を対象として、誤差調
節秒を設定する誤差調節秒設定手段と、予め定めた所定
の時刻において60秒分カウントする代りに60秒±前
記誤差調節秒分カウントすると分の表示を1分進める誤
差調節手段とを設ける。
According to the invention of claim 1, a timer incorporated in a computer is used, and the display of the minute is advanced by 1 minute every 60 seconds counted by the output of the timer. For the control timepiece device, the error adjustment second setting means for setting the error adjustment seconds and 60 seconds ± 60 seconds ± the error adjustment seconds instead of counting 60 seconds at a predetermined time, display one minute. And an error adjusting means for advancing by an amount.

【0006】なおこの所定の時刻は、一日のある適当な
時刻でよく、またカレンダ機能を内蔵するタイマにあっ
ては何日かおきのある適当な時刻でよい。
The predetermined time may be an appropriate time of the day, or may be an appropriate time of some days for a timer having a calendar function.

【0007】タイマから出力されるクロック信号は振動
子からのパルス信号を基準にして作られるため、クロッ
ク信号が1秒周期で出力される場合には、誤差調節秒は
1秒単位になるが、クロック信号が1秒より短い周期で
出力される場合には、誤差調節秒を1秒以下の単位とす
ることができる。
Since the clock signal output from the timer is created with reference to the pulse signal from the oscillator, when the clock signal is output at a cycle of 1 second, the error adjustment seconds are in units of 1 second. When the clock signal is output in a cycle shorter than 1 second, the error adjustment second can be set to a unit of 1 second or less.

【0008】[0008]

【作用】振動子の誤差に基づく遅れまたは進みが1日1
秒であったとすると、毎日1秒だけ表示を自動的に遅ら
せるかまたは進ませればよい。本発明では、予め定めた
所定の時刻において60秒分カウントする代りに60秒
±誤差調節秒分カウントして、分の表示を1分進めるよ
うにするため、設定した誤差調節秒分だけ時刻表示を定
期的に遅らせるかまたは進ませることができる。そのた
め従来のように短い周期(月に1度または2度)で時刻
合わせをする必要がなくなり、時刻合わせの周期を大幅
に長くすることが可能になる。
[Function] Delay or advance due to the error of the oscillator is 1 per day
If it is seconds, the display may be automatically delayed or advanced by 1 second every day. In the present invention, instead of counting 60 seconds at a predetermined time, 60 seconds ± error adjustment seconds are counted and the minute display is advanced by 1 minute. Can be delayed or advanced on a regular basis. Therefore, it is not necessary to adjust the time in a short cycle (once or twice a month) as in the conventional case, and the time adjustment cycle can be significantly lengthened.

【0009】[0009]

【実施例】以下図面を参照して本発明の実施例を詳細に
説明する。図1は本発明の制御用時計装置の一実施例の
概略ブロック図である。同図において、1はコンピュー
タが内蔵するタイマである。このタイマ1は、コンピュ
ータが内蔵する水晶振動子等の振動子から出力されるパ
ルス信号に基づいてクロック信号を出力する。タイマか
ら出力されるクロック信号は、一般的には1秒周期で出
力される。このクロック信号をカウント手段2でカウン
トして、1秒及び1分の経過を計数する。カウント手段
2は、1秒分のクロック信号のパルスをカウントすると
1秒を計数して時計手段3に1秒の計数完了を出力し、
また60秒分のクロック信号のパルスをカウントすると
時計手段3に1分の計数完了を出力する。なおこのカウ
ント手段2は、1分間分のクロック信号のカウント数を
外部からの変更指令により設定変更可能に構成されてい
る。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 1 is a schematic block diagram of an embodiment of a control timepiece device of the present invention. In the figure, 1 is a timer built into the computer. The timer 1 outputs a clock signal based on a pulse signal output from an oscillator such as a crystal oscillator included in the computer. The clock signal output from the timer is generally output at a cycle of 1 second. This clock signal is counted by the counting means 2 to count the progress of 1 second and 1 minute. When the counting means 2 counts the pulses of the clock signal for 1 second, it counts 1 second and outputs 1 second of counting completion to the clock means 3,
When counting the pulses of the clock signal for 60 seconds, the clock means 3 outputs the completion of counting for 1 minute. The counting means 2 is configured such that the count number of the clock signal for one minute can be changed by an external change command.

【0010】時計手段3は、カウント手段2が1秒及び
1分を計数毎に時刻メモリを更新するとともに、液晶表
示パネル等からなる時刻表示手段4の表示を逐次変更す
る。なお制御に用いる時刻としては、時刻メモリに記憶
されている時刻を使用することになるため、制御の点か
ら見ると、時刻メモリに時刻が表示されていると見るこ
とができる。
The clock means 3 updates the time memory every time the counting means 2 counts 1 second and 1 minute, and sequentially changes the display of the time display means 4 composed of a liquid crystal display panel or the like. Since the time stored in the time memory is used as the time used for the control, it can be seen from the control point of view that the time is displayed in the time memory.

【0011】本実施例の特徴は、誤差調節秒設定手段5
と誤差調節用カウント変更手段6とを設ける点にある。
誤差調節秒設定手段5はディップ・スイッチ等のスイッ
チから構成され、タイマ1の振動子の誤差に基づく遅れ
または進み量を秒単位で調節するために誤差調節秒αを
設定する。誤差調節秒設定手段5で設定した誤差調節秒
αは誤差調節用カウント変更手段6に入力される。誤差
調節用カウント変更手段6は、予め定めた所定の時刻に
カウント手段2にクロック信号を60秒分カウントさせ
る代りに60秒±誤差調節秒α分のカウントを実行させ
るように、カウント手段2のカウント数を設定変更す
る。例えば23時58分から1分を計数する際に、60
秒±誤差調節秒α分のカウントを実行させるようにす
る。これによって、誤差調節秒α分の時間遅れまたは時
間進みを定期的に自動調節することが可能になる。なお
本実施例では、秒単位で時刻を表示するようにしたが、
分単位で時刻を表示するようにしてもよいのは勿論であ
る。上記実施例の、カウント手段2、時計手段3の大部
分及び誤差調節用カウント変更手段6は、コンピュータ
を利用して実現することが可能なものである。なお本図
においては、時刻調節手段等の時計として当然に有して
いる他の手段については図示を省略してある。したがっ
て最初の時刻合わせ等は、図示しない時刻調節手段を用
いて実施するのは従来と同様である。
The feature of this embodiment is that the error adjustment second setting means 5 is provided.
And the error adjustment count changing means 6 are provided.
The error adjustment second setting means 5 is composed of a switch such as a dip switch, and sets the error adjustment second α for adjusting the delay or advance amount based on the error of the oscillator of the timer 1 in units of seconds. The error adjustment second α set by the error adjustment second setting means 5 is input to the error adjustment count changing means 6. The error adjusting count changing means 6 of the counting means 2 performs the counting of 60 seconds ± error adjusting seconds α minutes instead of causing the counting means 2 to count the clock signal for 60 seconds at a predetermined time. Change the setting of the count number. For example, when counting 1 minute from 23:58, 60
Second ± error adjustment Seconds α minutes are counted. This makes it possible to automatically automatically adjust the time delay or time advance of the error adjustment seconds α. In this embodiment, the time is displayed in seconds,
Of course, the time may be displayed in minutes. The counting means 2, most of the timepiece means 3 and the error adjusting count changing means 6 of the above embodiment can be realized by using a computer. It should be noted that, in this figure, illustration of other means naturally included as a timepiece such as time adjusting means is omitted. Therefore, the first time adjustment or the like is carried out by the time adjusting means (not shown) as in the conventional case.

【0012】図2は、コンピュータを利用してソフトウ
エアにより本発明を実施する場合の一実施例で用いるソ
フトウエアのアルゴリズムの一例を示している。なおこ
のアルゴリズムでは分単位で時刻を表示する。このアル
ゴリズムでは、スタートすると直ちにステップST1に
おいて、次の割込み(計時処理の要求)がかかるまでの
1分間の秒数を60秒とする設定処理を行う。すなわち
60秒毎に割込みをかけて、1分の時計の計時処理を行
うようにする。ステップST2において、時計の誤差調
節秒αが何秒に設定されているかを検知し、誤差調節秒
αをメモリする。次にステップST3で、計時処理の要
求(割込み)があるか否かを判定し、計時処理の要求が
なければステップST8に進む。計時処理の要求(割込
み)があった場合には、ステップST4に進んで時計の
時刻が予め定めた所定の時刻(特定時刻)であるか否か
の判定が行われ、特定時刻でなければステップST6に
進んで、次の割込みがかかるまでの1分間の秒数を60
秒に設定する。そしてステップST7で時計の時刻を1
分進め(すなわち分のメモリ内容を1分進め)、同時に
時計の時刻表示を変更する(ステップST8)。以後ス
テップST4で特定時刻を検出するまでこの処理が繰り
返される。
FIG. 2 shows an example of a software algorithm used in one embodiment when the present invention is implemented by software using a computer. Note that this algorithm displays time in minutes. In this algorithm, immediately after starting, in step ST1, a setting process is performed in which the number of seconds in one minute until the next interrupt (request for timekeeping process) is applied is 60 seconds. That is, an interrupt is made every 60 seconds to perform the timekeeping process of the one-minute clock. In step ST2, it is detected how many seconds the error adjustment second α is set, and the error adjustment second α is stored. Next, in step ST3, it is determined whether or not there is a request (interrupt) for the timekeeping process, and if there is no request for the timekeeping process, the process proceeds to step ST8. When there is a request (interruption) for the timekeeping process, the process proceeds to step ST4, where it is determined whether the time of the clock is a predetermined time (specific time) set in advance. Go to ST6 and set the number of seconds per minute until the next interrupt is 60
Set to seconds. Then, in step ST7, the clock time is set to 1
The time is advanced by one minute (that is, the memory content of the minute is advanced by one minute), and at the same time, the time display of the clock is changed (step ST8). After that, this process is repeated until the specific time is detected in step ST4.

【0013】ステップST4で特定時刻が検出される
と、ステップST5に進み、次の割込みがかかるまでの
秒数を、設定された誤差調節秒α分だけ増減させる。す
なわち60秒±誤差調節秒α経過すると割込みがかかる
ように設定変更処理が行われる。その結果次の割込み
は、60秒±誤差調節秒α後に発生し、60秒±誤差調
節秒α後に時計の時刻が1分進められ、誤差調節が自動
的に実施される。その後は、ステップST4で特定時刻
を検出するまで、60秒毎に割込みがかかって分の表示
が進められる。なおこのアルゴリズム全体により、誤差
調節手段が構成される。
When the specific time is detected in step ST4, the process proceeds to step ST5, and the number of seconds until the next interrupt is applied is increased or decreased by the set error adjustment second α. That is, the setting change process is performed so that an interrupt occurs after 60 seconds ± error adjustment seconds α. As a result, the next interrupt occurs after 60 seconds ± error adjustment seconds α, 60 seconds ± error adjustment seconds α advance the clock time by 1 minute, and the error adjustment is automatically performed. After that, until the specific time is detected in step ST4, an interrupt is taken every 60 seconds to advance the display of the minutes. The whole algorithm constitutes an error adjusting means.

【0014】誤差調節秒αは、図1の実施例における誤
差調節秒設定手段5と同じ手段を用いて設定される。設
定値が変更されるとステップST2で、誤差調節秒αの
変更がメモリされることになる。
The error adjustment second α is set using the same means as the error adjustment second setting means 5 in the embodiment of FIG. When the set value is changed, the change in the error adjustment second α is stored in step ST2.

【0015】[0015]

【発明の効果】本発明によれば、予め定めた所定の時刻
において60秒分カウントする代りに60秒±誤差調節
秒分カウントして、分の表示を1分進めるようにするた
め、設定した誤差調節秒分だけ時刻表示を定期的に遅ら
せるかまたは進ませることができ、従来のように短い周
期(月に1度または2度)で時刻合わせをする必要がな
くなって、時刻合わせの周期を大幅に長くすることがで
きる利点がある。
According to the present invention, instead of counting 60 seconds at a predetermined time, 60 seconds ± error adjustment seconds are counted and the setting is made to advance the minute display by 1 minute. The time display can be periodically delayed or advanced by the error adjustment seconds, and there is no need to adjust the time in a short cycle (once or twice a month) as in the past, so the time adjustment cycle can be changed. It has the advantage that it can be significantly lengthened.

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

【図1】本発明の一実施例の構成を示す概略ブロック図
である。
FIG. 1 is a schematic block diagram showing the configuration of an embodiment of the present invention.

【図2】本発明をコンピュータを利用して実施する場合
の一実施例で用いるコンピュータを作動させるソフトウ
エアのアルゴリズムの一例を示すフローチャートであ
る。
FIG. 2 is a flowchart showing an example of a software algorithm for operating a computer used in one embodiment when the present invention is implemented using a computer.

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

1 タイマ 2 カウント手段 3 計時手段 4 時刻表示手段 5 誤差調節秒設定手段 6 誤差調節用カウント変更手段 1 Timer 2 Counting Means 3 Clocking Means 4 Time Displaying Means 5 Error Adjusting Second Setting Means 6 Error Adjusting Count Changing Means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 コンピュータに内蔵されているタイマを
利用し、前記タイマの出力で60秒分カウントする毎に
分の表示を1分進めるように構成された制御用時計装置
であって、 誤差調節秒を設定する誤差調節秒設定手段と、 予め定めた所定の時刻において60秒分カウントする代
りに60秒±前記誤差調節秒分カウントすると分の表示
を1分進める誤差調節手段を具備することを特徴とする
制御用時計装置。
1. A control timepiece device configured to use a timer built into a computer to advance the minute display by one minute every 60 seconds counted by the output of the timer. An error adjusting second setting means for setting a second and an error adjusting means for advancing the minute display by 1 minute when counting 60 seconds ± the error adjusting second instead of counting 60 seconds at a predetermined time. Characteristic control clock device.
JP4322007A 1992-12-01 1992-12-01 Control clock device Pending JPH06174865A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4322007A JPH06174865A (en) 1992-12-01 1992-12-01 Control clock device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4322007A JPH06174865A (en) 1992-12-01 1992-12-01 Control clock device

Publications (1)

Publication Number Publication Date
JPH06174865A true JPH06174865A (en) 1994-06-24

Family

ID=18138882

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4322007A Pending JPH06174865A (en) 1992-12-01 1992-12-01 Control clock device

Country Status (1)

Country Link
JP (1) JPH06174865A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007292662A (en) * 2006-04-26 2007-11-08 Mitsutoyo Corp Data recording apparatus and time calibrating method of same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007292662A (en) * 2006-04-26 2007-11-08 Mitsutoyo Corp Data recording apparatus and time calibrating method of same

Similar Documents

Publication Publication Date Title
US3928959A (en) Electronic timepiece
US4030283A (en) Electrically driven time piece with means for effecting a precise setting of time
JP2624176B2 (en) Electronic clock and time correction method
JPH1073673A (en) Function indicator
US3817023A (en) Clock devices
US4114363A (en) Electronic timepiece
JPH06174865A (en) Control clock device
US3939641A (en) Electronic circuit for individually correcting each digit of time displayed
US4730286A (en) Circuit and method for correcting the rate of an electronic timepiece
JP3232960B2 (en) Electronic clock
JP3281757B2 (en) Automatic correction device for oscillation error in electronic timepiece
JPH1114775A (en) Method for automatically correcting display time of electronic clock
JPH06265646A (en) Analog electronic watch with chronograph function
JPS6133149B2 (en)
FR2306473A1 (en) TIME CORRECTION DEVICE FOR ELECTRONIC WATCH
US4098070A (en) Digital display electronic wristwatch
JPS59225383A (en) Electronic timepiece
JPS6018956B2 (en) Electronic clock regulation device
JPS62231196A (en) Timepiece device with error adjusting function
USRE29327E (en) Method and apparatus for correcting time in an electronic wristwatch
JPS649393A (en) Electronic timepiece
US4134254A (en) Electronic timepiece device
JP2000266876A (en) Clock device
EP0689110A2 (en) Apparatus and method for setting a value to be displayed
JP2000258565A (en) Time correction device and clock and apparatus provided with this device

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20010522