JP2000241565A - Timer circuit - Google Patents

Timer circuit

Info

Publication number
JP2000241565A
JP2000241565A JP4538699A JP4538699A JP2000241565A JP 2000241565 A JP2000241565 A JP 2000241565A JP 4538699 A JP4538699 A JP 4538699A JP 4538699 A JP4538699 A JP 4538699A JP 2000241565 A JP2000241565 A JP 2000241565A
Authority
JP
Japan
Prior art keywords
reference voltage
current
potential
circuit
constant current
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
JP4538699A
Other languages
Japanese (ja)
Inventor
Hisaharu Ito
久治 伊藤
Kazunori Kidera
和憲 木寺
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.)
Panasonic Electric Works Co Ltd
Original Assignee
Matsushita Electric Works 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 Matsushita Electric Works Ltd filed Critical Matsushita Electric Works Ltd
Priority to JP4538699A priority Critical patent/JP2000241565A/en
Publication of JP2000241565A publication Critical patent/JP2000241565A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a timer circuit for measuring time accurately even if measurement time is long. SOLUTION: A timer circuit is provided with a constant current output part 11 for outputting a constant current, a charge part C1 that is charged by the constant current output part 11, a first signal comparison part 14 for outputting a first timer signal to an external circuit to be controlled when the potential of the charge part C1 is higher than a first reference voltage by comparing the first reference voltage with the potential of the charge part C1, and a second signal comparison part 14 for outputting a second timer signal to an external circuit to be controlled when the potential of the charge part C1 is higher than a second reference voltage by comparing the second reference voltage that is higher than the first reference voltage with the potential of the charge part C1. In the timer circuit, a current-switching part 16 for switching current that is outputted from the constant current output part is connected to the constant current output part.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、タイマ回路に関
し、詳しくは複数の時間を計測することが可能なタイマ
回路に関する。
The present invention relates to a timer circuit, and more particularly to a timer circuit capable of measuring a plurality of times.

【0002】[0002]

【従来の技術】従来の技術のタイマ回路を図6乃至図1
0を用いて説明する。図6はタイマ回路の回路図であ
る。図7はタイマ回路の計測する時間と基準電圧とコン
デンサの電位との関係を示す動作説明図である。図8は
タイマ回路のチャタリングの動作説明図である。図9は
他のタイマ回路の回路図である。図10はタイマ回路の
計測する時間と基準電圧との関係を示す動作説明図であ
る。
2. Description of the Related Art A conventional timer circuit is shown in FIGS.
Explanation will be made using 0. FIG. 6 is a circuit diagram of the timer circuit. FIG. 7 is an operation explanatory diagram showing the relationship between the time measured by the timer circuit, the reference voltage, and the potential of the capacitor. FIG. 8 is an explanatory diagram of the chattering operation of the timer circuit. FIG. 9 is a circuit diagram of another timer circuit. FIG. 10 is an operation explanatory diagram showing the relationship between the time measured by the timer circuit and the reference voltage.

【0003】従来よりタイマ回路としては、コンデンサ
に充電される電荷量の増加により、電荷量がある一定レ
ベル以上となった場合に、タイマ信号を出力するように
なされているものがある。この種のタイマ回路は、例え
ば図6に示すように、定電流回路1と、基準電圧発生回
路2,3と、信号比較器4,5と、コンデンサCとを有
して構成されている。
Conventionally, there is a timer circuit that outputs a timer signal when the amount of charge charged to a capacitor increases to a certain level or more due to an increase in the amount of charge. As shown in FIG. 6, for example, this type of timer circuit includes a constant current circuit 1, reference voltage generation circuits 2 and 3, signal comparators 4 and 5, and a capacitor C.

【0004】このものにあっては、信号比較器4,5
が、コンデンサCに充電される電位と、基準電圧発生回
路2,3で設定される基準電圧Vref1、Vref2
とを各々比較して、コンデンサCに充電される電位が基
準電圧Vref1、Vref2を超える場合にタイマ信
号S1,S2を出力するようなされ、これにより2つの
時間を計測していた。
In this case, the signal comparators 4, 5
Are the potential charged in the capacitor C and the reference voltages Vref1, Vref2 set by the reference voltage generation circuits 2 and 3.
Are compared, the timer signals S1 and S2 are output when the potential charged in the capacitor C exceeds the reference voltages Vref1 and Vref2, thereby measuring two times.

【0005】このようなタイマ回路は、例えばHIDラ
ンプ等のような高圧放電灯に用いられており、点灯直後
と点灯後数秒との2回のタイミングを与える働きをして
いる。高圧放電灯では該2回のタイミングで点灯異常を
検出している。
[0005] Such a timer circuit is used for a high-pressure discharge lamp such as an HID lamp, for example, and has a function of giving two timings immediately after lighting and several seconds after lighting. In the high-pressure discharge lamp, lighting abnormality is detected at the two timings.

【0006】[0006]

【発明が解決しようとする課題】ところで、上述のよう
な図6に示すタイマ回路にあっては、計測時間の長いタ
イマ回路を構成しようとした場合に、コンデンサの容量
を大きくするか、又は定電流回路の電流値を小さくする
必要がある。しかしながら、コンデンサの容量を大きく
するとコストが高くなるため、電流値を小さくする方法
を採用する場合が多い。
In the above-described timer circuit shown in FIG. 6, when a timer circuit having a long measurement time is to be constructed, the capacity of the capacitor must be increased or the constant value must be increased. It is necessary to reduce the current value of the current circuit. However, since increasing the capacity of the capacitor increases the cost, a method of reducing the current value is often used.

【0007】つまり、計測時間として、図7に示すよう
に時刻t0から時刻t1までを計測する計測時間T1
と、時刻t0から時刻t2までを計測する計測時間T2
とがある場合、時刻t0から時刻t2までの時間が長い
ときには、電流値を小さくして徐々にコンデンサCを充
電することになる。この場合、電位の上昇を表す直線L
の傾きが小さくなる。ところで、電流には多少のノイズ
等が重畳されていることが多く、電流にノイズが重畳さ
れていると、コンデンサCの電位は、図8に示すよう
に、ミクロ的には電位が上下を繰り返しつつ全体として
電位が上昇するものとなる。この場合には、コンデンサ
Cの電位は基準電圧付近でも上下に変化しており、一時
的に基準電圧Vref1や基準電圧Vref2を超えた
り下回ったりを数回繰り返すことがある。すると信号比
較器の出力としては図8に示すように、highとLow とを
数回繰り返すいわゆるチャタリングが生じる。
That is, as shown in FIG. 7, a measurement time T1 for measuring from time t0 to time t1 is used as the measurement time.
And a measurement time T2 for measuring from time t0 to time t2.
When the time from time t0 to time t2 is long, the current value is reduced and the capacitor C is gradually charged. In this case, a straight line L representing a rise in potential
Becomes smaller. By the way, a little noise or the like is often superimposed on the current, and when the noise is superimposed on the current, as shown in FIG. Meanwhile, the potential increases as a whole. In this case, the potential of the capacitor C changes up and down even near the reference voltage, and may temporarily exceed or fall below the reference voltage Vref1 or Vref2 several times. Then, as shown in FIG. 8, so-called chattering in which high and low are repeated several times occurs as an output of the signal comparator.

【0008】従って、このチャタリングにより、正確に
時刻t1、t2を判別することが難しくなっているとい
う問題点があった。そして、このチャタリングは直線L
の傾きが小さいほど、即ち計測時間が長くなるほど生じ
易くなる。
Therefore, there is a problem that it is difficult to accurately determine the times t1 and t2 due to the chattering. And this chattering is a straight line L
Is more likely to occur as the slope of the measurement is smaller, that is, as the measurement time is longer.

【0009】また、図9に示すように充電回路を抵抗R
とコンデンサCで構成したものにあっても、例えば図1
0に示すように時刻t2等においてチャタリングが生じ
ることになる。
Further, as shown in FIG.
And the capacitor C, for example, in FIG.
As shown at 0, chattering occurs at time t2 and the like.

【0010】発明は、上記問題点を改善するために成さ
れたもので、その目的とするろは、計測時間の長い場合
であっても、正確に時間を計測することができるタイマ
回路を提供することにある。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and an object thereof is to provide a timer circuit capable of accurately measuring time even when the measurement time is long. Is to do.

【0011】[0011]

【課題を解決するための手段】本発明は上記の問題を解
決するために、一定電流を出力する定電流出力部と、該
定電流出力部により充電される充電部と、第一の基準電
圧と該充電部の電位とを比較して充電部の電位が第一の
基準電圧より高い場合に第一のタイマ信号を外部の制御
対象回路に出力する第一の信号比較部と、第一の基準電
圧より高い第二の基準電圧と前記充電部の電位とを比較
して充電部の電位が第二の基準電圧より高い場合に第二
のタイマ信号を外部の制御対象回路に出力する第二の信
号比較部と、を有するタイマ回路において、定電流出力
部の出力する電流を切り替える電流切替部を定電流出力
部に接続して設けたことを特徴とするものである。
In order to solve the above-mentioned problems, the present invention provides a constant current output section for outputting a constant current, a charging section charged by the constant current output section, and a first reference voltage. And a first signal comparison unit that compares the potential of the charging unit and outputs a first timer signal to an external control target circuit when the potential of the charging unit is higher than a first reference voltage; Comparing a second reference voltage higher than a reference voltage with the potential of the charging unit and outputting a second timer signal to an external control target circuit when the potential of the charging unit is higher than the second reference voltage; And a signal switching unit for switching a current output from the constant current output unit, the current switching unit being connected to the constant current output unit.

【0012】前記定電流出力部は一定高電流及び一定低
電流を出力できるとともに初動状態においては一定高電
流を出力するものであって、前記電流切替部は、前記第
一のタイマ信号を検出すると前記定電流出力部に一定低
電流を出力させることにより、第一の基準電圧に対応し
た計測時間を正確に計測できるとともに、第二の基準電
圧に対応した計測時間が長いものであっても計測可能と
なる。
The constant current output section is capable of outputting a constant high current and a constant low current and outputs a constant high current in an initial operation state. The current switching section detects the first timer signal. By outputting a constant low current to the constant current output unit, the measurement time corresponding to the first reference voltage can be accurately measured, and the measurement time corresponding to the second reference voltage can be measured even if the measurement time is long. Becomes

【0013】更に、前記第一の基準電圧と前記第二の基
準電圧との間の値である第三の基準電圧と前記充電部の
電位とを比較して充電部の電位が第三の基準電圧より高
い場合に定電流出力部に高電流を出力させる電流再切替
部を定電流出力部に接続して設けることにより、第二の
基準電圧に対応した計測時間についても正確に計測でき
るのでより好ましい。
Further, a third reference voltage, which is a value between the first reference voltage and the second reference voltage, is compared with the potential of the charging unit, and the potential of the charging unit is set to a third reference voltage. By providing a current re-switching unit connected to the constant current output unit to output a high current to the constant current output unit when the voltage is higher than the voltage, the measurement time corresponding to the second reference voltage can be accurately measured. preferable.

【0014】[0014]

【発明の実施の形態】本発明にかかるタイマ回路の第一
実施の形態を図1〜図3に基づいて、第二実施の形態を
図4,図5に基づいて説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A first embodiment of a timer circuit according to the present invention will be described with reference to FIGS. 1 to 3, and a second embodiment will be described with reference to FIGS.

【0015】〔第一実施の形態〕図1は本発明のタイマ
回路の構成図である。図2は本発明のタイマ回路の動作
説明図である。図3は本発明のタイマ回路の動作説明図
でありチャタリングが発生していない様子を示してい
る。
FIG. 1 is a block diagram of a timer circuit according to the present invention. FIG. 2 is an explanatory diagram of the operation of the timer circuit of the present invention. FIG. 3 is an explanatory diagram of the operation of the timer circuit of the present invention, showing a state where chattering does not occur.

【0016】図1においてタイマ回路は、定電流出力部
に相当する定電流回路11、基準電圧発生回路12,1
3、第一の信号比較部に相当するコンパレータ14、第
二の信号比較部に相当するコンパレータ15、電流切替
部に相当する電流切替回路16、充電部に相当するコン
デンサC1を備えて構成されている。
In FIG. 1, a timer circuit includes a constant current circuit 11 corresponding to a constant current output section, and reference voltage generation circuits 12 and 1.
3, a comparator 14 corresponding to a first signal comparing unit, a comparator 15 corresponding to a second signal comparing unit, a current switching circuit 16 corresponding to a current switching unit, and a capacitor C1 corresponding to a charging unit. I have.

【0017】定電流回路11は、トランジスタT1,T
2,T3と抵抗R1、R2,R4とよりなるカレントミ
ラー回路で構成されており、抵抗R1,R2の抵抗値r
1,r2を調整することにより一定の電流値を有する出
力電流I1を決定するものである。具体的には、抵抗R
1,R2の一端部が電源17に接続されており、抵抗R
1の他端部はトランジスタT1のエミッタに、抵抗R2
の他端部はトランジスタT2のエミッタに各々接続され
ている。トランジスタT1のベースとトランジスタT2
のベースが接続されており、該接続点とトランジスタT
3のエミッタが接続されている。そしてトランジスタT
3のベースがトランジスタT1のコレクタ及び抵抗R4
の一端部と接続され、トランジスタT3のコレクタは抵
抗R4の他端部に接続されるとともに接地されている。
トランジスタT2のコレクタはコンデンサC1の一端部
及びコンパレータ14,15の反転入力端子に接続され
ている。定電流回路11は抵抗R1の抵抗値r1と抵抗
R2の抵抗値r2とが等しい場合には電流I1と電流I
2との電流値が等しくなるが、抵抗値r2が抵抗値r1
より小さくなると電流I1の電流値が電流I2の電流値
より大きくなる。
The constant current circuit 11 includes transistors T1, T
, T3 and resistors R1, R2, R4, and a resistance value r of the resistors R1, R2.
By adjusting 1, r2, an output current I1 having a constant current value is determined. Specifically, the resistance R
1 and R2 are connected to a power supply 17 and a resistor R
1 is connected to the emitter of the transistor T1 and the resistor R2
Is connected to the emitter of the transistor T2. The base of the transistor T1 and the transistor T2
Are connected, and the connection point and the transistor T
3 emitters are connected. And the transistor T
3 is the collector of the transistor T1 and the resistor R4
The collector of the transistor T3 is connected to the other end of the resistor R4 and grounded.
The collector of the transistor T2 is connected to one end of the capacitor C1 and the inverting input terminals of the comparators 14 and 15. When the resistance value r1 of the resistor R1 is equal to the resistance value r2 of the resistor R2, the constant current circuit 11
2 is equal to the current value, but the resistance value r2 is equal to the resistance value r1.
When the current value becomes smaller, the current value of the current I1 becomes larger than the current value of the current I2.

【0018】基準電圧発生回路12は、第一の基準電圧
に相当する基準電圧Vref1を発生させてコンパレー
タ14の非反転入力端子に入力するものであり、基準電
圧発生回路13は、第二の基準電圧に相当する基準電圧
Vref2を発生させてコンパレータ15の非反転入力
端子に入力するものである。
The reference voltage generation circuit 12 generates a reference voltage Vref1 corresponding to a first reference voltage and inputs the reference voltage Vref1 to a non-inverting input terminal of a comparator 14. The reference voltage generation circuit 13 generates a second reference voltage. The reference voltage Vref2 corresponding to the voltage is generated and input to the non-inverting input terminal of the comparator 15.

【0019】コンデンサC1は定電流回路11により充
電される電位をコンパレータ14,15の反転入力端子
に入力するものである。
The capacitor C1 inputs the potential charged by the constant current circuit 11 to the inverting input terminals of the comparators 14 and 15.

【0020】コンパレータ14は基準電圧Vref1と
コンデンサC1の電位を比較して、コンデンサC1の電
位が基準電圧Vref1より小さい場合にはLow を出力
し、コンデンサC1の電位が基準電圧Vref1より大
きい場合にはHighを出力するものである。Highの信号は
点灯主回路18等外部の回路に第一のタイマ信号S3と
して出力される。また、コンパレータ14の出力は電流
切替回路16にも入力される。
The comparator 14 compares the reference voltage Vref1 with the potential of the capacitor C1, and outputs Low when the potential of the capacitor C1 is lower than the reference voltage Vref1, and outputs Low when the potential of the capacitor C1 is higher than the reference voltage Vref1. Outputs High. The High signal is output to an external circuit such as the lighting main circuit 18 as a first timer signal S3. The output of the comparator 14 is also input to the current switching circuit 16.

【0021】コンパレータ15は基準電圧Vref2と
コンデンサC1の電位を比較して、コンデンサC1の電
位が基準電圧Vref2より小さい場合にはLow を出力
し、コンデンサC1の電位が基準電圧Vref2より大
きい場合にはHighを出力するものである。Highの信号は
点灯主回路18等外部の回路に第二のタイマ信号S4と
して出力される。基準電圧Vref2は基準電圧Vre
f1よりも高いものとしている。
The comparator 15 compares the reference voltage Vref2 with the potential of the capacitor C1, and outputs Low when the potential of the capacitor C1 is lower than the reference voltage Vref2, and outputs Low when the potential of the capacitor C1 is higher than the reference voltage Vref2. Outputs High. The High signal is output to an external circuit such as the lighting main circuit 18 as a second timer signal S4. The reference voltage Vref2 is equal to the reference voltage Vre
It is higher than f1.

【0022】電流切替回路16は、反転器INV1と、
スイッチSW1と、抵抗R3とにより構成されている。
抵抗R3とスイッチSW1の直列回路は抵抗R2に並列
に接続されている。スイッチSW1は常閉接点であり、
定電流回路11の動作開始時には閉じられている。そし
て、スイッチSW1は反転器INV1からLow 信号が入
力されると接点を開き、反転器INV1からHigh信号が
入力されると接点を閉じる。
The current switching circuit 16 includes an inverter INV1 and
It is composed of a switch SW1 and a resistor R3.
The series circuit of the resistor R3 and the switch SW1 is connected in parallel to the resistor R2. The switch SW1 is a normally closed contact,
It is closed when the operation of the constant current circuit 11 starts. The switch SW1 opens the contact when a Low signal is input from the inverter INV1, and closes the contact when a High signal is input from the inverter INV1.

【0023】次に以上のようにして構成されたタイマ回
路の動作を説明する。まず、タイマ回路の動作開始時に
おいては、スイッチSW1の接点が閉じられているの
で、抵抗R2と抵抗R3との合成抵抗値である(r2*
r3)/(r2+r3)と抵抗R1の抵抗値r1との比
によって電流I1の電流値が決定される。コンデンサC
1は電流I1により充電されて電位が基準電圧Vref
1を超えるとコンパレータ14は第一のタイマ信号S3
であるHigh信号を点灯主回路18に出力するとともに反
転器INV1にも出力する。反転器INV1は該信号を
反転してLow 信号をスイッチSW1に出力する。
Next, the operation of the timer circuit configured as described above will be described. First, at the start of the operation of the timer circuit, since the contact of the switch SW1 is closed, it is the combined resistance value of the resistors R2 and R3 (r2 *
The current value of the current I1 is determined by the ratio of (r3) / (r2 + r3) to the resistance value r1 of the resistor R1. Capacitor C
1 is charged by the current I1 and has a potential of the reference voltage Vref.
If it exceeds 1, the comparator 14 outputs the first timer signal S3
Is output to the lighting main circuit 18 and also to the inverter INV1. The inverter INV1 inverts the signal and outputs a Low signal to the switch SW1.

【0024】するとスイッチSW1はLow 信号を受け取
って接点を開き、抵抗R2は抵抗R3から独立の抵抗と
なる。従って、定電流回路11は抵抗R1の抵抗値r1
と抵抗R2の抵抗値r2との比によって電流I1の電流
値を決定する。
Then, the switch SW1 receives the Low signal and opens the contact, and the resistor R2 becomes a resistor independent of the resistor R3. Therefore, the constant current circuit 11 has a resistance value r1 of the resistor R1.
The current value of the current I1 is determined by the ratio between the current I1 and the resistance value r2 of the resistor R2.

【0025】ここで、抵抗R2の抵抗値r2と、抵抗R
2と抵抗R3との合成抵抗値(r2*r3)/(r2+
r3)とを比較すると、合成抵抗値(r2*r3)/
(r2+r3)の方が抵抗値が小さい。従って、定電流
回路11の出力する電流I1の電流値はスイッチSW1
が閉じられているタイマ回路動作開始時の方が、コンデ
ンサC1の電位が基準電圧Vref1を超えてスイッチ
SW1が開いた時よりも大きい(以下、スイッチSW1
が閉じられているときの電流I1を高電流、スイッチS
W1が開かれているときの電流I1を低電流とする)。
Here, the resistance value r2 of the resistor R2 and the resistance R
2 and resistance R3 (r2 * r3) / (r2 +
r3), the combined resistance value (r2 * r3) /
(R2 + r3) has a smaller resistance value. Therefore, the current value of the current I1 output from the constant current circuit 11 is the switch SW1
At the start of the timer circuit operation when the switch SW1 is opened when the potential of the capacitor C1 exceeds the reference voltage Vref1 and the switch SW1 is opened (hereinafter referred to as the switch SW1).
Current is high when switch is closed, switch S
The current I1 when W1 is open is a low current).

【0026】即ち、図2に示すように、コンデンサC1
の電位が基準電圧Vref1を超える時刻t1までは高
電流IによりコンデンサC1が充電され、コンデンサC
1の電位が基準電圧Vref1を超える時刻t1以降は
低電流I1によりコンデンサC1が充電される。従っ
て、時刻t1までは比較的急速にコンデンサC1が充電
され、時刻t1以降は緩やかに充電されることになる。
そして、図3に示すように、コンデンサC1が比較的急
速に充電されると、充電による電位の上昇が大きいの
で、電流I1にノイズが重畳されていてもノイズの影響
を受け難い。従って、コンデンサC1の電位が基準電圧
Vref1の付近で電位の上下はあるもののチャタリン
グは発生しにくくなる。
That is, as shown in FIG.
Until time t1 when the potential of the capacitor C1 exceeds the reference voltage Vref1, the capacitor C1 is charged by the high current I and the capacitor C
After time t1 when the potential of 1 exceeds the reference voltage Vref1, the capacitor C1 is charged by the low current I1. Therefore, the capacitor C1 is charged relatively quickly until the time t1, and is gradually charged after the time t1.
Then, as shown in FIG. 3, when the capacitor C1 is charged relatively quickly, the potential rise due to the charging is large, so that even if the noise is superimposed on the current I1, it is hardly affected by the noise. Therefore, although the potential of the capacitor C1 is above and below the potential near the reference voltage Vref1, chattering hardly occurs.

【0027】以上のように本実施の形態のタイマ回路に
あっては、最初の計測時間T1の計測中は比較的急速に
充電することにより時刻t1におけるチャタリングを発
生しにくくして正確にタイマ信号を発生させることがで
きるとともに、時刻t1後は電流切替回路16により電
流I1を低電流値として緩やかにコンデンサC1に充電
を行うので、計測時間T2が長いものであっても計測す
ることができる。
As described above, in the timer circuit of the present embodiment, the charging is performed relatively quickly during the measurement of the first measurement time T1, so that chattering at the time t1 is hardly generated, and the timer signal is accurately measured. Can be generated, and after the time t1, the current switching circuit 16 slowly charges the capacitor C1 with the current I1 as a low current value, so that the measurement can be performed even if the measurement time T2 is long.

【0028】〔第二実施の形態〕図4は本発明のタイマ
回路の構成図である。図5は本発明のタイマ回路の動作
説明図である。なお、図5においては前述の第一実施の
形態で説明したところのタイマ回路と同等の箇所には同
じ符号を付してあるので、同等の箇所の詳細な説明は省
略する。
[Second Embodiment] FIG. 4 is a block diagram of a timer circuit according to the present invention. FIG. 5 is an explanatory diagram of the operation of the timer circuit of the present invention. In FIG. 5, the same reference numerals are given to the same portions as those of the timer circuit described in the first embodiment, and the detailed description of the same portions will be omitted.

【0029】図4に示す本実施の形態のタイマ回路が、
前述の第一実施の形態で説明したところのタイマ回路と
異なり特徴となるのは次の構成である。
The timer circuit of the present embodiment shown in FIG.
The following configuration is different from the timer circuit described in the first embodiment in features.

【0030】即ち、電流再切替部に相当する電流再切替
回路22として、電流値切替用コンパレータ19とOR
ゲート20と基準電圧発生回路21とを設けた構成であ
る。詳しくは、基準電圧発生回路21は基準電圧Vre
f3を発生させてコンパレータ19の非反転入力端子に
入力し、コンパレータ19の反転入力端子にはコンデン
サC1の電位が入力されるようになされている。基準電
圧Vref3は基準電圧Vref1と基準電圧Vref
2との間の電圧である。
That is, as the current re-switching circuit 22 corresponding to the current re-switching unit, the current value switching comparator 19
In this configuration, a gate 20 and a reference voltage generation circuit 21 are provided. Specifically, the reference voltage generation circuit 21 outputs the reference voltage Vre
f3 is generated and input to the non-inverting input terminal of the comparator 19, and the potential of the capacitor C1 is input to the inverting input terminal of the comparator 19. The reference voltage Vref3 is equal to the reference voltage Vref1 and the reference voltage Vref.
2.

【0031】コンパレータ19は基準電圧Vref3と
コンデンサC1の電位を比較して、コンデンサC1の電
位が基準電圧Vref3より小さい場合にはLow を出力
し、コンデンサC1の電位が基準電圧Vref3より大
きい場合にはHighを出力するものである。
The comparator 19 compares the reference voltage Vref3 with the potential of the capacitor C1, and outputs Low when the potential of the capacitor C1 is lower than the reference voltage Vref3, and outputs Low when the potential of the capacitor C1 is higher than the reference voltage Vref3. Outputs High.

【0032】ORゲート20はコンパレータ19と反転
器INV1のいずれかからHighの信号を入力されると、
スイッチSW1にHighの信号を入力し、コンパレータ1
9と反転器INV1のいずれからもLow の信号を入力さ
れたときには、スイッチSW1にLow の信号を入力する
ものである。
The OR gate 20 receives a high signal from one of the comparator 19 and the inverter INV1.
A high signal is input to the switch SW1 and the comparator 1
When a low signal is input from both the inverter 9 and the inverter INV1, a low signal is input to the switch SW1.

【0033】次に以上の構成のタイマ回路の動作を説明
する。まず、タイマ回路の動作開始時においては、スイ
ッチSW1の接点が閉じられているので、抵抗R2と抵
抗R3との合成抵抗値である(r2*r3)/(r2+
r3)と抵抗R1の抵抗値R1との比によって、定電流
回路11は高電流I1を出力する。コンデンサC1は高
電流I1により充電されて電位が基準電圧Vref1を
超えるとコンパレータ14は第一のタイマ信号S3であ
るHigh信号を点灯主回路18に出力するとともに反転器
INV1にも出力する。反転器INV1は該信号を反転
してLow 信号をORゲート20に出力する。このときコ
ンデンサC1の電位は未だ基準電圧Vref3を超えて
いないのでコンパレータ19からはLow が出力されてい
る。従って、ORゲート20にはLow とLow とが入力さ
れるので、ORゲート20はスイッチSW1にLow を入
力する。
Next, the operation of the timer circuit having the above configuration will be described. First, at the start of the operation of the timer circuit, since the contact point of the switch SW1 is closed, the combined resistance value of the resistors R2 and R3 is (r2 * r3) / (r2 +
The constant current circuit 11 outputs a high current I1 according to the ratio between r3) and the resistance value R1 of the resistor R1. When the capacitor C1 is charged by the high current I1 and the potential exceeds the reference voltage Vref1, the comparator 14 outputs a High signal, which is the first timer signal S3, to the lighting main circuit 18 and also to the inverter INV1. The inverter INV1 inverts the signal and outputs a Low signal to the OR gate 20. At this time, since the potential of the capacitor C1 has not yet exceeded the reference voltage Vref3, the comparator 19 outputs Low. Accordingly, since Low and Low are input to the OR gate 20, the OR gate 20 inputs Low to the switch SW1.

【0034】するとスイッチSW1はLow 信号を受け取
って接点を開き、抵抗R2は抵抗R3から独立の抵抗と
なる。従って、定電流回路11は抵抗R1の抵抗値r1
と抵抗R2の抵抗値r2との比によって低電流I1を出
力する。そしてコンデンサC1の充電は緩やかに行われ
ることとなる(図5中の時刻t1〜t3の期間)。
Then, the switch SW1 receives the Low signal and opens the contact, and the resistor R2 is independent of the resistor R3. Therefore, the constant current circuit 11 has a resistance value r1 of the resistor R1.
And the resistance R2 of the resistor R2 to output a low current I1. Then, the charging of the capacitor C1 is performed slowly (period t1 to t3 in FIG. 5).

【0035】更に時間が経過してコンデンサC1の充電
が進むと、コンデンサC1の電位は基準電位Vref3
を超えるようになる(図5中時刻t3)。すると、コン
パレータ19はHighを出力し、ORゲート20はコンパ
レータ19のHighと反転器INV1のLow とによりHigh
を出力するようになる。そして、スイッチSW1はHigh
信号を受け取って接点を再度閉じるので、定電流回路1
1は再び高電流I1によりコンデンサC1を充電する
(図5中時刻t3〜t2の期間)。なお、基準電圧Vr
ef3は(Vref1/t1)=(Vref2−Vre
f3)/(t2−t3)>(Vref3−Vref1)
/(t3−t1)の関係を満たすものであればよく、定
電流回路11の出力電流値に応じて適宜設定すればよ
い。
When the charging of the capacitor C1 further proceeds after a lapse of time, the potential of the capacitor C1 becomes equal to the reference potential Vref3.
(Time t3 in FIG. 5). Then, the comparator 19 outputs High, and the OR gate 20 becomes High by the High of the comparator 19 and the Low of the inverter INV1.
Will be output. And the switch SW1 is High
Since the signal is received and the contact is closed again, the constant current circuit 1
1 again charges the capacitor C1 with the high current I1 (period t3 to t2 in FIG. 5). The reference voltage Vr
ef3 is (Vref1 / t1) = (Vref2-Vre
f3) / (t2-t3)> (Vref3-Vref1)
What is necessary is just to satisfy the relationship of / (t3−t1), and it may be appropriately set according to the output current value of the constant current circuit 11.

【0036】そして、更に時間が経過してコンデンサC
1の充電が進むと、コンデンサC1の電位は基準電位V
ref2を超えるようになる(図5中時刻t2)。する
と、コンパレータ15は第二のタイマ信号S4であるHi
gh信号を点灯主回路18に出力する。
After a further time has passed, the capacitor C
1 advances, the potential of the capacitor C1 becomes the reference potential V
ref2 (time t2 in FIG. 5). Then, the comparator 15 outputs Hi as the second timer signal S4.
The gh signal is output to the lighting main circuit 18.

【0037】以上の構成により、コンデンサC1の電位
が基準電圧Vref1、Vref2を超える際には、定
電流回路11は高電流I1を出力しており、コンデンサ
C1が急速に充電されているためチャタリングが発生し
にくく、またコンデンサC1の電位が基準電圧Vref
1から基準電圧Vref3に至るまでの間は低電流I1
によりコンデンサC1が充電されるため長時間の計測が
可能となる。
With the above configuration, when the potential of the capacitor C1 exceeds the reference voltages Vref1 and Vref2, the constant current circuit 11 outputs the high current I1 and chattering occurs because the capacitor C1 is rapidly charged. And the potential of the capacitor C1 is lower than the reference voltage Vref.
1 to the reference voltage Vref3, the low current I1
This allows the capacitor C1 to be charged, thereby enabling long-time measurement.

【0038】また、コンデンサを複数使用するものでは
ないので、コンデンサの個体バラツキによる誤差が生ぜ
ず、また回路構成も簡易なものとなる。
Further, since a plurality of capacitors are not used, errors due to individual variations of the capacitors do not occur, and the circuit configuration is simplified.

【0039】なお、本実施の形態においおては、計測時
間T1と計測時間T2との2つの計測時間を計測するも
のとして説明しているが、これに限られるものではなく
3つ以上の計測時間であってもよい。この場合にあって
は、各規準電圧近傍にコンデンサC1の電位が上昇して
くると定電流回路11が高電流I1を出力し、コンデン
サC1の電位が基準電圧を超えるときには再度低電流を
出力するように、電流切替回路と電流再切替回路とを複
数設けるようにすればよい。
In the present embodiment, the description has been made on the assumption that two measurement times, ie, the measurement time T1 and the measurement time T2, are measured. However, the present invention is not limited to this. It may be time. In this case, the constant current circuit 11 outputs a high current I1 when the potential of the capacitor C1 rises near each reference voltage, and outputs a low current again when the potential of the capacitor C1 exceeds the reference voltage. Thus, a plurality of current switching circuits and current re-switching circuits may be provided.

【0040】なお、本実施の形態では、電流切替部とし
て抵抗R3及びスイッチをカレントミラー回路の抵抗R
2に並列に設けているが、この構成に限られるものでは
なく、定電流出力部の外部で電流値を切り替えるように
してもよい。例えば、定電流出力部とコンデンサの間に
電流を可変とする回路を介在させる構成であってもよ
い。
In the present embodiment, the resistor R3 and the switch are used as the current switching section and the resistor R3 of the current mirror circuit is used.
2 are provided in parallel, but the present invention is not limited to this configuration, and the current value may be switched outside the constant current output unit. For example, a configuration may be employed in which a circuit that varies the current is interposed between the constant current output unit and the capacitor.

【0041】また、本実施の形態では、基準電圧発生回
路をコンパレータの非反転入力端子に接続しコンデンサ
を反転入力端子に接続しているが、もちろんこれに限ら
れるものではない。基準電圧発生回路をコンパレータの
反転入力端子に接続しコンデンサを非反転入力端子に接
続する場合には、HighとLow との出力が実施の形態の説
明に対して反転するため、電流切替部や電流再切替部の
構成も信号が反転したものに対応させればよい。
In the present embodiment, the reference voltage generating circuit is connected to the non-inverting input terminal of the comparator and the capacitor is connected to the inverting input terminal. However, the present invention is not limited to this. When the reference voltage generation circuit is connected to the inverting input terminal of the comparator and the capacitor is connected to the non-inverting input terminal, the high and low outputs are inverted with respect to the description of the embodiment. What is necessary is just to make the structure of a re-switching part correspond to what inverted the signal.

【0042】[0042]

【発明の効果】本発明のタイマ回路は上述のように構成
してあるから、請求項1記載の発明にあっては、定電流
出力部の出力する電流を切り替える電流切替部を定電流
出力部に接続して設けたので、充電部の電位が基準電圧
近傍では高電流により充電し、充電部の電位がその他の
場合には低電流により充電することにより、計測時間の
長い場合であっても、正確に時間を計測することができ
るという効果を奏する。
Since the timer circuit according to the present invention is constructed as described above, according to the first aspect of the present invention, the current switching section for switching the current output from the constant current output section is replaced with the constant current output section. Because the charging section is charged with a high current when the potential of the charging section is near the reference voltage, and charged with a low current otherwise, the charging section is charged even with a long measurement time. This has the effect that the time can be accurately measured.

【0043】請求項2記載の発明にあっては、前記定電
流出力部は一定高電流及び一定低電流を出力できるとと
もに初動状態おいては一定高電流を出力するものであっ
て、前記電流切替部は、前記第一のタイマ信号を検出す
ると前記定電流出力部に一定低電流を出力させるので、
第一の基準電圧に対応した計測時間を正確に計測できる
とともに、第二の基準電圧に対応した計測時間が長いも
のであっても計測可能となるという効果を奏する。
According to the present invention, the constant current output section can output a constant high current and a constant low current and outputs a constant high current in an initial operation state. The unit causes the constant current output unit to output a constant low current when detecting the first timer signal,
The measurement time corresponding to the first reference voltage can be accurately measured, and the measurement can be performed even if the measurement time corresponding to the second reference voltage is long.

【0044】請求項2記載の発明にあっては、前記第一
の基準電圧と前記第二の基準電圧との間の値である第三
の基準電圧と前記充電部の電位とを比較して充電部の電
位が第三の基準電圧より高い場合に定電流出力部に高電
流を出力させる電流再切替部を定電流出力部に接続して
設けているので、第二の基準電圧に対応した計測時間に
ついても正確に計測できるという効果を奏する。
According to the present invention, a third reference voltage which is a value between the first reference voltage and the second reference voltage is compared with a potential of the charging section. When the potential of the charging unit is higher than the third reference voltage, a current re-switching unit that outputs a high current to the constant current output unit is provided connected to the constant current output unit. This has the effect that the measurement time can be accurately measured.

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

【図1】本発明の第一実施の形態のタイマ回路の一例の
構成図である。
FIG. 1 is a configuration diagram of an example of a timer circuit according to a first embodiment of the present invention.

【図2】本発明の第一実施の形態のタイマ回路の動作説
明図である。
FIG. 2 is an explanatory diagram of an operation of the timer circuit according to the first embodiment of the present invention.

【図3】本発明の第一実施の形態のタイマ回路の動作説
明図でありチャタリングが発生していない様子を示して
いるものである。
FIG. 3 is an operation explanatory diagram of the timer circuit according to the first embodiment of the present invention, showing a state where chattering does not occur.

【図4】本発明の第二実施の形態のタイマ回路の一例の
構成図である。
FIG. 4 is a configuration diagram of an example of a timer circuit according to a second embodiment of the present invention;

【図5】本発明のタイマ回路の動作説明図である。FIG. 5 is an operation explanatory diagram of the timer circuit of the present invention.

【図6】従来の技術のタイマ回路の回路図である。FIG. 6 is a circuit diagram of a conventional timer circuit.

【図7】従来の技術のタイマ回路の計測する時間と基準
電圧とコンデンサの電位との関係を示す動作説明図であ
る。
FIG. 7 is an operation explanatory diagram showing a relationship between a time measured by a conventional timer circuit, a reference voltage, and a potential of a capacitor.

【図8】従来の技術のタイマ回路のチャタリングの動作
説明図である。
FIG. 8 is an explanatory diagram of chattering operation of a timer circuit according to a conventional technique.

【図9】従来の技術の他のタイマ回路の回路図である。FIG. 9 is a circuit diagram of another timer circuit of the related art.

【図10】従来の技術のタイマ回路の計測する時間と基
準電圧との関係を示す動作説明図である。
FIG. 10 is an operation explanatory diagram showing a relationship between a time measured by a conventional timer circuit and a reference voltage.

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

11 定電流出力部 14 第一の信号比較部 15 第二の信号比較部 16 電流切替部 22 電流再切替部 C1 充電部 Reference Signs List 11 constant current output section 14 first signal comparison section 15 second signal comparison section 16 current switching section 22 current re-switching section C1 charging section

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 一定電流を出力する定電流出力部と、該
定電流出力部により充電される充電部と、第一の基準電
圧と該充電部の電位とを比較して充電部の電位が第一の
基準電圧より高い場合に第一のタイマ信号を外部の制御
対象回路に出力する第一の信号比較部と、第一の基準電
圧より高い第二の基準電圧と前記充電部の電位とを比較
して充電部の電位が第二の基準電圧より高い場合に第二
のタイマ信号を外部の制御対象回路に出力する第二の信
号比較部と、を有するタイマ回路において、 定電流出力部の出力する電流を切り替える電流切替部を
定電流出力部に接続して設けたことを特徴とするタイマ
回路。
1. A constant current output section for outputting a constant current, a charging section charged by the constant current output section, and comparing a first reference voltage with a potential of the charging section to determine a potential of the charging section. A first signal comparison unit that outputs a first timer signal to an external control target circuit when the first reference voltage is higher than the first reference voltage, a second reference voltage higher than the first reference voltage, and a potential of the charging unit. A second signal comparison unit that outputs a second timer signal to an external control target circuit when the potential of the charging unit is higher than a second reference voltage by comparing the constant current output unit A timer circuit, wherein a current switching unit for switching a current output from the current circuit is connected to a constant current output unit.
【請求項2】 前記定電流出力部は一定高電流及び一定
低電流を出力できるとともに初動状態においては一定高
電流を出力するものであって、前記電流切替部は、前記
第一のタイマ信号を検出すると前記定電流出力部に一定
低電流を出力させるものであることを特徴とする請求項
1記載のタイマ回路。
2. The constant current output section is capable of outputting a constant high current and a constant low current, and outputs a constant high current in an initial operation state. The current switching section outputs the first timer signal. 2. The timer circuit according to claim 1, wherein upon detection, the constant current output section outputs a constant low current.
【請求項3】 前記第一の基準電圧と前記第二の基準電
圧との間の値である第三の基準電圧と前記充電部の電位
とを比較して充電部の電位が第三の基準電圧より高い場
合に定電流出力部に高電流を出力させる電流再切替部を
定電流出力部に接続して設けたことを特徴とする請求項
2記載のタイマ回路。
3. A third reference voltage, which is a value between the first reference voltage and the second reference voltage, is compared with a potential of the charging unit, and a potential of the charging unit is set to a third reference voltage. 3. The timer circuit according to claim 2, wherein a current re-switching unit for outputting a high current to the constant current output unit when the voltage is higher than the voltage is connected to the constant current output unit.
JP4538699A 1999-02-23 1999-02-23 Timer circuit Pending JP2000241565A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4538699A JP2000241565A (en) 1999-02-23 1999-02-23 Timer circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4538699A JP2000241565A (en) 1999-02-23 1999-02-23 Timer circuit

Publications (1)

Publication Number Publication Date
JP2000241565A true JP2000241565A (en) 2000-09-08

Family

ID=12717841

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4538699A Pending JP2000241565A (en) 1999-02-23 1999-02-23 Timer circuit

Country Status (1)

Country Link
JP (1) JP2000241565A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009300199A (en) * 2008-06-12 2009-12-24 Nikon Corp Rc discharge circuit, power source management circuit
JP2011250196A (en) * 2010-05-27 2011-12-08 Lapis Semiconductor Co Ltd Timer circuit
JP2012109836A (en) * 2010-11-18 2012-06-07 Rohm Co Ltd Frequency monitoring circuit
JP2018022632A (en) * 2016-08-04 2018-02-08 オンキヨー株式会社 Relay drive circuit

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009300199A (en) * 2008-06-12 2009-12-24 Nikon Corp Rc discharge circuit, power source management circuit
JP2011250196A (en) * 2010-05-27 2011-12-08 Lapis Semiconductor Co Ltd Timer circuit
US8922223B2 (en) 2010-05-27 2014-12-30 Lapis Semiconductor Co., Ltd. Timer circuit
JP2012109836A (en) * 2010-11-18 2012-06-07 Rohm Co Ltd Frequency monitoring circuit
JP2018022632A (en) * 2016-08-04 2018-02-08 オンキヨー株式会社 Relay drive circuit
US10593499B2 (en) 2016-08-04 2020-03-17 Onkyo Corporation Relay drive circuit with a current mirror circuit

Similar Documents

Publication Publication Date Title
US7911185B2 (en) Battery voltage detection circuit
KR100304295B1 (en) Power supply voltage detection device
KR920007295A (en) Charge control device
JP5535766B2 (en) Timer circuit
JP2000241565A (en) Timer circuit
JP5144292B2 (en) Switching power supply circuit and vehicle equipped with the same
JP4343489B2 (en) Overcurrent detection delay circuit
JP2830799B2 (en) Semiconductor integrated circuit device
JP2004304334A (en) Semiconductor device and reset signal transmission method
JP2006064391A (en) Temperature sensor and analogue/digital converter
JP3148443B2 (en) DC stabilized power supply
KR0151493B1 (en) V-detection circuit of charger
JP3743125B2 (en) Clamp circuit
JP3220995B2 (en) Input impedance measurement circuit for IC circuit
JPH0774638A (en) A/d converter
JP2000111589A (en) Semiconductor integrated circuit
TW202238150A (en) Foreign object detection method and power side capable of detecting foreign object
CN116626384A (en) Clock frequency detection circuit
JPH0749422Y2 (en) Voltage monitoring circuit
JPH09113564A (en) Delay capacitor withstand voltage checking method and semiconductor integrated circuit
JPH02259578A (en) Detection circuit for power failure
JP3439298B2 (en) Clock loss detection circuit
JPH09116401A (en) Semiconductor integrated circuit with delay circuit
JP2775088B2 (en) Anomaly detection device
JP2879845B2 (en) Semiconductor device