CN102479009A - Method for updating background value of capacitive touch panel - Google Patents
Method for updating background value of capacitive touch panel Download PDFInfo
- Publication number
- CN102479009A CN102479009A CN2010105626969A CN201010562696A CN102479009A CN 102479009 A CN102479009 A CN 102479009A CN 2010105626969 A CN2010105626969 A CN 2010105626969A CN 201010562696 A CN201010562696 A CN 201010562696A CN 102479009 A CN102479009 A CN 102479009A
- Authority
- CN
- China
- Prior art keywords
- value
- background
- current
- passage
- difference
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 13
- 238000004364 calculation method Methods 0.000 claims description 3
- 238000001914 filtration Methods 0.000 abstract description 2
- 230000001133 acceleration Effects 0.000 description 1
- 238000006073 displacement reaction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
Landscapes
- Position Input By Displaying (AREA)
Abstract
The invention relates to a method for updating background value of a capacitive touch pad, which determines whether to update the background according to whether any one of a plurality of summarized update conditions is satisfied, wherein the update conditions comprise: if the updating program executes the program for the first time, executing background updating unconditionally; if the background value is less than a set value, the background is directly updated, and the set value is determined according to the inherent attribute of the touch pad; the new background value is equal to the linear combination of the background value before updating and the sum of all the current Y channels, wherein the sum of the coefficients of the new background value and the sum of all the current Y channels is 1; if the touch screen is updated for the first time, the background value is the sum of all current Y channels, and Y is the Y axis of the touch screen; recording the maximum value of the sum of all Y channels obtained by low-pass filtering, and updating the background if the sum of all the current Y channels is smaller than the maximum value and the difference value is larger than a set numerical value; as well as several other conditions. The invention can realize timely and correct updating of the background value of the touch pad.
Description
Technical field
The present invention relates to a kind of capacitance contact board of integrated circuit fields such as ASIC, MCU, relate in particular to a kind of update method of capacitance contact board background value.
Background technology
Touch pad is the input equipment of conventional mouse instead, and is indispensable in equipment such as notebook computer, high-grade point reader and net book.And the touch pad in these equipment mainly is to be main with capacitive type touch pad.This point is at Chinese patent ZL95195811.9; The existing detailed description among the ZL97190278.X.And capacitance touch is also positive fast-developing because of the superiority that is had in such as equipment such as mobile phone, touch-screens.
Background value is the data that obtain through certain algorithm according to current actual sample value when pointing not on touch pad, is to calculate the reference value that has or not finger.When departing from the certain degree of background value like the value when new sampling, system thinks that finger places up.Background value is not unalterable, is to upgrade according to the environmental change of system.The renewal of background value is related to the judgement of finger and mobile effect, is the topmost foundation as coordinates computed.If the context update mistake then can cause finger to exist, point and various problems such as not have always always.Therefore, the success or failure of the quality of context update decision whole procedure even product.
Mention as patent ZL97190278.X, at touch pad X is arranged, the Y axle; Because the Y axle in the above; Nearest with finger, the value of its Y axle changes can react the various trend of finger, is used as judging whether background is upgraded and pointed the reference that whether exists so get the value of Y axle.But regrettably, the background value of existing touch pad upgrades and often is difficult to satisfy timely, correct requirement.
Summary of the invention
The objective of the invention is to propose a kind of update method of capacitance contact board background value, with the background value that solves touch pad in the prior art can not be in time, the problem of correct renewal.
For realizing the foregoing invention purpose, the present invention has adopted following technical scheme:
A kind of update method of capacitance contact board background value is characterized in that, this method is: judge whether to upgrade background according to the update condition that comprises following condition, if background is then upgraded in arbitrary establishment in the update condition:
(1), then unconditionally carries out context update if program is carried out this program for the first time;
(2) if background value less than a setting value, then directly upgrades background, this setting value is decided according to the kind of touch pad;
(3) background value before new background value equals not upgrade and the linear combination of all passage sums of current Y, the coefficient of the coefficient of wherein new background value and all passage sums of current Y and be 1; If upgrade for the first time, then background value is got all passage sums of current Y, and said Y is the Y axle of touch pad;
(4) maximal value of all Y passage sums of getting through LPF of record, if all passage sums of current Y less than this maximal value and its difference greater than the numerical value of setting, then context update;
(5) if currency less than background value, then upgrades background;
(6) calculate the maximal value that all Y passage sums that got through LPF when pointing were arranged last time, if in this context update, background value differs certain value with the maximal value of last all Y passage sums, and then background need not to upgrade, otherwise upgrades;
The mean value of the difference of each time maximal value and background value when (7) calculating has finger before this; But if the maximal value wherein once and the difference of background value exceed limit value; Then this difference is not participated in calculating mean value; Maximal value during above the mean value of previous calculations, is then upgraded background with the difference of current sampled value if this has when finger.
Say that further for condition (3), the absolute value of difference of judging all passage sums of current Y and current background value if set up, then upgrades background value whether less than the absolute value of difference of last time background value and this background value; But when system judged that finger exists, background was not upgraded.
For condition (3), when judging whether to upgrade background value, meet the following conditions:
The absolute value of the difference of all passage sums of current Y and current background value must be less than certain value;
The difference of all passage these sub-values of sum of current Y and last sub-value is less than certain value, and continuously several times all less than this value;
No change before and after the background value, and constant number of times will surpass certain number of times;
Not having finger moves.
Embodiment
Whether the update method of capacitance contact board background value of the present invention is to upgrade according to following condition judgment, will cause context update if wherein arbitrary condition is set up:
(1), then unconditionally carries out context update if program is carried out this program for the first time;
(2) if background value less than a specific value, as 100, then directly upgrades background.Can certainly choose other values, the general actual parameter according to plank of this value gets.
(3) important formula: F
Z is new=α * (F
Z is old)+(1-α) * W, if for the first time, Fz=W then, α=0.875.Calculate through this LPF formula, then the data that obtain of Fz are milder, can the most interfering data of filtering.Wherein W be current all passages of Y with.Said Y is the Y axle of touch pad.
Calculate | W-Fz|<| whether Oz-Fz| formula < 3-1>is set up.
Aforementioned α is the root system number, and Oz is a background value, and Fz is for judging the reference data of background value.
Formula < 3-1>is to upgrade the most important condition of background.Therefrom can find out, | W-Fz| representes that currency departs from the degree of Fz, if the value of being somebody's turn to do is very big, then is in the uncertain phase, does not also settle out in other words; | Oz-Fz| representes the departure degree of background value.Need to prove that background is unrenewable when system judges that finger exists.
But there is a problem in formula < 3-1 >, and when finger will be put or will unclamp, this formula possibly set up exactly.As when finger is slowly put, because the acceleration that W increases is slower, and Fz also follows the tracks of up, causes | and W-Fz| is always very little, and formula < 3-1>is set up all the time, and background is upgraded up always, causes finger to be no judge of existence.
In order to address this problem, be provided with limit:
A, | W-Fz| must be less than certain value, as less than 3 etc.This restriction is for signal stabilization is got off, and can not satisfy condition in the time of will putting or leave at finger.
The value of this sub-value of B, W and last time is only poor also to be less than certain value, and continuously several times all less than this value.
The front and back of C, Fz do not change, and the constant number of times of Fz will surpass certain number of times, as 10 times;
D, mobile, i.e. displacement delta=0 less than finger.
(4) record Fz maximal value Fzmax, if the value of current Fz is littler than Fzmax, and difference greater than value, as 300, then background also can be upgraded.This condition must just can be set up when finger exists, and also is to solve many fingers existence that possibility steam causes.The limit value size of this difference needs empirical value adjustment.
(5), then upgrade background if currency is littler than background value.
(6) calculate the maximal value Fzmax of the Fz when finger was arranged last time, if in this context update, background value is compared with last Fzmax and is differed certain value when (like 1.5 times of the finger upper limit), and then background is no longer upgraded.Can solve finger slowly near situation.
(7) calculate the front all in most cases finger is arranged the time the mean value of difference of Fzmax and background value (most applications that refers to here is meant and can not differs too big between the difference; If differ too big; Then do not participate in calculating mean value); If this decrease difference of current sampled value (this Fzmax with) that finger time difference value is arranged is when surpassing the mean value of previous calculations, the renewal background.
Realize that best way of the present invention is applied in touch panel system, particularly notebook computer, learning machine etc. need replace in the equipment of mouse with touch pad.In this kind equipment, touch pad generally is a capacitance contact board, has finger to move last, realizes the control of analog mouse.
Below only be concrete exemplary applications of the present invention, protection scope of the present invention is not constituted any limitation.All employing equivalents or equivalence replacement and the technical scheme that forms, all drop on rights protection scope of the present invention it.
Claims (3)
1. the update method of a capacitance contact board background value is characterized in that, this method is: judge whether to upgrade background according to the update condition that comprises following condition, if background is then upgraded in arbitrary establishment in the update condition:
(1), then unconditionally carries out context update if program is carried out this program for the first time;
(2) if background value less than a setting value, then directly upgrades background, this setting value is decided according to the kind of touch pad;
(3) background value before new background value equals not upgrade and the linear combination of all passage sums of current Y, the coefficient of the coefficient of wherein new background value and all passage sums of current Y and be 1; If upgrade for the first time, then background value is got all passage sums of current Y, and said Y is the Y axle of touch pad;
(4) maximal value of all Y passage sums of getting through LPF of record, if all passage sums of current Y less than this maximal value and its difference greater than the numerical value of setting, then context update;
(5) if currency less than background value, then upgrades background;
(6) calculate the maximal value that all Y passage sums that got through LPF when pointing were arranged last time, if in this context update, background value differs certain value with the maximal value of last all Y passage sums, and then background need not to upgrade, otherwise upgrades;
The mean value of the difference of each time maximal value and background value when (7) calculating has finger before this; But if the maximal value wherein once and the difference of background value exceed limit value; Then this difference is not participated in calculating mean value; Maximal value during above the mean value of previous calculations, is then upgraded background with the difference of current sampled value if this has when finger.
2. the update method of the background value in the capacitance contact board according to claim 1; It is characterized in that; For condition (3); The absolute value of difference of judging all passage sums of current Y and current background value if set up, then upgrades background value whether less than the absolute value of difference of last time background value and this background value; But when system judged that finger exists, background was not upgraded.
3. the update method of the background value in the capacitance contact board according to claim 2 is characterized in that, for condition (3), when judging whether to upgrade background value, meet the following conditions:
The absolute value of the difference of all passage sums of current Y and current background value must be less than certain value;
The difference of all passage these sub-values of sum of current Y and last sub-value is less than certain value, and continuously several times all less than this value;
No change before and after the background value, and constant number of times will surpass certain number of times;
Not having finger moves.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2010105626969A CN102479009A (en) | 2010-11-29 | 2010-11-29 | Method for updating background value of capacitive touch panel |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN2010105626969A CN102479009A (en) | 2010-11-29 | 2010-11-29 | Method for updating background value of capacitive touch panel |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN102479009A true CN102479009A (en) | 2012-05-30 |
Family
ID=46091676
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN2010105626969A Pending CN102479009A (en) | 2010-11-29 | 2010-11-29 | Method for updating background value of capacitive touch panel |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN102479009A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102722286A (en) * | 2012-06-08 | 2012-10-10 | 深圳市汇顶科技有限公司 | Reference updating method of touch detection terminal capable of removing large-scale interference and system |
| CN106155361A (en) * | 2015-02-11 | 2016-11-23 | 辛纳普蒂克斯公司 | Hot radical line relaxation |
| CN111190507A (en) * | 2018-11-14 | 2020-05-22 | 阿尔派株式会社 | Electronic device with touch panel and baseline value updating method |
| CN117944375A (en) * | 2022-10-19 | 2024-04-30 | 上海汉图科技有限公司 | Handheld printer and printing method |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1164286A (en) * | 1994-09-02 | 1997-11-05 | 辛纳普蒂克斯有限公司 | Object position detector |
| CN1185844A (en) * | 1996-03-28 | 1998-06-24 | 辛纳普蒂克斯有限公司 | Object position detector with edge motion feature and gesture recognition |
-
2010
- 2010-11-29 CN CN2010105626969A patent/CN102479009A/en active Pending
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1164286A (en) * | 1994-09-02 | 1997-11-05 | 辛纳普蒂克斯有限公司 | Object position detector |
| CN1185844A (en) * | 1996-03-28 | 1998-06-24 | 辛纳普蒂克斯有限公司 | Object position detector with edge motion feature and gesture recognition |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102722286A (en) * | 2012-06-08 | 2012-10-10 | 深圳市汇顶科技有限公司 | Reference updating method of touch detection terminal capable of removing large-scale interference and system |
| WO2013181975A1 (en) * | 2012-06-08 | 2013-12-12 | 深圳市汇顶科技股份有限公司 | Benchmark updating method and system for touch detection terminal capable of eliminating large-area interference |
| CN102722286B (en) * | 2012-06-08 | 2014-12-31 | 深圳市汇顶科技股份有限公司 | Reference updating method of touch detection terminal capable of removing large-scale interference and system |
| US9946623B2 (en) | 2012-06-08 | 2018-04-17 | Shenzhen GOODIX Technology Co., Ltd. | Benchmark updating method and system for touch detection terminal capable of eliminating large-area interference |
| CN106155361A (en) * | 2015-02-11 | 2016-11-23 | 辛纳普蒂克斯公司 | Hot radical line relaxation |
| CN111190507A (en) * | 2018-11-14 | 2020-05-22 | 阿尔派株式会社 | Electronic device with touch panel and baseline value updating method |
| CN111190507B (en) * | 2018-11-14 | 2024-05-10 | 阿尔派株式会社 | Electronic device with touch panel and method for updating baseline value |
| CN117944375A (en) * | 2022-10-19 | 2024-04-30 | 上海汉图科技有限公司 | Handheld printer and printing method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| USRE47028E1 (en) | Information processing apparatus, method and computer readable medium for fixing an input position according to an input operation | |
| EP2738655B1 (en) | Method and device of unlock screen saver | |
| CN102713822A (en) | Information input device, information input method and programme | |
| CN102768617B (en) | Hand-held electronic equipment and the method for list items editor based on touch screen | |
| US10120481B2 (en) | Method and apparatus for handling touch input in a mobile terminal | |
| CN102479009A (en) | Method for updating background value of capacitive touch panel | |
| CN102693035B (en) | Modal touch input | |
| US9448667B2 (en) | Coordinate detecting device | |
| US20130097538A1 (en) | Method and apparatus for displaying icons on mobile terminal | |
| WO2014046302A1 (en) | Figure drawing apparatus, figure drawing method and recording medium on which figure drawing programs are recorded | |
| CN103888281B (en) | Server gray scale upgrade method, device and corresponding gray scale upgrade server | |
| US20110050630A1 (en) | Information Processing Apparatus, Information Processing Method, and Program | |
| EP1741476A1 (en) | Storage medium storing pointing device input adjustment program, input adjustment apparatus and input adjustment method | |
| WO2014160436A1 (en) | Baseline management for sensing device | |
| CN101853136A (en) | Virtual keyboard and dynamic adjustment method thereof and electronic device | |
| JP5723586B2 (en) | Pointer control method, system, and program thereof. | |
| KR20140042750A (en) | Touch-enabled complex data entry | |
| CN102981772A (en) | Method of setting virtual keyboard and device thereof | |
| US20130321319A1 (en) | Electronic device, control setting method and program | |
| CN103197787A (en) | Noise elimination method of touch panel | |
| US20120098759A1 (en) | Coordinate algorithm of touch panel | |
| EP2703970A1 (en) | Apparatus and method for processing input on touch screen | |
| CN103577213A (en) | Method for upgrading touch screen firmware of intelligent terminal | |
| US20120146927A1 (en) | Method for detecting single-finger rotate gesture and the gesture detecting circuit thereof | |
| WO2010095255A1 (en) | Information processing device, display control method and display control program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20120530 |