CN112905046A - Touch system for detecting external digital capacitance or variable capacitance - Google Patents
Touch system for detecting external digital capacitance or variable capacitance Download PDFInfo
- Publication number
- CN112905046A CN112905046A CN202110154984.9A CN202110154984A CN112905046A CN 112905046 A CN112905046 A CN 112905046A CN 202110154984 A CN202110154984 A CN 202110154984A CN 112905046 A CN112905046 A CN 112905046A
- Authority
- CN
- China
- Prior art keywords
- capacitor
- digital
- microprocessor
- variable capacitor
- 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
Links
- 239000003990 capacitor Substances 0.000 claims abstract description 109
- 238000000034 method Methods 0.000 claims description 2
- 239000007788 liquid Substances 0.000 description 5
- 230000032683 aging Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/0416—Control or interface arrangements specially adapted for digitisers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/03—Arrangements for converting the position or the displacement of a member into a coded form
- G06F3/041—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
- G06F3/044—Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Electronic Switches (AREA)
Abstract
The invention discloses a touch system for detecting an external digital capacitor or a variable capacitor, which comprises a microprocessor, the digital capacitor and the variable capacitor, wherein the microprocessor, the digital capacitor and the variable capacitor are electrically connected with each other, the microprocessor comprises a channel KEY1, the variable capacitor is connected with a KEY1 end, the microprocessor periodically reads an initial value of the variable capacitor through a KEY1 end, the microprocessor compares the initial value of the variable capacitor with a digital capacitor threshold value, when the initial value of the variable capacitor does not exceed the digital capacitor threshold value, the microprocessor adjusts the digital capacitor value to be used as a new threshold value for next comparison, when the initial value of the variable capacitor exceeds the digital capacitor threshold value within a certain range, the microprocessor outputs a signal, and dynamically adjusts the digital capacitor value according to the initial value of the variable capacitor to determine the threshold value mode, so that the normal use of.
Description
Technical Field
The invention belongs to the field of capacitive touch control, and particularly relates to a touch control system for detecting an external digital capacitance or a variable capacitance.
Background
The existing capacitive touch system generally compares an external variable capacitance value with a reference threshold value to perform judgment work, wherein a digital capacitance value is adopted as the reference threshold value, the external capacitance value is increased when people touch the system, so that the external capacitance value is larger than the reference threshold value, and a trigger signal is sent out.
Disclosure of Invention
The present invention is directed to a touch system for detecting an external digital capacitance or a variable capacitance, so as to solve the problems mentioned in the background art.
In order to achieve the purpose, the invention provides the following technical scheme:
a touch system for detecting an external digital capacitor or a variable capacitor comprises a microprocessor, the digital capacitor and the variable capacitor which are electrically connected with each other, wherein the microprocessor comprises a channel KEY1, the variable capacitor is connected with a KEY1 end, the microprocessor periodically reads an initial value of the variable capacitor through a KEY1 end, the microprocessor compares the initial value of the variable capacitor with a digital capacitor threshold value, when the initial value of the variable capacitor does not exceed the digital capacitor threshold value within a certain range, the microprocessor adjusts the digital capacitor value to serve as a new threshold value for next comparison, and when the initial value of the variable capacitor exceeds the digital capacitor threshold value within a certain range, the microprocessor outputs a signal.
The technical scheme is that the system further comprises an input module, the input module is respectively electrically connected with the microprocessor and the KEY1 end, and the input module reads KEY1 data and sends a signal to the microprocessor.
The digital capacitor comprises a microprocessor, a variable capacitor, a comparison module and a register, wherein the comparison module reads an initial value of the variable capacitor and a digital capacitor threshold value for comparison, the initial value of the variable capacitor does not exceed the digital capacitor value within a certain range, the comparison module sends a signal to the register, the register adjusts the digital capacitor value as a new threshold value by using the initial value of the variable capacitor at the moment, the new threshold value is used as a next comparison value of the digital capacitor, and when the initial value of the variable capacitor exceeds the digital capacitor value within a certain range, the comparison module sends a signal to the microprocessor.
According to a further technical scheme, the intelligent control system further comprises an output module, and the output module is electrically connected with the microprocessor.
The invention has the beneficial effects that:
the invention provides a touch system for detecting an external digital capacitor or a variable capacitor, which adopts a mode of dynamically adjusting a digital capacitor value according to the change of an initial value of a variable capacitor to determine a threshold value.
Drawings
FIG. 1: the system of the invention is shown as the first.
FIG. 2: figure two of the system of the present invention.
FIG. 3: the circuit diagram of the invention.
FIG. 4: flow chart of the invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention,
referring to fig. 1-4 of the drawings,
a touch system for detecting an external digital capacitor or a variable capacitor comprises a microprocessor 1, a digital capacitor 2 with the capacity of 50pf and a variable capacitor 3 which are electrically connected with each other, wherein the microprocessor 1 comprises a channel KEY1, the variable capacitor 3 is connected with a KEY1 end, the microprocessor 1 periodically reads an initial value of the variable capacitor 3 through a KEY1 end, the microprocessor 1 compares the initial value of the variable capacitor 3 with a threshold value of the digital capacitor 2, when the initial value of the variable capacitor 3 does not exceed the threshold value of the digital capacitor 2 within a certain range, the microprocessor 1 adjusts the value of the digital capacitor 2 to serve as a new threshold value for next comparison, and when the initial value of the variable capacitor 3 exceeds the threshold value of the digital capacitor 2 within a certain range, the microprocessor 1 outputs a signal. The system adopts a BS83B04C chip A to realize the functions, wherein a microprocessor 1, a digital capacitor 2, an input module 4, an output module 7, a comparison module 6 and a register 5 are contained in the BS83B04C chip A, and the system is widely applied to modern touch products.
The technical scheme is that the system further comprises an input module 4, the input module 4 is respectively electrically connected with the microprocessor 1 and the KEY1, and the input module 4 reads KEY1 data and sends signals to the microprocessor.
The technical scheme is that the digital capacitance comparison method comprises a comparison module 6 and a register 5, wherein the comparison module 6 reads an initial value of a variable capacitor 3 and a threshold value of a digital capacitor 2 for comparison, the initial value of the variable capacitor 3 does not exceed the numerical value of the digital capacitor 2 within a certain range, the comparison module 6 sends a signal to the register 5, the register 5 adjusts the numerical value of the digital capacitor 2 upwards or downwards as a new threshold value by taking the initial value of the variable capacitor 3 as a reference, the new threshold value is used as a numerical value for next comparison of the digital capacitor 2, and when the initial value of the variable capacitor 3 exceeds the numerical value of the digital capacitor 2 within a certain range, the comparison module 6 sends a signal to a microprocessor 1, and the numerical value of the digital capacitor is not changed at this.
In a further technical scheme, the system further comprises an output module 7, wherein the output module 7 is electrically connected with the microprocessor 1.
In one embodiment of the present invention, the substrate is,
the operation principle is as follows: the invention relates to a touch system for detecting an external digital capacitor 2 or a variable capacitor, wherein a microprocessor 1 periodically reads an initial value of a variable capacitor 3 through a KEY1 end, a comparison module 6 reads a value of a KEY1 end and compares the value with a threshold value of the digital capacitor 2, the initial value of the variable capacitor 3 does not exceed the value of the digital capacitor 2 within a certain range, the comparison module 6 sends a signal to a register 5, the register 5 takes the initial value of the variable capacitor 3 read by the KEY1 end as a reference, the value of the digital capacitor 2 is adjusted upwards or downwards to serve as a new threshold value, the new threshold value is used as a next comparison value of the digital capacitor 2, when the initial value of the variable capacitor 3 exceeds the threshold value of the digital capacitor 2 within a certain range, the comparison module 6 sends a signal to the microprocessor 1 to indicate that an object is touching the system, the microprocessor 1 sends a signal to an output module 7 to trigger the output module 7,
the invention dynamically adjusts the numerical value of the digital capacitor 2 to determine the threshold value according to the initial value change of the variable capacitor 3, and the system adjusts the numerical value of the digital capacitor 2 according to the initial value of the variable capacitor 3 when being started each time, so when the initial value of the variable capacitor 3 changes due to aging of the variable capacitor 3 or other reasons, the digital capacitor 2 dynamically adjusts according to the changed initial value of the variable capacitor 3 within a certain range, the threshold value is determined again, and the normal use of the equipment is ensured.
The invention has wide application range, for example: touch desk lamp is done to metal structure, according to above-mentioned principle, someone touches the desk lamp and lights, if, can detect whether liquid atomizing device contains water through above-mentioned principle again, when having liquid in the liquid atomizing device, the system does not trigger and does not remind, when not having liquid in the liquid atomizing device, the system triggers and reminds.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.
Furthermore, it should be understood that although the present description refers to embodiments, not every embodiment may include only a single embodiment, and such description is for clarity only, and those skilled in the art will be able to make the description as a whole, and the embodiments may be appropriately combined to form other embodiments as will be apparent to those skilled in the art.
Claims (4)
1. A touch system for detecting an external digital capacitance or a variable capacitance is characterized in that: the digital comparison circuit comprises a microprocessor (1), a digital capacitor (2) and a variable capacitor (3) which are electrically connected with each other, wherein the microprocessor (1) comprises a channel KEY1, the variable capacitor (3) is connected with a KEY1 end, the microprocessor (1) periodically reads an initial value of the variable capacitor (3) through a KEY1 end, the microprocessor (1) compares the initial value of the variable capacitor (3) with a threshold value of the digital capacitor (2), when the initial value of the variable capacitor (3) does not exceed a certain range of the threshold value of the digital capacitor (2), the microprocessor (1) adjusts the value of the digital capacitor (2) to serve as a new threshold value of next comparison, and when the initial value of the variable capacitor (3) exceeds the certain range of the threshold value of the digital capacitor (2), the microprocessor (1) outputs signals.
2. The touch system for detecting an external digital capacitance (2) or a varying capacitance as claimed in claim 1, wherein: the system is characterized by further comprising an input module (4), wherein the input module (4) is respectively electrically connected with the microprocessor (1) and the KEY1 end, and the input module (4) reads KEY1 data and sends a signal to the microprocessor.
3. The touch system for detecting an external digital capacitance (2) or a varying capacitance as claimed in claim 1, wherein: the digital capacitor comparison method is characterized by further comprising a comparison module (6) and a register (5), wherein the comparison module (6) reads an initial value of the variable capacitor (3) and a threshold value of the digital capacitor (2) for comparison, the initial value of the variable capacitor (3) does not exceed the numerical value of the digital capacitor (2) within a certain range, the comparison module (6) sends a signal to the register (5), the register (5) adjusts the numerical value of the digital capacitor (2) to serve as a new threshold value according to the initial value of the variable capacitor (3) at the moment, the new threshold value serves as the numerical value of the digital capacitor (2) for next comparison, and when the initial value of the variable capacitor (3) exceeds the numerical value of the digital capacitor (2) within a certain range, the comparison module (6) sends a signal to the microprocessor (1.
4. The touch system for detecting an external digital capacitance (2) or a varying capacitance as claimed in claim 1, wherein: the intelligent control system is characterized by further comprising an output module (7), wherein the output module (7) is electrically connected with the microprocessor (1).
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110154984.9A CN112905046A (en) | 2021-02-04 | 2021-02-04 | Touch system for detecting external digital capacitance or variable capacitance |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110154984.9A CN112905046A (en) | 2021-02-04 | 2021-02-04 | Touch system for detecting external digital capacitance or variable capacitance |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112905046A true CN112905046A (en) | 2021-06-04 |
Family
ID=76122409
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110154984.9A Pending CN112905046A (en) | 2021-02-04 | 2021-02-04 | Touch system for detecting external digital capacitance or variable capacitance |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112905046A (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050055156A (en) * | 2003-12-05 | 2005-06-13 | 주식회사 이에스에스디 | The digital sensor detection way that used a basis price automatic setting way and a device |
CN101581845A (en) * | 2008-05-16 | 2009-11-18 | 精工爱普生株式会社 | Electro-optical device, electronic apparatus, and contact detection method |
JP2011044003A (en) * | 2009-08-21 | 2011-03-03 | Smk Corp | Capacity distinction device and capacitance type touch panel |
CN102185603A (en) * | 2011-03-01 | 2011-09-14 | 韩兴成 | Virtual matching detection circuit used for capacitance touch and digital quantization method thereof |
CN103430032A (en) * | 2011-01-14 | 2013-12-04 | 赛普拉斯半导体公司 | Detection of a conductive object during an initialization process of a touch-sensing device |
KR20170026977A (en) * | 2015-08-31 | 2017-03-09 | 엘지디스플레이 주식회사 | Touch Display Device And Method Of Driving The Same, And Touch Driving Circuit |
CN108682139A (en) * | 2018-05-08 | 2018-10-19 | 青岛创新控制技术有限公司 | A kind of remote circuit device for waking up remote controler |
CN109039321A (en) * | 2018-10-15 | 2018-12-18 | 湖南品腾电子科技有限公司 | A kind of touch button device and sensitivity automatic adjusting method |
-
2021
- 2021-02-04 CN CN202110154984.9A patent/CN112905046A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20050055156A (en) * | 2003-12-05 | 2005-06-13 | 주식회사 이에스에스디 | The digital sensor detection way that used a basis price automatic setting way and a device |
CN101581845A (en) * | 2008-05-16 | 2009-11-18 | 精工爱普生株式会社 | Electro-optical device, electronic apparatus, and contact detection method |
JP2011044003A (en) * | 2009-08-21 | 2011-03-03 | Smk Corp | Capacity distinction device and capacitance type touch panel |
CN103430032A (en) * | 2011-01-14 | 2013-12-04 | 赛普拉斯半导体公司 | Detection of a conductive object during an initialization process of a touch-sensing device |
CN102185603A (en) * | 2011-03-01 | 2011-09-14 | 韩兴成 | Virtual matching detection circuit used for capacitance touch and digital quantization method thereof |
KR20170026977A (en) * | 2015-08-31 | 2017-03-09 | 엘지디스플레이 주식회사 | Touch Display Device And Method Of Driving The Same, And Touch Driving Circuit |
CN108682139A (en) * | 2018-05-08 | 2018-10-19 | 青岛创新控制技术有限公司 | A kind of remote circuit device for waking up remote controler |
CN109039321A (en) * | 2018-10-15 | 2018-12-18 | 湖南品腾电子科技有限公司 | A kind of touch button device and sensitivity automatic adjusting method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA1229929A (en) | Electrical system having variable-frequency clock | |
US20180107373A1 (en) | Electronic System, Touch Sensitive Processing Apparatus and Method Thereof for Switching to Normal Operation Mode Upon Receiving Touch Gesture in Power Saving Mode | |
GB2294139A (en) | Minimizing power consumption in e.g. portable computing devices | |
CN101689073A (en) | Interrupt/wake-up of an electronic device in a law power sleep mode when detecting a sensor or frequency source activated frequency change | |
CN102156584B (en) | Touch screen terminal and method for solving deadlock of touch screen | |
WO2007001520A2 (en) | Touch wake for electronic devices | |
US9274661B2 (en) | Touch sensing circuit, apparatus, and system and operating method thereof | |
CN104932811A (en) | Portable electronic device and method of portable electronic device for waking display | |
CN101776931B (en) | Low power consumption power supply circuit of meter bus slave computer | |
CN102768648A (en) | Low latency interrupt collector | |
CN101866252B (en) | Waterproof method of capacitance type touch apparatus | |
US8200997B2 (en) | Computer wake up circuit includes a switch configured to prevent a control signals from an I/O controller being transmitted to south-bridge | |
US7958383B2 (en) | Computer system with adjustable data transmission rate | |
CN112905046A (en) | Touch system for detecting external digital capacitance or variable capacitance | |
CN102411451B (en) | The signal processing method and device of touch screen | |
US11513615B2 (en) | Digital electromagnetic stylus, input system, and method for controlling same | |
CN211979649U (en) | Hard-line wake-up circuit | |
CN114578939A (en) | Single-line awakening and key detection circuit | |
CN104133574A (en) | Touch device and dynamic adjustment method for measured voltage thereof | |
CN106788485B (en) | A kind of low-power transmitters | |
CN218920267U (en) | Singlechip wake-up circuit with wide voltage input | |
CN213303008U (en) | Double-touch control device of single-capacitor type sensor | |
CN215361229U (en) | Power supply wake-up circuit based on bus | |
CN215835125U (en) | LCD self-adaptive power supply circuit for PIS information display system | |
CN216313063U (en) | Capacitive touch switch circuit and switch |
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 |