CN112260676A - Capacitive key and touch response method of capacitive key - Google Patents
Capacitive key and touch response method of capacitive key Download PDFInfo
- Publication number
- CN112260676A CN112260676A CN202011128131.XA CN202011128131A CN112260676A CN 112260676 A CN112260676 A CN 112260676A CN 202011128131 A CN202011128131 A CN 202011128131A CN 112260676 A CN112260676 A CN 112260676A
- Authority
- CN
- China
- Prior art keywords
- key
- semaphore
- light
- pcb
- condition
- 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
- 238000000034 method Methods 0.000 title claims abstract description 43
- 230000004044 response Effects 0.000 title abstract description 20
- 238000012545 processing Methods 0.000 claims abstract description 47
- 239000003990 capacitor Substances 0.000 claims abstract description 34
- 238000012544 monitoring process Methods 0.000 claims abstract description 10
- 230000003287 optical effect Effects 0.000 claims description 26
- 230000008569 process Effects 0.000 claims description 16
- 238000002955 isolation Methods 0.000 claims description 8
- 230000007613 environmental effect Effects 0.000 claims description 7
- 239000000463 material Substances 0.000 claims description 5
- 239000011810 insulating material Substances 0.000 claims description 4
- AMGQUBHHOARCQH-UHFFFAOYSA-N indium;oxotin Chemical compound [In].[Sn]=O AMGQUBHHOARCQH-UHFFFAOYSA-N 0.000 claims description 3
- 230000005540 biological transmission Effects 0.000 claims description 2
- 238000005406 washing Methods 0.000 description 9
- 238000001514 detection method Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 8
- 230000008901 benefit Effects 0.000 description 6
- 239000011248 coating agent Substances 0.000 description 3
- 238000000576 coating method Methods 0.000 description 3
- 238000001914 filtration Methods 0.000 description 3
- 230000006872 improvement Effects 0.000 description 3
- 230000006698 induction Effects 0.000 description 3
- 239000011229 interlayer Substances 0.000 description 3
- 230000004888 barrier function Effects 0.000 description 2
- 230000006854 communication Effects 0.000 description 2
- 238000009792 diffusion process Methods 0.000 description 2
- 239000011521 glass Substances 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 229920005372 Plexiglas® Polymers 0.000 description 1
- NIXOWILDQLNWCW-UHFFFAOYSA-N acrylic acid group Chemical group C(C=C)(=O)O NIXOWILDQLNWCW-UHFFFAOYSA-N 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000010438 heat treatment Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 239000012528 membrane Substances 0.000 description 1
- 229910052751 metal Inorganic materials 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 239000004926 polymethyl methacrylate Substances 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
- 230000035945 sensitivity Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K17/00—Electronic switching or gating, i.e. not by contact-making and –breaking
- H03K17/94—Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated
- H03K17/96—Touch switches
- H03K17/962—Capacitive touch switches
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03K—PULSE TECHNIQUE
- H03K17/00—Electronic switching or gating, i.e. not by contact-making and –breaking
- H03K17/94—Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated
- H03K17/96—Touch switches
- H03K17/9627—Optical touch switches
Landscapes
- Electronic Switches (AREA)
- Switches That Are Operated By Magnetic Or Electric Fields (AREA)
Abstract
The present disclosure provides a capacitive button and a touch response method for the capacitive button, the method including: monitoring a first semaphore fed back by the key, wherein the first semaphore is used for describing a voltage value of a capacitor of the key; monitoring a second semaphore fed back by the key, wherein the second semaphore is used for describing the light intensity of reflected light, and the reflected light is light reflected by a panel of the key from light emitted by a light source arranged inside the key; when the first semaphore is detected to be not satisfied with a preset first condition or the second semaphore is detected to be not satisfied with a preset second condition, continuing to maintain the processing flow of the load indicated by the key; and when the first semaphore is detected to meet the first condition and the second semaphore meets the second condition, responding to the touch of the key to adjust the processing flow of the load. The touch response accuracy of the capacitive key can be improved.
Description
Technical Field
The disclosure relates to the field of sensors, in particular to a capacitive key and a touch response method of the capacitive key.
Background
In various electrical appliances, the capacitive keys are widely used, and users touch the capacitive keys, so that the electrical appliances respond to touch and control loads indicated by the keys to act. In the prior art, under a high-temperature or high-humidity environment, due to the influence of the environment on electric charges, when a user does not touch a key, an electric appliance sometimes misjudges that the key is touched so as to misrespond, so that the electric appliance mistakenly and automatically controls a load to act under the condition that the user does not touch the key, and bad use experience is caused to the user. In addition, when the power grid is unstable or a plurality of electric appliances work simultaneously, the electric appliances may erroneously automatically control the load to operate without touching the key by the user.
Disclosure of Invention
An object of the present disclosure is to provide a capacitive button and a touch response method for the capacitive button, which can improve the touch response accuracy of the capacitive button.
According to an aspect of the disclosed embodiments, a capacitive key is disclosed, the key comprising:
the panel is made of insulating materials and is set as a touchable interface of the key;
an Indium Tin Oxide (ITO) film attached to the inner surface of the panel;
a printed circuit board, PCB, for providing electrical connection of the keys;
the light source is arranged on the PCB and used for emitting light to the panel;
the capacitance sensing module is arranged on the PCB and used for processing the voltage value of the capacitor into a first semaphore;
the optical sensing module is arranged on the PCB and used for processing the light intensity of the reflected light into a second semaphore, wherein the reflected light is the light reflected by the panel from the light emitted by the light source;
a control unit, configured to control a load indicated by the key based on the received first and second signal quantities.
In an exemplary embodiment of the present disclosure, the capacitance sensing module includes:
a tail strip electrically connected with the ITO film;
the plug-in terminal is arranged on the PCB and is electrically connected with the tail band;
the ITO signal processing chip is arranged on the PCB, is electrically connected with the plug-in terminal and feeds the first signal quantity back to the control unit.
In an exemplary embodiment of the present disclosure, the light source and the optical sensing module are jointly configured as an infrared device integrating transceiving, the infrared device is disposed on the PCB, and the infrared device serves as the light source to emit infrared rays and at the same time serves as the optical sensing module to process the intensity of the reflected infrared rays into the second signal quantity.
In an exemplary embodiment of the present disclosure, the key further includes:
the IC chip is arranged on the PCB, is electrically connected with the capacitance sensing module and the optical sensing module, and processes the voltage value into the first semaphore and processes the light intensity into the second semaphore through the IC chip.
In an exemplary embodiment of the present disclosure, the key further includes:
the light isolation device is arranged inside the key and surrounds the light source in a hollow area for transmitting the emitted light together with the panel and the PCB, wherein the light isolation device is made of opaque materials.
In an exemplary embodiment of the present disclosure, the key further includes:
and the indicating lamp is arranged on the PCB and used for indicating the touch state of the key.
According to an aspect of the disclosed embodiments, a touch response method for a capacitive button is disclosed, the method comprising:
monitoring a first semaphore fed back by the key, wherein the first semaphore is used for describing a voltage value of a capacitor of the key;
monitoring a second semaphore fed back by the key, wherein the second semaphore is used for describing the light intensity of reflected light, and the reflected light is light reflected by a panel of the key from light emitted by a light source arranged inside the key;
when the first semaphore is detected to be not satisfied with a preset first condition or the second semaphore is detected to be not satisfied with a preset second condition, continuing to maintain the processing flow of the load indicated by the key;
and when the first semaphore is detected to meet the first condition and the second semaphore meets the second condition, responding to the touch of the key to adjust the processing flow of the load.
In an exemplary embodiment of the present disclosure, the first condition includes: the first semaphore exceeds a preset first reference value;
the second condition includes: the second semaphore exceeds a preset second reference value.
In an exemplary embodiment of the present disclosure, the method further includes:
acquiring the highest value of the first semaphore under the condition that the key is not touched;
acquiring a lowest value of the first semaphore under the condition that the key is touched, wherein the lowest value is higher than the highest value;
determining a middle value between the highest value and the lowest value as the first reference value.
In an exemplary embodiment of the present disclosure, the method further includes:
determining an average value of the first semaphore in a preset time period as the first reference value;
determining an average value of the second semaphore over the period as the second reference value.
In the embodiment of the disclosure, besides the capacitor, the key is also internally provided with a light source for emitting light to the panel; and feeding back a first semaphore for describing the voltage value of the capacitor and a second semaphore for describing the light intensity of the reflected light reflected by the panel to the control unit of the key, so that the control unit judges whether the key is touched by a user or not by combining the first semaphore and the second semaphore. And only when the first semaphore and the second semaphore both meet the corresponding conditions, the key is confirmed to be touched so as to adjust the processing flow of the load. Through the improvement, when the user does not touch the key, even if the first signal quantity meets the first condition due to environmental reasons, the second signal quantity does not meet the second condition due to the fact that the user does not touch the key, so that the control unit does not mistakenly confirm that the key is touched and does not mistakenly respond, and the touch response accuracy of the capacitive key is improved.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings.
Fig. 1 shows a connection diagram of a whole machine of a washing machine to which a capacitive button provided in an embodiment of the present disclosure belongs.
Fig. 2 shows a structural assembly cross-sectional view of a key according to an embodiment of the present disclosure.
Fig. 3 shows a hardware detection circuit diagram of an embodiment of the present disclosure.
Fig. 4 shows a flowchart of a touch response method of a capacitive button provided by the present disclosure.
Fig. 5 shows a detailed processing flow diagram of the touch response of the capacitive button according to an embodiment of the present disclosure.
Description of reference numerals: 1-coating, 2-organic glass, 3-ITO film, 4-insulating interlayer, 5-infrared device, 6-indicator light, 7-PCB, 8-ITO signal processing chip, 9-IC chip, 10-resistor capacitor, 11-tail band, 12-plug terminal, 13-barrier rib and 14-hollow area.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these example embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more example embodiments. In the following description, numerous specific details are provided to give a thorough understanding of example embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, steps, and so forth. In other instances, well-known structures, methods, implementations, or operations are not shown or described in detail to avoid obscuring aspects of the disclosure.
Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
The present disclosure provides a capacitive button that recognizes and responds to a user's touch to the button primarily by way of capacitive sensing and optical sensing. The key can be used on various electric products, such as: washing machines, refrigerators, and the like.
The present disclosure provides a capacitive button, comprising:
the panel is made of insulating materials and is set as a touchable interface of the key;
an Indium Tin Oxide (ITO) film attached to the inner surface of the panel;
a Printed Circuit Board (PCB) for providing electrical connection to the key;
the light source is arranged on the PCB and used for emitting light to the panel;
the capacitance sensing module is arranged on the PCB and used for processing the voltage value of the capacitor of the key into a first semaphore;
the optical sensing module is arranged on the PCB and used for processing the light intensity of the reflected light into a second semaphore, wherein the reflected light is the light reflected by the panel from the light emitted by the light source;
and the control unit is used for controlling the load indicated by the key based on the received first signal quantity and the second signal quantity.
Specifically, the insulating material panel is configured as a touchable interface of the key and covers other components of the key, including: ITO membrane, PCB, light source, electric capacity response module, optical induction module and the control unit. The user touches the panel to touch the key. Typically, the panel is an acrylic material.
The panel includes two surfaces, one of which is an outer surface for a user to touch and the other of which is an inner surface. The ITO film is attached to the inner surface. When a user touches a key, a finger and the ITO film form a capacitor of the key, and a part of charges on the capacitor are absorbed away, so that the voltage value of the capacitor is reduced.
The PCB is mainly used to provide electrical connections for the components in the key so that the components can receive power or send electrical signals.
The light source is disposed on the PCB and emits light to the panel under support of the electrical connection provided by the PCB. It will be appreciated that under the action of the light source, the panel will reflect a portion of the emitted light back; moreover, when the user touches the key, the panel reflects more light back because the opaque finger is covered on the panel, resulting in an increase in the intensity of the reflected light.
The capacitance sensing module is arranged on the PCB, and the capacitance formed by the ITO film is monitored under the support of the electrical connection provided by the PCB, so that the voltage value of the capacitance is confirmed in real time. The capacitance sensing module processes the voltage value of the capacitor into a first semaphore according to the monitored voltage value of the capacitor, and feeds the first semaphore back to the control unit of the key so that the control unit can judge whether the key is touched by a user.
The optical sensing module is arranged on the PCB, and the reflected light is monitored under the support of the electrical connection provided by the PCB, so that the light intensity of the reflected light is confirmed in real time. Wherein, the light emitted by the light source is reflected by the panel to be the reflected light. The optical sensing module processes the light intensity of the reflected light into a second signal quantity according to the monitored light intensity of the reflected light, and feeds the second signal quantity back to the control unit of the key so that the control unit can judge whether the key is touched by a user.
Therefore, the control unit can judge whether the key is touched by a user or not by combining the first semaphore and the second semaphore, and further control the load indicated by the key.
In one embodiment, the capacitance sensing module includes:
a tail strip electrically connected with the ITO film;
the plug-in terminal is arranged on the PCB and is electrically connected with the tail band;
and the ITO signal processing chip is arranged on the PCB, is electrically connected with the plug-in terminal and feeds the first signal quantity back to the control unit.
In this embodiment, the capacitive sensing module mainly comprises a tail band, a plug terminal and an ITO signal processing chip. The tail strip is electrically connected with the ITO film and is electrically connected with a plug-in terminal arranged on the PCB; the plug-in terminal is also electrically connected with an ITO signal processing chip arranged on the PCB. Therefore, the electric signal of the capacitor formed by the ITO film sequentially passes through the tail band and the plug terminal and is transmitted to the ITO signal processing chip. Therefore, the ITO signal processing chip processes the electric signal of the capacitor to obtain a first semaphore for describing the voltage value of the capacitor, and the first semaphore is fed back to the control unit.
It should be noted that the embodiment is only an exemplary illustration of the component composition of the capacitance sensing module, and should not limit the function and the scope of the disclosure. It can be understood that the component composition of the capacitance sensing module mainly satisfies the voltage detection function of the capacitor.
In an embodiment, the light source and the optical sensing module are jointly configured as an infrared device integrating receiving and transmitting, and the infrared device is disposed on the PCB, and is used as the light source to emit infrared rays and simultaneously used as the optical sensing module to process the intensity of the reflected infrared rays into the second signal quantity.
In this embodiment, the light source and the optical sensing module are infrared devices integrated with each other for transmitting and receiving. That is, the infrared device is used as a light source to emit infrared rays and is also used as an optical sensing module to monitor reflected infrared rays. So that a second quantity of signals describing the intensity of the light rays reflecting the infrared rays is fed back to the control unit by the processing of the electrical signals emitting the infrared rays by the infrared means.
The embodiment has the advantage that the installation space is saved by arranging the light source and the optical sensing module as an infrared device integrating transceiving.
It is to be understood that this embodiment is merely illustrative. The light source and the optical sensing module can be arranged separately; the light emitted by the light source may be light other than infrared light.
In one embodiment, the key further comprises:
the IC chip is arranged on the PCB, is electrically connected with the capacitance sensing module and the optical sensing module, and processes the voltage value into the first semaphore and processes the light intensity into the second semaphore through the IC chip.
In this embodiment, the key is provided with an IC chip that uniformly processes the electrical signal into a semaphore, and the IC chip is disposed on the PCB and receives the electrical signal of the capacitor monitored by the capacitor sensing module and the electrical signal of the reflected light monitored by the optical sensing module under the support of the electrical connection provided by the PCB. And then the first semaphore and the second semaphore are respectively obtained through the processing of the IC chip, and the first semaphore and the second semaphore are fed back to the control unit through the IC chip.
The embodiment has the advantages that the IC chip for uniformly processing the electric signals is arranged, the complexity of the flat cable is reduced, and the communication process between the keys and the control unit is unified.
In one embodiment, the key further comprises:
the light isolation device is arranged inside the key and surrounds the light source in a hollow area for transmitting the emitted light together with the panel and the PCB, wherein the light isolation device is made of opaque materials.
In this embodiment, a light-blocking device made of opaque material is further disposed inside the key. The light isolation device, the panel and the PCB together enclose the light source in a hollow area so that the emitted light of the light source can be transmitted in the hollow area.
The embodiment has the advantages that the light source is surrounded by the light isolation device, the emission light of the light source is ensured to spread to the designated direction, and the diffusion of the emission light is avoided.
In one embodiment, the area and depth of the hollow region are matched with the specification of the optical sensing module.
In this embodiment, the area and depth of the hollow region are adjustable. Specifically, according to the specification requirement of the optical sensing module on light detection, the area and the depth of the hollow area are correspondingly set, so that the specification of the optical sensing module is matched.
In one embodiment, the key further comprises:
and the indicating lamp is arranged on the PCB and used for indicating the touch state of the key.
In this embodiment, an indicator light is further arranged inside the key. The indicator light indicates the touch state of the key with the support of the electrical connection provided by the PCB. For example: if the key is touched, the indicating lamp indicates a green lamp; if the key is not touched, the indication lamp indicates a red light.
Fig. 1 shows a connection diagram of a whole machine of a washing machine to which a capacitive button provided in an embodiment of the present disclosure belongs.
Referring to fig. 1, the washing machine includes various component circuits, such as: a heating wire driving and detecting circuit, a door lock driving and detecting circuit and the like. The component circuits are controlled by a main MCU control circuit (the main MCU control circuit is also used as a control unit of the key) of the washing machine.
The circled portions in fig. 1 are key control related components. The touch panel of the key is connected with the signal induction module; the signal sensing module comprises a capacitance sensing module and an optical sensing module.
The signal induction module is connected with the touch IC processing module; the touch IC processing module processes the electric signal of the capacitance sensing module and the electric signal of the optical sensing module through the IC chip, and feeds back the processed first signal quantity and second signal quantity to the main MCU control circuit, so that the main MCU control circuit can determine whether the key is touched and respond.
Fig. 2 shows a structural assembly cross-sectional view of a key according to an embodiment of the present disclosure.
Referring to fig. 2, the coating 1 is sprayed on the insulating plexiglas 2, which together form the panel of the key. Wherein the coating 1 is used to ensure that components inside the key are not visible.
An ITO film 3 is attached to the inner surface of the organic glass 2. The ITO film 3 is connected to the plug terminals 12 arranged on the PCB7 through the tail strips 11, so that the transmission of electric signals of the capacitor is realized.
An insulating interlayer 4 is arranged below the ITO film 3 to ensure the formation of the capacitor.
The PCB7 is located below the insulating barrier 4. An opaque barrier rib 13 is arranged between the insulating interlayer 4 and the PCB7, and the infrared device 5 which is arranged on the PCB7 and integrated with the receiving and transmitting is enclosed in the hollow area 14, so as to avoid the diffusion of the emitted light of the infrared device 5.
The PCB7 is also provided with an indicator lamp 6, an ITO signal processing chip 8, an IC chip 9 and a resistor-capacitor 10. The indicator lamp 6 is used for indicating the touch state of the key; the ITO signal processing chip 8 is matched with the ITO film and is used for processing electric signals of the capacitor; the IC chip 9 selects IO port resources, has adjustable sensitivity and is matched with a control unit of the equipment to which the key belongs in a communication mode and is used for communicating with the control unit; the resistor-capacitor 10 is matched with a signal detection circuit.
Fig. 3 shows a hardware detection circuit diagram of an embodiment of the present disclosure.
Referring to fig. 3, the hardware detection circuit diagram mainly includes two parts of circuits: the circuit of the main MCU processing module (namely the control unit) and the circuit of the signal detection and processing module. The main MCU processing module does not basically involve the improvement of hardware, so the circuit of the main MCU processing module is not described herein.
In the circuit for signal detection and processing, the electric signal of the capacitor charges a self-generating capacitor TP1 at a certain frequency and amplitude through a P10 pin of an IC1 module, and then the voltage value of TP1 is detected to obtain a first semaphore; the electrical signal of light intensity is detected by the HW1 module and internally converted to a second semaphore. The first and second semaphores are fed back to the IC2 module in the main MUC processing module.
It should be noted that fig. 1 to fig. 3 only show the schematic structure of the capacitive button according to the embodiment of the disclosure by way of example, and should not limit the function and the application scope of the disclosure.
Fig. 4 shows a flowchart of a touch response method of a capacitive button provided by the present disclosure, and as shown in fig. 4, the method includes:
step S1, monitoring a first semaphore fed back by the key, where the first semaphore is used to describe a voltage value of a capacitor of the key;
step S2, monitoring a second semaphore fed back by the key, where the second semaphore is used to describe the intensity of reflected light, and the reflected light is light reflected by the key panel from a light source inside the key;
step S3, when it is detected that the first semaphore does not satisfy a preset first condition or the second semaphore does not satisfy a preset second condition, continuing to maintain the processing flow of the load indicated by the key;
step S4, when it is detected that the first semaphore satisfies the first condition and the second semaphore satisfies the second condition, adjusting the processing flow of the load in response to the key being touched.
The touch response method of the capacitive key provided by the disclosure mainly uses the control unit of the key as an execution main body. The control unit identifies whether the key is touched by monitoring the first semaphore and the second semaphore. Specifically, if any one of the first semaphore and the second semaphore does not meet the corresponding condition, it is determined that the key is not touched, and the processing flow of the load indicated by the key is continuously maintained; and if the first semaphore and the second semaphore both meet corresponding conditions, determining that the key is touched, and further responding to the touch of the key to adjust the processing flow of the load.
For example: the "rinse" button of the washing machine is used to instruct a rinsing system of the washing machine to perform a rinsing process flow. During the power-on process of the washing machine, the control unit of the washing machine monitors the first semaphore and the second semaphore fed back by the 'rinsing' key. When a user touches the 'rinsing' key, the voltage value of the capacitor of the 'rinsing' key is changed, and the first semaphore meets a first condition; meanwhile, the light intensity of the reflected light of the 'rinsing' key is changed, and the second semaphore meets a second condition.
If only the first semaphore meets the first condition or only the second semaphore meets the second condition, the control unit determines that the 'rinsing' key is not touched by the user, and the current state of the rinsing system is continuously maintained; and only when the first semaphore and the second semaphore both meet the corresponding conditions, the control unit determines that the rinsing key is touched by the user, and then the rinsing system is controlled to execute the rinsing processing flow.
Therefore, the key in the embodiment of the disclosure is provided with a light source for emitting light to the panel in addition to the capacitor; and feeding back a first semaphore for describing the voltage value of the capacitor and a second semaphore for describing the light intensity of the reflected light reflected by the panel to the control unit of the key, so that the control unit judges whether the key is touched by a user or not by combining the first semaphore and the second semaphore. And only when the first semaphore and the second semaphore both meet the corresponding conditions, the key is confirmed to be touched so as to adjust the processing flow of the load. Through the improvement, when the user does not touch the key, even if the first signal quantity meets the first condition due to environmental reasons, the second signal quantity does not meet the second condition due to the fact that the user does not touch the key, so that the control unit does not mistakenly confirm that the key is touched and does not mistakenly respond, and the touch response accuracy of the capacitive key is improved.
In an embodiment, the first condition comprises: the first semaphore exceeds a preset first reference value;
the second condition includes: the second semaphore exceeds a preset second reference value.
In this embodiment, whether the semaphore satisfies the corresponding condition is determined by comparison of the reference values. Compared with the condition that the key is not touched, the first signal quantity is increased while the second signal quantity is increased after the key is touched. For example: the first semaphore is inversely related to the voltage value of the capacitor, and the voltage value of the capacitor is reduced due to the fact that the key is touched, so that the first semaphore is increased; the second semaphore is in positive correlation with the light intensity, the light intensity is increased due to the fact that the key is touched, and therefore the second semaphore is increased.
Thus, a first reference value is preset for the first semaphore and a second reference value is preset for the second semaphore; and setting a first condition that the first semaphore exceeds the first reference value and a second condition that the second semaphore exceeds the second reference value.
It should be noted that the specific relationship between the signal amount and the voltage value or the light intensity may be changed according to the requirement, and the change corresponds to the condition to be satisfied. This embodiment is merely exemplary in showing the semaphore and the corresponding conditions that should be met, and should not limit the function and scope of the disclosure.
In an embodiment, the method further comprises:
acquiring an average value of the first semaphore under the condition that the key is touched;
acquiring a signal environment noise value;
and subtracting the signal environmental noise value from the average value of the first semaphore to obtain the first reference value.
In this embodiment, the average value of the signal amount when the key is touched is subtracted from the signal environmental noise value to obtain the corresponding reference value.
Specifically, the key may be pressed multiple times by using a metal rod with a certain diameter, and the first signal quantity when the key is pressed each time is recorded, so as to obtain an average value of the first signal quantities when the key is pressed. And subtracting the acquired signal environmental noise value from the average value of the first semaphore to obtain a first reference value of the first semaphore.
A second reference value for the second semaphore may be set similarly.
In an embodiment, the method further comprises:
acquiring the highest value of the first semaphore under the condition that the key is not touched;
acquiring the lowest value of the first semaphore under the condition that the key is touched, wherein the lowest value is higher than the highest value;
an intermediate value between the highest value and the lowest value is determined as the first reference value.
In this embodiment, the intermediate value between the two cases before and after the key is touched is determined as the corresponding reference value.
Specifically, the fluctuation interval [ L1, L2] of the first signal amount in the case where the key is not touched can be determined by a predetermined test; and a fluctuation section [ L3, L4] of the first signal amount in a case where the key is touched. Wherein L3 is greater than L2. A value between L3 and L2 is then determined as a first reference value for the first semaphore. For example: an average value of L3 and L2 is determined as a first reference value of the first semaphore.
A second reference value for the second semaphore may be set similarly.
In an embodiment, the method further comprises:
determining an average value of the first semaphore in a preset time period as the first reference value;
and determining the average value of the second semaphore in the period as the second reference value.
In this embodiment, the average value of the periodicity is determined as the corresponding reference value.
Specifically, a first semaphore in a preset duration period is monitored in real time, and an average value of the first semaphore in the period is determined as a first reference value. It will be appreciated that the time period during which the key is touched is typically quite short, i.e. the first semaphore is quite short as a result of the key being touched having a large fluctuation. When the duration of the period is far longer than the duration of the touched key, the larger fluctuation of the first semaphore caused by the touched key can be ignored. The average value of the first semaphore during the period can be determined as a first reference value, i.e. the value of the first semaphore when the key is not touched.
For example: the preset time period is every last natural day. The duration of the user touching the keys typically lasts only a few seconds, quite a short time compared to 24 hours of a natural day. A monitoring record of the first semaphore in the last natural day is called, so that the calculated average value of the first semaphore in the last natural day is determined as the first reference value.
A second reference value for the second semaphore is set in the same way.
This embodiment has the advantage that by periodically determining the reference value from the actually measured average value, situations with hardware performance changes can be adaptively addressed, such as: with the increase of the working time, the capacitance of the capacitor is reduced, or the light intensity of the emitted light of the light source is reduced after the light source is aged. The reference value determined by the method can be matched with the touch response under the hardware performance, so that the touch response of the key can be more accurately carried out.
It should be noted that the above method for determining the reference value is only exemplary, and should not limit the function and the scope of the present disclosure. It is understood that the signal quantity of the key without being touched may also be determined as the corresponding reference value. For example: in the case that the key is not touched, the first signal amount is L1 in 95% of the time, and fluctuates around L1 in the remaining 5% of the time, and then the first reference value may be determined as L1; a second reference value for the second semaphore is set in the same way.
Fig. 5 shows a detailed processing flow diagram of the touch response of the capacitive button according to an embodiment of the present disclosure.
In this embodiment, the signal 1 refers to an electrical signal of a capacitance of a key, and the signal 2 refers to an electrical signal of reflected light; x1 denotes a first reference value of the first semaphore X, and Y1 denotes a second reference value of the second semaphore Y.
After the enabling interruption and the initialization, the control unit acquires signal reference and signal environmental noise so as to perform filtering calculation on the signal.
Start scanning the first key: acquiring the signal 1 for multiple times, performing filtering calculation, and converting the signal into a first semaphore X; and acquiring the signal 2 for multiple times, performing filtering calculation, and converting into a second semaphore Y. Judging whether X is larger than X1 and Y is larger than Y1, if so, determining and responding to the touch of a key, and adjusting the processing flow of the load indicated by the load; if not, the processing flow of the load indicated by the key is continuously maintained.
And after the first key scanning is finished, scanning other keys, determining whether the other keys are touched in the same method, and processing the keys correspondingly.
It should be noted that this embodiment is only an exemplary illustration of the detailed processing flow of the touch response, and should not limit the function and the scope of the disclosure.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
Claims (10)
1. A capacitive button, the button comprising:
the panel is made of insulating materials and is set as a touchable interface of the key;
an Indium Tin Oxide (ITO) film attached to the inner surface of the panel;
a printed circuit board, PCB, for providing electrical connection of the keys;
the light source is arranged on the PCB and used for emitting light to the panel;
the capacitance sensing module is arranged on the PCB and used for processing the voltage value of the capacitor of the key into a first semaphore;
the optical sensing module is arranged on the PCB and used for processing the light intensity of the reflected light into a second semaphore, wherein the reflected light is the light reflected by the panel from the light emitted by the light source;
a control unit, configured to control a load indicated by the key based on the received first and second signal quantities.
2. The key of claim 1, wherein the capacitance sensing module comprises:
a tail strip electrically connected with the ITO film;
the plug-in terminal is arranged on the PCB and is electrically connected with the tail band;
the ITO signal processing chip is arranged on the PCB, is electrically connected with the plug-in terminal and feeds the first signal quantity back to the control unit.
3. The key of claim 1, wherein the light source and the optical sensing module are jointly configured as an infrared device integrating transmission and reception, and the infrared device is disposed on the PCB and used as the light source to emit infrared rays and the optical sensing module to process the intensity of the reflected infrared rays into the second signal quantity.
4. The key of claim 1, wherein the key further comprises:
the IC chip is arranged on the PCB, is electrically connected with the capacitance sensing module and the optical sensing module, and processes the voltage value into the first semaphore and processes the light intensity into the second semaphore through the IC chip.
5. The key of claim 1, wherein the key further comprises:
the light isolation device is arranged inside the key and surrounds the light source in a hollow area for transmitting the emitted light together with the panel and the PCB, wherein the light isolation device is made of opaque materials.
6. The key of claim 1, wherein the key further comprises:
and the indicating lamp is arranged on the PCB and used for indicating the touch state of the key.
7. A touch-responsive method for a capacitive button, the method comprising:
monitoring a first semaphore fed back by the key, wherein the first semaphore is used for describing a voltage value of a capacitor of the key;
monitoring a second semaphore fed back by the key, wherein the second semaphore is used for describing the light intensity of reflected light, and the reflected light is light reflected by a panel of the key from light emitted by a light source arranged inside the key;
when the first semaphore is detected to be not satisfied with a preset first condition or the second semaphore is detected to be not satisfied with a preset second condition, continuing to maintain the processing flow of the load indicated by the key;
and when the first semaphore is detected to meet the first condition and the second semaphore meets the second condition, responding to the touch of the key to adjust the processing flow of the load.
8. The method of claim 7, wherein the first condition comprises: the first semaphore exceeds a preset first reference value;
the second condition includes: the second semaphore exceeds a preset second reference value.
9. The method of claim 8, further comprising:
acquiring an average value of the first semaphore under the condition that the key is touched;
acquiring a signal environment noise value;
and subtracting the signal environmental noise value from the average value of the first semaphore to obtain the first reference value.
10. The method of claim 8, further comprising:
determining an average value of the first semaphore in a preset time period as the first reference value;
determining an average value of the second semaphore over the period as the second reference value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011128131.XA CN112260676A (en) | 2020-10-20 | 2020-10-20 | Capacitive key and touch response method of capacitive key |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011128131.XA CN112260676A (en) | 2020-10-20 | 2020-10-20 | Capacitive key and touch response method of capacitive key |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112260676A true CN112260676A (en) | 2021-01-22 |
Family
ID=74244024
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011128131.XA Pending CN112260676A (en) | 2020-10-20 | 2020-10-20 | Capacitive key and touch response method of capacitive key |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112260676A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113445259A (en) * | 2021-06-29 | 2021-09-28 | 海信(山东)冰箱有限公司 | Key structure, key structure control method and washing machine |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201918974U (en) * | 2010-12-17 | 2011-08-03 | 上海科勒电子科技有限公司 | Touch-sensitive key and bathroom installation with same |
CN202221987U (en) * | 2011-09-29 | 2012-05-16 | 深圳万讯自控股份有限公司 | Capacitance type touch induction keyboard and local instrument |
CN105759998A (en) * | 2016-02-16 | 2016-07-13 | 上海斐讯数据通信技术有限公司 | Touch computer keyboard system and key judgment method |
CN108039881A (en) * | 2017-12-22 | 2018-05-15 | 北京顺源开华科技有限公司 | A kind of electronic equipment control method, device and electronic equipment |
CN110764650A (en) * | 2019-10-22 | 2020-02-07 | 维沃移动通信有限公司 | Key trigger detection method and electronic equipment |
CN111665997A (en) * | 2020-07-02 | 2020-09-15 | 深圳市华星光电半导体显示技术有限公司 | Touch display screen, driving method thereof and touch display device |
-
2020
- 2020-10-20 CN CN202011128131.XA patent/CN112260676A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201918974U (en) * | 2010-12-17 | 2011-08-03 | 上海科勒电子科技有限公司 | Touch-sensitive key and bathroom installation with same |
CN202221987U (en) * | 2011-09-29 | 2012-05-16 | 深圳万讯自控股份有限公司 | Capacitance type touch induction keyboard and local instrument |
CN105759998A (en) * | 2016-02-16 | 2016-07-13 | 上海斐讯数据通信技术有限公司 | Touch computer keyboard system and key judgment method |
CN108039881A (en) * | 2017-12-22 | 2018-05-15 | 北京顺源开华科技有限公司 | A kind of electronic equipment control method, device and electronic equipment |
CN110764650A (en) * | 2019-10-22 | 2020-02-07 | 维沃移动通信有限公司 | Key trigger detection method and electronic equipment |
CN111665997A (en) * | 2020-07-02 | 2020-09-15 | 深圳市华星光电半导体显示技术有限公司 | Touch display screen, driving method thereof and touch display device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113445259A (en) * | 2021-06-29 | 2021-09-28 | 海信(山东)冰箱有限公司 | Key structure, key structure control method and washing machine |
CN113445259B (en) * | 2021-06-29 | 2022-07-12 | 海信(山东)冰箱有限公司 | Key structure, key structure control method and washing machine |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9645690B1 (en) | Method and apparatus to improve noise immunity of a touch sense array | |
CN105959461A (en) | Screen sensing control method, screen sensing control device and terminal equipment | |
US11507217B2 (en) | Touch-based control device | |
CN104252399A (en) | Calibration processing method and device of touch screen, touch screen and terminal | |
CN106791120B (en) | Control method and device for screen-off of mobile terminal | |
CN102385451B (en) | Luminous band display type sliding touch bar and display method of touch luminous band | |
CN112260676A (en) | Capacitive key and touch response method of capacitive key | |
CN108614651B (en) | Mobile terminal and infrared detection method | |
CN113445259B (en) | Key structure, key structure control method and washing machine | |
CN108508788A (en) | Household appliance control method and household electrical appliance | |
CN112227013B (en) | Washing machine and key control method | |
CN106301326A (en) | A kind of touch key-press and touch signal processing method, device | |
CN213209133U (en) | Electronic device | |
CN114237420B (en) | Touch screen control method and device, electronic equipment and storage medium | |
CN110297569B (en) | Detection method and device | |
CN102006046B (en) | Key detection board | |
KR20100012352A (en) | Apparatus and method for controlling user input | |
CN101727247A (en) | Electronic device with infrared touch function and control method thereof | |
CN109002207A (en) | A kind of touch chip calibration method, electronic equipment and storage medium | |
CN208703979U (en) | Smoke exhaust ventilator | |
CN214033025U (en) | Washing machine | |
CN112306276B (en) | Self-adaptive touch panel system and self-adaptive method thereof | |
CN109254656B (en) | Proximity detection method and device | |
CN110597076A (en) | Trigger device, control method, control device and household appliance | |
CN112698731A (en) | Capacitive touch keyboard |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210122 |