Eliminate improper contact interference method in the infrared touch system
Technical field
The present invention relates to improper contact interference method in a kind of elimination infrared touch system.
Background technology
Improper contact described in the present invention is meant: generally speaking, in the infrared touch detection method, the user is through finger, and perhaps special-purpose pointer contact screen is realized touch control operation; The improper property contact of mentioning among the present invention is meant: in infrared touch frame sensing range, and the object contact Touch Screen that has non-user expectation to be used to operate, thus user's normal running is caused interference phenomenon; Usually, this type of improper contact have a contact screen peripheral shape obviously greater than user's normal running contact shape (as: teacup, palmar aspect etc., its contact area are obviously greater than the area of finger or pointer contact screen under the normal operation).
In the touch technology field, the true contact position that causes owing to external interference detects the big crucial difficult point that Problem of Failure is the instant research and development of puzzlement touch-control always.External interference is divided by exposure level, mainly can be divided into untouchable interference and contact and disturb.For the former, realize technology for different touch-controls, various interference sources are different.For example for the capacitive touch control techniques, stray capacitance is the principal element that causes that position probing is disturbed; And for infrared touch technology, the interference of surround lighting then is one of main interference source; But the present invention does not set off a discussion to these untouchable interference sources, is primarily aimed at the contact interference source and launches.
The patent No. is 200610011193.6 one Chinese patent application, discloses a kind of technical scheme of utilizing foil gauge and acoustic pickup to come senses touch power and being confirmed touch operation by the vibration that touch force produced.Though this technical scheme can solve the problem of above-mentioned false triggering, some shortcomings are arranged also.At first, if use foil gauge, in general will use the multi-disc semiconductor gauge could obtain enough sensitivity, this has just increased the components and parts cost of product; If secondly use acoustic pickup to detect vibration,, then receive the interference of touch-screen ambient noise easily because the frequency band of acoustic pickup is very wide; Just need can increase production cost equally if eliminate this interference at the more cost of input aspect circuit design and the signal Processing.
For this reason; Number of patent application is 200710063564 patent documentation; Disclosing a kind of is starting point with the capacitive touch control techniques, provide a kind of cheaply, utilize the conductor characteristics of human body, promote the technical scheme of the accuracy of touch recognition through capacity coupled mode; Be used to detect the touch electric signal that stray capacitance produced, to detect the operation of true position of touch by between human body and the touch-screen.The touch-control that this method has solved non-finger type environment object to a certain extent disturbs.Such as a winged insect of dropping on the screen, perhaps larger-size floating thing, and other accidental stop etc., this method all possibly identify, and avoids causing misoperation.
, along with the development of LED technology, still be that the system cost angle is considered no matter from accuracy of detection, the present main flow that just more and more becomes touch technology of infrared touch method.And above two anti-interference methods that patent documentation is mentioned only are through two kinds of new method for sensing: power detects and capacitance detecting, solves the improper contact interference problem in touch technology field, can not directly be used for infrared touch technology field.For this reason; The patent No. is 200810027773.3 patent documentation, discloses a kind of " the multipoint positioning anti-interference processing method of touch-screen positioning system " and has inquired into the method that a kind of anti-improper property touch that can be used under the infrared touch condition is disturbed specially, and it is through judgement and follow-up tracking to the Initial Detection Point position; Virtual effective Petting Area and the interference range of marking off on screen; Aspect realization, be setting through timer and interference indicator position, handle when existing multiple spot to disturb; Can remove interfere information; Make normal touch operation unaffected, particularly can effectively overcome the user when screen is write because the interference of coat-sleeve, make the coordinate data that system-computed makes mistake and the chaotic situation of system that causes.But this method has a precondition: in the time of must detecting at the beginning, screen can only have and have only a touch point, judges through tracking afterwards; If the more than touch point of screen at the beginning, several times coordinate information is judged again before then need abandoning.This is too harsh rather for the practical operation condition.
Therefore, the present invention launches the anti-interference discussion of improper property contact under the infrared condition from the one dimension voltage signal detection angles of infrared output, and single-contact strict demand limits when not receiving initial detecting.
Summary of the invention
In order to overcome the problems referred to above; The present invention provides a kind of special situation of obviously disturbing the infrared touch screen to contact area greater than one type of contact of normal running thing contacts area such as finger or pointer to society; Proposed a kind of based on improper contact interference method in the elimination infrared touch system of infrared receiving tube output one dimension voltage signal continuity analysis; Can reject this type of improper contact simply and effectively and disturb influence for one type of touch coordinate position probing of finger; Make the user when objects such as cup, palm are arranged contact infrared touch area, also can normally use touch-control system.
Technical scheme of the present invention provides improper contact interference method in a kind of elimination infrared touch system, comprises the steps,
(1), do not have under any object conditions, the touch-screen initialization is carried out in the energising start, sets up the environment value at display screen;
(2), initially after accomplishing, detect on the display screen whether shelter is arranged; If any, then got into for (3) step; As not having, then got into for (6) step;
(3), judge whether this shelter is improper contact shelter; In this way, then got into for (4) step,, then got into for (6) step as not;
(4), deduct the pairing viewing area of improper shelter with the whole viewing area of display screen;
(5), will remain the viewing area and recomputate the viewing area that can normally act on that must make new advances with position coordinates detection algorithm commonly used;
(6), get into normal operating condition.
As to improvement of the present invention, said (1) step comprises the steps,
(11), drive horizontal infraluminescence pipe or vertical infraluminescence pipe successively, and write down the horizontal infrared reception initial voltage of horizontal infrared receiving tube or the vertical vertical infrared reception initial voltage of infrared receiving tube successively from a side;
(12), drive vertical infraluminescence pipe or horizontal infraluminescence pipe successively, and write down the vertical infrared reception initial voltage of vertical infrared receiving tube or the horizontal horizontal infrared reception initial voltage of infrared receiving tube successively from a side;
(13), horizontal infrared reception initial voltage and vertical infrared reception initial voltage are recorded in respectively in the storer that main control chip or main control chip can visit.
As to further improvement of the present invention, said (2) step comprises the steps,
(21), successively drive horizontal or vertical infrared transmitting tube of horizontal, vertical both direction, sample and preserve all laterally horizontal infrared receiving tube scanning voltages of (x directions), and vertical vertical infrared receiving tube scanning voltage of x direction;
(22), with horizontal infrared receiving tube scanning voltage and horizontal infrared reception initial voltage, and vertical infrared receiving tube scanning voltage and vertical infrared reception initial voltage compared; If laterally the absolute value of the difference of infrared receiving tube scanning voltage and horizontal infrared reception initial voltage is equal to or less than horizontal threshold value voltage; And vertically the absolute value of the difference of infrared receiving tube scanning voltage and vertical infrared reception initial voltage is equal to or less than vertical threshold value voltage, then is judged as have no occluder; If laterally the absolute value of the difference of infrared receiving tube scanning voltage and horizontal infrared reception initial voltage is greater than horizontal threshold value voltage; And the absolute value of the difference of vertical infrared receiving tube scanning voltage and vertical infrared reception initial voltage then has been judged as shelter greater than vertical threshold value voltage.
As to further improvement of the present invention, said (3) step comprises the steps,
(31), set up laterally (x direction) scanning and block mark array THRx [N], horizontal (x direction) infraluminescence pipe/infrared receiving tube logarithm of N representative wherein, and whether to the zero clearing of array all elements, being used to leave in position i has object to block;
(32), laterally (x direction) all infraluminescence pipe/infrared receiving tubes are right in scanning; Record is all horizontal infrared receiving tube scanning voltages laterally; Compare with horizontal infrared reception initial voltage then; If the absolute value of the difference of the horizontal infrared receiving tube scanning voltage of position i and horizontal infrared reception initial voltage is greater than horizontal threshold value voltage, then with i element set among the array THRx [N];
(33), mark array THRx [N] is blocked in horizontal (x direction) scanning; Add up as follows: surpass predetermined continuous Sx " 1 " element existence if horizontal (x direction) scanning blocks to have among the mark array THRx [N], then being judged as is laterally having shelter to exist;
The element that horizontal (x direction) scanning is blocked in these the continuously individual positions among the mark array THRx [N] is changed to " 0 " again; The size of Sx is determined by following formula:
Sx?=?WNx?/?dx,
Wherein, the improper property contact chaff interference that on behalf of hope, WNx remove, the minimum widith that blocks that in the screen contact, horizontal (x direction) is caused, dx are represented between horizontal (x direction) adjacent luminotron or the adjacent reception tube pitch leaves;
(34), set up vertically (y direction) scanning and block mark array THRy [M], M represents horizontal y direction luminotron/receiving tube logarithm, and whether to the zero clearing of array all elements, being used to leave in position j has object to block;
(35), vertically (y direction) all luminotron/receiving tubes are right in scanning; Write down all vertical infrared receiving tube scanning voltages; Compare with vertical infrared reception initial voltage VINTyi; If the absolute value of the difference of vertical infrared receiving tube scanning voltage Vyj of position j and vertical infrared reception initial voltage VINTyi is greater than vertical threshold value voltage, then vertically j element set among the mark array THRy [M] blocked in (y direction) scanning;
(36), mark array THRy [M] is blocked in vertical (y direction) scanning; Add up as follows: surpass predetermined continuous Sy " 1 " element existence if vertical (y direction) scanning blocks to have among the mark array THRy [M], then being judged as is laterally having shelter to exist;
The element that vertical (y direction) scanning is blocked in these the continuously individual positions among the mark array THRy [M] is changed to " 0 " again; The size of Sy is determined by following formula:
Sy?=?WNy?/?dy,
Wherein, the improper property contact chaff interference that on behalf of hope, WNy remove, the minimum widith that blocks that in the screen contact, vertical (y direction) is caused, dy are represented between vertical (y direction) adjacent luminotron or the adjacent reception tube pitch leaves.
As to further improvement of the present invention, be the continuous voltage relative method at the position coordinates detection algorithm commonly used described in (5) step.
The present invention proposes a kind of one dimension voltage signal continuity analytical approach, be used to get rid of the interference that some improper property contacts detect infrared touch screen contact position based on infrared receiving tube output.The user is to the infrared touch frame; General employing is single, perhaps a plurality of fingers, and perhaps special-purpose pointer realizes the operation to system; These operation things usually have a common feature: the peripheral shape that object contacts with screen is similar to circle, and area (with respect to display screen) is less; Could in infrared touch frame sensing range, realize higher position of touch accuracy of detection like this.
But in vertical touch system, the user can contact whole palm to screen sometimes, and at this moment infrared touch system is difficult to continue to detect the tram coordinate of normal touch point; In horizontal touch system (like the desktop touch-control system); Sometimes the user can place on screen such as improper contact objects such as cups; Likewise; Disturbed by these improper property object contacts, infrared touch system also is difficult to correctly discern the tram coordinate of user's finger or pointer.
And the present invention can realize only through the renewal of software, need the hardware of infrared touch-control frame do not designed again and upgrade; In addition, the software section that needs to upgrade also only limits to the firmware subprogram that belongs to the lower computer system that touches frame is upgraded, and need not make any modification to the driver and the application software of master system.Therefore, this method can be applied in the present existing infrared touch-control system comparatively easily.
Description of drawings
Fig. 1 is the principle process synoptic diagram of the anti-improper contact interference method of the present invention.
Fig. 2 is a horizontal direction scanning synoptic diagram.
Fig. 3 be among Fig. 1 (3) and (4) step a kind of embodiment principle process synoptic diagram.
Embodiment
See also Fig. 1, the invention provides improper contact interference method in a kind of elimination infrared touch system, comprise the steps,
(1), do not have under any object conditions, the touch-screen initialization is carried out in the energising start, sets up the environment value at display screen;
(2), initially after accomplishing, detect on the display screen whether shelter is arranged; If any, then got into for (3) step; As not having, then got into for (6) step;
(3), judge whether this shelter is improper contact shelter; In this way, then got into for (4) step,, then got into for (6) step as not;
(4), deduct the pairing viewing area of improper shelter with the whole viewing area of display screen;
(5), will remain the viewing area and recomputate the viewing area that can normally act on that must make new advances with position coordinates detection algorithm commonly used;
(6), get into normal operating condition.
Below in conjunction with Fig. 1, Fig. 2 and Fig. 3; An embodiment of the present invention is described in more detail: in the general infrared touch detection system; Usually main control chip drives earlier the infraluminescence pipe of certain direction successively, and the present invention is only with earlier laterally, after sequential deployment explanation longitudinally; Can certainly be vertical earlier, the back give to the sequential deployment explanation.Touch-screen initialization (i.e. (1) step), when horizontal infraluminescence pipe Txi was lighted, the horizontal infrared receiving tube Rxi of same position also was opened immediately on its corresponding limit.There is not the external world to touch object if suppose in this position; This horizontal IR Lxi can directly inject horizontal infrared receiving tube Rxi from lateral luminous pipe Txi; The horizontal infrared reception initial voltage VINTxi of record horizontal infrared receiving tube Rxi at this moment; And with it as initial detecting voltage, be recorded in the storer that main control chip or main control chip can visit; After having driven laterally all horizontal infraluminescence pipe Txi and horizontal infrared receiving tube Rxi successively; Drive vertical infraluminescence pipe Tyj and vertical infrared receiving tube Ryj as a same reason successively; When vertical infraluminescence pipe Tyj is lighted; Vertical infrared receiving tube Ryj of same position also is opened immediately on its corresponding limit; If supposing does not have the extraneous object that touches in this position, this vertical IR Lyj can directly inject vertical infrared receiving tube Ryj from vertical infraluminescence pipe Tyj, the vertical infrared reception initial voltage VINTyj of record vertical infrared receiving tube Ryj at this moment; And with it as initial detecting voltage, be recorded in the storer that main control chip or main control chip can visit.
In follow-up position coordinates computation process (i.e. (2) step); Drive horizontal or vertical infrared transmitting tube of horizontal, vertical both direction successively; Sample then and preserve all laterally horizontal infrared receiving tube scanning voltage Vxi of (x directions); And behind vertical infrared receiving tube scanning voltage Vyj of vertical (y direction); Utilization contact position algorithm routine with the horizontal infrared receiving tube scanning voltage Vxi and the horizontal horizontal infrared reception initial voltage VINTxi of (x direction), and is compared the vertical infrared receiving tube scanning voltage Vyj and the vertical vertical infrared reception initial voltage VINTyj of (y direction); If in horizontal (x direction)
| Vxi – VINTxi|>VTHRx, (formula 1)
Or/and vertical (y direction)
| Vyj – VINTyj|>VTHRy, (formula 2)
System judges that then at horizontal (x direction) coordinate be i, and the position that vertical (y direction) coordinate is j has object to block, and (i is j) as the touch point position coordinate for the down-stream output coordinate.
If in horizontal (x direction)
| Vxi – VINTxi| ≤VTHRx, (formula 3)
Or/and vertical (y direction)
| Vyj – VINTyj| ≤VTHRy, (formula 4)
System judges then that at the horizontal direction coordinate position that the longitudinal direction coordinate is does not have object to block,
In the formula, Vxi is horizontal infrared receiving tube scanning voltage; VINTxi is horizontal infrared reception initial voltage; VTHRx is horizontal threshold value voltage; Vyj is vertical infrared receiving tube scanning voltage; VINTyj is vertical infrared reception initial voltage; VTHRy is vertical threshold value voltage.
Vertical threshold value voltage VTHRy of the horizontal threshold value voltage VTHRx of horizontal (x direction) in above formula (1) to the formula (4) and vertical (y direction); Its concrete value and infrared transmitting tube that different product adopts and infrared receiving tube, and the different frame size that touches is correlated with.
As explained above, adding has the external interference thing to touch (i.e. (3) step), and algorithms most in use still can calculate corresponding position coordinates, can produce infrared touch system like this and disturb.The present invention detects on the basis at above contact position coordinate commonly used; Add the out of size contactant and disturb and remove algorithm (core of this algorithm is the view field of interference-shielded thing in x and y direction), eliminate such as one type of contact area such as palm, teacup obviously greater than the interference of finger touch area.Specifically " out of size contactant algorithm of interference " as follows:
(31). set up laterally (x direction) scanning and block mark array THRx [N] (annotate: the N representative is (x direction) luminotron/receiving tube logarithm laterally), and whether to the zero clearing of array all elements, being used to leave in position i there is object to block;
(32). scanning laterally (x direction) all luminotron/receiving tubes is right, and record is all horizontal infrared receiving tube scanning voltage Vxi (i=1,2 laterally; 3; N, N are lateral luminous pipe receiving tube logarithm), compare with horizontal infrared reception initial voltage VINTxi then; If the difference of the horizontal infrared receiving tube scanning voltage Vxi of position i and horizontal infrared reception initial voltage satisfies formula (1), then with i element set among the array THRx [N];
(33). after accomplishing horizontal (x direction) scanning of above-mentioned steps 32; Mark array THRx [N] is blocked in horizontal (x direction) scanning; Add up as follows: surpass predetermined continuous Sx " 1 " element existence if horizontal (x direction) scans to block to have among the mark array THRx [N], then being judged as in horizontal (x direction) has shelter to exist;
(41), the element that horizontal (x direction) scanning is blocked in these the continuously individual positions among the mark array THRx [N] is changed to " 0 " again.The size of Sx is determined by following formula:
Sx=WNx/dx, (formula 5)
Wherein, the improper property contact chaff interference that removal is hoped in the WNx representative, the minimum widith that blocks that in the screen contact, horizontal (x direction) is caused, the dx representative is (being between the adjacent reception pipe) distance between (x direction) adjacent luminotron laterally;
If laterally (x direction) scanning is blocked among the mark array THRx [N] and do not existed above predetermined continuous Sx " 1 " element, then get into
(34). set up vertically (y direction) scanning and block mark array THRy [M] (annotate: M represents horizontal y direction luminotron/receiving tube logarithm), and whether to the zero clearing of array all elements, being used to leave in position j there is object to block;
(35). vertically (y direction) all luminotron/receiving tubes are right in scanning; Write down all vertical infrared receiving tube scanning voltage Vyj (j=1; 2,3 ... M; M is vertical luminotron receiving tube logarithm); Compare with vertical infrared reception initial voltage VINTyi then, if the difference of vertical infrared receiving tube scanning voltage Vyj of position j and vertical infrared reception initial voltage VINTyi satisfies formula (2), then vertically j element set among the mark array THRy [M] blocked in (y direction) scanning;
(36). after vertical (y direction) scanning of completing steps 35; Mark array THRy [M] is blocked in vertical (y direction) scanning; Add up as follows: surpass predetermined continuous Sy " 1 " element existence if vertical (y direction) scans to block to have among the mark array THRy [M], then being judged as in vertical (y direction) has shelter to exist;
(42), the element that vertical (y direction) scanning is blocked in these the continuously individual positions among the mark array THRy [M] is changed to " 0 " again.The size of Sy is determined by following formula:
Sy=WNy/dy, (formula 6)
Wherein, the improper property contact chaff interference that removal is hoped in the WNy representative, the minimum widith that blocks that in the screen contact, vertical (y direction) is caused, the dy representative is (being between the adjacent reception pipe) distance between (y direction) adjacent luminotron vertically.
Through more than after the anti-interference step; Two that obtain horizontal (x direction) and vertical (y direction) block the statistics array; Promptly laterally (x direction) scanning is blocked mark array THRx [N] and is blocked mark array THRy [M] with vertical (y direction) scanning; Re-use position coordinates detection algorithm commonly used (i.e. (5) step), can calculate in the normal touch position probing that has under the improper property contactant disturbed condition, like position coordinates detection algorithms commonly used such as employing continuous voltage relative methods.Get into normal use the (i.e. (6) step).
Repeat above-mentioned (31) to (36), (41), (42) and (5) step, begin frame arithmetic.