JP2015084135A - Touch panel input device - Google Patents

Touch panel input device Download PDF

Info

Publication number
JP2015084135A
JP2015084135A JP2013221848A JP2013221848A JP2015084135A JP 2015084135 A JP2015084135 A JP 2015084135A JP 2013221848 A JP2013221848 A JP 2013221848A JP 2013221848 A JP2013221848 A JP 2013221848A JP 2015084135 A JP2015084135 A JP 2015084135A
Authority
JP
Japan
Prior art keywords
coordinate
coordinates
failure
coordinate axis
touch panel
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.)
Granted
Application number
JP2013221848A
Other languages
Japanese (ja)
Other versions
JP6204791B2 (en
Inventor
健一 熊坂
Kenichi Kumasaka
健一 熊坂
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.)
Alpine Electronics Inc
Original Assignee
Alpine Electronics Inc
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 Alpine Electronics Inc filed Critical Alpine Electronics Inc
Priority to JP2013221848A priority Critical patent/JP6204791B2/en
Publication of JP2015084135A publication Critical patent/JP2015084135A/en
Application granted granted Critical
Publication of JP6204791B2 publication Critical patent/JP6204791B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Position Input By Displaying (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a touch panel input device which inferentially detects a touch to coordinates to which the touch cannot be normally detected.SOLUTION: One of an X coordinate axis and a Y coordinate axis is defined as a first coordinate axis, and the other is defined as a second coordinate axis, and coordinates in which a touch detection function is faulty are denoted as faulty coordinates. When a coordinate on the first coordinate axis different from the faulty coordinates, a coordinate on the second coordinate axis different from the faulty coordinates, and a coordinate on the second coordinate axis coinciding with a faulty coordinate are outputted from a touch panel 2, a two-dimensional position indicated by the coordinate on the first coordinate axis different from the faulty coordinates and the coordinate on the second coordinate axis different from the faulty coordinates is detected as input coordinates (b1). When only a coordinate on the first coordinate axis different from the faulty coordinates and a coordinate on the second coordinate axis coinciding with a faulty coordinate are outputted from the touch panel 2, a two-dimensional position indicated by the coordinate on the first coordinate axis different from the faulty coordinates and the coordinate on the second coordinate axis coinciding with a faulty coordinate is detected as input coordinates (b2).

Description

本発明は、タッチパネルを入力に用いるタッチパネル入力装置において入力座標を検出する技術に関するものである。   The present invention relates to a technique for detecting input coordinates in a touch panel input device that uses a touch panel for input.

ディスプレイの表示面上に設置されるタッチパネルとしては、ディスプレイの二つの縦の辺の一方の辺と、ディスプレイの二つの横の辺の一方の辺とに沿って、対向する辺方向に光ビームを出射する複数の発光素子を並べて配置すると共に、発光素子を配置した各辺と対向する辺に複数の受光素子を並べて配置し、コントローラによって、各発光素子を順番に駆動して光ビームを出射させながら、発光させた発光素子に対向する位置にある受光素子を駆動して光ビームがユーザのタッチによって遮られることなく到達しているかどうかの有無を検出する走査を行って、ユーザがタッチした座標を入力座標として検出する光学式タッチパネルが知られている(たとえば、特許文献1)。   As a touch panel installed on the display surface of a display, a light beam is directed in the opposite side direction along one side of two vertical sides of the display and one side of two horizontal sides of the display. A plurality of light emitting elements to be emitted are arranged side by side, and a plurality of light receiving elements are arranged side by side on the side opposite to each side on which the light emitting elements are arranged, and a light beam is emitted by driving each light emitting element in order by a controller. However, the coordinates touched by the user are scanned by detecting whether or not the light beam has reached without being interrupted by the user's touch by driving the light receiving element at the position facing the light emitting element that has emitted light There is known an optical touch panel that detects as an input coordinate (for example, Patent Document 1).

また、タッチパネルを入力に用いるタッチパネル入力装置における入力座標検出の技術としては、故障によりユーザのタッチの有無を正常に検出できなくなった座標を抽出し、以降、抽出した座標については入力座標として検出しないようにすると共に、ユーザのタッチ操作を受け付けるボタンをディスプレイに表示する領域を、抽出した座標を含まない領域に変更する技術が知られている(たとえば、特許文献2)。   In addition, as a technique for detecting input coordinates in a touch panel input device that uses a touch panel for input, coordinates that can no longer be normally detected due to a failure are extracted, and thereafter, the extracted coordinates are not detected as input coordinates. In addition, a technique is known in which a region for displaying a button for accepting a user's touch operation on a display is changed to a region not including the extracted coordinates (for example, Patent Document 2).

特開2007-65767号公報JP 2007-65767 特開2008-70963号公報JP 2008-70963 A

上述したユーザのタッチの有無を正常に検出できなくなった座標を含まない領域に、ユーザのタッチ操作を受け付けるボタンをディスプレイに表示する領域を変更する技術によれば、故障発生時にボタンの配置が変化してしまうために、ユーザの混乱や操作性の劣化を招く場合がある。また、タッチの有無を正常に検出できなくなった座標によっては、良好な操作性を維持できるようにボタンの配置を変更できなくなる場合もある。   According to the technology for changing the area for displaying the button for accepting the user's touch operation on the display to the area not including the coordinates where the presence / absence of the user's touch cannot be normally detected as described above, the arrangement of the buttons is changed when the failure occurs. Therefore, the user may be confused or the operability may be deteriorated. In addition, depending on the coordinates at which the presence or absence of a touch cannot be normally detected, the arrangement of buttons may not be changed so as to maintain good operability.

そこで、本発明は、タッチの有無を正常に検出できなくなった座標にタッチが発生したときにも、可及的に当該座標を入力座標として検出することを課題とする。   Therefore, an object of the present invention is to detect the coordinates as input coordinates as much as possible even when a touch occurs at coordinates where the presence or absence of the touch cannot be normally detected.

前記課題達成のために、本発明は、第一座標軸上の各座標と、前記第一座標軸と直交する第二座標軸上の各座標について、ユーザのタッチの有無を検出するタッチパネルを備えたタッチパネル入力装置に、前記第一座標軸上の各座標と前記第二座標軸上の各座標のうち、タッチの有無を検出する機能が故障した座標を故障座標に設定する故障座標設定手段と、前記第一座標軸上の座標と前記第二座標軸上の座標とよりなる二次元の入力座標を検出し、検出した入力座標を前記ユーザがタッチした座標として受け付ける入力座標検出手段とを設けたものである。ここで、前記入力座標検出手段は、前記タッチパネルがタッチ有を検出した座標のうちの故障座標と異なる座標が、故障座標と異なる第一座標軸の座標と、故障座標と異なる第二座標軸の座標とである場合に、当該故障座標と異なる第一座標軸の座標と当該故障座標と異なる第二座標軸の座標とよりなる二次元の座標を前記入力座標として検出し、故障座標に設定されている第二座標軸の座標が一つであるときに、前記タッチパネルが、故障座標と異なる第一座標軸の座標と、故障座標と一致する第二座標軸の座標とのみについてタッチ有を検出したときに、当該第一座標軸の座標と当該故障座標と一致する第二座標軸の座標とよりなる二次元の座標を前記入力座標として検出する。   In order to achieve the above object, the present invention provides a touch panel input including a touch panel for detecting whether or not a user touches each coordinate on the first coordinate axis and each coordinate on the second coordinate axis orthogonal to the first coordinate axis. A failure coordinate setting means for setting a failure coordinate among the coordinates on the first coordinate axis and the coordinates on the second coordinate axis in the apparatus, the failure coordinate setting means for setting a failure coordinate, and the first coordinate axis Input coordinate detection means for detecting a two-dimensional input coordinate composed of the upper coordinate and the coordinate on the second coordinate axis and receiving the detected input coordinate as a coordinate touched by the user is provided. Here, the input coordinate detection means includes coordinates of the first coordinate axis different from the failure coordinates, coordinates of the first coordinate axis different from the failure coordinates, and coordinates of the second coordinate axis different from the failure coordinates. A two-dimensional coordinate comprising a coordinate of the first coordinate axis different from the failure coordinate and a coordinate of the second coordinate axis different from the failure coordinate is detected as the input coordinate, and the second set as the failure coordinate When the coordinate of the coordinate axis is one, the touch panel detects that the touch is present only for the coordinates of the first coordinate axis different from the failure coordinates and the coordinates of the second coordinate axis that matches the failure coordinates. A two-dimensional coordinate composed of the coordinate of the coordinate axis and the coordinate of the second coordinate axis coinciding with the failure coordinate is detected as the input coordinate.

また、前記課題達成のために、本発明は、第一座標軸上の各座標と、前記第一座標軸と直交する第二座標軸上の各座標について、ユーザのタッチの有無を検出するタッチパネルを備えたタッチパネル入力装置に、前記第一座標軸上の各座標と前記第二座標軸上の各座標のうち、タッチの有無を検出する機能が故障した座標を故障座標に設定する故障座標設定手段と、前記第一座標軸上の座標と前記第二座標軸上の座標とよりなる二次元の入力座標を検出し、検出した入力座標を前記ユーザがタッチした座標として受け付ける入力座標検出手段とを設けたものである。ここで、前記入力座標検出手段は、前記タッチパネルがタッチ有を検出した座標のうちの故障座標と異なる座標が、故障座標と異なる第一座標軸の座標と、故障座標と異なる第二座標軸の座標とである場合に、当該故障座標と異なる第一座標軸の座標と当該故障座標と異なる第二座標軸の座標とよりなる二次元の座標を前記入力座標として検出し、故障座標に設定されている第二座標軸の座標が複数であり、現時点までに前記入力座標を連続的に検出しているときに、前記タッチパネルが、故障座標と異なる第一座標軸の座標と、故障座標と一致する第二座標軸の座標とのみについてタッチ有を検出したときに、故障座標に設定されている前記第二座標軸の座標であって、直前に検出した入力座標に含まれる第二座標軸の座標と近接している座標が存在する場合には、当該存在した故障座標に設定されている前記第二座標軸の座標と、前記タッチパネルがタッチ有を検出した故障座標と異なる第一座標軸の座標とよりなる二次元の座標を前記入力座標として検出する。   In order to achieve the above object, the present invention includes a touch panel that detects whether or not the user touches each coordinate on the first coordinate axis and each coordinate on the second coordinate axis orthogonal to the first coordinate axis. A failure coordinate setting means for setting, on the touch panel input device, a coordinate in which a function for detecting the presence or absence of a touch has failed among the coordinates on the first coordinate axis and the coordinates on the second coordinate axis; Input coordinate detection means for detecting two-dimensional input coordinates composed of coordinates on one coordinate axis and coordinates on the second coordinate axis and receiving the detected input coordinates as coordinates touched by the user is provided. Here, the input coordinate detection means includes coordinates of the first coordinate axis different from the failure coordinates, coordinates of the first coordinate axis different from the failure coordinates, and coordinates of the second coordinate axis different from the failure coordinates. A two-dimensional coordinate comprising a coordinate of the first coordinate axis different from the failure coordinate and a coordinate of the second coordinate axis different from the failure coordinate is detected as the input coordinate, and the second set as the failure coordinate When there are a plurality of coordinate axes and the input coordinates are continuously detected up to the present time, the touch panel has coordinates of the first coordinate axis different from the failure coordinates and coordinates of the second coordinate axis that match the failure coordinates. When the presence of touch is detected only for and, the coordinates of the second coordinate axis set as the failure coordinates are close to the coordinates of the second coordinate axis included in the input coordinates detected immediately before If a mark is present, two-dimensional coordinates consisting of the coordinates of the second coordinate axis set to the existing failure coordinates and the coordinates of the first coordinate axis different from the failure coordinates at which the touch panel has detected touch Are detected as the input coordinates.

また、前記課題達成のために、本発明は、第一座標軸上の各座標と、前記第一座標軸と直交する第二座標軸上の各座標について、ユーザのタッチの有無を検出するタッチパネルと、前記タッチパネルと表示面が重なるように配置されたディスプレイとを備えたタッチパネル入力装置に、前記ディスプレイにユーザのタッチ操作を受け付ける表示オブジェクトを表示するオブジェクト表示手段と、前記第一座標軸上の各座標と前記第二座標軸上の各座標のうち、タッチの有無を検出する機能が故障した座標を故障座標に設定する故障座標設定手段と、前記第一座標軸上の座標と前記第二座標軸上の座標とよりなる二次元の入力座標を検出し、検出した入力座標を前記ユーザがタッチした座標として受け付ける入力座標検出手段とを設けたものである。ここで、前記入力座標検出手段は、前記タッチパネルがタッチ有を検出した座標のうちの故障座標と異なる座標が、故障座標と異なる第一座標軸の座標と、故障座標と異なる第二座標軸の座標とである場合に、当該故障座標と異なる第一座標軸の座標と当該故障座標と異なる第二座標軸の座標とよりなる二次元の座標を前記入力座標として検出し、故障座標に設定されている第二座標軸の座標が複数であるときに、前記タッチパネルが、故障座標と異なる第一座標軸の座標と、故障座標と一致する第二座標軸の座標とのみについてタッチ有を検出したときに、故障座標に設定されている前記第二座標軸の座標であって、当該第二座標軸の座標と前記タッチパネルがタッチ有を検出した故障座標と異なる第一座標軸の座標とを組み合わせた二次元の座標が前記表示オブジェクトの表示領域内の座標となる故障座標が一つだけ存在する場合には、当該存在した故障座標に設定されている前記第二座標軸の座標と、前記タッチパネルがタッチ有を検出した故障座標と異なる第一座標軸の座標とよりなる二次元の座標を前記入力座標として検出する。   In order to achieve the above object, the present invention provides a touch panel for detecting presence or absence of a user's touch for each coordinate on the first coordinate axis and each coordinate on the second coordinate axis orthogonal to the first coordinate axis, In a touch panel input device including a touch panel and a display arranged so that the display surface overlaps, an object display means for displaying a display object that accepts a user's touch operation on the display, each coordinate on the first coordinate axis, and the above Of the coordinates on the second coordinate axis, the failure coordinate setting means for setting the coordinate where the function of detecting the presence or absence of touch has failed as the failure coordinate, the coordinates on the first coordinate axis, and the coordinates on the second coordinate axis Provided with input coordinate detection means for detecting two-dimensional input coordinates and receiving the detected input coordinates as coordinates touched by the user. That. Here, the input coordinate detection means includes coordinates of the first coordinate axis different from the failure coordinates, coordinates of the first coordinate axis different from the failure coordinates, and coordinates of the second coordinate axis different from the failure coordinates. A two-dimensional coordinate comprising a coordinate of the first coordinate axis different from the failure coordinate and a coordinate of the second coordinate axis different from the failure coordinate is detected as the input coordinate, and the second set as the failure coordinate When there are a plurality of coordinate axes, the touch panel is set as the failure coordinate when the touch detection is detected only for the coordinates of the first coordinate axis different from the failure coordinates and the coordinates of the second coordinate axis that matches the failure coordinates. The second coordinate axis is a combination of the coordinate of the second coordinate axis and the coordinate of the first coordinate axis different from the failure coordinate at which the touch panel has detected touch. If there is only one failure coordinate whose coordinates are within the display area of the display object, the coordinates of the second coordinate axis set to the existing failure coordinate and the touch panel are touched. Two-dimensional coordinates composed of the coordinates of the first coordinate axis different from the detected failure coordinates are detected as the input coordinates.

ここで、以上の各タッチパネル入力装置の構成は、これらを組み合わせて適用するようにしてもよい。
また、以上のタッチパネル入力装置において、前記タッチパネルは、ディスプレイの縦横の辺に沿って配列した複数の発光素子と、ディスプレイの前記複数の発光素子を配列した辺と対向する辺に沿って配列した複数の受光素子とを備え、前記発光素子を駆動すると共に、前記各受光素子の受光の有無より、第一座標軸上の各座標と前記第二座標軸上の各座標についてユーザのタッチの有無を検出する光学式タッチパネルであってよい。
Here, you may make it apply the structure of each above touch panel input device combining these.
In the above touch panel input device, the touch panel includes a plurality of light emitting elements arranged along the vertical and horizontal sides of the display, and a plurality of light emitting elements arranged along the side opposite to the side where the plurality of light emitting elements of the display are arranged. And detecting the presence / absence of a user's touch for each coordinate on the first coordinate axis and each coordinate on the second coordinate axis based on the presence / absence of light reception by each light receiving element. It may be an optical touch panel.

以上のようなタッチパネル入力装置によれば、タッチの有無を検出する機能が故障した座標である故障座標が存在する場合であっても、故障座標に設定されている第二座標軸の座標が一つであるときに、前記タッチパネルが、故障座標と異なる第一座標軸の座標と、故障座標と一致する第二座標軸の座標とのみについてタッチ有を検出したときや、故障座標に設定されている第二座標軸の座標が複数であり、現時点までに前記入力座標を連続的に検出しているときに、前記タッチパネルが、故障座標と異なる第一座標軸の座標と、故障座標と一致する第二座標軸の座標とのみについてタッチ有を検出したときに、故障座標に設定されている前記第二座標軸の座標であって、直前に検出した入力座標に含まれる第二座標軸の座標と近接している座標が存在する場合や、故障座標に設定されている第二座標軸の座標が複数であるときに、前記タッチパネルが、故障座標と異なる第一座標軸の座標と、故障座標と一致する第二座標軸の座標とのみについてタッチ有を検出したときに、故障座標に設定されている前記第二座標軸の座標であって、当該第二座標軸の座標と前記タッチパネルがタッチ有を検出した故障座標と異なる第一座標軸の座標とを組み合わせた二次元の座標が前記表示オブジェクトの表示領域内の座標となる故障座標が一つだけ存在する場合には、故障座標にタッチが発生したときに、当該座標を入力座標として正しく検出することができる。   According to the touch panel input device as described above, even if there is a failure coordinate that is a coordinate where the function of detecting the presence or absence of touch has failed, there is one coordinate of the second coordinate axis set as the failure coordinate. When the touch panel detects the presence of touch only on the coordinates of the first coordinate axis different from the failure coordinates and the coordinates of the second coordinate axis that matches the failure coordinates, or the second coordinate set as the failure coordinates. When there are a plurality of coordinate axes and the input coordinates are continuously detected up to the present time, the touch panel has coordinates of the first coordinate axis different from the failure coordinates and coordinates of the second coordinate axis that match the failure coordinates. When the presence of touch is detected only for and, the coordinates of the second coordinate axis set as the failure coordinates are close to the coordinates of the second coordinate axis included in the input coordinates detected immediately before When there is a mark or when there are a plurality of coordinates of the second coordinate axis set as the failure coordinate, the touch panel has a coordinate of the first coordinate axis different from the failure coordinate and a coordinate of the second coordinate axis that matches the failure coordinate. When the touch presence is detected only with respect to the coordinates, the first coordinate axis is a coordinate of the second coordinate axis set as the failure coordinate, and the first coordinate different from the failure coordinate at which the touch panel detects the touch presence. When there is only one failure coordinate whose two-dimensional coordinate combined with the coordinate of the coordinate axis becomes a coordinate in the display area of the display object, when the failure coordinate is touched, the coordinate is input as the coordinate Can be detected correctly.

以上のように、本発明によれば、タッチの有無を正常に検出できなくなった座標にタッチが発生したときにも、可及的に当該座標を入力座標として検出することができる。   As described above, according to the present invention, even when a touch occurs at a coordinate where the presence / absence of the touch cannot be normally detected, the coordinate can be detected as input coordinates as much as possible.

本発明の実施形態に係る電子機器の構成を示すブロック図である。It is a block diagram which shows the structure of the electronic device which concerns on embodiment of this invention. 本発明の実施形態に係るタッチパネルの構成を示す図である。It is a figure which shows the structure of the touchscreen which concerns on embodiment of this invention. 本発明の実施形態に係る座標検出処理示すフローチャートある。It is a flowchart which shows the coordinate detection process which concerns on embodiment of this invention. 本発明の実施形態に係る座標検出処理の処理例を示す図である。It is a figure which shows the process example of the coordinate detection process which concerns on embodiment of this invention. 本発明の実施形態に係る座標検出処理の処理例を示す図である。It is a figure which shows the process example of the coordinate detection process which concerns on embodiment of this invention.

以下、本発明の実施形態について説明する。
図1に、本実施形態に係る電子機器の構成を示す。
図示するように、電子機器は、ディスプレイ1、タッチパネル2、ディスプレイ1を駆動するディスプレイコントローラ3、ユーザによってタッチされたタッチパネル2上のX座標とY座標を検出し出力座標として出力するタッチパネルコントローラ4、オペレーティングシステム5、オペレーティングシステム5上で稼働するアプリケーション6とを備えている。
Hereinafter, embodiments of the present invention will be described.
FIG. 1 shows a configuration of an electronic apparatus according to this embodiment.
As shown in the figure, the electronic device includes a display 1, a touch panel 2, a display controller 3 that drives the display 1, a touch panel controller 4 that detects X and Y coordinates on the touch panel 2 touched by the user and outputs them as output coordinates. An operating system 5 and an application 6 running on the operating system 5 are provided.

また、オペレーティングシステム5は、ディスプレイコントローラ3を介してディスプレイ1の表示を制御するディスプレイドライバ51を備えている。また、オペレーティングシステム5は、タッチパネルコントローラ4が出力する出力座標からXY二次元の入力座標を検出し、その時点でタッチパネル2を入力に用いているオペレーティングシステム5やアプリケーション6に出力するタッチパネルドライバ52を備えている。   The operating system 5 includes a display driver 51 that controls display on the display 1 via the display controller 3. The operating system 5 detects an XY two-dimensional input coordinate from the output coordinates output from the touch panel controller 4, and a touch panel driver 52 that outputs to the operating system 5 or the application 6 that uses the touch panel 2 at that time. I have.

但し、電子機器は、ハードウエア的には、CPUやメモリなどを備えたコンピュータを用いて構成されるものであり、オペレーティングシステム5や、アプリケーション6などは、当該コンピュータが、所定のコンピュータプログラムを実行することにより実現されるものである。   However, the electronic device is configured by using a computer having a CPU, a memory, and the like in hardware, and the operating system 5 and the application 6 are executed by the computer executing a predetermined computer program. It is realized by doing.

次に、図2に、タッチパネル2とタッチパネルコントローラ4の構成を示す。
図示するように、タッチパネル2は、XLEDアレイ21と、YLEDアレイ22と、XPDアレイ23と、YPDアレイ24とを備えている。
XLEDアレイ21は、ディスプレイ1の下辺に沿って横方向に並べた複数の赤外線のLEDよりなり、XLEDアレイ21の各LEDは上方向に光ビームを出射する。
また、YLEDアレイ22は、ディスプレイ1の右辺に沿って縦方向に並べた複数の赤外線のLEDよりなり、YLEDアレイ22の各LEDは左方向に光ビームを出射する。
そして、XPDアレイ23は、ディスプレイ1の上辺に沿って横方向に並べた複数の赤外線のPD(フォトダイオード)よりなり、XLEDアレイ21の各PDは下方向から入射する光ビームを検出する。
また、YPDアレイ24は、ディスプレイ1の左辺に沿って横方向に並べた複数の赤外線のPDよりなり、YLEDアレイ22の各PDは右方向から入射する光ビームを検出する。
次に、タッチパネルコントローラ4は、制御部41と、LED走査部42と、PD走査部43とを備えている。
LED走査部42は、LED走査を繰り返し行い、各回のLED走査において、所定のシーケンスでXLEDアレイ21とYLEDアレイ22のLEDを順次点灯する。また、PD走査部43は、PD走査を繰り返し行い、各回のPD走査において、順次、点灯しているLEDに対向する位置にあるXPDアレイ23またはYPDアレイ24のPDの受光の有無を検出する。ここで、PD走査部43が1回のPD走査で全てのPDの受光の有無の検出を行うよう、LED走査のLEDの点灯シーケンスや、PD走査のPDの受光の有無の検出シーケンスは定められている。
Next, the configuration of the touch panel 2 and the touch panel controller 4 is shown in FIG.
As illustrated, the touch panel 2 includes an XLED array 21, a YLED array 22, an XPD array 23, and a YPD array 24.
The XLED array 21 is composed of a plurality of infrared LEDs arranged in the horizontal direction along the lower side of the display 1, and each LED of the XLED array 21 emits a light beam in the upward direction.
The YLED array 22 is composed of a plurality of infrared LEDs arranged in the vertical direction along the right side of the display 1, and each LED of the YLED array 22 emits a light beam in the left direction.
The XPD array 23 is composed of a plurality of infrared PDs (photodiodes) arranged in the horizontal direction along the upper side of the display 1, and each PD of the XLED array 21 detects a light beam incident from below.
The YPD array 24 includes a plurality of infrared PDs arranged in the horizontal direction along the left side of the display 1, and each PD of the YLED array 22 detects a light beam incident from the right direction.
Next, the touch panel controller 4 includes a control unit 41, an LED scanning unit 42, and a PD scanning unit 43.
The LED scanning unit 42 repeatedly performs LED scanning, and sequentially turns on the LEDs of the XLED array 21 and the YLED array 22 in a predetermined sequence in each LED scanning. In addition, the PD scanning unit 43 repeatedly performs PD scanning, and detects the presence or absence of light reception of the PD of the XPD array 23 or the YPD array 24 at the position facing the lit LED sequentially in each PD scanning. Here, an LED lighting sequence for LED scanning and a detection sequence for detecting the presence or absence of PD in PD scanning are determined so that the PD scanning unit 43 detects whether or not all PDs are received in one PD scanning. ing.

そして、制御部41は、LED走査部42の上述したLED走査動作や、PD走査部43の上述したPD走査動作を制御すると共に、各回のPD走査で検出した各PDの受光の有無より、受光無であった各PDの座標を出力座標としてタッチパネルドライバ52に出力する。   The control unit 41 controls the above-described LED scanning operation of the LED scanning unit 42 and the above-described PD scanning operation of the PD scanning unit 43, and receives light from the presence or absence of light reception of each PD detected in each PD scanning. The coordinates of each PD that has not been output are output to the touch panel driver 52 as output coordinates.

すなわち、図3a1に示すように、x1からxnまでのn個のX座標に配置されたn個のPDをXPDアレイ23が備え、y1からymまでのm個のY座標の各々に配置されたm個のPDをYPDアレイ24が備えている場合において、PD走査で、図3a2に示すように、X座標xjのPDが受光無を検出し、Y座標ykのPDが受光無を検出した場合には、制御部41は、出力座標xjと、出力座標ykとを出力する。   That is, as shown in FIG. 3a1, the XPD array 23 includes n PDs arranged at n X coordinates from x1 to xn, and is arranged at each of m Y coordinates from y1 to ym. In the case where the YPD array 24 includes m PDs, in PD scanning, the PD at the X coordinate xj detects no light reception and the PD at the Y coordinate yk detects no light reception as shown in FIG. 3a2. The control unit 41 outputs the output coordinates xj and the output coordinates yk.

さて、このような構成において、タッチパネルドライバ52は、所定期間(たとえば、10分)以上継続して出力座標として出力され続けているX座標またはY座標が存在した場合には、その座標を検出する機能が故障しているものとして故障座標に設定する。   In such a configuration, when there is an X coordinate or a Y coordinate that is continuously output as an output coordinate for a predetermined period (for example, 10 minutes) or longer, the touch panel driver 52 detects the coordinate. Set to failure coordinates as a function failure.

すなわち、たとえば、図3b1に示すように、故障によりXPDアレイ23のX座標xaのPDが受光有りを検出できなくなり、出力座標xaが所定期間以上継続して出力し続けられている場合には、X座標xaを故障座標に設定する。また、同様に、故障によりYPDアレイ24のY座標yaのPDが受光有りを検出できなくなり、出力座標yaが所定期間以上継続して出力し続けられている場合には、Y座標yaを故障座標に設定する。
なお、座標を検出する機能が故障している座標は、所定期間以上の出力継続の検出以外の手法によって検出して故障座標に設定するようにしてもよい。
That is, for example, as shown in FIG. 3b1, when the PD at the X coordinate xa of the XPD array 23 cannot detect the presence of light reception due to a failure and the output coordinate xa continues to be output for a predetermined period or longer, The X coordinate xa is set as a failure coordinate. Similarly, if the PD at the Y coordinate ya of the YPD array 24 cannot detect the presence of light reception due to a failure and the output coordinate ya continues to be output for a predetermined period or longer, the Y coordinate ya is set as the failure coordinate. Set to.
It should be noted that the coordinates at which the function for detecting coordinates is out of order may be detected by a method other than detection of continuation of output for a predetermined period or more and set as the failure coordinates.

以下、このような構成において、タッチパネルドライバ52が行う入力座標検出処理について説明する。
図4に入力座標検出処理の手順を示す。
図示するように、この処理では、タッチパネルドライバ52から、PD走査で検出された出力座標の入力を監視する(ステップ402)。そして、出力座標が入力したならば(ステップ402)、故障座標が設定されているかどうかを調べ(ステップ404)、設定されていなければ、出力座標が一つのX座標xjと一つのY座標ykとの一つの組のみであるかどうかを調べる(ステップ406)。
Hereinafter, an input coordinate detection process performed by the touch panel driver 52 in such a configuration will be described.
FIG. 4 shows the procedure of the input coordinate detection process.
As shown in the figure, in this process, input of output coordinates detected by PD scanning is monitored from the touch panel driver 52 (step 402). If an output coordinate is input (step 402), it is checked whether or not a failure coordinate is set (step 404). If it is not set, the output coordinate is one X coordinate xj and one Y coordinate yk. It is checked whether there is only one set (step 406).

そして、一つの組のみでなければ、そのままステップ402に戻り、一つの組のみであれば、当該組が表す座標(xj、yk)を入力座標として検出した上で(ステップ408)、ステップ402に戻る。
一方、ステップ404で故障座標が設定されていると判定された場合には、故障座標と一致しない出力座標が存在するかどうかを調べ(ステップ410)、存在しない場合にはステップ402に戻る。
一方、故障座標と一致しない出力座標が存在する場合には(ステップ410)、入力した出力座標から、故障座標と一致する出力座標を除いた出力座標が、一つのX座標xjと一つのY座標ykとの一つの組のみであるかどうかを調べる(ステップ412)。
そして、一つの組のみであれば、当該組が表す座標(xj、yk)を入力座標として検出し(ステップ414)、ステップ402に戻る。
一方、一つの組のみでなければ、故障座標が、X座標軸とY座標軸とのそれぞれについて最大一つであるかどうか、すなわち、複数のX座標や複数のY座標が故障座標として設定されていないかどうかを調べる(ステップ416)。
そして、故障座標が、X座標軸とY座標軸とのそれぞれについて最大一つであれば(ステップ416)、故障座標と一致しない出力座標が一つのY座標ybのみであるかどうかを調べ(ステップ418)、そうでなければステップ402に戻る。
一方、故障座標と一致しない出力座標が一つのY座標ybのみであれば、さらに、X座標の故障座標xaが存在するかどうかを判定し(ステップ420)、故障座標xaが存在しなければステップ402に戻り、故障座標xaが存在する場合には、故障座標と一致しない出力座標であるY座標ybと故障座標xaとを用いた座標(xa、yb)を入力座標として検出した上で(ステップ422)、ステップ402に戻る。ただし、ステップ422では、故障座標xaと一致する出力座標が存在する場合のみ、(xa、yb)を入力座標として検出し、他の場合はステップ402に戻るようにしてもよい。
If there is not only one set, the process directly returns to step 402. If there is only one set, the coordinates (xj, yk) represented by the set are detected as input coordinates (step 408). Return.
On the other hand, if it is determined in step 404 that a failure coordinate has been set, it is checked whether there is an output coordinate that does not match the failure coordinate (step 410).
On the other hand, if there are output coordinates that do not match the fault coordinates (step 410), the output coordinates obtained by removing the output coordinates that match the fault coordinates from the input output coordinates are one X coordinate xj and one Y coordinate. It is checked whether there is only one set with yk (step 412).
If there is only one set, the coordinates (xj, yk) represented by the set are detected as input coordinates (step 414), and the process returns to step 402.
On the other hand, if there is not only one set, whether or not there is at most one failure coordinate for each of the X coordinate axis and the Y coordinate axis, that is, a plurality of X coordinates and a plurality of Y coordinates are not set as failure coordinates. Whether or not (step 416).
If there is at most one failure coordinate for each of the X coordinate axis and the Y coordinate axis (step 416), it is checked whether the output coordinate that does not match the failure coordinate is only one Y coordinate yb (step 418). Otherwise return to step 402.
On the other hand, if the output coordinate that does not coincide with the failure coordinate is only one Y coordinate yb, it is further determined whether or not the failure coordinate xa of the X coordinate exists (step 420). Returning to 402, if the failure coordinate xa exists, the coordinates (xa, yb) using the Y coordinate yb and the failure coordinate xa, which are output coordinates that do not match the failure coordinate, are detected as input coordinates (step 422), the process returns to step 402. However, in step 422, (xa, yb) may be detected as an input coordinate only when there is an output coordinate that matches the failure coordinate xa, and in other cases, the process may return to step 402.

一方、ステップ418で、故障座標と一致しない出力座標が一つのY座標ybのみでないと判定された場合には、故障座標と一致しない出力座標が一つのX座標xbのみであるかどうかを調べ(ステップ424)、そうでなければステップ402に戻る。
一方、故障座標と一致しない出力座標が一つのX座標xbのみであれば、さらに、Y座標の故障座標yaが存在するかどうかを判定し(ステップ426)、故障座標yaが存在しなければステップ402に戻り、故障座標yaが存在する場合には、故障座標と一致しない出力座標であるX座標xbと故障座標yaとを用いた座標(xb、ya)を入力座標として検出した上で(ステップ428)、ステップ402に戻る。ただし、ステップ428では、故障座標yaと一致する出力座標が存在する場合のみ、(xb、ya)を入力座標として検出し、他の場合はステップ402に戻るようにしてもよい。
On the other hand, if it is determined in step 418 that the output coordinate that does not match the failure coordinate is not only one Y coordinate yb, it is checked whether the output coordinate that does not match the failure coordinate is only one X coordinate xb ( Step 424), otherwise return to Step 402.
On the other hand, if the output coordinate that does not match the failure coordinate is only one X coordinate xb, it is further determined whether or not the failure coordinate ya of the Y coordinate exists (step 426). Returning to 402, when the failure coordinate ya exists, the coordinates (xb, ya) using the X coordinate xb and the failure coordinate ya which are output coordinates not coincident with the failure coordinate are detected as input coordinates (step 428), the process returns to step 402. However, in step 428, (xb, ya) may be detected as an input coordinate only when there is an output coordinate that matches the failure coordinate ya, and in other cases, the process may return to step 402.

次に、ステップ416において、故障座標が、X座標軸とY座標軸とのそれぞれについて最大一つでないと判定された場合、すなわち、複数のX座標や複数のY座標が故障座標として設定されている場合には、現在ドラッグ操作中であるかどうかを調べる(ステップ430)。ここで、ステップ430では、現在まで連続的に入力座標を検出し続けている場合にドラッグ操作中であると判定する。   Next, when it is determined in step 416 that the failure coordinate is not at most one for each of the X coordinate axis and the Y coordinate axis, that is, when a plurality of X coordinates or a plurality of Y coordinates are set as the failure coordinates. In step 430, it is checked whether a drag operation is currently being performed. Here, in step 430, it is determined that the drag operation is being performed when the input coordinates are continuously detected until now.

そして、ドラッグ操作中でなければステップ402に戻り、ドラッグ操作中であれば、故障座標と一致しない出力座標が一つのY座標ybのみであるかどうかを調べる(ステップ432)。
そして、故障座標と一致しない出力座標が一つのY座標ybのみであれば、Y座標ybが前回入力座標として検出した座標のY座標に近接しているかどうかを調べ(ステップ434)、近接していなければステップ402に戻る。
一方、Y座標ybが前回入力座標として検出した座標のY座標に近接している場合には、前回入力座標として検出した座標のX座標に近接する故障座標xaが存在するかどうかを判定し(ステップ436)、近接する故障座標xaが存在しなければステップ402に戻り、近接する故障座標xaが存在する場合には、故障座標と一致しない出力座標であるY座標ybと故障座標xaとを用いた座標(xa、yb)を入力座標として検出した上で(ステップ438)、ステップ402に戻る。ただし、ステップ438では、故障座標xaと一致する出力座標が存在する場合のみ、(xa、yb)を入力座標として検出し、他の場合はステップ402に戻るようにしてもよい。
If the drag operation is not being performed, the process returns to step 402. If the drag operation is being performed, it is checked whether or not the output coordinate that does not coincide with the failure coordinate is only one Y coordinate yb (step 432).
If the output coordinate that does not match the failure coordinate is only one Y coordinate yb, it is checked whether the Y coordinate yb is close to the Y coordinate of the coordinate detected as the previous input coordinate (step 434). If not, return to Step 402.
On the other hand, if the Y coordinate yb is close to the Y coordinate of the coordinate detected as the previous input coordinate, it is determined whether or not there is a fault coordinate xa close to the X coordinate of the coordinate detected as the previous input coordinate ( Step 436) If there is no adjacent failure coordinate xa, the process returns to Step 402, and if there is an adjacent failure coordinate xa, the Y coordinate yb and the failure coordinate xa, which are output coordinates that do not match the failure coordinate, are used. The detected coordinates (xa, yb) are detected as input coordinates (step 438), and the process returns to step 402. However, in step 438, (xa, yb) may be detected as an input coordinate only when there is an output coordinate that matches the failure coordinate xa, and in other cases, the process may return to step 402.

一方、ステップ432で、故障座標と一致しない出力座標が一つのY座標ybのみでないと判定された場合には、故障座標と一致しない出力座標が一つのX座標xbのみであるかどうかを調べ(ステップ440)、そうでなければステップ402に戻る。
一方、故障座標と一致しない出力座標が一つのX座標xbのみであれば、X座標xbが前回入力座標として検出した座標のX座標に近接しているかどうかを調べ(ステップ442)、近接していなければステップ402に戻る。
一方、X座標xbが前回入力座標として検出した座標のX座標に近接している場合には、前回入力座標として検出した座標のY座標に近接する故障座標yaが存在するかどうかを判定し(ステップ444)、近接する故障座標yaが存在しなければステップ402に戻り、近接する故障座標yaが存在する場合には、故障座標と一致しない出力座標であるX座標xbと故障座標yaとを用いた座標(xb、ya)を入力座標として検出した上で(ステップ446)、ステップ402に戻る。ただし、ステップ446では、故障座標Yaと一致する出力座標が存在する場合のみ、(xb、ya)を入力座標として検出し、他の場合はステップ402に戻るようにしてもよい。
On the other hand, if it is determined in step 432 that the output coordinate that does not match the failure coordinate is not only one Y coordinate yb, it is checked whether the output coordinate that does not match the failure coordinate is only one X coordinate xb ( Step 440), otherwise return to Step 402.
On the other hand, if the output coordinate that does not match the failure coordinate is only one X coordinate xb, it is checked whether the X coordinate xb is close to the X coordinate of the coordinate detected as the previous input coordinate (step 442). If not, return to Step 402.
On the other hand, when the X coordinate xb is close to the X coordinate of the coordinate detected as the previous input coordinate, it is determined whether or not there is a failure coordinate ya close to the Y coordinate of the coordinate detected as the previous input coordinate ( Step 444) If there is no adjacent failure coordinate ya, return to Step 402, and if there is an adjacent failure coordinate ya, use the X coordinate xb and the failure coordinate ya, which are output coordinates that do not match the failure coordinate. The detected coordinates (xb, ya) are detected as input coordinates (step 446), and the process returns to step 402. However, in step 446, (xb, ya) may be detected as an input coordinate only when there is an output coordinate that matches the failure coordinate Ya, and in other cases, the process may return to step 402.

以上、タッチパネルドライバ52が行う入力座標検出処理について説明した。なお、上述のように入力座標検出処理で検出された入力座標は、その時点でタッチパネル2を入力に用いているオペレーティングシステム5やアプリケーション6に出力される。
以上のような入力座標検出処理によれば、たとえば、図3b1に示すように、故障によりX座標xaの座標検出機能が失われX座標xaが故障座標に設定されているときに、xjとxaが異なるX座標であるとして、ユーザが座標(xj、yk)をタッチしたときには、出力座標xaと出力座標xjと出力座標ykとがタッチパネルドライバ52に入力される。そして、タッチパネルドライバ52において、故障座標xaと一致する出力座標xaを除く出力座標xjと出力座標ykとを用いた座標(xj、yk)が入力座標として正しく検出されることとなる。
The input coordinate detection process performed by the touch panel driver 52 has been described above. Note that the input coordinates detected by the input coordinate detection process as described above are output to the operating system 5 and the application 6 that use the touch panel 2 for input at that time.
According to the input coordinate detection processing as described above, for example, as shown in FIG. 3b1, when the coordinate detection function of the X coordinate xa is lost due to a failure and the X coordinate xa is set as the failure coordinate, xj and xa When the user touches the coordinates (xj, yk), the output coordinates xa, the output coordinates xj, and the output coordinates yk are input to the touch panel driver 52. In the touch panel driver 52, coordinates (xj, yk) using the output coordinates xj and the output coordinates yk excluding the output coordinates xa that coincide with the failure coordinates xa are correctly detected as input coordinates.

一方、図3b2に示すように、X座標xaが故障座標に設定されているときに、ユーザが座標(xa、yb)をタッチしたときには、出力座標xaと出力座標ykとがタッチパネルドライバ52に入力される。そして、タッチパネルドライバ52において、故障座標と異なる出力座標ykが入力されたことよりユーザのタッチが発生したことを検知すると共に、故障座標xa以外のX座標の出力座標が入力されていないことより、ユーザがタッチしたX座標は故障座標xaであると推定して、故障座標xaと出力座標ybとを用いた座標(xa、yb)が入力座標として正しく検出されることとなる。   On the other hand, as shown in FIG. 3b2, when the user touches the coordinates (xa, yb) when the X coordinate xa is set as a failure coordinate, the output coordinate xa and the output coordinate yk are input to the touch panel driver 52. Is done. Then, the touch panel driver 52 detects that the user's touch has occurred due to the input of the output coordinate yk different from the failure coordinate, and the X coordinate output coordinate other than the failure coordinate xa is not input. The X coordinate touched by the user is estimated to be the failure coordinate xa, and coordinates (xa, yb) using the failure coordinate xa and the output coordinate yb are correctly detected as input coordinates.

次に、図5a1に示すように、X座標xaとxqとが故障座標に設定されているときに、図5a2に示すように、ユーザが座標(xa、yb)の位置までタッチパネル2をなぞるドラッグ操作を行った場合、タッチ位置が座標(xa、yb)に達するまでは正しくタッチした座標が入力座標として検出される。そして、タッチ位置が座標(xa、yb)に達したときには、出力座標xaと出力座標xqと出力座標ybがタッチパネルドライバ52に入力される。そして、タッチパネルドライバ52において、故障座標ではない出力座標ybが前回入力座標として検出したY座標yb-1と近接していることより、ユーザのドラッグ操作が継続していることを検知する。また、故障座標以外のX座標の出力座標が入力されていないことより、故障座標xa、xqのいずれかがユーザがタッチしているX座標であることを検知する。そして、ドラッグ操作継続中はタッチ位置の座標が大きく変化することはないので、故障座標xa、xqうち、前回入力座標として検出したX座標xa-1に近接する故障座標xaに現在ユーザがタッチしているものと確定する。そして、故障座標xaと出力座標ybとを用いた座標(xa、yb)を入力座標として正しく検出する。   Next, as shown in FIG. 5a1, when the X coordinates xa and xq are set as failure coordinates, the user drags the touch panel 2 to the position of the coordinates (xa, yb) as shown in FIG. 5a2. When the operation is performed, the coordinates that are correctly touched are detected as input coordinates until the touch position reaches the coordinates (xa, yb). When the touch position reaches the coordinates (xa, yb), the output coordinates xa, the output coordinates xq, and the output coordinates yb are input to the touch panel driver 52. Then, the touch panel driver 52 detects that the user's drag operation is continuing because the output coordinate yb which is not the failure coordinate is close to the Y coordinate yb-1 detected as the previous input coordinate. Further, since the output coordinates of the X coordinate other than the failure coordinates are not input, it is detected that one of the failure coordinates xa and xq is the X coordinate touched by the user. Since the coordinate of the touch position does not change greatly while the drag operation is continued, the current user touches the failure coordinate xa close to the X coordinate xa-1 detected as the previous input coordinate among the failure coordinates xa and xq. It is decided that it is. Then, the coordinates (xa, yb) using the failure coordinates xa and the output coordinates yb are correctly detected as input coordinates.

また、以上の入力座標検出処理における故障座標が一つの座標軸上に複数存在するときの入力座標の検出は、ユーザのタッチ操作が行われる領域が限定できる場合には、当該領域を利用して行うようにしてもよい。すなわち、故障座標と異なる一つの座標Aと、当該一つの座標Aと異なる座標軸上の複数の故障座標B1、B2…とを含む複数の故障座標とが出力座標として出力されたときに、複数の故障座標B1、B2…のうち、ユーザの座標Aとの組み合わせにより示されるXY座標が、タッチ操作が行われる領域内となる故障座標が故障座標Bpの一つのみである場合には、その一つの故障座標Bpと、故障座標と異なる出力座標Aとにより示される座標を入力座標として検出するようにしてもよい。   In addition, when there are a plurality of failure coordinates on one coordinate axis in the input coordinate detection process described above, detection of input coordinates is performed using the area when the area where the user's touch operation can be performed can be limited. You may do it. That is, when a plurality of failure coordinates including one coordinate A different from the failure coordinates and a plurality of failure coordinates B1, B2,... On a coordinate axis different from the one coordinate A are output as output coordinates, Among the failure coordinates B1, B2,..., The XY coordinate indicated by the combination with the user's coordinate A is one of the failure coordinates Bp that is within the area where the touch operation is performed. You may make it detect the coordinate shown by the one failure coordinate Bp and the output coordinate A different from a failure coordinate as an input coordinate.

たとえば、いま、図5b1に示すように、Y座標yaとyqとが故障座標に設定されており、図5b2に示すように、ディスプレイ1にユーザ操作を受け付けるための複数のボタン500が表示されているときに、ユーザが一つのボタン500を操作するために、そのボタンの表示領域内の座標(xb、ya)タッチした場合を考える。   For example, now, as shown in FIG. 5b1, Y coordinates ya and yq are set as failure coordinates, and as shown in FIG. 5b2, a plurality of buttons 500 for receiving user operations are displayed on the display 1. Assume that the user touches the coordinates (xb, ya) in the display area of the button in order to operate one button 500.

この場合、出力座標xbと出力座標yaと出力座標yqとがタッチパネルドライバ52に入力される。そして、タッチパネルドライバ52において、故障座標と異なる出力座標xbが入力されたことよりユーザのタッチが発生したことを検知すると共に、故障座標yaと故障座標yq以外のY座標の出力座標が入力されていないことより、ユーザがタッチしたY座標は故障座標ya、yqのいずれかであることを検知する。   In this case, the output coordinate xb, the output coordinate ya, and the output coordinate yq are input to the touch panel driver 52. Then, the touch panel driver 52 detects that a user touch has occurred due to the input of the output coordinate xb different from the failure coordinate, and the output coordinate of the Y coordinate other than the failure coordinate ya and the failure coordinate yq is input. Therefore, it is detected that the Y coordinate touched by the user is one of the failure coordinates ya and yq.

そして、故障座標ya、yqと故障座標と異なる出力座標xbと組み合わせた座標(xb、ya)、(xb、yq)のうち、座標(xb、ya)のみがボタン500を表示している領域内にあり、座標(xb、yq)はボタン500を表示している領域内にないことより、故障座標yaが現在ユーザがタッチしているY座標であると推定する。そして、故障座標yaと出力座標xbとを用いた座標(xb、ya)を入力座標として検出する。   The coordinates (xb, ya) of the coordinates (xb, ya), (xb, yq) combined with the fault coordinates ya, yq and the output coordinates xb different from the fault coordinates are within the area where the button 500 is displayed. Since the coordinates (xb, yq) are not in the area where the button 500 is displayed, it is estimated that the failure coordinate ya is the Y coordinate currently touched by the user. Then, coordinates (xb, ya) using the failure coordinates ya and the output coordinates xb are detected as input coordinates.

ところで、以上の実施形態では、入力座標検出処理をタッチパネルドライバ52において行うものとして説明したが、以上の入力座標検出処理は、タッチパネルコントローラ4の制御部41において行うようにすることもできる。また、タッチパネルドライバ52において出力座標をそのままアプリケーション6に中継するものとして、以上の入力座標検出処理は、アプリケーション6において行うようにすることもできる。   In the above embodiment, the input coordinate detection process is described as being performed by the touch panel driver 52. However, the above input coordinate detection process may be performed by the control unit 41 of the touch panel controller 4. In addition, the input coordinate detection processing described above can be performed in the application 6 as the output coordinates are directly relayed to the application 6 in the touch panel driver 52.

また、以上の実施形態は、光学式タッチパネルへの適用を例にとり説明したが、以上の実施形態における入力座標検出処理は、投影型の静電容量式タッチパネルなどの他の方式のタッチパネル2にも同様に適用することができる。   Moreover, although the above embodiment demonstrated taking the application to an optical touch panel as an example, the input coordinate detection process in the above embodiment also applies to other types of touch panel 2 such as a projected capacitive touch panel. The same can be applied.

1…ディスプレイ、2…タッチパネル、3…ディスプレイコントローラ、4…タッチパネルコントローラ、5…オペレーティングシステム、6…アプリケーション、21…XLEDアレイ、22…YLEDアレイ、23…XPDアレイ、24…YPDアレイ、41…制御部、42…LED走査部、43…PD走査部、51…ディスプレイドライバ、52…タッチパネルドライバ。   DESCRIPTION OF SYMBOLS 1 ... Display, 2 ... Touch panel, 3 ... Display controller, 4 ... Touch panel controller, 5 ... Operating system, 6 ... Application, 21 ... XLED array, 22 ... YLED array, 23 ... XPD array, 24 ... YPD array, 41 ... Control , 42... LED scanning unit, 43... PD scanning unit, 51.

Claims (6)

第一座標軸上の各座標と、前記第一座標軸と直交する第二座標軸上の各座標について、ユーザのタッチの有無を検出するタッチパネルを備えたタッチパネル入力装置であって、
前記第一座標軸上の各座標と前記第二座標軸上の各座標のうち、タッチの有無を検出する機能が故障した座標を故障座標に設定する故障座標設定手段と、
前記第一座標軸上の座標と前記第二座標軸上の座標とよりなる二次元の入力座標を検出し、検出した入力座標を前記ユーザがタッチした座標として受け付ける入力座標検出手段とを有し、
前記入力座標検出手段は、
前記タッチパネルがタッチ有を検出した座標のうちの故障座標と異なる座標が、故障座標と異なる第一座標軸の座標と、故障座標と異なる第二座標軸の座標とである場合に、当該故障座標と異なる第一座標軸の座標と当該故障座標と異なる第二座標軸の座標とよりなる二次元の座標を前記入力座標として検出し、
故障座標に設定されている第二座標軸の座標が一つであるときに、前記タッチパネルが、故障座標と異なる第一座標軸の座標と、故障座標と一致する第二座標軸の座標とのみについてタッチ有を検出したときに、当該第一座標軸の座標と当該故障座標と一致する第二座標軸の座標とよりなる二次元の座標を前記入力座標として検出することを特徴とするタッチパネル入力装置。
For each coordinate on the first coordinate axis and each coordinate on the second coordinate axis orthogonal to the first coordinate axis, a touch panel input device including a touch panel that detects the presence or absence of the user's touch,
Of the coordinates on the first coordinate axis and the coordinates on the second coordinate axis, failure coordinate setting means for setting the coordinates where the function of detecting the presence or absence of touch has failed as failure coordinates,
Two-dimensional input coordinates comprising coordinates on the first coordinate axis and coordinates on the second coordinate axis are detected, and input coordinate detection means for receiving the detected input coordinates as coordinates touched by the user,
The input coordinate detection means includes
The coordinates different from the failure coordinates among the coordinates where the touch panel has detected touch are different from the failure coordinates when the coordinates of the first coordinate axis different from the failure coordinates are the coordinates of the second coordinate axis different from the failure coordinates. Two-dimensional coordinates consisting of the coordinates of the first coordinate axis and the coordinates of the second coordinate axis different from the failure coordinates are detected as the input coordinates,
When there is only one coordinate of the second coordinate axis set as the failure coordinate, the touch panel has touch only for the coordinate of the first coordinate axis different from the failure coordinate and the coordinate of the second coordinate axis that matches the failure coordinate. A touch panel input device that detects, as the input coordinates, a two-dimensional coordinate including a coordinate of the first coordinate axis and a coordinate of a second coordinate axis that matches the failure coordinate.
第一座標軸上の各座標と、前記第一座標軸と直交する第二座標軸上の各座標について、ユーザのタッチの有無を検出するタッチパネルを備えたタッチパネル入力装置であって、
前記第一座標軸上の各座標と前記第二座標軸上の各座標のうち、タッチの有無を検出する機能が故障した座標を故障座標に設定する故障座標設定手段と、
前記第一座標軸上の座標と前記第二座標軸上の座標とよりなる二次元の入力座標を検出し、検出した入力座標を前記ユーザがタッチした座標として受け付ける入力座標検出手段とを有し、
前記入力座標検出手段は、
前記タッチパネルがタッチ有を検出した座標のうちの故障座標と異なる座標が、故障座標と異なる第一座標軸の座標と、故障座標と異なる第二座標軸の座標とである場合に、当該故障座標と異なる第一座標軸の座標と当該故障座標と異なる第二座標軸の座標とよりなる二次元の座標を前記入力座標として検出し、
故障座標に設定されている第二座標軸の座標が複数であり、現時点までに前記入力座標を連続的に検出しているときに、前記タッチパネルが、故障座標と異なる第一座標軸の座標と、故障座標と一致する第二座標軸の座標とのみについてタッチ有を検出したときに、故障座標に設定されている前記第二座標軸の座標であって、直前に検出した入力座標に含まれる第二座標軸の座標と近接している座標が存在する場合には、当該存在した故障座標に設定されている前記第二座標軸の座標と、前記タッチパネルがタッチ有を検出した故障座標と異なる第一座標軸の座標とよりなる二次元の座標を前記入力座標として検出することを特徴とするタッチパネル入力装置。
For each coordinate on the first coordinate axis and each coordinate on the second coordinate axis orthogonal to the first coordinate axis, a touch panel input device including a touch panel that detects the presence or absence of the user's touch,
Of the coordinates on the first coordinate axis and the coordinates on the second coordinate axis, failure coordinate setting means for setting the coordinates where the function of detecting the presence or absence of touch has failed as failure coordinates,
Two-dimensional input coordinates comprising coordinates on the first coordinate axis and coordinates on the second coordinate axis are detected, and input coordinate detection means for receiving the detected input coordinates as coordinates touched by the user,
The input coordinate detection means includes
The coordinates different from the failure coordinates among the coordinates where the touch panel has detected touch are different from the failure coordinates when the coordinates of the first coordinate axis different from the failure coordinates are the coordinates of the second coordinate axis different from the failure coordinates. Two-dimensional coordinates consisting of the coordinates of the first coordinate axis and the coordinates of the second coordinate axis different from the failure coordinates are detected as the input coordinates,
There are a plurality of coordinates of the second coordinate axis set as the failure coordinates, and when the input coordinates are continuously detected up to the present time, the touch panel has a coordinate of the first coordinate axis different from the failure coordinates, and a failure When the presence of touch is detected only with respect to the coordinates of the second coordinate axis that matches the coordinates, the coordinates of the second coordinate axis set as the failure coordinates and the second coordinate axis included in the input coordinates detected immediately before If there is a coordinate that is close to the coordinate, the coordinate of the second coordinate axis that is set to the existing failure coordinate, the coordinate of the first coordinate axis that is different from the failure coordinate that the touch panel has detected touching, and A touch panel input device characterized by detecting two-dimensional coordinates comprising the input coordinates.
請求項1記載のタッチパネル入力装置であって、
前記入力座標検出手段は、
故障座標に設定されている第二座標軸の座標が複数であり、現時点までに前記入力座標を連続的に検出しているときに、前記タッチパネルが、故障座標と異なる第一座標軸の座標と、故障座標と一致する第二座標軸の座標とのみについてタッチ有を検出したときに、故障座標に設定されている前記第二座標軸の座標であって、直前に検出した入力座標に含まれる第二座標軸の座標と近接している座標が存在する場合には、当該存在した故障座標に設定されている前記第二座標軸の座標と、前記タッチパネルがタッチ有を検出した故障座標と異なる第一座標軸の座標とよりなる二次元の座標を前記入力座標として検出することを特徴とするタッチパネル入力装置。
The touch panel input device according to claim 1,
The input coordinate detection means includes
There are a plurality of coordinates of the second coordinate axis set as the failure coordinates, and when the input coordinates are continuously detected up to the present time, the touch panel has a coordinate of the first coordinate axis different from the failure coordinates, and a failure When the presence of touch is detected only with respect to the coordinates of the second coordinate axis that matches the coordinates, the coordinates of the second coordinate axis set as the failure coordinates and the second coordinate axis included in the input coordinates detected immediately before If there is a coordinate that is close to the coordinate, the coordinate of the second coordinate axis that is set to the existing failure coordinate, the coordinate of the first coordinate axis that is different from the failure coordinate that the touch panel has detected touching, and A touch panel input device characterized by detecting two-dimensional coordinates comprising the input coordinates.
第一座標軸上の各座標と、前記第一座標軸と直交する第二座標軸上の各座標について、ユーザのタッチの有無を検出するタッチパネルと、前記タッチパネルと表示面が重なるように配置されたディスプレイとを備えたタッチパネル入力装置であって、
前記ディスプレイにユーザのタッチ操作を受け付ける表示オブジェクトを表示するオブジェクト表示手段と、
前記第一座標軸上の各座標と前記第二座標軸上の各座標のうち、タッチの有無を検出する機能が故障した座標を故障座標に設定する故障座標設定手段と、
前記第一座標軸上の座標と前記第二座標軸上の座標とよりなる二次元の入力座標を検出し、検出した入力座標を前記ユーザがタッチした座標として受け付ける入力座標検出手段とを有し、
前記入力座標検出手段は、
前記タッチパネルがタッチ有を検出した座標のうちの故障座標と異なる座標が、故障座標と異なる第一座標軸の座標と、故障座標と異なる第二座標軸の座標とである場合に、当該故障座標と異なる第一座標軸の座標と当該故障座標と異なる第二座標軸の座標とよりなる二次元の座標を前記入力座標として検出し、
故障座標に設定されている第二座標軸の座標が複数であるときに、前記タッチパネルが、故障座標と異なる第一座標軸の座標と、故障座標と一致する第二座標軸の座標とのみについてタッチ有を検出したときに、故障座標に設定されている前記第二座標軸の座標であって、当該第二座標軸の座標と前記タッチパネルがタッチ有を検出した故障座標と異なる第一座標軸の座標とを組み合わせた二次元の座標が前記表示オブジェクトの表示領域内の座標となる故障座標が一つだけ存在する場合には、当該存在した故障座標に設定されている前記第二座標軸の座標と、前記タッチパネルがタッチ有を検出した故障座標と異なる第一座標軸の座標とよりなる二次元の座標を前記入力座標として検出することを特徴とするタッチパネル入力装置。
For each coordinate on the first coordinate axis and each coordinate on the second coordinate axis orthogonal to the first coordinate axis, a touch panel for detecting the presence or absence of a user's touch, and a display arranged so that the touch panel and the display surface overlap each other A touch panel input device comprising:
Object display means for displaying a display object for accepting a user's touch operation on the display;
Of the coordinates on the first coordinate axis and the coordinates on the second coordinate axis, failure coordinate setting means for setting the coordinates where the function of detecting the presence or absence of touch has failed as failure coordinates,
Two-dimensional input coordinates comprising coordinates on the first coordinate axis and coordinates on the second coordinate axis are detected, and input coordinate detection means for receiving the detected input coordinates as coordinates touched by the user,
The input coordinate detection means includes
The coordinates different from the failure coordinates among the coordinates where the touch panel has detected touch are different from the failure coordinates when the coordinates of the first coordinate axis different from the failure coordinates are the coordinates of the second coordinate axis different from the failure coordinates. Two-dimensional coordinates consisting of the coordinates of the first coordinate axis and the coordinates of the second coordinate axis different from the failure coordinates are detected as the input coordinates,
When there are a plurality of coordinates of the second coordinate axis set as the failure coordinates, the touch panel has touch only on the coordinates of the first coordinate axis different from the failure coordinates and the coordinates of the second coordinate axis that matches the failure coordinates. When detected, the coordinates of the second coordinate axis set as the failure coordinates, and the coordinates of the second coordinate axis and the coordinates of the first coordinate axis different from the failure coordinates detected by the touch panel being touched are combined. When there is only one failure coordinate whose two-dimensional coordinate is a coordinate within the display area of the display object, the touch of the touch panel and the coordinate of the second coordinate axis set to the existing failure coordinate is present A touch panel input device that detects, as the input coordinates, two-dimensional coordinates composed of coordinates of a first coordinate axis different from a failure coordinate in which presence is detected.
請求項1記載のタッチパネル入力装置であって、
前記タッチパネルと表示面が重なるように配置されたディスプレイと、
前記ディスプレイにユーザのタッチ操作を受け付ける表示オブジェクトを表示するオブジェクト表示手段とを有し、
入力座標検出手段は、故障座標に設定されている第二座標軸の座標が複数であるときに、前記タッチパネルが、故障座標と異なる第一座標軸の座標と、故障座標と一致する第二座標軸の座標とのみについてタッチ有を検出したときに、故障座標に設定されている前記第二座標軸の座標であって、当該第二座標軸の座標と前記タッチパネルがタッチ有を検出した故障座標と異なる第一座標軸の座標とを組み合わせた二次元の座標が前記表示オブジェクトの表示領域内の座標となる故障座標が一つだけ存在する場合には、当該存在した故障座標に設定されている前記第二座標軸の座標と、前記タッチパネルがタッチ有を検出した故障座標と異なる第一座標軸の座標とよりなる二次元の座標を前記入力座標として検出することを特徴とするタッチパネル入力装置。
The touch panel input device according to claim 1,
A display arranged such that the touch panel and the display surface overlap;
Object display means for displaying a display object that accepts a user's touch operation on the display;
When there are a plurality of coordinates of the second coordinate axis set as the failure coordinate, the input coordinate detection means is configured such that the touch panel has a coordinate of the first coordinate axis different from the failure coordinate and a coordinate of the second coordinate axis that matches the failure coordinate. The first coordinate axis that is the coordinate of the second coordinate axis that is set as the failure coordinate when the touch presence is detected only for the second coordinate axis and that is different from the failure coordinate that the touch panel has detected the touch presence If there is only one failure coordinate whose two-dimensional coordinate combined with the coordinate in the display object becomes a coordinate in the display area of the display object, the coordinate of the second coordinate axis set to the existing failure coordinate And a touch panel that detects a two-dimensional coordinate including a coordinate of a first coordinate axis different from a failure coordinate at which the touch panel has detected a touch presence as the input coordinate. Le input device.
請求項1、2、3、4または5記載のタッチパネル入力装置であって、
前記タッチパネルは、
ディスプレイの縦横の辺に沿って配列した複数の発光素子と、
ディスプレイの前記複数の発光素子を配列した辺と対向する辺に沿って配列した複数の受光素子とを有し、
前記発光素子を駆動すると共に、前記各受光素子の受光の有無より、第一座標軸上の各座標と前記第二座標軸上の各座標についてユーザのタッチの有無を検出する光学式タッチパネルであることを特徴とするタッチパネル入力装置。
The touch panel input device according to claim 1, 2, 3, 4 or 5,
The touch panel
A plurality of light emitting elements arranged along the vertical and horizontal sides of the display;
A plurality of light receiving elements arranged along a side opposite to the side where the plurality of light emitting elements of the display are arranged;
It is an optical touch panel that drives the light emitting element and detects the presence or absence of a user's touch for each coordinate on the first coordinate axis and each coordinate on the second coordinate axis based on whether or not each light receiving element receives light. A featured touch panel input device.
JP2013221848A 2013-10-25 2013-10-25 Touch panel input device Expired - Fee Related JP6204791B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013221848A JP6204791B2 (en) 2013-10-25 2013-10-25 Touch panel input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013221848A JP6204791B2 (en) 2013-10-25 2013-10-25 Touch panel input device

Publications (2)

Publication Number Publication Date
JP2015084135A true JP2015084135A (en) 2015-04-30
JP6204791B2 JP6204791B2 (en) 2017-09-27

Family

ID=53047714

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013221848A Expired - Fee Related JP6204791B2 (en) 2013-10-25 2013-10-25 Touch panel input device

Country Status (1)

Country Link
JP (1) JP6204791B2 (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0285915A (en) * 1987-12-15 1990-03-27 Hitachi Ltd Optical touch panel input device
JPH02137013A (en) * 1988-11-18 1990-05-25 Hitachi Ltd Control method for touch panel and touch panel device
JPH02183323A (en) * 1989-01-10 1990-07-17 Sony Corp Touch panel device
JPH05298027A (en) * 1992-04-24 1993-11-12 Hitachi Eng Co Ltd Touch input type data processor
JPH0675685A (en) * 1992-08-26 1994-03-18 Toshiba Corp Touch position recognizing device
JPH0822360A (en) * 1994-07-08 1996-01-23 Dowa Mining Co Ltd Optical detecting device
JPH08339257A (en) * 1995-06-09 1996-12-24 Fujitsu General Ltd Digitizer
US20090040189A1 (en) * 2007-08-06 2009-02-12 Ki-Chan Lee Display device associated with touch panel, method of correcting errors of the same, and display system
JP2011175491A (en) * 2010-02-25 2011-09-08 Fujitsu Frontech Ltd Automatic transaction device, failure determination method, and failure determination program

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0285915A (en) * 1987-12-15 1990-03-27 Hitachi Ltd Optical touch panel input device
JPH02137013A (en) * 1988-11-18 1990-05-25 Hitachi Ltd Control method for touch panel and touch panel device
JPH02183323A (en) * 1989-01-10 1990-07-17 Sony Corp Touch panel device
JPH05298027A (en) * 1992-04-24 1993-11-12 Hitachi Eng Co Ltd Touch input type data processor
JPH0675685A (en) * 1992-08-26 1994-03-18 Toshiba Corp Touch position recognizing device
JPH0822360A (en) * 1994-07-08 1996-01-23 Dowa Mining Co Ltd Optical detecting device
JPH08339257A (en) * 1995-06-09 1996-12-24 Fujitsu General Ltd Digitizer
US20090040189A1 (en) * 2007-08-06 2009-02-12 Ki-Chan Lee Display device associated with touch panel, method of correcting errors of the same, and display system
JP2011175491A (en) * 2010-02-25 2011-09-08 Fujitsu Frontech Ltd Automatic transaction device, failure determination method, and failure determination program

Also Published As

Publication number Publication date
JP6204791B2 (en) 2017-09-27

Similar Documents

Publication Publication Date Title
US10372206B2 (en) Eye-controlled apparatus, eye-controlled method and eye-controlled system
US9632587B2 (en) Interactive recognition system and display device
US20150042576A1 (en) Information Processing Method and Electronic Apparatus
JP2013218549A (en) Electronic equipment
US20150234522A1 (en) Touch event scan method, electronic device and storage medium
JP4990990B2 (en) Touch panel display device and detection method of touch panel display device
JP2012221494A (en) Display device and object display method of the same
US9459696B2 (en) Gesture-sensitive display
KR102125327B1 (en) Operating Method For Touch Module and Electronic Device supporting the same
TWI522853B (en) Navigation device and image display system
JP6204791B2 (en) Touch panel input device
JP2012043227A (en) Optical touch panel device and optical touch panel
JP6636386B2 (en) Touch scan control device, touch scan control method, and touch scan control program
KR20140004179U (en) Elevate button with a photo-diode switch
JP2008059123A (en) Touch panel device
JP6146737B2 (en) Optical touch panel device
US20150138107A1 (en) Electronic device and method for outputting detected information
KR101461130B1 (en) Touch screen device using infrared rays
JP2011065414A (en) Power system monitoring and control device
KR101094129B1 (en) Method of executing instruction and apparatus performing the same
KR101162601B1 (en) Display unit and electronic blackboard system using the same
WO2024043175A1 (en) Touch panel, touch display unit, video control device, and notification device
JP2009251639A (en) Scanning control method for input device, apparatus therefor, and recording medium
JP6620588B2 (en) Screen operation detection device and screen operation detection program
JP2007310477A (en) Screen operation device and screen operation method and display input device to be used for screen operation device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160804

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170516

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170523

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170714

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170901

R150 Certificate of patent or registration of utility model

Ref document number: 6204791

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees