CN102394622A - Capacitive touch key and key judging method thereof - Google Patents

Capacitive touch key and key judging method thereof Download PDF

Info

Publication number
CN102394622A
CN102394622A CN2011102749872A CN201110274987A CN102394622A CN 102394622 A CN102394622 A CN 102394622A CN 2011102749872 A CN2011102749872 A CN 2011102749872A CN 201110274987 A CN201110274987 A CN 201110274987A CN 102394622 A CN102394622 A CN 102394622A
Authority
CN
China
Prior art keywords
sensor port
port
capacitor
resistance
charge
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.)
Granted
Application number
CN2011102749872A
Other languages
Chinese (zh)
Other versions
CN102394622B (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.)
DONGGUAN CONTEL ELECTRONICS TECHNOLOGY Co Ltd
Original Assignee
DONGGUAN CONTEL ELECTRONICS TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by DONGGUAN CONTEL ELECTRONICS TECHNOLOGY Co Ltd filed Critical DONGGUAN CONTEL ELECTRONICS TECHNOLOGY Co Ltd
Priority to CN201110274987.2A priority Critical patent/CN102394622B/en
Publication of CN102394622A publication Critical patent/CN102394622A/en
Application granted granted Critical
Publication of CN102394622B publication Critical patent/CN102394622B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to the technical field of manufacturing touch keys, in particular to a capacitive touch key and a key judging method thereof. The capacitive touch key comprises at least one induction port, a common port A, an MCU(Micro Control Unit) module with a timer and a charging/discharging circuit matched with the induction port, wherein one end of the charging/discharging circuit is connected with the common port A, the other end of the charging/discharging circuit is grounded, and the charging/discharging circuit is connected with one end of the induction port. The capacitive touch key is easy to realize, simple in structure and low in manufacturing cost. The key judging method of the capacitive touch key comprises the following steps of: (1), charging for gradually raising the level of the induction port until the input is high level detected at the induction port, obtaining a time t1; (2), discharging for gradually decreasing the level of the induction port until the input is low level detected at the induction port, obtaining a time t2; and (3), obtaining t1 and t2 for judging keys. The capacitive touch key has high accuracy, and can not result in that functions can not be realized due to damage of a mechanical structure and normal use of an electric appliance is influenced.

Description

A kind of capacitance type touch key and sub key method
Technical field
The present invention relates to touch key-press manufacturing technology field, be specifically related to a kind of capacitance type touch key and sub key method.
Background technology
Capacitance type touch key is very common, especially commonplace in household appliance technical field at electronics and electric field.Capacitance type touch key comprises a spring usually, between circuit board and guidance panel, and is in confined state, thereby tight attended operation panel and circuit board transmit response message according to changes in capacitance on the guidance panel.
The problem that prior art exists, complex structure, production cost is high, complex process.
Therefore, to the problem that exists in the prior art, needing badly provides the technology of a kind of capacitance type touch key and sub key method particularly important.
Summary of the invention
The objective of the invention is deficiency, provide a kind of simple in structure, the capacitance type touch key that production cost is low to prior art.
Another object of the present invention is the deficiency to prior art, provides a kind of method simple, the sub key method that is easy to realize.
The object of the invention is realized through following technical scheme.
A kind of capacitance type touch key; Comprise at least one sensor port, public port A, be provided with timer the MCU module, with the charge-discharge circuit of sensor port coupling; Said charge-discharge circuit one end is connected with public port A, other end ground connection, and charge-discharge circuit is connected with sensor port one end; Said charge-discharge circuit comprises resistance R, capacitor C and contact; Said resistance R one end is connected with public port A, and the said resistance R other end, capacitor C one end, contact one end are connected with said sensor port, said capacitor C other end ground connection.
Wherein, said sensor port comprises sensor port B and sensor port C, and said sensor port B, sensor port C are connected with the charge-discharge circuit that matches respectively.
Wherein, Said charge-discharge circuit comprises capacitor C 1, capacitor C 2, resistance R 1, resistance R 2, contact A, contact B; Said resistance R 1 one ends, resistance R 2 one ends are connected with public port A, and resistance R 1 other end, capacitor C 1 one ends, contact A one end are connected with sensor port B, capacitor C 1 other end ground connection; Resistance R 2 other ends, contact B one end, capacitor C 2 one ends are connected with sensor port C, capacitor C 2 other end ground connection.
Another object of the present invention, realize through following technical scheme:
A kind of sub key method of capacitance type touch key may further comprise the steps:
Step 1, public port A is set is low level; Sensor port is the high resistant input state, opens the timer in the MCU module, even exist side by side public port A output high level; Charge to capacitor C through resistance R this moment; The sensor port level raises gradually, detects when being input as high level to sensor port, stops timer and clocks and obtain time t1;
Step 2, it is high level that sensor port is set, public port A is the high resistant input state; Open the timer in the MCU module; Sensor port converts the high resistant input state to even exist side by side, and this moment, capacitor C was discharged through resistance R, and the sensor port level reduces gradually; Detect when being input as low level to sensor port, stopping to clock obtains time t2;
Step 3, t1 and t2 are combined into a measuring period, the time sum of t1 when obtaining zero load and t2; When load, charge-discharge circuit detects, and obtains t3 and t4; T3 and t4 and t1 and the contrast of t2 sum are depressed if t3 and t4, then judge button greater than t1 and t2; If t3 compares with t2 with t1 with t4, no change judges that then button do not depress.
Beneficial effect of the present invention:
A kind of capacitance type touch key; Comprise at least one sensor port, public port A, be provided with timer the MCU module, with the charge-discharge circuit of sensor port coupling; Said charge-discharge circuit one end is connected with public port A, other end ground connection, and charge-discharge circuit is connected with sensor port one end; Said charge-discharge circuit comprises resistance R, capacitor C and contact; Said resistance R one end is connected with public port A, and the said resistance R other end, capacitor C one end, contact one end are connected with said sensor port, said capacitor C other end ground connection.
The present invention compares mechanical structure of the prior art, realizes easily, and is simple in structure, low cost of manufacture.
A kind of sub key method of capacitance type touch key may further comprise the steps: step 1, public port A is set is low level, and sensor port is the high resistant input state; Open the timer in the MCU module; The public port A output high level even exist side by side, charge to capacitor C through resistance R this moment, and the sensor port level raises gradually; Detect when being input as high level to sensor port, stop timer and clock and obtain time t1; Step 2, sensor port is set is high level; Public port A is the high resistant input state, opens the timer in the MCU module, even the sensor port of existing side by side converts the high resistant input state to; This moment, capacitor C was discharged through resistance R; The sensor port level reduces gradually, detects when being input as low level to sensor port, stops timer and clocks and obtain time t2; The time sum of step 3, the t1 when obtaining zero load and t2, when load, charge-discharge circuit detects, and obtains t3 and t4; T3 and t4 and t1 and the contrast of t2 sum are depressed if t3 and t4, then judge button greater than t1 and t2; If t3 compares with t2 with t1 with t4, no change judges that then button do not depress.
The present invention compares mechanical compression method of the prior art, and by circuit identification, accuracy is high, can not cause realizing function owing to mechanical structure is damaged, and influences the normal use of electrical equipment.
Description of drawings
Utilize accompanying drawing that the present invention is described further, but the embodiment in the accompanying drawing does not constitute any restriction of the present invention.
Fig. 1 is the structural representation of a kind of capacitance type touch key of the present invention.
Embodiment
Below in conjunction with embodiment the present invention is elaborated.
Embodiment 1
As Fig. 1, shown in; A kind of capacitance type touch key, comprise at least one sensor port, public port A, be provided with timer the MCU module, with the charge-discharge circuit of sensor port coupling, said charge-discharge circuit one end is connected with public port A; Other end ground connection; Charge-discharge circuit is connected with sensor port one end, and said charge-discharge circuit comprises resistance R, capacitor C and contact, and said resistance R one end is connected with public port A; The said resistance R other end, capacitor C one end, contact one end are connected with said sensor port, said capacitor C other end ground connection.
The present invention compares mechanical structure of the prior art, realizes easily, and is simple in structure, low cost of manufacture.
Wherein, said sensor port comprises sensor port B and sensor port C, and said sensor port B, sensor port C are connected with the charge-discharge circuit that matches respectively.The present invention can be provided with a plurality of sensor port, can realize the multiple point touching induction.
Wherein, Said charge-discharge circuit comprises capacitor C 1, capacitor C 2, resistance R 1, resistance R 2, contact A, contact B; Said resistance R 1 one ends, resistance R 2 one ends are connected with public port A, and resistance R 1 other end, capacitor C 1 one ends, contact A one end are connected with sensor port B, capacitor C 1 other end ground connection; Resistance R 2 other ends, contact B one end, capacitor C 2 one ends are connected with sensor port C, capacitor C 2 other end ground connection.
Embodiment 2
A kind of sub key method of capacitance type touch key may further comprise the steps:
Step 1, public port A is set is low level; Sensor port is the high resistant input state, opens the timer in the MCU module, even exist side by side public port A output high level; Charge to capacitor C through resistance R this moment; The sensor port level raises gradually, detects when being input as high level to sensor port, stops timer and clocks and obtain time t1;
Step 2, it is high level that sensor port is set, public port A is the high resistant input state; Open the timer in the MCU module; Sensor port converts the high resistant input state to even exist side by side, and this moment, capacitor C was discharged through resistance R, and the sensor port level reduces gradually; Detect when being input as low level to sensor port, stopping to clock obtains time t2;
Step 3, t1 and t2 are combined into a measuring period, the time sum of t1 when obtaining zero load and t2; When load, charge-discharge circuit detects, and obtains t3 and t4; T3 and t4 and t1 and the contrast of t2 sum are depressed if t3 and t4, then judge button greater than t1 and t2; If t3 compares with t2 with t1 with t4, no change judges that then button do not depress.
Detect each sensor port capacitance variations respectively, can realize many induction points touch recognition.
Should be noted that at last; Above embodiment is only in order to technical scheme of the present invention to be described but not to the restriction of protection range of the present invention; Although the present invention has been done detailed description with reference to preferred embodiment; Those of ordinary skill in the art should be appreciated that and can make amendment or be equal to replacement technical scheme of the present invention, and do not break away from the essence and the scope of technical scheme of the present invention.

Claims (4)

1. capacitance type touch key; It is characterized in that: comprise at least one sensor port, public port A, be provided with timer the MCU module, with the charge-discharge circuit of sensor port coupling; Said charge-discharge circuit one end is connected with public port A, other end ground connection, and charge-discharge circuit is connected with sensor port one end; Said charge-discharge circuit comprises resistance R, capacitor C and contact; Said resistance R one end is connected with public port A, and the said resistance R other end, capacitor C one end, contact one end are connected with said sensor port, said capacitor C other end ground connection.
2. a kind of capacitance type touch key according to claim 1 is characterized in that: said sensor port comprises sensor port B and sensor port C, and said sensor port B, sensor port C are connected with the charge-discharge circuit that matches respectively.
3. a kind of capacitance type touch key according to claim 2; It is characterized in that: said charge-discharge circuit comprises capacitor C 1, capacitor C 2, resistance R 1, resistance R 2, contact A, contact B; Said resistance R 1 one ends, resistance R 2 one ends are connected with public port A, and resistance R 1 other end, capacitor C 1 one ends, contact A one end are connected with sensor port B, capacitor C 1 other end ground connection; Resistance R 2 other ends, contact B one end, capacitor C 2 one ends are connected with sensor port C, capacitor C 2 other end ground connection.
4. the sub key method of a capacitance type touch key according to claim 1 is characterized in that: may further comprise the steps:
Step 1, public port A is set is low level; Sensor port is the high resistant input state, opens the timer in the MCU module, even exist side by side public port A output high level; Charge to capacitor C through resistance R this moment; The sensor port level raises gradually, detects when being input as high level to sensor port, stops timer and clocks and obtain time t1;
Step 2, sensor port is set is high level; Public port A is the high resistant input state, opens the timer in the MCU module, even the sensor port of existing side by side converts the high resistant input state to; This moment, capacitor C was discharged through resistance R; The sensor port level reduces gradually, detects when being input as low level to sensor port, stops to clock obtaining time t2;
Step 3, t1 and t2 are combined into a measuring period, and the time sum of t1 when obtaining zero load and t2 is when load; Charge-discharge circuit detects, and obtains t3 and t4, t3 and t4 and t1 and the contrast of t2 sum; If t3 and t4, then judge button greater than t1 and t2 and depress, if t3 compares with t2 with t1 with t4; No change judges that then button do not depress.
CN201110274987.2A 2011-09-16 2011-09-16 Capacitive touch key and key judging method thereof Expired - Fee Related CN102394622B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110274987.2A CN102394622B (en) 2011-09-16 2011-09-16 Capacitive touch key and key judging method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110274987.2A CN102394622B (en) 2011-09-16 2011-09-16 Capacitive touch key and key judging method thereof

Publications (2)

Publication Number Publication Date
CN102394622A true CN102394622A (en) 2012-03-28
CN102394622B CN102394622B (en) 2014-03-19

Family

ID=45861835

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110274987.2A Expired - Fee Related CN102394622B (en) 2011-09-16 2011-09-16 Capacitive touch key and key judging method thereof

Country Status (1)

Country Link
CN (1) CN102394622B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103389802A (en) * 2013-07-29 2013-11-13 Tcl集团股份有限公司 Multichip compatible method and device based on capacitive touch press keys as well as electrical equipment
CN104184448A (en) * 2014-07-31 2014-12-03 松下家电研究开发(杭州)有限公司 Control method for preventing false detection of capacitive touch button, and electric appliance
CN105306038A (en) * 2015-11-02 2016-02-03 浙江漫思网络科技有限公司 Capacitive sensing touch control key and key judging method thereof
CN109254699A (en) * 2018-08-28 2019-01-22 苏州金螳螂文化发展股份有限公司 A kind of touch sensible detection method and system
CN114221644A (en) * 2022-02-22 2022-03-22 杭州炬源智能科技有限公司 Intelligent water meter with touch keys and detection method of touch keys

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060117661A1 (en) * 2002-09-12 2006-06-08 Goran Hansson Capacitive squeeze protecting device
CN201167310Y (en) * 2008-01-30 2008-12-17 宁波海诚电器有限公司 Human body induction type touch key-press circuit for air conditioner
CN201238405Y (en) * 2008-05-01 2009-05-13 美的集团有限公司 Touch control induction circuit of induction cooker
CN101499793A (en) * 2008-01-31 2009-08-05 杭州利尔达科技有限公司 Capacitor induction type touch press-key based on MCU and measuring method for touch press-key capacitance

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060117661A1 (en) * 2002-09-12 2006-06-08 Goran Hansson Capacitive squeeze protecting device
CN201167310Y (en) * 2008-01-30 2008-12-17 宁波海诚电器有限公司 Human body induction type touch key-press circuit for air conditioner
CN101499793A (en) * 2008-01-31 2009-08-05 杭州利尔达科技有限公司 Capacitor induction type touch press-key based on MCU and measuring method for touch press-key capacitance
CN201238405Y (en) * 2008-05-01 2009-05-13 美的集团有限公司 Touch control induction circuit of induction cooker

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103389802A (en) * 2013-07-29 2013-11-13 Tcl集团股份有限公司 Multichip compatible method and device based on capacitive touch press keys as well as electrical equipment
CN103389802B (en) * 2013-07-29 2017-11-10 Tcl集团股份有限公司 Multi-chip compatibility method, device and electric equipment based on capacitance type touch key
CN104184448A (en) * 2014-07-31 2014-12-03 松下家电研究开发(杭州)有限公司 Control method for preventing false detection of capacitive touch button, and electric appliance
CN104184448B (en) * 2014-07-31 2017-07-21 松下家电研究开发(杭州)有限公司 Prevent control method and electrical appliance that capacitance type touch key flase drop is known
CN105306038A (en) * 2015-11-02 2016-02-03 浙江漫思网络科技有限公司 Capacitive sensing touch control key and key judging method thereof
CN109254699A (en) * 2018-08-28 2019-01-22 苏州金螳螂文化发展股份有限公司 A kind of touch sensible detection method and system
CN114221644A (en) * 2022-02-22 2022-03-22 杭州炬源智能科技有限公司 Intelligent water meter with touch keys and detection method of touch keys
CN114221644B (en) * 2022-02-22 2023-08-29 杭州炬源智能科技有限公司 Intelligent water meter with touch keys and detection method of touch keys

Also Published As

Publication number Publication date
CN102394622B (en) 2014-03-19

Similar Documents

Publication Publication Date Title
CN104104375B (en) Strengthen the method and circuit of the anti-mobile phone interference of capacitance type touch key
CN102394622B (en) Capacitive touch key and key judging method thereof
CN101853099B (en) Compensation method of touch system
CN100550634C (en) A kind of control board transducer and display device
CN105580279B (en) Multi-channel capacitive divider scan method and equipment
CN104599884B (en) Magnetic suspension keyboard that a kind of spring curve is variable and method of work thereof
CN105094590A (en) Motion sensor
TWI544743B (en) Capacitive switch having high accuracy
CN101626246B (en) Touch-control method and touch-control device
CN103823598A (en) Touch sensing circuit and touch sensing method
CN101907961B (en) Realizing method of capacitance type inductive key, inductive key circuit and keyboard
WO2017197574A1 (en) Capacitance detection device
CN101783669A (en) Capacitance type touch press key and judging method thereof
CN201639564U (en) Capacitance induction type key
CN105306038A (en) Capacitive sensing touch control key and key judging method thereof
CN102857231B (en) A kind of key press detecting circuit
CN201467099U (en) Capacitive sensing key circuit and keyboard
CN202889317U (en) Capacitance type touch key circuit
US20140145965A1 (en) Touch device and driving method of touch panel thereof
US20130275632A1 (en) Key detection circuit
CN102594363A (en) Scanning method of capacitance touch button and press determination method
CN109813964B (en) Capacitance detection circuit and method
CN111106820B (en) Touch key control system and control method thereof
US9443667B2 (en) Touch-sensitive push-button and electronic device using the same
CN101025670A (en) Touch sensing device and its realizing method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140319

Termination date: 20150916

EXPY Termination of patent right or utility model