Touch parameter method of adjustment and touch parameter adjusting gearTechnical field
The present invention relates to touch parameter method of adjustment and touch parameter adjusting gear, the influence that relates to unusual capacitor dielectric of compensation or the rapid change of environment electric capacity is particularly arranged, change correctly to judge body capacitance.
Background technology
That contact panel (Touch Panel) has is easy to operate, reaction velocity reaches the advantage of saving the space soon, therefore be widely used in the various consumption electronic products, for example PDA(Personal Digital Assistant), intelligent mobile communication device, mobile computer and sale management system electronic products such as (POS).And have stable performance, the good and durable capacitive touch control techniques of sensitivity concurrently is one of at present most popular touch technology, and it mainly is to utilize human body to contact the capacitance variations that is produced because of the static combination with contact panel, finishes touch controllable function.
Please refer to Fig. 1, Fig. 1 is the synoptic diagram of a known capacitance touch control system 10.Capacitancetouch control system 10 includes acontact panel 102, asensing unit 104 and a judging unit 106.Contact panel 102 includes (tin indium oxide) cabling that most bars are arranged with matrix-style, but the capacitance ofsensing unit 104 these cablings of sensing and be converted into digital signal after, exportjudging unit 106 to.During when human body (as finger) contact ornear contact panel 102, can cause the change of some cabling capacitance, then the signal that can be exported according to sensingunit 104 ofjudging unit 106 has been judged the human body touch incident, and notice backend application unit or controller, to export corresponding effect.
Specifically, please refer to Fig. 2, Fig. 2 is when the human body touch incident, the synoptic diagram of a signal ctr_raw of 104 sensings of sensing unit.Variation for correct induction body capacitance, be preset with touch parameter in thesensing unit 104, reference as the induction touch event, as shown in Figure 2, it includes a reference capacitance conversion value ctr_bsc, a touch-control threshold value th_on, a strong noise threshold value th_ns_high, a low noise threshold value th_ns_low.Reference capacitance conversion value ctr_bsc is corresponding to environment electric capacity, and touch-control threshold value th_on is used for then having judged whether that touch event takes place.Strong noise threshold value th_ns_high and low noise threshold value th_ns_low be a reference capacitance conversion value ctr_bsc and a noise margin mrg_ns with value and difference, be used for avoiding the generation of judging by accident.When finger is not touched contact panel 102,104 sensed signal ctr_raw of sensing unit are between strong noise threshold value th_ns_high and low noise threshold value th_ns_low, and behind fingertouches contact panel 102, signal ctr_raw can surpass strong noise threshold value th_ns_high earlier, surpass touch-control threshold value th_on again, expression truly has touch event to take place, but not noise.Therefore, correctly respond to touch event, the most important condition must guarantee that reference capacitance conversion value ctr_bsc's is correct.
In known technology, in order to obtain correct reference capacitance conversion value ctr_bsc, as shown in Figure 3, capacitancetouch control system 10 is after start (or restarting), can continue for some time the environment electric capacity conversion value cap_ev of monitoringcontact panel 102, again rational environment electric capacity conversion value in the monitoring time is on average become stable reference capacitance conversion value ctr_bsc, and be stored in the capacitance touch control system 10.Simultaneously, when normal operation, capacitancetouch control system 10 can upgrade reference capacitance conversion value ctr_bsc automatically, with parameter shift situations that variation was caused such as compensate for ambient temperature, humidity.Yet, nonetheless, the situation that reference capacitance conversion value ctr_bsc still might judge by accident or can't correctly upgrade.
For instance, if in the start process of capacitancetouch control system 10, there is unusual capacitor dielectric to be contacted with on thecontact panel 102, attached to it as objects such as finger, pointer lasting touchingcontact panel 102 or materials such as oil, water, the reference capacitance conversion value ctr_bsc that will cause capacitancetouch control system 10 initialization procedures to be obtained is higher than the conversion value under the actual environment.In this case, after start was finished, (finger was removedcontact panel 102, and the user dries oil, water if unusual capacitor dielectricleaves contact panel 102 ... Deng), then can cause capacitancetouch control system 10 can't correctly compare the variation of body capacitance.
In addition, when normal operation, though capacitancetouch control system 10 automatically updated reference capacitance conversion value ctr_bsc, such update mechanism can only be dealt with the slow variation of environment capacitance.When temperature, the rapid change of humidity, as by snowy outdoor entering in the heating installation room, or under other operating environment that can't expect, may cause environment capacitance acute variation, exceed the scope that the update mechanism of capacitancetouch control system 10 can be reacted.In this case, capacitancetouch control system 10 can't correctly compare the variation of body capacitance equally, causes the situation of operation failure.
Summary of the invention
Fundamental purpose of the present invention is to provide a kind of touch parameter method of adjustment and touch parameter adjusting gear.
The present invention discloses a kind of touch parameter method of adjustment, be used for the Renewal Time that a contactor control device determines a touch parameter, this touch parameter comprises a reference capacitance conversion value corresponding to an environment electric capacity, and a touch-control threshold value is corresponding to a touch-control incident, this touch parameter method of adjustment includes when a touch-control sensing signal falls within an invalid touch-control scope, judges that this touch-control sensing signal falls within the number of times of this invalid touch-control scope; And the number of times that falls within this invalid touch-control scope in this touch-control sensing signal starts and upgrades this reference capacitance conversion value during greater than one first default value.
The present invention also discloses a kind of touch parameter method of adjustment, and it comprises: when a plurality of touch sense signals fall within an effective touch-control scope simultaneously, judge the quantity of these a plurality of touch sense signals, this effective touch-control scope is greater than this touch-control threshold value; And during greater than one first default value, start and upgrade this reference capacitance conversion value in the quantity of these a plurality of touch sense signals.
The present invention discloses a kind of touch parameter adjusting gear in addition, and it comprises: a quantity judging unit is used for judging that this touch sense signals falls within the number of times of this invalid touch-control scope when a touch sense signals falls within an invalid touch-control scope; And one upgrade start unit, and the number of times that is used for falling within this invalid touch-control scope in this touch sense signals starts and upgrades this reference capacitance conversion value during greater than one first default value.
In the prior art, if the judgement of unusual electric capacity medium influence environment electric capacity is arranged in the start process of capacitance touch control system, then start is finished, and after capacitor dielectric leaves unusually, can cause capacitance touch control system can't correctly compare the variation of body capacitance.In addition, temperature, the environment capacitance acute variation that caused of the rapid change of humidity also can exceed the scope that the update mechanism of existing capacitance touch control system can be reacted.
In comparison, the present invention reaches the number of times that touch sense signals accumulative total falls within invalid touch-control scope according to the quantity of the touch sense signals that falls within effective touch-control scope simultaneously, judges whether to start renewal reference capacitance conversion value ctr_bsc.Therefore, no matter be the unusual electric capacity medium influence of start process, or the rapid change of environment electric capacity, the present invention all can effectively follow the trail of the variation of reference capacitance conversion value ctr_bsc, and then correctly judges the variation of body capacitance.
Description of drawings
Fig. 1 is the synoptic diagram of a known capacitance touch control system;
Fig. 2 is when the human body touch incident, the synoptic diagram of a signal of sensing unit institute sensing in the capacitance touch control system of Fig. 1;
Fig. 3 is the start schematic flow sheet of the capacitance touch control system of Fig. 1;
Fig. 4 is the synoptic diagram that the embodiment of the invention one touch parameter is adjusted flow process;
Fig. 5 is the synoptic diagram of the embodiment of the invention one touch parameter adjusting gear;
Fig. 6, Fig. 7, Fig. 8 A, Fig. 8 B and Fig. 9 are that the touch parameter of Fig. 4 is adjusted the running synoptic diagram that flow process is adjusted touch parameter.
Wherein, description of reference numerals is as follows:
10 capacitance touch control systems
102 contact panels
104 sensing units
106 judging units
The ctr_raw signal
Ctr_bsc reference capacitance conversion value
Th_on touch-control threshold value
Th_ns_high strong noise threshold value
Th_ns_low low noise threshold value
The mrg_ns noise margin
Cap_ev environment electric capacity conversion value
40 touch parameters are adjusted flow process
400,402,404,406 steps
50 touch parameter adjusting gears
500 quantity judging units
502 upgrade start unit
CNT_vld quantity
CNT_inv number
Embodiment
Please refer to Fig. 4, Fig. 4 is the synoptic diagram that the embodiment of the invention one touch parameter is adjusted flow process 40.Touch parameter is adjusted the Renewal Time thatflow process 40 is used for determining as the capacitancetouch control system 10 of Fig. 1 the touch parameter ofsensing units 104, and it comprises following steps:
Step 400: beginning.
Step 402: whether the quantity CNT_vld that judges the touch sense signals that falls within an effective touch-control scope simultaneously is greater than a default value A.If carry outstep 406; If not, carry outstep 404.
Step 404: judge whether that a touch sense signals falls within the number of times CNT_inv of an invalid touch-control scope greater than a default value B.If carry outstep 406; If not, get back tostep 402.
Step 406: start and upgrade reference capacitance conversion value ctr_bsc.
Touch parameteradjustment flow process 40 is the quantity CNT_vld according to the touch sense signals that falls within effective touch-control scope simultaneously, reach the number of times CNT_inv that interior a certain touch sense signals accumulative total of specific period falls within invalid touch-control scope, judge whether to start renewal reference capacitance conversion value ctr_bsc.So-called " effectively touch-control scope " is meant the inductance capacitance conversion value that can be judged as the touch-control incident, is example with Fig. 2, promptly greater than the scope of touch-control threshold value th_on; And " invalid touch-control scope " is meant to judge whether the inductance capacitance of touch-control incident conversion value is arranged, with Fig. 2 is example, i.e. scope between touch-control threshold value th_on and strong noise threshold value th_ns_high, or less than the scope of low noise threshold value th_ns_low.Be noted that effectively the touch-control scope is relevant with the definition and the default of invalid touch-control scope, is not limited thereto.
Therefore, when showing the touch-control incident that has simultaneously on thecontact panel 102 above quantity A (as 2), 104 sensed result of sensing unit take place, or have its accumulative total of a touch sense signals can't judge the number of times whether the touch-control incident is arranged greater than quantity B, then touch parameter is adjustedflow process 40 meeting startup renewal reference capacitance conversion value ctr_bsc.
The implementation that touch parameter is adjustedflow process 40 is not limited to software or hardware, and the correlation function square can be by update software, newly-increased or revise mode such as hardware circuit and be added in the capacitancetouch control system 10 of Fig. 1, as shown in Figure 5.In Fig. 5, a newly-increased touch parameter adjustinggear 50 is used for realizing touch parameteradjustment flow process 40, upgrades the touch parameter ofsensing unit 104 with in good time startup.Touch parameter adjustinggear 50 includes aquantity judging unit 500 and and upgrades start unit 502.Quantity judging unit 500 is used for judging quantity CNT_vld and number of times CNT_inv,upgrades start unit 502 then according to the judged result ofquantity judging unit 500, and whether decision starts is upgraded reference capacitance conversion value ctr_bsc.When quantity CNT_vld greater than default value A or number of times CNT_inv during greater than default value B, upgradestart unit 502 and can start and upgrade reference capacitance conversion value ctr_bsc.Therefore, the function mode of touch parameter adjustinggear 50 can cooperate Fig. 6, Fig. 7, Fig. 8 A, Fig. 8 B and Fig. 9, divides following four kinds of situation explanations.
First, in the environment temperature, humidity etc. meet under the default operation condition,quantity judging unit 500 is judged the quantity CNT_vld of the touch sense signals that falls within effective touch-control scope simultaneously less than default value A, and when its number of times CNT_inv that falls within invalid touch-control scope of a touch sense signals is arranged less than default value B, that is the environment electric capacity conversion value (being signal ctr_raw) that sensingunit 104 is judged is no more than strong noise threshold value th_ns_high and low noise threshold value th_ns_low with rough equating of reference capacitance conversion value ctr_bsc, then touch parameter adjustinggear 50 can not start renewal reference capacitance conversion value ctr_bsc, as shown in Figure 6.
The second, when normal operation,quantity judging unit 500 is judged the quantity CNT_vld of the touch sense signals that falls within effective touch-control scope simultaneously greater than default value A, that is there is touch-control incident to be detected simultaneously above default value A, then upgradestart unit 502 and can start renewal reference capacitance conversion value ctr_bsc, as shown in Figure 7.
The 3rd, when normal operation,quantity judging unit 500 is judged its number of times CNT_inv that falls within invalid touch-control scope of a touch sense signals greater than default value B, that is, shown in Fig. 8 A, the electric capacity conversion value quantity of the environment electric capacity conversion value that sensingunit 104 is judged (being signal ctr_raw) between touch-control threshold value th_on and strong noise threshold value th_ns_high is greater than default value B, or shown in Fig. 8 B, the electric capacity conversion value quantity that is lower than strong noise threshold value th_ns_low is then upgradedstart unit 502 and can be started renewal reference capacitance conversion value ctr_bsc greater than default value B.
Four, in start process, there is unusual capacitor dielectric to add, then as shown in Figure 9,quantity judging unit 500 can start renewal reference capacitance conversion value ctr_bsc in time point T1 earlier at the influence that unusual capacitor dielectric caused; Then, after unusual capacitor dielectric leaves, upgrade reference capacitance conversion value ctr_bsc again in time point T2.
Above-mentioned four kinds of situations are used for illustrating spirit of the present invention, are noted that the setting of default value A, B is answered the viewing system demand and decided.For example, if desire the elevator system reaction time, be example with Fig. 9, mean and make time point T2 in advance, then can establish default value B less; On the contrary, if want the elevator system degree of stability, then can establish default value B bigger.
In the prior art, if the judgement of unusual electric capacity medium influence environment electric capacity is arranged in the start process of capacitance touch control system, then start is finished, and after capacitor dielectric leaves unusually, can cause capacitance touch control system can't correctly compare the variation of body capacitance.In addition, temperature, the environment capacitance acute variation that caused of the rapid change of humidity also can exceed the scope that the update mechanism of existing capacitance touch control system can be reacted.In comparison, the present invention reaches the number of times that touch sense signals accumulative total falls within invalid touch-control scope according to the quantity of the touch sense signals that falls within effective touch-control scope simultaneously, judges whether to start renewal reference capacitance conversion value ctr_bsc.Therefore, no matter be the unusual electric capacity medium influence of start process, or the rapid change of environment electric capacity, the present invention all can effectively follow the trail of the variation of reference capacitance conversion value ctr_bsc, and then correctly judges the variation of body capacitance.
In sum, but the influence of unusual capacitor dielectric of the present invention's timely compensation or the rapid change of environment electric capacity, the variation of effectively following the trail of the reference capacitance conversion value, and then correctly judge the variation of body capacitance.
The above only is the preferred embodiments of the present invention, and all equalizations of doing according to claim of the present invention change and modify, and all should belong to covering scope of the present invention.