JPH04192001A - Switch opening/closing action detector - Google Patents
Switch opening/closing action detectorInfo
- Publication number
- JPH04192001A JPH04192001A JP32433390A JP32433390A JPH04192001A JP H04192001 A JPH04192001 A JP H04192001A JP 32433390 A JP32433390 A JP 32433390A JP 32433390 A JP32433390 A JP 32433390A JP H04192001 A JPH04192001 A JP H04192001A
- Authority
- JP
- Japan
- Prior art keywords
- logic level
- switch
- pulse signal
- square wave
- wave pulse
- 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
Landscapes
- Control By Computers (AREA)
- Programmable Controllers (AREA)
Abstract
Description
【発明の詳細な説明】
〔発明の目的〕
(産業上の利用分野)
本発明は、一般に、スイッチの開/閉動作検出装置に関
し、例えば、ボタン電話装置の自動組立機や自動検査機
において、ボタンを自動的に操作したり、部品を供給す
るために部品を自動的に運んだりするためのピストン機
構を備え、上記ピストンの最大ストローク時に閉成動作
せしめられるスイッチと、上記ピストンの最少ストロー
ク時に閉成動作せしめられるスイッチ、或いは、動作開
始と停止、又は、動作手順の変更等のために手動操作を
行なう操作パネルのスイッチの開/閉動作を検出するス
イッチの開/閉動作検出装置に関する。[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) The present invention generally relates to a device for detecting open/close operation of a switch. It is equipped with a piston mechanism for automatically operating buttons and automatically transporting parts for supply, and includes a switch that is operated to close when the piston has the maximum stroke and when the piston has the minimum stroke. The present invention relates to a switch opening/closing operation detection device for detecting the opening/closing operation of a switch that is closed or a switch on an operation panel that is manually operated to start and stop an operation, change an operation procedure, etc.
(従来の技術)
一般に、上述したごとき構成の自動組立機では、該自動
組立機の動作状況を検知するための手段の1つとして、
上記ピストンの最大ストローク時に閉成動作せしめられ
るスイッチと、上記ピストンの最小ストローク時に閉成
動作せしめられるスイッチとが設けられている。これら
両スイッチには、例えばマイクロスイッチが適用される
。(Prior Art) Generally, in an automatic assembly machine having the above-mentioned configuration, one of the means for detecting the operating status of the automatic assembly machine is
A switch is provided that is operated to close when the piston has a maximum stroke, and a switch that is operated to close when the piston has a minimum stroke. For example, microswitches are applied to both of these switches.
第4図は、このようなマイクロスイッチの開/閉動作を
検知するために設けられた従来のスイッチの開/閉動作
検出装置を示した図である。第4図にて示す従来のスイ
ッチの開/閉動作検出装置は、上記マイクロスイッチの
閉成動作を検知することによって、上記自動組立機の動
作状況を正確に把握するために設けられたものである。FIG. 4 is a diagram showing a conventional switch open/close operation detecting device provided to detect the open/close operation of such a microswitch. The conventional switch opening/closing operation detection device shown in FIG. 4 is provided to accurately grasp the operating status of the automatic assembly machine by detecting the closing operation of the microswitch. be.
第4図にて示したスイッチの開/閉動作検出装置は、ス
イッチ113a、113bを始め、プルアップ抵抗11
5a、115b、インバータゲート117a、117b
及びマイクロコンピュータ118を備えた構成となって
いる。The switch open/close operation detection device shown in FIG.
5a, 115b, inverter gates 117a, 117b
and a microcomputer 118.
スイッチ113a、113bには、ともに常開のマイク
ロスイッチが使用されており、これらスイッチ113a
、113bは、アースされている共通線122に、とも
に接続されている。スイッチ113aは、又、接続線1
21aにも接続されている。この接続線121aは、上
記スイッチ113aを始め、プルアップ抵抗115a、
インバータゲー)117a及びマイクロコンピュータ1
18の一方の入力端子118aと接続されている。スイ
ッチ113bも又上記スイッチ113aと同様に、接続
線121bにも接続されている。The switches 113a and 113b are both normally open microswitches.
, 113b are both connected to a common line 122 which is grounded. The switch 113a also connects the connection line 1
21a. This connection line 121a includes the switch 113a, the pull-up resistor 115a,
Inverter game) 117a and microcomputer 1
It is connected to one input terminal 118a of 18. The switch 113b is also connected to the connection line 121b like the switch 113a.
この接続線121bは、上記スイッチ113bのみなら
ず、プルアップ抵抗115b、インバータゲート117
b及びマイクロコンピュータ118の他方の入力端子1
18bと接続されている。ここで、スイッチ113aと
スイッチ113bとは、いずれか一方が上記ピストンの
最大ストローク時に、又、いずれか他方が上記ピストン
の最小ストローク時に、夫々閉成動作するようになって
いるも、のである。プルアップ抵抗115a、115b
の抵抗値は同一である。接続線121 a。This connection line 121b is connected not only to the switch 113b but also to the pull-up resistor 115b and the inverter gate 117.
b and the other input terminal 1 of the microcomputer 118
18b. Here, the switch 113a and the switch 113b are configured to close each other when one of the switches is at the maximum stroke of the piston and the other is at the minimum stroke of the piston. Pull-up resistors 115a, 115b
have the same resistance value. Connection line 121a.
121bに夫々プルアップ抵抗115a。121b and a pull-up resistor 115a, respectively.
115bを接続した理由は、スイッチ113a。The reason for connecting 115b is switch 113a.
113bが開放状態のときに、マイクロコンピュータ1
18の入力端子118a、118bに夫々論理レベル“
L”の電圧信号が印加されるようにするためである。換
言すれば、開放状態にあるスイッチ113 a sスイ
ッチ113bが閉成動作したときには、マイクロコンビ
エータ118の入力端子118a、118bに夫々論理
レベル“H″の電圧信号が印加されることとなる。When 113b is open, the microcomputer 1
Each of the 18 input terminals 118a and 118b has a logic level "
This is to ensure that a voltage signal of "L" is applied. In other words, when the switch 113a and the switch 113b, which are in the open state, are closed, a logic signal is applied to the input terminals 118a and 118b of the micro combinator 118, respectively. A voltage signal of level "H" will be applied.
上述したマイクロコンピュータ118は、例えば、並列
処理ビット数が8ビツトのマイクロコンピュータが使用
されている。このマイクロコンピュータ118は8本の
データバを有し、特定アドレスで選択される入力回路(
図示省略)の8点の入力端子のうちの2点である符号1
18aと符号118bにインバータゲート117aとイ
ンバータゲート117bとか接続されており、マイクロ
コンピュータ118が、接続線121aと接続線121
bの論理レベルを読取ることができるように構成されて
いる。The microcomputer 118 mentioned above is, for example, a microcomputer with a parallel processing bit count of 8 bits. This microcomputer 118 has eight data bars, and input circuits (
Reference numeral 1 is two of the eight input terminals (not shown).
18a and 118b are connected to an inverter gate 117a and an inverter gate 117b, and the microcomputer 118 is connected to a connecting line 121a and a connecting line 121.
It is configured to be able to read the logic level of b.
なお、第4図では、図示の都合上、スイッチは、符号1
13a、113bの2個分しか記載していないが、上記
1つの特定アドレスで選択される入力回路でも8個まで
のスイッチが接続可能であり、更に入力回路を増設する
ことにより、多くのスイッチを接続することが可能であ
る。例えば、データバスが8本の8ビツトマイクロコン
ピユータであっても、アドレスバスが16本であれば、
接続可能スイッチの最大数は52万個あまりとなる。In addition, in FIG. 4, for convenience of illustration, the switch is designated by the reference numeral 1.
Although only two switches 13a and 113b are shown, up to eight switches can be connected even with the input circuit selected by one specific address, and by adding more input circuits, many switches can be connected. It is possible to connect. For example, even if an 8-bit microcomputer has eight data buses, if it has 16 address buses,
The maximum number of connectable switches is about 520,000.
(発明が解決しようとする課題) ところで、上述したスイッチ113a。(Problem to be solved by the invention) By the way, the switch 113a mentioned above.
113bを設けるに際しては、共通線122と、各スイ
ッチ113a、113bに対応して2本の接続線121
a、121bが必要である。即ち、2個のスイッチ11
3a、113bを設けるのに接続線として2本、共通線
として1本の合計3本分の配線を必要とすることとなる
。このように2個のスイッチを設けるのに共通線1本を
含み、3本の配線を必要とするので、例えば、8個のス
イッチを設けなければならない場合には、共通線1本を
含め9本の配線が必要となり、コスト高を招来するおそ
れがある。113b, a common line 122 and two connection lines 121 corresponding to each switch 113a, 113b are provided.
a, 121b are required. That is, two switches 11
3a and 113b requires a total of three wires, two as connection lines and one as a common line. In this way, providing two switches requires three wires, including one common line, so for example, if eight switches are required, nine wires including one common line are required. This requires additional wiring, which may lead to higher costs.
上記のように設置すべきスイッチの個数に比して余分な
配線が必要だとすると、前述した自動組立機のピストン
機構に近接して設置しなければならないスイッチ群と、
これらスイッチ群から出力される論理レベル信号を受け
て演算処理動作を行うマイクロコンピュータとの間の距
離が長くなった場合には、大幅なコスト高を招来するの
みならず、場合によっては装置の信頼性の低下や装置の
メンテナンスが容易でなくなる等の不具合が生じるおそ
れもあ、った。If extra wiring is required compared to the number of switches to be installed as described above, a group of switches that must be installed close to the piston mechanism of the automatic assembly machine mentioned above,
If the distance between the microcomputer that receives logic level signals output from these switch groups and performs arithmetic processing operations becomes long, not only will this result in a significant increase in costs, but in some cases, the reliability of the equipment may be reduced. There was also the risk of problems such as a decline in performance and difficulty in maintaining the equipment.
従って本発明は、上記事情を考慮してなされたもので、
その目的は、設置すべきスイ・ソチの個数よりも余分な
配線を必要としない回路構成とすることによって、コス
ト高となるのを防止することが可能なスイッチの開/閉
動作検出装置を提供することにある。Therefore, the present invention has been made in consideration of the above circumstances, and
The purpose is to provide a switch open/close operation detection device that can prevent high costs by creating a circuit configuration that does not require extra wiring than the number of switches that need to be installed. It's about doing.
(課題を解決するための手段)
上記目的を達成するために本発明は、外部から加えられ
た圧力、又はその解除によって接点が開/閉せしめられ
る第1のスイッチ及び第2のスイッチを1組とした少な
くとも1組以上のスイ・フチ群の開/閉動作を、各々の
スイッチ別に検出するスイッチの開/閉動作検出装置に
おいて、所定論理レベルの方形波パルス信号を生成して
出力する方形波パルス信号生成、出力手段と、前記各組
の第1のスイッチと対応させて設けられ、前記各組の第
1のスイッチが閉成動作したことによって、前記方形波
パルス信号生成、出力手段から出力された方形波パルス
信号の一方の論理レベルのときにのみ導通状態となる第
1の半導体スイッチング手段と、前記各組の第2のスイ
ッチと対応させて設けられ、前記各組の第2のスイッチ
が閉成動作したことによって、前記方形波パルス信号生
成、出力手段から出力された方形波パルス信号の他方ノ
論理レベルのときにのみ導通状態となる第2の半導体ス
イッチング手段と、前記各組の第1のスイッチと対応さ
せて設けられ、前記第1のスイッチが閉成動作せしめら
れたときを経過した後に、前記第1の半導体スイッチン
グ手段を通して与えられる前記方形波パルス信号の一方
の論理レベルを受けて、該受けた時点より前記第1のス
イッチが開放状態となったときを経過した後の時点まで
の間、前記一方の論理レベルの保持を継続する第1の論
理レベル保持手段と、前記各組の第2のスイッチと対応
させて設けられ、前記第2のスイッチが閉成動作せしめ
られたときを経過した後に、前記第2の半導体スイッチ
ング手段を通して与えられる前記方形波パルス信号の他
方の論理レベルを受けて、該受けた時点より前記第2の
スイッチが開放状態となったときを経過した後の時点ま
での間、前記一方の論理レベルの保持を継続する第2の
論理レベル保持手段と、前記一方の論理レベルが前記第
1の論理レベル保持手段から出力されているときには、
前記第1のスイッチが閉成動作していると判断し、前記
一方の論理レベルが前記第2の論理レベル保持手段から
出力されているときには、前記第2のスイッチが閉成動
作していると判断するとともに、前記一方の論理レベル
が前記両輪環レベル保持手段から出力されていないとき
には、前記両スイッチは開放状態にあると判断する判断
手段と、を備えた構成とした。(Means for Solving the Problems) In order to achieve the above object, the present invention includes a set of a first switch and a second switch whose contacts are opened/closed by externally applied pressure or its release. In a switch opening/closing operation detection device that detects the opening/closing operation of at least one or more groups of switch edges for each switch, a square wave pulse signal that generates and outputs a square wave pulse signal of a predetermined logic level is used. A pulse signal generation/output means is provided in correspondence with the first switch of each set, and when the first switch of each set closes, the square wave pulse signal generation/output means outputs. a first semiconductor switching means that becomes conductive only when the square wave pulse signal is at one logic level; and a first semiconductor switching means that is provided in correspondence with the second switch of each group, and The second semiconductor switching means becomes conductive only when the other one of the square wave pulse signals outputted from the square wave pulse signal generation and output means is at the logic level due to the closing operation; is provided in correspondence with a first switch, and controls one logic level of the square wave pulse signal applied through the first semiconductor switching means after the first switch is closed. and a first logic level holding means that continues to hold the one logic level from the time when the first switch is opened to a time after the time when the first switch is opened; The other of the square wave pulse signals provided through the second semiconductor switching means is provided in correspondence with the second switch of each set, and after the second switch is closed, the other one of the square wave pulse signals is applied through the second semiconductor switching means. second logic level holding means that receives the logic level and continues to hold the one logic level from the time when the logic level is received until a time after the time when the second switch is in an open state; and when the one logic level is output from the first logic level holding means,
When it is determined that the first switch is in a closing operation and the one logic level is output from the second logic level holding means, it is determined that the second switch is in a closing operation. and determining means for determining that both switches are in an open state when the one logic level is not output from the two ring level holding means.
(作 用)
上記構成において、外部から加えられた圧力、又は外部
から加えられた圧力の解除によって第1のスイッチが閉
成動作せしめられると、方形波パルス信号生成、出力手
段から出力された方形波パルス信号の一方の論理レベル
が、第1の半導体スイッチング手段を通して第1の論理
レベル保持手段に与えられる。この一方の論理レベルは
、第1のスイッチが閉成動作せしめられたときを経過し
た後に、第1の論理レベル保持手段によって採り込まれ
、第1のスイッチが開放状態となったときを経過した後
の時点までの間、第1の論理レベル保持手段により保持
が継続される。第1の論理レベル保持手段により保持が
継続されている間、前記一方の論理レベルは判断手段に
対して継続的に出力される。これにより、判断手段は、
第1のスイッチか閉成動作していると判断することとな
る一方、外部から加えられた圧力、又は外部から加えら
れた圧力の解除によって第2のスイッチが閉成動作せし
められると、方形波パルス信号生成、出力手段から出力
された方形波パルス信号の他方の論理レベルが、第2の
半導体スイッチング手段を通して第2の論理レベル保持
手段に与えられる。(Function) In the above configuration, when the first switch is caused to close due to externally applied pressure or release of externally applied pressure, a square wave pulse signal is generated and a square wave output from the output means is generated. One logic level of the wave pulse signal is applied to the first logic level holding means through the first semiconductor switching means. This one logic level is taken by the first logic level holding means after the time when the first switch is brought into a closed operation, and the time when the first switch is brought into an open state. The holding is continued by the first logic level holding means until a later point in time. While the first logic level holding means continues to hold the logic level, the one logic level is continuously outputted to the determination means. As a result, the means of judgment is
While it is determined that the first switch is in a closing operation, when the second switch is caused to close due to externally applied pressure or release of externally applied pressure, a square wave The other logic level of the square wave pulse signal output from the pulse signal generation and output means is applied to the second logic level holding means through the second semiconductor switching means.
この他方の論理レベルが第2の論理レベル保持手段に与
えられることにより生成された一方の論理レベルは、第
2のスイッチが閉成動作せしめられたときを経過した後
から第2のスイッチが開放状態となったときを経過した
後の時点までの間、第2の論理レベル保持手段により保
持が継続される。One logic level generated by applying this other logic level to the second logic level holding means is such that the second switch is opened after the time when the second switch is caused to close. The second logic level holding means continues to hold the logic level until a point after the state has passed.
第2の論理レベル保持手段により保持が継続されている
間、前記一方の論理レベルは判断手段に対して継続的に
出力される。これにより、判断手段は、第2のスイッチ
が閉成動作していると判断することとなる。While the second logic level holding means continues to hold the logic level, the one logic level is continuously outputted to the determination means. As a result, the determining means determines that the second switch is in the closing operation.
第1、第2のスイッチの閉成動作の時期が重なった場合
であっても、これにより第1、第2の論理レベル保持手
段からは各別に、前記一方の論理レベルが判断手段に対
して継続的に出力されるから、判断手段は、第1、第2
の両スイッチがともに閉成動作していると判断する。Even if the timings of the closing operations of the first and second switches overlap, this causes the first and second logic level holding means to individually indicate the logic level of one of them to the determining means. Since the output is continuous, the judgment means
It is determined that both switches are closed.
第1.第2のスイッチがいずれも開放状態にあれば、第
1、第2の論理レベル保持手段からは、前記一方の論理
レベルが判断手段に出力されないから、判断手段は、第
1、第2のスイッチがいずれも開放状態にあると判断す
る。1st. If both of the second switches are in the open state, the first and second logic level holding means do not output the logic level of one of them to the judgment means. It is determined that both are in the open state.
上記構成とすることによって、方形波パルス信号生成、
出力手段と2個のスイッチとの間、第1、第2論理レベ
ル保持手段と上記2個のスイッチとの間を夫々1本の共
通信号線で接続することとしても、この共通信号線を通
して与えられる信号の論理レベルの相違により、いずれ
のスイッチが閉成動作したかが判断できるので、設置す
べきスイッチの個数よりも余分な配線を必要としない回
路構成とすることができ、もって、コスト高となるのを
防止することが可能となった。By having the above configuration, square wave pulse signal generation,
Alternatively, one common signal line may be used to connect the output means and the two switches, and between the first and second logic level holding means and the two switches, respectively. Since it is possible to determine which switch has closed based on the difference in the logic level of the signals, it is possible to create a circuit configuration that does not require more wiring than the number of switches that need to be installed, thereby reducing costs. It is now possible to prevent this from happening.
(実施例) 以下、図面により本発明の一実施例について説明する。(Example) An embodiment of the present invention will be described below with reference to the drawings.
第1図は、本発明の一実施例に従うスイッチの開/閉動
作検出装置の全体的な回路構成を示した図である。FIG. 1 is a diagram showing the overall circuit configuration of a switch opening/closing operation detection device according to an embodiment of the present invention.
第1図にて示すスイッチの開/閉動作検出装置は、クロ
ック信号発生器(O8C)1を始め、遅延回路2、イン
バータゲート3,6,7,8、電流制限用抵抗4 a
、 4 b sスイッチ部5、Dフリップフロップ9,
10,11.12及びマイクロコンピュータ13を備え
た構成となっている。The switch open/close operation detection device shown in FIG. 1 includes a clock signal generator (O8C) 1, a delay circuit 2, inverter gates 3, 6, 7, 8, and a current limiting resistor 4a.
, 4 bs switch section 5, D flip-flop 9,
10, 11, 12 and a microcomputer 13.
クロック信号発生器1は、例えば、周波数1KHzで、
論理レベル″H“ (符号″vh”で表わす)が正の電
源電圧VCCと略等しく且つ論理レベル’L” (符
号“Vl”で表わす)が略0■に設定されたクロックパ
ルス信号を生成する(第3図(A)参照)。そして、こ
の生成したクロックパルス信号を、共通信号線18aを
通してスイッチ部5に印加するとともに、信号線19a
を通して遅延回路2に、又、信号線20aを通してイン
バータゲート3に、夫々印加するようになっている。For example, the clock signal generator 1 has a frequency of 1 KHz,
Generates a clock pulse signal whose logic level "H" (represented by the symbol "vh") is approximately equal to the positive power supply voltage VCC and whose logic level "L" (represented by the symbol "Vl") is set to approximately 0. (See FIG. 3(A).) Then, this generated clock pulse signal is applied to the switch unit 5 through the common signal line 18a, and the signal line 19a
The signal is applied to the delay circuit 2 through the signal line 20a, and to the inverter gate 3 through the signal line 20a.
インバータゲート3は、共通信号線18a及び信号線2
0aを通してクロック信号発生器1からaカされるクロ
ックパルス信号を受けて、該クロックパルス信号の論理
レベルを反転した後、電流制限用抵抗4aを通して共通
信号線18bに、又、電流制限用抵抗4bを通して共通
信号線18cに、夫々印加する。即ち、これにより、ス
イッチ部5を構成する常開スイッチ15a、15bの双
方が開放しているときには、共通信号線18b上に現れ
るクロックパルス信号は、共通信号線18a上に現われ
るクロックパルス信号と逆相となる。同様に、スイッチ
部5を構成する常開スイ1.チ17a、17bの双方が
開放しているときには、共通信号線18c上に現われる
クロックパルス信号は、共通信号線18a上に現われる
クロックパルス信号と逆相となる。The inverter gate 3 has a common signal line 18a and a signal line 2.
After receiving a clock pulse signal from the clock signal generator 1 through 0a and inverting the logic level of the clock pulse signal, the current limiting resistor 4b is connected to the common signal line 18b through the current limiting resistor 4a. The signals are applied to the common signal line 18c through the respective signals. That is, when both the normally open switches 15a and 15b constituting the switch unit 5 are open, the clock pulse signal appearing on the common signal line 18b is opposite to the clock pulse signal appearing on the common signal line 18a. Become a phase. Similarly, the normally open switch 1 configuring the switch section 5 . When both channels 17a and 17b are open, the clock pulse signal appearing on the common signal line 18c is in opposite phase to the clock pulse signal appearing on the common signal line 18a.
電流制限用抵抗4a、4bは、上述した常開スイッチ1
5a、15b、17a、17bのいずれかが閉成動作し
たことによって前記インバータゲート3が短絡するのを
防止するために接続されているものである。即ち、電流
制限用抵抗4aは、信号線20aに設けられているもの
で、インバータゲート3の出力側と共通信号線18bと
を接続している。又、電流制限用抵抗4bは、信号線2
0bに設けられているもので、インバータゲート3の出
力側と共通信号線18cとを接続している。電流制限用
抵抗4aには、抵抗値のかなり大きな素子が用いられて
いる。その理由は、常開スイッチ15aが閉成動作中に
共通信号線18bの電位がインバータゲート3の出力側
の電位よりも高くなったことによって大電流が共通信号
線18b側からインバータゲート3の出力側に流れ込む
のを制限するためである。電流制限用抵抗4bにも、上
記電流制限用抵抗4aと同様に、抵抗値のかなり大きな
素子が用いられている。その理由は、上記と同じく、常
開スイッチ17gが閉成動作中に共通信号線18cの電
位がインバータゲート3の出力側の電位よりも高くなっ
たことによって大電流が共通信号線18c側からインバ
ータゲート3の出力側に流れ込むのを制限するためであ
る。なお、電流制限用抵抗4a、4bには、同一抵抗値
の素子が用いられている。前記共通信号線18b上に現
われる信号波形については、後に第3図(B)を参照し
ながら説明する(共通信号線18c上に現われる信号波
形については、上記共通信号線18bに係る信号波形の
説明内容と同一であるので、説明を省略する)。The current limiting resistors 4a and 4b are connected to the normally open switch 1 described above.
This connection is made to prevent the inverter gate 3 from being short-circuited due to the closing operation of any one of 5a, 15b, 17a, and 17b. That is, the current limiting resistor 4a is provided on the signal line 20a, and connects the output side of the inverter gate 3 and the common signal line 18b. In addition, the current limiting resistor 4b is connected to the signal line 2.
0b, and connects the output side of the inverter gate 3 and the common signal line 18c. The current limiting resistor 4a uses an element with a fairly large resistance value. The reason for this is that while the normally open switch 15a is closed, the potential of the common signal line 18b becomes higher than the potential of the output side of the inverter gate 3, so a large current flows from the common signal line 18b side to the output of the inverter gate 3. This is to limit the flow to the sides. Similarly to the current limiting resistor 4a, an element with a fairly large resistance value is used for the current limiting resistor 4b. The reason for this is, as mentioned above, that while the normally open switch 17g is in the closing operation, the potential of the common signal line 18c becomes higher than the potential of the output side of the inverter gate 3, and a large current flows from the common signal line 18c side to the inverter. This is to limit the flow into the output side of the gate 3. Note that elements having the same resistance value are used for the current limiting resistors 4a and 4b. The signal waveform appearing on the common signal line 18b will be explained later with reference to FIG. 3(B). Since the contents are the same, the explanation will be omitted).
遅延回路2は、共通信号線18a1信号線19、aを通
してクロック信号発生器1から出力されるクロックパル
ス信号を受ける。そして、二の受けたクロックパルス信
号を、第3図(C)にて示すように、時間t1だけ遅延
させて出力する。The delay circuit 2 receives a clock pulse signal output from the clock signal generator 1 through the common signal line 18a1 and the signal line 19,a. Then, as shown in FIG. 3(C), the received clock pulse signal is delayed by time t1 and output.
遅延回路2から出力されたクロックパルス信号は、信号
線19aを通してDフリップフロップ9のクロックパル
ス入力端子に、又、信号線19bを通してDフリップフ
ロップ11のクロックパルス入力端子に、夫々供給され
る。これと同時に、遅延回路2から出力されたクロック
パルス信号は、信号線19cを通してインバータゲート
7に印加され、インバータゲート7にて論理レベルが反
転される。インバータゲート7にて論理レベルが反転さ
れた後の上記クロックパルス信号は、信号線19dを通
してDフリップフロップ10のクロックパルス入力端子
に、又、信号線19eを通してDフリップフロップ12
のクロックパルス入力端子に、夫々供給されることとな
る。本実施例に係るスイッチの開/閉動作検出装置に、
遅延回路2を設けることとした理由は、共通信号線18
aを通るクロックパルス信号が、ダイオード(14a。The clock pulse signal output from the delay circuit 2 is supplied to the clock pulse input terminal of the D flip-flop 9 through a signal line 19a, and to the clock pulse input terminal of the D flip-flop 11 through a signal line 19b. At the same time, the clock pulse signal output from the delay circuit 2 is applied to the inverter gate 7 through the signal line 19c, and its logic level is inverted by the inverter gate 7. The clock pulse signal whose logic level has been inverted by the inverter gate 7 is sent to the clock pulse input terminal of the D flip-flop 10 through a signal line 19d, and to the clock pulse input terminal of the D flip-flop 10 through a signal line 19e.
The clock pulse input terminals of the clock pulses are respectively supplied to the clock pulse input terminals of the clock pulse input terminals. The switch opening/closing operation detection device according to this embodiment includes:
The reason for providing the delay circuit 2 is that the common signal line 18
The clock pulse signal passing through the diode (14a.
14b、16a、16b) 、常開スイッチ(15a、
15b、17a、17b)及び共通信号線18b、18
cを通ることによって生ずる伝送の遅延、信号の反射に
起因した波形くずれの影響を受けないようにするためで
ある。即ち、上記経路を辿って各Dフリップフロップ9
〜12のデータ入力端子に到達したクロックパルス信号
が安定状態となるt1時間経過後に、各Dフリップフロ
ップ9〜12が、クロックパルス信号の保持動作を開始
するようにした。14b, 16a, 16b), normally open switch (15a,
15b, 17a, 17b) and common signal lines 18b, 18
This is to avoid being affected by transmission delays caused by passing through c and waveform distortion caused by signal reflection. That is, following the above path, each D flip-flop 9
Each D flip-flop 9 to 12 starts holding the clock pulse signal after the time t1 when the clock pulse signal reaching the data input terminals 1 to 12 becomes stable.
スイッチ部5は、既に説明した内容から明らかなように
、ダイオード14a、14b、16a。As is clear from the above description, the switch section 5 includes diodes 14a, 14b, and 16a.
16bと、常開スイッチ15a、15b、17a。16b, and normally open switches 15a, 15b, 17a.
17bとを具備した構成となっている。即ち、ダイオー
ド14aと常開スイッチ15aの直列接続体と、ダイオ
ード14bと常開スイッチ15bの直列接続体とは、共
通信号線18a1共通信号線18bに対して互いに並列
になるように接続されている。上記常開スイッチ15a
と常開スイッチ15bとで1組のスイッチとなっている
。同様に、ダイオード16aと常開スイッチ17aの直
列接続体と、ダイオード16bと常開スイッチ17bの
直列接続体とは、共通信号線18a1共通信号線18c
に対して互いに並列になるように接続されている。上記
常開スイッチ17aと常開スイッチ17bとで別の1組
のスイッチとなっている。17b. That is, the series connection body of the diode 14a and the normally open switch 15a and the series connection body of the diode 14b and the normally open switch 15b are connected in parallel with each other with respect to the common signal line 18a1 and the common signal line 18b. . The above normally open switch 15a
and the normally open switch 15b form one set of switches. Similarly, the series connection body of the diode 16a and the normally open switch 17a and the series connection body of the diode 16b and the normally open switch 17b are connected to the common signal line 18a1 and the common signal line 18c.
are connected in parallel with each other. The normally open switch 17a and the normally open switch 17b form another set of switches.
ダイオード14aは、ダイオード4bとは逆方向に接続
されている。即ち、ダイオード14aは、そのアノード
端子かクロック信号発生器1側と接続されており、又、
そのカソード端子が常開スイッチ15a側と接続されて
いる。他方、ダイオード14bは、そのアノード端子が
常開スイッチ15b側と接続されており、又、そのカソ
ード端子がクロック信号発生器1側と接続されている。Diode 14a is connected in the opposite direction to diode 4b. That is, the diode 14a has its anode terminal connected to the clock signal generator 1 side, and
Its cathode terminal is connected to the normally open switch 15a side. On the other hand, the diode 14b has its anode terminal connected to the normally open switch 15b side, and its cathode terminal connected to the clock signal generator 1 side.
上記と同様に、ダイオード16aは、ダイオード16b
とは逆方向に接続されている。即ち、ダイオード16a
は、そのアノード端子がクロック信号発生器1側と接続
されており、又、そのカソード端子が常開スイッチ17
a側と接続されている。他方、ダイオード16bは、そ
のアノード端子が常開スイッチ17b側と接続されてお
り、又、そのカソード端子がクロック信号発生器1側と
接続されている。Similarly to the above, the diode 16a is the diode 16b.
is connected in the opposite direction. That is, the diode 16a
has its anode terminal connected to the clock signal generator 1 side, and its cathode terminal connected to the normally open switch 17.
Connected to side a. On the other hand, the diode 16b has its anode terminal connected to the normally open switch 17b side, and its cathode terminal connected to the clock signal generator 1 side.
常開スイッチ15a、15b、17a、17bには、例
えば、マイクロスイッチのごときや手動で閉成動作する
所謂パネルスイッチのごときが使用されている。既に説
明した内容から明らかなように、常開スイッチ15a、
15b、17a。The normally open switches 15a, 15b, 17a, and 17b are, for example, microswitches or so-called panel switches that are manually closed. As is clear from the content already explained, the normally open switch 15a,
15b, 17a.
17bは、例えばボタン電話装置の自動組立機等におい
て、2個のピストン機構の最大ストロークと最小ストロ
ークとを各々別に検出するため、或いは、操作パネル上
の操作スイッチを手動で操作したことを検出するために
設置されているものである。本実施例では、常開スイッ
チを用いることとしたが、常閉スイッチを用いることと
しても差支えない。17b is for detecting the maximum stroke and minimum stroke of two piston mechanisms separately, or for detecting manual operation of an operation switch on an operation panel, for example, in an automatic assembly machine of a button telephone device, etc. It is set up for this purpose. In this embodiment, a normally open switch is used, but a normally closed switch may also be used.
上述したダイオード14aは、常開スイッチ15aが閉
成動作したことにより、共通信号線18aの方が共通信
号線18bより電位が高ければ、ダイオード4aを通し
て電流が流れる。即ち、共通信号線18aか論理レベル
“H”であれば、インバータゲート3の出力側の電位は
論理レベル“L”であるが、ダイオード14aを通して
電流が流れるため、共通信号線18bの電位は上昇し、
電流制限用抵抗4aにも微小な電流が流れることとなる
。しかるに、ダイオード14aの内部抵抗や該ダイオー
ド14aの順方向電圧降下は無視出来るので、共通信号
線18bの論理レベルは“H”となる。一方、共通信号
線18aの論理レベルが“L”のときには、インバータ
ゲート3の出力側の電位は、論理レベル″H”となるが
、ダイオード14aは逆方向に電圧がかかるので不導通
となる。そのため、共通信号線18bの電位は、論理レ
ベル“H″となる。即ち、常開スイッチ15aのみが閉
成動作したときの共通信号線18b上に現われる信号波
形の論理レベルは、常開スイッチ15aの閉成動作中、
クロック信号発生器1から出力されるクロックパルス信
号の論理レベルの如何に拘らず、常に論理レベル“H”
である(第3図(B)、時刻T 〜時刻T2の信号波形
参照)。In the diode 14a described above, when the normally open switch 15a is closed and the potential of the common signal line 18a is higher than that of the common signal line 18b, current flows through the diode 4a. That is, if the common signal line 18a is at the logic level "H", the potential at the output side of the inverter gate 3 is at the logic level "L", but since current flows through the diode 14a, the potential on the common signal line 18b increases. death,
A small current also flows through the current limiting resistor 4a. However, since the internal resistance of the diode 14a and the forward voltage drop of the diode 14a can be ignored, the logic level of the common signal line 18b becomes "H". On the other hand, when the logic level of the common signal line 18a is "L", the potential on the output side of the inverter gate 3 becomes the logic level "H", but the diode 14a is non-conductive because a voltage is applied in the opposite direction. Therefore, the potential of the common signal line 18b becomes logic level "H". That is, the logic level of the signal waveform appearing on the common signal line 18b when only the normally open switch 15a is closed is as follows.
Regardless of the logic level of the clock pulse signal output from the clock signal generator 1, the logic level is always “H”.
(See FIG. 3(B), signal waveforms from time T to time T2).
■
上記ダイオード14bは、常開スイッチ15bが閉成動
作したことにより、共通信号線18aの方が共通信号線
18bより電位が低ければ、ダイオード14bを通して
電流が流れる。そのため、ダイオニド14aの項で説明
したのと同様の理由により、常開スイッチ15bのみが
閉成動作したとき、クロック信号発生器1から出力され
るクロックパルス信号の論理レベルの如何に拘らず、共
通信号線18bは常に論理レベル“L”である(第3図
(b)、時刻T 〜時刻T4の信号波形参照)。(2) When the normally open switch 15b closes the diode 14b, if the potential of the common signal line 18a is lower than that of the common signal line 18b, a current flows through the diode 14b. Therefore, for the same reason as explained in the section regarding the dionide 14a, when only the normally open switch 15b is closed, regardless of the logic level of the clock pulse signal output from the clock signal generator 1, both The communication line 18b is always at the logic level "L" (see the signal waveform from time T to time T4 in FIG. 3(b)).
なお、常開スイッチ15aと、常開スイッチ15bとが
同時に閉成動作しているときには、共通信号線18aが
論理レベル“H′である時間はダイオード14aが導通
となり、又、共通信号線18aが論理レベル“L”であ
る時間はダイオード14bが導通となる。ダイオード1
4aとダイオード14bの内部抵抗や順方向電圧降下は
無視できる大きさであるので、クロック信号発生器1か
ら共通信号線18aに出力されるクロック信号が略その
まま共通信号線18b上に現われることとなる。Note that when the normally open switch 15a and the normally open switch 15b are closed at the same time, the diode 14a is conductive while the common signal line 18a is at the logic level "H", and the common signal line 18a is During the time when the logic level is "L", the diode 14b becomes conductive.Diode 1
Since the internal resistance and forward voltage drop of the diode 4a and the diode 14b are negligible, the clock signal output from the clock signal generator 1 to the common signal line 18a appears almost unchanged on the common signal line 18b. .
Dフリップフロップ9は、第3図、時刻T1で常開スイ
ッチ15aが閉成動作した後、遅延回路2から出力され
た最初のクロックパルス信号の立上りの時点(即ち、時
刻T から時間t2が経過した時点)で、共通信号線1
8b上に現われる論理レベル“Hlの保持を開始する。The D flip-flop 9 operates at the time when the first clock pulse signal outputted from the delay circuit 2 rises after the normally open switch 15a closes at time T1 in FIG. common signal line 1)
It begins holding the logic level "Hl" appearing on 8b.
Dフリップフロップ9による論理レベル“H″の保持は
、時刻T8で常開スイッチ15aが開放状態となった後
、遅延回路2から出力された最初のクロックパルス信号
の立上りに時点(即ち、時刻T3から時間t3が経過し
た時点)で解除される(第3図(D)の信号波形参照)
。このDフリップフロップ9による論理レベル“H”の
保持動作は、途中、即ち、時刻T2で常開スイッチ15
bが閉成動作し、共通信号線18b上の信号波形の論理
レベルが“H″から“L”に変化してもこれとは無関係
に継続される。その理由は、時刻T 〜時刻T3までの
間、第3図(C)にて示すクロックパルス信号の立上り
の時点における第3図(B)にて示す共通信号線18b
上の論理レベルが“H″になっていることから明らかで
ある。Dフリップフロップ9は、信号線21aを通して
マイクロコンピュータ13に対し、第3図(D)にて示
す信号を出力する。The D flip-flop 9 maintains the logic level "H" at the time when the first clock pulse signal output from the delay circuit 2 rises (i.e., at time T3) after the normally open switch 15a becomes open at time T8. (refer to the signal waveform in Fig. 3 (D)).
. This operation of holding the logic level "H" by the D flip-flop 9 is carried out midway, that is, at time T2, when the normally open switch 15
Even if the logic level of the signal waveform on the common signal line 18b changes from "H" to "L" due to the closing operation of the common signal line 18b, the closing operation continues regardless of this. The reason for this is that during the period from time T to time T3, the common signal line 18b shown in FIG. 3(B) at the rising edge of the clock pulse signal shown in FIG. 3(C)
This is clear from the fact that the upper logic level is "H". The D flip-flop 9 outputs the signal shown in FIG. 3(D) to the microcomputer 13 through the signal line 21a.
Dフリップフロップ10は、第3図、時刻T2で常開ス
イッチ15bが閉成動作した後、遅延回路2からインバ
ータゲート7を通して出力された最初のクロックパルス
信号の立上りの時点(即ち、時刻T から時間t2が経
過した時点:インパータゲート7から出力されるクロッ
クパルス信号は、第3図(E)にて図示)で、共通信号
線18b上に現われ信号線20C1インバータゲート6
を通して出力された論理レベル“H”の保持を開始する
(このときの共通信号線18b上に現われる信号波形の
論理レベルは、当然、“L2となっている)。Dフリッ
プフロップ10による論理レベル“H”の保持は、時刻
T4で常開スイッチ15bが開放状態となった後、遅延
回路2からインバータゲート7を通して出力された最初
のクロックパルス信号の立上りの時点(即ち、時刻T4
から時間t′3.が経過した時点)で解除される(第3
図(F)の信号波形参照)。このDフリップフロップ1
0による論理レベル″H#の保持動作は、常開スイッチ
15aの閉成動作の影響を受けない。The D flip-flop 10 operates at the time when the first clock pulse signal outputted from the delay circuit 2 through the inverter gate 7 rises (i.e., from time T2) after the normally open switch 15b closes at time T2 in FIG. When time t2 has elapsed: The clock pulse signal output from the inverter gate 7 appears on the common signal line 18b (as shown in FIG.
(The logic level of the signal waveform appearing on the common signal line 18b at this time is naturally "L2").The logic level "H" output by the D flip-flop 10 starts to be held. H'' is maintained at the time of the rise of the first clock pulse signal outputted from the delay circuit 2 through the inverter gate 7 after the normally open switch 15b is opened at time T4 (i.e., at time T4).
From time t'3. (3rd period has passed)
(See signal waveform in figure (F)). This D flip-flop 1
The operation of holding the logic level "H#" by 0 is not affected by the closing operation of the normally open switch 15a.
その理由は、時刻T 〜時刻T3までの間、第3図(E
)にて示すクロックパルス信号の立上りの時点における
第3図(B)にて示す共通信号線18b上の論理レベル
が“L”になっていることから明らかである。Dフリッ
プフロップ10は、信号線21bを通してマイクロコン
ピュータ13に対し、第3図(F)にて示す信号を出力
する。The reason for this is that during the period from time T to time T3,
This is clear from the fact that the logic level on the common signal line 18b shown in FIG. 3(B) at the rising edge of the clock pulse signal shown in ) is "L". The D flip-flop 10 outputs the signal shown in FIG. 3(F) to the microcomputer 13 through the signal line 21b.
なお、スイッチ部5を構成するダイオード16 a 、
16 b s常開スイッチ17a、17bを始め、電流
制限用抵抗4b、共通信号線18C1インバータゲート
8、信号線19b、19e。Note that the diode 16 a that constitutes the switch section 5,
16 b s Normally open switches 17a, 17b, current limiting resistor 4b, common signal line 18C1, inverter gate 8, signal lines 19b, 19e.
20d、Dフリップフロップ11.12に関連する動作
説明に関しては、上述した内容と同一であるので省略す
る。20d and D flip-flops 11 and 12 will be omitted since they are the same as described above.
前述した時間遅れt やt′、t やt′の最大値は
、クロックパルス信号の1周期となるので、常開スイッ
チ15a、15b、17a。Since the maximum value of the aforementioned time delays t 1 , t', t 2 and t' is one cycle of the clock pulse signal, the normally open switches 15a, 15b, 17a.
17bの開/閉動作が速い時には、クロックパルス信号
の周波数が高くなるようにクロック信号発生器1を調整
する。上記において、常開スイッチ15a、15b、1
7a、17bにそれらの開/閉動作に伴うチャタリング
があるときは、クロックパルス信号の周波数が低くなる
ようにクロック信号発生器1を調整すると良い。例えば
、上記チャタリングが5m秒である場合には、クロック
パルス信号の周波数を100Hz、即ち、クロックパル
ス信号の1周期を10m秒に調整すれば、チャタリング
の影響をなくすことができる。When the opening/closing operation of 17b is fast, the clock signal generator 1 is adjusted so that the frequency of the clock pulse signal becomes high. In the above, the normally open switches 15a, 15b, 1
When there is chattering in 7a and 17b due to their opening/closing operations, it is preferable to adjust the clock signal generator 1 so that the frequency of the clock pulse signal is lowered. For example, if the chattering is 5 msec, the influence of the chattering can be eliminated by adjusting the frequency of the clock pulse signal to 100 Hz, that is, one period of the clock pulse signal to 10 msec.
本実施例では、マイクロコンピュータ8に、並列処理ビ
ット数が8ビツトのマイクロコンピュータを使用するこ
ととしたが、並列処理ビット数が4ビツトや16ビツト
のマイクロコンピュータを使用することとしてもよく、
本発明に係るマイクロコンピュータは、並列処理ビット
数が8ビツトのマイクロコンピュータに限定されない。In this embodiment, a microcomputer with a parallel processing bit count of 8 bits is used as the microcomputer 8, but a microcomputer with a parallel processing bit count of 4 bits or 16 bits may also be used.
The microcomputer according to the present invention is not limited to a microcomputer with a parallel processing bit count of 8 bits.
又、マイクロコンピュータに代えて、プログラマブルコ
ントローラを使用することとしても勿論差支えない。Furthermore, it is of course possible to use a programmable controller instead of the microcomputer.
以上説明したように、本発明の一実施例によれば、2個
のスイッチ15a、15b (又は17a。As described above, according to one embodiment of the present invention, two switches 15a, 15b (or 17a) are provided.
17b)を1組として各スイッチに対し互いに逆方向に
なるようにダイオード14a、14b (又は16a、
16b)を接続し、一方のスイッチが閉成動作したとき
と他方のスイッチが閉成動作したときとで、クロック信
号発生器1から与えられるクロックパルス信号の別の論
理レベルが共通信号線18b (18c)上に現われる
ようにし、これら共通信号線上に現われた論理レベル信
号(又は、インバータゲート6.8で論理レベルが反転
された後の論理レベル信号)を、遅延回路2から出力さ
れるクロックパルス信号の立上り(又は、インバータゲ
ート7で論理レベルが反転された後のクロックパルス信
号の立上り)により規定される時間、Dフリップフロッ
プ9〜12で保持することとしたので、本実施例のよう
に、4個のスイッチが接続されている場合は、スイッチ
の数より1少ない3本の共通信号線(18a、18b。17b) as one set, and diodes 14a, 14b (or 16a,
16b) is connected, and when one switch is closed and the other switch is closed, the clock pulse signal given from the clock signal generator 1 has a different logic level from the common signal line 18b ( 18c), and the logic level signal appearing on these common signal lines (or the logic level signal after the logic level has been inverted by the inverter gate 6.8) is outputted from the delay circuit 2 as a clock pulse. Since the time defined by the rising edge of the signal (or the rising edge of the clock pulse signal after the logic level is inverted by the inverter gate 7) is held in the D flip-flops 9 to 12, as in this embodiment, , when four switches are connected, there are three common signal lines (18a, 18b), one less than the number of switches.
18C)で、これら各スイッチの接続が可能となり、信
号線の接続本数を減らすことか可能となった0又、マイ
クロコンビコータ13がデータの読取りを実行する時期
か前記各スイッチの閉成動作時期より多少遅れたとして
も、正確にデータ読取りが行なえるようになった。18C), it became possible to connect these switches and reduce the number of signal lines connected.Also, it is possible to determine when the micro combi coater 13 reads data or when the switches are closed. Even if there is a slight delay, data can now be read accurately.
第2図は、本発明の他の実施例に従うスイッチの開/閉
動作検出装置の全体的な回路構成を示した図である。第
2図にて図示したスイッチの開/閉動作検出装置では、
第1図にて示した装置で使用したインバータゲート3、
電流制限用抵抗4a(又は4b)に代えて、電流バッフ
ァアンプ31、第1コンパレータ32、第2コンパレー
タ33、基準値電圧発生回路34、抵抗35を設けるこ
ととした。なお、図示と説明の都合上、スイッチ部5で
はダイオード14 a + 14 b s常開スイッ
チ15a、15bのみを記載し、又、第1図にて図示し
た装置と同一物には同一符号を付してそれらの説明を省
略することとした。FIG. 2 is a diagram showing the overall circuit configuration of a switch open/close operation detection device according to another embodiment of the present invention. In the switch opening/closing operation detection device shown in Fig. 2,
Inverter gate 3 used in the device shown in FIG.
In place of the current limiting resistor 4a (or 4b), a current buffer amplifier 31, a first comparator 32, a second comparator 33, a reference voltage generation circuit 34, and a resistor 35 are provided. For convenience of illustration and explanation, only the diodes 14a + 14bs normally open switches 15a and 15b are shown in the switch section 5, and the same components as those shown in FIG. 1 are given the same reference numerals. Therefore, we have decided to omit their explanation.
第2図・において、
基準値電圧発生回路34は、正の電源Vccとアースと
の間に接続されている分圧抵抗器によって構成されてい
る。基準値電圧発生回路34は、電流バッファアンプ3
1の非反転入力端子に対しては、信号線37aを通して
基準値電圧Vcを供給するようになっており、又、第1
コンパレータ32の反転入力端子に対しては、信号線3
6cを通して基準値電圧hrer、を供給するようにな
っている。同様に、第2コンパレータ33の非反転入力
端子に対しては、信号線36dを通して基準値電圧fr
et、を供給するようになっている。ここで、基準値電
圧発生回路34から電流バッファアンプ31に対して供
給される基準値電圧Vcは、例えに設定されている。又
、基準値電圧発生回路34から第1コンパレータ32に
対して供給される基準値電圧href’、は、Vcc>
href、 > V c l:なるように設定されてお
り、更に、基準値電圧発生回路34から第2コンパレー
タ33に対して供給される基準値電圧Iref、は、V
C>Iref、 >Veになるように設定されているも
のとする。In FIG. 2, the reference value voltage generating circuit 34 is constituted by a voltage dividing resistor connected between the positive power supply Vcc and ground. The reference value voltage generation circuit 34 includes a current buffer amplifier 3
The reference value voltage Vc is supplied to the first non-inverting input terminal through the signal line 37a.
For the inverting input terminal of the comparator 32, the signal line 3
A reference value voltage hrer is supplied through 6c. Similarly, the reference value voltage fr is applied to the non-inverting input terminal of the second comparator 33 through the signal line 36d.
et. Here, the reference value voltage Vc supplied from the reference value voltage generation circuit 34 to the current buffer amplifier 31 is set for example. Further, the reference value voltage href' supplied from the reference value voltage generation circuit 34 to the first comparator 32 is Vcc>
href, > V c l: Further, the reference value voltage Iref, supplied from the reference value voltage generation circuit 34 to the second comparator 33, is set to be V
It is assumed that the settings are such that C>Iref and >Ve.
電流バッファアンプ31は、ボルテージフォロワの回路
構成となっており、基準値電圧発生回路34から信号線
37aを通して印加された基準値電圧Vcを受けてこの
基準値電圧Vcを信号線36a1信号線36aに接続さ
れている抵抗35を通して共通信号線18b、信号線3
6bに夫々供給するようになっている。電流バッファア
ンプ31から上記経路を通して共通信号線18b1信号
線36bに上記基準値電圧Vcが供給されることによっ
て、スイッチ部5の両常開スイッチ15a、15bがと
もに開放状態にあるときには、これら各信号線36a、
36b、18bには基準値電圧Vcが印加されているこ
ととなる。従って、常開スイッチ15aのみが開放状態
から閉成状態に移行した区間((第3図(G)時刻T5
〜時刻T6では、各信号線36a、36b、18bに、
第3図(G)にて示すようなりロック信号(即ち、論理
レベル″H#が前述した“vh”で論理レベル“L−が
前記“Vc”のクロック信号)が印加されることとなる
。同様に、常開スイッチ15bのみが閉成状態にある区
間(第3図(G)、時刻T 〜時刻T8には、各信号線
36a、36b。The current buffer amplifier 31 has a voltage follower circuit configuration, receives the reference value voltage Vc applied from the reference value voltage generation circuit 34 through the signal line 37a, and transmits this reference value voltage Vc to the signal line 36a1 and the signal line 36a. The common signal line 18b and the signal line 3 are connected through the connected resistor 35.
6b, respectively. By supplying the reference value voltage Vc from the current buffer amplifier 31 to the common signal line 18b1 signal line 36b through the above path, when both normally open switches 15a and 15b of the switch unit 5 are in the open state, these signals are line 36a,
This means that the reference value voltage Vc is applied to 36b and 18b. Therefore, the interval in which only the normally open switch 15a transitions from the open state to the closed state ((Figure 3 (G) time T5
~ At time T6, each signal line 36a, 36b, 18b is
As shown in FIG. 3(G), a lock signal (that is, a clock signal whose logic level "H#" is the aforementioned "vh" and whose logic level "L-" is the aforementioned "Vc") is applied. Similarly, in the section in which only the normally open switch 15b is in the closed state (FIG. 3(G), from time T to time T8, each signal line 36a, 36b is closed).
18bに、第3図(G)にて示すようなりロック信号(
即ち、論理レベル“H”が前記“Vc“で論理レベル“
L”が前記“vl”のクロック信号が印加されることと
なる。18b, a lock signal (
That is, the logic level "H" is the logic level "H" at the "Vc".
The clock signal whose “L” is the “vl” is applied.
更に、上述した常開スイッチ15a1常開スイツチ15
bの両方が閉成状態にある区間(第3図(G)、時刻T
〜時刻T7)では、各信号線36a、36b、18b
に、第3図(G)にて示すようなりロック信号(即ち、
論理レベル“H”が前述した“vh”で論理レベル“L
”が前記“vIl#のクロック信号)が印加されること
となる。Furthermore, the above-mentioned normally open switch 15a1 normally open switch 15
b is in the closed state (Fig. 3 (G), time T
~ time T7), each signal line 36a, 36b, 18b
Then, the lock signal (i.e.,
The logic level "H" is the above-mentioned "vh" and the logic level "L"
” is applied with the clock signal “vIl#”.
第1コンパレータ32の出力側とDフリップフロップ9
のデータ入力端子側との間は、信号線37bにより接続
されており、又、第2コンパレータ33の出力側とDフ
リップフロップ10のデータ入力端子側との間は、信号
線37cにより接続されている。The output side of the first comparator 32 and the D flip-flop 9
The output side of the second comparator 33 and the data input terminal side of the D flip-flop 10 are connected by a signal line 37c. There is.
第1コンパレータ32は、基準値電圧発生回路34から
信号線36cを通して反転入力端子に印加される基準値
電圧href’ 、のレベルと、共通信号線18bを通
して非反転入力端子に印加される第3図(G)にて示し
た信号波形のレベルとを比較する。上記比較の結果、第
3図(G)にて示した信号波形のレベルが基準値電圧h
ref 、のレベルよりも高いと判断すると、第1コン
パレータ32は、信号線37bを通してDフリップフロ
ップ9のデータ入力端子に対し、論理レベル“H″の電
圧レベル信号を出力する。上記とは逆に、第3図(G)
にて示した信号波形のレベルが基準値電圧href 。The first comparator 32 determines the level of the reference voltage href' applied to the inverting input terminal from the reference voltage generating circuit 34 through the signal line 36c, and the level of the reference voltage href' applied to the non-inverting input terminal through the common signal line 18b. Compare the level of the signal waveform shown in (G). As a result of the above comparison, the level of the signal waveform shown in FIG. 3 (G) is the reference value voltage h
ref , the first comparator 32 outputs a voltage level signal of logic level "H" to the data input terminal of the D flip-flop 9 through the signal line 37b. Contrary to the above, Figure 3 (G)
The level of the signal waveform shown in is the reference value voltage href.
のレベルよりも低いと判断すると、第1コンパレータ3
2は、信号線37bを通してDフリップフロップ9のデ
ータ入力端子に対し論理レベル“L゛の電圧レベル信号
を出力するようになっている(第3図(H)の信号波形
参照)。If it is determined that the level is lower than the level of , the first comparator 3
2 outputs a voltage level signal of logic level "L" to the data input terminal of the D flip-flop 9 through the signal line 37b (see the signal waveform in FIG. 3(H)).
第2コンパレータ33は、基準値電圧発生回路34から
、信号線36dを通して非反転入力端子に印加される基
準値電圧1eef、のレベルと、信号線36bを通して
反転入力端子に印加される第3図(G)にて示した信号
波形のレベルとを比較する。The second comparator 33 compares the level of the reference voltage 1eef, which is applied from the reference voltage generation circuit 34 to the non-inverting input terminal through the signal line 36d, and the level of the reference voltage 1eef, which is applied to the inverting input terminal through the signal line 36b (FIG. 3). Compare the level of the signal waveform shown in G).
上記比較の結果、第3図(G)にて示した信号波形のレ
ベルが基準値電圧1reLのレベルよりも低いと判断す
ると、第2コンパレータ33は、信号線37cを通して
Dフリップフロップ10のデータ入力端子に対し、論理
レベル“H″の電圧レベル信号を出力する。上記とは逆
に、第3図(G)にて示した信号波形のレベルが基準値
電圧1ref。As a result of the above comparison, if it is determined that the level of the signal waveform shown in FIG. A voltage level signal of logic level "H" is output to the terminal. Contrary to the above, the level of the signal waveform shown in FIG. 3(G) is the reference value voltage 1ref.
のレベルよりも高いと判断すると、第2コンパレータ3
3は、信号線37cを通してDフリップフロップ10の
データ入力端子に対し、論理レベル″L’の電圧レベル
信号を出力するようになっている(第3図(1)の信号
波形参照)。If it is determined that the level is higher than the level of , the second comparator 3
3 outputs a voltage level signal of logic level "L" to the data input terminal of the D flip-flop 10 through the signal line 37c (see signal waveform in FIG. 3(1)).
上記内容から既に明らかなように、常開スイッチ1゛5
a、常開スイッチ15bの両方の閉成動作が重なったと
きでも、二゛れによって第1コンパレータ32、第2コ
ンパレータ33による論理レベル比較の判断は影響を受
けることがない。As is already clear from the above content, normally open switch 1゛5
Even when the closing operations of both the normally open switch 15a and the normally open switch 15b overlap, the logic level comparison judgment by the first comparator 32 and the second comparator 33 is not affected by the difference.
Dフリップフロップ9は、信号線19aを通して遅延回
路2から出力されるクロックパルス信号(第3図(C)
にて図示)と、信号線37bを通して第1コンパレータ
32から出力される論理レベル信号(第3図(H)にて
図示)とを受ける。The D flip-flop 9 receives a clock pulse signal (FIG. 3(C)) output from the delay circuit 2 through the signal line 19a.
(shown in FIG. 3(H)) and a logic level signal (shown in FIG. 3(H)) output from the first comparator 32 through the signal line 37b.
そして、第3図(J)にて示すように、時刻T’5〜時
刻T′7の間、論理レベル“H”の信号を保持し続ける
。Dフリップフロップ9により保持される論理レベル“
H”の信号は、信号線21aを通してマイクロコンピュ
ータ13に印加される。Then, as shown in FIG. 3(J), the logic level "H" signal continues to be maintained from time T'5 to time T'7. The logic level held by the D flip-flop 9 “
The H'' signal is applied to the microcomputer 13 through the signal line 21a.
同様に、Dフリップフロップ10は、遅延回路2から出
力され、信号線19d、インバータゲート7を通して与
えられたクロックパルス信号(第3図(E)にて図示)
と、信号線37cを通して第2コンパレータ33から出
力される論理レベル信号(第3図(1)にて図示)とを
受ける。そして、第3図(K)にて示すように、時刻T
′6〜時刻T′8の間、論理レベル“H′の信号を保持
し続ける。Dフリップフロップ10により保持される論
理ルベル“H″の信号は、信号線2’lbを通してマイ
クロコンピュータ13に印加される。Similarly, the D flip-flop 10 receives a clock pulse signal (shown in FIG. 3(E)) output from the delay circuit 2 and applied through the signal line 19d and the inverter gate 7.
and a logic level signal (shown in FIG. 3(1)) output from the second comparator 33 through the signal line 37c. Then, as shown in FIG. 3(K), time T
'6 to time T'8, the logic level "H" signal is maintained.The logic level "H" signal held by the D flip-flop 10 is applied to the microcomputer 13 through the signal line 2'lb. be done.
上述した本発明の他の実施例に従うスイッチの開/閉動
作検出装置では、共通信号線18bを始めとする信号線
36a、36bの電圧レベルは、電圧値“Vc“を基準
として“vh”から“Vρ″までの間で変化する。従っ
て、第1コンパレータ32、第2コンパレータ33は、
片電源動作(0〜Vcc) Lか行なわないので、これ
ら第1コンパレータ32、第2コンパレータ33に、電
流バッファアンプ31と同種のアンプを使用することも
可能である。In the switch opening/closing operation detection device according to the other embodiment of the present invention described above, the voltage level of the signal lines 36a, 36b including the common signal line 18b varies from “vh” with reference to the voltage value “Vc”. It changes up to “Vρ”. Therefore, the first comparator 32 and the second comparator 33 are
Since only one power supply operation (0 to Vcc) is performed, it is also possible to use the same type of amplifier as the current buffer amplifier 31 for the first comparator 32 and the second comparator 33.
以上説明したように、本発明によれば、第1の論理レベ
ル保持手段により保持された前記一方の論理レベルが前
記第1の論理レベル保持手段から出力されているときに
は、第1のスイッチが閉成動作していると判断し、第2
の論理レベル保持手段により保持された前記一方の論理
レベルが前記第2の論理レベル保持手段から出力されて
いるときには、第2のスイッチが閉成動作していると判
断するとともに、前記一方の論理レベルが前記両論理レ
ベル保持手段から出力されていないときには、前記両ス
イッチは開放状態にあると判断することとしたので、必
要な配線数は、使用するスイッチ数の半分に共通信号線
1本分を加えた数であるような回路構成とすることによ
って、コスト高となるのを防止することが可能なスイッ
チの開/閉動作検出装置を提供することができる。As explained above, according to the present invention, when the one logic level held by the first logic level holding means is output from the first logic level holding means, the first switch is closed. It was determined that the second
When the one logic level held by the logic level holding means is output from the second logic level holding means, it is determined that the second switch is in the closing operation, and the one logic level is output from the second logic level holding means. Since it is determined that both the switches are in an open state when the level is not output from both logic level holding means, the number of wiring required is one common signal line for half the number of switches used. By configuring the circuit in such a way that the number is the sum of
第1図は、本発明の一実施例に従うスイッチの開/閉動
作検出装置の全体的な回路構成を示した図、第2図は、
本発明の他の実施例に従うスイッチの開/閉動作検出装
置の全体的な回路構成を示した図、第3図は、前記第1
図及び前記第2図にて図示した各部の動作を示すタイミ
ングチャート、第4図は、従来技術に従うスイッチの開
/閉動作検出装置の全体的な回路構成を示した図である
。
1・・・クロック信号発生器、
9.10.11.12・・・Dフリップフロップ、13
・・・マイクロコンピュータ、
14a、14b、16a、16b−・・ダイオード、1
5a、15b、17a、17b−=常開スイッチ、31
・・・電流バッフ7アンプ、32・・・第1コンパレー
タ、33・・・第2コンパレータ、34・・・基準値電
圧発生回路。
出願人代理人 佐 藤 −雄FIG. 1 is a diagram showing the overall circuit configuration of a switch opening/closing operation detection device according to an embodiment of the present invention, and FIG.
FIG. 3 is a diagram showing the overall circuit configuration of a switch opening/closing operation detection device according to another embodiment of the present invention.
FIG. 4 is a timing chart showing the operation of each part shown in FIG. 1... Clock signal generator, 9.10.11.12... D flip-flop, 13
...Microcomputer, 14a, 14b, 16a, 16b-...Diode, 1
5a, 15b, 17a, 17b-=normally open switch, 31
...Current buffer 7 amplifier, 32...First comparator, 33...Second comparator, 34...Reference value voltage generation circuit. Applicant's agent Mr. Sato
Claims (1)
点が開/閉せしめられる第1のスイッチ及び第2のスイ
ッチを1組とした少なくとも1組以上のスイッチ群の開
/閉動作を、各々のスイッチ別に検出するスイッチの開
/閉動作検出装置において、 所定論理レベルの方形波パルス信号を生成して出力する
方形波パルス信号生成、出力手段と、前記各組の第1の
スイッチと対応させて設けられ、前記各組の第1のスイ
ッチが閉成動作したことによって、前記方形波パルス信
号生成、出力手段から出力された方形波パルス信号の一
方の論理レベルのときにのみ導通状態となる第1の半導
体スイッチング手段と、 前記各組の第2のスイッチと対応させて設けられ、前記
各組の第2のスイッチが閉成動作したことによって、前
記方形波パルス信号生成、出力手段から出力された方形
波パルス信号の他方の論理レベルのときにのみ導通状態
となる第2の半導体スイッチング手段と、 前記各組の第1のスイッチと対応させて設けられ、前記
第1のスイッチが閉成動作せしめられたときを経過した
後に、前記第1の半導体スイッチング手段を通して与え
られる前記方形波パルス信号の一方の論理レベルを受け
て、該受けた時点より前記第1のスイッチが開放状態と
なったときを経過した後の時点までの間、前記一方の論
理レベルの保持を継続する第1の論理レベル保持手段と
、前記各組の第2のスイッチと対応させて設けられ、前
記第2のスイッチが閉成動作せしめられたときを経過し
た後に、前記第2の半導体スイッチング手段を通して与
えられる前記方形波パルス信号の他方の論理レベルを受
けて、該受けた時点より前記第2のスイッチが開放状態
となったときを経過した後の時点までの間、前記一方の
論理レベルの保持を継続する第2の論理レベル保持手段
と、前記一方の論理レベルが前記第1の論理レベル保持
手段から出力されているときには、前記第1のスイッチ
が閉成動作していると判断し、前記一方の論理レベルが
前記第2の論理レベル保持手段から出力されているとき
には、前記第2のスイッチが閉成動作していると判断す
るとともに、前記一方の論理レベルが前記両論理レベル
保持手段から出力されていないときには、前記両スイッ
チは開放状態にあると判断する判断手段と、 を備えたことを特徴とするスイッチの開/閉動作検出装
置。 2、請求項1記載のスイッチの開/閉動作検出装置にお
いて、 前記方形波パルス信号生成、出力手段から出力された方
形波パルス信号を受けて、これを所定時間遅延させて出
力する方形波パルス信号遅延出力手段と、 前記方形波パルス信号遅延出力手段から出力された方形
波パルス信号の論理レベルを反転して前記第2の論理レ
ベル保持手段に出力する第1の論理レベル反転出力手段
と、 前記方形波パルス信号、生成出力手段から出力された方
形波パルス信号を受けて、この論理レベルを反転して出
力する第2の論理レベル反転出力手段と、 前記第2の論理レベル反転出力手段から出力された方形
波パルス信号と、前記第1、第2のスイッチが閉成動作
せしめられたときにこれら各スイッチを通して夫々出力
される前記方形波パルス信号とによって決まる一方の論
理レベル、他方の論理レベルを反転して前記第2の論理
レベル保持手段に出力する第3の論理レベル反転出力手
段と、を備え、 前記方形波パルス信号生成、出力手段は、高論理レベル
が正の電源電圧と略等しい値に設定され、低論理レベル
が略0Vに設定されたクロックパルス信号を生成して出
力するクロック信号発生器であり、 前記各組の第1のスイッチと前記各組の第2のスイッチ
とは、互いに並列になるように前記クロック信号発生器
と前記第1の論理レベル保持手段、第3の論理レベル反
転出力手段との間に接続されており、 前記第2の論理レベル反転出力手段は、前記第1、第2
のスイッチに対して並列に接続されており、 前記第1の半導体スイッチング手段は、前記第1のスイ
ッチが閉成動作したことにより前記クロック信号発生器
から出力されたクロックパルス信号の高論理レベルで導
通状態となるように、前記第1のスイッチとクロック信
号発生器との間に接続されたダイオードであり、 前記第2の半導体スイッチング手段は、前記第2のスイ
ッチが閉成動作したことにより前記クロック信号発生器
から出力されたクロックパルス信号の低論理レベルで導
通状態となるように、前記第2のスイッチとクロック信
号発生器との間に接続されたダイオードであり、 前記第1の論理レベル保持手段は、前記第1のスイッチ
を通して与えられたクロックパルス信号の一方の論理レ
ベルを、前記第1のスイッチが閉成動作せしめられた後
に前記方形波パルス信号遅延出力手段から与えられる最
初のクロックパルス信号の立上り時又は立下り時から、
前記第1のスイッチが開放状態となった後に前記方形波
パルス信号遅延出力手段から与えられる最初のクロック
パルス信号の立上り時又は立下り時までの間保持するD
フリップフロップであり、 前記第2の論理レベル保持手段は、前記第2のスイッチ
と前記第3の論理レベル反転出力手段とを通して与えら
れたクロックパルス信号の一方の論理レベルを、前記第
2のスイッチが閉成動作せしめられた後に前記方形波パ
ルス信号遅延出力手段と前記第1の論理レベル反転出力
手段とを通して与えられる最初のクロックパルス信号の
立上り時又は立下り時から、前記第2のスイッチが開放
状態となった後に前記方形波パルス信号遅延出力手段と
前記第1の論理レベル反転出力手段とを通して与えられ
る最初のクロックパルス信号の立上り時又は立下り時ま
での間保持するDフリップフロップであることを特徴と
するスイッチの開/閉動作検出装置。 3、請求項1記載のスイッチの開/閉動作検出装置にお
いて、 前記方形波パルス信号生成、出力手段から出力された方
形波パルス信号を受けて、これを所定時間遅延させて出
力する方形波パルス信号遅延出力手段と、 前記方形波パルス信号遅延出力手段から出力された方形
波パルス信号の論理レベルを反転して前記第2の論理レ
ベル保持手段に出力する論理レベル反転出力手段と、 を備え、 前記方形波パルス信号生成、出力手段は、高論理レベル
が正の電源電圧と略等しい値に設定され、低論理レベル
が略0Vに設定されたクロックパルス信号を生成して出
力するクロック信号発生器であり、 前記各組の第1のスイッチと前記各組の第2のスイッチ
とは、互いに並列になるように前記クロック信号発生器
と前記第1の論理レベル保持手段、第2の論理レベル保
持手段との間に接続されており、 前記第1の半導体スイッチング手段は、前記第1のスイ
ッチが閉成動作したことにより前記クロック信号発生器
から出力されたクロックパルス信号の高論理レベルで導
通状態となるように、前記第1のスイッチとクロック信
号発生器との間に接続されたダイオードであり、 前記第2の半導体スイッチング手段は、前記第2のスイ
ッチが閉成動作したことにより前記クロック信号発生器
から出力されたクロックパルス信号の低論理レベルで導
通状態となるように、前記第2のスイッチとクロック信
号発生器との間に接続されたダイオードであり、 前記第1の論理レベル保持手段は、 前記第1、第2のスイッチの閉成動作に対応して与えら
れた論理レベル信号が、予め設定された第1の基準電圧
値よりも高いときにのみ前記一方の論理レベルの電圧レ
ベル信号を出力する第1の比較回路と、 前記第1の比較回路から出力される前記一方の論理レベ
ルの電圧レベル信号を、前記第1のスイッチが閉成動作
せしめられた後に前記方形波パルス信号遅延出力手段か
ら与えられる最初のクロックパルス信号の立上り時又は
立下り時から、前記第1のスイッチが開放状態となった
後に前記方形波パルス信号遅延出力手段から与えられる
最初のクロックパルス信号の立上り時又は立下り時まで
の間保持するDフリップフロップとを有し、前記第2の
論理レベル保持手段は、 前記第1、第2のスイッチの閉成動作に対応して与えら
れた論理レベル信号が、予め前記第1の基準電圧値より
低く設定されている第2の基準電圧値よりも低いときに
のみ前記一方の論理レベルの電圧レベル信号を出力する
第2の比較回路と、前記第2の比較回路から出力される
前記一方の論理レベルの電圧レベル信号を、前記第2の
スイッチが閉成動作せしめられた後に前記方形波パルス
信号遅延出力手段と前記論理レベル反転出力手段とを通
して与えられる最初のクロックパルス信号の立上り時又
は立下り時から、前記第2のスイッチが開放状態となっ
た後に前記方形波パルス信号遅延出力手段と前記論理レ
ベル反転出力手段とを通して与えられる最初のクロック
パルス信号の立上り時又は立下り時までの間保持するD
フリップフロップとを有することを特徴とするスイッチ
の開/閉動作検出装置。[Claims] 1. Opening/opening of at least one switch group including a first switch and a second switch whose contacts are opened/closed by externally applied pressure or its release; A switch opening/closing operation detection device that detects a closing operation of each switch separately includes a square wave pulse signal generation and output means for generating and outputting a square wave pulse signal of a predetermined logic level; When the first switch of each set is closed, one logic level of the square wave pulse signal output from the square wave pulse signal generation and output means is provided. a first semiconductor switching means that is in a conductive state; and a first semiconductor switching means that is provided in correspondence with the second switch of each of the sets, and when the second switch of each of the sets is closed, the square wave pulse signal is generated. , second semiconductor switching means that becomes conductive only when the other logic level of the square wave pulse signal outputted from the output means is provided; After the time when the switch is closed, it receives one logic level of the square wave pulse signal applied through the first semiconductor switching means, and from the time when the first switch receives the logic level of the square wave pulse signal applied through the first semiconductor switching means. a first logic level holding means that continues to hold the one logic level until a point after the open state, and a first logic level holding means that is provided in correspondence with the second switch of each set; After the time when the second switch is closed, it receives the other logic level of the square wave pulse signal applied through the second semiconductor switching means, and from the time of reception, the second a second logic level holding means that continues to hold the one logic level until a point after the time when the switch becomes open; and the one logic level is the first logic level. When the first logic level is output from the holding means, it is determined that the first switch is in the closing operation, and when the one logic level is output from the second logic level holding means, the first switch is determined to be closed. determining means for determining that the switch is in a closing operation and determining that both the switches are in an open state when the one logic level is not output from the both logic level holding means; A device for detecting open/close operation of a switch, characterized in that: 2. The switch opening/closing operation detection device according to claim 1, further comprising: receiving a square wave pulse signal outputted from the square wave pulse signal generation/output means, delaying the square wave pulse signal for a predetermined time, and outputting the square wave pulse. signal delay output means; first logic level inversion output means for inverting the logic level of the square wave pulse signal output from the square wave pulse signal delay output means and outputting it to the second logic level holding means; second logic level inversion output means for receiving the square wave pulse signal output from the square wave pulse signal generation and outputting means, inverting the logic level and outputting the inverted logic level; and from the second logic level inversion output means. One logic level determined by the output square wave pulse signal and the square wave pulse signal respectively output through each of the first and second switches when the switches are closed, and the other logic level. and third logic level inversion output means for inverting the level and outputting it to the second logic level holding means, and the square wave pulse signal generation and output means is configured such that the high logic level corresponds to a positive power supply voltage. a clock signal generator that generates and outputs a clock pulse signal set to an equal value and whose low logic level is set to approximately 0V, the first switch of each of the sets and the second switch of each of the sets; are connected in parallel between the clock signal generator, the first logic level holding means, and the third logic level inversion output means, and the second logic level inversion output means is connected in parallel with each other. , the first and second
The first semiconductor switching means is connected in parallel to the switch, and the first semiconductor switching means is configured to operate at a high logic level of the clock pulse signal output from the clock signal generator when the first switch closes. The second semiconductor switching means is a diode connected between the first switch and the clock signal generator so as to be in a conductive state, and the second semiconductor switching means a diode connected between the second switch and the clock signal generator so as to be conductive at a low logic level of the clock pulse signal output from the clock signal generator, and the first logic level The holding means sets one logic level of the clock pulse signal applied through the first switch to the first clock applied from the square wave pulse signal delay output means after the first switch is closed. From the rise or fall of the pulse signal,
D held until the rise or fall of the first clock pulse signal applied from the square wave pulse signal delay output means after the first switch becomes open.
The second logic level holding means is a flip-flop, and the second logic level holding means transfers one logic level of the clock pulse signal applied through the second switch and the third logic level inversion output means to the second switch. The second switch is activated from the rise or fall of the first clock pulse signal applied through the square wave pulse signal delay output means and the first logic level inversion output means after the closing operation is performed. The D flip-flop is held until the rise or fall of the first clock pulse signal applied through the square wave pulse signal delay output means and the first logic level inversion output means after it becomes an open state. A device for detecting open/close operation of a switch, characterized in that: 3. The switch opening/closing operation detection device according to claim 1, wherein the square wave pulse signal is output after receiving the square wave pulse signal output from the square wave pulse signal generation/output means and delayed by a predetermined time. signal delay output means; and logic level inversion output means for inverting the logic level of the square wave pulse signal output from the square wave pulse signal delay output means and outputting it to the second logic level holding means, The square wave pulse signal generation and output means is a clock signal generator that generates and outputs a clock pulse signal whose high logic level is set to a value substantially equal to the positive power supply voltage and whose low logic level is set to approximately 0V. The first switch of each set and the second switch of each set are connected to the clock signal generator, the first logic level holding means, and the second logic level holding means in parallel with each other. and the first semiconductor switching means is connected to a conductive state at a high logic level of the clock pulse signal output from the clock signal generator due to the closing operation of the first switch. The second semiconductor switching means is a diode connected between the first switch and the clock signal generator, and the second semiconductor switching means is a diode connected between the first switch and the clock signal generator. a diode connected between the second switch and the clock signal generator so as to be conductive at a low logic level of the clock pulse signal output from the generator, and the first logic level holding means The voltage level of the one logic level is determined only when the logic level signal given in response to the closing operation of the first and second switches is higher than a preset first reference voltage value. a first comparator circuit that outputs a signal; and a voltage level signal of the one logic level output from the first comparator circuit, which is connected to the square wave pulse signal after the first switch is closed. From the rising or falling time of the first clock pulse signal given from the delay output means, to the rise of the first clock pulse signal given from the square wave pulse signal delay output means after the first switch is in an open state. and a D flip-flop that holds the logic level signal until the falling edge of the switch. a second comparator circuit that outputs a voltage level signal of the one logic level only when the voltage level signal is lower than a second reference voltage value that is preset lower than the first reference voltage value; A voltage level signal of the one logic level output from the comparator circuit is applied through the square wave pulse signal delay output means and the logic level inversion output means after the second switch is closed. The first clock pulse signal is applied from the rise or fall of the first clock pulse signal through the square wave pulse signal delay output means and the logic level inversion output means after the second switch is in an open state. D to be held until the rise or fall of
1. A switch open/close operation detection device comprising a flip-flop.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP32433390A JPH04192001A (en) | 1990-11-27 | 1990-11-27 | Switch opening/closing action detector |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP32433390A JPH04192001A (en) | 1990-11-27 | 1990-11-27 | Switch opening/closing action detector |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH04192001A true JPH04192001A (en) | 1992-07-10 |
Family
ID=18164614
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP32433390A Pending JPH04192001A (en) | 1990-11-27 | 1990-11-27 | Switch opening/closing action detector |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH04192001A (en) |
-
1990
- 1990-11-27 JP JP32433390A patent/JPH04192001A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0174409A1 (en) | Formatter for high speed test system | |
| US4635256A (en) | Formatter for high speed test system | |
| US4823309A (en) | Data processing system with improved output function | |
| US7174473B2 (en) | Start detection circuit, stop detection circuit and circuit for the detection of data transmitted according to the IIC protocol | |
| US4791312A (en) | Programmable level shifting interface device | |
| JP3278153B2 (en) | Test circuit and method | |
| JPH0651033A (en) | Data output impedance control | |
| US4385275A (en) | Method and apparatus for testing an integrated circuit | |
| US10734974B1 (en) | Transmitter circuit having a pre-emphasis driver circuit | |
| US6031786A (en) | Operation control circuits and methods for integrated circuit memory devices | |
| JPH10233662A (en) | Circuit device for output signal generation | |
| US6674666B2 (en) | Device and method for timing the reading of a nonvolatile memory with reduced switching noise | |
| JPH09160690A (en) | Bus driver fault detection system | |
| KR960011208B1 (en) | Semiconductor memory device | |
| JP2007251609A (en) | Interface circuit and control method thereof | |
| KR20000004529A (en) | Pulse generator | |
| KR100599445B1 (en) | Pulse Width Control Circuit and Method in Semiconductor Memory Devices | |
| US7426149B2 (en) | Semiconductor memory module and semiconductor memory device | |
| US5859553A (en) | System and method for a glitchless transition between differing delay paths | |
| JPH04190404A (en) | Opening/closing operation detection device for switch | |
| JP3245573B2 (en) | Bidirectional buffer circuit | |
| JPH0454683A (en) | Pulse output circuit | |
| JP7664683B2 (en) | Logic state determination method and logic state determination circuit | |
| KR20000045278A (en) | Output buffer circuit | |
| CN1274850A (en) | Integrated circuit having frequency division operation testing function |