JPS6249595B2 - - Google Patents
Info
- Publication number
- JPS6249595B2 JPS6249595B2 JP57128405A JP12840582A JPS6249595B2 JP S6249595 B2 JPS6249595 B2 JP S6249595B2 JP 57128405 A JP57128405 A JP 57128405A JP 12840582 A JP12840582 A JP 12840582A JP S6249595 B2 JPS6249595 B2 JP S6249595B2
- Authority
- JP
- Japan
- Prior art keywords
- output
- cpu
- circuit
- lamp
- control means
- 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
Links
- 230000004397 blinking Effects 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 5
- 230000007257 malfunction Effects 0.000 description 4
- 230000010355 oscillation Effects 0.000 description 4
- 230000007423 decrease Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000008033 biological extinction Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G04—HOROLOGY
- G04G—ELECTRONIC TIME-PIECES
- G04G19/00—Electric power supply circuits specially adapted for use in electronic time-pieces
- G04G19/08—Arrangements for preventing voltage drop due to overloading the power supply
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Electromechanical Clocks (AREA)
- Electric Clocks (AREA)
Description
【発明の詳細な説明】
本発明は、ROM、RAM、ALU等で構成された
CPU(セントラル・プロセツシング・ユニツ
ト)を使用し、プログラムによつて計時動作等を
行うCPU方式電子時計に関し特に、液晶表示装
置を照明するランプ付CPU方式電子時計に関す
る。[Detailed Description of the Invention] The present invention provides a
The present invention relates to a CPU type electronic watch that uses a CPU (Central Processing Unit) to perform timekeeping operations etc. according to a program, and particularly relates to a CPU type electronic watch with a lamp that illuminates a liquid crystal display device.
従来、第1図に示される如く、時計動作を行う
CPU1の電源には電池2が用いられ、また、液
晶表示装置を照明するためのランプ3の電源も共
通の電池2が用いられている。この様な電子時計
に於いて、ランプ3を点灯させるためのスイツチ
4を閉成すると、第2図に示す如く、閉成直後、
ラツシユ電流5が流れ、電池2の端子電圧6が一
時的に低下する。この端子電圧6の低下により
CPU1が誤動作する危惧があつた。 Conventionally, a clock operates as shown in Figure 1.
A battery 2 is used as a power source for the CPU 1, and a common battery 2 is also used as a power source for a lamp 3 for illuminating the liquid crystal display device. In such an electronic watch, when the switch 4 for lighting the lamp 3 is closed, as shown in FIG.
A rush current 5 flows, and the terminal voltage 6 of the battery 2 temporarily decreases. Due to this decrease in terminal voltage 6,
There was a fear that CPU1 would malfunction.
本発明は上述した点に鑑みて為されたものであ
り、ランプの点灯直後から一定時間は、CPUの
システムクロツクを停止させることにより誤動作
を防止したCPU方式電子時計を提供するもので
ある。以下、図面を参照して本発明を詳述する。 The present invention has been made in view of the above-mentioned points, and it is an object of the present invention to provide a CPU type electronic timepiece that prevents malfunction by stopping the system clock of the CPU for a certain period of time immediately after the lamp is turned on. Hereinafter, the present invention will be explained in detail with reference to the drawings.
第3図は本発明の実施例を示すブロツク図であ
り、7は基準信号を発生する発振回路、8は発振
回路7の基準信号を所定の分周信号φ3、例えば
1Hzの信号、に分周する分周回路、9はCPUで
あり、分周回路8の分周信号φ3に基いて、時、
分、秒等の時刻データを作成する時計手段10
と、外部に接続されたスイツチ11の開閉を検知
し、ランプ点灯パルス及びランプ消灯パルスを出
力するランプ制御手段12と、カウンタ制御手段
13とをを有し、これらの時計手段10、ランプ
制御手段12、及び、カウンタ制御手段13は、
CPU9に設けられたROM(図示せず)に書き込
まれたプログラムによつて実現構成される。14
はランプ15を駆動するトランジスタ16を制御
するFF(フリツプフロツプ)であり、セツト端
子Sにはランプ点灯パルスが印加され、リセツト
端子Rにはランプ消灯パルスが印加される。17
は分周回路8の分周出力φ2を計数するカウンタ
であり、CPU9のカウンタ制御手段13によつ
て、計数値のセツト及び計数の開始が制御され
る。18は分周回路8の分周出力φ1がANDゲ
ート19を介して印加され、その分周出力φ1を
基に、CPU9を動作させるタイミング信号を作
成するシステムクロツク回路、20はFF(フリ
ツプフロツプ)であり、セツト端子Sはカウンタ
17の出力が印加され、リセツト端子Rには、ラ
ンプ制御手段12のランプ点灯パルスが印加さ
れ、また出力QはANDゲート19に印加され
る。 FIG. 3 is a block diagram showing an embodiment of the present invention, where 7 is an oscillation circuit that generates a reference signal, and 8 is an oscillation circuit that divides the reference signal of the oscillation circuit 7 into a predetermined frequency-divided signal φ 3 , for example, a 1Hz signal. The frequency divider circuit 9 is a CPU, and based on the frequency division signal φ3 of the frequency divider circuit 8, the time
Clock means 10 for creating time data such as minutes and seconds
, a lamp control means 12 that detects the opening and closing of a switch 11 connected to the outside and outputs a lamp lighting pulse and a lamp extinction pulse, and a counter control means 13, and these clock means 10 and lamp control means 12, and the counter control means 13,
It is realized by a program written in a ROM (not shown) provided in the CPU 9. 14
is an FF (flip-flop) that controls the transistor 16 that drives the lamp 15, a lamp lighting pulse is applied to the set terminal S, and a lamp extinguishing pulse is applied to the reset terminal R. 17
is a counter that counts the frequency-divided output φ2 of the frequency dividing circuit 8, and the setting of the count value and the start of counting are controlled by the counter control means 13 of the CPU 9. 18 is a system clock circuit to which the frequency divided output φ1 of the frequency dividing circuit 8 is applied via the AND gate 19 , and creates a timing signal for operating the CPU 9 based on the frequency divided output φ1; 20 is a FF ( The output of the counter 17 is applied to the set terminal S, the lamp lighting pulse of the lamp control means 12 is applied to the reset terminal R, and the output Q is applied to the AND gate 19.
第3図に於いて、通常、FF20はセツト状態
にあり、その出力Qは“1”のレベルとなつてお
り、ANDゲート19を導通状態にしている。従
つて、システムクロツク回路18には分周出力φ
1が印加され、CPU9はシステムクロツク回路
18によつて作られたタイミング信号により、プ
ログラムを実行する。時計手段10はプログラム
によつて実現されるものであり、分周信号φ3が
出力される毎に、内部の記憶回路(RAM)(図示
せず)に記憶された秒、分、時等のデータへの加
算処理及び桁上げ処理を行う。プログラムによる
時計手段10は周知であるので詳しくは説明を略
す。 In FIG. 3, the FF 20 is normally in a set state, and its output Q is at the level "1", making the AND gate 19 conductive. Therefore, the system clock circuit 18 has a divided output φ.
1 is applied, and the CPU 9 executes the program according to the timing signal generated by the system clock circuit 18. The clock means 10 is realized by a program, and every time the frequency-divided signal φ3 is output, it reads seconds, minutes, hours, etc. stored in an internal memory circuit (RAM) (not shown). Performs addition processing and carry processing to data. Since the program clock means 10 is well known, detailed explanation will be omitted.
また、ランプ制御手段12及びカウンタ制御手
段13もプログラムによつて実現される手段であ
り、これらの手段について第4図を参照して説明
する。 Further, the lamp control means 12 and the counter control means 13 are also means realized by a program, and these means will be explained with reference to FIG. 4.
第4図はランプ制御手段12及びカウンタ制御
手段13のプログラムを示すフロー図であり、こ
のプログラムは定期的な割り込み処理、あるい
は、外部スイツチの操作時為される割り込み処理
で実行される。先ず、スイツチ11が接続される
端子のデータをCPU内部に取り込み、そのスイ
ツチ11が閉成されたか、開成されたかをデータ
が論理“1”か“0”かで判定する。スイツチ1
1が閉成された場合、先ず、カウンタ17に2〜
3msec程度の値をセツトし動作を開始させ、そ
の後、ランプ点灯パルスを出力する。ランプ点灯
パルスの出力により、FF14はセツト状態とな
り、その出力Qが“1”レベルとなるため、トラ
ンジスタ16はオンし、ランプ15が点灯する。
一方、ランプ点灯パルスによつてFF20は同時
にリセツトされ、その出力Qを“0”レベルとす
るので、ANDゲート19は遮断状態となり、分
周出力φ1はシステムクロツク回路18に印加さ
れなくなり、システムクロツク回路18はCPU
9の動作を実行させるタイミング信号の作成を停
止する。従つて、CPU9は動作が固定された状
態となり、プログラムの進行が停止する。この状
態で、ランプ15に流れるラツシユ電流により、
電源電圧が低下しても、CPU9は固定された状
態が保持されるので誤動作することはない。一
方、カウンタ17は分周回路8の分周出力φ2を
計数し続けており、設定された時間、例えば、2
〜3msec経過すると、カウンタ17から出力が
為され、FF20がセツトされ、その出力Qは
“1”となる。従つて、ANDゲート19は再び導
通状態となり、システムクロツク回路18に分周
出力φ1が印加されるので、CPU9の動作が再
開される。ランプ15の点灯時に流れるラツシユ
電流は1msec以下であるので、点灯直後から2
〜3msec経過したときには、電源電圧はCPU9
が誤動作しない程度の電圧に上昇しているのであ
る。 FIG. 4 is a flowchart showing a program for the lamp control means 12 and counter control means 13, and this program is executed by periodic interrupt processing or interrupt processing performed when an external switch is operated. First, the data of the terminal to which the switch 11 is connected is taken into the CPU, and whether the switch 11 is closed or opened is determined by whether the data is a logic "1" or "0". switch 1
1 is closed, first the counter 17 is filled with 2~
A value of about 3 msec is set to start operation, and then a lamp lighting pulse is output. The output of the lamp lighting pulse puts the FF 14 into a set state, and its output Q goes to the "1" level, so the transistor 16 turns on and the lamp 15 lights up.
On the other hand, the FF 20 is simultaneously reset by the lamp lighting pulse and its output Q is set to the "0" level, so the AND gate 19 is cut off and the divided output φ1 is no longer applied to the system clock circuit 18. The system clock circuit 18 is the CPU
The generation of the timing signal for executing the operation in step 9 is stopped. Therefore, the operation of the CPU 9 is fixed, and the progress of the program is stopped. In this state, due to the lash current flowing through the lamp 15,
Even if the power supply voltage drops, the CPU 9 remains fixed and will not malfunction. On the other hand, the counter 17 continues to count the frequency divided output φ2 of the frequency dividing circuit 8, and the counter 17 continues to count the frequency divided output φ2 of the frequency dividing circuit 8, and the counter 17 continues counting the frequency divided output φ2 of the frequency dividing circuit 8.
When ~3 msec has elapsed, the counter 17 outputs an output, the FF 20 is set, and its output Q becomes "1". Therefore, the AND gate 19 becomes conductive again and the divided output φ1 is applied to the system clock circuit 18, so that the operation of the CPU 9 is restarted. Since the lash current that flows when the lamp 15 is turned on is less than 1 msec, 2 seconds immediately after the lamp 15 is turned on.
When ~3msec has passed, the power supply voltage is
The voltage has increased to a level that will not cause malfunction.
スイツチ11が開成された場合は、ランプ消灯
パルスが出力され、FF14がリセツトされ、ト
ランジスタ16がオフ状態となり、ランプ15が
消灯される。 When the switch 11 is opened, a lamp extinguishing pulse is output, the FF 14 is reset, the transistor 16 is turned off, and the lamp 15 is extinguished.
上述の如く、本発明によれば、ランプ点灯直後
から一定時間、システムクロツクを止め、CPU
の動作を停止させることにより、ランプ点灯時の
ラツシユ電流による電源電圧の低下でCPU9が
誤動作することを防止できるものである。 As described above, according to the present invention, the system clock is stopped for a certain period of time immediately after the lamp is turned on, and the CPU
By stopping the operation of the CPU 9, it is possible to prevent the CPU 9 from malfunctioning due to a drop in power supply voltage due to the rush current when the lamp is turned on.
第1図は従来例を示すブロツク図、第2図は電
流と電源電圧の関係を示す特性図、第3図は本発
明の実施例を示すブロツク図、第4図は動作を示
すフロー図である。
7……発振回路、8……分周回路、9……
CPU、10……時計手段、11……スイツチ、
12……ランプ制御手段、13……カウンタ制御
手段、15……ランプ、16……トランジスタ、
14,20……FF、17……カウンタ、18…
…システムクロツク回路、19……ANDゲー
ト。
Fig. 1 is a block diagram showing a conventional example, Fig. 2 is a characteristic diagram showing the relationship between current and power supply voltage, Fig. 3 is a block diagram showing an embodiment of the present invention, and Fig. 4 is a flow diagram showing the operation. be. 7...Oscillation circuit, 8...Divide circuit, 9...
CPU, 10...Clock means, 11...Switch,
12...Lamp control means, 13...Counter control means, 15...Lamp, 16...Transistor,
14, 20...FF, 17...Counter, 18...
...System clock circuit, 19...AND gate.
Claims (1)
信号を所定の周波数に分周する分周回路、該分周
回路の所定分周信号に基いて計時動作を行う時計
手段と外部スイツチの開閉を検出して外部に接続
されたランプの点滅を制御するランプ制御手段
が、プログラムによつて構成されたCPU(セン
トラル・プロセツシング・ユニツト)、前記分周
回路の分周出力を入力して、前記CPUの動作を
行わしめるタイミング信号を発生するシステムク
ロツク回路とを備えたCPU方式電子時計に於い
て、前記CPU内に構成され、前記ランプ制御手
段の指示によつて動作するカウンタ制御手段と、
該カウンタ制御手段によつて制御され、前記分周
回路の分周出力を計数するカウンタと、該カウン
タの出力、及び、前記ランプ制御手段から出力さ
れるランプ点灯パルスでセツト、及び、リセツト
されるフリツプフロツプ(FF)と、該フリツプ
フロツプの出力が印加され、前記分周回路とシス
テムクロツク回路との間に介在されるゲート回路
とを設け、前記ランプ点灯パルスの発生後から前
記カウンタの出力発生時まで、前記フリツプフロ
ツプを所定状態にすることにより、前記システム
クロツク回路の動作を停止させることを特徴とす
るCPU方式電子時計。1. An oscillator that generates a reference signal, a frequency dividing circuit that divides the reference signal of the oscillator into a predetermined frequency, a clock means that performs a timekeeping operation based on the predetermined frequency-divided signal of the frequency dividing circuit, and detects the opening and closing of an external switch. A lamp control means for controlling the blinking of an externally connected lamp inputs the divided output of the frequency dividing circuit to a CPU (central processing unit) configured by a program, and controls the output of the CPU. A CPU-type electronic timepiece equipped with a system clock circuit that generates a timing signal to perform an operation, a counter control means configured in the CPU and operated according to instructions from the lamp control means;
A counter that is controlled by the counter control means and counts the frequency-divided output of the frequency divider circuit, and is set and reset by the output of the counter and a lamp lighting pulse output from the lamp control means. A flip-flop (FF) and a gate circuit to which the output of the flip-flop is applied and interposed between the frequency divider circuit and the system clock circuit are provided, and the gate circuit is provided between the generation of the lamp lighting pulse and the time of generation of the output of the counter. A CPU-type electronic timepiece, characterized in that the operation of the system clock circuit is stopped by bringing the flip-flop into a predetermined state.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57128405A JPS5918478A (en) | 1982-07-22 | 1982-07-22 | Cpu type electronic time piece |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57128405A JPS5918478A (en) | 1982-07-22 | 1982-07-22 | Cpu type electronic time piece |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5918478A JPS5918478A (en) | 1984-01-30 |
| JPS6249595B2 true JPS6249595B2 (en) | 1987-10-20 |
Family
ID=14983970
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP57128405A Granted JPS5918478A (en) | 1982-07-22 | 1982-07-22 | Cpu type electronic time piece |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5918478A (en) |
-
1982
- 1982-07-22 JP JP57128405A patent/JPS5918478A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5918478A (en) | 1984-01-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4615625A (en) | Analog electronic timepiece | |
| JPS6242418B2 (en) | ||
| JPS6249595B2 (en) | ||
| US4370066A (en) | Correction signal input system for electronic timepiece | |
| US3745760A (en) | Electronic switch for timepieces | |
| JPH0128408B2 (en) | ||
| JPS6041746B2 (en) | electronic clock | |
| JPH0334111B2 (en) | ||
| JPS6013205B2 (en) | Power supply method | |
| US4242748A (en) | Electric alarm clock | |
| JPS634675B2 (en) | ||
| JPS6135565B2 (en) | ||
| JPS607381A (en) | Power saving function of electronic timepiece | |
| JPH0426127B2 (en) | ||
| US4247932A (en) | Electronic timepiece | |
| JPS5918395Y2 (en) | Clock with battery life warning display | |
| JPS5831111Y2 (en) | Clock with battery life warning display | |
| JPS6024490A (en) | Circuit for electronic timepiece | |
| JPS5922191B2 (en) | electronic clock | |
| JPS5928392Y2 (en) | Clock with battery life warning display | |
| JPS6120828B2 (en) | ||
| JPS6137585B2 (en) | ||
| JPS59228186A (en) | Electronic timepiece | |
| JPH0352087B2 (en) | ||
| JPS61126496A (en) | Electronic wrist watch |