CN104699358A - Method for separating data of two close fingers in touch of capacitive screen - Google Patents

Method for separating data of two close fingers in touch of capacitive screen Download PDF

Info

Publication number
CN104699358A
CN104699358A CN201510154788.6A CN201510154788A CN104699358A CN 104699358 A CN104699358 A CN 104699358A CN 201510154788 A CN201510154788 A CN 201510154788A CN 104699358 A CN104699358 A CN 104699358A
Authority
CN
China
Prior art keywords
data
finger
scale factor
touch
valley
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.)
Pending
Application number
CN201510154788.6A
Other languages
Chinese (zh)
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.)
NANJING TRUECOREINC MICROELECTRONIC Co Ltd
Original Assignee
NANJING TRUECOREINC MICROELECTRONIC 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 NANJING TRUECOREINC MICROELECTRONIC Co Ltd filed Critical NANJING TRUECOREINC MICROELECTRONIC Co Ltd
Priority to CN201510154788.6A priority Critical patent/CN104699358A/en
Publication of CN104699358A publication Critical patent/CN104699358A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a method for separating data of two close fingers in touch of a capacitive screen. The method includes: according to peak-to-valley value data in basic recognition data acquired by the capacitive screen, judging whether current data are the data of the two fingers connected closely or not; segmenting valley values to split the current data into data of two finger points; according to a single-finger recognition algorithm, recognizing finger point coordinates corresponding to the current data; transmitting data of the finger point coordinates to an upper computer. By adoption of the method for separating data of the two close fingers in touch of the capacitive screen, common sensing data of the two close fingers are more reasonably distributed to corresponding adjacent finger data areas to provide a more reasonable scheme, and accordingly finger recognition performance under the condition of close adjacency of the two fingers is improved.

Description

Compact during a kind of capacitance plate touches two finger data separation method
Technical field
The invention discloses during a kind of capacitance plate touches two finger data separation method that compacts, relate to electronic technology data processing field.
Background technology
Capacitance touch screen is widely used in the industrial circle such as mobile phone and panel computer at present, and such as, concerning a display resolution is the equipment of 800*480, the actual sensed haptic element of its capacitance plate is little, remembers that it is M*N (such as 15*10) at this.The data matrix that sensed data will be formed as shown in Figure 1.Based on the data sampling of above-mentioned diagram (resolution is 15*10), by certain algorithm, after can calculating, be mapped to the data point (accurately pointing a little) in another resolution territory (such as 800*480).
As shown in Figure 2, be finger touch at touch-screen close to Data Representation during middle position.In the real data of this frame of Fig. 2, can find out that D (6,5)=232 is basic central points (data maximum point) that finger occurs.But finger point position needs periphery sensed data to participate in calculating more accurately, i.e. the participation of the sensed data of so-called nearly extreme point, because sense data point is at a distance noise substantially, does not need to participate in this computation process.
Can identify multiple finger as the feature that mutual capacitance touchscreens one is very large simultaneously, obviously when two finger touch simultaneously on the touchscreen face time, touch sensible data clearly can demonstrate the position that two are pointed face on the touchscreen, generally speaking, are illustrated in fig. 3 shown below.As we can see from the figure, two finger points, in its touch sensible Data Representation, demonstrate separability clearly, this is because finger is distant from obtaining, thus peak-data does not link together.There is obvious noise region between extreme point due to two local, thus be easy to algorithm, two finger data be separated.But, when two fingers are more and more close time, the data separating work of this adjacent finger just more and more difficulty do.
(1) if having two or more sense data point between Local Extremum corresponding to two finger touch, still can be easier to separately, give two corresponding fingers because two of a centre non-extreme point can be equal to;
(2) distance between two fingers more and more nearer (the two fingers compacted), to such an extent as between Local Extremum corresponding to two finger touch, only have a common sense data point (being commonly called as " valley "), as shown in Figure 4, the data " 555 " wherein in overstriking square frame and " 511 " are respectively from the induction of two fingers.The source of this common sense data point is the interactive result of two finger touch.This common sense data point can be assigned to adjacent Liang Ge finger data district by a variety of method, for the identification of adjacent two fingers provides data.
The method of distributing this common sense data point mainly contains:
(A) 100% be equivalently assigned to two data areas pointed, namely total head participates in the coordinate points calculating of two fingers, and this is method the most common at present;
(B) calculate by equivalent but that the mode of non-total head (such as 75% or 50%) participates in two fingers coordinate points, this is also always relatively reasonable method;
(C) this data point of distribution of non-equivalence is to the data area of adjacent two fingers, participate in the coordinate points calculating of two fingers, but how non-equivalence distributes, and needs the difference based on network system realization and has very big-difference.
(3) distance between two fingers is closer again, to such an extent as to there is no common sense data point between Local Extremum corresponding to two finger touch, namely Local Extremum is completely connected, at this time both hands refer to it is that None-identified becomes two fingers, because in fact at this time corresponding sensed data district only has an extreme point (or two equivalent extreme points, this situation is very rare), a single finger can only be identified as.
Summary of the invention
Technical matters to be solved by this invention is: for the defect of prior art, and compact in providing a kind of capacitance plate to touch two finger data separation method, solves following problems:
(1) the actual sensed data of the result that obtains of simple part equivalence distribution algorithm and finger have larger ambiguity, thus bring the nonlinear distortion of the finger coordinate (X, Y) finally calculated;
(2) simple congruence value allocation algorithm will provide middle the valley larger than actual value, thus make the finger coordinate (X, Y) finally calculated occur distortion, and obvious impact is that distance between the finger coordinate that makes to identify diminishes;
The present invention is for solving the problems of the technologies described above by the following technical solutions:
Compact during a kind of capacitance plate touches two finger data separation method, and concrete steps comprise:
Peak-to-valley value data in the basic identification data that step one, foundation capacitance plate gather, judge whether current data is the two finger data linked together of compacting, if current data is the two finger data linked together of compacting, enters step 2 and be for further processing; If current data is not the two finger data linked together of compacting, directly enter step 3;
Step 2, segmentation valley data, split into the data of two finger points by current data;
Step 3, refer to recognizer according to one hand, identify the finger point coordinate that current data is corresponding;
Step 4, to host computer transmission finger point coordinate data.
As present invention further optimization scheme, the detailed process of described step 2 comprises:
Setting D1 is first finger A when touching, extreme point corresponding in its sensed data matrix, and D3 is second finger B in the same time when touching, the extreme point in corresponding sensed data matrix, and D2 is the valleies between two finger extreme values;
201, scale factor one is calculated:
According to the scale effect principle of extreme point, draw one group of scale factor:
RA 11 = D 1 D 1 + D 3 - - - ( 1 )
RA 21 = D 3 D 1 + D 3 - - - ( 2 )
202, scale factor two is calculated:
Set with the finger secondary lobe corresponding to D2 according to secondary lobe influence value proportionality principle to be D0, D4, to draw second group of scale factor:
RA 12 = D 4 D 0 + D 4 - - - ( 3 )
RA 22 = D 0 D 0 + D 4 - - - ( 4 )
203, the comparative example factor two is revised, and is normalized:
D 0 ′ = D 0 D 1 - - - ( 5 )
D 4 ′ = D 4 D 3 - - - ( 6 )
D0 ˊ, D4 ˊ in use formula (5), (6) replace D0 and D4 in formula (3), (4) respectively, obtain new scale factor two:
RA 12 = D 4 / D 3 D 0 / D 1 + D 4 / D 3 - - - ( 7 )
RA 22 = D 0 / D 1 D 0 / D 1 + D 4 / D 3 - - - ( 8 )
204, scale factor normalization, above-mentioned two groups of scale factors have following relation:
RA11+RA21=1 (9)
RA12+RA22=1 (10)
Algorithm for design:
RA1=RA11+RA12 (11)
RA2=RA21+RA22 (12)
RF1=RA1/Max(RA1,RA2) (14)
RF2=RA2/Max(RA1,RA2) (15)
Wherein, the implication of function Max (X1, X2) is:
Max (X1, X2)=X1, if X1 is greater than X2 (16)
Max (X1, X2)=X2, if X1 is less than X2 (17)
By revising, new scale factor RF1 and RF2 is all less than or equal to 1;
205, according to scale factor RF1 and RF2 obtained, in the ratio of regulation, valley sensed data D2 is assigned to corresponding finger data and concentrates:
D21=D2*RF1*K (18)
D22=D2*RF2*K (19)
Wherein, K is the fixed proportion factor being less than or equal to 1, is adjusted by the actual conditions of system;
206, according to the sensed data D21 that valley distributes, D22, two finger coordinate position datas are calculated:
1) according to D0, D1, D21, the coordinate position of first finger A is calculated;
2) according to D22, D3, D4, the coordinate position data of second finger B is calculated.
As present invention further optimization scheme, set data D0 to D4 is one-dimensional data, is the result that the actual 2-D data corresponding to it maps on X-axis, Y-axis, 45 ° of axles or 135 ° of axles.
The present invention adopts above technical scheme compared with prior art, there is following technique effect: the present invention is directed to the common sense data point that the both hands that compact refer to, a kind of data distributing method of non-equivalence is provided, there is provided more reasonably scheme for the common sensed data referred to by the both hands compacted more reasonably is assigned to corresponding finger adjacent data region, thus improve the finger recognition performance under both hands refer to compact neighbor.
Accompanying drawing explanation
Fig. 1 is basic sensed data list, and wherein, D (i, j) is the i-th row, the data of jth row.
Fig. 2 points by upper touch-screen close to Data Representation schematic diagram during central authorities.
Fig. 3 is that both hands refer to by the Data Representation schematic diagram under general condition during upper touch-screen.
Fig. 4 is that the both hands that compact refer to by Data Representation schematic diagram during upper touch-screen.
Fig. 5 is two the effective raw data method flow diagrams of finger when touching on capacitance plate that compact.
Fig. 6 is the form schematic diagram of two finger data of compacting.
Embodiment
Be described below in detail embodiments of the present invention, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has element that is identical or similar functions from start to finish.Being exemplary below by the embodiment be described with reference to the drawings, only for explaining the present invention, and can not limitation of the present invention being interpreted as.
Below in conjunction with accompanying drawing, technical scheme of the present invention is described in further detail:
The basic procedure of the method for the invention is as shown in Figure 5, its algorithm provides the non-equivalence allocation algorithm of valley, there is provided more reasonably scheme for the common sensed data referred to by the both hands that compact more reasonably is assigned to the adjacent data area of corresponding finger, thus improve the finger recognition performance under both hands refer to compact neighbor.
The method disclosed in the present its be substantially expressed as: in both hands sensed data collection of illustrative plates as shown in Figure 6, when D1 is first finger A touch, extreme point corresponding in its M x N sensed data matrix, when D3 is second finger B touch in the same time, the extreme point in corresponding sensed data matrix.Here show as the data of one dimension, just its 2-D data is in X-axis, or Y-axis, or 45 ° of axles, or the result that 135 ° of axles map above, and this is the necessary process of finger coordinate one of calculating.D2 is the valley between two finger extreme values, and namely this valley induction information derives from A finger, also derives from B finger.So when the position calculating finger A and finger B, the invention provides the method that reasonably uses numerical value D2.
Scale factor one: generally speaking first use general proportionality principle, that is exactly the scale effect principle of extreme point, this principle is that the value of extreme point belonging to finger is larger, it is larger on the impact of middle sense data point, just should assign to the data of more vast scale from the middle valley data point of correspondence, thus obtain one group of scale factor:
RA 11 = D 1 D 1 + D 3 - - - ( 1 )
RA 21 = D 3 D 1 + D 3 - - - ( 2 )
Scale factor two: the present invention also needs the second proportionality principle used to be secondary lobe influence value proportionality principle.With regard to single finger, in one-dimensional data collection of illustrative plates, there are two secondary lobes on finger touch extreme point both sides, and its data have so a kind of feature, if the one-dimensional data after the mapping that d0, d1, d2 are finger touch to be obtained, wherein d1 is extreme point, d0, d2 are secondary lobes, with the action of finger, if d2 becomes large, d0 will diminish, and vice versa.So the sensed data of valley D2 is distributed in Fig. 6, with corresponding finger secondary lobe D0, D4 meets above-mentioned reverse proportionality principle, obtains one group of following scale factor.
RA 12 = D 4 D 0 + D 4 - - - ( 3 )
RA 22 = D 0 D 0 + D 4 - - - ( 4 )
Scale factor two is revised: because the contact area of two finger touch inductions is different, namely induction is different, D0 and D4 in above-mentioned formula, if directly used, can cause certain distortion, need normalization as follows:
D 0 ′ = D 0 D 1 - - - ( 5 )
D 4 ′ = D 4 D 3 - - - ( 6 )
Replace formula (3) and (4) inner D0 and D4 respectively with above-mentioned formula (5) and (6) inner D0 ˊ and D4 ˊ, obtain new scale factor RA12 and RA22.
RA 12 = D 4 / D 3 D 0 / D 1 + D 4 / D 3 - - - ( 7 )
RA 22 = D 0 / D 1 D 0 / D 1 + D 4 / D 3 - - - ( 8 )
Scale factor normalization: these two groups of scale factors have following relation:
RA11+RA21=1 (9)
RA12+RA22=1 (10)
If the simple usage ratio factor and obtain the scale factor of being correlated with:
RA1=RA11+RA12 (11)
RA2=RA21+RA22 (12)
Can obtain from the relation of formula (9) and (10):
RA1+RA2=2 (13)
In formula (13), because RA1 and RA2 is greater than 0, so RA1 or RA2 necessarily has one of them to be greater than 1, or two equal simultaneously 1 situation occur.To the situation equaling 1, namely show as a kind of total head equivalence distribution algorithm; One of them scale factor (no matter RA1 or RA2) is greater than to the situation of 1, usage ratio Factors Weighting can be caused to occur, and the D2 participating in calculating distributes data later, and the unreasonable situation also larger than real data, this must be avoided.In order to avoid this unreasonable, devise following algorithm:
RF1=RA1/Max(RA1,RA2) (14)
RF2=RA2/Max(RA1,RA2) (15)
Max function in above-mentioned formula (14) and (15): Max (X1, X2)
Max (X1, X2)=X1, if X1 is greater than X2 (16)
Max (X1, X2)=X2, if X1 is less than X2 (17)
By the correction of formula (14) and (15), new scale factor RF1 and RF2 can ensure to be not more than 1.
Scale factor uses: after obtaining last scale factor RF1 and RF2, just in the ratio of regulation, valley sensed data D2 can be assigned to corresponding finger data and concentrate:
D21=D2*RF1*K (18)
D22=D2*RF2*K (19)
K value in above-mentioned formula (18) and (19) is the fixed proportion factor being less than or equal to 1, needs to make adjustment according to the situation of real system.
Adjustment data use: in the calculating through above-mentioned formula (18) and (19), obtain the sensed data D21 that last valley distributes, and after D22, can calculate two finger coordinate position datas.
1) according to D0, D1, D21, the coordinate position of first finger A is calculated;
2) according to D22, D3, D4, the coordinate position data of second finger B is calculated.
The present invention acts predominantly in both hands refer to compact and touch on panel, the algorithm policy putting forward more reasonably self-adjusted block is distributed to the value of intermediate data, make in the finger position identification under touch condition of compacting closer to physics physical location, improve the accuracy that finger identifies, and then improve the linear properties pointed and identify.
By reference to the accompanying drawings embodiments of the present invention are explained in detail above, but the present invention is not limited to above-mentioned embodiment, in the ken that those of ordinary skill in the art possess, can also makes a variety of changes under the prerequisite not departing from present inventive concept.The above, it is only preferred embodiment of the present invention, not any pro forma restriction is done to the present invention, although the present invention discloses as above with preferred embodiment, but and be not used to limit the present invention, any those skilled in the art, do not departing within the scope of technical solution of the present invention, make a little change when the technology contents of above-mentioned announcement can be utilized or be modified to the Equivalent embodiments of equivalent variations, in every case be do not depart from technical solution of the present invention content, according to technical spirit of the present invention, within the spirit and principles in the present invention, to any simple amendment that above embodiment is done, equivalent replacement and improvement etc., within the protection domain all still belonging to technical solution of the present invention.

Claims (3)

1. compact in capacitance plate touch a two finger data separation method, and it is characterized in that, concrete steps comprise:
Peak-to-valley value data in the basic identification data that step one, foundation capacitance plate gather, judge whether current data is the two finger data linked together of compacting, if current data is the two finger data linked together of compacting, enters step 2 and be for further processing; If current data is not the two finger data linked together of compacting, directly enter step 3;
Step 2, segmentation valley data, split into the data of two finger points by current data;
Step 3, refer to recognizer according to one hand, identify the finger point coordinate that current data is corresponding;
Step 4, to host computer transmission finger point coordinate data.
2. compact in a kind of capacitance plate touch as claimed in claim 1 two finger data separation method, and it is characterized in that, the detailed process of described step 2 comprises:
Setting D1 is first finger A when touching, extreme point corresponding in its sensed data matrix, and D3 is second finger B in the same time when touching, the extreme point in corresponding sensed data matrix, and D2 is the valleies between two finger extreme values;
201, scale factor one is calculated:
According to the scale effect principle of extreme point, draw one group of scale factor:
RA 11 = D 1 D 1 + D 3 - - - ( 1 )
RA 21 = D 3 D 1 + D 3 - - - ( 2 )
202, scale factor two is calculated:
Set with the finger secondary lobe corresponding to D2 according to secondary lobe influence value proportionality principle to be D0, D4, to draw second group of scale factor:
RA 12 = D 4 D 0 + D 4 - - - ( 3 )
RA 22 = D 0 D 1 + D 4 - - - ( 4 )
203, the comparative example factor two is revised, and is normalized:
D 0 ′ = D 0 D 1 - - - ( 5 )
D 4 ′ = D 4 D 3 - - - ( 6 )
D0 ˊ, D4 ˊ in use formula (5), (6) replace D0 and D4 in formula (3), (4) respectively, obtain new scale factor two:
RA 12 = D 4 / D 3 D 0 / D 1 + D 4 / D 3 - - - ( 7 )
RA 22 = D 0 + D 1 D 0 / D 1 + D 4 / D 3 - - - ( 8 )
204, scale factor normalization, above-mentioned two groups of scale factors have following relation:
RA11+RA21=1 (9)
RA12+RA22=1 (10)
Algorithm for design:
RA1=RA11+RA12 (11)
RA2=RA21+RA22 (12)
RF1=RA1/Max(RA1,RA2) (14)
RF2=RA2/Max(RA1,RA2) (15)
Wherein, the implication of function Max (X1, X2) is:
Max (X1, X2)=X1, if X1 is greater than X2 (16)
Max (X1, X2)=X2, if X1 is less than X2 (17)
By revising, new scale factor RF1 and RF2 is all less than or equal to 1;
205, according to scale factor RF1 and RF2 obtained, in the ratio of regulation, valley sensed data D2 is assigned to corresponding finger data and concentrates:
D21=D2*RF1*K (18)
D22=D2*RF2*K (19)
Wherein, K is the fixed proportion factor being less than or equal to 1, is adjusted by the actual conditions of system;
206, according to the sensed data D21 that valley distributes, D22, two finger coordinate position datas are calculated:
1) according to D0, D1, D21, the coordinate position of first finger A is calculated;
2) according to D22, D3, D4, the coordinate position data of second finger B is calculated.
3. compact in a kind of capacitance plate touch as claimed in claim 2 two finger data separation method, it is characterized in that, set data D0 to D4 is one-dimensional data, is the result that the actual 2-D data corresponding to it maps on X-axis, Y-axis, 45 ° of axles or 135 ° of axles.
CN201510154788.6A 2015-04-02 2015-04-02 Method for separating data of two close fingers in touch of capacitive screen Pending CN104699358A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510154788.6A CN104699358A (en) 2015-04-02 2015-04-02 Method for separating data of two close fingers in touch of capacitive screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510154788.6A CN104699358A (en) 2015-04-02 2015-04-02 Method for separating data of two close fingers in touch of capacitive screen

Publications (1)

Publication Number Publication Date
CN104699358A true CN104699358A (en) 2015-06-10

Family

ID=53346554

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510154788.6A Pending CN104699358A (en) 2015-04-02 2015-04-02 Method for separating data of two close fingers in touch of capacitive screen

Country Status (1)

Country Link
CN (1) CN104699358A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109271069A (en) * 2018-10-29 2019-01-25 深圳市德名利电子有限公司 Second zone lookup method and touch device, mobile terminal based on capacitance touching control

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080158185A1 (en) * 2007-01-03 2008-07-03 Apple Inc. Multi-Touch Input Discrimination
CN102663700A (en) * 2012-04-13 2012-09-12 福州大学 Segmentation method for adhering grain binary image
CN102736806A (en) * 2011-04-14 2012-10-17 义隆电子股份有限公司 Waveform overlapping segmentation method for capacitive touchpad in single direction

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080158185A1 (en) * 2007-01-03 2008-07-03 Apple Inc. Multi-Touch Input Discrimination
CN102736806A (en) * 2011-04-14 2012-10-17 义隆电子股份有限公司 Waveform overlapping segmentation method for capacitive touchpad in single direction
CN102663700A (en) * 2012-04-13 2012-09-12 福州大学 Segmentation method for adhering grain binary image

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109271069A (en) * 2018-10-29 2019-01-25 深圳市德名利电子有限公司 Second zone lookup method and touch device, mobile terminal based on capacitance touching control
CN109271069B (en) * 2018-10-29 2021-06-29 深圳市德明利技术股份有限公司 Secondary area searching method based on capacitive touch, touch device and mobile terminal

Similar Documents

Publication Publication Date Title
CN103365599B (en) Mobile terminal operation optimization method and device based on screen sliding track
CN102156609B (en) Overlap handwriting input method
CN102200834B (en) Television control-oriented finger-mouse interaction method
TWI502458B (en) Method of identifying a liquid object on a touch panel
CN103809880A (en) Man-machine interaction system and method
CN103135832B (en) Calculate the touching seat calibration method on contact panel
US20100328263A1 (en) Resistive touch panel and method for detecting touch point type
CN103226387A (en) Video fingertip positioning method based on Kinect
CN102693025A (en) Touch finger identification method for multi-touch interaction system
CN103530005A (en) Positioning method of touch display panel
CN106203326A (en) A kind of image processing method, device and mobile terminal
US9069419B2 (en) Object positioning for an X-Y projected capacitive touch panel
TWI490764B (en) Hybrid capacitive scan method
CN108595049A (en) A kind of touch control method and device
CN101950232A (en) Calibration method of resistive touch screen
CN104699358A (en) Method for separating data of two close fingers in touch of capacitive screen
CN102023759B (en) Writing and locating method of active pen
CN112433647B (en) Method for acquiring channel mapping matrix data of capacitive touch screen
CN104657487A (en) Licence plate recommendation method and device based on user licence plate querying behavior
CN111488897B (en) Method and device for detecting and identifying touch object
CN103902127B (en) The localization method and capacitive touch screen of touch location on a kind of capacitive touch screen
CN109801428A (en) Detection method, detection device and the terminal of bank note edge line
CN110045868B (en) Touch point correction method based on clustering algorithm, touch device and electronic equipment
CN103530381B (en) A kind of parallel optimization method towards remote sensing image neighborhood processing
US10162468B2 (en) Method and controller for detecting touch or proximity

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned
AD01 Patent right deemed abandoned

Effective date of abandoning: 20180504