JP6604454B1 - Information processing device, touch panel device, and program - Google Patents
Information processing device, touch panel device, and program Download PDFInfo
- Publication number
- JP6604454B1 JP6604454B1 JP2019089030A JP2019089030A JP6604454B1 JP 6604454 B1 JP6604454 B1 JP 6604454B1 JP 2019089030 A JP2019089030 A JP 2019089030A JP 2019089030 A JP2019089030 A JP 2019089030A JP 6604454 B1 JP6604454 B1 JP 6604454B1
- Authority
- JP
- Japan
- Prior art keywords
- difference
- touch
- threshold
- predetermined range
- coordinates
- 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
Images
Abstract
【課題】タッチ操作の誤判定を抑制できる情報処理装置、タッチパネル装置及びプログラムを提供する。【解決手段】タッチパネル装置において、情報処理装置のタッチパネル用コントローラは、表示装置の表示領域に設けられたタッチパネルから検出値を表示領域内の座標について取得する取得部と、検出値と基準値との差分が所定範囲を外れる連続時間が時間閾値を超えること又は差分が所定範囲を外れる頻度が頻度閾値を超えることに応じて、タッチ閾値を調整または基準値を調整して差分を平準化する処理部と、検出値と基準値との差分が調整されたタッチ閾値を超えたか否かに応じて、検出値の座標に対するタッチ操作の有無を判定する判定部とを有する。【選択図】図3An information processing device, a touch panel device, and a program capable of suppressing erroneous determination of a touch operation are provided. In a touch panel device, a touch panel controller of an information processing device includes an acquisition unit that acquires a detection value from a touch panel provided in a display area of a display device for coordinates in the display area, and a detection value and a reference value. A processing unit that adjusts the touch threshold or adjusts the reference value to equalize the difference according to whether the continuous time when the difference is outside the predetermined range exceeds the time threshold or the frequency at which the difference is outside the predetermined range exceeds the frequency threshold And a determination unit that determines whether or not a touch operation is performed on the coordinates of the detected value according to whether or not the difference between the detected value and the reference value exceeds the adjusted touch threshold value. [Selection] Figure 3
Description
本発明は、情報処理装置、タッチパネル装置、及びプログラムに関する。 The present invention relates to an information processing device, a touch panel device, and a program.
表示装置の表示領域に設けられたタッチパネルから検出値(例えば、タッチパネル装置が静電容量方式の場合には容量値)を表示領域内の複数の座標について取得する情報処理装置では、現在の検出値と、初期設定時の検出値に基づいて定められた基準値との差分がタッチ閾値を超えたか否かに応じて、現在の検出値の座標に対するタッチ操作の有無を判定することがある。 In an information processing apparatus that acquires a detection value (for example, a capacitance value when the touch panel device is a capacitive type) from a touch panel provided in the display area of the display device for a plurality of coordinates in the display area, the current detection value Depending on whether or not a difference from a reference value determined based on a detection value at the time of initial setting exceeds a touch threshold value, the presence or absence of a touch operation on the coordinates of the current detection value may be determined.
しかしながら、情報処理装置において、タッチ操作が行われていない座標に対してタッチ操作が有りと判定されるなど、タッチ操作が誤判定される可能性がある。 However, in the information processing apparatus, there is a possibility that the touch operation is erroneously determined, for example, it is determined that the touch operation is performed on the coordinates where the touch operation is not performed.
開示の技術は、上記に鑑みてなされたものであって、タッチ操作の誤判定を抑制できる情報処理装置、タッチパネル装置、及びプログラムを提供することを目的とする。 The disclosed technology has been made in view of the above, and an object thereof is to provide an information processing device, a touch panel device, and a program that can suppress erroneous determination of a touch operation.
本願の開示する情報処理装置は、一つの態様において、表示装置の表示領域に設けられたタッチパネルから検出値を前記表示領域内の座標について取得する取得部と、前記タッチパネルの表面内が分割されそれぞれが複数の座標を含む複数の部分領域について部分領域とタッチ閾値とが対応付けられたタッチ閾値設定情報を格納する記憶部と、前記検出値と基準値との差分が所定範囲を外れる連続時間が時間閾値を超えること、又は、前記差分が前記所定範囲を外れる頻度が頻度閾値を超えることに応じて、前記タッチ閾値設定情報における前記検出値の座標が含まれる部分領域に対応したタッチ閾値を変更する処理部と、前記検出値と前記基準値との差分が前記変更されたタッチ閾値を超えたか否かに応じて、前記検出値の座標に対するタッチ操作の有無を判定する判定部とを有する。 In one aspect, the information processing apparatus disclosed in the present application is obtained by dividing an acquisition unit that acquires detection values for coordinates in the display area from a touch panel provided in the display area of the display device, and a surface of the touch panel. A storage unit that stores touch threshold setting information in which a partial area and a touch threshold are associated with each other for a plurality of partial areas including a plurality of coordinates, and a continuous time in which a difference between the detected value and the reference value is out of a predetermined range The touch threshold corresponding to the partial region including the coordinates of the detection value in the touch threshold setting information is changed in response to exceeding the time threshold or the frequency at which the difference is outside the predetermined range exceeds the frequency threshold. a processing unit for the difference between the detected value and the reference value depending on whether exceeds the changed touch threshold, data relative to the coordinate of the detection value And a determination unit for determining whether the switch operation.
本願の開示するタッチパネル装置は、一つの態様において、表示装置と、前記表示装置の表示領域に設けられたタッチパネルと、前記タッチパネルから検出値を前記表示領域内の座標について取得する取得部と、前記タッチパネルの表面内が分割されそれぞれが複数の座標を含む複数の部分領域について部分領域とタッチ閾値とが対応付けられたタッチ閾値設定情報を格納する記憶部と、前記検出値と基準値との差分が所定範囲を外れる連続時間が時間閾値を超えること、又は、前記差分が前記所定範囲を外れる頻度が頻度閾値を超えることに応じて、前記タッチ閾値設定情報における前記検出値の座標が含まれる部分領域に対応したタッチ閾値を変更する処理部と、前記検出値と前記基準値との差分が前記変更されたタッチ閾値を超えたか否かに応じて、前記検出値の座標に対するタッチ操作の有無を判定する判定部とを有する。 The touch panel device disclosed in the application, in one embodiment, a display device, a touch panel provided on a display area of the display device, an acquisition unit of the detection value from the touch panel acquires the coordinates of the display area, wherein A storage unit that stores touch threshold setting information in which a partial area and a touch threshold are associated with each other for a plurality of partial areas each of which includes a plurality of coordinates, and the difference between the detection value and the reference value A portion including the coordinates of the detection value in the touch threshold setting information in response to the continuous time exceeding the predetermined range exceeding a time threshold or the frequency of the difference exceeding the predetermined range exceeding the frequency threshold a processing unit for changing the touch threshold value corresponding to the region, or the difference between the reference value and the detected value exceeds the changed touch threshold Depending on whether, and a determination unit for determining whether or not a touch operation relative to the coordinate of the detected value.
本願の開示するプログラムは、一つの態様において、表示装置の表示領域に設けられたタッチパネルから検出値を前記表示領域内の座標について取得する取得ステップと、前記タッチパネルの表面内が分割されそれぞれが複数の座標を含む複数の部分領域について部分領域とタッチ閾値とが対応付けられたタッチ閾値設定情報を格納する記憶ステップと、前記検出値と基準値との差分が所定範囲を外れる連続時間が時間閾値を超えること、又は、前記差分が前記所定範囲を外れる頻度が頻度閾値を超えることに応じて、前記タッチ閾値設定情報における前記検出値の座標が含まれる部分領域に対応したタッチ閾値を変更する処理ステップと、前記検出値と前記基準値との差分が前記変更されたタッチ閾値を超えたか否かに応じて、前記検出値の座標に対するタッチ操作の有無を判定する判定ステップとをコンピュータに実行させる。 In one aspect, the program disclosed in the present application includes an acquisition step of acquiring detection values for coordinates in the display area from a touch panel provided in the display area of the display device, and a plurality of each of which is divided in the surface of the touch panel. A storage step of storing touch threshold setting information in which a partial area and a touch threshold are associated with each other for a plurality of partial areas including the coordinates, and a continuous time when a difference between the detection value and the reference value is out of a predetermined range Or changing the touch threshold corresponding to the partial area including the coordinates of the detection value in the touch threshold setting information in response to the frequency that the difference deviates from the predetermined range exceeds the frequency threshold. a step, a difference between the detected value and the reference value depending on whether exceeds the changed touch threshold, the detection value To execute a determining step of determining whether the touch operation to the computer with respect to the coordinate.
本願の開示する情報処理装置の一つの態様によれば、タッチ操作の誤判定を抑制できる。 According to one aspect of the information processing apparatus disclosed in the present application, erroneous determination of a touch operation can be suppressed.
以下に、本願の開示するタッチパネル装置の実施形態を図面に基づいて詳細に説明する。なお、この実施形態により開示技術が限定されるものではない。また、実施形態において同一の機能を有する構成には同一の符号を付し、重複する説明は省略される。 Hereinafter, embodiments of a touch panel device disclosed in the present application will be described in detail with reference to the drawings. The disclosed technology is not limited by this embodiment. Moreover, the same code | symbol is attached | subjected to the structure which has the same function in embodiment, and the overlapping description is abbreviate | omitted.
(実施形態)
実施形態にかかるタッチパネル装置は、例えば、スマートフォン、タブレット装置、パーソナルコンピュータなどの端末である。タッチパネル装置では、操作性の向上のために、表示装置(例えば、LCD(Liquid Crystal Display))の表示領域にタッチパネルを設けることが要求され得る。すなわち、表示装置の表示部に対して所定のギャップを介してタッチパネルが重ね合わされる。タッチパネルの表面は、表示部からの画像が表示される表示領域と操作のためのタッチ領域とを兼ねる。
(Embodiment)
The touch panel device according to the embodiment is, for example, a terminal such as a smartphone, a tablet device, or a personal computer. In the touch panel device, in order to improve operability, it may be required to provide a touch panel in a display area of a display device (for example, an LCD (Liquid Crystal Display)). That is, the touch panel is superimposed on the display unit of the display device via a predetermined gap. The surface of the touch panel serves as both a display area for displaying an image from the display unit and a touch area for operation.
タッチパネル装置において、静電容量方式のタッチパネルが用いられた場合、他の方式(例えば、抵抗膜方式)のタッチパネルが用いられた場合に比べて、優れたタッチ検出の感度を実現可能である。タッチ領域への軽い接触をタッチ操作として検出可能であるなど、高感度で軽快な操作性を実現可能である。その反面、タッチ操作が行われていない座標に対してタッチ操作が有りと判定されるなど、タッチ操作が誤判定されることがある。 In the touch panel device, when a capacitive touch panel is used, it is possible to realize excellent touch detection sensitivity as compared with the case where another type (for example, a resistive film type) touch panel is used. High sensitivity and nimble operability can be realized, for example, a light touch on the touch area can be detected as a touch operation. On the other hand, the touch operation may be erroneously determined, for example, it is determined that there is a touch operation on the coordinates where the touch operation is not performed.
例えば、タッチパネル装置では、可搬性の向上のために、薄型軽量化が要求され得る。タッチパネル装置の薄型軽量化が進むと、タッチパネル装置を持ち運んで使用するシチュエーションが多くなる。このため、タッチパネル装置を変形させる力(例えば、歪ませる力)がかかるシチュエーションが増え、また、薄型軽量化によって、筐体の強度が少なくなる分タッチパネルへの負荷が増える可能性がある。 For example, a touch panel device may be required to be thin and light in order to improve portability. As the touch panel device becomes thinner and lighter, there are more situations where the touch panel device is carried and used. For this reason, the situation which the force (for example, the force which distorts) which deform | transforms a touch panel device increases, and the load to a touch panel may increase by the reduction in the intensity | strength of a housing | casing by weight reduction.
タッチパネル装置では、静電容量方式のタッチパネルから容量値を表示領域内の複数の座標について取得する情報処理装置が設けられ得る。この情報処理装置では、非タッチ状態での初期設定時の検出値に基づいて定められた基準値と現在の検出値との差分がタッチ閾値を超えたことでタッチ操作が有ると判定する。このとき、筐体の変形の影響を受けてタッチパネルと表示装置とのギャップが経時的に変化し面内でばらつくと、面内の座標によっては、非タッチ状態での現在の検出値が初期設定時の基準値から乖離することなどにより、非タッチ状態での現在の検出値と初期設定時の基準値との差分がタッチ閾値を超えることが起こり得る。すなわち、情報処理装置において、タッチ操作が行われていない座標に対してタッチ操作が有りと判定されるなど、タッチ操作が誤判定される可能性がある。 The touch panel device may be provided with an information processing device that acquires a capacitance value for a plurality of coordinates in the display area from a capacitive touch panel. In this information processing apparatus, it is determined that there is a touch operation because the difference between the reference value determined based on the detection value at the initial setting in the non-touch state and the current detection value exceeds the touch threshold. At this time, if the gap between the touch panel and the display device changes with time due to the deformation of the housing and varies in the plane, the current detection value in the non-touch state is initially set depending on the coordinates in the plane. The difference between the current detection value in the non-touch state and the reference value at the initial setting may exceed the touch threshold due to deviation from the reference value at the time. That is, in the information processing apparatus, there is a possibility that the touch operation is erroneously determined, for example, it is determined that there is a touch operation with respect to coordinates where the touch operation is not performed.
そこで、本実施形態では、情報処理装置において、検出値と基準値との差分が本来の基準値を含む所定範囲を継続的に外れる場合に変形等の環境変化が発生したとしてタッチ閾値を調整することで、タッチ操作の誤判定の抑制を図る。 Therefore, in this embodiment, in the information processing apparatus, the touch threshold is adjusted on the assumption that an environmental change such as deformation has occurred when the difference between the detected value and the reference value is continuously outside the predetermined range including the original reference value. In this way, the erroneous determination of the touch operation is suppressed.
具体的には、変形等の環境変化による検出値と初期設定時の基準値との差分(例えば、現在の容量値と初期設定時の容量値との差分)は、タッチ操作による検出値と基準値との差分に比較して、より継続的に値が維持される傾向にある。このため、検出値と基準値との差分が所定範囲を外れる連続時間が時間閾値を超えた場合に、差分が所定範囲を外れたことが、タッチ操作によるものでなく、変形等の環境変化の影響が発生したことによるものであると判断できる。すなわち、タッチ操作と区別した形で、変形等の環境変化の影響の発生を判断でき、それに応じて、タッチ閾値を増加させるなどの調整を行うことができる。例えば、表示領域を複数の部分領域に分割して、この調整を部分領域ごとに行えば、表示領域全体についてタッチ閾値を調整する場合に比べて、タッチパネルの感度の低減を抑制しながらタッチ操作の誤判定を効果的に抑制できる。 Specifically, the difference between the detected value due to environmental changes such as deformation and the reference value at the initial setting (for example, the difference between the current capacitance value and the initial capacitance value) is the difference between the detected value by the touch operation and the reference value. Compared to the difference from the value, the value tends to be maintained more continuously. For this reason, when the difference between the detected value and the reference value exceeds the time threshold for a continuous time that exceeds the predetermined range, it is not due to the touch operation that the difference is out of the predetermined range. It can be determined that this is due to the impact. That is, it is possible to determine the occurrence of the influence of environmental changes such as deformation in a form distinguished from the touch operation, and to adjust the touch threshold value accordingly. For example, if the display area is divided into a plurality of partial areas and this adjustment is performed for each partial area, the touch operation can be performed while suppressing a reduction in the sensitivity of the touch panel as compared with the case where the touch threshold is adjusted for the entire display area. It is possible to effectively suppress erroneous determination.
より具体的には、情報処理装置4を含むタッチパネル装置1は、図1に示すように構成され得る。図1は、情報処理装置4を含むタッチパネル装置1の構成を示す図である。
More specifically, the
図1に示されるように、タッチパネル装置1は、タッチパネル2及び情報処理装置4を有する。情報処理装置4は、タッチパネル用コントローラ41及び制御部42を有する。
As illustrated in FIG. 1, the
タッチパネル装置1は、タッチパネルが設けられた装置であればよく、例えば、スマートフォン、タブレット装置、パーソナルコンピュータなどの端末である。
The
制御部42は、CPU(Central Processing Unit)421、RAM(Random Access Memory)422、ROM(Read only memory)423を有する。制御部42は、タッチパネル装置1の各部を統括的に制御する。
The
ROM423は、タッチパネル2を制御するためのプログラムが格納されている。そして、CPU421が、ROM423に格納されていたプログラムを読み出して、RAM422を作業領域として用いることで、様々な機能を実現できる。
The ROM 423 stores a program for controlling the
表示装置3は、表示部3aを有する。表示装置3は、制御部42からの制御に従って、表示部3aからタッチパネル2の表面2a上に様々な情報を表示させる。
The display device 3 includes a
タッチパネル2は、表示装置3の表示領域に設けられたシート状の位置入力装置である。表面2aに垂直な方向をZ方向とし、Z方向に垂直な面内で互いに直交する2方向をX方向及びY方向とすると(例えば、図2参照)、タッチパネル2は、表示装置3の表示部3aに対して所定のギャップを介してZ方向に重ね合わされる。タッチパネル2の表面2aは、表示部3aからの画像が表示される表示領域と操作のためのタッチ領域とを兼ねる。タッチパネル2は、ユーザから押圧されたことに基づいて生じる静電容量の変化を検出する、いわゆる静電容量方式の位置検出装置とする。なお、本実施形態では、静電容量方式のタッチパネル2が用いられる場合について例示するが、他の方式のタッチパネル2が用いられてもよい。
The
タッチパネル2の表面2aには、例えば、図2に示すように、タッチ操作を検出するための複数の電極(例えば、複数の透明電極)が2次元的に配列され、複数の電極に複数の座標(X1,Y1)〜(X9,Y6)が割り当てられ得る。図2は、タッチパネル2の構成を示す図である。図2では、タッチパネル2の表面2aに9×6個の電極が配列され、それらの電極に9×6個の座標が割り当てられる場合について例示している。
On the
タッチパネル2の表面2aは、それぞれが複数の座標を含む複数の部分領域RG11,RG12,RG13,RG21,RG22,RG23に分割され得る。
部分領域RG11は、複数の座標(X1,Y1)〜(X3,Y1),(X1,Y2)〜(X3,Y2),(X1,Y3)〜(X3,Y3)を含む。部分領域RG12は、複数の座標(X4,Y1)〜(X6,Y1),(X4,Y2)〜(X6,Y2),(X4,Y3)〜(X6,Y3)を含む。部分領域RG13は、複数の座標(X7,Y1)〜(X9,Y1),(X7,Y2)〜(X9,Y2),(X7,Y3)〜(X9,Y3)を含む。部分領域RG21は、複数の座標(X1,Y4)〜(X3,Y4),(X1,Y5)〜(X3,Y5),(X1,Y6)〜(X3,Y6)を含む。部分領域RG22は、複数の座標(X4,Y4)〜(X6,Y4),(X4,Y5)〜(X6,Y5),(X4,Y6)〜(X6,Y6)を含む。部分領域RG23は、複数の座標(X7,Y4)〜(X9,Y4),(X7,Y5)〜(X9,Y5),(X7,Y6)〜(X9,Y6)を含む。 Partial region RG11 includes a plurality of coordinates (X1, Y1) to (X3, Y1), (X1, Y2) to (X3, Y2), (X1, Y3) to (X3, Y3). Partial region RG12 includes a plurality of coordinates (X4, Y1) to (X6, Y1), (X4, Y2) to (X6, Y2), (X4, Y3) to (X6, Y3). The partial region RG13 includes a plurality of coordinates (X7, Y1) to (X9, Y1), (X7, Y2) to (X9, Y2), (X7, Y3) to (X9, Y3). Partial region RG21 includes a plurality of coordinates (X1, Y4) to (X3, Y4), (X1, Y5) to (X3, Y5), (X1, Y6) to (X3, Y6). Partial region RG22 includes a plurality of coordinates (X4, Y4) to (X6, Y4), (X4, Y5) to (X6, Y5), (X4, Y6) to (X6, Y6). The partial region RG23 includes a plurality of coordinates (X7, Y4) to (X9, Y4), (X7, Y5) to (X9, Y5), (X7, Y6) to (X9, Y6).
なお、タッチパネル装置1では、タッチ操作を検出するためのタッチ閾値が部分領域RG11〜RG23毎に設定可能となっており、タッチ閾値設定情報422aが予め生成され制御部42のRAM422に格納されている。タッチ閾値設定情報422aは、部分領域を識別する情報とタッチ閾値とが複数の部分領域について対応付けられている。
In the
また、タッチパネル2の表面2aは、長手方向(例えば、図2の場合にはX方向)における両端に、非検出領域ND1,ND2を有していてもよい。非検出領域ND1,ND2には、電極が配されておらず、座標が割り当てられていない。表面2aの長手方向における両端は、筐体の変形の影響を顕著に受ける可能性がある。そのため、表面2aの長手方向における両端に非検出領域ND1,ND2を設けることで、タッチ操作の誤判定を効果的に抑制できる。
Further, the
タッチパネル2は、座標(X1,Y1)〜(X9,Y6)毎の静電容量を示した信号を検出値としてタッチパネル用コントローラ41に出力する。
The
タッチパネル用コントローラ41は、タッチパネル2から入力された検出値に基づいて、ユーザによって押圧された座標を示した座標データを、制御部42に出力する。これにより、制御部42は、ユーザから入力された操作に従った制御を実現できる。
The
タッチパネル用コントローラ41は、CPU、ROM、RAMを少なくとも有する。ROMには、各種ソフトウェアプログラムやこのプログラム用のデータ類が書き込まれている。そして、CPUが、ROMに格納されているソフトウェアプログラムを読み込むことで様々な機能を実現している。また、RAMは、ワーキングメモリとして利用される。
The
次に、タッチパネル用コントローラ41において実現されている様々なソフトウェア構成について図3を用いて説明する。図3は、タッチパネル用コントローラ41で実現されるソフトウェア構成を示した図である。図3に示されるように、タッチパネル用コントローラ41は、取得部411、処理部412、及び判定部413を有している。
Next, various software configurations implemented in the
取得部411は、タッチパネル2から検出値を表面2a内の複数の座標(X1,Y1)〜(X9,Y6)について取得する。取得部411は、各検出値をその座標に関連付けた形で処理部412へ供給する。取得部411は、初期設定時に、タッチパネル2から非タッチ状態の検出値を取得し、各検出値をその座標に関連付けた形で処理部412へ供給する。取得部411は、その後の検出時に、タッチパネル2から検出値を取得し、各検出値をその座標に関連付けた形で処理部412へ供給する。
The acquisition unit 411 acquires detection values from the
処理部412は、初期設定時に、取得部411で取得された検出値を基準値として座標(X1,Y1)〜(X9,Y6)毎に保持する。処理部412は、その後の検出時に、取得部411で取得された検出値を座標(X1,Y1)〜(X9,Y6)毎に受ける。処理部412は、検出値から基準値を減算することなどにより、検出値と基準値との差分を座標(X1,Y1)〜(X9,Y6)毎に求める。処理部412は、検出値と基準値との差分をその座標に関連付けた形で保持する。また、処理部412は、差分をその座標に関連付けた形で判定部413へ供給する。
The
例えば、タッチ操作が行われていない非タッチ状態でタッチパネル2から取得された検出値を用いて処理部412で求められる検出値と基準値との差分は、理想的には、図4(a)のようになる。図4(a)は、理想的な場合における非タッチ状態の検出値と基準値との差分を示す図である。図4(a)に示されるように、各座標(X1,Y1)〜(X9,Y6)において、検出値と基準値との差分が略ゼロとなっている。
For example, the difference between the detection value obtained by the
一方、変形等の環境変化の影響が発生すると、非タッチ状態でタッチパネル2から取得された検出値を用いて処理部412で求められる検出値と基準値との差分は、図4(b)のようになる。図4(b)は、変形等の環境変化の影響が発生した場合における非タッチ状態の検出値と基準値との差分を示す図である。図4(b)に示されるように、各座標(X1,Y1)〜(X9,Y6)において、検出値と基準値との差分が略ゼロからずれてばらついたものとなっている。
On the other hand, when the influence of environmental changes such as deformation occurs, the difference between the detection value obtained by the
この傾向が強くなっていくと、面内の座標によっては、非タッチ状態での現在の検出値が初期設定時の検出値に基づいて定められた基準値から乖離することなどにより、非タッチ状態での現在の検出値と初期設定時の基準値との差分がタッチ閾値を超えることが起こり得る。すなわち、判定部413において、タッチ操作が行われていない座標に対してタッチ操作が有ると判定されるなど、タッチ操作が誤判定される可能性がある。 If this tendency becomes stronger, depending on the in-plane coordinates, the current detection value in the non-touch state may deviate from the reference value determined based on the detection value at the initial setting. It is possible that the difference between the current detection value at and the reference value at the initial setting exceeds the touch threshold. That is, there is a possibility that the determination unit 413 erroneously determines the touch operation, for example, it is determined that there is a touch operation with respect to coordinates where the touch operation is not performed.
それに対して、処理部412は、検出値と基準値との差分が所定範囲を外れる連続時間が時間閾値を超えることに応じて、タッチ閾値を調整する。処理部412は、差分が所定範囲を正側に外れる連続時間が時間閾値を超えた場合、タッチ閾値を調整する。処理部412は、差分が所定範囲を正側に外れる連続時間が時間閾値以下である場合、タッチ閾値を調整しない。処理部412は、差分が所定範囲を負側に外れる連続時間が時間閾値を超えた場合、タッチ閾値を調整しない。処理部412は、差分が所定範囲を負側に外れる連続時間が時間閾値以下である場合、タッチ閾値を調整しない。
On the other hand, the
処理部412は、部分領域RG11〜RG23毎に、タッチ閾値を調整する。例えば、処理部412は、部分領域に含まれる少なくとも1つの座標の差分が所定範囲を正側に外れる連続時間が時間閾値を超えた場合、タッチ閾値を調整してもよい。あるいは、処理部412は、部分領域に含まれる半分以上の個数の座標の差分が所定範囲を正側に外れる連続時間が時間閾値を超えた場合、タッチ閾値を調整してもよい。あるいは、処理部412は、部分領域に含まれる全ての座標の差分が所定範囲を正側に外れる連続時間が時間閾値を超えた場合、タッチ閾値を調整してもよい。
The
処理部412は、制御部42のRAM422にアクセスし、調整後のタッチ閾値でタッチ閾値設定情報422aを更新する。これにより、判定部413は、調整後のタッチ閾値をその部分領域と対応付けた形でRAM422から読み出す。判定部413は、処理部412から受けた差分を、その差分の座標が含まれる部分領域のタッチ閾値と比較する。すなわち、判定部413は、差分が調整後のタッチ閾値を超えたか否かに応じて、検出値の座標に対するタッチ操作の有無を判定する。判定部413は、差分が調整後のタッチ閾値を超えた場合、タッチ操作が有ると判定し、差分が調整後のタッチ閾値以下である場合、タッチ操作が無いと判定する。
The
次に、タッチパネル装置1の動作について図5を用いて説明する。図5は、タッチパネル装置1の動作を示すフローチャートである。
Next, the operation of the
タッチパネル装置1において、処理部412は、電源起動時やスタンバイ状態からの電源復帰時などの所定のタイミングにおいて、初期設定を行う(S1)。初期設定において、取得部411は、タッチパネル2の表面2aにおける座標(X1,Y1)〜(X9,Y6)毎に検出値を取得し、処理部412は、その検出値を基準値として保持する。なお、処理部412は、座標(X1,Y1)〜(X9,Y6)毎の基準値を基準値情報として生成し、制御部42のRAM422に格納してもよい。基準値情報は、座標を識別する情報と基準値とが複数の座標について対応付けられている。
In the
さらに、初期設定において、処理部412は、タッチ閾値設定情報422aを生成して制御部42のRAM422に格納する。タッチ閾値設定情報422aは、部分領域を識別する情報とタッチ閾値とが複数の部分領域について対応付けられている。タッチ閾値設定情報422aは、例えば、図6に示すようなデータ構造を有する。図6は、初期設定時のタッチ閾値設定情報422aのデータ構造を示す図である。
Further, in the initial setting, the
タッチ閾値設定情報422aは、図6に示すように、領域識別情報欄422a1及びタッチ閾値欄422a2を含む。領域識別情報欄422a1には、部分領域を識別する情報が記録される。タッチ閾値欄422a2には、領域識別情報欄422a1と関連付けられたタッチ閾値が記録される。タッチ閾値設定情報422aを参照することで、部分領域RG11のタッチ閾値がDth11であることが把握できる。同様に、部分領域RG23のタッチ閾値がDth23であることが把握できる。初期設定時において、各タッチ閾値Dth11〜Dth23は、異なっていてもよいし、共通の値(例えば、デフォルト値Dth)に揃えられていてもよい。
As shown in FIG. 6, the touch
図5に戻って、処理部412は、タッチ閾値の調整タイミングであるか否か判断する(S2)。タッチパネル用コントローラ41は、電源起動時や電源復帰時から所定の周期が経過していれば、タッチ閾値の調整タイミングであると判断してもよく、電源起動時や電源復帰時から所定の周期が経過していなければ、タッチ閾値の調整タイミングでないと判断してもよい。
Returning to FIG. 5, the
タッチ閾値の調整タイミングである場合(S2で「Yes」)、取得部411及び処理部412は、タッチ閾値の調整処理(S3)を行う。タッチ閾値の調整処理では、取得部411は、タッチパネル2から検出値を表示領域内の座標について取得する。処理部412は、検出値と基準値との差分が所定範囲を外れる連続時間が時間閾値を超えることに応じて、タッチ閾値を調整する。タッチ閾値の調整処理については、後で詳細に説明する。タッチ閾値の調整タイミングでない場合(S2で「No」)、取得部411及び処理部412は、タッチ閾値の調整処理をスキップする。
When it is the touch threshold adjustment timing (“Yes” in S2), the acquisition unit 411 and the
取得部411は、タッチパネル2の表面2aにおける座標(X1,Y1)〜(X9,Y6)毎に検出値を取得する(S4)。処理部412は、複数の座標(X1,Y1)〜(X9,Y6)のうち処理対象の座標を選択する。処理部412は、処理対象の座標について検出値と基準値との差分を算出する(S5)。判定部413は、タッチ閾値設定情報422aを制御部42のRAM422から読み出す。判定部413は、タッチ閾値設定情報422aを参照して、差分の座標を含む部分領域のタッチ閾値を特定する。判定部413は、S5で算出された差分とその特定されたタッチ閾値と比較し、差分がタッチ閾値を超えているか否かを判断する(S6)。
The acquisition unit 411 acquires a detection value for each coordinate (X1, Y1) to (X9, Y6) on the
判定部413は、差分がタッチ閾値を超えていれば(S6で「Yes」)、処理対象の座標に対してタッチ操作「有」と判断し(S7)、差分がタッチ閾値未満であれば(S6で「No」)、処理対象の座標に対してタッチ操作「無」と判断する(S8)。 If the difference exceeds the touch threshold (“Yes” in S6), the determination unit 413 determines that the touch operation is “present” with respect to the coordinates to be processed (S7), and if the difference is less than the touch threshold ( If “No” in S6), it is determined that the touch operation is “no” for the coordinates to be processed (S8).
処理部412は、複数の座標(X1,Y1)〜(X9,Y6)の全ての座標についてS4〜S7の処理を行ったか否かを判断する(S9)。処理部412は、全ての座標についてS4〜S7の処理を行っていない場合(S9で「No」)、複数の座標(X1,Y1)〜(X9,Y6)のうち未処理の座標を処理対象の座標として選択し、処理をS4へ戻す。処理部412は、全ての座標についてS4〜S7の処理を行った場合(S9で「Yes」)、処理を終了する。
The
次に、タッチ閾値の調整処理(S3)の詳細について図7を用いて説明する。図7は、タッチ閾値の調整処理(S3)を示すフローチャートである。 Next, details of the touch threshold adjustment processing (S3) will be described with reference to FIG. FIG. 7 is a flowchart showing touch threshold adjustment processing (S3).
タッチパネル装置1において、処理部412は、所定範囲を設定する(S10)。この所定範囲は、本来の基準値(ここでは、略ゼロ)を含み且つタッチ閾値を含まない範囲である。タッチ閾値とゼロとの間の値を+Aとするとき、所定範囲は、−A〜+Aの範囲としてもよい。
In the
なお、処理部412は、タッチパネル2に対してタッチ操作を行わないようにユーザに促すメッセージを表面2aに表示させるように、制御部42経由で表示装置3を制御してもよい。
The
処理部412は、複数の部分領域RG11〜RG23のうち処理対象の部分領域を選択する。取得部411は、処理対象の部分領域に含まれる各座標について、タッチパネル2から検出値を取得する(S11)。処理部412は、検出値から基準値を減算することなどにより、その座標について検出値と基準値との差分を算出する(S12)。処理部412は、差分が所定範囲(例えば、−A〜+A)を正側に外れるか否か、すなわち、差分が所定範囲の上限(例えば、+A)を超えるか否かを判断する(S13)。
The
例えば、X座標=X1〜X9、Y座標=Y5に対する検出値と基準値との差分が図8(a)に示すようになっている場合、部分領域RG21内の各座標の差分は、所定範囲の上限以下であると判断される。部分領域RG22内の各座標の差分は、所定範囲の上限を超えると判断される。部分領域RG23内の各座標の差分は、所定範囲の上限以下であると判断される。図8は、タッチ閾値の調整を示す図である。 For example, when the difference between the detected value and the reference value for X coordinate = X1 to X9 and Y coordinate = Y5 is as shown in FIG. 8A, the difference between the coordinates in the partial region RG21 is within a predetermined range. It is determined that it is below the upper limit. It is determined that the difference between the coordinates in the partial region RG22 exceeds the upper limit of the predetermined range. It is determined that the difference between the coordinates in the partial region RG23 is less than or equal to the upper limit of the predetermined range. FIG. 8 is a diagram illustrating adjustment of the touch threshold value.
図7に戻って、処理部412は、差分が所定範囲内に収まっているか所定範囲を負側に外れる場合、すなわち、差分が所定範囲の上限以下である場合(S13で「No」)、処理をS11へ戻す。
Returning to FIG. 7, when the difference falls within the predetermined range or deviates from the predetermined range to the negative side, that is, when the difference is not more than the upper limit of the predetermined range (“No” in S13), the
処理部412は、差分が所定範囲を正側に外れる場合、すなわち、差分が所定範囲の上限を超える場合(S13で「Yes」)、差分が所定範囲を正側に外れる連続時間を計る。処理部412は、連続時間を計りながら連続時間を時間閾値(例えば、m秒)と比較し、連続時間が時間閾値を超えたか否か判断する。mは、任意の正の数である。処理部412は、差分が所定範囲内に収まるなど連続時間が時間閾値以下で完結した場合(S14で「No」)、処理をS11へ戻す。
When the difference deviates from the predetermined range to the positive side, that is, when the difference exceeds the upper limit of the predetermined range (“Yes” in S13), the
処理部412は、連続時間が時間閾値を超えた場合(S14で「Yes」)、変形等の環境変化の影響が発生したと判断し(S15)、タッチ閾値を調整する(S16)。
When the continuous time exceeds the time threshold (“Yes” in S14), the
例えば、X座標=X1〜X9、Y座標=Y5に対する検出値と基準値との差分が図8(a)に示すようになっている場合、処理部412は、図8(b)に示すようにタッチ閾値を調整する。処理部412は、部分領域RG22について、タッチ閾値をDth22からDth22aに増加させる。当該処理は、下記の式で表すことができる。
Dth22+ΔDth22=Dth22a
この式における増加量ΔDth22は任意であるが、例えば、ΔDth22=+Aとしてもよいし、ΔDth22=+A×K(例えば、Kは1より大きい任意の数)としてもよい。
For example, when the difference between the detected value and the reference value for X coordinate = X1 to X9 and Y coordinate = Y5 is as shown in FIG. 8A, the
Dth22 + ΔDth22 = Dth22a
The increase amount ΔDth22 in this expression is arbitrary, but may be, for example, ΔDth22 = + A, or ΔDth22 = + A × K (for example, K is an arbitrary number greater than 1).
図7に戻って、処理部412は、制御部42のRAM422にアクセスし、調整後のタッチ閾値でタッチ閾値設定情報422aを更新する。
Returning to FIG. 7, the
例えば、部分領域RG12のタッチ閾値がDth12からDth12aに調整され、部分領域RG22のタッチ閾値がDth22からDth22aに調整された場合、タッチ閾値設定情報422aは、図9に示すようになる。
For example, when the touch threshold of the partial region RG12 is adjusted from Dth12 to Dth12a and the touch threshold of the partial region RG22 is adjusted from Dth22 to Dth22a, the touch
図7に戻って、処理部412は、複数の部分領域RG11〜RG23の全ての部分領域についてS11〜S16の処理を行ったか否かを判断する(S17)。処理部412は、全ての部分領域についてS11〜S16の処理を行っていない場合(S17で「No」)、複数の部分領域RG11〜RG23のうち未処理の部分領域を処理対象の部分領域として選択し、処理をS11へ戻す。処理部412は、全ての部分領域についてS11〜S16の処理を行った場合(S17で「Yes」)、処理を終了する。
Returning to FIG. 7, the
以上のように、本実施形態では、情報処理装置4において、検出値と基準値との差分が本来の基準値を含む所定範囲を継続的に外れる場合に変形等の環境変化が発生したとしてタッチ閾値を調整する。例えば、情報処理装置4は、検出値と基準値との差分が所定範囲を外れる連続時間が時間閾値を超えることに応じて、タッチ閾値を調整する(例えば、増加させる)。これにより、タッチ操作の誤判定を抑制できる。したがって、タッチパネル装置1が薄型軽量化した場合に、安定したタッチパネル動作を提供でき、ユーザの満足度を上げることができる。
As described above, in the present embodiment, in the
また、本実施形態では、情報処理装置4において、タッチパネル2の表面2aの部分領域ごとにタッチ閾値を調整する。これにより、表面2a全体についてタッチ閾値を調整する場合に比べて、タッチパネル2の感度の低減を抑制しながらタッチ操作の誤判定を効果的に抑制できる。
In the present embodiment, in the
また、本実施形態では、情報処理装置4において、検出値と基準値との差分が所定範囲を正側に外れる連続時間が時間閾値を超えた場合、タッチ閾値を調整し、検出値と基準値との差分が所定範囲を負側に外れる連続時間が時間閾値を超えた場合、タッチ閾値を調整しない。これにより、タッチパネル2の感度の低減を抑制しながらタッチ操作の誤判定を効果的に抑制できる。
In the present embodiment, in the
(第1の変形例)
なお、情報処理装置4は、タッチパネル2の表面2aの座標(X1,Y1)〜(X9,Y6)毎にタッチ閾値を調整してもよい。例えば、X座標=X1〜X9、Y座標=Y5に対する検出値と基準値との差分が図10(a)に示すようになっている場合、処理部412は、図10(b)に示すようにタッチ閾値を調整してもよい。図10は、実施形態の第1の変形例におけるタッチ閾値の調整を示す図である。処理部412は、差分が所定範囲の上限(例えば、+A)を超える座標(X3,Y5)について、タッチ閾値をDth22からDth223に増加させる。当該処理は、下記の式で表すことができる。
Dth22+ΔDthX3=Dth223
処理部412は、差分が所定範囲の上限を超える座標(X4,Y5)について、タッチ閾値をDth22からDth224に増加させる。当該処理は、下記の式で表すことができる。
Dth22+ΔDthX4=Dth224
処理部412は、差分が所定範囲の上限を超える座標(X5,Y5)について、タッチ閾値をDth22からDth225に増加させる。当該処理は、下記の式で表すことができる。
Dth22+ΔDthX5=Dth225
処理部412は、差分が所定範囲の上限を超える座標(X6,Y5)について、タッチ閾値をDth22からDth226に増加させる。当該処理は、下記の式で表すことができる。
Dth22+ΔDthX6=Dth226
処理部412は、差分が所定範囲の上限を超える座標(X7,Y5)について、タッチ閾値をDth22からDth227に増加させる。当該処理は、下記の式で表すことができる。
Dth22+ΔDthX7=Dth227
これらの式における増加量は任意であるが、例えば、ΔDthX3=「座標(X3,Y5)の差分」×K’(例えば、K’は任意の1以下の正の数)、ΔDthX4=「座標(X4,Y5)の差分」×K’、ΔDthX5=「座標(X5,Y5)の差分」×K’、ΔDthX6=「座標(X6,Y5)の差分」×K’、ΔDthX7=「座標(X7,Y5)の差分」×K’としてもよい。
(First modification)
Note that the
Dth22 + ΔDthX3 = Dth223
The
Dth22 + ΔDthX4 = Dth224
The
Dth22 + ΔDthX5 = Dth225
The
Dth22 + ΔDthX6 = Dth226
The
Dth22 + ΔDthX7 = Dth227
The amount of increase in these equations is arbitrary. For example, ΔDthX3 = “difference of coordinates (X3, Y5)” × K ′ (for example, K ′ is an arbitrary positive number less than 1), ΔDthX4 = “coordinate ( Difference between X4 and Y5) × K ′, ΔDthX5 = “difference between coordinates (X5, Y5)” × K ′, ΔDthX6 = “difference between coordinates (X6, Y5)” × K ′, ΔDthX7 = “coordinate (X7, Y5) difference “× K ′” may be used.
このように、情報処理装置4において、タッチパネル2の表面2aの座標ごとにタッチ閾値を調整する。これにより、表面2a全体についてタッチ閾値を調整する場合に比べて、タッチパネル2の感度の低減を抑制しながらタッチ操作の誤判定を効果的に抑制できる。
As described above, in the
(第2の変形例)
情報処理装置4は、検出値と基準値との差分が所定範囲を外れる頻度が頻度閾値を超えることに応じて、タッチ閾値を調整してもよい。例えば、タッチパネル用コントローラ41は、図11に示すように、以下の点で実施形態と異なる、タッチ閾値の調整処理を行ってもよい。図11は、実施形態の第2の変形例における調整処理を示すフローチャートである。
(Second modification)
The
処理対象の部分領域が選択されると、処理部412は、カウント数をゼロにリセットし(S21)、タイマーにより時間を計り始める。カウント数は、カウンタ回路等によりハードウェア的に実現されてもよいし、ソフトウェアの変数としてソフトウェア的に実現されてもよい。処理部412は、タイマーを参照し、カウント周期が経過するまで(S22で「No」)待機し、カウント周期が経過すると(S22で「Yes」)、S11,S12,S13の処理を順次に行う。
When the partial area to be processed is selected, the
処理部412は、検出値と基準値との差分が所定範囲を正側に外れる場合、すなわち、差分が所定範囲の上限を超える場合(S13で「Yes」)、カウント数をインクリメントする(S23)。処理部412は、カウント数が閾値(例えば、N回)を超えたか否かを判断する(S24)。Nは、任意の2以上の整数である。処理部412は、カウント数が閾値以下である場合(S24で「No」)、処理をS22へ戻す。処理部412は、カウント数が閾値を超えた場合(S24で「Yes」)、変形等の環境変化の影響が発生したと判断し(S15)、タッチ閾値を調整する(S16)。
When the difference between the detection value and the reference value deviates from the predetermined range to the positive side, that is, when the difference exceeds the upper limit of the predetermined range (“Yes” in S13), the
処理部412は、カウント数をリセット(S21)したタイミングから所定時間が経過するまで(S25で「No」)、S22〜S16の処理を繰り返し、所定時間が経過すると(S25で「Yes」)、複数の部分領域RG11〜RG23の全ての部分領域についてS11〜S16の処理を行ったか否かを判断する(S17)。処理部412は、全ての部分領域についてS11〜S16の処理を行っていない場合(S17で「No」)、複数の部分領域RG11〜RG23のうち未処理の部分領域を処理対象の部分領域として選択し、処理をS21へ戻す。処理部412は、全ての部分領域についてS11〜S16の処理を行った場合(S17で「Yes」)、処理を終了する。
The
このように、情報処理装置4において、検出値と基準値との差分が所定範囲を外れる頻度が頻度閾値を超えることに応じてタッチ閾値を調整することによっても、変形等の環境変化が発生したとしてタッチ閾値を調整することができる。
As described above, in the
(第3の変形例)
情報処理装置4は、検出値と基準値との差分が所定範囲を継続的に外れる場合に、タッチ閾値を調整することに代えて、差分を平準化してもよい。例えば、タッチパネル用コントローラ41は、図12に示すように、以下の点で実施形態と異なる、タッチ閾値の調整処理を行ってもよい。図12は、実施形態の第3の変形例におけるタッチ閾値の調整処理を示すフローチャートである。
(Third Modification)
The
処理部412は、S12を行った後、検出値と基準値との差分が所定範囲を外れるか否かを判断する(S31)。
After performing S12, the
処理部412は、差分が所定範囲内に収まっている場合(S31で「No」)、処理をS11へ戻す。
When the difference is within the predetermined range (“No” in S31), the
処理部412は、差分が所定範囲を外れる場合(S31で「Yes」)、差分が所定範囲を外れる連続時間を計り、S14を行う。
When the difference is outside the predetermined range (“Yes” in S31), the
処理部412は、連続時間が時間閾値を超えた場合(S14で「Yes」)、変形等の環境変化の影響が発生したと判断し(S15)、差分を平準化する(S32)。
When the continuous time exceeds the time threshold (“Yes” in S14), the
例えば、X座標=X1〜X9、Y座標=Y5に対する検出値と基準値との差分が図13(a)に示すようになっている場合、処理部412は、図13(b)に示すように差分を平準化する。図13は、実施形態の第3の変形例における差分の平準化を示す図であり、差分が所定範囲(例えば、−A〜+A)を正側に外れる場合における差分の平準化を例示している。処理部412は、部分領域RG22に含まれる各座標ついて、現在の差分の値を基準値として再設定する。これにより、処理部412は、部分領域RG22に含まれる各座標ついて、検出値から調整後の基準値を減算することなどにより、略ゼロに平準化された差分を求める。
For example, when the difference between the detected value and the reference value for X coordinate = X1 to X9 and Y coordinate = Y5 is as shown in FIG. 13A, the
あるいは、X座標=X1〜X9、Y座標=Y5に対する検出値と基準値との差分が図14(a)に示すようになっている場合、処理部412は、図14(b)に示すように平準化を実施する。図14は、実施形態の第3の変形例における差分の平準化を示す図であり、差分が所定範囲を負側に外れる場合における差分の平準化を例示している。処理部412は、部分領域RG22に含まれる各座標ついて、現在の差分の値を基準値として再設定する。これにより、処理部412は、部分領域RG22に含まれる各座標ついて、検出値から調整後の基準値を減算することなどにより、略ゼロに平準化された差分を求める。
Alternatively, when the difference between the detected value and the reference value for X coordinate = X1 to X9 and Y coordinate = Y5 is as shown in FIG. 14A, the
図12に戻って、処理部412は、複数の部分領域RG11〜RG23の全ての部分領域についてS11〜S32の処理を行ったか否かを判断する(S17)。処理部412は、全ての部分領域についてS11〜S32の処理を行っていない場合(S17で「No」)、複数の部分領域RG11〜RG23のうち未処理の部分領域を処理対象の部分領域として選択し、処理をS11へ戻す。処理部412は、全ての部分領域についてS11〜S32の処理を行った場合(S17で「Yes」)、処理を終了する。
Returning to FIG. 12, the
このように、情報処理装置4において、検出値と基準値との差分が所定範囲を継続的に外れる場合に変形等の環境変化が発生したとして差分を平準化する。例えば、情報処理装置4は、差分が所定範囲を外れる連続時間が時間閾値を超えることに応じて、差分を平準化する。これにより、情報処理装置4は、検出値と調整後の基準値との差分がタッチ閾値を超えたか否かに応じて、検出値の座標に対するタッチ操作の有無を判定する。これによっても、タッチ操作の誤判定を抑制できる。
In this way, in the
また、情報処理装置4において、タッチパネル2の表面2aの部分領域ごとに、検出値と基準値との差分を平準化する。これにより、表面2a全体について差分を平準化する場合に比べて、タッチパネル2の感度の低減を抑制しながらタッチ操作の誤判定を効果的に抑制できる。
In the
なお、図示しないが、情報処理装置4において、検出値と基準値との差分が所定範囲を外れる頻度が頻度閾値を超えることに応じて差分を平準化してもよい。これによっても、変形等の環境変化が発生したとして差分を平準化することができる。
Although not shown, in the
(第4の変形例)
情報処理装置4は、タッチパネル2の表面2aの座標(X1,Y1)〜(X9,Y6)毎に、検出値と基準値との差分を平準化してもよい。例えば、X座標=X1〜X9、Y座標=Y5に対する検出値と基準値との差分が図15(a)に示すようになっている場合、処理部412は、図15(b)に示すように差分を平準化してもよい。図15は、実施形態の第4の変形例における差分の平準化を示す図である。処理部412は、差分が所定範囲の上限を超える座標(X3,Y5),(X4,Y5),(X5,Y5),(X6,Y5),(X7,Y5)について、現在の差分の値を基準値として再設定する。これにより、処理部412は、各座標(X3,Y5),(X4,Y5),(X5,Y5),(X6,Y5),(X7,Y5)ついて、検出値から調整後の基準値を減算することなどにより、略ゼロに平準化された差分を求める。
(Fourth modification)
The
このように、情報処理装置4において、タッチパネル2の表面2aの座標ごとに、検出値と基準値との差分を平準化する。これにより、表面2a全体についてタッチ閾値を調整する場合に比べて、タッチパネル2の感度の低減を抑制しながらタッチ操作の誤判定を効果的に抑制できる。
As described above, in the
(第5の変形例)
あるいは、情報処理装置4は、検出値と基準値との差分が所定範囲を継続的に外れる場合に、差分を平準化するとともに、タッチ閾値を調整してもよい。例えば、処理部412は、図16に示すように、以下の点で第3の変形例と異なる、タッチ閾値の調整処理を行ってもよい。図16は、実施形態の第5の変形例におけるタッチ閾値の調整処理を示すフローチャートである。
(Fifth modification)
Alternatively, the
処理部412は、S32を行った後、差分が所定範囲を正側に外れるか否か、すなわち、差分が所定範囲の上限(例えば、+A)を超えるか否かを判断する(S41)。
After performing S32, the
処理部412は、差分が所定範囲内に収まっているか所定範囲を負側に外れる場合、すなわち、差分が所定範囲の上限以下である場合(S41で「No」)、処理をS11へ戻す。
When the difference falls within the predetermined range or falls outside the predetermined range, that is, when the difference is not more than the upper limit of the predetermined range (“No” in S41), the
処理部412は、差分が所定範囲を正側に外れる場合、すなわち、差分が所定範囲の上限を超える場合(S41で「Yes」)、タッチ閾値を調整する(S42)。
When the difference deviates from the predetermined range to the positive side, that is, when the difference exceeds the upper limit of the predetermined range (“Yes” in S41), the
例えば、X座標=X1〜X9、Y座標=Y5に対する検出値と基準値との差分が図17(a)に示すようになっている場合、処理部412は、図17(b)に示すように差分を平準化するとともにタッチ閾値を調整する。図17は、実施形態の第5の変形例における差分の平準化及びタッチ閾値の調整を示す図である。処理部412は、部分領域RG22に含まれる各座標ついて、現在の差分の値を基準値として再設定する。これにより、処理部412は、部分領域RG22に含まれる各座標ついて、検出値から調整後の基準値を減算することなどにより、略ゼロに平準化された差分を求める。さらに、処理部412は、部分領域RG22について、タッチ閾値をDth22からDth22bに減少させる。当該処理は、下記の式で表すことができる。
Dth22−ΔDth22=Dth22b
この式における減少量ΔDth22は任意であるが、例えば、ΔDth22=+A×K(例えば、Kは1以下の任意の数)としてもよい。
For example, when the difference between the detected value and the reference value for X coordinate = X1 to X9 and Y coordinate = Y5 is as shown in FIG. 17A, the
Dth22−ΔDth22 = Dth22b
The reduction amount ΔDth22 in this equation is arbitrary, but may be, for example, ΔDth22 = + A × K (for example, K is an arbitrary number equal to or less than 1).
このように、情報処理装置4において、検出値と基準値との差分が所定範囲を継続的に外れる場合に変形等の環境変化が発生したとして差分を平準化するとともにタッチ閾値を調整する。例えば、情報処理装置4は、差分が所定範囲を外れる連続時間が時間閾値を超えることに応じて、差分を平準化し、その平準化した量に応じてタッチ閾値を調整する(例えば、減少させる)。これにより、タッチパネル2の感度を増加させながらタッチ操作の誤判定を抑制できる。
As described above, in the
(第6の変形例)
あるいは、情報処理装置4は、調整処理中に、検出値と基準値との差分がタッチ閾値を超えるか否かを判断してもよい。例えば、処理部412は、図18に示すように、以下の点で第3の変形例と異なる、タッチ閾値の調整処理を行ってもよい。図18は、実施形態の第6の変形例における調整処理を示すフローチャートである。
(Sixth Modification)
Alternatively, the
処理部412は、S31を行った後、タッチ閾値設定情報422aを制御部42のRAM422から読み出す。処理部412は、タッチ閾値設定情報422aを参照して、S12で算出された差分の座標を含む部分領域のタッチ閾値を特定する。処理部412は、S12で算出された差分とその特定されたタッチ閾値と比較し、差分がタッチ閾値を超えているか否かを判断する(S51)。
After performing S31, the
処理部412は、差分がタッチ閾値を超えていれば(S51で「Yes」)、処理対象の部分領域に対するタッチ操作が有るので、調整を行うべきでない(すなわち、差分の平準化(S32)をスキップすべきである)として、処理をS17へ進める。
If the difference exceeds the touch threshold (“Yes” in S51), the
処理部412は、差分がタッチ閾値以下であれば(S51で「No」)、処理対象の部分領域に対するタッチ操作がないので、調整を行うべきである(すなわち、差分の平準化(S32)をすべきである可能性がある)として、処理をS14へ進める。
If the difference is equal to or smaller than the touch threshold (“No” in S51), the
このように、情報処理装置4において、検出値と基準値との差分がタッチ閾値を超えていることに応じて、差分の平準化を行わないようにすることで、タッチ操作と明確に区別した形で差分を平準化できる。
As described above, in the
本発明のいくつかの実施形態を説明したが、これらの実施形態は、例として提示したものであり、発明の範囲を限定することは意図していない。これら新規な実施形態は、その他の様々な形態で実施されることが可能であり、発明の要旨を逸脱しない範囲で、種々の省略、置き換え、変更を行うことができる。これら実施形態やその変形は、発明の範囲や要旨に含まれるとともに、特許請求の範囲に記載された発明とその均等の範囲に含まれる。 Although several embodiments of the present invention have been described, these embodiments are presented by way of example and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, replacements, and changes can be made without departing from the scope of the invention. These embodiments and modifications thereof are included in the scope and gist of the invention, and are included in the invention described in the claims and the equivalents thereof.
1 タッチパネル装置
2 タッチパネル
3 表示装置
4 情報処理装置
41 タッチパネル用コントローラ
42 制御部
411 取得部
412 処理部
413 判定部
421 CPU
422 RAM
423 ROM
DESCRIPTION OF
422 RAM
423 ROM
Claims (9)
前記タッチパネルの一体となった表面内が分割されそれぞれが複数の座標を含む複数の部分領域について部分領域とタッチ閾値とが対応付けられたタッチ閾値設定情報を格納する記憶部と、
前記検出値と基準値との差分が所定範囲を外れる連続時間が時間閾値を超えること、又は、前記差分が前記所定範囲を外れる頻度が頻度閾値を超えることに応じて、前記タッチ閾値設定情報における前記検出値の座標が含まれる部分領域に対応したタッチ閾値を変更する処理部と、
前記検出値と前記基準値との差分が前記変更されたタッチ閾値を超えたか否かに応じて、前記検出値の座標に対するタッチ操作の有無を判定する判定部と、
を備える情報処理装置。 An acquisition unit that acquires detection values for coordinates in the display area from a touch panel provided in a display area of the display device;
A storage unit that stores touch threshold setting information in which a partial area and a touch threshold are associated with each other with respect to a plurality of partial areas each of which includes a plurality of coordinates and is divided into an integrated surface of the touch panel;
In the touch threshold setting information , the continuous time when the difference between the detection value and the reference value falls outside the predetermined range exceeds a time threshold, or the frequency at which the difference falls outside the predetermined range exceeds the frequency threshold . A processing unit for changing a touch threshold corresponding to a partial region including the coordinates of the detection value ;
A determination unit that determines whether or not there is a touch operation on the coordinates of the detection value, depending on whether or not a difference between the detection value and the reference value exceeds the changed touch threshold;
An information processing apparatus comprising:
請求項1に記載の情報処理装置。The information processing apparatus according to claim 1.
前記処理部は、前記差分が前記所定範囲を正側に外れる連続時間が前記時間閾値を超えた場合、又は、前記差分が前記所定範囲を正側に外れる頻度が前記頻度閾値を超えた場合、前記タッチ閾値を変更し、前記差分が前記所定範囲を負側に外れる連続時間が前記時間閾値を超えた場合、又は、前記差分が前記所定範囲を負側に外れる頻度が前記頻度閾値を超えた場合、前記タッチ閾値を変更しない
請求項1又は2に記載の情報処理装置。 The touch threshold is a positive value,
When the continuous time when the difference deviates from the predetermined range to the positive side exceeds the time threshold, or when the frequency when the difference deviates from the predetermined range to the positive side exceeds the frequency threshold, When the touch threshold is changed and the continuous time when the difference deviates from the predetermined range to the negative side exceeds the time threshold, or the frequency at which the difference deviates from the predetermined range to the negative side exceeds the frequency threshold case, the information processing apparatus according to claim 1 or 2 does not change the touch threshold.
請求項2に記載の情報処理装置。 The information processing apparatus according to claim 2 , wherein the processing unit equalizes the difference for each partial region.
請求項2に記載の情報処理装置。 When the difference does not exceed the touch threshold, the processing unit exceeds a time threshold when the difference is outside the predetermined range, or a frequency at which the difference is outside the predetermined range exceeds the frequency threshold. The information processing apparatus according to claim 2 , wherein the difference is leveled and the difference is not leveled when the difference exceeds the touch threshold.
請求項2に記載の情報処理装置。 The information processing apparatus according to claim 2 , wherein the processing unit changes the touch threshold according to an amount obtained by leveling the difference.
前記処理部は、前記差分が前記所定範囲を正側に外れる場合、前記差分を平準化するとともに、前記差分を平準化した量に応じて前記タッチ閾値を変更し、前記差分が前記所定範囲を負側に外れる場合、前記差分を平準化せず前記タッチ閾値を変更しない
請求項6に記載の情報処理装置。 The touch threshold is a positive value,
When the difference deviates from the predetermined range to the positive side , the processing unit equalizes the difference and changes the touch threshold according to the leveled difference, and the difference exceeds the predetermined range . The information processing apparatus according to claim 6 , wherein when the deviation is negative, the difference is not leveled and the touch threshold is not changed .
前記表示装置の表示領域に設けられたタッチパネルと、
前記タッチパネルから検出値を前記表示領域内の座標について取得する取得部と、
前記タッチパネルの一体となった表面内が分割されそれぞれが複数の座標を含む複数の部分領域について部分領域とタッチ閾値とが対応付けられたタッチ閾値設定情報を格納する記憶部と、
前記検出値と基準値との差分が所定範囲を外れる連続時間が時間閾値を超えること、又は、前記差分が前記所定範囲を外れる頻度が頻度閾値を超えることに応じて、前記タッチ閾値設定情報における前記検出値の座標が含まれる部分領域に対応したタッチ閾値を変更する処理部と、
前記検出値と前記基準値との差分が前記変更されたタッチ閾値を超えたか否かに応じて、前記検出値の座標に対するタッチ操作の有無を判定する判定部と、
を備えるタッチパネル装置。 A display device;
A touch panel provided in a display area of the display device;
An acquisition unit that acquires detection values from the touch panel for coordinates in the display area;
A storage unit that stores touch threshold setting information in which a partial area and a touch threshold are associated with each other with respect to a plurality of partial areas each of which includes a plurality of coordinates and is divided into an integrated surface of the touch panel;
In the touch threshold setting information , the continuous time when the difference between the detection value and the reference value falls outside the predetermined range exceeds a time threshold, or the frequency at which the difference falls outside the predetermined range exceeds the frequency threshold . A processing unit for changing a touch threshold corresponding to a partial region including the coordinates of the detection value ;
A determination unit that determines whether or not there is a touch operation on the coordinates of the detection value, depending on whether or not a difference between the detection value and the reference value exceeds the changed touch threshold;
A touch panel device comprising:
前記タッチパネルの一体となった表面内が分割されそれぞれが複数の座標を含む複数の部分領域について部分領域とタッチ閾値とが対応付けられたタッチ閾値設定情報を格納する記憶ステップと、
前記検出値と基準値との差分が所定範囲を外れる連続時間が時間閾値を超えること、又は、前記差分が前記所定範囲を外れる頻度が頻度閾値を超えることに応じて、前記タッチ閾値設定情報における前記検出値の座標が含まれる部分領域に対応したタッチ閾値を変更する処理ステップと、
前記検出値と前記基準値との差分が前記変更されたタッチ閾値を超えたか否かに応じて、前記検出値の座標に対するタッチ操作の有無を判定する判定ステップと、
をコンピュータに実行させるためのプログラム。 An acquisition step of acquiring detected values for coordinates in the display area from a touch panel provided in a display area of the display device;
A storage step of storing touch threshold setting information in which a partial area and a touch threshold are associated with each other for a plurality of partial areas each of which includes a plurality of coordinates and is divided within the surface of the touch panel integrated;
In the touch threshold setting information , the continuous time when the difference between the detection value and the reference value falls outside the predetermined range exceeds a time threshold, or the frequency at which the difference falls outside the predetermined range exceeds the frequency threshold . A processing step of changing a touch threshold value corresponding to a partial region including the coordinates of the detection value ;
A determination step of determining presence or absence of a touch operation on the coordinates of the detection value, depending on whether or not a difference between the detection value and the reference value exceeds the changed touch threshold;
A program that causes a computer to execute.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019089030A JP6604454B1 (en) | 2019-05-09 | 2019-05-09 | Information processing device, touch panel device, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019089030A JP6604454B1 (en) | 2019-05-09 | 2019-05-09 | Information processing device, touch panel device, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP6604454B1 true JP6604454B1 (en) | 2019-11-13 |
JP2020184258A JP2020184258A (en) | 2020-11-12 |
Family
ID=68532297
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019089030A Expired - Fee Related JP6604454B1 (en) | 2019-05-09 | 2019-05-09 | Information processing device, touch panel device, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6604454B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111787314A (en) * | 2020-07-30 | 2020-10-16 | 重庆盛泰光电有限公司 | Camera module power-on time sequence test system based on turntable |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4714070B2 (en) * | 2006-04-14 | 2011-06-29 | アルプス電気株式会社 | Input device |
JP2012098827A (en) * | 2010-10-29 | 2012-05-24 | Minebea Co Ltd | Input device and input control method for electronic device |
JP5832243B2 (en) * | 2011-10-31 | 2015-12-16 | ミネベア株式会社 | Electronic device input device and input control method |
WO2015056550A1 (en) * | 2013-10-17 | 2015-04-23 | シャープ株式会社 | Electronic information device, touch panel controller, and method for controlling electronic information device |
JP6126048B2 (en) * | 2014-06-26 | 2017-05-10 | 株式会社東海理化電機製作所 | Touch input device |
JP6284839B2 (en) * | 2014-06-26 | 2018-02-28 | 株式会社東海理化電機製作所 | Touch input device |
JP6027217B1 (en) * | 2015-12-14 | 2016-11-16 | 株式会社東海理化電機製作所 | Touch input device |
JP5989220B1 (en) * | 2015-12-21 | 2016-09-07 | 株式会社ワコム | Touch detection method, touch detection device, and touch sensor controller |
-
2019
- 2019-05-09 JP JP2019089030A patent/JP6604454B1/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111787314A (en) * | 2020-07-30 | 2020-10-16 | 重庆盛泰光电有限公司 | Camera module power-on time sequence test system based on turntable |
Also Published As
Publication number | Publication date |
---|---|
JP2020184258A (en) | 2020-11-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5329681B2 (en) | Touch panel system and electronic device | |
US10949072B2 (en) | Apparatus and method for controlling a screen display in portable terminal | |
KR102136692B1 (en) | Display device | |
JP2011090519A (en) | Touch detection device, electronic equipment, and program | |
US20160357345A1 (en) | Electronic apparatus, control method therefor, and storage medium | |
RU2016103402A (en) | ELECTRONIC DEVICE AND METHOD FOR MANAGING SUCH DEVICE | |
JP6230062B2 (en) | Information processing device | |
US20150234461A1 (en) | Display control device, display control method and recording medium | |
JP2012123695A (en) | Touch type input panel device and sensitivity adjustment method thereof | |
KR20130111812A (en) | Apparatus and method for inage outputting in electronic device | |
US9778806B2 (en) | Electronic device and method of controlling the same for detecting a conductive object on a touch-panel | |
US9606649B2 (en) | Electronic device, information processing apparatus and control method therefor | |
JP2009217442A (en) | Information input display device | |
JP6604454B1 (en) | Information processing device, touch panel device, and program | |
JP5876207B2 (en) | Touch panel device and touch detection method for touch panel | |
JP6554013B2 (en) | INPUT DEVICE, METHOD OF CONTROLLING INPUT DEVICE, ELECTRONIC DEVICE PROVIDED WITH INPUT DEVICE, METHOD OF CONTROLLING ELECTRONIC DEVICE, PROGRAM, AND STORAGE MEDIUM | |
JP2014197164A (en) | Display device, display method and display program | |
JP2020091629A (en) | Writing input device | |
JP2014016714A (en) | Information display device, information display method, information display program, and program recording medium | |
JP5172889B2 (en) | Handwriting input device, handwriting input method, and handwriting input program | |
JP2011100296A (en) | Touch detector, electronic device, and program | |
JP7034856B2 (en) | Electronic devices, control programs and display control methods | |
JP2014149555A (en) | Information apparatus | |
US11314328B2 (en) | Apparatus and method for adaptively magnifying graphic user interfaces on display | |
JP2013161209A (en) | Information processing apparatus, information processing method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190528 |
|
A871 | Explanation of circumstances concerning accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A871 Effective date: 20190530 |
|
A975 | Report on accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A971005 Effective date: 20190606 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20190618 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190730 |
|
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: 20190917 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190930 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6604454 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |