JP3798643B2 - Touch panel control device and touch panel control program - Google Patents

Touch panel control device and touch panel control program Download PDF

Info

Publication number
JP3798643B2
JP3798643B2 JP2001099326A JP2001099326A JP3798643B2 JP 3798643 B2 JP3798643 B2 JP 3798643B2 JP 2001099326 A JP2001099326 A JP 2001099326A JP 2001099326 A JP2001099326 A JP 2001099326A JP 3798643 B2 JP3798643 B2 JP 3798643B2
Authority
JP
Japan
Prior art keywords
touch
touch panel
data
light
operated
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
Application number
JP2001099326A
Other languages
Japanese (ja)
Other versions
JP2002297318A (en
Inventor
雅樹 五十嵐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kenwood KK
Original Assignee
Kenwood KK
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kenwood KK filed Critical Kenwood KK
Priority to JP2001099326A priority Critical patent/JP3798643B2/en
Publication of JP2002297318A publication Critical patent/JP2002297318A/en
Application granted granted Critical
Publication of JP3798643B2 publication Critical patent/JP3798643B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Position Input By Displaying (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、タッチパネル上の所定位置において、発光素子と受光素子との間を結ぶ光の遮断の有無により所定位置を操作しているか否かを判別するタッチパネル制御装置ならびにタッチパネル制御用プログラムに関する。
【0002】
【従来の技術】
車両用のナビゲーション装置のようにタッチパネル上で操作可能な装置には、タッチパネル上への押圧を感知して制御する感圧式タッチパネル制御、あるいはタッチパネル上を走る赤外線の遮断の有無で制御する赤外線式タッチパネル制御が採用されている。
【0003】
感圧式タッチパネル制御は、赤外線式タッチパネル制御に比べて低コストであるが、一般的にその信頼性は低い。感圧式タッチパネル制御の信頼性は、タッチパネルの材料に依存するためである。一方、赤外線式タッチパネル制御は、感圧式タッチパネル制御に比べて高コストであるが、その信頼性は高い。発光ダイオードおよびトランジスタを用いているため、その信頼性はデバイスに依存するためである。なお、このような感圧式タッチパネル制御あるいは赤外線式タッチパネル制御に関する発明として、特開平9−44308号公報および特開平11−3440号公報記載の各発明が知られている。
【0004】
図4は、従来のタッチパネル制御装置のタッチパネル10を示す図である。タッチパネル10の横方向には、赤外線発光ダイオード(発光素子)11と、その対向位置に設けたフォトトランジスタ(受光素子)12とが配置されている。また、タッチパネル10の縦方向にも、赤外線発光ダイオード(発光素子)13と、その対向位置に設けたフォトトランジスタ(受光素子)14とが配置されている。
【0005】
赤外線発光ダイオード11,13からフォトトランジスタ12,14に走る赤外線は、タッチパネル10上を走っている。このため、指等をタッチパネル10上の所定位置にタッチすると、その指により受光量が低下したフォトトランジスタ12,14の位置からタッチ位置がわかる。また、指等を離すと、その所定位置に関係するフォトトランジスタ12,14の受光量が回復するので、タッチオフとなったことがわかる。
【0006】
図5は、従来のタッチパネル制御装置におけるタッチ位置データおよびタッチオフデータに基づく制御方法を示すフローチャートである。タッチパネル10に指等をタッチすることにより、タッチパネル制御装置の制御部がタッチ位置データを取得する時点から開始する(ステップS201)。すると、次に、制御部は、タッチオフデータを取得したか否かを判別する(ステップS202)。
【0007】
制御部がタッチオフデータを取得した場合には、制御部は、指を離したと判断する(ステップS203)。一方、制御部がタッチオフデータを取得していない場合には、制御部は、タッチパネル10上を押し下げ中と判断する(ステップS204)。
【0008】
【発明が解決しようとする課題】
しかし、上記従来のタッチパネル制御装置には、次のような問題がある。従来のタッチパネル制御装置のタッチパネル10上において、横方向の赤外線発光ダイオード11は、約6mm間隔で配置されている。また、縦方向の赤外線発光ダイオード13は、約8mm間隔で配置されている。このため、指等がタッチパネル10に触れていても赤外線同士の間にある場合には、触れていないと判断される場合がある。
【0009】
特に、タッチパネル10上を指でなぞる際に、赤外線同士の間に指等がくる機会がある。したがって、指等が離れたと誤認識されることになる。かかる誤認識を防止するために、赤外線発光ダイオード11,13とフォトトランジスタ12,14を増やして、赤外線同士の間を狭くする方法も考えられる。しかし、それでは、コストが高くなるという問題がある。また、指よりも細いタッチパネル専用のペンを用いた場合には、赤外線同士の間をいくら狭くしても、誤認識を解消できない。
【0010】
また、感圧式タッチパネル制御に関する特開平9−44308号公報記載の発明は、タッチ検出を2度行うことによりタッチ位置を確定するものである。したがって、当該発明では、指等が離れていないにもかかわらずタッチオフと誤認識される問題を解決できない。また、特開平11−3440号公報記載の発明は、ある一定領域でのオンオフの精度を出すものである。したがって、特開平9−44308号公報記載の発明と同様、指等が離れていないにもかかわらずタッチオフと誤認識される問題を解決できない。
【0011】
本発明は、かかる問題を解決するためになされたものであり、タッチパネル上を操作する際に、低コストで正確なタッチ判別ができるタッチパネル制御装置ならびにタッチパネル制御用プログラムを提供することを目的とする。
【0012】
【課題を解決するための手段】
上記目的を達成するために、本発明は、タッチパネル上の所定位置において、発光素子と受光素子との間を結ぶ光の遮断の有無により所定位置を操作しているか否かを判別するタッチパネル制御装置であって、受光素子が発光素子からの光を検出しない場合に、所定位置を操作していることを示すタッチ位置データを送信するタッチ位置データ送信部と、受光素子が発光素子からの光を検出した場合に、タッチパネルを操作していないことを示すタッチオフデータを送信するタッチオフデータ送信部と、タッチオフデータを取得した場合に、タッチオフの時間の計測を開始するタイマと、タッチ位置データ送信部およびタッチオフデータ送信部からの各データを受信可能であって、タッチ位置データを受け取った場合および計測時間が所定時間以内の場合にはタッチパネルを操作していると判断する一方で、計測時間が所定時間を越えた場合にはタッチパネルを操作していないと判断する制御部とを備えるタッチパネル制御装置とするようにしている。
【0013】
このため、指等がタッチパネルにタッチしている場合にタッチオフデータが検出されても、所定時間以内に再びタッチ位置データが検出されれば、指等が離れていないものとの正しい認識が行われる。
【0014】
また、他の発明は、上記発明において、所定時間を0.15から0.20秒の範囲としたタッチパネル制御装置とするようにしている。このため、赤外線同士の間隔が従来と同程度であっても、通常の使用状況で正確な認識が可能である。
【0015】
また、他の発明は、タッチパネル上の所定位置において、発光素子と受光素子との間を結ぶ光の遮断の有無により所定位置を操作しているか否かを判別するタッチパネル制御用プログラムであって、受光素子が発光素子からの光を検出しない場合に、所定位置を操作していることを示すタッチ位置データを取得するタッチ位置データ取得ステップと、受光素子が発光素子からの光を検出してタッチパネルを操作していないことを示すタッチオフデータを取得したかどうかを判別するタッチオフデータ取得判別ステップと、タッチオフデータを取得した場合に、時間の計測を開始させる時間計測ステップと、所定時間以内に再びタッチ位置データを取得したか否かを判別する計測時間判別ステップと、タッチオフデータを取得していない場合および所定時間以内にタッチ位置データを取得した場合にタッチパネルを操作していると判断するオン判断ステップと、所定時間以内にタッチ位置データを取得しなかった場合にタッチパネルを操作していないと判断するオフ判断ステップとを含むタッチパネル制御用プログラムとするようにしている。
【0016】
このため、このプログラムを実行するタッチパネル制御装置において、指等がタッチパネルにタッチしている場合にタッチオフデータが検出されても、所定時間内に再びタッチ位置データが検出されれば、指等が離れていないものとの正しい認識が行われる。
【0017】
また、他の発明は、上記発明において、所定時間を0.15から0.20秒の範囲としたタッチパネル制御用プログラムとするようにしている。このため、このプログラムを実行するタッチパネル制御装置において、赤外線同士の間隔が従来と同程度であっても、通常の使用状況で正確な認識が可能である。
【0018】
【発明の実施の形態】
以下、本発明に係るタッチパネル制御装置およびタッチパネル制御用プログラムの各実施の形態について、図面に基づいて説明する。
【0019】
図1は、本発明のタッチパネル制御装置1の構成を示すブロック図である。タッチパネル制御装置1は、タッチ位置データ送信部2と、タッチオフデータ送信部3と、タイマとしてのリリースタイマ4と、制御部5と、ROM6と、コマンドデータ送信部7とを備えている。
【0020】
タッチ位置データ送信部2は、所定位置にある図示されないフォトトランジスタ(受光素子)が、対向する図示されない赤外線発光ダイオード(発光素子)からの赤外線を検出しなくなった際に、その所定位置をタッチしていることを示すタッチ位置データを送信する構成部である。タッチ位置データ送信部2は、指等が別の位置における赤外線を遮った場合には、その別の位置をタッチしていることを示すタッチ位置データを送信する。
【0021】
タッチオフデータ送信部3は、フォトトランジスタが赤外線発光ダイオードからの赤外線を再び検出した場合に、その所定位置と共にタッチパネルを操作していないことを示すタッチオフデータを送信する構成部である。
【0022】
なお、タッチ位置データ送信部2とタッチオフデータ送信部3とを別個に設けずに、一つのデータ送信部としても良い。その場合には、フォトトランジスタからの受光量に基づく信号によって、タッチ位置データとタッチオフデータとを切り換えて制御部5に送信する。
【0023】
リリースタイマ4は、タッチオフデータを取得した際に時間の計測を開始するタイマである。リリースタイマ4は、タッチ位置データ送信部2から新たな位置データが送信されると、そのカウントをリセットする。
【0024】
制御部5は、タッチ位置データ送信部2からのタッチ位置データおよびタッチオフデータ送信部3からのタッチオフデータを受信可能な構成部である。制御部5は、タッチ位置データを受け取った場合およびリリースタイマ4が計測する計測時間が所定時間以内の場合には、タッチパネルを操作していると判断する。一方、計測時間が所定時間を越えた場合にはタッチパネルを操作していないと判断する。なお、この実施の形態では、所定時間を、0.15から0.20秒の範囲の時間に設定している。この理由については後述する。
【0025】
ROM6は、制御部5の制御プログラムを記録した読み取り専用のメモリである。ROM6には、制御部5がタッチ位置データ送信部2、タッチオフデータ送信部3およびリリースタイマ4から送信される各データに基づいてタッチのオンオフおよびタッチ位置のデータを判別し、その判別結果に基づいてコマンドデータ送信部7に各処理データを送信するためのプログラムが記録されている。コマンドデータ送信部7は、制御部5からの各処理データを受け取って、別の回路にコマンドを出力する構成部である。
【0026】
図2は、タッチパネル制御装置1の処理動作の流れを示すフローチャートである。
【0027】
タッチパネルに指等をタッチすることにより、制御部5がタッチ位置データ送信部2からタッチ位置データを取得する時点から開始する(ステップS101:タッチ位置データ取得ステップ)。すると、制御部5は、タッチオフデータ送信部3からタッチオフデータを取得したか否かを判別する(ステップS102:タッチオフデータ取得判別ステップ)。この結果、タッチオフデータを取得した場合には、リリースタイマ4はカウントを開始する(ステップS103:時間計測ステップ)。
【0028】
次に、制御部5は、タッチ位置データ送信部2から所定時間以内にタッチ位置データを取得したか否かを判別する(ステップS104:計測時間判別ステップ)。この結果、制御部5は、所定時間以内にタッチ位置データを取得した場合にはカウントをクリアし(ステップS105)、指等でタッチパネルを押し下げ中と判断した上で(ステップS106:オン判断ステップ)、ステップS102に戻る。
【0029】
一方、制御部5は、ステップS104において、所定時間以内にタッチ位置データを取得しなかった場合には、指等がタッチパネルから離れたものと判断する(ステップS107:オフ判断ステップ)。また、制御部5は、ステップS102において、タッチオフデータを取得していない場合には、未だ指等でタッチパネルを押し下げ中と判断する(ステップS108:オン判断ステップ)。かかる一連の流れで、処理が終了する。
【0030】
図3は、本発明のタッチパネル制御装置1と従来のタッチパネル制御装置との機能を比較して示す図である。
【0031】
図3において、Aは、従来のタッチパネル制御装置における制御システム(以後、従来システムという)を示す。また、Bは、本発明のタッチパネル制御装置1における制御システム(以後、本発明のシステムという)を示す。
【0032】
タッチパネル上を指でなぞっていき、途中でタッチパネルから指を離す操作をした場合、従来のシステムは、タッチパネルをなぞっている最中でタッチオフデータを取得すると、▲1▼で示すように指が離れたと判断する。そして、従来のシステムは、再びタッチ位置データを取得すると、▲2▼で示すように押し下げ操作をしたと判断する。一番右側の▲1▼の位置は、実際にタッチパネルから指が離れた時期なので正しい認識である。しかし、左から3つ目までの▲1▼の位置は、まだタッチパネルをなぞっている最中なので誤認識をした位置ということになる。
【0033】
これに対して、本発明のシステムは、タッチパネルをなぞっている最中でタッチオフデータを取得しても、▲3▼で示すようにまだ指がタッチされていると判断している。タッチオフデータを取得した時には、リリースタイマ4は、▲5▼の位置でタイマのカウントを開始するが、次のタッチ位置データの取得によって、▲6▼の位置でカウントをリセットする。タッチオフデータの取得から次のタッチ位置データの取得までの時間が、予め設定されていた所定時間内であったからである。
【0034】
また、▲3▼の位置から▲4▼の位置に示すように、本発明のシステムは、タッチパネルから指を離しても、リリースタイマ4が所定期間をカウントするまで(▲5▼の位置から▲7▼の位置まで)、指が離れていないと判断している。しかし、かかる誤認識は、ユーザにとって不都合はない。
【0035】
所定時間を0.10秒未満に設定して試験を行った結果、指でタッチパネルをなぞっている場合において、タッチオフデータの取得から次のタッチ位置データの取得までの間に所定期間が経過してしまい、指が離れたという誤認識がされてしまうことがわかった。一方、所定時間を0.25秒より長く設定して試験を行った結果、指を離してから再度指でタッチしても、オン操作ができなくなることがあるということがわかった。さらに、所定時間を0.15から0.20秒に設定すると、ほとんど誤認識は発生しないこともわかった。
【0036】
したがって、タッチオフデータの取得からカウントする所定時間は、0.10から0.25秒の範囲の時間に設定するのが好ましく、0.15から0.20秒の範囲の時間に設定するのがより好ましい。ただし、赤外線の数や操作速度に応じて、所定時間を誤認識しない値に決めることができる。
【0037】
本発明のタッチパネル制御装置1の制御動作を実現するために、所定のプログラムをタッチパネル制御装置の構成部に読み込ませても良い。すなわち、タッチパネル上の所定位置において、発光素子と受光素子との間を結ぶ光の遮断の有無により所定位置を操作しているか否かを判別するタッチパネル制御用プログラムであって、受光素子が発光素子からの光を検出しない場合に、所定位置を操作していることを示すタッチ位置データを取得するタッチ位置データ取得ステップと、受光素子が発光素子からの光を検出してタッチパネルを操作していないことを示すタッチオフデータを取得したかどうかを判別するタッチオフデータ取得判別ステップと、タッチオフデータを取得した場合に、時間の計測を開始させる時間計測ステップと、所定時間以内に再びタッチ位置データを取得したか否かを判別する計測時間判別ステップと、タッチオフデータを取得していない場合および所定時間以内にタッチ位置データを取得した場合にタッチパネルを操作していると判断するオン判断ステップと、所定時間以内にタッチ位置データを取得しなかった場合にタッチパネルを操作していないと判断するオフ判断ステップとを含むタッチパネル制御用プログラムを読み込ませても良い。
【0038】
さらに、上記タッチパネル制御用プログラムを格納したCD−ROM等の情報記録媒体を、タッチパネル制御装置に挿入して、内部のタッチパネル制御用プログラムをタッチパネル制御装置の構成部に読み込ませるようにしても良い。
【0039】
なお、本発明は、上述の実施の形態に限定されず、種々変形した実施の形態を採用できる。例えば、赤外線以外の波長を持つ光(可視光、紫外線等)を用いたタッチパネル制御方式を採用しても良い。
【0040】
また、赤外線式のタッチパネル制御装置以外であっても、本発明を採用することができる。例えば、感圧式の走査線を有するタッチパネル制御装置において、タッチオフデータの検出から所定時間内にタッチ位置データを検出した場合には、タッチパネルにタッチされていると認識するようにしても良い。
【0041】
また、赤外線がタッチパネル上を格子状に走っている場合に限定されず、横方向のみあるいは縦方向のみに赤外線が走っているタッチパネルでも良い。また、赤外線がタッチパネル上を斜めに走っている場合でも良い。
【0042】
【発明の効果】
本発明によれば、タッチパネル上を操作する際に、低コストで正確なタッチ判別ができるタッチパネル制御装置ならびにタッチパネル制御用プログラムを提供することができる。
【図面の簡単な説明】
【図1】本発明のタッチパネル制御装置の実施の形態の構成を示すブロック図である。
【図2】図1のタッチパネル制御装置の動作処理を示すフローチャートである。
【図3】図1のタッチパネル制御装置と従来のタッチパネル制御装置との機能を比較して示す図である。
【図4】従来のタッチパネル制御装置のタッチパネルの構造を示す図である。
【図5】図4のタッチパネル構造を備えたタッチパネル制御装置の動作処理を示すフローチャートである。
【符号の説明】
1 タッチパネル制御装置
2 タッチ位置データ送信部
3 タッチオフデータ送信部
4 リリースタイマ(タイマ)
5 制御部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a touch panel control device and a touch panel control program for determining whether or not a predetermined position is operated based on the presence or absence of light blocking between a light emitting element and a light receiving element at a predetermined position on the touch panel.
[0002]
[Prior art]
For devices that can be operated on a touch panel such as a navigation device for a vehicle, a pressure-sensitive touch panel control that senses and controls a pressure on the touch panel, or an infrared touch panel that controls the presence or absence of infrared rays running on the touch panel Control is adopted.
[0003]
Pressure-sensitive touch panel control is less expensive than infrared touch panel control, but generally has low reliability. This is because the reliability of the pressure-sensitive touch panel control depends on the material of the touch panel. On the other hand, infrared touch panel control is more expensive than pressure sensitive touch panel control, but its reliability is high. This is because the reliability depends on the device because the light emitting diode and the transistor are used. In addition, as inventions related to such pressure-sensitive touch panel control or infrared touch panel control, Japanese Patent Laid-Open Nos. 9-44308 and 11-3440 are known.
[0004]
FIG. 4 is a diagram showing a touch panel 10 of a conventional touch panel control device. In the lateral direction of the touch panel 10, an infrared light emitting diode (light emitting element) 11 and a phototransistor (light receiving element) 12 provided at the opposing position are arranged. In addition, an infrared light-emitting diode (light-emitting element) 13 and a phototransistor (light-receiving element) 14 provided at the opposite position are also arranged in the vertical direction of the touch panel 10.
[0005]
Infrared rays that run from the infrared light emitting diodes 11 and 13 to the phototransistors 12 and 14 run on the touch panel 10. For this reason, when a finger or the like is touched at a predetermined position on the touch panel 10, the touch position can be determined from the positions of the phototransistors 12 and 14 where the amount of light received by the finger is reduced. Further, when the finger or the like is released, the amount of light received by the phototransistors 12 and 14 related to the predetermined position is recovered, so that it is understood that the touch-off has occurred.
[0006]
FIG. 5 is a flowchart illustrating a control method based on touch position data and touch-off data in a conventional touch panel control device. By touching the touch panel 10 with a finger or the like, the control unit of the touch panel control device starts from the time when the touch position data is acquired (step S201). Then, the control unit determines whether or not touch-off data has been acquired (step S202).
[0007]
When the control unit acquires the touch-off data, the control unit determines that the finger has been released (step S203). On the other hand, when the control unit has not acquired the touch-off data, the control unit determines that the touch panel 10 is being pushed down (step S204).
[0008]
[Problems to be solved by the invention]
However, the conventional touch panel control device has the following problems. On the touch panel 10 of the conventional touch panel control device, the lateral infrared light emitting diodes 11 are arranged at intervals of about 6 mm. The vertical infrared light emitting diodes 13 are arranged at intervals of about 8 mm. For this reason, even if a finger or the like is touching the touch panel 10, it may be determined that the finger is not touching if it is between the infrared rays.
[0009]
In particular, when the user touches the touch panel 10 with a finger, there is an opportunity for the finger to come between infrared rays. Accordingly, it is erroneously recognized that the finger or the like has been removed. In order to prevent such erroneous recognition, a method of increasing the number of the infrared light emitting diodes 11 and 13 and the phototransistors 12 and 14 to narrow the space between the infrared rays can be considered. However, there is a problem that the cost becomes high. In addition, when a pen dedicated to a touch panel thinner than a finger is used, erroneous recognition cannot be resolved no matter how narrow the space between infrared rays is.
[0010]
The invention described in Japanese Patent Laid-Open No. 9-44308 relating to pressure-sensitive touch panel control determines the touch position by performing touch detection twice. Therefore, according to the present invention, it is impossible to solve the problem of being erroneously recognized as touch-off even though the finger or the like is not separated. Further, the invention described in Japanese Patent Application Laid-Open No. 11-3440 provides on / off accuracy in a certain region. Therefore, similarly to the invention described in Japanese Patent Laid-Open No. 9-44308, the problem of erroneous recognition of touch-off even when the finger or the like is not separated cannot be solved.
[0011]
The present invention has been made to solve such a problem, and an object of the present invention is to provide a touch panel control device and a touch panel control program that can perform accurate touch discrimination at low cost when operating on a touch panel. .
[0012]
[Means for Solving the Problems]
In order to achieve the above object, the present invention provides a touch panel control device that determines whether or not a predetermined position is operated based on the presence or absence of light blocking between a light emitting element and a light receiving element at a predetermined position on the touch panel. When the light receiving element does not detect light from the light emitting element, the touch position data transmitting unit transmits touch position data indicating that the predetermined position is operated, and the light receiving element transmits light from the light emitting element. When detected, a touch-off data transmitting unit that transmits touch-off data indicating that the touch panel is not operated, a timer that starts measuring the touch-off time when the touch-off data is acquired, and touch position data When each data from the transmitter and touch-off data transmitter can be received and the touch position data is received and when the measurement time is predetermined The touch panel control device is provided with a control unit that determines that the touch panel is operated when the measurement time exceeds a predetermined time, while the control unit determines that the touch panel is not operated when the measurement time exceeds a predetermined time. Yes.
[0013]
For this reason, even if touch-off data is detected when a finger or the like is touching the touch panel, if touch position data is detected again within a predetermined time, correct recognition that the finger or the like is not separated is performed. Is called.
[0014]
In another aspect of the invention, in the above invention, the touch panel control device has a predetermined time in a range of 0.15 to 0.20 seconds. For this reason, even if the space | interval of infrared rays is comparable as the past, it can recognize correctly by a normal use condition.
[0015]
Another invention is a touch panel control program for determining whether or not a predetermined position is operated based on the presence or absence of light blocking between the light emitting element and the light receiving element at a predetermined position on the touch panel, When the light receiving element does not detect light from the light emitting element, a touch position data acquiring step for acquiring touch position data indicating that a predetermined position is operated, and the light receiving element detects light from the light emitting element and touches the touch panel. Touch-off data acquisition determination step to determine whether touch-off data indicating that the device is not operated has been acquired, a time measurement step to start measuring time when touch-off data is acquired, and within a predetermined time And a measurement time determination step to determine whether or not touch position data has been acquired again. ON determination step for determining that the touch panel is operated when the touch position data is acquired within a predetermined time, and determining that the touch panel is not operated when the touch position data is not acquired within the predetermined time The touch panel control program includes an off determination step.
[0016]
For this reason, in the touch panel control device that executes this program, even if touch-off data is detected when a finger or the like is touching the touch panel, if the touch position data is detected again within a predetermined time, the finger or the like is detected. The correct recognition that it is not separated is performed.
[0017]
In another aspect of the invention, in the above invention, the touch panel control program has a predetermined time in a range of 0.15 to 0.20 seconds. For this reason, in the touch panel control device that executes this program, accurate recognition is possible in a normal use situation even if the interval between infrared rays is about the same as in the past.
[0018]
DETAILED DESCRIPTION OF THE INVENTION
DESCRIPTION OF EMBODIMENTS Hereinafter, embodiments of a touch panel control device and a touch panel control program according to the present invention will be described with reference to the drawings.
[0019]
FIG. 1 is a block diagram showing a configuration of a touch panel control device 1 of the present invention. The touch panel control device 1 includes a touch position data transmission unit 2, a touch-off data transmission unit 3, a release timer 4 as a timer, a control unit 5, a ROM 6, and a command data transmission unit 7.
[0020]
The touch position data transmission unit 2 touches a predetermined position when a phototransistor (light receiving element) (not shown) at a predetermined position stops detecting infrared rays from an opposite infrared light emitting diode (light emitting element) (not shown). It is a component which transmits the touch position data which shows that it is. The touch position data transmission unit 2 transmits touch position data indicating that another position is touched when a finger or the like blocks infrared rays at another position.
[0021]
The touch-off data transmission unit 3 is a component that transmits touch-off data indicating that the touch panel is not operated together with the predetermined position when the phototransistor detects the infrared ray from the infrared light emitting diode again.
[0022]
The touch position data transmission unit 2 and the touch-off data transmission unit 3 may be provided as a single data transmission unit without being provided separately. In that case, the touch position data and the touch-off data are switched and transmitted to the control unit 5 by a signal based on the amount of light received from the phototransistor.
[0023]
The release timer 4 is a timer that starts measuring time when the touch-off data is acquired. When new position data is transmitted from the touch position data transmission unit 2, the release timer 4 resets the count.
[0024]
The control unit 5 is a component that can receive touch position data from the touch position data transmission unit 2 and touch-off data from the touch-off data transmission unit 3. The control unit 5 determines that the touch panel is operated when the touch position data is received and when the measurement time measured by the release timer 4 is within a predetermined time. On the other hand, when the measurement time exceeds a predetermined time, it is determined that the touch panel is not operated. In this embodiment, the predetermined time is set to a time in the range of 0.15 to 0.20 seconds. The reason for this will be described later.
[0025]
The ROM 6 is a read-only memory that records the control program of the control unit 5. In the ROM 6, the control unit 5 determines touch on / off and touch position data based on the data transmitted from the touch position data transmission unit 2, the touch-off data transmission unit 3, and the release timer 4. Based on this, a program for transmitting each processing data to the command data transmission unit 7 is recorded. The command data transmission unit 7 is a configuration unit that receives each processing data from the control unit 5 and outputs a command to another circuit.
[0026]
FIG. 2 is a flowchart showing the flow of processing operations of the touch panel control device 1.
[0027]
The control unit 5 starts when the touch position data is acquired from the touch position data transmission unit 2 by touching the touch panel with a finger or the like (step S101: touch position data acquisition step). Then, the control unit 5 determines whether or not touch-off data has been acquired from the touch-off data transmission unit 3 (step S102: touch-off data acquisition determination step). As a result, when the touch-off data is acquired, the release timer 4 starts counting (step S103: time measurement step).
[0028]
Next, the control unit 5 determines whether or not the touch position data is acquired from the touch position data transmission unit 2 within a predetermined time (step S104: measurement time determination step). As a result, the control unit 5 clears the count when the touch position data is acquired within a predetermined time (step S105), and determines that the touch panel is being pushed down with a finger or the like (step S106: ON determination step). Return to step S102.
[0029]
On the other hand, if the touch position data is not acquired within the predetermined time in step S104, the control unit 5 determines that the finger or the like has moved away from the touch panel (step S107: off determination step). If the touch-off data has not been acquired in step S102, the control unit 5 determines that the touch panel is still being pushed down with a finger or the like (step S108: on determination step). The process ends with this series of flows.
[0030]
FIG. 3 is a diagram comparing the functions of the touch panel control device 1 of the present invention and the conventional touch panel control device.
[0031]
In FIG. 3, A indicates a control system (hereinafter referred to as a conventional system) in a conventional touch panel control apparatus. B shows a control system (hereinafter referred to as the system of the present invention) in the touch panel control device 1 of the present invention.
[0032]
If you touch the touch panel with your finger and take your finger off the touch panel, the conventional system acquires touch-off data while you are tracing the touch panel. Judge that they are away. Then, when acquiring the touch position data again, the conventional system determines that the push-down operation has been performed as indicated by (2). The rightmost position (1) is the correct recognition because it is the time when the finger is actually removed from the touch panel. However, the position of (1) from the left to the third is the position where the misrecognition was made while still tracing the touch panel.
[0033]
In contrast, even when the touch-off data is acquired while tracing the touch panel, the system of the present invention determines that the finger is still touched as indicated by (3). When the touch-off data is acquired, the release timer 4 starts counting the timer at the position (5), but resets the count at the position (6) by acquiring the next touch position data. This is because the time from acquisition of the touch-off data to acquisition of the next touch position data is within a predetermined time set in advance.
[0034]
Further, as shown from the position (3) to the position (4), the system according to the present invention can be operated until the release timer 4 counts a predetermined period even after the finger is released from the touch panel (from the position (5)). 7) until the finger is not separated. However, such erroneous recognition is not inconvenient for the user.
[0035]
As a result of performing the test with the predetermined time set to less than 0.10 seconds, when the touch panel is traced with a finger, a predetermined period elapses from acquisition of touch-off data to acquisition of the next touch position data. As a result, it was found that the user misunderstood that the finger was released. On the other hand, as a result of performing the test by setting the predetermined time longer than 0.25 seconds, it was found that the on operation may not be performed even if the finger is removed and then touched again with the finger. Furthermore, it has been found that when the predetermined time is set from 0.15 to 0.20 seconds, almost no erroneous recognition occurs.
[0036]
Therefore, the predetermined time counted from the acquisition of the touch-off data is preferably set to a time in the range of 0.10 to 0.25 seconds, and set to a time in the range of 0.15 to 0.20 seconds. More preferred. However, depending on the number of infrared rays and the operation speed, the predetermined time can be set to a value that is not erroneously recognized.
[0037]
In order to realize the control operation of the touch panel control device 1 of the present invention, a predetermined program may be read into the constituent parts of the touch panel control device. That is, a touch panel control program for determining whether or not a predetermined position is operated based on the presence or absence of light blocking between a light emitting element and a light receiving element at a predetermined position on the touch panel, the light receiving element being a light emitting element Touch position data acquisition step for acquiring touch position data indicating that a predetermined position is operated when light from the light source is not detected, and the light receiving element does not operate the touch panel by detecting light from the light emitting element A touch-off data acquisition determining step for determining whether touch-off data indicating that the touch-off data has been acquired, a time measurement step for starting time measurement when touch-off data is acquired, and touch position data again within a predetermined time A measurement time determination step for determining whether or not touch-off data has been acquired, and a predetermined time ON determination step for determining that the touch panel is operated when the touch position data is acquired within a short time period, and OFF determination for determining that the touch panel is not operated when the touch position data is not acquired within the predetermined time. A touch panel control program including steps may be read.
[0038]
Further, an information recording medium such as a CD-ROM storing the touch panel control program may be inserted into the touch panel control device, and the internal touch panel control program may be read into the constituent parts of the touch panel control device.
[0039]
The present invention is not limited to the above-described embodiment, and various modified embodiments can be adopted. For example, a touch panel control method using light having a wavelength other than infrared (visible light, ultraviolet light, etc.) may be employed.
[0040]
Further, the present invention can be adopted even if it is other than the infrared touch panel control device. For example, in a touch panel control device having a pressure-sensitive scanning line, when touch position data is detected within a predetermined time from detection of touch-off data, it may be recognized that the touch panel is touched.
[0041]
Moreover, it is not limited to the case where infrared rays are running on the touch panel in a grid pattern, and a touch panel in which infrared rays are running only in the horizontal direction or only in the vertical direction may be used. Moreover, the infrared rays may be running diagonally on the touch panel.
[0042]
【The invention's effect】
ADVANTAGE OF THE INVENTION According to this invention, when operating on a touch panel, the touch panel control apparatus and the program for touch panel control which can perform exact touch discrimination | determination at low cost can be provided.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of an embodiment of a touch panel control device of the present invention.
FIG. 2 is a flowchart showing an operation process of the touch panel control device of FIG. 1;
FIG. 3 is a diagram comparing functions of the touch panel control device of FIG. 1 and a conventional touch panel control device.
FIG. 4 is a diagram illustrating a structure of a touch panel of a conventional touch panel control device.
FIG. 5 is a flowchart showing an operation process of a touch panel control device having the touch panel structure of FIG. 4;
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 Touch panel control apparatus 2 Touch position data transmission part 3 Touch-off data transmission part 4 Release timer (timer)
5 Control unit

Claims (4)

タッチパネル上の所定位置において、発光素子と受光素子との間を結ぶ光の遮断の有無により上記所定位置を操作しているか否かを判別するタッチパネル制御装置であって、
上記受光素子が上記発光素子からの光を検出しない場合に、上記所定位置を操作していることを示すタッチ位置データを送信するタッチ位置データ送信部と、
上記受光素子が上記発光素子からの光を検出した場合に、上記タッチパネルを操作していないことを示すタッチオフデータを送信するタッチオフデータ送信部と、
上記タッチオフデータを取得した場合に、タッチオフの時間の計測を開始するタイマと、
上記タッチ位置データ送信部および上記タッチオフデータ送信部からの各データを受信可能であって、上記タッチ位置データを受け取った場合および上記計測時間が所定時間以内の場合には上記タッチパネルを操作していると判断する一方で、上記計測時間が上記所定時間を越えた場合には上記タッチパネルを操作していないと判断する制御部と、
を備えることを特徴とするタッチパネル制御装置。
A touch panel control device that determines whether or not the predetermined position is operated based on the presence or absence of light blocking between the light emitting element and the light receiving element at a predetermined position on the touch panel,
A touch position data transmitting unit that transmits touch position data indicating that the predetermined position is operated when the light receiving element does not detect light from the light emitting element;
A touch-off data transmission unit that transmits touch-off data indicating that the touch panel is not operated when the light receiving element detects light from the light emitting element;
When the touch-off data is acquired, a timer that starts measuring the touch-off time;
When each data from the touch position data transmission unit and the touch-off data transmission unit can be received and the touch position data is received and the measurement time is within a predetermined time, the touch panel is operated. A controller that determines that the touch panel is not operated when the measurement time exceeds the predetermined time;
A touch panel control device comprising:
前記所定時間は、0.15から0.20秒の範囲であることを特徴とする請求項1記載のタッチパネル制御装置。The touch panel control device according to claim 1, wherein the predetermined time is in a range of 0.15 to 0.20 seconds. タッチパネル上の所定位置において、発光素子と受光素子との間を結ぶ光の遮断の有無により上記所定位置を操作しているか否かを判別するタッチパネル制御用プログラムであって、
上記受光素子が上記発光素子からの光を検出しない場合に、上記所定位置を操作していることを示すタッチ位置データを取得するタッチ位置データ取得ステップと、
上記受光素子が上記発光素子からの光を検出して上記タッチパネルを操作していないことを示すタッチオフデータを取得したかどうかを判別するタッチオフデータ取得判別ステップと、
上記タッチオフデータを取得した場合に、時間の計測を開始させる時間計測ステップと、
所定時間以内に再び上記タッチ位置データを取得したか否かを判別する計測時間判別ステップと、
上記タッチオフデータを取得していない場合および上記所定時間以内に上記タッチ位置データを取得した場合に上記タッチパネルを操作していると判断するオン判断ステップと、
上記所定時間以内に上記タッチ位置データを取得しなかった場合に上記タッチパネルを操作していないと判断するオフ判断ステップと、
を含むことを特徴とするタッチパネル制御用プログラム。
A touch panel control program for determining whether or not the predetermined position is operated based on the presence or absence of light blocking between the light emitting element and the light receiving element at a predetermined position on the touch panel,
A touch position data acquisition step of acquiring touch position data indicating that the predetermined position is operated when the light receiving element does not detect light from the light emitting element;
A touch-off data acquisition determining step for determining whether the light-receiving element has detected touch-off data indicating that the light from the light-emitting element is detected and the touch panel is not operated;
When acquiring the touch-off data, a time measurement step for starting time measurement;
A measurement time determination step of determining whether or not the touch position data has been acquired again within a predetermined time;
An on determination step of determining that the touch panel is operated when the touch-off data is not acquired and when the touch position data is acquired within the predetermined time;
An off determination step of determining that the touch panel is not operated when the touch position data is not acquired within the predetermined time;
A program for controlling a touch panel, comprising:
前記所定時間は、0.15から0.20秒の範囲であることを特徴とする請求項3記載のタッチパネル制御用プログラム。The touch panel control program according to claim 3, wherein the predetermined time is in a range of 0.15 to 0.20 seconds.
JP2001099326A 2001-03-30 2001-03-30 Touch panel control device and touch panel control program Expired - Fee Related JP3798643B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001099326A JP3798643B2 (en) 2001-03-30 2001-03-30 Touch panel control device and touch panel control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001099326A JP3798643B2 (en) 2001-03-30 2001-03-30 Touch panel control device and touch panel control program

Publications (2)

Publication Number Publication Date
JP2002297318A JP2002297318A (en) 2002-10-11
JP3798643B2 true JP3798643B2 (en) 2006-07-19

Family

ID=18952877

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001099326A Expired - Fee Related JP3798643B2 (en) 2001-03-30 2001-03-30 Touch panel control device and touch panel control program

Country Status (1)

Country Link
JP (1) JP3798643B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4475014B2 (en) * 2004-06-01 2010-06-09 ソニー株式会社 Coordinate detection apparatus, control method for coordinate detection apparatus, control program for coordinate detection apparatus, and recording medium recording program for control method for coordinate detection apparatus
JP4429083B2 (en) 2004-06-03 2010-03-10 キヤノン株式会社 Shading type coordinate input device and coordinate input method thereof
JP4690157B2 (en) * 2005-09-16 2011-06-01 株式会社リコー Information input / output device, information processing device, program, and drag operation control method
JP4741673B2 (en) * 2006-08-25 2011-08-03 京セラ株式会社 Portable electronic device and method for controlling portable electronic device
JP5512220B2 (en) 2009-10-06 2014-06-04 京セラ株式会社 Mobile communication terminal and input control program
JP5381945B2 (en) * 2010-09-21 2014-01-08 アイシン・エィ・ダブリュ株式会社 Touch panel type operation device, touch panel operation method, and computer program
JP5732219B2 (en) * 2010-09-22 2015-06-10 京セラ株式会社 Electronics
JP5868727B2 (en) * 2012-03-02 2016-02-24 アルプス電気株式会社 Input device with movable touchpad

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06168069A (en) * 1992-12-01 1994-06-14 Matsushita Electric Ind Co Ltd Pen input device
JP3324835B2 (en) * 1993-08-06 2002-09-17 同和鉱業株式会社 Optical detector
JPH08221179A (en) * 1995-02-17 1996-08-30 Oki Electric Ind Co Ltd Data processing method of coordinate input device
JPH0991095A (en) * 1995-09-25 1997-04-04 Ricoh Co Ltd Display device with optical touch sensor
JP3876455B2 (en) * 1996-05-21 2007-01-31 ソニー株式会社 Coordinate input apparatus and method
JPH11306933A (en) * 1998-04-22 1999-11-05 Tokai Rika Co Ltd Touch operation information output device
JPH11305931A (en) * 1998-04-27 1999-11-05 Sanyo Electric Co Ltd Coordinate detector

Also Published As

Publication number Publication date
JP2002297318A (en) 2002-10-11

Similar Documents

Publication Publication Date Title
US7705831B2 (en) Pad type input device and scroll controlling method using the same
CN108700956B (en) Pen field force sensing calibration
US8269733B2 (en) Input precision
JP6261875B2 (en) How to distinguish between edge swipe gestures entering the touch sensor from edge swipe actions and from other similar but non-edge swipe actions
US20150301684A1 (en) Apparatus and method for inputting information
US11579727B2 (en) Input device and method of detecting an input
JP3798643B2 (en) Touch panel control device and touch panel control program
TWI403940B (en) Detecting method for photo sensor touch panel and touch control electronic apparatus using the same
ATE300064T1 (en) TOUCH SENSITIVE SCREEN, SYSTEM AND METHOD
JP2011053971A (en) Apparatus, method and program for processing information
KR101984737B1 (en) Touch system comprising optical touch panel and touch pen, and method of controlling interference optical signal in touch system
JP2008084158A (en) Input device
WO2019119361A1 (en) Method for avoiding mistakenly touching edge, touch control device and storage medium
US20120075086A1 (en) Input device, vibration device and input detection method
CN104951213B (en) The method for preventing false triggering boundary slip gesture
CN110069170A (en) Touch screen report point rate processing method, device, electronic equipment and readable storage medium storing program for executing
JPH08221203A (en) Input device with input time decision function
KR20180010182A (en) Method and apparatus for preventing malfunction of touch screen edge
WO2016082251A1 (en) Touch signal processing method and device
CN113360027A (en) False touch prevention method, wearable device and storage medium
US20240220053A1 (en) Accidental touch prevention method, wearable device, and storage medium
KR102213714B1 (en) Touch sensing system to prevent malfunctions
CN103809819A (en) Optical touch device and touch method thereof
KR101401271B1 (en) Display apparatus with touch pen
CN103677380A (en) Touch device and gesture judgment method thereof

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060221

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: 20060328

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060420

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: 20090428

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100428

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110428

Year of fee payment: 5

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120428

Year of fee payment: 6

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130428

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140428

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees