CN102401629A - Mobile phone and angle measuring method thereof - Google Patents

Mobile phone and angle measuring method thereof Download PDF

Info

Publication number
CN102401629A
CN102401629A CN2011103198928A CN201110319892A CN102401629A CN 102401629 A CN102401629 A CN 102401629A CN 2011103198928 A CN2011103198928 A CN 2011103198928A CN 201110319892 A CN201110319892 A CN 201110319892A CN 102401629 A CN102401629 A CN 102401629A
Authority
CN
China
Prior art keywords
touch
screen
mobile phone
point coordinate
coordinate
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
CN2011103198928A
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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN2011103198928A priority Critical patent/CN102401629A/en
Publication of CN102401629A publication Critical patent/CN102401629A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides an angle measuring method based on mobile phone, which comprises the following steps of: obtaining to-be-measured angle data of a to-be-measured object, namely, receiving screen touch signals generated by pressing top point of the to-be-measured angle of the to-be-measured object on the surface of the touch screen of a mobile phone, first point on one side adjacent to the to-be-measured angle and second point on the other side adjacent to the to-be-measured angle respectively so as to obtain to-be-measured angle data of top point coordinate, first point coordinate and second point coordinate; and obtaining to-be-measured angles according to the top point coordinate, the first point coordinate and the second point coordinate. The invention also provides a mobile phone. In the above way, the mobile phone and the angle measuring method thereof can make the mobile phone realize angle measuring function, so that value of the mobile phone is increased without increment of hardware cost of the mobile phone; and the mobile phone is convenient to carry, so that user experience effect is improved.

Description

A kind of mobile phone and the method that takes measurement of an angle thereof
Technical field
The present invention relates to the handset touch panel technical field, the method that particularly relates to a kind of mobile phone and take measurement of an angle.
Background technology
At present, people need treat the angle of angle measurement by the survey instrument measurement, and the volume of the survey instrument of prior art is big, is not easy to carry, and brings inconvenience to people.
Along with the fast development of mobile communication technology, the mobile communication facility that mobile phone is carried as a kind of people has obtained well popularizing in the middle of daily life.People hope increasing function is integrated on the mobile phone, and to increase the practicality and the added value of mobile phone, for example take pictures, photography etc. all become the common function of mobile phone.
Therefore, the method that a kind of mobile phone need be provided and take measurement of an angle, the function that will take measurement of an angle is integrated on the mobile phone, and the problem that be not easy to carry big with the survey instrument volume that solved prior art.
Summary of the invention
The method that the technical matters that the present invention mainly solves provides a kind of mobile phone and takes measurement of an angle can make mobile phone realize the function that takes measurement of an angle.
For solving the problems of the technologies described above; The technical scheme that the present invention adopts is: a kind of method based on the mobile phone for measuring angle is provided; It may further comprise the steps: the angular data to be measured of obtaining object under test; Promptly receive respectively the object under test push the handset touch panel surface angular vertex to be measured, with treat on the adjacent one side of angle measurement first and with treating angle measurement the screen touch signal of position separately of second on the adjacent another side, to obtain the angular data to be measured of apex coordinate, first point coordinate and second point coordinate; Obtain to treat the angle of angle measurement according to apex coordinate, first point coordinate and second point coordinate.
Wherein, touch-screen is a resistive touch screen, and touch-screen comprises resistive layer of X and the resistive layer of Y.
Wherein, when on touch-screen, pushing, obtain the coordinate of press points respectively at resistive layer of X and the resistive layer of Y through loading bias voltage.
Wherein, obtain to treat that the angle step of angle measurement comprises according to apex coordinate, first point coordinate and second point coordinate: according to apex coordinate (X 1, Y 1), the first point coordinate (X 2, Y 2) and the second point coordinate (X 3, Y 3) calculate summit and distance b apart from a, summit and, and second distance c at first at second at first, obtain according to following formula then and treat angle measurement A:
A=arcos[(b 2+c 2-a 2)/(2bc)]
Wherein:
a = ( X 1 - X 2 ) 2 + ( Y 1 - Y 2 ) 2 ;
b = ( X 1 - X 3 ) 2 + ( Y 1 - Y 3 ) 2 ;
c = ( X 2 - X 3 ) 2 + ( Y 2 - Y 3 ) 2 .
For solving the problems of the technologies described above, another technical scheme that the present invention adopts is: a kind of mobile phone is provided, and it comprises: touch-screen, and the surface of touch-screen is used to place object under test; Processing module; It obtains the testing data of object under test; Be the processing module angular vertex to be measured that receives the object under test of pushing handset touch panel surface respectively, with treat on the adjacent one side of angle measurement first and with treating angle measurement the screen touch signal of position separately of second on the adjacent another side; Obtaining the angular data to be measured of apex coordinate, first point coordinate and second point coordinate, and obtain to treat the angle of angle measurement according to apex coordinate, first point coordinate and second point coordinate.
Wherein, touch-screen is a resistive touch screen, and touch-screen comprises resistive layer of X and the resistive layer of Y.
Wherein, when on touch-screen, pushing, processing module loads bias voltage to obtain the coordinate of press points at resistive layer of X and the resistive layer of Y respectively through detecting.
Wherein, processing module is according to apex coordinate (X 1, Y 1), the first point coordinate (X 2, Y 2) and the second point coordinate (X 3, Y 3) calculate summit and distance b apart from a, summit and, and second distance c at first at second at first, obtain according to following formula then and treat angle measurement A:
A=arcos[(b 2+c 2-a 2)/(2bc)]
Wherein:
a = ( X 1 - X 2 ) 2 + ( Y 1 - Y 2 ) 2 ;
b = ( X 1 - X 3 ) 2 + ( Y 1 - Y 3 ) 2 ;
c = ( X 2 - X 3 ) 2 + ( Y 2 - Y 3 ) 2 .
Wherein, processing module is a baseband chip, and processing module comprises: D/A conversion unit, buffer unit and CPU, and wherein, D/A conversion unit is connected with touch-screen, and cache module is connected with CPU with D/A conversion unit respectively.
The invention has the beneficial effects as follows: the situation that is different from prior art; Mobile phone of the present invention and the method that takes measurement of an angle thereof; Through push respectively on the touch-screen summit of treating angle measurement, with treat on the adjacent one side of angle measurement first and with treating angle measurement second point on the adjacent another side; And obtain to treat the angle of angle measurement according to apex coordinate, first point coordinate and second point coordinate, so that mobile phone is realized the function that takes measurement of an angle, under the prerequisite that does not increase the mobile phone hardware cost, increased the value of mobile phone; And have portable advantage, improved user's experience effect.
Description of drawings
Fig. 1 is the process flow diagram of a preferred embodiment that the present invention is based on the method for mobile phone for measuring angle;
Fig. 2 is disclosed structural representation based on touch-screen in the method for mobile phone for measuring angle;
Fig. 3 is the structural representation of the resistive layer of X among Fig. 2;
Fig. 4 is the structural representation of the resistive layer of Y among Fig. 2;
Fig. 5 is on the resistive layer of X, the logically equivalent circuit figure of touch-screen;
Fig. 6 is on the resistive layer of Y, the logically equivalent circuit figure of touch-screen;
Fig. 7 the present invention is based on the synoptic diagram that the method for mobile phone for measuring angle takes measurement of an angle; And
Fig. 8 is the structural representation of a preferred embodiment of a kind of mobile phone of the present invention.
Embodiment
See also Fig. 1, Fig. 1 is the process flow diagram of a preferred embodiment that the present invention is based on the method for mobile phone for measuring angle.As shown in Figure 1, the disclosed method based on the mobile phone for measuring angle may further comprise the steps:
Step 101: the angular data to be measured of obtaining object under test; Promptly receive respectively the object under test push the handset touch panel surface angular vertex to be measured, with treat on the adjacent one side of angle measurement first and with treating angle measurement the screen touch signal of position separately of second on the adjacent another side, to obtain the angular data to be measured of apex coordinate, first point coordinate and second point coordinate.
Step 102: the angle that obtains to treat angle measurement according to apex coordinate, first point coordinate and second point coordinate.
In step 101, touch-screen is a resistive touch screen.Wherein resistive touch screen is a kind of sensor; (X, physical location Y) convert the voltage of representing X coordinate and Y coordinate into, and resistive touch screen can produce the screen deflection voltage with four lines, five lines, seven lines or eight lines with press points in the rectangular area for it; Read press points (X, voltage Y) simultaneously.Resistive touch screen comprises film and glass; On the film surface adjacent, scribble ITO (Indium Tin Oxides, nano indium tin metal oxide) coating respectively, when touching resistive touch screen with glass; The ITO of film lower floor can touch the ITO on glass upper strata; Spread out of corresponding electric signal via inductor, deliver to CPU (Central Processing Unit through ADC unit (Analog-to-Digital Converter, D/A conversion unit); CPU), X, the Y value to obtain the touch point.
In the present embodiment, touch-screen is a four-wire resistance type touch screen, and it comprises resistive layer of X and the resistive layer of Y, and is as shown in Figure 2.Wherein, the resistive layer of X respectively has a horizontal bus to be used to load bias voltage in the left and right edges of touch-screen, and is as shown in Figure 3.The resistive layer of Y lower limb on touch-screen respectively has a vertical busses to be used to load bias voltage, and be as shown in Figure 4.
When pushing touch-screen, (X is Y) at the coordinate X of the resistive layer of X and at the coordinate Y of the resistive layer of Y to obtain press points respectively through loading bias voltage.Particularly, when measuring coordinate X, the logically equivalent circuit of touch-screen is as shown in Figure 5; Wherein, Rtouch representes the resistance of the resistive layer of resistive layer of X and Y contact point, holds loading bias voltage U at the X+ end with X-; Partial pressure value through detection Y+ place, ADC unit can obtain:
Uy+=U*Rx2/(Rx1+Rx2)
Wherein, U and Rx1+Rx2 are given value, so the ADC unit obtains partial pressure value Uy+, and are sent to CPU, to get access to the X axial coordinate X of press points.When measuring coordinate Y, the logically equivalent circuit of touch-screen is as shown in Figure 6, and wherein, Rtouch representes the resistance of the resistive layer of X and the resistive layer of Y contact point, and at Y+ end and Y-end loading bias voltage U, the partial pressure value through detection X+ place, ADC unit can obtain:
Ux+=U*Ry2/(Ry1+Ry2)
Wherein, U and Ry1+Ry2 are given value, so the ADC unit obtains partial pressure value Ux+, and are sent to CPU, to get access to the Y axial coordinate Y of press points.
Therefore, as shown in Figure 7, in step 101, apex coordinate is (X 1, Y 1), first point coordinate is (X 2, Y 2), second point coordinate is (X 3, Y 3).According to apex coordinate (X 1, Y 1), the first point coordinate (X 2, Y 2) and the second point coordinate (X 3, Y 3) calculate summit and distance b apart from a, summit and, and second distance c at first at second at first, that is:
a = ( X 1 - X 2 ) 2 + ( Y 1 - Y 2 ) 2 ;
b = ( X 1 - X 3 ) 2 + ( Y 1 - Y 3 ) 2 ;
c = ( X 2 - X 3 ) 2 + ( Y 2 - Y 3 ) 2 .
Then, obtain according to following formula and treat angle measurement A:
A=arcos[(b 2+c 2-a 2)/(2bc)]。
Because the measuring accuracy of touch-screen and press points (X, area size Y) is relevant with the position, and it is more little therefore to push area, and away from the edge of touch-screen, the measuring accuracy of touch-screen is high more more in the press points position.Measure object under test treat angle measurement A the time, measure in the measurement range of on touch-screen, pointing out, and use tiny object such as felt pen to push touch-screen, to improve the measuring accuracy of touch-screen.
Be different from prior art; Disclosed method based on the mobile phone for measuring angle through push respectively on the touch-screen summit of treating angle measurement, with treat on the adjacent one side of angle measurement first and with treating angle measurement second point on the adjacent another side, and according to apex coordinate (X 1, Y 1), the first point coordinate (X 2, Y 2) and the second point coordinate (X 3, Y 3) angle A of angle measurement is treated in acquisition, so that the function that the mobile phone realization takes measurement of an angle has increased the value of mobile phone, and had portable advantage under the prerequisite that does not increase the mobile phone hardware cost, has improved user's experience effect.
See also Fig. 8, Fig. 8 is the structural representation of a preferred embodiment of a kind of mobile phone of the present invention.As shown in Figure 8, disclosed mobile phone comprises: touch-screen 801, processing module 802 and the startup module 803 that takes measurement of an angle.In the present embodiment, processing module 802 is a baseband chip, and wherein processing module 802 further comprises D/A conversion unit 8021, buffer unit 8022 and CPU 8023.
Particularly, D/A conversion unit 8021 is electrically connected with touch-screen 801, through detection obtain press points (X, screen touch signal Y), and with the screen touch signal storage at buffer unit 8022.CPU 8023 is electrically connected with buffer unit 8022, and obtains the screen touch signal from buffer unit 8022, with the screen touch conversion of signals become coordinate (X, Y).
In the present embodiment; The startup module 803 that takes measurement of an angle is connected with processing module 802; The user starts module 803 and starts mobile phone for measuring angle functions through taking measurement of an angle, the principle of mobile phone for measuring angle is in full accord with above-mentioned method based on the mobile phone for measuring angle, so does not give unnecessary details in this.
In sum; Mobile phone of the present invention and the method that takes measurement of an angle thereof; Through push respectively on the touch-screen summit of treating angle measurement, with treat on the adjacent one side of angle measurement first and with treating angle measurement second point on the adjacent another side; And obtain to treat the angle of angle measurement according to apex coordinate, first point coordinate and second point coordinate, so that mobile phone is realized the function that takes measurement of an angle, under the prerequisite that does not increase the mobile phone hardware cost, increased the value of mobile phone; And have portable advantage, improved user's experience effect.
The above is merely embodiments of the invention; Be not so limit claim of the present invention; Every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to be done; Or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.

Claims (9)

1. the method based on the mobile phone for measuring angle is characterized in that, said method comprising the steps of:
Obtain the angular data to be measured of object under test; Promptly receive respectively the said object under test push said handset touch panel surface angular vertex to be measured, treat first on the adjacent one side of angle measurement and treat second on the adjacent another side of the angle measurement screen touch signal of position separately with said, to obtain the angular data to be measured of said apex coordinate, first point coordinate and second point coordinate with said;
Obtain the said angle of treating angle measurement according to said apex coordinate, first point coordinate and second point coordinate.
2. method according to claim 1 is characterized in that, said touch-screen is a resistive touch screen, and said touch-screen comprises resistive layer of X and the resistive layer of Y.
3. method according to claim 2 is characterized in that, when on said touch-screen, pushing, obtains the coordinate of press points at resistive layer of said X and the resistive layer of said Y respectively through loading bias voltage.
4. method according to claim 3 is characterized in that, saidly obtains the said angle step of angle measurement of treating according to apex coordinate, first point coordinate and second point coordinate and comprises: according to apex coordinate (X 1, Y 1), the first point coordinate (X 2, Y 2) and the second point coordinate (X 3, Y 3) calculate said summit and first the distance b apart from a, said summit and second, said first with second distance c, obtain the said angle measurement A that treats according to following formula then:
A=arcos[(b 2+c 2-a 2)/(2bc)]
Wherein:
a = ( X 1 - X 2 ) 2 + ( Y 1 - Y 2 ) 2 ;
b = ( X 1 - X 3 ) 2 + ( Y 1 - Y 3 ) 2 ;
c = ( X 2 - X 3 ) 2 + ( Y 2 - Y 3 ) 2 .
5. a mobile phone is characterized in that, said mobile phone comprises:
Touch-screen, the surface of said touch-screen is used to place object under test;
Processing module; Said processing module is obtained the testing data of said object under test; Be the said processing module angular vertex to be measured that receives the said object under test of pushing said handset touch panel surface respectively, treat first on the adjacent one side of angle measurement and treat second on the adjacent another side of the angle measurement screen touch signal of position separately with said with said; Obtaining the angular data to be measured of said apex coordinate, first point coordinate and second point coordinate, and obtain the said angle of treating angle measurement according to said apex coordinate, first point coordinate and second point coordinate.
6. mobile phone according to claim 5 is characterized in that, said touch-screen is a resistive touch screen, and said touch-screen comprises resistive layer of X and the resistive layer of Y.
7. mobile phone according to claim 6 is characterized in that, when on said touch-screen, pushing, said processing module loads bias voltage to obtain the coordinate of press points at resistive layer of said X and the resistive layer of said Y respectively through detecting.
8. mobile phone according to claim 7 is characterized in that said processing module is according to apex coordinate (X 1, Y 1), the first point coordinate (X 2, Y 2) and the second point coordinate (X 3, Y 3) calculate said summit and first the distance b apart from a, said summit and second, said first with second distance c, obtain the said angle measurement A that treats according to following formula then:
A=arcos[(b 2+c 2-a 2)/(2bc)]
Wherein:
a = ( X 1 - X 2 ) 2 + ( Y 1 - Y 2 ) 2 ;
b = ( X 1 - X 3 ) 2 + ( Y 1 - Y 3 ) 2 ;
c = ( X 2 - X 3 ) 2 + ( Y 2 - Y 3 ) 2 .
9. mobile phone according to claim 5; It is characterized in that; Said processing module is a baseband chip, and said processing module comprises: D/A conversion unit, buffer unit and CPU, wherein; Said D/A conversion unit is connected with said touch-screen, and said cache module is connected with said CPU with said D/A conversion unit respectively.
CN2011103198928A 2011-10-19 2011-10-19 Mobile phone and angle measuring method thereof Pending CN102401629A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011103198928A CN102401629A (en) 2011-10-19 2011-10-19 Mobile phone and angle measuring method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011103198928A CN102401629A (en) 2011-10-19 2011-10-19 Mobile phone and angle measuring method thereof

Publications (1)

Publication Number Publication Date
CN102401629A true CN102401629A (en) 2012-04-04

Family

ID=45884081

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011103198928A Pending CN102401629A (en) 2011-10-19 2011-10-19 Mobile phone and angle measuring method thereof

Country Status (1)

Country Link
CN (1) CN102401629A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105333846A (en) * 2014-06-12 2016-02-17 联想(北京)有限公司 Length measurement method and apparatus
CN106152923A (en) * 2015-04-21 2016-11-23 中兴通讯股份有限公司 Measuring method, device and equipment
WO2023151568A1 (en) * 2022-02-08 2023-08-17 广州视源电子科技股份有限公司 Method for measuring size of object, storage medium, and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11203035A (en) * 1998-01-09 1999-07-30 Fujitsu Ltd Optical scanning touch panel
US20070039893A1 (en) * 2005-08-11 2007-02-22 Kemp Philip M Ammonium/ammonia removal from a stream
CN101101527A (en) * 2007-07-31 2008-01-09 启攀微电子(上海)有限公司 Electric resistance type touch screen control circuit
CN101533326A (en) * 2008-10-15 2009-09-16 闻泰集团有限公司 Method for calibrating coordinates of resistance touch screen
CN101615090A (en) * 2009-06-30 2009-12-30 青岛海信电器股份有限公司 Touch signal detection method and device
CN101667089A (en) * 2008-09-04 2010-03-10 比亚迪股份有限公司 Method and device for identifying touch gestures
CN202004831U (en) * 2010-12-31 2011-10-05 上海华勤通讯技术有限公司 Mobile phone capable of measuring angles

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11203035A (en) * 1998-01-09 1999-07-30 Fujitsu Ltd Optical scanning touch panel
US20070039893A1 (en) * 2005-08-11 2007-02-22 Kemp Philip M Ammonium/ammonia removal from a stream
CN101101527A (en) * 2007-07-31 2008-01-09 启攀微电子(上海)有限公司 Electric resistance type touch screen control circuit
CN101667089A (en) * 2008-09-04 2010-03-10 比亚迪股份有限公司 Method and device for identifying touch gestures
CN101533326A (en) * 2008-10-15 2009-09-16 闻泰集团有限公司 Method for calibrating coordinates of resistance touch screen
CN101615090A (en) * 2009-06-30 2009-12-30 青岛海信电器股份有限公司 Touch signal detection method and device
CN202004831U (en) * 2010-12-31 2011-10-05 上海华勤通讯技术有限公司 Mobile phone capable of measuring angles

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105333846A (en) * 2014-06-12 2016-02-17 联想(北京)有限公司 Length measurement method and apparatus
CN105333846B (en) * 2014-06-12 2019-03-08 联想(北京)有限公司 A kind of length measurement method and device
CN106152923A (en) * 2015-04-21 2016-11-23 中兴通讯股份有限公司 Measuring method, device and equipment
CN106152923B (en) * 2015-04-21 2020-01-07 中兴通讯股份有限公司 Measuring method, device and equipment
WO2023151568A1 (en) * 2022-02-08 2023-08-17 广州视源电子科技股份有限公司 Method for measuring size of object, storage medium, and electronic device

Similar Documents

Publication Publication Date Title
CN111480139B (en) Dual electrode touch button with multi-stage capacitance measurement process
US11137840B1 (en) Stylus pen, touch-sensing system, touch-sensing controller, and touch-sensing method
CN102622104A (en) Capacitance stylus capable of sensing pressure
CN109683733A (en) Stylus, touch panel, display device and sensing method of touch control
CN103389840A (en) Detecting method and device for suppressing interference of low-frequency noise
CN101470548A (en) Method for measuring object dimension and angle through touch screen
CN102750060A (en) Projection-type capacitive touch screen system time domain noise reduction method by space differentiation
US9612704B2 (en) Apparatus and method for sensing touch
CN102722282A (en) Touch screen detection method and electronic products
CN103019449A (en) Three-dimensional multi-point type touch screen based on pressure sensor
CN110377214A (en) Method for detecting angle and angle detection device
CN204904244U (en) Contact screen
CN102401629A (en) Mobile phone and angle measuring method thereof
CN103124952B (en) The improvement of the degree of accuracy in capacitive sense array
CN104238939B (en) The control system of portable set, contactor control device
CN101996014B (en) Pressure detection method of touch sensing element and electronic device using same
US20130257458A1 (en) Method and device for measuring signals
CN102339190B (en) Method for recognizing two-point touch of resistance touch screen on mobile phone
CN204759379U (en) Power touch -sensitive screen
CN202815804U (en) Structure of capacitive touch screen sensor
CN101763196A (en) Method for detecting linearity of touch panel
CN101667086B (en) Touch control screen and coordinate positioning method
CN104635984B (en) A kind of single face position sensor and its localization method
CN103777833B (en) A kind of method improving capacitance touch screen sensitivity
CN202306495U (en) Touch screen control device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120404