JPS5834382A - Microprogram control circuit for timepiece - Google Patents

Microprogram control circuit for timepiece

Info

Publication number
JPS5834382A
JPS5834382A JP56132902A JP13290281A JPS5834382A JP S5834382 A JPS5834382 A JP S5834382A JP 56132902 A JP56132902 A JP 56132902A JP 13290281 A JP13290281 A JP 13290281A JP S5834382 A JPS5834382 A JP S5834382A
Authority
JP
Japan
Prior art keywords
circuit
timer
counter
clock
test
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
JP56132902A
Other languages
Japanese (ja)
Inventor
Yoichi Wakai
洋一 若井
Toshio Orii
折井 俊雄
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.)
Seiko Epson Corp
Suwa Seikosha KK
Original Assignee
Seiko Epson Corp
Suwa Seikosha KK
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 Seiko Epson Corp, Suwa Seikosha KK filed Critical Seiko Epson Corp
Priority to JP56132902A priority Critical patent/JPS5834382A/en
Publication of JPS5834382A publication Critical patent/JPS5834382A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G04HOROLOGY
    • G04DAPPARATUS OR TOOLS SPECIALLY DESIGNED FOR MAKING OR MAINTAINING CLOCKS OR WATCHES
    • G04D7/00Measuring, counting, calibrating, testing or regulating apparatus
    • G04D7/002Electrical measuring and testing apparatus
    • G04D7/003Electrical measuring and testing apparatus for electric or electronic clocks

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Electric Clocks (AREA)

Abstract

PURPOSE:To reduce a load on hardware logic by speeding a test of operation of timepiece functions through software functions. CONSTITUTION:A beta-up timer 408 is set when a heavy load driving circuit 409 operates to turn on a lamp 410, and during the operation the value beta of an oscillator 401 is increased. The timer 408 uses the reset signal of a decimal counter 403 as a clock and when this clock is inputted twice, the timer 408 is reset. Therefore, during a test, the reset signal from a CPU407 to the decimal counter 403 is generated twice repeatedly to reset the timer 408, thereby executing a test program.

Description

【発明の詳細な説明】 本発明は時計用マイクロプログラム制御回路に関する。[Detailed description of the invention] The present invention relates to a microprogram control circuit for a watch.

本発明の目的は時計用マイクロプログラム制御回路を有
効かつ能率的にテストする方法を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a method for effectively and efficiently testing a microprogram control circuit for a watch.

電子時計、特に液晶等の表示素子を用いたディジタル表
示時計は多数の機能付加がなされて六でいる。しかし、
多機能化が進むことに工り、時計回路で扱うデータも膨
大な量となりつつあり、回路も必然的に複雑化してぐる
Electronic watches, especially digital display watches that use display elements such as liquid crystals, have many added functions. but,
As clock circuits become more multi-functional, the amount of data handled by clock circuits is increasing, and circuits are inevitably becoming more complex.

第1図は従来のカウンタ構成による時計用回路例である
。101は水晶発振器等を用いた発振回路、102は分
周回路、103は時刻計数用カウンタ、105,107
.109は付加機能に関するカウンタである。例えば1
05はアラーム時刻計数用カウンタであり、104は同
カウンタ制御回路、107はストップ・ウォッチ計数用
カウンタであ、p、106は同カウンタ制御回路、10
9はタイマー計数用カウンタであJ)、108は同カ2
− ウンタ制御回路である。110は各カウンタからのデー
タ信号をマルチプレックスして111の表示回路へ転送
するマルチプレクサである。
FIG. 1 is an example of a timepiece circuit with a conventional counter configuration. 101 is an oscillation circuit using a crystal oscillator or the like, 102 is a frequency dividing circuit, 103 is a time counter, 105, 107
.. 109 is a counter related to additional functions. For example 1
05 is a counter for counting alarm time, 104 is a counter control circuit, 107 is a stop watch counter, p, 106 is a counter control circuit, 10
9 is a timer counting counter J), 108 is the same counter 2
- counter control circuit. A multiplexer 110 multiplexes data signals from each counter and transfers the data signals to a display circuit 111.

この図からの知れる工うに、カウンタ構成式の時計回路
では付加機能が増す毎に、カウンタとその制御回路が増
してゆき回路が複雑化してゆく。
As can be seen from this diagram, in a counter-configured timepiece circuit, as additional functions are added, the number of counters and their control circuits increases, making the circuit more complex.

このようなことから電子時計の多機化に際して、c P
 U (Central Processing Un
it )を用いたマイクロプログラム制御方式の電子時
計回路が提案されてきている。第2図はその一例である
For this reason, when electronic watches become multifunctional, cP
U (Central Processing Un)
A microprogram-controlled electronic clock circuit using a microprogram control system (IT) has been proposed. Figure 2 is an example.

201はマイクロ命令を格納しであるプログラム記憶回
路と命令の解読デコーダ部である。解読デコーダで解読
されたマイクロ命令202により、データの演算、転送
等が制御される。203はデータ記憶回路であり、第一
図のカウンタ群に対応する。データ記憶回路f:xc内
で構成する方法としてはRA M (Random k
c、cesa Memory)が一般的である。RAM
は高密度が図られ、カウンタに比較して面積効不が高じ
。204は演算回路であって種々の演算を行なう。20
5は表示部である。
Reference numeral 201 denotes a program storage circuit for storing microinstructions and a decoder unit for decoding instructions. The microinstructions 202 decoded by the decoder control data operations, transfers, and the like. 203 is a data storage circuit, which corresponds to the counter group in FIG. A method of configuring the data storage circuit f:xc is RAM (Random k
c, cesa Memory) is common. RAM
is designed for high density and has higher area efficiency compared to counters. 204 is an arithmetic circuit that performs various operations. 20
5 is a display section.

3− 第2図のマイクロプログラミング制御方式の回路ではC
PU部の回路構成が確立すれば、機能付加に対しては記
憶回路部の容量増加とプログラム変更で済む。さらに、
仕様の変更が容易であり、−個の回路で多機種の時計に
適用できる。
3- In the microprogramming control circuit shown in Figure 2, C
Once the circuit configuration of the PU section is established, adding functionality can be accomplished by simply increasing the capacity of the storage circuit section and changing the program. moreover,
Specifications can be easily changed, and a - number of circuits can be applied to many types of watches.

以上のような理由から、マイクロプログラム制御方式の
時計用回路が提案されてきている。
For the reasons mentioned above, microprogram control clock circuits have been proposed.

この種の時制用マイクロプログラム制御回路においても
、−・−ド的なタイマーは存在する。例えば、ランプ等
の重負荷回路が動作した時に、水晶発振回路のインバー
タを構成するMOS 、 F’ETのβ値を大きくする
タイマーとか、スイッチ入力のON、OFFを判定する
タイマー等いくつかある。これ等のタイマーはいずれも
分局器からの適当な出力信号に工り、時間計測を行って
いる。
Even in this type of microprogram control circuit for tenses, there are -/- code timers. For example, when a heavy load circuit such as a lamp is operated, there are several timers, such as a timer that increases the β value of a MOS or F'ET that constitutes an inverter of a crystal oscillation circuit, and a timer that determines whether a switch input is ON or OFF. All of these timers measure time by modifying the appropriate output signal from the branch unit.

従来、時開用電子回路のテスト時において、タイマーを
通常動作にして機能チェックを行なうのでは、非常に検
査コストがかさむため、タイマー機能をテスト時には無
視できるような回路構成としていた。第3図に、その−
例を示す。
Conventionally, when testing time-opening electronic circuits, performing a function check with the timer in normal operation would greatly increase testing costs, so the circuit configuration was such that the timer function could be ignored during testing. Figure 3 shows that -
Give an example.

4− 301.302はテスト用端子であって、通常は入力が
存在し々いため、プルダウン抵抗303.304に工っ
て、「0」レベルにある。
4- 301 and 302 are test terminals, and since there are usually many inputs, pull-down resistors 303 and 304 are used to set them at the "0" level.

よってタイマー306には、複合ゲート305を介して
分周器からの特定信号が入力されている。
Therefore, the specific signal from the frequency divider is input to the timer 306 via the composite gate 305.

テスト時には、301は「1」レベルに設定され302
からは高速クロックが入力される。工ってタイマーは、
通常時に比較して高速で動作し、テスト時間に支障をき
たすことはなり0なお、早送り用の高速クロックは、分
局器の途中から入力されていることも多々ある。
During testing, 301 is set to the "1" level and 302
A high-speed clock is input from. The timer is
It operates at a higher speed than normal and does not interfere with the test time.In addition, the high-speed clock for fast forwarding is often input from the middle of the branch.

以上の回路構成では、テストは円滑になされるが、テス
ト用パッドを数ケ所(早送りクロックを入力する数によ
る)設ける必要があるし、ICテスターの側でも、IC
に対応するテスト端子とテスト・プログラムを作成して
おかなければならず、設計コスト、検査コストのηずれ
についても高Aものとなっていた。
With the above circuit configuration, testing can be performed smoothly, but it is necessary to provide several test pads (depending on the number of fast-forward clock inputs), and the IC tester also
It was necessary to create test terminals and test programs corresponding to the above, and the deviation of η in design cost and inspection cost was also high.

本発明に工れば、テスト時のタイマー機能動作をソフト
機能に工す高速化することで、テストコ5− ストの低減化が図られる。
According to the present invention, the test cost can be reduced by increasing the speed of the timer function operation during testing by incorporating it into a software function.

以下、本発明の一実施例に基いて説明する。第4図は本
発明に基(一実施例のブロック図である。
Hereinafter, an explanation will be given based on one embodiment of the present invention. FIG. 4 is a block diagram of one embodiment based on the present invention.

401は水晶振動子等を用いた発報回路、4゜2は分周
回路、4o3はIHz計数用カウンタである。403は
405のカウンターコード検出回路でIHzコードを検
出した時にリセットされるタイプのカウンタである。4
07はCPU部(Central Processin
g Unit )である。CPU部から発せられるマイ
クロ命令の一個が、4o4のORゲートを介して403
のIHz形成カウンタをリセットする。仮にこの命令@
Rs T C(Re5etCo1Lnter )と名付
ける。R8TC命令を適宜用Aることで、現時刻に同期
したIHz信号を得ることができる。
401 is an alarm circuit using a crystal oscillator or the like, 4°2 is a frequency dividing circuit, and 4o3 is an IHz counting counter. 403 is a type of counter that is reset when the counter code detection circuit 405 detects an IHz code. 4
07 is the CPU section (Central Processing).
g Unit). One of the microinstructions issued from the CPU section is sent to 403 through a 4o4 OR gate.
Reset the IHz formation counter of. If this command @
It is named Rs TC (Re5etCo1Lnter). By appropriately using the R8TC command, an IHz signal synchronized with the current time can be obtained.

この回路では404の出力、4o3のリセット信号をI
Hz信号として粘る。
In this circuit, the output of 404 and the reset signal of 4o3 are
It persists as a Hz signal.

408Jd発振器401のβ値を火t#(するためのβ
−upタイマーであり、4o9の重負荷駆動回路が動作
し、410のランプが点灯されるときに6− セットされて動作する。408のタイマーには404の
出力がクロックとして入力されており、1〜2秒を計測
した後に、出力を「0」とする。
408Jd The β value of the oscillator 401 is
-up timer, which is set to 6 and operates when the 4o9 heavy load drive circuit operates and the 410 lamp is lit. The output of 404 is input as a clock to a timer 408, and after measuring 1 to 2 seconds, the output is set to "0".

したがって、重負荷回路動作時のβ−Wpタイマーの動
作は重負荷回路の動作終了後1〜2秒間である。
Therefore, when the heavy load circuit is in operation, the β-Wp timer operates for 1 to 2 seconds after the heavy load circuit finishes operating.

図かられかる工うに、408は404の出力をクロック
としているため、406のRs’rc命令が二回連続し
た場合でもタイマー解除となる。
As can be seen from the figure, since 408 uses the output of 404 as a clock, the timer is canceled even if the Rs'rc command of 406 is issued twice in succession.

403〜405.408の詳細図を第5図に示す。40
3は502〜505のバイナ11イ・フIIツブフロッ
プの4段構成となっていて、1秒を計数する。4030
入カクロツクは壱秒信号であって、508の複合ゲート
でム(1010)〜F(1111)のコードを検出して
、506.507のORゲートで構成される8Rラツチ
をセットし、403のカウンタヲljセットする。すな
わチ、403は10進カウンタとして動んする。
A detailed view of 403 to 405 and 408 is shown in FIG. 40
3 has a four-stage configuration of 502 to 505 binary 11 and 2 double flops, and counts 1 second. 4030
The input clock is a one-second signal, and the composite gate 508 detects the codes M (1010) to F (1111), sets the 8R latch consisting of the OR gates 506 and 507, and starts the counter 403. Set lj. That is, 403 operates as a decimal counter.

1秒信号は403の川遊カウンタのリセット信号、すな
わち404のORゲートの出力である。
The 1 second signal is a reset signal of the floating counter 403, that is, the output of the OR gate 404.

7− 408のタイマーは、重負荷回路が動作してLoad信
号が「1」レベルとなるとセットされ、βqt、p信号
が「1」レベルとなる。重負荷回路の非動僧徒1〜2秒
ののち、408のタイマーにハ「0」レベルが書き込ま
れ、βupは解除される。
The timer 7-408 is set when the heavy load circuit operates and the Load signal goes to the "1" level, and the βqt and p signals go to the "1" level. After 1 to 2 seconds of non-movement of the heavy load circuit, a "0" level is written in the timer 408, and βup is released.

404のORゲートにはR8TC命令信号も入力されて
いるから、R8TC命令を二に繰り返えせば、確実にβ
up状態を解除できる。
Since the R8TC command signal is also input to the OR gate of 404, if the R8TC command is repeated twice, β will surely be
You can cancel the up state.

第6図にテスト状態へ移行するためのフロー・チャート
を示す。システムeリセットにより、プログラムの起動
番地が指定される。テスト状態へ移行するが、通常の時
計状態へ移行するかは例えば、システム・リセット直後
のスイッチ入力のテークで識別する。第6図の例では、
K1(第一番目のスイッチ)の入力で識別する。K1人
力が有った場合にはテスト・ルーチンを笑行する。60
3.604のR13TC命令を笑行し、βupり(?−
を解除(出力を「0」レベルとする)して、605に示
す工うに他のテス)−プログラムを笑行する。
FIG. 6 shows a flow chart for transitioning to the test state. The system e-reset specifies the program start address. A transition is made to a test state, but whether a transition to a normal clock state is made is determined, for example, by taking a switch input immediately after a system reset. In the example in Figure 6,
It is identified by the input of K1 (first switch). If K1 manpower is available, perform the test routine. 60
3. Execute R13TC command of 604 and βup (?-
is canceled (the output is set to the "0" level), and the program shown in 605 is executed.

8− この工うに、本発明によればノ・−ドのタイマーをソフ
トウェアの処理で簡単に解除できる。しかもハード・ロ
ジック上の負担はほとんどない。
8- According to the present invention, the node timer can be easily canceled by software processing. Moreover, there is almost no burden on hard logic.

したがって本発明は非常に有用である。Therefore, the present invention is very useful.

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

第1図・・カウンタ構成による従来の時計用回路 第2図・・マイクロプログラム制御方式の時計用回路 第3図・・タイマー回路解除用の従来の回路第4図・・
本発明に基〈時計用マイクロプログラム制御回路例 第5図・・第4図の一部分の詳細図 第6図・・テスト自ルーチン移行へ(D 7 C1−・
チャート例。 以   上 出願人 株式会社諏訪精工舎 代理人 弁理士最 上  務 9− 手続補正書(自発) 】 事件の表示 時計用マイクロプログラム制御回路 3、補正をする者 事件との関係 出願人 東京都中失区銀座4丁目3査4号 (2563株式会社 i*i肋精工会 代表kIMti役中村恒也 4、代理人
Figure 1: A conventional clock circuit with a counter configuration Figure 2: A clock circuit using a microprogram control system Figure 3: Conventional circuit for canceling a timer circuit Figure 4:
Based on the present invention (Example of microprogram control circuit for a watch) Figure 5 - Detailed view of a portion of Figure 4 Figure 6 - Transition to test self-routine (D 7 C1-)
Chart example. Applicant Suwa Seikosha Co., Ltd. Attorney Mogami Patent Attorney 9- Procedural amendment (voluntary)] Case microprogram control circuit for display clock 3, person making amendment Relationship with the case Applicant Lost in Tokyo Ward Ginza 4-3, No. 4 (2563 I*i Kosei Kokai Co., Ltd. representative kIMti role Tsuneya Nakamura 4, agent

Claims (1)

【特許請求の範囲】 水晶発振器等の基準信号発生源、予め設定されたプログ
ラムに工9処理が実行されるCPU。 ■前記基準信号発生源から発生する基準信号、もしくは
該基準信号を分周して得られる信号を計数し、予め設定
されたカウンタ・コードの検出時、もしくは特定マイク
ロ命令ムに工)プリセットされるプリセット機能付カウ
ンタ回路。 ■前記カウンタ回路のプリセット信号を計数して、時間
計測するタイマー回路。 に工多少なくとも構成され、前記特定マイクロ命令Aの
連続するルーチンをプログラム内に含み、該ルーチンの
実行に工す、前記タイマー回路の高速動作をなすことを
特徴とする時計用マイクロプログラム制御回路。 1−
[Claims] A reference signal generation source such as a crystal oscillator, and a CPU in which processing is executed according to a preset program. ■The reference signal generated from the reference signal generation source or the signal obtained by dividing the reference signal is counted, and is preset when a preset counter code is detected or by a specific microinstruction. Counter circuit with preset function. (2) A timer circuit that counts the preset signals of the counter circuit and measures time. 1. A microprogram control circuit for a watch, characterized in that the timer circuit is configured to include at least a continuous routine of the specific microinstructions A in a program, and is configured to execute the routine at high speed. 1-
JP56132902A 1981-08-25 1981-08-25 Microprogram control circuit for timepiece Pending JPS5834382A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56132902A JPS5834382A (en) 1981-08-25 1981-08-25 Microprogram control circuit for timepiece

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56132902A JPS5834382A (en) 1981-08-25 1981-08-25 Microprogram control circuit for timepiece

Publications (1)

Publication Number Publication Date
JPS5834382A true JPS5834382A (en) 1983-02-28

Family

ID=15092209

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56132902A Pending JPS5834382A (en) 1981-08-25 1981-08-25 Microprogram control circuit for timepiece

Country Status (1)

Country Link
JP (1) JPS5834382A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05162922A (en) * 1991-12-16 1993-06-29 Murata Mach Ltd Elastic yarn supply method and apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05162922A (en) * 1991-12-16 1993-06-29 Murata Mach Ltd Elastic yarn supply method and apparatus

Similar Documents

Publication Publication Date Title
EP0247650B1 (en) Motor speed control system
JPS5834382A (en) Microprogram control circuit for timepiece
US4110966A (en) Electronic timepiece with stop watch
US4094136A (en) Electronic timepiece inspection circuit
JPS6129577B2 (en)
KR100265793B1 (en) Method and apparatus for diagnosing real time clock in computer system
CA1079531A (en) Digital alarm timepiece with display of time remaining to alarm set time
US4468133A (en) Electronic timepiece
US4181963A (en) Electronic calculator with time counting function
JPS58109937A (en) Grade variable computer
JPS6219996Y2 (en)
JPS635713B2 (en)
KR830001450B1 (en) Electronic digital multifunction watch
JPH03217988A (en) One-chip microcomputer
JPH0334097B2 (en)
JPH0744417A (en) Test circuit for microcomputer
JPH02176849A (en) Electronic calculator
JPS6239453B2 (en)
JPH048015A (en) Counter circuit
JPS60118920A (en) Low power consumption power controller of computer system
JPS6115464B2 (en)
JPH0592791U (en) Function selection mechanism of multifunctional clock
JPS6010355A (en) Measuring system of activity ratio of central processing unit
JPS6018026B2 (en) Electronic clock circuit
JPS6239396B2 (en)