CN102751972A - Implement method for learning and correcting of touch button - Google Patents
Implement method for learning and correcting of touch button Download PDFInfo
- Publication number
- CN102751972A CN102751972A CN201210263205XA CN201210263205A CN102751972A CN 102751972 A CN102751972 A CN 102751972A CN 201210263205X A CN201210263205X A CN 201210263205XA CN 201210263205 A CN201210263205 A CN 201210263205A CN 102751972 A CN102751972 A CN 102751972A
- Authority
- CN
- China
- Prior art keywords
- touch
- touch key
- implementation method
- user
- learning correction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
The invention relates to an implement method for learning and correcting of a touch button. The method is characterized iby comprising the following steps of: step S001, under a state of correcting, detecting touch sensing data of a touch button circuit for N times, and calculating an average value of the touch sensing data in N times; and step S002, storing the average value with a custom name, taking the average value as a threshold value after being selected by a user so as to judge whether the touch sensing data under a state of using is valid, wherein N is a natural number which is greater than 2. After being learned and corrected, the corrected value is custom-stored so that a best button threshold value can be obtained according to the habits of different users. The method provided by the invention increases the sensibility of the touch button.
Description
Technical field
The present invention relates to the touch key-press technical field, particularly a kind of implementation method of touch key-press learning correction.
Background technology
Capacitance touch button design principle in the market is following: can produce electric capacity between two adjacent metal conductors, adopt the Copper Foil on the PCB to make key shape at key position, just form a capacitive switch.When conducting element inserts (such as finger touch) electric capacity on the capacitive switch is changed, the capacitance when can not insert than conducting element is big.Through this electric capacity being continued to discharge and recharge and detect the change of charging voltage, promptly detect changes in capacitance, thereby judge whether the access of conducting element, whether finger touch is promptly arranged.
But touch-screen in use, because conducting element (such as finger touch) is different with metal inductive sheet contact area, promptly each user points size, and use habit is different, and the capacitance variations value of its generation also can be different.It is insensitive or sensitive excessively button often to occur.
Summary of the invention
The implementation method that the purpose of this invention is to provide a kind of touch key-press learning correction can realize drawing a best button threshold values according to the custom of different user, improves touch key-press sensitivity.
The present invention adopts following scheme to realize: a kind of implementation method of touch key-press learning correction, it is characterized in that, and may further comprise the steps:
Step S001: under correcting state,, and ask the mean value of this N time touch sensible data through the touch sensible data of N senses touch key circuit;
Step S002: through a self-defined title this mean value is stored, selected as a threshold value through the user, whether effective to judge the touch sensible data under the user mode, wherein N is the natural number greater than 2.
Further; Before said step S001, also comprise the state selection; Be the selection of correcting state and user mode, if correcting state execution in step S001 then, if whether the then said system of user mode is effective according to said threshold decision touch sensible data.
Further, this method is to be applied on a LCD TV or the display, and this LCD TV or display comprise a PSoC single chip module, and this PSoC single chip module is accomplished said step S001 after receiving the correction instruction of this LCD TV MCU.
Further, described PSoC single chip module sends to described MCU with said mean value and judged result through I2C.
Further, described correcting state, user mode are to be realized selecting by the menu of said LCD TV or display.
Further, said user is selected is to select self-defining title to call corresponding average as said threshold value through menu.
The present invention is applicable on the equipment that possesses touch function, can obtain an optimal threshold and record through the touch sensible data of learn user, so that different user can both call this best threshold value when using this equipment, realizes the sensitivity of touch key-press.
Description of drawings
Fig. 1 is the inventive method schematic flow sheet.
Fig. 2 is the method flow sketch map that the present invention is applied to LCD TV or display.
Fig. 3 is the schematic diagram of the function of embodiment of the invention PSoC single chip module.
Fig. 4 is the signal sequence sketch map of Fig. 3 principle.
Fig. 5 is the idiographic flow sketch map of the embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing and embodiment the present invention is further specified.
As shown in Figure 1, present embodiment provides a kind of implementation method of touch key-press learning correction, it is characterized in that, may further comprise the steps:
Step S001: under correcting state,, and ask the mean value of this N time touch sensible data through the touch sensible data of N senses touch key circuit;
Step S002: through a self-defined title this mean value is stored, selected as a threshold value through the user, whether effective to judge the touch sensible data under the user mode, wherein N is the natural number greater than 2.
Preferable, comprised also that before said step S001 state selects, i.e. the selection of correcting state and user mode, if correcting state execution in step S001 then, if whether the then said system of user mode is effective according to said threshold decision touch sensible data.Method of the present invention goes for the various equipment that have liquid crystal touch screen, can carry out touch sensible study to different user, and learning value is stored, and touches correction so that different users calls the value of oneself, has improved the sensitivity that touches.
Below we to be applied on a LCD TV or the display with this method be that example describes; As shown in Figure 2; This LCD TV or display comprise a PSoC (Programmable System-On-Chip; Programmable system on the sheet) single chip module, this PSoC single chip module is accomplished said step S001 after receiving the correction instruction of this LCD TV MCU.See also Fig. 3; This PSoC single chip module (empty frame part among Fig. 3) adopts a comparator to detect the change in voltage that is recharged electric capacity, and the output Fosc of comparator is as the triggering input of PWM, in the preset measurement period of PWM (for example calculating 10 Fosc cycles); Keep being output as high level; As the enable signal of TIMER, promptly with the gate time width of PWM output, simultaneously with the input signal of fixing system clock as TIMER as TIMER.TIMER cycle statistics to system clock in the time width that PWM enables to allow is output n (count), so data n has been represented the size of current inductance capacitance indirectly.And when finger touch, along with Cp becomes big, Fosc and n value be respective change all.Under the situation of same charging current, when finger touch was arranged, it is big that inductance capacitance Cp becomes, and to the inductance capacitance charging and to cause its voltage to be elevated to time of assign thresholds elongated, promptly the cycle of Fosc is elongated.So in the preset statistics of same PWM number, the time width that PWM keeps being output as high level will become greatly, promptly the gate time scope of TIMER will become big.So counting n, can increase the detected system clock cycle of TIMER.Please continue referring to Fig. 4 initial sensed data 1: the counting n1 of detected Timer when not having finger touch; Touch sensible data 2: the counting n2 of detected Timer when finger touch is arranged; Wherein 3 is frequency of oscillation, and 4 is pwm signal, and 5 is clock signal; Then from figure, can know the button threshold value: establishing the difference that the touch sensible data deduct initial sensed data is ⊿ n, ⊿ n=n2-n1; , ⊿ n=16 Zhong last figure.If the user does not open calibration function and non-selected historical user's best button threshold values, the threshold values of threshold registers is the acquiescence button Fa Zhi ⊿ n that sends over of MCU (Jia Ding Wei ⊿ n=16).Press as button; The PSoC single chip module deducts detected touch sensible data n 2 according to detected initial sensed data n1; Calculate current calculating touch Zhi Wei ⊿ k=n2 – n1, software can be judged when ⊿ k Da Yu ⊿ n, thinks effective touch key-press action; When ⊿ k Xiao Yu ⊿ n, think invalid touch key-press action, judge that detected data are to be caused by noise; If the user selects calibration function, the threshold values of threshold registers is the minimum button Yu Zhi ⊿ m that MCU sends over,
After the user pressed x button, the PSoC single chip module obtained the reference count n2 [x] when x time actuation of keys being arranged, and calculates each touch value: ⊿ h [x]=n2 [x] – n1 respectively.Software can be got the Ping Jun Zhi ⊿ h of x touch value as the button threshold values, writes threshold registers, sends MCU record and preservation through I2C simultaneously, proofreaies and correct and accomplishes.This moment, the threshold registers value was best button threshold values.Here be noted that when preserving the user can store by the laggard row of self-defined title, for example,, when then Zhang San uses later on, directly transfer Zhang San and get final product through menu with the optimal threshold called after " Zhang San " of oneself.
Concrete, seeing also Fig. 5, Fig. 5 is the system works flow process sketch map that is applied to LCD TV or display, its step roughly comprises:
1), MCU menu control correction module provides the user to select the best button threshold values of calibration function or historical record.
2), MCU sends corrective command through I2C and gives PSoC single-chip software and hardware combining processing module.
3), MCU judges whether to open calibration function; If do not open calibration function and do not use historical user record; MCU sends acquiescence button Fa Zhi ⊿ n and gives the PsoC threshold registers; PosC senses touch sensed data n2 calculates touch value (signal difference of touch sensible data and initial sensed data): ⊿ k=n2 – n1 (n1 is initial sensed data), reads the button threshold values in the threshold registers.Do comparison with touch Zhi ⊿ k and button Fa Zhi ⊿ n, touch effectively if touch Zhi ⊿ k greater than button Fa Zhi ⊿ n, is judged to be, send effective order through I2C and give MCU, MCU handles actuation of keys; If touch Zhi ⊿ k is less than button Fa Zhi ⊿ n, being judged to be is noise, does not process.
4) if the user opens calibration function; MCU sends minimum button Yu Zhi ⊿ m and gives the Psoc threshold registers; PSoC single-chip software and hardware combining processing module is obtained the reference count n2 [x] when x time actuation of keys being arranged, and calculates each touch value: ⊿ h [x]=n2 [x] – n1 respectively.The Ping Jun Zhi ⊿ h that gets x touch value writes threshold registers as the button threshold values, sends MCU record and preservation through I2C simultaneously, proofreaies and correct and accomplishes.This moment, the threshold registers value was best button threshold values.
5) if the user uses historical record; MCU sends best button threshold values and gives the PsoC threshold registers; PosC senses touch sensed data n2; Calculate touch value (signal difference of touch sensible data and initial sensed data): ⊿ k=n2 – n1 (n1 is the initial perception data), read the button threshold values in the threshold registers.Do comparison with touch Zhi ⊿ k and button Fa Zhi ⊿ n, touch effectively if touch Zhi ⊿ k greater than button Fa Zhi ⊿ n, is judged to be, send effective order through IC and give MCU, MCU handles actuation of keys; If touch Zhi ⊿ k is less than button Fa Zhi ⊿ n, being judged to be is noise, does not process.
The above is merely preferred embodiment of the present invention, and all equalizations of doing according to claim of the present invention change and modify, and all should belong to covering scope of the present invention.
Claims (6)
1. the implementation method of a touch key-press learning correction is characterized in that, may further comprise the steps:
Step S001: under correcting state,, and ask the mean value of this N time touch sensible data through the touch sensible data of N senses touch key circuit;
Step S002: through a self-defined title this mean value is stored, selected as a threshold value through the user, whether effective to judge the touch sensible data under the user mode, wherein N is the natural number greater than 2.
2. the implementation method of touch key-press learning correction according to claim 1; It is characterized in that: before said step S001, also comprise the state selection; It is the selection of correcting state and user mode; If correcting state execution in step S001 then, if whether the then said system of user mode is effective according to said threshold decision touch sensible data.
3. the implementation method of touch key-press learning correction according to claim 2; It is characterized in that: this method is to be applied on a LCD TV or the display; This LCD TV or display comprise a PSoC single chip module; This PSoC single chip module is accomplished said step S001 after receiving the correction instruction of this LCD TV MCU.
4. the implementation method of touch key-press learning correction according to claim 3 is characterized in that: described PSoC single chip module sends to described MCU with said mean value and judged result through I2C.
5. the implementation method of touch key-press learning correction according to claim 4 is characterized in that: described correcting state, user mode are to be realized selecting by the menu of said LCD TV or display.
6. the implementation method of touch key-press learning correction according to claim 5 is characterized in that: said user is selected to be to select self-defining title to call corresponding average as said threshold value through menu.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210263205XA CN102751972A (en) | 2012-07-27 | 2012-07-27 | Implement method for learning and correcting of touch button |
TW101138521A TW201405439A (en) | 2012-07-27 | 2012-10-18 | Touch key circuit with self-learning calibration |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210263205XA CN102751972A (en) | 2012-07-27 | 2012-07-27 | Implement method for learning and correcting of touch button |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102751972A true CN102751972A (en) | 2012-10-24 |
Family
ID=47031906
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210263205XA Pending CN102751972A (en) | 2012-07-27 | 2012-07-27 | Implement method for learning and correcting of touch button |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102751972A (en) |
TW (1) | TW201405439A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104935920A (en) * | 2015-06-23 | 2015-09-23 | 广州视源电子科技股份有限公司 | Method and system for correcting functions of keyboard plate |
CN108551340A (en) * | 2018-05-09 | 2018-09-18 | 珠海格力电器股份有限公司 | A kind of jamproof processing method of membrane keyboard and electric appliance |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101340477A (en) * | 2007-07-06 | 2009-01-07 | 希姆通信息技术(上海)有限公司 | Method for implementing sensitivity regulation of touch key on mobile phone |
CN101751179A (en) * | 2009-12-16 | 2010-06-23 | 深圳市汇顶科技有限公司 | Method and system for automatically calibrating sensitivity of touch detection, and touch control terminal |
CN101896878A (en) * | 2008-01-16 | 2010-11-24 | 三菱自动车工业株式会社 | Touch sensor device, control method, touch panel device and program |
CN102281049A (en) * | 2010-06-10 | 2011-12-14 | 博西华电器(江苏)有限公司 | Calibration system and method of touch key |
-
2012
- 2012-07-27 CN CN201210263205XA patent/CN102751972A/en active Pending
- 2012-10-18 TW TW101138521A patent/TW201405439A/en unknown
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101340477A (en) * | 2007-07-06 | 2009-01-07 | 希姆通信息技术(上海)有限公司 | Method for implementing sensitivity regulation of touch key on mobile phone |
CN101896878A (en) * | 2008-01-16 | 2010-11-24 | 三菱自动车工业株式会社 | Touch sensor device, control method, touch panel device and program |
CN101751179A (en) * | 2009-12-16 | 2010-06-23 | 深圳市汇顶科技有限公司 | Method and system for automatically calibrating sensitivity of touch detection, and touch control terminal |
CN102281049A (en) * | 2010-06-10 | 2011-12-14 | 博西华电器(江苏)有限公司 | Calibration system and method of touch key |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104935920A (en) * | 2015-06-23 | 2015-09-23 | 广州视源电子科技股份有限公司 | Method and system for correcting functions of keyboard plate |
CN108551340A (en) * | 2018-05-09 | 2018-09-18 | 珠海格力电器股份有限公司 | A kind of jamproof processing method of membrane keyboard and electric appliance |
Also Published As
Publication number | Publication date |
---|---|
TW201405439A (en) | 2014-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104020868B (en) | The method and electronic equipment of a kind of information processing | |
KR101424259B1 (en) | Method and apparatus for providing input feedback in portable terminal | |
CN102902404B (en) | Touch panel | |
US20160062545A1 (en) | Portable electronic apparatus and touch detecting method thereof | |
JP6121397B2 (en) | Measuring device and method for detection of proximity to a portable device | |
US20120044210A1 (en) | Electronic device with sliding touch control function and sliding touch control method thereof | |
JP5517731B2 (en) | Capacitance detection circuit having a plurality of detection functions | |
CN106775086A (en) | A kind of touch-screen control method of mobile terminal, device and mobile terminal | |
CN105404423A (en) | Touch display device and pressure sensing touch method therefor | |
CN105824535A (en) | Setting adjusting method and terminal | |
CN107092369A (en) | Wired stylus, screen touch electronic device, touch-control electronic system and touch-control processing method | |
KR20160124783A (en) | Systems and methods for improved touch screen accuracy | |
CN106909250A (en) | A kind of processing method of touch operation, device and mobile terminal | |
CN106598366B (en) | Input unit, sensor control method, electronic equipment and its control method | |
CN102751972A (en) | Implement method for learning and correcting of touch button | |
CN106502477B (en) | Touch control method and device for terminal with pressure sensing layer | |
CN106230069B (en) | A kind of charging method and terminal | |
US20150193075A1 (en) | Touch apparatus and touch method thereof | |
JP5639487B2 (en) | Input device | |
CN109375867A (en) | A kind of touch operation method and device | |
US20120127120A1 (en) | Touch device and touch position locating method thereof | |
CN202713263U (en) | Self-learning correction touch button circuit | |
CN110297592B (en) | Processing method and electronic equipment | |
US10073564B2 (en) | Input device, control method of input device, and program | |
KR100966029B1 (en) | Method and apparatus for setting reference that is for preventing electromagnetic interference and touch sensor using the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20121024 |