JPS6033080A - Microcomputer for timepiece - Google Patents

Microcomputer for timepiece

Info

Publication number
JPS6033080A
JPS6033080A JP58142708A JP14270883A JPS6033080A JP S6033080 A JPS6033080 A JP S6033080A JP 58142708 A JP58142708 A JP 58142708A JP 14270883 A JP14270883 A JP 14270883A JP S6033080 A JPS6033080 A JP S6033080A
Authority
JP
Japan
Prior art keywords
circuit
output
frequency
gate
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.)
Pending
Application number
JP58142708A
Other languages
Japanese (ja)
Inventor
Hiroshi Koyama
博 小山
Hiroshi Osawa
大澤 博
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.)
Tokyo Sanyo Electric Co Ltd
Sanyo Electric Co Ltd
Sanyo Denki Co Ltd
Original Assignee
Tokyo Sanyo Electric Co Ltd
Sanyo Electric Co Ltd
Sanyo Denki 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 Tokyo Sanyo Electric Co Ltd, Sanyo Electric Co Ltd, Sanyo Denki Co Ltd filed Critical Tokyo Sanyo Electric Co Ltd
Priority to JP58142708A priority Critical patent/JPS6033080A/en
Publication of JPS6033080A publication Critical patent/JPS6033080A/en
Pending 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

Abstract

PURPOSE:To measure time intervals with resolution similar to a cycle time by switching and connecting the input to a counter dedicated to a chronograph to a high-frequency division output of a frequency dividing circuit according to a program. CONSTITUTION:A pulse generating circuit 5 inputs the frequency-division output of the frequency dividing circuit 3 which divides the reference frequency of an oscillation circuit 1 to generate a signal of specific frequency. Further, a signal selecting circuit 8 selects one of plural frequency-division outputs of relatively high frequency of the circuit 3 and impresses the output of the circuit 5 to the chronograph counter 20. Then, a control circuit 4 when detecting the execution of a specific instruction controls the circuit 8 and impresses the output of the circuit 5 or selected frequency-division output to the input of the counter 20.

Description

【発明の詳細な説明】 (イ)産業上の利用分野 本発明は、時計用マイクロコンピュータに関し、特に、
クロノグラフカウンタの内蔵された時計用マイクロコン
ピュータに関する、 (ロ)従来技術 近年、電子時計用の半導体集積回路が専用のマイクロコ
ンビ二一夕で形成されるに至った。このRitt 用マ
イクロコンピュータでは、プログラムによって時計の各
種機能が実現される。もちろん、クロノグラフ機能もプ
ログラムによって実現されるが、時計用マイクロコンピ
ュータの処理速度はそれ程速くないため、し□。。秒桁
の計測はプログラムでは実現できない。そこで、/10
0秒桁を計数する専用のカウンタが内蔵された時計用マ
イクロコンピータが開発されている。
DETAILED DESCRIPTION OF THE INVENTION (a) Industrial Application Field The present invention relates to a microcomputer for a watch, and in particular,
(b) Prior art regarding microcomputers for watches with built-in chronograph counters In recent years, semiconductor integrated circuits for electronic watches have come to be formed using dedicated microcomputers. In this Ritt microcomputer, various functions of the watch are realized by programs. Of course, the chronograph function is also realized by a program, but the processing speed of a watch microcomputer is not that fast. . Second-digit measurements cannot be achieved by programming. Therefore, /10
A microcomputer for watches has been developed that has a built-in counter dedicated to counting the 0-second digit.

一方、この様な時計用マイクロコンピュータに於いて、
時計仕様の中にクロノグラフ機能がなけ1 ′ れば/1oo秒桁の専用カウンタは全く使用されない。
On the other hand, in such a clock microcomputer,
If there is no chronograph function in the watch specifications, the dedicated counter with /10 seconds digits will not be used at all.

また、最近では、時計用マイクロコンピュータを、その
低電圧、低消費電流動作の特徴を生かして、電子機器等
の制御に使用する機会が増え、こうしたアプリケージ曹
ンの中には、時計用マイクロコンピュータのサイクルタ
イムと同等の分解能で時間間隔を測定しなげればならな
い場合がある。一般的には、マイクロコンビエータの内
部に設けられた、プログラムでプリセット可能なタイマ
用カウンタが用いられるが、このタイマ用カウンタは、
そのキャリー信号を検出してタイマ一時間を測定するも
のであるため、サイクルタイムと同等の分解能で時間間
隔を測定することは不可能である。また、この機能を実
現するためには、プリグラムによって計数内容を読み出
すことのできるカウンタを別個に設ける必要があり、こ
の場合にはマイクロコンビエータのチップ面積が増加し
好ましくない。
Recently, microcomputers for watches are increasingly being used to control electronic devices, taking advantage of their low voltage and low current consumption characteristics, and some of these application cages include microcomputers for watches. Sometimes it is necessary to measure time intervals with a resolution comparable to the cycle time of a computer. Generally, a timer counter that is installed inside the micro combinator and can be preset by a program is used.
Since the timer time is measured by detecting the carry signal, it is impossible to measure the time interval with the same resolution as the cycle time. Furthermore, in order to realize this function, it is necessary to separately provide a counter whose counting contents can be read out by a program, and in this case, the chip area of the micro combinator increases, which is undesirable.

(ハ)発明の目的 本発明は上述した点に鑑みて為されたものであり、クロ
ノグラフ専用のカウンタを用い、その入力をプログラム
によって分周回路の比較的周波数の高い分周出力に切換
接続可能とすることにより、サイクルタイムと同等の分
解能で時間間隔の測定が可能な時言1用マイクロコンピ
ュータを提供するものである。
(c) Purpose of the Invention The present invention has been made in view of the above-mentioned points, and uses a dedicated chronograph counter, and its input is switched and connected to a relatively high frequency divided output of a frequency dividing circuit by a program. By making it possible to do so, it is possible to provide a microcomputer for time 1 that is capable of measuring time intervals with a resolution equivalent to that of cycle time.

に)発明の構成 本発明は、基準周波数信号を分周する分周回路と、該分
周回路の分周出力を入力とし所定の周波数の信号を作成
するパルス発生回路と、該パルス発生回路のパルスを計
数するクロノグラフカウンタとを備えた時計用マイクロ
コンピュータに於いて、前記分周回路の比較的周波数の
高い複数の分周出力が印加され、該複数の分周出力のう
ちいずれか一つを選択して出力する選択回路と、前記パ
ルス発生回路の出力と前記選択回路の出力とを切換えて
前記クロノグラフカウンタに印加する切換回路と、所定
命令が実行されたことを検出し、前記選択回路及び切換
回路を制御し、前記クロノグラフカウンタの入力に前記
ノくルス発生回路の出力、あるいは、選択された分周出
力を印加させる制御回路とを備えて成り、クロノ・グラ
7カウンタを、クロッグ2フモードで使用すると共に、
サイクルタイムと同等の分解能で時間間隔を測定するカ
ウンタと、に使用できる様にした構成である。
B) Structure of the Invention The present invention comprises a frequency dividing circuit that divides a reference frequency signal, a pulse generating circuit that receives the divided output of the frequency dividing circuit as input and generates a signal of a predetermined frequency, and the pulse generating circuit. In a watch microcomputer equipped with a chronograph counter that counts pulses, a plurality of relatively high frequency divided outputs of the frequency dividing circuit are applied, and any one of the plurality of frequency divided outputs is applied. a selection circuit that selects and outputs the pulse generation circuit; a switching circuit that switches between the output of the pulse generation circuit and the output of the selection circuit and applies it to the chronograph counter; and a control circuit that controls the circuit and the switching circuit and applies the output of the chronograph generating circuit or the selected divided output to the input of the chronograph counter, In addition to using it in clog 2f mode,
The configuration is such that it can be used as a counter that measures time intervals with the same resolution as cycle time.

(ホ)実施例 第1図は、本発明の実施例を示す回路図である。(e) Examples FIG. 1 is a circuit diagram showing an embodiment of the present invention.

発振回路(1)は外部端子に接続された水晶振動子(2
)によって定められた周波数、例えば32,76811
y。
The oscillation circuit (1) consists of a crystal resonator (2) connected to an external terminal.
), e.g. 32,76811
y.

の基準周波数を発損し、その発振出力ダ。は分周回路(
3)に印加される。分周回路(3)はT−FF(T−7
リツプフロツプ)が15段継続接続されて構成され、発
振回路(1)からの基準周波数信号ダ。を分局し、lH
zの時計用信号を出力する。また、分周回路(3)の各
段の分周出力のうち、第1段目の分周出力1+は、クロ
ックジェネレータ(4)に印加され、一方、分周出力0
7〜〆3.は/、oo秒ノ(ルス発生回路(5)に印加
される。クロックジェネレータ(4)は、分++−+ 
+■」−ノ = −1に−ノ − 7 )e 、−11
−+ +ル= by舌11vヒを制御するためのタイミ
ング信号T1、Tt、T5、T4を作成し各内部回路に
供給する。分周出力OIを用(・てタイミング信号T+
 、 Tt、T5、T4を作成した場合、マイクロコン
ピュータのサイクルタイムは244桁の計数を行うため
の7168秒)(ルスを作成し出力する。この/ 秒)
くルスは、T−、FF(6)の出00 力Qで制御されるANDゲート(7)に入力される。
The reference frequency of oscillation is lost, and its oscillation output da. is the frequency divider circuit (
3) is applied. The frequency dividing circuit (3) is a T-FF (T-7
The reference frequency signal from the oscillation circuit (1) is constructed by continuously connecting 15 stages of lip-flops. Separate and lH
Outputs the z clock signal. Furthermore, among the divided outputs of each stage of the frequency dividing circuit (3), the divided output 1+ of the first stage is applied to the clock generator (4), while the divided output 0
7~〆3. is applied to the pulse generating circuit (5).
+■"-ノ = -1 to -ノ -7) e, -11
Timing signals T1, Tt, T5, and T4 for controlling the tongue 11v are generated and supplied to each internal circuit. Using the frequency division output OI (・timing signal T+
, Tt, T5, and T4, the cycle time of the microcomputer is 7168 seconds to perform 244-digit counting) (Create and output a pulse.This/second)
The pulse is input to an AND gate (7) controlled by the output Q of T-, FF (6).

T−FF(6)は、クロノグラフモードに於いて、所定
のスイッチが操作されたとき発生するスイッチ信号SW
によって反転し、ANDゲート(7)に於〜)て、1/
 秒パルスの導通と遮断を制御するもの00 であり、クロノグラフのスタート及びストップを制御す
るものである。
T-FF (6) is a switch signal SW generated when a predetermined switch is operated in chronograph mode.
, and in the AND gate (7) ~), 1/
00 controls the conduction and interruption of the second pulse, and controls the start and stop of the chronograph.

更に、分周回路(3)の分局出力戸8、鵜、ダ、及び発
振出力グ。は、選択回路(8)に印加される。選択回路
(8)はANDゲー) (9)Olll)(13とOR
ゲー)(13から成り、ANDゲー) (9)QIQυ
(13の一方の入力に発振用カメ。、分局出力部、グ8
、ダ、が印加され、他方の入力には制御回路α4)から
、為、為、グ3.03 の選択を指示する制御信号が印
加される。即ち、制御信号は、ANDゲート(9)a呻
(11)(12の導通及び遮断を制御することによって
、発振出力ダ0、分周田力鵬、ダ8、グ、を選択し、選
択された出力は、ORゲートQ3)を介して出力される
Furthermore, the division output door 8, U, D, and oscillation output G of the frequency dividing circuit (3). is applied to the selection circuit (8). The selection circuit (8) is an AND game) (9) Oll) (OR with 13)
game) (consists of 13, AND game) (9) QIQυ
(An oscillation camera is connected to one input of 13.
, Da, are applied, and a control signal instructing selection of Tame, Tame, and G3.03 is applied from the control circuit α4) to the other input. That is, the control signal selects the oscillation outputs 0, 0, 8, and 9 by controlling the conduction and cutoff of AND gates (9), (11), and (12). The output is output via an OR gate Q3).

切換回路05B、ANDゲー)Qf9(17)ト□Rゲ
ート鰻とから栴成され、ANDグー)(16)の一方の
入力には、/1oo秒パルスが印加されたANDゲート
(7)の出力が印加され、また、ANDゲート07ノの
一方の入力には、選択回路(8)の出力が印加される。
The output of the AND gate (7) is formed from the switching circuit 05B, AND gate) Qf9 (17) and the R gate, and one input of the AND gate (16) is applied with a /10 second pulse. is applied, and the output of the selection circuit (8) is applied to one input of the AND gate 07.

更に、ANDグー)QGIの他方の入力には、制御回M
Q4)ノR−8F FQ’lノ出力Qカ印加サレ、すN
Dゲー)Q7)の他方の入力にはR−8FF(11の出
力Qが印加されている。即ち、切換回路α9は制御回路
Q4)17)R−8FF(IIKヨツ”C制御11tt
、R−8FF(11かリセット状態では、/loo秒パ
ルスが印加されたANDゲート(力の出力が、ANDN
Oゲート及びORゲート081を介してクロノグラフカ
ウンタ(21に印加され、R−5FFa9がセット状態
になると選択回路(8)の出力がクロノグラフカウンタ
(イ)に印加される。即ち、前者の場合はクロノグラフ
モードであり、後者の場合は任意の周波数で時間間隔を
測定するモードである。
Furthermore, the control circuit M is connected to the other input of ANDG)QGI.
Q4) No R-8F FQ'l no output Q force application, SN
The output Q of R-8FF (11) is applied to the other input of D game) Q7). That is, the switching circuit α9 is the control circuit Q4) 17) R-8FF (IIK Yotsu"C control 11tt
, R-8FF (11 or in the reset state, the AND gate (the force output is
It is applied to the chronograph counter (21) via the O gate and the OR gate 081, and when R-5FFa9 is set, the output of the selection circuit (8) is applied to the chronograph counter (A). In other words, in the former case is a chronograph mode, and the latter is a mode that measures time intervals at arbitrary frequencies.

クロノグラフカウンタ(イ)は、lO進のl3CDカウ
ンタであり、切換回路09から印加されるパルスを計数
し、10個のパルスをnI数したとぎ出力されるキャリ
ーによってR−8FF(2υをセットする。
The chronograph counter (A) is a 10-base 13CD counter, which counts the pulses applied from the switching circuit 09, multiplies 10 pulses by nI, and sets R-8FF (2υ) by the output carry. .

R−8FF(21)は割込み要求の発生を記憶する7リ
ツプフロツプであり、R−8FF(21)の出力Qは割
込み要求信号I N ’I’ RE Qとして出力され
る。この割込み要求信号INTREQは、マイクロコン
ピュータ内部の割込み制御回路(図示せず)に印加され
、割込みが受け付けられると割込み処理プログラムによ
って、クロノグラフモードの場合には、RAM(図示せ
ず)内に設けられたべ。秒桁以上の計数データに加算処
理等が行われ、また、任意の周波数で時間間隔を測定す
るモードでは、RAM内に設けられた上位桁の計数デー
タに加算処理等が行われる。一方1割込みが受け付けら
れると割込制御回路から出力される割込みセット信号I
NTHESETが01(ゲート(2榎を介してR−8F
F(21)の’Jセッ)端子Hに印加され、R−8FF
(2υがリセットされる。また、クロノグラフカウンタ
01の4ビツト出力は、NORORゲート081力で制
御されるトランスミッシ!l/ゲート(24)を介して
、4ビツトのデータバス35)に接続される。NORゲ
ート(23)及びN A N Dゲート06)は、16
ビツトのインストラクション信号IRO〜lR15に送
出された命令コードが、クロノグラフカウンタ(氾の4
数データを読み出すためのMCD命令(MoveCll
rono Counter Data to AC&n
、x )であることを検出するものであり、MCD命令
が実行されたときに、トランスミッシロンゲート(24
)を導通状態として、クロノグラフカウンタ(2Iのi
iI数データケデータバス(ハ)に送出させる。
R-8FF (21) is a 7-lip flop that stores the occurrence of an interrupt request, and the output Q of R-8FF (21) is output as an interrupt request signal IN'I'REQ. This interrupt request signal INTREQ is applied to an interrupt control circuit (not shown) inside the microcomputer, and when the interrupt is accepted, the interrupt request signal INTREQ is applied to an interrupt control circuit (not shown) inside the microcomputer. I got it. Addition processing and the like are performed on the count data of second digits and above, and in a mode in which time intervals are measured at an arbitrary frequency, addition processing and the like are performed on the count data of the upper digits provided in the RAM. On the other hand, when one interrupt is accepted, the interrupt set signal I is output from the interrupt control circuit.
NTHESET is 01 (R-8F via gate (2 Enoki)
Applied to the 'J set) terminal H of F (21), R-8FF
(2υ is reset. Also, the 4-bit output of the chronograph counter 01 is connected to the 4-bit data bus 35) via the transmission !/gate (24) controlled by the NOROR gate 081 output. Ru. NOR gate (23) and NAND gate 06) are 16
The instruction code sent to the bit instruction signals IRO to 1R15 is the chronograph counter (flood 4
MCD instruction (MoveCll) for reading numerical data
rono Counter Data to AC&n
, x), and when the MCD instruction is executed, the transmission gate (24
) is conductive, and the chronograph counter (i of 2I
iI number data is sent to the data bus (c).

選択回路(8)及び切換回路α9を制御する制御回路(
14)は、クロノグラフカウンタ(イ)の入力に選択回
路(8)の出力を印加すると共に発振出力ダ。、分周出
力グ8、ダ2、グ、のいずれか一つを指足するためのs
cT命令(Set (!hrono Counter 
TimerMode )を示す命令コードがインストラ
クション・信号I n O〜I R15に送出さ1また
ことを検出すす るNORゲート(2η及びN A N ])ゲート(2
鵠と、/11)0秒パルスが印加されたA N Dゲー
ト(7)の出力をクロノグラフカウンタ(2(1)の入
力に印加するILCT命令(Re5et Chrono
 Counter Timer Mode)を示す命令
コードがインストラクション信号I itO〜l1ll
 5に送出されたことを検出するN OItゲートc2
1力及びNANDゲート艶と、切換回路Q51の切換を
制御するR−8FF(1!Jと、jコ択回路(8)に発
据出力戸。、分周出力グ0、ダ7.08の選択を指示す
る制御lII化号を作成するラッチ回路C311(32
1(3濠(34)とから成る。R−8FF(1!11の
セット端子SにはNORORゲート081力が印加され
、リセット端子Rには初期設定信−@MRとN0rtゲ
ー) (2!eの出力とがORゲート(四を介して印加
される。また、ラッチ回路cll)(321(、+:<
104)の入力端子りには、各々、・インストラクショ
ン・信号IRO1IRI、IIt2、In2が印加され
、出力Qは対応するANI)ゲート(9)四α11Q2
1に印加される。更に、ラッチ回路C3])C32C3
3)434)のクロック端子ダには、NORゲート07
)の出力が共通に印加され、リセット端子RにはNOR
ゲートψ陽の出力が共通に印加されている。従って、S
CT命令が実行されてNORゲート07)の出力が1”
となると、R−8FFB!Jがセットされると共に、ラ
ッチ回路C3+1(321C3□□□C34)にインス
トラクション信号IRO〜IR3に送出されたデータが
取り込まれ記憶される。一方、RCT命令が実行されて
NORゲート翰の出力がR1”となると、R−8FF(
191がリセットされると共に、ラッチ回路<31)4
321G3■04)はすべてリセットされる。
A control circuit (
14) applies the output of the selection circuit (8) to the input of the chronograph counter (A) and outputs the oscillation output. , s to add one of the divided outputs G8, D2, G.
cT command (Set (!chrono Counter
The NOR gate (2η and N A N ]) which detects that the instruction code indicating TimerMode ) is sent to the instruction signals I n O to I R15 (2 η and N A N ]) gate (2
ILCT command (Re5et Chrono
The instruction code indicating "Counter Timer Mode" is the instruction signal IitO~l1ll.
N OIt gate c2 detects that it has been sent to
R-8FF (1!J, which controls the switching of the switching circuit Q51 and the NAND gate output), and the divided outputs G0 and D7.08. A latch circuit C311 (32
1 (composed of 3 moats (34). R-8FF (1! The NOROR gate 081 force is applied to the set terminal S of 11, and the initial setting signal - @MR and N0rt gate is applied to the reset terminal R) (2! The output of e is applied via the OR gate (4. Also, the latch circuit cll) (321(, +:<
Instruction signals IRO1IRI, IIt2, and In2 are applied to the input terminals of 104), respectively, and the output Q is applied to the corresponding ANI) gate (9) 4α11Q2
1. Furthermore, the latch circuit C3])C32C3
3) The clock terminal of 434) has a NOR gate 07.
) is applied in common, and the reset terminal R is NOR
The outputs of the gates ψ are commonly applied. Therefore, S
The CT instruction is executed and the output of NOR gate 07) becomes 1"
Then, R-8FFB! J is set, and the data sent to the instruction signals IRO to IR3 is captured and stored in the latch circuit C3+1 (321C3□□□C34). On the other hand, when the RCT instruction is executed and the output of the NOR gate becomes R1'', R-8FF (
191 is reset, and the latch circuit <31)4
321G3■04) are all reset.

第2図は、前述したSCT命令、RCT命令及びMCD
命令の命令コードを示す図である。SCT命令は16ビ
ツトのインストラクション信号のうち、IRI 1.I
RI 3、lR14、Ill 5がR1”であり、In
8、IRQ、IRIO1工R12がθ″となるコードで
あり、IRQ−In3に設定される為〜X3によって選
択回路(8)に発振出力0゜、分周出力グいグ2、グ、
の選択を指示することかできる。即ち、XoをR1”と
した場合には、発振出力0゜(16,384Hz)が指
定され、X。
Figure 2 shows the above-mentioned SCT instruction, RCT instruction and MCD
FIG. 3 is a diagram showing an instruction code of an instruction. The SCT command uses IRI1. out of the 16-bit instruction signals. I
RI 3, lR14, Ill 5 are R1'', In
8. IRQ, IRIO1 is a code where R12 is θ'', and it is set to IRQ-In3, so X3 gives the selection circuit (8) an oscillation output of 0°, a frequency division output of 2,
You can instruct the selection of That is, when Xo is set to R1'', an oscillation output of 0° (16,384Hz) is specified, and X.

を1″とした場合には分周出力OI(8pl 92H7
)が指定され、Xiミグ1した場合には分周出力’A 
(4,096117,)が指定され、X3を“1”とし
た場合には、分周出力Is (2t O4811Z)が
指定される。このSCT命令を検出するために、第1図
に示されたNORゲー)(27)及びNANDゲート(
ハ)に於いて、インストラクション信号IR8,IR9
、IRIO1IR12がN0ItゲートC力に印加され
、1、R11、lR13、lR14、lR15及びタイ
ミング信号T3がNANDゲー) (2B)に印加され
る。従って、例えば、XoをR1”としたSCT命令が
実行されると、タイミング信号T3のタイミングに於い
て、NORゲート(2刀の出力がR1”となるため、R
−8FFQ!Jはセットされ、ラッチ回路C31)にR
1”、ラッチ回路(32(33)C34)には“O”が
記憶される。よって、発振出力グ。がANDNOゲート
及びORゲー)(13Y介して選択回路(8)から出力
され、また、切換回路a9は、印加された発振出力ダ〇
をクロノグラフカウンタC!αに印加する。これにより
、クロノグラフカウンタ(201は発振出力ダ。を割数
する。
When set to 1'', the divided output OI (8pl 92H7
) is specified, and if Xi MIG 1 is specified, the divided output 'A
(4,096117,) is specified and when X3 is set to "1", the frequency division output Is (2t O4811Z) is specified. In order to detect this SCT instruction, the NOR gate (27) and the NAND gate (27) shown in FIG.
In c), instruction signals IR8 and IR9
, IRIO1, IR12 are applied to the N0It gate C, 1, R11, 1R13, 1R14, 1R15 and the timing signal T3 are applied to the NAND gate (2B). Therefore, for example, when an SCT instruction with Xo set to R1'' is executed, at the timing of the timing signal T3, the output of the NOR gate (the output of the two swords becomes R1'', so R
-8FFQ! J is set, and R is set in the latch circuit C31).
1", "O" is stored in the latch circuit (32 (33) C34). Therefore, the oscillation output G is output from the selection circuit (8) via the ANDNO gate and OR gate (13Y), and The switching circuit a9 applies the applied oscillation output D to the chronograph counter C!α.Thereby, the chronograph counter (201 is the oscillation output D) is divided.

また、第2図に於いて、RCT命令は、インストラクシ
ョンイd号I R10、IRI 1、II’t13、I
 R14,1ll15がR1”であり、In8、In9
、lR12がパ0”と1よるコードであり、IRO〜I
IL7は不定である。このRCT命令命令用検出ために
、第1図に示されたN ORゲート0!j及びNAND
ゲー) C3fl)に於いて、NORゲート(29)に
はインストラクション信号IR8,IR9、lR12及
びNANDゲート00)の出力が印加され、NANDゲ
ート00)にはインストラクション信号■RIO1IR
11、lR13、lR14、lR15及びタイミング信
号T3が印加される。従って、このRCT命令が実行さ
れると、タイミング信号T3のタイミングに於いて、N
ORゲートは)の出力力″′1″となり、このパルスに
より″UR−8F F’(19及びラッチ回路C3])
C32)C33)(1341がリセットさオする。よっ
て、ラッチ回路C31)C12CklC34)の出力Q
はずべて′0”であり、発振出力96o及び分周出力ダ
3.96!、ダ、は、選択回路(8)のANDゲート(
91fl(支)(Ill(lりに於いて遮断される。一
方、切換回路(19はANDゲート(力の出力をクロノ
グラフカウンタ(2(刀に印加するため、スイッチ操作
によってスタート及びストップが制御され、/1oo秒
パルスをクロノグラフカウンタ(2υが計数するクロノ
グラフモードとなる。
In addition, in FIG. 2, the RCT instructions are instruction ID number I R10, IRI 1, II't13, I
R14, 1ll15 is R1'', In8, In9
, lR12 is a code based on pa0'' and 1, and IRO~I
IL7 is undefined. To detect this RCT command, the NOR gate 0! shown in FIG. j and NAND
C3fl), the instruction signals IR8, IR9, lR12 and the output of the NAND gate 00) are applied to the NOR gate (29), and the instruction signal ■RIO1IR is applied to the NAND gate 00).
11, lR13, lR14, lR15 and timing signal T3 are applied. Therefore, when this RCT command is executed, at the timing of the timing signal T3, N
The output power of the OR gate becomes ``1'', and this pulse causes the output of ``UR-8F F'' (19 and latch circuit C3])
C32)C33)(1341) is reset. Therefore, the output Q of the latch circuit C31)C12CklC34)
The oscillation output 96o and the frequency division output DA3.96!, DA, are all '0'', and the AND gate (8) of the selection circuit (8)
On the other hand, the switching circuit (19 is an AND gate) (to apply the force output to the chronograph counter (2), the start and stop are controlled by switch operation. The chronograph mode is set in which the chronograph counter (2υ) counts /10 second pulses.

更に、第2図に於いて、MCD命令は、インストラクシ
ョン信号l117、Ili、IRIO,lR12、I 
R13、I]114が′1”であり、In8、In9、
IRII、T R15が′°0”となるコードであり、
下位7ビツトX。−X6は、読み出したデータを記憶さ
せるRAMのアドレスを指定するデータとして使用され
る。このMCD命令を検出するために、第1図に示され
たN ORゲー) (’2′(+及びNANDゲー) 
(261に於いて、インストラクション信号IR8、I
li9、I R11、In15はNORゲート03)に
印加され、In7、I R10、lR12、lR13、
lR14はNANDゲート(26)に印加される。この
MCD命令は、クロノブラフモード、あるいは、選択さ
れた周波数での時間間隔の測定モードに於いて、クロノ
グラフカウンタ(2i))に計数された内容を読み出す
とぎに実行され、MCD命令が実行されるとN ORゲ
ート(23)の出力が1”となり、トランスミソション
ゲ−) C!4)が導通して、クロノグラフカウンタ(
20)の計数データがデータバス(251に送出され、
そのデータはMCD命令の下位7ピツトで指定さ2する
R A Mに記憶される。
Furthermore, in FIG.
R13, I]114 is '1'', In8, In9,
IRII, TR15 is a code that becomes '°0',
Lower 7 bits X. -X6 is used as data specifying the address of the RAM where the read data is to be stored. In order to detect this MCD instruction, the NOR game shown in Figure 1) ('2' (+ and NAND game)
(In 261, instruction signals IR8, I
li9, I R11, In15 are applied to NOR gate 03), In7, I R10, IR12, IR13,
lR14 is applied to the NAND gate (26). This MCD command is executed when reading out the counted contents of the chronograph counter (2i) in the chronograph mode or the time interval measurement mode at the selected frequency, and the MCD command is executed. Then, the output of the NOR gate (23) becomes 1", the transmission gate (C!4) becomes conductive, and the chronograph counter (23) becomes conductive.
20) is sent to the data bus (251),
The data is stored in RAM specified by the lower seven pits of the MCD instruction.

尚、第1図に示された実施例に於いて、電源投入時に発
生する初期設定信号MRによって、R−8F F (1
!’11(20及びT−FF(6)がリセットされるた
め、クロノグラフカウンタ(201の入力は、ANDゲ
ート・ 1 (7)の出力に接続されるか、’100秒パルスはAN
Dゲート(7)で遮断された状態となる。
In the embodiment shown in FIG. 1, R-8FF (1
! Since the '11 (20 and T-FF (6)) are reset, the input of the chronograph counter (201) is connected to the output of the AND gate 1 (7), or the '100 second pulse is
It is in a state where it is blocked by the D gate (7).

また、第1図に示された実施例では、ラッチ回路(31
1t321G31C341の入力端子りには、インスト
ラクション信号IRQ、IRI、IR2、IR3が印加
されているが、命令コードによって周波数の指定を行う
方式を採用せず、データバス(2暖に送出されたデータ
によって周波数の指定を行う方式を採用するならば、ラ
ッチ回路431)(321儲04)の入力端子LK&ま
、データバス(2つの各ビットが接続される。コノ場合
には、データバス(251に予め周波数を指定するデー
タを送出した後、SCT命令な実行することによって、
ラッチ回路C’1l)(32(ト)(34)に周波数を
指定するデータか記憶される。
Furthermore, in the embodiment shown in FIG. 1, the latch circuit (31
Instruction signals IRQ, IRI, IR2, and IR3 are applied to the input terminals of the 1t321G31C341. If a method of specifying is adopted, the input terminals LK & M of the latch circuit 431) (321-04) are connected to the data bus (two bits each). After sending the data specifying the , by executing the SCT command,
Data specifying the frequency is stored in the latch circuit C'1l) (32 (g) (34)).

この様に、サイクルタイムと同等か、ある〜1をまサイ
クルタイムと近い周波数の信号を分周回路(3)等から
複数取り出し、SCT命令によってその周波数を指定す
ると共に、その指定された周波数をクロノグラフカウン
タ(20で計数させることにより、サイクルタイムと同
等、あるいは、サイクルタイムと近い、各種の分解能で
時間間隔を測定することが可能となるのである。
In this way, multiple signals with frequencies equal to or close to the cycle time are taken out from the frequency dividing circuit (3), etc., and the frequencies are specified by the SCT command, and the specified frequencies are By counting with a chronograph counter (20), it is possible to measure time intervals with various resolutions that are equal to or close to the cycle time.

(へ)発明の効果 上述の如く、本発明によれば、時計用マイクロコンピュ
ータを各種電子機器等の制御に利用する際に要求される
機能を十分満足することかでき、時計用マイクロコンビ
エータの応用範囲か拡大される効果を有している。
(F) Effects of the Invention As described above, according to the present invention, it is possible to fully satisfy the functions required when a watch microcomputer is used to control various electronic devices, etc. It has the effect of expanding the scope of application.

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

第1図は、本発明の実施例を示す論理回路図、第2図は
、第1図の実施例で用いられる命令コードを示す図であ
る。 主な図番の説明 (11・・・発振回路、 (2)・・・水晶振動子、 
(3)・・・分周回路、 (4)・・・クロックジェネ
レータ、 (5)”’ /100秒パルス発生回路、 
(8)・・・選択回路、 04)・・・制御回路、 α
9・・・切換回路、 (20)・・・クロノグラフカウ
ンタ、 (251・・・データバス。
FIG. 1 is a logic circuit diagram showing an embodiment of the present invention, and FIG. 2 is a diagram showing instruction codes used in the embodiment of FIG. Explanation of main drawing numbers (11...Oscillation circuit, (2)...Crystal resonator,
(3)...Frequency divider circuit, (4)...Clock generator, (5)''/100 second pulse generation circuit,
(8)...Selection circuit, 04)...Control circuit, α
9...Switching circuit, (20)...Chronograph counter, (251...Data bus.

Claims (1)

【特許請求の範囲】 1、基準周波数信号を分周する分周回路と、該分周回路
の分局出力を入力とし、所定の周波数の信号を作成する
パルス発生回路と、該パルス発生回路のパルスを計数す
るクロノグラフカウンタとを備えた時計用マイクロコン
ピュータに於いて、前記分周回路の比較的周波数の高い
複数の分周出力及び前記パルス発生回路の出力のうちい
ずれか一つを選択して前記クロノグラフカウンタに印加
する信号選択回路と、所定命令が実行されたことを検出
したとき、前記信号選択回路を制御し、前記クロノグラ
フカウンタの入力に前記パルス発生回路の出力、あるい
は、選択された分周出力を印加させる制御回路とを備え
たことを特徴とする時用 計マイクロコンピュータ。 八 2、特許請求の範囲第1項に於いて、前記信号選択回路
は、分周回路の比較的周波数の高い複数の分周出力を選
択する選択回路と、該選択回路の出力と前記パルス発生
回路の出力を切換えて出力する切換回路とから成ること
を特徴とする時計用マイクロコンピュータ。
[Claims] 1. A frequency dividing circuit that divides a reference frequency signal, a pulse generating circuit that receives the divided output of the frequency dividing circuit as an input and generates a signal of a predetermined frequency, and a pulse generator of the pulse generating circuit. In a watch microcomputer equipped with a chronograph counter for counting, one of the plurality of relatively high frequency divided outputs of the frequency dividing circuit and the output of the pulse generating circuit is selected. A signal selection circuit applies the signal to the chronograph counter, and when it detects that a predetermined command has been executed, controls the signal selection circuit and applies the output of the pulse generation circuit or the selected signal to the input of the chronograph counter. and a control circuit for applying a frequency-divided output. 82. In claim 1, the signal selection circuit includes a selection circuit that selects a plurality of relatively high frequency divided outputs of a frequency division circuit, and an output of the selection circuit and the pulse generation circuit. A microcomputer for a watch, comprising a switching circuit that switches the output of the circuit.
JP58142708A 1983-08-03 1983-08-03 Microcomputer for timepiece Pending JPS6033080A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58142708A JPS6033080A (en) 1983-08-03 1983-08-03 Microcomputer for timepiece

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58142708A JPS6033080A (en) 1983-08-03 1983-08-03 Microcomputer for timepiece

Publications (1)

Publication Number Publication Date
JPS6033080A true JPS6033080A (en) 1985-02-20

Family

ID=15321717

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58142708A Pending JPS6033080A (en) 1983-08-03 1983-08-03 Microcomputer for timepiece

Country Status (1)

Country Link
JP (1) JPS6033080A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4956678A (en) * 1972-06-02 1974-06-01 Rca Corp
JPS57146183A (en) * 1981-03-05 1982-09-09 Seiko Instr & Electronics Ltd Electronic watch with chronograph

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4956678A (en) * 1972-06-02 1974-06-01 Rca Corp
JPS57146183A (en) * 1981-03-05 1982-09-09 Seiko Instr & Electronics Ltd Electronic watch with chronograph

Similar Documents

Publication Publication Date Title
GB1428121A (en) Electronic time measurement
US4152887A (en) Digital electronic alarm timepiece
JPS6033080A (en) Microcomputer for timepiece
US4376995A (en) Timekeeping device
US4374622A (en) Digital alarm timepiece with setting pointer
US4110966A (en) Electronic timepiece with stop watch
JPH0347718B2 (en)
US3263064A (en) Apparatus for determining the repetition frequency of pulse signals
US4104863A (en) Electronic timepiece having an alarm device
JPS6015901B2 (en) time measuring device
JPH0831001B2 (en) Microcomputer
JPS5930030A (en) Electronic thermometer
US4187670A (en) Time signal generator circuit for use in an electronic timepiece
US4011436A (en) Multiple level predetermining system
JPH0125033B2 (en)
US4173758A (en) Driving circuit for electrochromic display devices
US3817020A (en) Electronic digital clock
JPS6055789B2 (en) clock device
JPS5824237Y2 (en) Electronic clock with alarm
JPS6128854A (en) Capacity variation detecting circuit
SU1728848A2 (en) Electronic clock
JPS6311638B2 (en)
JPS635713B2 (en)
JP3051937B2 (en) Variable counting pulse signal generator
JPS6018026B2 (en) Electronic clock circuit