CN102339190A - Method for recognizing two-point touch of resistance touch screen on mobile phone - Google Patents

Method for recognizing two-point touch of resistance touch screen on mobile phone Download PDF

Info

Publication number
CN102339190A
CN102339190A CN2010102371239A CN201010237123A CN102339190A CN 102339190 A CN102339190 A CN 102339190A CN 2010102371239 A CN2010102371239 A CN 2010102371239A CN 201010237123 A CN201010237123 A CN 201010237123A CN 102339190 A CN102339190 A CN 102339190A
Authority
CN
China
Prior art keywords
touch
screen
coordinate
touch screen
mobile phone
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
CN2010102371239A
Other languages
Chinese (zh)
Other versions
CN102339190B (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.)
Shanghai Sanqi Communication Technology Co Ltd
Original Assignee
Shanghai Sanqi Communication Technology 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 Shanghai Sanqi Communication Technology Co Ltd filed Critical Shanghai Sanqi Communication Technology Co Ltd
Priority to CN2010102371239A priority Critical patent/CN102339190B/en
Publication of CN102339190A publication Critical patent/CN102339190A/en
Application granted granted Critical
Publication of CN102339190B publication Critical patent/CN102339190B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Position Input By Displaying (AREA)

Abstract

The invention discloses a method for recognizing two-point touch of a resistance touch screen on a mobile phone. By the method, four general purpose input/output (GPIO) interfaces on a processor of the mobile phone can be used for realizing reference voltage and ground input and can be scanned at the same time, and four analog-to-digital converters (ADCs) can be used for inspecting voltage without the increase of cost; and a common resistance touch screen (four wires) with low cost has a two-point touch recognition function. Compared with a multipoint capacitance touch screen, the resistance touch screen has greatly-reduced cost, can have functions of zooming, dragging, rotation and the like of photographs and maps and can provide a low-cost lower-accuracy multipoint experience for a user. The method is easy to realize, makes the cost not increased, is convenient to use, is high in user experience and can be extremely conveniently used by the user.

Description

A kind of method that on mobile phone, realizes 2 touch recognition of electric resistance touch screen
Technical field
This practicality invention relates to electronic device field, relates in particular to a kind of method that on mobile phone, realizes 2 touch recognition of electric resistance touch screen.
Background technology
Touch-screen is as a kind of up-to-date input equipment, and it is the simplest, convenient, natural at present a kind of man-machine interaction mode.It has given multimedia with brand-new looks, is extremely attractive brand-new multimedia interactive equipment.Distinguish touch-screen from know-why, can be divided into five basic kind: vector pressure sensing technology touch-screen, resistive technologies touch-screen, capacitance technology touch-screen, infrared technology touch-screen, surface acoustic wave technique touch-screen.Main resistance-type and the capacitive touch screen of using on mobile phone.
The major part of electric resistance touch screen is a resistance film screen that cooperates very much with display surface; This is a kind of laminated film of multilayer; It with one deck glass or duroplasts flat board as basic unit; The surface scribbles layer of transparent oxidized metal (transparent conductive resistance; General ITO, the indium oxide of adopting) conductive layer is stamped one deck outside surface cure process, smooth anti-friction plastic layer, its inside surface above again and also scribbles one deck coating, between them, has the transparent isolating points of many tiny (less than 1/1000 inches) to separate insulation to two conductive layers.When the finger touch screen, two conductive layers has just had contact in the position, touch point, and resistance changes, and detects different voltages on X and the Y both direction, just can calculate that (X, position Y) is with reference to figure 1.
The capacitance technology touch-screen is to utilize the induction by current of human body to carry out work.It is four layers of compound glass screen; The inside surface of glass screen and interlayer respectively scribble one deck ITO (indium oxide), and outermost layer is a skim silicon soil glassivation, and interlayer ITO coating is as workplace; Draw four electrodes on four angles, internal layer ITO is that screen layer is to guarantee good working environment.When finger touch was on metal level, because people's bulk electric field, user and touch screen surface formed with a coupling capacitance, and for high-frequency current, electric capacity is direct conductor, so finger siphons away a very little electric current from contact point.This electric current divides the electrode on four jiaos from touch-screen and flows out, and the electric current of these four electrodes of flowing through is directly proportional with the distance of pointing four jiaos, and controller passes through the accurate Calculation to these four current ratios, draws touch point position.
Electric resistance touch screen is owing to dependable performance, and precision is high, and cost is low, has a wide range of applications in field of mobile phones at present.Capacitance touch screen has improved the experience of man-machine interaction greatly owing to support multiple point touching in the mobile phones design of a new generation, obtain user's approval, but cost is high, and it is low to produce yield, has hindered the application of capacitance touch screen greatly.Present multiple point touching implementation mainly contains:
1. the hardware using capacitance plate is realized multiple point touching through software.Advantage is highly sensitive, stable performance, and counting of support can be satisfied absolute major applications demand; Shortcoming is that cost is high, complex manufacturing, and also there is patent protection in Apple.
2. hardware using numeral resistance screen is actually with the material of resistance screen and makes a transparent keyboard matrix, judges the point of being pressed through rank scanning.Advantage is that price comparison is cheap, dependable performance, supported counting at most; Deficiency is to need many ranks line interfaces, can not realize handwriting functions, in multiple spot identification, has the blind area.
3. hardware using artifical resistance screen goes out multiple point touching through computed in software in special chip.Advantage is to support multiple point touching, keeps handwriting functions again, does not increase cost; Shortcoming is that counting of support is minimum, and performance and stability wait checking.
The present invention adopts cheaply on the four-wire ohm touch-screen, do not increase hardware cost, realizes 2 touch recognition.
Summary of the invention
To the deficiency of prior art, the object of the invention is to provide a kind of method that on mobile phone, realizes 2 touch recognition of electric resistance touch screen.
Of Fig. 5 is 2 of the touch-screens equivalent operating circuit model when touching, X +, X -And Y +, Y -Two conduction workplaces of expression touch-screen, R X1, R X2, R X3And R Y1, R Y2, R Y3The grading resistance that produces on X, the Y workplace when expression touches respectively.K1, K2 represent to press the position of touch-screen.R Z1, R Z2Resistance when representing 2 contacts.The method that realizes 2 touch recognition is following:
Press first contact, produces to interrupt, and begins to calculate first point coordinate.
GPIO1 exports high level, the GPIO2 output low level, and measuring voltage calculates first X1 coordinate.
GPIO3 exports high level, the GPIO4 output low level, and measuring voltage calculates first Y1 coordinate.
Press second contact, begins to calculate second point coordinate.
GPIO1 exports high level, the GPIO2 output low level, and measuring voltage calculates second X2 coordinate.
GPIO3 exports high level, the GPIO4 output low level, and measuring voltage calculates second Y2 coordinate.
The present invention utilizes 4 GPIO mouths (the general input and output of General PurposeInput/Output on the handset processes device; Be called for short the IO mouth) realization reference voltage and ground input; Can scan simultaneously, use 4 ADC (Analog-to-Digital Converter analog to digital converter) to carry out the detection of voltage.
Description of drawings
Fig. 1 is an electric resistance touch screen principle schematic of the present invention;
Fig. 2 is an electric resistance touch screen single-point identification synoptic diagram of the present invention;
Fig. 3 is another embodiment synoptic diagram of electric resistance touch screen single-point identification of the present invention;
Fig. 4 is a bow and beam bearings synoptic diagram of the present invention;
Fig. 5 is 2 identification of electric resistance touch screen of the present invention synoptic diagram.
Embodiment
Like Fig. 2, shown in Figure 3, the equivalent-circuit model of touch-screen work, X +, X -And Y +, Y -Two conduction workplaces of expression touch-screen, R X1, R X2And R Y1, R Y2The grading resistance that produces on X, the Y workplace when expression touches respectively.Fig. 2 is at X +, X -On add reference voltage, on ADC3, measure dividing potential drop, Fig. 3 is at Y +, Y -On add reference voltage, on ADC1, measure dividing potential drop.More than two steps form a measuring period, can calculate one group of X, Y coordinate.ADC1~4 measured voltage are V1~V4, and the width of touch-screen and length are respectively W and L, use the X that value method calculates, the coordinate figure of Y to be so:
X = V 3 - V 2 V 1 - V 2 × L
Y = V 1 - V 4 V 3 - V 4 × W
If the employing bow and beam bearings improves measuring accuracy, and is as shown in Figure 4, ABCD is the coordinate points on four summits of the corresponding LCD of touch-screen, and this 4 point of striking obtains four groups of coordinate figures: (X respectively a, Y a), (X b, Y b), (X c, Y c), (X d, Y d).Calculate touch screen center point coordinate (X 0, Y 0) do
X 0 = X a + X b + X c + X d 4
Y 0 = Y a + Y b + Y c + Y d 4
If Δ X=X b-X a+ X d-X c, Δ Y=Y b-Y a+ Y d-Y c, finally can get contact coordinate:
X = V 3 - V 2 - X 0 ΔX × L + L 2
Y = V 1 - V 4 - X 0 ΔY × W + W 2
Adopt bow and beam bearings, resulting contact coordinate is more accurate.
When 2 of touch-screens touch, as shown in Figure 5, the equivalent-circuit model when 2 of touch-screens touch, X +, X -And Y +, Y -2 conduction workplaces of expression touch-screen, R X1, R X2, R X3And R Y1, R Y2, R Y3The grading resistance that produces on X, the Y workplace when expression touches respectively.K1, K2 represent to press the position of touch-screen.R Z1, R Z2Resistance when representing 2 contacts.
Suppose GPIO1 output high level, the GPIO2 output low level, ADC1 when single-point is pressed~4 measured voltage are V1_1~V4_1, ADC1 when pressing for 2~4 measured voltage are V1_2~V4_2.Relation below above voltage satisfies:
V 3 _ 1 = V 4 _ 1 = ( V 1 _ 1 - V 2 _ 1 ) × ( R x 1 + R x 2 ) R x 1 + R x 2 + R x 3 ;
V1_1-V2_1≥V1_2-V2_2
Introduce three new argument L1, L2, L3 now, represent the touch-screen width with the label equivalent resistance respectively, it is wide that three's summation equals touch-screen.Also introducing a restrictive condition according to reality in addition, when being pressed, as long as the program detection speed is enough fast, for program, just do not have situation about pressing simultaneously at 2, all is to press successively or unclamp all the time.
There is not any problem for the single-point position Detection; We handle 2 situation now, and in conjunction with the restrictive condition that introduce the front, in the middle of program can detect being arranged a bit of time is that single-point is pressed; Just program detects K1 earlier and presses, and just detects K2 through a bit of time and presses.This pilot process can accurately obtain the K1 position, if the proportionate relationship that we change before and after utilizing just can calculate the position that back K2 presses.
K1 presses separately:
L=L1+L2+L3
L 1 = V 1 _ 1 - V 3 _ 1 V 1 _ 1 - V 2 _ 1 × ( L 1 + L 2 + L 3 )
K1 and K2 press simultaneously and (ignore R Z1, R Z2Influence):
V 1 _ 2 - V 3 _ 2 L 1 = V 4 _ 2 - V 2 _ 2 L 3
Because L1+L2+L3 is the width L of known conditions touch-screen, so have:
L 3 = V 4 _ 2 - V 2 _ 2 V 1 _ 2 - V 3 _ 1 × L 1 ;
L 3 = V 4 _ 2 - V 2 _ 2 V 1 _ 2 - V 3 _ 2 × V 1 _ 1 - V 3 _ 1 V 1 _ 1 - V 2 _ 1 × L
X=L-L3
To here we obtained by 2 particular location, as long as we handle respectively X and the Y axle of touch-screen according to the method, just can be on conventional, electric-resistance be shielded the detection of 2 touch locations of realization.
Performing step is following:
Press first contact, produces to interrupt, and begins to calculate first point coordinate.
GPIO1 exports high level, the GPIO2 output low level, and measuring voltage calculates first X1 coordinate.
GPIO3 exports high level, the GPIO4 output low level, and measuring voltage calculates first Y1 coordinate.
Press second contact, begins to calculate second point coordinate.
GPIO1 exports high level, the GPIO2 output low level, and measuring voltage calculates second X2 coordinate.
GPIO3 exports high level, the GPIO4 output low level, and measuring voltage calculates second Y2 coordinate.

Claims (3)

1. method that on mobile phone, realizes 2 touch recognition of electric resistance touch screen, the equivalent operating circuit model when 2 of touch-screens touch, X +, X -And Y +, Y -Two conduction workplaces of expression touch-screen, R X1, R X2, R X3And R Y1, R Y2, R Y3The grading resistance that produces on X, the Y workplace when expression touches respectively, K1, K2 represent to press the position of touch-screen, R Z1, R Z2Resistance when representing 2 contacts, it is characterized in that: the method for 2 touch recognition of described realization is following:
Press first contact, produces to interrupt, and begins to calculate first point coordinate;
GPIO1 exports high level, the GPIO2 output low level, and measuring voltage calculates first X1 coordinate;
GPIO3 exports high level, the GPIO4 output low level, and measuring voltage calculates first Y1 coordinate;
Press second contact, begins to calculate second point coordinate;
GPIO1 exports high level, the GPIO2 output low level, and measuring voltage calculates second X2 coordinate;
GPIO3 exports high level, the GPIO4 output low level, and measuring voltage calculates second Y2 coordinate.
2. a kind of method that on mobile phone, realizes 2 touch recognition of electric resistance touch screen according to claim 1 is characterized in that: described 4 ADC analog to digital converters that utilize on the handset processes device, ADC also can be used as general input and output simultaneously.
3. a kind of method that on mobile phone, realizes 2 touch recognition of electric resistance touch screen according to claim 1; It is characterized in that: 4 GPIO effected of described use reference voltage and ground input; Can scan simultaneously, use 4 ADC to carry out the inspection of voltage.
CN2010102371239A 2010-07-27 2010-07-27 Method for recognizing two-point touch of resistance touch screen on mobile phone Active CN102339190B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102371239A CN102339190B (en) 2010-07-27 2010-07-27 Method for recognizing two-point touch of resistance touch screen on mobile phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102371239A CN102339190B (en) 2010-07-27 2010-07-27 Method for recognizing two-point touch of resistance touch screen on mobile phone

Publications (2)

Publication Number Publication Date
CN102339190A true CN102339190A (en) 2012-02-01
CN102339190B CN102339190B (en) 2013-11-27

Family

ID=45514946

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102371239A Active CN102339190B (en) 2010-07-27 2010-07-27 Method for recognizing two-point touch of resistance touch screen on mobile phone

Country Status (1)

Country Link
CN (1) CN102339190B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102591546A (en) * 2012-02-02 2012-07-18 袁海滨 Method for recognizing multi-touch gesture on four-wire resistive touch screen of electronic equipment
CN103294326A (en) * 2012-03-02 2013-09-11 安凯(广州)微电子技术有限公司 Resistance-type touch screen circuit and two-contact touch application method based on resistance-type touch screen
CN103412699A (en) * 2013-06-28 2013-11-27 北京君正集成电路股份有限公司 Method for two-point control gesture recognition of four-wire resistance touch screen

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101373416A (en) * 2007-08-23 2009-02-25 介面光电股份有限公司 Resistance type touching control panel controller structure and method for discriminating and operating multi-point coordinates
CN101702110A (en) * 2009-11-25 2010-05-05 松翰科技股份有限公司 Method for detecting multi-touch of resistive touch pad
CN101739188A (en) * 2008-11-14 2010-06-16 胜华科技股份有限公司 Multi-touch resistance-type touch panel and method for detecting multiple pointing sticks

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101373416A (en) * 2007-08-23 2009-02-25 介面光电股份有限公司 Resistance type touching control panel controller structure and method for discriminating and operating multi-point coordinates
CN101739188A (en) * 2008-11-14 2010-06-16 胜华科技股份有限公司 Multi-touch resistance-type touch panel and method for detecting multiple pointing sticks
CN101702110A (en) * 2009-11-25 2010-05-05 松翰科技股份有限公司 Method for detecting multi-touch of resistive touch pad

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102591546A (en) * 2012-02-02 2012-07-18 袁海滨 Method for recognizing multi-touch gesture on four-wire resistive touch screen of electronic equipment
CN103294326A (en) * 2012-03-02 2013-09-11 安凯(广州)微电子技术有限公司 Resistance-type touch screen circuit and two-contact touch application method based on resistance-type touch screen
CN103412699A (en) * 2013-06-28 2013-11-27 北京君正集成电路股份有限公司 Method for two-point control gesture recognition of four-wire resistance touch screen
CN103412699B (en) * 2013-06-28 2017-02-15 北京君正集成电路股份有限公司 Method for two-point control gesture recognition of four-wire resistance touch screen

Also Published As

Publication number Publication date
CN102339190B (en) 2013-11-27

Similar Documents

Publication Publication Date Title
CN101329608B (en) Touch screen input method
CN101414236B (en) On-screen input image display system
US20150070297A1 (en) Control method for touch panel
US20110210934A1 (en) Touch panel, and input device including the same
CN102929422A (en) Force sensing capacitive hybrid touch sensor
US20120105325A1 (en) Capacitive finger navigation input device
US9547030B2 (en) Method of recognizing touch
US8624865B2 (en) Device for improving the accuracy of the touch point on a touch panel and a method thereof
CN202003335U (en) Electronic device and touch screen thereof
JP5373134B2 (en) Touch panel structure and position detection method selection method
US9612704B2 (en) Apparatus and method for sensing touch
US9329740B2 (en) Method of recognizing touch
CN105308541A (en) Field-line repeater (FLR) structure of a sense array
CN102306064A (en) Touch screen control device and control method thereof
CN101615090B (en) Method and device for detecting touch signal
CN102339190B (en) Method for recognizing two-point touch of resistance touch screen on mobile phone
CN201876858U (en) Double-sided staggered capacitive touch screen
CN102830885A (en) Component of capacitive touch screen sensor
CN201757891U (en) High light penetration type capacitor touch-screen
CN202815804U (en) Structure of capacitive touch screen sensor
CN201837985U (en) Dual-sided straight strip-shaped capacitive touch screen
CN202306495U (en) Touch screen control device
CN210072549U (en) Cursor control keyboard
CN101853117A (en) Touch panel and touch input device using same
CN102830884A (en) Capacitive touch screen sensor

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
C56 Change in the name or address of the patentee
CP02 Change in the address of a patent holder

Address after: 201210, Shanghai, Pudong New Area, China (Shanghai) free trade zone, Lane 399, Lane 1, 907 building, room No.

Patentee after: Shanghai Sanqi Communication Technology Co., Ltd.

Address before: Xuhui District Caohejing New Technology Development Zone of Shanghai City, No. 401 Caobao Road 200233

Patentee before: Shanghai Sanqi Communication Technology Co., Ltd.