CN111953326A - Dynamic adjustment method for key touch threshold and touch key display screen - Google Patents

Dynamic adjustment method for key touch threshold and touch key display screen Download PDF

Info

Publication number
CN111953326A
CN111953326A CN202010687766.7A CN202010687766A CN111953326A CN 111953326 A CN111953326 A CN 111953326A CN 202010687766 A CN202010687766 A CN 202010687766A CN 111953326 A CN111953326 A CN 111953326A
Authority
CN
China
Prior art keywords
array
touch
key
voltage value
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
CN202010687766.7A
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202010687766.7A priority Critical patent/CN111953326A/en
Publication of CN111953326A publication Critical patent/CN111953326A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/08Modifications for protecting switching circuit against overcurrent or overvoltage
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/94Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated
    • H03K17/96Touch switches

Landscapes

  • Position Input By Displaying (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a dynamic adjustment method of a key touch threshold, which comprises the following steps: s1, acquiring a key touch voltage value Vi in real time; s2, comparing the voltage value Vi with the reference voltage value A, if the voltage value Vi is larger than or equal to the reference voltage value A, recording the voltage value Vi in an array V [ n ], and returning to S1; if the voltage value Vi is less than the reference voltage value A, entering S3; s3, judging whether the array V [ n ] is empty, if so, returning to S1; if not, selecting X values with set number in the array V [ N ] to record in the array A [ N ], emptying the array V [ N ], and entering S4; s4, judging whether the numerical value in the array A [ N ] is recorded with N pieces of data, if not, returning to S1; if the record is full, deleting abnormal data in the array A [ N ], then averaging Ave of the residual values, and entering S5; s5, calculating a touch threshold Yz-average value Ave x D, and emptying an array V [ N ], wherein D is more than 0 and less than or equal to 1; the adjusting method provided by the invention ensures the reliability of the key touch threshold value by collecting the effective touch voltage value data in the key touch process in real time and eliminating abnormal values.

Description

Dynamic adjustment method for key touch threshold and touch key display screen
Technical Field
The invention belongs to the technical field of key control, and particularly relates to a dynamic adjustment method of a key touch threshold value and a touch key display screen.
Background
At present, most of key touch screens use fixed thresholds to realize key response, and the touch screen using a dynamic threshold setting scheme still has the phenomenon that the threshold setting is unreasonable, which causes the display screen to be over-sensitive or insensitive.
In the prior art, a threshold value adjusting method for calculating an average value of a plurality of capacitors as a final touch threshold value after the number of touches reaches a certain number is disclosed, but the influence of two processes of generating a capacitor from approaching to a key touch state and from the key touch state to leaving from a touch screen on the calculation of the key touch threshold value is not considered in the process of acquiring the key touch capacitance value, the threshold value is inaccurate when the non-touch capacitance value is used in the threshold value setting mode, and the key insensitivity condition still possibly occurs in the finally set threshold value.
The prior art also discloses a detection method for judging whether a key is touched by reading a voltage value V and recording the number of times N, and judging whether the key is touched after the voltage value V exceeds a threshold B and the number of times meets m, but the method is complex, and in the detection process, the corresponding influence on the key touch from the process of generating capacitance by approaching to the key touch state and the process from the key touch state to leaving the touch screen is not considered, so that the effective touch capacitance value of each key touch of a user cannot be obtained.
Under the dynamic threshold value adjusting function, due to the fact that the obtained key touch capacitance value contains interference, abnormal values in the process of obtaining the touch capacitance value from the approach of the obtained key touch capacitance value to the key touch state and from the key touch state to the touch screen are obtained, deviation is generated between the calculated key touch threshold value and the theoretical threshold value, and therefore the key is insensitive.
The present invention has been made in view of the above circumstances.
Disclosure of Invention
The invention aims to solve the technical problem of ensuring that the obtained accurate and effective threshold value data reaches the key touch threshold value and is a key touch threshold value dynamic adjusting method for the reliability adjustment by collecting the effective touch voltage value data in the key touch process in real time and rejecting abnormal values in the key touch voltage value data collecting process and the threshold value calculating process.
In order to solve the technical problem, the invention provides a dynamic adjustment method of a key touch threshold, which comprises the following steps:
a dynamic adjustment method for key touch threshold comprises the following steps:
s1, acquiring a voltage value Vi in the key touch process in real time;
s2, comparing the voltage value Vi with the reference voltage value A, if the voltage value Vi is larger than or equal to the reference voltage value A, recording the voltage value Vi in an array V [ n ], and returning to S1; if the voltage value Vi is less than the reference voltage value A, entering S3;
s3, judging whether the array V [ n ] is empty, if so, returning to S1; if not, selecting X values with set number in the array V [ N ] to record in the array A [ N ], emptying the array V [ N ], and entering S4;
s4, judging array A [ N ]]Whether the middle numerical value records N pieces of data or not, if not, returning to the step S1; if the record is full of N data, delete array A [ N ]]After the abnormal data in the average value Ave is obtained, the average value Ave is set to be y, and the average value Ave is f (sigma V)N-yN-y), go to S5;
s5, calculating a touch threshold Yz-average value Ave x D, and emptying an array V [ N ], wherein D is more than 0 and less than or equal to 1;
the array V [ n ] is a numerical value storage array which can be judged as the key touch condition in the acquired voltage value Vi; the array A [ N ] is an array of X number of value stores selected from the array V [ N ].
Further optionally, the average Ave ═ Σ VN-y/N-y。
Further optionally, in step S3, the set number X has a value: sorting the values in the array V [ n ] according to the descending order and then selecting the first X values.
Further optionally, in step S3, when the array V [ n ] is not empty, the number n of the numerical values in the array V [ n ] is compared with the set number X;
if the number n of the numerical values in V [ n ] is less than the set number X, returning to S1; if the number N of the numerical values in the array V [ N ] is larger than or equal to the set number X, selecting the X numerical values of the set number in the array V [ N ] and recording the X numerical values into the array A [ N ].
Further optionally, in step S4, the abnormal data is: will array A [ N ]]The first a numerical values and the first b numerical values are sorted according to the size sequence, the average value is
Figure BDA0002588196650000031
Further optionally, said average value
Figure BDA0002588196650000032
Further optionally, a ═ b < N/2.
Further optionally, a touch key corresponds to an array V [ N ] and an array a [ N ], when a touch key is touched, a voltage value Vi greater than a reference voltage value a generated during the touch process is recorded in the array V [ N ] corresponding to the touch key, and a set number of X number values are selected from the array V [ N ] and recorded in the array a [ N ] corresponding to the touch key.
Further optionally, when there are a plurality of touch keys, each touch key corresponds to an array V [ N ] and an array A [ N ], respectively; when a plurality of touch keys are touched simultaneously, voltage values Vi which are generated in the touch process of each touch key and are larger than a reference voltage value A are respectively recorded in the corresponding array V [ N ], and X numbers of values with set number are selected from the corresponding array V [ N ] and recorded in the corresponding array A [ N ].
Further alternatively, in step S1, the voltage value Vi of the touch key is obtained at preset time intervals T.
Further optionally, in step S5, D is greater than or equal to 0.7 and less than or equal to 0.9.
Further optionally, after the step S5, the step S6 is further executed, and after the key touch threshold Yz is obtained through calculation, whether the key touch threshold Yz is within the preset touch threshold range is further determined; if the touch threshold value is within the preset touch threshold value range, setting a touch threshold value Yz as a final touch threshold value; if the key touch threshold Yz is out of the preset touch threshold range, the process returns to S1.
The invention also provides a touch key display screen which adopts the dynamic adjustment method of any key touch threshold value.
After adopting the technical scheme, compared with the prior art, the invention has the following beneficial effects:
1. according to the invention, the adjustment of the key touch threshold is realized by collecting the voltage value generated in the effective touch process in the key touch process when the data meets the threshold adjustment condition, so that the purpose of the reliable adjustment of the key touch threshold is achieved.
2. According to the method, abnormal values are eliminated in the key touch voltage value data collection process and the threshold value calculation process, and accurate and effective threshold value data are guaranteed to be obtained.
The following describes embodiments of the present invention in further detail with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention, are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention without limiting the invention to the right. It is obvious that the drawings in the following description are only some embodiments, and that for a person skilled in the art, other drawings can be derived from them without inventive effort. In the drawings:
FIG. 1: is a control flow diagram of an embodiment of the present invention.
It should be noted that the drawings and the description are not intended to limit the scope of the inventive concept in any way, but to illustrate it by a person skilled in the art with reference to specific embodiments.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and the following embodiments are used for illustrating the present invention and are not intended to limit the scope of the present invention.
In the description of the present invention, it should be noted that the terms "inside", "outside", and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, which are only for convenience in describing the present invention and simplifying the description, but do not indicate or imply that the referred device or element must have a specific orientation, be constructed in a specific orientation, and operate, and thus, should not be construed as limiting the present invention.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," "contacting," and "communicating" are to be construed broadly, e.g., as meaning fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; may be directly connected or indirectly connected through an intermediate. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
Example 1
The embodiment provides a dynamic adjustment method for a key touch threshold, which is mainly applied to adjustment of the touch threshold of a touch display screen. The adjusting method comprises the following steps:
s1, acquiring a voltage value Vi in the key touch process in real time;
s2, comparing the voltage value Vi with the reference voltage value A, if the voltage value Vi is larger than or equal to the reference voltage value A, recording the voltage value Vi in an array V [ n ], and returning to S1; if the voltage value Vi is less than the reference voltage value A, entering S3;
s3, judging whether the array V [ n ] is empty, if so, returning to S1; if not, selecting X values with set number in the array V [ N ] to record in the array A [ N ], emptying the array V [ N ], and entering S4;
s4, judging array A [ N ]]Whether the middle numerical value records N pieces of data or not, if not, returning to the step S1; if the record is full of N pieces of dataDelete array A [ N ]]After the abnormal data in the average value Ave is obtained, the average value Ave is set to be y, and the average value Ave is f (sigma V)N-yN-y), go to S5;
s5, calculating a touch threshold Yz-average value Ave x D, and emptying an array V [ N ], wherein D is more than 0 and less than or equal to 1;
in the scheme, the voltage value Vi is obtained when the key touch display screen detects the voltage each time; the voltage value Vi includes a voltage value when the key is touched and a voltage value when the key is not touched, that is, a voltage value of the entire process after the key is turned on. The reference voltage value a is a defined value that determines what type the detected voltage value Vi belongs to; if the detected voltage value is larger than the reference voltage value A, the voltage value is judged to be the voltage value when the key is touched, and if the detected voltage value is smaller than the reference voltage value A, the voltage value is judged to be the voltage value when the key is not touched. The value selection of the reference voltage value A is different according to different designs of the key touch display screen. The test result of testing a key touch display screen is an example, and through multi-scheme testing, the selectable range of A is 30-50 mv, and the value of A is determined to be 45mv after discussion, namely when the detection voltage value is greater than 45mv, the voltage value is determined to be the voltage value when the key is touched, and when the detection voltage value is less than 45mv, the voltage value is determined to be the voltage value when the key is not touched.
Array V [ n ]]Storing an array for the numerical value which can be judged as the key touch condition in the obtained voltage value Vi; namely, all voltage values V which are larger than the reference value A are stored in an array; n is the maximum number of data which can be recorded in the array; the range of n is: 0 to 200, preferably 100. X is a self-number and is an array V [ n ]]The number of the selected larger numerical values is larger; the range of X is 1-10, preferably 5; array A [ N ]]An array stored for the selected X larger values; array A [ N ]]The value range of (A) is determined according to the selected value; n is an array A [ N ]]The maximum number of data to be recorded; the range of N is 0-200, preferably 100; ave is the array A [ N ]]Average voltage value after eliminating abnormal value; the range is according to A [ N ]]Determining a voltage collection condition; the average Ave can be obtained by any calculation method of arithmetic average, geometric average, square average, harmonic average, and weighted average, and in this embodiment, the average Ave is preferably an arithmetic numberAverage value, i.e. Ave ═ Σ VN-yand/N-y, summing the obtained N-y capacitance values and then averaging. The touch threshold Yz is an average value Ave and is represented by the formula: a touch threshold Yz is an average Ave D, and a calculated threshold is obtained; the range is according to the array A [ N ]]And determining the voltage collection condition. Wherein D is a preset threshold coefficient determined by a manufacturer, the value range of D is more than 0 and less than or equal to 1, and the D is preferably: 0.7 < D ≦ 0.9, more preferably D ≦ 0.8).
Under the dynamic threshold value adjusting function, due to the fact that the obtained key touch capacitance value contains interference, abnormal values in the process of obtaining the touch capacitance value from the approach of the obtained key touch capacitance value to the key touch state and from the key touch state to the touch screen are obtained, deviation is generated between the calculated key touch threshold value and the theoretical threshold value, and therefore the key is insensitive. In order to solve the above problems, the present embodiment provides a method for dynamically adjusting a key touch threshold, which adjusts the key touch threshold by collecting a voltage value generated in an effective touch process in a key touch process when data meets a threshold adjustment condition, so as to achieve the purpose of adjusting the reliability of the key touch threshold, and meanwhile, eliminates abnormal values in a key touch voltage value data collection process and a threshold calculation process, thereby ensuring that accurate and effective threshold data is obtained.
Further optionally, in step S3, the set number X has a value: sorting the values in the array V [ n ] according to the descending order and then selecting the first X values.
Further optionally, one touch key corresponds to one array V [ N ] and one array a [ N ], when one touch key is touched, the voltage value Vi larger than the reference voltage value a in the touch process is recorded in the array V [ N ] corresponding to the touch key, and a set number of X number values are selected from the array V [ N ] and recorded in the array a [ N ] corresponding to the touch key. When a plurality of touch keys exist, each touch key corresponds to an array V [ N ] and an array A [ N ] respectively; when a plurality of touch keys are touched simultaneously, the voltage value Vi which is larger than the reference voltage value A in the touch process of each touch key is respectively recorded in the corresponding array V [ N ], and X numbers of values with set number are selected from the corresponding array V [ N ] and recorded in the corresponding array A [ N ].
For example, touch key 1 corresponds to array V1[ N ] and array A1[ N ], key 2 corresponds to array V2[ N ] and array A2[ N ], key 3 corresponds to array V3[ N ] and array A3[ N ] …, and so on. When a user touches the key 1, the voltage value which is generated in the touch process and is larger than the reference voltage value A is recorded in an array V1[ N ], a set number X of voltage values are selected from the array V1[ N ] and then stored in an array A1[ N ], and then the subsequent steps S4 and S5 are carried out; when a user touches the key 2, the voltage value which is generated in the touch process and is larger than the reference voltage value A is recorded in an array V2[ N ], the voltage values of the set number X are selected from the array V2[ N ] and are stored in an array A2[ N ], and the subsequent steps S4 and S5 are carried out; and so on. When the user simultaneously touches the key 1 and the key 2 at the same time, the voltage value greater than the reference voltage value a generated by the touch key 1 is recorded in the array V1[ N ], the voltage value greater than the reference voltage value a generated by the touch key 2 is recorded in the array V2[ N ], the voltage value of the set number X selected from the array V1[ N ] is stored in the array a1[ N ], and the voltage value of the set number X selected from the array V1[ N ] is stored in the array a1[ N ]. In the embodiment, different keys correspond to different arrays V1[ N ] and arrays A1[ N ], so that the touch thresholds of different keys can be respectively adjusted, and the corresponding adjustment is performed according to different conditions of different touch keys, so that the reliability of the adjustment of the touch thresholds of the keys is ensured.
Further optionally, in step S3, when the array V [ n ] is not empty, the number n of the numerical values in the array V [ n ] is compared with the set number X;
if the number n of the numerical values in V [ n ] is less than the set number X, returning to S1; if the number N of the numerical values in the array V [ N ] is larger than or equal to the set number X, selecting the X numerical values of the set number in the array V [ N ] and recording the X numerical values into the array A [ N ].
Further optionally, in step S4, the abnormal data is: will array A [ N ]]The first a numerical values and the first b numerical values are sorted according to the size sequence, the average value is
Figure BDA0002588196650000081
Preferably, the average value
Figure BDA0002588196650000082
Namely, the voltage values from the a-th voltage value to the N-b voltage value which are arranged in sequence are summed and then averaged.
The numerical values in the array A [ N ] can be arranged from large to small or from small to large. a and b are the number of numerical values to be removed in the array A [ N ], for example, the range of a and b is 0-10, preferably 5, a and b can be equal or unequal, and can be set according to actual needs. Preferably, a ═ b < N/2.
Further alternatively, in step S1, the voltage value Vi of the touch key is obtained at preset time intervals T. Detecting the time interval of the voltage twice by the key touch display screen, namely detecting the voltage once every T time; for example, the preset interval time T ranges from: 5-20 ms, preferably 10 ms.
Further optionally, after the step S5, the step S6 is further executed, and after the key touch threshold Yz is obtained through calculation, whether the key touch threshold Yz is within the preset touch threshold range is further determined; if the touch threshold value is within the preset touch threshold value range, setting a touch threshold value Yz as a final touch threshold value; if the key touch threshold Yz is out of the preset touch threshold range, the process returns to S1. For example, if the key touch threshold needs to be set to Yzmin ≦ Yz ≦ Yzmax, the touch threshold Yz at this time is the final touch threshold, and if the key touch threshold does not satisfy the threshold range, the process returns to S1 to newly acquire the voltage value of the touch key. Wherein Yzmin: the minimum settable threshold value of the key touch display screen; the range of Yzmin is 40-60, preferably 50. Yzmax is a maximum settable threshold value of the key touch display screen; yzmax ranges from 80 to 120, preferably 100. Due to the design requirement limitation of different types of display screens, Yzmin and Yzmax can expand or change the range interval according to the actual design verification process of manufacturers.
The following is a specific implementation of the method for dynamically adjusting the key touch threshold in this embodiment, and a flowchart thereof is shown in fig. 1:
1. the key touch display screen reads and detects voltage data at time intervals of T;
2. after the voltage value V is obtained, judging whether V is larger than a reference voltage value A or not;
3. if the voltage value is larger than the reference value A, indicating that the key touch is started, recording the voltage value V in the value V [ n ], and returning to the step 1;
4. if the value is smaller than the reference value A, the key touch is not performed, and two cases are included (the user touch is not detected or the user touch is finished);
5. detecting whether the array V [ n ] is empty, if so, indicating that no key touch is performed before or the threshold Yz is adjusted, clearing the array V [ n ], and returning to the step 2 to wait for a new voltage value V; if not, representing that the user performs key touch once and completes key touch value collection V [ n ], then executing step 6;
6. sorting the data in the array V [ N ] from big to small, selecting the first X numerical values with larger values, recording the numerical values into a key touch array A [ N ], and emptying the array V [ N ];
7. judging whether the numerical values in the key touch array A [ N ] record N, if the numerical values are less than N, returning to the step 2 to wait until the numerical values in the array A [ N ] meet the threshold adjustment requirement for N; if N pieces are met, continuing to execute the step 8;
8. sorting the array A [ N ] from big to small, removing the first a larger values and the last b smaller values, and then taking the average value Ave of the touch values of the rest keys;
9. according to the average value Ave of the key touch values, using a threshold calculation formula: yz is the average Ave D, the threshold Yz is calculated, and the array a [ N ] is cleared;
10. judging whether the threshold Yz satisfies: minimum settable threshold Yzmin < threshold Yz < maximum settable threshold Yzmax; if not, returning to the step 2 to continue to wait for the numerical value; if so, a threshold Yz is set.
Example 2
The present embodiment provides a touch key display screen, which adopts the method for dynamically adjusting the key touch threshold value in embodiment 1.
Although the present invention has been described with reference to a preferred embodiment, it should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (13)

1. A dynamic adjustment method for key touch threshold is characterized by comprising the following steps:
s1, acquiring a voltage value Vi in the key touch process in real time;
s2, comparing the voltage value Vi with the reference voltage value A, if the voltage value Vi is larger than or equal to the reference voltage value A, recording the voltage value Vi in an array V [ n ], and returning to S1; if the voltage value Vi is less than the reference voltage value A, entering S3;
s3, judging whether the array V [ n ] is empty, if so, returning to S1; if not, selecting X values with set number in the array V [ N ] to record in the array A [ N ], emptying the array V [ N ], and entering S4;
s4, judging array A [ N ]]Whether the middle numerical value records N pieces of data or not, if not, returning to the step S1; if the record is full of N data, delete array A [ N ]]After the abnormal data in the average value Ave is obtained, the average value Ave is set to be y, and the average value Ave is f (sigma V)N-yN-y), go to S5;
s5, calculating a touch threshold Yz-average value Ave x D, and emptying an array V [ N ], wherein D is more than 0 and less than or equal to 1;
the array V [ n ] is a numerical value storage array which can be judged as the key touch condition in the acquired voltage value Vi; the array A [ N ] is an array of X number of value stores selected from the array V [ N ].
2. The method of claim 1, wherein the average value Ave ═ Σ VN-y/N-y。
3. The method for dynamically adjusting key touch threshold according to claim 1, wherein in step S3, the set number X is defined as: sorting the values in the array V [ n ] according to the descending order and then selecting the first X values.
4. The method for dynamically adjusting key touch threshold according to claim 3, wherein in step S3, when the array V [ n ] is not empty, the number n of values in the array V [ n ] is compared with the set number X;
if the number n of the numerical values in V [ n ] is less than the set number X, returning to S1; if the number N of the numerical values in the array V [ N ] is larger than or equal to the set number X, selecting the X numerical values of the set number in the array V [ N ] and recording the X numerical values into the array A [ N ].
5. The method for dynamically adjusting key touch threshold according to claim 4, wherein in step S4, the abnormal data are: will array A [ N ]]The first a numerical values and the first b numerical values are sorted according to the size sequence, the average value is
Figure FDA0002588196640000021
6. The method of claim 5, wherein the average value is a mean value of the values of the touch keys
Figure FDA0002588196640000022
7. The method of claim 6, wherein a ═ b < N/2.
8. The method for dynamically adjusting touch threshold of a key according to any one of claims 1-7, wherein a touch key corresponds to an array V [ N ] and an array A [ N ], when a touch key is touched, a voltage value Vi greater than a reference voltage value A generated during the touch process is recorded in the array V [ N ] corresponding to the touch key, and a set number X of values are selected from the array V [ N ] and recorded in the array A [ N ] corresponding to the touch key.
9. The method for dynamically adjusting key touch thresholds according to claim 8, wherein when there are multiple touch keys, each touch key corresponds to one of the arrays V [ N ] and A [ N ]; when a plurality of touch keys are touched simultaneously, voltage values Vi which are generated in the touch process of each touch key and are larger than a reference voltage value A are respectively recorded in the corresponding array V [ N ], and X numbers of values with set number are selected from the corresponding array V [ N ] and recorded in the corresponding array A [ N ].
10. The method for dynamically adjusting the touch threshold of a key according to claim 1, wherein in step S1, the voltage value Vi of the touch key is obtained at intervals of a preset time interval T.
11. The method for dynamically adjusting key touch threshold according to claim 1, wherein D is greater than or equal to 0.7 and less than or equal to 0.9 in step S5.
12. The method for dynamically adjusting key touch thresholds according to claim 1, wherein step S6 is further executed after step S5, and when the key touch threshold Yz is obtained through calculation, it is further determined whether the key touch threshold Yz is within a preset touch threshold range; if the touch threshold value is within the preset touch threshold value range, setting a touch threshold value Yz as a final touch threshold value; if the key touch threshold Yz is out of the preset touch threshold range, the process returns to S1.
13. A touch key display screen, characterized in that it employs a method for dynamically adjusting the touch threshold of a key according to any of claims 1 to 12.
CN202010687766.7A 2020-07-16 2020-07-16 Dynamic adjustment method for key touch threshold and touch key display screen Pending CN111953326A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010687766.7A CN111953326A (en) 2020-07-16 2020-07-16 Dynamic adjustment method for key touch threshold and touch key display screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010687766.7A CN111953326A (en) 2020-07-16 2020-07-16 Dynamic adjustment method for key touch threshold and touch key display screen

Publications (1)

Publication Number Publication Date
CN111953326A true CN111953326A (en) 2020-11-17

Family

ID=73340638

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010687766.7A Pending CN111953326A (en) 2020-07-16 2020-07-16 Dynamic adjustment method for key touch threshold and touch key display screen

Country Status (1)

Country Link
CN (1) CN111953326A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113484742A (en) * 2021-06-25 2021-10-08 歌尔光学科技有限公司 Key detection method and system
WO2022199121A1 (en) * 2021-03-22 2022-09-29 珠海格力电器股份有限公司 Method and apparatus for adjusting touch threshold of key

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102522975A (en) * 2011-11-29 2012-06-27 四川长虹电器股份有限公司 Adaptive-environmental touch key circuit and key touch detection method
CN103488364A (en) * 2013-09-29 2014-01-01 Tcl集团股份有限公司 Capacitive touch screen and self-adaptation correction method and system of capacitive touch screen
CN109660241A (en) * 2018-11-06 2019-04-19 深圳和而泰智能控制股份有限公司 A kind of method and device adjusting touch key-press sensitivity
CN110824378A (en) * 2019-10-31 2020-02-21 中电海康无锡科技有限公司 Touch key detection method
CN111352530A (en) * 2020-02-26 2020-06-30 RealMe重庆移动通信有限公司 Method and device for adjusting threshold range of capacitor key signal and terminal equipment
CN111352534A (en) * 2020-03-13 2020-06-30 珠海格力电器股份有限公司 Touch key touch threshold correction method, wire controller, electric appliance and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102522975A (en) * 2011-11-29 2012-06-27 四川长虹电器股份有限公司 Adaptive-environmental touch key circuit and key touch detection method
CN103488364A (en) * 2013-09-29 2014-01-01 Tcl集团股份有限公司 Capacitive touch screen and self-adaptation correction method and system of capacitive touch screen
CN109660241A (en) * 2018-11-06 2019-04-19 深圳和而泰智能控制股份有限公司 A kind of method and device adjusting touch key-press sensitivity
CN110824378A (en) * 2019-10-31 2020-02-21 中电海康无锡科技有限公司 Touch key detection method
CN111352530A (en) * 2020-02-26 2020-06-30 RealMe重庆移动通信有限公司 Method and device for adjusting threshold range of capacitor key signal and terminal equipment
CN111352534A (en) * 2020-03-13 2020-06-30 珠海格力电器股份有限公司 Touch key touch threshold correction method, wire controller, electric appliance and computer readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022199121A1 (en) * 2021-03-22 2022-09-29 珠海格力电器股份有限公司 Method and apparatus for adjusting touch threshold of key
CN113484742A (en) * 2021-06-25 2021-10-08 歌尔光学科技有限公司 Key detection method and system

Similar Documents

Publication Publication Date Title
CN111953326A (en) Dynamic adjustment method for key touch threshold and touch key display screen
US8605037B2 (en) Noise reduction in capacitive touch sensors
CN101080689B (en) Methods and systems for detecting noise in a position sensor using minor shifts in sensing frequency
CN110008080B (en) Business index anomaly detection method and device based on time sequence and electronic equipment
CN111934660A (en) Method for adjusting key touch threshold and touch key display screen
CN103517304A (en) Method and device for obtaining safe state of mobile terminal
US20140040728A1 (en) Method for adjusting web page on touchscreen and display terminal
CN108512542B (en) Touch key signal processing method and device and computer readable storage medium
CN110235145A (en) Fingerprint identification method, device, electronic equipment and storage medium
CN113037268A (en) Method and device for adjusting key touch threshold
CN114356145A (en) Touch detection circuit, touch device and electronic equipment
CN110390238A (en) Finger stablizes method for detecting and finger stablizes arrangement for detecting
US10915209B2 (en) Liquid detecting method and controller for a capacitive touch pad
CN108803940B (en) Touch identification method and device and touch display device
JP2000357046A (en) Handwriting input device and computer readable recording medium recording handwriting input program
CN113126815B (en) Key response control method and device, terminal equipment and storage medium
CN115549680B (en) Anti-interference detection method and detection chip for touch keys
CN110673997B (en) Disk failure prediction method and device
CN108595375B (en) Filtering method, filtering device and storage medium
CN107943536B (en) Method and device for adjusting threshold, storage medium and electronic equipment
JP2020085536A (en) Touch detector
CN111338516B (en) Finger touch detection method and device, electronic equipment and storage medium
CN102751972A (en) Implement method for learning and correcting of touch button
CN107153489A (en) Touch detection method
CN113504840B (en) Touch data processing method and device and touch screen

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201117