CN102479009A - Method for updating background value of capacitance touch tablet - Google Patents

Method for updating background value of capacitance touch tablet Download PDF

Info

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
background value
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
Application number
CN2010105626969A
Other languages
Chinese (zh)
Inventor
江猛
张周平
杜坦
江石根
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SUZHOU HUAXIN MICROELECTRONICS CO Ltd
Original Assignee
SUZHOU HUAXIN MICROELECTRONICS CO Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SUZHOU HUAXIN MICROELECTRONICS CO Ltd filed Critical SUZHOU HUAXIN MICROELECTRONICS CO Ltd
Priority to CN2010105626969A priority Critical patent/CN102479009A/en
Publication of CN102479009A publication Critical patent/CN102479009A/en
Pending legal-status Critical Current

Links

Landscapes

  • Position Input By Displaying (AREA)

Abstract

The invention relates to a method for updating a background value of a capacitance touch tablet. The method comprises the following step of judging whether any one of a plurality of inductive updating conditions is formed or not to determine whether to update a background. The updating conditions comprise following steps of: if an updating program executes a program for the first time, updating the background without any conditions; if the background value is less than a pre-set value, directly updating the background, wherein the pre-set value is determined according to build-in attributes of a touch tablet; a new background value is equal to a linear combination of the non-updated background value and a sum of all channels of current Y; and a sum of the coefficient of the new background value and the coefficient of the sum of all the channels of the current Y is 1; if the updating is executed for the first time, enabling the background value to be the sum of all the channels of the current Y, wherein Y is a Y axis of the touch tablet; and recording a maximum value of the sum of all the channels of the current Y obtained by low-pass filtering, and updating the background if the sum of all the channels of the current Y is less than the maximum and a differential between all the channels is more than a pre-set numerical value. The updating conditions further comprise other conditions. The method provided by the invention can accurately update the background value of the touch tablet in time.

Description

The update method of capacitance contact board background value
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.
CN2010105626969A 2010-11-29 2010-11-29 Method for updating background value of capacitance touch tablet Pending CN102479009A (en)

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 capacitance touch tablet

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 capacitance touch tablet

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 capacitance touch tablet

Country Status (1)

Country Link
CN (1) CN102479009A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
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

Citations (2)

* Cited by examiner, † Cited by third party
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

Patent Citations (2)

* Cited by examiner, † Cited by third party
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 (7)

* Cited by examiner, † Cited by third party
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

Similar Documents

Publication Publication Date Title
US8780075B2 (en) Information processing apparatus, input control method of information processing apparatus, and program
CN102693035B (en) Modal touch input
US10120481B2 (en) Method and apparatus for handling touch input in a mobile terminal
CN102855032A (en) Baseline updating method and touch device
CN105549881A (en) Touch type distinguishing method and touch input device performing the same
CN102736775A (en) Updating method of baseline output value of touch panel
CN103399665B (en) Array substrate and manufacture method, touch-screen and display unit
CN103970278A (en) Input method and device for round touch keyboard
US9069409B2 (en) Coordinate algorithm of touch panel
WO2014160436A1 (en) Baseline management for sensing device
KR20080064368A (en) Apparatus and method for adjusting touch sensitivity in touch screen panel and touch screen display device using the same
CN102479009A (en) Method for updating background value of capacitance touch tablet
CN102609136B (en) Dynamic correcting method for reference value data, device and touch gesture identification method
CN102981772A (en) Method of setting virtual keyboard and device thereof
CN101142545A (en) Pointing device for a computer system with automatic detection of lifting, and relative control method
CN103135757A (en) Gesture detection method, gesture detection system and computer readable storage medium
EP2703970A1 (en) Apparatus and method for processing input on touch screen
US20150363037A1 (en) Control method of touch panel
CN105117623A (en) Unlocking method and mobile terminal
CN103927065A (en) Touch screen and method for detecting same
CN103345365B (en) The display packing of continuous handwriting input and the hand input device of employing the method
CN101807130A (en) Touch control position correcting method
CN102566880A (en) Electronic device with touch screen and method for adjusting touch position of software keyboard
CN105373302A (en) False touch prevention method
CN104407793A (en) Method and equipment for processing touch signal

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