JPS6032625Y2 - timing circuit - Google Patents

timing circuit

Info

Publication number
JPS6032625Y2
JPS6032625Y2 JP16644575U JP16644575U JPS6032625Y2 JP S6032625 Y2 JPS6032625 Y2 JP S6032625Y2 JP 16644575 U JP16644575 U JP 16644575U JP 16644575 U JP16644575 U JP 16644575U JP S6032625 Y2 JPS6032625 Y2 JP S6032625Y2
Authority
JP
Japan
Prior art keywords
output
accumulator
counter
contents
circuit
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
JP16644575U
Other languages
Japanese (ja)
Other versions
JPS5278472U (en
Inventor
正明 上野
Original Assignee
三菱電機株式会社
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 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to JP16644575U priority Critical patent/JPS6032625Y2/en
Publication of JPS5278472U publication Critical patent/JPS5278472U/ja
Application granted granted Critical
Publication of JPS6032625Y2 publication Critical patent/JPS6032625Y2/en
Expired legal-status Critical Current

Links

Landscapes

  • Electric Clocks (AREA)

Description

【考案の詳細な説明】 この考案は唯一のカウンタのみでカウント動作を可能と
するようにした計時回路に関する。
[Detailed Description of the Invention] This invention relates to a timekeeping circuit that enables counting operations using only one counter.

従来の電子時計などの計時回路は数多くのカウンタを必
要としていた。
Conventional timekeeping circuits such as electronic watches require many counters.

たとえば、秒カウンタとその出力を元にする分カウンタ
、まらにその出力を元にする時カウンタなとであり、し
かも、これらのカウンタは通常分周器と呼ばれる周波数
を172にする回路を多段に接続したものが殆んどであ
った。
For example, there are a seconds counter, a minute counter based on its output, and an hour counter based on its output, and these counters usually have multiple stages of circuits called frequency dividers that reduce the frequency to 172. Most of them were connected to.

ここで、従来の計時回路について説明すると、第1図は
それを示すものであり、この第1図で発振回路1、分周
回路2、秒カウンタ3、分カウンタ4、時カウンタ5、
日カウンタ6、週カウンタ7、月カウンタ8などの各種
のカウンタから構成されている。
Now, to explain the conventional timekeeping circuit, FIG. 1 shows it. In this FIG.
It is composed of various counters such as a day counter 6, a week counter 7, and a month counter 8.

上記発振回路1として一般的に用いられるものは、この
第1図に示すごとく、バイアス抵IFにより入出力間が
接続された増幅器としてのインバータ1aと、帰還回路
として、水晶振動子CRYと、温度補正用コンデンサC
g、 Cdより戒っている。
As shown in FIG. 1, the oscillation circuit 1 generally used includes an inverter 1a as an amplifier whose input and output are connected by a bias resistor IF, a crystal resonator CRY as a feedback circuit, and a Correction capacitor C
G, I am more careful than Cd.

この発振回路1により発振した周波数を分周回路2によ
り分周する訳だが、最近一般的に用いられることの多い
周波数は32768H2であり、したがって、この場合
は1鍛分周することにより出力側にIH2を得ている。
The frequency oscillated by this oscillation circuit 1 is divided by the frequency divider circuit 2, but the frequency that is commonly used these days is 32768H2, so in this case, by dividing the frequency by 1, the output side is I am getting IH2.

このとき用いられる分周回路はいろいろ考えられている
が、たとえば、第2図のような回路もその一例であり、
また、第1図の各種カウンタ3〜8も第2図のような分
周回路で構成されるのが一般的である。
Various frequency dividing circuits have been considered for use in this case, and one example is the circuit shown in Figure 2.
Further, the various counters 3 to 8 shown in FIG. 1 are also generally constructed from frequency dividing circuits as shown in FIG. 2.

たとえば、秒カウンタ3の場合、IH2の入力を元にし
て、1/60H2(6@)までのカウントを繰り返すも
のであり、他のカウンタも撞様である。
For example, in the case of second counter 3, it repeats counting up to 1/60H2 (6@) based on the input of IH2, and the other counters are also similar.

このように、従来のシステムでは多くのカウンタが必要
である。
Thus, conventional systems require many counters.

この考案は、上記の点にかんがみなされたもので、唯一
のカウンタのみで動作を行うようにして、パターンサイ
ズも縮少でき、また、他のシステム、たとえば、電卓な
どとともに集積回路の1チツプを構成する場合、アダー
やRAM (書込読出メモリ)などの他のシステムと時
分割で共用でき、汎用性に富むなどの利点を有する計時
回路を提供するものである。
This idea was developed in consideration of the above points, and it is possible to reduce the pattern size by making it possible to operate with only one counter, and also to use one integrated circuit chip in conjunction with other systems, such as calculators. In this case, the present invention provides a time measurement circuit that can be shared with other systems such as an adder and a RAM (read/write memory) in a time-sharing manner, and has the advantage of being highly versatile.

以下、この考案の計時回路の実施例について説明すると
、第3図はその一実施例を示すブロック図であり、この
第3図において、発振器11の出力を分周回路12で分
周し、その出力でカウンタ13を駆動するようになって
おり、この場合、発振器11の出力を精確なりロック信
号として、カウンタ13を駆動するようにしてもよい。
Hereinafter, an embodiment of the clock circuit of this invention will be explained. FIG. 3 is a block diagram showing one embodiment. In this FIG. The output drives the counter 13. In this case, the output of the oscillator 11 may be used as an accurate lock signal to drive the counter 13.

カウンタ13の出力はデコーダ14に送出するようにな
っており、デコーダ14はカウンタ13の出力を受けて
アダー15、アキュムレータ16、判定回路17および
RAM1f3を制御する出力を出すようになっている。
The output of the counter 13 is sent to a decoder 14, and the decoder 14 receives the output of the counter 13 and outputs an output for controlling the adder 15, accumulator 16, determination circuit 17, and RAM 1f3.

ここでRAM1B(またはフリップフロップ回路)は第
1図と同じ機能を果そうとすると、第4図(第1図に対
応して用いられるRAMの一例を示す図であり、A1.
A2.AoA8.B1.B2.B、は秒メメモリ、C1
,C2,CoC8,Dl、D2.D、は分メモリ1EI
IE2?E49E8.Flは時メモリ、G1゜G2.
G、、 C8,Hl、 B2.は日メモリ、■1.I2
.■、。
If the RAM 1B (or flip-flop circuit) is to perform the same function as that shown in FIG. 1, then FIG.
A2. AoA8. B1. B2. B is second memory, C1
, C2, CoC8, Dl, D2. D, minute memory 1EI
IE2? E49E8. Fl is time memory, G1°G2.
G,, C8, Hl, B2. Day memory, ■1. I2
.. ■,.

は週メモリ、J、、 J2. J、、 J8は月メモリ
を示す)のように、同様の数だけメモリを必要とする訳
だが、この場合のメモリとしては、たとえば第6図(第
3図のRAM1f3の一例を示す)のようなセルが考え
られ、これは第2図に示した分周器と比較して、パター
ンサイズが小さい点が容易に理解できる。
is weekly memory, J,, J2. The same number of memories are required, as shown in Figure 6 (showing an example of RAM 1f3 in Figure 3), for example, the memory in this case. It is easy to understand that this cell has a smaller pattern size than the frequency divider shown in FIG.

また、この場合、アダー15とアキュムレータ16とR
AM1f3の関係は第7図に示すものであり、RAM1
8の内容はデコーダ14の出力によって順次選択され、
選択されたメモリの4ビツトがアキュムレータ16に読
み込まれる。
In addition, in this case, the adder 15, the accumulator 16 and the R
The relationship between AM1f3 is shown in FIG.
The contents of 8 are sequentially selected by the output of the decoder 14,
The four bits of selected memory are loaded into accumulator 16.

このアキュムレータ16の内容がアダー15によって+
1され、再びアキュムレータ16に読み込み、しかる後
にアキュムレータ16の内容を判定回路17により、ア
キュムレータ16の内容をクリアしてRAM l fJ
に書き込むかを判定するか、あるいはアキュムレータ1
6の内容をそのままにしてRAMIに書き込むかの判定
を実行した後、次のインストラクションを実行すべきと
き、すなわち、桁上げが発生し、−股上のメモリに+1
すべきとき、デコーダ14によってRAM18を新しく
指定し、アキュムレータ16に読み出す。
The contents of this accumulator 16 are + by the adder 15.
1, the data is read into the accumulator 16 again, and then the content of the accumulator 16 is cleared by the judgment circuit 17 and the data is stored in the RAM l fJ.
or determine whether to write to accumulator 1
After determining whether to write the contents of 6 to RAMI as they are, when the next instruction should be executed, in other words, a carry occurs and +1 is written to the memory above the -rise.
When necessary, the RAM 18 is newly designated by the decoder 14 and read out to the accumulator 16.

また、実行すべきでないときはデコーダ14によるRA
MIからアキュムレータ16への読み出しを禁止する。
In addition, when it should not be executed, the RA by the decoder 14
Prohibits reading from MI to accumulator 16.

このような動作の具体例を示したフローチャートが第5
図であり、この第5図の左に示したのがカウンタ13の
出力■1〜I6の組み合わせの内、左のコードを右のイ
ンストラクションに対応させたもので、上から順次コー
ドが進行するようにする。
A flowchart showing a specific example of such an operation is shown in the fifth section.
The one shown on the left of Figure 5 is the one in which the code on the left corresponds to the instruction on the right among the combinations of outputs 1 to I6 of the counter 13, so that the code progresses sequentially from the top. Make it.

この場合のカウンタ13は2””64秒ごとにクロック
が発振器11あるいは分周回路12から印加され、カウ
ンタ13の出力が変化する場合を考えている。
In this case, a case is considered in which a clock is applied to the counter 13 from the oscillator 11 or the frequency dividing circuit 12 every 2''64 seconds, and the output of the counter 13 changes.

インストラクションに対応して順次進行するコードを発
生させる手段として発振器の出力を分周した出力で駆動
されるカウンタを用いて話を進めてきたが、この発振器
の出力を分周した出力で駆動されるカウンタをプログラ
ムカウンタとしてリードオンリメモリーがインストラク
ションに対応して順次進行するコードを発生させる手段
として使える点は言うまでもない。
As a means of generating codes that progress sequentially in response to instructions, we have been using a counter that is driven by the output of a frequency-divided oscillator. It goes without saying that the counter can be used as a program counter and the read-only memory can be used as a means for generating codes that progress sequentially in response to instructions.

以上のように、この考案によれば、唯一のカウンタでカ
ウント動作を行うので、きわめて汎用性のある回路で計
時回路を構成することができ、時分割で他のシステムと
共用できると云うメリットがある。
As described above, according to this invention, since only one counter performs the counting operation, the timekeeping circuit can be configured with an extremely versatile circuit, and has the advantage of being able to be shared with other systems by time sharing. be.

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

第1図は従来の計時回路のブロック図、第2図は従来の
計時回路における分周器の回路図、第3図はこの考案の
計時回路の一実施例を示すブロック図、第4図は第1図
の計時回路に対応して用いられるRAMの一例を示す図
、第5図は第3図の計時回路のシステムが実行されると
きの動作を示すフローチャート、第6図は第3図の計時
回路におけるRAMの一例を示す図、第7図は第3図の
計時回路におけるカウンタ以降の部分の動作を説明する
ための図である。 11・・・・・・発振器、12・・・・・・分周回路、
13・・・・・・カウンタ、 14・・・・・・デコーダ、 15・・・・・・アダー 16・・・・・・アキュムレータ、 17・・・・・・判定回路、 8・・・・・・RAM0
Fig. 1 is a block diagram of a conventional timing circuit, Fig. 2 is a circuit diagram of a frequency divider in the conventional timing circuit, Fig. 3 is a block diagram showing an embodiment of the timing circuit of this invention, and Fig. 4 is a block diagram of a conventional timing circuit. FIG. 5 is a flowchart showing the operation when the system of the timing circuit shown in FIG. 3 is executed, and FIG. FIG. 7 is a diagram showing an example of the RAM in the timekeeping circuit, and is a diagram for explaining the operation of the portion after the counter in the timekeeping circuit of FIG. 3. 11... Oscillator, 12... Frequency divider circuit,
13... Counter, 14... Decoder, 15... Adder 16... Accumulator, 17... Judgment circuit, 8...・RAM0

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 発振器の出力またはこの発振器の出力を分周した出力で
駆動されるカウンタ、このカウンタの出力をデコードす
るデコーダ、このデコーダの出力により順次記憶内容が
選択されて所定ビットごとにアキュムレータに読み込ま
れかつこのアキュムレータの内容を書き込むRAM、こ
のアキュムレータに上記RAMの内容が読み込まれるご
とにアキュムレータの内容を上記デコーダの出力に基づ
き+1するアダー、上記デコーダの出力で制御されRA
Mの内容を読み込んで蓄積したアキュムレータの内容を
クリアして上記RAMに書き込むかの判定を行うかある
いはアキュムレータの内容をそのままにしてRAMに書
き込むかの判定を行う判定回路を備えてなる計時回路。
A counter driven by the output of an oscillator or an output obtained by dividing the output of this oscillator, a decoder that decodes the output of this counter, and the memory contents are sequentially selected by the output of this decoder and read into an accumulator for each predetermined bit. A RAM that writes the contents of the accumulator, an adder that increases the contents of the accumulator by 1 based on the output of the decoder each time the contents of the RAM are read into this accumulator, and an RA that is controlled by the output of the decoder.
This timekeeping circuit comprises a determination circuit that determines whether to read the contents of M and clear the accumulated contents of the accumulator and write them into the RAM, or whether to write them to the RAM while leaving the contents of the accumulator as is.
JP16644575U 1975-12-10 1975-12-10 timing circuit Expired JPS6032625Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16644575U JPS6032625Y2 (en) 1975-12-10 1975-12-10 timing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16644575U JPS6032625Y2 (en) 1975-12-10 1975-12-10 timing circuit

Publications (2)

Publication Number Publication Date
JPS5278472U JPS5278472U (en) 1977-06-11
JPS6032625Y2 true JPS6032625Y2 (en) 1985-09-28

Family

ID=28645113

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16644575U Expired JPS6032625Y2 (en) 1975-12-10 1975-12-10 timing circuit

Country Status (1)

Country Link
JP (1) JPS6032625Y2 (en)

Also Published As

Publication number Publication date
JPS5278472U (en) 1977-06-11

Similar Documents

Publication Publication Date Title
JPS58206939A (en) Electronic clinical thermometer
JPS5911878B2 (en) digital electronic clock
US4330840A (en) Multi-function electronic digital watch
JPS6032625Y2 (en) timing circuit
US4502790A (en) Electronic timepiece
US4110966A (en) Electronic timepiece with stop watch
US4984274A (en) Speech recognition apparatus with means for preventing errors due to delay in speech recognition
JPH0631731B2 (en) Clock device with temperature compensation function
JPS6015909B2 (en) electronic clock
JPH0235956B2 (en)
JPH046024B2 (en)
JPS6239396B2 (en)
JPS6118153B2 (en)
JPS608470B2 (en) Timekeeping method
JP2729815B2 (en) Power consumption reduction method of digital temperature compensated oscillator
US4173117A (en) Electronic timepiece
JPS6017390A (en) Electronic clock
JPS6026193B2 (en) Electronic clock with memory
JPS604960B2 (en) Timekeeping method
JPH042504Y2 (en)
JPS6227911Y2 (en)
JPH039030Y2 (en)
JPS6038672B2 (en) Frequency divider circuit for electronic clocks
JPS6138428B2 (en)
JPH04164289A (en) Clock circuit of high accuracy