Background technology
In recent years, be generally used for the capacitance type touch-control panel (Capacitance Touch Panel) of contactor control device, be mainly with glass substrate composition, and on glass substrate, be coated with one group and sequentially arrange and vertically arranged many first sensing axes are sequentially arranged the second also horizontally disposed sensing axes with one group.Wherein those first sensing axes and those the second sensing axes hand over position more on this glass substrate, to form multiple plotted points.
When user is during with finger touch contact panel, on the touch point that can touch at it, change the capacitance signal of the first sensing axes and the second sensing axes; Use again capacitive sensing driver (Charge Sensing Driver) in a contactor control device to carry out the capacitance signal of above-mentioned the first sensing axes of sensing and the second sensing axes, to determine whether contact panel is touched by user, the instruction that contactor control device the mode of motion touching on contact panel according to user decide user's wish to trigger.
A kind of capacitance type touch-control panel that uses self-tolerant (Self Mode), it has the characteristic of single-point touch, the function of single point sensing also can be provided on contact panel, but when supporting the contact panel of multi-point touch, but judging that easily there is the problem that produces terrible point (Ghost Point) touch point position.
Referring to Fig. 1, is the schematic diagram of existing ghost point formation.Contact panel 900 has first sensing axes of position on transverse axis, is respectively X1 and X2; The second sensing axes with position on the longitudinal axis, is respectively Y1 and Y2.In the time that user touches contact panel 900 with two fingers simultaneously, two touch points can respectively produce two crests respectively at the first sensing axes (X1 and X2) and the second sensing axes (Y1 and Y2), after intersection calculation, can produce four candidate's touch points, wherein two is true touch point A1 and A4, all the other two is false touch point A2 and A3, be so-called terrible point, therefore easily cause the erroneous judgement of touch point position.If further, under the situation of 3 touch-controls, will derive six false touch points, this has also illustrated under the situation of multi-touch more, and the erroneous judgement of true touch point position is also even more serious.
Another kind of technology is the sensing mode of mutual appearance formula (Mutual Mode), has the characteristic of multi-point touch, and expression can provide more than one touch point in contact panel on contact panel.As shown in Figure 2, for using the contact panel of mutual appearance formula.On contact panel 800, vertically arranged the first sensing axes, is respectively X1, X2 and X3; The second sensing axes with horizontally disposed, is respectively Y1, Y2 and Y3.To take the active scan mode of similar TFT-LCD display because hold mutually the touch point detection mode of formula, for example, when the second sensing axes Y1 of scanning on the longitudinal axis, sequentially detect the first sensing axes X1, X2 on transverse axis and the capacitance signal of X3, just can obtain true touch point B2; While scanning again the sensing axes Y2 on the longitudinal axis, more sequentially detect sensing axes X1, X2 on transverse axis and the capacitance signal of X3, just can obtain true touch point B1; Last while scanning again the sensing axes Y3 on the longitudinal axis, more sequentially detect sensing axes X1, X2 on transverse axis and the capacitance signal of X3, find there is no any touch point.
Just do not have thus the ghost point phenomenon causing because of the mode of self-tolerant sensing, but, owing to need to the first sensing axes and the second sensing axes being carried out individually to the detecting of capacitance signal size in the mode sequentially scanning, make capacitance type touch-control panel suitable expending time in the time of the contact point of detecting multi-point touch, therefore hold mutually detection techniques and be not suitable for the capacitance type touch-control panel that contains a large amount of transverse axis/longitudinal axis lines of induction.
In addition, the main shortcoming of capacitance type touch-control panel is environmental sensibility high, therefore works as environmental factor, for example, when temperature, humidity or environment of electric field change, capital is caused the signal drift of capacitance type touch-control panel or is produced noise, directly affects the accuracy of capacitance type touch-control panel.
Summary of the invention
In view of this, fundamental purpose of the present invention is position judging method and the device thereof of the multi-point touch that a kind of contact panel is provided, to solve aforesaid problem.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of position judging method of multi-point touch of contact panel, this contact panel has many first sensing axes of sequentially arranging and many second sensing axes of sequentially arranging, and those first sensing axes are handed over more in those the second sensing axes, wherein the position judging method of multi-point touch comprises the following steps: to detect the capacitance signal of those first sensing axes and those the second sensing axes, obtains multiple candidate's touch points; Detect those candidate's touch points, and record capacitance signal size and the position of those candidate's touch points; Judge a maximum capacitor signal and a minimum capacity signal; Set up a threshold value, wherein this threshold value=this maximum capacitor signal × mono-elastic parameter+this minimum capacity signal × (this elastic parameter of 1 –), this elastic parameter is the constant between 0 to 1; And judge that those candidate's touch points that electric signal number is greater than this threshold value are true touch point.
Wherein: wherein this elastic parameter is the constant between 0.25 to 0.75.This elastic parameter is 0.5.
The capacitance signal that more comprises the following steps: to detect those first sensing axes and those the second sensing axes during higher than a default value, obtains multiple candidate's touch points.
More comprise the following steps: to judge the quantity of those candidate's touch points, whether be more than or equal to 4.
A kind of position judgment device of multi-point touch of contact panel, this contact panel has many first sensing axes of sequentially arranging and many second sensing axes of sequentially arranging, and those first sensing axes are handed over more in those the second sensing axes, wherein this position judgment device comprises: a self-tolerant detecting module, be electrically connected those first sensing axes and those the second sensing axes, in order to detect the capacitance signal of those first sensing axes and those the second sensing axes, and find out multiple candidate's touch points; One mutual appearance formula detecting module, is electrically connected those first sensing axes and those the second sensing axes, in order to detect the capacitance signal of those multiple candidate's touch points, and records the capacitance signal size and location of those candidate's touch points; One sampling module, is electrically connected this mutual appearance formula detecting module, in order to from the capacitance signal of those candidate's touch points, finds out a maximum capacitor signal and a minimum capacity signal; One computing module, be electrically connected this sampling module, and obtain a threshold value according to this maximum capacitor signal and this minimum capacity signal, wherein this threshold value=this maximum capacitor signal × mono-elastic parameter+this minimum capacity signal × (this elastic parameter of 1 –), this elastic parameter is the constant between 0 to 1; And a comparison module, be electrically connected this computing module and this mutual appearance formula detecting module, whether be greater than this threshold value in order to the capacitance signal of those candidate's touch points relatively, to judge the position of those touch points.
Wherein: this elastic parameter is the constant between 0.25 to 0.75.This elastic parameter is 0.5.
Whether this described self-tolerant detecting module judges the capacitance signal of those first sensing axes and those the second sensing axes, higher than a default value.Whether this self-tolerant detecting module, in order to judge the quantity of those candidate's touch points, is more than or equal to 4.
The position judging method of multi-point touch of the present invention and the effect of device thereof are, in the time using contact panel, the capacitance signal size of the touch point on detecting contact panel, obtains a maximum capacitor signal and a minimum capacity signal, and recycling one formula calculates a threshold value.Only be greater than the capacitance signal of the touch point of this threshold value, be just judged to be actual touch point.Therefore can be in order to obtain the position of 2 above touch points, to promote the accuracy of contact panel and to avoid ghost to put the doubt of generation.Also can be different because each news of calculating are calculated threshold values different and that draw, therefore can reduce for example, erroneous judgement because caused by environmental factor (temperature, humidity or environment of electric field change) impact of contact panel, and then promote the degree of accuracy of contact panel.
Embodiment
Below in conjunction with accompanying drawing and embodiments of the invention, method of the present invention and device thereof are described in further detail.
Referring to Fig. 3, is the capacitance type touch-control panel schematic diagram of the embodiment of the present invention.Contact panel 100 has a position judgment device 200, many first sensing axes X and many second sensing axes Y; Those first sensing axes X sequentially arranges and is arranged vertically; Those second sensing axes Y sequentially arranges and is horizontally disposed; And those first sensing axes X hands over more in those second sensing axes Y.Position judgment device 200 is in order to be electrically connected those the first sensing axes X and those second sensing axes Y.
Position judgment device 200 is used for the capacitance signal size of above-mentioned the first sensing axes X of sensing and the second sensing axes Y, touched with finger by user determining whether, and the mode of motion touching according to the user instruction that decides user's wish to trigger.
Position judgment device 200 can be recorded to the capacitance signal size of each the first sensing axes X and the second sensing axes Y in the middle of the internal memory in position judgment device 200, but these record data are not to store with simple capacitance, but see through the capacitive sensing driver (Charge Sensing Driver) of position judgment device 200 inside, by detecting capacitance and change into the calculation times of counter, as the expression foundation that judges contact panel 100 capacitance signals.
Fig. 4 is the circuit diagram of capacitive sensing driver.Capacitive sensing driver 210 comprises the first switch SW 1, second switch SW2, the 3rd switch SW 3, output capacitance Co, a resistance R, a comparer OP1 and a counter 211.
In the circuit diagram of Fig. 4, we can see touching capacitor C s, and this touching capacitor C s represents the capacitance of certain sensing axes on contact panel.The action of capacitive sensing driver 210 is conducting the first switch SW 1 and ends second switch SW2, makes power supply Vdd first to touching capacitor C s charging.End again afterwards the first switch SW 1 conducting second switch SW2, make to touch capacitor C s to output capacitance Co electric discharge, allow the end-point voltage of output capacitance Co reach consistent with the end-point voltage of touching capacitor C s, realize the object of record touching capacitor C s capacitance.
The end-point voltage of one end of comparer OP1 and output capacitance Co is electrically connected, the other end is to connect a reference voltage Vref, in the time that the value of the end-point voltage of output capacitance Co is more than or equal to reference voltage Vref, comparer OP1 will export a high voltage signal, make counter 211 start the action that work is counted, and the 3rd switch SW 3 conductings.The conducting of the 3rd switch SW 3, makes output capacitance Co discharge by resistance R, until the terminal voltage of output capacitance Co is less than reference voltage Vref.Repeat above action, position judgment device 200 itself at a fixed time in, just can obtain the different number of times that discharges and recharges according to the first sensing axes X on contact panel and many second sensing axes Y.In the time that Cs becomes large, it is many that the calculation times of counter 211 becomes; Contrary, when Cs diminishes, the calculation times of counter 211 can tail off, and we see through such mechanism and numerical value, judges that projected capacitive touch panel has or not to be pointed or conductive body contact and the variation that produces capacitance signal.The capacitance signal below mentioned represents the calculation times of counter 211, rather than the capacitance of electric capacity itself or magnitude of voltage.
Embodiments of the present invention for convenience of description, refer to Fig. 5, are the capacitance type touch-control panel part schematic diagram of the embodiment of the present invention.100 demonstrations of contact panel have sequentially many first sensing axes X1, the X2 and the X3 that arrange; And many second sensing axes Y1, the Y2 and the Y3 that sequentially arrange.And those first sensing axes X1, X2 and X3 hand over more in those second sensing axes Y1, Y2 and Y3.
Referring to Fig. 6, is the device architecture figure of the present invention's position judgment device.Position judgment device 200 comprises: a self-tolerant detecting module 220, a mutual appearance formula detecting module 230, a sampling module 240, a computing module 250 and a comparison module 260.
Please refer to Fig. 5 and Fig. 6.Self-tolerant detecting module 220 is electrically connected those first sensing axes X1, X2 and X3 and those second sensing axes Y1, Y2 and the Y3 on contact panel 100, in order to detect the capacitance signal size on those first sensing axes X1, X2 and X3 and those second sensing axes Y1, Y2 and Y3.Suppose that user does touch action on contact panel 100, will produce two true touch point P1 and P4, and two false touch point P2 and P3.
The capacitance signal size of self-tolerant detecting module 220 those first sensing axes of detecting X1, X2 and X3 and those second sensing axes Y1, Y2 and Y3, whether higher than a default value, (for example this default value is 70, but can be because of the difference of selecting of the design of circuit and part, and design different default values, therefore not as limit), and find out multiple candidate's touch points.Self-tolerant detecting module 220 is detected contact panel 100 each touch point, and will be judged as candidate's touch point higher than the touch point of default value, whether the quantity that can judge again afterwards those candidate's touch points, be more than or equal to 4, to determine whether there are 2 above touch points on contact panel 100.In example of the present invention, while supposing that user touches touch point P1 on contact panel 100 and P4, respectively produce two crests at the first sensing axes X1 and X2 and the second sensing axes (Y1 and Y2), after intersection calculation, can produce four candidate's touch point P1, P2, P3 and P4.The quantity that self-tolerant detecting module 220 is judged candidate's touch point is more than or equal to 4, just sends a signal to mutual appearance formula detecting module 230, represents that on contact panel 100 be the service condition of multi-point touch.
Appearance formula detecting module 230 is electrically connected those first sensing axes X1, X2 and X3 and those second sensing axes Y1, Y2 and the Y3 on contact panel 100 mutually, in order to detect the capacitance signal size of those multiple candidate's touch point P1, P2, P3 and P4, and record the capacitance signal size and location of those candidate's touch points P1, P2, P3 and P4.
Because self-tolerant detecting module 220 has been judged 4 candidate's touch point P1, P2, P3 and P4, so hold mutually formula detecting module 230 those candidate's touch points of detecting P1, P2, P3 and P4.Detecting mode is, first scans the second sensing axes Y1, detecting the first sensing axes X1 and X2 more sequentially, just can obtain the capacitance signal of candidate's touch point P3 and P4, and record the capacitance signal size and location of candidate's touch point P3 and P4.Scan again afterwards the second sensing axes Y2, detecting the first sensing axes X1 and X2 more sequentially, just can obtain the capacitance signal of candidate's touch point P1 and P2, and record the capacitance signal size and location of candidate's touch point P1 and P2.The capacitance signal size of candidate's touch point P1 and P2 is passed to sampling module 240.
The first sensing axes X3 and the second sensing axes Y3 are upper without any touch point, therefore hold mutually formula detecting module 230 and just need not scan the first sensing axes X3 and the second sensing axes Y3, are not having the sensitive axis of touch point online and expend too much sweep time.
Sampling module 240 is electrically connected this mutual appearance formula detecting module 230, in order to from the capacitance signal of those candidate's touch points P1, P2, P3 and P4, finds out a maximum capacitor signal and a minimum capacity signal.
Computing module 250 is electrically connected this sampling module 240, and receives maximum capacitor signal and the minimum capacity signal that sampling module 240 is found out.This maximum capacitor signal and this minimum capacity signal obtain a threshold value (threshold value) according to the computing formula in computing module 250.This formula is in embodiments of the present invention:
Threshold value=maximum capacitor signal × elastic parameter+minimum capacity signal × (1 – elastic parameter); Wherein this elastic parameter can be the constant between 0 to 1; Preferably, this elastic parameter is the constant between 0.25 to 0.75; Best, this elastic parameter can be 0.5 constant.
Comparison module 260 is electrically connected this mutual appearance formula detecting module 230 and this computing module 250.Whether be greater than this threshold value in order to the capacitance signal that compares those candidate's touch points, to judge the position of reality touch point on this contact panel 100.In embodiments of the present invention, comparison module 260 judges that those candidate's touch point P1 and P4 are true touch point, and other those candidate's touch point P2 and P3 are false touch point.
Fig. 7 is the position judging method process flow diagram of multi-point touch of the present invention.For a kind of position judging method of the multi-point touch that is applied to a contact panel, please refer to Fig. 5 and Fig. 6.For a kind of position judging method of the multi-point touch that is applied to a contact panel 100, this contact panel 100 has sequentially many first sensing axes X1, X2 arranging and X3 and many second sensing axes X1, X2 sequentially arranging and X3, and those first sensing axes X1, X2 and X3 hand over and get in those second sensing axes X1, X2 and X3, and wherein the position judging method of multi-point touch comprises the following steps:
Step S200, detects the capacitance signal on those first sensing axes X1, X2 and X3 and those second sensing axes Y1, Y2 and Y3, obtains multiple candidate's touch points.In this step, self-tolerant detecting module 220 judges the capacitance signal size of those first sensing axes X1, X2 and X3 and those second sensing axes Y1, Y2 and Y3, whether higher than a default value, (for example this default value is 70, but can be because of the difference of selecting of the design of circuit and part, and design different default values, therefore not as limit), and after relatively, obtain multiple candidate's touch points.In example of the present invention, self-tolerant detecting module 220 is judged four candidate's touch point P1, P2, P3 and P4.
Step S202, judges the quantity of those candidate's touch points whether to be more than or equal to 4.In this step, self-tolerant detecting module 220 judges whether the quantity of those candidate's touch points is more than or equal to 4, in the time that the quantity of candidate's touch point is more than or equal to 4, represents to have at least two positions to be touched on contact panel 100, just carries out step S204; In the time that the quantity of candidate's touch point is less than 4, represent to only have a position to be touched on contact panel 100, just get back to step S200.In example of the present invention, self-tolerant detecting module 220 has been judged 4 candidate's touch point P1, P2, P3 and P4, just carries out step S204.
Step S204, detects those candidate's touch points, and records capacitance signal size and the position of those candidate's touch points.In this step, hold mutually formula detecting module 230 and detect the capacitance signal size of those candidate's touch points, and record capacitance signal size and the position of those candidate's touch points.In example of the present invention, the capacitance signal size of appearance formula detecting module 230 those candidate's touch points of detecting out of the ordinary P1, P2, P3 and P4 mutually, and record the capacitance signal size of those candidate's touch points P1, P2, P3 and P4 and the position of corresponding those candidate's touch points P1, P2, P3 and P4.
Step S206, judges a maximum capacitor signal and a minimum capacity signal.In this step, sampling module 240, according to mutual interior those recorded capacitance signals of appearance formula detecting module 230, is judged a maximum capacitor signal and a minimum capacity signal.In example of the present invention, in the capacitance signal of sampling module 240 by those candidate's touch points P1, P2, P3 and P4, judge a maximum capacitor signal and a minimum capacity signal.
Step S208, sets up a threshold value (threshold value).In this step, computing module 250 is set a formula and an elastic parameter, the constant that this elastic parameter can be between 0 to 1; Preferably, this elastic parameter is the constant between 0.25 to 0.75; Best, this elastic parameter can be 0.5 constant; Bring this elastic parameter, this maximum capacitor signal and this minimum capacity signal into this formula, to obtain this threshold value.This formula is in embodiments of the present invention:
Threshold value=maximum capacitor signal × elastic parameter+minimum capacity signal × (1 – elastic parameter).
Step S210, judges that candidate's touch point that capacitance signal is greater than this threshold value is true touch point.In this step, comparison module 260 distinctly judges whether the capacitance signal of those candidate's touch points is greater than threshold value, and the candidate's touch point that is greater than threshold value is true touch point; The candidate's touch point that is less than threshold value is false touch point.In the embodiment of the present invention, the capacitance signal of true touch point P1 and P4 is greater than threshold value, and false touch point P2 and P3 are less than threshold value.
To embodiment of the present invention be described with supposed situation below:
The first situation, please refer to Fig. 5.Suppose: elastic parameter is 0.5, the capacitance signal of touch point P1 is 140, the capacitance signal of touch point P2 is 20, the capacitance signal of touch point P3 be 30 and the capacitance signal of touch point P4 be 150.
Obtaining maximum capacitor signal by step S206 is 150; Minimum capacity signal is 20.
By step S208, by maximum capacitor signal, minimum capacity signal and elastic parameter substitution formula: threshold value=maximum capacitor signal × elastic parameter+minimum capacity signal × (1 – elastic parameter);
Threshold value=150 × 0.5+20 × (1 – 0.5);
Threshold value=85.
By step S210, capacitance signal work and the threshold value of touch point P1, P2, P3 and P4 are made comparisons: it is true touch point that touch point P1 and P4 are greater than threshold value; It is false touch point that touch point P2 and P3 are less than threshold value.
The second situation, please refer to Fig. 5.Suppose: elastic parameter is 0.5, the capacitance signal of touch point P1 is 130, the capacitance signal of touch point P2 is 10, the capacitance signal of touch point P3 be 20 and the capacitance signal of touch point P4 be 140.(data that inventor provides are identical with the first situation, and therefore this institute changes the numerical value of P1, P2, P3 and P4 into 130,10,20 and 140)
Obtaining maximum capacitor signal by step S206 is 140; Minimum capacity signal is 10.
By step S208, by maximum capacitor signal, minimum capacity signal and elastic parameter substitution formula: threshold value=maximum capacitor signal × elastic parameter+minimum capacity signal × (1 – elastic parameter);
Threshold value=140 × 0.5+10 × (1 – 0.5);
Threshold value=75.
By step S210, the capacitance signal of touch point P1, P2, P3 and P4 and threshold value are made comparisons: it is true touch point that touch point P1 and P4 are greater than threshold value; It is false touch point that touch point P2 and P3 are less than threshold value.
Learnt by above-mentioned the first situation and the second situation, threshold value can, according to different capacitance signal sizes, have different results.
From the above, the position judging method of multi-point touch of the present invention and the effect of device thereof are, in the time using contact panel, the capacitance signal size of the touch point on detecting contact panel, obtain a maximum capacitor signal and a minimum capacity signal, recycling one formula calculates a threshold value.Only be greater than the capacitance signal of the touch point of this threshold value, be just judged to be actual touch point.Therefore can be in order to obtain the position of 2 above touch points, to promote the accuracy of contact panel and to avoid ghost to put the doubt of generation.The threshold value drawing because each capacitance signal calculating varies in size also can be different, therefore can reduce for example, erroneous judgement because caused by environmental factor (temperature, humidity or environment of electric field change) impact of contact panel, and then promote the degree of accuracy of contact panel.
The above, be only preferred embodiment of the present invention, is not intended to limit protection scope of the present invention.