CN103902127B - The localization method and capacitive touch screen of touch location on a kind of capacitive touch screen - Google Patents
The localization method and capacitive touch screen of touch location on a kind of capacitive touch screen Download PDFInfo
- Publication number
- CN103902127B CN103902127B CN201410141069.6A CN201410141069A CN103902127B CN 103902127 B CN103902127 B CN 103902127B CN 201410141069 A CN201410141069 A CN 201410141069A CN 103902127 B CN103902127 B CN 103902127B
- Authority
- CN
- China
- Prior art keywords
- touch
- sensing sensor
- capacitance change
- control sensing
- touch point
- 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.)
- Active
Links
Landscapes
- Position Input By Displaying (AREA)
Abstract
本发明涉及电容触控领域,公开了一种电容触控屏上触摸位置的定位方法及电容触控屏。本发明中,检测电容触控屏的所有触控感应Sensor的电容变化量;电容触控屏包含N个第一触控感应Sensor和N个第二触控感应Sensor,N为自然数,一个第一触控感应Sensor与一个第二触控感应Sensor对称地构成一个矩形感应单元;根据第一触控感应Sensor与第二触控感应Sensor的电容的相对变化定位触摸点在X轴方向上的位置,并根据多个感应单元的电容变化量定位触摸点在Y轴方向上的位置;X轴方向为电容触控屏的宽边方向,Y轴方向为电容触控屏的长边方向。由于感应单元为矩形,且第一触控感应Sensor与第二触控感应Sensor的电容相对变化趋势是对称的,这样计算更精确,使得电容触控屏对触摸点定位更精确。
The invention relates to the field of capacitive touch, and discloses a method for locating a touch position on a capacitive touch screen and the capacitive touch screen. In the present invention, the capacitance variation of all touch sensing Sensors of the capacitive touch screen is detected; the capacitive touch screen includes N first touch sensing Sensors and N second touch sensing Sensors, N is a natural number, and one first The touch sensing Sensor and a second touch sensing Sensor symmetrically form a rectangular sensing unit; according to the relative change in the capacitance of the first touch sensing Sensor and the second touch sensing Sensor, the position of the touch point in the X-axis direction is positioned, And locate the position of the touch point in the Y-axis direction according to the capacitance variation of the plurality of sensing units; the X-axis direction is the broad side direction of the capacitive touch screen, and the Y-axis direction is the long side direction of the capacitive touch screen. Since the sensing unit is a rectangle, and the relative change trend of the capacitance of the first touch sensing Sensor and the second touch sensing Sensor is symmetrical, the calculation is more accurate, and the touch point positioning of the capacitive touch screen is more accurate.
Description
技术领域technical field
本发明涉及电容触控领域,特别涉及电容触控屏上触摸位置的定位方法及电容触控屏。The invention relates to the field of capacitive touch, in particular to a method for locating a touch position on a capacitive touch screen and the capacitive touch screen.
背景技术Background technique
目前,电容式触摸屏应广泛应用于彩色和黑白TFT(Thin Film Transistor薄膜场效应晶体管)显示屏,具有可靠性高、耐用的特点,非常适合用于通讯、消费类电子(如手机、PAD(平板电脑)等)和工业产品。At present, capacitive touch screens should be widely used in color and black and white TFT (Thin Film Transistor Thin Film Field Effect Transistor) displays. computers), etc.) and industrial products.
电容式触控屏大多使用多层ITO(Indium-Tin Oxide,氧化铟锡)膜。目前,电容式触控屏的主流设计方案为条状图案和网状图案等。条状图案和网状图案必须采用双层ITO膜。Most capacitive touch screens use multilayer ITO (Indium-Tin Oxide, indium tin oxide) films. At present, the mainstream design schemes of capacitive touch screens are strip pattern and mesh pattern. Strip pattern and mesh pattern must use double-layer ITO film.
例如,电容式触控屏采用的条状图案如图1所示。在图1中,横向的触控感应传感器(Sensor)为感应X轴方向坐标的Sensor,纵向的Sensor为感应Y轴方向坐标的Sensor。这些Sensor与地构成电容,这个电容就是通常所说的自电容,也就是对地电容。当手指触摸到电容式触控屏时,手指的电容会叠加到屏体的电容上,使屏体的电容发生改变。在触摸检测时,电容屏依次分别检测横向、纵向Sensor阵列,根据触摸前后电容的变化,分别确定触摸位置的横坐标与纵坐标,即触摸位置的坐标,从而定位触摸的位置。For example, a bar pattern used in a capacitive touch screen is shown in FIG. 1 . In FIG. 1 , the horizontal touch sensor (Sensor) is a sensor that senses coordinates in the X-axis direction, and the vertical Sensor is a Sensor that senses coordinates in the Y-axis direction. These Sensors form capacitance with the ground, and this capacitance is commonly referred to as self-capacitance, that is, capacitance to ground. When a finger touches the capacitive touch screen, the capacitance of the finger will be superimposed on the capacitance of the screen body, causing the capacitance of the screen body to change. During touch detection, the capacitive screen detects the horizontal and vertical Sensor arrays in turn, and determines the abscissa and ordinate of the touch position, that is, the coordinates of the touch position, according to the change in capacitance before and after the touch, so as to locate the touch position.
虽然采用条状图案的电容式触控屏对触摸位置的定位精度高,但在制作电容式触控屏中的Sensor时,双层ITO膜通常采用的贴合工艺很复杂。Although the capacitive touch screen with a strip pattern has high positioning accuracy for the touch position, when making the Sensor in the capacitive touch screen, the lamination process usually used for the double-layer ITO film is very complicated.
采用单层ITO膜的电容式触控屏应运而生,如图2所示。该种电容式触控屏包含两组三角形(或者近似三角形)的Sensor,其中,一组Sensor的宽度沿电容式触控屏的宽度方向(比如X轴正方向)递减,另一组Sensor的宽度沿X轴正方向递增。A capacitive touch screen using a single-layer ITO film emerged as the times require, as shown in Figure 2. This capacitive touch screen includes two sets of triangular (or approximately triangular) Sensors, wherein the width of one set of Sensors decreases along the width direction of the capacitive touch screen (such as the positive direction of the X axis), and the width of the other set of Sensors decreases. Increments along the positive direction of the X axis.
虽然其工艺简单,但对触摸点定位的精度却有待进一步提高。Although the process is simple, the accuracy of touch point positioning needs to be further improved.
发明内容Contents of the invention
本发明的目的在于提供一种电容触控屏上触摸位置的定位方法及电容触控屏,使得电容触控屏对触摸点定位更精确。The object of the present invention is to provide a method for locating a touch position on a capacitive touch screen and the capacitive touch screen, so that the capacitive touch screen can locate a touch point more accurately.
为解决上述技术问题,本发明提供了一种电容触控屏上触摸位置的定位方法,所述电容触控屏包含N个第一触控感应Sensor和N个第二触控感应Sensor,一个所述第一触控感应Sensor与一个所述第二触控感应Sensor构成一个矩形的感应单元;所述第一触控感应Sensor的宽度沿X轴的正方向递减,所述第二触控感应Sensor的宽度沿所述X轴的正方向递增;所述X轴的正方向为所述电容触控屏的宽边方向,且由左指向右,所述Y轴方向为所述电容触控屏的长边方向,且垂直于所述X轴;其中,N为大于或者等于1的自然数;In order to solve the above technical problems, the present invention provides a method for locating a touch position on a capacitive touch screen, wherein the capacitive touch screen includes N first touch sensing Sensors and N second touch sensing Sensors, one of which The first touch-sensing Sensor and the second touch-sensing Sensor form a rectangular sensing unit; the width of the first touch-sensing Sensor decreases along the positive direction of the X-axis, and the second touch-sensing Sensor The width increases along the positive direction of the X-axis; the positive direction of the X-axis is the broadside direction of the capacitive touch screen, and from left to right, and the Y-axis direction is the direction of the capacitive touch screen Long side direction, and perpendicular to the X-axis; wherein, N is a natural number greater than or equal to 1;
所述电容触控屏上触摸位置的定位方法包含以下步骤:The positioning method of the touch position on the capacitive touch screen comprises the following steps:
检测所述电容触控屏的所有触控感应Sensor的电容变化量;Detecting capacitance variations of all touch sensing Sensors of the capacitive touch screen;
根据第一触控感应Sensor的电容变化量与第二触控感应Sensor的电容变化量的相对变化定位所述触摸点在所述X轴方向上的位置;Locating the position of the touch point in the X-axis direction according to the relative change of the capacitance variation of the first touch sensing Sensor and the capacitance variation of the second touch sensing Sensor;
根据多个感应单元的电容变化量定位所述触摸点在所述Y轴方向上的位置。The position of the touch point in the Y-axis direction is located according to the capacitance variation of the plurality of sensing units.
本发明还提供了一种电容触控屏,包含:若干个触控感应传感器Sensor;The present invention also provides a capacitive touch screen, comprising: several touch sensing sensors Sensors;
其中,所述触控感应Sensor分为若干组,每一组为一个感应单元,且所述感应单元为矩形;其中,每一个所述感应单元均包含一个第一触控感应Sensor与一个第二触控感应Sensor,所述第一触控感应Sensor的宽度沿X轴的正方向递减,所述第二触控感应Sensor的宽度沿所述X轴的正方向递增;Wherein, the touch sensing Sensor is divided into several groups, each group is a sensing unit, and the sensing unit is rectangular; wherein, each of the sensing units includes a first touch sensing Sensor and a second sensing unit. A touch-sensing Sensor, the width of the first touch-sensing Sensor decreases along the positive direction of the X-axis, and the width of the second touch-sensing Sensor increases along the positive direction of the X-axis;
所述X轴的正方向为所述电容触控屏的宽边方向,且由左指向右,所述Y轴方向为所述电容触控屏的长边方向,且垂直于所述X轴。The positive direction of the X-axis is the width direction of the capacitive touch screen, and is from left to right, and the Y-axis direction is the long side direction of the capacitive touch screen, and is perpendicular to the X-axis.
本发明实施方式相对于现有技术而言,是先检测电容触控屏的所有触控感应Sensor的电容变化量;其中,电容触控屏包含N个第一触控感应Sensor和N个第二触控感应Sensor,N为大于或者等于1的自然数,一个第一触控感应Sensor与一个第二触控感应Sensor对称地构成一个矩形的感应单元,第一触控感应Sensor的宽度沿X轴的正方向递减,第二触控感应Sensor的宽度沿X轴的正方向递增;再根据第一触控感应Sensor的电容变化量与第二触控感应Sensor的电容变化量的相对变化定位触摸点在X轴方向上的位置,并根据多个感应单元的电容变化量定位触摸点在Y轴方向上的位置。由于对所有触控感应Sensor进行了分组,每一组触控感应Sensor为一个矩形的感应单元,感应单元形状规则对称,基于感应单元的计算更精确,所以根据多个感应单元的电容变化量定位触摸点在Y轴方向上的位置,使得电容触控屏对触摸点在Y轴方向上的定位更精确;而且,由于在被触摸的每一组感应单元中,第一触控感应Sensor的电容变化量随触摸点的运动轨迹的变化曲线与第二触控感应Sensor的电容变化量随触摸点的运动轨迹的变化曲线近似是轴对称的,也就是说,二者的变化趋势是相反的,这种对称性是由触控感应Sensor的对称结构所决定的,手指和两个触控感应Sensor的重合位置随着在X轴上的移动而变化,一个触控感应Sensor的重合部分增加,相应的感应电容变化量也增加,而另一个触控感应Sensor与手指的重合部分会相应减小,对应的感应电容变化量也减小。利用这样的一对或多对触控感应Sensor的电容变化值就可以精确的定位手指在X方向的位置。综上所述,本发明中的电容触控屏上触摸位置的定位方法使得电容触控屏对触摸点定位更精确。Compared with the prior art, the embodiment of the present invention firstly detects the capacitance variation of all touch sensing Sensors of the capacitive touch screen; wherein, the capacitive touch screen includes N first touch sensing Sensors and N second Touch sensor, N is a natural number greater than or equal to 1, a first touch sensor and a second touch sensor symmetrically form a rectangular sensing unit, the width of the first touch sensor is along the X-axis The positive direction decreases, and the width of the second touch sensing Sensor increases along the positive direction of the X axis; and then the touch point is located according to the relative change of the capacitance change of the first touch sensing Sensor and the capacitance change of the second touch sensing Sensor. position in the X-axis direction, and locate the position of the touch point in the Y-axis direction according to the capacitance variation of multiple sensing units. Since all touch sensing sensors are grouped, each group of touch sensing sensors is a rectangular sensing unit, the shape of the sensing unit is regular and symmetrical, and the calculation based on the sensing unit is more accurate, so the positioning is based on the capacitance change of multiple sensing units The position of the touch point in the Y-axis direction makes the capacitive touch screen locate the touch point in the Y-axis direction more precisely; moreover, because in each group of sensing units that are touched, the capacitance of the first touch sensing Sensor The variation curve of the variation with the movement trajectory of the touch point and the variation curve of the capacitance variation of the second touch sensing Sensor with the movement trajectory of the touch point are approximately axisymmetric, that is to say, the variation trends of the two are opposite. This symmetry is determined by the symmetrical structure of the touch-sensing Sensor. The coincidence position of the finger and the two touch-sensing Sensors changes with the movement on the X-axis, and the overlapping part of a touch-sensing Sensor increases, correspondingly The amount of change in the sensing capacitance of the touch sensor also increases, and the overlapping part of the other touch sensor Sensor and the finger will decrease accordingly, and the corresponding amount of change in the sensing capacitance will also decrease. The position of the finger in the X direction can be accurately positioned by utilizing the capacitance change values of one or more pairs of touch sensing Sensors. To sum up, the method for locating the touch position on the capacitive touch screen of the present invention enables the capacitive touch screen to locate the touch point more accurately.
另外,在所述根据多个感应单元的电容变化量定位所述触摸点在所述Y轴方向上的位置的步骤中,包含以下子步骤:In addition, in the step of locating the position of the touch point in the Y-axis direction according to the capacitance variation of the plurality of sensing units, the following sub-steps are included:
对多个所述感应单元的电容变化量进行差值运算后定位所述触摸点在所述Y轴方向上的位置。The position of the touch point in the direction of the Y-axis is positioned after a differential operation is performed on capacitance variations of the plurality of sensing units.
在触摸时,在Y轴方向上根据多个感应单元的电容变化量做一个线性方程进行差值运算,来对触摸点进行定位。电容屏被分为成对的矩形或近似矩形单元划分为等距离的区域,使得可以据此对感应单元的电容变化量进行线性的差值运算,就可以对触摸点在Y轴方向上的定位更精确。When touching, a linear equation is made in the Y-axis direction according to the capacitance variation of multiple sensing units to perform difference calculation to locate the touch point. The capacitive screen is divided into pairs of rectangular or approximately rectangular units into equidistant areas, so that a linear difference operation can be performed on the capacitance change of the sensing unit, and the positioning of the touch point in the Y-axis direction can be performed. more accurate.
另外,在所述采用线性插值法定位所述触摸点在所述X轴方向上的位置的步骤中,还包含以下子步骤:In addition, in the step of locating the position of the touch point in the X-axis direction using a linear interpolation method, the following sub-steps are also included:
分别选取电容变化量最大的第一触控感应Sensor的电容变化量ΔC1与与之相对的两组触控感应Sensor中电容变化量最大的第二触控感应Sensor的电容变化量ΔC2;Select the capacitance variation ΔC1 of the first touch sensing Sensor with the largest capacitance variation and the capacitance variation ΔC2 of the second touch sensing Sensor with the largest capacitance variation among the two sets of touch sensing Sensors opposite to it;
根据所述ΔC1与所述ΔC2的值定位所述触摸点在所述X轴方向上的位置。The position of the touch point in the X-axis direction is located according to the values of the ΔC1 and the ΔC2.
通过选取电容变化量最大的第一触控感应Sensor的电容变化量ΔC1与与之相对称且相邻的两个触控感应Sensor中电容变化量最大的第二触控感应Sensor的电容变化量ΔC2对触摸点在X轴方向上的位置进行定位,由于选取了电容变化量最大的触控感应Sensor的电容变化量进行计算(因为距触摸点最近的触控感应Sensor的电容变化量最大),计算量小,所以使得电容触控屏的能耗低,且对触摸点的定位迅速,效率高。By selecting the capacitance variation ΔC1 of the first touch sensing Sensor with the largest capacitance variation and the capacitance variation ΔC2 of the second touch sensing Sensor with the largest capacitance variation among the two symmetrical and adjacent touch sensing Sensors To locate the position of the touch point in the X-axis direction, since the capacitance change of the touch sensor Sensor with the largest capacitance change is selected for calculation (because the touch sensor closest to the touch point has the largest capacitance change), the calculation The amount is small, so the energy consumption of the capacitive touch screen is low, and the positioning of the touch point is fast and efficient.
另外,在所述采用线性插值法定位所述触摸点在所述X轴方向上的位置的步骤中,还包含以下子步骤:In addition, in the step of locating the position of the touch point in the X-axis direction using a linear interpolation method, the following sub-steps are also included:
分别选取电容变化量最大的、次大的第一触控感应Sensor的电容变化量ΔC1、ΔC3与同这两个触控感应Sensor相对应位置的电容变化量最大的、次大的第二触控感应Sensor的电容变化量ΔC2、ΔC4;Select respectively the capacitance changes ΔC1 and ΔC3 of the first touch sensing Sensor with the largest capacitance change and the second largest capacitance change, and the second touch with the largest and second largest capacitance change at the corresponding positions of the two touch sensing Sensors. Sensing the capacitance change of the Sensor ΔC2, ΔC4;
根据所述ΔC1、所述ΔC2、所述ΔC3与所述ΔC4的值定位所述触摸点在所述X轴方向上的位置。The position of the touch point in the X-axis direction is located according to the values of the ΔC1, the ΔC2, the ΔC3 and the ΔC4.
通过选取电容变化量最大的、次大的第一触控感应Sensor的电容变化量ΔC1、ΔC3与与它们相对称且相邻的触控感应Sensor中电容变化量最大的、次大的第二触控感应Sensor的电容变化量ΔC2、ΔC4对触摸点在X轴方向上的位置进行定位,由于虽然距触摸点最近的触控感应Sensor的电容变化量最大,但是,一个触摸动作可能跨越不止两个触控感应Sensor,所以同时选取电容变化量最大的、次大的电容变化量的触控感应Sensor的电容变化量进行计算,定位更精确、可靠,同时,计算量相对较小,能耗较低。By selecting the capacitance variation ΔC1 and ΔC3 of the first touch sensing Sensor with the largest capacitance variation and the second largest capacitance variation and the second touch sensor with the largest capacitance variation and the second largest capacitance variation among the adjacent touch sensing Sensors that are symmetrical to them, The capacitance changes ΔC2 and ΔC4 of the touch sensor can locate the position of the touch point in the X-axis direction. Although the capacitance change of the touch sensor closest to the touch point is the largest, a touch action may span more than two Touch sensing Sensor, so the capacitance change of the touch sensing Sensor with the largest capacitance change and the second largest capacitance change is selected at the same time for calculation. The positioning is more accurate and reliable. At the same time, the calculation amount is relatively small and the energy consumption is low. .
另外,在所述根据第一触控感应Sensor的电容变化量与第二触控感应Sensor的电容变化量的相对变化定位所述触摸点在所述X轴方向上的位置的步骤中,还包含以下子步骤:In addition, in the step of locating the position of the touch point in the X-axis direction according to the relative change of the capacitance variation of the first touch sensing Sensor and the capacitance variation of the second touch sensing Sensor, further comprising The following substeps:
对所有所述第一触控感应Sensor的电容变化量与所述第二触控感应Sensor的电容变化量分别求和,获取所有所述第一触控感应Sensor的电容变化量的和ΔS1与所有所述第二触控感应Sensor的电容变化量的和ΔS2;Sum the capacitance changes of all the first touch sensing Sensors and the capacitance changes of the second touch sensing Sensor respectively, and obtain the sum ΔS1 of the capacitance changes of all the first touch sensing Sensors and all The sum ΔS2 of capacitance changes of the second touch sensing Sensor;
根据所述ΔS1与所述ΔS2的值定位所述触摸点在所述X轴方向上的位置。The position of the touch point in the X-axis direction is located according to the values of the ΔS1 and the ΔS2.
对所有第一触控感应Sensor的电容变化量与第二触控感应Sensor的电容变化量分别求和,获取所有第一触控感应Sensor的电容变化量的和ΔS1与所有第二触控感应Sensor的电容变化量的和ΔS2,再根据ΔS1与ΔS2对触摸点在X轴方向上的位置进行定位,由于综合考虑了全部被触摸的触控感应Sensor引起的电容变化量(因为一个触摸动作可能跨越多个触控感应Sensor),并根据第一触控感应Sensor与将第二触控感应Sensor的对称性对触摸点进行定位,使得对触摸点的定位更可靠。Sum the capacitance changes of all the first touch sensors and the capacitance changes of the second touch sensors respectively, and obtain the sum ΔS1 of the capacitance changes of all the first touch sensors and all the second touch sensors and ΔS2 of the capacitance change, and then locate the position of the touch point in the X-axis direction according to ΔS1 and ΔS2, since the capacitance change caused by all touched touch sensors is considered comprehensively (because a touch action may span multiple touch sensing sensors), and locate the touch point according to the symmetry between the first touch sensing sensor and the second touch sensing sensor, so that the positioning of the touch point is more reliable.
另外,在所述根据第一触控感应Sensor的电容变化量与第二触控感应Sensor的电容变化量的相对变化定位所述触摸点在所述X轴方向上的位置的步骤中,还包含以下子步骤:In addition, in the step of locating the position of the touch point in the X-axis direction according to the relative change of the capacitance variation of the first touch sensing Sensor and the capacitance variation of the second touch sensing Sensor, further comprising The following substeps:
消除所述X轴方向上的系统误差后定位所述触摸点在所述X轴方向上的位置。Positioning the touch point in the X-axis direction after eliminating the systematic error in the X-axis direction.
在触摸时,电容触控屏不可避免地会引入系统误差,造成对X轴方向上的触摸点定位失准,其中,该系统误差是由固定偏置产生的,所以,在定位触摸点在X轴方向上的位置时消除X轴方向上的系统误差,使得对X轴方向上的触摸位置定位更准确。When touching, the capacitive touch screen will inevitably introduce systematic errors, resulting in inaccurate positioning of the touch point in the X-axis direction. The system error is generated by a fixed bias. Therefore, when positioning the touch point in X The system error in the X-axis direction is eliminated when the position in the X-axis direction is determined, so that the positioning of the touch position in the X-axis direction is more accurate.
附图说明Description of drawings
图1是根据现有技术中的双层ITO膜电容触控屏的触控感应Sensor采用的条状图案示意图;Fig. 1 is a schematic diagram of a strip pattern adopted by a touch sensing Sensor of a double-layer ITO film capacitive touch screen according to the prior art;
图2是根据现有技术中的单层ITO膜电容触控屏的触控感应Sensor采用的图案示意图;Fig. 2 is a schematic diagram of a pattern adopted by a touch sensing Sensor of a single-layer ITO film capacitive touch screen according to the prior art;
图3是根据本发明第一实施方式的电容触控屏上触摸位置的定位方法中对应的单层ITO膜电容触控屏的触控感应Sensor采用的图案示意图;3 is a schematic diagram of a pattern adopted by a touch sensing Sensor of a corresponding single-layer ITO film capacitive touch screen in a method for locating a touch position on a capacitive touch screen according to a first embodiment of the present invention;
图4是根据本发明第四实施方式中的所有触控感应Sensor的电容变化量示意图。FIG. 4 is a schematic diagram of capacitance variations of all touch sensing Sensors according to a fourth embodiment of the present invention.
具体实施方式detailed description
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明的各实施方式进行详细的阐述。然而,本领域的普通技术人员可以理解,在本发明各实施方式中,为了使读者更好地理解本申请而提出了许多技术细节。但是,即使没有这些技术细节和基于以下各实施方式的种种变化和修改,也可以实现本申请各权利要求所要求保护的技术方案。In order to make the object, technical solution and advantages of the present invention clearer, various embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. However, those of ordinary skill in the art can understand that, in each implementation manner of the present invention, many technical details are provided for readers to better understand the present application. However, even without these technical details and various changes and modifications based on the following implementation modes, the technical solution claimed in each claim of the present application can be realized.
本发明的第一实施方式涉及一种电容触控屏上触摸位置的定位方法,具体步骤如下:The first embodiment of the present invention relates to a method for locating a touch position on a capacitive touch screen, and the specific steps are as follows:
首先,检测电容触控屏的所有触控感应Sensor的电容变化量。其中,电容触控屏包含N个第一触控感应Sensor和N个第二触控感应Sensor,N为大于或者等于1的自然数;一个第一触控感应Sensor与一个第二触控感应Sensor对称地构成一个矩形或近似矩形的感应单元;第一触控感应Sensor的宽度沿X轴的正方向递减,第二触控感应Sensor的宽度沿所述X轴的正方向递增;X轴的正方向为电容触控屏的宽边方向,且由左指向右,Y轴方向为电容触控屏的长边方向,且垂直于X轴。First, detect the capacitance variation of all touch sensing Sensors of the capacitive touch screen. Wherein, the capacitive touch screen includes N first touch sensing Sensors and N second touch sensing Sensors, where N is a natural number greater than or equal to 1; a first touch sensing Sensor is symmetrical to a second touch sensing Sensor form a rectangular or approximately rectangular sensing unit; the width of the first touch sensing Sensor decreases along the positive direction of the X axis, and the width of the second touch sensing Sensor increases along the positive direction of the X axis; the positive direction of the X axis is the direction of the wide side of the capacitive touch screen, and is from left to right, and the direction of the Y axis is the direction of the long side of the capacitive touch screen, and is perpendicular to the X axis.
具体地说,在手指触摸到电容触控屏时,由于手指上携带有生物电,会引起电容触控屏上的触控感应Sensor的电容发生改变,根据被触摸的触控感应Sensor引起的电容变化量可以定位触摸点的位置。Specifically, when a finger touches the capacitive touch screen, the capacitance of the touch sensor on the capacitive touch screen will change due to the bioelectricity carried on the finger. According to the capacitance caused by the touched touch sensor The delta can locate the position of the touch point.
在本实施方式中,先将电容触控屏包含的所有触控感应Sensor分为若干组,每一组为一个感应单元,且感应单元为矩形,具体如图3所示。每一个感应单元均包含一个宽度沿X轴正方向逐渐变小的第一触控感应Sensor与一个宽度沿X轴正方向逐渐变大的第二触控感应Sensor。其中,第一触控感应Sensor与第二触控感应Sensor的形状可以为三角形,也可以为梯形,或者近似于三角形或者梯形,具体可视加工工艺而定。In this embodiment, firstly, all the touch sensing sensors included in the capacitive touch screen are divided into several groups, each group is a sensing unit, and the sensing unit is rectangular, as shown in FIG. 3 . Each sensing unit includes a first touch-sensing Sensor whose width gradually decreases along the positive direction of the X-axis and a second touch-sensing Sensor whose width gradually increases along the positive direction of the X-axis. Wherein, the shapes of the first touch sensing Sensor and the second touch sensing Sensor can be triangular, trapezoidal, or similar to triangular or trapezoidal, depending on the processing technology.
由于对电容触控屏的触控感应Sensor进行了分组,每一组触控感应Sensor为一个矩形或近似矩形的感应单元,感应单元形状规则对称,基于感应单元的计算更精确。Since the touch sensing sensors of the capacitive touch screen are grouped, each group of touch sensing sensors is a rectangular or approximately rectangular sensing unit. The shape of the sensing unit is regular and symmetrical, and the calculation based on the sensing unit is more accurate.
接着,根据第一触控感应Sensor的电容变化量与第二触控感应Sensor的电容变化量的相对变化以及第一触控感应Sensor与第二触控感应Sensor附件的触控感应Sensor电容变化量定位触摸点在X轴方向上的位置,并根据多个感应单元的电容变化量定位触摸点在Y轴方向上的位置。在本实施方式中,把触摸点在X轴方向上的位置记为X0;触摸点在Y轴方向上的位置记为Y0。Then, according to the relative change of the capacitance variation of the first touch sensing Sensor and the capacitance variation of the second touch sensing Sensor and the capacitance variation of the touch sensing Sensor attached to the first touch sensing Sensor and the second touch sensing Sensor Locating the position of the touch point in the X-axis direction, and locating the position of the touch point in the Y-axis direction according to the capacitance variation of the plurality of sensing units. In this embodiment, the position of the touch point in the X-axis direction is marked as X 0 ; the position of the touch point in the Y-axis direction is marked as Y 0 .
由于在被触摸的每一组感应单元中,第一触控感应Sensor的电容变化量随触摸点的运动轨迹的变化曲线与第二触控感应Sensor的电容变化量随触摸点的运动轨迹的变化曲线近似是轴对称的,也就是说,二者的变化趋势是相反的,根据该具有对称性的相对变化,这种对称性是由触控感应Sensor的对称结构所决定的,手指和两个触控感应Sensor的重合位置随着在X轴上的移动而变化,一个触控感应Sensor的重合部分增加,相应的感应电容变化量也增加,而另一个触控感应Sensor与手指的重合部分会相应减小,对应的感应电容变化量也减小。利用这样的一对或多对触控感应Sensor的电容变化值就可以精确的定位手指在X方向的位置,即使得对触摸点在X轴方向上的位置X0定位更精确。而且,由于对所有触控感应Sensor进行了分组,每一组触控感应Sensor为一个矩形或近似矩形的感应单元,感应单元形状规则对称,基于感应单元的计算更精确,所以根据所有感应单元的电容变化量定位触摸点在Y轴方向上的位置Y0,使得电容触控屏对触摸点在Y轴方向上的定位更精确。Because in each group of sensing units that are touched, the change curve of the capacitance variation of the first touch sensing Sensor with the trajectory of the touch point and the variation curve of the capacitance variation of the second touch sensing Sensor with the trajectory of the touch point The curve is approximately axisymmetric, that is to say, the change trend of the two is opposite. According to the relative change of the symmetry, this symmetry is determined by the symmetrical structure of the touch sensing Sensor. Fingers and two The overlapping position of the touch sensing Sensor changes with the movement on the X-axis. The overlapping part of one touch sensing Sensor increases, and the corresponding change in sensing capacitance also increases, while the overlapping part of the other touch sensing Sensor and the finger changes. Correspondingly, the variation of the corresponding inductive capacitance also decreases. The position of the finger in the X direction can be accurately positioned by using the capacitance change values of one or more pairs of touch sensing Sensors, that is, the position X 0 of the touch point in the X-axis direction can be positioned more precisely. Moreover, since all touch sensing sensors are grouped, each group of touch sensing sensors is a rectangular or approximately rectangular sensing unit, the shape of the sensing unit is regular and symmetrical, and the calculation based on the sensing unit is more accurate. The capacitance variation locates the position Y 0 of the touch point in the Y-axis direction, so that the capacitive touch screen can more accurately position the touch point in the Y-axis direction.
综上所述,本发明中的电容触控屏上触摸位置的定位方法使得电容触控屏对触摸点定位更精确。To sum up, the method for locating the touch position on the capacitive touch screen of the present invention enables the capacitive touch screen to locate the touch point more accurately.
与现有技术相比,是将电容触控屏的触控感应Sensor进行分组,每一组为一个感应单元,且感应单元为矩形或近似矩形,其中,每一个感应单元包含一个第一触控感应Sensor与一个第二触控感应Sensor,第一触控感应Sensor的宽度沿X轴的正方向递减,第二触控感应Sensor的宽度沿所述X轴的正方向递增。由于感应单元形状规则对称,基于感应单元的计算更精确,所以根据多个感应单元的电容变化量定位触摸点在Y轴方向上的位置,使得电容触控屏对触摸点在Y轴方向上的定位更精确,而且,在被触摸的每一组感应单元中,第一触控感应Sensor的电容变化量随触摸点的运动轨迹的变化曲线与第二触控感应Sensor的电容变化量随触摸点的运动轨迹的变化曲线近似是轴对称的,根据该具有对称性的相对变化,这种对称性是由触控感应Sensor的对称结构所决定的,手指和两个触控感应Sensor的重合位置随着在X轴上的移动而变化,一个触控感应Sensor的重合部分增加,相应的感应电容变化量也增加,而另一个触控感应Sensor与手指的重合部分会相应减小,对应的感应电容变化量也减小。利用这样的一对或多对触控感应Sensor的电容变化值就可以精确的定位手指在X方向的位置,即使得对触摸点在X轴方向上的位置定位更精确。Compared with the prior art, the touch sensing Sensors of the capacitive touch screen are grouped, each group is a sensing unit, and the sensing unit is rectangular or approximately rectangular, wherein each sensing unit contains a first touch sensor Sensing the Sensor and a second touch-sensing Sensor, the width of the first touch-sensing Sensor decreases along the positive direction of the X-axis, and the width of the second touch-sensing Sensor increases along the positive direction of the X-axis. Since the shape of the sensing unit is regular and symmetrical, the calculation based on the sensing unit is more accurate, so the position of the touch point in the Y-axis direction is located according to the capacitance variation of multiple sensing units, so that the capacitive touch screen can accurately control the position of the touch point in the Y-axis direction. The positioning is more accurate, and, in each group of sensing units that are touched, the change curve of the capacitance change of the first touch sensor Sensor with the movement track of the touch point is the same as the change curve of the capacitance change of the second touch sensor Sensor with the touch point The change curve of the motion track is approximately axisymmetric. According to the relative change with symmetry, this symmetry is determined by the symmetrical structure of the touch sensing Sensor. The overlapping position of the finger and the two touch sensing Sensors varies with the Changes with the movement on the X-axis, the overlapping part of one touch sensor sensor increases, and the corresponding change in sensing capacitance also increases, while the overlapping part of the other touch sensing Sensor and the finger will decrease accordingly, and the corresponding sensing capacitance The amount of variation is also reduced. The position of the finger in the X direction can be accurately positioned by using the capacitance change values of one or more pairs of touch sensing Sensors, that is, the position of the touch point in the X-axis direction can be positioned more accurately.
本发明的第二实施方式涉及一种电容触控屏上触摸位置的定位方法。第二实施方式为第一实施方式的进一步细化,给出了触摸位置在Y轴方向上的具体定位方法。在本发明第二实施方式中,对多个感应单元的电容变化量进行差值运算后定位触摸点在Y轴方向上的位置,由于对感应单元的电容变化量进行线性的差值运算,使得电容触控屏对触摸点在Y轴方向上的定位更精确。The second embodiment of the present invention relates to a method for locating a touch position on a capacitive touch screen. The second embodiment is a further refinement of the first embodiment, and provides a specific positioning method of the touch position in the Y-axis direction. In the second embodiment of the present invention, the position of the touch point in the Y-axis direction is positioned after performing difference calculations on the capacitance changes of multiple sensing units. Since the linear difference calculation is performed on the capacitance changes of the sensing units, the The capacitive touch screen is more accurate in the positioning of the touch point in the Y-axis direction.
具体地说,在根据多个感应单元的电容变化量定位触摸点在Y轴方向上的位置的步骤中,包含以下子步骤:对多个感应单元的电容变化量进行差值运算后定位触摸点在Y轴方向上的位置。在本实施方式中,触摸点在Y轴方向上的位置记为Y1。Specifically, in the step of locating the position of the touch point in the Y-axis direction according to the capacitance changes of the multiple sensing units, the following sub-steps are included: performing difference calculations on the capacitance changes of the multiple sensing units and then locating the touch point position in the Y-axis direction. In this embodiment, the position of the touch point in the Y-axis direction is denoted as Y 1 .
在触摸时,在Y轴方向上根据多个感应单元的电容变化量做一个线性方程进行差值运算,来对触摸点进行定位。其中,该线性方程为F(y)=ΔS1·y1+ΔS2·y2+ΔS3·y3+......ΔSN·yN,N为感应单元的个数,亦即触控感应Sensor的组数,F(y)为计算得出手指触控的Y轴坐标值,ΔS1、ΔS2、ΔS3、……、ΔSN为根据各感应单元的电容变化量得出的权重值,y1、y2、y3、……、yN分别为每个感应单元所对应的Y轴坐标值。根据上述线性方程,便可计算得出触摸点在在Y轴方向上的位置Y1。When touching, a linear equation is made in the Y-axis direction according to the capacitance variation of multiple sensing units to perform difference calculation to locate the touch point. Wherein, the linear equation is F(y)=ΔS 1 ·y 1 +ΔS 2 ·y 2 +ΔS 3 ·y 3 +...ΔS N ·y N , N is the number of induction units, also That is, the number of groups of touch sensing Sensors, F(y) is the calculated Y-axis coordinate value of the finger touch, ΔS 1 , ΔS 2 , ΔS 3 ,..., ΔS N are obtained according to the capacitance change of each sensing unit y 1 , y 2 , y 3 , . . . , y N are the Y-axis coordinate values corresponding to each sensing unit. According to the above linear equation, the position Y 1 of the touch point in the Y-axis direction can be calculated.
电容屏被分为成对的矩形或近似矩形单元划分为等距离的区域,使得可以据此对感应单元的电容变化量进行线性的差值运算,而不是直接利用各个宽度渐变的触控感应Sensor的电容变化量进行差值运算,且矩形的感应单元形状规则,所以使得电容触控屏对触摸点在Y轴方向上的定位更精确。The capacitive screen is divided into pairs of rectangular or approximately rectangular units into equidistant areas, so that a linear difference operation can be performed on the capacitance change of the sensing unit, instead of directly using the touch sensor with gradually changing width. The difference calculation is performed on the capacitance change amount, and the shape of the rectangular sensing unit is regular, so that the capacitive touch screen can locate the touch point in the Y-axis direction more accurately.
本发明第三实施方式涉及一种电容触控屏上触摸位置的定位方法。第三实施方式为第一实施方式的进一步细化,给出了触摸位置在X轴方向上的具体定位方法。在本发明第三实施方式中,采用线性插值法定位触摸点在X轴方向上的位置,具体而言,分别选取电容变化量最大的第一触控感应Sensor的电容变化量ΔC1与与之相对的两组触控感应Sensor中电容变化量最大的第二触控感应Sensor的电容变化量ΔC2,并根据ΔC1与ΔC2的值定位触摸点在X轴方向上的位置X1。由于选取了电容变化量最大的触控感应Sensor的电容变化量进行计算,计算量小,使得电容触控屏的能耗低,且对触摸点的定位迅速,效率高。The third embodiment of the present invention relates to a method for locating a touch position on a capacitive touch screen. The third embodiment is a further refinement of the first embodiment, and provides a specific positioning method of the touch position in the X-axis direction. In the third embodiment of the present invention, the linear interpolation method is used to locate the position of the touch point in the X-axis direction. Specifically, the capacitance change ΔC1 of the first touch sensing Sensor with the largest capacitance change is selected to correspond to it. The capacitance variation ΔC2 of the second touch sensing Sensor with the largest capacitance variation among the two groups of touch sensing Sensors is determined, and the position X 1 of the touch point in the X-axis direction is located according to the values of ΔC1 and ΔC2 . Since the capacitance change of the touch sensor with the largest capacitance change is selected for calculation, the amount of calculation is small, so that the energy consumption of the capacitive touch screen is low, and the positioning of the touch point is fast and efficient.
具体地说,在采用线性插值法定位触摸点在X轴方向上的位置的步骤中,还包含以下子步骤:Specifically, in the step of using the linear interpolation method to locate the position of the touch point in the X-axis direction, the following sub-steps are also included:
首先,分别选取电容变化量最大的第一触控感应Sensor的电容变化量ΔC1与与之相对称且相邻的两个触控感应Sensor中电容变化量最大的第二触控感应Sensor的电容变化量ΔC2。为方便描述,我们规定,按照自上而下的方向,将电容触控屏的第一触控感应Sensor的电容变化量记为Δc1、Δc3、Δc5、……、Δc(2N-1),电容触控屏的第二触控感应Sensor的电容变化量记为Δc2、Δc4、Δc6、……、Δc(2N)。比如,在某一时刻,电容触控屏的所有触控感应Sensor的电容变化量如图4所示。在图4中,横轴为触控感应Sensor的数目,用Num表示,纵轴为电容变化量。在图4中,第一触控感应Sensor的电容变化量Δc3的值最大,将其选为ΔC1;第二触控感应Sensor的电容变化量Δc4的值最大,将其选为ΔC2。Firstly, select the capacitance change ΔC1 of the first touch sensing Sensor with the largest capacitance change and the capacitance change of the second touch sensing Sensor with the largest capacitance change among the two adjacent touch sensing Sensors that are symmetrical to it. The amount ΔC2. For the convenience of description, we stipulate that according to the direction from top to bottom, the capacitance change of the first touch sensing Sensor of the capacitive touch screen is recorded as Δc1, Δc3, Δc5, ..., Δc(2N-1), and the capacitance The capacitance variation of the second touch sensor of the touch screen is denoted as Δc2, Δc4, Δc6, . . . , Δc(2N). For example, at a certain moment, the capacitance changes of all touch sensing Sensors of the capacitive touch screen are shown in FIG. 4 . In FIG. 4 , the horizontal axis is the number of touch sensing Sensors, represented by Num, and the vertical axis is the capacitance variation. In FIG. 4 , the capacitance variation Δc3 of the first touch sensing Sensor has the largest value, which is selected as ΔC1; the capacitance variation Δc4 of the second touch sensing Sensor has the largest value, and is selected as ΔC2.
接着,根据ΔC1与ΔC2的值定位触摸点在X轴方向上的位置X1。其中,计算X1的公式为:x1与x2为两个触控感应Sensor对应的X轴坐标值,或者是X轴坐标值的最大或最小值。Next, locate the position X 1 of the touch point in the X-axis direction according to the values of ΔC1 and ΔC2 . Among them, the formula for calculating X1 is : x 1 and x 2 are the X-axis coordinate values corresponding to the two touch sensing Sensors, or the maximum or minimum value of the X-axis coordinate values.
通过选取电容变化量最大的第一触控感应Sensor的电容变化量ΔC1与与之相对的两组触控感应Sensor中电容变化量最大的第二触控感应Sensor的电容变化量ΔC2对触摸点在X轴方向上的位置进行定位,由于选取了电容变化量最大的触控感应Sensor的电容变化量进行计算(因为距触摸点越近的触控感应Sensor的电容变化量越大,也就是说,电容变化量最大的触控感应Sensor距触摸点最近),计算量小,所以使得电容触控屏的能耗低,且对触摸点的定位迅速,效率高。By selecting the capacitance change ΔC1 of the first touch sensing Sensor with the largest capacitance change and the capacitance change ΔC2 of the second touch sensing Sensor with the largest capacitance change among the two sets of touch sensing Sensors opposite to it, the touch point is The position in the X-axis direction is positioned, since the capacitance change of the touch sensing Sensor with the largest capacitance change is selected for calculation (because the closer to the touch point, the capacitance change of the touch sensing Sensor is greater, that is, The touch sensor with the largest capacitance change is closest to the touch point), and the amount of calculation is small, so the energy consumption of the capacitive touch screen is low, and the positioning of the touch point is fast and efficient.
本发明第四实施方式涉及一种电容触控屏上触摸位置的定位方法。第四实施方式在第三实施方式的基础上作了进一步的改进,主要改进之处在于:在第四实施方式中,在定位触摸点在X轴方向上的位置时,不仅选取了电容变化值最大的触控感应Sensor,还选取了电容变化值次大的触控感应Sensor,提高了定位的精确性。The fourth embodiment of the present invention relates to a method for locating a touch position on a capacitive touch screen. The fourth embodiment is further improved on the basis of the third embodiment. The main improvement is that in the fourth embodiment, when locating the position of the touch point in the X-axis direction, not only the capacitance change value is selected The largest touch-sensing sensor also selects the touch-sensing sensor with the second largest capacitance change value, which improves the positioning accuracy.
具体地说,在采用线性插值法定位触摸点在X轴方向上的位置的步骤中,还包含以下子步骤:Specifically, in the step of using the linear interpolation method to locate the position of the touch point in the X-axis direction, the following sub-steps are also included:
首先,分别选取电容变化量最大的、次大的第一触控感应Sensor的电容变化量ΔC1、ΔC3与同这两个触控感应Sensor相对应位置电容变化量最大的、次大的第二触控感应Sensor的电容变化量ΔC2、ΔC4。如图4所示,第一触控感应Sensor的电容变化量Δc3的值最大,将其选为ΔC1,第二触控感应Sensor的电容变化量Δc4的值最大,将其选为ΔC2;第一触控感应Sensor的电容变化量Δc5的值次大,将其选为ΔC3,第二触控感应Sensor的电容变化量Δc6的值次大,将其选为ΔC4。First, respectively select the capacitance changes ΔC1 and ΔC3 of the first touch sensing Sensor with the largest capacitance change and the second largest capacitance change, and the second touch sensor with the largest and second largest capacitance change at the positions corresponding to the two touch sensing Sensors. Control and sense the capacitance changes of the Sensor ΔC2, ΔC4. As shown in Figure 4, the value of the capacitance change Δc3 of the first touch sensing Sensor is the largest, which is selected as ΔC1, and the value of the capacitance change Δc4 of the second touch sensing Sensor is the largest, which is selected as ΔC2; The capacitance variation Δc5 of the touch sensing Sensor is the second largest, which is selected as ΔC3, and the capacitance variation Δc6 of the second touch sensing Sensor is the second largest, and is selected as ΔC4.
接着,根据ΔC1、ΔC2、ΔC3与ΔC4的值定位触摸点在X轴方向上的位置X2。其中,计算X2的公式为:x3与x4为与ΔC3、ΔC4对应的触控感应Sensor的X轴坐标值,可以和x1、x2相同或不同。Next, the position X 2 of the touch point in the X-axis direction is located according to the values of ΔC1 , ΔC2 , ΔC3 and ΔC4 . Among them, the formula for calculating X2 is: x 3 and x 4 are X-axis coordinate values of the touch sensing Sensor corresponding to ΔC3 and ΔC4, which may be the same as or different from x1 and x2.
通过选取电容变化量最大的、次大的第一触控感应Sensor的电容变化量ΔC1、ΔC3与同这两个触控感应Sensor相对应位置电容变化量最大的、次大的第二触控感应Sensor的电容变化量ΔC2、ΔC4对触摸点在X轴方向上的位置进行定位,由于虽然距触摸点最近的触控感应Sensor的电容变化量最大,但是,一个触摸动作可能跨越不止两个触控感应Sensor,所以同时选取电容变化量最大的、次大的电容变化量的触控感应Sensor的电容变化量进行计算,定位更精确、可靠,同时,计算量相对较小,能耗较低。By selecting the capacitance changes ΔC1 and ΔC3 of the second largest first touch sensor with the largest capacitance change and the second largest second touch sensor with the largest capacitance change at the positions corresponding to the two touch sensors The capacitance changes ΔC2 and ΔC4 of the Sensor locate the position of the touch point in the X-axis direction. Although the touch sensor closest to the touch point has the largest capacitance change, a touch action may span more than two touch points. Sensing Sensor, so at the same time select the capacitance change of the touch sensing Sensor with the largest capacitance change and the next largest capacitance change for calculation, the positioning is more accurate and reliable, and at the same time, the calculation amount is relatively small and the energy consumption is low.
本发明第五实施方式涉及一种电容触控屏上触摸位置的定位方法。第五实施方式在第四实施方式的基础上作了进一步的改进,主要改进之处在于:在第五实施方式中,在定位触摸点在X轴方向上的位置时,选取全部触控感应Sensor的电容变化量,并根据触控感应Sensor的对称性对触摸点在X轴方向上的位置进行定位,这样,综合考虑全部被触摸的触控感应Sensor引起的电容变化量,定位更可靠。The fifth embodiment of the present invention relates to a method for locating a touch position on a capacitive touch screen. The fifth embodiment is further improved on the basis of the fourth embodiment. The main improvement is that: in the fifth embodiment, when locating the position of the touch point in the X-axis direction, all the touch-sensing Sensors are selected. The amount of capacitance change, and the position of the touch point in the X-axis direction is positioned according to the symmetry of the touch sensing Sensor. In this way, the capacitance change caused by all touched touch sensing Sensors is considered comprehensively, and the positioning is more reliable.
具体地说,在根据第一触控感应Sensor的电容变化量与第二触控感应Sensor的电容变化量的相对变化定位触摸点在X轴方向上的位置的步骤中,还包含以下子步骤:Specifically, in the step of locating the position of the touch point in the X-axis direction according to the relative change of the capacitance variation of the first touch sensing Sensor and the capacitance variation of the second touch sensing Sensor, the following sub-steps are also included:
首先,对所有第一触控感应Sensor的电容变化量与第二触控感应Sensor的电容变化量分别求和,获取所有第一触控感应Sensor的电容变化量的和ΔS1与所有第二触控感应Sensor的电容变化量的和ΔS2。其中,ΔS1=Δc1+Δc3+Δc5+......+Δc(2N-1),ΔS2=Δc2+Δc4+Δc6+......+Δc(2N)。First, sum the capacitance changes of all first touch sensors and the capacitance changes of the second touch sensors to obtain the sum ΔS1 of the capacitance changes of all first touch sensors and all second touch sensors. The sum ΔS2 of the sensor capacitance change. Wherein, ΔS1=Δc1+Δc3+Δc5+...+Δc(2N-1), ΔS2=Δc2+Δc4+Δc6+...+Δc(2N).
接着,根据ΔS1与ΔS2的值定位触摸点在X轴方向上的位置X3。其中,计算X3的公式为:x4与x5为ΔS1与ΔS2对应的参考X轴坐标值,例如是X轴坐标值的最大或最小值,由于所有触控感应Sensor结构的一致性,即使ΔS1与ΔS2为多个触控感应Sensor变化量的组合,参考值也可以只选取两个。Next, the position X 3 of the touch point in the X-axis direction is located according to the values of ΔS1 and ΔS2 . Wherein, the formula for calculating X3 is: x 4 and x 5 are the reference X-axis coordinate values corresponding to ΔS1 and ΔS2, such as the maximum or minimum value of the X-axis coordinate value. Due to the consistency of all touch sensor structures, even if ΔS1 and ΔS2 are multiple touch sensor The combination of Sensor variation and reference value can also only select two.
对所有第一触控感应Sensor的电容变化量与第二触控感应Sensor的电容变化量分别求和,获取所有第一触控感应Sensor的电容变化量的和ΔS1与所有第二触控感应Sensor的电容变化量的和ΔS2,再根据ΔS1与ΔS2对触摸点在X轴方向上的位置进行定位,由于综合考虑了全部被触摸的触控感应Sensor引起的电容变化量(因为一个触摸动作可能跨越多个触控感应Sensor),并根据第一触控感应Sensor与将第二触控感应Sensor的对称性对触摸点进行定位,使得对触摸点的定位更可靠。Sum the capacitance changes of all the first touch sensors and the capacitance changes of the second touch sensors respectively, and obtain the sum ΔS1 of the capacitance changes of all the first touch sensors and all the second touch sensors and ΔS2 of the capacitance change, and then locate the position of the touch point in the X-axis direction according to ΔS1 and ΔS2, since the capacitance change caused by all touched touch sensors is considered comprehensively (because a touch action may span multiple touch sensing sensors), and locate the touch point according to the symmetry between the first touch sensing sensor and the second touch sensing sensor, so that the positioning of the touch point is more reliable.
本发明第六实施方式涉及一种电容触控屏上触摸位置的定位方法。第六实施方式为第一实施方式的进一步细化,给出了触摸位置在X轴方向上的具体定位方法。在本发明第六实施方式中,先分别通过第三实施方式、第四实施方式、第五实施方式中所述的方法获取触摸点在X轴方向的位置X1、X2与X3,然后对X1、X2与X3进行加权,获取触摸点在X轴方向的位置X4,这样,综合考虑各种因素的影响大小,使得对触摸点在X轴方向的位置定位更精确。The sixth embodiment of the present invention relates to a method for locating a touch position on a capacitive touch screen. The sixth embodiment is a further refinement of the first embodiment, and provides a specific positioning method of the touch position in the X-axis direction. In the sixth embodiment of the present invention, the positions X 1 , X 2 , and X 3 of the touch point in the X-axis direction are first acquired through the methods described in the third embodiment, the fourth embodiment, and the fifth embodiment, respectively, and then X 1 , X 2 and X 3 are weighted to obtain the position X 4 of the touch point in the X-axis direction, so that the position of the touch point in the X-axis direction can be positioned more accurately by comprehensively considering the influence of various factors.
具体地说,在根据被触摸的第一触控感应Sensor的电容变化量与被触摸的第二触控感应Sensor的电容变化量的相对变化定位触摸点在X轴方向上的位置的步骤中,还包含以下子步骤:Specifically, in the step of locating the position of the touch point in the X-axis direction according to the relative change of the capacitance variation of the touched first touch-sensing Sensor and the capacitance variation of the touched second touch-sensing Sensor, Also includes the following substeps:
首先,分别通过第四实施方式、第五实施方式、第六实施方式中所述的方法获取触摸点在X轴方向的位置X1、X2与X3。First, the positions X 1 , X 2 and X 3 of the touch point in the X-axis direction are obtained through the methods described in the fourth embodiment, the fifth embodiment, and the sixth embodiment, respectively.
接着,对X1、X2与X3进行加权,获取触摸点在X轴方向的位置X4。其中,获取X4的公式为X4=w1·X1+w2·X2+w3·X3,w1、w2与w3分别为X1、X2与X3的加权系数,分别代表第四实施方式、第五实施方式、第六实施方式中所述的方法获取触摸点在X轴方向的位置X1、X2与X3所占的权重,而三者的权重是通过预校准的的方法获取的,并且三种计算方式对于屏幕上不同位置的计算准确度是不一样的,加权值会根据三种计算方式得出结果的大小进行调整。Next, X 1 , X 2 and X 3 are weighted to obtain the position X 4 of the touch point in the X-axis direction. Among them, the formula for obtaining X 4 is X 4 =w 1 ·X 1 +w 2 ·X 2 +w 3 ·X 3 , w 1 , w 2 and w 3 are the weighting coefficients of X 1 , X 2 and X 3 respectively , representing the weights of the positions X 1 , X 2 and X 3 of the touch point in the X-axis direction acquired by the methods described in the fourth embodiment, the fifth embodiment, and the sixth embodiment respectively, and the weights of the three are It is obtained through a pre-calibration method, and the calculation accuracy of the three calculation methods is different for different positions on the screen. The weighted value will be adjusted according to the size of the results obtained by the three calculation methods.
这样,由于综合考虑了各种因素的影响大小,使得对触摸点在X轴方向的位置定位更精确。In this way, since the influence of various factors is comprehensively considered, the location of the touch point in the X-axis direction is more accurate.
本发明第七实施方式涉及一种电容触控屏上触摸位置的定位方法。第七实施方式在第一实施方式的基础上作了进一步改进,主要改进之处在于:在第七实施方式中,在定位触摸点在X轴方向上的位置时消除了X轴方向上的系统误差,使得对X轴方向上的触摸位置定位更准确。The seventh embodiment of the present invention relates to a method for locating a touch position on a capacitive touch screen. The seventh embodiment is further improved on the basis of the first embodiment, the main improvement is: in the seventh embodiment, when locating the position of the touch point in the X-axis direction, the system in the X-axis direction is eliminated The error makes the positioning of the touch position in the X-axis direction more accurate.
具体地说,在根据第一触控感应Sensor的电容变化量与第二触控感应Sensor的电容变化量的相对变化定位触摸点在X轴方向上的位置的步骤中,还包含以下子步骤:消除X轴方向上的系统误差后定位触摸点在X轴方向上的位置。Specifically, in the step of locating the position of the touch point in the X-axis direction according to the relative change of the capacitance variation of the first touch sensing Sensor and the capacitance variation of the second touch sensing Sensor, the following sub-steps are also included: After eliminating the systematic error in the X-axis direction, locate the position of the touch point in the X-axis direction.
详细地说,首先,根据第一实施方式中所述的方法获取触摸点在X轴方向上的位置X0;接着,利用以下公式消除X轴方向上的系统误差x0(或者说,固有偏移),获取消除系统误差后的触摸位置X5:其中,系统误差x0是通过公式校准方式获取的,例如,一种校准方式就是扫描屏幕上所有位置并得出触控感应Sensor在有触控的情况下最小电容变化量。In detail, firstly, the position X 0 of the touch point in the X-axis direction is obtained according to the method described in the first embodiment; then, the systematic error x 0 (or in other words, the inherent bias) in the X-axis direction is eliminated by using the following formula Shift), to obtain the touch position X 5 after eliminating the system error: Among them, the system error x 0 is obtained through a formula calibration method. For example, one calibration method is to scan all positions on the screen and obtain the minimum capacitance change of the touch sensing Sensor when there is a touch.
由于在触摸时,电容触控屏不可避免地会引入系统误差,其中,该系统误差是由固定偏置产生的,造成对X轴方向上的触摸点定位失准,所以,在定位触摸点在X轴方向上的位置时,通过对电容变化量都抵消掉一个校准得到的数值消除X轴方向上的系统误差,使得对X轴方向上的触摸位置定位更准确。Since the capacitive touch screen will inevitably introduce a system error when touching, wherein the system error is generated by a fixed bias, resulting in inaccurate positioning of the touch point in the X-axis direction, so when locating the touch point in For the position in the X-axis direction, the system error in the X-axis direction is eliminated by offsetting a calibrated value for the capacitance change, so that the touch position positioning in the X-axis direction is more accurate.
上面各种方法的步骤划分,只是为了描述清楚,实现时可以合并为一个步骤或者对某些步骤进行拆分,分解为多个步骤,只要包含相同的逻辑关系,都在本专利的保护范围内;对算法中或者流程中添加无关紧要的修改或者引入无关紧要的设计,但不改变其算法和流程的核心设计都在该专利的保护范围内。The division of steps in the above methods is only for the sake of clarity of description. During implementation, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they contain the same logical relationship, they are all within the scope of protection of this patent. ; Adding insignificant modifications or introducing insignificant designs to the algorithm or process, but not changing the core design of the algorithm and process are all within the scope of protection of this patent.
本发明第八实施方式涉及一种电容触控屏,该电容触控屏包含:若干个触控感应Sensor。The eighth embodiment of the present invention relates to a capacitive touch screen, and the capacitive touch screen includes: several touch sensing Sensors.
其中,触控感应Sensor分为若干组,每一组为一个感应单元,且感应单元为矩形;其中,每一个感应单元均包含一个第一触控感应Sensor与一个第二触控感应Sensor,第一触控感应Sensor的宽度沿X轴的正方向递减,第二触控感应Sensor的宽度沿X轴的正方向递增;X轴的正方向为电容触控屏的宽边方向,且由左指向右,Y轴方向为电容触控屏的长边方向,且垂直于X轴。Among them, the touch sensing Sensor is divided into several groups, each group is a sensing unit, and the sensing unit is rectangular; wherein, each sensing unit includes a first touch sensing Sensor and a second touch sensing Sensor, the second The width of the first touch sensor sensor decreases along the positive direction of the X-axis, and the width of the second touch sensor Sensor increases along the positive direction of the X-axis; the positive direction of the X-axis is the width direction of the capacitive touch screen, and points from the left Right, the direction of the Y axis is the direction of the long side of the capacitive touch screen, and is perpendicular to the X axis.
值得一提的是,为了突出本发明的创新部分,本实施方式中并没有将与解决本发明所提出的技术问题关系不太密切的单元引入,但这并不表明本实施方式中不存在其它的单元。It is worth mentioning that, in order to highlight the innovative part of the present invention, this embodiment does not introduce units that are not closely related to solving the technical problems proposed by the present invention, but this does not mean that there are no other elements in this embodiment. unit.
不难发现,本实施方式为与第一实施方式相对应的系统实施例,本实施方式可与第一实施方式互相配合实施。第一实施方式中提到的相关技术细节在本实施方式中依然有效,为了减少重复,这里不再赘述。相应地,本实施方式中提到的相关技术细节也可应用在第一实施方式中。It is not difficult to find that this embodiment is a system embodiment corresponding to the first embodiment, and this embodiment can be implemented in cooperation with the first embodiment. The relevant technical details mentioned in the first embodiment are still valid in this embodiment, and will not be repeated here in order to reduce repetition. Correspondingly, the relevant technical details mentioned in this implementation manner can also be applied in the first implementation manner.
本领域的普通技术人员可以理解,上述各实施方式是实现本发明的具体实施例,而在实际应用中,可以在形式上和细节上对其作各种改变,而不偏离本发明的精神和范围。Those of ordinary skill in the art can understand that the above-mentioned embodiments are specific examples for realizing the present invention, and in practical applications, various changes can be made to it in form and details without departing from the spirit and spirit of the present invention. scope.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410141069.6A CN103902127B (en) | 2014-04-09 | 2014-04-09 | The localization method and capacitive touch screen of touch location on a kind of capacitive touch screen |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410141069.6A CN103902127B (en) | 2014-04-09 | 2014-04-09 | The localization method and capacitive touch screen of touch location on a kind of capacitive touch screen |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103902127A CN103902127A (en) | 2014-07-02 |
CN103902127B true CN103902127B (en) | 2017-03-15 |
Family
ID=50993482
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410141069.6A Active CN103902127B (en) | 2014-04-09 | 2014-04-09 | The localization method and capacitive touch screen of touch location on a kind of capacitive touch screen |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103902127B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108958543A (en) * | 2018-06-29 | 2018-12-07 | 上海海栎创微电子有限公司 | A kind of array sweeping method that self-capacitance touch screen signal-to-noise ratio can be improved |
CN111381729B (en) * | 2020-03-27 | 2023-04-25 | 深圳市鸿合创新信息技术有限责任公司 | Touch point positioning method and device for capacitive touch screen |
CN114397977A (en) * | 2022-02-26 | 2022-04-26 | 谢晔华 | Capacitance induction type input detection device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101887334A (en) * | 2009-05-15 | 2010-11-17 | 晨星软件研发(深圳)有限公司 | Sensing structure and sensing method of capacitive touch panel |
CN101923419A (en) * | 2010-04-20 | 2010-12-22 | 敦泰科技有限公司 | Self-capacitance touch screen with one-dimensional electrodes and its coordinate data processing method |
CN102253750A (en) * | 2011-07-22 | 2011-11-23 | 苏州瀚瑞微电子有限公司 | Scanning configuration of two-dimensional capacitance sensor and positioning method |
CN102331892A (en) * | 2011-06-24 | 2012-01-25 | 苏州瀚瑞微电子有限公司 | Capacitive touch screen |
CN102446042A (en) * | 2010-10-12 | 2012-05-09 | 谊达光电科技股份有限公司 | Capacitive proximity sensing and touch detection device and method |
-
2014
- 2014-04-09 CN CN201410141069.6A patent/CN103902127B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101887334A (en) * | 2009-05-15 | 2010-11-17 | 晨星软件研发(深圳)有限公司 | Sensing structure and sensing method of capacitive touch panel |
CN101923419A (en) * | 2010-04-20 | 2010-12-22 | 敦泰科技有限公司 | Self-capacitance touch screen with one-dimensional electrodes and its coordinate data processing method |
CN102446042A (en) * | 2010-10-12 | 2012-05-09 | 谊达光电科技股份有限公司 | Capacitive proximity sensing and touch detection device and method |
CN102331892A (en) * | 2011-06-24 | 2012-01-25 | 苏州瀚瑞微电子有限公司 | Capacitive touch screen |
CN102253750A (en) * | 2011-07-22 | 2011-11-23 | 苏州瀚瑞微电子有限公司 | Scanning configuration of two-dimensional capacitance sensor and positioning method |
Also Published As
Publication number | Publication date |
---|---|
CN103902127A (en) | 2014-07-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9684409B2 (en) | Hover position calculation in a touchscreen device | |
US8692802B1 (en) | Method and apparatus for calculating coordinates with high noise immunity in touch applications | |
US9983738B2 (en) | Contact detection mode switching in a touchscreen device | |
US9213052B2 (en) | Peak detection schemes for touch position detection | |
US9069409B2 (en) | Coordinate algorithm of touch panel | |
WO2014003803A1 (en) | Touch orientation calculation | |
US20160005352A1 (en) | Touch sensing device | |
US9134870B2 (en) | Capacitive touch-sensitive panel and mobile terminal using the same | |
US8970796B2 (en) | Field-line repeater (FLR) structure of a sense array | |
US10871862B2 (en) | Touch force detecting method and apparatus, touch panel and display apparatus | |
CN104123047A (en) | High pressure processing method and system for self-capacitive touch screen | |
US8754869B2 (en) | Surface capacitance with area gestures | |
US8654089B2 (en) | Touch sensing circuit and touch sensing method | |
US9619081B2 (en) | Using dynamically scaled linear correction to improve finger tracking linearity on touch sensors | |
CN103902127B (en) | The localization method and capacitive touch screen of touch location on a kind of capacitive touch screen | |
US20140292715A1 (en) | Self-capacitive touch panel | |
KR20200006576A (en) | Touch positioning method, device and electronic equipment | |
US20190042050A1 (en) | Touch-pressure sensitivity correction method and computer- readable recording medium | |
US9229593B2 (en) | Single and multiple finger extraction and position calculation using a weighted mask | |
US9965090B2 (en) | Determination of touch orientation in a touch event | |
CN104346009B (en) | Touch position detecting method on capacitance touching control screen and capacitance touching control screen | |
TWI467456B (en) | Touch panel | |
EP2404229A1 (en) | Surface capacitance with area gestures | |
US9569043B2 (en) | Method and device for reducing poor linearity in location detection | |
CN104102397A (en) | Self-contained touch panel |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20180110 Address after: 315499 Zhejiang province Yuyao Economic Development Zone Chengdong new district smelter mountain road Patentee after: Co semiconductor (Ningbo) Co., Ltd. Address before: 201203 Shanghai City, Pudong New Area Zhangjiang hi tech park Zuchongzhi Road No. 1500 building 3 Patentee before: Micro electronics (Shanghai) Co., Ltd. |