JPH0955648A - Timer - Google Patents

Timer

Info

Publication number
JPH0955648A
JPH0955648A JP20818095A JP20818095A JPH0955648A JP H0955648 A JPH0955648 A JP H0955648A JP 20818095 A JP20818095 A JP 20818095A JP 20818095 A JP20818095 A JP 20818095A JP H0955648 A JPH0955648 A JP H0955648A
Authority
JP
Japan
Prior art keywords
circuit
signal
frequency dividing
test
frequency
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
JP20818095A
Other languages
Japanese (ja)
Other versions
JP3124912B2 (en
Inventor
Toru Tanabe
徹 田辺
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.)
Rhythm Watch Co Ltd
Original Assignee
Rhythm Watch 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 Rhythm Watch Co Ltd filed Critical Rhythm Watch Co Ltd
Priority to JP07208180A priority Critical patent/JP3124912B2/en
Publication of JPH0955648A publication Critical patent/JPH0955648A/en
Application granted granted Critical
Publication of JP3124912B2 publication Critical patent/JP3124912B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Electronic Switches (AREA)

Abstract

PROBLEM TO BE SOLVED: To realize a timer conducting tests for each of plural stage of frequency divider circuits in a short time with a simple operation. SOLUTION: A changeover circuit 14a is provided between frequency divider circuits 11, 12 and a changeover circuit 14b is provided between frequency divider circuits 12, 13. When time count of the frequency divider circuit 11 by a test signal is finished, an output signal of the frequency divider circuit 11 actuates a 1st stage of the frequency divider circuit 12 and when the operation is normal, a high frequency test signal from a pre-stage frequency divider circuit 5 is directly inputted to the frequency divider circuit 12 by the changeover circuit 14a in place of the output signal of the frequency divider circuit 11 to test the frequency divider circuit 12. When the test count of the frequency divider circuit 12 is finished, an output signal of the frequency divider circuit 12 operates a first stage of the frequency divider circuit 13 and when the operation is normal, a high frequency test signal from the pre-stage frequency divider circuit 5 is directly inputted to the frequency divider circuit 13 by the changeover circuit 14b in place of the output signal of the frequency divider circuit 12 to test the frequency divider circuit 13.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、タイマ装置に関
し、特に長時間の計時動作を行うタイマ装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a timer device, and more particularly to a timer device that performs a time counting operation for a long time.

【0002】[0002]

【従来の技術】タイマ装置には、たとえば電子蚊取り線
香用のタイマ装置のように、12時間というような長時
間の計時動作を行うものがある。このような長時間の計
時動作を行うタイマ装置のテスト動作を、短時間で行う
ために、当初は別途に高周波発振器を用意し、この高周
波発振器からのテスト信号をタイマ装置に入力させてテ
スト動作を行っていた。しかし、この方法では、別途に
高周波発振器が必要で、計時テストの動作コストが増大
するという問題があり、この問題を解決するために、タ
イマ装置から高周波のテスト信号を導出する方法が用い
られている。
2. Description of the Related Art Some timer devices, such as a timer device for an electronic mosquito coil, perform a long time counting operation such as 12 hours. In order to perform the test operation of the timer device that performs such a long time counting operation in a short time, a high frequency oscillator is initially prepared separately, and a test signal from this high frequency oscillator is input to the timer device to perform the test operation. Was going on. However, this method requires a high-frequency oscillator separately, which raises the problem that the operation cost of the clock test increases, and in order to solve this problem, a method of deriving a high-frequency test signal from a timer device is used. There is.

【0003】図4は、従来のタイマ装置の構成を示すブ
ロック図である。このタイマ装置において、通常の計時
動作時には、発振器4の出力信号が、発振器4の出力端
子に接続された前置分周回路5で分周されて計時信号が
得られる。この計時信号が、前置分周回路5の出力端子
に接続されたアンド回路1の一方の入力端子に入力され
る。このとき、テスト端子t1に入力されるテスト起動
信号DSTの論理値は「0」であり、このテスト起動信
号DSTがインバータ6を介して論理値「1」となり、
アンド回路1の他方の入力端子に入力される。その結
果、計時信号は、アンド回路1の出力端子に接続された
オア回路3の一方の入力端子に入力される。一方、前置
分周回路5の中間分周端子t2に一方の入力端子が接続
されたアンド回路2の一方の入力端子に、論理値「1」
のテスト起動信号DSTが入力され、アンド回路2の出
力端子の信号の論理値は「0」となる。このために、オ
ア回路3の出力端子に接続されたタイマ回路7には、計
時信号が入力され、通常の計時動作が行われる。
FIG. 4 is a block diagram showing the structure of a conventional timer device. In this timer device, during a normal time counting operation, the output signal of the oscillator 4 is frequency-divided by the prescaler circuit 5 connected to the output terminal of the oscillator 4 to obtain the time counting signal. This clock signal is input to one input terminal of the AND circuit 1 connected to the output terminal of the prescaler circuit 5. At this time, the logical value of the test activation signal DST input to the test terminal t1 is “0”, and the test activation signal DST becomes a logical value “1” via the inverter 6,
It is input to the other input terminal of the AND circuit 1. As a result, the clock signal is input to one input terminal of the OR circuit 3 connected to the output terminal of the AND circuit 1. On the other hand, the logical value "1" is input to one input terminal of the AND circuit 2 in which one input terminal is connected to the intermediate frequency dividing terminal t2 of the prescaler circuit 5.
The test start signal DST is input, and the logical value of the signal at the output terminal of the AND circuit 2 becomes "0". For this reason, the timer circuit 7 connected to the output terminal of the OR circuit 3 receives the clock signal, and the normal clock operation is performed.

【0004】また、計時テスト動作時には、テスト端子
t1に入力されるテスト起動信号DSTの論理値が
「1」となるので、アンド回路1の入力端子の信号の論
理値は、何れも「0」となりアンド回路1の出力端子の
信号の論理値は「0」となる。このとき、アンド回路2
の他方の入力端子の信号の論理値は「1」となることか
ら、中間分周端子t2からの高周波テスト信号STが、
アンド回路2およびオア回路3を通過し、タイマ回路7
に供給されて、タイマ回路7のテスト動作が行われる。
Further, during the timing test operation, the logical value of the test activation signal DST input to the test terminal t1 becomes "1", so that the logical value of the signal at the input terminal of the AND circuit 1 is "0". Then, the logical value of the signal at the output terminal of the AND circuit 1 becomes "0". At this time, AND circuit 2
Since the logical value of the signal at the other input terminal of the signal is "1", the high frequency test signal ST from the intermediate frequency dividing terminal t2 becomes
It passes through the AND circuit 2 and the OR circuit 3, and the timer circuit 7
And the test operation of the timer circuit 7 is performed.

【0005】[0005]

【発明が解決しようとする課題】前述の従来のタイマ装
置によると、前置分周回路5の中間分周端子t2から取
り出したテスト信号により、タイマ回路7のテスト動作
を行わせることができ、別途高周波発振器を設ける必要
はなくなるが、長時間のタイマ装置においては、入力を
高周波信号で行っても検査時間が長く、さらに短くする
ことが要求される。これを解消するために、分周回路を
数個に分割して図4に示すような切換回路を設けたとし
ても、切換回路の誤動作により、タイマ回路7が正常動
作する場合であって不良と判断されたり、高周波信号の
み通過可能状態であったときには正常と判断されてしま
うことから、切換回路の動作チェックも行わなければな
らないという問題が発生する。
According to the above-mentioned conventional timer device, the test operation of the timer circuit 7 can be performed by the test signal taken out from the intermediate frequency dividing terminal t2 of the front frequency dividing circuit 5. Although it is not necessary to separately provide a high-frequency oscillator, in a long-time timer device, even if the input is performed with a high-frequency signal, the inspection time is long and further shortened. In order to solve this, even if the frequency dividing circuit is divided into several pieces and a switching circuit as shown in FIG. 4 is provided, the malfunction of the switching circuit causes the timer circuit 7 to operate normally, resulting in a failure. Since it is judged to be normal when it is judged or when only the high frequency signal can be passed, there arises a problem that the operation check of the switching circuit must be performed.

【0006】本発明は、かかる事情に鑑みてなされたも
のであり、その目的は、簡単な操作で複数段の分周回路
のそれぞれについて、短時間でテスト動作を行うことが
可能なタイマ装置を提供することにある。
The present invention has been made in view of the above circumstances, and an object thereof is to provide a timer device capable of performing a test operation in a short time for each of a plurality of frequency divider circuits by a simple operation. To provide.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
に、本発明は、複数段の分周回路を備え、上記各段の分
周回路の動作テストを順次に行うタイマ装置であって、
テスト動作時に前段の分周回路を通過した信号を受ける
と次段の分周回路に当該信号を入力させるとともに、当
該分周回路の少なくとも初段の分周部が正常に動作した
か否かを判別する切換回路を有する。
In order to achieve the above-mentioned object, the present invention is a timer device comprising a plurality of frequency divider circuits and sequentially performing an operation test of each of the frequency divider circuits.
When a signal that has passed through the divider circuit at the previous stage is received during test operation, the signal is input to the divider circuit at the next stage, and it is determined whether at least the divider unit at the first stage of the divider circuit operates normally. And a switching circuit for switching.

【0008】また、上記切換回路は、正常と判別した時
に前段の分周回路を通過した信号に代えて、当該信号よ
り高周波数の信号を次段の分周回路に入力させる。
Further, the above switching circuit inputs a signal having a higher frequency than that signal to the frequency dividing circuit of the next stage in place of the signal which has passed through the frequency dividing circuit of the preceding stage when it is determined to be normal.

【0009】本発明のタイマ装置によれば、テスト動作
時には、まず初段の分周回路を通過し分周作用を受けた
信号が切換回路に入力され、切換回路によりさらに次段
の分周回路に入力される。そして、次段の分周回路で
は、通常の分周動作が行われるが、このとき、たとえば
初段の分周部の出力が切換回路に帰還されて正常に動作
したか否かの判別が行われる。以下同様の手順で各分周
回路のテストが順次に行われる。また、切換回路から
は、正常と判別した時に前段の分周回路を通過した信号
から当該信号より高周波数の信号に切り換えられて次段
の分周回路に入力され、高速のテスト動作が行われる。
According to the timer device of the present invention, during a test operation, a signal which has passed through the frequency dividing circuit at the first stage and has been subjected to the frequency dividing action is input to the switching circuit, and then the switching circuit causes the frequency dividing circuit at the next stage to further. Is entered. Then, in the frequency dividing circuit in the next stage, a normal frequency dividing operation is performed. At this time, for example, it is determined whether or not the output of the frequency dividing unit in the first stage is fed back to the switching circuit and operates normally. . Thereafter, each frequency divider circuit is sequentially tested in the same procedure. Further, from the switching circuit, when it is determined that the signal is normal, the signal that has passed through the frequency dividing circuit at the previous stage is switched to a signal having a higher frequency than the signal and input to the frequency dividing circuit at the next stage, and high-speed test operation is performed. .

【0010】[0010]

【発明の実施の形態】以下に、本発明の一実施の形態
を、図1および図2を参照して説明する。図1は本発明
に係るタイマ装置の一実施の形態の構成を示すブロック
図、図2は本実施の形態の構成を示す回路図である。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be described below with reference to FIGS. FIG. 1 is a block diagram showing a configuration of an embodiment of a timer device according to the present invention, and FIG. 2 is a circuit diagram showing a configuration of the present embodiment.

【0011】本タイマ装置は、図1に示すように、45
0kHzの発振信号を出力する発振器4、前置分周回路
5、3つの分周回路11,12,13および切換回路1
4a,14bからなるタイマ回路10、並びに切換スイ
ッチ15により構成されている。
As shown in FIG. 1, this timer device has a 45
An oscillator 4 that outputs an oscillation signal of 0 kHz, a prescaler circuit 5, three frequency divider circuits 11, 12, 13 and a switching circuit 1
The timer circuit 10 includes 4a and 14b, and a changeover switch 15.

【0012】発振器4には前置分周回路5が接続されて
おり、前置分周回路5は、通常モード時には30Hzの
計時信号を出力し、テストモード時には1800Hzの
テスト信号STを出力する。なお、通常モード時には切
換スイッチ15がオフ状態に保持され、テストモード時
には切換スイッチ15がオン状態に保持される。
A prescaler circuit 5 is connected to the oscillator 4, and the prescaler circuit 5 outputs a clock signal of 30 Hz in the normal mode and a test signal ST of 1800 Hz in the test mode. The changeover switch 15 is held in the off state in the normal mode, and is kept in the on state in the test mode.

【0013】分周回路11,12,13は、複数のフリ
ップフロップ16の直列接続回路を含み、それぞれ計時
信号を1/162分周、250分周、32分周して、出
力端子から分周された計時信号を出力するように構成さ
れている。
The frequency dividing circuits 11, 12 and 13 include a circuit in which a plurality of flip-flops 16 are connected in series, and divide the clock signal by 1/162, 250 and 32, respectively, and divide it from the output terminal. It is configured to output the measured time signal.

【0014】切換回路14aは、フリップフロップ1
7、2入力ナンド回路18a,18b,18c、2入力
アンド回路19により構成されている。ナンド回路18
aおよびアンド回路19の一方の入力端子は入力端子T
4に接続され、アンド回路19の出力端子がフリップフ
ロップ17のC端子に接続されている。フリップフロッ
プ17のQ端子がナンド回路18aの他方の入力端子に
接続され、フリップフロップ17の(/Q)端子がナン
ド回路18bの一方の入力端子に接続され、ナンド回路
18a、18bの出力端子がナンド回路18cの両入力
端子にそれぞれ接続されている。そして、切換回路14
bは、ナンド回路18bの一方の入力端子が、分周回路
12の出力端子に接続されていることを除いては、切換
回路14aと同一の構成となっている。
The switching circuit 14a includes a flip-flop 1
It is composed of a 7-input and 2-input NAND circuits 18a, 18b, 18c and a 2-input AND circuit 19. NAND circuit 18
a and one input terminal of the AND circuit 19 is an input terminal T
4 and the output terminal of the AND circuit 19 is connected to the C terminal of the flip-flop 17. The Q terminal of the flip-flop 17 is connected to the other input terminal of the NAND circuit 18a, the (/ Q) terminal of the flip-flop 17 is connected to one input terminal of the NAND circuit 18b, and the output terminals of the NAND circuits 18a and 18b are connected. It is connected to both input terminals of the NAND circuit 18c. Then, the switching circuit 14
b has the same configuration as the switching circuit 14a except that one input terminal of the NAND circuit 18b is connected to the output terminal of the frequency dividing circuit 12.

【0015】さらに、切換回路14aのナンド回路18
cの出力端子が、分周回路12の初段のフリップフロッ
プ16のC端子に接続され、この初段のフリップフロッ
プ16のQ端子が切換回路14aのアンド回路19の他
方の入力端子に接続されている。初段のフリップフロッ
プ16のD端子と(/Q)端子が互いに接続され、この
(/Q)端子は、次段のフリップフロップ16のC端子
に接続されている。
Further, the NAND circuit 18 of the switching circuit 14a.
The output terminal of c is connected to the C terminal of the first-stage flip-flop 16 of the frequency dividing circuit 12, and the Q terminal of this first-stage flip-flop 16 is connected to the other input terminal of the AND circuit 19 of the switching circuit 14a. . The D terminal and (/ Q) terminal of the first stage flip-flop 16 are connected to each other, and this (/ Q) terminal is connected to the C terminal of the next stage flip-flop 16.

【0016】同様に、切換回路14bのナンド回路18
cの出力端子が、分周回路13の初段のフリップフロッ
プ16のC端子に接続され、この初段のフリップフロッ
プ16のQ端子が切換回路14bのナンド回路19の他
方の入力端子に接続されている。初段のフリップフロッ
プ16のD端子と(/Q)端子が互いに接続され、この
(/Q)端子は、次段のフリップフロップ16のC端子
に接続されている。
Similarly, the NAND circuit 18 of the switching circuit 14b.
The output terminal of c is connected to the C terminal of the first-stage flip-flop 16 of the frequency dividing circuit 13, and the Q terminal of this first-stage flip-flop 16 is connected to the other input terminal of the NAND circuit 19 of the switching circuit 14b. . The D terminal and (/ Q) terminal of the first stage flip-flop 16 are connected to each other, and this (/ Q) terminal is connected to the C terminal of the next stage flip-flop 16.

【0017】切換回路14aおよび14bは、切換スイ
ッチ15の出力信号を受け、オフ状態時の出力信号を受
けると通常モードで動作し、オン状態の出力信号を受け
るとテストモードで動作する。
The changeover circuits 14a and 14b receive the output signal of the changeover switch 15 and operate in the normal mode when receiving the output signal in the off state, and operate in the test mode when receiving the output signal in the on state.

【0018】このような構成の本実施の形態の基本的な
動作を、図3を参照して説明する。本実施の形態では、
切換スイッチ15がオフ状態に保持される通常計時動作
モード時には、図3(a)に示すように、前置分周回路
5から出力された計時信号は、分周回路11から切換回
路14aを介して分周回路12に入力され、さらに切換
回路14bを介して分周回路13に入力され、分周回路
11,12,13からなるタイマ回路10での計時動作
が行われる。そして、分周回路11,12,13から
は、それぞれの計時信号が出力され、これらの計時信号
で、たとえば電子蚊取線香の点火、あるいは動作停止の
制御が行われる。
The basic operation of this embodiment having such a configuration will be described with reference to FIG. In this embodiment,
In the normal timekeeping operation mode in which the changeover switch 15 is held in the off state, the timekeeping signal output from the prescaler circuit 5 is passed from the frequency divider circuit 11 through the changeover circuit 14a as shown in FIG. 3 (a). Is input to the frequency dividing circuit 12 and then to the frequency dividing circuit 13 via the switching circuit 14b, and the timer circuit 10 including the frequency dividing circuits 11, 12 and 13 performs the time counting operation. The frequency dividing circuits 11, 12 and 13 output respective clock signals, which are used to control, for example, the ignition of the electronic mosquito coil or the stop of the operation.

【0019】また、切換スイッチ15がオン状態に保持
されるテストモード動作時には、同図(b)に示すよう
に、前置分周回路5からの高周波数テスト信号STは、
分周回路11と切換回路14a,14bとに入力され、
分周回路11で分周作用を受けたが信号が分周回路12
に入力される。分周回路12では、切換回路14aを介
して入力された分周回路11の出力信号に基づいて動作
した初段の結果が切換回路14aに帰還される。切換回
路14aでは、帰還された信号が正常の動作をしたか否
かの判別が行われ、正常に動作していると判別される
と、分周回路11の出力信号に代えて、前置分周回路5
から出力された高周波数テスト信号STが分周回路12
に入力される。そして、高周波数テスト信号STに基づ
いて分周動作が行われ、分周作用を受けた信号が分周回
路12から切換回路14bに出力される。
Further, during the test mode operation in which the changeover switch 15 is held in the ON state, the high frequency test signal ST from the prescaler circuit 5 is, as shown in FIG.
Input to the frequency dividing circuit 11 and the switching circuits 14a and 14b,
Although the frequency dividing circuit 11 has received the frequency dividing action, the signal is divided by the frequency dividing circuit 12.
Is input to In the frequency dividing circuit 12, the result of the first stage operated based on the output signal of the frequency dividing circuit 11 input via the switching circuit 14a is fed back to the switching circuit 14a. In the switching circuit 14a, it is determined whether or not the fed-back signal operates normally. When it is determined that the feedback signal is operating normally, the output signal of the frequency dividing circuit 11 is replaced by the pre-division signal. Circuit 5
The high frequency test signal ST output from the frequency divider circuit 12
Is input to Then, the frequency dividing operation is performed based on the high frequency test signal ST, and the frequency-divided signal is output from the frequency dividing circuit 12 to the switching circuit 14b.

【0020】切換回路14bに入力された分周回路12
の出力信号は、分周回路13に入力され、分周回路13
では、切換回路14aを介して入力された分周回路12
の出力信号の基づいて動作した初段の結果が切換回路1
4bに帰還される。切換回路14bでは、帰還された信
号が正常の動作をしたか否かの判別が行われ、正常に動
作していると判別されると、分周回路12の出力信号に
代えて、前置分周回路5から出力された高周波数テスト
信号STが分周回路13に入力される。そして、高周波
数テスト信号STに基づいて分周動作が行われ、分周作
用を受けた信号が出力テスト信号として出力される。
The frequency dividing circuit 12 input to the switching circuit 14b
The output signal of is input to the frequency dividing circuit 13, and the frequency dividing circuit 13
Then, the frequency dividing circuit 12 inputted through the switching circuit 14a
The result of the first stage operated based on the output signal of the switching circuit 1
Returned to 4b. In the switching circuit 14b, it is determined whether or not the fed-back signal operates normally. If it is determined that the feedback signal is operating normally, the output signal of the frequency dividing circuit 12 is replaced by the pre-division signal. The high frequency test signal ST output from the frequency dividing circuit 5 is input to the frequency dividing circuit 13. Then, the frequency dividing operation is performed based on the high frequency test signal ST, and the signal subjected to the frequency dividing operation is output as the output test signal.

【0021】この本実施の形態の動作を、図1に基づい
てさらに詳細に説明する。 [計時動作]計時動作時には、まず、計時信号に基づく
分周回路11での計時動作が行われる。このとき、切換
回路14aのアンド回路19の入力端子の信号の論理値
は何れも「0」で、アンド回路19の出力端子の信号の
論理値は「0」となり、フリップフロップ17のC端子
の信号の論理値は「0」、Q端子の信号の論理値は
「0」、(/Q)端子の信号の論理値は「1」となって
いる。
The operation of this embodiment will be described in more detail with reference to FIG. [Timekeeping Operation] In the timekeeping operation, first, the timekeeping operation is performed in the frequency dividing circuit 11 based on the timekeeping signal. At this time, the logical value of the signal at the input terminal of the AND circuit 19 of the switching circuit 14a is "0", the logical value of the signal at the output terminal of the AND circuit 19 is "0", and the logical value of the C terminal of the flip-flop 17 is The logical value of the signal is “0”, the logical value of the signal of the Q terminal is “0”, and the logical value of the signal of the (/ Q) terminal is “1”.

【0022】したがって、分周回路11の出力端子の信
号の論理値が「0」である間は、切換回路14aのナン
ド回路18bの一方の入力端子の信号の論理値は「0」
で、他方の入力端子の信号の論理値が「1」であるため
に、ナンド回路18bの出力端子の信号の論理値は
「1」を維持している。一方、切換回路14aのナンド
回路18aの入力端子の信号の論理値は、何れも「0」
であり、ナンド回路18aの出力端子の信号の論理値は
「1」である。したがって、切換回路14aのナンド回
路18cの入力端子は、何れも信号の論理値が「1」で
あるために、ナンド回路18cの出力端子の信号の論理
値は「0」となっている。
Therefore, while the logical value of the signal at the output terminal of the frequency dividing circuit 11 is "0", the logical value of the signal at one input terminal of the NAND circuit 18b of the switching circuit 14a is "0".
Since the logical value of the signal of the other input terminal is "1", the logical value of the signal of the output terminal of the NAND circuit 18b maintains "1". On the other hand, the logical values of the signals at the input terminals of the NAND circuit 18a of the switching circuit 14a are all "0".
The logical value of the signal at the output terminal of the NAND circuit 18a is "1". Therefore, since the input terminal of the NAND circuit 18c of the switching circuit 14a has a logical value of "1", the logical value of the signal at the output terminal of the NAND circuit 18c is "0".

【0023】そして、この状態から、計時信号が分周回
路11でカウントアップされ、分周回路11の出力端子
の信号の論理値が「1」になると、切換回路14aのナ
ンド回路18bの第1の入力端子の信号の論理値が、
「0」から「1」に変化し、ナンド回路18bの出力端
子の信号の論理値が「1」から「0」に変化する。この
ために、切換回路14aのナンド回路18cの出力端子
の信号の論理値が、「0」から「1」に変化し、分周回
路11を通過した計時信号が、分周回路12に入力さ
れ、分周回路12の計時動作が開始される。
From this state, the clock signal is counted up by the frequency dividing circuit 11, and when the logical value of the signal at the output terminal of the frequency dividing circuit 11 becomes "1", the first signal of the NAND circuit 18b of the switching circuit 14a is changed. The logical value of the signal at the input terminal of
It changes from "0" to "1", and the logical value of the signal at the output terminal of the NAND circuit 18b changes from "1" to "0". Therefore, the logical value of the signal at the output terminal of the NAND circuit 18c of the switching circuit 14a changes from "0" to "1", and the clock signal passing through the frequency dividing circuit 11 is input to the frequency dividing circuit 12. The clocking operation of the frequency dividing circuit 12 is started.

【0024】切換回路14bでも、分周回路13に対し
て、切換回路14aの分周回路12に対する動作と同様
の動作が行われ、分周回路12を通過した計時信号が、
分周回路13に入力され、分周回路13の計時動作が開
始される。
Also in the switching circuit 14b, the same operation as the operation of the switching circuit 14a with respect to the frequency dividing circuit 12 is performed with respect to the frequency dividing circuit 13, and the clock signal passing through the frequency dividing circuit 12 is
This is input to the frequency dividing circuit 13, and the time counting operation of the frequency dividing circuit 13 is started.

【0025】[テスト計時動作]テスト計時動作時に
は、前置分周回路5からのテスト信号STは、分周回路
11に入力され、分周回路11でのテスト計時動作が開
始され、同時にテスト信号STは、切換回路14a、1
4bに入力される。テスト信号STによって、切換回路
14aのアンド回路19の一方の入力端子の信号の論理
値は「1」となるが、他方の入力端子の信号(分周回路
12の初段のフリップフロップ16のQ端子からの出力
信号)の論理値は「0」で、アンド回路21の出力端子
の信号の論理値は「0」である。このために、切換回路
14aのフリップフロップ17のC端子の信号の論理値
は「0」、Q端子の信号の論理値は「0」、(/Q)端
子の信号の論理値は「1」となっている。
[Test Timekeeping Operation] During the test timekeeping operation, the test signal ST from the prescaler circuit 5 is input to the frequency divider circuit 11 and the test timekeeping operation in the frequency divider circuit 11 is started, and at the same time the test signal ST ST is a switching circuit 14a, 1
4b is input. By the test signal ST, the logical value of the signal of one input terminal of the AND circuit 19 of the switching circuit 14a becomes "1", but the signal of the other input terminal (the Q terminal of the flip-flop 16 at the first stage of the frequency dividing circuit 12). Output signal) is "0", and the signal at the output terminal of the AND circuit 21 is "0". Therefore, the logical value of the signal at the C terminal of the flip-flop 17 of the switching circuit 14a is "0", the logical value of the signal at the Q terminal is "0", and the logical value of the signal at the (/ Q) terminal is "1". Has become.

【0026】したがって、切換回路14aのナンド回路
18aの一方の入力端子の信号の論理値は「1」、他方
の入力端子の信号の論理値は「0」となり、ナンド回路
18aの出力端子の信号の論理値は「1」である。ま
た、切換回路14aのナンド回路18bの一方の入力端
子の信号の論理値は、分周回路11のテスト計時動作が
終了しない限り「0」であり、他方の入力端子の信号の
論理値は「1」である。このために、ナンド回路18b
の出力端子の信号の論理値は、分周回路11のテスト計
時動作が終了しない限り「1」である。したがって、切
換回路14aのナンド回路18cの入力端子の信号の論
理値は、何れも「1」であり、ナンド回路18cの出力
端子の信号の論理値は「0」となっている。
Therefore, the logical value of the signal at one input terminal of the NAND circuit 18a of the switching circuit 14a becomes "1", the logical value of the signal at the other input terminal becomes "0", and the signal at the output terminal of the NAND circuit 18a becomes. Has a logical value of "1". The logical value of the signal at one input terminal of the NAND circuit 18b of the switching circuit 14a is "0" unless the test timing operation of the frequency dividing circuit 11 is completed, and the logical value of the signal at the other input terminal is " 1 ". For this purpose, the NAND circuit 18b
The logical value of the signal at the output terminal of is 1 unless the test timing operation of the frequency dividing circuit 11 is completed. Therefore, the logical value of the signal at the input terminal of the NAND circuit 18c of the switching circuit 14a is "1", and the logical value of the signal at the output terminal of the NAND circuit 18c is "0".

【0027】この状態から、分周回路11でのテスト計
時動作が終了し、カウントアップされた信号が分周回路
11から出力されると、切換回路14aのナンド回路1
8bの一方の入力端子の信号の論理値が「0」から
「1」に変化し、ナンド回路18bの出力端子の信号の
論理値が、「1」から「0」に変化する。したがって、
切換回路14aのナンド回路18cの出力端子の信号の
論理値は、「0」から「1」に変化し、分周回路11で
のテスト計時動作の終了と同時に、テスト信号STが、
切換回路14aのナンド回路18aを介して直接分周回
路12に入力され、分周回路12での分周回路11の出
力信号によるテスト計時動作が開始される。
From this state, when the test timing operation in the frequency dividing circuit 11 is completed and the counted-up signal is outputted from the frequency dividing circuit 11, the NAND circuit 1 of the switching circuit 14a.
The logical value of the signal of one input terminal of 8b changes from "0" to "1", and the logical value of the signal of the output terminal of the NAND circuit 18b changes from "1" to "0". Therefore,
The logical value of the signal at the output terminal of the NAND circuit 18c of the switching circuit 14a changes from "0" to "1", and at the same time when the test timing operation in the frequency dividing circuit 11 ends, the test signal ST changes to
It is directly input to the frequency dividing circuit 12 via the NAND circuit 18a of the switching circuit 14a, and the test timing operation is started by the output signal of the frequency dividing circuit 11 in the frequency dividing circuit 12.

【0028】そして、分周回路12の初段のフリップフ
ロップ16のC端子の信号の論理値は「1」であること
から、初段のフリップフロップ16のQ端子の信号の論
理値は「1」となり、切換回路14aのアンド回路19
の他方の入力端子に入力され、アンド回路19の出力が
論理値「1」となってフリップフロップ17のC端子に
入力される。これにより、フリップフロップ17のQ端
子、(/Q)端子の信号の論理値が反転し、初段のフリ
ップフロップ16が正常に動作したことが確認されると
同時に、分周回路11の出力信号に代えて、前置分周回
路5の高周波テスト信号STが分周回路12に入力さ
れ、テスト動作が続行される。
Since the logical value of the signal at the C terminal of the first stage flip-flop 16 of the frequency dividing circuit 12 is "1", the logical value of the signal at the Q terminal of the first stage flip-flop 16 becomes "1". AND circuit 19 of switching circuit 14a
Is input to the other input terminal of the AND circuit 19 and the output of the AND circuit 19 becomes a logical value "1" and is input to the C terminal of the flip-flop 17. As a result, the logical values of the signals at the Q terminal and (/ Q) terminal of the flip-flop 17 are inverted, and it is confirmed that the first-stage flip-flop 16 operates normally, and at the same time, the output signal of the frequency dividing circuit 11 is output. Instead, the high frequency test signal ST of the prescaler circuit 5 is input to the divider circuit 12, and the test operation is continued.

【0029】切換回路14bの分周回路13に対する動
作は、切換回路14aの分周回路12に対する動作と同
一であり、分周回路12でのテスト計時動作が終了する
と、切換回路14bの切換動作によって、分周回路13
に前置分周回路5からのテスト信号が、切換回路14b
のナンド回路18aを介して、直接分周回路13に入力
され、分周回路13でのテスト信号STによるテスト計
時動作が開始される。
The operation of the switching circuit 14b with respect to the frequency dividing circuit 13 is the same as the operation of the switching circuit 14a with respect to the frequency dividing circuit 12, and when the test timing operation in the frequency dividing circuit 12 is completed, the switching operation of the switching circuit 14b is performed. , Divider circuit 13
The test signal from the prescaler circuit 5 to the switching circuit 14b.
Is directly input to the frequency dividing circuit 13 via the NAND circuit 18a, and the test time counting operation is started by the test signal ST in the frequency dividing circuit 13.

【0030】このように、本実施の形態によると、タイ
マ回路10のテスト信号によるテスト計時動作時に、前
置分周回路5からのテスト信号により、まず、初段の分
周回路11のテスト計時動作を行わせ、分周回路11の
テスト計時動作が終了すると、分周回路11の出力信号
で分周回路12の初段を動作させ、その動作が正常なら
ば分周回路11の出力信号に代えて高周波のテスト信号
を分周回路12に入力させて分周回路12のテスト計時
動作を行わせ、同様に、分周回路12のテスト計時動作
の終了後に、分周回路12の出力信号で分周回路13の
初段を動作させ、その動作が正常ならば分周回路12の
出力信号に代えて高周波のテスト信号を分周回路13に
入力させて分周回路13のテスト計時動作を行わるよう
にしたので、たとえば、電子蚊取線香に使用し、長時間
の計時を行うタイマ装置の各分周回路11,12,13
のテスト計時動作を、各分周回路11,12,13ごと
に的確にかつテスト時間を大幅に短縮して行うことが可
能になる。また切換回路14a,14bが、分周回路に
対応して一体的に接続されているので、切換回路14
a,14bに対して別途に動作テストを行う必要がな
く、タイマ装置のテスト計時動作を、簡単な操作で効率
的に行うことが可能になる。
As described above, according to the present embodiment, at the time of the test timing operation of the timer circuit 10 based on the test signal, the test timing operation of the first stage frequency divider circuit 11 is first performed by the test signal from the prescaler circuit 5. When the test timing operation of the frequency dividing circuit 11 is completed, the first stage of the frequency dividing circuit 12 is operated by the output signal of the frequency dividing circuit 11, and if the operation is normal, the output signal of the frequency dividing circuit 11 is replaced. A high-frequency test signal is input to the frequency dividing circuit 12 to perform a test time counting operation of the frequency dividing circuit 12, and similarly, after the test time counting operation of the frequency dividing circuit 12 is completed, frequency division is performed using the output signal of the frequency dividing circuit 12. If the first stage of the circuit 13 is operated, and if the operation is normal, a high-frequency test signal is input to the frequency dividing circuit 13 instead of the output signal of the frequency dividing circuit 12 to perform the test timing operation of the frequency dividing circuit 13. Because I did If, using the electronic mosquito coil, each dividing circuit of the timer device for a long time of time counting 11, 12, 13
It is possible to perform the test time counting operation of each of the frequency dividing circuits 11, 12 and 13 accurately and with a significantly reduced test time. Further, since the switching circuits 14a and 14b are integrally connected corresponding to the frequency dividing circuit, the switching circuit 14a
It is not necessary to separately perform an operation test on a and 14b, and it becomes possible to efficiently perform the test timekeeping operation of the timer device with a simple operation.

【0031】なお、本実施の形態では、分周回路12,
13から帰還される信号に基づいて初段の分周部の動作
が正常に行われたか否かの判別を行い、正常ならば、前
置分周回路5からの高周波数のテスト信号を入力してテ
スト分周動作を行うように構成したが、これに限定され
るものではなく、外部から高周波数のテスト信号を供給
する、あるいは、各段毎に周波数の異なる高周波数テス
ト信号を供給する等、種々の態様が可能である。
In this embodiment, the frequency dividing circuit 12,
Based on the signal returned from 13, it is determined whether or not the operation of the frequency division unit in the first stage is normally performed, and if normal, the high frequency test signal from the prescaler circuit 5 is input. Although it is configured to perform the test frequency dividing operation, it is not limited to this, a high frequency test signal is supplied from the outside, or a high frequency test signal having a different frequency for each stage is supplied. Various embodiments are possible.

【0032】[0032]

【発明の効果】以上説明したように、本発明のタイマ装
置によれば、長時間動作のタイマ装置の動作テストを、
各段の分周回路ごとに、短時間で効率的に行うことがで
きる。
As described above, according to the timer device of the present invention, the operation test of the long-time operation timer device is performed.
This can be efficiently performed in a short time for each frequency dividing circuit in each stage.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施形態の構成を示すブロック図で
ある。
FIG. 1 is a block diagram showing a configuration of an embodiment of the present invention.

【図2】本発明の一実施形態の構成を示す回路図であ
る。
FIG. 2 is a circuit diagram showing a configuration of an embodiment of the present invention.

【図3】同実施形態の原理説明図である。FIG. 3 is a diagram illustrating the principle of the embodiment.

【図4】従来のタイマ装置の構成を示すブロック図であ
る。
FIG. 4 is a block diagram showing a configuration of a conventional timer device.

【符号の説明】[Explanation of symbols]

4…発振器 5…前置分周回路 10…タイマ回路 11,12,13…分周回路 14a,14b…切換回路 15…切換スイッチ 16,17…フリップフロップ 18a,18b,18c…ナンド回路 19…アンド回路 4 ... Oscillator 5 ... Prescaler circuit 10 ... Timer circuit 11, 12, 13 ... Frequency divider circuit 14a, 14b ... Changeover circuit 15 ... Changeover switch 16, 17 ... Flip-flops 18a, 18b, 18c ... NAND circuit 19 ... AND circuit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数段の分周回路を備え、上記各段の分
周回路の動作テストを順次に行うタイマ装置であって、 テスト動作時に前段の分周回路を通過した信号を受ける
と次段の分周回路に当該信号を入力させるとともに、当
該分周回路の少なくとも初段の分周部が正常に動作した
か否かを判別する切換回路を有するタイマ装置。
1. A timer device comprising a plurality of stages of frequency divider circuits for sequentially performing an operation test of the frequency divider circuits of the respective stages, wherein when a signal passed through a frequency divider circuit of the preceding stage is received during a test operation, A timer device having a switching circuit for inputting the signal to a frequency dividing circuit of a stage and determining whether or not at least a frequency dividing unit at a first stage of the frequency dividing circuit operates normally.
【請求項2】 上記切換回路は、正常と判別した時に前
段の分周回路を通過した信号に代えて、当該信号より高
周波数の信号を次段の分周回路に入力させる請求項1記
載のタイマ装置。
2. The switching circuit inputs a signal of a frequency higher than the signal to the frequency dividing circuit of the next stage in place of the signal which has passed through the frequency dividing circuit of the preceding stage when it is determined to be normal. Timer device.
JP07208180A 1995-08-15 1995-08-15 Timer device Expired - Fee Related JP3124912B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP07208180A JP3124912B2 (en) 1995-08-15 1995-08-15 Timer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP07208180A JP3124912B2 (en) 1995-08-15 1995-08-15 Timer device

Publications (2)

Publication Number Publication Date
JPH0955648A true JPH0955648A (en) 1997-02-25
JP3124912B2 JP3124912B2 (en) 2001-01-15

Family

ID=16551995

Family Applications (1)

Application Number Title Priority Date Filing Date
JP07208180A Expired - Fee Related JP3124912B2 (en) 1995-08-15 1995-08-15 Timer device

Country Status (1)

Country Link
JP (1) JP3124912B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10361079A1 (en) * 2003-04-09 2004-12-09 Elan Schaltelemente Gmbh & Co. Kg Timing member for evaluating signal condition for monitoring and evaluating position switches for lasers, e.g. in robot treatment cells for car body treating
JP2007208524A (en) * 2006-01-31 2007-08-16 Mitsumi Electric Co Ltd Timer circuit

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2947592B1 (en) * 2009-07-06 2015-05-15 Airbus Operations Sas DEVICE FOR THE MECHANICAL BONDING OF AT LEAST TWO COAXIALLY BORED PIECES

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10361079A1 (en) * 2003-04-09 2004-12-09 Elan Schaltelemente Gmbh & Co. Kg Timing member for evaluating signal condition for monitoring and evaluating position switches for lasers, e.g. in robot treatment cells for car body treating
JP2007208524A (en) * 2006-01-31 2007-08-16 Mitsumi Electric Co Ltd Timer circuit

Also Published As

Publication number Publication date
JP3124912B2 (en) 2001-01-15

Similar Documents

Publication Publication Date Title
KR900001242B1 (en) Semiconductor ic with circuit for internal circuit test
JPH0955648A (en) Timer
US4331926A (en) Programmable frequency divider
JP3523362B2 (en) Clock circuit and processor using the same
US5086441A (en) Frequency divider circuit
JP4240657B2 (en) Counting device and driving method thereof
JPS62285078A (en) Integrated circuit with frequency dividing test function
JP3736190B2 (en) Digital filter
JP2953713B2 (en) Semiconductor integrated circuit
JP3463666B2 (en) Semiconductor integrated circuit and inspection method thereof
KR100239446B1 (en) Test circuit of frequency composition unit having autoloachaing function
JPH11219226A (en) Clock input circuit
JPS6252837B2 (en)
JPH0744417A (en) Test circuit for microcomputer
JPH0232595B2 (en)
JP3685419B2 (en) Testability circuit
JPH07287052A (en) Logic integrated circuit with scan path
JPS635713B2 (en)
JPH04344711A (en) Frequency divider
JPH0545422A (en) Testing method for synchronizing circuit
JP2821363B2 (en) Semiconductor integrated circuit
JPH0879066A (en) Lock detector for phase locked loop circuit
JPH02180428A (en) Reset circuit
JPS63292719A (en) Counter circuit
JPS58201151A (en) Integrated circuit

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees