Method and device for preventing false triggering of touch switch, electronic equipment and storage medium
By deploying two sensors below the touch switch panel to distinguish between finger signals and electromagnetic interference signals, the problem of touch switches being easily triggered by electromagnetic interference is solved, achieving higher anti-interference and sensitivity.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-17
- Publication Date
- 2026-04-07
AI Technical Summary
Automotive touch switches are susceptible to electromagnetic interference, which can lead to false triggering, especially in complex designs and environments with strong electromagnetic interference. Existing conditioning circuits offer limited improvement.
Two sensors, namely the first sensor and the second sensor, are deployed below the touch panel of the touch switch. By determining the source of the signals collected by the two sensors, the switch can be distinguished from finger touch and electromagnetic interference, thereby controlling the opening and closing of the switch.
It effectively prevents touch switches from being accidentally triggered by electromagnetic interference, improves anti-interference and sensitivity, and ensures that touch switches are only turned on and off when actually touched.
Smart Images

Figure CN115296654B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automotive electronics technology, and more particularly to a method, apparatus, electronic device, and storage medium for preventing accidental triggering of touch switches. Background Technology
[0002] Currently, touch switches are widely used in automotive interiors due to their aesthetic appeal, simplicity, and premium feel. Capacitive touch-sensitive switches are the most common type used in automobiles. However, as automotive interior designs evolve, the shapes and materials of touch switches are becoming increasingly complex. Some unusual shapes can affect the sensitivity and interference resistance of touch switches. For example, irregularly shaped touch panels can reduce sensitivity; surrounding metal components such as chrome trim can amplify signals and reduce interference resistance. Furthermore, with the widespread use of electronic devices such as mobile phones, tablets, and walkie-talkies in vehicles, electromagnetic interference is generated when these devices transmit and receive signals. When these devices are close to the touch panel, they may cause accidental triggering of the touch switch. Similarly, passing through areas with strong electromagnetic interference can also lead to accidental switch triggering.
[0003] To address the issue of accidental triggering of the touch switch, a common solution is to improve the situation by adding a touch switch conditioning circuit. However, this method has certain drawbacks: when the touch panel is subjected to interference with a frequency band similar to that of a human finger, the touch switch is prone to accidental triggering. Summary of the Invention
[0004] The present invention provides a method, apparatus, electronic device and storage medium for preventing accidental triggering of touch switches, so as to prevent accidental triggering of touch switches due to electromagnetic interference.
[0005] According to one aspect of the present invention, a method for preventing accidental triggering of a touch switch is provided, applied to a touch switch, the touch switch including at least a touch panel, a first sensor, and a second sensor, the method comprising:
[0006] Acquire a first trigger signal within a first preset area collected by the first sensor;
[0007] Acquire a second trigger signal within a second preset area collected by the second sensor; wherein the first preset area and the second preset area are two adjacent areas located on the touch panel;
[0008] Determine whether the first trigger signal and the second trigger signal are generated by electromagnetic interference;
[0009] Based on the judgment result, the touch switch is controlled.
[0010] Optionally, the first preset area is a finger touch area; the second preset area is an interference signal acquisition area.
[0011] Optionally, determining whether the first trigger signal and the second trigger signal are generated by electromagnetic interference includes:
[0012] Determine whether both the first trigger signal and the second trigger signal are valid trigger signals;
[0013] If so, then it is determined that both the first trigger signal and the second trigger signal are generated by electromagnetic interference.
[0014] Optional, also includes:
[0015] If the first trigger signal is a valid trigger signal and the second trigger signal is an invalid trigger signal, then the first trigger signal is determined to be a genuine touch signal from the user and there is no electromagnetic interference.
[0016] Optionally, controlling the touch switch based on the judgment result includes:
[0017] If the second trigger signal is generated by electromagnetic interference, then the touch switch is disabled; or,
[0018] If the first trigger signal is a genuine touch signal from the user and there is no electromagnetic interference, then the touch switch is turned on.
[0019] Optionally, the touch switch is a capacitive touch-sensitive switch;
[0020] Accordingly, the method further includes:
[0021] Lower the capacitance change threshold of the touch switch.
[0022] According to another aspect of the present invention, a device for preventing accidental triggering of a touch switch is provided.
[0023] Configured in a touch switch, the touch switch including at least a touch panel, a first sensor, and a second sensor, the device comprising:
[0024] The first acquisition module is used to acquire a first trigger signal within a first preset area collected by the first sensor;
[0025] The second acquisition module is used to acquire a second trigger signal within a second preset area collected by the second sensor; wherein the first preset area and the second preset area are two adjacent areas located on the touch panel;
[0026] The judgment module is used to determine whether the first trigger signal and the second trigger signal are generated by electromagnetic interference;
[0027] The control module is used to control the touch switch based on the judgment result.
[0028] Optionally, the first preset area is a finger touch area; the second preset area is an interference signal acquisition area.
[0029] Optionally, the determination module includes:
[0030] The first judgment unit is used to determine whether both the first trigger signal and the second trigger signal are valid trigger signals;
[0031] The second judgment unit is used to determine that both the first trigger signal and the second trigger signal are generated by electromagnetic interference if the result of the first judgment unit is yes.
[0032] Optional, also includes:
[0033] The third judgment unit is used to determine that if the first trigger signal is a valid trigger signal and the second trigger signal is invalid trigger information, then the first trigger signal is a genuine touch signal from the user and there is no electromagnetic interference.
[0034] Optionally, the control module is also used for:
[0035] If the second trigger signal is generated by electromagnetic interference, then the touch switch is disabled; or,
[0036] If the first trigger signal is a genuine touch signal from the user and there is no electromagnetic interference, then the touch switch is turned on.
[0037] Optionally, the touch switch is a capacitive touch-sensitive switch;
[0038] Accordingly, the device also includes:
[0039] A parameter device module is used to reduce the capacitance change threshold of the touch switch.
[0040] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0041] At least one processor; and
[0042] A memory communicatively connected to the at least one processor; wherein,
[0043] The memory stores a computer program that can be executed by the at least one processor, which enables the at least one processor to perform the method for preventing accidental triggering of a touch switch as described in the embodiments of the present invention.
[0044] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions, the computer instructions being configured to cause a processor to execute and implement the method for preventing accidental triggering of a touch switch as described in the embodiments of the present invention.
[0045] The technical solution of this invention uses two sensors to sense trigger signals and then compares the two trigger signals to determine whether electromagnetic interference is generated, thus effectively eliminating the influence of electromagnetic interference on the touch switch.
[0046] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0047] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0048] Figure 1 This is a flowchart illustrating a method for preventing accidental triggering of a touch switch according to Embodiment 1 of the present invention.
[0049] Figure 2 This is a flowchart illustrating a method for preventing accidental triggering of a touch switch according to Embodiment 2 of the present invention.
[0050] Figure 3 This is a schematic diagram of a device for preventing accidental triggering of a touch switch according to Embodiment 3 of the present invention;
[0051] Figure 4 This is a schematic diagram of the structure of an electronic device using a method for preventing accidental triggering of a touch switch according to an embodiment of the present invention. Detailed Implementation
[0052] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0053] The touch switch involved in this invention can be a capacitive touch-sensitive switch used in the automotive industry. It works by detecting the presence of a finger near the touch panel through capacitance changes between the touch panel and its environment. A sensor is arranged below the touch panel of the switch. The capacitance of the sensor when the finger is not in contact with the panel surface is called parasitic capacitance (Cp). Parasitic capacitance is generated by the parasitic capacitance inside the sensor and the coupled electric field, the latter being generated by coupling between the sensor board, traces and vias, and other conductors in the system. When a finger touches the panel surface, the finger and the sensor form a simple parallel-plate capacitance (Cf) through the panel. When the capacitance change Cf - Cp reaches a set threshold, the touch chip effectively triggers the switch. Similarly, when electronic devices and other strong electromagnetic interference signals cause the capacitance change to reach the set threshold, the switch will also be triggered.
[0054] Based on the above, this invention improves the hardware structure of the touch switch to avoid accidental triggering of the touch switch due to electromagnetic interference. Specifically, two sensors, a first sensor and a second sensor, are deployed below the touch panel of the touch switch. Both sensors can be capacitive sensors. To accurately deploy the first and second sensors, two preset areas are first set on the touch panel: a first preset area and a second preset area. The first preset area can be a finger-touch area, allowing the user to control the touch switch by touching this area. The second preset area is adjacent to the first preset area and can be an interference signal acquisition area; when the user touches this area, the touch switch cannot be controlled. Furthermore, when deploying the two sensors, the first sensor is deployed below the first preset area to collect trigger signals within that area; the second sensor is deployed below the second preset area to collect trigger signals within that area. To avoid mutual interference between the two sensors, a distance of 2-3 mm is optimal.
[0055] It should be noted that the sensing diameters of fingers and electromagnetic interference are different. The sensing diameter of a finger is about 10mm, while electromagnetic interference covers a large area, far exceeding 10mm. By comparing the output signals of the two sensors using the difference in sensing diameter, fingers and electromagnetic interference can be distinguished. Fingers only generate signals in the touch area, while electromagnetic interference generates signals in both the touch area and the interference signal acquisition area. This allows the source of the signal to be determined, thus improving anti-interference capabilities.
[0056] Furthermore, in addition to the touch panel, the first sensor, and the second sensor, the touch switch also includes a signal processing device and an actuator; wherein, the signal processing device includes a touch chip and a microprocessor, used to compare and process the signals collected by the sensors; the actuator is used to determine whether to turn on the touch switch according to the indication signal output by the signal processing device.
[0057] After introducing the relevant knowledge of the touch switch of the present invention, the specific process of the method to prevent the touch switch from being accidentally triggered can be found in the following embodiments.
[0058] Example 1
[0059] Figure 1 The flowchart of a method for preventing accidental triggering of a touch switch is provided in Embodiment 1 of the present invention. This embodiment is applicable to situations where electromagnetic interference causes the touch switch to be accidentally triggered. The method can be executed by a device for preventing accidental triggering of a touch switch. The device for preventing accidental triggering of a touch switch can be implemented in hardware and / or software and can be configured in an electronic device.
[0060] like Figure 1 As shown, the procedure for preventing accidental triggering of the touch switch is as follows:
[0061] S101. Obtain the first trigger signal within the first preset area collected by the first sensor.
[0062] The first preset area can be a finger-touch area. Since the touch switch of this invention is a capacitive touch-sensitive switch, the first trigger signal collected by the first sensor within the first preset area includes two types: a valid trigger signal and an invalid trigger signal. Specifically, if the first trigger signal includes a signal with parallel plate capacitance (generated by user touch or electromagnetic interference), it is a valid trigger signal; conversely, if the first trigger signal includes a signal with parasitic capacitance (generated without user touch or electromagnetic interference), it is an invalid trigger signal.
[0063] S102, Obtain the second trigger signal within the second preset area collected by the second sensor.
[0064] The second preset area can be selected as an interference signal acquisition area. Since the touch switch of this invention is a capacitive touch-sensitive switch, the second trigger signal acquired by the second sensor within the second preset area includes two types: a valid trigger signal and an invalid trigger signal. Specifically, if the second trigger signal includes a signal with parallel plate capacitance (generated by magnetic interference), it is a valid trigger signal; conversely, if the second trigger signal includes a signal with parasitic capacitance (generated when no one touches the device or there is no electromagnetic interference), it is an invalid trigger signal.
[0065] S103. Determine whether the first trigger signal and the second trigger signal are generated by electromagnetic interference.
[0066] After receiving the first and second trigger signals, the two trigger signals are compared to determine whether they are generated by electromagnetic interference. In one optional embodiment, determining whether the first and second trigger signals are generated by electromagnetic interference includes: determining whether both the first and second trigger signals are valid trigger signals; in another optional embodiment, the first and second trigger signals are converted into digital signals, for example, into signals consisting of high and low levels, and then the presence of a valid trigger signal is determined based on the high and low levels; if so, it is determined that both the first and second trigger signals are generated by electromagnetic interference. If the second trigger signal is invalid trigger information, it is determined that there is no electromagnetic interference at this time. If the first trigger signal is a valid trigger signal, it is determined that the first trigger signal is a genuine touch signal from the user. If both the first and second trigger signals are invalid signals, it is determined that the user has not touched the touch switch, and there is no electromagnetic interference.
[0067] S104. Based on the judgment result, control the touch switch.
[0068] In one alternative implementation, if the second trigger signal is generated by electromagnetic interference, it indicates that there is electromagnetic interference near the touch switch. Therefore, regardless of whether the first trigger signal is a valid signal or an invalid signal, the touch switch is prohibited from being turned on, thereby preventing the touch switch from being accidentally triggered.
[0069] In another alternative implementation, if the second trigger signal is invalid, it means that there is no electromagnetic interference at this time. If the first trigger signal is a real touch signal from the user (i.e., a valid trigger signal), then the touch switch is controlled to turn on. For example, a signal to turn on the switch is sent to the actuator of the touch switch, so that the actuator turns on the touch switch.
[0070] In this embodiment of the invention, as long as the second trigger signal is a valid trigger signal, it is determined that there is electromagnetic interference in the touch switch accessory. At this time, the touch switch is prohibited from being turned on, which can prevent the touch switch from being accidentally triggered. Moreover, the touch switch is only turned on when the first trigger signal is valid and the second trigger signal is invalid, so as to achieve the purpose of accurately identifying the touched signal and improve the anti-interference of the touch switch.
[0071] Example 2
[0072] Figure 2 This is a flowchart illustrating a method for preventing accidental triggering of a touch switch according to Embodiment 2 of the present invention. See also... Figure 2 The method includes the following steps:
[0073] S201. Obtain the first trigger signal within the first preset area collected by the first sensor.
[0074] S202, Obtain the second trigger signal within the second preset area collected by the second sensor.
[0075] The first preset area and the second preset area are two adjacent areas located on the touch panel. Optionally, the first preset area is a finger touch area; the second preset area is an interference signal acquisition area.
[0076] S203. Determine whether the first trigger signal and the second trigger signal are generated by electromagnetic interference.
[0077] In one optional implementation, it is determined whether both the first trigger signal and the second trigger signal are valid trigger signals; if so, it is determined that both the first trigger signal and the second trigger signal are generated by electromagnetic interference. If the first trigger signal is a valid trigger signal and the second trigger signal is invalid trigger information, it is determined that the first trigger signal is a genuine touch signal from the user and there is no electromagnetic interference.
[0078] S204. Reduce the capacitance change threshold of the touch switch.
[0079] By following steps S201-S203, it is determined whether the trigger signal is generated by electromagnetic interference. Based on this determination, the effects of electromagnetic interference on the touch switch can be avoided. In this way, while improving the touch switch's anti-interference capabilities, the capacitance change threshold of the touch switch can also be lowered. According to the principle of touch switches, this operation can improve the sensitivity of the touch switch.
[0080] S205. Based on the judgment result, control the touch switch.
[0081] Optionally, if the second trigger signal is generated by electromagnetic interference, the touch switch is disabled; or, if the first trigger signal is a genuine touch signal from the user and there is no electromagnetic interference, the touch switch is enabled.
[0082] The present invention improves the sensitivity of the touch switch by reducing the capacitance change threshold of the touch switch while ensuring the anti-interference performance of the touch switch.
[0083] Example 3
[0084] Figure 3 This is a schematic diagram of a device for preventing accidental triggering of a touch switch according to Embodiment 3 of the present invention. This embodiment is applicable to situations where electromagnetic interference causes the touch switch to be accidentally triggered. Figure 3 As shown, the device includes:
[0085] The first acquisition module 301 is used to acquire a first trigger signal within a first preset area collected by the first sensor;
[0086] The second acquisition module 302 is used to acquire a second trigger signal within a second preset area collected by the second sensor; wherein the first preset area and the second preset area are two adjacent areas located on the touch panel;
[0087] The judgment module 303 is used to determine whether the first trigger signal and the second trigger signal are generated by electromagnetic interference;
[0088] The control module 304 is used to control the touch switch according to the judgment result.
[0089] Based on the above embodiments, optionally, the first preset area is a finger touch area; the second preset area is an interference signal acquisition area.
[0090] Based on the above embodiments, optionally, the determination module includes:
[0091] The first judgment unit is used to determine whether both the first trigger signal and the second trigger signal are valid trigger signals;
[0092] The second judgment unit is used to determine that both the first trigger signal and the second trigger signal are generated by electromagnetic interference if the result of the first judgment unit is yes.
[0093] In addition to the above embodiments, optionally, the following further includes:
[0094] The third judgment unit is used to determine that if the first trigger signal is a valid trigger signal and the second trigger signal is invalid trigger information, then the first trigger signal is a genuine touch signal from the user and there is no electromagnetic interference.
[0095] Based on the above embodiments, optionally, the control module is also used for:
[0096] If the second trigger signal is generated by electromagnetic interference, then the touch switch is disabled; or,
[0097] If the first trigger signal is a genuine touch signal from the user and there is no electromagnetic interference, then the touch switch is turned on.
[0098] Optionally, based on the above embodiments, the touch switch is a capacitive touch-sensitive switch;
[0099] Accordingly, the device also includes:
[0100] A parameter device module is used to reduce the capacitance change threshold of the touch switch.
[0101] The device for preventing accidental triggering of touch switches provided in the embodiments of the present invention can execute the method for preventing accidental triggering of touch switches provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of executing the method.
[0102] Example 4
[0103] Figure 4 A schematic diagram of an electronic device 10 that can be used to implement embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.
[0104] like Figure 4 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 may also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0105] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0106] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as performing methods to prevent accidental triggering of the touch switch.
[0107] In some embodiments, the method for preventing accidental triggering of a touch switch may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the method for preventing accidental triggering of a touch switch described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the method for preventing accidental triggering of a touch switch by any other suitable means (e.g., by means of firmware).
[0108] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0109] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0110] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0111] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0112] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0113] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0114] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0115] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A method for preventing accidental triggering of a touch switch, characterized in that, Applied to a touch switch, the touch switch including at least a touch panel, a first sensor, and a second sensor, the method includes: Acquire a first trigger signal within a first preset area collected by the first sensor; Acquire a second trigger signal within a second preset area collected by the second sensor; wherein the first preset area and the second preset area are two adjacent areas located on the touch panel; Determine whether the first trigger signal and the second trigger signal are generated by electromagnetic interference; Based on the judgment result, the touch switch is controlled; The touch switch is a capacitive touch-sensitive switch; correspondingly, the method further includes: reducing the capacitance change threshold of the touch switch; The distance between the first sensor and the second sensor is 2-3 mm; By utilizing the difference in sensing diameter between a finger and electromagnetic interference, the output signals of the first sensor and the second sensor are compared to distinguish between finger touch and electromagnetic interference. The first preset area is the finger touch area; the second preset area is the interference signal collection area.
2. The method according to claim 1, characterized in that, The step of determining whether the first trigger signal and the second trigger signal are generated by electromagnetic interference includes: Determine whether both the first trigger signal and the second trigger signal are valid trigger signals; If so, then it is determined that both the first trigger signal and the second trigger signal are generated by electromagnetic interference.
3. The method according to claim 2, characterized in that, Also includes: If the first trigger signal is a valid trigger signal and the second trigger signal is an invalid trigger signal, then the first trigger signal is determined to be a genuine touch signal from the user and there is no electromagnetic interference.
4. The method according to claim 3, characterized in that, The step of controlling the touch switch based on the judgment result includes: If the second trigger signal is generated by electromagnetic interference, then the touch switch is disabled; or, If the first trigger signal is a genuine touch signal from the user and there is no electromagnetic interference, then the touch switch is turned on.
5. A device for preventing accidental triggering of a touch switch, used to perform the method for preventing accidental triggering of a touch switch according to any one of claims 1-4, characterized in that, Configured in a touch switch, the touch switch including at least a touch panel, a first sensor, and a second sensor, the device comprising: The first acquisition module is used to acquire a first trigger signal within a first preset area collected by the first sensor; The second acquisition module is used to acquire a second trigger signal within a second preset area collected by the second sensor; wherein the first preset area and the second preset area are two adjacent areas located on the touch panel; The judgment module is used to determine whether the first trigger signal and the second trigger signal are generated by electromagnetic interference; The control module is used to control the touch switch according to the judgment result; The touch switch is a capacitive touch-sensitive switch; correspondingly, the device also includes: a parameter device module, used to reduce the capacitance change threshold of the touch switch; The distance between the first sensor and the second sensor is 2-3 mm.
6. The apparatus according to claim 5, characterized in that, The first preset area is the finger touch area; the second preset area is the interference signal collection area.
7. An electronic device, characterized in that, include: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the method for preventing accidental triggering of a touch switch as described in any one of claims 1-4.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed by a processor, implement the method for preventing accidental triggering of a touch switch as described in any one of claims 1-4.
Citation Information
Patent Citations
Key detection device and electronic equipment
CN112578461A
Electronic device for controlling specified functions based on electromagnetic signal detection and method thereof
US20200059268A1