JPH04145715A - Chattering prevention circuit - Google Patents

Chattering prevention circuit

Info

Publication number
JPH04145715A
JPH04145715A JP2269871A JP26987190A JPH04145715A JP H04145715 A JPH04145715 A JP H04145715A JP 2269871 A JP2269871 A JP 2269871A JP 26987190 A JP26987190 A JP 26987190A JP H04145715 A JPH04145715 A JP H04145715A
Authority
JP
Japan
Prior art keywords
chattering
capacitor
comparator
circuit
npn
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
JP2269871A
Other languages
Japanese (ja)
Inventor
Michio Isoda
磯田 道雄
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.)
NEC IC Microcomputer Systems Co Ltd
Original Assignee
NEC IC Microcomputer Systems 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 NEC IC Microcomputer Systems Co Ltd filed Critical NEC IC Microcomputer Systems Co Ltd
Priority to JP2269871A priority Critical patent/JPH04145715A/en
Publication of JPH04145715A publication Critical patent/JPH04145715A/en
Pending legal-status Critical Current

Links

Landscapes

  • Manipulation Of Pulses (AREA)

Abstract

PURPOSE:To prevent malfunction due to chattering and also the malfunction due to chattering whose charging time is longer than the discharge time by discharging a capacitor rapidly for a discharge time. CONSTITUTION:A comparator 12 is inverted, an NPN transistor(TR) 22 is turned on and a current depending on a resistor 23 for current limit flows through a current mirror circuit comprising PNP TRs 24,25. Thus, a current flows rapidly to a base on an NPN TR 9 to discharge a capacitor 11 rapidly and after the inversion of the comparator 12, the circuit is operated in a sufficiently faster discharge time than the charging time. Then with an external switch 18 turned off, when the comparator 12 is inverted, the NPN TR 22 is turned off and the capacitor 11 is charged/discharged in a charge/discharge time of the capacitor 11 to be set. As a result, malfunction of chattering is prevented and malfunction due to chattering whose charging time is longer than the discharge time is prevented.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はチャタリング防止回路に関し、特に機械構造の
スイッチ使用時のチャタリングによる誤動作を防止する
機能を付備した集積化された回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a chattering prevention circuit, and more particularly to an integrated circuit equipped with a function of preventing malfunctions due to chattering when using a switch in a mechanical structure.

〔従来の技術〕[Conventional technology]

第3図は従来例の集積化されたチャタリング防止回路の
回路図、第4図は第3図の回路の入力と出力との関係を
示すタイミング図である。第3図、第4図において、こ
のチャタリング防止回路は、入カブルアツブ用の抵抗l
、ヒステリシス付コンパレータ2.コンパレータ2の基
準?tEIW抗分割比で決める抵抗3,4とエミッタ接
地のNPNトランジスタ5で構成された充放電切り換え
回路と、充電用の定電流源6.定電流源7.カレントミ
ラー用のNPN)ランジスタ8,9、このカレントミラ
ーの基準側のNPN)ランジスタ8のコレクタとベース
間に接続された抵抗10、充放電用コンデンサ11によ
る充放電回路と、前記コンデンサ11の充放電端を入力
とするコンパレータ12、基準電圧を決める抵抗13,
14、ヒステリシスのための抵抗15とNPN)ランジ
スタ16とにより構成されるヒステリシス付コンパレー
タとを含み、構成されている。
FIG. 3 is a circuit diagram of a conventional integrated chattering prevention circuit, and FIG. 4 is a timing diagram showing the relationship between input and output of the circuit of FIG. 3. In Figures 3 and 4, this chattering prevention circuit consists of a resistor l for the input connector.
, comparator with hysteresis 2. Criteria for comparator 2? A charging/discharging switching circuit consisting of resistors 3 and 4 determined by the tEIW anti-dividing ratio and a common emitter NPN transistor 5, and a constant current source 6 for charging. Constant current source7. A charging/discharging circuit consisting of NPN) transistors 8 and 9 for the current mirror, a resistor 10 connected between the collector and base of the NPN) transistor 8 on the reference side of the current mirror, and a charging/discharging capacitor 11; A comparator 12 that receives the discharge end as an input, a resistor 13 that determines the reference voltage,
14, a comparator with hysteresis constituted by a resistor 15 for hysteresis and an NPN transistor 16.

尚、電源電圧は、電源端子20と接地端子21とから供
給され、出力は出力端子19から圧力される。
Note that the power supply voltage is supplied from the power supply terminal 20 and the ground terminal 21, and the output is applied to the output terminal 19.

次にこのチャタリング防止回路の動作を第4図のタイミ
ング図も使って説明する。入力端子17は、外付はスイ
ッチ18をONすることにより接地され、前記充放型切
り換え回路によりNPN)ランジスタ5が○FFL、N
PN)ランジスタ9がONし、コンデンサ11が放電し
、コンデンサ11の充放電端の電位が抵抗3,4と抵抗
15とNPN)ランジスタのコレクタ・エミッタ間の飽
和電圧により決められた規定レベル以下となると、コン
パレータ12が反転し、圧力端子にロウ(Low)が出
力される。次に、外付はスイッチ18をOFFすると、
NPN)ランジスタ5がONL、第1の定電流源6で、
コンデンサ11が放電し、充放電端の電位が抵抗3,4
0分割比で決められた規定レベル以上となると、コンパ
レータ12が反転し、出力端子にハイが出力される。こ
こで、外付はスイッチ18は機械的構造のスイッチであ
り、0N10FF時に数mS以下のチャタリングが発生
するので、コンデンサ11を100FF、第1の定電流
源6を25nA程度に設定し、NPN)ランジスタ9の
動作時コレクタ電流も25nAとなる様に、第2の定電
流源7の電流値と抵抗10の抵抗値とを設定し、次式で
決まる1 0mS以下のパルス幅のチャタリングには動
作しない様にしている。コンパレータ12が反転しない
チャタリングのパルス幅tは次式で決マる。
Next, the operation of this chattering prevention circuit will be explained using the timing chart shown in FIG. The input terminal 17 is grounded by turning on the external switch 18, and the charging type switching circuit causes the transistor 5 to be connected to ○FFL, NPN.
The PN) transistor 9 turns on, the capacitor 11 discharges, and the potential at the charging/discharging terminal of the capacitor 11 becomes below the specified level determined by the saturation voltage between the resistors 3 and 4, the resistor 15, and the collector-emitter of the NPN) transistor. Then, the comparator 12 is inverted and a low signal is output to the pressure terminal. Next, when the external switch 18 is turned off,
NPN) transistor 5 is ONL, first constant current source 6,
The capacitor 11 is discharged, and the potential at the charging/discharging end is the resistance 3, 4.
When the voltage exceeds the specified level determined by the 0 division ratio, the comparator 12 is inverted and a high level is output to the output terminal. Here, the external switch 18 is a switch with a mechanical structure, and chattering of several milliseconds or less occurs at 0N10FF, so the capacitor 11 is set to 100FF, the first constant current source 6 is set to about 25 nA, and NPN) The current value of the second constant current source 7 and the resistance value of the resistor 10 are set so that the collector current of the transistor 9 during operation is also 25 nA, and the current value of the second constant current source 7 and the resistance value of the resistor 10 are set so that the collector current is 25 nA during operation. I try not to. The pulse width t of chattering that does not cause the comparator 12 to invert is determined by the following equation.

t= 工に こで、 C1l・・・・・・コンデンサ11の容量値(100P
F) 。
t= In this case, C1l...Capacitance value of capacitor 11 (100P
F).

ΔV・・・・・・電源端子20−コンパレーター12の
反転レベル(2,5V)、Ia・・・・・・定電流6の
電流値(25nA)。
ΔV...Inversion level (2,5V) of power supply terminal 20-comparator 12, Ia... Current value of constant current 6 (25 nA).

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

前述した従来のチャタリング防止回路は、チャタリング
による誤動作防止のため、コンデンサ11の充放電時間
を長くしているので、第4図のように外付はスィッチ1
8ON時に、コンパレータ12のスレッショルド電圧付
近でチャタリングが発生した場合や、スイッチOFF時
にチャタリングによりコンデンサ11の充放電端が徐々
に上昇した場合に、コンパレータ12が反転をくり返し
、出力端子19がロウ、ハイ(High)をくり返し、
設定した希望のパルス幅のチャタリングよりも短かいパ
ルス幅に誤動作し、本来のチャタリングを防止するとい
う機能を満たさないという欠点があった。
In the conventional chattering prevention circuit described above, in order to prevent malfunctions due to chattering, the charging and discharging time of the capacitor 11 is lengthened, so the external switch 1 is connected as shown in Fig. 4.
If chattering occurs near the threshold voltage of the comparator 12 when the switch is on, or if the charging/discharging end of the capacitor 11 gradually rises due to chattering when the switch is off, the comparator 12 repeats inversion and the output terminal 19 becomes low and high. (High) repeatedly,
There is a drawback that the pulse width is incorrectly set to a shorter value than the desired pulse width chattering set, and the original function of preventing chattering is not fulfilled.

本発明の目的は、前記欠点が解決され、確実にチャタリ
ングが防止できるようにしたチャタリング防止回路を提
供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a chattering prevention circuit which solves the above-mentioned drawbacks and can reliably prevent chattering.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の構成は、スイッチのオン・オフ状態を充放電回
路を介して出力するチャタリング防止回路において、前
記充放電回路の出力反転に連動して、前記充放電回路の
放電を急速に行なう手段が設けられていることを特徴と
する。
The structure of the present invention is that in a chattering prevention circuit that outputs the on/off state of a switch via a charging/discharging circuit, means for rapidly discharging the charging/discharging circuit in conjunction with the reversal of the output of the charging/discharging circuit is provided. It is characterized by the fact that it is provided.

〔実施例〕〔Example〕

次に本発明の実施例について図面を参照して説明する。 Next, embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例のチャタリング防止回路、第
2図は第1図の回路の入力と出力との関係を示すタイミ
ング図である。第1図において、本実施例のチャタリン
グ防止回路は、入力端子と基準電圧とを各々入力とする
第1のコンパレータ2と、第1のフンパレータ2の出力
をエミッタ接地の第1のNPN)ランジメタ50ベース
とし、第1の定電流源7を、コレクタ、ベース間に第1
の抵抗10を接続した第2のNPN)ランジスタ8のベ
ースに接続し、このNPN)ランジスタ8のエミッタを
接地し、このトランジスタ8のコレクタをエミッタ接地
の第3のNPN)ランジスタ9に接続し、NPN トラ
ンジスタ9のコレクタを前記第1の定電流源7の172
の定電流値である第2の定電流源6とコンデンサ11と
に接続し、これらで構成する充放電回路の充放電を第1
のNPN)ランジスタ5のコレクタで切り換え、前記コ
ンデンサ11の充放電側と基準電圧とを各々入力とする
第2のコンパレータ12の出力を出力端子19とし、前
記コンデンサ11の充放電時間により、機械的構造のス
ィッチ18使用時に発生する数mSまでのチャタリング
を防止する回路において、第2のコンパレータ12の出
力をエミッタ接地の第4ONPN)ランジスタ220ベ
ースに接続し、コレクタは第2の抵抗23を通し、さら
にPNP )ランジスタ24.25のカレントミラーを
通し、第3ONPN)ランジスタ9のベースに接続し、
コンデンサ11の放電時間を変えることを特徴とする。
FIG. 1 is a chattering prevention circuit according to an embodiment of the present invention, and FIG. 2 is a timing diagram showing the relationship between the input and output of the circuit of FIG. In FIG. 1, the chattering prevention circuit of the present embodiment includes a first comparator 2 which receives an input terminal and a reference voltage, and a first NPN (range metal) 50 whose emitter is connected to the output of the first comparator 2. A first constant current source 7 is connected between the collector and the base.
A resistor 10 is connected to the base of a second NPN) transistor 8, the emitter of this NPN) transistor 8 is grounded, and the collector of this transistor 8 is connected to a third NPN) transistor 9 whose emitter is grounded. The collector of the NPN transistor 9 is connected to the collector 172 of the first constant current source 7.
is connected to the second constant current source 6 and the capacitor 11, which has a constant current value of
The output terminal 19 of the second comparator 12 which receives the charge/discharge side of the capacitor 11 and the reference voltage as inputs is set as the output terminal 19. In a circuit that prevents chattering up to several milliseconds that occurs when the switch 18 of this structure is used, the output of the second comparator 12 is connected to the base of a fourth ONPN transistor 220 whose emitter is grounded, and the collector is passed through the second resistor 23. Furthermore, connect to the base of the third ONPN) transistor 9 through the current mirror of the PNP) transistor 24 and 25,
The feature is that the discharge time of the capacitor 11 is changed.

即ち、本実施例の集積化されたチャタリング防止回路は
、第3図の従来の回路構成に加えて、フンパレータ12
のコンデンサ11の充放電端に接続する端子を反転入力
としコンパレータ12の出力にエミッタ接地のNPNト
ランジスタ22のベースを接続し、コレクタは抵抗23
を通し、PNPトランジスタ24.25によるカレント
ミラー回路の入力側に接続し、出力側のPNP )ラン
ジスタ25のコレクタは、NPNトランジスタ9のベー
スに接続する回路を付加している。さらに、従来のコン
パレータ12のヒステリシス幅設定用のNPN)ランジ
スタ16と抵抗15を取り除いたものである。
That is, the integrated chattering prevention circuit of this embodiment includes the humpparator 12 in addition to the conventional circuit configuration shown in FIG.
The terminal connected to the charge/discharge terminal of the capacitor 11 is used as an inverting input, and the base of an NPN transistor 22 whose emitter is common is connected to the output of the comparator 12, and the collector is connected to the resistor 23.
A circuit is added in which the collector of the PNP transistor 25 on the output side is connected to the base of the NPN transistor 9. Furthermore, the NPN transistor 16 and resistor 15 for setting the hysteresis width of the conventional comparator 12 are removed.

回路動作は従来例と同様であるが、第2図に示スヨウに
、コンパレータ12が反転し、NPN)ランジスタ22
がONL、電流制限用の抵抗23で決まる電流をPNP
 )ランジスタ24.25のカレントミラー回路を通し
、NPNトランジスタ9のベースに急速に電流を流し、
コンデンサ11を急速放電し、コンパレータ12の反転
後は、充電時間に対し充分早い放電時間で動作を行ない
、外部スイッチ18がOFF時にフンパレータ12が反
転すると、NPNl−ランジスタ22がOFFし、本来
の設定したコンデンサ11の充放電時間でコンデンサ1
1を充放電するようになる。
The circuit operation is the same as the conventional example, but as shown in FIG. 2, the comparator 12 is inverted and the NPN) transistor 22
is ONL, and the current determined by the current limiting resistor 23 is PNP.
) A current is rapidly passed through the current mirror circuit of transistors 24 and 25 to the base of NPN transistor 9,
After rapidly discharging the capacitor 11 and inverting the comparator 12, the operation is performed at a sufficiently fast discharging time compared to the charging time, and when the capacitor 12 is inverted while the external switch 18 is OFF, the NPNl resistor 22 is turned OFF and the original setting is restored. At the charging and discharging time of capacitor 11, capacitor 1
1 will start charging and discharging.

本実施例のチャタリング防止回路では、コンデンサ11
の放電を急速に行なう為、放電電流を決めているNPN
)ランジスタ9のベース電流を増加させている。これは
、コンパレータ12の反転に連動し、エミッタ接地トラ
ンジスタ22と電流制限用の抵抗23と2個のPNP 
)ランジスタ24.25とで構成するカレントミラー回
路で、機能させている。
In the chattering prevention circuit of this embodiment, the capacitor 11
NPN whose discharge current is determined in order to discharge rapidly.
) The base current of transistor 9 is increased. This is linked to the inversion of the comparator 12, and connects a common emitter transistor 22, a current limiting resistor 23, and two PNP transistors.
) It functions with a current mirror circuit composed of transistors 24 and 25.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、放電時間を急速に放電す
ることにより、チャタリングに対する誤動作防止できる
効果があり、また充電時間が放電時間より長いチャタリ
ングによる誤動作を防止する効果もある。
As explained above, the present invention has the effect of preventing malfunction due to chattering by rapidly discharging the discharge time, and also has the effect of preventing malfunction due to chattering where the charging time is longer than the discharging time.

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

第1図は本発明の一実施例のチャタリング防止回路の回
路図、第2図は第1図の回路図のタイミング図、第3図
は従来の集積化されたチャタリング防止回路の回路図、
第4図は第3図の回路図のタイミング図である。 1.3,4,10,13,14,15.23・・・・・
・抵抗、2,12・・・・・・コンパレータ、5,8,
9゜16.22・・・・・・NPN)ランジスタ、6,
7・・・・・・定電流源、11・・・・・・コンデンサ
、24.25・・・・・・PNP )ランジスタ、17
・・・・・・入力端子、18・・・・・・外付はスイッ
チ、19・・・・・・出力端子、20・・・・・・電源
端子、21・・・・・接地端子。
FIG. 1 is a circuit diagram of a chattering prevention circuit according to an embodiment of the present invention, FIG. 2 is a timing diagram of the circuit diagram of FIG. 1, and FIG. 3 is a circuit diagram of a conventional integrated chattering prevention circuit.
FIG. 4 is a timing diagram of the circuit diagram of FIG. 3. 1.3, 4, 10, 13, 14, 15.23...
・Resistance, 2, 12...Comparator, 5, 8,
9゜16.22...NPN) transistor, 6,
7...constant current source, 11...capacitor, 24.25...PNP) transistor, 17
...Input terminal, 18...External switch, 19...Output terminal, 20...Power terminal, 21...Ground terminal.

Claims (1)

【特許請求の範囲】[Claims] スイッチのオン・オフ状態を充放電回路を介して出力す
るチャタリング防止回路において、前記充放電回路の出
力反転に連動して、前記充放電回路の放電を急速に行な
う手段が設けられていることを特徴とするチャタリング
防止回路。
A chattering prevention circuit that outputs the on/off state of a switch via a charging/discharging circuit is provided with means for rapidly discharging the charging/discharging circuit in conjunction with reversal of the output of the charging/discharging circuit. Features a chattering prevention circuit.
JP2269871A 1990-10-08 1990-10-08 Chattering prevention circuit Pending JPH04145715A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2269871A JPH04145715A (en) 1990-10-08 1990-10-08 Chattering prevention circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2269871A JPH04145715A (en) 1990-10-08 1990-10-08 Chattering prevention circuit

Publications (1)

Publication Number Publication Date
JPH04145715A true JPH04145715A (en) 1992-05-19

Family

ID=17478376

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2269871A Pending JPH04145715A (en) 1990-10-08 1990-10-08 Chattering prevention circuit

Country Status (1)

Country Link
JP (1) JPH04145715A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6801062B2 (en) 2002-01-24 2004-10-05 Matsushita Electric Industrial Co., Ltd. Output circuit
US9117551B2 (en) 2012-01-13 2015-08-25 Mitsubishi Electric Corporation SRAM memory card and voltage monitoring circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6801062B2 (en) 2002-01-24 2004-10-05 Matsushita Electric Industrial Co., Ltd. Output circuit
US9117551B2 (en) 2012-01-13 2015-08-25 Mitsubishi Electric Corporation SRAM memory card and voltage monitoring circuit

Similar Documents

Publication Publication Date Title
US20020043998A1 (en) Two-terminal switch circuit and voltage threshold responsive circuit component
JPH04145715A (en) Chattering prevention circuit
JPH06342322A (en) Microprocessor resetting device especially for application for automobile
JPS611117A (en) Constant current pulse drive circuit
JP2002078239A (en) Power unit for vehicle
US4748398A (en) Circuit for controlling a series switching element in a clocked power supply
US4303838A (en) Master-slave flip-flop circuits
JP3291877B2 (en) Power holding circuit
JP2587527B2 (en) Switch / receiver circuit
KR950002459Y1 (en) Pop noise reduction circuit
JPS6122345Y2 (en)
KR920006206Y1 (en) Audio muting circuit
JPH03218227A (en) Discharging circuit for switching power supply
JPH02201618A (en) System resetting circuit
JPS5842971B2 (en) Proximity switch
KR960007049Y1 (en) Power circuit using a comparator
JPH06276699A (en) Power supply circuit
JPH03143010A (en) One-shot pulse generating circuit
JP2601724Y2 (en) Starting circuit
JPH0642767B2 (en) System reset circuit
JPH0450660Y2 (en)
JPH0311572B2 (en)
JPH0115217Y2 (en)
JPH03143011A (en) Switch receiver circuit
JPH0236002B2 (en)