[go: up one dir, main page]

JP5691501B2 - Touch panel, liquid crystal display element having the same, and touch panel position detection method - Google Patents

Touch panel, liquid crystal display element having the same, and touch panel position detection method Download PDF

Info

Publication number
JP5691501B2
JP5691501B2 JP2010288849A JP2010288849A JP5691501B2 JP 5691501 B2 JP5691501 B2 JP 5691501B2 JP 2010288849 A JP2010288849 A JP 2010288849A JP 2010288849 A JP2010288849 A JP 2010288849A JP 5691501 B2 JP5691501 B2 JP 5691501B2
Authority
JP
Japan
Prior art keywords
axis
along
coordinate
value
coordinate values
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2010288849A
Other languages
Japanese (ja)
Other versions
JP2012137889A (en
Inventor
坂本 正則
正則 坂本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2010288849A priority Critical patent/JP5691501B2/en
Publication of JP2012137889A publication Critical patent/JP2012137889A/en
Application granted granted Critical
Publication of JP5691501B2 publication Critical patent/JP5691501B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Position Input By Displaying (AREA)

Description

本発明は、タッチパネル、それを有する液晶表示素子、及びタッチパネルの位置検出方法に関する。   The present invention relates to a touch panel, a liquid crystal display element having the same, and a touch panel position detection method.

一般に、ユーザがその表面を押圧(タッチ)したときに、タッチされた基板の撓みを検出して、タッチ位置を特定するタッチパネルが知られている。例えば特許文献1には、液晶表示素子内に、センシング機構を配置したタッチパネルに係る技術が開示されている。この液晶表示素子においては、当該液晶表示素子の観察者側の基板が、タッチされて撓むと、その基板に形成された電極と、その基板と対向する基板上に形成された電極とが接触する。この2つの電極の接触を検出することで、当該タッチパネル機能を有する液晶表示素子は、タッチされた点を特定することができる。
In general, a touch panel is known in which when a user presses (touches) the surface, the touch position of the touched substrate is detected to identify the touch position. For example, Patent Document 1 discloses a technique related to a touch panel in which a sensing mechanism is arranged in a liquid crystal display element. In the liquid crystal display device, the substrate of the observer's side the liquid crystal display element, the flex is touched, the electrode formed on the substrate, an electrode formed on a substrate facing the substrate, the contact To do. By detecting the contact between the two electrodes, the liquid crystal display element having the touch panel function can identify the touched point.

特開2007−95044号公報JP 2007-95044 A

前記のようなタッチされた基板の撓みを検出してタッチ位置を特定するタッチパネルにおいては、例えばユーザが基板を押圧しながらその押圧位置を移動させると、その移動の前方側と後方側とでは、基板の形状が非対称になることがある。このような基板の撓み形状の非対称性は、タッチ位置の検出において、誤差の原因となることがある。   In the touch panel that detects the touch of the touched substrate and identifies the touch position as described above, for example, when the user moves the pressing position while pressing the substrate, on the front side and the rear side of the movement, The shape of the substrate may be asymmetric. Such asymmetry of the bent shape of the substrate may cause an error in detecting the touch position.

そこで本発明は、タッチされた基板の撓みを検出してタッチ位置を特定するタッチパネルにおいて、正確なタッチ位置の検出を行うことができるタッチパネル、それを有する液晶表示素子、及びタッチパネルの位置検出方法を提供することを目的とする。   Therefore, the present invention provides a touch panel that can accurately detect a touch position, a liquid crystal display element having the touch panel, and a position detection method of the touch panel in a touch panel that detects a touched substrate and identifies a touch position. The purpose is to provide.

前記課題を解決するため、本発明のタッチパネルの一態様は、検知側の基板と、前記検知側の基板がタッチされた際に、前記検知側の基板への当該タッチを検出する検出部と、前記検出部が出力する前記検知側の基板への前記タッチに係わる複数の座標を表す検出信号に基づいて、タッチされた位置を特定する演算部と、を具備し、前記検出信号は、前記基板への前記タッチに係わる、第1の軸に沿った前記複数の座標値を表す複数の第1軸方向信号と、前記基板への前記タッチに係わる、前記第1の軸に交差する第2の軸に沿った前記複数の座標値を表す複数の第2軸方向信号と、を含み、 前記複数の座標値の前記第1の軸に沿った最大値をXmax1、前記第1の軸に沿った最小値をXmin1、前記第2の軸に沿った最大値をYmax1、前記第2の軸に沿った最小値をYmin1とすると、前記演算部は、前記第1軸方向信号に基づいて、前記第1の軸に沿った前記複数の座標値が大きくなる方向に時間的に変化していると判定したときには、前記タッチされた位置の前記第1の軸に沿った座標値Xtouchを、次式(1)に基づいて算出し、
Xtouch=(Xmax1−Xmin1)/XgainP+Xmin1 ・・(1)
ここで、1≦XgainP<2、XgainPは、前記タッチされた位置の前記第1の軸に沿った座標値Xtouchを、前記第1の軸に沿った前記複数の座標値の中央値からどれだけ前記第1の軸に沿って大きくなる方向に偏らせるかを表す値であり、前記第1軸方向信号に基づいて、前記第1の軸に沿った前記複数の座標値が小さくなる方向に時間的に変化していると判定したときには、前記タッチされた位置の前記第1の軸に沿った座標値Xtouchを、次式(2)に基づいて算出し、
Xtouch=(Xmax1−Xmin1)/XgainM+Xmin1 ・・(2)
ここで、2<XgainM、XgainMは、前記タッチされた位置の前記第1の軸に沿った座標値Xtouchを、前記第1の軸に沿った前記複数の座標値の中央値からどれだけ前記第1の軸に沿って小さくなる方向に偏らせるかを表す値であり、前記第2軸方向信号に基づいて、前記第2の軸に沿った前記複数の座標値が大きくなる方向に時間的に変化していると判定したときには、前記タッチされた位置の前記第2の軸に沿った座標値Ytouchを、次式(3)に基づいて算出し、
Ytouch=(Ymax1−Ymin1)/YgainP+Ymin1 ・・(3)
ここで、1≦YgainP<2、YgainPは、前記タッチされた位置の前記第2の軸に沿った座標値Ytouchを、前記第2の軸に沿った前記複数の座標値の中央値からどれだけ前記第2の軸に沿って大きくなる方向に偏らせるかを表す値であり、前記第2軸方向信号に基づいて、前記第2の軸に沿った前記複数の座標値が小さくなる方向に時間的に変化していると判定したときには、前記タッチされた位置の前記第2の軸に沿った座標値Ytouchを、次式(4)に基づいて算出し、
Ytouch=(Ymax1−Ymin1)/YgainM+Ymin1 ・・(4)
ここで、2<YgainM、YgainMは、前記タッチされた位置の前記第2の軸に沿った座標値Ytouchを、前記第2の軸に沿った前記複数の座標値の中央値からどれだけ前記第2の軸に沿って小さくなる方向に偏らせるかを表す値である、ことを特徴とする。
To solve the above problems, one aspect of the touch panel of the present invention comprises a substrate detection side, when the substrate of the detection side is touched, a detector for detecting the touch on the substrate of the detection side, wherein the detection unit outputs, on the basis of the detection signal representing a plurality of coordinate values relating to the touch to the detection side of the substrate, comprising: a calculating unit for identifying a data pitch position, the said detection signal Crossing the first axis relating to the touch on the substrate and a plurality of first axis direction signals representing the plurality of coordinate values along a first axis and the touch on the substrate. A plurality of second axis direction signals representing the plurality of coordinate values along the second axis, wherein a maximum value along the first axis of the plurality of coordinate values is Xmax1, The minimum value along the axis is Xmin1, and the maximum value along the second axis is Ym. x1, where Ymin1 is the minimum value along the second axis, the calculation unit is configured to increase the plurality of coordinate values along the first axis based on the first axis direction signal. When it is determined that the time has changed, a coordinate value Xtouch along the first axis of the touched position is calculated based on the following equation (1):
Xtouch = (Xmax1-Xmin1) / XgainP + Xmin1 (1)
Here, 1 ≦ XgainP <2, XgainP indicates that the coordinate value Xtouch along the first axis at the touched position is from the median value of the plurality of coordinate values along the first axis. A value indicating whether the bias is biased in a direction of increasing along the first axis, and based on the first axis direction signal, the plurality of coordinate values along the first axis decrease in time The coordinate value Xtouch along the first axis at the touched position is calculated based on the following equation (2):
Xtouch = (Xmax1-Xmin1) / XgainM + Xmin1 (2)
Here, 2 <XgainM and XgainM indicate how much the coordinate value Xtouch along the first axis of the touched position from the median value of the plurality of coordinate values along the first axis. Is a value that indicates whether to deviate in a direction along one axis, and based on the second axis direction signal, the plurality of coordinate values along the second axis increase in time. When it is determined that the position has changed, a coordinate value Ytouch along the second axis of the touched position is calculated based on the following equation (3):
Ytouch = (Ymax1-Ymin1) / YgainP + Ymin1 (3)
Here, 1 ≦ YgainP <2, YgainP indicates how much the coordinate value Ytouch along the second axis of the touched position is from the median value of the plurality of coordinate values along the second axis. A value indicating whether the bias is biased in the direction of increasing along the second axis, and based on the second axis direction signal, the plurality of coordinate values along the second axis decrease in time The coordinate value Ytouch along the second axis of the touched position is calculated based on the following equation (4):
Ytouch = (Ymax1-Ymin1) / YgainM + Ymin1 (4)
Here, 2 <YgainM and YgainM indicate how much the coordinate value Ytouch along the second axis of the touched position from the median value of the plurality of coordinate values along the second axis. It is a value that represents whether it is biased in the direction of decreasing along the axis of 2 .

また、前記課題を解決するため、本発明のタッチパネルを有する液晶表示素子の一態様は、液晶層を挟んで互いに対向する第1の基板上に形成された画素電極と第2の基板上に形成された対向電極とを有するアクティブマトリクス型の液晶表示素子であって、前記第1の基板上に形成された複数の検出ラインと、前記対向電極と間隙を有して対向し、前記第2の基板がタッチされたときに前記対向電極と導通する、前記複数の検出ラインの何れかに接続されている複数の接点電極と、前記検出ラインの各電位が表す前記第2の基板への前記タッチに係わる複数の座標に基づいて、タッチされた位置を特定する演算部と、を具備し、前記検出ラインは、第1の軸に沿った前記複数の座標値を表す信号を伝達する、複数の第1の検出ラインと、第2の軸に沿った前記複数の座標値を表す信号を伝達する、前記各第1の検出ラインと互いにねじれの位置に配置されている複数の第2の検出ラインと、を含み、前記接点電極は、前記複数の第1の検出ラインの何れかに接続されている複数の第1の接点電極と、前記複数の第2の検出ラインの何れかに接続されている複数の第2の接点電極と、を含み、前記複数の座標値の前記第1の軸に沿った最大値をXmax1、前記第1の軸に沿った最小値をXmin1、前記第2の軸に沿った最大値をYmax1、前記第2の軸に沿った最小値をYmin1とすると、前記演算部は、前記第1の検出ラインの電位に基づいて、前記第1の軸に沿った前記複数の座標値が大きくなる方向に時間的に変化していると判定したときには、前記タッチされた位置の前記第1の軸に沿った座標値Xtouchを、次式(1)に基づいて算出し、
Xtouch=(Xmax1−Xmin1)/XgainP+Xmin1 ・・(1)
ここで、1≦XgainP<2、XgainPは、前記タッチされた位置の前記第1の軸に沿った座標値Xtouchを、前記第1の軸に沿った前記複数の座標値の中央値からどれだけ前記第1の軸に沿って大きくなる方向に偏らせるかを表す値であり、前記第1の検出ラインの電位に基づいて、前記第1の軸に沿った前記複数の座標値が小さくなる方向に時間的に変化していると判定したときには、前記タッチされた位置の前記第1の軸に沿った座標値Xtouchを、次式(2)に基づいて算出し、
Xtouch=(Xmax1−Xmin1)/XgainM+Xmin1 ・・(2)
ここで、2<XgainM、XgainMは、前記タッチされた位置の前記第1の軸に沿った座標値Xtouchを、前記第1の軸に沿った前記複数の座標値の中央値からどれだけ前記第1の軸に沿って小さくなる方向に偏らせるかを表す値であり、前記第2の検出ラインの電位に基づいて、前記第2の軸に沿った前記複数の座標値が大きくなる方向に時間的に変化していると判定したときには、前記タッチされた位置の前記第2の軸に沿った座標値Ytouchを、次式(3)に基づいて算出し、
Ytouch=(Ymax1−Ymin1)/YgainP+Ymin1 ・・(3)
ここで、1≦YgainP<2、YgainPは、前記タッチされた位置の前記第2の軸に沿った座標値Ytouchを、前記第2の軸に沿った前記複数の座標値の中央値からどれだけ前記第2の軸に沿って大きくなる方向に偏らせるかを表す値であり、前記第2の検出ラインの電位に基づいて、前記第2の軸に沿った前記複数の座標値が小さくなる方向に時間的に変化していると判定したときには、前記タッチされた位置の前記第2の軸に沿った座標値Ytouchを、次式(4)に基づいて算出し、
Ytouch=(Ymax1−Ymin1)/YgainM+Ymin1 ・・(4)
ここで、2<YgainM、YgainMは、前記タッチされた位置の前記第2の軸に沿った座標値Ytouchを、前記第2の軸に沿った前記複数の座標値の中央値からどれだけ前記第2の軸に沿って小さくなる方向に偏らせるかを表す値である、ことを特徴とする。
In order to solve the above problem, one embodiment of a liquid crystal display element having a touch panel according to the present invention is formed on a pixel electrode formed on a first substrate and a second substrate facing each other with a liquid crystal layer interposed therebetween. a liquid crystal display device of active matrix type having a by opposing electrodes, and a plurality of sense lines formed on the first substrate, opposed to having the counter electrode and the gap, before Symbol second the conduction and a counter electrode when the substrate is touched, a plurality of contact electrodes which are connected to one of said plurality of detection lines, represented by each potential of the detection line, to the second substrate based on the plurality of coordinate values relating to the touch, a calculating unit for identifying a data pitch position, comprising a, the detection line, the signal representing the plurality of coordinate values along the first axis A plurality of first detection lines to be transmitted; Each of the first detection lines and a plurality of second detection lines arranged in a twisted position to transmit a signal representing the plurality of coordinate values along a second axis, and the contact point The electrode includes a plurality of first contact electrodes connected to any one of the plurality of first detection lines, and a plurality of second contacts connected to any of the plurality of second detection lines. The maximum value along the first axis of the plurality of coordinate values is Xmax1, the minimum value along the first axis is Xmin1, and the maximum value along the second axis is Ymax1. When the minimum value along the second axis is Ymin1, the calculation unit is configured to increase the plurality of coordinate values along the first axis based on the potential of the first detection line. When it is determined that the time has changed over time, The coordinate values Xtouch along said first axis position, is calculated based on the following equation (1),
Xtouch = (Xmax1-Xmin1) / XgainP + Xmin1 (1)
Here, 1 ≦ XgainP <2, XgainP indicates that the coordinate value Xtouch along the first axis at the touched position is from the median value of the plurality of coordinate values along the first axis. A value indicating whether the bias is biased in the direction of increasing along the first axis, and the direction of decreasing the plurality of coordinate values along the first axis based on the potential of the first detection line When the coordinate value Xtouch along the first axis of the touched position is determined based on the following equation (2):
Xtouch = (Xmax1-Xmin1) / XgainM + Xmin1 (2)
Here, 2 <XgainM and XgainM indicate how much the coordinate value Xtouch along the first axis of the touched position from the median value of the plurality of coordinate values along the first axis. A value indicating whether the bias is biased in the direction of decreasing along the first axis, and the time in the direction of increasing the plurality of coordinate values along the second axis based on the potential of the second detection line. The coordinate value Ytouch along the second axis of the touched position is calculated based on the following equation (3):
Ytouch = (Ymax1-Ymin1) / YgainP + Ymin1 (3)
Here, 1 ≦ YgainP <2, YgainP indicates how much the coordinate value Ytouch along the second axis of the touched position is from the median value of the plurality of coordinate values along the second axis. A value indicating whether the bias is biased in the direction of increasing along the second axis, and the direction of decreasing the plurality of coordinate values along the second axis based on the potential of the second detection line If it is determined that the touched position has changed over time, a coordinate value Ytouch along the second axis of the touched position is calculated based on the following equation (4):
Ytouch = (Ymax1-Ymin1) / YgainM + Ymin1 (4)
Here, 2 <YgainM and YgainM indicate how much the coordinate value Ytouch along the second axis of the touched position from the median value of the plurality of coordinate values along the second axis. It is a value that represents whether it is biased in the direction of decreasing along the axis of 2 .

また、前記課題を解決するため、本発明のタッチパネルの位置検出方法の一態様は、タッチされた際の検知側の基板の当該タッチを検出し、検出された当該検知側の基板への当該タッチに係わる複数の座標に基づいて、タッチされた位置を特定するタッチパネルの位置検出方法において、前記複数の座標値の第1の軸に沿った最大値をXmax1、当該第1の軸に沿った最小値をXmin1、当該第1の軸と交差する第2の軸に沿った最大値をYmax1、当該第2の軸に沿った最小値をYmin1とすると、前記第1の軸に沿った前記複数の座標値が時間的に大きくなる方向に変化しているとき、前記タッチされた位置の前記第1の軸に沿った座標値Xtouchを、次式(1)に基づいて算出し、
Xtouch=(Xmax1−Xmin1)/XgainP+Xmin1 ・・(1)
ここで、1≦XgainP<2、XgainPは、前記タッチされた位置の前記第1の軸に沿った座標値Xtouchを、前記第1の軸に沿った前記複数の座標値の中央値からどれだけ前記第1の軸に沿って大きくなる方向に偏らせるかを表す値であり、前記第1の軸に沿った前記複数の座標値が時間的に小さくなる方向に変化しているとき、前記タッチされた位置の前記第1の軸に沿った座標値Xtouchを、次式(2)に基づいて算出し、
Xtouch=(Xmax1−Xmin1)/XgainM+Xmin1 ・・(2)
ここで、2<XgainM、XgainMは、前記タッチされた位置の前記第1の軸に沿った座標値Xtouchを、前記第1の軸に沿った前記複数の座標値の中央値からどれだけ前記第1の軸に沿って小さくなる方向に偏らせるかを表す値であり、前記第2の軸に沿った前記複数の座標値が時間的に大きくなる方向に変化しているとき、前記タッチされた位置の前記第2の軸に沿った座標値Ytouchを、次式(3)に基づいて算出し、
Ytouch=(Ymax1−Ymin1)/YgainP+Ymin1 ・・(3)
ここで、1≦YgainP<2、YgainPは、前記タッチされた位置の前記第2の軸に沿った座標値Ytouchを、前記第2の軸に沿った前記複数の座標値の中央値からどれだけ前記第2の軸に沿って大きくなる方向に偏らせるかを表す値であり、前記第2の軸に沿った前記複数の座標値が時間的に小さくなる方向に変化しているとき、前記タッチされた位置の前記第2の軸に沿った座標値Ytouchを、次式(4)に基づいて算出し、
Ytouch=(Ymax1−Ymin1)/YgainM+Ymin1 ・・(4)
ここで、2<YgainM、YgainMは、前記タッチされた位置の前記第2の軸に沿った座標値Ytouchを、前記第2の軸に沿った前記複数の座標値の中央値からどれだけ前記第2の軸に沿って小さくなる方向に偏らせるかを表す値である、ことを特徴とする。
In order to solve the above-described problem, an aspect of the touch panel position detection method according to the present invention is to detect the touch on the detection-side substrate when touched, and detect the touch on the detection-side substrate . based on the plurality of coordinate values related to, in the position detecting method for a touch panel to identify the data pitch position, the maximum value along the first axis of said plurality of coordinate values Xmax1, to the first axis The minimum value along the first axis is Xmin1, the maximum value along the second axis intersecting the first axis is Ymax1, and the minimum value along the second axis is Ymin1. When the plurality of coordinate values change in a direction that increases in time, a coordinate value Xtouch along the first axis of the touched position is calculated based on the following equation (1):
Xtouch = (Xmax1-Xmin1) / XgainP + Xmin1 (1)
Here, 1 ≦ XgainP <2, XgainP indicates that the coordinate value Xtouch along the first axis at the touched position is from the median value of the plurality of coordinate values along the first axis. A value indicating whether or not the bias is biased in a direction of increasing along the first axis, and the plurality of coordinate values along the first axis are changed in a direction of decreasing temporally, the touch A coordinate value Xtouch along the first axis of the position is calculated based on the following equation (2):
Xtouch = (Xmax1-Xmin1) / XgainM + Xmin1 (2)
Here, 2 <XgainM and XgainM indicate how much the coordinate value Xtouch along the first axis of the touched position from the median value of the plurality of coordinate values along the first axis. A value indicating whether the value is biased in the direction of decreasing along one axis, and when the plurality of coordinate values along the second axis are changing in a direction of increasing in time, the touched A coordinate value Ytouch along the second axis of the position is calculated based on the following equation (3):
Ytouch = (Ymax1-Ymin1) / YgainP + Ymin1 (3)
Here, 1 ≦ YgainP <2, YgainP indicates how much the coordinate value Ytouch along the second axis of the touched position is from the median value of the plurality of coordinate values along the second axis. A value that indicates whether the bias is biased in a direction that increases along the second axis, and the plurality of coordinate values along the second axis change in a direction that decreases in time, the touch A coordinate value Ytouch along the second axis of the position is calculated based on the following equation (4):
Ytouch = (Ymax1-Ymin1) / YgainM + Ymin1 (4)
Here, 2 <YgainM and YgainM indicate how much the coordinate value Ytouch along the second axis of the touched position from the median value of the plurality of coordinate values along the second axis. It is a value that represents whether it is biased in the direction of decreasing along the axis of 2 .

本発明によれば、タッチされた基板の撓みを検出してタッチ位置を特定するタッチパネルにおいて、正確なタッチ位置の検出を行うことができるタッチパネル、それを有する液晶表示素子、及びタッチパネルの位置検出方法を提供できる。   ADVANTAGE OF THE INVENTION According to this invention, in the touch panel which detects the bending of the touched board | substrate and pinpoints a touch position, the touch panel which can detect an exact touch position, a liquid crystal display element having the same, and the position detection method of a touch panel Can provide.

本発明の第1の実施形態に係るタッチパネルの概略を示す図。The figure which shows the outline of the touchscreen which concerns on the 1st Embodiment of this invention. 第1の実施形態に係るタッチパネルにおいて、タッチされた位置とそのときに共通電極に接触する接点の位置とを説明するための図。In the touch panel according to the first embodiment, diagram for explaining the position of the contacts in contact with the common electrode when the touched position and its. 第1の実施形態に係るタッチパネルにおいて、タッチされた位置と検知される座標を説明するための図。In the touch panel according to the first embodiment, diagram for explaining a coordinate which is detected as a touch position. 第1の実施形態に係るタッチパネルにおいて、タッチ位置を移動させたときに前側基板が非対称に撓むことを説明するための概略図。FIG. 4 is a schematic diagram for explaining that the front substrate bends asymmetrically when the touch position is moved in the touch panel according to the first embodiment. 第1の実施形態に係るタッチパネルにおいて、タッチ位置が移動したときに、タッチされた位置とそのときに共通電極に接触する接点の位置とを説明するための図。The figure for demonstrating the position touched when the touch position moved in the touch panel which concerns on 1st Embodiment, and the position of the contact which contacts a common electrode at that time. 第1の実施形態に係るタッチパネルにおいて、タッチ位置が移動したときに、タッチされた位置と検知される座標を説明するための図。In the touch panel according to the first embodiment, when the touch position is moved, views for explaining a coordinate which is detected as a touch position. 本発明に係るタッチパネルの処理例を示すフローチャート。The flowchart which shows the process example of the touchscreen which concerns on this invention. 本発明に係るタッチパネルの処理例を示すフローチャート。The flowchart which shows the process example of the touchscreen which concerns on this invention. 本発明に係るタッチパネルの処理例を示すフローチャート。The flowchart which shows the process example of the touchscreen which concerns on this invention. 本発明に係るタッチパネルの処理例を説明するための、タッチされた位置とそのときに共通電極に接触する接点の位置の例を示す図。Diagram illustrating an example of the position of the contacts in contact with the common electrode when the touch position and its for explaining a process example of a touch panel according to the present invention. 本発明の第1の実施形態に係るタッチパネルの別の例の一部の概略を示す切断斜視図。FIG. 3 is a cut perspective view schematically illustrating a part of another example of the touch panel according to the first embodiment of the present invention. 本発明の第2の実施形態に係るタッチパネルを有する液晶表示装置の構成例の概略を示す図。The figure which shows the outline of the structural example of the liquid crystal display device which has a touchscreen which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施形態に係るタッチパネルを有する液晶表示装置の後側基板の回路構成例の概略を示す図。The figure which shows the outline of the circuit structural example of the back substrate of the liquid crystal display device which has a touchscreen which concerns on the 2nd Embodiment of this invention. 本発明の第2の実施形態に係るタッチパネルを有する液晶表示装置のタッチパネルに係る回路構成例の概略を示す図。The figure which shows the outline of the circuit structural example which concerns on the touchscreen of the liquid crystal display device which has a touchscreen which concerns on the 2nd Embodiment of this invention.

[第1の実施形態]
まず、本発明の第1の実施形態について図面を参照して説明する。図1に本実施形態に係るタッチパネルの概略の一部を模式的に示す。当該タッチパネルは、この切断斜視図に示すように、間隙を有して対向する一対の基板を有する。この一対の基板のうち、使用者によって押圧(タッチ)されて撓む側の基板を、前側基板1と称する。また、前側基板1と対向する基板を後側基板2と称する。
[First Embodiment]
First, a first embodiment of the present invention will be described with reference to the drawings. FIG. 1 schematically shows a part of the outline of the touch panel according to the present embodiment. As shown in the cut perspective view, the touch panel has a pair of substrates facing each other with a gap. Of the pair of substrates, the substrate that is bent by being pressed (touched) by the user is referred to as a front substrate 1. A substrate facing the front substrate 1 is referred to as a rear substrate 2.

後側基板2の前側基板1と対向する面には、複数のY座標検出ライン4が互いに平行に配設されている。更に、各Y座標検出ライン4と成す角を90°とするねじれの位置に、複数のX座標検出ライン3が互いに平行に配設されている。本説明では、図1の左上に示す様に、Y座標検出ライン4が延伸する方向をX軸方向と定義し、X軸方向の座標をX座標と定義する。また、X座標検出ライン3が延伸する方向をY軸方向と定義し、Y軸方向の座標をY座標と定義する。   A plurality of Y coordinate detection lines 4 are arranged in parallel to each other on the surface of the rear substrate 2 facing the front substrate 1. Further, a plurality of X coordinate detection lines 3 are arranged in parallel to each other at a twisted position where the angle formed with each Y coordinate detection line 4 is 90 °. In this description, as shown in the upper left of FIG. 1, the direction in which the Y coordinate detection line 4 extends is defined as the X axis direction, and the coordinate in the X axis direction is defined as the X coordinate. The direction in which the X coordinate detection line 3 extends is defined as the Y axis direction, and the coordinates in the Y axis direction are defined as the Y coordinates.

X座標検出ライン3とY座標検出ライン4とが交差する位置(以下、交差点と称する)に対応して、交差点の近傍には、X座標検出用接点電極5が配置されている。X座標検出用接点電極5は、前記対応する交差点を構成するX座標検出ライン3に接続されている。また、X座標検出用接点電極5が配置された交差点の近傍には、交差点に対応して、Y座標検出用接点電極6が配置されている。Y座標検出用接点電極6は、前記対応する交差点を構成するY座標検出ライン4に接続されている。ここで、各X座標検出ライン3は、複数のX座標検出用接点電極5と接続されており、各Y座標検出ライン4は、複数のY座標検出用接点電極6と接続されている。
前側基板1の後側基板2と対向する面には、対向電極7が形成されている。ここで、X座標検出用接点電極5と対向電極7との間、及びY座標検出用接点電極6と対向電極7との間には、間隙が設けられている。
Corresponding to a position where the X coordinate detection line 3 and the Y coordinate detection line 4 intersect (hereinafter referred to as an intersection), an X coordinate detection contact electrode 5 is disposed in the vicinity of the intersection. The X coordinate detection contact electrode 5 is connected to the X coordinate detection line 3 constituting the corresponding intersection. Further, in the vicinity of the intersection where the X-coordinate detection contact electrode 5 is arranged, a Y-coordinate detection contact electrode 6 is arranged corresponding to the intersection. The Y coordinate detection contact electrode 6 is connected to a Y coordinate detection line 4 constituting the corresponding intersection. Here, each X coordinate detection line 3 is connected to a plurality of X coordinate detection contact electrodes 5, and each Y coordinate detection line 4 is connected to a plurality of Y coordinate detection contact electrodes 6.
A counter electrode 7 is formed on the surface facing the rear substrate 2 of the front substrate 1. Here, gaps are provided between the X-coordinate detection contact electrode 5 and the counter electrode 7 and between the Y-coordinate detection contact electrode 6 and the counter electrode 7.

前側基板1が使用者によりタッチされて撓むと、そのタッチされた部分で、X座標検出用接点電極5と対向電極7とが電気的に導通する。その結果、対向電極7と導通したX座標検出用接点電極5、及びその接点電極と接続しているX座標検出ライン3の電位は、対向電極7の電位と等しくなる。同様に、前側基板1が使用者によりタッチされて撓むと、そのタッチされた部分で、Y座標検出用接点電極6と対向電極7とが電気的に導通する。その結果、対向電極7と導通したY座標検出用接点電極6、及びその接点電極と接続しているY座標検出ライン4の電位は、対向電極7の電位と等しくなる。したがって、座標検出用コントローラ10は、X座標検出ライン3の電位を計測し、その電位が対向電極7と等電位になっているX座標検出ライン3を同定することで、タッチされている位置のX座標を取得できる。同様に、座標検出用コントローラ10は、Y座標検出ライン4の電位を計測し、その電位が対向電極7と等電位になっているY座標検出ライン4を同定することで、タッチされている位置のY座標を取得できる。   When the front substrate 1 is touched and bent by the user, the X-coordinate detection contact electrode 5 and the counter electrode 7 are electrically connected to each other at the touched portion. As a result, the potential of the X coordinate detection contact electrode 5 that is electrically connected to the counter electrode 7 and the potential of the X coordinate detection line 3 connected to the contact electrode are equal to the potential of the counter electrode 7. Similarly, when the front substrate 1 is touched and bent by the user, the Y coordinate detection contact electrode 6 and the counter electrode 7 are electrically connected to each other at the touched portion. As a result, the potential of the Y coordinate detection contact electrode 6 that is electrically connected to the counter electrode 7 and the potential of the Y coordinate detection line 4 connected to the contact electrode are equal to the potential of the counter electrode 7. Therefore, the coordinate detection controller 10 measures the potential of the X coordinate detection line 3 and identifies the X coordinate detection line 3 whose potential is equal to that of the counter electrode 7. X coordinate can be acquired. Similarly, the coordinate detection controller 10 measures the potential of the Y coordinate detection line 4 and identifies the Y coordinate detection line 4 whose potential is equal to that of the counter electrode 7, thereby touching the position. Can be obtained.

以降、図2に示すように、X座標検出ライン3がX軸方向に20本並び、Y座標検出ライン4がY軸方向に20本並び、X座標検出ライン3とY座標検出ライン4との各交点に、X座標検出用接点電極5及びY座標検出用接点電極6が配置されている場合を例に挙げて説明を行う。ここで、X座標は、図2における右から左へ順に1から20とし、これらを各X座標検出ライン3に対応付けて図2における上部に表記した。同様に、Y座標は、図2における上から下へ順に1から20とし、これらを各Y座標検出ライン4に対応付けて図2における右部に表記した。ここで、20点×20点の検出点というのは、勿論一例であり、この数は通常もっと多い。   Thereafter, as shown in FIG. 2, 20 X coordinate detection lines 3 are arranged in the X axis direction, 20 Y coordinate detection lines 4 are arranged in the Y axis direction, and the X coordinate detection line 3 and the Y coordinate detection line 4 are An explanation will be given by taking as an example a case where the X coordinate detection contact electrode 5 and the Y coordinate detection contact electrode 6 are arranged at each intersection. Here, the X coordinates are 1 to 20 in order from right to left in FIG. 2, and these are shown in the upper part in FIG. 2 in association with each X coordinate detection line 3. Similarly, the Y coordinates are 1 to 20 in order from top to bottom in FIG. 2, and these are associated with each Y coordinate detection line 4 and are shown on the right side in FIG. 2. Here, the detection point of 20 points × 20 points is, of course, an example, and this number is usually larger.

図2に示すように、ユーザによって黒丸印で示した座標(X,Y)=(4,3)がタッチされたとする。なお、ここでは、タッチされている点は静止しているものとする。このとき、図2中で、黒丸印で示した座標(X,Y)=(4,3)に位置するX座標検出用接点電極5及びY座標検出用接点電極6が、対向電極7と接触する。このとき、当該タッチに用いられるユーザの指やスタイラスペンの先端の大きさは、X座標検出ライン3同士の間隔やY座標検出ライン4同士の間隔に比べて大きいため、また、前側基板1が撓む領域は、ユーザの指やスタイラスペンの先端の大きさに比べて広いため、ユーザがタッチしていると意図する部分よりも広範囲で、X座標検出用接点電極5及びY座標検出用接点電極6が対向電極7と接触する。即ち、例えば、白丸印で示した座標(X,Y)=(2,2),(2,3),(2,4),(3,1),(3,2),(3,3),(3,4),(3,5),(4,2),(4,4),(4,5),(5,1),(5,2),(5,3),(5,4),(6,2),(6,3),(6,4),(6,5)に位置するX座標検出用接点電極5及びY座標検出用接点電極6も、対向電極7と接触する。   As shown in FIG. 2, it is assumed that the user touches coordinates (X, Y) = (4, 3) indicated by black circles. Here, it is assumed that the touched point is stationary. At this time, the X-coordinate detection contact electrode 5 and the Y-coordinate detection contact electrode 6 located at the coordinates (X, Y) = (4, 3) indicated by black circles in FIG. To do. At this time, the size of the tip of the user's finger or stylus pen used for the touch is larger than the interval between the X coordinate detection lines 3 and the interval between the Y coordinate detection lines 4. Since the area to be bent is wider than the size of the tip of the user's finger or stylus pen, the X coordinate detection contact electrode 5 and the Y coordinate detection contact are wider than the portion intended to be touched by the user. The electrode 6 is in contact with the counter electrode 7. That is, for example, coordinates (X, Y) = (2, 2), (2, 3), (2, 4), (3, 1), (3, 2), (3, 3) indicated by white circles ), (3,4), (3,5), (4,2), (4,4), (4,5), (5,1), (5,2), (5,3), The X coordinate detection contact electrode 5 and the Y coordinate detection contact electrode 6 located at (5, 4), (6, 2), (6, 3), (6, 4), (6, 5) are also opposed. Contact the electrode 7.

その結果、X軸座標が、X=2,3,4,5,6であるX座標検出ライン3の電位が対向電極7の電位と等しくなる。同様に、Y軸座標が、Y=1,2,3,4,5であるY座標検出ライン4の電位が対向電極7の電位と等しくなる。即ち、座標検出用コントローラ10は、図3に示す斜線を付した丸印で示した各点について接触を検知する。   As a result, the potential of the X coordinate detection line 3 whose X axis coordinate is X = 2, 3, 4, 5, 6 is equal to the potential of the counter electrode 7. Similarly, the potential of the Y coordinate detection line 4 whose Y axis coordinate is Y = 1, 2, 3, 4, 5 is equal to the potential of the counter electrode 7. That is, the coordinate detection controller 10 detects contact at each point indicated by a hatched circle shown in FIG.

タッチされる位置が静止している場合、上述の様になるが、タッチされる位置が移動している場合、次のようになる。即ち、図4(a)に模式図を示すように、例えばユーザが用いるスタイラスペン90が、前側基板1を押圧しながら移動すると、前側基板1は、非対称に撓む。これは、図4(b)に模式図を示すように、タッチされる位置が静止している場合とは異なる。例えば前記した座標(X,Y)=(4,3)がタッチされた状態から、前側基板1上をスタイラスペン90が移動し、タッチ位置が、図5に黒丸印で示す座標(X,Y)=(12,11)となったとする。このとき、図5中で、黒丸印で示した座標(X,Y)=(12,11)に位置するX座標検出用接点電極5及びY座標検出用接点電極6と対向電極7とが接触すると共に、前側基板1が図4(a)に示すように撓むので、タッチされる位置の移動方向の後方側、即ち、例えば図5に白丸印で示した座標(X,Y)=(8,8),(8,9),(9,8),(9,9),(9,10),(10,7),(10,8),(10,9),(10,10),(11,7),(11,8),(11,9),(11,10),(11,11),(12,9),(12,10)に位置するX座標検出用接点電極5及びY座標検出用接点電極6も、対向電極7と接触する。   When the touched position is stationary, the operation is as described above. However, when the touched position is moving, the operation is as follows. 4A, for example, when the stylus pen 90 used by the user moves while pressing the front substrate 1, the front substrate 1 bends asymmetrically. This is different from the case where the touched position is stationary as shown in the schematic diagram of FIG. For example, the stylus pen 90 moves on the front substrate 1 from the state where the coordinates (X, Y) = (4, 3) are touched, and the touch position is the coordinates (X, Y indicated by black circles in FIG. 5. ) = (12, 11). At this time, the X-coordinate detection contact electrode 5 and the Y-coordinate detection contact electrode 6 located at the coordinates (X, Y) = (12, 11) indicated by black circles in FIG. At the same time, since the front substrate 1 bends as shown in FIG. 4A, for example, the coordinates (X, Y) = (represented by white circles in FIG. 8,8), (8,9), (9,8), (9,9), (9,10), (10,7), (10,8), (10,9), (10, X coordinate detection located at 10), (11, 7), (11, 8), (11, 9), (11, 10), (11, 11), (12, 9), (12, 10) The contact electrode 5 and the Y-coordinate detection contact electrode 6 are also in contact with the counter electrode 7.

その結果、X軸座標が、X=8,9,10,11,12であるX座標検出ライン3の電位が対向電極7の電位と等しくなる。同様に、Y軸座標が、Y=7,8,9,10,11であるY座標検出ライン4の電位が対向電極7の電位と等しくなる。即ち、座標検出用コントローラ10は、図6に示す斜線を付した丸印で示した各点について接触を検知する。   As a result, the potential of the X coordinate detection line 3 whose X axis coordinates are X = 8, 9, 10, 11, 12 is equal to the potential of the counter electrode 7. Similarly, the potential of the Y coordinate detection line 4 whose Y axis coordinates are Y = 7, 8, 9, 10, and 11 is equal to the potential of the counter electrode 7. That is, the coordinate detection controller 10 detects contact at each point indicated by a hatched circle shown in FIG.

タッチされている点が静止しているときは、座標検出用コントローラ10は、接触が検知された複数の座標の中心点を、ユーザがタッチした座標として特定すればよい。例えば、図2に示した座標(4,3)がタッチされたとき、座標検出用コントローラ10は、図3において斜線を付した丸印で示す接触を検知した複数の点の中心、即ち、この場合は、座標(4,3)をタッチされた点として特定すればよい。   When the touched point is stationary, the coordinate detection controller 10 may specify the center point of the plurality of coordinates at which contact is detected as the coordinates touched by the user. For example, when the coordinates (4, 3) shown in FIG. 2 are touched, the coordinate detecting controller 10 detects the centers of a plurality of points detected as touches indicated by hatched circles in FIG. In this case, the coordinates (4, 3) may be specified as the touched point.

これに対して、タッチされている点が移動しているときは、タッチされている点が静止しているときと同様に、接触が検知された複数の座標の中心点を、ユーザがタッチした座標として特定すると次のようになる。例えば、図5に示した座標(12,11)がタッチされたとき、座標検出用コントローラ10が、図6において斜線を付した丸印で示す接触を検知した複数の点の中心、即ち、この場合は、座標(10,9)をタッチされた点として特定すると、実際にタッチされている点とずれが生じる。即ち、タッチされていると特定する点に誤差が発生する。本実施形態では、この誤差を補正するような処理を行う。   On the other hand, when the touched point is moving, the user touches the center point of the plurality of coordinates at which contact is detected, as in the case where the touched point is stationary. When specified as coordinates, it is as follows. For example, when the coordinates (12, 11) shown in FIG. 5 are touched, the coordinate detection controller 10 detects the centers indicated by the hatched circles in FIG. In this case, if the coordinates (10, 9) are specified as a touched point, a deviation from the actually touched point occurs. That is, an error occurs at a point specified as being touched. In this embodiment, processing for correcting this error is performed.

本実施形態に係るタッチパネルの、座標検出用コントローラ10の処理を、図7A、図7B、図7Cに示すフローチャートを参照して説明する。なお、この処理は、例えば10ms毎等、所定時間毎に繰り返し実行されるループ処理である。この周期は、通常はタッチ位置を検知する周期と同期する。   Processing of the coordinate detection controller 10 of the touch panel according to the present embodiment will be described with reference to flowcharts shown in FIGS. 7A, 7B, and 7C. This process is a loop process that is repeatedly executed every predetermined time, for example, every 10 ms. This cycle is normally synchronized with the cycle for detecting the touch position.

ステップS1において、座標検出用コントローラ10は、当該タッチパネルがタッチされているか否か、即ち、X座標検出ライン3及びY座標検出ライン4のうち、その電位が対向電極7の電位と等しいものがあるか否かを判定する。
ステップS1の判定で、当該タッチパネルがタッチされていない(No)と判定された場合、ステップS2において、座標検出用コントローラ10は、検出フラグFLG1を0に設定する。この検出フラグFLG1は、前回のサイクルにおいて、当該タッチパネルがタッチされていたか否かを示すフラグである。
In step S1, the coordinate detection controller 10 determines whether or not the touch panel is touched, i.e., of the X coordinate detection line 3 and the Y coordinate detection line 4, the potential thereof is equal to the potential of the counter electrode 7 It is determined whether or not there is.
If it is determined in step S1 that the touch panel is not touched (No), the coordinate detection controller 10 sets the detection flag FLG1 to 0 in step S2. This detection flag FLG1 is a flag indicating whether or not the touch panel has been touched in the previous cycle.

ステップS3において、座標検出用コントローラ10は、X座標の動き検出カウンターであるXCNT1及びXCNT2を、共に0に設定する。ここで、XCNT1は、タッチ位置のX座標が増加する方向(左側)に動いた回数をカウントする変数であり、XCNT2は、タッチ位置のX座標が減少する方向(右側)に動いた回数をカウントする変数である。
ステップS4において、座標検出用コントローラ10は、Y座標の動き検出カウンターであるYCNT1及びYCNT2を、共に0に設定する。ここで、YCNT1は、タッチ位置のY座標が増加する方向(下側)に動いた回数をカウントする変数であり、YCNT2は、タッチ位置のY座標が減少する方向(上側)に動いた回数をカウントする変数である。座標検出用コントローラ10は、その後、処理をステップS42に移す。
In step S3, the coordinate detection controller 10 sets both XCNT1 and XCNT2, which are X coordinate motion detection counters, to zero. Here, XCNT1 is a variable that counts the number of times the X coordinate of the touch position moves in the direction (left side), and XCNT2 counts the number of times the touch position moves in the direction (right side) that the X coordinate decreases. Variable.
In step S4, the coordinate detection controller 10 sets both YCNT1 and YCNT2, which are Y coordinate motion detection counters, to zero. Here, YCNT1 is a variable that counts the number of times that the Y coordinate of the touch position has moved in the direction of increasing (lower side), and YCNT2 is the number of times that the Y coordinate of the touch position has moved in the direction of decreasing (upward). The variable to count. Thereafter, the coordinate detection controller 10 moves the process to step S42.

一方、ステップS1の判定で、当該タッチパネルがタッチされている(Yes)と判定された場合、ステップS5において、座標検出用コントローラ10は、X座標検出ライン3及びY座標検出ライン4のうち、その電位が対向電極7の電位と等しいものを特定する解析を行う。即ち、例えば、図3や図6における斜線を付した丸印に相当する、検知されたX座標及びY座標を特定する。
On the other hand, in the judgment of step S1, if the touch panel is determined to be touched (Yes), in step S5, coordinate detection controller 10 of the X coordinate detection line 3 and the Y coordinate detection line 4, An analysis is performed to identify a potential whose potential is equal to the potential of the counter electrode 7. That is, for example, the detected X coordinate and Y coordinate corresponding to the hatched circles in FIGS. 3 and 6 are specified.

ステップS6において、座標検出用コントローラ10は、検出フラグFLG1の値が1であるか否かを判定する。
ステップS6の判定で、検出フラグFLG1の値が1である(Yes)と判定された場合、ステップS7において、座標検出用コントローラ10は、前回のX座標の最大値を示すXmax2に、この時点で前回の処理サイクルにおけるX座標の最大値が設定されているXmax1の値を設定する。同様に、座標検出用コントローラ10は、前回のY座標の最大値を示すYmax2に、この時点で前回の処理サイクルにおけるY座標の最大値が設定されているYmax1の値を設定する。同様に、座標検出用コントローラ10は、前回のX座標の最小値を示すXmin2に、この時点で前回の処理サイクルにおけるX座標の最小値が設定されているXmin1の値を設定する。同様に、座標検出用コントローラ10は、前回のY座標の最小値を示すYmin2に、この時点で前回の処理サイクルにおけるY座標の最小値が設定されているYmin1の値を設定する。
In step S6, the coordinate detection controller 10 determines whether or not the value of the detection flag FLG1 is 1.
If it is determined in step S6 that the value of the detection flag FLG1 is 1 (Yes), in step S7, the coordinate detection controller 10 sets the maximum value of the previous X coordinate to Xmax2 indicating the maximum value of the previous X coordinate at this time. Set the value of Xmax1, which is the maximum value of the X coordinate in the previous processing cycle. Similarly, the coordinate detection controller 10 sets the value of Ymax1 at which the maximum value of the Y coordinate in the previous processing cycle is set at this time to Ymax2 indicating the maximum value of the previous Y coordinate. Similarly, the coordinate detection controller 10 sets the value of Xmin1 in which the minimum value of the X coordinate in the previous processing cycle is set at this time to Xmin2 indicating the minimum value of the previous X coordinate. Similarly, the coordinate detection controller 10 sets the value of Ymin1 at which the minimum value of the Y coordinate in the previous processing cycle is set at Ymin2 indicating the minimum value of the previous Y coordinate.

ステップS8において、座標検出用コントローラ10は、ステップS5において検出されたX座標の最大値をXmax1に設定し、X座標の最小値をXmin1に設定する。
同様に、ステップS9において、座標検出用コントローラ10は、ステップS5において検出されたY座標の最大値をYmax1に設定し、Y座標の最小値をYmin1に設定する。次に座標検出用コントローラ10は、処理をステップS14に移す。
In step S8, the coordinate detection controller 10 sets the maximum value of the X coordinate detected in step S5 to Xmax1, and sets the minimum value of the X coordinate to Xmin1.
Similarly, in step S9, the coordinate detection controller 10 sets the maximum value of the Y coordinate detected in step S5 to Ymax1, and sets the minimum value of the Y coordinate to Ymin1. Next, the coordinate detection controller 10 moves the process to step S14.

一方、ステップS6の判定で、検出フラグFLG1の値が1でない(No)と判定された場合、ステップS10において、座標検出用コントローラ10は、検出フラグFLG1を1に設定する。
続いてステップS11において、座標検出用コントローラ10は、ステップS5において検出されたX座標の最大値をXmax1に設定し、X座標の最小値をXmin1に設定する。
同様に、ステップS12において、座標検出用コントローラ10は、ステップS5において検出されたY座標の最大値をYmax1に設定し、Y座標の最小値をYmin1に設定する。
On the other hand, if it is determined in step S6 that the value of the detection flag FLG1 is not 1 (No), the coordinate detection controller 10 sets the detection flag FLG1 to 1 in step S10.
Subsequently, in step S11, the coordinate detection controller 10 sets the maximum value of the X coordinate detected in step S5 to Xmax1, and sets the minimum value of the X coordinate to Xmin1.
Similarly, in step S12, the coordinate detection controller 10 sets the maximum value of the Y coordinate detected in step S5 to Ymax1, and sets the minimum value of the Y coordinate to Ymin1.

ステップS13において、座標検出用コントローラ10は、Xmax2にXmax1の値を設定し、Ymax2にYmax1の値を設定し、Xmin2にXmin1の値を設定し、Ymin2にYmin1の値を設定する。このように、タッチされて1回目のサイクルにおいては、Xmax2とXmax1の値、Ymax2とYmax1の値、Xmin2とXmin1の値、Ymin2とYmin1の値をそれぞれ同じ値とする。次に座標検出用コントローラ10は、処理をステップS14に移す。
In step S13, the coordinate detection controller 10 sets the value of Xmax1 to Xmax2, sets the value of Ymax1 to Ymax2, sets the value of Xmin1 to Xmin2, and sets the value of Ymin1 to Ymin2. Thus, in the touched with the first cycle, the value of the Xmax2 and Xmax1, the value of the Ymax2 and Ymax1, the value of the Xmin2 and Xmin1, and respectively equal the value of the Ymin2 and Ymin1. Next, the coordinate detection controller 10 moves the process to step S14.

ステップS14において、座標検出用コントローラ10は、Xmax1−Xmax2>Detect_Level1であるか否かを判定する。ステップS14の判定の結果、Xmax1−Xmax2>Detect_Level1である(Yes)とき、即ち、前回の処理サイクルから今回の処理サイクルまでの間に、タッチ位置X座標の値が増加する方向(左側)に動いていると判定されるとき、座標検出用コントローラ10は、処理をステップS15に移す。
In step S14, the coordinate detection controller 10 determines whether or not Xmax1-Xmax2> Detect_Level1. As a result of the determination in step S14, when Xmax1-Xmax2> Detect_Level1 (Yes), that is, in the direction (left side) in which the value of the X coordinate of the touch position increases from the previous processing cycle to the current processing cycle. When it is determined that it is moving, the coordinate detection controller 10 moves the process to step S15.

ステップS15において、座標検出用コントローラ10は、XCNT1<Cnt_Level1であるか否かを判定する。この判定の結果、XCNT1<Cnt_Level1である(Yes)とき、即ち、タッチ位置のX座標の値が増加する方向(左側)に移動した回数(サイクル数)が所定回数(Cnt_Level1)より少ないとき、座標検出用コントローラ10は、処理をステップS16に移す。
In step S15, the coordinate detection controller 10 determines whether or not XCNT1 <Cnt_Level1. As a result of this determination, when XCNT1 <Cnt_Level1 (Yes), that is, when the number of times of movement (cycle number) in the direction (left side) in which the X coordinate value of the touch position increases is smaller than the predetermined number of times (Cnt_Level1), The coordinate detection controller 10 moves the process to step S16.

ステップS16において、座標検出用コントローラ10は、X座標動き検出カウンターXCNT1の値を1増加させる。
ステップS17において、座標検出用コントローラ10は、X座標動き検出カウンターXCNT2の値を0に設定する。
ステップS18において、座標検出用コントローラ10は、ステップS5で検知されたX座標の平均を、即ち、Xmax1とXmin1との平均値を算出すること(平均化処理)により、タッチ位置のX座標Xtouchを決定する。その後、座標検出用コントローラ10は、処理をステップS28に移す。
In step S16, the coordinate detection controller 10 increments the value of the X coordinate motion detection counter XCNT1 by one.
In step S17, the coordinate detection controller 10 sets the value of the X coordinate motion detection counter XCNT2 to zero.
In step S18, the coordinate detection controller 10 calculates the average of the X coordinates detected in step S5, that is, the average value of Xmax1 and Xmin1 (averaging process), thereby obtaining the X coordinate Xtouch of the touch position. decide. Thereafter, the coordinate detection controller 10 moves the process to step S28.

一方、ステップS15における判定の結果、XCNT1<Cnt_Level1でない(No)とき、即ち、タッチ位置のX座標の値が増加する方向(左側)に所定回数(Cnt_Level1)以上連続して移動しているとき、座標検出用コントローラ10は、ステップS19において、タッチ位置のX座標Xtouchを、次式(1)に基づいて算出する。   On the other hand, as a result of the determination in step S15, when XCNT1 <Cnt_Level1 is not satisfied (No), that is, when the X coordinate value of the touch position increases (left side) continuously for a predetermined number of times (Cnt_Level1), In step S19, the coordinate detection controller 10 calculates the X coordinate Xtouch of the touch position based on the following equation (1).

Xtouch=(Xmax1−Xmin1)/XgainP+Xmin1 ・・(1)
ここで、XgainPは、所定の値であり、タッチされたと特定する位置のX座標Xtouchを、検知されたX座標の平均からどれだけ左に偏らせるかを表す値である。例えば、XgainP=1とすると、タッチ位置のX座標Xtouchは、Xmax1、即ち、検出された座標のうち左端の座標となる。座標検出用コントローラ10は、その後、処理をステップS28に移す。
Xtouch = (Xmax1-Xmin1) / XgainP + Xmin1 (1)
Here, XgainP is a predetermined value, and is a value representing how much the X coordinate Xtouch at the position specified as touched is biased to the left from the average of the detected X coordinates. For example, when XgainP = 1, the X coordinate Xtouch of the touch position is Xmax1, that is, the leftmost coordinate among the detected coordinates. Thereafter, the coordinate detection controller 10 moves the process to step S28.

ステップS14の判定の結果、Xmax1−Xmax2>Detect_Level1でない(No)とき、即ち、前回の処理サイクルから今回の処理サイクルまでの間にタッチ位置が左に動いていないと判定されるとき、座標検出用コントローラ10は、処理をステップS20に移す。   As a result of the determination in step S14, when Xmax1-Xmax2> Detect_Level1 is not satisfied (No), that is, when it is determined that the touch position has not moved to the left from the previous processing cycle to the current processing cycle, for coordinate detection The controller 10 moves the process to step S20.

ステップS20において、座標検出用コントローラ10は、X座標動き検出カウンターXCNT1の値を0に設定する。
ステップS21において、座標検出用コントローラ10は、Xmin2−Xmin1>Detect_Level3であるか否かを判定する。ステップS21の判定の結果、Xmin2−Xmin1>Detect_Level3である(Yes)とき、即ち、前回の処理サイクルから今回の処理サイクルまでの間に、タッチ位置X座標の値が減少する方向(右側)に動いていると判定されるとき、座標検出用コントローラ10は、処理をステップS22に移す。
In step S20, the coordinate detection controller 10 sets the value of the X coordinate motion detection counter XCNT1 to zero.
In step S21, the coordinate detection controller 10 determines whether or not Xmin2-Xmin1> Detect_Level3. As a result of the determination in step S21, when Xmin2-Xmin1> Detect_Level3 (Yes), that is, in the direction (right side) in which the value of the X coordinate of the touch position decreases between the previous processing cycle and the current processing cycle. When it is determined that it is moving, the coordinate detection controller 10 moves the process to step S22.

ステップS22において、座標検出用コントローラ10は、XCNT2<Cnt_Level3であるか否かを判定する。この判定の結果、XCNT2<Cnt_Level3である(Yes)とき、即ち、タッチ位置のX座標の値が減少する方向(右側)に所定回数(Cnt_Level3)以上連続して移動していないとき、座標検出用コントローラ10は、処理をステップS23に移す。   In step S22, the coordinate detection controller 10 determines whether or not XCNT2 <Cnt_Level3. As a result of this determination, when XCNT2 <Cnt_Level3 (Yes), that is, when the X coordinate value of the touch position has not continuously moved in the direction (right side) a predetermined number of times (Cnt_Level3) or more The controller 10 moves the process to step S23.

ステップS23において、座標検出用コントローラ10は、X座標動き検出カウンターXCNT2の値を1増加させる。
ステップS24において、座標検出用コントローラ10は、ステップS5で検知されたX座標の平均を、即ち、Xmax1とXmin1との平均値を算出すること(平均化処理)により、タッチ位置のX座標Xtouchを決定する。その後、座標検出用コントローラ10は、処理をステップS28に移す。
In step S23, the coordinate detection controller 10 increments the value of the X coordinate motion detection counter XCNT2.
In step S24, the coordinate detection controller 10 calculates the average of the X coordinates detected in step S5, that is, the average value of Xmax1 and Xmin1 (averaging process), thereby obtaining the X coordinate Xtouch of the touch position. decide. Thereafter, the coordinate detection controller 10 moves the process to step S28.

一方、ステップS22における判定の結果、XCNT2<Cnt_Level3でない(No)とき、即ち、タッチ位置のX座標の値が減少する方向(右側)に所定回数(Cnt_Level3)以上連続して移動しているとき、座標検出用コントローラ10は、ステップS25において、タッチ位置のX座標Xtouchを、次式(2)に基づいて算出する。   On the other hand, as a result of the determination in step S22, when XCNT2 <Cnt_Level3 is not satisfied (No), that is, when the X coordinate value of the touch position is decreased (right side) continuously moving a predetermined number of times (Cnt_Level3) or more, In step S25, the coordinate detection controller 10 calculates the X coordinate Xtouch of the touch position based on the following equation (2).

Xtouch=(Xmax1−Xmin1)/XgainM+Xmin1 ・・(2)
ここで、XgainMは、所定の値であるものとし、XgainMは、タッチされたと特定する位置のX座標Xtouchを、検出されたX座標の平均からどれほど右に偏らせるかを表す値である。例えば、XgainM=∞とすると、タッチされたと特定する位置は、Xmin1、即ち、検出された座標のうち右端の座標となる。その後、座標検出用コントローラ10は、処理をステップS28に移す。
Xtouch = (Xmax1-Xmin1) / XgainM + Xmin1 (2)
Here, XgainM is a predetermined value, and XgainM is a value representing how much the X coordinate Xtouch at the position specified as touched is biased to the right from the average of the detected X coordinates. For example, if XgainM = ∞, the position specified to be touched is Xmin1, that is, the rightmost coordinate of the detected coordinates. Thereafter, the coordinate detection controller 10 moves the process to step S28.

ステップS21の判定の結果、Xmin2−Xmin1>Detect_Level3でない(No)とき、即ち、前回の処理サイクルから今回の処理サイクルまでの間に、タッチ位置が右側に動いていないと判定されるとき、つまり、右にも左にも動いていないと判定されるとき、座標検出用コントローラ10は、処理をステップS26に移す。   As a result of the determination in step S21, when Xmin2-Xmin1> Detect_Level3 is not satisfied (No), that is, when it is determined that the touch position has not moved to the right side from the previous processing cycle to the current processing cycle, that is, When it is determined that neither the right side nor the left side is moving, the coordinate detection controller 10 moves the process to step S26.

ステップS26において、座標検出用コントローラ10は、X座標動き検出カウンターXCNT2の値を0に設定する。
ステップS27において、座標検出用コントローラ10は、ステップS5で検知されたX座標の平均を、即ち、Xmax1とXmin1との平均値を算出すること(平均化処理)により、タッチ位置のX座標Xtouchを決定する。その後、座標検出用コントローラ10は、処理をステップS28に移す。
In step S26, the coordinate detection controller 10 sets the value of the X coordinate motion detection counter XCNT2 to zero.
In step S27, the coordinate detection controller 10 calculates the average of the X coordinates detected in step S5, that is, the average value of Xmax1 and Xmin1 (averaging process), thereby obtaining the X coordinate Xtouch of the touch position. decide. Thereafter, the coordinate detection controller 10 moves the process to step S28.

ステップS28において、座標検出用コントローラ10は、Ymax1−Ymax2>Detect_Level2であるか否かを判定する。ステップS28の判定の結果、Ymax1−Ymax2>Detect_Level2である(Yes)とき、即ち、前回の処理サイクルから今回の処理サイクルまでの間に、タッチ位置がY座標の値が増加する方向(下側)に動いていると判定されるとき、座標検出用コントローラ10は、処理をステップS29に移す。   In step S28, the coordinate detection controller 10 determines whether or not Ymax1-Ymax2> Detect_Level2. When the result of determination in step S28 is Ymax1-Ymax2> Detect_Level2 (Yes), that is, the direction in which the Y coordinate value increases (downward) from the previous processing cycle to the current processing cycle. When it is determined that the controller 10 is moving, the coordinate detection controller 10 moves the process to step S29.

ステップS29において、座標検出用コントローラ10は、YCNT1<Cnt_Level2であるか否かを判定する。この判定の結果、YCNT1<Cnt_Level2である(Yes)とき、即ち、タッチ位置のY座標の値が増加する方向(下側)に所定回数(Cnt_Level2)以上連続して移動していないとき、座標検出用コントローラ10は、処理をステップS30に移す。
ステップS30において、座標検出用コントローラ10は、Y座標動き検出カウンターYCNT1の値を1増加させる。
ステップS31において、座標検出用コントローラ10は、Y座標動き検出カウンターYCNT2の値を0に設定する。
ステップS32において、座標検出用コントローラ10は、ステップS5で検知されたY座標の平均を、即ち、Ymax1とYmin1との平均値を算出すること(平均化処理)により、タッチ位置のY座標Ytouchを決定する。その後、座標検出用コントローラ10は、処理をステップS42に移す。
In step S29, the coordinate detection controller 10 determines whether or not YCNT1 <Cnt_Level2. As a result of this determination, if YCNT1 <Cnt_Level2 (Yes), that is, if the Y coordinate value of the touch position does not move continuously in the direction of increasing (downward) a predetermined number of times (Cnt_Level2) or more, coordinate detection The controller 10 moves the process to step S30.
In step S30, the coordinate detection controller 10 increments the value of the Y coordinate motion detection counter YCNT1 by one.
In step S31, the coordinate detection controller 10 sets the value of the Y coordinate motion detection counter YCNT2 to zero.
In step S32, the coordinate detection controller 10 calculates the average of the Y coordinates detected in step S5, that is, the average value of Ymax1 and Ymin1 (averaging process), thereby obtaining the Y coordinate Ytouch of the touch position. decide. Thereafter, the coordinate detection controller 10 moves the process to step S42.

一方、ステップS29における判定の結果、YCNT1<Cnt_Level2でない(No)とき、即ち、タッチ位置のY座標の値が増加する方向(下側)に所定回数(Cnt_Level2)以上連続して移動しているとき、座標検出用コントローラ10は、ステップS33において、タッチ位置のY座標Ytouchを、次式(3)に基づいて算出する。   On the other hand, as a result of the determination in step S29, when YCNT1 <Cnt_Level2 is not satisfied (No), that is, when the Y coordinate value at the touch position increases (downward) continuously for a predetermined number of times (Cnt_Level2) or more. In step S33, the coordinate detection controller 10 calculates the Y coordinate Ytouch of the touch position based on the following equation (3).

Ytouch=(Ymax1−Ymin1)/YgainP+Ymin1 ・・(3)
ここで、YgainPは、所定の値であるものとし、YgainPは、タッチされたと特定する位置のY座標Ytouchを、検知されたY座標の平均からどれだけ下側に偏らせるかを表す値である。例えば、YgainP=1とすると、タッチ位置のY座標Ytouchは、Ymax、即ち、検出された座標のうち下端の座標となる。座標検出用コントローラ10は、その後、処理をステップS42に移す。
Ytouch = (Ymax1-Ymin1) / YgainP + Ymin1 (3)
Here, YgainP is a predetermined value, and YgainP is a value indicating how much the Y coordinate Ytouch at the position specified as touched is biased downward from the average of the detected Y coordinates. . For example, if YgainP = 1, the Y coordinate Ytouch of the touch position is Ymax, that is, the coordinate of the lower end of the detected coordinates. Thereafter, the coordinate detection controller 10 moves the process to step S42.

ステップS28の判定の結果、Ymax1−Ymax2>Detect_Level2でない(No)とき、即ち、前回の処理サイクルから今回の処理サイクルまでの間に、タッチ位置が下に動いていないと判定されるとき、座標検出用コントローラ10は、処理をステップS34に移す。
Result of the determination in step S28, when not Ymax1-Ymax2> Detect_Level2 (No) , i.e., during the period from the previous processing cycle to the present processing cycle, when the touch position is determined as not moving downward, coordinate The detection controller 10 moves the process to step S34.

ステップS34において、座標検出用コントローラ10は、Y座標動き検出カウンターYCNT1の値を0に設定する。
ステップS35において、座標検出用コントローラ10は、Ymin2−Ymin1>Detect_Level4であるか否かを判定する。ステップS35の判定の結果、Ymin2−Ymin1>Detect_Level4である(Yes)とき、即ち、前回のルーチンから今回のルーチンまでの間に、タッチ位置がY座標の値が減少する方向(上側)に動いていると判定されるとき、座標検出用コントローラ10は、処理をステップS36に移す。
In step S34, the coordinate detection controller 10 sets the value of the Y coordinate motion detection counter YCNT1 to zero.
In step S35, the coordinate detection controller 10 determines whether or not Ymin2-Ymin1> Detect_Level4. As a result of the determination in step S35, when Ymin2−Ymin1> Detect_Level4 (Yes), that is, between the previous routine and the current routine, the touch position moves in the direction in which the Y coordinate value decreases (upward). When it is determined that there is, the coordinate detection controller 10 moves the process to step S36.

ステップS36において、座標検出用コントローラ10は、YCNT2<Cnt_Level4であるか否かを判定する。この判定の結果、YCNT2<Cnt_Level4である(Yes)とき、即ち、タッチ位置のY座標の値が減少する方向(上側)に所定回数(Cnt_Level4)以上連続して移動していないとき、座標検出用コントローラ10は、処理をステップS37に移す。
ステップS37において、座標検出用コントローラ10は、Y座標動き検出カウンターYCNT2の値を1増加させる。
ステップS38において、座標検出用コントローラ10は、ステップS5で検知されたY座標の平均を、即ち、Ymax1とYmin1との平均値を算出すること(平均化処理)により、タッチ位置のY座標Ytouchを決定する。その後、座標検出用コントローラ10は、処理をステップS42に移す。
In step S36, the coordinate detection controller 10 determines whether or not YCNT2 <Cnt_Level4. As a result of this determination, if YCNT2 <Cnt_Level4 (Yes), that is, if the Y coordinate value of the touch position has not been continuously moved in the direction of decreasing (upward) a predetermined number of times (Cnt_Level4) or more, The controller 10 moves the process to step S37.
In step S37, the coordinate detection controller 10 increases the value of the Y coordinate motion detection counter YCNT2 by one.
In step S38, the coordinate detection controller 10 calculates the average of the Y coordinates detected in step S5, that is, the average value of Ymax1 and Ymin1 (averaging process), thereby obtaining the Y coordinate Ytouch of the touch position. decide. Thereafter, the coordinate detection controller 10 moves the process to step S42.

一方、ステップS36における判定の結果、YCNT2<Cnt_Level4でない(No)とき、即ち、タッチ位置のY座標の値が減少する方向(上側)に所定回数(Cnt_Level4)以上連続して移動しているとき、座標検出用コントローラ10は、ステップS39において、タッチ位置のY座標Ytouchを、次式(4)に基づいて算出する。   On the other hand, as a result of the determination in step S36, when YCNT2 <Cnt_Level4 is not satisfied (No), that is, when the Y coordinate value of the touch position decreases (upward) continuously for a predetermined number of times (Cnt_Level4), In step S39, the coordinate detection controller 10 calculates the Y coordinate Ytouch of the touch position based on the following equation (4).

Ytouch=(Ymax1−Ymin1)/YgainM+Ymin1 ・・(4)
ここで、YgainMは、所定の値であるものとし、YgainMは、タッチされたと特定する位置のY座標Ytouchを、検出されたY座標の平均からどれほど上に偏らせるかを表す値である。例えば、YgainM=∞とすると、タッチされたと特定する位置は、Ymin1、即ち、検出された座標のうち上端の座標となる。その後、座標検出用コントローラ10は、処理をステップS42に移す。
Ytouch = (Ymax1-Ymin1) / YgainM + Ymin1 (4)
Here, YgainM is a predetermined value, and YgainM is a value representing how much the Y coordinate Ytouch at the position specified as touched is biased upward from the average of the detected Y coordinates. For example, if YgainM = ∞, the position specified to be touched is Ymin1, that is, the coordinates of the upper end of the detected coordinates. Thereafter, the coordinate detection controller 10 moves the process to step S42.

ステップS35の判定の結果、Ymin2−Ymin1>Detect_Level4でない(No)とき、即ち、前回のルーチンから今回のルーチンまでの間に、タッチ位置が上側に動いていないと判定されるとき、つまり、上にも下にも動いていないと判定されるとき、座標検出用コントローラ10は、処理をステップS40に移す。   As a result of the determination in step S35, when Ymin2-Ymin1> Detect_Level4 is not satisfied (No), that is, when it is determined that the touch position has not moved upward from the previous routine to the current routine, that is, up If it is determined that the robot has not moved downward, the coordinate detection controller 10 moves the process to step S40.

ステップS40において、座標検出用コントローラ10は、Y座標動き検出カウンターYCNT2の値を0に設定する。
ステップS41において、座標検出用コントローラ10は、ステップS5で検知されたY座標の平均を、即ち、Ymax1とYmin1との平均値を算出すること(平均化処理)により、タッチ位置のY座標Ytouchを決定する。その後、座標検出用コントローラ10は、処理をステップS42に移す。
In step S40, the coordinate detection controller 10 sets the value of the Y coordinate motion detection counter YCNT2 to zero.
In step S41, the coordinate detection controller 10 calculates the average of the Y coordinates detected in step S5, that is, the average value of Ymax1 and Ymin1 (averaging process), thereby obtaining the Y coordinate Ytouch of the touch position. decide. Thereafter, the coordinate detection controller 10 moves the process to step S42.

ステップS42において、座標検出用コントローラ10は、タッチ位置を特定する本処理の終了が要求されているか否かを判定する。この判定の結果、終了の要求がない(No)とき、座標検出用コントローラ10は、処理をステップS1に戻す。一方、終了の要求がある(Yes)とき、座標検出用コントローラ10は、処理を終了する。   In step S <b> 42, the coordinate detection controller 10 determines whether or not the end of the process for specifying the touch position is requested. As a result of this determination, when there is no termination request (No), the coordinate detection controller 10 returns the process to step S1. On the other hand, when there is an end request (Yes), the coordinate detection controller 10 ends the process.

このように、例えば前側基板1は、検知側の基板として機能し、例えばX座標検出用接点電極5及びY座標検出用接点電極6は、検知側の基板の撓みを検出する検出部として機能し、例えば座標検出用コントローラ10は、タッチされた位置を特定する演算部として機能する。ここでは、前側基板1が撓んでいる位置の複数の座標の中心に係る座標として、例えばXmax1とXmin1との平均値を算出する平均化処理によって求まる座標を用いた。しかしながら、ここでの座標の算出は、単純な平均に限らず、例えばタッチパネル上の位置に応じて重み付けを用いた計算など、他の方法により求めたものでもよい。   Thus, for example, the front substrate 1 functions as a detection-side substrate, and for example, the X-coordinate detection contact electrode 5 and the Y-coordinate detection contact electrode 6 function as a detection unit that detects bending of the detection-side substrate. For example, the coordinate detection controller 10 functions as a calculation unit that identifies the touched position. Here, as coordinates relating to the center of a plurality of coordinates at the position where the front substrate 1 is bent, for example, coordinates obtained by an averaging process for calculating an average value of Xmax1 and Xmin1 are used. However, the calculation of coordinates here is not limited to a simple average, and may be obtained by other methods such as calculation using weighting according to the position on the touch panel.

上述の本実施形態に係るタッチパネルの動作例の概要を、図8を参照して説明する。図8のように、ユーザが、まず座標(X,Y)=(4,3)をタッチしたとする。このとき、図8において、破線で囲ったAの領域内の黒丸印の座標をユーザはタッチしているが、白丸印で示した各点に由来する信号も検出される。次に、ユーザは、タッチ位置を移動させていく。このとき、座標検出用コントローラ10の処理の間隔に応じた検出時に、ユーザがタッチしている位置の座標は、順に座標(X,Y)=(12,11)、(18,17)、(8,17)、(1,17)であるとする。このとき、図8において、破線で囲ったBの領域、Cの領域、Dの領域、Eの領域内の、それぞれの黒丸印の座標をユーザはタッチしているが、白丸印で示した各点に由来する信号も検出される。このような状況を考えて、以下説明する。   An outline of an operation example of the touch panel according to the above-described embodiment will be described with reference to FIG. As shown in FIG. 8, it is assumed that the user first touches coordinates (X, Y) = (4, 3). At this time, in FIG. 8, the user touches the coordinates of the black circles in the area A surrounded by the broken line, but signals derived from the points indicated by the white circles are also detected. Next, the user moves the touch position. At this time, the coordinates of the position touched by the user at the time of detection according to the processing interval of the coordinate detection controller 10 are coordinates (X, Y) = (12, 11), (18, 17), ( 8,17) and (1,17). At this time, in FIG. 8, the user touches the coordinates of the black circles in the areas B, C, D, and E surrounded by broken lines, but the white circles indicate the respective coordinates. Signals originating from points are also detected. Considering such a situation, the following will be described.

なお、本説明においては、Detect_Level1、Detect_Level2、Detect_Level3、Detect_Level4は、全て3に設定したものとする。また、Cnt_Level1、Cnt_Level2、Cnt_Level3、Cnt_Level4は、全て1に設定したものとする。また、XgainP及びYgainPは1に、XgainM及びYgainMは∞に、それぞれ設定したものとする。   In this description, it is assumed that Detect_Level1, Detect_Level2, Detect_Level3, and Detect_Level4 are all set to 3. Also, it is assumed that Cnt_Level1, Cnt_Level2, Cnt_Level3, and Cnt_Level4 are all set to 1. It is assumed that XgainP and YgainP are set to 1, and XgainM and YgainM are set to ∞, respectively.

まず、1サイクル目において、ステップS1において、タッチされている(Yes)と判定され、ステップS5において、X座標検出ラインの出力が、X=2,3,4,5,6であり、Y座標検出ラインの出力が、Y=1,2,3,4,5であることが検出される。次にステップS6において、検出フラグFLG1は1でない(No)と判断される。ステップS10において、検出FLG1が1に設定される。ステップS11において、Xmax1に6が、Xmin1に2がそれぞれ設定される。ステップS12において、Ymax1に5が、Ymin1に1がそれぞれ設定される。ステップS13において、Xmax2に6が、Ymax2に5が、Xmin2に2が、Ymin2に1がそれぞれ設定される。   First, in the first cycle, in step S1, it is determined that the touch is made (Yes). In step S5, the output of the X coordinate detection line is X = 2, 3, 4, 5, 6, and the Y coordinate. It is detected that the output of the detection line is Y = 1, 2, 3, 4, 5. Next, in step S6, it is determined that the detection flag FLG1 is not 1 (No). In step S10, the detection FLG1 is set to 1. In step S11, Xmax1 is set to 6 and Xmin1 is set to 2. In step S12, Ymax1 is set to 5 and Ymin1 is set to 1. In step S13, 6 is set in Xmax2, 5 is set in Ymax2, 2 is set in Xmin2, and 1 is set in Ymin2.

次にステップS14において、Xmax1−Xmax2=0がDetect_Level1=3より大きくない(No)と判断され、ステップS20において、X座標動き検出カウンターXCNT1が0に設定される。ステップS21において、Xmin2−Xmin1=0がDetect_Level3=3よりも大きくない(No)と判断され、ステップS26において、X座標動き検出カウンターXCNT2が0に設定される。ステップS27において、平均化処理により、タッチ位置のX座標Xtouchは、4であると決定される。
Next, in step S14, it is not greater than Xmax1-Xmax2 = 0 is Detect_Level1 = 3 (No), in step S20, X-coordinate motion detection counter XCNT1 is set to 0. In step S21, it is determined that Xmin2-Xmin1 = 0 is not larger than Detect_Level3 = 3 (No), and in step S26, the X coordinate motion detection counter XCNT2 is set to zero. In step S27, the X coordinate Xtouch of the touch position is determined to be 4 by the averaging process.

次にステップS28において、Ymax1−Ymax2=0がDetect_Level2=3より大きくない(No)と判断され、ステップS34において、Y座標動き検出カウンターYCNT1が0に設定される。ステップS35において、Ymin2−Ymin1=0がDetect_Level4=3よりも大きくない(No)と判断され、ステップS40において、Y座標動き検出カウンターYCNT2が0に設定される。ステップS41において、平均化処理により、タッチ位置のY座標Ytouchは、3であると決定される。
以上の様にして、1サイクル目において、タッチ位置の座標は、(X,Y)=(4,3)であると特定される。その後、処理がステップS1に戻され、2サイクル目の処理が行われる。
Next, in step S28, it is not greater than Ymax1-Ymax2 = 0 is Detect_Level2 = 3 (No), in step S34, Y-coordinate motion detection counter YCNT1 is set to 0. In step S35, it is determined that Ymin2-Ymin1 = 0 is not larger than Detect_Level4 = 3 (No), and in step S40, the Y coordinate motion detection counter YCNT2 is set to zero. In step S41, the Y coordinate Ytouch of the touch position is determined to be 3 by the averaging process.
As described above, in the first cycle, the coordinates of the touch position are specified as (X, Y) = (4, 3). Thereafter, the process returns to step S1, and the process in the second cycle is performed.

2サイクル目の、ステップS1において、タッチされている(Yes)と判定され、ステップS5において、X座標検出ラインの出力が、X=8,9,10,11,12であり、Y座標検出ラインの出力が、Y=7,8,9,10,11であることが検出される。次にステップS6において、検出フラグFLG1は1である(Yes)と判断される。ステップS7において、Xmax2が6に、Xmin2が2に、Ymax2が5に、Ymin2が1にそれぞれ設定される。ステップS8において、Xmax1が12に、Xmin1が8に、それぞれ設定される。ステップS9において、Ymax1が11に、Ymin1が7に、それぞれ設定される。   In step S1, in the second cycle, it is determined that the touch is made (Yes). In step S5, the output of the X coordinate detection line is X = 8, 9, 10, 11, 12, and the Y coordinate detection line. Are detected as Y = 7, 8, 9, 10, and 11. Next, in step S6, it is determined that the detection flag FLG1 is 1 (Yes). In step S7, Xmax2 is set to 6, Xmin2 is set to 2, Ymax2 is set to 5, and Ymin2 is set to 1. In step S8, Xmax1 is set to 12, and Xmin1 is set to 8. In step S9, Ymax1 is set to 11 and Ymin1 is set to 7.

次にステップS14において、Xmax1−Xmax2=6がDetect_Level1=3より大きい(Yes)と判断される。ステップS15において、XCNT1=0がCNT_Level1=1よりも小さい(Yes)と判断され、ステップS16において、XCNT1が1に設定され、ステップS17において、XCNT2が0に設定される。ステップS18において、平均化処理により、タッチ位置のX座標Xtouchは、10であると決定される。
In step S14, it is determined that Xmax1-Xmax2 = 6 is greater than Detect_Level1 = 3 (Yes). In step S15, it is determined that XCNT1 = 0 is smaller than CNT_Level1 = 1 (Yes), XCNT1 is set to 1 in step S16, and XCNT2 is set to 0 in step S17. In step S18, the X coordinate Xtouch of the touch position is determined to be 10 by the averaging process.

次にステップS28において、Ymax1−Ymax2=6がDetect_Level2=3より大きい(Yes)と判断される。ステップS29において、Y座標動き検出カウンターYCNT1=0が、CNT_Level2=1よりも小さい(Yes)と判断され、ステップS30において、YCNT1が1に設定され、ステップS31において、YCNT2が0に設定される。ステップS32において、平均化処理により、タッチ位置のY座標Ytouchは、9であると決定される。
以上の様にして、2サイクル目において、タッチ位置の座標は、(X,Y)=(10,9)であると特定される。その後、処理がステップS1に戻され、3サイクル目の処理が行われる。
Next, in step S28, it is determined that Ymax1-Ymax2 = 6 is greater than Detect_Level2 = 3 (Yes). In step S29, it is determined that the Y coordinate motion detection counter YCNT1 = 0 is smaller than CNT_Level2 = 1 (Yes), YCNT1 is set to 1 in step S30, and YCNT2 is set to 0 in step S31. In step S32, the Y coordinate Ytouch of the touch position is determined to be 9 by the averaging process.
As described above, in the second cycle, the coordinates of the touch position are specified as (X, Y) = (10, 9). Thereafter, the process returns to step S1, and the process in the third cycle is performed.

3サイクル目の、ステップS1において、タッチされている(Yes)と判定され、ステップS5において、X座標検出ラインの出力が、X=14,15,16,17,18であり、Y座標検出ラインの出力が、Y=13,14,15,16,17であることが検出される。次にステップS6において、検出フラグFLG1は1である(Yes)と判断される。ステップS7において、Xmax2が12に、Xmin2が8に、Ymax2が11に、Ymin2が7にそれぞれ設定される。ステップS8において、Xmax1が18に、Xmin1が14に、それぞれ設定される。ステップS9において、Ymax1が17に、Ymin1が13に、それぞれ設定される。   In step S1, in the third cycle, it is determined that the touch is made (Yes), and in step S5, the output of the X coordinate detection line is X = 14, 15, 16, 17, 18 and the Y coordinate detection line. Are detected as Y = 13, 14, 15, 16, and 17. Next, in step S6, it is determined that the detection flag FLG1 is 1 (Yes). In step S7, Xmax2 is set to 12, Xmin2 is set to 8, Ymax2 is set to 11, and Ymin2 is set to 7. In step S8, Xmax1 is set to 18 and Xmin1 is set to 14. In step S9, Ymax1 is set to 17, and Ymin1 is set to 13.

次にステップS14において、Xmax1−Xmax2=6がDetect_Level1=3より大きい(Yes)と判断される。ステップS15において、XCNT1=1がCNT_Level1=1よりも小さくない(No)と判断され、ステップS19において、動きがあるときの処理、即ち、前記式(1)に基づいて、タッチ位置のX座標Xtouchは、18であると決定される。
In step S14, it is determined that Xmax1-Xmax2 = 6 is greater than Detect_Level1 = 3 (Yes). In step S15, it is determined that XCNT1 = 1 is not smaller than CNT_Level1 = 1 (No). In step S19, based on the processing when there is a movement, that is, the X coordinate Xtouch of the touch position based on the equation (1). Is determined to be 18.

次にステップS28において、Ymax1−Ymax2=6がDetect_Level2=3より大きい(Yes)と判断される。ステップS29において、Y座標動き検出カウンターYCNT1=1が、CNT_Level2=1よりも小さくない(No)と判断され、ステップS33において、動きがあるときの処理、即ち、前記式(3)に基づいて、タッチ位置のY座標Ytouchは、17であると決定される。
以上の様にして、3サイクル目において、タッチ位置の座標は、(X,Y)=(18,17)であると特定される。その後、処理がステップS1に戻され、4サイクル目の処理が行われる。
Next, in step S28, it is determined that Ymax1-Ymax2 = 6 is greater than Detect_Level2 = 3 (Yes). In step S29, it is determined that the Y coordinate motion detection counter YCNT1 = 1 is not smaller than CNT_Level2 = 1 (No), and in step S33, based on the processing when there is motion, that is, based on the equation (3), The Y coordinate Ytouch of the touch position is determined to be 17.
As described above, in the third cycle, the coordinates of the touch position are specified as (X, Y) = (18, 17). Thereafter, the process returns to step S1, and the fourth cycle process is performed.

4サイクル目の、ステップS1において、タッチされている(Yes)と判定され、ステップS5において、X座標検出ラインの出力が、X=8,9,10,11,12であり、Y座標検出ラインの出力が、Y=15,16,17,18,19であることが検出される。次にステップS6において、検出フラグFLG1は1である(Yes)と判断される。ステップS7において、Xmax2が18に、Xmin2が14に、Ymax2が17に、Ymin2が13にそれぞれ設定される。ステップS8において、Xmax1が12に、Xmin1が8に、それぞれ設定される。ステップS9において、Ymax1が19に、Ymin1が15に、それぞれ設定される。   In step S1, in the fourth cycle, it is determined that the touch is made (Yes). In step S5, the output of the X coordinate detection line is X = 8, 9, 10, 11, 12, and the Y coordinate detection line. Are detected as Y = 15, 16, 17, 18, and 19. Next, in step S6, it is determined that the detection flag FLG1 is 1 (Yes). In step S7, Xmax2 is set to 18, Xmin2 is set to 14, Ymax2 is set to 17, and Ymin2 is set to 13. In step S8, Xmax1 is set to 12, and Xmin1 is set to 8. In step S9, Ymax1 is set to 19 and Ymin1 is set to 15.

次にステップS14において、Xmax1−Xmax2=−6がDetect_Level1=3より大きくない(No)と判断される。ステップS20において、X座標動き検出カウンターXCNT1が0に設定される。ステップS21において、Xmin2−Xmin1=6がDetect_Level1=3より大きい(Yes)と判断される。ステップS22において、XCNT2=0がCNT_Level3=1よりも小さい(Yes)と判断される。ステップS23において、X座標動き検出カウンターXCNT2が1に設定される。ステップS24において、平均化処理により、タッチ位置のX座標Xtouchは、10であると決定される。
Next, in step S14, is not greater than Xmax1-Xmax2 = -6 is Detect_Level1 = 3 (No). In step S20, the X coordinate motion detection counter XCNT1 is set to zero. In step S21, it is determined that Xmin2−Xmin1 = 6 is greater than Detect_Level1 = 3 (Yes). In step S22, it is determined that XCNT2 = 0 is smaller than CNT_Level3 = 1 (Yes). In step S23, the X coordinate motion detection counter XCNT2 is set to 1. In step S24, the X coordinate Xtouch of the touch position is determined to be 10 by the averaging process.

次にステップS28において、Ymax1−Ymax2=2がDetect_Level2=3より大きくない(No)と判断される。ステップS34において、Y座標動き検出カウンターYCNT1が0に設定される。ステップS35において、Ymin2−Ymin1=−2がDetect_Level4=3より大きくない(No)と判断される。ステップS40において、Y座標動き検出カウンターYCNT2が0に設定される。ステップS41において、平均化処理により、タッチ位置のY座標Ytouchは、17であると決定される。
以上の様にして、4サイクル目において、タッチ位置の座標は、(X,Y)=(10,17)であると特定される。その後、処理がステップS1に戻され、5サイクル目の処理が行われる。
Next, in step S28, it is determined that Ymax1-Ymax2 = 2 is not greater than Detect_Level2 = 3 (No). In step S34, the Y coordinate motion detection counter YCNT1 is set to zero. In step S35, it is determined that Ymin2-Ymin1 = -2 is not greater than Detect_Level4 = 3 (No). In step S40, the Y coordinate motion detection counter YCNT2 is set to zero. In step S41, the Y coordinate Ytouch of the touch position is determined to be 17 by the averaging process.
As described above, in the fourth cycle, the coordinates of the touch position are specified as (X, Y) = (10, 17). Thereafter, the process returns to step S1, and the fifth cycle process is performed.

5サイクル目の、ステップS1において、タッチされている(Yes)と判定され、ステップS5において、X座標検出ラインの出力が、X=1,2,3,4,5であり、Y座標検出ラインの出力が、Y=15,16,17,18,19であることが検出される。次にステップS6において、検出フラグFLG1は1である(Yes)と判断される。ステップS7において、Xmax2が12に、Xmin2が8に、Ymax2が19に、Ymin2が15にそれぞれ設定される。ステップS8において、Xmax1が5に、Xmin1が1に、それぞれ設定される。ステップS9において、Ymax1が19に、Ymin1が15に、それぞれ設定される。   In step S1, in the fifth cycle, it is determined that the touch is made (Yes). In step S5, the output of the X coordinate detection line is X = 1, 2, 3, 4, 5, and the Y coordinate detection line. Are detected as Y = 15, 16, 17, 18, and 19. Next, in step S6, it is determined that the detection flag FLG1 is 1 (Yes). In step S7, Xmax2 is set to 12, Xmin2 is set to 8, Ymax2 is set to 19, and Ymin2 is set to 15. In step S8, Xmax1 is set to 5, and Xmin1 is set to 1. In step S9, Ymax1 is set to 19 and Ymin1 is set to 15.

次にステップS14において、Xmax1−Xmax2=−7がDetect_Level1=3より大きくない(No)と判断される。ステップS20において、X座標動き検出カウンターXCNT1が0に設定される。ステップS21において、Xmin2−Xmin1=7がDetect_Level1=3より大きい(Yes)と判断される。ステップS22において、XCNT2=1がCNT_Level3=1よりも小さくない(No)と判断される。ステップS25において、動きがあるときの処理、即ち、前記式(2)に基づいて、タッチ位置のX座標Xtouchは、1であると決定される。
Next, in step S14, it is determined that Xmax1-Xmax2 = -7 is not larger than Detect_Level1 = 3 (No). In step S20, the X coordinate motion detection counter XCNT1 is set to zero. In step S21, Xmin2-Xmin1 = 7 is determined to be greater than Detect_Level1 = 3 (Yes). In step S22, it is determined that XCNT2 = 1 is not smaller than CNT_Level3 = 1 (No). In step S25, the X coordinate Xtouch of the touch position is determined to be 1 based on the processing when there is a movement, that is, based on the equation (2).

次にステップS28において、Ymax1−Ymax2=0がDetect_Level2=3より大きくない(No)と判断される。ステップS34において、Y座標動き検出カウンターYCNT1が0に設定される。ステップS35において、Ymin2−Ymin1=0がDetect_Level4=3より大きくない(No)と判断される。ステップS40において、Y座標動き検出カウンターYCNT2が0に設定される。ステップS41において、平均化処理により、タッチ位置のY座標Ytouchは、17であると特定される。
以上の様にして、5サイクル目において、タッチ位置の座標は、(X,Y)=(1,17)であると決定される。その後、処理は終了する。
Next, in step S28, it is determined that Ymax1-Ymax2 = 0 is not larger than Detect_Level2 = 3 (No). In step S34, the Y coordinate motion detection counter YCNT1 is set to zero. In step S35, it is not greater than Ymin2-Ymin1 = 0 is Detect_Level4 = 3 (No). In step S40, the Y coordinate motion detection counter YCNT2 is set to zero. In step S41, the Y coordinate Ytouch of the touch position is identified as 17 by the averaging process.
As described above, in the fifth cycle, the coordinates of the touch position are determined to be (X, Y) = (1, 17). Thereafter, the process ends.

この例では上記のように、1サイクル目、2サイクル目、3サイクル目、4サイクル目、5サイクル目に、ユーザがタッチしている点は、順に座標(X,Y)=(4,3)、(12,11)、(18,17)、(8,17)、(1,17)である。仮に、これら全てについて、前記の平均化処理により、タッチされている座標を特定すると、順に座標(X,Y)=(4,3)、(10,9)、(16,15)、(10,17)、(3,17)がタッチされている点として決定される。これに対して本実施形態によれば、順に座標(X,Y)=(4,3)、(10,9)、(18,17)、(10,17)、(1,17)がタッチされている点として決定される。このように、本実施形態によれば、タッチ位置の静止又は移動に応じて、タッチされている点として決定する座標の算出方法を異ならせるので、より実際に即した正確な検出が可能になっている。   In this example, as described above, the point touched by the user in the first cycle, the second cycle, the third cycle, the fourth cycle, and the fifth cycle is in the order of coordinates (X, Y) = (4, 3 ), (12, 11), (18, 17), (8, 17), (1, 17). If the touched coordinates are specified for all of these by the averaging process, coordinates (X, Y) = (4, 3), (10, 9), (16, 15), (10 , 17) and (3, 17) are determined as touched points. On the other hand, according to the present embodiment, coordinates (X, Y) = (4, 3), (10, 9), (18, 17), (10, 17), (1, 17) are touched in order. Is determined as the point that has been. As described above, according to the present embodiment, the coordinate calculation method to be determined as a touched point is changed according to the stationary or moving of the touch position, so that it is possible to perform more accurate and accurate detection. ing.

上述の例では、Cnt_Level1、Cnt_Level2、Cnt_Level3、Cnt_Level4は、全て1に設定しているので、同じ方向に2回以上連続で移動しているときに補正を行う設定である。この値は、装置の特性、使用状況等に応じて、任意に設定することができる。また、Detect_Level1、Detect_Level2、Detect_Level3、Detect_Level4は、全て3に設定しているので、座標3つ分より大きく移動したときに、タッチ位置が移動していると判断され処理が行われるが、この値も任意に設定することができる。
In the above example, Cnt_Level1, Cnt_Level2, Cnt_Level3, and Cnt_Level4 are all set to 1, so that the correction is performed when moving continuously in the same direction twice or more. This value can be set arbitrarily according to the characteristics of the apparatus, the usage situation, and the like. Further, Detect_Level1, Detect_Level2, Detect_Level3, Detect_Level4 is, since all set to 3, when moving larger than coordinate three minutes, it is determined that the touch position moves the processing is performed, the value Can also be set arbitrarily.

また、本実施形態のように、XgainP、YgainP、XgainM、YgainMを固定された所定の値とせずに、タッチ位置の移動量、即ち所定時間内での動いた距離に応じて変化する値とすることで、更に正確なタッチ位置の検出が可能になる。   Further, as in this embodiment, XgainP, YgainP, XgainM, and YgainM are not fixed fixed values, but are changed according to the amount of movement of the touch position, that is, the distance moved within a predetermined time. As a result, a more accurate touch position can be detected.

以上のように、本実施形態によれば、ユーザ側の基板の撓みを検出してタッチ位置を特定するタッチパネルにおいて、タッチされている位置が静止しているか移動しているかを検知して、それに応じてタッチ位置の決定の方法を異ならせるので、タッチ位置が静止している状況においても、移動している状況においても、正確なタッチ位置の特定が可能になる。   As described above, according to the present embodiment, in the touch panel that detects the bending of the substrate on the user side and specifies the touch position, it detects whether the touched position is stationary or moving, Accordingly, since the method for determining the touch position is made different, it is possible to specify the touch position accurately regardless of whether the touch position is stationary or moving.

なお、本実施形態の説明では、X座標検出用接点電極5及びY座標検出用接点電極6と対向電極7とが接触することにより、座標を検出するタッチパネルを例に挙げて説明したが、ユーザ側の基板のタッチによる撓みを検出する方式であれば、その他の方式のタッチパネルにおいても適用することができる。例えば、図9に示すような、対向する基板上に形成された帯状の抵抗膜の接触によって位置を特定するタッチパネルにおいて適用してもよい。図9に示すタッチパネルは、簡単には、後側基板2の前側基板1と対向する面上に、帯状のY座標検出用抵抗膜24が形成されている。また、前側基板1の後側基板2と対向する面上に、帯状のX座標検出用抵抗膜23が形成されている。例えば、X座標検出用抵抗膜23に順次電圧を印加し、電位がX座標検出用抵抗膜23の電位と等しいY座標検出用抵抗膜24と、その電位が等しくなるタイミングを取得し、それらに基づいて、タッチされている位置を決定することができる。このようなタッチパネルにも本実施形態の適用が可能であり、同様の効果を得ることができる。
In the description of this embodiment, by the X coordinate detection electrode 5 and the Y coordinate detection electrode 6 and the counter direction electrode 7 is in contact, it has been described as a touch panel for detecting a coordinate as an example, Any other type of touch panel can be applied as long as it is a method that detects the bending due to the touch of the substrate on the user side. For example, you may apply in the touchscreen which pinpoints a position by contact of the strip | belt-shaped resistive film formed on the board | substrate which opposes as shown in FIG. In the touch panel shown in FIG. 9, a strip-shaped Y coordinate detection resistance film 24 is simply formed on the surface of the rear substrate 2 facing the front substrate 1. A strip-shaped resistance film for X-coordinate detection 23 is formed on the surface facing the rear substrate 2 of the front substrate 1. For example, a voltage is sequentially applied to the X coordinate detection resistance film 23, the Y coordinate detection resistance film 24 whose potential is equal to the potential of the X coordinate detection resistance film 23, and the timing at which the potential becomes equal are obtained. Based on this, the position being touched can be determined. The present embodiment can also be applied to such a touch panel, and the same effect can be obtained.

[第2の実施形態]
次に、本発明の第2の実施形態について説明する。ここでは、第1の実施形態との相違点について説明し、同一の部分については説明を省略する。本実施形態は、第1の実施形態に係るタッチパネルを、液晶表示装置内に構築した実施形態である。
本実施形態に係る液晶表示装置の概略を図10に示す。本液晶表示装置は、タッチパネル機能を有する液晶表示パネル100と、ドライバ素子130と、コモン信号発生回路133と、表示用コントローラ134と、座標検出用コントローラ10と、メインコントローラ135と、を有する。
[Second Embodiment]
Next, a second embodiment of the present invention will be described. Here, differences from the first embodiment will be described, and description of the same parts will be omitted. The present embodiment is an embodiment in which the touch panel according to the first embodiment is built in a liquid crystal display device.
FIG. 10 shows an outline of the liquid crystal display device according to this embodiment. The present liquid crystal display device includes a liquid crystal display panel 100 having a touch panel function, a driver element 130, a common signal generation circuit 133, a display controller 134, a coordinate detection controller 10, and a main controller 135.

液晶表示パネル100は、薄膜トランジスタ(TFT)をアクティブ素子としたアクティブマトリックス型の液晶表示パネルである。ここでは、本実施形態に係る液晶表示装置は、水平方向に240画素、垂直方向に320画素を有する縦置きのQVGA(以下、QVGAポートレートと称する)の表示パネルである。液晶表示パネル100は、液晶層を挟んで互いに対向する後側基板102と前側基板101とを有する。図示しないバックライトから出射した光は、液晶表示パネル100を後側基板102から前側基板101に向けて透過し、ユーザに到達する。本実施形態の説明では、前側基板101側を観察側、後側基板102側をバックライト側と定義する。   The liquid crystal display panel 100 is an active matrix type liquid crystal display panel using thin film transistors (TFTs) as active elements. Here, the liquid crystal display device according to the present embodiment is a vertical QVGA (hereinafter referred to as QVGA portrait) display panel having 240 pixels in the horizontal direction and 320 pixels in the vertical direction. The liquid crystal display panel 100 includes a rear substrate 102 and a front substrate 101 that face each other with a liquid crystal layer interposed therebetween. Light emitted from a backlight (not shown) passes through the liquid crystal display panel 100 from the rear substrate 102 toward the front substrate 101 and reaches the user. In the description of this embodiment, the front substrate 101 side is defined as the observation side, and the rear substrate 102 side is defined as the backlight side.

後側基板102の観察側の面の画面エリア120内の領域には、複数の透明な画素電極125が形成されている。例えば画素電極125は、図11に示す様に、X軸方向及びY軸方向に配列されている。各画素電極125の形状は、X軸方向の電極幅がY軸方向の電極長さよりも小さい、長方形である。各画素電極125は、スイッチング素子として働く表示用薄膜トランジスタ(表示用TFT)126のドレイン端子にそれぞれ接続されている。各表示用TFT126は、長方形である各画素電極125の、一隅角(例えば図11における左下隅)に配置されている。   A plurality of transparent pixel electrodes 125 are formed in a region within the screen area 120 on the observation side surface of the rear substrate 102. For example, the pixel electrodes 125 are arranged in the X-axis direction and the Y-axis direction as shown in FIG. Each pixel electrode 125 has a rectangular shape in which the electrode width in the X-axis direction is smaller than the electrode length in the Y-axis direction. Each pixel electrode 125 is connected to a drain terminal of a display thin film transistor (display TFT) 126 that functions as a switching element. Each display TFT 126 is arranged at one corner (for example, the lower left corner in FIG. 11) of each rectangular pixel electrode 125.

また、後側基板102の観察側の面には、X軸方向に並ぶ画素電極125に沿って、X軸方向に走査線123が形成されている。各走査線123は、X軸方向に並ぶ画素電極125の表示用TFT126が配置された側の端(図11において各画素電極125の下端側)に沿わせて設けられており、当該走査線123に沿って配置された表示用TFT126の各ゲート端子に接続されている。   A scanning line 123 is formed in the X-axis direction along the pixel electrode 125 arranged in the X-axis direction on the observation side surface of the rear substrate 102. Each scanning line 123 is provided along the end of the pixel electrode 125 arranged in the X-axis direction on the side where the display TFT 126 is disposed (the lower end side of each pixel electrode 125 in FIG. 11). Are connected to the respective gate terminals of the display TFT 126 arranged along the line.

更に、後側基板102の観察側の面には、Y軸方向に並ぶ画素電極125に沿って、Y軸方向に信号線124が形成されている。各信号線124は、Y軸方向に並ぶ画素電極125の表示用TFT126が配置された側の端(図11において各画素電極125の左端側)に沿わせて設けられており、当該信号線124に沿って配置された表示用TFT126の各ソース端子に接続されている。   Further, a signal line 124 is formed in the Y-axis direction along the pixel electrode 125 arranged in the Y-axis direction on the observation side surface of the rear substrate 102. Each signal line 124 is provided along the end of the pixel electrode 125 arranged in the Y-axis direction on the side where the display TFT 126 is disposed (the left end side of each pixel electrode 125 in FIG. 11). Are connected to the respective source terminals of the display TFT 126 arranged along the line.

また、後側基板102の一端部を前側基板101の外方に張り出して形成されたドライバ搭載部102aには、ドライバ素子130が、図10に示す様に搭載されている。このドライバ素子130は、図11に示す様に、走査ドライバ131とデータドライバ132とが形成された、LSI(Large Scale Integrated Circuit;大規模集積回路)からなる。各走査線123は、ドライバ搭載部102aに導出されて(図示せず)、走査ドライバ131の各出力端子に接続されており、各信号線124は、同様にドライバ搭載部102aに導出されて(図示せず)、データドライバ132の各出力端子に接続されている。   A driver element 130 is mounted on a driver mounting portion 102a formed by extending one end portion of the rear substrate 102 outward from the front substrate 101 as shown in FIG. As shown in FIG. 11, the driver element 130 is formed of an LSI (Large Scale Integrated Circuit) in which a scan driver 131 and a data driver 132 are formed. Each scanning line 123 is led to the driver mounting section 102a (not shown) and connected to each output terminal of the scanning driver 131, and each signal line 124 is similarly led to the driver mounting section 102a ( (Not shown) and connected to each output terminal of the data driver 132.

前側基板101のバックライト側には、複数の画素電極125と対向する一枚膜状の透明な対向電極107が形成されている。対向電極107は、コモン信号発生回路133に接続されており、対向電極107の電位は、コモン信号発生回路133により制御される。   On the backlight side of the front substrate 101, a single film-like transparent counter electrode 107 facing the plurality of pixel electrodes 125 is formed. The counter electrode 107 is connected to the common signal generation circuit 133, and the potential of the counter electrode 107 is controlled by the common signal generation circuit 133.

本液晶表示パネル100は、第1の実施形態に係るタッチパネルが組み込まれている。ここで、後側基板102は、後側基板2に相当し、前側基板101は、前側基板1に相当し、対向電極107は、対向電極7に相当する。後側基板102の観察側には、例えば図11に示す様に、X軸方向に並ぶ3つの画素電極125毎に、Y軸方向にX座標検出ライン3が配設されている。即ち、赤、緑及び青の3色からなる1画素毎に、1本のX座標検出ライン3が配設されている。また、Y軸方向に並ぶ1つの画素電極125毎に、X軸方向にY座標検出ライン4が配設されている。   The liquid crystal display panel 100 incorporates the touch panel according to the first embodiment. Here, the rear substrate 102 corresponds to the rear substrate 2, the front substrate 101 corresponds to the front substrate 1, and the counter electrode 107 corresponds to the counter electrode 7. On the observation side of the rear substrate 102, for example, as shown in FIG. 11, an X coordinate detection line 3 is arranged in the Y axis direction for every three pixel electrodes 125 arranged in the X axis direction. That is, one X coordinate detection line 3 is arranged for each pixel composed of three colors of red, green, and blue. A Y coordinate detection line 4 is arranged in the X axis direction for each pixel electrode 125 arranged in the Y axis direction.

この各X座標検出ライン3は、図11に示す様に、Y軸方向に配列した各画素電極125と、当該画素電極125と隣り合う列の各画素電極125に接続された表示用TFT126にデータ信号を供給する信号線124との間に、信号線124と平行に形成されている。また、各Y座標検出ライン4は、X軸方向に配列された各画素電極125と、当該画素電極125と隣り合う行の各画素電極125に接続された表示用TFT126にゲート信号を供給する走査線123との間に、走査線123と平行に形成されている。X座標検出ライン3には、X座標検出用接点電極5が接続されており、Y座標検出ライン4には、Y座標検出用接点電極6が接続されている。
As shown in FIG. 11, each X coordinate detection line 3 receives data from the pixel electrodes 125 arranged in the Y-axis direction and the display TFT 126 connected to each pixel electrode 125 in a column adjacent to the pixel electrode 125. a signal line 124 supplies a signal, during, are formed parallel to the signal line 124. Each Y coordinate detection line 4 is a scan that supplies a gate signal to each pixel electrode 125 arranged in the X-axis direction and to the display TFT 126 connected to each pixel electrode 125 in a row adjacent to the pixel electrode 125. the line 123, during, are formed parallel to the scanning line 123. An X coordinate detection contact electrode 5 is connected to the X coordinate detection line 3, and a Y coordinate detection contact electrode 6 is connected to the Y coordinate detection line 4.

また、X座標検出用接点電極5と対向電極107との間、及びY座標検出用接点電極6と対向電極107との間には間隙が設けられている。本表示装置のユーザにより、前側基板101が観察側から押圧されて撓むと、対向電極107とその部分に存在するX座標検出用接点電極5とが導通する。その結果、対向電極107と導通したX座標検出用接点電極5、及びその接点電極に接続するX座標検出ライン3は、対向電極107と等電位になる。また、対向電極107とその部分に存在するY座標検出用接点電極6とが導通する。その結果、対向電極107と導通したY座標検出用接点電極6、及びその接点電極に接続するY座標検出ライン4は、対向電極107と等電位になる。   Further, gaps are provided between the X-coordinate detection contact electrode 5 and the counter electrode 107 and between the Y-coordinate detection contact electrode 6 and the counter electrode 107. When the user of the display device presses and bends the front substrate 101 from the observation side, the counter electrode 107 and the X-coordinate detection contact electrode 5 existing in that portion become conductive. As a result, the X-coordinate detection contact electrode 5 conducted with the counter electrode 107 and the X-coordinate detection line 3 connected to the contact electrode are equipotential with the counter electrode 107. Further, the counter electrode 107 is electrically connected to the Y coordinate detection contact electrode 6 existing in the portion. As a result, the Y coordinate detection contact electrode 6 conducted with the counter electrode 107 and the Y coordinate detection line 4 connected to the contact electrode have the same potential as the counter electrode 107.

更に、後側基板102の観察側の面上であり、画面エリア120の領域外(図11において画面エリア120の右側の領域)である領域には、複数のX座標検出用薄膜トランジスタ(X座標検出用TFT)108、及び複数のY座標検出用薄膜トランジスタ(Y座標検出用TFT)109が形成されている。各Y座標検出用TFT109は、画面エリア120の領域外のうち、画面エリア120と隣接する部分に、Y軸方向に1列に並べて配置されている。各Y座標検出用TFT109が配置される間隔は、各Y座標検出ライン4の間隔と同程度である。
一方、前記各X座標検出用TFT108は、前記各Y座標検出用TFT109の画面エリア120からみて更に外側となる位置に、前記各Y座標検出用TFT109とそれぞれ隣り合わせに、1列に並べて配置されている。
Further, a plurality of thin film transistors for X coordinate detection (X coordinate detection) are provided on a region on the observation side of the rear substrate 102 and outside the screen area 120 (on the right side of the screen area 120 in FIG. 11). TFT) 108 and a plurality of Y coordinate detection thin film transistors (Y coordinate detection TFTs) 109 are formed. Each Y coordinate detection TFT109 is of the outside area of the screen area 120, the portion adjacent to the screen area 120 are arranged side by side in a row in the Y-axis direction. The intervals at which the Y coordinate detection TFTs 109 are arranged are approximately the same as the intervals between the Y coordinate detection lines 4.
On the other hand, each of the X coordinate detection TFTs 108 is arranged in a line adjacent to each of the Y coordinate detection TFTs 109 at a position further outward from the screen area 120 of each Y coordinate detection TFT 109. Yes.

X座標検出用TFT108は、X座標検出ライン3と同じ数存在する。各X座標検出用TFT108のソース端子は、それぞれ別々のX座標検出ライン3に接続されている。ここで、X座標検出ライン3とX座標検出用TFT108とは、前記画面エリア120の外側で引き回された延長ライン115により接続している。また、各X座標検出用TFT108のゲート端子は、それぞれ別々の走査線123に、延長ライン110を介して接続している。各X座標検出用TFT108のドレイン端子は、X座標検出用出力ライン111に接続されている。このX座標検出用出力ライン111は、外部回路接続端子113に接続されている。この外部回路接続端子113は、ドライバ搭載部102a(図10参照)に設けられている。   There are the same number of X coordinate detection TFTs 108 as the number of X coordinate detection lines 3. The source terminal of each X coordinate detection TFT 108 is connected to a separate X coordinate detection line 3. Here, the X coordinate detection line 3 and the X coordinate detection TFT 108 are connected by an extension line 115 routed outside the screen area 120. The gate terminal of each X coordinate detection TFT 108 is connected to a separate scanning line 123 via an extension line 110. The drain terminal of each X coordinate detection TFT 108 is connected to the X coordinate detection output line 111. The X coordinate detection output line 111 is connected to an external circuit connection terminal 113. The external circuit connection terminal 113 is provided in the driver mounting portion 102a (see FIG. 10).

一方、Y座標検出用TFT109は、Y座標検出ライン4と同じ数存在する。各Y座標検出用TFT109のソース端子は、それぞれ別々のY座標検出ライン4に接続されている。また、各Y座標検出用TFT109のゲート端子は、それぞれ別々の走査線123に、延長ライン110を介して接続されている。各Y座標検出用TFT109のドレイン端子は、Y座標検出用出力ライン112に接続されている。このY座標検出用出力ライン112は、X座標検出用出力ライン111と同様に、ドライバ搭載部102aに設けられた外部回路接続端子114に接続されている。   On the other hand, there are as many Y coordinate detection TFTs 109 as there are Y coordinate detection lines 4. The source terminal of each Y coordinate detection TFT 109 is connected to a separate Y coordinate detection line 4. The gate terminal of each Y coordinate detection TFT 109 is connected to a separate scanning line 123 via an extension line 110. The drain terminal of each Y coordinate detection TFT 109 is connected to the Y coordinate detection output line 112. The Y-coordinate detection output line 112 is connected to an external circuit connection terminal 114 provided in the driver mounting portion 102a, similarly to the X-coordinate detection output line 111.

尚、本液晶表示パネル100は、前記液晶層の液晶分子を、後側基板102及び前側基板101の間において液晶分子をツイスト配向させたツイステッドネマティック(TN)型若しくはスーパーツイステッドネマティック(STN)型、液晶分子を後側基板102及び前側基板101の面に対して垂直に配向させた垂直配向型(Vertical Alignment方式;VA方式)、横電界型のIn−Plane Switching方式(IPS方式)の液晶パネルを含む液晶分子の分子長軸を一方向に揃えて後側基板102に平行に配向させた水平配向型、液晶分子をベンド配向させるベンド配向型(Optically Compensated Birefringenece方式;OCB方式)、又は強誘電性若しくは反強誘電性液晶表示パネル等、種々の液晶表示パネルのうち何れでも良い。また、ポリマーネットワーク型液晶表示パネルでも良い。
The liquid crystal display panel 100 includes a twisted nematic (TN) type or a super twisted nematic (STN) type in which the liquid crystal molecules of the liquid crystal layer are twist-oriented between the rear substrate 102 and the front substrate 101. A vertical alignment type (Vertical Alignment method; VA method) or a lateral electric field type In-Plane Switching method (IPS method) liquid crystal panel in which liquid crystal molecules are aligned perpendicularly to the surfaces of the rear substrate 102 and the front substrate 101. A horizontal alignment type in which the molecular long axes of liquid crystal molecules are aligned in one direction and aligned in parallel with the rear substrate 102, a bend alignment type in which liquid crystal molecules are bend-aligned (Optically Compensated Birefringence method; OCB method), or ferroelectricity Or antiferroelectric The liquid crystal display panel or the like, may be any one of a variety of liquid crystal display panel. Further, a polymer network type liquid crystal display panel may be used.

図10に示す様に、ドライバ素子130の走査ドライバ131とデータドライバ132とは、前記した液晶表示パネル100に接続される外部回路の表示用コントローラ134に接続されている。また、対向電極107に電圧を印加するコモン信号発生回路133は、表示用コントローラ134に接続されている。また、X座標検出用出力ライン111の外部回路接続端子113は、前記した座標検出用コントローラ10に接続し、同様にY座標検出用出力ライン112の外部回路接続端子114は、座標検出用コントローラ10に接続されている。座標検出用コントローラ10は、前記第1の実施形態に係る座標検出用コントローラ10と同様のものである。これら表示用コントローラ134と座標検出用コントローラ10とは、それぞれ、それらを制御するメインコントローラ135と接続している。   As shown in FIG. 10, the scanning driver 131 and the data driver 132 of the driver element 130 are connected to a display controller 134 of an external circuit connected to the liquid crystal display panel 100 described above. A common signal generation circuit 133 that applies a voltage to the counter electrode 107 is connected to the display controller 134. Further, the external circuit connection terminal 113 of the X coordinate detection output line 111 is connected to the coordinate detection controller 10 described above. Similarly, the external circuit connection terminal 114 of the Y coordinate detection output line 112 is connected to the coordinate detection controller 10. It is connected to the. The coordinate detection controller 10 is the same as the coordinate detection controller 10 according to the first embodiment. The display controller 134 and the coordinate detection controller 10 are connected to a main controller 135 that controls them.

このように、例えば後側基板102は、第1の基板として機能し、例えば前側基板101は、第2の基板として機能し、例えば画素電極125は、画素電極として機能し、例えば対向電極107は、対向電極として機能し、例えばX座標検出用接点電極5は、第1の接点電極として機能し、例えばY座標検出用接点電極6は、第2の接点電極として機能し、例えばX座標検出ライン3は、第1の検出ラインとして機能し、例えばY座標検出ライン4は、第2の検出ラインとして機能し、例えば座標検出用コントローラ10は、演算部として機能する。   Thus, for example, the rear substrate 102 functions as a first substrate, the front substrate 101 functions as a second substrate, the pixel electrode 125 functions as a pixel electrode, and the counter electrode 107 functions as a counter electrode 107, for example. For example, the X-coordinate detection contact electrode 5 functions as a first contact electrode, and the Y-coordinate detection contact electrode 6 functions as a second contact electrode, for example, an X-coordinate detection line. 3 functions as a first detection line, for example, the Y coordinate detection line 4 functions as a second detection line, and for example, the coordinate detection controller 10 functions as a calculation unit.

次に、本実施形態に係る液晶表示装置の動作を説明する。液晶表示パネル100において、コモン信号発生回路133から出力されたコモン信号(Vcom信号)は、対向電極107に印加される。表示用コントローラ134の走査ドライバ131は、各走査線123を順次選択し、選択した走査線123に、表示用TFT126をONさせるゲート信号を、選択期間印加する。また、表示用コントローラ134のデータドライバ132は、各信号線124に、前記Vcom信号に対して画像データに対応した電位差をもつデータ信号を、走査線123の選択期間印加する。液晶表示パネル100は、上記の通り表示駆動される。尚、本実施形態では、液晶表示パネル100の表示駆動方式に、各走査線123の選択期間毎に、対向電極107に印加するVcom信号の電圧を、ハイレベル(以下、Hレベルという)とローレベル(以下、Lレベルという)とに反転させるライン反転方式を用いている。   Next, the operation of the liquid crystal display device according to this embodiment will be described. In the liquid crystal display panel 100, the common signal (Vcom signal) output from the common signal generation circuit 133 is applied to the counter electrode 107. The scanning driver 131 of the display controller 134 sequentially selects each scanning line 123 and applies a gate signal for turning on the display TFT 126 to the selected scanning line 123 for a selection period. Further, the data driver 132 of the display controller 134 applies a data signal having a potential difference corresponding to the image data to the Vcom signal to each signal line 124 for a selection period of the scanning line 123. The liquid crystal display panel 100 is driven for display as described above. In the present embodiment, in the display driving method of the liquid crystal display panel 100, the voltage of the Vcom signal applied to the counter electrode 107 for each selection period of each scanning line 123 is set to a high level (hereinafter referred to as H level) and low level. A line inversion method for inversion to a level (hereinafter referred to as L level) is used.

次に、液晶表示パネル100のタッチパネルとしての動作を説明する。ここで、図11からタッチパネル機能に関する構成を抜粋した回路構成の概略を、図12に示す。各走査線123、各X座標検出用TFT108、各Y座標検出用TFT109、各X座標検出ライン3、及び各Y座標検出ライン4に以下の名称をつける。即ち、図12における上端側から、1行目の画素電極125に接続する表示用TFT126のゲート端子に接続する走査線123をゲートG1とし、2行目のそれをゲートG2とし、以下同様にして、下端である320行目のそれをゲートG320とする。そして、ゲートG1にそのゲート端子を接続しているX座標検出用TFT108をX−TFT1とし、ゲートG2にそのゲート端子を接続しているX座標検出用TFT108をX−TFT2とし、以下同様にして、ゲートG240にそのゲート端子を接続しているX座標検出用TFT108をX−TFT240とする。また同様に、ゲートG1にそのゲート端子を接続しているY座標検出用TFT109をY−TFT1とし、ゲートG2にそのゲート端子を接続しているY座標検出用TFT109をY−TFT2とし、以下同様にして、ゲートG320にそのゲート端子を接続しているY座標検出用TFT109をY−TFT320とする。   Next, the operation of the liquid crystal display panel 100 as a touch panel will be described. Here, FIG. 12 shows an outline of a circuit configuration in which the configuration related to the touch panel function is extracted from FIG. Each scanning line 123, each X coordinate detection TFT 108, each Y coordinate detection TFT 109, each X coordinate detection line 3, and each Y coordinate detection line 4 are given the following names. That is, from the upper end side in FIG. 12, the scanning line 123 connected to the gate terminal of the display TFT 126 connected to the pixel electrode 125 in the first row is the gate G1, the second row is the gate G2, and so on. The lower end of the 320th row is the gate G320. Then, the X coordinate detection TFT 108 whose gate terminal is connected to the gate G1 is referred to as X-TFT1, the X coordinate detection TFT 108 whose gate terminal is connected to the gate G2 is referred to as X-TFT2, and so on. The X-coordinate detection TFT 108 whose gate terminal is connected to the gate G240 is referred to as an X-TFT 240. Similarly, the Y coordinate detection TFT 109 whose gate terminal is connected to the gate G1 is Y-TFT1, the Y coordinate detection TFT 109 whose gate terminal is connected to the gate G2 is Y-TFT2, and so on. Then, the Y coordinate detection TFT 109 whose gate terminal is connected to the gate G320 is referred to as Y-TFT320.

また、X−TFT1で表されるX座標検出用TFT108のソース端子に接続しているX座標検出ライン3をX1とし、X−TFT2で表されるX座標検出用TFT108のソース端子に接続しているX座標検出ライン3をX2とし、以下同様にして、X−TFT240で表されるX座標検出用TFT108のソース端子に接続しているX座標検出ライン3をX240とする。また同様に、Y−TFT1で表されるY座標検出用TFT109のソース端子に接続しているY座標検出ライン4をY1とし、Y−TFT2で表されるY座標検出用TFT109のソース端子に接続しているY座標検出ライン4をY2とし、以下同様にして、Y−TFT320で表されるY座標検出用TFT109のソース端子に接続しているY座標検出ライン4をY320とする。   Further, the X coordinate detection line 3 connected to the source terminal of the X coordinate detection TFT 108 represented by X-TFT 1 is set to X1, and the X coordinate detection line 3 represented by X-TFT 2 is connected to the source terminal of the X coordinate detection TFT 108. The X coordinate detection line 3 connected to the source terminal of the X coordinate detection TFT 108 represented by the X-TFT 240 is hereinafter referred to as X240. Similarly, Y-coordinate detection line 4 connected to the source terminal of Y-coordinate detection TFT 109 represented by Y-TFT1 is Y1, and connected to the source terminal of Y-coordinate detection TFT 109 represented by Y-TFT2. The Y coordinate detection line 4 connected to the source terminal of the Y coordinate detection TFT 109 represented by the Y-TFT 320 is set to Y 320 in the same manner.

前記タッチ入力が行われると、前側基板101のタッチされた部分(以下、タッチ部と称する)が後側基板102側に撓み変形する。その結果、後側基板102に形成されたX座標検出用接点電極5のうち、前記タッチ部に形成されたX座標検出用接点電極5が、前側基板101に形成された対向電極107と導通する。同様に、前記タッチ部の後側基板102に形成されたY座標検出用接点電極6のうち、前記タッチ部に形成されたY座標検出用接点電極6が、対向電極107と導通する。
When the touch input is performed, a touched portion of the front substrate 101 (hereinafter referred to as a touch portion) is bent and deformed toward the rear substrate 102. Conducting a result, among the X coordinate detection electrode 5 formed on the rear substrate 102, the X coordinate detection electrode 5 formed on the touch portion, the counter electrode 107 formed on the front side substrate 101 To do. Similarly, Y coordinate detection electrode 6 of, formed in the touch part of the Y coordinate detection electrode 6 formed on the side substrate 102 after the touch unit is conducting with the counter electrode 107.

したがって、タッチ部で対向電極107と導通したX座標検出用接点電極5と、この接点電極と接続しているX座標検出ライン3と、の電位は対向電極107に印加されたVcom信号の電位と同レベルになる。同様に、タッチ部で対向電極107と導通したY座標検出用接点電極6と、この接点電極と接続しているY座標検出ライン4との電位は対向電極107に印加されたVcom信号の電位と同レベルになる。
Therefore, the X coordinate detection electrode 5 was electrically connected to the counter electrode 107 with the touch portion, the potential of the the X coordinate detection line 3 that a contact electrode is connected, the potential applied to the paired counter electrodes 107 Vcom signal And the same level. Similarly, the Y coordinate detection electrode 6 electrically connected to the counter electrode 107 in the touch unit, and the Y coordinate detection line 4 that is connected to the contact electrode, the potential of the Vcom signal applied to the pair counter electrode 107 It becomes the same level as the potential.

前記の通り、各X座標検出ライン3は、X座標検出用TFT108のソース端子に接続しており、Y座標検出ライン4は、Y座標検出用TFT109のソース端子に接続している。また、各X座標検出用TFT108のゲート端子は、それぞれ別々の走査線123に接続しており、各Y座標検出用TFT109のゲート端子は、それぞれ別々の走査線123に接続している。
As described above, each X coordinate detection line 3 is connected to the source terminal of the X coordinate detection TFT 108, and each Y coordinate detection line 4 is connected to the source terminal of the Y coordinate detection TFT 109. The gate terminal of each X coordinate detection TFT 108 is connected to a separate scanning line 123, and the gate terminal of each Y coordinate detection TFT 109 is connected to a separate scanning line 123.

したがって、画像表示のため、ゲートG1からゲートG320までの各走査線123に順次ゲート信号が印加されると、X−TFT1からX−TFT240までの各X座標検出用TFT108は、順次ON状態になる。このとき、各X座標検出用TFT108のドレイン端子に接続しているX座標検出用出力ライン111の電位は、前記ON状態になっているX座標検出用TFT108のソース端子に接続されているX座標検出ライン3の電位になる。ここで、タッチ部に対応するX座標検出用接点電極5が接続しているX座標検出ライン3の電位は、対向電極107の電位になっている。   Therefore, when a gate signal is sequentially applied to the scanning lines 123 from the gate G1 to the gate G320 for image display, the X coordinate detection TFTs 108 from the X-TFT1 to the X-TFT240 are sequentially turned on. . At this time, the potential of the X coordinate detection output line 111 connected to the drain terminal of each X coordinate detection TFT 108 is the X coordinate connected to the source terminal of the X coordinate detection TFT 108 in the ON state. It becomes the potential of the detection line 3. Here, the potential of the X coordinate detection line 3 to which the X coordinate detection contact electrode 5 corresponding to the touch portion is connected is the potential of the counter electrode 107.

これらと同様に、ゲートG1からゲートG320までの各走査線123に順次ゲート信号が印加されると、Y−TFT1からY−TFT320までの各Y座標検出用TFT109は、順次ON状態になる。そして、各Y座標検出用TFT109のドレイン端子に接続しているY座標検出用出力ライン112の電位は、前記ON状態になっているY座標検出用TFT109のソース端子に接続されているY座標検出ライン4の電位になる。ここで、タッチ部に対応するY座標検出用接点電極6が接続しているY座標検出ライン4の電位は、対向電極107の電位になっている。   Similarly, when gate signals are sequentially applied to the scanning lines 123 from the gate G1 to the gate G320, the Y coordinate detection TFTs 109 from the Y-TFT1 to the Y-TFT320 are sequentially turned on. The potential of the Y coordinate detection output line 112 connected to the drain terminal of each Y coordinate detection TFT 109 is detected by the Y coordinate detection connected to the source terminal of the Y coordinate detection TFT 109 in the ON state. It becomes the potential of the line 4. Here, the potential of the Y coordinate detection line 4 to which the Y coordinate detection contact electrode 6 corresponding to the touch portion is connected is the potential of the counter electrode 107.

即ち、ゲートG1、ゲートG2、・・・、ゲートG240と順にゲート電圧が印加されると、X−TFT1、X−TFT2、・・・、X−TFT240と順にX座標検出用TFT108がON状態になる。その結果、X座標検出用出力ライン111の電位は、順次X座標検出ラインX1の電位、X座標検出ラインX2の電位、・・・、X座標検出ラインX240の電位になる。同様に、ゲートG1、ゲートG2、・・・、ゲートG320と順にゲート電圧が印加されると、Y−TFT1、Y−TFT1、・・・、Y−TFT320と順にY座標検出用TFT109がON状態となる。その結果、Y座標検出用出力ライン112の電位は、順次Y座標検出ラインY1の電位、Y座標検出ラインY2の電位、・・・、Y座標検出ラインY320の電位になる。したがって、この液晶表示パネル100は、各X座標検出ライン3の電位に対応したX座標のパラレルデータを、X座標のシリアルデータに変換して、X座標検出用出力ライン111から出力する。また同様に、各Y座標検出ライン4の電位に対応したY座標のパラレルデータを、Y座標のシリアルデータに変換して、Y座標検出用出力ライン112から出力する。   That is, when a gate voltage is applied in order of the gate G1, gate G2,..., Gate G240, the X-TFT1, X-TFT2,. Become. As a result, the potential of the output line 111 for X coordinate detection becomes sequentially the potential of the X coordinate detection line X1, the potential of the X coordinate detection line X2,..., And the potential of the X coordinate detection line X240. Similarly, when a gate voltage is applied in order of the gate G1, gate G2,..., Gate G320, the Y coordinate detection TFT 109 is turned on in the order of Y-TFT1, Y-TFT1,. It becomes. As a result, the potential of the Y-coordinate detection output line 112 sequentially becomes the potential of the Y-coordinate detection line Y1, the potential of the Y-coordinate detection line Y2,..., And the potential of the Y-coordinate detection line Y320. Therefore, the liquid crystal display panel 100 converts X-coordinate parallel data corresponding to the potential of each X-coordinate detection line 3 into X-coordinate serial data and outputs it from the X-coordinate detection output line 111. Similarly, the Y coordinate parallel data corresponding to the potential of each Y coordinate detection line 4 is converted into Y coordinate serial data and output from the Y coordinate detection output line 112.

本実施形態において座標検出用コントローラ10は、X座標検出用出力ライン111の信号を外部回路接続端子113から取得し、Y座標検出用出力ライン112の信号を外部回路接続端子114から取得し、これら信号に基づいて、図7Aを参照して説明したステップS5における座標の特定の処理を行う。その他、座標検出用コントローラ10における処理は、第1の実施形態の場合と同様である。   In the present embodiment, the coordinate detection controller 10 acquires the signal of the X coordinate detection output line 111 from the external circuit connection terminal 113, acquires the signal of the Y coordinate detection output line 112 from the external circuit connection terminal 114, and Based on the signal, the process of specifying coordinates in step S5 described with reference to FIG. 7A is performed. The other processes in the coordinate detection controller 10 are the same as those in the first embodiment.

本実施形態によっても、第1の実施形態の場合と同様に、タッチされている位置が静止しているか移動しているかを検知して、それに応じてタッチ位置の決定の方法を異ならせるので、タッチ位置が静止している状況においても、移動している状況においても、正確なタッチ位置の特定が可能になる。   Even in this embodiment, as in the case of the first embodiment, it is detected whether the touched position is stationary or moving, and the method for determining the touch position is made different accordingly. Whether the touch position is stationary or moving, the accurate touch position can be specified.

ここに説明した例は、Vcom信号が反転するライン反転方式の駆動によるものであるが、Vcomが反転しないドット反転駆動方式その他の駆動方式を用いても勿論良い。
また、以上の説明では、QVGAポートレートを例に挙げて説明したが、QVGAポートレートに限らず、横置きの通常のQVGAや、例えば、VGA(640画素×480画素)、SVGA(800画素×600画素)、XGA(1024画素×768画素)、SXGA(1280画素×1024画素)や、それらの縦置き型等、種々の画素数を有する表示パネルを用いても良い。他の画素数を有する表示パネルを用いた場合、画素数に合わせて、上記説明の構成要素の数が多くなったり少なくなったりすることは勿論である。
The example described here is based on line inversion driving in which the Vcom signal is inverted, but it is needless to say that a dot inversion driving method or other driving method in which Vcom is not inverted may be used.
In the above description, the QVGA portrait has been described as an example. However, the QVGA portrait is not limited to the QVGA portrait. For example, the horizontal QVGA, for example, VGA (640 pixels × 480 pixels), SVGA (800 pixels × A display panel having various numbers of pixels such as 600 pixels), XGA (1024 pixels × 768 pixels), SXGA (1280 pixels × 1024 pixels), or a vertical type thereof may be used. When a display panel having another number of pixels is used, it goes without saying that the number of components described above increases or decreases in accordance with the number of pixels.

なお、本発明は上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除しても、発明が解決しようとする課題の欄で述べられた課題が解決でき、かつ、発明の効果が得られる場合には、この構成要素が削除された構成も発明として抽出され得る。さらに、異なる実施形態にわたる構成要素を適宜組み合わせてもよい。   Note that the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. In addition, various inventions can be formed by appropriately combining a plurality of components disclosed in the embodiment. For example, even if some constituent elements are deleted from all the constituent elements shown in the embodiment, the problem described in the column of problems to be solved by the invention can be solved and the effect of the invention can be obtained. The configuration in which this component is deleted can also be extracted as an invention. Furthermore, constituent elements over different embodiments may be appropriately combined.

1…前側基板、2…後側基板、3…X座標検出ライン、4…Y座標検出ライン、5…X座標検出用接点電極、6…Y座標検出用接点電極、7…対向電極、10…座標検出用コントローラ、23…X座標検出用抵抗膜、24…Y座標検出用抵抗膜、100…液晶表示パネル、101…前側基板、102…後側基板、102a…ドライバ搭載部、107…対向電極、108…X座標検出用薄膜トランジスタ、109…Y座標検出用薄膜トランジスタ、110…延長ライン、111…X座標検出用出力ライン、112…Y座標検出用出力ライン、113…外部回路接続端子、114…外部回路接続端子、115…延長ライン、120…画面エリア、123…走査線、124…信号線、125…画素電極、126…表示用薄膜トランジスタ、126…表示用TFT、130…ドライバ素子、131…走査ドライバ、132…データドライバ、133…コモン信号発生回路、134…表示用コントローラ、135…メインコントローラ。   DESCRIPTION OF SYMBOLS 1 ... Front side board, 2 ... Rear side board, 3 ... X coordinate detection line, 4 ... Y coordinate detection line, 5 ... X coordinate detection contact electrode, 6 ... Y coordinate detection contact electrode, 7 ... Counter electrode, 10 ... Controller for coordinate detection, 23 ... Resistance film for X coordinate detection, 24 ... Resistance film for Y coordinate detection, 100 ... Liquid crystal display panel, 101 ... Front substrate, 102 ... Rear substrate, 102a ... Driver mounting portion, 107 ... Counter electrode 108 ... X coordinate detection thin film transistor, 109 ... Y coordinate detection thin film transistor, 110 ... extension line, 111 ... X coordinate detection output line, 112 ... Y coordinate detection output line, 113 ... external circuit connection terminal, 114 ... external Circuit connection terminal, 115 ... extension line, 120 ... screen area, 123 ... scanning line, 124 ... signal line, 125 ... pixel electrode, 126 ... thin film transistor for display, 126 ...示用 TFT, 130 ... driver device, 131 ... scan driver, 132 ... data driver, 133 ... common signal generator circuit, 134 ... display controller, 135 ... main controller.

Claims (3)

検知側の基板と、
前記検知側の基板がタッチされた際に、前記検知側の基板への当該タッチを検出する検出部と、
前記検出部が出力する前記検知側の基板への前記タッチに係わる複数の座標を表す検出信号に基づいて、タッチされた位置を特定する演算部と、
を具備し、
前記検出信号は、
前記基板への前記タッチに係わる、第1の軸に沿った前記複数の座標値を表す複数の第1軸方向信号と、
前記基板への前記タッチに係わる、前記第1の軸に交差する第2の軸に沿った前記複数の座標値を表す複数の第2軸方向信号と、
を含み、
前記複数の座標値の前記第1の軸に沿った最大値をXmax1、前記第1の軸に沿った最小値をXmin1、前記第2の軸に沿った最大値をYmax1、前記第2の軸に沿った最小値をYmin1とすると、
前記演算部は、
前記第1軸方向信号に基づいて、前記第1の軸に沿った前記複数の座標値が大きくなる方向に時間的に変化していると判定したときには、前記タッチされた位置の前記第1の軸に沿った座標値Xtouchを、次式(1)に基づいて算出し、
Xtouch=(Xmax1−Xmin1)/XgainP+Xmin1 ・・(1)
ここで、1≦XgainP<2、XgainPは、前記タッチされた位置の前記第1の軸に沿った座標値Xtouchを、前記第1の軸に沿った前記複数の座標値の中央値からどれだけ前記第1の軸に沿って大きくなる方向に偏らせるかを表す値であり、
前記第1軸方向信号に基づいて、前記第1の軸に沿った前記複数の座標値が小さくなる方向に時間的に変化していると判定したときには、前記タッチされた位置の前記第1の軸に沿った座標値Xtouchを、次式(2)に基づいて算出し、
Xtouch=(Xmax1−Xmin1)/XgainM+Xmin1 ・・(2)
ここで、2<XgainM、XgainMは、前記タッチされた位置の前記第1の軸に沿った座標値Xtouchを、前記第1の軸に沿った前記複数の座標値の中央値からどれだけ前記第1の軸に沿って小さくなる方向に偏らせるかを表す値であり、
前記第2軸方向信号に基づいて、前記第2の軸に沿った前記複数の座標値が大きくなる方向に時間的に変化していると判定したときには、前記タッチされた位置の前記第2の軸に沿った座標値Ytouchを、次式(3)に基づいて算出し、
Ytouch=(Ymax1−Ymin1)/YgainP+Ymin1 ・・(3)
ここで、1≦YgainP<2、YgainPは、前記タッチされた位置の前記第2の軸に沿った座標値Ytouchを、前記第2の軸に沿った前記複数の座標値の中央値からどれだけ前記第2の軸に沿って大きくなる方向に偏らせるかを表す値であり、
前記第2軸方向信号に基づいて、前記第2の軸に沿った前記複数の座標値が小さくなる方向に時間的に変化していると判定したときには、前記タッチされた位置の前記第2の軸に沿った座標値Ytouchを、次式(4)に基づいて算出し、
Ytouch=(Ymax1−Ymin1)/YgainM+Ymin1 ・・(4)
ここで、2<YgainM、YgainMは、前記タッチされた位置の前記第2の軸に沿った座標値Ytouchを、前記第2の軸に沿った前記複数の座標値の中央値からどれだけ前記第2の軸に沿って小さくなる方向に偏らせるかを表す値である、
ことを特徴とするタッチパネル。
A substrate on the detection side;
When the substrate of the detection side is touched, a detector for detecting the touch on the substrate of the detection side,
Wherein the detection unit outputs, based on a detection signal representative of a plurality of coordinate values related to the touch on the substrate of the detection side, a calculation unit that specifies a data pitch position,
Comprising
The detection signal is
A plurality of first axis direction signals representing the plurality of coordinate values along a first axis relating to the touch on the substrate;
A plurality of second axis direction signals representing the plurality of coordinate values along a second axis intersecting the first axis related to the touch on the substrate;
Including
The maximum value along the first axis of the plurality of coordinate values is Xmax1, the minimum value along the first axis is Xmin1, the maximum value along the second axis is Ymax1, and the second axis If the minimum value along Y is Ymin1,
The computing unit is
When it is determined based on the first axis direction signal that the plurality of coordinate values along the first axis are temporally changed in the increasing direction, the first position of the touched position is determined. A coordinate value Xtouch along the axis is calculated based on the following equation (1),
Xtouch = (Xmax1-Xmin1) / XgainP + Xmin1 (1)
Here, 1 ≦ XgainP <2, XgainP indicates that the coordinate value Xtouch along the first axis at the touched position is from the median value of the plurality of coordinate values along the first axis. A value representing whether to be biased in the direction of increasing along the first axis,
When it is determined that the plurality of coordinate values along the first axis are temporally changing based on the first axis direction signal, the first position of the touched position is determined. A coordinate value Xtouch along the axis is calculated based on the following equation (2),
Xtouch = (Xmax1-Xmin1) / XgainM + Xmin1 (2)
Here, 2 <XgainM and XgainM indicate how much the coordinate value Xtouch along the first axis of the touched position from the median value of the plurality of coordinate values along the first axis. It is a value that represents whether to deviate along the axis of 1 in the direction of decreasing,
When it is determined based on the second axis direction signal that the plurality of coordinate values along the second axis are temporally changing in a direction in which the coordinate values increase, the second position of the touched position is determined. A coordinate value Ytouch along the axis is calculated based on the following equation (3):
Ytouch = (Ymax1-Ymin1) / YgainP + Ymin1 (3)
Here, 1 ≦ YgainP <2, YgainP indicates how much the coordinate value Ytouch along the second axis of the touched position is from the median value of the plurality of coordinate values along the second axis. A value representing whether to be biased in the direction of increasing along the second axis,
Based on the second axis direction signal, when it is determined that the plurality of coordinate values along the second axis are temporally changing in a decreasing direction, the second position of the touched position is determined. A coordinate value Ytouch along the axis is calculated based on the following equation (4),
Ytouch = (Ymax1-Ymin1) / YgainM + Ymin1 (4)
Here, 2 <YgainM and YgainM indicate how much the coordinate value Ytouch along the second axis of the touched position from the median value of the plurality of coordinate values along the second axis. It is a value that represents whether to bias in a direction that decreases along the axis of 2.
A touch panel characterized by that.
液晶層を挟んで互いに対向する第1の基板上に形成された画素電極と第2の基板上に形成された対向電極とを有するアクティブマトリクス型の液晶表示素子であって、
前記第1の基板上に形成された複数の検出ラインと、
前記対向電極と間隙を有して対向し、前記第2の基板がタッチされたときに前記対向電極と導通する、前記複数の検出ラインの何れかに接続されている複数の接点電極と、
前記検出ラインの各電位が表す前記第2の基板への前記タッチに係わる複数の座標に基づいて、タッチされた位置を特定する演算部と、
を具備し、
前記検出ラインは、
第1の軸に沿った前記複数の座標値を表す信号を伝達する、複数の第1の検出ラインと、
第2の軸に沿った前記複数の座標値を表す信号を伝達する、前記各第1の検出ラインと互いにねじれの位置に配置されている複数の第2の検出ラインと、
を含み、
前記接点電極は、
前記複数の第1の検出ラインの何れかに接続されている複数の第1の接点電極と、
前記複数の第2の検出ラインの何れかに接続されている複数の第2の接点電極と、
を含み、
前記複数の座標値の前記第1の軸に沿った最大値をXmax1、前記第1の軸に沿った最小値をXmin1、前記第2の軸に沿った最大値をYmax1、前記第2の軸に沿った最小値をYmin1とすると、
前記演算部は、
前記第1の検出ラインの電位に基づいて、前記第1の軸に沿った前記複数の座標値が大きくなる方向に時間的に変化していると判定したときには、前記タッチされた位置の前記第1の軸に沿った座標値Xtouchを、次式(1)に基づいて算出し、
Xtouch=(Xmax1−Xmin1)/XgainP+Xmin1 ・・(1)
ここで、1≦XgainP<2、XgainPは、前記タッチされた位置の前記第1の軸に沿った座標値Xtouchを、前記第1の軸に沿った前記複数の座標値の中央値からどれだけ前記第1の軸に沿って大きくなる方向に偏らせるかを表す値であり、
前記第1の検出ラインの電位に基づいて、前記第1の軸に沿った前記複数の座標値が小さくなる方向に時間的に変化していると判定したときには、前記タッチされた位置の前記第1の軸に沿った座標値Xtouchを、次式(2)に基づいて算出し、
Xtouch=(Xmax1−Xmin1)/XgainM+Xmin1 ・・(2)
ここで、2<XgainM、XgainMは、前記タッチされた位置の前記第1の軸に沿った座標値Xtouchを、前記第1の軸に沿った前記複数の座標値の中央値からどれだけ前記第1の軸に沿って小さくなる方向に偏らせるかを表す値であり、
前記第2の検出ラインの電位に基づいて、前記第2の軸に沿った前記複数の座標値が大きくなる方向に時間的に変化していると判定したときには、前記タッチされた位置の前記第2の軸に沿った座標値Ytouchを、次式(3)に基づいて算出し、
Ytouch=(Ymax1−Ymin1)/YgainP+Ymin1 ・・(3)
ここで、1≦YgainP<2、YgainPは、前記タッチされた位置の前記第2の軸に沿った座標値Ytouchを、前記第2の軸に沿った前記複数の座標値の中央値からどれだけ前記第2の軸に沿って大きくなる方向に偏らせるかを表す値であり、
前記第2の検出ラインの電位に基づいて、前記第2の軸に沿った前記複数の座標値が小さくなる方向に時間的に変化していると判定したときには、前記タッチされた位置の前記第2の軸に沿った座標値Ytouchを、次式(4)に基づいて算出し、
Ytouch=(Ymax1−Ymin1)/YgainM+Ymin1 ・・(4)
ここで、2<YgainM、YgainMは、前記タッチされた位置の前記第2の軸に沿った座標値Ytouchを、前記第2の軸に沿った前記複数の座標値の中央値からどれだけ前記第2の軸に沿って小さくなる方向に偏らせるかを表す値である、
ことを特徴とするタッチパネルを有する液晶表示素子。
An active matrix liquid crystal display element having a pixel electrode formed on a first substrate and a counter electrode formed on a second substrate facing each other across a liquid crystal layer,
A plurality of detection lines formed on the first substrate;
Faces having said counter electrode and the gap, before Symbol second substrate are conductive and the counter electrode when it is touched, a plurality of contact electrodes which are connected to one of said plurality of detection lines,
Represented by each potential of the detection line, based on a plurality of coordinate values relating to the touch to the second substrate, and a calculating unit for identifying the position at which the data pitch,
Comprising
The detection line is
A plurality of first detection lines for transmitting signals representing the plurality of coordinate values along a first axis;
A plurality of second detection lines that transmit signals representing the plurality of coordinate values along a second axis and that are arranged in a twisted position with respect to each first detection line;
Including
The contact electrode is
A plurality of first contact electrodes connected to any of the plurality of first detection lines;
A plurality of second contact electrodes connected to any of the plurality of second detection lines;
Including
The maximum value along the first axis of the plurality of coordinate values is Xmax1, the minimum value along the first axis is Xmin1, the maximum value along the second axis is Ymax1, and the second axis If the minimum value along Y is Ymin1,
The computing unit is
When it is determined that the plurality of coordinate values along the first axis are temporally changing based on the potential of the first detection line, the first position of the touched position is determined. A coordinate value Xtouch along the axis of 1 is calculated based on the following equation (1):
Xtouch = (Xmax1-Xmin1) / XgainP + Xmin1 (1)
Here, 1 ≦ XgainP <2, XgainP indicates that the coordinate value Xtouch along the first axis at the touched position is from the median value of the plurality of coordinate values along the first axis. A value representing whether to be biased in the direction of increasing along the first axis,
When it is determined that the plurality of coordinate values along the first axis are temporally changed based on the potential of the first detection line, the first position of the touched position is determined. A coordinate value Xtouch along the axis of 1 is calculated based on the following equation (2):
Xtouch = (Xmax1-Xmin1) / XgainM + Xmin1 (2)
Here, 2 <XgainM and XgainM indicate how much the coordinate value Xtouch along the first axis of the touched position from the median value of the plurality of coordinate values along the first axis. It is a value that represents whether to deviate along the axis of 1 in the direction of decreasing,
When it is determined that the plurality of coordinate values along the second axis are temporally changed based on the potential of the second detection line, the first position of the touched position is determined. A coordinate value Ytouch along the axis of 2 is calculated based on the following equation (3):
Ytouch = (Ymax1-Ymin1) / YgainP + Ymin1 (3)
Here, 1 ≦ YgainP <2, YgainP indicates how much the coordinate value Ytouch along the second axis of the touched position is from the median value of the plurality of coordinate values along the second axis. A value representing whether to be biased in the direction of increasing along the second axis,
Based on the potential of the second detection line, when it is determined that the plurality of coordinate values along the second axis are temporally changing in a decreasing direction, the first position of the touched position is determined. The coordinate value Ytouch along the axis of 2 is calculated based on the following equation (4):
Ytouch = (Ymax1-Ymin1) / YgainM + Ymin1 (4)
Here, 2 <YgainM and YgainM indicate how much the coordinate value Ytouch along the second axis of the touched position from the median value of the plurality of coordinate values along the second axis. It is a value that represents whether to bias in a direction that decreases along the axis of 2.
A liquid crystal display element having a touch panel.
タッチされた際の検知側の基板の当該タッチを検出し、検出された当該検知側の基板への当該タッチに係わる複数の座標に基づいて、タッチされた位置を特定するタッチパネルの位置検出方法において、
前記複数の座標値の第1の軸に沿った最大値をXmax1、当該第1の軸に沿った最小値をXmin1、当該第1の軸と交差する第2の軸に沿った最大値をYmax1、当該第2の軸に沿った最小値をYmin1とすると、
前記第1の軸に沿った前記複数の座標値が時間的に大きくなる方向に変化しているとき、前記タッチされた位置の前記第1の軸に沿った座標値Xtouchを、次式(1)に基づいて算出し、
Xtouch=(Xmax1−Xmin1)/XgainP+Xmin1 ・・(1)
ここで、1≦XgainP<2、XgainPは、前記タッチされた位置の前記第1の軸に沿った座標値Xtouchを、前記第1の軸に沿った前記複数の座標値の中央値からどれだけ前記第1の軸に沿って大きくなる方向に偏らせるかを表す値であり、
前記第1の軸に沿った前記複数の座標値が時間的に小さくなる方向に変化しているとき、前記タッチされた位置の前記第1の軸に沿った座標値Xtouchを、次式(2)に基づいて算出し、
Xtouch=(Xmax1−Xmin1)/XgainM+Xmin1 ・・(2)
ここで、2<XgainM、XgainMは、前記タッチされた位置の前記第1の軸に沿った座標値Xtouchを、前記第1の軸に沿った前記複数の座標値の中央値からどれだけ前記第1の軸に沿って小さくなる方向に偏らせるかを表す値であり、
前記第2の軸に沿った前記複数の座標値が時間的に大きくなる方向に変化しているとき、前記タッチされた位置の前記第2の軸に沿った座標値Ytouchを、次式(3)に基づいて算出し、
Ytouch=(Ymax1−Ymin1)/YgainP+Ymin1 ・・(3)
ここで、1≦YgainP<2、YgainPは、前記タッチされた位置の前記第2の軸に沿った座標値Ytouchを、前記第2の軸に沿った前記複数の座標値の中央値からどれだけ前記第2の軸に沿って大きくなる方向に偏らせるかを表す値であり、
前記第2の軸に沿った前記複数の座標値が時間的に小さくなる方向に変化しているとき、前記タッチされた位置の前記第2の軸に沿った座標値Ytouchを、次式(4)に基づいて算出し、
Ytouch=(Ymax1−Ymin1)/YgainM+Ymin1 ・・(4)
ここで、2<YgainM、YgainMは、前記タッチされた位置の前記第2の軸に沿った座標値Ytouchを、前記第2の軸に沿った前記複数の座標値の中央値からどれだけ前記第2の軸に沿って小さくなる方向に偏らせるかを表す値である、
ことを特徴とするタッチパネルの位置検出方法。
Detects the touch sensing side of the substrate when it is touched, based on the plurality of coordinate values related to the touch on the substrate of the detected the detected side, the position of the touch panel to identify the data pitch position In the detection method,
The maximum value along the first axis of the plurality of coordinate values is Xmax1, the minimum value along the first axis is Xmin1, and the maximum value along the second axis that intersects the first axis is Ymax1. If the minimum value along the second axis is Ymin1,
When the plurality of coordinate values along the first axis change in a direction that increases in time, a coordinate value Xtouch along the first axis at the touched position is expressed by the following equation (1). ) Based on
Xtouch = (Xmax1-Xmin1) / XgainP + Xmin1 (1)
Here, 1 ≦ XgainP <2, XgainP indicates that the coordinate value Xtouch along the first axis at the touched position is from the median value of the plurality of coordinate values along the first axis. A value representing whether to be biased in the direction of increasing along the first axis,
When the plurality of coordinate values along the first axis change in a direction that decreases in time, a coordinate value Xtouch along the first axis at the touched position is expressed by the following equation (2). ) Based on
Xtouch = (Xmax1-Xmin1) / XgainM + Xmin1 (2)
Here, 2 <XgainM and XgainM indicate how much the coordinate value Xtouch along the first axis of the touched position from the median value of the plurality of coordinate values along the first axis. It is a value that represents whether to deviate along the axis of 1 in the direction of decreasing,
When the plurality of coordinate values along the second axis change in a direction that increases in time, a coordinate value Ytouch along the second axis at the touched position is expressed by the following equation (3). ) Based on
Ytouch = (Ymax1-Ymin1) / YgainP + Ymin1 (3)
Here, 1 ≦ YgainP <2, YgainP indicates how much the coordinate value Ytouch along the second axis of the touched position is from the median value of the plurality of coordinate values along the second axis. A value representing whether to be biased in the direction of increasing along the second axis,
When the plurality of coordinate values along the second axis change in a direction that decreases in time, a coordinate value Ytouch along the second axis at the touched position is expressed by the following equation (4). ) Based on
Ytouch = (Ymax1-Ymin1) / YgainM + Ymin1 (4)
Here, 2 <YgainM and YgainM indicate how much the coordinate value Ytouch along the second axis of the touched position from the median value of the plurality of coordinate values along the second axis. It is a value that represents whether to bias in a direction that decreases along the axis of 2.
A touch panel position detection method.
JP2010288849A 2010-12-24 2010-12-24 Touch panel, liquid crystal display element having the same, and touch panel position detection method Expired - Fee Related JP5691501B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010288849A JP5691501B2 (en) 2010-12-24 2010-12-24 Touch panel, liquid crystal display element having the same, and touch panel position detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010288849A JP5691501B2 (en) 2010-12-24 2010-12-24 Touch panel, liquid crystal display element having the same, and touch panel position detection method

Publications (2)

Publication Number Publication Date
JP2012137889A JP2012137889A (en) 2012-07-19
JP5691501B2 true JP5691501B2 (en) 2015-04-01

Family

ID=46675260

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010288849A Expired - Fee Related JP5691501B2 (en) 2010-12-24 2010-12-24 Touch panel, liquid crystal display element having the same, and touch panel position detection method

Country Status (1)

Country Link
JP (1) JP5691501B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9310925B2 (en) 2013-08-16 2016-04-12 Sony Corporation Apparatus and method for controlling an interface based on bending
KR102856926B1 (en) * 2019-10-30 2025-09-08 삼성디스플레이 주식회사 Flexible display device having digitiger and touch position detecting method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3268905B2 (en) * 1993-07-28 2002-03-25 ブラザー工業株式会社 Cursor movement command input device
KR101226440B1 (en) * 2005-09-26 2013-01-28 삼성디스플레이 주식회사 Display panel and display device having the same and method of detecting touch position of the display device
JP2008192012A (en) * 2007-02-06 2008-08-21 Sharp Corp Coordinate input device, coordinate input method, control program, and computer-readable recording medium

Also Published As

Publication number Publication date
JP2012137889A (en) 2012-07-19

Similar Documents

Publication Publication Date Title
KR101799029B1 (en) Liquid Crystal Display integrated Touch Screen Panel
CN101271211B (en) Liquid crystal device, electronic apparatus and position detecting method
US9678589B2 (en) Touch panel and apparatus for driving thereof
CN102650752B (en) Touch integrated display unit
US9348460B2 (en) Touch sensor integrated type display device
US9342178B2 (en) Touch sensor integrated type display device
US9619066B2 (en) Touch sensor integrated type display device
TWI512365B (en) Display device with integrated touch screen
JP5067763B2 (en) Contact detection device, display device, and contact detection method
KR102571357B1 (en) Touch sensor integrated type display device
US20170269739A1 (en) Touch Sensor Integrated Type Display Device
KR101710407B1 (en) Liquid crystal display device with a built in touch screen and driving mehtod thereof
US10261625B2 (en) Touch sensor integrated display device
US9645639B2 (en) Apparatus and method for driving touch sensor
US20140168539A1 (en) Touch sensor integrated type display device
US10296156B2 (en) Touch detection device, display device with touch detecting function, and electronic apparatus
JP2013025626A (en) Touch panel and display device including the same
WO2017000432A1 (en) Embedded touch control display screen and drive method therefor, and display device
JP5691501B2 (en) Touch panel, liquid crystal display element having the same, and touch panel position detection method
JP5499940B2 (en) Touch panel and liquid crystal display device having the same
CN103869525B (en) Touch sensor integrated type display device
KR100987851B1 (en) Touch screen LCD and its driving method
JP2012003085A (en) Liquid crystal display device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20131003

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140522

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140617

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140808

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150119

R150 Certificate of patent or registration of utility model

Ref document number: 5691501

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees