JP3756709B2 - Switch input detector - Google Patents
Switch input detector Download PDFInfo
- Publication number
- JP3756709B2 JP3756709B2 JP28430999A JP28430999A JP3756709B2 JP 3756709 B2 JP3756709 B2 JP 3756709B2 JP 28430999 A JP28430999 A JP 28430999A JP 28430999 A JP28430999 A JP 28430999A JP 3756709 B2 JP3756709 B2 JP 3756709B2
- Authority
- JP
- Japan
- Prior art keywords
- scanning signal
- detection
- switch
- signal line
- voltage
- 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.)
- Expired - Fee Related
Links
- 238000001514 detection method Methods 0.000 claims description 195
- 238000006243 chemical reaction Methods 0.000 claims description 40
- 238000010586 diagram Methods 0.000 description 10
- 239000011159 matrix material Substances 0.000 description 9
- 230000007274 generation of a signal involved in cell-cell signaling Effects 0.000 description 6
- 230000000694 effects Effects 0.000 description 3
- 230000001052 transient effect Effects 0.000 description 1
Images
Landscapes
- Input From Keyboards Or The Like (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、複数個の操作スイッチの中の操作されたスイッチを検出するスイッチ入力検出装置に係わり、特に、操作されたスイッチの検出をアナログ電圧の形式で検出することにより、信号出力線の数を低減し、かつ、ノイズの影響を受け難くしたスイッチ入力検出装置に関する。
【0002】
【従来の技術】
従来、複数個の操作スイッチの中の操作されたスイッチを電気的に検出するスイッチ入力検出装置としては、各操作スイッチをマトリクス状に配置したキーマトリクス方式を用いたもの、または、各操作スイッチを抵抗分圧器の各分圧抵抗に並列接続した抵抗分圧方式を用いたものが知られている。
【0003】
ここで、図4は、既知のキーマトリクス方式のスイッチ入力検出装置の一例を示すもので、その要部構成を示す回路図である。
【0004】
図4に示されるように、このスイッチ入力検出装置は、キーマトリクス部31と、制御検出部32とからなっている。この場合、キーマトリクス部31は、複数本(図示の例では3本)の走査信号線SL1、SL2、SL3と、複数本(図示の例では4本)の入力信号線IL1、IL2、IL3、IL4と、複数本の走査信号線SL1、SL2、SL3と複数本の入力信号線IL1、IL2、IL3、IL4の交点部分にそれぞれ接続された複数個(図示の例では12個)の操作スイッチS11、S12、S13、S14、S21、S22、S23、S24、S31、S32、S33、S34と、複数本の入力信号線IL1、IL2、IL3、IL4と接地点との間に接続された複数個(図示の例では4個)の終端抵抗R1、R2、R3、R4と、各一端が複数個の終端抵抗R1、R2、R3、R4の非接地側に接続された複数本(図示の例では4本)の出力信号線OL1、OL2、OL3、OL4とを有している。また、制御検出部32は、マイクロコンピュータ(MCU)からなり、複数(図示の例では3つ)の走査信号出力ポートTP1、TP2、TP3と、複数(図示の例では4つ)の信号入力ポートIP1、IP2、IP3、IP4とを有し、複数の走査信号出力ポートTP1、TP2、TP3が対応する複数本の走査信号線SL1、SL2、SL3に接続され、複数の信号入力ポートIP1、IP2、IP3、IP4が対応する複数本の出力信号線OL1、OL2、OL3、OL4の各他端に接続される。なお、制御検出部32は、走査信号出力ポートTP1から走査信号線SL1に第1走査信号SC1を出力し、走査信号出力ポートTP2から走査信号線SL2に第2走査信号SC2を出力し、走査信号出力ポートTP3から走査信号線SL3に第3走査信号SC3を出力する。この場合、第1乃至第3走査信号SC1乃至SC3の出力タイミングは、第1走査信号SC1の出力が終了したときに第2走査信号SC2が出力され、第2走査信号SC2出力が終了したときに第3走査信号SC3が出力される。
【0005】
前記構成に係わるこのキーマトリクス方式のスイッチ入力検出装置は、次のように動作する。
【0006】
いま、全部の操作スイッチS11乃至S14、S21乃至S24、S31乃至S34が操作されず、それらの接点が開いている場合、第1乃至第3走査信号線SL1乃至SL3に供給された第1乃至第3走査信号SC1乃至SC3は、いずれも第1乃至第4入力信号線IL1乃至IL4に伝送されないので、第1乃至第4出力信号線OL1乃至OL4にそれぞれ論理0(接地電位)が出力される。制御検出部32は、第1乃至第4信号入力ポートIP1乃至IP4のそれぞれで論理0を受けたことにより、全部の操作スイッチS11乃至S14、S21乃至S24、S31乃至S34が非操作状態であることを検出する。
【0007】
次に、1つの操作スイッチ、例えば操作スイッチS23だけが操作され、操作スイッチS23の接点が閉じている場合、第2走査信号線SL2に供給された第2走査信号SC2が操作スイッチS23の接点を通して第3入力信号線IL3に伝送されるので、第3出力信号線OL3に論理1(走査信号電位)が出力され、第1、第2、第4出力信号線OL1、OL2、OL4に前の場合と同様に論理0が出力される。制御検出部32は、第2走査信号SC2の出力タイミング時に第3信号入力ポートIP3で論理1を受けたことにより、操作スイッチS23だけが操作され、その他の操作スイッチが非操作状態であることを検出する。
【0008】
さらに、操作スイッチS23が操作されているとき、それ以外の操作スイッチ、例えば操作スイッチS32が操作され、操作スイッチS23、S32の接点が閉じている場合、第2走査信号線SL2に供給された第2走査信号SC2が操作スイッチS23の接点を通して第3入力信号線IL3に伝送されるとともに、第3走査信号線SL3に供給された第3走査信号SC3が操作スイッチS32の接点を通して第2入力信号線IL2に伝送されるので、第3出力信号線OL3及び第2出力信号線OL2に論理1が出力され、第1及び第4出力信号線OL1、OL4に前の場合と同様に論理0が出力される。制御検出部32は、第2走査信号SC2の出力タイミング時に第3信号入力ポートIP3で論理1を受け、また、第3走査信号SC3の出力タイミング時に第2信号入力ポートIP2で論理1を受けたことにより、操作スイッチS23、S32だけが操作され、その他の操作スイッチが非操作状態であることを検出する。
【0009】
同じように、他の1つ以上の操作スイッチが操作された場合においても、制御検出部32は、第1乃至第3走査信号SC1乃至SC3の出力タイミングと、第1乃至第4信号入力ポートIP1乃至IP4で受ける論理状態とによって、操作スイッチの操作状態及び非操作状態を検出する。
【0010】
また、図5は、既知の抵抗分圧方式のスイッチ入力検出装置の一例を示すもので、その要部構成を示す回路図である。
【0011】
図5に示されるように、このスイッチ入力検出装置は、抵抗分圧部41と、制御検出部42とからなっている。この場合、抵抗分圧部41は、電源端子B+と接地点との間に直列接続された抵抗値が等しい複数個(図示の例では10個)の抵抗R1、R2、R3、R4、R5、R6、R7、R8、R9、R10と、複数個の抵抗R1乃至R10の各接続点と共通出力端Oとの間にそれぞれ接続された複数個(図示の例では9個)の操作スイッチS1、S2、S3、S4、S5、S6、S7、S8、S9とを有している。また、制御検出部42は、マイクロコンピュータ(MCU)からなり、アナログーデジタル変換部(A/D)43と検出抵抗44を内蔵している。抵抗分圧部41の共通出力端Oは、アナログーデジタル変換部43の入力に接続され、アナログーデジタル変換部43の入力は、検出抵抗44を通して接地点に接続されている。
【0012】
前記構成に係わるこの抵抗分圧方式のスイッチ入力検出装置は、次のように動作する。
【0013】
いま、全部の操作スイッチS1乃至S9が操作されず、それらの接点が開いている場合、複数個の抵抗R1乃至R10の分圧電圧が共通出力端Oに伝送されないので、共通出力端Oは接地電圧になり、この接地電圧がアナログーデジタル変換部43に供給される。制御検出部42は、アナログーデジタル変換部43において供給された接地電圧をアナログーデジタル変換し、得られたデジタル信号から入力電圧が最低電圧であることを算出し、その算出結果から全部の操作スイッチS1乃至S9が非操作状態であることを検出する。
【0014】
次に、1つの操作スイッチ、例えば操作スイッチS5だけが操作され、操作スイッチS5の接点が閉じている場合、抵抗R5と抵抗R6の接続点に得られた分圧電圧V56が操作スイッチS5を通して共通出力端Oに伝送され、共通出力端Oは分圧電圧V56になり、この分圧電圧V56がアナログーデジタル変換部43に供給される。制御検出部42は、アナログーデジタル変換部43において供給された分圧電圧V56をアナログーデジタル変換し、得られたデジタル信号から入力分圧電圧V56が中間電圧であることを算出し、その算出結果から操作スイッチS5だけが操作され、他の操作スイッチS1乃至S4、S6乃至S9が非操作状態であることを検出する。
【0015】
さらに、別の1つの操作スイッチ、例えばS2だけが操作され、操作スイッチS2の接点が閉じている場合、抵抗R2と抵抗R3の接続点に得られた分圧電圧V23が操作スイッチS2を通して共通出力端Oに伝送され、共通出力端Oは分圧電圧V23になり、この分圧電圧V23がアナログーデジタル変換部43に供給される。制御検出部42は、アナログーデジタル変換部43において供給された分圧電圧V23をアナログーデジタル変換し、得られたデジタル信号から入力分圧電圧V23が高い方から2番目の電圧であることを算出し、その算出結果から操作スイッチS2だけが操作され、他の操作スイッチS1、S3乃至S9が非操作状態であることを検出する。
【0016】
同じように、他の操作スイッチが操作された場合においても、制御検出部42は、アナログーデジタル変換部43において得られたデジタル信号から入力分圧電圧が高い方から何番目の電圧または低い方から何番目の電圧であるかを算出し、その算出結果から操作状態にある操作スイッチ及び非操作状態にある操作スイッチを検出する。
【0017】
【発明が解決しようとする課題】
前記既知のキーマトリクス方式のスイッチ入力検出装置は、全部の操作スイッチS11乃至S14、S21乃至S24、S31乃至S34の中の操作された1つ以上の操作スイッチを、第1乃至第3走査信号SC1乃至SC3の出力タイミングと、第1乃至第4出力信号線OL1乃至OL4に得られる論理信号の論理状態とから正確に検出することができるという利点があるものの、キーマトリクス部31を構成する場合に、複数本の走査信号線SL1乃至SL3、複数本の信号入力線IL1乃至IL4、複数本の信号出力線OL1乃至OL4というように多数の信号線が必要になることから、キーマトリクス部31の構成が複雑になり、しかも、複数本の信号出力線OL1乃至OL4に得られる論理信号の論理状態、すなわち論理1と論理0とによって信号判別を行っているため、論理信号にノイズが重畳した際に稀に誤った判別が行われることがある。
【0018】
また、前記既知の抵抗分圧方式のスイッチ入力検出装置は、複数個の抵抗R1乃至R10からなる1つの抵抗列を有し、かつ、抵抗分圧部41の共通出力端Oと制御検出部42とを1本の制御線で結べば足りることから、抵抗分圧部41に多数の信号線を用いる必要がなく、抵抗分圧部41の構成が簡素化される他に、アナログ的な出力を用いているため、信号にノイズが重畳しても直ちに誤った判別が行われることがないという利点を有しているものの、操作された操作スイッチS1乃至S9を判別する際に、操作された1つの操作スイッチの判別を行うことができるだけで、操作された2つ以上の操作スイッチの判別を行うことができないので、使用用途に制限があり、必ずしも有用性が高いものということができない。
【0019】
本発明は、このような技術的背景に鑑みてなされたもので、その目的は、使用する信号線の数が多くなく、ノイズの影響を受けずに操作された1つまたはそれ以上の操作スイッチの判別を行うことができるスイッチ入力検出装置を提供することにある。
【0020】
【課題を解決するための手段】
前記目的を達成するために、本発明によるスイッチ入力検出装置は、それぞれ操作スイッチ及び各別に抵抗値の異なる検出抵抗からなる複数個の並列接続回路と終端抵抗とがそれぞれ直列接続された複数本の走査信号線を有し、複数本の走査信号線の並列接続回路と終端抵抗との接続点及び共通信号出力点間に接続された複数個のバッファダイオードを有するスイッチ検出部と、複数本の走査信号線の一端にそれぞれ異なるタイミングで走査信号を供給する走査信号発生部と、アナログ−デジタル変換部を内蔵した制御検出部と、共通信号出力点を共通信号出力線を介して前記アナログ−デジタル変換部の入力に接続する接続手段とを備え、複数本の走査信号線の中の1本は、基準検出抵抗と終端抵抗との直列回路からなる基準走査信号線とし、制御検出部は、基準走査信号線に走査信号が供給された際にアナログ−デジタル変換部に入力された電圧レベルを基準レベルに設定し、それぞれ異なるタイミングでアナログ−デジタル変換部に入力された他の走査信号線からの各電圧レベルを前記基準レベルと比較し、その比較電圧レベルを用いて各操作スイッチの操作状態及び非操作状態を検出する構成を具備する。
【0021】
前記構成における基準走査信号線に用いられる基準検出抵抗は、他の走査信号線に用いられる各検出抵抗の組み合わせ抵抗値によって得られない抵抗値のものである。
【0022】
前記構成における走査信号発生部は、電源回路内に制御検出部からのトリガ信号によって選択的にオンになる制御スイッチ回路が接続されているものである。
【0023】
前記構成によれば、スイッチ検出部が複数本の走査信号線を備え、複数本の走査信号線のそれぞれが直列接続された複数個の操作スイッチ及び検出抵抗の並列接続回路と1個の終端抵抗とからなり、複数本の走査信号線毎に各並列接続回路の抵抗値をそれぞれ異ならせているもので、複数本の走査信号線への走査信号の供給タイミングによって複数本の走査信号線が選択され、選択された走査信号線の終端抵抗に得られたアナログ電圧の大きさを求めることにより、複数本の走査信号線毎に操作された操作スイッチを検出することができ、その結果、全部の操作スイッチの中から操作された1つまたはそれ以上の操作スイッチを検出することが可能になる。
【0024】
そして、前記構成によれば、複数本の走査信号線の中の1本を直列接続された基準検出抵抗と終端抵抗とからなる基準走査信号線とし、基準走査信号線が選択されたとき、その終端抵抗に基準電圧を発生させ、他の走査信号線の終端抵抗に得られるアナログ電圧の電圧値を基準電圧と比較し、その比較電圧に基づいた判定を行っているので、アナログ電圧の大きさの判別が容易になる。
【0025】
また、前記構成によれば、スイッチ検出部の共通信号出力点と制御検出部とを1本の共通信号出力線を用いて接続すれば足りるので、スイッチ検出部で用いられる信号線の数を少なくしてスイッチ検出部の構成を簡素化することができ、その上、1本の共通信号出力線にアナログ出力信号を伝送させているので、アナログ出力信号に対するノイズの影響を少なくすることができる。
【0026】
【発明の実施の形態】
以下、本発明の実施の形態を図面を参照して説明する。
【0027】
図1は、本発明によるスイッチ入力検出装置の第1の実施の形態を示すもので、その要部構成を示す回路図である。
【0028】
図1に示されるように、第1の実施の形態によるスイッチ入力検出装置は、スイッチ検出部1と、走査信号発生部2と、制御検出部3と、制御スイッチ回路4とからなる。また、スイッチ検出部1は、第1乃至第3走査信号線SL1乃至SL3と、第1乃至第3バッファダイオードD1乃至D3とを有する。制御検出部3は、マイクロコンピュータ(MCU)からなり、アナログーデジタル変換部(A/D)3Cを内蔵している。制御スイッチ回路4は、制御トランジスタ4Tを具備している。
【0029】
スイッチ検出部1において、第1走査信号線SL1は、一端が走査信号発生部2に、他端が接地点にそれぞれ接続され、一端側から他端側に向かって、操作スイッチS11及び検出抵抗R11の並列接続回路、操作スイッチS12及び検出抵抗R12の並列接続回路、操作スイッチS13及び検出抵抗R13の並列接続回路、操作スイッチS14及び検出抵抗R14の並列接続回路、終端抵抗RT1がそれぞれ直列接続され、各検出抵抗R11乃至R14はそれぞれ異なる抵抗値のもので構成されている。第2走査信号線SL2は、一端が走査信号発生部2に、他端が接地点にそれぞれ接続され、一端側から他端側に向かって、操作スイッチS21及び検出抵抗R21の並列接続回路、操作スイッチS22及び検出抵抗R22の並列接続回路、操作スイッチS23及び検出抵抗R23の並列接続回路、操作スイッチS24及び検出抵抗R24の並列接続回路、終端抵抗RT2がそれぞれ直列接続され、各検出抵抗R21乃至R24はそれぞれ異なる抵抗値のもので構成されている。第3走査信号線SL3は、一端が走査信号発生部2に、他端が接地点にそれぞれ接続され、一端側から他端側に向かって、操作スイッチS31及び検出抵抗R31の並列接続回路、操作スイッチS32及び検出抵抗R32の並列接続回路、操作スイッチS33及び検出抵抗R33の並列接続回路、操作スイッチS34及び検出抵抗R34の並列接続回路、終端抵抗RT3がそれぞれ直列接続され、各検出抵抗R31乃至R34は異なる抵抗値のもので構成されている。この場合、各検出抵抗R11乃至R14、R21乃至R24、R31乃至R34の抵抗値は、例えば抵抗R11、R21、R31の抵抗値をrに選んだ場合、抵抗R12、R22、R32の抵抗値を2rに、抵抗R13、R23、R33の抵抗値を4rに、抵抗R14、R24、R34の抵抗値を8rにそれぞれ選ぶようにする。
【0030】
同じく、スイッチ検出部1において、第1バッファダイオードD1は、アノード側が操作スイッチS14及び検出抵抗R14の並列接続回路と終端抵抗RT1との接続点に、カソード側が共通信号出力点O1にそれぞれ接続される。第2バッファダイオードD2は、アノード側が操作スイッチS24及び検出抵抗R24の並列接続回路と終端抵抗RT2との接続点に、カソード側が共通信号出力点O1にそれぞれ接続される。第3バッファダイオードD3は、アノード側が操作スイッチS34及び検出抵抗R34の並列接続回路と終端抵抗RT3との接続点に、カソード側が共通信号出力点O1にそれぞれ接続される。
【0031】
また、制御検出部3において、アナログーデジタル変換部3Cは、入力が1本の共通出力信号線SOを通して共通信号出力点O1に接続される。さらに、制御スイッチ回路4において、制御トランジスタ4Tは、コレクタが電源端子B+に、エミッタが走査信号発生部2の電源入力端子(記号なし)に、ベースが制御検出部2のトリガ信号出力端子(記号なし)にそれぞれ接続される。
【0032】
続く、図2は、図1に図示されたスイッチ入力検出装置の各部に得られる信号または電圧状態を示す波形図であって、図示の例では、操作スイッチS11、S22、S33がそれぞれ操作されたときの状態を示すものである。
【0033】
図2において、第1段目は制御検出部3から制御スイッチ回路4に供給されるトリガ信号TRであり、第2段目は第1走査信号線SL1に供給される第1走査信号SC1であり、第3段目は第2走査信号線SL2に供給される第2走査信号SC2であり、第4段目は第3走査信号線SL3に供給される第3走査信号SC3であり、第5段目は共通信号出力点O1に供給されるアナログ出力信号TO1であり、第6段目(最下段)は制御検出部2におけるアナログ信号検知タイミングである。また、横軸は時間を表す。
【0034】
ここで、第1の実施の形態に係わるスイッチ入力検出装置の動作を、図1及び図2を用いて説明する。
【0035】
始めに、制御検出部2は、時間t0乃至t2の期間に第1のトリガ信号TRを発生し、その後の時間t2乃至t3の期間にトリガ信号TRの発生を停止し、時間t3乃至t5の期間に再び第2のトリガ信号TRを発生し、その後の時間t5乃至t6の期間にトリガ信号TRの発生を停止し、時間t6乃至t8の期間に3度第3のトリガ信号TRを発生し、その後の時間t8にトリガ信号TRの発生を停止する。第1乃至第3のトリガ信号TRは、制御スイッチ回路4の制御トランジスタ4Tのベースに供給され、第1乃至第3のトリガ信号TRの供給期間だけ制御スイッチ回路4をオンにし、電源端子B+の電源電圧を断続的に走査信号発生部2に供給する。走査信号発生部2は、第1回の電源電圧が供給された時間t0乃至t2の期間内に第1走査信号線SL1に第1走査信号SC1を出力し、第2回に電源電圧が供給された時間t3乃至t5の期間内に第2走査信号線SL2に第2走査信号SC2を出力し、第3回に電源電圧が供給された時間t6乃至t8の期間内に第3走査信号線SL3に第3走査信号SC3を出力し、スイッチ検出部1の第1乃至第3走査信号線SL1乃至SL3をそれぞれを異なるタイミングの第1乃至第3走査信号SC1乃至SC2で走査する。
【0036】
いま、全部の操作スイッチS11乃至S14、S21乃至S24、S31乃至S34が操作されず、それらの接点が開いている場合、第1走査信号線SL1には全ての検出抵抗R11乃至R14が接続され、それらの総合抵抗値が15r(最大抵抗値)になり、第2走査信号線SL2にも全ての検出抵抗R21乃至R24が接続され、それらの総合抵抗値が15r(最大抵抗値)になり、第3走査信号線SL3にも全ての検出抵抗R31乃至R34が接続され、検出抵抗R31乃至R34の総合抵抗値が15r(最大抵抗値)になっているので、第1乃至第3走査信号SC1乃至SC3が供給された際に、終端抵抗RT1、RT2、RT3に得られる電圧は最低電圧、例えば第1乃至第3バッファダイオードD1乃至D3のPN接合電圧を僅かに超えた電圧になる。
【0037】
このため、第1乃至第3走査信号SC1乃至SC3が供給されるタイミング時に、共通信号出力点O1に出力される検出電圧はそれぞれ電圧レベルL0(最低レベル)になり、この電圧レベルL0が共通出力信号線SOを通してアナログ−デジタル変換部3Cに供給される。制御検出部2は、時間t0乃至t2の中間の時間t1のタイミングでアナログ−デジタル変換部3Cに入力された電圧レベルL0に基づいて、第1走査信号線SL1の全ての操作スイッチS11乃至S14が非操作状態であること、時間t3乃至t5の中間の時間t4のタイミングでアナログ−デジタル変換部3Cに入力された電圧レベルL0に基づいて、第2走査信号線SL2の全ての操作スイッチS21乃至S24が非操作状態であること、時間t6乃至t8の中間の時間t7のタイミングで、アナログ−デジタル変換部3Cに入力された電圧レベルL0に基づいて、第3走査信号線SL3の全ての操作スイッチS31乃至S34が非操作状態であることをそれぞれ検出する。
【0038】
この場合、制御検出部3が、アナログ−デジタル変換部3Cに入力された電圧レベルL0をそれぞれ、時間t0乃至t2の中間の時間t1のタイミング、時間t3乃至t5の中間の時間t4のタイミング、時間t6乃至t8の中間の時間t7のタイミングで検出している理由は、第1乃至第3走査信号SC1乃至SC3が第1乃至第3走査信号線SL1乃至SL3に出力された後、第1乃至第3走査信号線SL1乃至SL3の電圧の過渡変動状態が解消され、各終端抵抗RT1乃至RT3から安定化された状態のアナログ電圧レベルを検出するためである。そして、以下に述べるそれぞれの場合においても、制御検出部3は、アナログ−デジタル変換部3Cに入力されたアナログ電圧レベルを、第1乃至第3走査信号SC1乃至SC3の供給期間の中間、すなわち時間t1、t4、t7に該当する各タイミングで検出する。
【0039】
次に、1つの操作スイッチ、例えば操作スイッチS11だけが操作され、操作スイッチS11の接点が閉じている場合、第1走査信号線SL1には3つの検出抵抗R12乃至R14が接続され、3つの検出抵抗R12乃至R14の総合抵抗値が14r(2番目に大きい抵抗値)になるので、第1走査信号SC1が供給された際に、終端抵抗RT1で検出される電圧は、第1バッファダイオードD1のPN接合電圧を少し超えた低電圧(2番目に低い電圧)になる。このとき、第2走査信号線SL2には全ての検出抵抗R21乃至R24が接続され、検出抵抗R21乃至R24の総合抵抗値が15r(最大抵抗値)になり、同様に、第3走査信号線SL3には全ての検出抵抗R31乃至R34が接続され、検出抵抗R31乃至R34の総合抵抗値が15r(最大抵抗値)になるので、第2乃至第3走査信号SC2乃至SC3が供給された際に、終端抵抗RT2、RT3における検出電圧は、いずれも第2乃至第3バッファダイオードD2乃至D3のPN接合電圧を僅かに超えた最低電圧になる。
【0040】
このため、第1走査信号SC1の供給タイミング時に共通信号出力点O1に出力される検出電圧は電圧レベルL1(2番目に低いレベル)になり、また、第2乃至第3走査信号SC2乃至SC3の供給タイミング時に共通信号出力点O1に出力される検出電圧はそれぞれ最低電圧レベルL0になり、これらの電圧レベルL1、L0、L0が共通出力信号線SOを通してアナログ−デジタル変換部3Cに供給される。制御検出部3は、時間t1のタイミングでアナログ−デジタル変換部3Cに入力された電圧レベルL1に基づいて、第1走査信号線SL1の操作スイッチS11が操作され、残りの操作スイッチS12乃至S14が非操作状態であることを検出し、時間t4、t7のタイミングでアナログ−デジタル変換部3Cに入力された電圧レベルL0に基づいて、第2走査信号線SL2の全ての操作スイッチS21乃至S24及び第3走査信号線SL3の全ての操作スイッチS31乃至S34が非操作状態であることを検出する。
【0041】
次いで、他の1つの操作スイッチ、例えば操作スイッチS22だけが操作され、操作スイッチS22の接点が閉じている場合、第2走査信号線SL2には3つの検出抵抗R11、R13、R14が接続され、3つの検出抵抗R11、R13、R14の総合抵抗値が13r(3番目に大きい抵抗値)になるので、第2走査信号SC2が供給された際に、終端抵抗RT2の検出電圧は、第2バッファダイオードD2のPN接合電圧を超えた電圧(3番目に低い電圧)になる。このとき、第1走査信号線SL1には全ての検出抵抗R11乃至R14が接続され、検出抵抗R11乃至R14の総合抵抗値が15rになり、第3走査信号線SL3には全ての検出抵抗R31乃至R34が接続され、検出抵抗R31乃至R34の総合抵抗値が15rになるので、第1及び第3走査信号SC1、SC3が供給された際に、終端抵抗RT1、RT3の検出電圧は、いずれも第1及び第3バッファダイオードD1、D3のPN接合電圧を僅かに超えた最低電圧になる。
【0042】
このため、第2走査信号SC2の供給タイミング時に、共通信号出力点O1に出力される検出電圧は電圧レベルL2(3番目に低いレベル)になり、一方、第1及び第3走査信号SC1、SC3の供給タイミング時に、共通信号出力点O1に出力される検出電圧はそれぞれ最低電圧レベルL0になり、これらの電圧レベルL0、L2、L0が共通出力信号線SOを通してアナログ−デジタル変換部3Cに供給される。制御検出部3は、時間t1のタイミングでアナログ−デジタル変換部3Cに入力された電圧レベルL0に基づいて、第1走査信号線SL1の全ての操作スイッチS11乃至S14が非操作状態であること、時間t4のタイミングでアナログ−デジタル変換部3Cに入力された電圧レベルL2に基づいて、第2走査信号線SL2の操作スイッチS22が操作され、残りの操作スイッチS21、S23、S24が非操作状態であること、時間t7のタイミングでアナログ−デジタル変換部3Cに入力された電圧レベルL0に基づいて、第3走査信号線SL3の全ての操作スイッチS31乃至S34が非操作状態であることをそれぞれ検出する。
【0043】
続いて、さらに別の1つの操作スイッチ、例えば操作スイッチS33だけが操作され、操作スイッチS33の接点が閉じている場合も前述の場合と同様であって、第3走査信号SC3の供給タイミング時に、共通信号出力点O1に出力される検出電圧は電圧レベルL3(5番目に低いレベル)になり、一方、第1及び第2走査信号SC1及びSC3の供給タイミング時に、共通信号出力点O1に出力される検出電圧はそれぞれ電圧レベルL0になる。そして、制御検出部3は、時間t1、t4のタイミングでアナログ−デジタル変換部3Cにそれぞれ入力された電圧レベルL0に基づいて、第1走査信号線SL1の全ての操作スイッチS11乃至S14及び第2走査信号線SL2の全ての操作スイッチS21乃至S24が非操作状態であること、時間t7のタイミングでアナログ−デジタル変換部3Cに入力された電圧レベルL3に基づいて、第3走査信号線SL3の操作スイッチS33が操作され、残りの操作スイッチS31、S32、S34が非操作状態であることをそれぞれ検出する。
【0044】
前述の各例は、1つの操作スイッチだけが操作された場合に、その操作された操作スイッチを検出する場合であるが、第1の実施の形態においては、複数の操作スイッチが同時に操作された場合であっても、同じように操作された操作スイッチをそれぞれ検出することができる。
【0045】
まず、第1乃至第3走査信号線SL1乃至SL3において1つづつ、例えば操作スイッチS11、S22、S33が操作され、それらの接点が閉じている場合は、第1走査信号SC1の供給タイミング時に共通信号出力点O1に出力される検出電圧は電圧レベルL1に、第2走査信号SC2の供給タイミング時に共通信号出力点O1に出力される検出電圧は電圧レベルL2に、第3走査信号SC3の供給タイミング時に共通信号出力点O1に出力される検出電圧は電圧レベルL3になる。そして、制御検出部3は、時間t1のタイミングでアナログ−デジタル変換部3Cに入力された電圧レベルL1に基づいて、第1走査信号線SL1の1つの操作スイッチS11が操作され、残りの操作スイッチS12乃至S14が非操作状態であること、時間t4のタイミングでアナログ−デジタル変換部3Cに入力された電圧レベルL2に基づいて、第2走査信号線SL2の1つの操作スイッチS22が操作され、残りの操作スイッチS21、S23、S24が非操作状態であること、時間t7のタイミングでアナログ−デジタル変換部3Cに入力された電圧レベルL3に基づいて、第3走査信号線SL3の1つの操作スイッチS33が操作され、残りの操作スイッチS31、S32、S34が非操作状態であることをそれぞれ検出する。
【0046】
次に、1本の走査信号線、例えば第1走査信号線SL1において、複数の操作スイッチ、例えば2つの操作スイッチS11、S12が操作され、それらの接点が閉じている場合は、第1走査信号線SL1に2つの検出抵抗R13、R14が接続され、検出抵抗R13、R14の総合抵抗値が12r(4番目に大きい抵抗値)になり、第1走査信号SC1が供給された際に、終端抵抗RT1の検出電圧は、第1バッファダイオードD1のPN接合電圧を超えた電圧(4番目に低い電圧)になる。このとき、第2走査信号線SL2には全ての検出抵抗R21乃至R24が接続され、検出抵抗R21乃至R24の総合抵抗値が15rになり、第3走査信号線SL3には全ての検出抵抗R31乃至R34が接続され、検出抵抗R31乃至R34の総合抵抗値が15rになるので、第2及び第3走査信号SC2及びSC3が供給された際に、終端抵抗RT2、RT3の検出電圧は、いずれも第2及び第3バッファダイオードD2、D3のPN接合電圧を僅かに超えた最低電圧になる。
【0047】
このため、第1走査信号SC1の供給タイミング時に、共通信号出力点O1に出力される検出電圧は電圧レベルL4(4番目に低いレベル)になり、一方、第2及び第3走査信号SC2、SC3の供給タイミング時に、共通信号出力点O1に出力される検出電圧はそれぞれ電圧レベルL0になり、これらの電圧レベルL3、L0、L0が共通出力信号線SOを通してアナログ−デジタル変換部3Cに供給される。制御検出部3は、時間t1のタイミングでアナログ−デジタル変換部3Cに入力された電圧レベルL4に基づいて、第1走査信号線SL1の2つの操作スイッチS11、S12が操作され、残りの操作スイッチS13、S14が非操作状態であること、時間t4のタイミングでアナログ−デジタル変換部3Cに入力された電圧レベルL0に基づいて、第2走査信号線SL2の全ての操作スイッチS21乃至S24が非操作状態であること、時間t7のタイミングでアナログ−デジタル変換部3Cに入力された電圧レベルL0に基づいて、第3走査信号線SL3の全ての操作スイッチS31乃至S34が非操作状態であることをそれぞれ検出する。
【0048】
この他に、第1走査信号線SL1の他の2個の操作スイッチ、例えば操作スイッチS11、S13が操作され、それらの接点が閉じている場合、第1走査信号線SL1に2つの検出抵抗R12、R14が接続され、それらの抵抗値が10rになり、また、第1走査信号線SL1の他の2個の操作スイッチ、例えば操作スイッチS12、S13が操作され、それらの接点が閉じている場合、第1走査信号線SL1に2つの検出抵抗R11、R14が接続され、それらの抵抗値が9rになり、さらに、第1走査信号線SL1の他の2個の操作スイッチ、例えば操作スイッチS11、S14が操作され、それらの接点が閉じている場合、第1走査信号線SL1に2つの検出抵抗R12、R13が接続され、それらの抵抗値が6rになるというように、4個の操作スイッチS11乃至S14の中の2個の操作スイッチが操作された場合に、操作された2個の操作スイッチの組み合わせにより、第1走査信号線SL1に接続される2つの検出抵抗の総合抵抗値が異なり、その結果、第1走査信号SC1の供給タイミング時に、共通信号出力点O1に出力される電圧レベルが異なるようになる。そして、制御検出部3は、アナログ−デジタル変換部3Cに入力された電圧レベルの相違に基づいて、操作された2個の操作スイッチと操作されない2つの操作スイッチをそれぞれ検出する。
【0049】
同じように、第1走査信号線SL1のいずれか3個の操作スイッチが操作され、それらの接点が閉じている場合や、第1走査信号線SL1の2個またはそれ以上の操作スイッチが操作され、第2走査信号線SL2の1個またはそれ以上の操作スイッチが操作され、それらの接点が閉じている場合等においても、制御検出部3は、アナログ−デジタル変換部3Cに入力された電圧レベルの相違及びアナログ−デジタル変換部3Cに入力された電圧レベルの検出タイミングに基づいて、操作された複数個の操作スイッチと操作されない残りの操作スイッチをそれぞれ検出する。
【0050】
このように、第1の実施の形態のスイッチ入力検出装置によれば、第1の走査信号線SL1に操作スイッチS11乃至S14と対応する検出抵抗R11乃至R14との並列接続回路を直列接続し、第2の走査信号線SL2に操作スイッチS21乃至S24と対応する検出抵抗R21乃至R24との並列接続回路を直列接続し、第3の走査信号線SL3に操作スイッチS31乃至S34と対応する検出抵抗R31乃至R34との並列接続回路を直列接続することにより、第1乃至第3の走査信号線SL1乃至SL3毎に、操作された操作スイッチに基づく検出抵抗の総合抵抗値の変化を電圧レベルに変換し、この電圧レベルを制御検出部3に供給することによって、制御検出部3においては、供給された電圧レベル及びこの電圧レベルの検出タイミングに基づいて、第1乃至第3の走査信号線SL1乃至SL3に接続されている各操作スイッチS11乃至S14、S21乃至S24、S31乃至S34の中の操作された1個またはそれ以上の操作スイッチ及び操作されない残りの操作スイッチをそれぞれ検出することができる。
【0051】
次に、図3は、本発明によるスイッチ入力検出装置の第2の実施の形態を示すもので、その要部構成を示す回路図である。
【0052】
図3に示されるように、第2の実施の形態のスイッチ入力検出装置は、第3走査信号線SL3を基準走査信号線として、1個の基準検出抵抗RSTと1個の終端抵抗RT3との直列接続回路によって構成し、基準検出抵抗RSTの抵抗値を、第1走査信号線SL1に接続された各検出抵抗R11乃至R14、及び、第2走査信号線SL2に接続された各検出抵抗R21乃至24のいずれかの組み合わせによっても得ることができない値、例えば16rになるように選んでいる。すなわち、第2の実施の形態のスイッチ入力検出装置は、第1の実施の形態のスイッチ入力検出装置において、第3走査信号線SL3に操作スイッチS31乃至S34とそれに対応する検出抵抗R31乃至R34との並列接続回路を直列接続する代わりに、1個の基準検出抵抗RSTを接続したものである。
【0053】
そして、第2の実施の形態のスイッチ入力検出装置は、第1の実施の形態のスイッチ入力検出装置と比べ、第3走査信号線SL3の構成が前述のように異なっているだけで、その他の構成は全く同じである。このため、第2の実施の形態のスイッチ入力検出装置の構成については、これ以上の説明を省略する。
【0054】
また、第2の実施の形態のスイッチ入力検出装置の動作は、走査信号発生部2から基準走査信号線(第3走査信号線)SL3に走査信号発生部2から第3走査信号SC3が供給された際に、基準抵抗RSTの抵抗値が16rという大きな値に選ばれているために、基準検出抵抗RSTによる電圧降下が大きく、終端抵抗RT3の検出電圧は第3バッファダイオードD3のPN接合電圧よりも若干小さい電圧になって、共通信号出力点O1に出力される検出電圧は電圧レベルL0よりも低い電圧レベルLEになる。制御検出部3は、時間t7のタイミングでアナログ−デジタル変換部3Cに入力された電圧レベルLEを基準レベルに設定し、時間t1、t4のタイミングでアナログ−デジタル変換部3Cに入力された各電圧レベルを設定した基準レベルに対するレベルとして求め、第1走査信号線SL1の各操作スイッチS11乃至S14及び第2走査信号線SL2の各操作スイッチS21乃至S24の操作状態及び非操作状態を検出する。
【0055】
そして、第2の実施の形態のスイッチ入力検出装置におけるその他の動作は、既に述べた第1の実施の形態のスイッチ入力検出装置で実行される動作と同じである。このため、第2の実施の形態のスイッチ入力検出装置の動作については、これ以上の説明を省略する。
【0056】
このように、第2の実施の形態のスイッチ入力検出装置によれば、既に述べた第1の実施の形態のスイッチ入力検出装置で得られる効果とほぼ同じ効果を得ることができるとともに、制御検出部3における電圧レベルの検出時に、基準レベルを設定しているので、より正確な電圧レベルの検出を行うことができる。
【0057】
なお、前記第1及び第2の実施の形態においては、使用する走査信号線の数が第1乃至第3走査信号線SL1乃至SL3の3本である例を挙げて説明したが、本発明のスイッチ入力検出装置において使用する走査信号線の数は3本である場合に限られず、2本であってもよく、4本またはそれ以上であってもよい。
【0058】
また、前記第1及び第2の実施の形態においては、1本の走査信号線に検出抵抗R11乃至R14、R21乃至R24、R31乃至R34とともに接続される操作スイッチS11乃至S14、S21乃至S24、S31乃至S34の数がそれぞれ4個である例を挙げて説明したが、本発明のスイッチ入力検出装置において1本の走査信号線に接続される操作スイッチの数は4個である場合に限られず、3個またはそれ以下の個数であってもよく、5個またはそれ以上の個数であってもよい。この場合、1本の走査信号線に接続される操作スイッチの数は同数である必要はなく、各走査信号線に接続される操作スイッチの数を異なる個数にしてもよい。
【0059】
さらに、前記第1及び第2の実施の形態においては、各検出抵抗R11乃至R14、R21乃至R24、R31乃至R34及び基準検出抵抗RSTの抵抗値として、検出抵抗R11、R21、R31をr、検出抵抗R12、R22、R32をそれぞれ2r、検出抵抗R13、R23、R33をそれぞれ4r、検出抵抗R14、R24、R34をそれぞれ8r、基準検出抵抗RSTを16rにした例を挙げて説明したが、本発明のスイッチ入力検出装置において各検出抵抗R11乃至R14、R21乃至R24、R31乃至R34及び基準検出抵抗RSTの抵抗値はこのような抵抗値のものに限られるものでなく、第1乃至第3走査信号線SL1乃至SL3毎に各検出抵抗R11乃至R14、R21乃至R24、R31乃至R34の抵抗値が異なり、かつ、基準検出抵抗RSTの抵抗値が各検出抵抗R11乃至R14、R21乃至R24、R31乃至R34の抵抗値の組み合わせによっても得ることができない抵抗値であれば、他の抵抗値を選んでもよい。
【0060】
この他に、前記第1及び第2の実施の形態においては、走査信号発生部2から出力される各走査信号SC1乃至SC3の出力タイミングを制御検出部3で制御するために、制御スイッチ回路4を走査信号発生部2の電源に接続しているが、本発明のスイッチ入力検出装置において制御検出部3と走査信号発生部2とのタイミング合わせのために制御スイッチ回路4を用いたものに限られず、制御検出部3からの制御信号を直接走査信号発生部2に供給する等の他のタイミング合わせ手段を用いてもよい。
【0061】
【発明の効果】
以上のように、本発明によれば、スイッチ検出部が複数本の走査信号線を備え、複数本の走査信号線のそれぞれが直列接続された複数個の操作スイッチ及び検出抵抗の並列接続回路と1個の終端抵抗とからなり、複数本の走査信号線毎に各並列接続回路の検出抵抗の抵抗値を異ならせるようにしているもので、複数本の走査信号線への走査信号の出力タイミングによって複数本の走査信号線が選択され、その選択時に複数本の信号出力線の終端抵抗に得られたアナログ電圧の大きさを求めることにより、複数本の走査信号線毎に操作された操作スイッチを選択することが可能になり、その結果、全部の操作スイッチの中から操作された1つまたはそれ以上の操作スイッチを検出することができるという効果がある。
【0062】
また、本発明によれば、スイッチ検出部の共通信号出力点と制御検出部とを1本の共通信号出力線を用いて接続すれば足りるので、スイッチ検出部で用いられる信号線の数を少なくしてスイッチ検出部の構成を簡素化することができ、その上、1本の共通信号出力線にアナログ出力信号を伝送させているので、アナログ出力信号に対するノイズの影響を少なくできるという効果がある。
【図面の簡単な説明】
【図1】本発明によるスイッチ入力検出装置の第1の実施の形態を示すもので、その要部構成を示す回路図である。
【図2】図1に図示されたスイッチ入力検出装置の各部に得られる信号または電圧状態を示す波形図である。
【図3】本発明によるスイッチ入力検出装置の第2の実施の形態を示すもので、その要部構成を示す回路図である。
【図4】既知のキーマトリクス方式のスイッチ入力検出装置の一例を示すもので、その要部構成を示す回路図である。
【図5】既知の抵抗分圧方式のスイッチ入力検出装置の一例を示すもので、その要部構成を示す回路図である。
【符号の説明】
1 スイッチ検出部
2 走査信号発生部
3 制御検出部
3C アナログーデジタル変換部(A/D)
4 制御スイッチ回路
4T 制御トランジスタ
SL1 第1走査信号線
SL2 第2走査信号線
SL3 第3走査信号線
SO 共通出力信号線
R11〜R14、R21〜R24、R31〜R34 検出抵抗
RST 基準検出抵抗
S11〜S14、S21〜S24、S31〜S34 操作スイッチ
RT1〜RT3 終端抵抗
D1 第1バッファダイオード
D2 第2バッファダイオード
D3 第3バッファダイオード
O1 共通信号出力点[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a switch input detection device for detecting an operated switch among a plurality of operation switches, and in particular, by detecting detection of an operated switch in the form of an analog voltage, the number of signal output lines is increased. The present invention relates to a switch input detection device that reduces noise and is less susceptible to noise.
[0002]
[Prior art]
Conventionally, as a switch input detection device for electrically detecting an operated switch among a plurality of operation switches, a device using a key matrix system in which each operation switch is arranged in a matrix or each operation switch is used. A device using a resistance voltage dividing system connected in parallel to each voltage dividing resistor of a resistor voltage divider is known.
[0003]
Here, FIG. 4 shows an example of a known key matrix type switch input detection device, and is a circuit diagram showing a configuration of a main part thereof.
[0004]
As shown in FIG. 4, the switch input detection device includes a
[0005]
The key matrix type switch input detecting device relating to the above-described configuration operates as follows.
[0006]
If all the operation switches S11 to S14, S21 to S24, and S31 to S34 are not operated and their contacts are open, the first to third scan signal lines SL1 to SL3 supplied to the first to third scan signal lines SL1 to SL3 are open. Since none of the three scan signals SC1 to SC3 is transmitted to the first to fourth input signal lines IL1 to IL4, logic 0 (ground potential) is output to the first to fourth output signal lines OL1 to OL4, respectively. The
[0007]
Next, when only one operation switch, for example, the operation switch S23 is operated and the contact of the operation switch S23 is closed, the second scanning signal SC2 supplied to the second scanning signal line SL2 passes through the contact of the operation switch S23. Since the signal is transmitted to the third input signal line IL3, the logic 1 (scanning signal potential) is output to the third output signal line OL3, and the first, second, and fourth output signal lines OL1, OL2, and OL4 are the previous cases. In the same manner as above,
[0008]
Further, when the operation switch S23 is operated, other operation switches, for example, the operation switch S32 are operated, and when the contacts of the operation switches S23 and S32 are closed, the second scan signal line SL2 supplied to the second scan signal line SL2 is operated. The second scanning signal SC2 is transmitted to the third input signal line IL3 through the contact of the operation switch S23, and the third scanning signal SC3 supplied to the third scanning signal line SL3 is transmitted through the contact of the operation switch S32 to the second input signal line. Since it is transmitted to IL2,
[0009]
Similarly, when one or more other operation switches are operated, the
[0010]
FIG. 5 shows an example of a known resistance voltage division type switch input detection device, and is a circuit diagram showing the configuration of the main part thereof.
[0011]
As shown in FIG. 5, the switch input detection device includes a resistance
[0012]
This resistance voltage dividing type switch input detecting device according to the above-described configuration operates as follows.
[0013]
If all the operation switches S1 to S9 are not operated and their contacts are open, the divided voltages of the resistors R1 to R10 are not transmitted to the common output terminal O, so the common output terminal O is grounded. This ground voltage is supplied to the analog-
[0014]
Next, when only one operation switch, for example, the operation switch S5 is operated and the contact of the operation switch S5 is closed, the divided voltage V56 obtained at the connection point of the resistor R5 and the resistor R6 is common through the operation switch S5. The common output terminal O becomes a divided voltage V56, and the divided voltage V56 is supplied to the analog-
[0015]
Further, when only another operation switch, for example, S2 is operated and the contact of the operation switch S2 is closed, the divided voltage V23 obtained at the connection point of the resistor R2 and the resistor R3 is output through the operation switch S2. The common output terminal O becomes a divided voltage V23, and the divided voltage V23 is supplied to the analog-
[0016]
Similarly, even when other operation switches are operated, the
[0017]
[Problems to be solved by the invention]
The known key matrix type switch input detecting device includes one or more operated switches among all the operation switches S11 to S14, S21 to S24, S31 to S34, and the first to third scanning signals SC1. To the SC3 output timing and the logic states of the logic signals obtained on the first to fourth output signal lines OL1 to OL4. Since a large number of signal lines such as a plurality of scanning signal lines SL1 to SL3, a plurality of signal input lines IL1 to IL4, and a plurality of signal output lines OL1 to OL4 are required, the configuration of the
[0018]
Further, the known resistance voltage dividing type switch input detecting device has one resistance row composed of a plurality of resistors R1 to R10, and the common output terminal O of the resistance
[0019]
The present invention has been made in view of such a technical background, and an object of the present invention is to provide one or more operation switches that are operated without being affected by noise because the number of signal lines to be used is not large. It is an object of the present invention to provide a switch input detection device capable of determining the above.
[0020]
[Means for Solving the Problems]
In order to achieve the above object, the present inventionAccordingEach switch input detection deviceOperation switchas well asDifferent resistance values for eachSense resistorA plurality ofParallel connection circuit andTerminationA plurality of buffer diodes having a plurality of scanning signal lines each connected in series with a resistor, and connected between a connection point between a parallel connection circuit of the plurality of scanning signal lines and a terminating resistor and a common signal output point A switch detection unit having a scanning signal generation unit that supplies scanning signals to one end of the plurality of scanning signal lines at different timings, a control detection unit incorporating an analog-digital conversion unit,Common signalConnecting means for connecting an output point to an input of the analog-digital converter via a common signal output line,One of the plurality of scanning signal lines is a reference scanning signal line composed of a series circuit of a reference detection resistor and a termination resistor, and the control detection unit detects analog signals when the scanning signal is supplied to the reference scanning signal line. -The voltage level input to the digital conversion unit is set as a reference level, and the respective voltage levels from other scanning signal lines input to the analog-digital conversion unit at different timings are compared with the reference level and compared. Detects the operation state and non-operation state of each operation switch using the voltage levelConsists of configurationDo.
[0021]
SaidConstitutionInThe reference detection resistor used for the reference scanning signal line has a resistance value that cannot be obtained by the combined resistance value of each detection resistor used for the other scanning signal lines..
[0022]
SaidThe scanning signal generator in the configuration isA control switch circuit that is selectively turned on by a trigger signal from the control detector in the power supply circuitAre connected.
[0023]
SaidConstitutionAccording to the present invention, the switch detection unit includes a plurality of scanning signal lines, and each of the plurality of scanning signal lines includes a plurality of operation switches and a parallel connection circuit of detection resistors, and one termination resistor. The resistance value of each parallel connection circuit is made different for each of the plurality of scanning signal lines, and the plurality of scanning signal lines are selected according to the supply timing of the scanning signal to the plurality of scanning signal lines, By obtaining the magnitude of the analog voltage obtained at the termination resistance of the selected scanning signal line, it is possible to detect the operating switches operated for each of the plurality of scanning signal lines, and as a result, all the operating switches It is possible to detect one or more operation switches operated from among the switches.
[0024]
And the configurationAccording to the present invention, one of a plurality of scanning signal lines is used as a reference scanning signal line composed of a reference detection resistor and a termination resistor connected in series, and when the reference scanning signal line is selected, the termination resistance is set as a reference. The voltage value of the analog voltage generated at the terminating resistor of the other scanning signal line is generated as the reference voltage.And the comparison voltageBased on the judgmentBecause we are goingThis makes it easy to determine the magnitude of the analog voltage.
[0025]
Also,The configurationAccording to the switch detectorCommon signal output pointAnd the control detection unit need only be connected using a single common signal output line, the number of signal lines used in the switch detection unit can be reduced, and the configuration of the switch detection unit can be simplified. Furthermore, since the analog output signal is transmitted to one common signal output line, the influence of noise on the analog output signal can be reduced.
[0026]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[0027]
FIG. 1 shows a first embodiment of a switch input detection device according to the present invention, and is a circuit diagram showing a configuration of a main part thereof.
[0028]
As shown in FIG. 1, the switch input detection device according to the first embodiment includes a
[0029]
In the
[0030]
Similarly, in the
[0031]
In the
[0032]
FIG. 2 is a waveform diagram showing signal or voltage states obtained in each part of the switch input detection device shown in FIG. 1, and in the example shown, the operation switches S11, S22, and S33 are respectively operated. It shows the state of time.
[0033]
In FIG. 2, the first stage is a trigger signal TR supplied from the
[0034]
Here, the operation of the switch input detection apparatus according to the first embodiment will be described with reference to FIGS.
[0035]
First, the
[0036]
If all the operation switches S11 to S14, S21 to S24, and S31 to S34 are not operated and their contacts are open, all the detection resistors R11 to R14 are connected to the first scanning signal line SL1, Their total resistance value is 15r (maximum resistance value), all the detection resistors R21 to R24 are also connected to the second scanning signal line SL2, and their total resistance value is 15r (maximum resistance value). All the detection resistors R31 to R34 are also connected to the three scanning signal lines SL3, and the total resistance value of the detection resistors R31 to R34 is 15r (maximum resistance value), so the first to third scanning signals SC1 to SC3. Is supplied to the terminating resistors RT1, RT2, RT3, the minimum voltage, for example, the PN junction voltage of the first to third buffer diodes D1 to D3 is reduced. It becomes the voltage that exceeds the.
[0037]
For this reason, at the timing when the first to third scanning signals SC1 to SC3 are supplied, the detection voltages output to the common signal output point O1 are each at the voltage level L0 (lowest level), and this voltage level L0 is the common output. The analog signal is supplied to the analog-
[0038]
In this case, the
[0039]
Next, when only one operation switch, for example, the operation switch S11 is operated and the contact of the operation switch S11 is closed, three detection resistors R12 to R14 are connected to the first scanning signal line SL1, and three detections are performed. Since the total resistance value of the resistors R12 to R14 is 14r (second largest resistance value), the voltage detected by the termination resistor RT1 when the first scanning signal SC1 is supplied is the voltage of the first buffer diode D1. It becomes a low voltage (second lowest voltage) slightly exceeding the PN junction voltage. At this time, all the detection resistors R21 to R24 are connected to the second scanning signal line SL2, and the total resistance value of the detection resistors R21 to R24 becomes 15r (maximum resistance value), and similarly, the third scanning signal line SL3. Are connected to all the detection resistors R31 to R34, and the total resistance value of the detection resistors R31 to R34 is 15r (maximum resistance value). Therefore, when the second to third scanning signals SC2 to SC3 are supplied, The detection voltages at the termination resistors RT2 and RT3 are both the lowest voltage slightly exceeding the PN junction voltage of the second to third buffer diodes D2 to D3.
[0040]
For this reason, the detection voltage output to the common signal output point O1 at the supply timing of the first scanning signal SC1 becomes the voltage level L1 (second lowest level), and the second to third scanning signals SC2 to SC3 The detection voltage output to the common signal output point O1 at the supply timing is the lowest voltage level L0, and these voltage levels L1, L0, and L0 are supplied to the analog-
[0041]
Next, when only one other operation switch, for example, the operation switch S22 is operated and the contact of the operation switch S22 is closed, three detection resistors R11, R13, and R14 are connected to the second scanning signal line SL2. Since the total resistance value of the three detection resistors R11, R13, and R14 is 13r (third highest resistance value), when the second scanning signal SC2 is supplied, the detection voltage of the termination resistor RT2 is the second buffer. The voltage exceeds the PN junction voltage of the diode D2 (the third lowest voltage). At this time, all the detection resistors R11 to R14 are connected to the first scanning signal line SL1, the total resistance value of the detection resistors R11 to R14 becomes 15r, and all the detection resistors R31 to R3 are connected to the third scanning signal line SL3. Since R34 is connected and the total resistance value of the detection resistors R31 to R34 becomes 15r, when the first and third scanning signals SC1 and SC3 are supplied, the detection voltages of the termination resistors RT1 and RT3 are both the first. The minimum voltage slightly exceeds the PN junction voltage of the first and third buffer diodes D1 and D3.
[0042]
Therefore, at the supply timing of the second scanning signal SC2, the detection voltage output to the common signal output point O1 becomes the voltage level L2 (third lowest level), while the first and third scanning signals SC1, SC3. The detection voltage output to the common signal output point O1 at the supply timing is at the lowest voltage level L0, and these voltage levels L0, L2, and L0 are supplied to the analog-
[0043]
Subsequently, when only another operation switch, for example, the operation switch S33 is operated and the contact of the operation switch S33 is closed, it is the same as described above, and at the timing of supplying the third scanning signal SC3, The detection voltage output to the common signal output point O1 is at the voltage level L3 (the fifth lowest level), while being output to the common signal output point O1 at the supply timing of the first and second scanning signals SC1 and SC3. Each detected voltage becomes a voltage level L0. The
[0044]
In each of the above examples, when only one operation switch is operated, the operated operation switch is detected. In the first embodiment, a plurality of operation switches are operated simultaneously. Even if it is a case, the operation switch operated similarly can be detected, respectively.
[0045]
First, when the operation switches S11, S22, and S33 are operated one by one in the first to third scanning signal lines SL1 to SL3 and their contact points are closed, for example, common at the timing of supplying the first scanning signal SC1. The detection voltage output to the signal output point O1 is at the voltage level L1, the detection voltage output to the common signal output point O1 at the supply timing of the second scanning signal SC2 is at the voltage level L2, and the supply timing of the third scanning signal SC3. Sometimes the detection voltage output to the common signal output point O1 becomes the voltage level L3. The
[0046]
Next, when a plurality of operation switches, for example, two operation switches S11 and S12 are operated on one scanning signal line, for example, the first scanning signal line SL1, and the contact points thereof are closed, the first scanning signal When the two detection resistors R13 and R14 are connected to the line SL1, the total resistance value of the detection resistors R13 and R14 becomes 12r (the fourth largest resistance value), and the first scanning signal SC1 is supplied, the termination resistor The detection voltage of RT1 is a voltage (fourth lowest voltage) exceeding the PN junction voltage of the first buffer diode D1. At this time, all the detection resistors R21 to R24 are connected to the second scanning signal line SL2, the total resistance value of the detection resistors R21 to R24 becomes 15r, and all the detection resistors R31 to R3 are connected to the third scanning signal line SL3. Since R34 is connected and the total resistance value of the detection resistors R31 to R34 is 15r, when the second and third scan signals SC2 and SC3 are supplied, the detection voltages of the termination resistors RT2 and RT3 are both 2 and the minimum voltage slightly exceeding the PN junction voltage of the third buffer diodes D2 and D3.
[0047]
For this reason, at the supply timing of the first scanning signal SC1, the detection voltage output to the common signal output point O1 becomes the voltage level L4 (fourth lowest level), while the second and third scanning signals SC2, SC3. The detection voltage output to the common signal output point O1 at the supply timing becomes the voltage level L0, and these voltage levels L3, L0, and L0 are supplied to the analog-
[0048]
In addition, when the other two operation switches of the first scanning signal line SL1, for example, the operation switches S11 and S13 are operated and their contact points are closed, the two detection resistors R12 are connected to the first scanning signal line SL1. , R14 are connected, their resistance value is 10r, and the other two operation switches of the first scanning signal line SL1, for example, operation switches S12 and S13, are operated, and their contacts are closed. The two detection resistors R11, R14 are connected to the first scanning signal line SL1, their resistance value is 9r, and two other operation switches such as the operation switch S11, for example, When S14 is operated and the contact points are closed, the two detection resistors R12 and R13 are connected to the first scanning signal line SL1, and the resistance value thereof is 6r. When two of the four operation switches S11 to S14 are operated, the two detection resistors connected to the first scanning signal line SL1 are combined by the combination of the two operated switches. The total resistance value is different, and as a result, the voltage level output to the common signal output point O1 is different at the supply timing of the first scanning signal SC1. Then, the
[0049]
Similarly, when any three operation switches of the first scanning signal line SL1 are operated and their contact points are closed, two or more operation switches of the first scanning signal line SL1 are operated. Even when one or more operation switches of the second scanning signal line SL2 are operated and the contact points thereof are closed, the
[0050]
As described above, according to the switch input detection device of the first embodiment, the parallel connection circuit of the operation switches S11 to S14 and the corresponding detection resistors R11 to R14 is connected in series to the first scanning signal line SL1, A parallel connection circuit of detection resistors R21 to R24 corresponding to the operation switches S21 to S24 is connected in series to the second scanning signal line SL2, and a detection resistor R31 corresponding to the operation switches S31 to S34 is connected to the third scanning signal line SL3. By connecting the parallel connection circuit with R34 in series, the change of the total resistance value of the detection resistor based on the operated operation switch is converted into the voltage level for each of the first to third scanning signal lines SL1 to SL3. By supplying this voltage level to the
[0051]
Next, FIG. 3 shows a second embodiment of the switch input detection device according to the present invention, and is a circuit diagram showing a main configuration thereof.
[0052]
As shown in FIG. 3, the switch input detection device according to the second embodiment uses the third scanning signal line SL3 as a reference scanning signal line, and includes one reference detection resistor RST and one termination resistor RT3. The resistance value of the reference detection resistor RST is configured by a series connection circuit, and the detection resistors R11 to R14 connected to the first scanning signal line SL1 and the detection resistors R21 to R21 connected to the second scanning signal line SL2. A value that cannot be obtained by any combination of 24, for example, 16r is selected. That is, the switch input detection device of the second embodiment is the same as the switch input detection device of the first embodiment, except that the operation switches S31 to S34 and the corresponding detection resistors R31 to R34 are connected to the third scanning signal line SL3. Instead of connecting the parallel connection circuits in series, one reference detection resistor RST is connected.
[0053]
The switch input detection device of the second embodiment is different from the switch input detection device of the first embodiment only in the configuration of the third scanning signal line SL3 as described above. The configuration is exactly the same. For this reason, the further description is abbreviate | omitted about the structure of the switch input detection apparatus of 2nd Embodiment.
[0054]
In the operation of the switch input detection device of the second embodiment, the
[0055]
The other operations in the switch input detection device of the second embodiment are the same as the operations executed in the switch input detection device of the first embodiment already described. For this reason, the further description is abbreviate | omitted about operation | movement of the switch input detection apparatus of 2nd Embodiment.
[0056]
As described above, according to the switch input detection device of the second embodiment, substantially the same effect as that obtained by the switch input detection device of the first embodiment described above can be obtained, and control detection can be performed. Since the reference level is set when the voltage level is detected in the
[0057]
In the first and second embodiments, the example in which the number of scanning signal lines to be used is three of the first to third scanning signal lines SL1 to SL3 has been described. The number of scanning signal lines used in the switch input detection device is not limited to three, but may be two, or four or more.
[0058]
In the first and second embodiments, the operation switches S11 to S14, S21 to S24, and S31 connected to one scanning signal line together with the detection resistors R11 to R14, R21 to R24, and R31 to R34. However, the number of operation switches connected to one scanning signal line in the switch input detection device of the present invention is not limited to four. The number may be three or less, or may be five or more. In this case, the number of operation switches connected to one scanning signal line need not be the same, and the number of operation switches connected to each scanning signal line may be different.
[0059]
Furthermore, in the first and second embodiments, the detection resistors R11, R21, and R31 are detected as the resistance values of the detection resistors R11 to R14, R21 to R24, R31 to R34, and the reference detection resistor RST. Although the resistors R12, R22, and R32 are each 2r, the detection resistors R13, R23, and R33 are 4r, the detection resistors R14, R24, and R34 are each 8r, and the reference detection resistor RST is 16r. In the switch input detection device, the resistance values of the detection resistors R11 to R14, R21 to R24, R31 to R34, and the reference detection resistor RST are not limited to such resistance values, and the first to third scanning signals. The resistance values of the detection resistors R11 to R14, R21 to R24, and R31 to R34 are different for the lines SL1 to SL3. If the resistance value of the reference detection resistor RST cannot be obtained by the combination of the resistance values of the detection resistors R11 to R14, R21 to R24, and R31 to R34, other resistance values can be selected. Good.
[0060]
In addition, in the first and second embodiments, the
[0061]
【The invention's effect】
As described above, according to the present invention, the switch detection unit includes a plurality of scanning signal lines, and each of the plurality of scanning signal lines is connected in series. It consists of one termination resistor, and the resistance value of the detection resistor of each parallel connection circuit is made different for each of the plurality of scanning signal lines, and the output timing of the scanning signal to the plurality of scanning signal lines The operation switch operated for each of the plurality of scanning signal lines by selecting a plurality of scanning signal lines and obtaining the magnitude of the analog voltage obtained at the termination resistance of the plurality of signal output lines at the time of selection. As a result, it is possible to detect one or more operated switches operated from among all the operated switches.
[0062]
In addition, according to the present invention, it is sufficient to connect the common signal output point of the switch detection unit and the control detection unit using one common signal output line, so that the number of signal lines used in the switch detection unit is reduced. Thus, the configuration of the switch detection unit can be simplified, and in addition, since the analog output signal is transmitted to one common signal output line, the effect of noise on the analog output signal can be reduced. .
[Brief description of the drawings]
FIG. 1 shows a first embodiment of a switch input detection device according to the present invention, and is a circuit diagram showing a configuration of a main part thereof.
2 is a waveform diagram showing a signal or voltage state obtained in each part of the switch input detection device shown in FIG. 1; FIG.
FIG. 3 is a circuit diagram showing a main configuration of a switch input detection device according to a second embodiment of the present invention.
FIG. 4 shows an example of a known key matrix type switch input detection device, and is a circuit diagram showing a main configuration of the device.
FIG. 5 shows an example of a known resistance voltage dividing type switch input detecting device, and is a circuit diagram showing a configuration of a main part thereof.
[Explanation of symbols]
1 Switch detector
2 Scanning signal generator
3 Control detector
3C Analog-to-digital converter (A / D)
4 Control switch circuit
4T control transistor
SL1 first scanning signal line
SL2 Second scanning signal line
SL3 Third scanning signal line
SO Common output signal line
R11 to R14, R21 to R24, R31 to R34 Detection resistance
RST reference detection resistor
S11 to S14, S21 to S24, S31 to S34 Operation switches
RT1 to RT3 Termination resistor
D1 first buffer diode
D2 Second buffer diode
D3 Third buffer diode
O1 Common signal output point
Claims (3)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP28430999A JP3756709B2 (en) | 1999-10-05 | 1999-10-05 | Switch input detector |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP28430999A JP3756709B2 (en) | 1999-10-05 | 1999-10-05 | Switch input detector |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2001109566A JP2001109566A (en) | 2001-04-20 |
| JP3756709B2 true JP3756709B2 (en) | 2006-03-15 |
Family
ID=17676881
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP28430999A Expired - Fee Related JP3756709B2 (en) | 1999-10-05 | 1999-10-05 | Switch input detector |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3756709B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102565694A (en) * | 2011-12-31 | 2012-07-11 | 广东盈科电子有限公司 | Non-AD-port key detection circuit and detection method thereof |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5734111B2 (en) * | 2011-06-22 | 2015-06-10 | 株式会社マルサン・ネーム | Position sensor |
| TWI556138B (en) * | 2013-02-28 | 2016-11-01 | 克里斯多福 赫爾德埃斯 | Method for determining active input elements of an input ?arrangement and input arrangement |
| KR101475675B1 (en) * | 2013-12-20 | 2014-12-23 | 현대다이모스(주) | Switch for vehicle seat |
| CN109739789A (en) * | 2018-12-06 | 2019-05-10 | 西安翔迅科技有限责任公司 | A kind of terminal resistance automatic matching circuit and method |
| CN115014180B (en) * | 2022-05-05 | 2023-04-07 | 厦门大学 | Touch positioning sensor manufacturing method and touch positioning sensor |
| CN115692266A (en) * | 2022-11-03 | 2023-02-03 | 中国电子科技集团公司第十三研究所 | A material positioning detection device and method based on electrical signal superposition |
-
1999
- 1999-10-05 JP JP28430999A patent/JP3756709B2/en not_active Expired - Fee Related
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102565694A (en) * | 2011-12-31 | 2012-07-11 | 广东盈科电子有限公司 | Non-AD-port key detection circuit and detection method thereof |
| CN102565694B (en) * | 2011-12-31 | 2014-06-18 | 广东盈科电子有限公司 | Non-AD-port key detection circuit and detection method thereof |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2001109566A (en) | 2001-04-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3756709B2 (en) | Switch input detector | |
| WO2000057556A1 (en) | Device for clamping multiple signals | |
| US4918450A (en) | Analog/digital converter circuit | |
| US6407690B1 (en) | Reference voltage generator circuit | |
| KR20020058910A (en) | Analoge-to-Digital converter with Gamma Collection function | |
| CA1276692C (en) | Monolithic switch | |
| US4893122A (en) | Parallel analog to digital converter employing sample and hold stages | |
| JPH08307269A (en) | Analog-digital converter | |
| JP4530767B2 (en) | Sampling circuit | |
| US7102693B2 (en) | Data acquisition circuit which changes a range of a reference potential | |
| JP2518486B2 (en) | Switch circuit | |
| US6373420B1 (en) | Analog-to-digital converter with capability of outputting comparison results on bit at a time during testing | |
| JPS6323413A (en) | Decision circuit | |
| KR20060092214A (en) | Electronic sensing circuit | |
| US12278646B2 (en) | Analog to digital converter having mechanism of detecting input voltage range and signal conversion method thereof | |
| KR930007651B1 (en) | A / D conversion circuit with error detection | |
| JP3197244B2 (en) | Output circuit | |
| JP3948923B2 (en) | DA conversion unit test apparatus, test method, and semiconductor integrated circuit device | |
| JP3097626B2 (en) | Subscriber line monitoring circuit | |
| JPS6059775B2 (en) | Analog to digital converter | |
| JPH04262413A (en) | Key scan circuit for microcomputer | |
| CN117891386A (en) | Analog quantity acquisition method and system with self-excitation test | |
| JPH04340813A (en) | Reference voltage selecting circuit | |
| JPH0715331A (en) | A/d converter circuit | |
| JPH05191250A (en) | Multiplexer |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20050811 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20050816 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20051014 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20051206 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20051222 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090106 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100106 Year of fee payment: 4 |
|
| LAPS | Cancellation because of no payment of annual fees |