WO2013123809A1 - 触摸屏校准方法和装置 - Google Patents

触摸屏校准方法和装置 Download PDF

Info

Publication number
WO2013123809A1
WO2013123809A1 PCT/CN2012/087108 CN2012087108W WO2013123809A1 WO 2013123809 A1 WO2013123809 A1 WO 2013123809A1 CN 2012087108 W CN2012087108 W CN 2012087108W WO 2013123809 A1 WO2013123809 A1 WO 2013123809A1
Authority
WO
WIPO (PCT)
Prior art keywords
adc
slope
lsl
coordinates
touch point
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.)
Ceased
Application number
PCT/CN2012/087108
Other languages
English (en)
French (fr)
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
Publication of WO2013123809A1 publication Critical patent/WO2013123809A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/0416Control or interface arrangements specially adapted for digitisers
    • G06F3/0418Control or interface arrangements specially adapted for digitisers for error correction or compensation, e.g. based on parallax, calibration or alignment
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/045Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means using resistive elements, e.g. a single continuous surface or two parallel surfaces put in contact

Definitions

  • the present invention relates to the field of touch screen technologies, and in particular, to a touch screen calibration method and apparatus.
  • Touch screens are widely used in various types of devices.
  • the structure of the resistive touch screen consists of two transparent layers, the inner surface of which is evenly coated with a layer of conductive material.
  • a four-wire resistive touch screen is shown in Fig. 1. It can be seen from Fig. 1 that in the case of no touch, it is not conductive, so the impedance to the ground cannot be obtained.
  • a contact is made between the top layer and the bottom layer, thereby making the resistor
  • the layer is in contact, and the equivalent circuit is shown in Figure 2.
  • Fig. 2 in the case of touch, a contact is generated between the top layer and the bottom layer to be electrically conductive, so the physical position of the touch point can be confirmed by acquiring the ground impedance of the touch point, specifically:
  • the physical position is confirmed by acquiring the touch point-to-ground impedance (Rx, Ry).
  • (Rx, Ry) is converted to a computable digital signal (Xadc, Yadc) by an analog-to-digital converter ADC.
  • the value of the digital signal is mapped to the screen coordinates to form a corresponding relationship, which is commonly referred to as calibration.
  • the touch screen can be used normally.
  • the common calibration algorithm is two-point. Please refer to Figure 3. Select the coordinates of the first reference point in the upper left corner of the fixed point of the screen ( ⁇ and the second reference point coordinate (X 2 , Y 2 ) in the lower right corner of the screen for calibration algorithm.
  • the invention mainly solves the technical problem that the calibration operation is required to enter the calibration interface from time to time when the user calibrates the touch screen, and provides a touch screen calibration method and device which are feasible.
  • a technical solution adopted by the present invention is: providing a touch screen calibration method, including: when unlocking, determining that the touch screen is in a first unlocking interface or a second unlocking interface, a first unlocking interface and a second unlocking interface Displaying in an alternate manner; acquiring touch screen coordinates of the first touch point PI near the first reference point coordinate (X l Yi) when in the first unlocking interface, and acquiring the second reference point coordinate when in the second unlocking interface (X 2 , Y 2 ) touch screen coordinates of the second touch point ⁇ 2 ; calculating the analog-to-digital conversion value (X pl _ adc , Y pl _ adc ) of the first touch point P1 and the analog-to-digital conversion value of the second touch point P2 (Xp dc , Y p2 -adc); Pass the original reference slope X.
  • Yl and Y 2 are calculated to obtain a calibration slope Y lsl .
  • Pe will calibrate the slope X lsl .
  • Pe replaces the original reference slope as the new reference slope.
  • the method further includes: determining whether the number of groups of (X pl - ad c, Ypi-adc) and (X p2 - adc , Yp 2 - adc ) reaches a preset number of groups; When the number of groups of (X pl _ adc , Y pl - adc ) and (X p2 - adc , Y p2 _ adc ) reaches the preset number of groups, the average coordinates of the majority (Xp dc, Yp dc) are obtained (Xp) Dc , , Ypl-adc' ) and the average coordinates of multiple groups (Xp dc, Y p2 - adc ) (X p2 - adc ,, Yp2-adc' )o are
  • the steps of pe include: replacing X pl -adc, X p2 -adc, Y pl -adc, and Y p2 -adc, respectively, with X pl -adc,
  • the calibration slope X lsl is calculated from the values of X pl - adc , X p2 - adc , and X 2 .
  • the original reference slope X Qsl is passed .
  • Pe calculates the coordinates (X pl , Y pl ) of the analog-to-digital conversion values Cade, Yp dc of the first touch point P1 and the analog-to-digital conversion values of the second touch point ⁇ 2
  • another technical solution adopted by the present invention is: providing a touch screen calibration method, comprising: acquiring touch screen coordinates of the first touch point P1 and the second touch point ⁇ 2 when the touch screen is unlocked; Calculating according to the touch screen coordinates of the first touch point P1 and the second touch point ⁇ 2 to obtain a calibration slope X lsl . Pe and Y lsl . Pe ; the calibration slope X lsl . Pe and Y lsl . Pe replaces the original reference slope as the new reference slope.
  • the method includes: when unlocking, determining that the touch screen is in the first solution a lock interface or a second unlocking interface; acquiring the first reference point coordinate when the first unlocking interface is located (x 1
  • the touch screen coordinates of the first touch point PI near Y 1 ) acquire the touch screen coordinates of the second touch point ⁇ 2 near the second reference point coordinates (X 2 , Y 2 ) when the second unlock interface is located.
  • the first unlocking interface and the second unlocking interface are displayed in an alternating manner.
  • the calculation is based on the touch screen coordinates of the first touch point P1 and the second touch point ⁇ 2 to obtain a calibration slope X lsl .
  • the step of pe includes: calculating a modulus conversion of the first touch point P1
  • the analog-to-digital conversion value (X pl _ adc , Y pl _ adc ) of the first touch point P1 and the analog-to-digital conversion value of the second touch point P2 (X p2 _ adc , Y p2 _ adc ) are obtained in the calculation.
  • the method further includes: passing the original reference slope x. Sl . Pe and Y. Sl .
  • Pe calculates the coordinates (X pl , Y pl ) of the analog-to-digital conversion value (X pl _ adc , Y pl _ adc ) of the first touch point P1 and the analog-to-digital conversion value of the second touch point P2 (X p2 _
  • Yp2-adc when the deviation value of (X P1 , Ypl ) or (X P 2, Yp 2 ) is greater than the preset pixel value, discard the corresponding (X pl _ adc , Y pl _ adc ) or ( X p2 _ adc , Y p2 -adc)o where, obtain at least one set (X pl _ adc , Ypl-adc) and (Xp2-adc, Yp2-adc) °
  • the method further includes: determining whether the number of groups (Xp dc, Yp dc) and (Xp dc, ⁇ ⁇ 2 ) reaches a preset number; when (X pl _ ade , Y pl _ adc ) When the number of groups of (X p2 _ adc , Y p2 _ ade ) reaches the preset number of groups, the average coordinates of the majority (X pl-adc , Y pl-adc ) are obtained (X pl-adc , Y pl -adc ,) and the average coordinates of the plurality of groups (X p 2-adc, Yp2-adc) (X p2 _ adc ,, Y p2 _ adc ' ) satisfy At the same time, according to X pl _ adc , X p2
  • the calibration slope Y lsl is calculated according to the values of Y pl _ adc , Y p2 _ adc , and Y 2 .
  • the step of pe includes: replacing x P dc , x p2 _ adc ' , Yp dc, and Y P dc with Xpl-adc, Xp2-adc, Ypl-adc, and Yp2-adc, respectively; according to Xpl-adc, The values of Xp2-adc, Xl, and X 2 are calculated to obtain the calibration slope X lsl .
  • Pe calculated according to the values of Y pl _ adc , Y p2 _ adc , and Y 2
  • the slope X is passed through the original reference.
  • Sl . Pe and Y. Sl . Pe calculates the modulus of the first touch point P1
  • the calibration slope X lsl is calculated according to the values of X pl _ adc , x p2 _ adc , and X 2 .
  • the calibration slope Y lsl is calculated according to the values of Y pl - adc , Y p2 - adc , and Y 2 .
  • a touch screen calibration device comprising an acquisition module, a calculation module and a setting module.
  • the acquiring module is configured to acquire the touch screen coordinates of the first touch point P1 and the second touch point P2 respectively when the touch screen is unlocked;
  • the calculating module is configured to use the first touch point P1 acquired by the acquiring module and the The touch screen coordinates of the second touch point P2 are calculated to obtain a calibration slope X lsl .
  • Pe and Y lsl . Pe the setting module is used to calculate the calibration slope X lsl of the calculation module.
  • Pe and Y lsl . Pe replaces the original reference slope as the new reference slope.
  • the calculation module includes an analog to digital conversion unit and a slope calculation unit.
  • the analog-to-digital conversion unit is configured to calculate an analog-to-digital conversion value (X pl _ adc , Y pl _ adc ) of the first touch point P1 obtained by the obtaining module and an analog-to-digital conversion value of the second touch point P2 (X p2 _ adc , Y p2 _ adc ); the slope calculation unit is configured to obtain X p dc according to the analog-to-digital conversion unit, And the value of X 2 is calculated to obtain the calibration slope X lsl .
  • the calibration slope Y lsl is calculated according to the values of Y pl _ adc , Y p2 _ adc , and Y 2 obtained by the analog-to-digital conversion unit. Pe .
  • ( ⁇ Yi ) is the first reference point coordinate of the first unlocking interface
  • (X 2 , Y 2 ) is the second
  • the second reference point coordinate of the interface is unlocked, and the first unlocking interface and the second unlocking interface are displayed in an alternate manner for the user to perform different unlocking operations.
  • the first touch point P1 is located at the first reference point coordinate (X 1 ? Nearby, the second touch point P2 is located near the second reference point coordinate (X 2 , Y 2 ).
  • the device further includes a coordinate calculation unit, a first determination unit, a processing unit, a second determination unit, an averaging unit, and a replacement unit.
  • the coordinate calculation unit is used to pass the original reference slope X Qsl . Pe and Y. Sl .
  • a judging unit is configured to determine a deviation value between ( ⁇ ⁇ 1 , ⁇ ) and (X" Yi ) coordinates obtained by the coordinate calculation unit and between (X p2 , Y p2 ) and ( ⁇ 2 , ⁇ 2 ) coordinates deviation value is larger than a predetermined pixel value; for, when the processing unit ( ⁇ ⁇ 1, ⁇ ⁇ 1) or ( ⁇ ⁇ 2, ⁇ ⁇ 2) of the offset value is not greater than the predetermined pixel value stored corresponding (Xpl-adc, Y pl -adc) or (Xp2-ad C , Y p2 -ad
  • V V * V ⁇ ⁇ ⁇ * ⁇
  • the coordinate calculation unit calculates ⁇ ⁇ 1 , ⁇ ⁇ 1 , ⁇ ⁇ 2 and P from P _ P "" adc 0sl .
  • P e and P m - P m ⁇ ad 0sl. ⁇ ⁇ 2 the slope calculation unit is based on
  • the touch screen calibration method and apparatus of the present invention respectively acquire the first touch point P1 and the second touch point P2 on the unlock interface of the touch screen, and calculate the calibration slope X lsl . p p Y lsl . Pe .
  • the touch screen calibration operation is realized in the background in the process of unlocking, and the special calibration interface does not need to be entered irregularly, which reduces the troublesome operation of the individual calibration and improves the user experience.
  • FIG. 1 is a schematic diagram of an equivalent circuit of a conventional touch screen in a normal state
  • FIG. 3 is a schematic diagram of coordinate selection during calibration of a prior art touch screen
  • FIG. 4 is a schematic flow chart of one embodiment of a touch screen calibration method of the present invention.
  • FIG. 5 is a schematic flow chart of another embodiment of a touch screen calibration method according to the present invention.
  • FIG. 6 is a schematic flow chart of another embodiment of a touch screen calibration method according to the present invention.
  • Figure 7 is a block diagram showing one embodiment of a touch screen calibration device of the present invention.
  • Figure 8 is a block diagram showing another embodiment of the touch screen calibration device of the present invention.
  • FIG. 4 is a schematic flow chart of one embodiment of the touch screen calibration method of the present invention.
  • the touch screen calibration method includes:
  • Step 401 When the touch screen is touched to unlock, the touch screen coordinates of the first touch point P1 and the second touch point P2 are respectively acquired.
  • This step 401 is different from the prior art in that: when the user touches the unlock, the background synchronizes the coordinates of the touch screen calibration and the like.
  • the method for selecting the coordinates of the first touch point P1 and the second touch point P2 may be determined according to actual conditions, for example, on a straight line where the two diagonal lines of the touch screen are located, or on a line parallel to the diagonal line. , or select at any two different positions on the screen.
  • the separation distance between the two points should be guaranteed to be outside the rated pixel distance, such as three, four or five, which is not limited herein.
  • the way to unlock Any one of sliding unlocking, drawing unlocking, or password unlocking may be used, and is not limited insofar as it is understood by those skilled in the art.
  • Step 402 Calculate according to touch screen coordinates of the first touch point P1 and the second touch point P2 to obtain a calibration slope X lsl . Pi ⁇ p Y lsl . Pe .
  • the calculation can be performed by two points with reference to the background art to obtain a calibration slope Y lsl .
  • multi-point may be acquired using a three-point calibration matrix calculation algorithm method, within the scope of those in the art appreciate, it is not limited.
  • step 403 the slope X lsl will be calibrated.
  • Pe replaces the original reference slope as the new reference slope.
  • other steps may be included, such as the user measuring the corresponding (X p _ adc , Yp-adc) through the ADC when the user touches any point on the touch screen next time, using the new reference.
  • Pe and Y lsl . Pe calculates the corresponding screen coordinates (X p , Y p ), which is calculated as:
  • V V * Y Jr
  • Equation 1 The (X p , Y p ) coordinate position calculated by Equation 1 and Equation 2 is more accurate, and there is no error phenomenon such as drift deviation.
  • the user does not need to enter the calibration interface of the touch screen calibration to perform the calibration operation irregularly, and only needs to unlock the device when the power is unlocked or the screen is unlocked, and the related device using the touch screen can be simultaneously in the background.
  • a series of related operations for touch screen calibration reduces the troublesome process of individual calibration and improves the user experience.
  • the calibrated new reference slope X lsl is used . Pe . and Y lsl .
  • the (Xp, Y p ) coordinate position calculated by pe is more accurate, and there is no error phenomenon such as drift deviation, which improves the user operation accuracy.
  • FIG. 5 is a schematic flow chart of another embodiment of the touch screen calibration method of the present invention.
  • the touch screen calibration method includes:
  • Step 500 unlocking is required.
  • Step 500 is a waiting step, which may be an interrupt signal that needs to be unlocked by the user or an related action to be unlocked, such as when the user activates, touches, or receives a call.
  • the screen of the touch screen enters the state of the operation to be unlocked.
  • the interface to be unlocked is an Idle sliding unlocking interface, and may be another type of unlocking interface, which is not limited in the scope understood by those skilled in the art.
  • Step 501 Determine whether the touch screen is in the first unlocking interface. When yes, perform step 502. If yes, perform step 503.
  • the unlocking interface of the terminal using the touch screen is generally divided into the first unlocking interface and the second unlocking interface, and the current unlocking interface is recorded as the first through the state Idle_lock_screen. Or the second unlock interface.
  • the first reference point coordinates (XI, Y1) are set on the first unlocking interface
  • the second reference point coordinates (X2, Y2) are set on the second unlocking interface, so that the user touches the different unlocking interface.
  • the coordinates of the reference points corresponding to the touch screen coordinates are different, so that two or more different touch screen coordinates are acquired during calibration.
  • the screen of the touch screen enters the Idle sliding unlocking interface, one of the unlocking interfaces that need to be displayed is read and recorded, so as to switch to another unlocking interface when the next unlocking is performed.
  • the switching manner may be multiple. Not limited.
  • it may be adjusted to "determine that the touch screen is in the first unlocking interface or the second unlocking interface" or “determine whether the touch screen is in the second unlocking interface", and then The judgment result and the processing manner may be modified accordingly, and will not be described in detail within the scope of those skilled in the art.
  • Step 502 Acquire touch screen coordinates of the first touch point PI near the first reference point coordinate (X l Y 1 ) and perform step 504.
  • the touch screen coordinates of the first touch point P1 and the first reference point coordinates (X l Y 1 ) are completely coincident due to the precise operation of the user, and details are not described herein.
  • Step 503 Acquire touch screen coordinates of the second touch point ⁇ 2 near the second reference point coordinate ( ⁇ 2 , ⁇ 2 ) and perform step 504.
  • the touch screen coordinates of the second touch point ⁇ 2 and the second reference point coordinates ( ⁇ 2 , ⁇ 2 ) are completely coincident due to the precise operation of the user, and details are not described herein.
  • step 502 and step 503 are acquisition actions of two or more unlocking processes, and in this embodiment, only the working principle process of the present invention is illustrated. In the specific implementation process, After each acquisition, it may include a looping step back to step 500 waiting to be unlocked, etc., not here.
  • Step 504 calculating an analog-to-digital conversion value (X pl _ adc , Y pl _ adc ) of the first touch point P1 and an analog-to-digital conversion value (X p2 _ adc , Y p2 _ adc ) of the second touch point P2.
  • an analog-to-digital conversion value (X pl _ adc , Y pl _ adc ) of the first touch point P1
  • Step 505 according to X p dc , And the value of X 2 is calculated to obtain the calibration slope X lsl .
  • the calibration slope Y lsl is calculated according to the values of Y pl - adc , Y p2 - adc , and Y 2 . Pe .
  • At least one set (X pl _ adc , Y pl _ adc ) and (X p2 _ adc , Y p2 -adc) are acquired, that is, at least one set is acquired ( Step 505 is performed when X pl _ adc , Y pl _ adc ) and (X p2 _ adc , Y p2 - adc ), and when multiple groups are acquired, screening may be performed by means of an average value or a preferred method, and no limited.
  • the calculation formula of the calibration slope is:
  • step 506 the slope of the calibration X lsl. Pe and Y lsl . Pe replaces the original reference slope as the new reference slope.
  • the process may be returned to the step 500 again to re-acquire the touch screen coordinates and perform calibration.
  • the plurality of sets of touch screen coordinates may be acquired, and then the average or preferred mode may be used for screening and then calculating the calibration slope, which is not limited herein. .
  • step 506 after completing the reference slope replacement action of step 506, other steps may be included, such as the user measuring the corresponding (Xp-adc, Yp-adc) through the ADC when the user touches any point on the touch screen next time. , using the new baseline slope X lsl . Pe and Y lsl . Pe calculates the corresponding screen coordinates (X p , Y P ), which is calculated as:
  • the user does not need to enter the calibration interface of the touch screen calibration to perform the calibration operation irregularly, and only needs to unlock the device when the power is unlocked or the screen is unlocked, and the related device using the touch screen can be simultaneously in the background.
  • a series of related operations for touch screen calibration reduces the troublesome process of individual calibration and improves the user experience.
  • the difference between this embodiment and the previous embodiment is that by switching two unlocking interfaces and switching the coordinates of the reference point, the coordinates of the two touch screens which are close to the coordinates of the reference point can be quickly and efficiently obtained, and the calibration slope is calculated. , to ensure the effective implementation of the calibration operation.
  • the new benchmark slope X lsl after calibration is used. Pe and Y lsl .
  • the coordinate position of ( ⁇ ⁇ , ⁇ ⁇ ) calculated by pe is more accurate, and there is no error phenomenon such as drift deviation, which improves the user operation accuracy.
  • FIG. 6 is a schematic flow chart of another embodiment of the touch screen calibration method of the present invention.
  • the touch screen calibration method includes:
  • step 600 it needs to be unlocked.
  • it When it needs to be unlocked, it enters a specific unlocking interface, and step 601 is executed, and when it is not necessary to unlock, it is in a state of waiting for a response operation such as interruption.
  • the interface to be unlocked is an Idle sliding unlocking interface, and may also be another type of unlocking interface, which is not limited in the scope understood by those skilled in the art.
  • Step 601 Determine whether the touch screen is in the first unlocking interface. When yes, step 602 is performed, and when it is no, step 603 is performed.
  • the unlocking interface of the terminal such as a mobile phone, such as a mobile phone
  • the current unlocking interface is recorded as the first or the first by "state Idle_lock_screen". Second unlock the interface.
  • Step 602 Acquire touch screen coordinates of the first touch point PI near the first reference point coordinate (X l Y 1 ) and perform step 604.
  • the touch screen coordinates of the first touch point P1 and the first reference point coordinates (X l Y 1 ) are completely coincident due to the precise operation of the user, and details are not described herein.
  • Step 603 Acquire touch screen coordinates of the second touch point ⁇ 2 near the second reference point coordinate ( ⁇ 2 , ⁇ 2 ) and perform step 604.
  • the touch screen coordinates of the second touch point ⁇ 2 and the second reference point coordinates ( ⁇ 2 , ⁇ 2 ) are completely coincident due to the precise operation of the user, and details are not described herein.
  • step 602 and step 603 are acquisition operations of two or more unlocking processes, and in this embodiment, only the working principle process of the present invention is illustrated. In a specific execution process, after each acquisition, it may include a looping step of returning to step 600 waiting to be unlocked, etc.,
  • Step 604 calculating an analog-to-digital conversion value (X pl _ adc , Y pl _ adc ) of the first touch point P1 and an analog-to-digital conversion value (X p2 _ adc , Y p2 _ adc ) of the second touch point P2.
  • Step 605 passing the original reference slope X. Sl . Pe and Y. Sl . Pe calculates the modulus of the first touch point P1 Coordinate Y pl _ adc) the coordinates (X pl, Y pl) and analog to digital conversion of the value of the second touch point ⁇ 2 (Xp2-adC Y p2 _ adc ) a (X p2, Y p2).
  • the difference from the first two embodiments is that in order to obtain a more accurate calibration slope, the touch of the acquired first touch point P1 and second touch point ⁇ 2 is obtained.
  • the coordinate accuracy of the touch screen is higher. Therefore, the corresponding coordinates (X pl , ⁇ ;! and
  • Y pm Y pm-adc * ⁇ Oslope __ g
  • m and n are 1 or 2.
  • Step 606 determining whether the deviation value between (X pl , Y pl ) and ( ⁇ 1 ⁇ 1 ) coordinates and the deviation value between ( ⁇ ⁇ 2 , ⁇ ⁇ 2 ) and ( ⁇ 2 , ⁇ 2 ) coordinates are greater than a preset
  • the pixel value when it is "No”, step 607 is performed, and when it is "YES”, step 608 is performed.
  • FIG. 6 is described as “determining whether the deviation value is greater than the preset pixel value”, only for the purpose of describing the workflow of the embodiment, which can be adjusted accordingly, for example, whether the deviation value is greater than the corresponding value.
  • the preset pixel values may be set for different touch points, which are not limited by those skilled in the art. Further, the preset pixel value is generally an allowable error range when the slope is calibrated, and a terminal such as a mobile phone is set to a pixel value of 3 pixels. Of course, in order to improve the accuracy, one or two unequalities may be used. Or it may be adjusted to 4, 5 or more according to the large area of the touch screen, which is not limited herein.
  • Step 607 save its corresponding (X pl _ adc , Y l _adc) or (X p2 - adc , Y p2 _ adc ) and perform step 609.
  • Step 609 can be performed when P dc , Yp ⁇ dc), although it is not described in detail in the method flow, it is not limited. Of course, the process of its acquisition is implemented in several cycles. In other embodiments, if the unlocking mode is for the password input type, the touch screen coordinates in the two unlocking interfaces may be acquired in one time for calibration, which is within the scope of those skilled in the art. Do not repeat them.
  • Step 609 judge (X pl-ade , Whether the number of groups of Y p2-adc ) reaches the preset number of groups, if "Yes", go to step 610, if "No", the number of groups is +1 and return to step 600 again in the next unlocking process.
  • Y p2 - a dc The preset group number can be 10 groups, 20 groups, or any other group, which can be set according to actual needs.
  • step 609 can be modified to: obtain (X pl _ adc , in each loop, In the process of Yp ⁇ dc), it can be judged whether the number of "(X pl - adc , Ypl-adc)" and "(X p2 - adc , Yp2-adc)" is greater than or equal to the number of preset groups at the same time. If yes, go to step 610. If no, The number in Yp2-adc) is +1 and returns to step 600, which is not limited insofar as it is understood by those skilled in the art.
  • Step 610 finding an average coordinate (X pl-adc Y pl-adc ) of a plurality of groups (X pl-adc , Y pl-adc ), and a plurality of groups
  • Step 611 replacing X pl-adc ' X p2 -adc- Ypi-adc' and Yp dc' with X pl -adc X p2 -ad C Yp de and Y p2 -adc° respectively
  • Step 612 according to X P dc
  • the value of X 2 is calculated to obtain a calibration slope X lsl pe
  • the calibration slope Y lsl is calculated according to the values of Y pl - adc Y p2 - adc , and Y 2 . Pe .
  • the calculation formula of the calibration slope is:
  • step 613 the slope of the calibration X lsl.
  • Pe replaces the original reference slope as the new reference slope.
  • other steps may be included, such as the user measuring the corresponding (X p _ adc) through the ADC when the user touches any point on the touch screen next time. , Y p _ adc ), using the new baseline slope X lsl .
  • Pe and Y lsl . Pe calculates the corresponding screen coordinates (X p , Y p ), which is calculated as: V _ V * V
  • Equation 11 ⁇ p-adc 1 slope - Equation 12
  • the user does not need to enter the calibration interface of the touch screen calibration to perform the calibration operation from time to time, and only needs to unlock the cartridge when the boot is unlocked or the screen is unlocked, and the related device of the touch screen can be used to synchronize in the background.
  • a series of related operations for touch screen calibration reduces the troublesome process of individual calibration and improves the user experience.
  • the difference between this embodiment and the previous embodiment is that by selecting ( ⁇ ⁇ 1 , ⁇ ⁇ 1 ) and ( ⁇ ⁇ 2 , ⁇ ⁇ 2 ) and selecting the coordinates from the reference point (X l Yi ) and (X 2 , Y 2 ), respectively.
  • the deviation value between the 10 groups in the preset pixel value range is averaged, and the two touch screen coordinates closest to the reference point coordinates can be effectively acquired and the calibration slope calculation can be performed to obtain a more accurate calibration slope X lsl . p p Y lsl . Pe , to ensure the accurate implementation of the calibration operation.
  • the new benchmark slope X lsl after calibration is used. Pe and Y lsl .
  • the coordinate position of (X p , Y p ) calculated by pe is more accurate, and there is no error phenomenon such as drift deviation, which improves the user operation accuracy.
  • the touch screen calibration device includes an acquisition module 70, a calculation module 71, and a setting module 72.
  • the acquiring module 70 is configured to acquire the touch screen coordinates of the first touch point P1 and the second touch point P2 respectively when the touch screen is unlocked; the calculating module 71 is configured to use the first touch point P1 and the second acquired by the obtaining module 70. Touch screen coordinates of point P2 are calculated to obtain a calibration slope X lsl . Pe and Y lsl .
  • the setting module 72 is configured to calculate the calibration slope X lsl calculated by the calculation module. Pe and Y lsl . Pe replaces the original reference slope as the new reference slope.
  • the user does not need to enter the calibration interface of the touch screen calibration to perform the calibration operation irregularly, and only needs to unlock the device when the power is unlocked or the screen is unlocked, and the related device using the touch screen can be simultaneously in the background.
  • a series of related operations for touch screen calibration, reducing individual The troublesome process of calibration improves the user experience.
  • FIG. 8 is a schematic diagram of a module connection of another embodiment of the touch screen calibration apparatus of the present invention.
  • the touch screen calibration apparatus includes an acquisition module 70, a calculation module 71, and a setting module 72.
  • the calculation module 71 includes an analog-to-digital conversion unit 710 and a slope calculation unit 711, and further includes a coordinate calculation unit 80, and a first The judging unit 81, the processing unit 82, the second judging unit 83, the averaging unit 84, and the replacing unit 85.
  • the analog-to-digital conversion unit 710 is configured to calculate an analog-to-digital conversion value (X pl _ adc , Y pl _ adc ) of the first touch point P1 obtained by the acquisition module 70 and a mode of the second touch point P2.
  • Number conversion value (X pl _ adc , Y pl _ adc )
  • the slope calculation unit 711 is configured to obtain X pl _ adc according to the analog-to-digital conversion unit 710,
  • the values of Y p2 - ad c, and Y 2 are calculated to obtain a calibration slope Y lsl . Pe .
  • (X Yl ) is the first reference point coordinate of the first unlocking interface
  • (X 2 , Y 2 ) is the second reference point coordinate of the second unlocking interface
  • the first unlocking interface and the second unlocking interface are performed in an alternating manner.
  • the display is for the user to perform different unlocking operations
  • the first touch point P1 is located near the first reference point coordinate (X l
  • the second touch point P2 is located near the second reference point coordinate (X 2 , Y 2 ).
  • the coordinate calculation unit 80 is for passing the original reference slope X Qsl . Pe and Y Qsl . Pe calculates the coordinates (X pl , Y pl ) of (Xp dc, Yp dc) obtained by the analog-to-digital conversion unit 710 and the coordinates of the analog-to-digital conversion values (X p2-adc , Y p2 _ adc ) of the second touch point P2 (X p2 , Y p2 ).
  • the first judging unit 81 is configured to judge the deviation value between ( ⁇ ⁇ 1 , ⁇ ⁇ 1 ) and (X l coordinate obtained by the coordinate calculating unit 80 and between (X p2 , Y p2 ) and ( ⁇ 2 , ⁇ 2 ) coordinates. Whether the deviation value is greater than the preset pixel value.
  • the processing unit 82 is connected to the first determination unit 81 and performs a corresponding operation according to the determination result of the first determination unit 81.
  • the processing of the processing unit 82 includes: when ( ⁇ ⁇ 1 , ⁇ ⁇ ; ! or ( ⁇ ⁇ 2 , ⁇ ⁇ 2 ) is not greater than the preset pixel value, the corresponding (X pl _ adc , Y pl _ adc ) is saved, when ( X pl , Y pl ) or ( ⁇ ⁇ 2 , When Y p2 ) is greater than the preset pixel value, the corresponding (Xp dc, Yp2-adc) is discarded, wherein at least one set (Xpl-adc, Ypl-adc) and (Xp2-adc, Yp2-adc) are obtained.
  • the second determining unit 83 is configured to determine whether the number of groups (X pl-adc , Y pl-ade ) and (X p2-adc , Y P 2- adc ) processed by the processing unit 82 reaches a preset number, generally
  • the preset number of groups is 10 groups or any other group number, which is not limited herein.
  • the averaging unit 84 is configured to determine when the second judging unit 83 When the number of groups of Y pl-adc ) and ( X p2 - adc , Yp2-adc) reaches the preset number of groups, the average coordinates of the majority (X pl , Yp dc) are obtained (X pl - ad c:,, Ypl -adC ) and the average coordinates (X p2 - adc , Y p2-adc ' ) of multiple groups (X p2 _ adc , Y P dc ).
  • the replacing unit 85 is configured to replace the X pl-adc , X p2 _adc - Y pl -adc, and Yp2-ad C ' obtained by the averaging unit 84 into Xpi-adc, Xp2-adc, Ypl-adc, and Yp2. -adc.
  • the calculation formula of the slope calculation unit 711 is:
  • Equation 17 Yp - Yp-adc * Ylslope Equation 18
  • the (X p , Y p ) coordinate position calculated by Equation 17 and Equation 18 is more accurate, and there is no error such as drift deviation.
  • the user does not need to enter the calibration interface of the touch screen calibration to perform the calibration operation from time to time, and only needs to unlock the cartridge when the boot is unlocked or the screen is unlocked, and the related device of the touch screen can be used to synchronize in the background.
  • a series of related operations for touch screen calibration reduces the troublesome process of individual calibration and improves the user experience.
  • the difference between this embodiment and the previous embodiment is that by determining (X pl , Y pl ) and ( ⁇ ⁇ 2 , ⁇ ⁇ 2 ) and selecting coordinates from the reference point (X l ⁇ 1 ) and ( ⁇ 2 , ⁇ 2 respectively)
  • the deviation value between the values is calculated in 10 groups within the preset pixel value range, and the two touch screen coordinates closest to the reference point coordinates can be effectively obtained and the calibration slope is calculated to obtain a more accurate calibration slope X lsl . p p Y lsl . Pe , to ensure the accurate implementation of the calibration operation.
  • the new benchmark slope X lsl after calibration is used. Pe and Y lsl .
  • the coordinate position of (X p , Y p ) calculated by pe is more accurate, and there is no error phenomenon such as drift deviation, which improves the user operation accuracy.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Position Input By Displaying (AREA)

Description

触摸屏校准方法和装置
【技术领域】
本发明涉及触摸屏技术领域, 具体涉及一种触摸屏校准方法和装置。
【背景技术】
触摸屏特别是电阻式触摸屏广泛用于各种类型的设备中。 电阻式触摸屏的 结构由两个透明层构成, 透明层的内表面均匀涂了一层导电材料。 当电阻式触 摸屏表面没有受到足够大的压力时, 顶层与底层之间不会产生接触, 以四线电 阻式触摸屏为例, 其等效电路如图 1所示。 从图 1可以看出, 在未触摸的情况 下, 是不导电的, 所以也无法获取对地阻抗; 当电阻式触摸屏表面受到压力足 够大时, 顶层与底层之间会产生接触, 从而使电阻层发生接触, 等效电路如图 2 所示。 从图 2可以看出, 在触摸的情况下, 顶层与底层之间会产生接触, 从而 导电, 所以可以通过获取触摸点的对地阻抗来确认该触摸点的物理位置, 具体 的:
当触摸屏电阻层发生接触, 通过获取触摸点对地阻抗 (Rx, Ry), 确认其物 理位置。通过模数转换器 ADC把 (Rx, Ry)转化成可计算的数字信号 (Xadc, Yadc)。 把数字信号的值和屏幕坐标进行映射, 形成对应关系, 也就是通常所说的校准, 校准成功后, 触摸屏就可以正常使用。
把触摸屏所有点的对地阻抗的模数转换值, 和屏幕坐标——对应, 显然是 不可能的, 根据电阻式触摸屏的特性, 导电材料是均匀分布的, 即任意点之间 为线性关系, 可以选取特殊点, 得出校准公式。
常见的校准算法为两点式,请参阅图 3, 选取屏幕固定点左上角的第一基准 点坐标 (Χ^Υ 和屏幕右下角的第二基准点坐标 (X2,Y2)进行校准算法。 校准过程 中, 点击第一基准点坐标附近的 (Χρ1ρ1)和第二基准点坐标附近的 (Χρ2ρ2), 通 过 ADC (模数转换)测量出 (Xpl-adc,Ypl-adc)和 (Xp2-adc,Yp2-adc), 计算出 X轴和 Y轴 的固定斜率 slope, 其中, 计算公式为: χ = X2 ~X1 γ = Y2 ~Y1
slope — Y — X slope ― Y _ Y
Λρ2— adc ― Λρ1— adc 、 Ip2-adc ― Ipl-adc 校准后, 点击触摸屏上任意一点时, 通过 ADC测量出 (Xp_adc, Yp_adc), 使用 斜率 slope公式可以计算出对应的屏幕坐标 (Χ,Υ), 其计算公式为:
V _ V * V γ _ γ 氺 γ
p-adc slope p-adc slope 但是, 触摸屏使用一段时间后一般会出现漂移偏差等现象, 用户需要不定 期地进入校准界面进行校准。 这个校准步骤既麻烦而且还可能给用户造成假象, 误认为触摸屏的质量或者使用该触摸屏的终端软件质量不稳定, 影响用户的使 用体验。
【发明内容】
本发明主要解决用户校准触摸屏时, 需不定期的进入校准界面进行校准操 作的技术问题, 是提供一种筒单可行的触摸屏校准方法和装置。
为解决上述技术问题, 本发明采用的一个技术方案是: 提供一种触摸屏校 准方法, 包括: 进行解锁时, 判断触摸屏处于第一解锁界面或第二解锁界面, 第一解锁界面和第二解锁界面采用交替方式进行显示; 当处于第一解锁界面时 获取第一基准点坐标(Xl Yi)附近的第一触摸点 PI的触摸屏坐标, 当处于第 二解锁界面时获取第二基准点坐标(X2, Y2)附近的第二触摸点 Ρ2的触摸屏坐 标; 计算得到第一触摸点 P1的模数转换数值 (Xpl_adc, Ypl_adc)和第二触摸点 P2的 模数转换数值 (Xp dc , Yp2-adc); 通过原基准斜率 X。slpe和 Y。slpe计算得到第一触 摸点 P1的模数转换数值 Cade, Yp dc)的坐标(Xpl, Ypl) 以及第二触摸点 Ρ2 的模数转换数值 (Xp2-adc, Yp2-adc)的坐标(Xp2, Yp2); 判断(Xpl, Ypl)与 (Xl Yi)坐标之间的偏差值以及(Xp2, Yp2)与 (χ2, Υ2)坐标之间的偏差值是否大 于相应的预设像素值; 当 (Χρ1, Υρ1)或 (Χρ2, Υρ2) 的偏差值不大于相应的预 设像素值时保存其对应的
Figure imgf000003_0001
Yp^dc)或 (Xp dc, Yp2-adc), 当 (XP1, 丫^) 或 (Xp2, Yp2)的偏差值大于相应的预设像素值时进行舍弃其对应的 (Xpl_adc, Ypl-adc) 或 (Xp2-adC, Yp2-adc); 在获取到至少一组 (Xpl-adc, Ypl-adc)和 (Xp2-adC, Yp2-adc)时, 根据
Figure imgf000004_0001
Xp2-adc、 X 以及 X2的值计算得到校准斜率 Xlslpe, 根据 Yp dc
Yl以及 Y2的值计算得到校准斜率 Ylslpe; 将校准斜率 Xlslpe和 Ylslpe作为新基 准斜率而替换掉原基准斜率。
其中, 在当 (Xpl , Ypl )或 (Χρ2, Υρ2 ) 的偏差值不大于相应的预设像素值 时保存其对应的 (Xpl-adc, Ypl-adc) 或 (Xp2-adc, Yp2-adc) , 当 ( Xpl , pl ) 或 (Xp2, Yp2 ) 的偏差值大于相应的预设像素值时进行舍弃其对应的 (Xpl_ade, Ypl_adc)或
(Xp2-adC Yp2-adc)的步骤之后, 还包括: 判断 (Xpl-adc, Ypi-adc)和 (Xp2-adc, Yp2-adc)的组 数是否达到预设组数; 当 (Xpl_adc, Ypl-adc)和 (Xp2-adc, Yp2_adc)的组数达到预设组数 时, 求得多组 (Xp dc, Yp dc)的平均坐标(Xp dc,, Ypl-adc' ) 以及多组 (Xp dc, Yp2-adc)的平均坐标(Xp2-adc,, Yp2-adc' )o 在根据 Xp dc
Figure imgf000004_0002
X 以及 X2的值计 算得到校准斜率 Xlslpe, 根据 Ypl_adc、 Yp2_adc、 以及 Y2的值计算得到校准斜率
Ylsl。pe的步骤中包括: 将 Xpl-adc,、 Xp2-adc,、 Ypl-adc,以及 Yp2-adc,分别替换成 Xpl-adc、
Xp2-adc、 Ypl-adc以及 Yp2-adc; 根据 Xpl-adc、 Xp2-adc、 以及 X2的值计算得到校准斜 率 Xlsl。pe, » Ypl-adc ^ Yp2-adC、 以及 Y2的值计算得到校准斜率 Ylslpe
其中, 在通过原基准斜率 XQslpe和 YQslpe计算得到第一触摸点 P1的模数转 换数值 Cade , Yp dc)的坐标(Xpl, Ypl ) 以及第二触摸点 Ρ2 的模数转换数值
(Xp2-adC Yp2-adc)的坐标(XP2, Yp2 )的步骤中包括: 根据 = XPW- adc Xosl。Pe和 γ = γ * γ
pm pm— adc QSl。pe分别计算 、 、 Χρ2和 Υρ2, 其中, m、 η为 1或 2。
为解决上述技术问题, 本发明采用的另一个技术方案是: 提供一种触摸屏 校准方法, 包括: 在触摸该触摸屏进行解锁时, 分别获取第一触摸点 P1和第二 触摸点 Ρ2的触摸屏坐标;根据该第一触摸点 P1和该第二触摸点 Ρ2的触摸屏坐 标计算以得到校准斜率 Xlslpe和 Ylslpe; 将该校准斜率 Xlslpe和 Ylslpe作为新基 准斜率而替换掉原基准斜率。
其中, 在该在触摸该触摸屏进行解锁时, 分别获取第一触摸点 P1和第二触 摸点 P2的触摸屏坐标的步骤中, 包括: 进行解锁时, 判断该触摸屏处于第一解 锁界面或第二解锁界面; 当处于该第一解锁界面时获取第一基准点坐标(x1
Y1 )附近的该第一触摸点 PI的触摸屏坐标, 当处于该第二解锁界面时获取第二 基准点坐标(X2, Y2)附近的该第二触摸点 Ρ2的触摸屏坐标。 其中, 该第一解 锁界面和第二解锁界面采用交替方式进行显示。
其中, 在该根据第一触摸点 P1和第二触摸点 Ρ2的触摸屏坐标计算以得到 校准斜率 Xlslpe和 Ylslpe的步骤中, 包括: 计算得到该第一触摸点 P1的模数转
Yp^dc)和该第二触摸点 P2的模数转换数值 (Xp2_adc, Yp2_adc); 根据 以及 X2的值计算得到该校准斜率 Xlslpe, 根据 Υρϋ、
Yi以及 Y2的值计算得到该校准斜率 Ylslpe
其中, 在该计算得到该第一触摸点 P1 的模数转换数值 (Xpl_adc, Ypl_adc)和该 第二触摸点 P2的模数转换数值 (Xp2_adc, Yp2_adc)的步骤之后还包括: 通过原基准 斜率 x。slpe和 Y。slpe计算得到该第一触摸点 P1 的模数转换数值 (Xpl_adc, Ypl_adc) 的坐标(Xpl, Ypl )以及该第二触摸点 P2的模数转换数值 (Xp2_adc, Yp2_adc)的坐标 (Xp2, Yp2); 判断(Xpl, Ypl )与(Χ1 Ύ1 )坐标之间的偏差值以及(Χρ2, Υρ2) 与 (Χ2, Υ2)坐标之间的偏差值是否大于预设像素值; 当 (Χρ1, Υρ1)或(χρ2, Υρ2) 的偏差值不大于所述预设像素值时保存其对应的 (Xpl_ade, Ypl_ade)或 (xp2_adc,
Yp2-adc), 当 (XP1, Ypl )或 (XP2, Yp2) 的偏差值大于所述预设像素值时进行舍 弃其对应的 (Xpl_adc, Ypl_adc)或 (Xp2_adc, Yp2-adc)o其中,获取至少一组 (Xpl_adc, Ypl-adc) 和 (Xp2-adc, Yp2-adc) °
其中, 在该当 (Xpl, Ypl )或 (Χρ2, Υρ2) 的偏差值不大于所述预设像素值 时保存其对应的 (Xpl-adc, Ypl-adc)或 (Xp2-adc, Yp2-adc), 当 (Xpl, Ypl )或(Xp2, Yp2) 的偏差值大于所述预设像素值时进行舍弃其对应的 (Xpl_ade, Ypl_ade)或 (xp2_adc,
Yp2-adc)的步骤之后, 还包括: 判断 (Xp dc, Yp dc)和 (Xp dc, Υρ2 )的组数是否 达到预设组数; 当 (Xpl_ade, Ypl_adc)和 (Xp2_adc, Yp2_ade)的组数达到该预设组数时, 求得多组 (Xpl-adc, Ypl-adc)的平均坐标(Xpl-adc,, Ypl-adc,) 以及多组 (Xp2-adc, Yp2-adc) 的平均坐标(Xp2_adc,, Yp2_adc' )„ 同时, 在该根据 Xpl_adc、 Xp2_adc、 以及 x2的 值计算得到该校准斜率 Xlslpe, 根据 Ypl_adc、 Yp2_adc、 以及 Y2的值计算得到该 校准斜率 Ylslpe的步骤中包括: 将 xP dc,、 xp2_adc' , Yp dc,以及 YP dc,分别替换 成 Xpl-adc、 Xp2-adc、 Ypl-adc以及 Yp2-adc; 根据 Xpl-adc、 Xp2-adc、 Xl以及 X2的值计算 得到该校准斜率 Xlslpe, 根据 Ypl_adc、 Yp2_adc、 以及 Y2的值计算得到该校准斜
Yl slope。
其中, 在该通过原基准斜率 X。slpe和 Y。slpe计算得到该第一触摸点 P1的模
Figure imgf000006_0001
Yp^dc)的坐标(Xpl , Ypl )以及该第二触摸点 Ρ2的模数转换 数值 (Xp dc, YP dc)的坐标( Xp2, Yp2 )的步骤中包括:根据 Χρη = Xpw- adc x°slope γ = γ * γ
和 pm pm-adc (Mope分别计算 、 、 Χρ2以及 Υρ2, 其中, mη为 1 或 2。
其中, 该根据 Xpl_adc、 xp2_adc、 以及 X2的值计算得到该校准斜率 Xlslpe, 根据 Ypl-adc、 Yp2-adc、 以及 Y2的值计算得到该校准斜率 Ylslpe的步骤包括: 根 据 Xlslpe = χ 和 Υ = γ 二 1 ^分别计算以得到该校准斜率 入 p2— adc 入 pi— adc ^p2-adc ^pl-adc
Xlslope 口 Y 1 slope。 为解决上述技术问题, 本发明采用的另一个技术方案是: 提供一种触摸屏 校准装置, 包括获取模块、 计算模块和设置模块。 该获取模块用于在触摸该触 摸屏进行解锁时, 分别获取第一触摸点 P1和第二触摸点 P2的触摸屏坐标; 该 计算模块用于根据该获取模块获取到的该第一触摸点 P1和该第二触摸点 P2的 触摸屏坐标计算以得到校准斜率 Xlslpe和 Ylslpe; 该设置模块用于将该计算模块 计算得到的该校准斜率 Xlslpe和 Ylslpe作为新基准斜率而替换掉原基准斜率。
其中, 该计算模块包括模数转换单元和斜率计算单元。 该模数转换单元用 于计算该获取模块得到的该第一触摸点 P1 的模数转换数值 (Xpl_adc, Ypl_adc)和该 第二触摸点 P2的模数转换数值 (Xp2_adc, Yp2_adc); 该斜率计算单元用于根据该模 数转换单元得到的 Xp dc
Figure imgf000006_0002
以及 X2的值计算得到该校准斜率 Xlslpe, 根据该模数转换单元得到的 Ypl_adc、 Yp2_adc、 以及 Y2的值计算得到该校准斜率 Ylslpe。 其中, (Χ Yi )为第一解锁界面的第一基准点坐标, (X2, Y2 )为第二 解锁界面的第二基准点坐标, 该第一解锁界面和第二解锁界面采用交替方式进 行显示以供用户进行不同的解锁操作, 该第一触摸点 P1位于该第一基准点坐标 ( X1 ? 附近, 该第二触摸点 P2位于该第二基准点坐标(X2, Y2 ) 附近。
其中, 该装置还包括坐标计算单元、 第一判断单元、 处理单元、 第二判断 单元、均值单元和替换单元。该坐标计算单元用于通过原基准斜率 XQslpe和 Y。slpe 计算经过该模数转换单元得到的
Figure imgf000007_0001
Ypl-adc)的坐标(Xpl, Ypl ) 以及该第二 触摸点 Ρ2的模数转换数值 (Xp2_ade, Yp2_adc)的坐标(Xp2, YP2 ); 该第一判断单元 用于判断该坐标计算单元得到的(Χρ1, Υρΐ )与 (X" Yi )坐标之间的偏差值以 及(Xp2, Yp2 )与 (χ2, Υ2 )坐标之间的偏差值是否大于预设像素值; 该处理单 元用于当 (Χρ1, Υρ1 )或 (Χρ2, Υρ2 ) 的偏差值不大于该预设像素值时保存其对 应的 (Xpl-adc, Ypl-adc)或 (Xp2-adC, Yp2-adc), 当 (Xpl, Ypl )或( Xp2, Yp2 ) 的偏差值 大于该预设像素值时进行舍弃其对应的 (Xpl_ade, Ypl_ade)或 (Xp2 , Yp2-adc),其中, 获取至少一组 (Xpl_adc, Ypl_adc)和 (Χρ2^, Yp2-adc); 该第二判断单元用于判断该处 理单元处理得到的 (Xpl_ade, Ypl-adc)和 (Xp2-ade, Yp2-ade)的组数是否达到预设组数; 该均值单元用于当该第二判断单元判断到 (Xpl-adc, Ypl-adc)和 (Xp2-adc, Yp2-adc)的组 数达到该预设组数时, 求得多组 (X^adc, Yp dc)的平均坐标(Xpl-adc,, Ypl-adc' ) 以及多组 (Xp2_adc, Yp2_adc)的平均坐标(Xp2_adc,, Yp2-adc' ); 该替换单元用于将该均 值单元得到的 Xpl-adc,、 Xp2-adc,、 Ypl-adc,和 Yp2-adC,分另 'J替换成 Xpl-adc、 Xp2-adc、 Ypl-adc 和 Yp2-adc; 同时, 该斜率计算单元根据该替换单元替换得到的 Xpl-adc、 Xp2-adc、 Xl以及 X2的值计算得到该校准斜率 Xlslpe, 根据 Ypl-adc- Yp2-adc、 Yl以及 Y2的 值计算得到该校准斜率 Ylslpe
V = V * V γ ― γ * γ 其中,该坐标计算单元根据 P" _ P""adc 0sl。Pe和 Pm — Pm~ad 0sl。pe分 别计算 Χρ1、 Υρ1、 Χρ2和 Υρ2, 该斜率计算单元根据
X 1 slope Y (p2adc一- γ -adc分别计算以得到该校准斜率 Xlsl0pe和 Ylsl0pe, m、 n为 1 或 2。 本发明的有益效果是: 区别于现有技术的情况, 本发明触摸屏校准方法和 装置在触摸屏的解锁界面分别获取第一触摸点 P1和第二触摸点 P2,并计算得到 该校准斜率 Xlslp p Ylslpe。 本发明在用户需要使用触摸屏终端时, 于解锁的过 程在后台同步实现了触摸屏校准的操作, 而无需不定期地进入特定的校准界面, 减少了单独校准的麻烦操作, 提高了用户的使用体验。
【附图说明】
图 1是现有技术触摸屏常态下的等效电路示意图;
图 2是现有技术触摸屏受触摸时的等效电路示意图;
图 3是现有技术触摸屏校准时的坐标选取示意图;
图 4是本发明触摸屏校准方法的其中一实施例流程示意图;
图 5是本发明触摸屏校准方法的另一实施例流程示意图;
图 6是本发明触摸屏校准方法的另一实施例流程示意图;
图 7是本发明触摸屏校准装置的其中一实施例模块连接示意图; 以及 图 8是本发明触摸屏校准装置的另一实施例模块连接示意图。
【具体实施方式】
请参阅图 4, 是本发明触摸屏校准方法的其中一实施例流程示意图。 在本实 施例中, 该触摸屏校准方法包括:
步骤 401 , 在触摸该触摸屏进行解锁时, 分别获取第一触摸点 P1和第二触 摸点 P2的触摸屏坐标。 本步骤 401与现有技术不同之处在于: 在用户触摸解锁 时, 后台同步进行触摸屏校准的坐标选取等操作。 而第一触摸点 P1和第二触摸 点 P2的坐标选取方法, 则可以根据实际情况而定, 譬如在触摸屏的两条对角线 所在的直线上, 也可以在平行于对角线的直线上, 或者在屏幕内任意两点相异 的位置上选取。 同时, 为了保证校准的准确度, 两点间的间隔距离应保证在额 定的像素距离外, 譬如 3个、 4个或 5个不等, 在此不作限定。 而解锁的方式, 可以为滑动解锁、 绘图解锁或密码解锁中的任意一种, 在本技术领域人员理解 的范围内, 不作限定。
步骤 402 ,根据第一触摸点 P1和第二触摸点 P2的触摸屏坐标计算以得到校 准斜率 Xlslpi^p Ylslpe。 在本步骤 402中, 可参阅背景技术的通过两点进行计算 以得到校准斜率 Ylslpe, 而在其他实施例中, 也可以在采集多点之后, 采用三点校准矩阵算法等方法进行计算, 在本技术领域人员理解的范围内, 不 作限定。
步骤 403 ,将校准斜率 Xlslpe和 Ylslpe作为新基准斜率而替换掉原基准斜率。 在完成步骤 403 的基准斜率替换动作之后, 还可以包括其他步骤, 譬如用 户在下一次触摸点击触摸屏上任意一点时, 通过 ADC测量出其对应的 (Xp_adc , Yp-adc) , 使用新基准斜率 Xlslpe和 Ylslpe计算出相应的屏幕坐标 (Xp , Yp) , 其计算 公式为:
Xp - Xp—adc * Xlslope 式 1
V = V * Y Jr
p p-adc 1 slope ^ 通过式 1和式 2计算得到的 (Xp , Yp)坐标位置更精确, 而无漂移偏差等 误差现象。
在本发明实施例中, 用户无需不定期地进入触摸屏校准的校准界面进行校 准操作, 而只需在开机解锁或者屏幕解锁时, 进行筒单的解锁操作, 使用触摸 屏的相关设备即可在后台同时进行触摸屏校准的一系列相关操作, 减少了单独 校准的麻烦过程,提高了用户的使用体验。另夕卜,采用校准后的新基准斜率 Xlslpe . 和 Ylslpe计算得到的 (Xp , Yp)坐标位置更精确, 而无漂移偏差等误差现象, 提高 了用户操作正确率。
请参阅图 5 , 是本发明触摸屏校准方法的另一实施例流程示意图。 在本实施 例中, 该触摸屏校准方法包括:
步骤 500 , 需进行解锁。 步骤 500为等待步骤, 可以为收到用户需要解锁的 中断信号或相关的需解锁的动作, 譬如用户激活、 触碰或收到电话呼入时, 触 摸屏的屏幕进入待解锁操作的状态。 其中, 在本实施例中, 待解锁的界面为 Idle 滑动解锁界面, 也可以为其他形式的解锁界面, 在本技术领域人员理解的范围 内, 不作限定。
步骤 501 , 判断触摸屏是否处于第一解锁界面, 当为 "是" 时执行步骤 502 , 当为 "否" 时执行步骤 503。 在本发明实施例中, 一般将使用触摸屏的终端譬如 手机等的解锁界面分为交替显示的第一解锁界面和第二解锁界面, 并通过 "状 态 Idle_lock_screen" 记录当前所处的解锁界面为第一或第二解锁界面。 同时, 在第一解锁界面上设置第一基准点坐标(XI , Y1 ) 以及在第二解锁界面上设置 第二基准点坐标(X2 , Y2 ), 使得用户在不同的解锁界面时, 触摸到的触摸屏 坐标所对应的基准点坐标相异, 以备校准时获取两点或多点不同的触摸屏坐标。 而当触摸屏的屏幕进入 Idle滑动解锁界面时, 读取当前需要显示的其中一个解 锁界面并记录, 以备下一次解锁时切换到另一个解锁界面, 当然, 其切换方式 可以为多种, 在此不作限定。 另外, 在图 5 所示中, 仅为方便描述本实施例的 流程, 也可以调整为 "判断触摸屏处于第一解锁界面或第二解锁界面" 或 "判 断触摸屏是否处于第二解锁界面", 接着判断结果和处理方式作相应修改即可, 在本技术领域人员理解的范围内, 不作赘述。
步骤 502 , 获取第一基准点坐标(Xl Y1 ) 附近的第一触摸点 PI的触摸屏 坐标并执行步骤 504。 当然, 也存在并包括因为用户的精确操作而使得第一触摸 点 P1的触摸屏坐标和第一基准点坐标(Xl Y1 )完全重合的情况, 在此不作赘 述。
步骤 503 , 获取第二基准点坐标(Χ2, Υ2 ) 附近的第二触摸点 Ρ2的触摸屏 坐标并执行步骤 504。 当然, 也存在并包括因为用户的精确操作而使得第二触摸 点 Ρ2的触摸屏坐标和第二基准点坐标(Χ2, Υ2 )完全重合的情况, 在此不作赘 述。
值得注意说明的是, 步骤 502和步骤 503为两次或多次解锁过程的获取动 作, 而在本实施例中仅为说明本发明的工作原理过程。 在具体的执行过程中, 每次获取之后, 其可包括返回步骤 500 的等待进行解锁等的循环步骤, 在此不
"""" ' "赞述。
步骤 504,计算得到第一触摸点 P1的模数转换数值 (Xpl_adc, Ypl_adc)和第二触 摸点 P2的模数转换数值 (Xp2_adc, Yp2_adc)。 本步骤 504的具体工作原理工作请参 阅背景技术的相关描述, 在此不作赘述。 另外, 为了清楚地表示本发明需要获 取一组或多组的第一触摸点 P1和第二触摸点 P2, 因而采用 "和" 的方式进行描 述, 而在其他实施例中, 可以修改为 "或" 的方式, 在本技术领域人员理解的 范围内, 不作限定。
步骤 505 , 根据 Xp dc
Figure imgf000011_0001
以及 X2的值计算得到校准斜率 Xlslpe, 根据 Ypl-adc、 Yp2-adc、 以及 Y2的值计算得到校准斜率 Ylslpe。 在本实施例中, 为实现校准计算的过程, 需获取至少一组 (Xpl_adc, Ypl_adc)和 (Xp2_adc, Yp2-adc), 即 在获取到至少一组 (Xpl_adc, Ypl_adc)和 (Xp2_adc, Yp2-adc)时才执行步骤 505 , 而当获 取到多组时, 可采用平均值或择优的方式进行筛选, 在此不作限定。 在本实施 例中, 校准斜率的计算公式为:
X2― Xi 、
Xlslope ― 7 —式 3
入 p2— adc―入 pi— adc
γ - γ
1lslope — YY -八 4
1 p2-adc― 1 pl-adc 步骤 506,将校准斜率 Xlslpe和 Ylslpe作为新基准斜率而替换掉原基准斜率。 本步骤 506之后, 如前所述, 可以再次返回步骤 500以重新获取触摸屏坐标并 进行校准, 也可以获取多组触摸屏坐标之后再进行均值或择优的方式进行筛选 再计算校准斜率, 在此不作限定。
如前所述, 在完成步骤 506 的基准斜率替换动作之后, 还可以包括其他步 骤, 譬如用户在下一次触摸点击触摸屏上任意一点时, 通过 ADC测量出其对应 的 (Xp-adc, Yp-adc), 使用新基准斜率 Xlslpe和 Ylslpe计算出相应的屏幕坐标 (Xp, YP), 其计算公式为:
V _ V ^ V
Λρ ^p-adc Λ1 slope —式 ^ γ = γ * γ
p p-adc 1 slope __ ^ 通过式 5和式 6计算得到的 (Χρ, Υρ)坐标位置更精确, 而无漂移偏差等误差 现象。
在本发明实施例中, 用户无需不定期地进入触摸屏校准的校准界面进行校 准操作, 而只需在开机解锁或者屏幕解锁时, 进行筒单的解锁操作, 使用触摸 屏的相关设备即可在后台同时进行触摸屏校准的一系列相关操作, 减少了单独 校准的麻烦过程, 提高了用户的使用体验。 本实施例与前一个实施例不同之处 在于, 通过切换两个解锁界面并切换基准点坐标的方式, 能快速有效地获取到 两个离基准点坐标较近的触摸屏坐标并进行校准斜率的计算, 保证了校准操作 的有效实现。 另外, 采用校准后的新基准斜率 Xlslpe和 Ylslpe计算得到的 (ΧΡ, Υρ)坐标位置更精确, 而无漂移偏差等误差现象, 提高了用户操作正确率。
请参阅图 6, 是本发明触摸屏校准方法的另一实施例流程示意图。 在本实施 例中, 该触摸屏校准方法包括:
步骤 600, 需进行解锁, 当需要进行解锁时进入特定的解锁界面, 执行步骤 601 , 不需要进行解锁时, 处于等待中断等响应操作的状态。 在本实施例中, 待 解锁的界面为 Idle滑动解锁界面, 也可以为其他形式的解锁界面, 在本技术领 域人员理解的范围内, 不作限定。
步骤 601 , 判断触摸屏是否处于第一解锁界面, 当为 "是" 时执行步骤 602, 当为 "否" 时执行步骤 603。 如前所述, 一般将使用触摸屏的终端譬如手机等的 解锁界面分为交替显示的第一解锁界面和第二解锁界面, 并通过 "状态 Idle_lock_screen"记录当前所处的解锁界面为第一或第二解锁界面。 同时, 在第 一解锁界面上设置第一基准点坐标(Xl Yi ) 以及在第二解锁界面上设置第二 基准点坐标(X2, Y2 ), 使得用户在不同的解锁界面时, 触摸到的触摸屏坐标所 对应的基准点坐标相异, 以备校准时获取两点或多点不同的屏幕坐标。 而当触 摸屏的屏幕进入 Idle滑动解锁界面时, 读取当前需要显示的其中一个解锁界面 并记录, 以备下一次解锁时切换到另一个解锁界面, 当然, 其切换方式可以为 多种, 在此不作限定。 另外, 在图 6所示中, 仅为方便描述本实施例的流程, 也可以调整为 "判断触摸屏处于第一解锁界面或第二解锁界面" 或 "判断触摸 屏是否处于第二解锁界面", 接着判断结果和处理方式作相应修改即可, 在本技 术领域人员理解的范围内, 不作赘述。
步骤 602, 获取第一基准点坐标(Xl Y1 ) 附近的第一触摸点 PI的触摸屏 坐标并执行步骤 604。 当然, 也存在并包括因为用户的精确操作而使得第一触摸 点 P1的触摸屏坐标和第一基准点坐标(Xl Y1 )完全重合的情况, 在此不作赘 述。
步骤 603 , 获取第二基准点坐标(Χ2, Υ2 ) 附近的第二触摸点 Ρ2的触摸屏 坐标并执行步骤 604。 当然, 也存在并包括因为用户的精确操作而使得第二触摸 点 Ρ2的触摸屏坐标和第二基准点坐标(Χ2, Υ2 )完全重合的情况, 在此不作赘 述。
值得注意说明的是, 步骤 602和步骤 603为两次或多次解锁过程的获取动 作, 而在本实施例中仅为说明本发明的工作原理过程。 在具体的执行过程中, 每次获取之后, 其可包括返回步骤 600 的等待进行解锁等的循环步骤, 在此不
' ■赞述。
步骤 604,计算得到第一触摸点 P1的模数转换数值 (Xpl_adc, Ypl_adc)和第二触 摸点 P2的模数转换数值 (Xp2_adc, Yp2_adc)。 本步骤 604的具体工作原理工作请参 阅背景技术的相关描述, 在此不作赘述。 另外, 为了清楚地表示本发明需要获 取一组或多组的第一触摸点 P1和第二触摸点 P2, 因而采用 "和" 的方式进行描 述, 而在其他实施例中, 可以修改为 "或" 的方式, 在本技术领域人员理解的 范围内, 不作限定。
步骤 605 , 通过原基准斜率 X。slpe和 Y。slpe计算得到第一触摸点 P1的模数
Figure imgf000013_0001
Ypl_adc)的坐标(Xpl , Ypl )以及第二触摸点 Ρ2的模数转换数值 (Xp2-adC Yp2_adc)的坐标(Xp2, Yp2 )。 与前两个实施例的不同之处在于, 本实施例 为了得到更加精确的校准斜率, 对获取的第一触摸点 P1和第二触摸点 Ρ2的触 摸屏坐标精度要求更高, 因此, 需进一步计算得到其对应的坐标(Xpl, 丫^;!和
( Xp2, Yp2), 在后续的步骤中将(Χρ1, Υρ1 ;^ρ ( Χρ2, Υρ2)和基准点坐标(Χ )和( X2, Y2 )进行偏差值的判断,从而进行筛选。在本实施例中,计算( Χρ1,
Υρΐ )或 (Xp2, Yp2) 的公式如下:
X« = X prt-adc *χ Oslope ―— 7
Y pm = Y pm-adc *γ Oslope __ g 其中, m、 n为 1或 2。
步骤 606, 判断 (Xpl, Ypl ) 与 (Χ1 Ύ1 ) 坐标之间的偏差值以及(Χρ2, Υρ2)与 (Χ2, Υ2) 坐标之间的偏差值是否大于预设像素值, 当为 "否" 时, 执 行步骤 607, 当为 "是" 时, 执行步骤 608。 当然, 在本步骤 606中, 图 6描述 为 "判断偏差值是否大于预设像素值", 仅是为了筒略地描述本实施例的工作流 程, 其可以相应调整, 譬如判断偏差值是否大于相应的预设像素值, 如针对不 同的触摸点可以设置不同的预设像素值, 在本技术领域人员理解的范围内, 不 作限定。 进一步地, 该预设像素值通常为斜率校准时的允许误差范围, 一般的 手机等终端设置为 3个像素点的像素值, 当然, 为了提高精度, 也可以为 1个、 2个不等, 或可以根据触摸屏的大面积而调整为 4个、 5个或更多, 在此不作限 定。
步骤 607, 保存其对应的 (Xpl_adc, Y l_adc) 或 (Xp2-adc, Yp2_adc)并执行步骤 609。 步骤 608, 舍弃其对应的 (Xpl-adc,
Figure imgf000014_0001
Yp2-adc) 并执行步骤 609。 值得注意的是, 步骤 607和 608之后, 至少应获取一组 (Xpl_adc, Yp^dc)和
(Xp2-adC Yp2-adc), 换句话说, 需要进行步骤 609的判定之前, 其保存的 (Xp dc,
Ypl-adc)和 (Xp2-adc, Yp2_adc)应满足累积并组合形成 "组" 的情况, 即需要在获取到 至少一组 (Xpl_adc, Y^adc)和 (XP dc, Yp^dc)时才能执行步骤 609, 虽在本方法流 程中并没详细描述, 不作限定。 当然, 其获取的过程分为几个循环而实现。 而 在其他实施例中, 若是针对密码输入型的解锁方式, 则可能存在一次性即获取 了两个解锁界面中的触摸屏坐标进行校准, 在本技术领域人员理解的范围内, 不作赘述。
步骤 609, 判断 (Xpl-ade,
Figure imgf000015_0001
Yp2-adc)的组数是否达到预设组数, 若 "是", 执行步骤 610, 若 "否", 组数 +1并返回步骤 600再次在下一个解锁 过程
Figure imgf000015_0002
Yp2-adc)。 其中, 预设组数可以为 10组、 20 组或其他任意组, 可根据实际需要而设定。 在其他实施例中, 步骤 609可修改 为: 在每一个循环获取 (Xpl_adc,
Figure imgf000015_0003
Yp^dc)的过程中, 可以分别判 断 "(Xpl-adc, Ypl-adc)" 和 "(Xp2-adc, Yp2-adc)" 的个数是否同时大于等于预设组数 的数目, 若 "是" 则执行步骤 610, 若 "否" 则
Figure imgf000015_0004
Yp2-adc) 中的数目 +1并返回步骤 600, 在本技术领域人员理解的范围内, 不作限定。
步骤 610, 求得多组 (Xpl-adc, Ypl-adc)的平均坐标(Xpl-adc Ypl-adc,) 以及多组
(Xp2-adC Yp2-a(k)的平均坐标(Xp2-a<k Yp2-adC )» 本实施例采用均值的方式获取计 算校准斜率的数据, 而在其他实施例中, 可以采用择优的方式, 譬如分别选择 离基准点坐标(Xl Yi )或(X2, Y2 )最近的两个触摸屏坐标, 在此不作限定。
步骤 611 , 将 Xpl-adc' Xp2-adc- Ypi-adc'以及 Yp dc'分别替换成 Xpl-adc Xp2-adC Yp de以及 Yp2 -adc°
步骤 612, 根据 XP dc
Figure imgf000015_0005
以及 X2的值计算得到校准斜率 Xlsl pe, 根据 Ypl-adc Yp2-adc、 以及 Y2的值计算得到校准斜率 Ylslpe。 在本实施例中, 校准斜率的计算公式为:
1 slope
X p2-adc X pl-adc -式 9
γ 2 - γ 1
1 slope v _
p2- ade pi- ade 10 步骤 613 ,将校准斜率 Xlslpe和 Ylslpe作为新基准斜率而替换掉原基准斜率。 如前两个实施例所述, 在完成步骤 613 的基准斜率替换动作之后, 还可以 包括其他步骤, 譬如用户在下一次触摸点击触摸屏上任意一点时, 通过 ADC测 量出其对应的 (Xp_adc, Yp_adc), 使用新基准斜率 Xlslpe和 Ylslpe计算出相应的屏幕 坐标 (Xp, Yp), 其计算公式为: V _ V * V
Λρ ― Ap-adc Λ1 slope 式 11
γ = γ * γ
ρ p-adc 1 slope -式 12 通过式 11和式 12计算得到的 (Xp, Yp)坐标位置更精确, 而无漂移偏差等误 差现象。
在本发明实施例中, 用户无需不定期地进入触摸屏校准的校准界面进行校 准操作, 而只需在开机解锁或者屏幕解锁时, 进行筒单的解锁操作, 使用触摸 屏的相关设备即可在后台同步进行触摸屏校准的一系列相关操作, 减少了单独 校准的麻烦过程, 提高了用户的使用体验。 本实施例与前一个实施例不同之处 在于, 通过判断(Χρ1, Υρ1 ) 以及(Χρ2, Υρ2 )并分别选取离基准点坐标(Xl Yi ) 以及(X2, Y2 )之间的偏差值在预设像素值范围内的 10组进行均值计算, 能有效地获取到两个离基准点坐标最近的触摸屏坐标并进行校准斜率的计算以 得到更精确的校准斜率 Xlslp p Ylslpe, 保证了校准操作的精确实现。 另外, 采 用校准后的新基准斜率 Xlslpe和 Ylslpe计算得到的 (Xp, Yp)坐标位置更精确, 而 无漂移偏差等误差现象, 提高了用户操作正确率。
请参阅图 7, 是本发明触摸屏校准装置的其中一实施例模块连接示意图, 其 工作流程请参阅图 4所示的流程图。 本实施例中, 触摸屏校准装置包括获取模 块 70、 计算模块 71以及设置模块 72。
与图 4所示流程图对应的是:
获取模块 70用于在触摸该触摸屏进行解锁时, 分别获取第一触摸点 P1和 第二触摸点 P2的触摸屏坐标; 计算模块 71用于根据获取模块 70获取到的第一 触摸点 P1和第二触摸点 P2的触摸屏坐标计算以得到校准斜率 Xlslpe和 Ylslpe; 设置模块 72用于将计算模块计算得到的校准斜率 Xlslpe和 Ylslpe作为新基准斜 率而替换掉原基准斜率。
在本发明实施例中, 用户无需不定期地进入触摸屏校准的校准界面进行校 准操作, 而只需在开机解锁或者屏幕解锁时, 进行筒单的解锁操作, 使用触摸 屏的相关设备即可在后台同时进行触摸屏校准的一系列相关操作, 减少了单独 校准的麻烦过程, 提高了用户的使用体验。
请结合图 6进一步参阅图 8,图 8是本发明触摸屏校准装置的另一实施例模 块连接示意图。
在本实施例中, 该触摸屏校准装置包括获取模块 70、计算模块 71和设置模 块 72外, 该计算模块 71包括模数转换单元 710以及斜率计算单元 711 , 并进一 步包括坐标计算单元 80、 第一判断单元 81、 处理单元 82、 第二判断单元 83、 均值单元 84以及替换单元 85。
在该计算模块 71 中, 该模数转换单元 710用于计算获取模块 70得到的第 一触摸点 P1 的模数转换数值 (Xpl_adc, Ypl_adc)和第二触摸点 P2的模数转换数值
(Xp2-adC Yp2-adc) ; 斜率计算单元 711用于根据模数转换单元 710得到的 Xpl_adc
Xp2-adc、 Xi 以及 X2的值计算得到校准斜率 Xlslpe, 根据模数转换单元得到的
Yp2-adc、 以及 Y2的值计算得到校准斜率 Ylslpe。 其中, (X Yl )为第 一解锁界面的第一基准点坐标, (X2, Y2 ) 为第二解锁界面的第二基准点坐标, 第一解锁界面和第二解锁界面采用交替方式进行显示以供用户进行不同的解锁 操作, 第一触摸点 P1位于第一基准点坐标(Xl 附近, 第二触摸点 P2位 于第二基准点坐标(X2, Y2 ) 附近。
进一步地, 通过坐标计算单元 80与模数转换单元 710相连接。
坐标计算单元 80用于通过原基准斜率 XQslpe和 YQslpe计算经过模数转换单 元 710得到的 (Xp dc, Yp dc)的坐标(Xpl, Ypl )以及第二触摸点 P2的模数转换 数值 (Xp2-adc, Yp2_adc)的坐标(Xp2, Yp2 )。
第一判断单元 81用于判断坐标计算单元 80得到的 (Χρ1, Υρ1 )与 (Xl 坐标之间的偏差值以及(Xp2, Yp2 )与 (Χ2, Υ2 )坐标之间的偏差值是否大 于预设像素值。
处理单元 82与第一判断单元 81相连接并根据第一判断单元 81的判断结果 执行相应的操作。 处理单元 82的处理过程包括: 当 (Χρ1, 丫^;!或 (Χρ2, Υρ2 ) 不大于预设像素值时保存其对应的 (Xpl_adc, Ypl_adc), 当 (Xpl , Ypl ) 或 (Χρ2, Yp2 ) 大于预设像素值时进行舍弃其对应的 (Xp dc, Yp2-adc), 其中, 获取至少一 组 (Xpl-adc, Ypl-adc)和 (Xp2-adc, Yp2-adc)。
第二判断单元 83用于判断处理单元 82处理得到的 (Xpl-adc, Ypl-ade)和 (Xp2-adc, YP2-adc)的组数是否达到预设组数, 一般情况该预设的组数为 10组或其他任意组 数, 在此不作限定。
均值单元 84用于当第二判断单元 83判断到
Figure imgf000018_0001
Ypl-adc)和 (Xp2-adc, Yp2-adc) 的组数达到预设组数时, 求得多组 (Xpl , Yp dc)的平均坐标(Xpl-adc:,, Ypl-adC ) 以及多组 (Xp2_adc, YP dc)的平均坐标(Xp2-adc,, Yp2-adc' )。
替换单元 85用于将均值单元 84得到的 Xpl-adc,、 Xp2_adc- Ypl-adc,和 Yp2-adC'分 另 ll替换成 Xpi-adc、 Xp2-adc、 Ypl-adc和 Yp2-adc。
之后, 再将替换得到的 Χρ1^、 Xp2_adc、 Yp dc和 Yp dc发送给斜率计算单元
711 , 并由斜率计算单元 711根据替换单元 85替换得到的 ΧΡ1^Λ、 XP2_ADC、 以 及 X2的值计算得到校准斜率 Xlslpe, W
Figure imgf000018_0002
Yp2-adc、 以及 Y2的值计算 得到校准斜率 Ylslpe
如前所述, Xpl、 Ypl、 ^和 Υρ2的计算公式为:
X pn = X pn-adc * X 0 slope -式 13
γ = γ ^ γ
pm pm - adc Oslope -式 14 其中, m、 n为 1或 2。
斜率计算单元 711的计算公式为:
X X2一 Xl
1 slope -式 15
X p2-ad( 一 X pi -adc
Y 1 slope Y 一 —式 16
丄 p2- adc Y Λ pi -adc 而替换得到新基准斜率 Xlslpe和 Ylslpe之后, 用户在下一次触摸点击触摸屏 上任意一点时, 通过 ADC测量出其对应的 (Xp_adc, Yp-adc). 再通过用新基准斜率
Xlslpe和 Ylslpe计算出相应的屏幕坐标 (XP, YP), 其计算公式为:
Xp = Xp_adc ^ Xlslope —式 17 Yp - Yp-adc * Ylslope 式 18 通过式 17和式 18计算得到的 (Xp , Yp)坐标位置更精确, 而无漂移偏差等误 差现象。
另外, 其具体实现过程还请参阅图 6所示的方法流程, 在本技术领域人员 理解的范围内, 不再赘述。
在本发明实施例中, 用户无需不定期地进入触摸屏校准的校准界面进行校 准操作, 而只需在开机解锁或者屏幕解锁时, 进行筒单的解锁操作, 使用触摸 屏的相关设备即可在后台同步进行触摸屏校准的一系列相关操作, 减少了单独 校准的麻烦过程, 提高了用户的使用体验。 本实施例与前一个实施例不同之处 在于, 通过判断(Xpl , Ypl ) 以及(Χρ2 , Υρ2 )并分别选取离基准点坐标(Xl Ύ1 ) 以及(Χ2, Υ2 )之间的偏差值在预设像素值范围内的 10组进行均值计算, 能有效地获取到两个离基准点坐标最近的触摸屏坐标并进行校准斜率的计算以 得到更精确的校准斜率 Xlslp p Ylslpe, 保证了校准操作的精确实现。 另外, 采 用校准后的新基准斜率 Xlslpe和 Ylslpe计算得到的 (Xp , Yp)坐标位置更精确, 而 无漂移偏差等误差现象, 提高了用户操作正确率。
以上所述仅为本发明的实施例, 并非因此限制本发明的专利范围, 凡是利 用本发明说明书及附图内容所作的等效结构或等效流程变换, 或直接或间接运 用在其他相关的技术领域, 均同理包括在本发明的专利保护范围内。

Claims

权利要求
1. 一种触摸屏校准方法, 其中, 包括:
进行解锁时, 判断所述触摸屏处于第一解锁界面或第二解锁界面, 所述第 一解锁界面和第二解锁界面采用交替方式进行显示;
当处于所述第一解锁界面时获取第一基准点坐标(Xl Yj ) 附近的所述第 一触摸点 P1 的触摸屏坐标, 当处于所述第二解锁界面时获取第二基准点坐标 (X2, Y2) 附近的所述第二触摸点 Ρ2的触摸展坐标;
计算得到所述第一触摸点 P1 的模数转换数值 (Xp dc, Ypladc)和所述第二触 摸点 P2的模数转换数值 (Xp2_adc, Yp2-adc);
通过原基准斜率 X。slp p Y。slpe计算得到所述第一触摸点 P1的模数转换数 值 (Xpl-adc, Ypl-adc)的坐标(Xpl, Ypi) 以及所述第二触摸点 P2 的模数转换数值
(Xp2-adC Yp2-adC)的坐标(XP2, Yp2 );
判断(Χρ1, Υρ1)与 (Xl Yj)坐标之间的偏差值以及(Xp2, Yp2)与 (Χ2, Υ2) 坐标之间的偏差值是否大于相应的预设像素值;
当 (Χρ1, Υρ1)或 (Χρ2, Υρ2) 的偏差值不大于相应的所述预设像素值时保 存其对应的 (Xpl_adc, Ypl-adc)或 (Xp2_adc, Yp2-adc), 当 (Xpl, Ypi)或(xp2, Yp2) 的 偏差值大于相应的所述预设像素值时舍弃其对应的 (XplH Ypl-adt:)或 (Xp2-adC
Figure imgf000020_0001
在获取到至少一组 (Xp dc, Υρϋ)和 (Xp dc, Yp2-adc)时, 根据 Xpl-adc、 Xp2-adc、 以及 X2的值计算得到校准斜率 Xlslpe, 根据 Ypl-adc
Figure imgf000020_0002
Yi以及 Y2的值 计算得到校准斜率 Ylslpe;
将所述校准斜率 Xlslpe和 Ylslpe作为新基准斜率而替换掉原基准斜率。
2. 根据权利要求 1所述的方法, 其中:
在所述当 (Xpl, Ypl)或 (Χρ2, Υρ2) 的偏差值不大于相应的所述预设像素 值时保存其对应的 (Xpl_adc, Ypl-adc) 或 (Xp2_adc, Yp2-adc), 当 (Xpl, Ypi)或 (χρ2
Yp2) 的偏差值大于相应的所述预设像素值时进行舍弃其对应的 (Xpl-adc, Ypl-adc) 或 (Xp2-adc, Yp2-adc)的步骤之后, 还包括:
判断 (Xpl-ad<:, Ypl-adc)和 (Xp2-adc, Yp2 )的组数是否达到预设组数;
当 (Xpl-adc, Ypl-adc)和 (Xp2-adc, Yp2-adc)的组数达到所述预设组数时, 求得多组 Ypladc)的平均坐标(Xpladc,, Ypl-adc,)以及多组 (Xp2-adc, Yp2-adC)的平均坐 标 ( Xp2-adc,, Yp2-adc, );
在所述根据 Xpl^jc、 Xp2_adc, 以及 X2的值计算得到所述校准斜率 Xlslpe, 根据 Ypl-adc、 Yl以及 Y2的值计算得到所述校准斜率 Ylslpe的步骤中包括: ^ Xpl-adc' ^ Xp2-adc,、 Ypl-adc,以及 Yp2-adc,分另 'J替换成 Xpl-adc、 Xp2-adc、 Ypl-adc以 及 ΥΡ2
根据 Xpl-adc ^ Xp2-adc、 以及 X2的值计算得到所述校准斜率 Xlslpe, 根据
Ypl-adc ^ Yp2-adc、 以及 Y2的值计算得到所述校准斜率 Ylsl。pe。
3.根据权利要求 1所述的方法,其中,在所述通过原基准斜率 X 。pe和 Y0slpe 计算得到所述第一触摸点 PI的模数转换数值 (Xpl-adc, Ypl )的坐标(Xpl, Ypi ) 以及所述第二触摸点 P2
Figure imgf000021_0001
Yp2_adc)的坐标(Xp2, Yp2 )的步 骤中包括:
V ― V * χ γ ― γ * γ
根据 Ρ" — P"-adc °sl。Pe和 Pm — P'""adc °sl°Pe分别计算 Xpl、 Ypl、 Xp2 和 Yp2 , 其中, m、 n为 1或 2。
4. 一种触摸屏校准方法, 其中, 包括:
在触摸所述触摸屏进行解锁时, 分别获取第一触摸点 P1 和第二触摸点 P2 的触摸屏坐标;
根据所述第一触摸点 P1和所述第二触摸点 P2的触摸屏坐标计算以得到校 准斜率 Xlslp p Ylslpe;
将所述校准斜率 Xlslpe和 Ylslpe作为新基准斜率而替换掉原基准斜率。
5. 根据权利要求 4所述的方法, 其中, 在所述在触摸所述触摸屏进行解锁 时, 分别获取第一触摸点 P1和第二触摸点 P2的触摸屏坐标的步骤中, 包括: 进行解锁时, 判断所述触摸屏处于第一解锁界面或第二解锁界面; 当处于所述第一解锁界面时获取第一基准点坐标(Χ Υχ ) 附近的所述第 一触摸点 P1 的触摸屏坐标, 当处于所述第二解锁界面时获取第二基准点坐标 ( Χ2, Υ2 ) 附近的所述第二触摸点 Ρ2的触摸屏坐标;
其中, 所述第一解锁界面和第二解锁界面采用交替方式进行显示。
6. 根据权利要求 5所述的方法, 其中, 在所述根据第一触摸点 P1和第二 触摸点 Ρ2的触摸屏坐标计算以得到校准斜率 Xlslpe和 Ylslpe的步骤中, 包括: 计算得到所述第一触摸点 P1 的模数转换数值 (Xpl-adt:, Ypl-adc)和所述第二触 摸点 P2的模数转换数值 (Xp2^, Yp2_adc);
根据 Xpl_adc、 Xp2_adc、 Xi以及 X2的值计算得到所述校准斜率 Xlslpe, 根据
Figure imgf000022_0001
以及 Y2的值计算得到所述校准斜率 YlslPe。
7. 根据权利要求 6所述的方法, 其中, 在所述计算得到所述第一触摸点 P1 的模数转换数值 (Xp dc, Υρ1 )和所述第二触摸点 P2
Figure imgf000022_0002
Yp2-adc)的步骤之后还包括:
通过原基准斜率 X。slpe和 YQslpe计算得到所述第一触摸点 P1的模数转换数 值 (Xpl_adc, Yp^dc)的坐标(Xpl, Ypl ) 以及所述第二触摸点 Ρ2 的模数转换数值
(Xp2-adC Yp2-adc)的坐标(Xp2, Yp2 );
判断(Xpl, Ypl )与 (Χ Yi )坐标之间的偏差值以及(Xp2, Yp2 )与 (χ2, Υ2 ) 坐标之间的偏差值是否大于预设像素值;
当 (Χρ1, Υρ1 )或 (Χρ2, Υρ2 ) 的偏差值不大于所述预设像素值时保存其对 应的 (Xpl-adc, Ypl-adc)或 (Xp2-adC, Yp2-adc), 当 ( Xpl, Ypl )或( Xp2, Yp2 ) 的偏差值 大于所述预设像素值时进行舍弃其对应的 (Xpl_ade, Ypl-ade)或 (Xp2-adc, Yp2-adc); 其中, 获取至少一组 (Xpl-adc, Yp^dc)和 (Xp2-adC, Yp2-adC)。
8. 根据权利要求 7所述的方法, 其中:
在所述当 (Xpl , Ypl )或 (Χρ2, Υρ2 ) 的偏差值不大于所述预设像素值时保 存其对应的 (Xpl_adc, Ypl.adc) 或 (Xp2-adc, Yp2-adc), 当 (Xpl , Ypi )或 (Xp2, YP2 ) 的偏差值大于所述预设像素值时进行舍弃其对应的 (Xpl-adc, Ypl-adc)或 (Xp2-adc, Yp2-adc)的步骤之后, 还包括:
判断 (Xpl-adc, Ypl-adc)和 (Xp2-adc, Yp2_adc)的组数是否达到预设组数;
当 (Xpl-adc, Ypl-adc)和 (Xp2-adc, Yp2 )的组数达到所述预设组数时, 求得多组
(Xpl-adC Ypl-adc)的平均坐标(Xpl-adc,, Ypl-adc,) 以及多组 (Xp dc, Yp dc)的平均坐 标 ( Xp2-adc,, Yp2-adc, );
在所述根据 XpH、
Figure imgf000022_0003
以及 X2的值计算得到所述校准斜率 Xlsl。pe, 根据 Ypl-adc、 Yp2-adc、 Yi以及 Y2的值计算得到所述校准斜率 Ylslpe的步骤中包括:
Xpl-adc' ^ Xp2-adc,、 Ypl-adc,以及 Yp2-adC,分另替换成 Xpl-adC、 Xp2-adc、 Ypl-adc以 -adc?
根据 Xpl_adc, Xp2_adc、 Xi以及 X2的值计算得到所述校准斜率 Xlslpe, 根据
Ypl-adc ^ Yp2-adc、 以及 Y2的值计算得到所述校准斜率 Ylsl。pe。
9.根据权利要求 7所述的方法,其中,在所述通过原基准斜率 XQslpe和 Y0slpe 计算得到所述第一触摸点 PI的模数转换数值 (Xpl-adc, Ypl_adc)的坐标(Xpl, Ypl ) 以及所述第二触摸点 Ρ2的模数转换数值 (Xp2_adc, Yp2_adc)的坐标(Xp2, Yp2 )的步 骤中包括: 才艮据 Xpw― Xpwadc * X。slope和 Ypm― ^ m-adc * )slope分另l计真 pl、 Ypl、 Xp2 和 Yp2, 其中, m、 n为 1或 2。
10. 根据权利要求 6所述的方法, 其中, 所述根据 XP dc、 Xp2_adc, 以及 X2的值计算得到所述校准斜率 Xlslpe, 根据 Ypl_adc、 Yp2_adc、 以及 Y2的值计算 得到所述校准斜率 Ylslpe的步骤包括: 根据 XlslPe =
Figure imgf000023_0001
分别计算以得到所述
adc
校准斜率 Xlslp p Ylslpe
11. 一种触摸屏校准装置, 其中, 包括:
获取模块, 用于在触摸所述触摸屏进行解锁时, 分别获取第一触摸点 P1和 第二触摸点 P2的触摸屏坐标;
计算模块, 用于根据所述获取模块获取到的所述第一触摸点 P1和所述第二 触摸点 P2的触摸屏坐标计算以得到校准斜率 Xlslpe和 Ylslpe;
设置模块, 用于将所述计算模块计算得到的所述校准斜率 Xlslpe和 Ylslpe作 为新基准斜率而替换掉原基准斜率。
12. 根据权利要求 11所述的装置, 其中, 所述计算模块包括:
模数转换单元, 用于计算所述获取模块得到的所述第一触摸点 P1的模数转 换数值 (Χρ1 , Yp adc)和所述第二触摸点 P2的模数转换数值 (Xp2_adc, Yp2_adc); 斜率计算单元, 用于根据所述模数转换单元得到的 X^adc
Figure imgf000023_0002
以及
X2的值计算得到所述校准斜率 Xlslpe, 根据所述模数转换单元得到的 Ypl_adc、 Yp2-adc、 Yi以及 Y2的值计算得到所述校准斜率 Ylslpe;
其中, (X Yi ) 为第一解锁界面的第一基准点坐标, (X2, Y2 ) 为第二解 锁界面的第二基准点坐标, 所述第一解锁界面和第二解锁界面采用交替方式进 行显示以供用户进行不同的解锁操作, 所述第一触摸点 P1位于所述第一基准点 坐标(X 附近, 所述第二触摸点 P2位于所述第二基准点坐标(X2, Y2 ) 附近。
13. 根据权利要求 12所述的装置, 其中, 还包括: 坐标计算单元, 用于通过原基准斜率 XQslp p YQslpe计算经过所述模数转换 单元得到的
Figure imgf000024_0001
Ypl^)的坐标(Xpl, Ypl )以及所述第二触摸点 P2的模数转 换数值 (Xp2-adc, Yp2-adc)的坐标(Xp2, Yp2 );
第一判断单元, 用于判断所述坐标计算单元得到的 (Χρ1 , Υρ1 ) 与 (χ1
Yi )坐标之间的偏差值以及(Xp2, Yp2 )与 ( Χ2, Υ2 )坐标之间的偏差值是否大 于预设像素值;
处理单元, 用于当 (Χρ1 , Υρ1 )或 (Χρ2, Υρ2 ) 不大于所述预设像素值时保 存其对应的 (Xpl_adc, Ypl_adc) , 当 (Xpl, Ypl )或 (Χρ2, Υρ2 ) 大于所述预设像素 值时进行舍弃其对应的 (Xp2_adc, Yp2_adc), 其中, 获取至少一组 (X^adc, Y^adc)和
(Xp2-adc, Yp2-adc),
第二判断单元,用于判断所述处理单元处理得到的 (Xpl_adc, Ypl-adc)和 (Xp2-adc,
Yp2-adc)的组数是否达到预设组数;
均值单元,用于当所述第二判断单元判断到 (Xpl_adc, Ypl_adc)和 (Xp^dc, Yp2-adc) 的组数达到所述预设组数时, 求得多组
Figure imgf000024_0002
, Yp dc)的平均坐标 (Χρ1 ,, Ypl-adc' ) 以及多组 (Xp dc, Yp2-adc)的平均坐标( Xp2-adc,, Yp2-adc' );
替换单元, 用于将所述均值单元得到的 Xpl-adc,、 Xp2-adc' ^ Ypl-adc,和 Yp2-adc, 分别替换成 Xpladc、 Xp2-adC、 Ypl-adc和 Yp2-adC;
所述斜率计算单元, 根据所述替换单元替换得到的 Xpl_adc、 Xp2_adc、 以及 X2的值计算得到所述校准斜率 Xlslpe, 根据 Ypl_adc、 Yp2_adc、 以及 Y2的值计算 得到所述校准斜率 Ylslpe;
其 中 , 所 述 坐 标 计 算 单 元 根 据 xp„ =xpii-adc *x0slpe
Ypot = Y POT-ade *Yslpe分别计算 xPl、 Yp1、 χΡ2和 γΡ2, 所述斜率计算单元根据
X ope = 分别计算以得到所述校准斜率
Figure imgf000024_0003
Xlslope和 Ylsl0pe, Π1、 n为 1或 2。
PCT/CN2012/087108 2012-02-23 2012-12-21 触摸屏校准方法和装置 Ceased WO2013123809A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210042677.2 2012-02-23
CN201210042677.2A CN102609146B (zh) 2012-02-23 2012-02-23 触摸屏校准方法和装置

Publications (1)

Publication Number Publication Date
WO2013123809A1 true WO2013123809A1 (zh) 2013-08-29

Family

ID=46526572

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/087108 Ceased WO2013123809A1 (zh) 2012-02-23 2012-12-21 触摸屏校准方法和装置

Country Status (2)

Country Link
CN (1) CN102609146B (zh)
WO (1) WO2013123809A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11723372B2 (en) 2017-02-02 2023-08-15 Eugster / Frismag Ag Food-preparation apparatus with diverter mechanism

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609146B (zh) * 2012-02-23 2015-01-07 惠州Tcl移动通信有限公司 触摸屏校准方法和装置
CN102879673B (zh) * 2012-09-19 2016-03-02 广州视睿电子科技有限公司 一种触摸屏精准度的测试方法及装置
KR102048936B1 (ko) * 2012-10-17 2019-11-27 현대모비스 주식회사 분리형 모니터의 터치 편차 방지를 위한 차량 멀티미디어 단말 및 그 방법
CN103995651B (zh) * 2014-05-09 2017-12-22 百度在线网络技术(北京)有限公司 调整滑动操作的理论值的方法和装置
CN108037854A (zh) * 2017-12-19 2018-05-15 迈巨(深圳)科技有限公司 一种红外触摸屏精度校准方法、电子设备和存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101533326A (zh) * 2008-10-15 2009-09-16 闻泰集团有限公司 一种电阻触摸屏坐标校准的方法
CN101644982A (zh) * 2009-05-15 2010-02-10 上海闻泰电子科技有限公司 一种4线电阻式触摸屏的屏幕定位算法
CN102314279A (zh) * 2011-09-02 2012-01-11 惠州Tcl移动通信有限公司 电阻式触摸屏校准方法及相应的电阻式触摸屏设备
CN102609146A (zh) * 2012-02-23 2012-07-25 惠州Tcl移动通信有限公司 触摸屏校准方法和装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060075250A1 (en) * 2004-09-24 2006-04-06 Chung-Wen Liao Touch panel lock and unlock function and hand-held device
CN101021762A (zh) * 2007-03-26 2007-08-22 宇龙计算机通信科技(深圳)有限公司 触摸屏的锁定装置及方法
CN101727243B (zh) * 2010-02-02 2014-04-30 中兴通讯股份有限公司 一种触摸屏校准参数的获取方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101533326A (zh) * 2008-10-15 2009-09-16 闻泰集团有限公司 一种电阻触摸屏坐标校准的方法
CN101644982A (zh) * 2009-05-15 2010-02-10 上海闻泰电子科技有限公司 一种4线电阻式触摸屏的屏幕定位算法
CN102314279A (zh) * 2011-09-02 2012-01-11 惠州Tcl移动通信有限公司 电阻式触摸屏校准方法及相应的电阻式触摸屏设备
CN102609146A (zh) * 2012-02-23 2012-07-25 惠州Tcl移动通信有限公司 触摸屏校准方法和装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11723372B2 (en) 2017-02-02 2023-08-15 Eugster / Frismag Ag Food-preparation apparatus with diverter mechanism

Also Published As

Publication number Publication date
CN102609146A (zh) 2012-07-25
CN102609146B (zh) 2015-01-07

Similar Documents

Publication Publication Date Title
WO2013123809A1 (zh) 触摸屏校准方法和装置
TWI234115B (en) Method and device of setting threshold pressure for touch panel
CN101887334B (zh) 电容式触控面板的感测结构及感测方法
TW201023019A (en) Input device comprising resistive touch panel and calculating method of touch position thereof
TWI497389B (zh) 測定觸碰面板上之校正後觸碰位置的方法以及其校正後觸碰位置測定模組
TWI483145B (zh) 可攜式電子裝置及避免誤觸其觸控面板之方法
TW200941320A (en) Equalized capacitive touchpad and touch positioning method
TW201120707A (en) Input device and touch position detecting method thereof
TWI399684B (zh) 觸控輸入裝置與觸控感測電路
TW200915160A (en) Capacitive touch panel with low impedance
JP2012504819A (ja) マルチタッチセンサの交互相補導体素子パターン
TW200921485A (en) Touch panel device and method of detecting contact position thereof
TW201037584A (en) Posistion apparatus for touch device and posistion method thereof
US9612704B2 (en) Apparatus and method for sensing touch
TW200928935A (en) Touch panel
CN101593059B (zh) 触控面板、其触控检测方法及具有触控功能的显示装置
WO2015027610A1 (zh) 电容式触摸屏及显示装置
TW201222386A (en) Analog resistive multi-touch display screen
WO2013000356A1 (zh) 电阻式触摸屏的检测方法及装置
TW201405399A (zh) 自容式觸控面板
CN102520835B (zh) 触摸检测方法及装置
CN101464767A (zh) 触控面板
CN101526869A (zh) 改良电极图案的触控面板
TW201533624A (zh) 觸控面板及其感測方法
TW201248480A (en) Touch point detecting device and the touch point detecting method thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12869273

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12869273

Country of ref document: EP

Kind code of ref document: A1