CN108551340B - Anti-interference processing method for touch key and electric appliance - Google Patents

Anti-interference processing method for touch key and electric appliance Download PDF

Info

Publication number
CN108551340B
CN108551340B CN201810437910.4A CN201810437910A CN108551340B CN 108551340 B CN108551340 B CN 108551340B CN 201810437910 A CN201810437910 A CN 201810437910A CN 108551340 B CN108551340 B CN 108551340B
Authority
CN
China
Prior art keywords
key
new
detection
value
pressed
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.)
Active
Application number
CN201810437910.4A
Other languages
Chinese (zh)
Other versions
CN108551340A (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.)
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 CN201810437910.4A priority Critical patent/CN108551340B/en
Publication of CN108551340A publication Critical patent/CN108551340A/en
Application granted granted Critical
Publication of CN108551340B publication Critical patent/CN108551340B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • H03K17/962Capacitive touch switches

Landscapes

  • Push-Button Switches (AREA)
  • Input From Keyboards Or The Like (AREA)
  • Switches That Are Operated By Magnetic Or Electric Fields (AREA)
  • Main Body Construction Of Washing Machines And Laundry Dryers (AREA)

Abstract

The invention discloses an anti-interference processing method of a touch key and an electric appliance, wherein the processing method comprises the steps of monitoring whether a key is pressed and a load changes; if not, continuing monitoring; if yes, calculating key detection of all other keys which are not pressedDividing the sum of the variable quantities by the number of the calculated keys to obtain a variable average value Q; adding the variation average Q to the original detection reference value C of the pressed keyoldTo form a new detection reference value Cnew(ii) a With a new detection reference value CnewA detection is made that the key is released. The invention can effectively avoid the interference problem of the touch key and improve the stability of the touch key.

Description

Anti-interference processing method for touch key and electric appliance
Technical Field
The invention relates to a touch key, in particular to an anti-interference processing method for the touch key and an electric appliance adopting the processing method.
Background
At present, touch keys are generally applied to various operation terminals, for example, operation display panels of products such as air conditioners, induction cookers, gas water heaters and the like are designed by using the touch keys, and the more the application of the touch keys is, the higher the requirements on the reliability and the anti-interference performance of the touch keys are.
The detection of the touch keys at present mainly includes that the capacitive detection is relatively large, the capacitive detection is greatly influenced by power supply fluctuation, one main reason of the power supply fluctuation is power consumption load change, if the load demand is suddenly changed greatly, the power supply is obviously changed, the key detection is interfered at the moment, abnormal key detection is possibly caused, and the condition that the keys cannot be released or are detected mistakenly occurs. For a product using a single chip to process a touch key task, software and hardware of the product may have a strong anti-interference processing capability for the key (since the chip is only responsible for processing the touch key task, basic resources are all prepared for a filtering algorithm), but for a product using a main control IC to detect the touch key, as more tasks are operated, there may not be so many software and hardware resources to enhance the anti-interference processing.
Disclosure of Invention
In order to solve the above defects in the prior art, the invention provides an anti-interference processing method for a touch key, comprising the following steps:
step 1, monitoring whether a key is pressed and a load changes; if not, continuing monitoring; if yes, continuing the next step;
step 2, calculating the sum of the key detection variable quantities of all other keys which are not pressed, and dividing the sum by the number of the calculated keys to obtain a variation average value Q;
step 3, adding the variation average value Q to the original detection reference value C of the pressed keyoldTo form a new detection reference value Cnew
Step 4, using the new detection reference value CnewA detection is made that the key is released. Specifically, in the step 4, the real-time detection value F of the pressed key is subtracted by the new detection reference value CnewAnd if the key release value is less than the key release value B, determining that the key is released, otherwise, not releasing the key.
In one embodiment, the load change is such that the backlight is lit.
The invention also protects the electric appliance adopting the anti-interference processing method of the touch key. Including air conditioners, induction cookers, gas water heaters, range hoods, refrigerators, washing machines, and the like.
The invention calculates the detection signal variation of other non-pressed keys caused by load variation, calculates the average value, applies the average value to the detection signal variation of the pressed keys and eliminates the false detection signal of the load variation, thereby improving the reliability of the keys.
Drawings
The invention is described in detail below with reference to examples and figures, in which:
FIG. 1 is a flow chart of the present invention.
Detailed Description
As shown in fig. 1, the present invention will be described in detail by taking a scene in which a backlight is turned on to cause a load change after a key is pressed as an example.
First, each parameter of the touch key is explained: a key-effective threshold value a (fixed value), a key-release value B (fixed value), a key reference value C, a hand-pressed detection value D, a backlight lit detection value E, a real-time detection value F, and a backlight unlit detection value G.
In the prior art, when the real-time detection value F of the key is determined to subtract the key reference value C and is greater than the key effective threshold value a, the key is considered to be pressed effectively, and then, when the real-time detection value F of the key is determined to subtract the key reference value C and is less than the key release value B, the key is considered to be released. Therefore, under normal conditions, when the hand presses the key to satisfy the formula (F-C) > A during operation, and when the hand releases the key to satisfy the formula (F-C) < B, the touch key responds normally. However, there may be an abnormal situation, that is, after the hand is pressed down and the key is responded, the backlight is turned on, that is, the load is changed, the power supply fluctuates, the key detection signal changes, and after the hand is released, the real-time detection value F is still relatively large, which may not satisfy the formula (F-C) < B, and finally the key cannot be released all the time, and the key is abnormal.
However, it is difficult to calculate the amount of change in key detection caused by the backlight, i.e., E-G, to eliminate the effect of this load change, because it is not constant, and it is impossible to calculate the amount of change exclusively by software actively lighting the backlight, because it is impossible to make the user light up inexperienced during the use of the product. It is also not feasible to calculate the variation in consideration of the timing of lighting the backlight when the key is pressed by the hand, because the variation caused by the wrong pressing of the handle may be considered to be caused by the backlight variation.
However, a common product has several touch keys, although the detection value of each key is different, the detection value of each key is also different after backlight change, and the change amount generated by each key is obtained by a plurality of groups of data test analysis, so that the change amount is not very different, and the product has reference. Therefore, the invention adopts the technical scheme that after a certain touch key is pressed to lighten the backlight, the sum of the detection variation of other touch keys which are not pressed is calculated, and then the sum is divided by the number of the keys, so that the key detection variation average value Q caused by backlight variation can be obtained, and when a certain touch key is pressed, the variation average value Q is forcibly added to the original key reference value ColdUpper, i.e. new key reference value satisfies formula Cnew=Cold+ Q, the key detection at this time is changed to (F-C)new) The value is already small enough to satisfyAnd if the touch key is smaller than B, the touch key is released and can normally respond. When the key is pressed each time, the method is adopted to process the detection value of a key, and the influence generated by backlight lighting can be effectively eliminated.
The method not only limits the load of backlight, but also can eliminate interference signals caused by other predictable load changes, and the reliability of the touch key processed by the processing method is remarkably improved.
Meanwhile, the invention also protects electric appliances which adopt the processing method to realize the anti-interference of the keys, wherein the electric appliances comprise an air conditioner, an induction cooker, a gas water heater, a range hood, a refrigerator, a washing machine and the like.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (5)

1. An anti-interference processing method for a touch key is characterized by comprising the following steps:
step 1, monitoring whether a key is pressed and a load changes; if not, continuing monitoring; if yes, continuing the next step;
step 2, calculating the sum of the key detection variable quantities of all other keys which are not pressed, and dividing the sum by the number of the calculated keys to obtain a variation average value Q;
step 3, adding the variation average value Q to the original detection reference value C of the pressed keyoldTo form a new detection reference value Cnew
Step 4, using the new detection reference value CnewA detection is made that the key is released.
2. The method for processing the touch key against interference as claimed in claim 1, wherein in step 4, the real-time detection value F of the pressed key is subtracted by a new detection reference value CnewIf the key release value is less than the key release value B, the key is determined to be released, otherwise, the key is not releasedIs released.
3. The method for handling touch key immunity to interference of claim 1, wherein said load change is backlight illuminated.
4. An appliance using the treatment method of any one of the preceding claims.
5. The appliance according to claim 4, comprising an air conditioner, an induction cooker, a gas water heater, a range hood, a refrigerator and a washing machine.
CN201810437910.4A 2018-05-09 2018-05-09 Anti-interference processing method for touch key and electric appliance Active CN108551340B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810437910.4A CN108551340B (en) 2018-05-09 2018-05-09 Anti-interference processing method for touch key and electric appliance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810437910.4A CN108551340B (en) 2018-05-09 2018-05-09 Anti-interference processing method for touch key and electric appliance

Publications (2)

Publication Number Publication Date
CN108551340A CN108551340A (en) 2018-09-18
CN108551340B true CN108551340B (en) 2021-10-22

Family

ID=63494503

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810437910.4A Active CN108551340B (en) 2018-05-09 2018-05-09 Anti-interference processing method for touch key and electric appliance

Country Status (1)

Country Link
CN (1) CN108551340B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109428579B (en) * 2018-11-30 2024-01-23 广州巨晟微电子股份有限公司 Capacitive touch key anti-interference detection device and detection method
CN110196387B (en) * 2019-06-04 2021-09-03 苏州蓝石新动力有限公司 Damp-proof key identification method and device, electronic equipment and readable storage medium
CN111109657B (en) * 2020-02-06 2020-12-08 广芯微电子(广州)股份有限公司 Electronic cigarette and encryption and decryption authentication method thereof
CN111352530B (en) * 2020-02-26 2023-05-23 RealMe重庆移动通信有限公司 Adjustment method and device for threshold range of capacitor key signal and terminal equipment
CN113820957B (en) * 2020-06-19 2023-09-19 佛山市顺德区美的电热电器制造有限公司 Control method and device of cooking equipment, cooking equipment and storage medium

Family Cites Families (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE69422323T2 (en) * 1993-04-01 2000-06-21 Ibm Dynamic adjustment device for touch indicator buttons
CN101526872B (en) * 2008-03-05 2013-01-09 上海普芯达电子有限公司 Method for monitoring button state of capacitive sensing screen and capacitive sensing system
CN101634914B (en) * 2008-07-22 2011-08-10 福州星网视易信息***有限公司 Three-point calibration method based on nonuniform touch screen
TWI397003B (en) * 2008-10-23 2013-05-21 Pixart Imaging Inc Image processing method for optical navigator and optical navigator using the same
CN201523371U (en) * 2009-05-12 2010-07-07 深圳市博巨兴实业发展有限公司 Human body touch key control circuit
KR101190421B1 (en) * 2009-06-30 2012-10-11 제이에스알 가부시끼가이샤 Curable composition, conductive laminate and method for producing the same, and touch panel
CN101799734B (en) * 2010-03-29 2012-05-09 深圳龙多电子科技有限公司 Key detection method of capacitive touch screen
CN102467243B (en) * 2010-11-17 2015-04-29 南京百敖软件有限公司 Keyboard matrix analysis structure and method
JP2014512606A (en) * 2011-03-29 2014-05-22 シナプティクス インコーポレイテッド Capacitive touch screen interference detection and operation
CN103049152B (en) * 2011-10-14 2016-06-22 禾瑞亚科技股份有限公司 The detector of touch screen and method
CN102722286B (en) * 2012-06-08 2014-12-31 深圳市汇顶科技股份有限公司 Reference updating method of touch detection terminal capable of removing large-scale interference and system
CN102751972A (en) * 2012-07-27 2012-10-24 冠捷显示科技(厦门)有限公司 Implement method for learning and correcting of touch button
JP5892514B2 (en) * 2012-08-08 2016-03-23 アルプス電気株式会社 Input device
CN103955280B (en) * 2012-09-03 2016-11-23 名硕电脑(苏州)有限公司 The signal processing apparatus of keyboard and signal processing method thereof
KR102007817B1 (en) * 2012-12-21 2019-08-07 엘지디스플레이 주식회사 Reference data correction method and touch screen device using the same
CN103279243A (en) * 2013-06-06 2013-09-04 东莞博用电子科技有限公司 Adjacent key suppression method of capacitive touch keys
KR102098878B1 (en) * 2013-09-03 2020-04-08 엘지디스플레이 주식회사 Electronic device having a touch sensor and driving method thereof
CN103488364B (en) * 2013-09-29 2017-08-25 深圳Tcl工业研究院有限公司 A kind of capacitive touch screen and its self-adapting correction method, system
JP2015114872A (en) * 2013-12-12 2015-06-22 シナプティクス・ディスプレイ・デバイス合同会社 Semiconductor device and error cancellation method
US9542037B2 (en) * 2015-03-08 2017-01-10 Apple Inc. Device, method, and user interface for processing intensity of touch contacts
CN105353889B (en) * 2015-11-29 2018-07-06 恒宝股份有限公司 A kind of random scanning keyboard and its scan method
CN105677083B (en) * 2015-12-30 2018-12-11 中颖电子股份有限公司 A method of improving capacitance type touch key electromagnetism interference performance
CN105790747A (en) * 2016-02-25 2016-07-20 广东美的厨房电器制造有限公司 Touch key triggering detection method and triggering detection device
CN106656204A (en) * 2016-11-28 2017-05-10 杭州九阳小家电有限公司 Method and device for implementing interference resistance of touch key
CN207010640U (en) * 2017-04-18 2018-02-13 深圳Tcl数字技术有限公司 Button magnitude of voltage debug circuit and button magnitude of voltage debugging acid

Also Published As

Publication number Publication date
CN108551340A (en) 2018-09-18

Similar Documents

Publication Publication Date Title
CN108551340B (en) Anti-interference processing method for touch key and electric appliance
US11002773B2 (en) Monitoring apparatus, monitoring method, and storage medium
CN106933109B (en) Intelligent control method for kitchen household appliances
KR102078652B1 (en) Apparatus and method for detecting event in a smart plug
CN103185015A (en) Fan abnormity alarm system and method
US10598706B2 (en) Method for identifying actions of electric equipment and system using the same
CN105223862B (en) A kind of household electrical appliance and its audio control method and system
CN108931033A (en) A kind of line control machine control method, device and line control machine
CN106940116A (en) A kind of operating method of refrigerator display screen
CN104007690A (en) Control method and device of cooking appliance and cooking appliance
EP3767183A1 (en) Method for recognising pollution of a domestic appliance and pol-lution recognition system for a domestic appliance
CN107421210B (en) Method for detecting human body approaching by refrigerator and refrigerator adopting same
CN108508788A (en) Household appliance control method and household electrical appliance
CN107332569A (en) The control method of new trend controller touch key-press
US20140142875A1 (en) Appliance operation state detection
CN109976635A (en) Time control method and device based on intelligent kitchen appliance touch screen
CN102185602B (en) Refrigerator controller touch button sampling method
CN111355243A (en) Method and device for identifying electrical load
CN106907831A (en) A kind of air-conditioning Torque Control method
CN112857573A (en) Temperature detection method and device, cooking appliance and storage medium
CN106871359B (en) Air-conditioning Torque Control method
CN111671315A (en) Method for detecting humidity control abnormity of cooking equipment
CN111195082A (en) Intelligent recognition method for burnt state of food
CN108803407B (en) Cooking utensil
CN110824924B (en) Touch controller, adaptive control method of touch controller and electric appliance

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
GR01 Patent grant
GR01 Patent grant