JP2669927B2 - Digital timer - Google Patents

Digital timer

Info

Publication number
JP2669927B2
JP2669927B2 JP2163839A JP16383990A JP2669927B2 JP 2669927 B2 JP2669927 B2 JP 2669927B2 JP 2163839 A JP2163839 A JP 2163839A JP 16383990 A JP16383990 A JP 16383990A JP 2669927 B2 JP2669927 B2 JP 2669927B2
Authority
JP
Japan
Prior art keywords
unit time
time signal
circuit
frequency
power supply
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.)
Expired - Fee Related
Application number
JP2163839A
Other languages
Japanese (ja)
Other versions
JPH0454486A (en
Inventor
強志 永田
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2163839A priority Critical patent/JP2669927B2/en
Publication of JPH0454486A publication Critical patent/JPH0454486A/en
Application granted granted Critical
Publication of JP2669927B2 publication Critical patent/JP2669927B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electric Clocks (AREA)

Description

【発明の詳細な説明】 (イ) 産業上の利用分野 本発明は商用電源周波数をカウントして計時動作を行
うデジタルタイマに関する。
DETAILED DESCRIPTION OF THE INVENTION (A) Field of Industrial Application The present invention relates to a digital timer that counts a commercial power supply frequency and performs a timekeeping operation.

(ロ) 従来の技術 家庭用電気機器は、タイマを内蔵している。このタイ
マの計時は、内部基準発振回路からのパルス信号を分周
して行う方法と、商用電源周波数を分周して行う方法が
ある。そして、電力会社は、商用電源がタイマの基準パ
ルスとして使用されることに鑑みて、商用電源周波数を
管理しているので、タイマとしては、後者の方法の方
が、正確である。
(B) Conventional technology Household electric appliances have a built-in timer. There are a method of dividing the pulse signal from the internal reference oscillation circuit and a method of dividing the commercial power supply frequency to measure the time of the timer. Since the electric power company manages the commercial power supply frequency in view of the fact that the commercial power supply is used as the reference pulse of the timer, the latter method is more accurate for the timer.

しかし、商用電源周波数には、50Hz(主に東日本)と
60Hz(主に西日本)がある。このため、後者の方法のタ
イマでは、この50Hz/60Hzに応じて、分周値を変更する
必要がある。
However, the commercial power frequency is 50Hz (mainly in eastern Japan)
There is 60Hz (mainly western Japan). For this reason, in the latter timer, it is necessary to change the frequency division value according to the 50 Hz / 60 Hz.

この切り換えは自動的に行なわれる。 This switching is done automatically.

この様なタイマの一例は特公平2−5976号(F23N5/2
4)にも示されているが、第4図を参照しつつ、その一
例を説明する。
An example of such a timer is Japanese Patent Publication No. 2-5976 (F23N5 / 2
As shown in 4), one example will be described with reference to FIG.

(10)は商用電源入力端子である。(12)は1/60分周
回路であり、60Hz入力時に1秒間隔の単位時間信号を出
力する。(14)は1/50分周回路であり、50Hz入力時に1
秒間隔の単位時間信号を出力する。(16)は基準発振回
路であり、例えば5m秒毎に基準パルス信号を出力する。
(18)は1/200分周回路であり、1秒間隔の信号を出力
する。(20)はエッジ検出回路であり、第5図aの5m秒
毎の基準パルス信号により第5図bの電源電圧の極性を
判定して負から正への立ち上がり時に、第5図cの電源
電圧周波数パルス信号を出力する。(22)は1/200分周
回路(18)からの信号間(1秒間)の前記電源電圧パル
ス信号の数をカウントするカウンタである。(24)は50
Hz/60Hz制御回路であり、この制御回路(24)は前記カ
ウンタ(22)のカウント値が55以上か?54以下か?によ
り50Hzと60Hzを判定してスイッチ(SW)を切換えてい
る。(26)はスイッチ(SW)から出力される単位時間信
号を1秒の基準信号として時間を計る計時回路である。
(10) is a commercial power input terminal. (12) is a 1/60 frequency divider circuit, which outputs a unit time signal at 1 second intervals when inputting 60 Hz. (14) is a 1/50 frequency divider circuit, which is 1 when 50Hz is input.
The unit time signal of the second interval is output. Reference numeral (16) is a reference oscillating circuit, which outputs a reference pulse signal every 5 ms, for example.
(18) is a 1/200 frequency divider circuit, which outputs a signal at 1-second intervals. (20) is an edge detection circuit, which determines the polarity of the power supply voltage of FIG. 5b by the reference pulse signal every 5 msec of FIG. Output voltage frequency pulse signal. Reference numeral (22) is a counter for counting the number of the power supply voltage pulse signals between the signals from the 1/200 frequency dividing circuit (18) (for one second). (24) is 50
It is a Hz / 60Hz control circuit. Is the count value of the counter (22) above 55 or below 54 in this control circuit (24)? The switch (SW) is switched by judging between 50Hz and 60Hz. Reference numeral (26) is a time counting circuit which measures time with the unit time signal output from the switch (SW) as a reference signal of 1 second.

(ハ) 発明が解決しようとする課題 本発明は、回路構成が簡単なデジタルタイマを提供す
るものである。具体的には、50Hz/60Hzの判定のための1
/200分周回路(18)を不要とするものである。
(C) Problem to be Solved by the Invention The present invention provides a digital timer having a simple circuit configuration. Specifically, 1 for 50Hz / 60Hz judgment
It eliminates the need for the / 200 divider circuit (18).

(ニ) 課題を解決するための手段 本発明は、商用電源入力端子(10)と、 商用電源の周波数を1/50に分周して単位時間信号を出
力する50Hz用単位時間信号作成回路(1/50分周回路:1
4)と、 商用電源の周波数を1/60に分周して単位時間信号を出
力する60Hz用単位時間信号作成回路(1/60分周回路:1
2)と、 前記50Hz・60Hz用単位時間信号作成回路(14)(12)
からの前記単位時間信号の間隔を基準発振回路(16)か
らの基準パルスをカウントして測定するカウント手段
(28)と、 このカウント手段(28)のカウント値と所定値を比較
する比較手段(30)と、 この比較手段(30)からの出力信号により制御され前
記50Hz用単位時間信号作成回路(14)と前記60Hz用単位
時間信号作成回路(12)とを選択的に動作させる選択手
段(SW)と、 を備えることを特徴とする。
(D) Means for Solving the Problems The present invention is directed to a commercial power supply input terminal (10) and a unit time signal generation circuit for 50 Hz for dividing a frequency of the commercial power supply into 1/50 and outputting a unit time signal ( 1/50 divider circuit: 1
4) and the unit time signal generation circuit for 60Hz that outputs the unit time signal by dividing the frequency of the commercial power supply into 1/60 (1/60 frequency divider circuit: 1
2) and the unit time signal generation circuit for the 50Hz and 60Hz (14) (12)
Counting means (28) for counting and measuring the interval of the unit time signal from the reference oscillation circuit (16) and comparing means (28) for comparing a count value of the counting means (28) with a predetermined value ( 30) and selecting means (50) for selectively operating the 50 Hz unit time signal generating circuit (14) and the 60 Hz unit time signal generating circuit (12) controlled by the output signal from the comparing means (30). SW) and are provided.

(ホ) 作用 本発明では、単位時間信号の間隔を検出して、この単
位時間信号の間隔が誤っている場合に、分周値を変更す
る。
(E) Operation In the present invention, the interval of the unit time signal is detected, and if the interval of the unit time signal is incorrect, the frequency division value is changed.

(ヘ) 実施例 第1図を参照しつつ本発明の一実施例を説明する。
尚、第4図と同一部分には同一符号を付した。
(F) Embodiment An embodiment of the present invention will be described with reference to FIG.
The same parts as those in FIG. 4 are designated by the same reference numerals.

(28)はカウンタであり、このカウンタ(28)は1/60
分周回路(12)又は1/50分周回路(14)からの連続する
2つの単位時間信号の間隔を前記5m秒毎の基準パルス信
号の数をカウントすることにより測定する。
(28) is a counter and this counter (28) is 1/60
The interval between two continuous unit time signals from the frequency dividing circuit (12) or the 1/50 frequency dividing circuit (14) is measured by counting the number of reference pulse signals every 5 msec.

(30)は50Hz/60Hz制御回路であり、カウンタの値が
「180〜220」の時はスイッチ(SW)を現状のままとし、
カウンタ(28)の値が「180〜220」以外の時はスイッチ
(SW)を切り換える。上記動作を説明する。
(30) is a 50Hz / 60Hz control circuit, and when the counter value is "180 to 220", leave the switch (SW) as it is,
When the value of the counter (28) is other than "180-220", switch the switch (SW). The above operation will be described.

まず、スイッチ(SW)は1/50分周回路(14)側に接続
されているとする。そして、50Hzの商用電源が印加され
ると、1/50分周回路(14)は1秒間隔の単位時間信号を
出力する。従って、カウンタ(28)のカウンタ値は200
となり、50Hz/60Hz制御回路(30)はスイッチ(SW)を
現状のままとする。
First, assume that the switch (SW) is connected to the 1/50 frequency divider (14) side. Then, when a commercial power supply of 50 Hz is applied, the 1/50 frequency dividing circuit (14) outputs a unit time signal at 1 second intervals. Therefore, the counter value of the counter (28) is 200
The 50Hz / 60Hz control circuit (30) keeps the switch (SW) as it is.

次に、スイッチ(SW)は1/60分周回路(12)側に接続
されているとする。そして、60Hzの商用電源が印加され
ると、1/60分周回路(12)は1秒間隔の単位時間信号を
出力する。従って、カウンタ(28)のカウント値は200
となり、50Hz/60Hz制御回路(30)はスイッチ(SW)を
現状のままとする。
Next, it is assumed that the switch (SW) is connected to the 1/60 frequency divider circuit (12) side. When commercial power of 60 Hz is applied, the 1/60 frequency dividing circuit (12) outputs a unit time signal at 1 second intervals. Therefore, the count value of the counter (28) is 200
The 50Hz / 60Hz control circuit (30) keeps the switch (SW) as it is.

次に、スイッチ(SW)は1/50分周回路(14)側に接続
されているとする。そして、60Hzの商用電源が印加され
ると、1/50分周回路(14)からの単位時間信号の間隔は
正確な1秒とならず 1/60×50=0.83秒 となる。したがってカウンタ(28)のカウント値は168
となる。依って、50Hz/60Hz制御回路(30)はスイッチ
(SW)を1/60分周回路(12)側に切り換える。そのため
次の1秒以降は正確な動作を行う。
Next, it is assumed that the switch (SW) is connected to the 1/50 frequency divider circuit (14) side. When a 60 Hz commercial power source is applied, the unit time signal from the 1/50 frequency divider circuit (14) does not have an exact 1 second interval but 1/60 × 50 = 0.83 seconds. Therefore, the count value of the counter (28) is 168.
Becomes Accordingly, the 50Hz / 60Hz control circuit (30) switches the switch (SW) to the 1/60 frequency dividing circuit (12) side. Therefore, the correct operation is performed after the next 1 second.

最後に、スイッチ(SW)は1/60分周回路(12)側に接
続されているとする。そして、50Hzの商用電源が印加さ
れると、1/60分周回路(12)からの単位時間信号の間隔
は正確な1秒とならず 1/50×60=1.20秒 となる。したがってカウンタ(28)のカウント値は240
となる。依って、50Hz/60Hz制御回路(30)はスイッチ
(SW)を1/50分周回路(14)側に切り換える。そのため
次の1秒以降は正確な動作を行う。
Finally, it is assumed that the switch (SW) is connected to the 1/60 frequency divider circuit (12) side. Then, when a commercial power supply of 50 Hz is applied, the interval of the unit time signal from the 1/60 frequency dividing circuit (12) does not become an exact 1 second but becomes 1/50 × 60 = 1.20 seconds. Therefore, the count value of the counter (28) is 240
Becomes Accordingly, the 50Hz / 60Hz control circuit (30) switches the switch (SW) to the 1/50 frequency dividing circuit (14) side. Therefore, the correct operation is performed after the next 1 second.

尚、上記実施例ではハードウェアで示したが、実際に
は、マイクロコンピュータのソフトウェアで構成され
る。
In the above embodiment, the hardware is shown, but it is actually composed of software of a microcomputer.

第2図に、この時のフローチャートを示す。尚、第3
図のフローチャートは、マイコンのメインルーチンでは
なく、マイコンが内部基準信号をカウントして作成した
5m秒間隔の信号により、割り込み実行されるルーチンで
ある。
FIG. 2 shows a flowchart at this time. The third
The flowchart in the figure was created by the microcomputer counting internal reference signals, not the main routine of the microcomputer.
This routine is interrupted by a signal at 5 msec intervals.

尚、「5msCNT」はこのルーチンが実行される毎に+1
されるものであり、第1図のカウンタ(28)のカウント
値に相当する。
"5msCNT" is incremented by 1 each time this routine is executed.
And is equivalent to the count value of the counter (28) in FIG.

「SECCNT」は商用電源周波数の立ち上がりが検出され
る毎に−1されるものであり、第1図の1/50,1/60分周
回路(12)(14)の値に相当する。
"SECCNT" is decremented by 1 every time the rise of the commercial power supply frequency is detected, and corresponds to the values of the 1/50 and 1/60 frequency divider circuits (12) and (14) in FIG.

「1秒フラグ」はSECCNTが0になる毎に1にセットさ
れるものであり、第1図の単位時間信号に相当する。
The "1 second flag" is set to 1 every time SECCNT becomes 0, and corresponds to the unit time signal in FIG.

50/60フラッグは、50Hzか?60Hzか?の判定結果を示す
ものであり、第1図のスイッチ(SW)に相当する。
Is the 50/60 flag 50Hz or 60Hz? The result of the judgment is shown, and corresponds to the switch (SW) in FIG.

RTIは本ルーチンへのリターンを示す。 RTI indicates a return to this routine.

本ルーチンでは前記1秒フラッグにより、時刻、タイ
マ等のプログラムルーチン時に時刻を1秒進めて、この
1秒フラッグを0とする。
In this routine, the 1 second flag is used to advance the time by 1 second during the program routine such as time and timer, and the 1 second flag is set to 0.

第3図に本発明の第2実施例を示す。この例は、1/50
分周回路(12)と1/60分周回路(14)への入力パルスを
選択切り換えするものである。
FIG. 3 shows a second embodiment of the present invention. This example is 1/50
The input pulse to the frequency dividing circuit (12) and the 1/60 frequency dividing circuit (14) is selectively switched.

尚、上記実施例では、単位時間信号を1秒毎の信号と
したが、本願は別にこれに限られるわけではない。
In the above embodiment, the unit time signal is a signal every 1 second, but the present invention is not limited to this.

又、本実施例では、50Hzと60Hzの2種の電源周波数に
ついて述べたが、本発明は3種類の電源周波数にも応用
可能である。
Further, in this embodiment, two kinds of power supply frequencies of 50 Hz and 60 Hz are described, but the present invention can be applied to three kinds of power supply frequencies.

(ト) 発明の効果 本発明に依れば、少ない回路構成で商用電源を計数す
るデジタルタイマーを構成できる。
(G) Effect of the Invention According to the present invention, it is possible to configure a digital timer that counts commercial power sources with a small circuit configuration.

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

第1図は本発明の第1実施例を示す図、第2図はこれを
マイコンで実施した時のフローチャートを示す図であ
る。第3図は本発明の第2実施例を示す図である。 第4図は従来例を示す図である。第5図は波形図であ
る。 (10)……商用電源入力端子、 (12)……1/60分周回路(60Hz用単位時間信号作成回
路)、 (14)……1/50分周回路(50Hz用単位時間信号作成回
路)、 (28)……カウンタ(カウンタ手段)、 (30)……50Hz/60Hz制御回路(比較手段)、 (SW)……スイッチ(選択手段)。
FIG. 1 is a diagram showing a first embodiment of the present invention, and FIG. 2 is a diagram showing a flow chart when this is executed by a microcomputer. FIG. 3 is a diagram showing a second embodiment of the present invention. FIG. 4 is a diagram showing a conventional example. FIG. 5 is a waveform diagram. (10) …… Commercial power supply input terminal, (12) …… 1/60 divider circuit (60Hz unit time signal creation circuit), (14) …… 1/50 divider circuit (50Hz unit time signal creation circuit) ), (28) …… Counter (counter means), (30) …… 50Hz / 60Hz control circuit (comparison means), (SW) …… Switch (selection means).

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】商用電源入力端子(10)と、 商用電源の周波数を1/50に分周して単位時間信号を出力
する50Hz用単位時間信号作成回路(14)と、 商用電源の周波数を1/60に分周して単位時間信号を出力
する60Hz用単位時間信号作成回路(12)と、 前記50Hz・60Hz用単位時間信号作成回路(14)(12)か
らの前記単位時間信号の間隔を基準発振回路(16)から
の基準パルスをカウントして測定するカウント手段(2
8)と、 このカウント手段(28)のカウント値と所定値を比較す
る比較手段(30)と、 この比較手段(30)からの出力信号により制御され前記
50Hz用単位時間信号作成回路(14)と前記60Hz用単位時
間信号作成回路(12)とを選択的に動作させる選択手段
(SW)と、 を備えることを特徴とするデジタルタイマ。
1. A commercial power supply input terminal (10), a unit time signal generation circuit (14) for 50 Hz for dividing a frequency of the commercial power supply into 1/50 and outputting a unit time signal, and a frequency of the commercial power supply. 60Hz unit time signal generation circuit (12) that divides into 1/60 and outputs a unit time signal, and the interval of the unit time signal from the 50Hz and 60Hz unit time signal generation circuits (14) (12) A counting means (2) that counts and measures the reference pulse from the reference oscillation circuit (16).
8), a comparing means (30) for comparing the count value of the counting means (28) with a predetermined value, and an output signal from the comparing means (30)
A digital timer comprising: a selection unit (SW) for selectively operating the unit time signal generation circuit (14) for 50 Hz and the unit time signal generation circuit (12) for 60 Hz.
JP2163839A 1990-06-21 1990-06-21 Digital timer Expired - Fee Related JP2669927B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2163839A JP2669927B2 (en) 1990-06-21 1990-06-21 Digital timer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2163839A JP2669927B2 (en) 1990-06-21 1990-06-21 Digital timer

Publications (2)

Publication Number Publication Date
JPH0454486A JPH0454486A (en) 1992-02-21
JP2669927B2 true JP2669927B2 (en) 1997-10-29

Family

ID=15781732

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2163839A Expired - Fee Related JP2669927B2 (en) 1990-06-21 1990-06-21 Digital timer

Country Status (1)

Country Link
JP (1) JP2669927B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102183698B1 (en) * 2016-11-30 2020-11-26 주식회사 엘지화학 Preparation method for polymer layer

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53104277A (en) * 1977-02-23 1978-09-11 Sony Corp Electronic watch

Also Published As

Publication number Publication date
JPH0454486A (en) 1992-02-21

Similar Documents

Publication Publication Date Title
US4250464A (en) Multi-mode relaxation oscillator
KR910000216B1 (en) Timer device for an electric rice cooker
JP2669927B2 (en) Digital timer
KR960032138A (en) Microcomputer
US4250500A (en) Smoke detector
US4187670A (en) Time signal generator circuit for use in an electronic timepiece
US4551781A (en) Control circuit for magnetic probe
JPS6058999B2 (en) Washing machine water flow strength control device
JP2527634B2 (en) Digital timer
JPS6213016Y2 (en)
JPS6244599Y2 (en)
JP2698572B2 (en) Divider circuit
JPH02126162A (en) Commercial power frequency discriminator
JPH0443838Y2 (en)
SU1307511A1 (en) Sensory switching device
RU2162592C2 (en) Device measuring physical quantities
SU1676002A1 (en) Pulse synchronizer
KR100396788B1 (en) Circuit for detecting frequency
JPH0453631Y2 (en)
JPS6236157Y2 (en)
SU610613A1 (en) Chip-breaking device to nc lathes
JPS6057033B2 (en) electronic clock
JPH0443356B2 (en)
JPS59185569A (en) Power source device for welding
JPH04183111A (en) Frequency divider

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees