JPH08101288A - Time measuring system and clock - Google Patents

Time measuring system and clock

Info

Publication number
JPH08101288A
JPH08101288A JP25947494A JP25947494A JPH08101288A JP H08101288 A JPH08101288 A JP H08101288A JP 25947494 A JP25947494 A JP 25947494A JP 25947494 A JP25947494 A JP 25947494A JP H08101288 A JPH08101288 A JP H08101288A
Authority
JP
Japan
Prior art keywords
power supply
counting
power
time
gate
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
JP25947494A
Other languages
Japanese (ja)
Other versions
JP3383437B2 (en
Inventor
Kenji Kobayashi
憲次 小林
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.)
Nippon Columbia Co Ltd
Original Assignee
Nippon Columbia 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 Nippon Columbia Co Ltd filed Critical Nippon Columbia Co Ltd
Priority to JP25947494A priority Critical patent/JP3383437B2/en
Publication of JPH08101288A publication Critical patent/JPH08101288A/en
Application granted granted Critical
Publication of JP3383437B2 publication Critical patent/JP3383437B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electric Clocks (AREA)

Abstract

PURPOSE: To enhance accuracy in the measurement of time by opening a gate at a timing common to a plurality of power supply frequencies and counting only one wave number thereby preventing miss counting due to noise. CONSTITUTION: The power supply frequency waveform of 50/60Hz from an AC power supply A is shaped through a shaper circuit 1 and fed to one input terminal (a) of an AND gate 2 having the other input terminal 2b being fed with a control signal for opening the gate 2 for a predetermined time from a control circuit 4. Output from the AND gate 2 is counted by a counter circuit 3 and presented on a display 8. The control circuit 4 includes a memory 5 which stores a count for presetting a predetermined delay value, e.g. a gate release time 16.67ms or a measurement disable delay 83.33ms, and the count thus stored is fed through a counter 6 to the input terminal 2b of the gate 2. The counter 6 receives a clock from a quartz oscillator in an oscillation circuit 7 and loads the clock through the control circuit 4 to the input terminal 2b of the gate. This constitution can correct the time measured upon instantaneous power interruption at the cost of accuracy.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、電源波数を計数して精
度の高い時計を実現する、家電装置に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a home electric appliance for counting a power wave number to realize a highly accurate timepiece.

【0002】[0002]

【従来の技術】従来月差5秒以内の時計が必要になった
とき等では、水晶発振器を使ってもこれだけの精度が出
せないので、商用のAC電源波形を計測して時計を構成
することが行われてきた。電力需要の変動に伴ってAC
電源周波数も変動しているが、50Hz/60Hzから
の差分の積分値を0にするように電力会社が発電機を制
御し・管理しており、AC電源波数を数えて時間を計れ
ば、誤差が累積しない。
2. Description of the Related Art Conventionally, when a clock with a difference of 5 seconds or less is needed, it is impossible to obtain such accuracy even if a crystal oscillator is used. Therefore, a clock should be constructed by measuring a commercial AC power waveform. Has been done. AC along with fluctuations in power demand
The power supply frequency also fluctuates, but the power company controls and manages the generator so that the integrated value of the difference from 50 Hz / 60 Hz becomes 0. If you count the AC power supply wave number and measure the time, the error Does not accumulate.

【0003】一方、商用AC電源は50Hz,60Hz
の2種類がある。どちらの周波数であるか解っていない
と、時間を計測できない。このため、利用者が切り替え
スイッチを使って、供給している電源周波数を設定する
装置がある。利用者が電源周波数を設定することは面倒
であり、また設定ミスも発生しやすいので、自動的に電
源周波数を判定することも多く行われている。 従来、
電源周波数の自動判定は、AC電源投入後の一定時間内
の電源波数を計数して行っていた。
On the other hand, commercial AC power supplies are 50 Hz and 60 Hz.
There are two types. If you do not know which frequency it is, you cannot measure time. For this reason, there is a device in which the user sets the supplied power frequency by using the changeover switch. It is troublesome for a user to set the power supply frequency, and a setting error is likely to occur, so that the power supply frequency is often automatically determined. Conventionally,
The automatic determination of the power supply frequency is performed by counting the number of power supply waves within a fixed time after the AC power supply is turned on.

【0004】[0004]

【発明が解決しようとする課題】電源周波数の自動判定
のため、AC電源投入後の一定時間内の電源波数を計数
することは簡単ではない。このような電源投入動作は、
コンセントをプラグに指し込むことであり、過度的に、
電源の断続が何度も行われる状態が伴うからである。
AC50又は60Hzの判定を誤ると、時間計測に2割
程度の誤差が生ずるため、誤判定しないようにせねばな
らない。このため、判定回数を複数回にする手段が使わ
れていた。
Since the power supply frequency is automatically determined, it is not easy to count the number of power supply waves within a fixed time after the AC power supply is turned on. Such power-on operation is
It is to point the outlet into the plug, and excessively,
This is because the power supply is intermittently connected many times.
If the AC50 or 60 Hz determination is erroneous, an error of about 20% occurs in the time measurement, so it is necessary to prevent erroneous determination. For this reason, a method of making the number of determinations plural times has been used.

【0005】AC電源周波数の判定を何度も行うことは
煩雑である。また、複数回の判定を行うことは、誤判定
の確率を下げるだけであり、周波数判定を誤る危険性は
残っている。 このように繁雑・不確実なAC電源周波
数の判定を行うことなく、電源波数の計数による時間測
定を、本発明は可能にする。また単純に電源波数を数え
ると、電源に混入してくるノイズも数えてしまう。その
結果、計時した時間が多くなり、補正された計数結果に
より時計が遅れる問題もあった。商用電源は落雷などに
より瞬時停電することがある。これが発生すると計時し
た時間が少なくなり、補正された計数結果により時計が
進む問題があった。
It is complicated to repeatedly determine the AC power supply frequency. Further, performing the determination a plurality of times only lowers the probability of erroneous determination, and the risk of erroneous frequency determination remains. As described above, the present invention enables time measurement by counting the number of power source waves without making a complicated and uncertain determination of the AC power source frequency. Moreover, simply counting the number of power supply waves also counts the noise mixed in the power supply. As a result, there is a problem that the time counted becomes long and the clock is delayed due to the corrected counting result. Commercial power sources may experience a momentary power failure due to a lightning strike. When this occurs, the time measured is reduced, and there is a problem that the clock advances due to the corrected counting result.

【0006】[0006]

【課題を解決するための手段】本発明は、AC電源の周
波数が一定であることを利用し電源周波数から高精度な
計時を行う装置において、内部発振器を信号源とする精
度で時間を計測する手段と、電源波形を調べ時間計測用
のAC電源波数を計数する手段と、内部発振器からAC
電源周波数に同期した所定の期間の整数倍ごとに電源波
数を計ることを許可するタイミングを得る手段と、タイ
ミングで時間計測用の電源波数の計数を行い計時する手
段を具備する時間計測方式である。
According to the present invention, in a device that uses the constant frequency of an AC power supply to perform high-precision time measurement from the power supply frequency, the time is measured with accuracy using an internal oscillator as a signal source. Means, means for counting the AC power wave number for time measurement by checking the power supply waveform, and AC from the internal oscillator
It is a time measuring method that includes a means for obtaining a timing for permitting measurement of the power wave number for each integral multiple of a predetermined period synchronized with the power frequency and a means for counting and counting the power wave number for time measurement at the timing. .

【0007】又本発明は、AC電源の周波数が一定であ
ることを利用し電源周波数から高精度な計時を行う装置
において、内部発振器を信号源とする精度で時間を計測
する手段と、電源波形を調べ時間計測用のAC電源波数
を計数する手段と、内部発振器からAC電源周波数に同
期した所定の期間の整数倍ごとに電源波数を計ることを
許可するタイミングを得る手段と、タイミングで時間計
測用の電源波数の計数を行い計時する手段を具備する時
計である。
Further, the present invention provides a device for performing highly accurate time measurement from the power supply frequency by utilizing the constant frequency of the AC power supply, a means for measuring time with accuracy using an internal oscillator as a signal source, and a power supply waveform. A means for counting the number of AC power supply waves for time measurement, a means for obtaining a timing for allowing the power supply wave number to be counted from the internal oscillator for each integral multiple of a predetermined period synchronized with the AC power supply frequency, and a time measurement at the timing. It is a timepiece equipped with a means for counting and counting the number of power supply waves for use in.

【0008】又、所定の期間をN×50msただしNは
整数とし、周波数が異なる複数の電源の繰り返し波形を
共通するゲートタイミングで計数するようにした時間計
測方式である。又、AC電源の周波数が一定であること
を利用し電源周波数から高精度な計時を行う装置におい
て、内部発振器を信号源とする精度でクロツク信号を得
るる手段と、電源波形を調べ時間計測用のAC電源波数
を計数する手段と、内部発振器からAC電源周波数に同
期した所定の期間の整数倍ごとに電源波数の繰り返しの
有無を計ることを許可する所定のタイミングを得る手段
と、タイミングで時間計測用の電源波数の計数を行い計
時する手段と、計数が欠けたときまたは多くカウントし
たときこれを補正する手段を具備する時間計測方式であ
る。
Further, the predetermined time period is N × 50 ms, where N is an integer, and the repetitive waveforms of a plurality of power supplies having different frequencies are counted at a common gate timing. Also, in a device that uses the constant frequency of the AC power supply to perform highly accurate time counting from the power supply frequency, a means for obtaining a clock signal with accuracy using the internal oscillator as a signal source, and a power supply waveform for time measurement Means for counting the number of AC power supply waves, means for obtaining a predetermined timing for permitting the presence or absence of repetition of the power supply wave number for each integral multiple of a predetermined period synchronized with the AC power supply frequency from the internal oscillator, and time for the timing. This is a time measuring method that is provided with a means for counting and counting the number of power source waves for measurement, and a means for correcting this when the count is missing or a large number is counted.

【0009】[0009]

【作用】本発明によれば電源周波数が異なる複数の電源
に接続されたとしても共通する波形変化のタイミング
で、所定の幅を設けゲートを開き計数するように成すの
で計数が一定であるから電源周波数が異なっても時計の
クロツク等を切り換える必要が無く、計数値は所定の期
間だけゲートを開く構成に成すことにより内外のスイツ
チングノイズ等のランダムに発生するノイズによるミス
カウントを防止しするため予測補正手段を有し安定な計
数動作を長期にわたり行い、正確な時計機能を得ること
ができる。
According to the present invention, even when connected to a plurality of power supplies having different power supply frequencies, a predetermined width is provided and a gate is opened and counting is performed at a common waveform change timing. Even if the frequency is different, it is not necessary to switch clocks, etc., and the count value is configured to open the gate only for a predetermined period to prevent miscounting due to random noise such as internal and external switching noise. With the predictive correction means, stable counting operation can be performed for a long time and an accurate clock function can be obtained.

【0010】従来の波形計数方式では電源波数を常に計
数しカウントしていたが本発明では、常に計数するので
はなく、計数タイミングを特定する。これによって、電
源周波数が50Hzであっても、又60Hzであって
も、電源波数の計数値を同じになるように成すことが出
来るものである。即ち、電源波形との位相が両周波数に
対して同じとなるタイミングを狙って一定の短い時間ゲ
ートを開き、所定の期間電源波数計測することができる
期間を設定し、その期間のみ電源波数を計数する。
In the conventional waveform counting system, the number of power source waves is always counted and counted, but in the present invention, the counting timing is specified instead of always counting. As a result, the count value of the power wave number can be made to be the same regardless of whether the power frequency is 50 Hz or 60 Hz. That is, the gate is opened for a certain short time aiming at the timing when the phase with the power supply waveform is the same for both frequencies, the period during which the power supply wave number can be measured is set for a predetermined period, and the power supply wave number is counted only during that period. To do.

【0011】より具体的に説明する。100msまたは
その整数倍ごとのタイミングに、電源波数計数可能期間
として16.67msを設定し、その16.67msの
間のみ、電源波数を計測する。こうすることにより、電
源周波数が50/60Hzのどちらであっても同じ計数
値となる。ただし、波数の計数結果は、全ての波数を計
数したときの 1/(5×N) または 1/(6×
N)、 Nは自然数となる。
A more specific description will be given. 16.67 ms is set as a power source wave number countable period at a timing of 100 ms or an integral multiple thereof, and the power wave number is measured only during the 16.67 ms. By doing so, the same count value is obtained regardless of whether the power supply frequency is 50/60 Hz. However, the result of counting the wave number is 1 / (5 × N) or 1 / (6 × when all wave numbers are counted.
N) and N are natural numbers.

【0012】さて、100ms毎またはその整数倍のみ
に計数すれば、AC50/60Hzどちらの電源であっ
ても、同じ計数結果となることを図2に示す。AC50
Hzの5波の経過時間と、AC60Hzの6波の経過時
間は同じ100msであり、両波形の位相のずれは10
0ms周期で同じになる。つまり、1秒×5/50HZ
=1秒×6/60HZ=100msだから、100ms
ごとに波数を計数すれば、AC50/60どちらの周波
数でも同じ計数結果となる。両波整流信号を使う時は、
50ms毎の整数倍ごとに計数すれば、やはり同じ計数
結果となる。
FIG. 2 shows that the same counting result can be obtained regardless of the power source of AC 50/60 Hz by counting every 100 ms or an integral multiple thereof. AC50
The elapsed time of 5 waves of Hz and the elapsed time of 6 waves of AC 60 Hz are the same 100 ms, and the phase shift between both waveforms is 10
It becomes the same in the 0 ms cycle. In other words, 1 second x 5 / 50Hz
= 1 second x 6 / 60Hz = 100ms, so 100ms
If the wave number is counted for each, the same counting result will be obtained for both frequencies of AC50 / 60. When using a double-wave rectified signal,
The same counting result is obtained if counting is performed every integer multiple of 50 ms.

【0013】この位相のそろった、50msまたは10
0msの整数倍のタイミングでのみ電源波数を計数すれ
ば、電源周波数50Hz/60Hzを検出することな
く、時間計測が可能になる。また電源波数を計数許可期
間にのみ、波数を1個のみと数える。ノイズによって2
個の波数が入っても1個としか計数しないカウント構成
にする。これにより、電源に乗ったノイズの影響を受け
なくできる。瞬時停電が発生して電源波形計数可能期間
に電源波数を数えることができないとき、電源波数計数
可能期間が終わったとき補正カウント・パルスを発生し
て、電源波数計数回路を補正動作させることができる。
This phase aligned 50 ms or 10
If the power wave number is counted only at the timing of an integral multiple of 0 ms, the time can be measured without detecting the power frequency of 50 Hz / 60 Hz. Further, the power wave number is counted only during the counting permission period, and the wave number is counted as only one. 2 due to noise
Even if the number of waves is entered, the count configuration is such that only one wave is counted. This makes it possible to eliminate the influence of noise on the power supply. When the power wave number cannot be counted during the power waveform countable period due to an instantaneous power failure, or when the power wave number countable period ends, a correction count pulse can be generated to correct the power wave count circuit. .

【0014】電源波数を全て計測するのではなく、10
0msの整数倍のタイミングでのみ電源波数を計測する
ことにより、電源周波数:AC50/60Hzを検出す
ることなく、どちらの電源周波数であっても同じ時間計
測が可能になる。また、計数許可期間以外にノイズが発
生しても、その間は波数を数えないので影響を少なくで
きる。計数許可期間にノイズが乗っても1回しか数えな
いので、ノイズの影響を受けない。瞬停などにより、計
数許可期間に数えるべき電源波形信号がないときは補正
することができる。
Instead of measuring all the power wave numbers, 10
By measuring the power wave number only at the timing of an integral multiple of 0 ms, it is possible to measure the same time regardless of the power frequency without detecting the power frequency: AC50 / 60 Hz. Further, even if noise occurs during the period other than the counting permission period, the number of waves is not counted during that period, so the influence can be reduced. Even if noise is added to the counting permission period, it is counted only once, so it is not affected by noise. When there is no power supply waveform signal to be counted during the counting permission period due to a momentary power failure or the like, it can be corrected.

【0015】[0015]

【実施例】本発明の一実施例を図面により説明する。図
1は本発明の一実施例のブロック図で、図2は波形を抜
き取る位置を示しその計数タイミングを示す図である。
AC電源Aから50HZ又は60HZの電源周波数波形を
整形回路1を介し整形し、アンドゲート2の入力aに接
続される。アンドゲート2の他の入力bに所定の短時間
ゲートを開く制御信号が入力される。アンドゲート2の
出力は計数回路3で計数され時間を表示する表示器8に
出力し時間の表示がされる。
An embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of an embodiment of the present invention, and FIG. 2 is a diagram showing a waveform sampling position and its counting timing.
The power source frequency waveform of 50 Hz or 60 Hz from the AC power source A is shaped through the shaping circuit 1 and connected to the input a of the AND gate 2. A control signal for opening the gate for a predetermined short time is input to another input b of the AND gate 2. The output of the AND gate 2 is counted by the counting circuit 3 and is output to the display 8 for displaying the time, and the time is displayed.

【0016】アンドゲート2の出力は又、装置全体を制
御する制御回路4に入力され、制御回路では周波数を計
数するタイミングを作るディレー値を蓄えておくメモリ
5に所定期間ディレー値をプリセットできるカウンタ値
を記憶し、例えば計測禁止デイレイ値91.67ms、
ゲート開放時間の値16.67ms、計測禁止デイレイ
値83.33msを記憶し、デイレイ値をプリセツトす
るカウンタ6へプリセツト値をセツトする。
The output of the AND gate 2 is also input to a control circuit 4 for controlling the entire apparatus, and the control circuit is capable of presetting a delay value for a predetermined period in a memory 5 which stores a delay value for timing the frequency counting. The value is stored, for example, the measurement prohibition delay value 91.67 ms,
The gate opening time value of 16.67 ms and the measurement prohibition delay value of 83.33 ms are stored, and the preset value is set to the counter 6 which presets the delay value.

【0017】カウンタ6は基準クロツクを発振する発振
回路7から水晶発振器による精度のクロツクを得て制御
回路にキャリ信号を出力し、制御回路4からアンドゲー
ト2の入力bへロードされる。従って発振回路7から得
るクロツクは低精度時間計測を行うときの元となると同
時に回路全体を動かす基準タイミングともなる。
The counter 6 obtains an accurate clock from the crystal oscillator from the oscillation circuit 7 that oscillates the reference clock, outputs a carry signal to the control circuit, and is loaded from the control circuit 4 to the input b of the AND gate 2. Therefore, the clock obtained from the oscillating circuit 7 serves as a basis for performing low-accuracy time measurement and also serves as a reference timing for moving the entire circuit.

【0018】100msごとに電源波数を計数するとき
の動作を図1及び図3のタイミングを示す図を使って説
明する。制御回路4は以下の順序で動作する。 1) a:(AC電源の正方向の任意のゼロ・クロス
点)タイミングで91.67msの電源波数計測禁止デ
ィレーを動作させる。このディレーが働いている間は電
源波数の計数を行なわない。
The operation of counting the number of power supply waves every 100 ms will be described with reference to the timing charts of FIGS. 1 and 3. The control circuit 4 operates in the following order. 1) a: Operate the power wave number measurement prohibition delay of 91.67 ms at the timing (arbitrary zero cross point in the positive direction of the AC power supply). The power wave number is not counted while the delay is working.

【0019】2) b:91.67msのディレーがタ
イム・アップしたら、16.67msの計数可能ディレ
ーを働かせる。このディレーが働いている間1回のみ電
源波数を計測できるように計数計測を許可する。 3) c:計数可能な計数許可期間にAC電源の正方向
のゼロ・クロス点を検出すると、91.67msの電源
波数計測禁止ディレーを再度動作させる。そして再度
2)の動作から繰り返す。
2) b: When the delay of 91.67 ms is timed up, the countable delay of 16.67 ms is activated. The counting measurement is permitted so that the power wave number can be measured only once while this delay is working. 3) c: When the positive zero-cross point of the AC power source is detected during the count enable period in which counting is possible, the power wave number measurement prohibition delay of 91.67 ms is activated again. Then, the operation from 2) is repeated again.

【0020】4) d:電源の瞬停などにより、計数許
可期間にAC電源の正方向のゼロ・クロス点を検出でき
ないときは、計数可能ディレーのタイム・アップを待っ
て、83.33msの電源波数計測禁止ディレーを動作
させる。このとき、電源のゼロクロスが検出できない
が、補正をさせるため、図3のgに示す補正カウント・
パルスを計数回路3へ出力し、電源波数計数を1だけ増
加させる。そして再度2)の動作から繰り返す。
4) d: When the positive zero-cross point of the AC power source cannot be detected during the counting permission period due to a momentary power failure or the like, wait for the countable delay time up and wait for the 83.33 ms power source. Activate the wave number measurement delay. At this time, the zero cross of the power source cannot be detected, but the correction count shown in g of FIG.
The pulse is output to the counting circuit 3, and the power wave number counting is increased by one. Then, the operation from 2) is repeated again.

【0021】上記実施例は100ms毎に計数を許可し
ているが、100msの整数倍毎に計数を許可しても同
じ効果を得ることができる。AC電源Aより波形整形回
路で両波整流した信号に対して動作させたときは、50
msの整数倍毎に計数を許可すれば、同じ結果となる。
また、上記実施例は回路で実現しているが、タイマーや
割り込み機構を備えたワンチップ・コンピュータを使っ
た制御でも実現することができる。
Although the above embodiment permits counting every 100 ms, the same effect can be obtained by permitting counting every integer multiple of 100 ms. When operated on a signal that has undergone both-wave rectification by the waveform shaping circuit from AC power supply A, 50
The same result will be obtained if counting is allowed for each integral multiple of ms.
Although the above embodiment is realized by a circuit, it can be realized by control using a one-chip computer equipped with a timer and an interrupt mechanism.

【0022】全ての電源波数を計数するのではなく、1
00ms毎にのみ電源波数を略1波間に1だけ計数する
計数許可期間を設けることにより、電源周波数が異なる
電源のどちらの電源周波数であっても、同じ装置で時間
計測が可能になる。AC電源投入時の一定時間内にAC
50/60Hzの判定行うことは誤る可能性が残る。電
源プラグの接触・不接触に伴い、AC電源波形の断続が
伴うからである。50/60Hzの誤判定により、時計
の進み方が2割り狂ってしまう。
Instead of counting all power wave numbers, 1
By providing the counting permission period in which the number of power source waves is counted by about 1 per 100 ms only, it is possible to measure time with the same device regardless of which power source frequency is different. AC within a certain time when AC power is turned on
There is a possibility that the determination of 50/60 Hz may be wrong. This is because the AC power waveform is intermittent due to contact / non-contact of the power plug. Due to the erroneous determination of 50/60 Hz, the way the clock progresses is halved.

【0023】本発明は、この危険性を原理的に避けられ
る。またノイズによる誤動作を抑制する効果もある。図
3のeのごときノイズが発生しても、このときは計数許
可期間でないので影響を与えない。又fのごときノイズ
が発生しても、1回のみしか計数しないので、計数許可
期間であっても、やはり影響を与えない。
The present invention avoids this danger in principle. It also has the effect of suppressing malfunctions due to noise. Even if a noise such as e in FIG. 3 is generated, it does not affect since it is not the counting permission period at this time. Further, even if noise such as f is generated, since it is counted only once, it does not affect even during the counting permission period.

【0024】又、瞬停などによって、電源波形が無くな
っても、それを補正することができる。図3のdの計数
許可期間にAC電源波形Aに示すような瞬停が発生して
も、gの補正カウント・パルスを作り、自動的に補正し
て計数回路3で計数するので、この時も時計の計時に影
響を与えることはない。また長時間停電した場合、基準
クロツクによる水晶発振器の精度でバックアツプ電池に
より計時され、補正パルスを継続して発生するがAC電
源が接続したとき計数許可期間の中心へ制御することに
なっているので誤差発生を少なくすることができる。
Further, even if the power supply waveform disappears due to an instantaneous blackout or the like, it can be corrected. Even if an instantaneous power failure as shown by the AC power supply waveform A occurs in the counting permission period of FIG. 3d, a correction count pulse of g is created, and the correction is automatically corrected and counted by the counting circuit 3. Does not affect the clock timing. In the case of a power failure for a long time, a back-up battery keeps time with the accuracy of the crystal oscillator based on the reference clock, and a correction pulse is continuously generated, but when the AC power supply is connected, it is controlled to the center of the counting permission period. Therefore, the occurrence of error can be reduced.

【0025】[0025]

【発明の効果】本発明によると、周波数が異なる電源で
あっても電源周波数の共通するタイミングに限られた時
間のみゲートを開きカウントし時間を計測するようにし
たので長時間にわたりノイズなどによる時間誤差が発生
することを防止した計時を行うことができる。
According to the present invention, even when power supplies of different frequencies are used, the gate is opened and counted for a limited time only at the timing when the power supply frequency is common. It is possible to perform timekeeping that prevents an error from occurring.

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

【図1】本発明による一実施例のブロツク図。FIG. 1 is a block diagram of an embodiment according to the present invention.

【図2】電源波形における計数許可期間を説明するため
の図。
FIG. 2 is a diagram for explaining a counting permission period in a power supply waveform.

【図3】電源波形より計時するタイミングを説明するた
めの図。
FIG. 3 is a diagram for explaining timing of timing based on a power supply waveform.

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

1 整形回路 2 アンドゲート 3 計数回路 4 制御回路 5 メモリ 6 カウンタ 7 発振回路 8 表示器 1 Shaping circuit 2 AND gate 3 Counting circuit 4 Control circuit 5 Memory 6 Counter 7 Oscillation circuit 8 Display

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 AC電源の周波数が一定であることを利
用し電源周波数から高精度な計時を行う装置において、
内部発振器を信号源とする精度で時間を計測する手段
と、電源波形を調べ時間計測用のAC電源波数を計数す
る手段と、上記内部発振器からAC電源周波数に同期し
た所定の期間の整数倍ごとに電源波数を計ることを許可
するタイミングを得る手段と、上記のタイミングで時間
計測用の電源波数の計数を行い計時する手段を具備する
ことを特徴とする時間計測方式。
1. An apparatus for performing highly accurate timekeeping from a power supply frequency utilizing the fact that the frequency of an AC power supply is constant,
A means for measuring time with accuracy using the internal oscillator as a signal source, a means for checking the power supply waveform and counting the number of AC power supply waves for time measurement, and an integer multiple of a predetermined period synchronized with the AC power supply frequency from the internal oscillator. A time measuring method comprising means for obtaining a timing for permitting the power source wave number to be measured, and means for counting and counting the power source wave number for time measurement at the above timing.
【請求項2】 AC電源の周波数が一定であることを利
用し電源周波数から高精度な計時を行う装置において、
内部発振器を信号源とする精度で時間を計測する手段
と、電源波形を調べ時間計測用のAC電源波数を計数す
る手段と、上記内部発振器からAC電源周波数に同期し
た所定の期間の整数倍ごとに電源波数を計ることを許可
するタイミングを得る手段と、上記のタイミングで時間
計測用の電源波数の計数を行い計時する手段を具備する
ことを特徴とする時計。
2. An apparatus for performing highly accurate timing from a power supply frequency by utilizing the fact that the frequency of an AC power supply is constant,
A means for measuring time with accuracy using the internal oscillator as a signal source, a means for checking the power supply waveform and counting the number of AC power supply waves for time measurement, and an integer multiple of a predetermined period synchronized with the AC power supply frequency from the internal oscillator. A timepiece comprising means for obtaining a timing for permitting the power supply wave number to be measured, and means for counting and counting the power supply wave number for time measurement at the above timing.
【請求項3】 所定の期間をN×50msただしNは
整数とした請求項1記載の時間計測方式。
3. The time measuring method according to claim 1, wherein the predetermined period is N × 50 ms, where N is an integer.
【請求項4】 AC電源の周波数が一定であることを利
用し電源周波数から高精度な計時を行う装置において、
内部発振器を信号源とする精度でクロツク信号を得るる
手段と、電源波形を調べ時間計測用のAC電源波数を計
数する手段と、上記の内部発振器からAC電源周波数に
同期した所定の期間の整数倍ごとに電源波数の繰り返し
の有無を計ることを許可する所定のタイミングを得る手
段と、上記のタイミングで時間計測用の電源波数の計数
を行い計時する手段と、上記計数が欠けたときこれを補
正する手段を具備することを特徴とする時間計測方式。
4. An apparatus for performing highly accurate timekeeping from a power supply frequency by utilizing the fact that the frequency of an AC power supply is constant,
A means for obtaining a clock signal with accuracy using the internal oscillator as a signal source, a means for checking the power supply waveform to count the number of AC power supply waves for time measurement, and an integer for a predetermined period synchronized with the AC power supply frequency from the internal oscillator. A means for obtaining a predetermined timing that permits the presence or absence of the repetition of the power wave number for each multiple, a means for counting and counting the power wave number for time measurement at the above timing, and a means for counting when the above count is lacking. A time measuring method comprising means for correcting.
JP25947494A 1994-09-29 1994-09-29 Time measurement method and clock Expired - Fee Related JP3383437B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25947494A JP3383437B2 (en) 1994-09-29 1994-09-29 Time measurement method and clock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25947494A JP3383437B2 (en) 1994-09-29 1994-09-29 Time measurement method and clock

Publications (2)

Publication Number Publication Date
JPH08101288A true JPH08101288A (en) 1996-04-16
JP3383437B2 JP3383437B2 (en) 2003-03-04

Family

ID=17334584

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25947494A Expired - Fee Related JP3383437B2 (en) 1994-09-29 1994-09-29 Time measurement method and clock

Country Status (1)

Country Link
JP (1) JP3383437B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102289194A (en) * 2011-08-19 2011-12-21 深圳和而泰智能控制股份有限公司 Method and device for operating clock
JP2016218888A (en) * 2015-05-25 2016-12-22 大崎電気工業株式会社 Timer synchronization system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102289194A (en) * 2011-08-19 2011-12-21 深圳和而泰智能控制股份有限公司 Method and device for operating clock
JP2016218888A (en) * 2015-05-25 2016-12-22 大崎電気工業株式会社 Timer synchronization system

Also Published As

Publication number Publication date
JP3383437B2 (en) 2003-03-04

Similar Documents

Publication Publication Date Title
US6442704B1 (en) Ring oscillator clock frequency measuring method, ring oscillator clock frequency measuring circuit, and microcomputer
JPH08101288A (en) Time measuring system and clock
US4068462A (en) Frequency adjustment circuit
JP2526938B2 (en) Programmable time switch
JP3937026B2 (en) Pointer-type electronic watch
JP2001183478A (en) Microcomputer system and electronic watt-hour meter
GB2047442A (en) Electronic timepiece
JP2742642B2 (en) Oscillation-synchronous frequency change measurement method and apparatus
JPH0285792A (en) Ac period watch
JP3322543B2 (en) Electronic watt-hour meter
JP3066605B2 (en) Electronic clock
US5202859A (en) Time informing clock
JPS5838839B2 (en) Multi-stage signal generator
JPS5877684A (en) Circuit for timepiece
KR950013602B1 (en) Frequency measuring device
JPH03231160A (en) Electronic type watthour meter
JP3238334B2 (en) Clock time unit time signal generator
JPH1039060A (en) Clock clocking apparatus
JPH0285781A (en) Electric equipment using battery as power source
JPH02227698A (en) Automatic adjusting device for clock
JPH09243764A (en) Power source frequency synchronous clock
JPH042971A (en) Electronic watt-hour meter
JPH11194184A (en) Output frequency correction method for oscillation reference element, output frequency correction circuit of oscillation reference element and electronic control component
JPS62164200A (en) Traffic signal controller
SU558258A1 (en) Electronic clock, adjustable radio time signal

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20021210

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R370 Written measure of declining of transfer procedure

Free format text: JAPANESE INTERMEDIATE CODE: R370

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees