[go: up one dir, main page]

CN106527783B - Method for adaptively adjusting touch threshold and related controller - Google Patents

Method for adaptively adjusting touch threshold and related controller Download PDF

Info

Publication number
CN106527783B
CN106527783B CN201510584678.3A CN201510584678A CN106527783B CN 106527783 B CN106527783 B CN 106527783B CN 201510584678 A CN201510584678 A CN 201510584678A CN 106527783 B CN106527783 B CN 106527783B
Authority
CN
China
Prior art keywords
touch
threshold
value
standard deviation
updated
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.)
Expired - Fee Related
Application number
CN201510584678.3A
Other languages
Chinese (zh)
Other versions
CN106527783A (en
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.)
MediaTek Inc
Original Assignee
MStar Semiconductor Inc Taiwan
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 MStar Semiconductor Inc Taiwan filed Critical MStar Semiconductor Inc Taiwan
Priority to CN201510584678.3A priority Critical patent/CN106527783B/en
Publication of CN106527783A publication Critical patent/CN106527783A/en
Application granted granted Critical
Publication of CN106527783B publication Critical patent/CN106527783B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Position Input By Displaying (AREA)

Abstract

A method for adaptively adjusting a touch threshold and a related controller are applied to a touch panel. The method comprises the following steps: obtaining a set of sampling values from the touch panel; calculating an average value and a standard deviation based on the group of sampling values according to a judgment that the group of sampling values are not larger than the touch threshold value; and updating the touch threshold value according to the average value and the standard deviation.

Description

The method and related controller of touch-control threshold values is adaptively adjusted
Technical field
The present disclosure generally relates to a kind of method and related controller that touch-control threshold values is adaptively adjusted, espespecially a kind of adaptability is dynamic State adjusts touch-control threshold values effectively to exclude touch-control sensing noise and adapt to variety classes touch-control (such as finger, stylus, gloves and outstanding Empty-handed gesture) method and related controller.
Background technique
Touch function has been widely used various Modern Electronic products, such as smart phone, tablet computer, notebook Computer, integrally formed (all-in-one) computer, wearable device (such as smartwatch), digital camera, digital camera (camcorder), Game device (game console), guiding aircraft etc..The successful key of touch function first is that can be correct Differentiate the touch-control that meaningless noise is really intended for user.
Summary of the invention
To differentiate noise and effective user's touch-control, a touch-control threshold values must be set up;If touch panel is in each sensing the feedback of position sense The sampling value measured is less than touch-control threshold values, can be considered noise.The characteristic of noise can with touch panel local environment (such as temperature, Humidity, arround whether have other conductors, electric appliance etc.) and change;However, this touch-control threshold values is fixed, nothing in known techniques Method adaptability dynamically adjusts, and is easy to happen erroneous judgement, is effective touch-control by noise error interpretation, and/or, by effective touch-control mistake Interpretation is noise.
An object of the present invention system provides a kind of method that a touch-control threshold values is adaptively adjusted, and is applied to a touch panel (such as 106, Fig. 1).This method can include: one group of sampling value (such as step of a picture frame (frame) is obtained by the touch panel 502);A judgement according to this group of sampling value no more than the touch-control threshold values calculates an average value and one based on this group of sampling value Standard deviation (such as step 504 to 506);And touch-control threshold values (such as step is updated according to the average value and the standard deviation 508 and 510).
In one example, the step of generating touch-control threshold values after the update according to the average value and the standard deviation can include: according to One is generated according to the linear combination of the average value and the standard deviation and refers to threshold values, and according to this with reference to threshold values and the touch-control threshold values Weighting superposition generates touch-control threshold values after the update.
In one example, the step of generating touch-control threshold values after the update according to the average value and the standard deviation can include: according to One is generated according to the linear combination of the average value and the standard deviation and refers to threshold values, and refers to threshold values and one previously with reference to valve according to this The rolling average (moving average) of value generates touch-control threshold values after the update.
In one example, this method is further included: obtaining another group of sampling value of another picture frame (such as by step by the touch panel For 512 recurrence to step 502), wherein another group of sampling value includes one group of adjacent sampling values, all in this group of adjacent sampling values Sampling value is all larger than touch-control threshold values (such as step 504 to step 514) after the update;Number according to this group of adjacent sampling values generates Area (such as step 514) of one touch point;One according to touch-control threshold values after this group of adjacent sampling values of the touch point and the update Mean gap generates an area-limit (such as step 516);It is greater than a judgement of the area-limit according to the area of the touch point, more One survival count value (such as step 518) of the new touch point;It is greater than a judgement of a survival threshold values according to the survival count value, sentences The fixed touch point is an effective touch point (such as step 520).
In one example, the mean gap according to touch-control threshold values after this group of adjacent sampling values and the update generates the area valve The step of value can include: according to the increased judgement of the mean gap, reduce the area-limit.In one example, this method is more wrapped Include: the mean gap according to touch-control threshold values after this group of adjacent sampling values and the update generates the survival threshold values, such as: foundation should The increased judgement of mean gap, reduces the survival threshold values.
In one example, this method is further included: obtaining another group of sampling value of another picture frame (such as by step by the touch panel 512 recurrence are to step 502), and wherein another group of sampling value includes one or more groups of adjacent sampling values, the one or more groups of adjacent samples All sampling values in value are all larger than touch-control threshold values after the update (such as by step 504 to 514);It adjacent is taken according to this one or more groups Corresponding area (such as step 504) for generating one or more touch points of the number of sample value;Area according to one or more touch points The respectively less than judgement of an area-limit, based on another group of sampling value calculate another average value and another standard deviation (for example, by Step 518 is to step 506);Also, touch-control threshold values (such as step is updated according to another average value and another standard deviation 510)。
In one example, this method is further included: the judgement according to the standard deviation less than a standard deviation threshold value, by this Standard deviation is set as a standard deviation default value, wherein generates touch-control after the update according to the average value and the standard deviation The step of threshold values, includes: generating touch-control threshold values after the update according to the average value and the standard deviation default value.
An object of the present invention is to provide a controller, including an interface circuit and a core circuit.The interface circuit A touch panel is coupled, which couples the interface circuit, and executable preceding method.
More preferably understand to have to above-mentioned and other aspect of the invention, preferable example is cited below particularly, and appended by cooperation Schema is described in detail below:
Detailed description of the invention
Fig. 1 illustrates that the controller of an example according to the present invention, applies to a touch panel.
Sampling value when touch panel is not touched in Fig. 2 example schematic 1.
Fig. 3 to Fig. 4 illustrates this case principle.
Fig. 5 illustrates that the process of an example according to the present invention.
Fig. 6 illustrates the progress of step in Fig. 5.
Symbol description
100: controller
102: interface circuit
104: core circuit
106: touch panel
300: curve
500: process
502-520: step
S1-s2, sN, sa1-sa4, sb1-sb5, sc1, sd1-sd2: sensing the feedback of position
Sv1-sv209: sampling value
μ: average value
σ: standard deviation
G1-G3: touch point
Specific embodiment
Fig. 1 illustrates that the controller 100 of an example according to the present invention;Controller 100 can be applied to a touch panel 106, touch panel 106 can be a touch-control display panel.As shown in Figure 1, controller 100 may include an interface circuit 102 with One core circuit 104;Interface circuit 102 couples touch panel 106, and core circuit 104 can be a logic calculation processing circuit, Coupling interface circuit 102.Touch panel 106 can sense N number of sensing the feedback of position s1, s2 ..., the capacitance change of sN to be to generate a figure N number of sampling value sv1, sv2 of frame (frame) ..., svN (being not illustrated in Fig. 1), and by this N number of sampling value sv1, sv2 ..., svN pass through Core circuit 104 is sent to by interface circuit 102, to carry out touch-control processing.
Referring to Fig. 2, Fig. 2 is a model of the sampling value sv1 to sv209 when touch panel 106 is not touched in one picture frame Example, in other words, sampling value sv1 to sv209 can represent the sampling value of noise.Referring to Fig. 3, Fig. 3 be noise samples value sv1 extremely A histogram of sv209.Inventors have found that a normal distribution can be substantially presented in the sampling value of noise, such as the curve 300 in Fig. 3 It is shown.Referring to Fig. 4, Fig. 4 is painted a normal distribution of ideal noise sampling value, wherein μ is average value, and σ is standard deviation.By For statistics it is found that its sampling value of 84.1% noise can be less than (μ+σ), its sampling value of 97.7% noise can be less than (+2 σ of μ), Its sampling value of 99.8% noise can be less than (+3 σ of μ), its sampling value of 99.9% noise can be less than (+4 σ of μ).Therefore, available The linear combination of the average value and standard deviation of noise is as the threshold values for judging noise.
Referring to FIG. 5, Fig. 5 is process 500 performed by an example core circuit 104 according to the present invention, it is described in detail such as Under:
Step 502: obtaining one group of sampling value from touch panel 106.In one example, this group of sampling value can be touch panel N number of sampling value sv1 to svN in 106 picture frame, such as 19*11 sampling value sv1 in a picture frame shown in Fig. 2 is extremely sv209。
Step 504: according to this group of sampling value and a touch-control threshold values THR [t] (not shown) judge touch panel 106 whether by It touches.If so, to step 514;If it is not, then to step 506.In one example, if N number of sampling value sv1 to svN of a picture frame is equal No more than touch-control threshold values THR [t], then judge that touch panel 106 is not touched;Conversely, if N number of sampling value sv1 of the picture frame extremely There is any one sampling value to be greater than touch-control threshold values THR [t] in svN, then judges that touch panel 106 is touched.It is taken with shown in Fig. 2 For sample value sv1 to sv209, it is assumed that sampling value sv1 to sv209 then judges touch panel no more than touch-control threshold values THR [t] 106 are not touched, and sampling value sv1 to sv209 should represent the sampling value of noise, and carry out step 506.
Step 506: an average value and a standard deviation are calculated based on this group of sampling value.For example, average value M [t] can For an average value m0 (that is:) of the sampling value sv1 to svN of the picture frame, standard deviation S D [t] can For the sampling value sv1 to svN of the picture frame a standard deviation s0 (that is: By taking the sampling value sv1 to sv209 in Fig. 3 as an example, average value M [t]=0.435, standard deviation S D [t]=7.144.Another example In, average value M [t] can be the average value with the sampling value of a previous picture frame of the picture frame, and standard deviation S D [t] can be the figure One standard deviation of the sampling value of frame and a previous picture frame.
Step 508: the linear combination according to average value and standard deviation generates one and refers to threshold values thr [t].One example In, with reference to threshold values thr [t]=M [t]+a0*SD [t], wherein a0 may be greater than zero default value, such as a0=4.Another model In example, if standard deviation S D [t] less than a standard deviation threshold value SDthr (SDthr > 0, not shown), is then based on average value M [t] and a standard deviation default value SD0 (SD0 > 0, not shown), which are generated, refers to threshold values thr [t], for example, with reference to threshold values thr [t]= M[t]+a0*SD0.Wherein, standard deviation default value SD0 can be equal to standard deviation threshold value SDthr.On the other hand, if standard Deviation SD [t] is not less than standard deviation threshold value SDthr, then generates reference valve based on average value M [t] and standard deviation S D [t] Value thr [t], such as with reference to threshold values thr [t]=M [t]+a0*SD [t].
Step 510: being THR [t+1] according to touch-control threshold values THR [t] is updated with reference to threshold values thr [t].It, can be straight in one example Connect using with reference to threshold values thr [t] as updated touch-control threshold values THR [t+1] (that is: THR [t+1]=thr [t]).Another model In example, touch-control threshold values THR [t] can be updated according to the weighting superposition of reference threshold values thr [t] and touch-control threshold values THR [t], illustrated For, updated touch-control threshold values THR [t+1]=THR [t] * (1-r0)+thr [t] * r0, one between wherein r0 is 0 to 1 presets Ratio, such as r0=0.7.Compared to directly using with reference to threshold values, as updated touch-control threshold values, foundation refers to threshold values and touch-control The weighting superposition of threshold values updates touch-control threshold values, and the variation of touch-control threshold values can be made more to mitigate;Even if having larger amplitude with reference to threshold values It changes, touch-control threshold values will not be dramatically changed jointly.It, can be according to reference threshold values and previously with reference to the shifting of threshold values in another example It moves and averagely updates touch-control threshold values, for example, updated touch-control threshold valuesWherein Institute is calculated previously with reference to threshold values, project b when k execution step 508 before thr [t-k] is representedkIt can be preset coefficient, number Mesh K can be more than or equal to 1.It later, will be using according to updated touch-control threshold values if process 500 is carried out once again to step 504 THR [t+1] judges whether touch panel 106 is touched.
Step 512: terminating process 500.
Continue the example of Fig. 3, and for directly using reference threshold values as updated touch-control threshold values and a0=4, updates Touch-control threshold values THR [t+1]=0.435+4*7.144=29 afterwards.Ideally, when a normal distribution is presented in the sampling value of noise When, its sampling value of 99.9% noise can be less than 29.Therefore, if touch-control threshold values THR [t+1] is set as 29, only 0.1% Noise can be misjudged, that is, noise False Rate is 0.1%.Similarly, the touch-control threshold values calculated with a0=3, noise miss Sentence rate and then rise to 0.2%, the touch-control threshold values calculated with a0=2, noise False Rate then rises to 2.3%.Thus It makes an uproar it is found that can effectively be recognized using the linear combination of the average value of noise samples value and standard deviation as touch-control threshold values Sound.Since the environment that touch panel uses is different, noise samples value may can also change therewith;And utilize the flat of noise samples value The linear combination of mean value and standard deviation can dynamically follow the variation of noise samples value as touch-control threshold values, touch-control threshold values, Effectively pick out most of noise.
In another example, another group of sampling value of another picture frame can be obtained after update touch-control threshold values by touch panel 106 (step 502).Wherein, which includes one or more groups of adjacent sampling values, all in each group adjacent sampling values Sampling value is all larger than touch-control threshold values THR [t+1] after update.Wherein, judge that criterion that whether two sensing the feedback of position adjoin each other can be with Be: whether two sensing the feedback of position adjoin each other to the upper, lower, left, or right.For example, as shown in fig. 6, neighbouring sensing locations sa1 extremely The sampling value (implying that: adjacent sampling values) of sa4, sb1 to sb5 and sc1 are all larger than touch-control threshold values THR [t+1] (with oblique in Fig. 6 Line represents) and the sampling value of remaining sensing the feedback of position (such as: sd1, sd2) is then less than touch-control threshold values THR [t+1].
Step 514: the area of a touch point is generated according to the number of this group of adjacent sampling values.Wherein, it adjacent takes for each group Sample value can form a touch point, and the area of touch point can be with sampling value number phase included in this group of adjacent sampling values It closes.For example, the example of Fig. 6 is held, three sensing the feedback of position sa1 to sa4 adjoin each other and form a touch point G1, touch point G1 Area A1=4.Similarly, five sensing the feedback of position sb1 to sb5 adjoin each other, but are not adjacent to sensing the feedback of position sa1 to sa4, therefore Sensing the feedback of position sb1 to sb5 forms another touch point G2, the area A2=5 of touch point G2.One sensing the feedback of position sc1 not with other Sensing the feedback of position sa1 to sa4 and sb1 to sb5 is adjacent, therefore can be from as a touch point G3, the area A3=1 of touch point G3.
Step 516: the mean gap according to touch-control threshold values after this group of adjacent sampling values of the touch point and the update produces A raw area-limit.It, can be according to touch-control threshold values THR [t+1] after each group adjacent sampling values of each touch point and update in one example Between mean gap, come respectively for each touch point generate a corresponding area-limit;Such as: it adjacent is taken when one group of a touch point When mean gap after sample value and update between touch-control threshold values THR [t+1] is bigger, get over area-limit corresponding to the touch point It is small.For example, the example of Fig. 6 is held, if touch-control threshold values after the sampling value and update of the sensing the feedback of position sa1 to sa4 of touch point G1 Mean gap between THR [t+1] is 10, touch-control threshold values after the sampling value and update of the sensing the feedback of position sb1 to sb5 of touch point G2 Mean gap between THR [t+1] is 15, touch-control threshold values THR [t+ after the sampling value and update of the sensing the feedback of position sc1 of touch point G3 1] mean gap between is 20, then the corresponding area-limit AT1 of touch point G1 can be set to 3, corresponding to touch point G2 and G3 Area-limit AT2 and AT3 (not shown) can be set to that lesser 2.In addition to according to sampling value each in each touch point and more The average value (implying that: mean gap) of gap after new between touch-control threshold values THR [t+1] is set outside the area-limit of each touch point, In one example, it can also be unified according to the generation of the gap between touch-control threshold values THR [t+1] after each sampling value in each touch point and update Evaluation (such as maximum value minimum, median etc.), and the area-limit of each touch point is set accordingly.For example, in Fig. 6 Touch point G1 in, it is assumed that four sampling values of sensing the feedback of position sa1 to sa4 are respectively sva1 to sva4 (not shown), each to sample The gap of touch-control threshold values THR [t+1] is respectively d1=(sva1-THR [t+1]) to d4=(sva4-THR [t+ after value and update 1]), then when setting the area-limit AT1 of touch point G1, can according to gap d1 to d4 this four numerical value maximum value it is minimum The statistical properties such as value or median generate a statistical value, and set area-limit AT1 according to this statistical value;For example, statistical value is got over When big, area-limit AT1 is reduced.Wherein it is possible to one is selected as the statistical value by gap d1 to d4, it can also be by gap d1 extremely Selected in d4 a subset and by the linear combination of each element in the subset as the statistical value (for example, may include very big in subset Value and minimum, and the statistical value is calculated by the linear combination of maximum and minimum);Alternatively, also can be by gap d1 to d4's Linear combination is as the statistical value.
Step 518: being greater than a judgement of the area-limit according to the area of the touch point, update a survival of the touch point Count value.In one example, if the area of a touch point is greater than its corresponding area-limit, a survival meter of the touch point is updated Numerical value;Conversely, the survival for not updating the touch point counts if the area of a touch point is less than its corresponding area-limit Value.For example, Fig. 6, the corresponding area-limit AT1=3 of the area A1=4 of touch point G1, touch point G1, if touch point G1 are held In previous picture frame it is existing and its survive count value C1=L (such as: 13), then update the survival count value C1=of touch point G1 L+1 (such as: 14), because touch point G1 area A1 is greater than area-limit AT1.Similarly, the area A2=5 of touch point G2, touching The corresponding area-limit AT2=2 of point G2 is controlled, if touch point G2 is not present in previous picture frame, the one of initial touch point G2 is deposited Continuous count value C2 (not shown), and C2=1, because touch point G2 area A2 is also greater than area-limit AT2.Relatively, touch point The corresponding area-limit AT3=2 of the area A3=1 of G3, touch point G3, if touch point G3 is not present in previous picture frame, no A survival count value C3 of initial touch point G3 deletes the one of touch point G3 if touch point G3 is existing in previous picture frame Count value C3 is survived, because touch point G2 area A3 is less than area-limit AT3.
In another example, if the area of each touch point is respectively less than corresponding area-limit, touch panel 106 can determine that It is not touched, and is carried out to step 506.Also that is, the area according to all touch points is respectively less than the judgement of corresponding area threshold values, meter Average value M [t+2] and standard deviation S D [t+2] is calculated, and updating touch-control threshold values is THR [t+2].
Step 520: the survival count value according to a touch point is greater than a judgement of a survival threshold values, determines that the touch point is One effective touch point.For example, Fig. 6 is held, it is assumed that the survival count value C1 of touch point G1 is equal to 14, and the survival of touch point G1 Threshold values ET1 (not shown) is 10, then can determine that touch point G1 is an effective touch point.On the other hand, it is assumed that touch point G2's deposits Continuous count value C2 is equal to 1, and touch point G2 survival threshold values ET2 it is (not shown) be 4, then be not possible to determine that touch point G2 is one to have Imitate touch point.It can continue after step 520 to step 512.
In one example, the present invention can be before carrying out step 520 first according to each group adjacent sampling values and touch-control threshold values THR [t+ 1] gap between to set corresponding survival threshold values for each group adjacent sampling values.Such as one group of adjacent sampling values when a touch point When mean gap between touch-control threshold values THR [t+1] after update is bigger, survival threshold values corresponding to the touch point is smaller.
It, can also jointly dynamic adjustment step by aforementioned narration it is found that the present invention is not only dynamically adjusted touch-control threshold values 516 area-limit and/or the survival threshold values of step 520, because the corresponding area-limit of each touch point and/or survival threshold values can According to adjacent sampling values in each touch point and touch-control threshold values gap and set.Dynamic setting area-limit and/or survival threshold values Help to adapt to various different types of touch-control tools (such as finger, stylus, gloves and hanging gesture).For example, due to Its sampling value of touch point that stylus or finger are formed is much larger than touch-control threshold values, but area is smaller;Correspondingly, the present invention can be because The gap of sampling value and touch-control threshold values is larger and reduces area-limit, therefore can make step 516 will not be due to touch point area is smaller It is not updated mistakenly to survive count value and eliminated and removed.On the other hand, the touch point formed through gloves or hanging gesture its Area is larger and the duration is more long, but sampling value is just slightly larger than touch-control threshold values THR [t+1];Correspondingly, since the present invention can Increase area-limit and/or survival threshold values because the gap of sampling value and touch-control threshold values THR [t+1] is smaller, therefore can effectively exclude The noise that area is small, the time is short, and the gloves or hanging touch-control that the sampling value that correctly judges is low.
In process 500, step 514 to 520 can be considered a touch point interpretation program.Wherein, step 518 can divide with 520 It is not considered as spatiotemporal filtering, the two and with touch point interpretation mistake caused by noise can be further avoided.For example, Assuming that touch-control threshold values have 0.1% probability noise can be mistaken for it is non-noise;Also that is, when carrying out step 514, a sensing the feedback of position Sampling value actually noise, but there is 0.1% probability to be mistakenly regarded as the phase of a touch point (hereinafter referred to as noise touch point) One of adjacent sample value.But, when carrying out step 518 and/or 520, if the area-limit of touch point is 3, survival threshold values is 5, The probability for then mistakenly updating survival count value in step 518 for noise touch point can fall to 0.1% cube, because To be by misinterpretation there are three the sampling value of adjacent sensing the feedback of position it is non-noise, step 518 just can be that it updates survival and counts Value;Furthermore noise is accidentally determined as that the probability of effective touch point can further drop to 15 times of 0.1% in step 520 Side's (three cubed five power) can just make the survival count value of noise touch point be more than survival because step 520 will malfunction five times Threshold values.
Process 500 not only can refer to threshold values (step 508) generation/touch-control threshold values (step of maintenance/update one according to one 510), threshold values generation/multiple touch-control threshold values of maintenance/update can also be referred to according to multiple respectively, to tell different types of touching Control.For example, can calculate in step 508 two kinds with reference to threshold values thr [t]=M [t]+4*SD [t] and thr1 [t]=M [t]+ 3*SD [t] respectively corresponds two kinds of touch-controls, such as stylus touch-control and gloves touch-control;It in step 510 can be according to referring to threshold values Thr [t] calculates/updates touch-control threshold values THR [t+1], and foundation with the rolling average previously with reference to threshold values (such as thr [t-1]) Another touch-control threshold values is calculated/updated with reference to threshold values thr1 [t] and the rolling average previously with reference to threshold values (such as thr1 [t-1]) THR1[t+1];In this way, carrying out step 514,516,518 and 520 according to touch-control threshold values THR [t+1] can detect, identifies and return The effective touch point for reporting stylus can be detected with 520, know according to touch-control threshold values THR1 [t+1] progress step 514,516,518 Effective touch point that is other and returning gloves touch-control.After determining effective touch point in step 520, effective touch point can be not only returned Area, position, a touch-control type flag can also be used and reflect the type of each effective touch point (or based on which kind of touch-control valve Value), for example, the touch-control type flag can reflect that each effective touch point is the touch-control of stylus (based on touch-control threshold values THR [t+1]) Or the touch-control (being based on touch-control threshold values THR1 [t+1]) of gloves.Furthermore one in step 508 can also with reference to threshold values thr2 [t] To be by standard deviation S D [t] linear combination with negative in average value M [t], for example, can be equal to M [t]-with reference to threshold values thr2 [t] 4*SD[t];Establishing the touch-control threshold values THR2 [t+1] that/maintenance/updates with reference to threshold values thr2 [t] accordingly can be used to differentiate noise With water mark because water mark will form negative sampling value on touch panel.
In step 508, when calculating with reference to threshold values thr [t]=M [t]+a0*SD [t], the value of parameter a0 is also possible to Dynamic adjustment.Step 506,508 can be with 510 periodically or aperiodically to be executed, can also according to a clocking value and/or Other state values (such as whether electronic device operates on power down mode) decide whether to execute.For example, step 504 can be with It is: if all sampling values of same picture frame are smaller than touch-control threshold values THR [t] and clocking value is greater than a timing threshold (such as 500ms), It just carries out to step 506;When step 510 updates touch-control threshold values THR [t+1], clocking value can also be zeroed together, opened by 0ms Starting weight New count elapsed time.In this way, can every 500ms just carry out step 506,508 and 510.
When carrying out step 506, number M can be greater than total sampling value number N of a picture frame;For example, touch panel 106 can be the touch panel an of size smaller (or touch-control resolution ratio is lower), therefore number N is less, and e.g. 35;Relatively Ground, number M can be 105.Since a picture frame only has 35 sampling values, when first time carrying out step 506, it can only be collected into 35 A sampling value, not as good as M (105), therefore step 506 can wouldn't calculate average value and standard deviation, and skip step 508 with 510 do not execute, and proceed directly to step 512.When carrying out step 506 second, it can be collected into 35 of another picture frame once again Sampling value, accumulative to be collected into 70 sampling values altogether, still less than M, therefore step 506 can wouldn't calculate average value and standard deviation, And skip step 508 and do not executed with 510, proceed directly to step 512.When third time carries out step 506, can be collected into once again 35 sampling values of another picture frame, it is accumulative to be collected into 105 sampling values altogether, meet M sampling value, therefore step 506 can needle Average value and standard deviation are calculated to this M sampling value, and continue step 508 and 510.
In summary, relative to the fixation touch-control threshold values of known technology, the present invention dynamically according to non-touch-control when take Sample value recalculates and updates touch-control threshold values in response to different utilization backgrounds and environment, and with area filtering (step 518) with Survival filtering (step 520) is to be further reduced the probability by noise interpretation for effective touch point, and adaptively foundation respectively takes The gap of sample value and touch-control threshold values sets the area-limit of area filtering and the survival threshold values of survival filtering, with widely in response to Different types of touch-control, as stylus, finger, gloves and hanging gesture touch-control.
Although however, it is not to limit the invention in conclusion the present invention is disclosed above with preferable example.The present invention Those of ordinary skill in technical field, without departing from the spirit and scope of the present invention, when various change and profit can be made Decorations.Therefore, protection scope of the present invention is subject to view appended claims institute defender.

Claims (16)

1.一种适应性调整一触控阀值的方法,应用于一触控面板;该方法包含:1. A method for adaptively adjusting a touch threshold, applied to a touch panel; the method comprising: 由该触控面板取得一组取样值;obtaining a set of sampling values from the touch panel; 依据该组取样值均不大于该触控阀值的一判断,基于该组取样值计算一平均值与一标准偏差;According to a judgment that none of the group of sampling values is greater than the touch threshold, calculating an average value and a standard deviation based on the group of sampling values; 依据该平均值与该标准偏差更新该触控阀值;updating the touch threshold value according to the average value and the standard deviation; 由该触控面板取得另一组取样值,其中该另一组取样值包含一组相邻取样值,该组相邻取样值中的所有取样值均大于该更新后触控阀值;obtaining another set of sampling values from the touch panel, wherein the other set of sampling values includes a set of adjacent sampling values, and all sampling values in the set of adjacent sampling values are greater than the updated touch threshold; 依据该组相邻取样值的个数产生一触控点的面积;generating an area of a touch point according to the number of adjacent sampling values in the group; 依据该触控点的该组相邻取样值与该更新后触控阀值的一平均差距产生一面积阀值;generating an area threshold according to an average difference between the set of adjacent sampling values of the touch point and the updated touch threshold; 依据该触控点的面积大于该面积阀值的一判断,更新该触控点的一存续计数值;以及according to a determination that the area of the touch point is greater than the area threshold, updating a persistent count value of the touch point; and 依据该存续计数值大于一存续阀值的一判断,判定该触控点为一有效触控点。It is determined that the touch point is an effective touch point according to a determination that the survival count value is greater than a survival threshold. 2.如权利要求1所述的方法,其特征在于,依据该平均值与该标准偏差更新该触控阀值的步骤包含:2. The method of claim 1, wherein the step of updating the touch threshold value according to the average value and the standard deviation comprises: 依据该平均值与该标准偏差的线性组合产生一参考阀值;以及generating a reference threshold based on a linear combination of the mean and the standard deviation; and 依据该参考阀值与该触控阀值的加权迭加更新该触控阀值。The touch threshold is updated according to the weighted superposition of the reference threshold and the touch threshold. 3.如权利要求1所述的方法,其特征在于,依据该平均值与该标准偏差更新该触控阀值的步骤包含:3. The method of claim 1, wherein the step of updating the touch threshold value according to the average value and the standard deviation comprises: 依据该平均值与该标准偏差的线性组合产生一参考阀值,并依据该参考阀值与一先前参考阀值的移动平均更新该触控阀值。A reference threshold is generated according to a linear combination of the average value and the standard deviation, and the touch threshold is updated according to a moving average of the reference threshold and a previous reference threshold. 4.如权利要求1所述的方法,其特征在于,依据该组相邻取样值与该更新后触控阀值的该平均差距产生该面积阀值的步骤包含:4. The method of claim 1, wherein the step of generating the area threshold value according to the average difference between the set of adjacent sampling values and the updated touch threshold value comprises: 依据该平均差距增加的一判断,减少该面积阀值。According to a judgment that the average difference increases, the area threshold is decreased. 5.如权利要求1所述的方法,其特征在于,更包含:5. The method of claim 1, further comprising: 依据该组相邻取样值与该更新后触控阀值的该平均差距产生该存续阀值。The persistence threshold is generated according to the average difference between the set of adjacent sample values and the updated touch threshold. 6.如权利要求5所述的方法,其特征在于,依据该组相邻取样值与该更新后触控阀值的该平均差距产生该存续阀值的步骤包含:6 . The method of claim 5 , wherein the step of generating the persistent threshold value according to the average difference between the set of adjacent sampling values and the updated touch threshold value comprises: 6 . 依据该平均差距增加的一判断,减少该存续阀值。According to a judgment that the average difference increases, the survival threshold is decreased. 7.如权利要求1所述的方法,其特征在于,更包含:7. The method of claim 1, further comprising: 由该触控面板取得另一组取样值,其中该另一组取样值包含一或多组相邻取样值,该一或多组相邻取样值中的所有取样值均大于该更新后触控阀值;Obtaining another set of sample values from the touch panel, wherein the other set of sample values includes one or more sets of adjacent sample values, and all sample values in the one or more sets of adjacent sample values are greater than the updated touch threshold; 依据该一或多组相邻取样值的个数对应产生一或多个触控点的面积;correspondingly generate the area of one or more touch points according to the number of the one or more groups of adjacent sampling values; 依据该一或多个触控点的面积均小于一面积阀值的判断,基于该另一组取样值计算另一平均值与另一标准偏差;以及According to the determination that the areas of the one or more touch points are all smaller than an area threshold, calculate another average value and another standard deviation based on the other set of sampling values; and 依据该另一平均值与该另一标准偏差更新该更新后触控阀值。The updated touch threshold is updated according to the another average value and the another standard deviation. 8.如权利要求1所述的方法,其特征在于,依据该平均值与该标准偏差产生该更新后触控阀值的步骤包含:8. The method of claim 1, wherein the step of generating the updated touch threshold value according to the average value and the standard deviation comprises: 依据该标准偏差小于一标准偏差临限值的一判断,基于该平均值与一标准偏差默认值更新该触控阀值。According to a judgment that the standard deviation is less than a standard deviation threshold value, the touch threshold value is updated based on the average value and a standard deviation default value. 9.一种控制器,应用于一触控面板;该控制器包含:9. A controller, applied to a touch panel; the controller comprising: 一接口电路,耦接该触控面板;以及an interface circuit coupled to the touch panel; and 一核心电路,耦接该接口电路,并可执行下列步骤:A core circuit, coupled to the interface circuit, can perform the following steps: 经该接口电路由该触控面板取得一组取样值;obtaining a set of sampling values from the touch panel via the interface circuit; 依据该组取样值均不大于该触控阀值的一判断,基于该组取样值计算一平均值与一标准偏差;According to a judgment that none of the group of sampling values is greater than the touch threshold, calculating an average value and a standard deviation based on the group of sampling values; 依据该平均值与该标准偏差更新该触控阀值;updating the touch threshold value according to the average value and the standard deviation; 由该触控面板取得另一组取样值,其中该另一组取样值包含一组相邻取样值,该组相邻取样值中的所有取样值均大于该更新后触控阀值;obtaining another set of sampling values from the touch panel, wherein the other set of sampling values includes a set of adjacent sampling values, and all sampling values in the set of adjacent sampling values are greater than the updated touch threshold; 依据该组相邻取样值的个数产生一触控点的面积;generating an area of a touch point according to the number of adjacent sampling values in the group; 依据该触控点的该组相邻取样值与该更新后触控阀值的一平均差距产生一面积阀值;generating an area threshold according to an average difference between the set of adjacent sampling values of the touch point and the updated touch threshold; 依据该触控点的面积大于该面积阀值的一判断,更新该触控点的一存续计数值;以及according to a determination that the area of the touch point is greater than the area threshold, updating a persistent count value of the touch point; and 依据该存续计数值大于一存续阀值的一判断,判定该触控点为一有效触控点。It is determined that the touch point is an effective touch point according to a determination that the survival count value is greater than a survival threshold. 10.如权利要求9所述的控制器,其特征在于,依据该平均值与该标准偏差更新该触控阀值的步骤包含:10. The controller of claim 9, wherein the step of updating the touch threshold value according to the average value and the standard deviation comprises: 依据该平均值与该标准偏差的线性组合产生一参考阀值;以及generating a reference threshold based on a linear combination of the mean and the standard deviation; and 依据该参考阀值与该触控阀值的加权迭加更新该触控阀值。The touch threshold is updated according to the weighted superposition of the reference threshold and the touch threshold. 11.如权利要求9所述的控制器,其特征在于,依据该平均值与该标准偏差更新该触控阀值的步骤包含:11. The controller of claim 9, wherein the step of updating the touch threshold value according to the average value and the standard deviation comprises: 依据该平均值与该标准偏差的线性组合产生一参考阀值,并依据该参考阀值与一先前参考阀值的移动平均更新该触控阀值。A reference threshold is generated according to a linear combination of the average value and the standard deviation, and the touch threshold is updated according to a moving average of the reference threshold and a previous reference threshold. 12.如权利要求10所述的控制器,其特征在于,依据该组相邻取样值与该更新后触控阀值的该平均差距产生该面积阀值的步骤包含:12. The controller of claim 10, wherein the step of generating the area threshold value according to the average difference between the set of adjacent sampling values and the updated touch threshold value comprises: 依据该平均差距增加的一判断,减少该面积阀值。According to a judgment that the average difference increases, the area threshold is decreased. 13.如权利要求10所述的控制器,其特征在于,该核心电路更可执行:13. The controller of claim 10, wherein the core circuit further executes: 依据该组相邻取样值与该更新后触控阀值的该平均差距产生该存续阀值。The persistence threshold is generated according to the average difference between the set of adjacent sample values and the updated touch threshold. 14.如权利要求13所述的控制器,其特征在于,依据该组相邻取样值与该更新后触控阀值的该平均差距产生该存续阀值的步骤包含:14. The controller of claim 13, wherein the step of generating the persistent threshold according to the average difference between the set of adjacent sampling values and the updated touch threshold comprises: 依据该平均差距增加的一判断,减少该存续阀值。According to a judgment that the average difference increases, the survival threshold is decreased. 15.如权利要求9所述的控制器,其特征在于,该核心电路更可执行:15. The controller of claim 9, wherein the core circuit further executes: 由该触控面板取得另一组取样值,其中该另一组取样值包含一或多组相邻取样值,该一或多组相邻取样值中的所有取样值均大于该更新后触控阀值;Obtaining another set of sample values from the touch panel, wherein the other set of sample values includes one or more sets of adjacent sample values, and all sample values in the one or more sets of adjacent sample values are greater than the updated touch threshold; 依据该一或多组相邻取样值的个数对应产生一或多个触控点的面积;correspondingly generate the area of one or more touch points according to the number of the one or more groups of adjacent sampling values; 依据该一或多个触控点的面积均小于一面积阀值的判断,基于该另一组取样值计算另一平均值与另一标准偏差;以及According to the determination that the areas of the one or more touch points are all smaller than an area threshold, calculate another average value and another standard deviation based on the other set of sampling values; and 依据该另一平均值与该另一标准偏差更新该更新后触控阀值。The updated touch threshold is updated according to the another average value and the another standard deviation. 16.如权利要求9所述的控制器,其特征在于,依据该平均值与该标准偏差更新该触控阀值的步骤包含:16. The controller of claim 9, wherein the step of updating the touch threshold value according to the average value and the standard deviation comprises: 依据该标准偏差小于一标准偏差临限值的一判断,基于该平均值与一标准偏差默认值更新该触控阀值。According to a judgment that the standard deviation is less than a standard deviation threshold value, the touch threshold value is updated based on the average value and a standard deviation default value.
CN201510584678.3A 2015-09-15 2015-09-15 Method for adaptively adjusting touch threshold and related controller Expired - Fee Related CN106527783B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510584678.3A CN106527783B (en) 2015-09-15 2015-09-15 Method for adaptively adjusting touch threshold and related controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510584678.3A CN106527783B (en) 2015-09-15 2015-09-15 Method for adaptively adjusting touch threshold and related controller

Publications (2)

Publication Number Publication Date
CN106527783A CN106527783A (en) 2017-03-22
CN106527783B true CN106527783B (en) 2019-05-14

Family

ID=58349071

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510584678.3A Expired - Fee Related CN106527783B (en) 2015-09-15 2015-09-15 Method for adaptively adjusting touch threshold and related controller

Country Status (1)

Country Link
CN (1) CN106527783B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109643200B (en) * 2017-07-04 2022-07-05 深圳市汇顶科技股份有限公司 Electronic device, touch detection circuit, and method for updating reference value of touch screen
CN107942878B (en) * 2017-12-18 2019-12-31 青岛科海健堂生物有限公司 Self-learning fault monitoring and alarming system of three-foot centrifuge
CN110658935B (en) * 2018-06-29 2022-02-22 京东方科技集团股份有限公司 Data detection method and device, storage medium and touch device
CN114115690A (en) * 2021-12-03 2022-03-01 北京集创北方科技股份有限公司 Method and device for searching touch screen area, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1906658A (en) * 2003-11-26 2007-01-31 伊默逊股份有限公司 System and method for adaptively interpreting input from a touch-sensitive input device
CN103488364A (en) * 2013-09-29 2014-01-01 Tcl集团股份有限公司 Capacitive touch screen and self-adaptation correction method and system of capacitive touch screen

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110221701A1 (en) * 2010-03-10 2011-09-15 Focaltech Systems Ltd. Multi-touch detection method for capacitive touch screens
US9058078B2 (en) * 2012-01-09 2015-06-16 Broadcom Corporation High-accuracy touch positioning for touch panels

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1906658A (en) * 2003-11-26 2007-01-31 伊默逊股份有限公司 System and method for adaptively interpreting input from a touch-sensitive input device
CN103488364A (en) * 2013-09-29 2014-01-01 Tcl集团股份有限公司 Capacitive touch screen and self-adaptation correction method and system of capacitive touch screen

Also Published As

Publication number Publication date
CN106527783A (en) 2017-03-22

Similar Documents

Publication Publication Date Title
TWI592845B (en) Method and associated controller for adaptively adjusting touch-control threshold
US8164573B2 (en) Systems and methods for adaptive interpretation of input from a touch-sensitive input device
CN105302383B (en) A kind of capacitive touch screen anti-disturbance method and equipment
CN106527783B (en) Method for adaptively adjusting touch threshold and related controller
KR101359699B1 (en) Disambiguating touch-input based on variation in characteristic such as speed or pressure along a touch-trail
CN103098012B (en) Method for detecting any number of touches on a multi-touch device
US20080150715A1 (en) Operation control methods and systems
US20120113028A1 (en) Method for detecting and locating keypress-events on touch- and vibration-sensitive flat surfaces
JPH11506559A (en) Object position detector using edge motion function and gesture recognition
CN103995610B (en) The method for carrying out user's input from the substitution touch tablet of handheld computer equipment
CN109643200B (en) Electronic device, touch detection circuit, and method for updating reference value of touch screen
US20140340321A1 (en) Mistouch identification method and device using the same
TW201428589A (en) Noise detection and correction routines
KR20220020841A (en) Cluster-based sensor assignment
CN105824465A (en) Touch determination method and device, and display device
CN104185832B (en) Touch-screen system
JP6370118B2 (en) Information processing apparatus, information processing method, and computer program
CN106502459B (en) A kind of smooth filtering method of capacitance touching control track noise signal
Mohamed et al. Efficient multi-touch detection algorithm for large touch screen panels
CN110275639A (en) Touch data processing method, device, terminal and storage medium
CN109582171A (en) Use identifying to the new finger for touching posture for capacitor hovering mode
CN105260044B (en) Electronic equipment and touch control operation recognition methods
US20170123586A1 (en) Model-based touch event location adjustment
WO2023044156A1 (en) System and method for discerning human input on a sensing device
KR101993257B1 (en) Apparatus of correcting touch input based on compensation hand vibration

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20191226

Address after: No.1, Duhang 1st Road, Hsinchu City, Hsinchu Science Park, Taiwan, China

Patentee after: MEDIATEK Inc.

Address before: Taiwan Hsinchu County Tai Yuan Street China jhubei City, No. 26 4 floor 1

Patentee before: MSTAR SEMICONDUCTOR Inc.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190514