CN112737556A - Control method and control device for touch key and household appliance - Google Patents

Control method and control device for touch key and household appliance Download PDF

Info

Publication number
CN112737556A
CN112737556A CN202011558745.1A CN202011558745A CN112737556A CN 112737556 A CN112737556 A CN 112737556A CN 202011558745 A CN202011558745 A CN 202011558745A CN 112737556 A CN112737556 A CN 112737556A
Authority
CN
China
Prior art keywords
value
touch
touch key
reference value
time
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
CN202011558745.1A
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 CN202011558745.1A priority Critical patent/CN112737556A/en
Publication of CN112737556A publication Critical patent/CN112737556A/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/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
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/16Modifications for eliminating interference voltages or currents

Landscapes

  • Electronic Switches (AREA)

Abstract

The invention discloses a control method and a control device of a touch key and a household appliance, wherein the control method comprises the steps of obtaining a real-time touch value and detection times of the touch key within a preset time; when the number of times that the real-time touch value exceeds the preset range is larger than the preset number of times, judging that radio frequency conducted interference exists in the touch key; and the reference value is increased from the initial reference value to the first reference value, and the reference value is adjusted back to the initial reference value after the interference disappears. The control method of the touch key judges whether radio frequency conducted interference exists at present by monitoring the fluctuation condition of the real-time touch value of the touch key, synchronously adjusts the reference value of the touch key, improves the reference value of the touch key when the radio frequency conducted interference is detected, and recalls the reference value when the interference disappears, so that the user experience of the touch key is improved, the touch key is prevented from jumping when the radio frequency conducted interference exists, and the safety is improved.

Description

Control method and control device for touch key and household appliance
Technical Field
The invention relates to the technical field of household appliances, in particular to a control method and a control device of a touch key and a household appliance.
Background
Because the use experience of the touch key is better than that of the micro switch, more and more household appliances use the touch key. The touch key is not mechanically generated to generate signals by a microswitch, but is realized by an analog circuit, so that the touch key is easily interfered and the key jumping condition is caused. The high-sensitivity key brings good touch experience, and is easy to jump due to external interference; the low-sensitivity keys are less likely to have a key jump, but the keys may not respond properly.
Disclosure of Invention
In order to solve the technical problem that the existing touch key cannot simultaneously give consideration to high sensitivity and high anti-interference capability in the background art, the invention provides a control method, a control device and a household appliance of the touch key.
In order to achieve the above purpose, the specific technical solutions of the control method and control device for touch keys and the household appliance of the present invention are as follows:
a control method of a touch key mainly comprises the following steps:
a detection step: acquiring a real-time touch value and detection times of a touch key within a preset time;
a judging step: when the number of times that the real-time touch value exceeds the preset range is larger than the preset number of times, judging that radio frequency conducted interference exists in the touch key;
and (3) adjusting: and the reference value is increased from the initial reference value to the first reference value, and the reference value is adjusted back to the initial reference value after the interference disappears.
Further, before the detecting step, the method further comprises an initial reference value acquiring step: before detecting whether radio frequency conducted interference exists in the touch key, taking the average value of real-time touch values acquired within a period of time as an initial reference value.
Further, in the adjusting step, when the touch key is interfered, the maximum value of the acquired real-time touch value is used as a first reference value.
Further, in the adjusting step, in the next preset time after the reference value is adjusted, if the real-time touch value is detected to be within the preset range, it is determined that the interference disappears, and the reference value is adjusted to the initial reference value.
Further, when the touch key is not interfered, the method further comprises a touch key response judging step: and calculating a difference value between the real-time touch value and the initial reference value, wherein if the difference value is greater than or equal to the threshold value, the touch key responds to the touch operation, and if the difference value is smaller than the threshold value, the touch key does not respond to the touch operation.
Further, the lower limit value of the preset range takes a value in the range of-10% to-5% of the initial reference value, and the upper limit value of the preset range takes a value in the range of 5% to 10% of the initial reference value.
A control device for a touch key, comprising:
the touch detection module is electrically connected with the touch key and used for acquiring a real-time touch value of the touch key;
the counting module is used for recording the detection times of detecting the real-time touch value within the preset time;
the storage module is used for storing the initial reference value;
the comparison module is used for comparing the real-time touch value with the upper limit value and the lower limit value of the preset range;
the judging module is used for judging that the touch key is interfered when the number of times that the real-time touch value output by the comparing module exceeds the preset range is larger than the preset number of times;
and the control module is used for increasing the reference value from the initial reference value to the first reference value when the touch key is determined to be interfered by the judgment module, and returning the reference value to the initial reference value after the interference disappears.
And the touch key response judging module is used for responding to the touch operation when the touch key is not interfered and the difference value between the real-time touch value and the initial reference value is more than or equal to the threshold value.
Furthermore, the preset time is a value within a range of 60ms-120ms, and the detection time interval between two adjacent touch keys is 10ms-20 ms.
Further, the lower limit value of the preset range takes a value in the range of-10% to-5% of the initial reference value, and the upper limit value of the preset range takes a value in the range of 5% to 10% of the initial reference value.
Further, the preset times are 1/3-2/3 of the total times of detection.
A household appliance comprises the control device of the touch key.
The control method and the control device for the touch key and the household appliance have the following advantages that:
according to the control method of the touch key, whether radio frequency conducted interference exists at present is judged by monitoring the fluctuation condition of the real-time touch value of the touch key, the reference value of the touch key is synchronously adjusted, when the radio frequency conducted interference is detected, the reference value of the touch key is improved, when the interference disappears, the reference value is adjusted back, the user experience of the touch key is improved, the touch key is prevented from jumping when the radio frequency conducted interference exists, and the safety is improved.
Drawings
FIG. 1 is a flowchart illustrating a method for controlling a touch key according to the present invention;
FIG. 2 is a flowchart illustrating a control method for a touch key according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of the control device of the touch key of the present invention.
The reference numbers in the figures illustrate: 1. touching a key; 2. a touch detection module; 3. a comparison module; 4. a decision module; 5. a storage module; 6. and a control module.
Detailed Description
In order to better understand the purpose, structure and function of the present invention, the following describes a control method, a control device and a household appliance of a touch key in detail with reference to the accompanying drawings.
As shown in fig. 1, the method for controlling a touch key of the present invention mainly includes the following steps:
a detection step: acquiring a real-time touch value and detection times of the touch key 1 within a preset time;
a judging step: when the number of times that the real-time touch value exceeds the preset range is larger than the preset number of times, judging that radio frequency conducted interference exists in the touch key 1;
and (3) adjusting: and increasing the reference value from the initial reference value to the first reference value, detecting again until the interference disappears, and adjusting the reference value back to the initial reference value.
Generally, as shown in fig. 2, before the detecting step, an initial reference value obtaining step is further included: before detecting whether the touch key 1 has radio frequency conducted interference, taking an average value of real-time touch values of the touch key 1 acquired within a period of time as an initial reference value. The initial reference value can be adjusted in different detection periods according to the environment, the control method is more flexible, and the sensitivity of the touch key 1 is higher. In addition, the initial reference value may be set to a fixed value, and the initial reference value is smaller than the first reference value.
In the detecting step, the preset time may be a value within a range of 60ms to 120ms, preferably, the preset time is 100ms, the detection time interval between two adjacent touch keys 1 is 10ms to 20ms, and preferably, the detection time interval is 15 ms.
In the judging step, the preset times are 1/3-2/3 of the total times of detection, and integers are taken. The lower limit value of the preset range takes values in the range of-10% to-5% of the initial reference value, and the upper limit value of the preset range takes values in the range of 5% to 10% of the initial reference value.
In the adjusting step, when the touch key 1 is interfered, the maximum value of the acquired real-time touch value is used as a first reference value, the first reference value is larger than an initial reference value, and the next detection period is entered again for detection. When detecting that touch key 1 receives the interference, through increaseing the benchmark value, effectively prevent to appear touch key 1 because of the condition emergence of radio frequency conducted interference cause the key skip, improve the security.
And in the next preset time after the reference value is adjusted, if the detected real-time touch value is in the preset range, judging that the interference disappears, and adjusting the reference value to be the initial reference value.
As shown in fig. 2, in a preset time, if the real-time touch values are all within a preset range, the touch key 1 is not interfered; if the number of times that the real-time touch value exceeds the preset range is less than the preset number of times, the touch key 1 is interfered, but the reference value is not adjusted. When the touch key 1 is not interfered, the method further comprises a touch key response judging step: and calculating a difference value between the real-time touch value and the initial reference value, after filtering the difference value, responding to the touch operation by the touch key 1 if the difference value is greater than or equal to a threshold value, and not responding to the touch operation by the touch key 1 if the difference value is less than the threshold value.
As shown in fig. 3, the present application also provides a control device for a touch key, including:
the touch detection module 2 is electrically connected with the touch key 1 and is used for acquiring a real-time touch value of the touch key 1;
the counting module is used for recording the detection times of detecting the real-time touch value within the preset time;
the storage module 5 is used for storing the initial reference value;
the comparison module 3 is used for comparing the real-time touch value with the upper limit value and the lower limit value of the preset range;
the judging module 4 is used for judging that the touch key 1 is interfered when the times of exceeding the preset range of the real-time touch value output by the comparing module 3 is greater than the preset times;
and the control module 6 is used for increasing the reference value from the initial reference value to the first reference value when the touch key 1 is determined to be interfered by the judgment module 4, and returning the reference value to the initial reference value after the interference disappears.
The control device also comprises a touch key 1 response judging module which is used for responding the touch operation of the touch key 1 when the touch key 1 is not interfered and the difference value between the real-time touch value and the initial reference value is more than or equal to the threshold value.
The preset time can be a value within a range of 60ms to 120ms, preferably, the preset time is 100ms, the detection time interval of two adjacent touch keys 1 is 10ms to 20ms, and preferably, the detection time interval is 15 ms.
The lower limit value of the preset range takes values in the range of-10% to-5% of the initial reference value, and the upper limit value of the preset range takes values in the range of 5% to 10% of the initial reference value.
The preset times are 1/3-2/3 of the total times of detection and are integers.
The application also provides a household appliance which comprises the control device of the touch key. This domestic appliance can be used to little household electrical appliances cooking equipment, like electric rice cooker, electric pressure cooker, electromagnetism stove etc. adopt the cooking equipment of touch button 1, through improving the benchmark value of touch button 1 when having the interference, transfer back to initial benchmark value when the interference disappears, prevent to appear jumping key, phenomenon such as mistake touch takes place, improves domestic appliance's reliability.
According to the control method of the touch key, whether radio frequency conducted interference exists at present is judged by monitoring the fluctuation condition of the real-time touch value of the touch key 1, the reference value of the touch key 1 is synchronously adjusted, when the radio frequency conducted interference is detected, the reference value of the touch key 1 is improved, when the interference disappears, the reference value is adjusted back, the user experience of the touch key 1 is improved, the touch key 1 is prevented from jumping keys when the radio frequency conducted interference exists, and the safety is improved.
It is to be understood that the present invention has been described with reference to certain embodiments, and that various changes in the features and embodiments, or equivalent substitutions may be made therein by those skilled in the art without departing from the spirit and scope of the invention. In addition, many modifications may be made to adapt a particular situation or material to the teachings of the invention without departing from the essential scope thereof. Therefore, it is intended that the invention not be limited to the particular embodiment disclosed, but that the invention will include all embodiments falling within the scope of the appended claims.

Claims (12)

1. A control method of a touch key is characterized by mainly comprising the following steps:
a detection step: acquiring a real-time touch value and detection times of the touch key (1) within a preset time;
a judging step: when the number of times that the real-time touch value exceeds the preset range is larger than the preset number of times, judging that radio frequency conducted interference exists in the touch key (1);
and (3) adjusting: and the reference value is increased from the initial reference value to the first reference value, and the reference value is adjusted back to the initial reference value after the interference disappears.
2. The method for controlling a touch key according to claim 1, further comprising an initial reference value obtaining step before the detecting step: before detecting whether radio frequency conducted interference exists in the touch key (1), taking the average value of real-time touch values acquired within a period of time as an initial reference value.
3. The method for controlling the touch key according to claim 1, wherein in the adjusting step, when the touch key (1) is interfered, the maximum value of the acquired real-time touch value is used as the first reference value.
4. The method for controlling a touch key according to claim 3, wherein in the adjusting step, in a next preset time after the reference value is adjusted, if the real-time touch value is detected to be within a preset range, it is determined that the interference disappears, and the reference value is adjusted to the initial reference value.
5. The method for controlling a touch key according to claim 1, further comprising a touch key response determination step of, when the touch key (1) is not disturbed: and calculating a difference value between the real-time touch value and the initial reference value, wherein if the difference value is larger than or equal to the threshold value, the touch key (1) responds to the touch operation, and if the difference value is smaller than the threshold value, the touch key (1) does not respond to the touch operation.
6. The method for controlling the touch key according to claim 1, wherein a lower limit value of the preset range takes a value in a range from-10% to-5% of the initial reference value, and an upper limit value of the preset range takes a value in a range from 5% to 10% of the initial reference value.
7. A control device for a touch key, comprising:
the touch detection module (2) is electrically connected with the touch key (1) and is used for acquiring a real-time touch value of the touch key (1);
the counting module is used for recording the detection times of detecting the real-time touch value within the preset time;
a storage module (5) for storing the initial reference value;
the comparison module (3) is used for comparing the real-time touch value with the upper limit value and the lower limit value of the preset range;
the judging module (4) is used for judging that the touch key (1) is interfered when the number of times that the real-time touch value output by the comparing module (3) exceeds the preset range is larger than the preset number of times;
and the control module (6) is used for increasing the reference value from the initial reference value to the first reference value when the touch key (1) is determined to be interfered according to the judgment module (4), and returning the reference value to the initial reference value after the interference disappears.
8. The device for controlling the touch keys according to claim 7, further comprising a touch key (1) response determination module, configured to, when the touch key (1) is not interfered, respond to the touch operation by the touch key (1) according to a difference between the real-time touch value and the initial reference value being greater than or equal to a threshold value.
9. The control device of the touch key according to claim 7, wherein the preset time is a value in a range of 60ms-120ms, and the detection time interval between two adjacent touch keys (1) is 10ms-20 ms.
10. The apparatus of claim 7, wherein a lower limit of the preset range takes a value within a range of-10% to-5% of the initial reference value, and an upper limit of the preset range takes a value within a range of 5% to 10% of the initial reference value.
11. The apparatus as claimed in claim 7, wherein the predetermined number is 1/3-2/3 of the total number of detections.
12. A household appliance characterized by comprising control means of a touch key according to any one of claims 7 to 11.
CN202011558745.1A 2020-12-25 2020-12-25 Control method and control device for touch key and household appliance Pending CN112737556A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011558745.1A CN112737556A (en) 2020-12-25 2020-12-25 Control method and control device for touch key and household appliance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011558745.1A CN112737556A (en) 2020-12-25 2020-12-25 Control method and control device for touch key and household appliance

Publications (1)

Publication Number Publication Date
CN112737556A true CN112737556A (en) 2021-04-30

Family

ID=75615854

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011558745.1A Pending CN112737556A (en) 2020-12-25 2020-12-25 Control method and control device for touch key and household appliance

Country Status (1)

Country Link
CN (1) CN112737556A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727235A (en) * 2009-12-01 2010-06-09 深圳市汇顶科技有限公司 Touch detecting method, touch detecting system and touch sensing device
CN103324373A (en) * 2013-06-14 2013-09-25 广东欧珀移动通信有限公司 Method for preventing conductive liquid from causing misoperation of touch screen
US20150277659A1 (en) * 2013-06-28 2015-10-01 Boe Technology Group Co., Ltd. Detection method and device for touch point, touch driving circuit, and touch screen
US20150301684A1 (en) * 2014-04-17 2015-10-22 Alpine Electronics, Inc. Apparatus and method for inputting information
CN105302383A (en) * 2014-06-23 2016-02-03 炬力集成电路设计有限公司 Anti-interference method and device for capacitive touch sensor
CN105790747A (en) * 2016-02-25 2016-07-20 广东美的厨房电器制造有限公司 Touch key triggering detection method and triggering detection device
CN109495100A (en) * 2018-11-15 2019-03-19 西安中颖电子有限公司 A kind of adaptive key touch detecting system and method
CN109660241A (en) * 2018-11-06 2019-04-19 深圳和而泰智能控制股份有限公司 A kind of method and device adjusting touch key-press sensitivity
CN110048703A (en) * 2019-04-18 2019-07-23 珠海格力电器股份有限公司 Method and device for improving sensitivity of touch key and terminal equipment
CN111371462A (en) * 2018-12-26 2020-07-03 无锡飞翎电子有限公司 Anti-interference method and device for touch key, electronic equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727235A (en) * 2009-12-01 2010-06-09 深圳市汇顶科技有限公司 Touch detecting method, touch detecting system and touch sensing device
CN103324373A (en) * 2013-06-14 2013-09-25 广东欧珀移动通信有限公司 Method for preventing conductive liquid from causing misoperation of touch screen
US20150277659A1 (en) * 2013-06-28 2015-10-01 Boe Technology Group Co., Ltd. Detection method and device for touch point, touch driving circuit, and touch screen
US20150301684A1 (en) * 2014-04-17 2015-10-22 Alpine Electronics, Inc. Apparatus and method for inputting information
CN105302383A (en) * 2014-06-23 2016-02-03 炬力集成电路设计有限公司 Anti-interference method and device for capacitive touch sensor
CN105790747A (en) * 2016-02-25 2016-07-20 广东美的厨房电器制造有限公司 Touch key triggering detection method and triggering detection device
CN109660241A (en) * 2018-11-06 2019-04-19 深圳和而泰智能控制股份有限公司 A kind of method and device adjusting touch key-press sensitivity
CN109495100A (en) * 2018-11-15 2019-03-19 西安中颖电子有限公司 A kind of adaptive key touch detecting system and method
CN111371462A (en) * 2018-12-26 2020-07-03 无锡飞翎电子有限公司 Anti-interference method and device for touch key, electronic equipment and storage medium
CN110048703A (en) * 2019-04-18 2019-07-23 珠海格力电器股份有限公司 Method and device for improving sensitivity of touch key and terminal equipment

Similar Documents

Publication Publication Date Title
US20060227115A1 (en) Method and apparatus for touch sensor with interference rejection
US20060221061A1 (en) Touch sensor and control with random pulse spacing
CN111352534B (en) Touch key touch threshold correction method, wire controller, electric appliance and computer readable storage medium
US20050203672A1 (en) Systems, devices, and methods for detecting arcs
EP2849041A1 (en) Wakeup method and system for touch terminal and touch terminal
CN106775085B (en) A kind of method, device and mobile terminal of screen edge false-touch prevention
KR101185145B1 (en) Apparatus and method for setting adaptively reference sensing boundary of touch sensor
US11861102B2 (en) Method for setting a scanning frequency of a capacitive touch-sensitive switch, operating method for a capacitive touch-sensitive switch and capacitive touch-sensitive switch
CN104104375A (en) Method for enhancing mobile phone interference resistance of capacitive touch button and circuit thereof
CN109066579B (en) Overvoltage protection method and device
CN110739953B (en) Scene type signal self-adaptive processing method of capacitive touch key and electronic device
WO2017185702A1 (en) Pressure sensor-based method and system for volume control
CN107548177B (en) Overvoltage abnormal protection method and device for power switch tube in electromagnetic heating cooking system
CN112737556A (en) Control method and control device for touch key and household appliance
CN107421210A (en) The method of refrigerator detection human body proximity and the refrigerator using this method
CN102868389B (en) Method and circuit for performing the method for operating piezoceramic transducer
CN111578439A (en) Wet hand detection device, drive-by-wire ware and air conditioner of touch button
KR100966029B1 (en) Method and apparatus for setting reference that is for preventing electromagnetic interference and touch sensor using the same
CN115314035A (en) Key trigger control method and device and electric equipment
CN106855707B (en) Generate the switching device and numerical control system of safe input signal
CN210003101U (en) anti-pinch dish washing machine
EP2722988B1 (en) A method of the touch detection for capacitive touch sensors
CN112764596A (en) Capacitive touch anti-interference detection device, system and method
CN115480148A (en) Electric appliance, touch chip calibration method and device of touch key of electric appliance and storage medium
KR102698249B1 (en) Methods, devices, chips and electronic devices for determining pressure reference values

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