JPH01168116A - Chattering preventing circuit - Google Patents
Chattering preventing circuitInfo
- Publication number
- JPH01168116A JPH01168116A JP62325209A JP32520987A JPH01168116A JP H01168116 A JPH01168116 A JP H01168116A JP 62325209 A JP62325209 A JP 62325209A JP 32520987 A JP32520987 A JP 32520987A JP H01168116 A JPH01168116 A JP H01168116A
- Authority
- JP
- Japan
- Prior art keywords
- nand gate
- input
- input nand
- switches
- level
- 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
Links
- 244000145845 chattering Species 0.000 title claims abstract description 21
- 230000002265 prevention Effects 0.000 claims abstract description 11
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
Landscapes
- Keying Circuit Devices (AREA)
- Manipulation Of Pulses (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、電気回路で使用される機械的スイッチの接点
に生じるチャタリングを防止する回路に関し、特にナン
ドゲート(NANDゲート)と抵抗を用いて構成したチ
ャタリング防止回路に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a circuit for preventing chattering occurring at the contacts of a mechanical switch used in an electric circuit, and particularly to a circuit configured using a NAND gate and a resistor. This invention relates to a chattering prevention circuit.
従来、第3図に示すようにこの種のチャタリング防止回
路では、1個の機械的スイッチ(以降スイッチとする)
3−1に対して、2個のNAND )r−ト5−1及び
5−2と抵抗1及び2−1を用いている。従って、複数
個のスイッチに対するチャタリング防止回路を構成する
際、第3図に示す回路をスイッチの数だけ用意している
。Conventionally, as shown in Fig. 3, this type of chattering prevention circuit uses one mechanical switch (hereinafter referred to as a switch).
3-1, two NAND) gates 5-1 and 5-2 and resistors 1 and 2-1 are used. Therefore, when configuring a chattering prevention circuit for a plurality of switches, the circuits shown in FIG. 3 are prepared in equal numbers to the number of switches.
上述のように、従来のチャタリング防止回路では、1個
のスイッチの数に対して2個づつのNANDゲートと抵
抗が必要になシ、スイッチの数が増えると、使用するN
ANDゲート及び抵抗の数が増えてしまい、いずれにし
ても多数のNANDゲートと抵抗が必要となるという問
題点がある。As mentioned above, conventional chattering prevention circuits require two NAND gates and two resistors for each switch, and as the number of switches increases, the number of NAND gates used increases.
The problem is that the number of AND gates and resistors increases, and in any case, a large number of NAND gates and resistors are required.
本発明によるチャタリング防止口iは、1個−の多入力
NANDゲートと、N個(Nは3以上の整数)の2入力
NANDゲートと、(N−1−1)個の抵抗とを有し、
電源が抵抗を介してそれぞれ多入力NANr−ト及び2
入力NAND r −)に接続され、N個のスイッチの
オン側が多入力NANDゲートの入力に接続され、N個
のスイッチのオフ側がそれぞれ2入力NANDゲートの
入力に接続されるとともに2入力NANDゲートの出力
がそれぞれ多入力NANDゲートの入力に接続され、さ
らに多入力NANDゲートの出力が2入力NANDゲー
トに接続されることを特徴としている。The chattering prevention port i according to the present invention includes one multi-input NAND gate, N two-input NAND gates (N is an integer of 3 or more), and (N-1-1) resistors. ,
The power supplies are connected to the multi-input NAN r-to and 2 through resistors, respectively.
The on-sides of the N switches are connected to the inputs of the multi-input NAND gate, and the off-sides of the N switches are connected to the inputs of the two-input NAND gates, respectively. It is characterized in that the outputs are each connected to the inputs of a multi-input NAND gate, and the output of the multi-input NAND gate is further connected to a two-input NAND gate.
次に1本発明について図面を参照して説明する。 Next, one embodiment of the present invention will be explained with reference to the drawings.
第1図を参照して2本発明によるチャタリング防止回路
はプルアップ抵抗1.2−1.2−n(以降抵抗とする
) 、 NANDf−)4 、2入力NANDゲート5
を備えている。なお3−1〜3−nはスイッチである。Referring to FIG. 1, the chattering prevention circuit according to the present invention includes a pull-up resistor 1.2-1.2-n (hereinafter referred to as resistor), a NANDf-)4, and a two-input NAND gate 5.
It is equipped with Note that 3-1 to 3-n are switches.
抵抗1は、一端が電源に接続され、他端がそれぞれスイ
ッチ3−1〜3−nのa点とNANDゲート4に接続さ
れている。この結果、スイッチ3−1〜3−nがa点に
接触されていない際には、NANDf −) 4の入力
が電源電圧(以降Hレベルとする)となる。One end of the resistor 1 is connected to a power source, and the other end is connected to points a of the switches 3-1 to 3-n and the NAND gate 4, respectively. As a result, when the switches 3-1 to 3-n are not in contact with the point a, the input of the NANDf-)4 becomes the power supply voltage (hereinafter referred to as H level).
抵抗2−1〜2−nは、それぞれ一端が電源に接続され
、他端がそれぞれスイッチ3−1〜3−nのb点とNA
NDゲート5−1〜5−nに接続されている。この結果
、スイッチ3−1〜3−nがb点に接続されていないと
、 NANDゲート5−1〜5−nの入□力がHレベル
となる。One end of each of the resistors 2-1 to 2-n is connected to the power supply, and the other end is connected to point b of each of the switches 3-1 to 3-n and NA.
It is connected to ND gates 5-1 to 5-n. As a result, if the switches 3-1 to 3-n are not connected to point b, the inputs of the NAND gates 5-1 to 5-n become H level.
スイッチ3−1〜3−nは2接点の機械的スイッチで、
その0点はグランド(以降Lレベルとする)に接続され
ている。そして、このスイッチをオン(0点はa点に接
触)、オフ(0点はb点に接触)することによシ出力O
UT 1〜OUT nが変化する。Switches 3-1 to 3-n are two-contact mechanical switches,
The 0 point is connected to ground (hereinafter referred to as L level). Then, by turning this switch on (point 0 contacts point a) and off (point 0 contacts point b), the output
UT1 to OUTn change.
なお、これらスイッチ3−1〜3−nは同時にオン、オ
フされることなく2通常はOFFになっていることとす
る。It is assumed that these switches 3-1 to 3-n are not turned on and off at the same time, but are normally turned off.
NAND ?−ト4は全てのスイッチ3−1〜3−n0
3点に共用される。NANDゲート4の出力端はNAN
D 5−1〜5−nの入力端に接続され、またNAND
P −) 4の入力端にはNAND 5−1〜5−
nの出力端が接続されている。そして、 NANDゲー
ト5−1〜5−nはそれぞれチャタリングがなくなった
スイッチ3−1〜3−nの状態をOUT 1〜OUT
nに出力する。NAND? -Gt 4 is for all switches 3-1 to 3-n0
It is shared by three points. The output terminal of NAND gate 4 is NAN
D Connected to the input terminals of 5-1 to 5-n, and also connected to NAND
NAND 5-1 to 5- at the input terminal of P-) 4
The output terminals of n are connected. Then, the NAND gates 5-1 to 5-n output the states of the switches 3-1 to 3-n in which chattering has disappeared, respectively.
Output to n.
通常、スイッチ3−1〜3−nはオフ状態であシ、それ
ぞれのb点はLレベルとなシ、従って。Normally, the switches 3-1 to 3-n are off, and their respective points b are at L level.
NANDダー)5−1〜5−nの出力OUT 1〜OU
T nはHレベルになっている。また、スイッチ3−1
〜3−nはa点に接触されていないため(オフ)Hレベ
ルになる。従って全ての入力がHレベルとなったNAN
Dデート4の出力はLレベルとなシ。NAND driver) 5-1 to 5-n output OUT 1 to OU
Tn is at H level. In addition, switch 3-1
~3-n is not in contact with point a (off) and becomes H level. Therefore, NAN with all inputs at H level
The output of D date 4 is L level.
NANDゲート5−1〜5−nの入力をLレベルにして
安定する。The inputs of NAND gates 5-1 to 5-n are brought to L level and stabilized.
次にスイッチ3−1がオフからオンへ、あ、るいはオン
からオフへ変化した際の状態を第2図を用いて説明する
。ここでtpd B 1はスイッチ3−1がb点から完
全に離れるまでのチャタリング時間。Next, the state when the switch 3-1 changes from off to on or from on to off will be explained using FIG. Here, tpdB1 is the chattering time until the switch 3-1 completely leaves point b.
tpd N 1はスイッチ3−1がb点及びa点いずれ
にも接触していない時間、 tpd A 1はスイッチ
3−1がa点に接触して完全にチャタリングがなくなる
までの時間、tpdA2はスイッチ3−1がa点から完
全に離れるまでのチャタリング時間。tpd N 1 is the time during which the switch 3-1 is not in contact with either point b or point a, tpd A 1 is the time until the switch 3-1 is in contact with point a and chattering is completely eliminated, and tpd A2 is the time when the switch 3-1 is in contact with point a. Chattering time until 3-1 completely leaves point a.
tpd N 2はスイッチ3−1がa点及びb点いずれ
にも接触していない時間、 tpd B 2はスイッチ
3−1がb点に接触して完全にチャタリングがなくなる
までの時間を示す。tpd N 2 indicates the time during which the switch 3-1 is not in contact with either point a or point b, and tpd B 2 indicates the time until the switch 3-1 contacts point b and chattering is completely eliminated.
スイッチ3−1がオフからオンになる場合。When switch 3-1 is turned on from off.
tpct B 1からtpd N 1間はNANDゲー
ト4がLレベルを出力しているため、出力OUT 1〜
OUT nはHレベルのまま変化しない。tpa A
1において、a点が最初にLレベルになった時、 NA
NDゲート4はHレベルとなシ、一方の入力(スイッチ
の5点側)がHレベルになっているNAND 5−1の
出力OUT 1のみLレベルに変化する。この結果、
NANDグート4の出力はHレベル、 OUT 1はL
レベルで安定する。Since the NAND gate 4 outputs the L level between tpct B 1 and tpd N 1, the outputs OUT 1 to tpd N 1
OUT n remains at H level and does not change. tpaA
In 1, when point a first becomes L level, NA
The ND gate 4 is at H level, and only the output OUT 1 of NAND 5-1 whose one input (point 5 side of the switch) is at H level changes to L level. As a result,
NAND goot 4 output is H level, OUT 1 is L level
stable at the level.
スイッチ3−1がオンからオフになる場合。When switch 3-1 changes from on to off.
tpd A 2からtpdN2間はNANDゲート4が
Hレベルを出力しているため、出力OUT 1はLレベ
ルのまま変化しない。この時OUT 2〜OUT nは
Hレベルのまま変化しない。Since the NAND gate 4 outputs the H level between tpdA2 and tpdN2, the output OUT1 remains at the L level and does not change. At this time, OUT2 to OUTn remain at the H level and do not change.
tpd B 2においてb点が最初にLレベルになった
時、 NANDゲート5−1の出力OUT 1はHレベ
ルとなり、入力が全部HレベルとなったNANDゲート
4の出力はLレベルに変化する。この結果、出力OUT
1はHレベル、 NANDゲート4の出力はLレベル
で安定する。このようにしてOUT 1の出力からチャ
タリングは取り除かれる。なお、スイッチ3−2〜3−
nのオンオフの際にも同様にしてチャタリングが取シ除
かれる。When point b first becomes L level in tpd B2, the output OUT1 of NAND gate 5-1 becomes H level, and the output of NAND gate 4, whose inputs are all H level, changes to L level. As a result, the output OUT
1 is at H level, and the output of NAND gate 4 is stable at L level. In this way, chattering is removed from the output of OUT1. In addition, switches 3-2 to 3-
Chattering is similarly removed when n is turned on and off.
以上説明したように本発明では、N個のスイッチに対す
るチャタリング防止回路を構成する際。As explained above, in the present invention, when configuring a chattering prevention circuit for N switches.
2つのNANDゲートと2つの抵抗とで構成される1つ
のスイッチに対するチャタリング防止回路の1つのNA
NDゲートと1つの抵抗を共用するようにしたから、N
−1個のNANDゲートと抵抗とを削減できるという効
果がある。One NA of anti-chattering circuit for one switch consisting of two NAND gates and two resistors
Since one resistor is shared with the ND gate, the N
-There is an effect that one NAND gate and resistor can be reduced.
第1図は本発明の一実施例の構成を示す図、第2図は本
発明のチャタリング防止回路の動作を説明するためのタ
イミング図、第3図は従来のチャタリング防止回路の構
成を示す図である。
1.2−1〜2−n・・・抵抗、3−1〜3−n・・・
機械的スイッチ、4・・・NANDゲート、5−1〜5
−n・・・2入力NANDゲート。
第1図FIG. 1 is a diagram showing the configuration of an embodiment of the present invention, FIG. 2 is a timing diagram for explaining the operation of the chattering prevention circuit of the present invention, and FIG. 3 is a diagram showing the configuration of a conventional chattering prevention circuit. It is. 1.2-1~2-n...Resistance, 3-1~3-n...
Mechanical switch, 4...NAND gate, 5-1 to 5
-n...2-input NAND gate. Figure 1
Claims (1)
整数)個の2入力NANDゲートと、(N+1)個の抵
抗とを有し、電源が前記抵抗を介してそれぞれ前記多入
力NANDゲート及び2入力NANDゲートに接続され
、前記N個のスイッチのオン側が前記多入力NANDゲ
ートの入力に接続され、前記N個のスイッチのオフ側が
それぞれ前記2入力NANDゲートの入力に接続される
とともに前記2入力NANDゲートの出力がそれぞれ前
記多入力NANDゲートの入力に接続され、さらに多入
力NANDゲートの出力が前記2入力NANDゲートに
接続されているチャタリング防止回路。1, one multi-input NAND gate, N (N is an integer of 3 or more) two-input NAND gates, and (N+1) resistors, and a power supply is connected to each of the multi-inputs through the resistors. connected to a NAND gate and a 2-input NAND gate, on sides of the N switches are connected to inputs of the multi-input NAND gate, and off sides of the N switches are connected to inputs of the 2-input NAND gate, respectively. and a chattering prevention circuit, wherein outputs of the two-input NAND gates are respectively connected to inputs of the multi-input NAND gate, and further outputs of the multi-input NAND gate are connected to the two-input NAND gate.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62325209A JPH01168116A (en) | 1987-12-24 | 1987-12-24 | Chattering preventing circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP62325209A JPH01168116A (en) | 1987-12-24 | 1987-12-24 | Chattering preventing circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01168116A true JPH01168116A (en) | 1989-07-03 |
Family
ID=18174244
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP62325209A Pending JPH01168116A (en) | 1987-12-24 | 1987-12-24 | Chattering preventing circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01168116A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0505189A2 (en) * | 1991-03-19 | 1992-09-23 | Hitachi, Ltd. | Switching state detecting apparatus, control unit and transmission unit |
-
1987
- 1987-12-24 JP JP62325209A patent/JPH01168116A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0505189A2 (en) * | 1991-03-19 | 1992-09-23 | Hitachi, Ltd. | Switching state detecting apparatus, control unit and transmission unit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4806804A (en) | Mosfet integrated delay line for digital signals | |
EP0361404A3 (en) | Memory circuit provided with improved redundant structure | |
JPH07249501A (en) | Electronic circuit | |
GB1505743A (en) | Universal logic gate | |
JPH01168116A (en) | Chattering preventing circuit | |
JPS5928296B2 (en) | current switch logic circuit | |
JP3128661B2 (en) | High resolution timing adjustment circuit | |
EP0138126A2 (en) | Logic circuit with low power structure | |
JPS6120421A (en) | Semiconductor integrated circuit | |
JPS6240818A (en) | Switching circuit | |
US3506845A (en) | Networks of elements for implementing threshold functions | |
JPH0738420A (en) | Multivalued logical circuit | |
JPS643054B2 (en) | ||
SU1185578A1 (en) | Jk-flip-flop | |
JP2775824B2 (en) | Josephson drive circuit with polarity switching | |
JP2616454B2 (en) | String resistance type D / A converter | |
JPH0137010B2 (en) | ||
JPH06311000A (en) | Semiconductor input circuit | |
JPS6211316A (en) | Flip-flop circuit | |
JP2680922B2 (en) | CMOS logic circuit | |
JPH06314967A (en) | Output buffer | |
SU1262717A1 (en) | Logic element | |
JPS62298218A (en) | Logic circuit | |
JPH02192222A (en) | Exclusive nor circuit | |
JP2000031799A (en) | Signal selection circuit |