Embodiment
Describe embodiments of the invention below in detail, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has the element of identical or similar functions from start to finish.Below by the embodiment being described with reference to the drawings, be exemplary, only for explaining the present invention, and can not be interpreted as limitation of the present invention.
Disclosing below provides many different embodiment or example to be used for realizing different structure of the present invention.Of the present invention open in order to simplify, hereinafter the parts of specific examples and setting are described.Certainly, they are only example, and object does not lie in restriction the present invention.In addition, the present invention can be in different examples repeat reference numerals and/or letter.This repetition is in order to simplify and object clearly, itself do not indicate the relation between discussed various embodiment and/or setting.In addition, the various specific technique the invention provides and the example of material, but those of ordinary skills can recognize the property of can be applicable to of other techniques and/or the use of other materials.In addition, First Characteristic described below Second Characteristic it " on " structure can comprise that the first and second Characteristics creations are for the direct embodiment of contact, also can comprise the embodiment of other Characteristics creation between the first and second features, such the first and second features may not be direct contacts.
In description of the invention, it should be noted that, unless otherwise prescribed and limit, term " installation ", " being connected ", " connection " should be interpreted broadly, for example, can be mechanical connection or electrical connection, also can be the connection of two element internals, can be to be directly connected, and also can indirectly be connected by intermediary, for the ordinary skill in the art, can understand as the case may be the concrete meaning of above-mentioned term.
With reference to description and accompanying drawing below, these and other aspects of embodiments of the invention will be known.These describe and accompanying drawing in, specifically disclose some specific implementations in embodiments of the invention, represent to implement some modes of the principle of embodiments of the invention, still should be appreciated that the scope of embodiments of the invention is not limited.On the contrary, embodiments of the invention comprise spirit and all changes within the scope of intension, modification and the equivalent that falls into additional claims.
The touch point localization method for touch-screen that 1 to 3 description proposes according to first aspect present invention embodiment with reference to the accompanying drawings.
As illustrated in fig. 1 and 2, first the electric capacity touch point localization method for touch-screen of the structure of the touch-screen adopting in the embodiment of the present invention and the embodiment of the present invention being detected is simply introduced, be illustrated in figure 1 the touch-screen in the embodiment of the present invention, by row inductor X1 ~ Xn and row inductor Y1 ~ Yn, formed.Fig. 2 is the capacitance structure that row inductor X1 and row inductor Y1 form, and wherein C1 is the self-capacitance of row inductor induction channels, and C2 is the self-capacitance of row inductor induction channels.C3 is the mutual capacitance that row inductor X1 and row inductor Y1 form, self-capacitance inductor and with the formed electric capacity of inductor of its vertical direction.Row inductor is connected with capacitive detection module 101 with row inductor, and transfers data to host computer 102 by capacitive detection module 101, positions processing.The touch point localization method of the embodiment of the present invention is exactly that the variation that detects self-capacitance C1 and C2 and mutual capacitance C3 judges accordingly, obtains the position of touch point.
As shown in Figure 3, the touch point localization method for touch-screen of the embodiment of the present invention, comprises the following steps:
S1 carries out self-capacitance detection and mutual capacitance detection to the inductor in touch-screen simultaneously, obtains corresponding self-capacitance positioning result and mutual capacitance testing result, and wherein, inductor comprises row inductor and row inductor.
In one embodiment of the invention, touch-screen is carried out to self-capacitance detection and mutual capacitance detection simultaneously, in self-capacitance detects, while detecting the induction channels of inductor composition, need to discharge and recharge, in the present embodiment, self-capacitance detects and carries out the energy that charge and discharge process can adopt square wave form, and the transmitting terminal excitation that mutual capacitance needs while detecting can be also square wave form, so self-capacitance detects when discharging and recharging, mutual capacitance is encouraged, i.e. self-capacitance detection and mutual capacitance detect to be carried out simultaneously.
In one embodiment of the invention, inductor in touch-screen is carried out to self-capacitance detection, specifically comprise: when each the row inductor in touch-screen is applied to excitation, detect the influence value of row inductor, if the influence value of row inductor is greater than preset value, the behavior self-capacitance home row that row inductor is corresponding.Then, when each the row inductor in touch-screen is applied to excitation, detect the influence value of row inductor, if the influence value of row inductor is greater than preset value, the self-capacitance location of classifying as that row inductor is corresponding is listed as.By the home row of self-capacitance and the positioning result of location row acquisition self-capacitance.For example each the row inductor X1 ~ Xn in touch-screen is applied to when excitation, detect the influence value of row inductor X1 ~ Xn, if wherein the influence value of row inductor X5, X6, X9 is greater than preset value, row inductor X5, X6, behavior self-capacitance home row that X9 is corresponding.When each the row inductor Y1 ~ Yn in touch-screen is applied to excitation, detect the influence value of row inductor Y1 ~ Yn, if wherein the influence value of row inductor Y4, Y7, Y9 is greater than preset value, row inductor Y4, Y7, Y9 are corresponding classifies self-capacitance location row as, the positioning result that the coordinate of 9 points that row inductor X5, X6, X9 be expert at and row inductor Y4, Y7, Y9 column are intersected is self-capacitance.
In an embodiment of the present invention, self-capacitance detects the square wave that carries out charge and discharge process employing and for mutual capacitance detects, provides excitation simultaneously, when the inductor in touch-screen carries out self-capacitance detection, inductor in touch-screen is carried out to mutual capacitance detection, mutual capacitance detects and specifically comprises: when each the row inductor in touch-screen is applied to excitation, detect the influence value of all row inductors, if the influence value of row inductor is greater than preset value, row inductor is electric capacity anchor point with the intersection point of the corresponding row inductor that applies excitation.Or, each the row inductor in touch-screen is applied to when excitation, detect the influence value of all row inductors, if the influence value of row inductor is greater than preset value, row inductor is mutual capacitance anchor point with the intersection point of the corresponding row inductor that applies excitation.For example, while the row inductor X1 in touch-screen being applied to excitation, detect the influence value of row inductor Y1 ~ Yn, if wherein the influence value of inductor Y1, Y3, Y5, Y8 is greater than preset value, the intersection point of row inductor X1 and row inductor Y1, Y3, Y5, Y8 is mutual capacitance anchor point, in turn, when the row inductor X2 ~ Xn in touch-screen is applied respectively to excitation, detect the influence value of row inductor Y1 ~ Yn, and the row inductor that influence value is wherein greater than preset value is defined as to electric capacity anchor point with the corresponding intersection point that applies the row inductor of excitation.Or, when the row inductor Y1 in touch-screen is applied to excitation, detect the influence value of all row inductor X1 ~ Xn, if row inductor X3 wherein, X5, X6, the influence value of X8 is greater than preset value, row inductor X3, X5, X6, X8 is mutual capacitance anchor point with the intersection point of the corresponding row inductor Y1 that applies excitation, in turn, when the row inductor Y2 ~ Yn in touch-screen is applied respectively to excitation, detect the influence value of row inductor X1 ~ Xn, and the row inductor that influence value is wherein greater than preset value is defined as to mutual capacitance anchor point with the corresponding intersection point that applies the row inductor of excitation.In the present embodiment, mutual capacitance can be detected to data and present with the form of matrix, a plurality of mutual capacitance anchor points of acquisition are the testing result that mutual capacitance detects, i.e. mutual capacitance testing result is matrix data.
S2, obtains mutual capacitance positioning result according to mutual capacitance testing result.
According to the mutual capacitance anchor point obtaining in step S1, calculate the elements of a fix that obtain mutual capacitance.Particularly, in one embodiment of the invention, by step S1, obtaining mutual capacitance testing result data is matrix data, the capacitance of inductor when the baseline that matrix data is deducted to corresponding touch-screen deducts correspondence position and there is no finger touch, and the difference table of acquisition is as shown in table 1:
Table 1
? |
Y1 |
Y2 |
Y3 |
Y4 |
Y5 |
Y6 |
Y7 |
Y8 |
Y9 |
Y10 |
Y11 |
X1 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
X2 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
X3 |
0 |
0 |
0 |
77 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
X4 |
0 |
0 |
208 |
688 |
60 |
0 |
0 |
0 |
0 |
0 |
0 |
X5 |
0 |
0 |
0 |
148 |
0 |
0 |
0 |
96 |
532 |
67 |
0 |
X6 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
112 |
560 |
131 |
0 |
X7 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
X8 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
X9 |
0 |
416 |
280 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
X10 |
0 |
512 |
616 |
0 |
0 |
64 |
416 |
0 |
0 |
0 |
0 |
X11 |
0 |
0 |
0 |
0 |
0 |
630 |
1464 |
624 |
0 |
0 |
0 |
X12 |
0 |
0 |
0 |
0 |
0 |
356 |
1120 |
477 |
0 |
0 |
0 |
X13 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
X14 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
X15 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
X16 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
X17 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
X18 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
X19 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
X20 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
0 |
If the data in difference surpass threshold value, be judged as finger touch, for example establishing threshold value is 500, in table 1, the difference at the intersection point place of row inductor X11, X12 and row inductor Y7 is " 1464 " " 1120 ", is finger touch point.Adopt matrix coordinate algorithm to obtain the corresponding coordinate of each finger, calculate and obtain mutual capacitance positioning result.Wherein matrix coordinate algorithm is that known technology repeats no more.
S3, determines the position of touch point according to self-capacitance positioning result and mutual capacitance positioning result.
The self-capacitance home row that the row value of the elements of a fix of the mutual capacitance that step S2 is obtained or train value and step S1 obtain or self-capacitance location row compare, if identical, but it should be noted that, because there is the error that detects error or calculating, if the row value of the elements of a fix of mutual capacitance or train value and self-capacitance home row or self-capacitance location row are roughly the same, the position that elements of a fix of mutual capacitance are touch point.
According to the touch point localization method for touch-screen of the embodiment of the present invention, by touch-screen is carried out simultaneously, self-capacitance detects and mutual capacitance detects, and can avoid the interference of water and charger, significantly promotes the waterproof effect of mutual capacitance screen.In addition, the elements of a fix of determining mutual capacitance are position, touch point, can support multiple spot coordinate.In addition, aborning, needn't regulate charger frequency, significantly promoted production efficiency and expanded the scope of application, and correspondingly having reduced production cost.
A kind of touch point locating device for touch-screen proposing according to second aspect present invention embodiment is described with reference to the accompanying drawings.
As shown in Figure 4, the touch point locating device for touch-screen of the embodiment of the present invention, comprising: first detection module 401, the second detection module 402, computing module 403 and locating module 404.Wherein, first detection module 401 and the second detection module 402 detect simultaneously, and first detection module 401 is for carrying out self-capacitance detection to obtain self-capacitance positioning result to the inductor of touch-screen.The second detection module 402 is for carrying out mutual capacitance detection to obtain mutual capacitance testing result to the inductor of touch-screen, inductor comprises row inductor and row inductor.As shown in Figure 4, one end of first detection module 401 and the second detection module 402 is connected with the circuit model of capacitance plate respectively.Computing module 403 is for obtaining mutual capacitance positioning result according to mutual capacitance testing result.Locating module 404 is for determining the position of touch point according to self-capacitance positioning result and mutual capacitance positioning result.It should be noted that, first detection module 401 and the second detection module 402 are corresponding with above-mentioned capacitive detection module 101, say, capacitive detection module 101 can comprise first detection module 401 and the second detection module 402.In addition, aforesaid host computer 102 can be computing module 403 and locating module 404.
Further, as shown in Figure 5, first detection module 401 comprises: the first exciting unit 501, row detecting unit 502 and row detecting unit 503.Wherein, the first exciting unit 501 applies respectively excitation for all row inductors or row inductor to touch-screen.Row detecting unit 502 detects the influence value of row inductor while applying excitation for each the row inductor when 501 pairs of touch-screens of the first exciting unit, when the influence value of the inductor of being expert at is greater than preset value, and the behavior self-capacitance home row that row inductor is corresponding.Row detecting unit 503 detects the influence value of row inductor while applying excitation for each the row inductor when 501 pairs of touch-screens of the first exciting unit, when the influence value of row inductor is greater than preset value, the self-capacitance location of classifying as that row inductor is corresponding is listed as.
In one embodiment of the invention, the inductor in 401 pairs of touch-screens of first detection module carries out self-capacitance detection and obtains self-capacitance positioning result, and excitation is provided when the first exciting unit 501 carries out mutual capacitance detection for the second detection module 402 simultaneously.Particularly, when each the row inductor in 501 pairs of touch-screens of the first exciting unit applies excitation, row detecting unit 502 detects the influence value of row inductor, if the influence value of row inductor is greater than preset value, and the behavior self-capacitance home row that row inductor is corresponding.Then, when each the row inductor in the first 501 pairs of exciting units touch-screen applies excitation, row detecting unit 503 detects the influence value of row inductor, if the influence value of row inductor is greater than preset value, the self-capacitance location of classifying as that row inductor is corresponding is listed as.First detection module 401 is by the home row of self-capacitance and the positioning result of location row acquisition self-capacitance.For example, when each the row inductor X1 ~ Xn in 501 pairs of touch-screens of the first exciting unit applies excitation, row detecting unit 502 detects the influence value of row inductor X1 ~ Xn, if wherein the influence value of row inductor X5, X6, X9 is greater than preset value, row inductor X5, X6, behavior self-capacitance home row that X9 is corresponding.When each the row inductor Y1 ~ Yn in the first 501 pairs of exciting units touch-screen applies excitation, row detecting unit 503 detects the influence value of row inductor Y1 ~ Yn, if wherein the influence value of row inductor Y4, Y7, Y9 is greater than preset value, row inductor Y4, Y7, Y9 are corresponding classifies self-capacitance location row as, and first detection module 401 detects the positioning result that the coordinate of 9 points that row inductor X5, X6, X9 be expert at and row inductor Y4, Y7, Y9 column intersect is self-capacitance.
In another embodiment of the present invention, first detection module 401 and the second detection module 402 detect simultaneously, the second detection module 402 detects the influence value of all row inductors while also applying excitation for each the row inductor at 501 pairs of touch-screens of the first exciting unit, when the influence value of row inductor is greater than preset value, row inductor is mutual capacitance anchor point with the intersection point of the corresponding row inductor that applies excitation.Or, each row inductor in 501 pairs of touch-screens of the first exciting unit detects the influence value of all row inductors while applying excitation, when the influence value of row inductor is greater than preset value, row inductor is mutual capacitance anchor point with the intersection point of the corresponding row inductor that applies excitation.For example, when the row inductor X1 in 501 pairs of touch-screens of the first exciting unit applies excitation, the second detection module 402 detects the influence value of row inductor Y1 ~ Yn, if inductor Y1 wherein, Y3, Y5, the influence value of Y8 is greater than preset value, row inductor X1 and row inductor Y1, Y3, Y5, the intersection point of Y8 is mutual capacitance anchor point, in turn, when the row inductor X2 ~ Xn in the first 501 pairs of exciting units touch-screen applies respectively excitation, the second detection module 402 detects the influence value of row inductor Y1 ~ Yn, and the row inductor that influence value is wherein greater than preset value is defined as to mutual capacitance anchor point with the corresponding intersection point that applies the row inductor of excitation.Or, when the row inductor Y1 in 501 pairs of touch-screens of the first exciting unit applies excitation, the second detection module 402 detects the influence value of all row inductor X1 ~ Xn, if row inductor X3 wherein, X5, X6, the influence value of X8 is greater than preset value, row inductor X3, X5, X6, X8 is mutual capacitance anchor point with the intersection point of the corresponding row inductor Y1 that applies excitation, in turn, when the row inductor Y2 ~ Yn in 501 pairs of touch-screens of the first exciting unit applies respectively excitation, the second detection module 402 detects the influence value of row inductor X1 ~ Xn, and the row inductor that influence value is wherein greater than preset value is defined as to mutual capacitance anchor point with the corresponding intersection point that applies the row inductor of excitation.
In one embodiment of the invention, the second detection module 402 detects the mutual capacitance testing result of acquisition touch-screen and determines after a plurality of mutual capacitance anchor points, by computing module 403, according to mutual capacitance anchor point, calculated the elements of a fix that obtain mutual capacitance, obtain the positioning result of mutual capacitance.
In one embodiment of the invention, after first detection module 401 obtains self-capacitance positioning result and computing module 403 calculating acquisition mutual capacitance positioning results, by locating module 404, the row value of the elements of a fix of mutual capacitance or train value and self-capacitance home row or self-capacitance location row are compared, and when value is identical, it should be noted that, because there is the error that detects error or calculating, if the row value of the elements of a fix of mutual capacitance or train value and self-capacitance home row or self-capacitance location row are roughly the same, the position that the elements of a fix of determining mutual capacitance are touch point.
In sum, according to the touch point locating device for touch-screen of the embodiment of the present invention, by first detection module and the second detection module, the self-capacitance of inductor and mutual capacitance are detected simultaneously, and obtain self-capacitance positioning result and mutual capacitance positioning result, can avoid the interference of water and charger, significantly promote the waterproof effect of mutual capacitance screen.Locating module can accurately be determined the position of touch point according to self-capacitance positioning result and mutual capacitance positioning result, and supports multiple spot coordinate.In addition, reduce production cost, improved production efficiency.
In process flow diagram or any process of otherwise describing at this or method describe and can be understood to, represent to comprise that one or more is for realizing module, fragment or the part of code of executable instruction of the step of specific logical function or process, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can be not according to order shown or that discuss, comprise according to related function by the mode of basic while or by contrary order, carry out function, this should be understood by embodiments of the invention person of ordinary skill in the field.
The logic and/or the step that in process flow diagram, represent or otherwise describe at this, for example, can be considered to for realizing the sequencing list of the executable instruction of logic function, may be embodied in any computer-readable medium, for instruction execution system, device or equipment (as computer based system, comprise that the system of processor or other can and carry out the system of instruction from instruction execution system, device or equipment instruction fetch), use, or use in conjunction with these instruction execution systems, device or equipment.With regard to this instructions, " computer-readable medium " can be anyly can comprise, storage, communication, propagation or transmission procedure be for instruction execution system, device or equipment or the device that uses in conjunction with these instruction execution systems, device or equipment.The example more specifically of computer-readable medium (non-exhaustive list) comprises following: the electrical connection section (electronic installation) with one or more wirings, portable computer diskette box (magnetic device), random-access memory (ram), ROM (read-only memory) (ROM), the erasable ROM (read-only memory) (EPROM or flash memory) of editing, fiber device, and portable optic disk ROM (read-only memory) (CDROM).In addition, computer-readable medium can be even paper or other the suitable medium that can print described program thereon, because can be for example by paper or other media be carried out to optical scanning, then edit, decipher or process in electronics mode and obtain described program with other suitable methods if desired, be then stored in computer memory.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, a plurality of steps or method can realize with being stored in storer and by software or the firmware of suitable instruction execution system execution.For example, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: have for data-signal being realized to the discrete logic of the logic gates of logic function, the special IC with suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
Those skilled in the art are appreciated that realizing all or part of step that above-described embodiment method carries is to come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computer-readable recording medium, this program, when carrying out, comprises step of embodiment of the method one or a combination set of.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, can be also that the independent physics of unit exists, and also can be integrated in a module two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, and also can adopt the form of software function module to realize.If described integrated module usings that the form of software function module realizes and during as production marketing independently or use, also can be stored in a computer read/write memory medium.
The above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
In the description of this instructions, the description of reference term " embodiment ", " some embodiment ", " example ", " concrete example " or " some examples " etc. means to be contained at least one embodiment of the present invention or example in conjunction with specific features, structure, material or the feature of this embodiment or example description.In this manual, the schematic statement of above-mentioned term is not necessarily referred to identical embodiment or example.And the specific features of description, structure, material or feature can be with suitable mode combinations in any one or more embodiment or example.
Although illustrated and described embodiments of the invention, for the ordinary skill in the art, be appreciated that without departing from the principles and spirit of the present invention and can carry out multiple variation, modification, replacement and modification to these embodiment, scope of the present invention is by claims and be equal to and limit.