JP3821002B2 - Touch panel device - Google Patents
Touch panel device Download PDFInfo
- Publication number
- JP3821002B2 JP3821002B2 JP2002031251A JP2002031251A JP3821002B2 JP 3821002 B2 JP3821002 B2 JP 3821002B2 JP 2002031251 A JP2002031251 A JP 2002031251A JP 2002031251 A JP2002031251 A JP 2002031251A JP 3821002 B2 JP3821002 B2 JP 3821002B2
- Authority
- JP
- Japan
- Prior art keywords
- touch
- touch position
- touch panel
- electrode
- 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
- 238000012937 correction Methods 0.000 claims description 82
- 238000001514 detection method Methods 0.000 claims description 52
- 238000004364 calculation method Methods 0.000 claims description 28
- 238000005259 measurement Methods 0.000 claims description 26
- 239000000758 substrate Substances 0.000 claims description 9
- 230000002093 peripheral effect Effects 0.000 claims description 6
- 238000000034 method Methods 0.000 description 52
- 230000008569 process Effects 0.000 description 22
- 238000010586 diagram Methods 0.000 description 16
- 238000003860 storage Methods 0.000 description 16
- 230000008859 change Effects 0.000 description 15
- 230000007423 decrease Effects 0.000 description 13
- 230000000694 effects Effects 0.000 description 4
- 230000032683 aging Effects 0.000 description 3
- 230000003321 amplification Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 3
- 238000003199 nucleic acid amplification method Methods 0.000 description 3
- 239000011521 glass Substances 0.000 description 2
- 238000013146 percutaneous coronary intervention Methods 0.000 description 2
- 230000001681 protective effect Effects 0.000 description 2
- 239000004020 conductor Substances 0.000 description 1
- WABPQHHGFIMREM-UHFFFAOYSA-N lead(0) Chemical compound [Pb] WABPQHHGFIMREM-UHFFFAOYSA-N 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 239000011347 resin Substances 0.000 description 1
- 229920005989 resin Polymers 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
Images
Landscapes
- Position Input By Displaying (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、基板の表面に導電膜を備えるタッチパネルを有するタッチパネル装置に関し、タッチパネル表面におけるタッチ位置の検出精度に優れた、ディスプレイ(CRT、液晶パネル等)表面上の項目の選択用、特に描画用および手書き入力用等に好適なタッチパネル装置に関する。
【0002】
【従来の技術】
タッチパネル入力装置は、入力可能なエリアが任意であること、画面表示を自由に設計できること、手書き入力が可能なこと等の長所がある。この装置に用いられるタッチパネルは、ガラスあるいはフィルム等の基板と、その表面に設けられた導電膜で構成されている。そして、タッチパネルの表面に、人の指、タッチペンなどが接触すると、導電膜に電流が流れ、検出された電流値を基に、タッチされた位置が判別できるように、電気回路が構成されている。タッチ位置の検出原理は、次のとおりである。
【0003】
図14は、従来のタッチパネル装置に採用されている回路図であり、タッチ位置の検出原理を説明するための図である。なお、タッチパネルの形状は四角形とし、タッチ位置はX座標とY座標で表示されるものとして説明する。図14において、Roは、タッチパネルが備える導電膜のX軸方向またはY軸方向における、電気抵抗値(以下、単に抵抗値と記す)を意味する。X軸、Y軸の各方向の導電膜の両端には、導電膜よりも抵抗値が低い電極が設けられている。また、RK、RKは電圧計測用抵抗器であり、それぞれの抵抗器の一端が電極に接続されている。一方、電圧計測用抵抗器の他端は、いずれも交流電源eに接続されており、交流電源eの他端は接地されている。Zは、導電膜上の任意の位置にタッチされる、指や導電性のペン等のインピーダンスを持つものを表しており、それらの他端は接地された状態にある。
【0004】
ここで、タッチ位置と、X軸またはY軸方向の一方の電極との間の導電膜の抵抗値をRL、他方の電極との間の導電膜の抵抗値をRH、導電膜の全抵抗は前述のようにRoとする。さらに、両側の電極に接続されている電圧計測用抵抗器の抵抗値を、それぞれ同じ抵抗値RKとし、タッチパネルに指等がタッチされた場合の抵抗器両端の電圧をそれぞれV1、V2とする。
【0005】
図14に示した回路構成および上記の条件の場合、オームの法則を基に、次の(1)式が導かれる。
【0006】
【数1】
【0007】
(1)式において、電圧VlおよびV2は計測により求められる値であり、また、(1)式中のRO/RKは(2)式において、V01およびV02を計測することによって求められる値である。
【0008】
したがって、電圧VlおよびV2を計測することにより、RL/RO、すなわち、電極間の幅(ROに相当)に対する一方の電極からの距離(RLに相当)の割合、換言すれば幅方向の位置を求めることができる。X軸とY軸の両方について、同様な計測を行うことにより、X−Y座標におけるタッチ位置(座標)を求めることができる。
【0009】
このような従来のタッチパネル装置は、例えば、特表昭56−500230号公報(「タッチパネルシステム及び方法」)、特開昭63−108423号公報に(「指タッチ式座標出力装置」)などに開示されている。
【0010】
タッチパネル装置は、前述のような長所がある反面、導電膜の特性(抵抗値)の経時的な変化、使用環境の変化等の影響を受け、タッチ位置の検出精度が低下するという欠点がある。このような問題を解決するための対策として、例えば、特開平5−80922号公報には、自動的にキャリブレーションを行う方法が開示されている。この方法では、タッチパネルの押下回数の累積値を記憶するようにして、押下回数に応じて自動的に位置補正を行う対策が採られている。この方法により、ある程度の位置補正は可能と考えられる。しかし、使用回数などに伴って変化した状態の導電膜の抵抗値そのものが求められていないので、間接的な位置補正となっている。また、位置補正に、使用環境の変化が反映できないという欠点がある。
【0011】
この他、タッチパネルには、製造の際に生じるタッチパネル面内における導電膜の抵抗値の不均一性に起因するタッチ位置の検出精度不良、導電膜の外周に設けられた抵抗値の低い導電性材料で構成された電極が抵抗を持っていることに起因するタッチ位置検出精度不良などの問題もある。
【0012】
なお、この後者の電極の抵抗に起因する誤差は、次の理由による。すなわち、X軸またはY軸の両端におけるRL/RO値は、コーナー部では0または1となり、コーナー部以外の辺部では、0または1からずれた値となる。コーナー部以外の辺部では、コーナー部から辺部までの電極の抵抗に比例した電圧降下が生じるからである。そのため、上記(1)式では検出精度が著しく低い。 また、タッチパネルのタッチ位置検出に対しては、タッチパネル装置の電源や周辺の機器から放射されるノイズによる検出精度の低下がある。このようなノイズや装置固有の誤差に起因するデータのばらつきを補正する方法として、特開平10−333835号公報には、複数のタッチデータを検出し、その内の最大値と最小値を除き、残りのデータの平均値を求める方法が開示されている。この場合には、測定時に発生するノイズに起因する誤差を補正することはある程度可能と考えられる。
【0013】
【発明が解決しようとする課題】
タッチパネルに描画や手書き入力が行われる場合のように、タッチ位置が連続的に移動する場合には、一連の動きの中で、移動に従ってタッチ圧が低下する傾向がある。例えば、指がタッチパネル上を移動する場合、移動とともにタッチ圧が低下しタッチパネルに対する接触面積が小さくなる。このようにタッチ圧が低下するとタッチ電圧が低下するので、タッチ信号か否かの判定条件によっては、タッチとして認識されないことが起こる。したがって、タッチ位置が連続的に移動する場合には、タッチ位置の検出精度が低下しやすいことが分かった。
【0014】
この他、前述のように、ノイズの影響を防止するためには、前述の特開平10−333835号公報に開示されているような平均値を求める方法がある。しかし、連続的に移動するタッチ位置の検出に平均値を求める方法を応用する場合、平均値を求めるためのデータの母数を多くすると、タッチ位置の検出を時間的に追随させることが難しく、逆に母数が少ないと平均値を求める効果が得られないことが確認された。
【0015】
また、本発明者らは、タッチパネル装置の検出精度に及ぼす要因を検討した結果、上記の問題に加えて、個々のタッチパネル装置が持つ浮遊容量、すなわち、タッチパネル装置の導電膜、電極、引き回し線などと、大地(接地)またはタッチパネル装置を組み込んだ筐体との間に生じる浮遊容量が、タッチ位置の検出精度を低下させるという問題があることを見いだした。
【0016】
図1は、本発明者らによって確認された、タッチパネル装置表面の導電膜、電極、引き回し配線などと、大地(接地)またはタッチパネル装置を組み込んだ筐体との間に生じる浮遊容量(C1およびC2)により、人の指やタッチペンが導電膜にタッチされていない状態でも、電圧計測用抵抗器RK、RKの両端に、電圧(オフセット電圧)が発生することを説明するための回路図である。
【0017】
タッチパネル装置におけるタッチ位置検出には、導電膜に人の指やタッチペンがタッチされていない場合には、電圧計測用抵抗器RK、RKの両端に電圧が発生することがなく、タッチされた時にはじめて電圧が発生することが前提条件である。したがって、上記のようなオフセット電圧の存在は、検出精度の低下を引き起こす直接的な要因となる。
【0018】
図1(a)に示したように、上記の浮遊容量は、タッチパネル装置の基本回路においては、C1およびC2として表すことができる。このC1およびC2の存在により、電圧計測用抵抗器RK、RKの両端に、オフセット電圧(Vf1、Vf2)が発生することになる。導電膜に人の指やタッチペンがタッチされた場合にも、電圧計測用抵抗器RK、RKの両端の電圧には、このオフセット電圧が含まれる。したがって、オフセット電圧の影響を取り除くことができなければ、正確にタッチ位置を検出することができないと言える。
【0019】
上記の検討結果を考慮すると、前述の導電膜の経時的な変化、使用環境の変化等に起因するタッチ位置の検出精度低下および上記のタッチパネル装置固有の浮遊容量に起因するタッチ位置の検出精度低下の両者の問題を同時に解決しなければ、タッチパネル装置のタッチ位置の検出精度を向上させることができないことを確認した。
【0020】
本発明は、上記の問題を解決することができるタッチパネル装置、すなわち、タッチパネル装置の電源や周辺の機器から発生するノイズ、タッチ位置が連続的に移動する場合のタッチ圧の変動に起因するタッチ検出精度の低下の問題を解決することができる、製造コストが安いタッチパネル装置を提供することを目的とする。さらに、本発明は、上記の問題の解決に加えて、タッチパネルに設けられた導電膜の特性の経時的な変化、タッチパネル装置の使用環境の変化などに起因するタッチ位置の検出精度低下およびタッチパネル装置固有の浮遊容量に起因するタッチ位置検出精度低下、等の問題をすべて解決することができる、タッチ位置検出精度に優れ、製造コストが安いタッチパネル装置を提供することを目的とする。
【0021】
【課題を解決するための手段】
本発明に係るタッチパネル装置(請求項1に記載の装置)は、基板の表面に導電膜を備えるタッチパネルと、該タッチパネルの外周部に配置された第1の電極および第2の電極と、前記第1の電極および第2の電極に交流電流を供給する交流電流発生手段と、前記第1の電極と前記交流電流発生手段との間および前記第2の電極と前記交流電流発生手段との間にそれぞれ配置され、第1の電極側の電圧および第2の電極側の電圧を計測する電圧計測手段とを備え、計測された前記第1の電極側の電圧および前記第2の電極側の電圧からタッチ位置を算出するタッチパネル装置において、前記電圧計測手段によって検知されたタッチ判定用信号と予め設定されているタッチ判定用しきい値との比較を基に、タッチ信号であるか否かを判定するタッチ信号判定手段と、該タッチ信号判定手段によってタッチ信号と判定された場合、前記タッチ信号を基に、前記タッチパネルにタッチされた状態が連続的か否かを判定するタッチ状態判定手段と、該タッチ状態判定手段によってタッチされた状態が連続的と判定された場合、前記タッチ位置が前回のタッチ位置に対して移動したか否かを判定するタッチ位置移動判定手段と、該タッチ位置移動判定手段によって前記タッチ位置が連続的に移動していると判定された場合、前記タッチ判定用しきい値を低く設定するしきい値設定手段と、前記タッチ位置移動判定手段による判定結果に応じて、最新のタッチ位置データを設定するタッチ位置データ設定手段と、該最新のタッチ位置データおよび前回までのタッチ位置判定結果を基に、今回のタッチ位置を判定するタッチ位置判定手段とを備えることを特徴とする。
【0022】
上述の本発明に係るタッチパネル装置(請求項1に記載の装置)は、タッチ状態が連続的な場合には、今回のタッチ位置検出値と前回のタッチ位置判定値とを基に移動量を判定し、移動量に応じてタッチしきい値を決定するとともに、前回までのタッチ位置判定結果を利用して今回のタッチ位置を判定する手段を備えている。そのために、連続的にタッチされている状態でタッチ圧が変動し、タッチされているか否かの判定が難しいような場合でも、精度よくタッチ位置を判定することが可能である。それとともに、タッチ位置移動判定手段により、タッチ信号とノイズとを精度よく判別し、タッチ位置の判定からノイズを排除するようにしているので、タッチ位置の判定に対するノイズの影響を小さく抑えることができる。さらに、前回までのタッチ位置判定結果が、すでに平均化された精度の高い値であるので、平均値を求めるのに必要なデータの母数を少なくすることができるために、タッチ位置の判定結果を求めるのに要する時間が短い。したがって、タッチパネルに描画などが行われる場合であっても、精度よく、かつ追随性よくタッチ位置の判定を行うことができる。
【0023】
本発明に係る別のタッチパネル装置(請求項2に記載の装置)は、基板の表面に導電膜を備えるタッチパネルと、該タッチパネルの外周部に配置された第1の電極および第2の電極とからなる2つの電極と、前記第1の電極および第2の電極に交流電流を供給する交流電流発生手段と、前記第1の電極と前記交流電流発生手段との間および前記第2の電極と前記交流電流発生手段との間に配置され、第1の電極側の電圧または第2の電極側の電圧を計測する電圧計測手段とを備え、計測された前記第1の電極側の電圧および前記第2の電極側の電圧からタッチ位置を算出するタッチパネル装置において、前記電圧計測手段によって検知されたタッチ判定用信号と予め設定されているタッチ判定用しきい値との比較を基に、タッチ信号であるか否かを判定するタッチ信号判定手段と、前記第1の電極および前記第2の電極のうちの少なくとも一方の電極と前記交流発生手段の一端との間に、スイッチを介した抵抗器を備え、前記第1の電極側と第2の電極側毎にオフセット電圧Vfを判定するVf値判定手段と、前記第1の電極側と第2の電極側毎に前記スイッチオンにおける前記電圧計測手段の両端の電圧V0を判定するV0値判定手段と、前記電圧VfおよびV0値を基に、タッチ位置検出値に対する自己補正値を求める自己補正値判定手段と、前記スイッチがオフで、タッチパネルにタッチされた状態における前記電圧計測手段の両端の電圧Vtを判定するVt値判定手段と、前記自己補正値およびVt値を基に、タッチパネル上のタッチ位置を判定する第1のタッチ位置判定手段と、前記タッチ信号判定手段によってタッチ信号と判定された場合、前記タッチ信号を基に、前記タッチパネルにタッチされた状態が連続的か否かを判定するタッチ状態判定手段と、該タッチ状態判定手段によってタッチされた状態が連続的と判定された場合、前記タッチ位置が前回のタッチ位置に対して移動したか否かを判定するタッチ位置移動判定手段と、該タッチ位置移動判定手段によって前記タッチ位置が連続的に移動していると判定された場合、前記タッチ判定用しきい値を低く設定するしきい値設定手段と、前記タッチ位置移動判定手段による判定結果に応じて、最新のタッチ位置データを設定するタッチ位置データ設定手段と、該最新のタッチ位置データおよび前回までのタッチ位置判定結果を基に、今回のタッチ位置を判定する第2のタッチ位置判定手段とを備えることを特徴とする。
【0024】
また、上記のタッチパネル装置において、前記外周部に配置された電極の数が3以上であり、電極を結ぶ2以上の軸を座標軸とし、各座標軸方向毎に、前記タッチ位置を判定する前記第1のタッチ位置判定手段および前記第2のタッチ位置判定手段を有することが望ましい。
【0025】
さらに、前記各座標軸に対応する2つの電極に対して、前記電圧計測手段の接続を切り替えるための切り替え手段を備えることが望ましい。
【0026】
上記のタッチパネル装置においては、前記タッチパネル装置への電源投入時、またはタッチパネルにタッチ信号がない時に随時、自己補正値判定を実行する機能を有することが望ましい。
【0027】
また、上記のタッチパネル装置において、前記第1のタッチ位置判定手段または前記第2のタッチ位置判定手段によって求められたタッチ位置座標と、標準のタッチパネルで実測された座標との関係を基に予め作成された補正表とを備え、タッチ信号に基づいて、前記第1のタッチ位置判定手段または前記第2のタッチ位置判定手段によって計算されたタッチ位置座標と、補正表の該当する座標とを照合し、前記補正表により、前記タッチ位置座標の補正を行う機能を備えることが望ましい。
【0028】
上記の補正表による補正を行う装置に代えて、前記第1のタッチ位置判定手段または前記第2のタッチ位置判定手段によって求められたタッチ位置座標と、標準のタッチパネルで実測された座標との関係を基に、予め求められた補正演算手段を備え、前記第1のタッチ位置判定手段または前記第2のタッチ位置判定手段によって求められたタッチ位置座標に対して、前記補正演算手段を用いて補正を行う機能を備える装置としてもよい。
【0029】
本発明に係るタッチパネル装置においては、前記タッチパネルが四角形以上の多角形で、前記座標軸が2軸以上であることが望ましい。
【0030】
上述のように、本発明に係る別のタッチパネル装置は、上記の従来の装置構成に加えて、第1の電極および第2の電極のうちの少なくとも一方の電極と交流電流発生手段との一端間に、スイッチを介した抵抗器を備えており、このスイッチがオンの状態で、Vo値判定手段により、電圧計測手段の両端の電圧Voが判定できるようになっている。そのために、タッチパネルの導電膜の抵抗値の経時的な変化や使用環境に起因する変化を検出し、導電膜の抵抗値を補正することができる。さらに、Vf値判定手段により、第1の電極側と第2の電極側毎に、タッチパネル装置固有の浮遊容量に起因する電圧Vfを検出することができる。
【0031】
したがって、本発明に係る別のタッチパネル装置は、導電膜の抵抗値の経時的な変化および装置自体の持つ浮遊容量に起因するオフセット電圧を基に、タッチ位置の自己補正を行うことができるように構成されている。そして、この自己補正値の計算が、装置への電源投入時、特定の時間周期等、随時実行されるようになっている。さらに、前者の本発明に係るタッチパネル装置(請求項1に記載の装置)の持つ、前述の特性を合わせ備えているので、従来のタッチパネル装置に比べて、タッチ位置が連続的に移動するような場合でも、タッチ位置の検出精度に極めて優れている。なお、本発明に係る自己補正により、タッチ位置の検出精度が向上する理由については後述する。
【0032】
また、本発明に係る装置に用いられるタッチパネルの形状は、円形、楕円形、多角形等を含み、特に制限されるものではない。このタッチパネルの形状が三角形の場合には、第1の電極と第2の電極に該当する電極とは、隣り合う辺に設けられた電極を意味する。また、他の多角形の場合には、第1の電極と第2の電極は、必ずしも正対する辺に設けられた電極同士である必要はない。ただし、正対する辺同士を選ぶことが望ましい。
【0033】
【発明の実施の形態】
以下、請求項2に記載した発明を基に、本発明に係る好ましい実施の形態を詳細に説明する。請求項1に記載した発明は、請求項2に記載した発明の構成の一部を省略したものであるので、以下の実施の形態の説明の後にその要旨を説明する。
【0034】
図2は、本発明に係るタッチパネル装置における、導電膜の抵抗値の経時的な変化、使用環境による変化の補正に関する原理を説明するための回路図である。なお、ここでは、浮遊容量に起因するオフセット電圧については、考慮しないことにする。導電膜(全幅の抵抗値RO)の両端の電極には、それぞれ電圧計測用抵抗器RK、RKの一端が接続されており、電圧計測用抵抗器RK、RKの他端は、共通接続点を介して、交流電源eに接続されている。この交流電源eの他端は接地されている。導電膜の一端(電極)とこの電極に接続された電圧計測用抵抗器RKの接続点に、スイッチSを介して抵抗器RZが接続されており、抵抗器RZの他端は接地されている。
【0035】
この回路において、タッチパネルに指等がタッチされた状態で、スイッチSがオフの場合と、スイッチSがオンの場合について、電圧計測用抵抗器RK、RKの両端の電圧が計測されたとする。スイッチSがオフの場合は、図14に示した場合と同じ状態である。この時の電圧計測用抵抗器RK、RKの両端の電圧を、それぞれV1、V2とする。また、図2に示したように、タッチパネルに指等がタッチされていない状態で、スイッチSがオンの場合については、電圧計測用抵抗器RK、RKの両端の電圧を、それぞれVO1、VO2とする。オームの法則により、図14の状態から前記の(1)式が導かれ、図2の状態から下記の(2)式が導かれる。
【0036】
【数2】
【0037】
この(2)式を前記の(1)式に代入すると、(3)式が得られる。
【0038】
【数3】
【0039】
(3)式において、VO1、VO2、V1、V2は、いずれも計測値であり、これらの値を(3)式に代入することにより、RLとROの比、RL/ROを求めることができる。すなわち、タッチ時における導電膜全幅(電極間の間隔)に対するタッチ位置(一方の電極からの距離)の割合が求められる。この操作を、X軸とY軸について行うことにより、タッチ位置の座標を求めることができる。
【0040】
このように、電圧計測用抵抗器RKの接続点に、スイッチSを介して抵抗器RZを設けることにより、タッチ時における導電膜の真の抵抗値を検出した場合とほぼ同等の精度を持つ、タッチ位置の検出が可能である。この方法、装置によれば、導電膜の抵抗値の経時的な変化や使用環境(温度、湿度等)による変化を補正することができる。ここで、前記の(2)式で表されるRK/ROは、この補正値(自己補正値)に相当する。
【0041】
図1(b)に、本発明に係るタッチパネル装置において、タッチパネル装置固有の浮遊容量に起因するオフセット電圧がタッチ位置に及ぼす影響と、オフセット電圧の影響を補正する方法を説明するための回路図を示した。
【0042】
タッチパネルに人の指等がタッチされていない状態における、電圧計測用抵抗器RK、RKの両端のオフセット電圧を、それぞれVf1、Vf2とする。タッチパネルに人の指等がタッチされた際に、電圧計測用抵抗器RK、RKの両端に発生する電圧を、それぞれV1’、V2’とし、タッチパネルにタッチされたことに起因する電圧をV1、V2とする。V1’、V2’には、それぞれ、導電膜へのタッチに起因する電圧V1、V2と、オフセット電圧Vf1、Vf2とが含まれるので、V1’、V2’は次の(7)式、V1、V2は次の(8)式のように表される。
【0043】
【数7】
【0044】
【数8】
【0045】
したがって、オフセット電圧を考慮した場合には、前出の(3)式は、下記の(4)式、すなわち下記の(5)式となる。
【0046】
【数4】
【0047】
【数5】
【0048】
同様に、前出の(2)式は、(6)式のように表される。本発明においては、(6)式で求められるRK/ROを自己補正値と呼ぶ。
【0049】
【数6】
【0050】
これらの(5)式および(6)式を用いることにより、タッチパネル装置固有のオフセット電圧のタッチ位置検出に及ぼす影響を補正することが可能で、オフセット電圧に起因するタッチ位置検出精度の低下を防止することができる。
【0051】
本発明においては、上述の経時的な変化等に起因するタッチ位置検出精度の低下およびオフセット電圧に起因するタッチ位置の検出精度の低下という2つの重要な問題を解決するために、上記の説明からも明らかなように、具体的には、次の2つの対策を講じる。
【0052】
その第1は、タッチパネルにタッチされていない状態で、オフセット電圧を計測し、タッチ位置の計算または装置に関する自己補正(自己補正値の計算)に反映させること、その第2は、導電膜の周囲の電極と交流発生手段との間に抵抗器を設け、抵抗器を利用することにより、導電膜の経時変化等の補正を可能にすることである。
【0053】
これらの2つの対策を実現することができる、本発明に係るタッチパネル装置について、以下に具体的に説明する。
【0054】
図3は、本発明の一実施の形態に係るタッチパネル装置の全体構成を示すブロック図である。また、図4は、図3に示したタッチパネル装置に用いられるタッチパネルの構成例を示す図である。
【0055】
図4に示したタッチパネルは、パネルの形状が四角形、すなわち、座標軸がXとYの2つであり、もっともよく用いられる形状の例である。
【0056】
タッチパネル1は、長方形のガラス、樹脂製のフィルム等の基板2と、その表面に形成された導電膜3と、導電膜3の外周部、すなわち4つの辺部に設けられた電極4a、4b、4cおよび4dを備えている。これらの電極のうち、X軸またはY軸方向で対向する電極が第1の電極と第2の電極の組み合わせとなる。なお、タッチパネル用の基板2は、透明である必要はなく、適用する装置により適宜選択すればよい。
【0057】
ここで、「タッチパネル面の相対する辺部」とは、図4に示したタッチパネルの例においては、X軸方向は左側の辺部と右側の辺部、Y軸方向は上側の辺部と下側の辺部を意味する。四角形を超える多角形の場合についても、同様に相互に相対する辺部に位置する関係を表す。
【0058】
導電膜の抵抗値は数百Ω〜数kΩ/方形が望ましい。また、電極4a、4b、4cおよび4dとしては、数Ω〜数100Ωが望ましく、導電膜よりも低い抵抗値でなければならない。実際のタッチパネルでは、電極は低い抵抗値ではあるが抵抗を有している。そのため、X軸またはY軸の両辺では、RL/ROの値は、コーナー部では0または1となり、コーナー部以外の辺部では0または1からずれた値となる。パネル辺部で起こる曲線現象は、導電膜の抵抗値および電極の抵抗値を上記抵抗値の範囲内において調整することにより、ある程度直線化することが可能である。また、導電膜の表面には、タッチパネルの耐久性を向上させるために、絶縁性保護コートまたは保護用フィルムを設けてもよい。
【0059】
なお、ここでは、おもに人の指で導電膜3がタッチされる場合を想定しているが、人の指以外の導電性リード線付きのタッチペン等を用いてもよいことは言うまでもない。この場合、リード線は大地に接続されていることが望ましいが、回路上の接地(GND)への接続でも差し支えない。
【0060】
タッチパネル表面の導電膜3の外周部の4辺に設けられている電極4a、4b、4cおよび4dには、それぞれ外部接続用のリード部5a、5b、5cおよび5dが接続されている。これらのリード部と交流電源への接続は、切り替え手段による電極の組み合わせの選択により、導電膜におけるX軸方向の計測とY軸方向の計測とを切り替えることができる。すなわち、リード部5bと5dとの組み合わせにより、X軸方向の電極4bと4dとの間の計測、リード部5aと5cとの組み合わせにより、Y軸方向の電極4aと4cとの間の計測を行うことができる。
【0061】
図3に示したように、本発明の実施の形態に係るタッチパネル装置は、タッチパネル1、X−Y切り替え回路12、交流電流発生手段である交流電源e、抵抗器RZ、そのオン、オフを行うためのスイッチAとB、交流電源とのオン、オフを行うためのスイッチC、電圧計測手段である2つの電圧計測用抵抗器RK、RK、差動装置回路15と16、バンドパスフィルタ17と18、全波整流回路19と20、A/Dコンバータ21、比較回路22、A/Dコンバータ21、制御手段であるマイコン13を備えている。
【0062】
この装置において、タッチパネル1の外部接続用リード部5a、5b、5cおよび5dは、X−Y切り替え回路12に接続されており、マイコン13からの切り替え信号XYCによって、X軸方向の計測と、Y軸方向の計測とが切り替えられるように構成されている。X−Y切り替え回路12の2つの出力端には、それぞれ電圧計測用抵抗器RK、RKの一端が接続されており、抵抗器RK、RKの他端は共通接続点を有し、スイッチCを介して、一端が接地された交流電源eに、電気的に接続されている。そして、マイコン13からのオン、オフ信号OSCによって、交流電源のオン、オフ(スイッチCのオン、オフ)が行われる。
【0063】
X−Y切り替え回路12の2つの出力端と電圧計測用抵抗器RKとの接続点には、それぞれスイッチA、Bの一端が接続され、スイッチA、Bの他端は共通接続点を有し、抵抗器RZが接続されており、RZの他端は接地されている。スイッチAおよびBは、それぞれマイコン13からのオン、オフ信号LG、HGによってオン、オフされる。
【0064】
2つの抵抗器RKの両端の電圧は、それぞれ差動増幅回路15、16に入力され、差動装置回路15、16の出力は、それぞれバンドパスフィルタ17、18に入力され、ノイズ成分が除去された後、全波整流回路19、20に出力される。ここで交流が直流に変換され、A/Dコンバータ21に入力されて、アナログ信号がディジタル信号に変換されて、比較回路22に出力される。A/Dコンバータ21でディジタル値に変換された出力値は、抵抗器RKの両端の電圧としてマイコン13に入力され、後述する演算法により、タッチ位置が計算される。比較回路22は、全波整流回路19、20からの入力に応じて、タッチ判定用信号VTをマイコン13に出力する。比較回路22は、V1、V2のどちらかの信号がある規定値を超えて検出された時、タッチ有りと認識して、マイコン13に信号を伝達する。
【0065】
このような構成を持つタッチパネル装置により、浮遊容量に起因するオフセット電圧:Vf値判定手段、各座標軸毎の導電膜の抵抗値の自己補正に用いられる電圧:Vo値判定手段、Vf値、VO値を基にした自己補正値判定手段、タッチパネルにタッチされた際の電圧:Vt値判定手段、これらのデータを基にした、タッチ位置判定手段等を実現することが可能である。
【0066】
次に、本発明に係るタッチパネル装置内で実行される動作について、フローチャートを用いて具体的に説明する。全体のフローを図5〜図11に分けて示す。図5は、オフセット電圧を取得する過程(Vf値判定手段に関する動作等)、図6は、X軸方向に関するオフセット電圧の補正を含めた自己補正値の計算と計算結果の記憶手段への格納の過程(Vo値判定手段、自己補正値判定手段に関する動作等)、図7は、Y軸方向に関するオフセット電圧の補正を含めた自己補正値の計算と計算結果の記憶手段への格納の過程(Vo値判定手段、自己補正値判定手段に関する動作等)、図8は、タッチ信号を検知した際に、タッチ位置を計算し出力する過程(Vt値判定手段、第1のタッチ位置判定手段などに関する動作等)を示すフローチャートである。
【0067】
また、図9は、図8に示したフローチャートの内のD−E部、すなわち、タッチ状態が連続的な場合におけるタッチ位置移動判定手段、第2のタッチ位置判定手段などに関する動作等を、図10は、図9に示したフローチャートの内のF−G部、すなわち、連続的に検出されるタッチ信号が定常的な平均値を計算するための信号数に満たない場合の動作を示すフローチャートである。
【0068】
さらに、図11は、図5に示されているデータ設定の初期化過程を詳細に示したフローチャートである。
【0069】
図5は、装置固有の浮遊容量に起因するオフセット電圧を取得する過程のフローチャートである。まず、マイコン内部のRAMのクリアおよびマイコン内部のデータ設定の初期化を行う(ステップS50)。
【0070】
次に、オフセット電圧を計測する。はじめに、X−Y切り替え回路12によりX軸方向の計測に切り替える(ステップS51)。その状態で、タッチ判定用信号VTに関する判断を行い(ステップS52)、タッチ信号ではない(VT:“L”)と確認した場合には、図3に示したブロック図におけるスイッチAおよびBをオフ、スイッチCをオンに設定する(ステップS53)。さらに、タッチパネルに何もタッチされていない状態で、2つの電圧計測用抵抗器RK、RKの両端の電圧(X軸方向のオフセット電圧)、それぞれVf1X、Vf2Xを計測し、取得する(ステップS54)。続いて、Y軸方向の計測に切り替え(ステップS55)、X軸方向の場合と同様の手順で、タッチ信号か否かの判断(ステップS56)を行い、タッチ信号ではない場合には、Y軸方向のオフセット電圧Vf1Y、Vf2Yを計測し、取得する(ステップS57)。
【0071】
なお、ステップS52、ステップS56で、タッチ信号である(VT:“H”)と判断した場合(符号:NO)には、それぞれステップS52、ステップS56を繰り返す。これらの計測により、装置固有の浮遊容量の補正に必要なオフセット電圧に関するデータが得られ、これらの取得されたオフセット電圧Vf1X、Vf2XおよびVf1Y、Vf2Yを、いずれもマイコン13内の記憶手段(RAM)に格納する。
【0072】
ここで、タッチ判定用信号VTとは、タッチ信号であるか否かを識別する信号である。この信号は、電圧計測用抵抗器RK、RKの両端の電圧V1、V2が、比較回路22に入力され、予め設定されているしきい値と比較され、しきい値より高ければ“H”、低ければ“L”と区別されて発信される信号である。すなわち、タッチ判定用信号が“H”であればタッチ信号、“L”であればタッチ信号ではないと識別できる信号である。タッチ信号であるかの判断は、上記のようなしきい値を用いてもよいが、信号の出力の立ち上がりを、時間で微分するような方法を採用することもできる。
【0073】
次に、図6に示したフローチャートに従って、X軸方向について、導電膜の経時変化等の補正に必要なデータを取得し、これらのデータおよびオフセット電圧のデータを用いて、自己補正値を計算し、求められた自己補正値をマイコン内の記憶手段(RAM)に格納する。
【0074】
まず、計測方向をX軸方向に切り替える(ステップS61)。その状態で、タッチ判定用信号VTに対する判断を行い(ステップS62)、タッチ信号ではない(VT:“L”)と判断した場合には、図3に示したブロック図におけるスイッチAまたはBがオン、スイッチCをオンに設定する(ステップS63)。人の指等がタッチパネルにタッチされていない状態で、電圧計測用抵抗器Rk、Rkの両端の電圧VO1X’、VO2X’(オフセット電圧を含む電圧)を計測し、オフセット電圧Vf1X、Vf2Xを差し引くことにより、オフセット電圧を含まないRk、Rkの両端の電圧VO1X、VO2Xを求める(ステップS64)。これらの得られた値を基に、(6)式により、X軸方向の自己補正値を計算する(ステップS65)。
【0075】
この段階で、スイッチAおよびBをオフ、スイッチCをオンに設定し(ステップS66)、タッチ判定用信号VTに対する判断を行い(ステップS67)、タッチ信号ではないこと(VT:“L”)を確認すれば、X軸方向の自己補正値RK/ROXとして、マイコン内の記憶手段(RAM)に格納し、保存する。なお、ステップS67で、タッチ信号と判断した場合には、今回求められた自己補正値を破棄し、ステップS61に戻って、同じ操作を繰り返す。また、ステップS62で、タッチ信号と判断した場合にも、ステップS61に戻る。
【0076】
図7は、Y軸方向について、導電膜の経時変化等の補正に必要なデータを取得し、これらのデータおよびオフセット電圧のデータを用いて、自己補正値を計算し、求められた自己補正値をマイコン内に保存する過程を示すフローチャートである。図7の場合には、上述のX軸方向について自己補正値を求める場合に比べて、計測方向がY軸方向という相違があるだけであるので、詳細な説明は省略する。
【0077】
図5〜図7に示した過程に従って、X軸方向の自己補正値RK/ROX、Y軸方向の自己補正値RK/ROYが求められる。これらの自己補正値には、タッチパネル装置固有の浮遊容量に起因するオフセット電圧、導電膜の抵抗値の経時変化、使用環境の変化等、タッチ位置以外の外的要因に起因する、タッチ位置の検出精度を低下させる要因の補正が含まれている。したがって、タッチ信号が検知された際には、(5)式における自己補正値として、上記の過程で求められ、マイコン内に格納されている自己補正値を用いて、タッチ位置を演算すればよい。
【0078】
上述の図5〜図7の過程に従って求められる、オフセット電圧Vf1X、Vf2XおよびVf1Y、Vf2Yならびに導電膜の経時変化とオフセット電圧の影響を含む電圧VO1X’、VO2X’は、タッチパネル装置が使用されていない任意の時間帯に計測することが可能である。したがって、自己補正値は、随時求めることができる。例えば、空き時間を利用して、一定の時間周期でこれらの計測を行い、自己補正値を計算し、常に最新の値を記憶手段に保存しておいてもよいし、タッチパネル装置の起動時に自己補正値を計算し記憶手段に保存しておいてもよく、これらを併用してもよい。この自己補正値を更新するための制御は、マイコン等を利用すればよい。
【0079】
図8は、タッチ信号が検知された際に、タッチ位置を計算し、出力する過程を示すフローチャートである。ステップS76の段階で、スイッチAおよびBがオフ、スイッチCがオンに設定されているので、タッチ信号を検知できる状態にある。
【0080】
タッチ位置の計測方向がX軸に切り替えられている状態で(ステップS80)、タッチ判定用信号VTが入力されるのを待つ。タッチ判定用信号VTを検知すると、タッチ信号判定手段により、タッチ信号であるか否かを判断する(ステップS81)。
【0081】
ここで、以後の説明では、タッチ信号であるか否かを判定するためのしきい値を操作し変更するので、しきい値をγVTで表示するものとし、ベースとするしきい値をγVT・0とする。先に記したVT:“H”はVT>γVT・0を意味し、VT:“L”はVT≦γVT・0を意味する。
【0082】
タッチ信号(VT>γVT・0)であれば、電圧計測用抵抗器RK、RKの両端の電圧、V1X’、V2X’を取得し、(8)式によりV1X、V2Xを計算する(ステップS82)。これらのデータおよびマイコン等に格納されているX軸方向の自己補正値RKX/ROXを基に、(5)式により、X軸方向のタッチ位置RLX/ROXを計算する(ステップS83)。
【0083】
次に、計測方向をY軸方向に切り替え(ステップS84)、X軸の場合と同様な手順を経て、(5)式により、Y軸方向のタッチ位置RLY/ROYを計算する(ステップS85、S86)。上記のステップS80〜86により、タッチ位置の座標(RLX/ROX、RLY/ROY)が求められたことになる。この段階で求められるのが、第1のタッチ位置判定手段によって決定される第1のタッチ位置判定値である。
【0084】
次に、タッチ状態が連続的か否か、タッチ状態の判断を行う(ステップS87)。タッチ状態が連続的か否かの判断は、前回のタッチ信号VTの検出から今回の検出までに、所定の時間間隔、例えば10μsec程度の時間があれば非連続と判定し、その時間に満たない場合には連続と判断する。この他、一定の時間間隔でクロックを発生させ、そのクロックに応じてタッチ信号が検出されれば連続、検出されなければ非連続と判断してもよい。
【0085】
タッチ状態が非連続と判断された場合には、ステップS88−1へ進み、第1のタッチ位置判定手段によるタッチ位置判定値RLX/ROX(=XP・C)、RLY/ROY(=YP・C)を、いったん記憶装置に格納する。次に、タッチ状態が非連続的な場合には、しきい値を変更する必要がないので、しきい値γVT・PをγVT・0に設定する(ステップS88−2)。
【0086】
その後、ステップS89において、タッチ信号であるか否かを再確認し、タッチ信号であれば、タッチ位置判定値を出力し(ステップS90−1)、タッチ信号でないと判断された場合には、今回の判定値を破棄する(ステップS90−2)。
【0087】
ステップS87において、タッチ状態を連続的と判断した場合には、図8に示されているDに進み、タッチ信号が連続的な場合について、第2のタッチ位置判定を行う。本発明に関する重要な特徴は、このD〜E間にあり、本発明では、このステップを経ることにより、タッチパネルで描画が行われる場合のようなタッチ圧低下などの変動が検出精度に及ぼす影響を抑制するとともにノイズ等の影響を排除することにより、検出精度の向上を図っている。
【0088】
図9は、図8に示したD〜E間における、第2のタッチ位置判定を行うための詳細な動作を示すフローチャートである。まず、前回までの連続するタッチ信号の検出数Pが、第2のタッチ位置判定手段による判定値を求める際に平均値を計算するのに必要な母数nに達しているか否かを判断し(ステップS91)、n未満の場合には後に説明するFへ進み、n以上の場合にはステップS92に進む。ここで、今回のタッチ位置(最新のタッチ位置)は、第1のタッチ位置判定手段によって決定された値とし、XP ・C、YP ・Cにより表示するものとする。なお、XP ・C、YP ・Cは、座標名XP、YPに格納されている座標値(計算値)とする。
【0089】
ステップS92では、前回のタッチ位置判定値(後述の第2のタッチ位置判定値)であるXAV ・ (p-1)、YAV ・ (p-1)と今回の計算で求められたXP ・C、YP ・Cとから、(9)式、(10)式により、移動量ΔXP ・C、ΔYP ・Cを計算する。
ΔXP ・C=XP ・C−XAV ・ (p-1) (9)式
ΔYP ・C=YP ・C−YAV ・ (p-1) (10)式
次に、X軸について、移動量ΔXP ・Cが所定の値αXを超えているか否かを判断し(ステップS93)、超えていない場合にはXP ・C値を前回のタッチ位置判定値XAV ・ (p-1)に設定する(ステップS94)。なお、移動量ΔXP ・Cが所定の値αXを超えている場合にはXP ・Cをそのままの値としておく。Y軸についても、X軸の場合と同様な処理を行う(ステップS95、S96)。
【0090】
ここで、αXとαYは、座標分解能程度の1%前後でよい。この方法では、タッチ位置座標は、厳密にはαxとαyを基準として段階状に変化することになるが、座標分解能程度の1%前後であれば、実用上十分な精度で、移動量ΔXP ・Cを採用すべきか否かの判断を行うことができる。なお、分解能1%とは、パネル面における長さの割合に相当し、例えば画面の幅が100mmの場合は1mmを意味する。
【0091】
上記の判断の結果、今回のX軸のタッチ位置計算値XP ・C(最新のタッチ位置データと記す)の値は、移動量ΔXP ・Cが所定の値αXを超えている場合にはXP ・C、ΔXP ・CがαX以下の場合にはXAV ・ (p-1)となる。Y軸の今回のタッチ位置計算値YP ・Cの値も同様である。
【0092】
このように、上記のステップS96までの動作により、タッチ位置XP ・C、およびYP ・Cを決定して最新のタッチ位置データとして設定する。
【0093】
ここで、タッチ判定用しきい値の設定を行う。ステップS93およびS95でYESの場合、すなわち、ΔXP ・C>αX、ΔYP ・C>αYの場合には、タッチ位置が連続的に移動していることが明らかであり、タッチ圧が低下していくことが予想されるので、タッチ判定用しきい値を低くする。この操作がステップS97であり、しきい値γVT・Pを、γVT・(P−1)×A(係数)に置き換える。すなわち、しきい値γVT・Pを、(11)式により設定する(ステップS97)。
γVT・P=γVT・(P−1)×A (11)式
一方、ΔXP ・C、ΔYP ・Cのうちのいずれかが、ΔXP ・C≦αX、ΔYP ・C≦αYの場合には、タッチ位置が移動していないと判断し、しきい値γVT・Pはそのままの値γVT・(P−1)とする(ステップS98)。
【0094】
なお、上記の係数Aについては、0.5〜0.9の範囲が望ましく、0.6〜0.7の範囲がさらに望ましい。
【0095】
次に、ステップS96までに求めた最新のタッチ位置データXP ・C、YP ・Cを、記憶手段に格納し(ステップS99)、その後ステップS100において、前回までのタッチ位置XAV ・( p −n)〜XAV ・( p −1)、YAV ・( p −n)〜YAV ・( p −1)および最新のタッチ位置データXP ・C、YP ・Cを用いて、下記の(12)式および(13)式により、今回のタッチ位置座標(XAV ・ p、YAV ・ p)を計算する。なお、このステップS100で求められるのが、第2のタッチ位置判定手段によって決定されるタッチ位置判定値であり、いったん記憶手段に格納する(ステップS101)。
【0096】
【数9】
【0097】
図12は、ステップS93〜S100の間における第2のタッチ位置判定手段による第2のタッチ位置判定値XAV ・ pの計算方法例を説明するための図である。図12に示した方法は、X軸に関する第2のタッチ位置判定値XAV ・ pを決定するのに、前回までのn個のXP値を基に移動平均を行う方法である。計算式は上記(12)式であり、図中にも示した。
【0098】
図12(a)に示されているように、読み取り回数Pに対応する座標名XPには、座標値として、Pが7、9、12の場合には、XAV ・7、XAV ・9、XAV ・12が格納されている。これは、上記のステップS93〜S96で説明したように、XP ・Cが所定の値αXを超えなかったからである。このような値を含むそれぞれの座標XPにおける座標値XP ・C値を用いて、図12(b)に示したような方法で移動平均値を求めて、第2のタッチ位置判定値XAV ・Pとする。Y軸に関する第2のタッチ位置判定方法も同様である。
【0099】
移動平均値を求めるための母数nについては、タッチパネル装置の特性、使用環境、時間に関する追随性等を考慮して決定するのがよい。通常、母数nは、5〜15程度の範囲が望ましく、8程度がもっとも実用的である。
【0100】
上記のようなステップを経て、第2のタッチ位置判定手段による判定結果が求められる。なお、RAMなどの記憶手段には、上記のXP・C、YP・C(最新のタッチ位置データ)および第2のタッチ位置判定値XAV ・P、YAV ・Pの両者を格納するのがよい。ただし、記憶手段には、少なくとも第2のタッチ位置判定値XAV ・P、YAV ・Pを格納する(ステップS101)。
【0101】
図10は、説明を後回しにした図9におけるF〜Gの間の動作を示すフローチャートである。F〜G間は、タッチ状態が連続的ではあるが初期の段階であり、移動平均値を求めるためのタッチ位置データの母数が、所定の数nに満たない場合である。図10に示した方法は、タッチ位置データの数Pがnに達するまでの間は、それまでに検出したXP・C、YP・Cを加重平均し、今回のタッチ位置データとする方法である。加重平均における加重のかけ方は、図10に示した(14)式、(15)式のように、今回のタッチ位置データに時間的に近いデータほど加重が大きくなるようにするのがよい。
【0102】
なお、加重のかけ方は、(14)、(15)式以外の方法でも差し支えない。ただし、今回のデータに近いほど、加重を大きくするのが望ましい。
【0103】
現実的には、タッチ信号の検出回数、すなわちタッチ位置データが、前述のステップS102〜S105における計算に必要な母数nに達するまでの時間は極めて短い。したがって、この間のタッチ位置データを無視したとしても、タッチ信号の検出条件によっては、視覚的にはほとんど見分けられない程度の場合がある。
【0104】
このために、上述のように、加重平均を取らずに、単にそれまでのデータの平均値を用いるようにすることもできる。さらに、タッチ信号の検出条件によっては、必要なn数に達した後に、前述のステップS92以降に進むように設定することも可能である。
【0105】
また、図9に示したフローチャートの場合には、連続するタッチ信号として、初回のタッチ信号から採用することになる。タッチ位置判定の精度を向上させる必要がある場合には、始めのいくつかのデータ、例えば2〜3個をステップS92以降の計算から除外するようにしてもよい。
【0106】
図8に戻り、ステップS88が終わった段階で、タッチ位置計算に用いられた信号がタッチ信号であること(VT>γVT・P)を再確認する(ステップS89)。タッチ信号であれば、タッチ状態が非連続的な場合にはタッチ位置の座標(RLX/ROX、RLY/ROY)、すなわち(XP・C、YP・C)を出力し、タッチ状態が連続的な場合にはタッチ位置の座標(XAV ・P、YAV ・P)を出力する(ステップS90−1)。タッチ信号ではない(VT≦γVT)場合には、タッチ位置計算が正しく行われていないことになるので、今回求められたタッチ位置座標を破棄する(ステップS90−2)。その後、ステップS80に戻り、待機状態(タッチ判定用信号VTがしきい値γVT・0を超えるのを待つ)となり、タッチ信号の検知に備える。
【0107】
なお、ステップS87でタッチ状態が非連続と判断された場合には、しきい値に変更がないため、γVT・PにはγVT・0をそのまま用いる(ステップS88−2)。
【0108】
また、上記の説明では、タッチ状態が非連続の場合には第1のタッチ位置判定結果を出力し、タッチ位置が移動することを想定した、タッチ状態が連続の場合には第2のタッチ位置判定を行い、前回までのタッチ位置判定値を利用して平均値を求め、その結果を出力する方法を説明した。しかし、タッチパネルが実用される際には、タッチ位置が移動しない場合でも、ある程度の時間同じ位置におけるタッチ信号が検出されるようなタッチのされ方がある。そのような場合には、タッチ位置が移動しない場合でも、タッチ状態が連続的であるとしてタッチ信号を処理することにより、タッチ位置の判定精度を向上させることが可能である。本発明に係る装置も、そのような設定にすることができる。
【0109】
図11は、図5におけるステップS50に示した、データ設定の初期化に関する手順を説明するためのフローチャートである。自己補正値の計算やタッチ位置の計算・出力に先立って、タッチパネル装置の調整を行っておく必要がある。ただし、この調整は、各タッチパネル装置について、一度だけ行なっておけばよい。
【0110】
先ず、初期化(ステップS111)を行った後、スイッチA、Bをオン(ステップS112)、スイッチCをオフ(ステップS113)に設定し、全波整流回路19および20のオフセットを0に調整する(ステップS114)。次に、スイッチCをオン(ステップS115)、スイッチAをオン、スイッチBをオフにして(ステップS116)、全波整流回路19の増幅率G1を調整し(ステップS117)、スイッチAをオフ、スイッチBをオンにして(ステップS118)、全波整流回路20の増幅率G2を調整し(ステップS119)、全波整流回路19、20の出力V1、V2が等しくなるようにする。最後にスイッチBをオフにする(ステップS120)。もちろん、増幅率の調整は、差動増幅回路15、16で行ってもよい。
【0111】
上述の本発明の好ましい実施の形態に係るタッチパネル装置においては、上記のような動作が行われるので、導電膜の抵抗値の経時的な変化、使用環境、装置固有の浮遊容量に起因するオフセット電圧等、タッチ位置検出に及ぼす外的要因の影響が補正されたタッチ位置が検出される。したがって、十分な検出精度を持っているが、次に述べる補正表に基づく補正または演算補正式に基づく補正を行うことにより、タッチ位置の検出精度をさらに向上させることができる。
【0112】
図13に、タッチパネル面におけるタッチ位置検出座標(X、Y)に対応する補正表を示す。補正表に示されているX0、X1、X2、……、Xn、Y0、Yl、Y2、……、Ynは、前述のタッチ位置の計算で求められたX軸、Y軸に対応する値RLX/ROX、RLY/ROYであり、この値に対する実際のタッチパネル上での位置座標を標準のタッチパネルで実測することにより、補正表は作成される。この補正表の情報をタッチパネル装置内の記憶手段(RAM)に格納しておく。そして、人の指等がタッチパネルにタッチされた際に、前述のタッチ位置の計算により、X=RLX/ROX及びY=RLY/ROY、またはX=XP・C及びYP・Cが求められると、そのX、Yに対応したタッチ座標(X、Y)を補正表から読み取り、タッチ位置座標として出力する。
【0113】
タッチパネル装置が大型で、タッチパネルの面積が大きい場合には、タッチ位置座標の数が多くなり、タッチパネル装置内の記憶手段の記憶容量を大きくする必要が生じる。そのような場合には、補正表のX軸、Y軸方向の分割間隔を大きくして座標数を減らし、記憶する容量を小さくしてもよい。その場合には、補正表にはないX、Y(Xn−lとXnとの間、Yn−lとYnとの間)については、補間法等によりXとYの値を計算するようにしてもよい。
【0114】
また、上記の補正表によらずに、標準のタッチパネルにおける実測による座標と、前述のタッチ位置の計算方法で求められたX=RLX/ROX及びY=RLY/ROYの値またはX=XP・C及びYP・Cとの関係から、演算補正手段である演算補正式(近似式)を求め、この式を用いてマイコン等で補正処理を行い、タッチ位置座標として出力するようにしてもよい。
【0115】
なお、以上具体的な例として、X軸とY軸の2軸の場合について説明したが、本発明に係るタッチパネル装置は、タッチパネル形状として、細長い形や多角形や曲線で囲まれた形状を含んでいる。したがって、軸数が1の場合、3軸以上の場合がある。軸数が1の場合には、前述の本発明に係る実施の形態で説明したX軸およびY軸のうちの一方のみの動作が実行されるように設定すればよい。軸数が多い場合には、それぞれの軸について、前述のX軸方向、Y軸方向の場合と同様な動作が実行されるように、装置を構成すればよい。
【0116】
以上、本発明に係る好ましい実施の形態について、請求項2に記載した発明について詳細に説明した。請求項1に記載した本発明は、タッチパネル装置に連続的にタッチされる場合のタッチ検出精度を向上させることができる発明であり、その場合には、タッチが連続的か否か、タッチ信号であるか否かを正確に判断できればよい。したがって、図5に示したステップS50〜S52、図6に示したステップS61、S62および図7に示したステップS71、72の後、(3)式により、タッチ位置を計算し、次に、図8に示したステップS80、S81、S87〜S90−2、図9に示したステップS91〜101により、タッチ位置を判定すればよい。
【0117】
また、本発明のタッチパネル装置は、上述のように、1枚のパネルで1軸以上の方向の電極間の抵抗値を検出する方式に対して適用可能である。したがって、複層式のタッチパネルであっても、そのうちの1枚で1軸以上の方向の検出を行うパネルを備えるタッチパネル装置においても、同様な効果を得ることができる。
【0118】
【発明の効果】
本発明に係るタッチパネル装着によれば、下記のような優れた効果が得られる。
(1)描画等の連続的なタッチが行われる場合にも、複数のデータを用いることにより、迅速かつ精度よくタッチ位置を検出することができるとともに、タッチ検出精度に対する装置の電源や周囲の装置から発生するノイズ等外的要因の影響を防止することができる。さらに、タッチ位置検出に及ぼす導電膜の抵抗値の経時的な変化の影響、使用環境の影響、装置固有の浮遊容量に起因するオフセット電圧の影響等、外的要因の影響が補正されたタッチ位置が検出されるので、タッチ位置の検出精度が極めて高い。したがって、信頼性の高いタッチパネル装置が得られる。また、従来の装置に比べて、特殊な機構等を必要としないので、タッチパネル装置が安価である。
(2)本発明に係るタッチパネル装置では、装置内で実行される自己補正値の計算を、装置が使用されていない空き時間帯、または装置の起動時等、随時行うことができる。したがって、常に自己補正値の更新が可能であり、最良の値が保持されるので、タッチ位置の検出精度を常に最良の状態に置いておくことができる。また、タッチ信号が入力された場合にも、遅滞なく、タッチ位置を計算し、出力することができる。
(3)本発明に係るタッチパネル装置は、タッチ位置の座標に関する計算値と実測値との関係から求められた補正表を備えることができ、タッチ位置の計算値に対して、この補正表による補正を加えることができる。
【図面の簡単な説明】
【図1】本発明に係るタッチパネル装置において、タッチパネル装置固有の浮遊容量に起因するオフセット電圧がタッチ位置の検出に及ぼす影響を説明するための回路図である。
【図2】本発明に係るタッチパネル装置における、導電膜の経時的な変化、使用環境による変化等の補正に関する原理を説明するための回路図である。
【図3】本発明の一実施の形態に係るタッチパネル装置の全体構成を示すブロック図である。
【図4】本発明に係るタッチパネル装置に用いられるタッチパネルの構成例を示す図である。
【図5】タッチパネル装置固有の浮遊容量に起因するオフセット電圧を取得する過程を示すフローチャートである。
【図6】X軸方向に関するオフセット電圧の補正を含めた自己補正値の計算と計算結果の保存の過程を示すフローチャートである。
【図7】Y軸方向に関するオフセット電圧の補正を含めた自己補正値の計算と計算結果の保存の過程を示すフローチャートである。
【図8】タッチ信号を検出した際に、タッチ位置を計算し、出力する過程を示すフローチャートである。
【図9】図8に示したフローチャートの内のD−E部の動作を詳細に示すフローチャートである。
【図10】図9に示したフローチャートの内のF−G部の動作を示すフローチャートである。
【図11】タッチパネル装置におけるデータ設定の初期化に関する手順を示すフローチャートである。
【図12】ステップS95〜S98およびステップS99の第2のタッチ位置判定手段による今回のタッチ位置の計算方法を示す図である。
【図13】本発明に係るタッチパネル装置に適用することができる、補正表によるタッチ位置計算値の補正に用いられる(X、Y)タッチ位置検出座標補正表である。
【図14】従来のタッチパネル装置に採用されている回路図であり、タッチ位置の検出原理を説明するための図である。
【符号の説明】
RK、RK 電圧計測用抵抗器
RO 導電膜の抵抗値
RZ 抵抗器
S スイッチ
e 交流電源
1 タッチパネル
2 基板
3 導電膜
4a、4b、4c、4d 電極
5a、5b、5c、5d 外部接続用リード部[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a touch panel device having a touch panel provided with a conductive film on a surface of a substrate, for selecting an item on the surface of a display (CRT, liquid crystal panel, etc.) excellent in touch position detection accuracy on the touch panel surface, particularly for drawing. The present invention also relates to a touch panel device suitable for handwriting input.
[0002]
[Prior art]
The touch panel input device has advantages such as that an inputable area is arbitrary, a screen display can be freely designed, and handwriting input is possible. The touch panel used in this apparatus is composed of a substrate such as glass or film and a conductive film provided on the surface thereof. Then, when a human finger, a touch pen, or the like touches the surface of the touch panel, an electric circuit is configured so that a current flows through the conductive film and the touched position can be determined based on the detected current value. . The detection principle of the touch position is as follows.
[0003]
FIG. 14 is a circuit diagram employed in a conventional touch panel device, and is a diagram for explaining the principle of detecting a touch position. In the following description, it is assumed that the shape of the touch panel is a quadrangle, and the touch position is displayed with an X coordinate and a Y coordinate. In FIG. 14, Ro means an electric resistance value (hereinafter simply referred to as a resistance value) in the X-axis direction or the Y-axis direction of the conductive film provided in the touch panel. Electrodes having a resistance value lower than that of the conductive film are provided at both ends of the conductive film in the X-axis and Y-axis directions. RK, RKIsVoltageIt is a measurement resistor, and one end of each resistor is connected to the electrode. on the other hand,VoltageThe other ends of the measuring resistors are all connected to an AC power source e, and the other end of the AC power source e is grounded. Z represents an impedance such as a finger or a conductive pen that is touched at an arbitrary position on the conductive film, and the other end thereof is grounded.
[0004]
Here, the resistance value of the conductive film between the touch position and one electrode in the X-axis or Y-axis direction is RL, The resistance value of the conductive film between the other electrode is RHThe total resistance of the conductive film is Ro as described above. In addition, it is connected to the electrodes on both sidesVoltageThe resistance value of the measuring resistor is the same resistance value R.KAnd the voltage across the resistor when the finger is touched on the touch panel1, V2And
[0005]
In the case of the circuit configuration shown in FIG. 14 and the above conditions, the following equation (1) is derived based on Ohm's law.
[0006]
[Expression 1]
[0007]
In the equation (1), the voltage VlAnd V2Is a value obtained by measurement, and R in the equation (1)O/ RKIs V in equation (2)01And V02Is a value obtained by measuring.
[0008]
Therefore, the voltage VlAnd V2By measuring RL/ ROThat is, the width between the electrodes (ROThe distance from one electrode to theL), In other words, the position in the width direction can be obtained. By performing the same measurement on both the X axis and the Y axis, the touch position (coordinates) in the XY coordinates can be obtained.
[0009]
Such a conventional touch panel device is disclosed in, for example, JP-T-56-500230 (“Touch panel system and method”), Japanese Patent Laid-Open No. 63-108423 (“finger touch coordinate output device”), and the like. Has been.
[0010]
While the touch panel device has the advantages as described above, it has a drawback that the detection accuracy of the touch position is lowered due to the influence of changes in the characteristics (resistance value) of the conductive film over time, changes in the use environment, and the like. As a countermeasure for solving such a problem, for example, Japanese Patent Laid-Open No. 5-80922 discloses a method of automatically performing calibration. In this method, a measure for automatically correcting the position in accordance with the number of times of pressing is taken by storing the accumulated value of the number of times the touch panel is pressed. It is considered that a certain amount of position correction is possible by this method. However, since the resistance value itself of the conductive film in a state that changes with the number of times of use or the like is not obtained, indirect position correction is performed. In addition, there is a drawback in that changes in the usage environment cannot be reflected in the position correction.
[0011]
In addition, the touch panel includes a conductive material with a low resistance value provided on the outer periphery of the conductive film due to poor detection accuracy of the touch position due to the non-uniformity of the resistance value of the conductive film in the touch panel surface that occurs during manufacturing. There is also a problem such as a poor touch position detection accuracy due to the resistance of the electrode configured by.
[0012]
The error resulting from the resistance of the latter electrode is due to the following reason. That is, R at both ends of the X-axis or Y-axisL/ ROValue is a corner-0 or 1 in the part, corner-In the side portions other than the portion, the value is shifted from 0 or 1. This is because a voltage drop proportional to the resistance of the electrode from the corner portion to the side portion occurs in the side portions other than the corner portion. Therefore, the detection accuracy is extremely low in the above formula (1). Further, for touch position detection of the touch panel, there is a decrease in detection accuracy due to noise radiated from the power source of the touch panel device and peripheral devices. As a method for correcting the variation in data due to such noise and device-specific error, Japanese Patent Laid-Open No. 10-333835 detects a plurality of touch data, excluding the maximum value and the minimum value, A method for obtaining an average value of the remaining data is disclosed. In this case, it is considered possible to some extent to correct errors due to noise generated during measurement.
[0013]
[Problems to be solved by the invention]
When the touch position moves continuously as in the case where drawing or handwriting input is performed on the touch panel, the touch pressure tends to decrease with the movement in a series of movements. For example, when a finger moves on the touch panel, the touch pressure decreases as the finger moves and the contact area with the touch panel decreases. When the touch pressure decreases in this way, the touch voltage decreases, so that it may not be recognized as a touch depending on whether or not the touch signal is determined. Therefore, it has been found that when the touch position moves continuously, the detection accuracy of the touch position tends to be lowered.
[0014]
In addition, as described above, in order to prevent the influence of noise, there is a method for obtaining an average value as disclosed in the above-mentioned Japanese Patent Laid-Open No. 10-333835. However, when applying a method for obtaining an average value for detection of a touch position that moves continuously, if the data parameter for obtaining the average value is increased, it is difficult to follow the detection of the touch position in time, On the other hand, it was confirmed that the effect of obtaining the average value cannot be obtained if the number of parameters is small.
[0015]
Further, as a result of examining the factors affecting the detection accuracy of the touch panel device, the present inventors have found that, in addition to the above problems, the floating capacitance of each touch panel device, that is, the conductive film, electrode, lead line, etc. of the touch panel device And the stray capacitance generated between the ground (ground) or the housing incorporating the touch panel device has a problem that the detection accuracy of the touch position is lowered.
[0016]
FIG. 1 shows the stray capacitance (C) generated between the conductive film, electrodes, routing wiring, etc. on the surface of the touch panel device and the ground (ground) or the housing incorporating the touch panel device, which has been confirmed by the present inventors.1And C2), Even when a finger or touch pen is not touching the conductive film,VoltageMeasuring resistor RK, RKIt is a circuit diagram for demonstrating that a voltage (offset voltage) generate | occur | produces at both ends.
[0017]
For touch position detection in the touch panel device, when a finger or a touch pen is not touched on the conductive film,VoltageMeasuring resistor RK, RKIt is a precondition that no voltage is generated at both ends of the, and the voltage is generated only when touched. Therefore, the presence of the offset voltage as described above is a direct factor that causes a decrease in detection accuracy.
[0018]
As shown in FIG. 1A, the above stray capacitance is C in the basic circuit of the touch panel device.1And C2Can be expressed as This C1And C2Due to the presence ofVoltageMeasuring resistor RK, RKAt both ends of the offset voltage (Vf1, Vf2) Will occur. When a finger or touch pen is touched on the conductive film,VoltageMeasuring resistor RK, RKThis offset voltage is included in the voltage across the two. Therefore, it can be said that the touch position cannot be accurately detected unless the influence of the offset voltage can be removed.
[0019]
Considering the above examination results, the detection accuracy of the touch position is reduced due to the change in the conductive film over time, the change in the usage environment, and the like, and the detection accuracy of the touch position is reduced due to the floating capacitance inherent in the touch panel device. It was confirmed that the touch position detection accuracy of the touch panel device could not be improved unless both of these problems were solved simultaneously.
[0020]
The present invention is a touch panel device that can solve the above-described problems, that is, touch detection caused by fluctuations in touch pressure when the touch position continuously moves, noise generated from the power source of the touch panel device and peripheral devices, and the touch position. An object of the present invention is to provide a touch panel device that can solve the problem of reduced accuracy and that is inexpensive to manufacture. Furthermore, in addition to solving the above-described problems, the present invention reduces the detection accuracy of the touch position due to changes in the characteristics of the conductive film provided on the touch panel over time, changes in the usage environment of the touch panel apparatus, and the touch panel apparatus. It is an object of the present invention to provide a touch panel device that can solve all problems such as a decrease in touch position detection accuracy due to inherent stray capacitance, has excellent touch position detection accuracy, and is inexpensive to manufacture.
[0021]
[Means for Solving the Problems]
A touch panel device according to the present invention (the device according to claim 1) includes a touch panel including a conductive film on a surface of a substrate, a first electrode and a second electrode disposed on an outer peripheral portion of the touch panel, and the first AC current generating means for supplying an AC current to the first electrode and the second electrode, between the first electrode and the AC current generating means, and between the second electrode and the AC current generating means Each arranged, on the first electrode sideVoltageAnd on the second electrode sideVoltageMeasureVoltageMeasuring means, and the measured first electrode sideVoltageAnd on the second electrode sideVoltageIn the touch panel device that calculates the touch position fromVoltageTouch signal determination means for determining whether the signal is a touch signal based on a comparison between a touch determination signal detected by the measurement means and a preset threshold value for touch determination; and the touch signal determination means When the touch signal is determined by the touch signal, the touch state determination unit that determines whether or not the touched state on the touch panel is continuous based on the touch signal, and the touched state by the touch state determination unit continues. If it is determined that the touch position has moved, the touch position movement determining means for determining whether or not the touch position has moved relative to the previous touch position, and the touch position is continuously moved by the touch position movement determining means. If it is determined that the threshold value for touch determination is low, threshold setting means for setting the threshold value for touch determination low and the result of determination by the touch position movement determination means Touch position data setting means for setting the touch position data, and touch position determination means for determining the current touch position based on the latest touch position data and the previous touch position determination result, To do.
[0022]
When the touch state is continuous, the touch panel device according to the present invention described above (the device according to claim 1) determines the movement amount based on the current touch position detection value and the previous touch position determination value. The touch threshold value is determined according to the amount of movement, and means for determining the current touch position using the previous touch position determination result is provided. Therefore, even when it is difficult to determine whether or not the touch pressure is changed while the touch is continuously touched, it is possible to accurately determine the touch position. At the same time, the touch position movement determination means accurately discriminates between the touch signal and the noise and eliminates the noise from the touch position determination, so that the influence of the noise on the touch position determination can be reduced. . Furthermore, since the touch position determination results up to the previous time are already averaged values with high accuracy, it is possible to reduce the parameter of the data necessary to obtain the average value. It takes a short time to find Therefore, even when drawing or the like is performed on the touch panel, it is possible to determine the touch position with high accuracy and good tracking.
[0023]
Another touch panel device according to the present invention (the device according to claim 2) includes a touch panel including a conductive film on a surface of a substrate, and a first electrode and a second electrode disposed on an outer peripheral portion of the touch panel. Two electrodes, alternating current generating means for supplying an alternating current to the first electrode and the second electrode, between the first electrode and the alternating current generating means, and between the second electrode and the Between the AC current generating means and the first electrode sideVoltageOr on the second electrode sideVoltageMeasureVoltageMeasuring means, and the measured first electrode sideVoltageAnd on the second electrode sideVoltageIn the touch panel device that calculates the touch position fromVoltageTouch signal determination means for determining whether the signal is a touch signal based on a comparison between a touch determination signal detected by the measurement means and a preset threshold value for touch determination; and the first electrode And a resistor through a switch between at least one of the second electrodes and one end of the AC generating means, and an offset voltage for each of the first electrode side and the second electrode side. VfV to determinefValue determining means, and the switch-on for each of the first electrode side and the second electrode sideVoltageVoltage V across the measuring means0V to determine0Value determination means and the voltage VfAnd V0A self-correction value determining means for obtaining a self-correction value for the touch position detection value based on the value; andVoltageVoltage V across the measuring meanstV to determinetValue determination means, self-correction value and VtA first touch position determination unit that determines a touch position on a touch panel based on a value, and a state in which the touch panel is touched based on the touch signal when the touch signal determination unit determines that the touch signal is a touch signal. Touch state determination means for determining whether or not the touch position is continuous, and if the touched state is determined to be continuous, whether or not the touch position has moved relative to the previous touch position Touch position movement determination means for determining the touch position threshold value setting means for setting the touch determination threshold value low when the touch position movement determination means determines that the touch position is continuously moving And touch position data setting means for setting the latest touch position data according to the determination result by the touch position movement determination means, and the latest touch position data Based on the touch position determination result up over data and the previous, characterized in that it comprises a second touch position determining means for determining the current touch position.
[0024]
In the touch panel device described above, the number of electrodes arranged on the outer peripheral portion is 3 or more, and two or more axes connecting the electrodes are coordinate axes, and the first touch position is determined for each coordinate axis direction. It is desirable to have the touch position determining means and the second touch position determining means.
[0025]
Further, for the two electrodes corresponding to the coordinate axes,VoltageIt is desirable to provide switching means for switching the connection of the measuring means.
[0026]
The touch panel device preferably has a function of executing self-correction value determination whenever the touch panel device is turned on or when there is no touch signal on the touch panel.
[0027]
Further, in the above touch panel device, the touch panel device is created in advance based on the relationship between the touch position coordinates obtained by the first touch position determination means or the second touch position determination means and the coordinates actually measured by a standard touch panel. The touch position coordinates calculated by the first touch position determination means or the second touch position determination means and the corresponding coordinates in the correction table are collated based on the touch signal. It is desirable to provide a function for correcting the touch position coordinates according to the correction table.
[0028]
The relationship between the touch position coordinates obtained by the first touch position determination means or the second touch position determination means and the coordinates actually measured on a standard touch panel, instead of the device that performs the correction based on the correction table. Based on the above, a correction calculation means obtained in advance is provided, and the touch position coordinates obtained by the first touch position determination means or the second touch position determination means are corrected using the correction calculation means. It is good also as an apparatus provided with the function to perform.
[0029]
In the touch panel device according to the present invention, it is desirable that the touch panel is a quadrilateral or more polygonal shape and the coordinate axes are two or more axes.
[0030]
As described above, in another touch panel device according to the present invention, in addition to the conventional device configuration described above, between one end of at least one of the first electrode and the second electrode and the alternating current generating means. In addition, a resistor via a switch is provided, and when this switch is on, the Vo value judging meansVoltageThe voltage Vo at both ends of the measuring means can be determined. Therefore, the resistance value of the conductive film can be corrected by detecting the change over time of the resistance value of the conductive film of the touch panel or the change caused by the use environment. In addition, VfBy the value determination means, the voltage V caused by the stray capacitance inherent in the touch panel device is provided for each of the first electrode side and the second electrode side.fCan be detected.
[0031]
Therefore, another touch panel device according to the present invention can perform self-correction of the touch position based on the change in the resistance value of the conductive film over time and the offset voltage caused by the stray capacitance of the device itself. It is configured. The calculation of the self-correction value is executed at any time such as when a power supply to the apparatus is turned on and a specific time period. Furthermore, the touch panel device according to the first aspect of the present invention (the device according to claim 1) has the above-described characteristics, so that the touch position moves continuously as compared with the conventional touch panel device. Even in this case, the detection accuracy of the touch position is extremely excellent. The reason why the detection accuracy of the touch position is improved by the self-correction according to the present invention will be described later.
[0032]
Moreover, the shape of the touch panel used for the apparatus according to the present invention includes a circle, an ellipse, a polygon, and the like, and is not particularly limited. When the shape of the touch panel is a triangle, the electrodes corresponding to the first electrode and the second electrode mean electrodes provided on adjacent sides. In the case of other polygons, the first electrode and the second electrode do not necessarily need to be electrodes provided on opposite sides. However, it is desirable to select the opposite sides.
[0033]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, based on the invention described in
[0034]
FIG. 2 is a circuit diagram for explaining the principle relating to the correction of the change over time of the resistance value of the conductive film and the change due to the use environment in the touch panel device according to the present invention. Here, the offset voltage due to the stray capacitance is not considered. Conductive film (full width resistance RO) On both ends of the electrodeVoltageMeasuring resistor RK, RKOne end of theVoltageMeasuring resistor RK, RKThe other end of is connected to an AC power source e through a common connection point. The other end of the AC power source e is grounded. One end (electrode) of conductive film and connected to this electrodeVoltageMeasuring resistor RKIs connected to a resistor R via a switch S.ZIs connected and resistor RZThe other end of is grounded.
[0035]
In this circuit, when the touch panel is touched with a finger or the like, the switch S is off and the switch S is on.VoltageMeasuring resistor RK, RKSuppose that the voltage at both ends is measured. When the switch S is off, the state is the same as that shown in FIG. At this timeVoltageMeasuring resistor RK, RKV1, V2And In addition, as shown in FIG. 2, when the switch S is on with no finger touched on the touch panel,VoltageMeasuring resistor RK, RKVO1, VO2And According to Ohm's law, the above equation (1) is derived from the state of FIG. 14, and the following equation (2) is derived from the state of FIG.
[0036]
[Expression 2]
[0037]
Substituting this equation (2) into the above equation (1) yields equation (3).
[0038]
[Equation 3]
[0039]
In equation (3), VO1, VO2, V1, V2Are measured values, and by substituting these values into equation (3), RLAnd RORatio of RL/ ROCan be requested. That is, the ratio of the touch position (distance from one electrode) to the entire width of the conductive film (interval between electrodes) at the time of touch is obtained. By performing this operation on the X axis and the Y axis, the coordinates of the touch position can be obtained.
[0040]
in this way,VoltageMeasuring resistor RKIs connected to a resistor R via a switch S.ZBy providing, it is possible to detect the touch position with almost the same accuracy as when the true resistance value of the conductive film at the time of touch is detected. According to this method and apparatus, it is possible to correct changes with time in the resistance value of the conductive film and changes due to the use environment (temperature, humidity, etc.). Here, R represented by the above formula (2)K/ ROCorresponds to this correction value (self-correction value).
[0041]
FIG. 1B is a circuit diagram for explaining the influence of the offset voltage caused by the stray capacitance inherent in the touch panel device on the touch position and the method of correcting the influence of the offset voltage in the touch panel device according to the present invention. Indicated.
[0042]
When the finger is not touched on the touch panel,VoltageMeasuring resistor RK, RKOffset voltage at both ends of Vf1, Vf2And When a finger is touched on the touch panel,VoltageMeasuring resistor RK, RKThe voltage generated at both ends of1', V2′ And the voltage resulting from touching the touch panel is V1, V2And V1', V2'Represents the voltage V resulting from the touch on the conductive film.1, V2And offset voltage Vf1, Vf2Is included, so V1', V2'Is the following equation (7), V1, V2Is expressed as the following equation (8).
[0043]
[Expression 7]
[0044]
[Equation 8]
[0045]
Therefore, when the offset voltage is taken into consideration, the above expression (3) becomes the following expression (4), that is, the following expression (5).
[0046]
[Expression 4]
[0047]
[Equation 5]
[0048]
Similarly, the above equation (2) is expressed as equation (6). In the present invention, R determined by the equation (6)K/ ROIs called a self-correction value.
[0049]
[Formula 6]
[0050]
By using these formulas (5) and (6), it is possible to correct the influence of the offset voltage unique to the touch panel device on the touch position detection, and to prevent a decrease in touch position detection accuracy due to the offset voltage. can do.
[0051]
In the present invention, in order to solve the two important problems of the above-described decrease in the touch position detection accuracy due to the change over time and the like and the decrease in the touch position detection accuracy due to the offset voltage, from the above description, As will be clear, the following two measures will be taken.
[0052]
The first is to measure the offset voltage without touching the touch panel and reflect it in the calculation of the touch position or self-correction (calculation of the self-correction value) for the device, and the second is around the conductive film By providing a resistor between the electrode and the AC generating means and using the resistor, it is possible to correct a change with time of the conductive film.
[0053]
The touch panel device according to the present invention capable of realizing these two countermeasures will be specifically described below.
[0054]
FIG. 3 is a block diagram showing the overall configuration of the touch panel device according to the embodiment of the present invention. 4 is a diagram illustrating a configuration example of a touch panel used in the touch panel device illustrated in FIG.
[0055]
The touch panel shown in FIG. 4 is an example of the most commonly used shape, in which the panel has a quadrangular shape, that is, two coordinate axes, X and Y.
[0056]
The
[0057]
Here, in the example of the touch panel shown in FIG. 4, “the opposite sides of the touch panel surface” means the left side and the right side in the X axis direction, and the upper side and the lower side in the Y axis direction. Means the side of the side. Similarly, in the case of a polygon exceeding a quadrangle, the relationship between the sides facing each other is also expressed.
[0058]
The resistance value of the conductive film is preferably several hundred Ω to several kΩ / square. The
[0059]
In addition, although the case where the electrically conductive film 3 is mainly touched with a human finger is assumed here, it cannot be overemphasized that a touch pen with conductive lead wires other than a human finger may be used. In this case, the lead wire is preferably connected to the ground, but may be connected to the ground (GND) on the circuit.
[0060]
External connection leads 5a, 5b, 5c and 5d are connected to the
[0061]
As shown in FIG. 3, the touch panel device according to the embodiment of the present invention includes a
[0062]
In this apparatus, the external connection leads 5a, 5b, 5c and 5d of the
[0063]
Two output terminals of the
[0064]
Two resistors RKAre respectively input to
[0065]
With the touch panel device having such a configuration, the offset voltage due to stray capacitance: VfVoltage determining means, voltage used for self-correction of resistance value of conductive film for each coordinate axis: VoValue judging means, VfValue, VOSelf-correction value determination means based on the value, voltage when touching the touch panel: VtIt is possible to realize a value determination unit, a touch position determination unit based on these data, and the like.
[0066]
Next, operations performed in the touch panel device according to the present invention will be specifically described with reference to flowcharts. The overall flow is shown separately in FIGS. FIG. 5 shows the process of obtaining the offset voltage (VfFIG. 6 shows the process of calculating the self-correction value including the offset voltage correction in the X-axis direction and storing the calculation result in the storage means (V).oFIG. 7 shows the process of calculating the self-correction value including the correction of the offset voltage in the Y-axis direction and storing the calculation result in the storage means (V).oFIG. 8 shows a process of calculating and outputting a touch position (V) when a touch signal is detected.tFIG. 4 is a flowchart showing operations relating to a value determination unit, a first touch position determination unit, and the like.
[0067]
FIG. 9 is a diagram illustrating operations related to the DE section in the flowchart shown in FIG. 8, that is, operations related to the touch position movement determination unit and the second touch position determination unit when the touch state is continuous. 10 is a flowchart showing the operation in the FG portion in the flowchart shown in FIG. 9, that is, the operation when the continuously detected touch signals are less than the number of signals for calculating a steady average value. is there.
[0068]
Further, FIG. 11 is a flowchart showing in detail the initialization process of the data setting shown in FIG.
[0069]
FIG. 5 is a flowchart of a process of acquiring an offset voltage due to the stray capacitance unique to the device. First, the RAM inside the microcomputer is cleared and the data setting inside the microcomputer is initialized (step S50).
[0070]
Next, the offset voltage is measured. First, the measurement is switched to measurement in the X-axis direction by the XY switching circuit 12 (step S51). In this state, the touch determination signal VTIs determined (step S52) and is not a touch signal (VT: “L”), the switches A and B in the block diagram shown in FIG. 3 are turned off and the switch C is turned on (step S53). In addition, with nothing touched on the touch panel,VoltageMeasuring resistor RK, RKVoltage at both ends (offset voltage in the X-axis direction), Vf1X, Vf2XIs measured and acquired (step S54). Subsequently, the measurement is switched to measurement in the Y-axis direction (step S55), and it is determined whether or not it is a touch signal (step S56) in the same procedure as in the X-axis direction. Directional offset voltage Vf1Y, Vf2YIs measured and acquired (step S57).
[0071]
In step S52 and step S56, a touch signal (VT: "H") (steps S52 and S56 are repeated, respectively). By these measurements, data relating to the offset voltage necessary for correcting the device-specific stray capacitance is obtained, and the obtained offset voltage V is obtained.f1X, Vf2XAnd Vf1Y, Vf2YAre stored in storage means (RAM) in the
[0072]
Here, the touch determination signal VTIs a signal for identifying whether or not it is a touch signal. This signal isVoltageMeasuring resistor RK, RKBoth endsPower ofPressure V1, V2Is a signal that is input to the
[0073]
Next, according to the flowchart shown in FIG. 6, data necessary for correcting the aging of the conductive film in the X-axis direction is acquired, and self-correction values are calculated using these data and offset voltage data. The obtained self-correction value is stored in storage means (RAM) in the microcomputer.
[0074]
First, the measurement direction is switched to the X-axis direction (step S61). In this state, the touch determination signal VTIs determined (step S62) and is not a touch signal (VT: “L”), the switch A or B in the block diagram shown in FIG. 3 is turned on and the switch C is turned on (step S63). With no human finger touching the touch panel,VoltageMeasuring resistor Rk, RkVoltage V acrossO1X', VO2X′ (Voltage including the offset voltage) is measured and the offset voltage Vf1X, Vf2XR which does not include the offset voltage by subtractingk, RkVoltage V acrossO1X, VO2XIs obtained (step S64). Based on these obtained values, a self-correction value in the X-axis direction is calculated by equation (6) (step S65).
[0075]
At this stage, the switches A and B are turned off and the switch C is turned on (step S66), and the touch determination signal V is set.T(Step S67) and not a touch signal (VT: “L”), self-correction value R in the X-axis directionK/ ROXAre stored in a storage means (RAM) in the microcomputer. If the touch signal is determined in step S67, the self-correction value obtained this time is discarded, and the process returns to step S61 to repeat the same operation. Also, if it is determined in step S62 that it is a touch signal, the process returns to step S61.
[0076]
FIG. 7 shows the self-correction value obtained by obtaining data necessary for correction of the aging change of the conductive film in the Y-axis direction, calculating the self-correction value using these data and offset voltage data. It is a flowchart which shows the process which preserve | saves in microcomputer. In the case of FIG. 7, since there is only a difference that the measurement direction is the Y-axis direction as compared with the case where the self-correction value is obtained in the X-axis direction described above, detailed description is omitted.
[0077]
According to the process shown in FIGS. 5 to 7, the self-correction value R in the X-axis directionK/ ROX, Self-correction value R in the Y-axis directionK/ ROYIs required. These self-correction values include touch position detection due to external factors other than the touch position, such as offset voltage due to the stray capacitance inherent to the touch panel device, changes over time in the resistance value of the conductive film, and changes in the usage environment. Includes corrections for factors that reduce accuracy. Therefore, when a touch signal is detected, the touch position may be calculated using the self-correction value obtained in the above process as the self-correction value in equation (5) and stored in the microcomputer. .
[0078]
The offset voltage V obtained in accordance with the process shown in FIGS.f1X, Vf2XAnd Vf1Y, Vf2YIn addition, the voltage V including the influence of the aging of the conductive film and the offset voltageO1X', VO2X'Can be measured in an arbitrary time zone when the touch panel device is not used. Accordingly, the self-correction value can be obtained at any time. For example, these measurements may be performed at regular intervals using idle time, self-correction values may be calculated, and the latest values may be stored in the storage means at all times. Correction values may be calculated and stored in the storage means, or these may be used in combination. Control for updating the self-correction value may use a microcomputer or the like.
[0079]
FIG. 8 is a flowchart illustrating a process of calculating and outputting a touch position when a touch signal is detected. In step S76, since the switches A and B are set to OFF and the switch C is set to ON, the touch signal can be detected.
[0080]
In a state where the measurement direction of the touch position is switched to the X axis (step S80), the touch determination signal VTWait for input. Touch determination signal VTIs detected, it is determined by the touch signal determination means whether or not it is a touch signal (step S81).
[0081]
Here, in the following description, the threshold value for determining whether or not it is a touch signal is manipulated and changed.VTAnd the base threshold value is γVT ・ 0And V mentioned aboveT: "H" is VT> ΓVT ・ 0Means VT: "L" is VT≦ γVT ・ 0Means.
[0082]
Touch signal (VT> ΓVT ・ 0)If,VoltageMeasuring resistor RK, RKVoltage at both ends, V1X', V2X′ Is obtained and V is obtained from the equation (8).1X, V2XIs calculated (step S82). These data and the self-correction value R in the X-axis direction stored in the microcomputer, etc.KX/ ROXBased on the above, the touch position R in the X-axis direction is calculated by the equation (5).LX/ ROXIs calculated (step S83).
[0083]
Next, the measurement direction is switched to the Y-axis direction (step S84), and the touch position R in the Y-axis direction is expressed by equation (5) through the same procedure as in the case of the X-axis.LY/ ROYIs calculated (steps S85 and S86). The coordinates of the touch position (RLX/ ROX, RLY/ ROY) Is required. What is obtained at this stage is the first touch position determination value determined by the first touch position determination means.
[0084]
Next, it is determined whether or not the touch state is continuous (step S87). Whether or not the touch state is continuous is determined by the previous touch signal VTIf a predetermined time interval, for example, a time of about 10 μsec, is detected from the detection of this time to the current detection, it is determined as non-continuous, and if it is less than that time, it is determined as continuous. In addition, it may be determined that a clock is generated at a constant time interval and is continuous if a touch signal is detected according to the clock, and discontinuous if not detected.
[0085]
If it is determined that the touch state is discontinuous, the process proceeds to step S88-1, and the touch position determination value R by the first touch position determination means is determined.LX/ ROX(= XPC), RLY/ ROY(= YPC) Is temporarily stored in the storage device. Next, if the touch state is discontinuous, there is no need to change the threshold value.VT ・ PΓVT ・ 0(Step S88-2).
[0086]
Thereafter, in step S89, it is reconfirmed whether it is a touch signal, and if it is a touch signal, a touch position determination value is output (step S90-1). The determination value is discarded (step S90-2).
[0087]
If it is determined in step S87 that the touch state is continuous, the process proceeds to D shown in FIG. 8, and the second touch position determination is performed for the case where the touch signal is continuous. An important feature related to the present invention is between D and E. In the present invention, through this step, the influence of fluctuations such as a decrease in touch pressure as in the case of drawing on the touch panel affects the detection accuracy. The detection accuracy is improved by suppressing the influence of noise and the like.
[0088]
FIG. 9 is a flowchart showing a detailed operation for performing the second touch position determination between D and E shown in FIG. First, it is determined whether or not the number of consecutive touch signal detections P up to the previous time has reached a parameter n necessary for calculating an average value when determining a determination value by the second touch position determination means. (Step S91), if it is less than n, the process proceeds to F described later, and if it is n or more, the process proceeds to Step S92. Here, the current touch position (latest touch position) is a value determined by the first touch position determination means, and XP ・ C, YP ・ CShall be displayed. XP ・ C, YP ・ CIs the coordinate name XP, YPThe coordinate value (calculated value) stored in.
[0089]
In step S92, X is the previous touch position determination value (second touch position determination value described later).AV ・ (p-1), YAV ・ (p-1)And X obtained by this calculationP ・ C, YP ・ CFrom (9) and (10), the movement amount ΔXP ・ C, ΔYP ・ CCalculate
ΔXP ・ C= XP ・ C-XAV ・ (p-1) (9) Formula
ΔYP ・ C= YP ・ C-YAV ・ (p-1) (10) Formula
Next, the movement amount ΔX about the X axisP ・ CIs a predetermined value αXIs determined (step S93), and if not, XP ・ CValue is the previous touch position determination value XAV ・ (p-1)(Step S94). In addition, movement amount ΔXP ・ CIs a predetermined value αXX if it exceedsP ・ CIs left as is. The same processing as that for the X axis is performed for the Y axis (steps S95 and S96).
[0090]
Where αXAnd αYMay be around 1% of the coordinate resolution. In this method, strictly speaking, the touch position coordinates change stepwise on the basis of αx and αy. However, if the coordinate is approximately 1% of the coordinate resolution, the movement amount ΔX with a practically sufficient accuracy.P ・ CIt can be determined whether or not should be adopted. The resolution of 1% corresponds to the ratio of the length on the panel surface. For example, when the screen width is 100 mm, it means 1 mm.
[0091]
As a result of the above determination, this X-axis touch position calculation value XP ・ CThe value of (the latest touch position data) is the movement amount ΔXP ・ CIs a predetermined value αXX if it exceedsP ・ C, ΔXP ・ CIs αXX if:AV ・ (p-1)It becomes. Y-axis touch position calculation value YP ・ CThe value of is the same.
[0092]
Thus, the touch position X is obtained by the operation up to step S96.P ・ CAnd YP ・ CIs determined and set as the latest touch position data.
[0093]
Here, the threshold value for touch determination is set. If YES in steps S93 and S95, that is, ΔXP ・ C> ΑX, ΔYP ・ C> ΑYIn this case, it is clear that the touch position is continuously moving, and the touch pressure is expected to decrease, so the touch determination threshold value is lowered. This operation is step S97, and the threshold value γVT ・ PΓVT ・ (P-1)Replace with xA (coefficient). That is, the threshold γVT ・ PIs set according to equation (11) (step S97).
γVT ・ P= ΓVT ・ (P-1)× A Formula (11)
On the other hand, ΔXP ・ C, ΔYP ・ CIs one of ΔXP ・ C≦ αX, ΔYP ・ C≦ αYIn the case of, it is determined that the touch position has not moved, and the threshold value γVT ・ PIs the value γVT ・ (P-1)(Step S98).
[0094]
In addition, about said coefficient A, the range of 0.5-0.9 is desirable, and the range of 0.6-0.7 is further more desirable.
[0095]
Next, the latest touch position data X obtained up to step S96.P ・ C, YP ・ CIs stored in the storage means (step S99), and then in step S100, the touch position X up to the previous time is stored.AV ・ ( p -N)~ XAV ・ ( p -1), YAV ・ ( p -N)~ YAV ・ ( p -1)And latest touch position data XP ・ C, YP ・ CUsing the following formulas (12) and (13), the current touch position coordinates (XAV ・ p, YAV ・ p). In addition, what is calculated | required by this step S100 is the touch position determination value determined by the 2nd touch position determination means, and once stores it in a memory | storage means (step S101).
[0096]
[Equation 9]
[0097]
FIG. 12 shows the second touch position determination value X by the second touch position determination means between steps S93 and S100.AV ・ pIt is a figure for demonstrating the example of a calculation method. The method shown in FIG. 12 uses the second touch position determination value X on the X axis.AV ・ pN number of Xs up to the previous timePThis is a method of performing moving average based on the value. The calculation formula is the above formula (12), which is also shown in the figure.
[0098]
As shown in FIG. 12A, the coordinate name X corresponding to the number of readings PPHas a coordinate value of X when P is 7, 9, 12AV ・ 7, XAV ・ 9, XAV ・ 12Is stored. This is because, as described in steps S93 to S96 above,P ・ CIs a predetermined value αXIt was because it did not exceed. Each coordinate X containing such a valuePCoordinate value XP ・ CUsing the value, the moving average value is obtained by the method as shown in FIG. 12B, and the second touch position determination value XAV ・ PAnd The same applies to the second touch position determination method for the Y axis.
[0099]
The parameter n for obtaining the moving average value is preferably determined in consideration of the characteristics of the touch panel device, the usage environment, the time followability, and the like. Usually, the parameter n is preferably in the range of about 5 to 15, and about 8 is the most practical.
[0100]
Through the above steps, the determination result by the second touch position determination means is obtained. Note that the storage means such as RAM has the above XPC, YPC(Latest touch position data) and second touch position determination value XAV ・ P, YAV ・ PIt is better to store both of them. However, the storage means stores at least the second touch position determination value X.AV ・ P, YAV ・ PIs stored (step S101).
[0101]
FIG. 10 is a flowchart showing the operation between F and G in FIG. Between F and G, the touch state is continuous but in the initial stage, and the parameter of the touch position data for obtaining the moving average value is less than the predetermined number n. In the method shown in FIG. 10, X detected until then until the number P of touch position data reaches n.PC, YPCIs a weighted average to obtain the current touch position data. As for the weighting method in the weighted average, it is preferable that the weight becomes larger as the data is temporally closer to the current touch position data as shown in the equations (14) and (15) shown in FIG.
[0102]
Note that the weighting method may be a method other than the equations (14) and (15). However, it is desirable to increase the weight as it is closer to the current data.
[0103]
Actually, the time until the number of touch signal detections, that is, the touch position data reaches the parameter n necessary for the calculation in the above-described steps S102 to S105 is extremely short. Therefore, even if the touch position data during this period is ignored, there are cases where the touch position data is hardly visually recognized depending on the detection condition of the touch signal.
[0104]
For this reason, as described above, it is possible to simply use the average value of the data so far without taking the weighted average. Further, depending on the detection condition of the touch signal, it is possible to set so as to proceed to the above-described step S92 after reaching the necessary n number.
[0105]
In the case of the flowchart shown in FIG. 9, the first touch signal is adopted as a continuous touch signal. When it is necessary to improve the accuracy of touch position determination, some initial data, for example, two to three, may be excluded from the calculation after step S92.
[0106]
Returning to FIG. 8, when step S88 is completed, the signal used for touch position calculation is a touch signal (VT> ΓVT ・ P) Is reconfirmed (step S89). If it is a touch signal, the coordinates of the touch position (RLX/ ROX, RLY/ ROY), Ie (XPC, YPC) Is output, and the touch position coordinates (XAV ・ P, YAV ・ P) Is output (step S90-1). Not a touch signal (VT≦ γVT), The touch position calculation is not performed correctly, so the touch position coordinates obtained this time are discarded (step S90-2). Thereafter, the process returns to step S80, and the standby state (the signal V for touch determination VTIs the threshold γVT ・ 0To prepare for touch signal detection.
[0107]
If it is determined in step S87 that the touch state is discontinuous, the threshold value is not changed, and thus γVT ・ PFor γVT ・ 0Is used as it is (step S88-2).
[0108]
In the above description, the first touch position determination result is output when the touch state is discontinuous, and the second touch position is assumed when the touch state is continuous, assuming that the touch position moves. The method of performing the determination, obtaining the average value using the touch position determination values up to the previous time, and outputting the result has been described. However, when a touch panel is put into practical use, there is a touch method in which a touch signal at the same position is detected for a certain period of time even when the touch position does not move. In such a case, even if the touch position does not move, it is possible to improve the touch position determination accuracy by processing the touch signal on the assumption that the touch state is continuous. The apparatus according to the present invention can also be set as such.
[0109]
FIG. 11 is a flowchart for explaining the procedure related to the initialization of data setting shown in step S50 in FIG. Prior to the calculation of self-correction values and the calculation / output of touch positions, it is necessary to adjust the touch panel device. However, this adjustment need only be performed once for each touch panel device.
[0110]
First, after initialization (step S111), the switches A and B are turned on (step S112), the switch C is turned off (step S113), and the offsets of the full-
[0111]
In the touch panel device according to the preferred embodiment of the present invention described above, since the above-described operation is performed, the offset voltage due to the change in the resistance value of the conductive film over time, the usage environment, and the stray capacitance inherent to the device. For example, the touch position in which the influence of the external factor on the touch position detection is corrected is detected. Therefore, the detection accuracy of the touch position can be further improved by performing the correction based on the correction table described below or the correction based on the calculation correction formula, although the detection accuracy is sufficient.
[0112]
FIG. 13 shows a correction table corresponding to the touch position detection coordinates (X, Y) on the touch panel surface. X shown in the correction table0, X1, X2, ..., Xn, Y0, Yl, Y2... YnIs a value R corresponding to the X-axis and Y-axis obtained by the calculation of the touch position described above.LX/ ROX, RLY/ ROYThe correction table is created by actually measuring the position coordinates on the touch panel with respect to this value using a standard touch panel. Information of this correction table is stored in storage means (RAM) in the touch panel device. Then, when a human finger or the like is touched on the touch panel, X = R is calculated by calculating the touch position described above.LX/ ROXAnd Y = RLY/ ROYOr X = XPCAnd YPCIs obtained, the touch coordinates (X, Y) corresponding to the X and Y are read from the correction table and output as touch position coordinates.
[0113]
When the touch panel device is large and the area of the touch panel is large, the number of touch position coordinates increases, and it is necessary to increase the storage capacity of the storage means in the touch panel device. In such a case, the division interval in the X-axis and Y-axis directions of the correction table may be increased to reduce the number of coordinates, and the storage capacity may be reduced. In that case, X, Y (Xn-lAnd XnYn-lAnd YnBetween the two), the values of X and Y may be calculated by an interpolation method or the like.
[0114]
Further, without using the above correction table, X = R obtained by the actual measurement coordinates on the standard touch panel and the touch position calculation method described above.LX/ ROXAnd Y = RLY/ ROYValue or X = XPCAnd YPCFrom this relationship, a calculation correction formula (approximation formula) that is a calculation correction means may be obtained, correction processing may be performed by a microcomputer or the like using this formula, and output as touch position coordinates.
[0115]
As a specific example, the case of the two axes of the X axis and the Y axis has been described. However, the touch panel device according to the present invention includes an elongated shape, a polygon, or a shape surrounded by a curve as the touch panel shape. It is out. Therefore, when the number of axes is 1, there may be three or more axes. When the number of axes is 1, it may be set such that only one of the X-axis and Y-axis operations described in the embodiment according to the present invention is executed. When the number of axes is large, the apparatus may be configured so that the same operation as in the X-axis direction and the Y-axis direction described above is performed for each axis.
[0116]
As described above, the preferred embodiment of the present invention has been described in detail for the invention described in
[0117]
Further, as described above, the touch panel device of the present invention can be applied to a method of detecting a resistance value between electrodes in a direction of one axis or more with one panel. Therefore, even if it is a multi-layer type touch panel, the same effect can be obtained also in a touch panel device including a panel that detects one or more directions in one of them.
[0118]
【The invention's effect】
According to the touch panel mounting according to the present invention, the following excellent effects can be obtained.
(1) Even when continuous touches such as drawing are performed, by using a plurality of data, the touch position can be detected quickly and accurately, and the power source of the device and the surrounding devices for touch detection accuracy It is possible to prevent the influence of external factors such as noise generated from the noise. In addition, the touch position is corrected for the influence of external factors such as the influence of changes in the resistance value of the conductive film over time on the touch position detection, the influence of the usage environment, and the offset voltage due to the stray capacitance inherent to the device. Is detected, the detection accuracy of the touch position is extremely high. Therefore, a highly reliable touch panel device can be obtained. Further, since a special mechanism or the like is not required as compared with the conventional device, the touch panel device is inexpensive.
(2) In the touch panel device according to the present invention, the calculation of the self-correction value executed in the device can be performed at any time such as a free time zone when the device is not used or when the device is activated. Therefore, the self-correction value can always be updated and the best value is held, so that the touch position detection accuracy can always be kept in the best state. Even when a touch signal is input, the touch position can be calculated and output without delay.
(3) The touch panel device according to the present invention can include a correction table obtained from the relationship between the calculated value regarding the coordinates of the touch position and the actually measured value. Can be added.
[Brief description of the drawings]
FIG. 1 is a circuit diagram for explaining the influence of an offset voltage caused by stray capacitance inherent in a touch panel device on detection of a touch position in the touch panel device according to the present invention.
FIG. 2 is a circuit diagram for explaining a principle relating to correction of a change in a conductive film over time, a change due to a use environment, and the like in the touch panel device according to the present invention.
FIG. 3 is a block diagram showing an overall configuration of a touch panel device according to an embodiment of the present invention.
FIG. 4 is a diagram showing a configuration example of a touch panel used in the touch panel device according to the present invention.
FIG. 5 is a flowchart illustrating a process of acquiring an offset voltage caused by a stray capacitance unique to the touch panel device.
FIG. 6 is a flowchart showing a process of calculating a self-correction value including correction of an offset voltage in the X-axis direction and storing the calculation result.
FIG. 7 is a flowchart showing a process of calculating a self-correction value including correction of an offset voltage in the Y-axis direction and storing the calculation result.
FIG. 8 is a flowchart illustrating a process of calculating and outputting a touch position when a touch signal is detected.
9 is a flowchart showing in detail the operation of the DE section in the flowchart shown in FIG. 8. FIG.
10 is a flowchart showing the operation of the FG section in the flowchart shown in FIG. 9. FIG.
FIG. 11 is a flowchart showing a procedure related to initialization of data setting in the touch panel device.
FIG. 12 is a diagram illustrating a method of calculating the current touch position by the second touch position determination unit in steps S95 to S98 and step S99.
FIG. 13 is an (X, Y) touch position detection coordinate correction table used for correcting a touch position calculation value by a correction table, which can be applied to the touch panel device according to the present invention.
FIG. 14 is a circuit diagram employed in a conventional touch panel device, for explaining the principle of detecting a touch position.
[Explanation of symbols]
RK, RK Resistor for voltage measurement
RO Resistance value of conductive film
RZ Resistor
S switch
e AC power supply
1 Touch panel
2 Substrate
3 Conductive film
4a, 4b, 4c, 4d electrode
5a, 5b, 5c, 5d External connection lead
Claims (8)
前記電圧計測手段によって検知されたタッチ判定用信号と予め設定されているタッチ判定用しきい値との比較を基に、タッチ信号であるか否かを判定するタッチ信号判定手段と、
該タッチ信号判定手段によってタッチ信号と判定された場合、前記タッチ信号を基に、前記タッチパネルにタッチされた状態が連続的か否かを判定するタッチ状態判定手段と、
該タッチ状態判定手段によってタッチされた状態が連続的と判定された場合、前記タッチ位置が前回のタッチ位置に対して移動したか否かを判定するタッチ位置移動判定手段と、
該タッチ位置移動判定手段によって前記タッチ位置が連続的に移動していると判定された場合、前記タッチ判定用しきい値を低く設定するしきい値設定手段と、
前記タッチ位置移動判定手段による判定結果に応じて、最新のタッチ位置データを設定するタッチ位置データ設定手段と、
該最新のタッチ位置データおよび前回までのタッチ位置判定結果を基に、今回のタッチ位置を判定するタッチ位置判定手段と
を備えることを特徴とするタッチパネル装置。A touch panel having a conductive film on the surface of the substrate, a first electrode and a second electrode arranged on an outer periphery of the touch panel, and an alternating current generation for supplying an alternating current to the first electrode and the second electrode Between the first electrode and the alternating current generating means and between the second electrode and the alternating current generating means, the first electrode side voltage and the second electrode side, respectively. and a voltage measuring means for measuring the voltage, in a touch panel device which calculates a touch position from the measured first electrode side voltage and the second electrode side of the voltage,
Touch signal determination means for determining whether or not it is a touch signal based on a comparison between a touch determination signal detected by the voltage measurement means and a preset threshold value for touch determination;
When the touch signal is determined to be a touch signal by the touch signal determination unit, based on the touch signal, a touch state determination unit that determines whether the touched state on the touch panel is continuous;
Touch position movement determining means for determining whether or not the touch position has moved with respect to the previous touch position when the touched state is determined to be continuous by the touch state determining means;
Threshold value setting means for setting the touch determination threshold value low when the touch position movement determination means determines that the touch position is continuously moving;
Touch position data setting means for setting the latest touch position data according to the determination result by the touch position movement determination means;
A touch panel device comprising: touch position determination means for determining a current touch position based on the latest touch position data and a previous touch position determination result.
前記電圧計測手段によって検知されたタッチ判定用信号と予め設定されているタッチ判定用しきい値との比較を基に、タッチ信号であるか否かを判定するタッチ信号判定手段と、
前記第1の電極および前記第2の電極のうちの少なくとも一方の電極と前記交流発生手段の一端との間に、スイッチを介した抵抗器を備え、前記第1の電極側と第2の電極側毎にオフセット電圧Vfを判定するVf値判定手段と、
前記第1の電極側と第2の電極側毎に前記スイッチオンにおける前記電圧計測手段の両端の電圧V0を判定するV0値判定手段と、
前記電圧VfおよびV0値を基に、タッチ位置検出値に対する自己補正値を求める自己補正値判定手段と、
前記スイッチがオフで、タッチパネルにタッチされた状態における前記電圧計測手段の両端の電圧Vtを判定するVt値判定手段と、
前記自己補正値およびVt値を基に、タッチパネル上のタッチ位置を判定する第1のタッチ位置判定手段と、
前記タッチ信号判定手段によってタッチ信号と判定された場合、前記タッチ信号を基に、前記タッチパネルにタッチされた状態が連続的か否かを判定するタッチ状態判定手段と、
該タッチ状態判定手段によってタッチされた状態が連続的と判定された場合、前記タッチ位置が前回のタッチ位置に対して移動したか否かを判定するタッチ位置移動判定手段と、
該タッチ位置移動判定手段によって前記タッチ位置が連続的に移動していると判定された場合、前記タッチ判定用しきい値を低く設定するしきい値設定手段と、
前記タッチ位置移動判定手段による判定結果に応じて、最新のタッチ位置データを設定するタッチ位置データ設定手段と、
該最新のタッチ位置データおよび前回までのタッチ位置判定結果を基に、今回のタッチ位置を判定する第2のタッチ位置判定手段と
を備えることを特徴とするタッチパネル装置。A touch panel having a conductive film on the surface of the substrate, a first electrode and a second electrode arranged on an outer periphery of the touch panel, and an alternating current generation for supplying an alternating current to the first electrode and the second electrode Disposed between the first electrode and the alternating current generating means and between the second electrode and the alternating current generating means, and the first electrode side voltage or the second electrode side and a voltage measuring means for measuring the voltage, in the touch panel device which calculates a touch position from the measured first electrode side voltage and the second electrode side of the voltage,
Touch signal determination means for determining whether or not it is a touch signal based on a comparison between a touch determination signal detected by the voltage measurement means and a preset threshold value for touch determination;
A resistor is provided between at least one of the first electrode and the second electrode and one end of the alternating current generating means, and the first electrode side and the second electrode are provided. V f value determining means for determining the offset voltage V f for each side;
Said first electrode side and the V 0 value determining means for determining the voltage V 0 which both ends of the voltage measuring means in the switch-on for each side of the second electrode,
Self-correction value determining means for obtaining a self-correction value for the touch position detection value based on the voltages V f and V 0 ;
Wherein the switch is off, the V t value determining means for determining the voltage V t across the voltage measuring means in a state of being touched on the touch panel,
First touch position determination means for determining a touch position on the touch panel based on the self-correction value and the V t value;
When the touch signal is determined to be a touch signal by the touch signal determination unit, based on the touch signal, a touch state determination unit that determines whether the touched state on the touch panel is continuous;
Touch position movement determining means for determining whether or not the touch position has moved with respect to the previous touch position when the touched state is determined to be continuous by the touch state determining means;
Threshold value setting means for setting the touch determination threshold value low when the touch position movement determination means determines that the touch position is continuously moving;
Touch position data setting means for setting the latest touch position data according to the determination result by the touch position movement determination means;
A touch panel device comprising: second touch position determination means for determining a current touch position based on the latest touch position data and a previous touch position determination result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002031251A JP3821002B2 (en) | 2002-02-07 | 2002-02-07 | Touch panel device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002031251A JP3821002B2 (en) | 2002-02-07 | 2002-02-07 | Touch panel device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2003233464A JP2003233464A (en) | 2003-08-22 |
JP3821002B2 true JP3821002B2 (en) | 2006-09-13 |
Family
ID=27774716
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002031251A Expired - Fee Related JP3821002B2 (en) | 2002-02-07 | 2002-02-07 | Touch panel device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3821002B2 (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1857329A1 (en) * | 2006-05-17 | 2007-11-21 | Hitachi Computer Products (Europe) S.A.S. | Method for improving the localisation of a target in regard of a sensor |
JP4966636B2 (en) | 2006-12-13 | 2012-07-04 | 株式会社ワコム | Coordinate input device |
KR101350874B1 (en) | 2007-02-13 | 2014-01-13 | 삼성디스플레이 주식회사 | Display device and driving method thereof |
JP5806799B2 (en) | 2009-01-26 | 2015-11-10 | 任天堂株式会社 | Information processing apparatus, information processing program, information processing system, and information processing method |
WO2011114630A1 (en) * | 2010-03-18 | 2011-09-22 | 京セラ株式会社 | Electronic apparatus |
KR20120085392A (en) * | 2011-01-24 | 2012-08-01 | 삼성전자주식회사 | Terminal having touch-screen and method for identifying touch event thereof |
JP5734927B2 (en) * | 2012-07-18 | 2015-06-17 | 株式会社東海理化電機製作所 | Input device |
JP5774555B2 (en) * | 2012-08-02 | 2015-09-09 | 株式会社東海理化電機製作所 | Input device |
KR101249266B1 (en) | 2012-12-18 | 2013-04-03 | 화인칩스 주식회사 | Calculation method of displacement of pointing device using touch sensor |
KR101399001B1 (en) | 2013-03-14 | 2014-05-27 | 화인칩스 주식회사 | Calculation method of touch point coordinates of pointing device having circular type touch pads and calculation method of displacement of pointing device |
KR101936032B1 (en) | 2016-11-11 | 2019-01-09 | 주식회사 센소니아 | Touch sensing system improving sensing accuracy for touch input information and touch sensing method using the same |
-
2002
- 2002-02-07 JP JP2002031251A patent/JP3821002B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2003233464A (en) | 2003-08-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9959005B2 (en) | 5-wire resistive touch screen pressure measurement circuit and method | |
JP3821002B2 (en) | Touch panel device | |
US4659874A (en) | X-Y position sensor | |
TWI509476B (en) | Control circuit and control method for touch panel, touch panel input device and electronic apparatus | |
KR20070112750A (en) | Touch panel device and its contact position detection method | |
KR20040102208A (en) | Baselining techniques in force-based touch panel systems | |
CN107025029B (en) | Touch input device | |
JP6402884B2 (en) | Touch sensor device, electronic device, position calculation method, and position calculation program | |
US6816153B2 (en) | Touch-panel device | |
US10488987B2 (en) | Touch panel apparatus | |
US10990236B2 (en) | Methods for two-touch detection with resistive touch sensor and related apparatuses and systems | |
JP7011159B2 (en) | Capacitance detection circuit and capacitance sensor device | |
TWI457809B (en) | Display devices, operation methods thereof, and electronic devices using the same | |
US8890835B2 (en) | Input apparatus and display system | |
TWI578206B (en) | Integral sensing apparatus for touch and force sensing and method for the same | |
JP3864306B2 (en) | Touch panel device | |
JP2003108304A (en) | Touch panel device | |
KR101952327B1 (en) | Capacitive sensor and method for detecting a number of objects | |
US10180751B2 (en) | Sensing device for force and tactile-proximity sensing | |
JP2001043002A (en) | Diagonal coordinate detector | |
JP2008084232A (en) | Touch panel device | |
KR20230097340A (en) | Touch sensing device and coordinate correction method | |
KR200484901Y1 (en) | Continuous circuit structure of the touch panel | |
US20230289010A1 (en) | Proximity detection device and hover detection method | |
JP3834194B2 (en) | Touch panel device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20030117 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20050526 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060104 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060215 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060215 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060315 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060512 |
|
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: 20060531 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20060612 |
|
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: 20100630 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110630 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120630 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130630 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130630 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130630 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130630 Year of fee payment: 7 |
|
LAPS | Cancellation because of no payment of annual fees |