CN103513835A - Method for detecting touch coordinates based on mutual capacitance touch screen - Google Patents

Method for detecting touch coordinates based on mutual capacitance touch screen Download PDF

Info

Publication number
CN103513835A
CN103513835A CN201210212937.6A CN201210212937A CN103513835A CN 103513835 A CN103513835 A CN 103513835A CN 201210212937 A CN201210212937 A CN 201210212937A CN 103513835 A CN103513835 A CN 103513835A
Authority
CN
China
Prior art keywords
touch
point
recorded
coordinate
mutual capacitance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201210212937.6A
Other languages
Chinese (zh)
Other versions
CN103513835B (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.)
CAIYOU MICROELECTRONICS (KUNSHAN) Co Ltd
Original Assignee
CAIYOU MICROELECTRONICS (KUNSHAN) 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 CAIYOU MICROELECTRONICS (KUNSHAN) Co Ltd filed Critical CAIYOU MICROELECTRONICS (KUNSHAN) Co Ltd
Priority to CN201210212937.6A priority Critical patent/CN103513835B/en
Publication of CN103513835A publication Critical patent/CN103513835A/en
Application granted granted Critical
Publication of CN103513835B publication Critical patent/CN103513835B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a method for detecting touch coordinates based on a mutual capacitance touch screen. The method includes the procedures of primary scanning, secondary scanning and coordinate calculation. The procedure of primary scanning includes the steps of carrying out scanning line by line, recording touch intensities and the touch coordinates of sub-domains on the touch screen, and marking the sub-domains with the touch intensities larger than a preset reference value as touch induction points. The procedure of secondary scanning includes the steps of firstly marking any one touch induction point as a recorded point, then scanning eight points adjacent to the recorded point one by one, and recording the coordinates of the eight points if the scanned surrounding eight points adjacent to the recorded point are provided with the touch induction points, then marking the recorded points as the recorded points and carrying out the secondary scanning repeatedly, and finishing the second scanning procedure if the touch induction points are not detected out. The procedure of coordinate calculation includes the steps of using the touch intensities and the coordinates of the recorded points in the procedure of primary scanning and the procedure of secondary scanning, and calculating and obtaining the coordinates of the central position of each touch point.

Description

A kind of touch coordinate detection method based on mutual capacitance touchscreens
Technical field
The present invention relates to a kind of touch coordinate detection method based on mutual capacitance touchscreens.
Background technology
In recent years, capacitive touch screen is at various electronic equipments, hand-held digital equipment particularly, and mobile phone for example, palm PC, the aspects such as panel computer are used widely.Wherein mutual capacitance type touch screen, owing to possessing the ability of multi-point touch, has represented the trend of following capacitive touch screen development.
The electrod-array that comprises the capable M row of N on a mutual capacitance touchscreens, the N of an every a line column electrode is joined together to form column electrode string by wire, the M of each row row electrode is also joined together to form row electrode array by wire, each electrode that rows of electrodes lists has inductance capacitance with near four electrodes, when near finger or conductor touching electrode, these inductance capacitances can change, and detect the position of people's finger touches by detecting within a certain period of time the inductance capacitance variable quantity of a N XM electrode and near electrode.
During mutual capacitance touchscreens work, testing circuit outside touch-screen sends detection signal to each column electrode string successively, and the signal of passing back by each row electrode array reception, when one of them column electrode string is detected, by each column electrode detecting on this column electrode string, judge whether with the variation of the inductance capacitance of the row electrode closing on the position that touches and touch, when the changing value of inductance capacitance is greater than predefined reference value, think that this point has touch.
For detection coordinates accurately and the needs of software application; the area that these electrodes design is conventionally less; for example the electrode area of certain touch screen for mobile phone only has 0.125 square centimeter; and people's finger is not of uniform size; when finger is pressed upper touch-screen; the changing value that the inductance capacitance of a more than electrode usually can occur is greater than the situation of predefined reference value; be that deviser need to solve when touching the changing value of the inductance capacitance of a plurality of electrodes cause mutual next-door neighbour and be greater than predefined reference value, how draw the problem of coordinate of the central point of touch.
Summary of the invention
The invention provides a kind of touch coordinate detection method based on mutual capacitance touchscreens, comprise the first scanning step, the second scanning step and coordinate calculation procedure.
The first scanning step scans line by line, records touch intensity and the coordinate of every sub regions on touch-screen, and the subregion that touch intensity is greater than to predefined reference value is labeled as touch sensible point 1.First the second scanning step is labeled as any touch sensible point 1 as initial analyzing spot and is recorded a little 2, scanning be subsequently recorded a little 2 around adjacent 8 points, if scan around at adjacent 8, there is touch sensible point 1, record the coordinate of these points, the point subsequently these being recorded is labeled as and is recorded a little 2, and repeats above-mentioned steps; If do not detect touch sensible point 1, the second scanning step finishes.Coordinate calculation procedure is used all a little 2 touch intensity and the coordinates of being recorded in first, second scanning step, calculates the coordinate of the center of touch point.
In the second scanning step, around scanning one by one, adjacent 8 can adopt or counterclockwise scanning clockwise around central point.The coordinate that calculates the center of touch point can adopt Weighted Average Algorithm.
A kind of touch coordinate detection method based on mutual capacitance touchscreens provided by the invention, in the time of can being all greater than predefined reference value in the touch intensity of a plurality of coordinates that close on mutually on mutual capacitance touchscreens, draws the coordinate position that touches central point accurately.
Accompanying drawing explanation
Fig. 1 illustrates mutual capacitance touchscreens of the present invention and is divided into the scanning coordinate of a plurality of subregions and subregion and touches intensity corresponding relation schematic diagram by electrode;
Fig. 2 illustrates the step block diagram of the touch coordinate detection method based on mutual capacitance touchscreens of the present invention;
Fig. 3 illustrates the schematic diagram of an embodiment of the second scanning step of the touch coordinate detection method based on mutual capacitance touchscreens of the present invention;
Fig. 4 illustrates in the second scanning step of the touch coordinate detection method based on mutual capacitance touchscreens of the present invention, to being recorded a little adjacent 8 clockwise and counterclockwise sequence detection schematic diagram while detecting one by one around.
Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described in further detail.
On a mutual capacitance touchscreens, conventionally there are the column electrode string and the row electrode array that cross one another, according to the crossover location of these column electrode strings and row electrode array, the surface of described mutual capacitance touchscreens (4) is divided into many equal-sized subregions, and these subregions are as shown in Figure 1 matrix and arrange.By the column electrode string crossing one another, coordinate y and the row electrode array in Y-direction determines at the coordinate x of directions X the coordinate xy of these subregions.On mutual capacitance touchscreens (4), can store in addition the also register array (3) of sense data.
Touch coordinate detection method based on mutual capacitance touchscreens of the present invention, comprises the first scanning step 5, the second scanning step 6 and coordinate calculation procedure 7.As shown in Figure 2, wherein the second scanning step 6 comprises initial step 61 and circulation step 62 to the order block diagram of these steps.
First carry out the first scanning step 5: successively to each column electrode string transmitting detection signal, near the touch intensity c of the subregion crossover location of the row electrode on each row electrode array that detection and this column electrode string intersect one by one, judged whether touch, after a column electrode string detects, then detect next line electrode array, until detected the every sub regions on touch-screen, and record one to one the coordinate xy of every sub regions and touch intensity c; Described coordinate xy is defined at mutual capacitance touchscreens Shang position y and x by this column electrode string and the row electrode array intersecting, and described touch intensity c is the changing value that detects this mutual capacitance causing due to touch.By touching the subregion of intensity higher than predefined reference value, be labeled as touch sensible point 1, all the other subregions are labeled as no touch point 0.For example suppose the finger touch region of behaving in the shadow region shown in Fig. 1, have 4 sub regions and be touched, the touch intensity of these subregions is greater than predefined reference value, these subregions is labeled as to 1, and all the other subregions are labeled as 0.
The second scanning step 6 comprises initial step 61, circulation step 62; Described initial step 61 is from any one touch sensible point 1, using this touch sensible point as initial analyzing spot, is labeled as and is recorded a little 2, this is recorded to 2 coordinate a little and stores into the originating register in register array 8; Circulation step 62, for detecting one by one subsequently other eight consecutive point of the well word grid centered by the coordinate that is recorded a little 2, is recorded a little eight points in upper and lower, left and right, upper left, lower-left, upper right, bottom right of 2; If the part point in finding around in testing process at adjacent 8 is put 1 o'clock for touch sensible, be that the touch intensity of these points is during higher than predefined reference value, these touch sensible points 1 are labeled as and are recorded a little 2, these are recorded to a little 2 coordinate and store successively in the follow-up register of register array 8, continue circulation step 62; If find in testing process that newfound all being recorded a little in adjacent 8 of 2 surrounding all do not have touch sensible point 1 in upper once circulation step, only have no touch point 0 and be recorded a little 2, circulation step 62 end; Described the second scanning step finishes.As shown in Figure 2, the precondition Shi You touch point 1 that circulation step 62 circulates; And circulation step 62 finishes, the precondition that enters coordinate calculation procedure 7 is newfound all adjacent 8 no touch points 1 all of 2 surrounding that are recorded a little in upper once circulation.
For the process of the second scanning step 6 is better described, Fig. 3 shows an embodiment of the second scanning step 6.Fig. 3 is divided into a-f six parts.Fig. 3 a is shown in the first scanning step 5, and the touch sensible point that touch intensity is greater than to predefined reference value is labeled as 1.In the initial step 61 of the second scanning step, will be wherein any one touch sensible point 1 be labeled as and be recorded a little 2, record the coordinate (x1 of this point, y1) in register array 8, circulation step starts subsequently, scans this and is recorded a little 2 (x1, y1) 8 points around, as shown in Figure 3 b.When scanning around at 8, have when touching touch sensibles that intensity is greater than predefined reference value and putting 1, as shown in Figure 3 c, these two touch sensible points 1 are labeled as and are recorded a little 2, these are recorded to a little 2 coordinate (x2, y2), (x3, y3) record in register array 8, continue circulation step 62, scan this be recorded a little 2 around adjacent 8 points.In Fig. 3 d, what in scintigram 3c, be newly marked is recorded a little 2 (x2, y2) adjacent 8 points around, has judged whether touch sensible point 1.In Fig. 3 e, the touch sensible point 1 of again finding is labeled as and is recorded a little 2, by this point coordinate (x4, y4) record in register array 8, in scintigram 3c, another is labeled out again is recorded a little 2 (x3, y3), continue circulation step 62, scan this be recorded a little 2 around adjacent 8 points.In Fig. 3 f, scanning is newly marked in Fig. 3 e is recorded a little 2 (x4, y4) adjacent 8 points around, find to be only marked as 0 no touch point and be recorded a little 2, and there is no touch sensible point 1, because the last time circulates and is newfoundly recorded a little 2 and only has 2 (x4, y4), be that in last circulation step, newfound all being recorded a little in adjacent 8 of 2 surrounding all do not have touch sensible point 1, at this moment circulation step 62 finishes, and the second scanning step 6 finishes.
In circulation step 62 in the second scanning step 6, to be recorded a little around 2 the method for adjacent 8 can be the clockwise scanning being recorded a little centered by 2 in scanning one by one, also can be counterclockwise scanning, can be also other orders, so long as unduplicated scanning sequency is just passable one by one.
Coordinate calculation procedure 7 is: utilize in the second scanning step 6, to be stored in all in register array 8 and to be recorded some the coordinate xy drawing and the corresponding relation that touches intensity c in 2 coordinate and the first scanning step 5, this corresponding relation as shown in Figure 1, coordinate scanning step 7 calculates the coordinate that touches central point by algorithm, Weighted Average Algorithm for example, touches the coordinate of center XY:
X=∑(c*x)/∑c
Y=∑(c*y)/∑c
Wherein ∑ c represent all be recorded a little 2 touch intensity c's and; ∑ (c*x) represent all touch intensity c that are recorded a little 2 horizontal ordinate x and this point product and, ∑ (c*y) represent all touch intensity c that are recorded a little 2 ordinate y and this point product with.
Touch coordinate detection method based on mutual capacitance touchscreens provided by the invention, in the time of can being all greater than predefined reference value in the touch intensity of a plurality of coordinates that close on mutually on mutual capacitance touchscreens, draws the coordinate position that touches central point accurately.
It should be noted that, above embodiment just, for clear succinct explanation, is not limited to fixing method, and the initial analyzing spot in the second scanning step in embodiment described in simple transformation only for example, within obviously also dropping on protection scope of the present invention.
Above-described is only the preferred embodiments of the present invention; described embodiment is not in order to limit scope of patent protection of the present invention; therefore the equivalent structure that every utilization instructions of the present invention and accompanying drawing content are done changes, and in like manner all should be included in protection scope of the present invention.

Claims (3)

1. the touch coordinate detection method based on mutual capacitance touchscreens;
Described mutual capacitance touchscreens (4) comprises column electrode string and the row electrode array crossing one another, according to the crossover location of described column electrode string and row electrode array, the surface of described mutual capacitance touchscreens (4) is divided into equal-sized subregion, and these subregions are matrix and arrange; On described mutual capacitance touchscreens (4), can store in addition the also register array (8) of sense data; The touch coordinate detection method of described mutual capacitance touchscreens comprises the first scanning step (5), the second scanning step (6), coordinate calculation procedure (7);
Described the first scanning step (5) is: successively to each column electrode string transmitting detection signal, near the touch intensity c of the subregion crossover location of the row electrode on each row electrode array that detection and this column electrode string intersect one by one, judged whether touch, after a column electrode string detects, then detect next line electrode array, until detected the every sub regions on touch-screen, and record the coordinate xy of every sub regions and the corresponding relation of touch intensity c; Described coordinate xy is defined at mutual capacitance touchscreens Shang position y and x by this column electrode string and the row electrode array intersecting, and described touch intensity c is the changing value that detects this mutual capacitance causing due to touch; After detection, by touching the subregion of intensity higher than predefined reference value, be labeled as touch sensible point (1), all the other subregions are labeled as no touch point (0);
Described the second scanning step (6) comprises initial step (61), circulation step (62); Described initial step (61), from any one touch sensible point (1), is labeled as this touch sensible point to be recorded point (2), and the coordinate record that this is recorded to point (2) enters described register array (8); Described circulation step (62), for detecting one by one to be subsequently recorded other eight consecutive point of the well word grid centered by the coordinate of point (2), is recorded eight points in upper and lower, left and right, upper left, lower-left, upper right, bottom right of point (2); When if the part point around finding in testing process in adjacent 8 is touch sensible point (1), be that the touch intensity of these points is during higher than predefined reference value, these touch sensible points (1) are labeled as and are recorded point (2), the coordinate record that these are recorded to point (2) enters described register array (8), continues circulation step (62); If found in testing process in last circulation, in adjacent 8 of detected all surroundings that are recorded point (2), all there is no touch sensible point (1), only have no touch point (0) and be recorded point (2), circulation step (62) finishes; Described the second scanning step (6) finishes;
Described coordinate calculation procedure (7) is: utilize in the second scanning step (6), to be stored in all in register array (8) and to be recorded the coordinate xy drawing and the corresponding relation that touches intensity c in the coordinate of point (2) and described the first scanning step (5), draw all coordinate of point (2) and corresponding touch intensity of being recorded, by calculating the coordinate that touches central point.
2. the touch coordinate detection method based on mutual capacitance touchscreens as claimed in claim 1, it is characterized in that: in the circulation step (62) of described the second scanning step (6), to being recorded the detection one by one of adjacent 8 of the surrounding of point (2), be according to centered by being recorded a little, clockwise direction or counterclockwise detect.
3. the touch coordinate detection method based on mutual capacitance touchscreens as claimed in claim 1, it is characterized in that: in described coordinate calculation procedure (7), utilizing all coordinate xy that are recorded point (2) is Weighted Average Algorithm with the method that touch intensity c calculates touch center point coordinate XY,
X=∑(c*x)/∑c
Y=∑(c*y)/∑c
Wherein ∑ c represent all touch intensity that are recorded point (2) and;
∑ (c*x) represent all products that are recorded the horizontal ordinate x of point (2) and the touch intensity c of this point and, ∑ (c*y) represent all products that are recorded the ordinate y of point (2) and the touch intensity c of this point with.
CN201210212937.6A 2012-06-26 2012-06-26 A kind of touch coordinate detection method based on mutual capacitance touchscreens Active CN103513835B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210212937.6A CN103513835B (en) 2012-06-26 2012-06-26 A kind of touch coordinate detection method based on mutual capacitance touchscreens

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210212937.6A CN103513835B (en) 2012-06-26 2012-06-26 A kind of touch coordinate detection method based on mutual capacitance touchscreens

Publications (2)

Publication Number Publication Date
CN103513835A true CN103513835A (en) 2014-01-15
CN103513835B CN103513835B (en) 2016-06-29

Family

ID=49896676

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210212937.6A Active CN103513835B (en) 2012-06-26 2012-06-26 A kind of touch coordinate detection method based on mutual capacitance touchscreens

Country Status (1)

Country Link
CN (1) CN103513835B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117049A (en) * 2014-05-07 2015-12-02 禾瑞亚科技股份有限公司 Touch sensitive information transmission method, processor and system
CN105204676A (en) * 2014-06-27 2015-12-30 联想(北京)有限公司 Input method and electronic device
CN105808019A (en) * 2014-12-31 2016-07-27 鸿合科技有限公司 Method for detecting touch point coordinates of infrared touch screens
JP2019109663A (en) * 2017-12-18 2019-07-04 Smk株式会社 Method for detecting input position of touch panel
CN111414118A (en) * 2019-01-08 2020-07-14 敦泰电子有限公司 Touch center calculation method, touch system and touch device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004227233A (en) * 2003-01-22 2004-08-12 Fuji Photo Film Co Ltd Touch panel device
CN101387927A (en) * 2008-11-04 2009-03-18 友达光电股份有限公司 Touch control detecting method of touch control panel
CN101882027A (en) * 2010-07-16 2010-11-10 友达光电股份有限公司 Detecting method of touch point coordinate

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004227233A (en) * 2003-01-22 2004-08-12 Fuji Photo Film Co Ltd Touch panel device
CN101387927A (en) * 2008-11-04 2009-03-18 友达光电股份有限公司 Touch control detecting method of touch control panel
CN101882027A (en) * 2010-07-16 2010-11-10 友达光电股份有限公司 Detecting method of touch point coordinate

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105117049A (en) * 2014-05-07 2015-12-02 禾瑞亚科技股份有限公司 Touch sensitive information transmission method, processor and system
CN105117049B (en) * 2014-05-07 2019-09-03 禾瑞亚科技股份有限公司 Touch information transfer approach, processor and system
CN105204676A (en) * 2014-06-27 2015-12-30 联想(北京)有限公司 Input method and electronic device
CN105204676B (en) * 2014-06-27 2018-08-07 联想(北京)有限公司 Input method and electronic equipment
CN105808019A (en) * 2014-12-31 2016-07-27 鸿合科技有限公司 Method for detecting touch point coordinates of infrared touch screens
CN105808019B (en) * 2014-12-31 2020-06-23 鸿合科技股份有限公司 Contact coordinate detection method for infrared touch screen
JP2019109663A (en) * 2017-12-18 2019-07-04 Smk株式会社 Method for detecting input position of touch panel
CN111414118A (en) * 2019-01-08 2020-07-14 敦泰电子有限公司 Touch center calculation method, touch system and touch device

Also Published As

Publication number Publication date
CN103513835B (en) 2016-06-29

Similar Documents

Publication Publication Date Title
US9207822B1 (en) Contact identification and tracking on a capacitance sensing array
US9164640B2 (en) Barrier electrode driven by an excitation signal
US9552095B2 (en) Touch screen controller and method for controlling thereof
US9588621B2 (en) Touch screen controller and method for controlling thereof
CN102023768B (en) A touch contact positioning method, system and video display terminal
US8982097B1 (en) Water rejection and wet finger tracking algorithms for truetouch panels and self capacitance touch sensors
US8872526B1 (en) Interleaving sense elements of a capacitive-sense array
US8842091B2 (en) Two-dimensional touch panel
US8659557B2 (en) Touch finding method and apparatus
EP3196741A1 (en) Touch screen and touch positioning method therefor, and display device
KR101521337B1 (en) Detection of gesture orientation on repositionable touch surface
US9395841B2 (en) Touch screen controller and method for controlling the same
CN107168596B (en) Scanning method of capacitive touch screen and capacitive touch screen
US9594462B2 (en) Uniform signals from non-uniform patterns of electrodes
JP2015032235A (en) Touch detection circuit, touch detection method, and electronic apparatus
CN103513835B (en) A kind of touch coordinate detection method based on mutual capacitance touchscreens
US20160041645A1 (en) Touchscreen device, method of sensing touch interaction, method of generating driving signals, and method of creating driving matrix
TW201314540A (en) System and methods for detecting multiple touch points in surface-capacitance type touch panels
CN103927042A (en) Touch point positioning method and device and electronic device
KR102380939B1 (en) Touch screen for detecting touch coordinate of long distance hovering
CN101937278A (en) Touch panel for asymmetric conductive patterns, related device and method thereof
CN103576997A (en) Method for touch identification of surface capacitance type touch panel
US9164674B2 (en) Three-dimensional gesture recognition system, circuit, and method for a touch screen
CN103902079A (en) Information processing method and electronic device
CN103092451A (en) Touch screen scanning method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant