JPS58154688A - Integrated circuit for electronic watch - Google Patents

Integrated circuit for electronic watch

Info

Publication number
JPS58154688A
JPS58154688A JP57037447A JP3744782A JPS58154688A JP S58154688 A JPS58154688 A JP S58154688A JP 57037447 A JP57037447 A JP 57037447A JP 3744782 A JP3744782 A JP 3744782A JP S58154688 A JPS58154688 A JP S58154688A
Authority
JP
Japan
Prior art keywords
circuit
terminal
signal
output
alarm
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.)
Granted
Application number
JP57037447A
Other languages
Japanese (ja)
Other versions
JPS635713B2 (en
Inventor
Yasuhiko Okuyama
奥山 泰彦
Takeshi Takitani
瀧谷 猛
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 JP57037447A priority Critical patent/JPS58154688A/en
Publication of JPS58154688A publication Critical patent/JPS58154688A/en
Publication of JPS635713B2 publication Critical patent/JPS635713B2/ja
Granted 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)
  • Electromechanical Clocks (AREA)
  • Electric Clocks (AREA)

Abstract

PURPOSE:To perform tests without the preparation of any test terminal and shorten test time, by using an existing terminal as a test terminal and providing the titled circuit with a circuit to specify the test mode. CONSTITUTION:An intermediate level signal impressed to the 1st terminal to which an alarm coincident signal or the like is to be impressed is detected by a three level value detecting circuit 6 and a signal to prepare the initial state of the test mode is generated. An alarm signal or the like formed by the 1st terminal and a frequency division output from a frequency dividing circuit is outputted. A test mode selecting circuit 10 sets up the test mode by the signal input to the 2nd terminal. Plural outputs from the selecting circuit 10 specify the test mode of plural gates. When the outputs of the selecting circuit 10 specify two gates simultaneously, a prescribed level signal is applied to any one of the 1st and 2nd terminals and a test pulse is impressed to the other terminal, so that the test pulse is applied to the prescribed internal circuit through the gate specified by the prescribed level signal.

Description

【発明の詳細な説明】 本発明は電子時針用集積回路に関し、特にアラーム機能
を有するものに於いて、アラーム入力端子及びアラーム
出力端子を用いて、内部回路のテストが行なえ得る電子
時計用集積回路に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an integrated circuit for an electronic time hand, and particularly to an integrated circuit for an electronic time hand that has an alarm function and is capable of testing an internal circuit using an alarm input terminal and an alarm output terminal. Regarding.

一般にステップモータを用いた電子時計に於いて、アラ
ーム機能を有するものは、機械的にアラームの一致検出
を行ない、アラーム一致信号をアラーム入力端子に印加
してアラーム動作を行なっている。
Generally, electronic watches using a step motor that have an alarm function mechanically detect coincidence of alarms and apply an alarm coincidence signal to an alarm input terminal to perform an alarm operation.

この様なアナログ表示の電子時計に用いられる集積回路
は、水晶振動子を接続する端子、ステップモータを駆動
する端子、アラーム一致信号が印加される端子、アラー
ム音を発生させるためのアラーム信号が出力される端子
、そして電源端子等を有しており、端子数が少なくて構
成できる利点がある。しかし、従来の集積回路では、発
振周枝数の調整や内部回路のテストを行なうためのテス
ト用端子が設けられておシ、またスヌーズ機能を付加す
る場合に4スヌーズ端子を設けなければならないので、
端子数が少なくて構成できるという利点が損われるもの
であり、更にWj&能が増加することに依りテスト時間
も長くなる欠点を有していた。
The integrated circuit used in such analog display electronic clocks has a terminal to connect the crystal oscillator, a terminal to drive the step motor, a terminal to which the alarm matching signal is applied, and an alarm signal output to generate the alarm sound. It has the advantage of being able to be configured with a small number of terminals. However, in conventional integrated circuits, test terminals are provided for adjusting the oscillation frequency and testing internal circuits, and when adding a snooze function, four snooze terminals must be provided. ,
The advantage of being able to configure the structure with a small number of terminals is lost, and the test time also becomes longer due to the increase in Wj&ability.

本発明は上述した点に鑑みて為されたものであり、テス
ト端子をmの端子と共用し、テストモードを指定する回
路を設けることに依シ、テスト端子を設けることなくテ
ストが行えると共に、テスト時間も短くできる電子時計
用集積回路を提供するものである。以1図面を参照して
本発明を詳述する。
The present invention has been made in view of the above-mentioned points, and relies on sharing the test terminal with the m terminal and providing a circuit for specifying the test mode. The present invention provides an integrated circuit for an electronic watch that can shorten test time. The present invention will now be described in detail with reference to the drawings.

第1図は本発明の実施例を示す論理回路図であり、ステ
ップモータを用いたアラーム及びスヌーズ機能付のアナ
ログ鑵子時計用集積回路である。
FIG. 1 is a logic circuit diagram showing an embodiment of the present invention, which is an integrated circuit for an analog chisel clock with an alarm and snooze function using a step motor.

(1)は発振回路、 +21 +31 f4+’ +5
1は第1、第2.@3及び第4の分周回路、(6)は三
値検出回路、(7)はアラーム及びス戸−ズのセットパ
ルス発生回路、8祉アラーム記憶用の7リツプフロツプ
、(9)はスヌーズ記憶用のノリ、ブフロップ、ALI
Nは第1の端子であるアラーム入力端子、人LOはアラ
ームを鳴らすアラーム信号を出力するアラーム出力端子
、叫はテストモード選択回路、 QXlはテストパルス
発生回路である。
(1) is the oscillation circuit, +21 +31 f4+' +5
1 is the first, second, and so on. @3 and 4th frequency divider circuits, (6) is a three-value detection circuit, (7) is an alarm and snooze set pulse generation circuit, 7 lip-flops for storing 8-digit alarms, (9) is snooze memory Nori, Buflop, ALI
N is an alarm input terminal which is the first terminal, LO is an alarm output terminal which outputs an alarm signal to sound an alarm, VO is a test mode selection circuit, and QXl is a test pulse generation circuit.

発振回路il+は、インバータロ及び帰還抵抗几1よシ
成り、外部鳴子XI及びXOに接続された水晶振動子(
至)により、4.194.304Hzの基準信号を発生
し、その出力が第1の分周回路(2)の入力に印加され
ている。第1、第2及び第6の分周回路t21 +3)
 +41はT−FFが全部で23段継続接続されたもの
でおり、第1の分周回路2と第2の分周回路(3)との
間、即ち11段目と12段目の間には、インバータa4
及びNANDケート(至)が設けられ、また第2の分局
回路(3)と第6の分周回路(4)との間、即ち、16
段目と17段目との間にもNANDゲート(至)及びイ
ンバータαりが介在している。
The oscillation circuit il+ consists of an inverter and a feedback resistor 1, and a crystal oscillator (
) generates a reference signal of 4.194.304 Hz, the output of which is applied to the input of the first frequency divider circuit (2). 1st, 2nd and 6th frequency dividing circuit t21 +3)
+41 has a total of 23 stages of T-FFs connected continuously, and between the first frequency dividing circuit 2 and the second frequency dividing circuit (3), that is, between the 11th stage and the 12th stage. is inverter a4
and a NAND gate (to), and between the second division circuit (3) and the sixth frequency division circuit (4), that is, 16
A NAND gate and an inverter are also interposed between the 17th stage and the 17th stage.

第1の分周回路(2)の最終出力Qllは2048Hz
第2の分周回路(3)の出力Q1gは64 Hz%第3
の分周回路(1)の出力Q23は2 Hzとなっている
。第3の分周回路(4)の分周出力Q18、Q20s 
Q21% Q22はNANDゲート(至)に印加され、
NANDゲート(2)は、印加され九分周出力によシ、
1秒間に1回の短いパルスを作9秒倍号SOをNORゲ
ートasci1及びNANDケート(2)に印加してい
る。NOルゲート叫には分局出力Q23が印加され、一
方NORゲート(社)にはインバータ■で反転された分
局出力Q23が印加されてお’) %  2 Hzの分
局出力Q23に依って、1秒毎にNORゲート(2)■
が交互に導通するため、出力端子0UT1と0UT2に
は、各々インバータc13cj4及びインバータ@(2
)t−介して、秒信号SOが交互に出力される。この出
力端子0UT1及び0UT2にはステップモータが接続
され、秒猪号SOに依シ駆動される。何インバータ(財
)(至)はステップモータのドライバとなっている。
The final output Qll of the first frequency divider circuit (2) is 2048Hz
The output Q1g of the second frequency dividing circuit (3) is 64 Hz%
The output Q23 of the frequency dividing circuit (1) is 2 Hz. Divided output Q18, Q20s of the third frequency divider circuit (4)
Q21% Q22 is applied to the NAND gate (to),
NAND gate (2) is applied to the divided-by-9 output;
A short pulse of 9 seconds is generated once per second, and SO is applied to the NOR gate asci1 and the NAND gate (2). The branch output Q23 is applied to the NOR gate, while the branch output Q23 inverted by the inverter is applied to the NOR gate. NOR gate (2)■
are alternately conductive, so output terminals 0UT1 and 0UT2 are connected to inverter c13cj4 and inverter @(2), respectively.
) t-, the seconds signal SO is output alternately. A step motor is connected to the output terminals 0UT1 and 0UT2, and is driven depending on the second boar SO. What inverter (goods) (to) is the driver of the step motor.

NANDゲート(社)及びインバータ@を介して、秒信
号SOが印加された第4の分周回路151はT −FF
が9段継続接続されて成り、アラーム時間及びスヌーズ
時間を計時するものである。
The fourth frequency dividing circuit 151 to which the second signal SO is applied via the NAND gate and the inverter is a T-FF.
It consists of 9 stages of continuous connection, and measures the alarm time and snooze time.

三値検出回路(6)はインバータ@(2)…(2)及び
ANDゲート(至)のから構成され、インバータ(2)
(至)には第1の端子であるアラーム入力端子ALIN
が接続され、ANDゲー11の出力は各々、1に号AL
M、ALHとして出力される。インバータ@四は各々異
なるスレッショルドレベルを有シ、インバータ(2)の
スレッショルドレベルVTIよリモインバータ(2)の
スレ、ショルドレベルVT2の方カ大きく形成されてい
る。通常、アラーム入力端ALINは抵抗R2に依F>
、VDDレベルになっている0即ち、V T 1 <”
 V T 2 < A L I Nの場合には、インバ
ータ(2)−は共にオンとなシ、その出力は0”でめる
ため、11!号ALHは11”、信号ALMは“0”と
なっている。またVT 1 <AτIN<VT2の信号
が印加されると、インバータcmriオンしC10”を
出力し、インバータ@はオフして′″1″を出力するの
で、信号ALHは@0”、偏号ALMか11 ”となる
。そして、ALIN〈VT1〈VT2の信号が印加され
ると、インバータcS(支)は共にオフし、その出力は
@1 ″となるため、信号ALH及び信号ALMは共に
@0′となる。例えは、VDDが15Vであシ、gi号
Ar〒玉が1.5V〜0■の範囲で変化するものでおる
とすると、VTIは0,65V、VT2はQ、85■根
東に選はれる。
The three-value detection circuit (6) is composed of an inverter @(2)...(2) and an AND gate (to), and the inverter (2)
(to) is the first terminal, the alarm input terminal ALIN.
are connected, and the output of the AND game 11 is connected to the number AL
It is output as M, ALH. The inverters @4 have different threshold levels, and the threshold level VT2 of the remote inverter (2) is made larger than the threshold level VTI of the inverter (2). Normally, the alarm input terminal ALIN depends on the resistor R2.
, 0 which is at VDD level, that is, V T 1 <”
In the case of V T 2 < A L I N, both inverters (2) and - are turned on and their outputs are set to 0. Therefore, the 11! number ALH is set to 11" and the signal ALM is set to It has become. Furthermore, when a signal of VT 1 <AτIN < VT2 is applied, the inverter cmri turns on and outputs C10'', and the inverter @ turns off and outputs ``1'', so the signal ALH becomes @0'' and the polarization ALM Then, when the ALIN<VT1<VT2 signals are applied, both inverters cS (support) turn off and their output becomes @1'', so the signal ALH and signal ALM both become @0. '. For example, if VDD is 15V and the gi Ar〒 ball changes within the range of 1.5V to 0, then VTI is 0.65V, VT2 is Q, and 85V is selected for Neto. It will be done.

通常、アラーム入力端子ALINにはアラーム一致検出
スイッチとスヌーズスイッチとが接地レベルとの間に直
列接続され、設定したアラーム時刻になると、アラーム
一致検出スイッチが閉成し、アラーム入力端子ALIN
は強制的に′0″にされ、またスヌーズフリに入れるた
めに1、アラームの状態に於いて、スヌーズスイッチを
一定時間以内に開閉させ、アラーム入力端子ALINに
10″−11”−@0”の信号を印加する。これらのI
N号龜三値検出回路(6)の出力ALHの変化として、
アラーム及びスヌーズの制御に用いられる。
Normally, an alarm coincidence detection switch and a snooze switch are connected in series between the alarm input terminal ALIN and the ground level, and when the set alarm time arrives, the alarm coincidence detection switch closes and the alarm input terminal ALIN
is forcibly set to '0'', and in order to enter the snooze free mode, 1. In the alarm state, open and close the snooze switch within a certain period of time, and input 10''-11''-@0'' to the alarm input terminal ALIN. Apply signal. These I
As a change in the output ALH of the No. N three-value detection circuit (6),
Used for alarm and snooze control.

セットパルス発生回路(7)は、信号ALHの立ち上が
り及び立ちFがシを検出してセットパルスPU1及びP
UZを出力するものであり、インバーター、D−FF缶
(至)、NANDゲート□□□及びN0ルケート(至)
から構成されている。D−FF(至)儲のクロック入力
には第6の分周回路(4)の出力Q18が印加され、信
号ALHの立ち]がりは、I)−FF缶の出力司とD−
FF(至)の出力Qとを入力するNORケート−に依り
検出され、分周出力Q18の−f1M分のパルス幅で′
1 ”となるセラトノ(ルスPU2が出力され、また、
信号ALHの立ち上がりは、信号A L HlD−FF
(至)の出力Q%D−FF(至)の出力Q及び分周出力
Qlsを入力とするNANDゲート(2)に依り検出さ
れ、分周出力Q18のパルス幅と等しいパルス幅で@0
″となるセ、)ノくルスPU1が出力爆れる〇 セットパルスPU2はアラームフリップフロッグ(8)
をセット状態とすると共に、NORゲート(至)及びN
ANDケート−を介して、第4の分周回路(5)をリセ
5ットし、またセットパルスPU1はス1−ズ7リップ
フロブグ(9)をセッ7状獅とすると共VcN A N
 Dゲートl!11′1を介して、第4の分周回路(5
)をリセットする。
The set pulse generation circuit (7) detects the rise of the signal ALH and the rise of the signal F, and generates set pulses PU1 and P.
It outputs UZ, inverter, D-FF can (to), NAND gate □□□ and N0 gate (to)
It consists of The output Q18 of the sixth frequency dividing circuit (4) is applied to the clock input of the D-FF (to), and the rising edge of the signal ALH is connected to the output terminal of the I)-FF circuit and the D-
It is detected by the NOR gate which inputs the output Q of FF (to), and the pulse width of -f1M of the divided output Q18 is '
1” is output (Rus PU2 is output, and
The rising edge of the signal ALH is the signal A L HID-FF
(to) output Q%D - FF (to) output Q and frequency division output Qls are detected by NAND gate (2) as inputs, and @0 with a pulse width equal to the pulse width of frequency division output Q18
'',) Noculus PU1 explodes in output 〇 Set pulse PU2 is alarm flip frog (8)
is set, and the NOR gate (to) and N
Through the AND circuit, the fourth frequency dividing circuit (5) is reset, and the set pulse PU1 is set to VcN A N.
D gate l! 11'1, the fourth frequency divider circuit (5
) to reset.

ここでアラーム動作とスヌーズ動作を説明する。Here, the alarm operation and snooze operation will be explained.

設定したアラーム時刻になシ、アラーム入力端子ALI
Nが°0”になると、信号ALHは@1′″から@0”
に立ち下がる。この時出力されるセットパルスPU2に
依すアラームフリップフロップ(8)ハセ、トされる。
If the set alarm time is not set, alarm input terminal ALI
When N becomes °0", signal ALH changes from @1'" to @0"
stand down. The alarm flip-flop (8) is triggered by the set pulse PU2 output at this time.

−力スヌーズフリップフロッグ(9)はリセット状急に
あり、信号8Nt′i″O1″であり、またD−FF鉋
の出力Qは@0′であるため、NORケート(社)はア
ラーム制御信号ALSを°1 ”とする。アラーム制御
信号ALSが印加されるANDケート−は、分周出力Q
22、QlGが印加され、アラームの間欠信号を作成し
、ORゲートーヲ介してNANDケート(財)に印加す
る。NANDケート−には周波数2048Hzの分局出
力Qoが印加され、アラームの間欠信号と重畳され、イ
ンバーターを介してアラーム出力端子ALOK出力され
る。
- The power snooze flip frog (9) is in the reset state suddenly, the signal is 8Nt'i''O1'', and the output Q of the D-FF plane is @0', so the NOR Kate Co., Ltd. alarm control signal Let ALS be °1''.The AND gate to which the alarm control signal ALS is applied is the divided output Q.
22, QlG is applied, creating an alarm intermittent signal and applying it to the NAND gate via the OR gate. A branch output Qo with a frequency of 2048 Hz is applied to the NAND gate, superimposed on the intermittent alarm signal, and outputted to the alarm output terminal ALOK via an inverter.

一方、リセットされたm4の分周回路(5)は秒信号り
の針壁を再開し、一定時間、128秒後、出力Qaoが
“1 ”となる。このとき、リセ7ト状飴にあるフリッ
グフ口7ノ(9)の出力SNは111であるため、出力
Q30はANDケート−を介して、アラームフリップフ
ロツブ(8)奢リセットする0よって、NORゲート■
はアラームフリップフロツブ(8−の出力により遮断さ
れ、アラーム制動1d号AL8に10”となり、アラー
ムが止まる。
On the other hand, the reset m4 frequency dividing circuit (5) restarts the needle wall of the second signal, and after a certain period of time, 128 seconds, the output Qao becomes "1". At this time, the output SN of the flip-flop opening 7 (9) in the reset 7-shaped candy is 111, so the output Q30 is output from the alarm flip-flop (8) via the AND gate. Gate■
is shut off by the output of the alarm flip-flop (8-), the alarm brake No. 1d AL8 becomes 10'', and the alarm stops.

スヌーXは、アラーム状急に於いて、アラーム入力端子
ALINK″0”−′″1 ”−0”の1を号を所定時
間内に印加する。アラーム入力端子τLINが@D′−
′″1″となると、1g号A L Hは10°−1”に
立ち上がり、このとき、NANDケート(支)からはセ
ットパルスPU1が出力され、スヌーズ7リツプ70ツ
ブ(9)がセットされると共に、第4の分周回路U3+
がリセットされる。スヌーズ7リツグフロツグ(9)が
セットされることにより、物号SNは“1”となシ、ま
たD−FFJIの出力Qも′″1 ″であるため、NO
1’tゲート曲はアラーム制御信号AL8t−@0”と
して、アラームを停止させる。一方、D−FFIiの出
力QはANDゲート(資)を尋通状姶にしているため、
所定時間後、分局出力Q25が′″1 ”となると、ス
ヌーズフリ。
Snoo
When it becomes ``1'', the 1g A L H rises to 10°-1'', and at this time, the NAND gate (support) outputs the set pulse PU1, and the snooze 7 lip 70 knob (9) is set. In addition, the fourth frequency dividing circuit U3+
is reset. Since the snooze 7 reset flag (9) is set, the object number SN becomes "1", and the output Q of D-FFJI is also ``1'', so NO
1't gate tune causes the alarm control signal AL8t-@0'' to stop the alarm. On the other hand, since the output Q of D-FFIi is set to the AND gate (equipment),
After a predetermined period of time, when the branch output Q25 becomes ``1'', the snooze is free.

グツロック(9)ネ、再びリセットされてしまうため、
分局出力Q26が出力式れないうちに、アラーム入力端
子ALINt−@1  ”−@0”にしなければならな
い。アラーム入力端子ALINが10′になると、D−
FF(至)の出力Qは10”となり、ANDグーhto
を離断すると共に、セットパルスPU2が出力され、第
4の分周回路(5)が再びリセットされる。従って、第
4の分周回路(5)が計数を再開してから出力される分
周出力QzsはANDNOゲート遮断され、またスヌー
ズ7リツプフロツプ(9)の出力SNは“0”であり、
ANDゲート−が遮断されているため、分局出力Qao
も遮断されるので、アラームフリッグノロフプ(8)は
リセットされない。そして、256秒後、分周出力Q3
1が@1”となると、NORケーグーの出力が@0″と
なるため、スヌーズフリ、グツロック(9)がリセット
され、18′号5Nid”0 ″と々る。このとき、 
 N。
Guts Lock (9) Ne, because it will be reset again,
Alarm input terminal ALINt-@1 must be set to ``-@0'' before branch output Q26 is output. When alarm input terminal ALIN becomes 10', D-
The output Q of FF (to) is 10", and the AND
At the same time, the set pulse PU2 is outputted, and the fourth frequency dividing circuit (5) is reset again. Therefore, the frequency division output Qzs outputted after the fourth frequency division circuit (5) restarts counting is cut off by the ANDNO gate, and the output SN of the snooze 7 lip-flop (9) is "0".
Since the AND gate is blocked, the branch output Qao
is also shut off, so the alarm control loop (8) is not reset. Then, after 256 seconds, the divided output Q3
When 1 becomes @1'', the output of the NOR key becomes @0'', so Snooze Furi and Gutsulock (9) are reset, and No. 18'5Nid reaches 0''. At this time,
N.

4Lゲートuυはアラーム制御信号ALSを11 ”と
して、スヌーズによるアラームを行なう。
The 4L gate uυ sets the alarm control signal ALS to 11'' and performs an alarm by snooze.

テストモート選択回路acbは4段継続接続された −
I’−FF−ωg−から成り、名リセット端子Rには第
1の分周回路(2)の分局出力Q11が印加され、初段
のT−FF−の入力にFiN A N Dケート槌が接
続されている。NANDゲート−の入力には三値検出回
路(6)の出力ALH及びアラーム出力端子ALOの慴
号が印加されている。従・って、テストモード選択回路
−は、アラーム入力端子ALINに印加される1号ある
いは、アラーム出力端子AL Oに1制的に印加される
旧号を計数し、テストモード選択回路備の各段の出力T
M1.TM2、TM3、TM4はテストパルス発生回路
αBに印加される。
The test mote selection circuit ACB was continuously connected in 4 stages -
It consists of I'-FF-ωg-, the division output Q11 of the first frequency dividing circuit (2) is applied to the reset terminal R, and the FiN A N D gate hammer is connected to the input of the first stage T-FF-. has been done. The output ALH of the three-value detection circuit (6) and the signal of the alarm output terminal ALO are applied to the input of the NAND gate. Therefore, the test mode selection circuit counts the number 1 applied to the alarm input terminal ALIN or the old number applied to the alarm output terminal ALO, and selects each of the test mode selection circuits. Stage output T
M1. TM2, TM3, and TM4 are applied to the test pulse generation circuit αB.

テストパルス発生回路■はNANDゲート@(至)ff
leiffi及びインバータ61□□□m111より構
成される。NANDケート−にはTMl、TM2、TM
3及びTM4か印加され、テストモード選択回路−の内
容がrolllJ、即ち、10進数で「7」となったと
き、リセットパルスRESBTが発生し、リセットパル
スRESETは第2の分周回路(3)、第6の分周回路
(4)、セットパルス発生回路(7)及びNORゲート
(至)、NANDゲート−を介して第4の分−周回路(
5)をリセットする)一方、NANDゲート−はTMl
、TM4によりテストモード選択回路−の内容がrIX
XOJのとき指定され、NANDケートωはTMl、T
M4によりテストモード選択回路−の内容がNXXIJ
のとき指定され、またNANDゲート圀はT i142
、TM4によりテストモート選択回路111mの内容が
rIXOX」のとき指定される。従って、テストモード
選択回路0−の計数山谷によっては、NANDゲート霞
とNANDゲート圀が、あるいはNANDゲートωとN
AN Dグー) 6’7iが同時に指定される場合があ
る。しかし、NANDゲート□□□に信号A I、 H
を〆印加し、NANDケート(へ)鰻萄にアラーム出力
端子ALOに印加さj、る信号を・インバーターを介し
て印加することに依シ、アラーム入力端子Tτ了N及び
アラーム出力端子A L Oの信号操作でいずれかを選
択することができる。即ち、アラーム入力端子ALIN
あるいはアラーム出力端子A L Oのいずれかを10
”に固定し、他方の端子にパルスを印加することに依り
、テストパルスを出力すべきNAND、ゲートを選択で
きるのである。具体的動作は後に述べる。
The test pulse generation circuit ■ is a NAND gate @ (to) ff
It is composed of leiffi and an inverter 61□□□m111. TMl, TM2, TM for NAND Kate
3 and TM4 are applied and the content of the test mode selection circuit becomes rollJ, that is, "7" in decimal notation, a reset pulse RESBT is generated, and the reset pulse RESET is applied to the second frequency dividing circuit (3). , the sixth frequency dividing circuit (4), the set pulse generating circuit (7), the NOR gate (to), and the fourth frequency dividing circuit (
5)) On the other hand, the NAND gate is TMl
, TM4 changes the contents of the test mode selection circuit to rIX.
Specified when XOJ, NAND gate ω is TMl, T
M4 changes the contents of the test mode selection circuit to NXXIJ
is specified when , and the NAND gate area is T i142
, TM4 when the content of the test mote selection circuit 111m is "rIXOX". Therefore, depending on the count peaks and troughs of test mode selection circuit 0-, NAND gate Kasumi and NAND gate Koku, or NAND gate ω and NAND gate
6'7i may be specified at the same time. However, the signals A I, H in the NAND gate □□□
It depends on applying the signal to the alarm output terminal ALO to the NAND gate (to) the alarm output terminal ALO through the inverter. You can select either one by operating the signal. That is, the alarm input terminal ALIN
Or connect either alarm output terminal ALO to 10
By fixing it to `` and applying a pulse to the other terminal, it is possible to select the NAND or gate to which the test pulse should be output.The specific operation will be described later.

NANDグーhsasmの出力は各々テストパルスTE
STP1、T B 8 T P 2 s T E 8 
T P 3として出力され、テストパルスTESTP1
[NANDゲートue及びインバータ匝を介して第6の
分周回路(4)に、テストパルスTB8TP2はNAN
Dケート(社)及びインバータ@を介して第4の分周回
路(5)に、テストパルスTESTP3はNANDゲー
)aSi介して縞2の分周回路(3)に印加される。
The output of NAND goo hsasm is each test pulse TE
STP1, T B 8 T P 2 s T E 8
The test pulse TESTP1 is output as T P3.
[The test pulse TB8TP2 is sent to the sixth frequency dividing circuit (4) via the NAND gate ue and the inverter
The test pulse TESTP3 is applied to the fourth frequency dividing circuit (5) via the D-Kate and inverter@, and the test pulse TESTP3 is applied to the frequency dividing circuit (3) of the stripe 2 via the NAND gate (aSi).

従って、テストモード選択回路a・に外部から所定数を
セットすることにより、どの分周回路をテストするかが
選択されるのである。
Therefore, by externally setting a predetermined number in the test mode selection circuit a, it is possible to select which frequency dividing circuit is to be tested.

次に第2図のタイミング図を参照してテストモードの前
作を説明する。先ず、通常動作状態からテストモードに
するために、アラーム入力端子WLINに中間レベルの
信号を印加する。三値検出回路(6)の中間レベルを検
出しs ’IN号A L Hを@0”に、信号ALMを
@1″にする。(第2図象点′  )0信号λLMはO
RゲートOを介して、NAND′i−トーに印加される
ので、NANDゲート−は導通状態となり、銅1の分周
回路(2)の分周出力Q+l’tインバーターを介し1
アラーム出力端子ALOに出力する。従って、この状態
に於いて、アラーム出力端子ALOの周波数を測定し、
発振回路(1)の発振周波数″8調整することができる
と共に第1の分周回路(2)の1J作テストが行え得る
。次に、アラーム出力端子ALOに出力される出力Q+
tが“0′″になまたとき、端子XIあるいはIOから
水晶振動子α場を分離する等の手段に依って、発振回路
illの発振を停市させ、出力Quを@01に保持し、
テストモード選択回路(至)のリセットを解除させる。
Next, the previous version of the test mode will be explained with reference to the timing diagram of FIG. First, in order to switch from the normal operating state to the test mode, an intermediate level signal is applied to the alarm input terminal WLIN. The intermediate level of the three-value detection circuit (6) is detected, and the signal s'IN signal ALH is set to @0'' and the signal ALM is set to @1''. (Fig. 2 quadrant') 0 signal λLM is O
Since the voltage is applied to NAND'i-to through the R gate O, the NAND gate- becomes conductive, and the divided output Q+l't of the copper 1 frequency divider circuit (2) is applied to 1.
Output to alarm output terminal ALO. Therefore, in this state, measure the frequency of the alarm output terminal ALO,
The oscillation frequency of the oscillation circuit (1) can be adjusted by 8" and the 1J operation test of the first frequency dividing circuit (2) can be performed. Next, the output Q+ output to the alarm output terminal ALO
When t becomes "0'" again, the oscillation of the oscillation circuit ill is stopped by means such as separating the crystal oscillator α field from the terminal XI or IO, and the output Qu is held at @01,
Release the reset of the test mode selection circuit (to).

(第2図す点)0そして、アラーム出力端子ALOに外
部より強制的に@1 ′″を印加して、NANDケート
□□□を導通可能状態とし、アラーム入力端子ALIN
に“1 ′となるパルスを8個印加する。従って、信号
ALHに生じる8個のパルスriNANbゲートωを介
してテストモード選択回路頭に計数される。7個目のパ
ルスが計数されると、テストモード選択回路薗の出力T
M4、TM3.TM2、TMlはrolllJとなシ、
NANDゲート−からはインバーターを介してリセット
信号RE8ETが出力され、第2、第6、第4の分周回
路(3)(4)(5)及びセットパルス発生回路(7)
がリセットされる。また8−目のパルスが計数されると
、テストモード選択回路1eの内容は[1000Jとな
り、論理積TM1、TM4及びTM2゜TM4が11 
”となるため、NANDゲート−及びNANDケートa
が導通可能状態になる。そこで、アラーム入力端子AL
INt−@O”、即ち信号ALHを0”としたまま、ア
ラーム出力端子ALOに所定数、所定周波数のパルスを
印加すると、そのパルスはインバーターを介して、NA
NDケート(至)−に印加されるが、NANDゲート■
は1百号ALHに依シ、禁止されているため、パルスd
N A N Dケート−のみを介して、テストパルスT
E8TP1として出力され、第5の分周回路(4)に印
加される。従って、第6の分周回路(4)に任意の値を
設定でき、テストが実施される。
(Point shown in the second figure) 0 Then, @1 '' is forcibly applied to the alarm output terminal ALO from the outside to make the NAND gate □□□ conductive, and the alarm input terminal ALIN
8 pulses that become "1' are applied to the signal ALH. Therefore, the 8 pulses generated in the signal ALH are counted at the top of the test mode selection circuit via the riNANb gate ω. When the 7th pulse is counted, Test mode selection circuit output T
M4, TM3. TM2, TMl is rollJ and Nashi,
A reset signal RE8ET is output from the NAND gate via an inverter, and the second, sixth, and fourth frequency dividing circuits (3), (4), and (5) and set pulse generation circuit (7) are output.
is reset. When the 8th pulse is counted, the content of the test mode selection circuit 1e becomes [1000J, and the logical products TM1, TM4 and TM2°TM4 are 11
”, so NAND gate - and NAND gate a
becomes conductive. Therefore, the alarm input terminal AL
When a predetermined number of pulses of a predetermined frequency are applied to the alarm output terminal ALO with the signal ALH set to 0", the pulses are passed through the inverter to the NA
Applied to ND gate (to) -, but NAND gate■
is prohibited by ALH No. 100, so the pulse d
Test pulse T via N A N D gate only
It is output as E8TP1 and applied to the fifth frequency dividing circuit (4). Therefore, an arbitrary value can be set in the sixth frequency dividing circuit (4) and a test can be performed.

次に上述の状態に於いて、アラーム出力端子ALOを°
01としたまま、アラーム入力端子wIINに所定数、
所定両波数のパルスを印加すると、信号A L Hに生
じるパルス1JNANDゲート醐を介して、テストパル
スTESTP3として田カされ、第2の分周回路(3)
に印加される。
Next, in the above state, set the alarm output terminal ALO to °
01, and input a predetermined number to the alarm input terminal wIIN.
When pulses of both predetermined wave numbers are applied, the pulse 1 generated in the signal A L H is passed through the JNAND gate as a test pulse TESTP3, and is passed to the second frequency dividing circuit (3).
is applied to

また、アラーム入力端子ALINを°0”、I4ち信号
A L H全“0”にしたまま、アラーム出力端子AL
Oを′″1 ”としだ後、アラーム入力端子ALINに
9個目のパルスを印加する。よって、信号ALHに生じ
る9個目のパルスはNANDゲートωを介して、テスト
モード選択回路(至)に印加されテストモード選択回路
(至)は内容がrlool」となり、論理積TM1.T
M4及びTM2.TM4が@1 ”となる。即ち、NA
NDゲート−醐が棒通−oJ船状態となるが、NAND
ゲート醐には信号ALH”[]”が印加されるため、テ
ストパレスTESTP3は出力されない。この状態でア
ラ7ム出力端子ALOに所定数、所定周波数のパルスを
印加すると、このパルスは、インバータロ及びNAND
ゲ−)(ロ)を介して、テストパルスTESTP2とし
て、第4の分周回路5)に印加される。
In addition, while keeping the alarm input terminal ALIN at 0" and the I4 signal A L H all "0", the alarm output terminal AL
After setting O to ``1'', the ninth pulse is applied to the alarm input terminal ALIN. Therefore, the ninth pulse generated in the signal ALH is applied to the test mode selection circuit (TO) via the NAND gate ω, and the content of the test mode selection circuit (TO) becomes "rlool", and the logical product TM1. T
M4 and TM2. TM4 becomes @1''. That is, NA
ND gate - Go is in OJ ship state, but NAND
Since the signal ALH "[]" is applied to the gate, the test pulse TESTP3 is not output. In this state, if a predetermined number of pulses of a predetermined frequency are applied to the alarm output terminal ALO, this pulse will be applied to the inverter and NAND
It is applied as a test pulse TESTP2 to the fourth frequency dividing circuit 5) through the gates (G) and (B).

よって、第4の分周回路(5)のテストが行え得るので
ある。
Therefore, the fourth frequency dividing circuit (5) can be tested.

更に、アラーム出力端子ALOt@1  ”として、ア
ラーム入力端子ALINに1o個目のパルスを印加する
と、テストモード選択回路回の内容は[1010Jとな
り、k埋積711・TM4が“1”となるので、テスト
パルスTB8TP1の出力が可能となる。
Furthermore, when the 10th pulse is applied to the alarm input terminal ALIN as the alarm output terminal ALOt@1, the content of the test mode selection circuit becomes [1010J, and the k filling 711·TM4 becomes "1". , test pulse TB8TP1 can be output.

この様に、テストモード選択回路(至)にパルスを印加
して、順次内容を変えることに依り、テストモードが繰
り返し、選択できるものである。第1表はテストモード
選択回路−の内容と、発生#i′f能なテストパレスヲ
示ス。
In this way, the test mode can be repeatedly selected by applying pulses to the test mode selection circuit (to) and sequentially changing the contents. Table 1 shows the contents of the test mode selection circuit and the test pulses that can be generated.

以下余白 第1表 テストモード選択回路tttiに設定された内容に於い
て、2種類のテスト・クルスが指定される場合には、前
述した如く、アラーム入力端子ALINからパルスを印
加するか、あるいはアラーム出力端子ALOからパルス
を印加するかに依りて選択でまた、第1表の如く、テス
トモード選択回路αG′は、10進数「6」まではテス
トモードに入らない様になっているす。これは、通常動
作状態に於いて、アラーム信号かアラーム出力端子AL
Oに出力さ扛ているとき、アラーム入力端子ALTN、
・にチャタリングが生じると、即ちgI号AI、Hにチ
ャタリングが生じると、テストモード選択回路0・にそ
の信号が印加されることがある。しかし、テストモード
選択回路[相]は、アラーム信号を構成する分局出力Q
11によってリセットがかかるものであり、そのチャタ
リング信号が計数されることははとんどないのであるが
、分局出力Q11に対するアラーム信号の遅れにより、
多少計数されることがある。この場合に、テストモード
に入らない様に、「7」以上からテストモードを設定し
ているのである。この様にすることによって、テストモ
ード選択回路(至)を常時リセットしておくための特別
なリセット回路が不要となり、素子数も減少させること
ができるのである。
Table 1 below: If two types of test cycles are specified in the settings in the test mode selection circuit ttti, either apply a pulse from the alarm input terminal ALIN or use the alarm The selection depends on whether a pulse is applied from the output terminal ALO. Also, as shown in Table 1, the test mode selection circuit αG' does not enter the test mode until the decimal number is "6". This means that in normal operating conditions, the alarm signal or alarm output terminal AL
When the output is output to O, the alarm input terminal ALTN,
If chattering occurs in gI, AI, H, that signal may be applied to test mode selection circuit 0. However, the test mode selection circuit [phase]
11, and the chattering signal is rarely counted, but due to the delay of the alarm signal with respect to the branch output Q11,
It may be counted to some extent. In this case, the test mode is set from "7" or higher so as not to enter the test mode. By doing so, a special reset circuit for constantly resetting the test mode selection circuit (to) is not required, and the number of elements can also be reduced.

上述の如く本発明によれば、アラーム入力端子とアラー
ム出力端子とをテスト端子としてネ1」用できるもので
あり、またテストモード選択回路を設けることにより、
内部回路を個別に、しかも迅速にテストできるものであ
り、テスト時間や二人幅に短縮される利点を有する。
As described above, according to the present invention, the alarm input terminal and the alarm output terminal can be used as test terminals, and by providing the test mode selection circuit,
This allows internal circuits to be tested individually and quickly, and has the advantage of shortening test time and the time required for two people.

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

第1図は本発明の実施例を示す論理回路図、第2図はテ
ストモードを示すタイミング図である。 、ttB・・・・・発振回路、+21 +31 +41
 +51・・・・・・第1、第2、第3′笈び第4の分
周回路、(6)・・・・・・三値検出回路、(7)・・
・・・・セットパルス発生回路、(8)・・・・・・ア
ラームフリップ70.り、+91・・・・・・スヌーズ
フリップフロップ、明・・・・・・テストモード選択回
路、αト・・・・・テストノくルス発生回路。
FIG. 1 is a logic circuit diagram showing an embodiment of the present invention, and FIG. 2 is a timing diagram showing a test mode. , ttB...Oscillation circuit, +21 +31 +41
+51...First, second, third' and fourth frequency dividing circuits, (6)...Three-value detection circuit, (7)...
...Set pulse generation circuit, (8) ...Alarm flip 70. +91...Snooze flip-flop, Bright...Test mode selection circuit, αT...Test noise generation circuit.

Claims (1)

【特許請求の範囲】[Claims] 1、水晶振動子等が外部に接続されて基準信号を発生す
る発振回路と、該発振回路の出力を分周し、所定の周波
数のパルスを出力する分周回路と、アラーム一致信号等
が印加される第1の端子と、前記分周回路の分局出力に
依って形成され九アラーム信号等が出力される第2の端
子と、前記第1の端子に印加された中間レベルを検出し
、テストモードの初期状鰹を作るだめの信号を出力する
三値検出回路と、前記第1の端子及び第2の端子に印加
する信号操作に依り、テストモードがセットサレるテス
トモード選択回路と、該テストモード選択回路の複数の
出力で指定される複数のゲートとを備え、前記テストモ
ード選択回路の出力が2個の前記ゲートを指定したとき
、前記第1の端子あるいは第2の端子のいずれかに所定
レベルの信号を印加し、他方の端子にテストパルスを印
加することに依り、前記所定レベルの信号で指定され九
ケートを介して前記テストパルスが、所定の内部回路に
印加されることを特徴とする電子時計用集積回路。
1. An oscillation circuit to which a crystal oscillator or the like is connected externally to generate a reference signal, a frequency division circuit that divides the output of the oscillation circuit and outputs a pulse of a predetermined frequency, and an alarm match signal, etc. is applied. a second terminal formed by the branch output of the frequency dividing circuit and to which an alarm signal etc. is output; and an intermediate level applied to the first terminal, and a test is performed. a three-value detection circuit that outputs a signal for making an initial mode of bonito; a test mode selection circuit that sets and selects a test mode by operating signals applied to the first terminal and the second terminal; a plurality of gates specified by a plurality of outputs of a mode selection circuit, and when the output of the test mode selection circuit specifies two of the gates, the terminal is connected to either the first terminal or the second terminal. By applying a signal at a predetermined level and applying a test pulse to the other terminal, the test pulse is applied to a predetermined internal circuit via a circuit specified by the signal at the predetermined level. An integrated circuit for electronic watches.
JP57037447A 1982-03-09 1982-03-09 Integrated circuit for electronic watch Granted JPS58154688A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57037447A JPS58154688A (en) 1982-03-09 1982-03-09 Integrated circuit for electronic watch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57037447A JPS58154688A (en) 1982-03-09 1982-03-09 Integrated circuit for electronic watch

Publications (2)

Publication Number Publication Date
JPS58154688A true JPS58154688A (en) 1983-09-14
JPS635713B2 JPS635713B2 (en) 1988-02-04

Family

ID=12497750

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57037447A Granted JPS58154688A (en) 1982-03-09 1982-03-09 Integrated circuit for electronic watch

Country Status (1)

Country Link
JP (1) JPS58154688A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS638587A (en) * 1986-06-30 1988-01-14 Seikosha Co Ltd Integrated circuit with testing function
JP2011013120A (en) * 2009-07-02 2011-01-20 Seiko Instruments Inc Integrated circuit for electronic clock, and electronic clock

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5153541A (en) * 1991-05-20 1992-10-06 At&T Bell Laboratories Folded interdigital notch filter

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS638587A (en) * 1986-06-30 1988-01-14 Seikosha Co Ltd Integrated circuit with testing function
JPH0518395B2 (en) * 1986-06-30 1993-03-11 Seikosha Kk
JP2011013120A (en) * 2009-07-02 2011-01-20 Seiko Instruments Inc Integrated circuit for electronic clock, and electronic clock

Also Published As

Publication number Publication date
JPS635713B2 (en) 1988-02-04

Similar Documents

Publication Publication Date Title
US3989960A (en) Chattering preventive circuit
JPH0467811B2 (en)
CA1066514A (en) Digital timepiece having means for selectively or simultaneously displaying both conventional time and remaining time functions
JPS58154688A (en) Integrated circuit for electronic watch
JPS6015901B2 (en) time measuring device
US4110966A (en) Electronic timepiece with stop watch
US3906256A (en) Drive pulse generator for use in electronic analog display clock apparatus
US4184320A (en) Electronic stop watches
US4143509A (en) Electronic time-keeping system with electro-mechanically-driven analog display and electrical integral hour reset feature
JPS635711B2 (en)
JPS58154687A (en) Integrated circuit for electronic watch
JPS5918675B2 (en) clock device
KR0174876B1 (en) Easy-to-test time-selective timer device
JPH0592791U (en) Function selection mechanism of multifunctional clock
JPH058995B2 (en)
KR810000551Y1 (en) Alarm electronic timepiece
JPS627731B2 (en)
JPH0616358Y2 (en) World clock
KR910009811B1 (en) Frequency counter
JPS6024436B2 (en) Electronic clock with stopwatch
JPS6261913B2 (en)
KR810000547Y1 (en) Digital alarm watch
JPS6261912B2 (en)
JPS6261911B2 (en)
JPH10126233A (en) Clock-generating circuit