JPS6239396B2 - - Google Patents

Info

Publication number
JPS6239396B2
JPS6239396B2 JP54075038A JP7503879A JPS6239396B2 JP S6239396 B2 JPS6239396 B2 JP S6239396B2 JP 54075038 A JP54075038 A JP 54075038A JP 7503879 A JP7503879 A JP 7503879A JP S6239396 B2 JPS6239396 B2 JP S6239396B2
Authority
JP
Japan
Prior art keywords
circuit
contents
output
time measurement
signal
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
Application number
JP54075038A
Other languages
Japanese (ja)
Other versions
JPS56679A (en
Inventor
Toshifusa Iwamaru
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP7503879A priority Critical patent/JPS56679A/en
Publication of JPS56679A publication Critical patent/JPS56679A/en
Publication of JPS6239396B2 publication Critical patent/JPS6239396B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G04HOROLOGY
    • G04FTIME-INTERVAL MEASURING
    • G04F10/00Apparatus for measuring unknown time intervals by electric means
    • G04F10/04Apparatus for measuring unknown time intervals by electric means by counting pulses or half-cycles of an ac

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Electric Clocks (AREA)

Description

【発明の詳細な説明】 本発明は計時装置に於ける電力低減化方式に関
する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a power reduction method in a timekeeping device.

計時装置に於いて、例えば1/10秒精度のストツ
プ・ウオツチの場合は、1/10秒間隔のクロツクを
発生し、このクロツクに基づいて計時動作を行う
ものである。また、通常の時計、タイマ等は1秒
間隔のクロツクを発生し、このクロツクに従つて
計時動作を行うようにしている。ところで、従来
の計時装置では例えば上記のように1/10秒精度の
ストツプウオツチ機能が付加されている場合、ス
トツプウオツチの動作中は表示の有無に関係な
く、常時1/10秒のクロツクを用いてカウントアツ
プするようになつている。しかして、ストツプウ
オツチ機能の他に例えば演算機能、時計機能等を
備えているものでは、ストツプウオツチ機能を動
作させ、かつその表示を行わせているときに演算
を行つたり現在時刻を知りたい場合がある。この
ような場合にはストツプウオツチの計時表示を一
時中止して現在時刻の表示に切替えている。ま
た、その他例えばストツプウオツチ機能により長
時間の計時を行わせる場合で、その途中における
表示が不要となる場合がある。このようにストツ
プウオツチ機能の動作中に計時内容を表示しない
場合があり、この非表示期間中は1/10秒の高速ク
ロツクを使用せずに1秒の低速クロツクを用いて
計時動作を行わせても問題はない。しかし、従来
の計時装置では、上記したようにストツプウオツ
チの動作中は計時内容の表示が行われていない場
合でも、1/10秒の高速クロツクを使用して計時を
行つているので、消費電力が多くなるという欠点
がある。
In a timekeeping device, for example, a stop watch with an accuracy of 1/10 second generates a clock at 1/10 second intervals, and performs timekeeping operations based on this clock. Further, ordinary watches, timers, etc. generate clocks at one-second intervals, and perform timekeeping operations in accordance with these clocks. By the way, in conventional timekeeping devices, for example, when a stopwatch function with 1/10 second accuracy is added as shown above, the clock is always counted using a 1/10 second clock while the stopwatch is operating, regardless of whether there is a display or not. It's starting to get hotter. However, if the device is equipped with a calculation function, a clock function, etc. in addition to the stopwatch function, there may be times when you want to perform calculations or find out the current time while the stopwatch function is operating and displaying the stopwatch function. be. In such a case, the time display on the stopwatch is temporarily stopped and switched to displaying the current time. In addition, there are other cases where, for example, a stopwatch function is used to measure time over a long period of time, and display during the measurement may not be necessary. In this way, there are cases where the timekeeping contents are not displayed while the stopwatch function is operating, and during this non-display period, the timekeeping operation is performed using the 1 second low speed clock instead of the 1/10 second high speed clock. There is no problem. However, with conventional timekeeping devices, as mentioned above, even when the timekeeping information is not displayed while the stopwatch is operating, the timekeeping is performed using a high-speed 1/10 second clock, which reduces power consumption. The disadvantage is that there are too many.

本発明の目的は、上記の点に鑑みてなされたも
ので、計時精度を損うことなく消費電力の低減を
計つたマイクロコンピユータ使用の計時装置を提
供することである。
An object of the present invention has been made in view of the above points, and is to provide a timekeeping device using a microcomputer that reduces power consumption without impairing timekeeping accuracy.

以下図面を参照して本発明を説明する。第1図
において1はキー入力部で、置数キー2、フアン
クシヨンキー3、スタート・ストツプキー4、リ
コールキー5、クリアキー6等を備えている。上
記キー入力部1における各キー2〜6の操作出力
はROMアドレス部7へ送られ、このROMアドレ
ス部7によつて各種マイクロプログラムを記憶し
ているROM(リードオンリメモリ)のアドレス
指定が行われる。また、上記スタート・ストツプ
キー5の操作出力は2進カウンタ9へカウントア
ツプ信号として送られ、この2進カウンタ9の出
力はROMアドレス部7及びアンド回路10,1
1へ入力される。更に上記スタート・ストツプキ
ー4及びリコールキー5の操作出力はオア回路1
2を介してフリツプフロツプ13のセツト端子S
へ入力される。そして、このフリツプフロツプ1
3のリセツト端子Rには上記クリアキー6の操作
出力及びフリツプフロツプ14の出力がアンド回
路15を介して入力される。上記フリツプフロツ
プ13のQ側出力はフリツプフロツプ14及びア
ンド回路16へ入力されると共にインバータ16
を介してアンド回路17へ入力される。また、1
8は基準パルス信号を発生するパルス発振器
(PG)で、その発振出力は分周回路Aへ入力され
る。この分周回路Aはパルス発振器18からの基
準パルス信号を分周して1/10秒の信号を得る1/10
秒分周回路19及びこの1/10秒分周回路19から
出力される1/10秒信号を分周して1秒信号を得る
10進カウンタ20からなつている。そして、1/10
秒分周回路19の出力はアンド回路15へ入力さ
れ、10進カウンタ20の出力はアンド回路17へ
入力される。上記アンド回路15,17の出力
は、それぞれ上記アンド回路10,11を介して
ROMアドレス部7へ送られる。このROMアドレ
ス部7はアンド回路10,11から入力される信
号あるいはキー入力部1からの信号さらには
ROM8からの次アドレスNAに従つてROM8の
アドレスを指定する。このROM8は出力ライン
a〜eを備えており、出力ラインaからはRAM
(ランダムアクセスメモリ)21の行アドレスを
指定するアドレスデータUを出力し、出力ライン
bからはRAM21の例アドレスを指定するアド
レスデータLを出力する。さらに、ROM8の出
力ラインcからは数値コードcode、出力ライン
dからは各種インストラクシヨンINS、出力ライ
ンeから次アドレスNAを出力する。上記RAM2
1は各種演算用のXレジスタ、Yレジスタ等を備
えていると共に第2図に示すストツプウオツチ用
のSTレジスタを備えている。このSTレジスタは
7桁構成で、0桁目は1/10秒データの記憶、1〜
2桁目は秒データの記憶、3〜4桁は分データの
記憶、5〜6桁は時データの記憶を行うようにな
つている。しかして、前記RAM21から読出さ
れるデータは、演算回路22の一方の入力端aへ
入力される。また、この演算回路22の他方の入
力端bには、ROM8の出力ラインcから出力さ
れるコード信号codeがゲート回路23を介して
入力されると共に前記10進カウンタ20のカウン
ト内容がゲート回路24を介して入力される。そ
して、演算回路22から出力される演算結果は、
表示部25及びRAM21へ送られる。さらに、
ROM8の出力ラインdから出力されるインスト
ラクシヨンINSは、インストラクシヨンデコーダ
25へ送られる。このインストラクシヨンデコー
ダ25は、ROM8からのインストラクシヨンを
デコードし、各種制御命令例えば読出し/書込み
信号R/WをROM21に、減算命令Subを演算
回路22に、ゲート信号をゲート回路23,24
に、そしてリセツト信号を2進カウンタ9に入力
する。この2進カウンタ9へのリセツト信号は電
源の投入時に与えられる。
The present invention will be explained below with reference to the drawings. In FIG. 1, reference numeral 1 denotes a key input section, which includes a numeric key 2, a function key 3, a start/stop key 4, a recall key 5, a clear key 6, and the like. The operation output of each key 2 to 6 in the key input section 1 is sent to the ROM address section 7, and this ROM address section 7 specifies the address of a ROM (read only memory) that stores various microprograms. be exposed. Further, the operation output of the start/stop key 5 is sent to a binary counter 9 as a count up signal, and the output of this binary counter 9 is sent to the ROM address section 7 and the AND circuits 10 and 1.
1. Furthermore, the operation outputs of the start/stop key 4 and recall key 5 are OR circuit 1.
2 to the set terminal S of the flip-flop 13
is input to. And this flip-flop 1
The operation output of the clear key 6 and the output of the flip-flop 14 are inputted to the reset terminal R of No. 3 via an AND circuit 15. The Q side output of the flip-flop 13 is input to the flip-flop 14 and the AND circuit 16, and is also input to the inverter 16.
The signal is input to the AND circuit 17 via. Also, 1
8 is a pulse oscillator (PG) that generates a reference pulse signal, and its oscillation output is input to the frequency dividing circuit A. This frequency dividing circuit A divides the reference pulse signal from the pulse oscillator 18 to obtain a 1/10 second signal.
Divide the frequency of the 1/10 second signal output from the second frequency dividing circuit 19 and this 1/10 second frequency dividing circuit 19 to obtain a 1 second signal.
It consists of a decimal counter 20. And 1/10
The output of the second frequency dividing circuit 19 is input to the AND circuit 15, and the output of the decimal counter 20 is input to the AND circuit 17. The outputs of the AND circuits 15 and 17 are passed through the AND circuits 10 and 11, respectively.
It is sent to the ROM address section 7. This ROM address section 7 receives signals input from AND circuits 10 and 11 or signals from the key input section 1.
Specify the address of ROM8 according to the next address NA from ROM8. This ROM8 is equipped with output lines a to e, and from output line a, the RAM
(Random access memory) 21 outputs address data U specifying a row address, and output line b outputs address data L specifying an example address of RAM 21. Further, the ROM 8 outputs a numerical code code from the output line c, various instructions INS from the output line d, and the next address NA from the output line e. RAM2 above
1 is equipped with an X register, a Y register, etc. for various calculations, and an ST register for a stop watch as shown in FIG. This ST register has a 7-digit configuration, where the 0th digit stores 1/10 second data, and the 1st to
The second digit is used to store seconds data, the third to fourth digits are used to store minute data, and the fifth to sixth digits are used to store hour data. Thus, the data read from the RAM 21 is input to one input terminal a of the arithmetic circuit 22. Further, the code signal code outputted from the output line c of the ROM 8 is input to the other input terminal b of the arithmetic circuit 22 via the gate circuit 23, and the count contents of the decimal counter 20 are input to the gate circuit 24. Input via . The calculation result output from the calculation circuit 22 is
The data is sent to the display unit 25 and RAM 21. moreover,
The instruction INS output from the output line d of the ROM 8 is sent to the instruction decoder 25. This instruction decoder 25 decodes instructions from the ROM 8, and sends various control commands such as read/write signals R/W to the ROM 21, subtraction command Sub to the arithmetic circuit 22, and gate signals to the gate circuits 23 and 24.
Then, a reset signal is input to the binary counter 9. This reset signal to the binary counter 9 is given when the power is turned on.

次に上記のように構成された本発明の動作を説
明する。電源を投入するとROM8からのインス
トラクシヨンINSに従つてインストラクシヨンデ
コーダ25からリセツト信号が出力され、2進カ
ウンタ9がリセツトされる。この結果、2進カウ
ンタ9の出力が“0”となり、アンド回路10,
11のゲートが閉じ、ストツプウオツチ機能の動
作が禁止される。この状態で第3図の1に示すよ
うにSTキー4を操作すると、その操作出力がオ
ア回路12を介してフリツプフロツプ13へ送ら
れる。これによりフリツプフロツプ13がセツト
されてそのQ側出力端より“1”信号が出力さ
れ、アンド回路15のゲートが開かれる。この
ROMアドレス部7へ送られ、このROMアドレス
部7のアドレス指定によつてROM8の動作制御
がストツプウオツチの動作モードとなる。また、
上記STキー4の操作出力は2進カウンタ9へ送
られ、その内容を+1する。従つて2進カウンタ
9の出力が“1”となり、アンド回路10,11
のゲートが開かれる。さらに、上記STキー4の
操作出力はオア回路12を介してフリツプフロツ
プ13のセツト端子Sへ入力される。これにより
フリツプフロツプ13がセツトされて、そのQ側
出力端より“1”信号が出力され、アンド回路1
5のゲートが開かれる。このとき、インバータ1
6の出力が“0”となり、アンド回路17はゲー
トを閉じている。従つて、1/10秒分周回路19か
ら出力される1/10秒信号がアンド回路15及びア
ンド回路10を介してROMアドレス部7へ入力
される。この1/10秒信号がROMアドレス部7へ
入力されると、このROMアドレス部7のアドレ
ス指定に従つてROM8から行アドレスU及び列
アドレスLが出力され、RAM21内のSTレジス
タの0桁目が指定される。また、ROM8の出力
ラインcから数値「1」のコード信号が出力さ
れ、ゲート回路23を介して演算回路22へ送ら
れる。そして、この演算回路22により、上記
STレジスタの0桁目から読出されるデータに
「1」が加算される。この時点ではSTレジスタの
0桁目の内容は「0」であり、従つて演算回路2
2で「0+1=1」加算動作が行われ、その加算
結果がSTレジスタの0桁目に書込まれる。すな
わち、第3図1に示すようにSTレジスタの0桁
目に1/10秒の加算が行われる。そして、この加算
動作によりキヤリー信号が生じた場合には、ST
レジスタの上位桁に対して桁上げ処理が行われ
る。このようにして演算回路22で加算された計
時データは、表示部25へ送られて第3図1に示
すように表示される。この時点では1/10秒の計時
データが表示される。また、上記1/10秒分周回路
19から出力された1/10秒信号は、10進カウンタ
20へ送られ、その内容を「1」カウントアツプ
する。以下同様にして1/10秒分周回路19から1/
10秒信号が出力される毎にRAM21内のSTレジ
スタに1/10秒の加算が行われると共に、10進カウ
ンタ20の内容が順次+1される。そして、所定
時間経過後、第3図2に示すようにSTキー4を
操作したとすると、2進カウンタ9の内容が+1
されてリセツト状態に戻る。このため2進カウン
タ9の出力が“0”となり、アンド回路10,1
1のゲートが閉じ、ROMアドレス部7への計時
クロツクの入力が禁止される。これによりストツ
プウオツチの計時動作が一時中断される。このと
きRAM21内のSTレジスタの内容が「123」と
なつていれば、第3図2に示すように表示部25
において「12.3」秒の計時データの表示が行われ
る。この状態で更に第3図3に示すようにSTキ
ー4を操作すると2進カウンタ9の内容が+1さ
れ、その出力が“1”となつてアンド回路10,
11へ入力される。このため1/10秒分周回路19
から出力される1/10秒信号が再びROMアドレス
部7へ送られるようになり、ストツプウオツチの
計時動作が再開される。この時、ストツプウオツ
チの計時動作が一旦停止したことによつてSTレ
ジスタの0桁目の1/10秒の内容と10進カウンタ2
0の内容とが異なつてしまうが、STキー4の操
作により2進カウンタ9が「0」から「1」にな
つたことにより、ROMアドレス部7へ2進カウ
ンタ9からROMアドレス部7へ出力信号が送ら
れ、上記STレジスタの0桁目の内容と10進カウ
ンタ20内容との差の算出が行われてRAM21
内の所定レジスタにその差が記憶される。従つ
て、ストツプウオツチの計時動作が再開された時
点では第3図3に示すようにSTレジスタの0桁
目は「3」、10進カウンタ20は「5」であるた
め、両者の差は「2」となる。その演算結果
「2」が計時動作再開時の1/10秒桁の正しい値と
してSTレジスタの0桁目に書込まれる。しかし
て、上記ストツプウオツチ機能を動作させている
時にその表示を一時中断して他の動作、例えば演
算動作を行わせる場合には、第4図4に示すよう
にまずクリアキー6を操作する。このクリアキー
6の操作出力はROMアドレス部7へ送られ、こ
のROMアドレス部7のアドレス指定によりROM
8から制御命令が出され、ストツプウオツチ機能
の動作を継続した状態で、演算モードへの切替え
が行われる。従つてRAM21内のXレジスタの
内容が表示部25へ送られて「0」の表示が行わ
れる。同時に上記クリアキー6の操作によりその
操作出力がアンド回路15に入力されるとアンド
回路15の出力が“1”となり、フリツプフロツ
プ13がリセツトされる。従つてフリツプフロツ
プ13のQ側出力端から出力される信号が“0”
となり、アンド回路15のゲートを閉じる。ま
た、この際インバータ16の出力が“1”とな
り、アンド回路17のゲートが開かれる。この結
果、10進カウンタ20から出力される1秒信号が
アンド回路17,11を介してROMアドレス部
7へ送られ、第3図4に示すようにSTレジスタ
の1桁目に対して+1秒の演算が行われる。な
お、STレジスタの0桁目はACキーの操作時点の
計数値「7」のまま保持される。そしてこの状態
でキー入力部1内の置数キー2及びフアンクシヨ
ンキー3の操作を行うことにより、RAM21内
のX,Yレジスタ及び演算回路22において指定
の演算が行われ、その演算結果がXレジスタに書
込まれる。そして、このXレジスタに書込まれた
データ例えば「3456」が表示部25へ送られて表
示される。
Next, the operation of the present invention configured as described above will be explained. When the power is turned on, a reset signal is output from the instruction decoder 25 in accordance with the instruction INS from the ROM 8, and the binary counter 9 is reset. As a result, the output of the binary counter 9 becomes "0", and the AND circuit 10,
Gate No. 11 is closed and the operation of the stopwatch function is prohibited. In this state, when the ST key 4 is operated as shown at 1 in FIG. 3, the operation output is sent to the flip-flop 13 via the OR circuit 12. As a result, the flip-flop 13 is set and a "1" signal is output from its Q side output terminal, and the gate of the AND circuit 15 is opened. this
The data is sent to the ROM address section 7, and the address designation of the ROM address section 7 causes the operation control of the ROM 8 to be set to the stopwatch operation mode. Also,
The operation output of the ST key 4 is sent to the binary counter 9, and its contents are incremented by 1. Therefore, the output of the binary counter 9 becomes "1", and the AND circuits 10 and 11
gate will be opened. Furthermore, the operation output of the ST key 4 is inputted to the set terminal S of the flip-flop 13 via the OR circuit 12. As a result, the flip-flop 13 is set, and a "1" signal is output from its Q side output terminal, and the AND circuit 1
Gate 5 will be opened. At this time, inverter 1
6 becomes "0", and the AND circuit 17 closes its gate. Therefore, the 1/10 second signal output from the 1/10 second frequency dividing circuit 19 is input to the ROM address section 7 via the AND circuit 15 and the AND circuit 10. When this 1/10 second signal is input to the ROM address section 7, the row address U and column address L are output from the ROM 8 according to the address specification of the ROM address section 7, and the 0th digit of the ST register in the RAM 21 is is specified. Further, a code signal of numerical value "1" is output from the output line c of the ROM 8 and sent to the arithmetic circuit 22 via the gate circuit 23. Then, by this arithmetic circuit 22, the above
"1" is added to the data read from the 0th digit of the ST register. At this point, the content of the 0th digit of the ST register is "0", so the arithmetic circuit 2
2, an addition operation of "0+1=1" is performed, and the addition result is written to the 0th digit of the ST register. That is, as shown in FIG. 3, 1/10 second is added to the 0th digit of the ST register. If a carry signal is generated by this addition operation, ST
Carry processing is performed on the upper digits of the register. The time measurement data thus added by the arithmetic circuit 22 is sent to the display section 25 and displayed as shown in FIG. 31. At this point, 1/10 second timing data is displayed. Further, the 1/10 second signal outputted from the 1/10 second frequency dividing circuit 19 is sent to the decimal counter 20, and its contents are counted up by "1". Similarly, from 1/10 second frequency dividing circuit 19 to 1/
Every time a 10 second signal is output, 1/10 second is added to the ST register in the RAM 21, and the contents of the decimal counter 20 are sequentially incremented by 1. After a predetermined period of time has passed, if the ST key 4 is operated as shown in FIG. 3, the contents of the binary counter 9 will be +1.
and returns to the reset state. Therefore, the output of the binary counter 9 becomes "0", and the AND circuits 10 and 1
The gate No. 1 is closed, and input of the clock clock to the ROM address section 7 is prohibited. As a result, the timekeeping operation of the stopwatch is temporarily interrupted. At this time, if the contents of the ST register in the RAM 21 are "123", the display section 25 will appear as shown in FIG.
The timing data of "12.3" seconds is displayed. In this state, if the ST key 4 is further operated as shown in FIG.
11. For this reason, 1/10 second frequency dividing circuit 19
The 1/10 second signal output from the ROM address section 7 is again sent to the ROM address section 7, and the stopwatch restarts the timekeeping operation. At this time, since the stopwatch's timing operation has temporarily stopped, the contents of 1/10 second in the 0th digit of the ST register and the decimal counter 2
Although the contents of 0 will be different, as the binary counter 9 changes from "0" to "1" by operating the ST key 4, the output is output from the binary counter 9 to the ROM address section 7. A signal is sent, the difference between the contents of the 0th digit of the ST register and the contents of the decimal counter 20 is calculated, and the RAM 21
The difference is stored in a predetermined register within. Therefore, as shown in FIG. 3, when the stopwatch restarts, the 0th digit of the ST register is "3" and the decimal counter 20 is "5", so the difference between the two is "2". ”. The calculation result "2" is written to the 0th digit of the ST register as the correct value for the 1/10 second digit when the timekeeping operation is restarted. When the stopwatch function is in operation, if the display is to be temporarily interrupted to perform another operation, such as an arithmetic operation, the clear key 6 is first operated as shown in FIG. The operation output of this clear key 6 is sent to the ROM address section 7, and the ROM address section 7 specifies the address.
A control command is issued from 8, and switching to the calculation mode is performed while the stopwatch function continues to operate. Therefore, the contents of the X register in the RAM 21 are sent to the display section 25 and "0" is displayed. At the same time, when the clear key 6 is operated and its operation output is input to the AND circuit 15, the output of the AND circuit 15 becomes "1" and the flip-flop 13 is reset. Therefore, the signal output from the Q side output terminal of flip-flop 13 is "0".
Then, the gate of the AND circuit 15 is closed. Further, at this time, the output of the inverter 16 becomes "1", and the gate of the AND circuit 17 is opened. As a result, the 1 second signal output from the decimal counter 20 is sent to the ROM address section 7 via the AND circuits 17 and 11, and as shown in FIG. calculations are performed. Note that the 0th digit of the ST register remains the count value "7" at the time the AC key was operated. In this state, by operating the numeric key 2 and function key 3 in the key input section 1, the specified operation is performed in the X, Y registers in the RAM 21 and the arithmetic circuit 22, and the result of the operation is written to a register. The data written in this X register, for example "3456", is then sent to the display section 25 and displayed.

上記の演算終了後、ストツプウオツチの計時デ
ータを再び表示部25に表示する場合には、リコ
ールキー5を操作する。第3図5に示すようにリ
コールキー5を操作すると、その操作出力が
ROMアドレス部7へ送られ、そのアドレス指定
によつてRAM21内のSTレジスタの内容が再び
表示部25へ送られて表示される。さらに、イン
ストラクシヨンデコーダ25からゲート回路24
へゲート信号が送られ、10進カウンタ24の内容
がゲート回路24を介して演算回路22へ送られ
る。そして、この演算回路22においてSTレジ
スタの0桁目である1/10秒桁の補正が行われる。
即ち、10進カウンタ20の内容「4」はRAM2
1内の所定レジスタに記憶されている差「2」に
よつて減じられ、その減算結果「2」が正しい値
として上記STレジスタの0桁目に書き込まれ
る。なお、この補正のための演算では、STレジ
スタの0桁目及び10進カウンタ20の内容の差を
算出する際にいずれの値が大きいかによつて、補
正時の10進カウンタ20の内容に上記差を加算す
るか減算するかが選択されて行われる。また、上
記リコールキー5の操作出力はオア回路12を介
してフリツプフロツプ13のセツト端子Sへ入力
される。従つてフリツプフロツプ13はセツトさ
れ、そのQ側出力端から“1”信号が出力され、
アンド回路15のゲートが開かれる。この時イン
バータ16の出力は“0”となり、アンド回路1
7のゲートを閉じる。従つて、1/10秒分周回路1
9から出力される1/10秒信号がアンド回路15,
10を介してROMアドレス部7へ送られ、STレ
ジスタの0桁目に+1される。このようにしてス
トツプウオツチ機能は再び1/10秒単位の計時動作
を開始する。また、ストツプウオツチ機能は、
STキーの操作によりストツプウオツチの計時が
停止した状態でクリアキー6を操作することによ
り、計時動作を終了し、計時内容がクリアされ
る。
After the above calculation is completed, if the time data of the stopwatch is to be displayed on the display section 25 again, the recall key 5 is operated. When the recall key 5 is operated as shown in Fig. 3, the operation output is
The data is sent to the ROM address section 7, and according to the address specification, the contents of the ST register in the RAM 21 are sent again to the display section 25 and displayed. Further, from the instruction decoder 25 to the gate circuit 24
A gate signal is sent to the decimal counter 24, and the contents of the decimal counter 24 are sent to the arithmetic circuit 22 via the gate circuit 24. Then, in this arithmetic circuit 22, correction of the 1/10 second digit, which is the 0th digit of the ST register, is performed.
That is, the content "4" of the decimal counter 20 is stored in RAM2.
1 is subtracted by the difference "2" stored in a predetermined register, and the subtraction result "2" is written to the 0th digit of the ST register as the correct value. In addition, in the calculation for this correction, the contents of the decimal counter 20 at the time of correction depend on which value is larger when calculating the difference between the 0th digit of the ST register and the contents of the decimal counter 20. It is selected whether to add or subtract the difference. Further, the operation output of the recall key 5 is inputted to the set terminal S of the flip-flop 13 via the OR circuit 12. Therefore, the flip-flop 13 is set, and a "1" signal is output from its Q side output terminal.
The gate of AND circuit 15 is opened. At this time, the output of the inverter 16 becomes "0", and the AND circuit 1
Close gate 7. Therefore, 1/10 second frequency divider circuit 1
The 1/10 second signal output from 9 is sent to AND circuit 15,
10 to the ROM address section 7, and the 0th digit of the ST register is incremented by 1. In this way, the stopwatch function again starts measuring time in units of 1/10 seconds. In addition, the stopwatch function is
By operating the clear key 6 while the stopwatch has stopped measuring time by operating the ST key, the timekeeping operation is ended and the timekeeping contents are cleared.

なお、上記実施例では、1秒信号と1/10秒信号
とを使い分けしたが、例えば1/100秒精度のスト
ツプウオツチに於て1秒信号と1/100秒信号とを
使い分けしても良く、上記実施例に限定されるこ
とはない。
In the above embodiment, the 1 second signal and the 1/10 second signal are used, but for example, in a stop watch with 1/100 second accuracy, the 1 second signal and the 1/100 second signal may be used. The present invention is not limited to the above embodiments.

以上述べたように本発明によれば、ストツプウ
オツチ等の機能の動作中において、その計時内容
が表示されない非表示モードの場合は第2の分周
回路(10進カウンタ20)の出力である低速クロ
ツクを使用して計時処理を行なうようにしたの
で、非表示中における計時処理に対する電力消費
を低減することができる。
As described above, according to the present invention, during the operation of a function such as a stopwatch, in the non-display mode in which the time measurement contents are not displayed, the low-speed clock that is the output of the second frequency dividing circuit (decimal counter 20) is Since the time measurement process is performed using the , power consumption for the time measurement process during non-display can be reduced.

また、表示モードの場合は第1の分周回路19
の出力である高速クロツクを使用して計時処理
し、非表示モードから表示モードに変つた時に第
2の分周回路の内容と対応する計時内容の桁部分
との差分を計時内容に加算して補正を行なうよう
にしているので、計時精度を何んら損うことがな
い。
In addition, in the case of display mode, the first frequency dividing circuit 19
The high-speed clock that is the output of is used for timekeeping processing, and when the mode changes from non-display mode to display mode, the difference between the content of the second frequency dividing circuit and the digit part of the corresponding timekeeping content is added to the timekeeping content. Since the correction is made, there is no loss in timing accuracy.

【図面の簡単な説明】[Brief explanation of the drawing]

図面は本発明の一実施例を示すもので、第1図
は回路構成図、第2図は第1図におけるRAM内
のストツプウオツチ用レジスタの構成を示す図、
第3図はキー操作に伴うレジスタ内容及び表示内
容の変化を示す図である。 1…キー入力部、4…スタート・ストツプ
(ST)キー、5…リコールキー、6…クリアキ
ー、8…ROM、21…RAM、23,24…ゲー
ト回路。
The drawings show one embodiment of the present invention; FIG. 1 is a circuit configuration diagram, FIG. 2 is a diagram showing the configuration of a stopwatch register in the RAM in FIG. 1, and FIG.
FIG. 3 is a diagram showing changes in register contents and display contents due to key operations. 1...Key input unit, 4...Start/stop (ST) key, 5...Recall key, 6...Clear key, 8...ROM, 21...RAM, 23, 24...Gate circuit.

Claims (1)

【特許請求の範囲】 1 基準周波数信号を分周し高速クロツクを発生
する第1の分周回路と、該第1の分周回路の出力
端子に接続され、その出力をカウントし低速クロ
ツクを発生する第2の分周回路と、上記高速クロ
ツクあるいは低速クロツクに基づいて計時処理を
行なうマイクロコンピユータ使用の計時手段と、
計時内容を表示する表示モード及び表示を行なわ
ない非表示モードを指定するモード指定手段と、
該モード指定手段からの指令に応答して上記計時
手段からの計時内容を表示する表示手段と、前記
第1及び第2の分周回路の出力を個別に受入れ、
前記モード指定手段からの表示モード信号に応答
して前記計時手段に第1の分周回路の高速クロツ
クを供給し、前記モード指定手段からの非表示モ
ード信号に応答して前記計時手段に第2の分周回
路の低速クロツクを供給する選択手段と、前記モ
ード指定手段からの指令を受け入れ、非表示モー
ド信号から表示モード信号への変更に応答して前
記第2の分周回路の内容とこれに対応する計時手
段の計時内容との差分を前記計時手段の計時内容
に加算する加算手段とを具備し、 非表示モードでは低速クロツクにより計時処理
し消費電力低減したことを特徴とするマイクロコ
ンピユータ使用の計時装置。
[Claims] 1. A first frequency divider circuit that divides a reference frequency signal and generates a high-speed clock; and a circuit that is connected to the output terminal of the first frequency divider circuit and counts its output to generate a low-speed clock. a second frequency divider circuit, and a timekeeping means using a microcomputer that performs timekeeping processing based on the high-speed clock or the low-speed clock;
mode designation means for designating a display mode for displaying timed contents and a non-display mode for not displaying the timed contents;
display means for displaying time measurement contents from the time measurement means in response to a command from the mode designation means, and individually receiving outputs from the first and second frequency dividing circuits;
A high-speed clock of a first frequency dividing circuit is supplied to the timekeeping means in response to a display mode signal from the mode designation means, and a second clock is supplied to the timekeeping means in response to a non-display mode signal from the mode designation means. selecting means for supplying a low-speed clock to the second frequency dividing circuit; and receiving a command from the mode specifying means, and selecting the contents of the second frequency dividing circuit in response to the change from the non-display mode signal to the display mode signal. and an addition means for adding the difference between the time measurement contents of the time measurement means corresponding to the time measurement means to the time measurement contents of the time measurement means, and in the non-display mode, time measurement processing is performed using a low-speed clock to reduce power consumption. timing device.
JP7503879A 1979-06-14 1979-06-14 Electric power reducing system in time counting unit Granted JPS56679A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7503879A JPS56679A (en) 1979-06-14 1979-06-14 Electric power reducing system in time counting unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7503879A JPS56679A (en) 1979-06-14 1979-06-14 Electric power reducing system in time counting unit

Publications (2)

Publication Number Publication Date
JPS56679A JPS56679A (en) 1981-01-07
JPS6239396B2 true JPS6239396B2 (en) 1987-08-22

Family

ID=13564626

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7503879A Granted JPS56679A (en) 1979-06-14 1979-06-14 Electric power reducing system in time counting unit

Country Status (1)

Country Link
JP (1) JPS56679A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0695149B2 (en) * 1986-02-06 1994-11-24 セイコーエプソン株式会社 Electronic watch with stopwatch function

Also Published As

Publication number Publication date
JPS56679A (en) 1981-01-07

Similar Documents

Publication Publication Date Title
JPH0346078B2 (en)
US4330840A (en) Multi-function electronic digital watch
US4502790A (en) Electronic timepiece
US4386423A (en) Electronic timepiece having multi-functions
US4110966A (en) Electronic timepiece with stop watch
JPS6239396B2 (en)
US4181963A (en) Electronic calculator with time counting function
KR830001450B1 (en) Electronic digital multifunction watch
JPS608470B2 (en) Timekeeping method
US4468133A (en) Electronic timepiece
JPH0628718Y2 (en) Stopwatch
JPH052877Y2 (en)
JPS6310553Y2 (en)
JPS6026236B2 (en) Display control method
JP2508571Y2 (en) Stopwatch
JPH0434475Y2 (en)
JPS604960B2 (en) Timekeeping method
JPH0134149Y2 (en)
JPH0315439B2 (en)
JP2513600Y2 (en) Data bank device
JPH034948Y2 (en)
JPH0615313Y2 (en) Data storage device
JPS6032625Y2 (en) timing circuit
JPH0436472Y2 (en)
JPH0434476Y2 (en)