Touch-control method, touch switch, and switch module
By using a combination of dual-pressure dual-capacitor sensors in touch switches, combined with grid structure grounding layer and series resistance filter, the problem of traditional touch switches being susceptible to environmental interference is solved, and higher anti-interference and accuracy are achieved.
Patent Information
- Application Number
- PCT/CN2024/098715
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-01-22
- Filing Date
- 2024-06-12
- Publication Date
- 2025-07-31
AI Technical Summary
Traditional touch switches are easily affected by the environment, resulting in false triggering or invalid touching. Especially when the car's exterior decoration encounters water droplets or water flow or low-impedance objects approaching, and lack of anti-electromagnetic interference capabilities.
The touch control method combined with dual pressure dual capacitance sensor is adopted. By setting pressure sensors and capacitance sensors in the effective area and the auxiliary area, the signal validity is judged, and the touch signal is only responded to when the signal is consistent, and the grid structure ground layer and series resistance filter are combined to reduce noise interference.
Improves the anti-interference of the touch switch, reduces false triggering caused by environmental factors, and ensures accurate response during effective touch operation.
Smart Images

Figure CN2024098715_31072025_PF_FP_ABST
Abstract
Description
Touch control method, touch switch and switch module
[0001] Cross-references
[0002] This application refers to the Chinese patent application entitled “Touch method, touch switch and switch module” and application number 2024100884379 filed on January 22, 2024, all of which are incorporated into this application by reference. Technical Field
[0003] The present application relates to the field of switch technology, in particular to a touch control method, a touch switch and a switch module. Background Art
[0004] With the development of science and technology and the improvement of people's living standards, the requirements for automobile intelligence are getting higher and higher. Nowadays, touch switches are widely used in door handle switches, window lift switches and car control panels on vehicles.
[0005] In traditional technology, most touch switches use capacitive touch technology. However, this type of touch switch is easily affected by the environment, resulting in frequent false triggering or invalid touch. Therefore, the touch switch in traditional technology has the problem of weak anti-interference ability.
[0006] Summary of the Invention
[0007] Based on this, it is necessary to provide a touch method, a touch switch and a switch module that can improve the anti-interference performance of a touch switch in order to address the above technical problems.
[0008] In a first aspect, the present application provides a touch method, which includes: receiving a first touch signal, the first touch signal including a first signal corresponding to a valid area in a touch key and a second signal corresponding to an auxiliary area in the touch key; determining whether the first signal is a valid signal, and determining whether the second signal is a valid signal; if the first signal is a valid signal and the second signal is an invalid signal, responding to the first touch signal.
[0009] In one embodiment, the first signal includes a first pressure signal and a first capacitance signal, and determining whether the first signal is a valid signal includes: determining whether the first pressure signal is a valid signal, and determining whether the first capacitance signal is a valid signal; if the first pressure signal and the first capacitance signal are both valid signals, determining that the first signal is a valid signal.
[0010] In one embodiment, the second signal includes a second pressure signal and a second capacitance signal, and determining whether the second signal is a valid signal includes: determining whether the second pressure signal is a valid signal, and determining whether the second capacitance signal is a valid signal; if the second pressure signal and the second capacitance signal are both valid signals, or the second pressure signal is a valid signal and the second capacitance signal is an invalid signal, then determining that the second signal is a valid signal.
[0011] In one embodiment, if the first signal is a valid signal and the second signal is an invalid signal, responding to the first touch signal includes: if the first signal is a valid signal and the second signal is an invalid signal, receiving the pressure signal and capacitance signal corresponding to the valid area at an interval of a first preset time, determining whether the pressure signal is a valid signal, and determining whether the capacitance signal is a valid signal; if both the pressure signal and the capacitance signal are valid signals, responding to the first touch signal.
[0012] In one embodiment, the touch method further includes: determining whether the first signal is a valid signal, and determining whether the second touch signal is received within a second preset time period before the second signal is a valid signal; if not, executing the steps of determining whether the first signal is a valid signal, and determining whether the second signal is a valid signal.
[0013] In the second aspect, the present application also provides a touch switch, which includes: a substrate; a first sensor module and a second sensor module respectively arranged in an effective area and an auxiliary area on the substrate; a chip, the chip being connected to the first sensor module and the second sensor module respectively, and the chip being used to receive a first signal sent by the first sensor module and a second signal sent by the second sensor module, determine whether the first signal is a valid signal, and determine whether the second signal is a valid signal, and if the first signal is a valid signal and the second signal is an invalid signal, respond to the first touch signal.
[0014] In one embodiment, the first sensor module includes a first pressure sensor and a first capacitance sensor; a chip is used to receive a first pressure signal sent by the first pressure sensor and a first capacitance signal sent by the first capacitance sensor, determine whether the first pressure signal is a valid signal, and determine whether the first capacitance signal is a valid signal. If both the first pressure signal and the first capacitance signal are valid signals, the first signal is determined to be a valid signal.
[0015] In one embodiment, the second sensor module includes a second pressure sensor and a second capacitance sensor; a chip is used to receive a second pressure signal sent by the second pressure sensor and a second capacitance signal sent by the second capacitance sensor, determine whether the second pressure signal is a valid signal, and determine whether the second capacitance signal is a valid signal; if the second pressure signal and the second capacitance signal are both valid signals, or the second pressure signal is a valid signal and the second capacitance signal is an invalid signal, then the second signal is determined to be a valid signal.
[0016] In one embodiment, the touch switch further includes a first resistor and / or a second resistor; when the touch switch only includes the first resistor, the first resistor is arranged between the chip and the first sensor module; when the touch switch only includes the second resistor, the second resistor is arranged between the chip and the second sensor module; when the touch switch includes the first resistor and the second resistor, the first resistor is arranged between the chip and the first sensor module, and the second resistor is arranged between the chip and the second sensor module.
[0017] In one embodiment, a ground layer with a grid structure is provided between the substrate and the first sensor module, and / or a ground layer with a grid structure is provided between the substrate and the second sensor module.
[0018] In one embodiment, a ground layer with a grid structure is disposed around the outside of the first sensor module, and / or a ground layer with a grid structure is disposed around the outside of the second sensor module.
[0019] In the third aspect, the present application also provides a switch module, which includes a main control board, a linear motor and a touch switch described in any one of the second aspects above; the main control board is connected to the linear motor and the touch switch respectively; the touch switch sends a touch pressure valid signal to the main control board in response to the first touch signal; the main control board controls the vibration of the linear motor based on the touch pressure valid signal.
[0020] In a fourth aspect, the present application also provides a touch device, which includes: a receiving module for receiving a first touch signal, the first touch signal including a first signal corresponding to a valid area in the touch key and a second signal corresponding to an auxiliary area in the touch key; a judgment module for determining whether the first signal is a valid signal and whether the second signal is a valid signal; and a response module for responding to the first touch signal if the first signal is a valid signal and the second signal is an invalid signal.
[0021] In one embodiment, the first signal includes a first pressure signal and a first capacitance signal, and the judgment module is specifically used to determine whether the first pressure signal is a valid signal and whether the first capacitance signal is a valid signal; if the first pressure signal and the first capacitance signal are both valid signals, the first signal is determined to be a valid signal.
[0022] In one embodiment, the second signal includes a second pressure signal and a second capacitance signal, and the judgment module is specifically used to determine whether the second pressure signal is a valid signal and whether the second capacitance signal is a valid signal; if the second pressure signal and the second capacitance signal are both valid signals, or the second pressure signal is a valid signal and the second capacitance signal is an invalid signal, then the second signal is determined to be a valid signal.
[0023] In one embodiment, the response module is specifically used to receive the pressure signal and capacitance signal corresponding to the effective area at an interval of a first preset time if the first signal is a valid signal and the second signal is an invalid signal, determine whether the pressure signal is a valid signal, and determine whether the capacitance signal is a valid signal; if both the pressure signal and the capacitance signal are valid signals, respond to the first touch signal.
[0024] In one embodiment, the judgment module is further used to determine whether the first signal is a valid signal and whether a second touch signal is received within a second preset time period before determining whether the second signal is a valid signal; if not, executing the steps of determining whether the first signal is a valid signal and determining whether the second signal is a valid signal.
[0025] In a fifth aspect, the present application further provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any one of the methods described in the first aspect when executing the computer program.
[0026] In a sixth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any one of the methods described in the first aspect above.
[0027] In a seventh aspect, the present application further provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of any one of the methods described in the first aspect.
[0028] The above-mentioned touch method, touch switch and switch module receive a first touch signal, which includes a first signal corresponding to the effective area of the touch key and a second signal corresponding to the auxiliary area of the touch key, and then determine whether the first signal is a valid signal and whether the second signal is a valid signal. If the first signal is a valid signal and the second signal is an invalid signal, the first touch signal is responded to. In this way, the touch switch is responded only when the signal in the effective area is valid and the signal in the auxiliary area is invalid. This can eliminate the influence of the environment on the touch switch, thereby improving the anti-interference performance of the touch switch. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0030] FIG1 is a schematic diagram of a self-capacitive detection principle according to an embodiment;
[0031] FIG2 is a schematic diagram of a mutual capacitance detection principle in one embodiment;
[0032] FIG3 is a schematic diagram of a flow chart of a touch control method according to an embodiment;
[0033] FIG4 is a schematic diagram of the arrangement of a capacitance sensor and a pressure sensor in one embodiment;
[0034] FIG5 is a schematic diagram of a touch switch according to an embodiment;
[0035] FIG6 is a schematic diagram of a switch module according to an embodiment;
[0036] FIG7 is a structural block diagram of a touch control device according to an embodiment;
[0037] FIG8 is a schematic structure of a chip in one embodiment;
[0038] FIG9 is a diagram showing the internal structure of a computer device according to an embodiment. DETAILED DESCRIPTION
[0039] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0040] Touch switches are now widely used in vehicle door handles, window lifts, and control panels. Traditional touch solutions can be broadly categorized by sensing method: resistive, capacitive, infrared, and ultrasonic. Currently, the vast majority of touch switches utilize capacitive touch technology. Capacitive touch is further divided into two detection methods: self-capacitance and mutual capacitance. These two methods differ in their principles and applications.
[0041] The principle of self-capacitive detection is shown in Figure 1. It uses an electrode, and the touch chip measures the capacitance Cx between the electrode and the ground. When a finger is placed on the touch switch, the capacitance measured by the touch chip increases. This self-capacitive sensing is most suitable for single-point touch sensors, such as buttons.
[0042] The mutual capacitance detection principle is shown in Figure 2. It uses two electrodes, one of which is called the transmitting electrode TX and the other is called the receiving electrode RX. The touch chip measures the capacitance Cx between the transmitting electrode TX and the receiving electrode RX. Specifically, the touch chip provides a digital voltage (signal switching between the power supply voltage VDD and the ground GND) to the transmitting electrode TX and measures the charge received on the receiving electrode RX. The charge received on the receiving electrode RX is proportional to the capacitance Cx between the two electrodes. When a finger is placed between the transmitting electrode TX and the receiving electrode RX, the capacitance Cx decreases, and the capacitance Cx and the charge received on the receiving electrode RX also decrease, so that the charge measured by the touch chip decreases. This mutual capacitance sensing is most suitable for multi-touch systems such as touch screens and touchpads.
[0043] However, the application of the above-mentioned touch switches on automotive exteriors is highly susceptible to environmental influences, resulting in frequent false triggering or touch failure of the touch switches. Specifically, the following situations may occur:
[0044] 1. The exterior of the vehicle and interior components near the windows are easily exposed to water droplets or water flow. In such scenarios, capacitive touch is prone to malfunction. For example, door handles, tailgate switches, and window lift switches are prone to misjudgment in rainy or car washing scenarios.
[0045] 2. Because the detection principle of capacitive touch is to detect the change in the dielectric constant of the surrounding environment in a short period of time through PAD (pad) to determine whether there is a touch action, it is easy to cause misjudgment when there is a low impedance object or an object with a dielectric constant similar to that of the human body (such as aluminum, iron, etc.) close to it.
[0046] 3. Because capacitive touch uses common-mode detection, and the capacitive detection electrode is similar to an antenna, it is easy to misunderstand power ripple and high-frequency noise interference. In particular, the anti-interference effect of radio frequency noise and noise on the power line and ground line in EMC (Electro Magnetic Compatibility) testing is poor.
[0047] In addition, there are pressure touch switches and pressure and capacitive touch switches. For pressure touch switches, when the car goes over a speed bump or vibrates for other reasons, the pressure touch switch senses pressure and causes false touches. For pressure and capacitive touch switches, there is a pressure sensor and a capacitor disk in the effective touch area. When flushing a lot of water, it is inevitable that the pressure value and the capacitor will be triggered at the same time, causing false touches.
[0048] Based on this, it is necessary to propose effective technical means to address the problem of the touch switch being easily affected by the environment. The following detailed description of the technical solution of this application and how it solves the above-mentioned technical problems is provided through specific embodiments. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. The following embodiments of this application are described in conjunction with the accompanying drawings.
[0049] In one embodiment, as shown in FIG3 , a touch control method is provided. This embodiment uses the method applied to a touch switch as an example for explanation. The touch switch includes: a substrate; a first sensor module and a second sensor module disposed in an active area and an auxiliary area of the substrate, respectively; and chips connected to the first sensor module and the second sensor module, respectively. The method includes the following steps 301, 302, and 303:
[0050] Step 301: Receive a first touch signal, where the first touch signal includes a first signal corresponding to an effective area of a touch key and a second signal corresponding to an auxiliary area of the touch key.
[0051] The touch button is a device belonging to a touch switch and includes a substrate. The first signal includes a first pressure signal and / or a first capacitance signal, and the second signal includes a second pressure signal and / or a second capacitance signal. The pressure signal indicates the pressure of an object (such as a finger) on the touch switch, while the capacitance signal indicates the capacitance between the object and the touch switch.
[0052] Optionally, the chip receives a first signal sent by a first sensor module and a second signal sent by a second sensor module. The first sensor module includes a first pressure sensor and / or a first capacitance sensor, the first pressure sensor being configured to send a first pressure signal, and the first capacitance sensor being configured to send a first capacitance signal; and the second sensor module includes a second pressure sensor and / or a second capacitance sensor, the second pressure sensor being configured to send a second pressure signal, and the second capacitance sensor being configured to send a second capacitance signal. Furthermore, there may be multiple second sensor modules, and the number of such modules is not limited herein.
[0053] Step 302: Determine whether the first signal is a valid signal, and determine whether the second signal is a valid signal.
[0054] Among them, determining whether the first signal is a valid signal includes: when the first signal only includes the first pressure signal, determining whether the first pressure signal is a valid signal, and if the first pressure signal is a valid signal, determining that the first signal is a valid signal; when the first signal only includes the first capacitance signal, determining whether the first capacitance signal is a valid signal, and if the first capacitance signal is a valid signal, determining that the first signal is a valid signal; when the first signal includes the first pressure signal and the first capacitance signal, determining whether the first pressure signal is a valid signal, and determining whether the first capacitance signal is a valid signal; if both the first pressure signal and the first capacitance signal are valid signals, determining that the first signal is a valid signal.
[0055] It is worth mentioning that the operating condition when the first signal only includes the first pressure signal is an implementation method in which the first sensor module is only provided with the first pressure sensor; the operating condition when the first signal only includes the first capacitance signal is an implementation method in which the first sensor module is only provided with the first capacitance sensor; the operating condition when the first signal includes the first pressure signal and the first capacitance signal is an implementation method in which the first sensor module is simultaneously provided with the first pressure sensor and the first capacitance sensor.
[0056] Optionally, determining whether the first pressure signal is a valid signal includes: determining whether the first pressure signal meets a first pressure threshold range; if so, the first pressure signal is a valid signal; if not, the first pressure signal is an invalid signal.
[0057] Determining whether the first capacitance signal is a valid signal includes: determining whether the first capacitance signal meets a first capacitance threshold range; if so, the first capacitance signal is a valid signal; if not, the first capacitance signal is an invalid signal.
[0058] Among them, determining whether the second signal is a valid signal includes: when the second signal only includes the second pressure signal, determining whether the second pressure signal is a valid signal, and if the second pressure signal is a valid signal, determining that the second signal is a valid signal; when the second signal only includes the second capacitance signal, determining whether the second capacitance signal is a valid signal, and if the second capacitance signal is a valid signal, determining that the second signal is a valid signal; when the second signal includes the second pressure signal and the second capacitance signal, determining whether the second pressure signal is a valid signal, and determining whether the second capacitance signal is a valid signal, and if both the second pressure signal and the second capacitance signal are valid signals, determining that the second signal is a valid signal; and, when the second signal includes the second pressure signal and the second capacitance signal, determining whether the second pressure signal is a valid signal, and determining whether the second capacitance signal is a valid signal, and if the second pressure signal is a valid signal and the second capacitance signal is an invalid signal, determining that the second signal is a valid signal.
[0059] It is worth mentioning that the operating condition when the second signal only includes the second pressure signal is an implementation method in which the second sensor module is only provided with a second pressure sensor; the operating condition when the second signal only includes the second capacitance signal is an implementation method in which the second sensor module is only provided with a second capacitance sensor; the operating condition when the second signal includes the second pressure signal and the second capacitance signal is an implementation method in which the second sensor module is simultaneously provided with a second pressure sensor and a second capacitance sensor.
[0060] Optionally, determining whether the second pressure signal is a valid signal includes: determining whether the second pressure signal meets the second pressure threshold range, or whether it is not 0; if so, the second pressure signal is a valid signal; if so, the second pressure signal is an invalid signal.
[0061] Determining whether the second capacitance signal is a valid signal includes: determining whether the second capacitance signal meets a second capacitance threshold range or is not 0; if so, the second capacitance signal is a valid signal; if not, determining that the second capacitance signal is an invalid signal.
[0062] Step 303: If the first signal is a valid signal and the second signal is an invalid signal, respond to the first touch signal.
[0063] Optionally, if the chip determines according to step 301 that the first signal is a valid signal and the second signal is an invalid signal, it sends a touch pressure valid signal to the vehicle host, or sends a touch pressure valid signal to the main control board, and then the main control board sends the touch pressure valid signal to the vehicle host.
[0064] The above-mentioned touch method, touch switch and switch module receive a first touch signal, which includes a first signal corresponding to the effective area of the touch key and a second signal corresponding to the auxiliary area of the touch key, and then determine whether the first signal is a valid signal and whether the second signal is a valid signal. If the first signal is a valid signal and the second signal is an invalid signal, the first touch signal is responded to. In this way, the touch switch is responded only when the signal in the effective area is valid and the signal in the auxiliary area is invalid. This can eliminate the influence of the environment on the touch switch, thereby improving the anti-interference performance of the touch switch.
[0065] In one embodiment, the first signal includes a first pressure signal and a first capacitance signal, and determining whether the first signal is a valid signal includes: determining whether the first pressure signal is a valid signal, and determining whether the first capacitance signal is a valid signal; if the first pressure signal and the first capacitance signal are both valid signals, determining that the first signal is a valid signal.
[0066] In this embodiment, compared with judging a single first pressure signal or a single first capacitance signal, when both the first pressure signal and the first capacitance signal are valid signals, the first signal is determined to be a valid signal, thereby further eliminating the influence of the environment on the touch switch, thereby improving the anti-interference performance of the touch switch.
[0067] In one embodiment, the second signal includes a second pressure signal and a second capacitance signal, and determining whether the second signal is a valid signal includes: determining whether the second pressure signal is a valid signal, and determining whether the second capacitance signal is a valid signal; if the second pressure signal and the second capacitance signal are both valid signals, or the second pressure signal is a valid signal and the second capacitance signal is an invalid signal, then determining that the second signal is a valid signal.
[0068] In this embodiment, when the second pressure signal and the second capacitance signal are both valid signals or when the second pressure signal is a valid signal and the second capacitance signal is an invalid signal, the second signal is determined to be a valid signal. That is to say, except for this case, the second signal is an invalid signal in other cases. This can avoid the situation where the touch switch does not respond when it is pressed on a rainy day.
[0069] To facilitate understanding of the present application, the above touch control method is described below by way of example.
[0070] Figure 4 shows a schematic diagram of the arrangement of capacitive sensors and pressure sensors, where P represents a capacitive sensor and T represents a pressure sensor. Positions A, B, C, and D represent the sensor locations, respectively. Position A is the active area, where one capacitive sensor and one pressure sensor are located. Positions B, C, and D are auxiliary areas, where at least one capacitive sensor and one pressure sensor are located. The at least one capacitive sensor and one pressure sensor can be arranged regularly or irregularly, for example, positions B, C, and D each contain one capacitive sensor and one pressure sensor.
[0071] The capacitance sensor and pressure sensor in the effective area are represented by P1 and T1 respectively, and the capacitance sensor and pressure sensor in the auxiliary area are represented by P2 and T2 respectively. When the pressure signal sent by the pressure sensor is a valid signal, it is represented by 1, and when it is an invalid signal, it is represented by 0. Similarly, when the capacitance signal sent by the capacitance sensor is a valid signal, it is represented by 1, and when it is an invalid signal, it is represented by 0.
[0072] The pressure signal is determined to be valid or invalid by using a pressure threshold range. For example, if the pressure signal is greater than or equal to 4 Newtons and less than or equal to 8 Newtons, the pressure signal is valid. If the pressure signal is less than 4 Newtons or greater than 8 Newtons, the pressure signal is invalid. Similarly, the capacitance signal can be determined to be valid or invalid by using a capacitance threshold range.
[0073] When dual pressure and dual capacitance are used, there is a capacitive sensor and a pressure sensor in the active area, and a capacitive sensor and a pressure sensor in the auxiliary area. The touch logic is as follows:
[0074] 1) T1=0, touch pressure is invalid
[0075] When the pressure signal corresponding to the pressure sensor in the effective area is an invalid signal, even if P1=1, P2=0, and T2=0, this trigger is still determined to be an invalid trigger, and the touch switch does not respond, that is, does not output a touch pressure valid signal.
[0076] 2) P1=0, touch pressure is invalid
[0077] When the capacitance signal corresponding to the capacitance sensor in the effective area is an invalid signal, even if T1=1, P2=0, and T2=0, this type of trigger is still determined to be an invalid trigger, and the touch switch does not output a touch-press valid signal.
[0078] 3) T1=1,P1=1,T2=0,P2=0,touch and pressure are effective
[0079] When only the pressure signal corresponding to the pressure sensor in the effective area and the capacitance signal corresponding to the capacitance sensor are valid signals, the trigger is determined to be a valid trigger, and the touch switch responds, that is, outputs a touch pressure valid signal.
[0080] 4) T1=1, P1=1, T2=1, P2=1, touch and pressure are invalid
[0081] When the pressure signals and capacitance signals corresponding to the effective area and the auxiliary area are all valid signals, it means that this is caused by a scene such as car washing, and the trigger is determined to be an invalid trigger, and the touch switch does not output a valid touch pressure signal.
[0082] 5) T1=1,P1=1,T2=0,P2=1,touch and pressure are effective
[0083] When the pressure signal and capacitance signal in the effective area are both valid signals, the pressure signal in the auxiliary area is an invalid signal, and the capacitance signal is a valid signal, the trigger is determined to be a valid trigger, and the touch switch outputs a touch-pressure valid signal. Based on this touch logic, it can avoid the situation where the user touches the effective area and the touch switch cannot be effectively triggered when the capacitance signal is continuously output in the auxiliary area (for example, there are interferences such as water droplets), such as the situation where the vehicle cannot be unlocked on a rainy day.
[0084] 6) T1=1, P1=1, T2=1, P2=0, touch and pressure are invalid
[0085] When the pressure signal corresponding to the pressure sensor in the auxiliary area is a valid signal, it means that it is caused by scenes such as car washing or heavy rain. Even if T1=1 and P1=1, this type of trigger is still determined to be an invalid trigger, and the touch switch does not output a valid touch pressure signal.
[0086] Based on the above touch control logic, the touch switch responds only under the following conditions: the pressure signal corresponding to the pressure sensor in the active area and the capacitance signal corresponding to the capacitance sensor are both valid signals, while the pressure signal corresponding to the pressure sensor in the auxiliary area and the capacitance signal are both invalid signals; or the pressure signal corresponding to the pressure sensor in the active area and the capacitance signal corresponding to the capacitance sensor are both valid signals, while the pressure signal corresponding to the pressure sensor in the auxiliary area is invalid and the capacitance sensor is a valid signal. This eliminates invalid touch pressures on the touch switch caused by other environmental factors, thereby improving the touch switch's anti-interference performance.
[0087] In one embodiment, if the first signal is a valid signal and the second signal is an invalid signal, responding to the first touch signal includes: if the first signal is a valid signal and the second signal is an invalid signal, receiving the pressure signal and capacitance signal corresponding to the valid area at an interval of a first preset time, determining whether the pressure signal is a valid signal, and determining whether the capacitance signal is a valid signal; if both the pressure signal and the capacitance signal are valid signals, responding to the first touch signal.
[0088] Optionally, after determining that the first signal is valid and the second signal is invalid, the chip recollects the pressure signal from the first pressure sensor and the capacitance signal from the first capacitance sensor in the valid area after a first preset time interval. If the pressure signal and the capacitance signal meet the pressure threshold range, indicating a normal touch-and-press operation rather than an accidental touch, the chip sends a touch-and-press valid signal to the main control board. The first preset time interval may be, for example, 5ms.
[0089] In this embodiment, when the first signal is a valid signal and the second signal is an invalid signal, after a first preset time interval, it is determined whether the pressure signal and capacitance signal corresponding to the valid area are valid, so as to further determine whether the touch switch is accidentally touched. This de-jitter method can filter out interference caused by environments such as car washing and rain.
[0090] In one embodiment, the touch method further includes: determining whether the first signal is a valid signal, and determining whether the second touch signal is received within a second preset time period before the second signal is a valid signal; if not, executing the steps of determining whether the first signal is a valid signal, and determining whether the second signal is a valid signal.
[0091] For specific usage scenarios of touch switches, such as car door locks, it is unlikely that there will be continuous door opening operations within 3 seconds. Therefore, after receiving the first touch signal, the chip does not first execute the steps of determining whether the first signal is a valid signal and determining whether the second signal is a valid signal. Instead, it first determines whether the first signal is a valid signal and whether the second touch signal is received within 3 seconds before determining whether the second signal is a valid signal; if so, there is no need to execute the steps of determining whether the first signal is a valid signal and determining whether the second signal is a valid signal; if not, the steps of determining whether the first signal is a valid signal and determining whether the second signal is a valid signal are executed.
[0092] In this embodiment, whether the second touch signal is received within the second preset time period is determined to determine whether the first touch signal is a continuously input signal. If so, no processing is performed, thereby further improving the anti-interference performance of the touch switch.
[0093] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above can include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.
[0094] Based on the same inventive concept, the present application also provides a touch switch for implementing the aforementioned touch control method. The solution provided by this device is similar to the solution described in the aforementioned method. Therefore, the specific limitations of one or more touch switch embodiments provided below can be found in the above-mentioned limitations of the touch control method and will not be further elaborated here.
[0095] In one embodiment, the present application also provides a touch switch, which includes: a substrate; a first sensor module and a second sensor module respectively arranged in an effective area and an auxiliary area on the substrate; a chip, the chip being connected to the first sensor module and the second sensor module respectively, and the chip being used to receive a first signal sent by the first sensor module and a second signal sent by the second sensor module, determine whether the first signal is a valid signal, and determine whether the second signal is a valid signal, and if the first signal is a valid signal and the second signal is an invalid signal, respond to the first touch signal.
[0096] Optionally, the first sensor module includes a first pressure sensor and a first capacitance sensor; a chip is used to receive a first pressure signal sent by the first pressure sensor and a first capacitance signal sent by the first capacitance sensor, determine whether the first pressure signal is a valid signal, and determine whether the first capacitance signal is a valid signal. If both the first pressure signal and the first capacitance signal are valid signals, the first signal is determined to be a valid signal.
[0097] The second sensor module includes a second pressure sensor and a second capacitance sensor; a chip, used to receive a second pressure signal sent by the second pressure sensor and a second capacitance signal sent by the second capacitance sensor, determine whether the second pressure signal is a valid signal, and determine whether the second capacitance signal is a valid signal; if the second pressure signal and the second capacitance signal are both valid signals, or the second pressure signal is a valid signal and the second capacitance signal is an invalid signal, then the second signal is determined to be a valid signal.
[0098] In one embodiment, the touch switch further includes a first resistor and / or a second resistor; when the touch switch only includes the first resistor, the first resistor is arranged between the chip and the first sensor module; when the touch switch only includes the second resistor, the second resistor is arranged between the chip and the second sensor module; when the touch switch includes the first resistor and the second resistor, the first resistor is arranged between the chip and the first sensor module, and the second resistor is arranged between the chip and the second sensor module.
[0099] Preferably, the touch switch includes a first resistor and a second resistor, the first resistor is arranged between the chip and the first sensor module, and the second resistor is arranged between the chip and the second sensor module.
[0100] A ground layer with a grid structure is arranged between the substrate and the first sensor module, and a ground layer with a grid structure is arranged between the substrate and the second sensor module; or a ground layer with a grid structure is arranged between the substrate and the first sensor module, and no ground layer with a grid structure is arranged between the substrate and the second sensor module; or no ground layer with a grid structure is arranged between the substrate and the first sensor module, and a ground layer with a grid structure is arranged between the substrate and the second sensor module.
[0101] Preferably, a ground layer with a grid structure is provided between the substrate and the first sensor module, and a ground layer with a grid structure is provided between the substrate and the second sensor module.
[0102] The ground layer of the grid structure is arranged around the outside of the first sensor module, and the ground layer of the grid structure is arranged around the outside of the second sensor module; or, the ground layer of the grid structure is arranged around the outside of the first sensor module, and the ground layer of the grid structure is not arranged around the outside of the second sensor module; or, the ground layer of the grid structure is not arranged around the outside of the first sensor module, and the ground layer of the grid structure is arranged around the outside of the second sensor module.
[0103] Preferably, the ground layer of the grid structure is disposed around the outside of the first sensor module, and the ground layer of the grid structure is disposed around the outside of the second sensor module.
[0104] The first resistor and the second resistor may each be a series resistor formed by connecting multiple resistors in series. The substrate may be a PCB (Printed Circuit Board). The grid-structured ground layer refers to a grid structure filled with traces, and the trace width may be set to approximately 8 mils.
[0105] Optionally, as shown in FIG5 , a schematic diagram of a touch switch is provided, in which pin 1 of the chip is connected to a first capacitive sensor P via a series resistor R, and the series resistor R is provided close to pin 1 of the chip. The connection line between the chip and the first capacitive sensor P is less than a preset length.
[0106] A grid-structured ground layer is provided on the bottom layer of the PCB below the first capacitive sensor P, as shown by the gray grid lines in FIG5 . Meanwhile, a solid ground layer is used for other circuit parts away from the first capacitive sensor P and the traces.
[0107] The first capacitive sensor P is surrounded by a grid-structured ground layer, as shown by the thicker black grid lines in Figure 5. The grid-structured ground layer surrounding the first capacitive sensor P can be closed or open, with the closed type being used as an example in Figure 5.
[0108] In this embodiment, the touch switch has the following advantages:
[0109] 1) Reducing the length of the connection line between the chip and the first capacitive sensor can reduce noise interference and improve the signal-to-noise ratio.
[0110] 2) A series resistor is placed between the chip and the first capacitive sensor to form a low-pass RC (resistor-capacitance) filter, thereby reducing the amplitude of RF noise coupled to the chip. In addition, the series resistor is placed close to the chip pins to filter out radiated noise caused by the wiring at the chip input.
[0111] 3) Providing a grid-structured ground layer on the bottom PCB layer below the first capacitive sensor, as well as a grid-structured ground layer around the first capacitive sensor, while also using a solid ground layer in other circuitry away from the first capacitive sensor and traces, can reduce RF radiation and interference, thereby minimizing noise interference with the capacitive signal. Furthermore, setting the trace thickness to 8 mils further minimizes noise interference with the capacitive signal.
[0112] In one embodiment, as shown in Figure 6, the present application also provides a schematic diagram of a switch module, which includes a main control board, a linear motor and the touch switch described in any of the above-mentioned touch switch embodiments; the main control board is connected to the linear motor and the touch switch respectively; the touch switch sends a touch pressure valid signal to the main control board in response to the first touch signal; the main control board controls the vibration of the linear motor based on the touch pressure valid signal.
[0113] Optionally, the switch module further includes a lamp bead module, a LIN (Local Interconnect Network) communication interface and a linear interface.
[0114] Among them, the main control board is the data processing center; the linear motor is for vibration feedback; the lamp bead module is for light language feedback; the LIN communication interface is a software interface, which is the information interaction interface between the switch module and the vehicle host; the linear interface is a hardware interface, which is the switch signal interaction interface between the switch module and the vehicle host.
[0115] The working principle of the switch module is as follows:
[0116] 1) When a finger presses the touch switch, the main control board receives the effective touch signal sent by the touch switch, controls the linear motor to vibrate, controls the lamp module to output the corresponding light indication, and sends a LIN command to the vehicle host to notify the vehicle host that a key has been pressed.
[0117] 2) The vehicle host sends a sleep command through the LIN communication interface. After the main control board receives the sleep command, the lamp module goes out, the linear motor function and the touch switch function are turned off, and all pins of the main control board enter low power mode.
[0118] 3) The vehicle host sends a wake-up command through the LIN communication interface. After the main control board receives the wake-up command, the lamp bead module lights up, the linear motor function and the touch switch function are enabled, and all pins of the main control board enter the working mode.
[0119] Based on the same inventive concept, embodiments of the present application further provide a touch device for implementing the aforementioned touch method. The solution provided by this device is similar to the solution described in the aforementioned method. Therefore, the specific limitations of one or more touch device embodiments provided below can be found in the above-described limitations of the touch method and will not be further elaborated here.
[0120] In one embodiment, as shown in FIG7 , a touch control device is provided. The touch control device 700 includes: a receiving module 701 , a judging module 702 , and a responding module 703 , wherein:
[0121] The receiving module 701 is configured to receive a first touch signal, where the first touch signal includes a first signal corresponding to an effective area of the touch key and a second signal corresponding to an auxiliary area of the touch key.
[0122] The judgment module 702 is configured to determine whether the first signal is a valid signal and whether the second signal is a valid signal.
[0123] The response module 703 is configured to respond to the first touch signal if the first signal is a valid signal and the second signal is an invalid signal.
[0124] In one embodiment, the first signal includes a first pressure signal and a first capacitance signal, and the judgment module 702 is specifically used to determine whether the first pressure signal is a valid signal and whether the first capacitance signal is a valid signal; if the first pressure signal and the first capacitance signal are both valid signals, the first signal is determined to be a valid signal.
[0125] In one embodiment, the second signal includes a second pressure signal and a second capacitance signal, and the judgment module 702 is specifically used to determine whether the second pressure signal is a valid signal and whether the second capacitance signal is a valid signal; if the second pressure signal and the second capacitance signal are both valid signals, or the second pressure signal is a valid signal and the second capacitance signal is an invalid signal, then the second signal is determined to be a valid signal.
[0126] In one embodiment, the response module 703 is specifically used to receive the pressure signal and capacitance signal corresponding to the valid area at an interval of a first preset time if the first signal is a valid signal and the second signal is an invalid signal, determine whether the pressure signal is a valid signal, and determine whether the capacitance signal is a valid signal; if both the pressure signal and the capacitance signal are valid signals, respond to the first touch signal.
[0127] In one embodiment, the judgment module 702 is further used to determine whether the first signal is a valid signal and whether a second touch signal is received within a second preset time period before determining whether the second signal is a valid signal; if not, executing the steps of determining whether the first signal is a valid signal and determining whether the second signal is a valid signal.
[0128] Each module in the aforementioned touch control device can be implemented in whole or in part through software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in the computer device in the form of software, so that the processor can call and execute the corresponding operations of each module.
[0129] In one embodiment, a chip is provided, and Figure 8 is a schematic structural diagram of the chip according to the embodiment of the present application. The chip 800 shown in Figure 8 includes a processor 801, which can call and run a computer program from a memory to implement the method according to the embodiment of the present application.
[0130] Optionally, as shown in FIG8 , the chip 800 may further include a memory 802. The processor 801 may call and execute computer programs from the memory 802 to implement the methods of the embodiments of the present application. The memory 802 may be a separate device independent of the processor 801 or may be integrated into the processor 801.
[0131] Optionally, the chip 800 may further include an input interface 803. The processor 801 may control the input interface 803 to communicate with other devices or chips, specifically, to obtain information or data sent by other devices or chips. Optionally, the chip 800 may further include an output interface 804. The processor 801 may control the output interface 804 to communicate with other devices or chips, specifically, to output information or data to other devices or chips.
[0132] Optionally, the chip 800 can be applied to the communication device in the embodiment of the present application, and the chip 800 can implement the corresponding processes implemented by the communication device in each method of the embodiment of the present application. For the sake of brevity, they will not be repeated here.
[0133] It should be understood that the chip 800 mentioned in the embodiments of the present application can also be referred to as a system-on-chip, a system-on-chip, a chip system, or a system-on-chip chip. It should be understood that the processor in the embodiments of the present application may be an integrated circuit chip with signal processing capabilities. During implementation, the steps of the above method embodiments can be completed by hardware integrated logic circuits in the processor or by software instructions. The above processor can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The methods, steps, and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of the present application can be directly implemented as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium mature in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, registers, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0134] In an exemplary embodiment, a computer device is provided, which may be a touch switch, and its internal structure diagram may be shown in Figure 9. The computer device includes a processor, memory, an input / output interface, a communication interface, and an input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal via wired or wireless communication, and the wireless communication may be implemented via Wi-Fi, a mobile cellular network, NFC (near field communication), or other technologies. When the computer program is executed by the processor, it implements a touch control method.
[0135] Those skilled in the art will understand that the structure shown in FIG9 is merely a block diagram of a portion of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0136] In an exemplary embodiment, a computer device is provided, including a memory and a processor. The memory stores a computer program, and the processor implements the steps described in any of the above touch method embodiments when executing the computer program.
[0137] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps described in any of the above touch method embodiments are implemented.
[0138] In one embodiment, a computer program product is provided, including a computer program. When the computer program is executed by a processor, the steps described in any one of the above touch method embodiments are implemented.
[0139] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processor involved in the various embodiments provided herein may be, but are not limited to, a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, and the like.
[0140] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0141] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.
Claims
1. A touch control method, characterized in that, The touch method includes: Receiving a first touch signal, where the first touch signal includes a first signal corresponding to an effective area in a touch button and a second signal corresponding to an auxiliary area in the touch button; Determining whether the first signal is a valid signal and determining whether the second signal is a valid signal; If the first signal is a valid signal and the second signal is an invalid signal, then responding to the first touch signal.
2. The method according to claim 1, characterized in that, The first signal includes a first pressure signal and a first capacitance signal. Determining whether the first signal is a valid signal includes: Determining whether the first pressure signal is a valid signal and determining whether the first capacitance signal is a valid signal; If both the first pressure signal and the first capacitance signal are valid signals, then determining that the first signal is a valid signal.
3. The method according to claim 1 or 2, wherein The second signal includes a second pressure signal and a second capacitance signal. Determining whether the second signal is a valid signal includes: Determining whether the second pressure signal is a valid signal and determining whether the second capacitance signal is a valid signal; If both the second pressure signal and the second capacitance signal are valid signals, or the second pressure signal is a valid signal and the second capacitance signal is an invalid signal, then determining that the second signal is a valid signal.
4. The method according to claim 1, characterized in that, The step of "if the first signal is a valid signal and the second signal is an invalid signal, then responding to the first touch signal" includes: If the first signal is a valid signal and the second signal is an invalid signal, then after an interval of a first preset duration, receiving a pressure signal and a capacitance signal corresponding to the effective area, determining whether the pressure signal is a valid signal and determining whether the capacitance signal is a valid signal. If both the pressure signal and the capacitance signal are valid signals, then responding to the first touch signal.
5. The method according to claim 1, wherein The method further includes: Determining whether a second touch signal is received within a second preset duration before determining whether the first signal is a valid signal and determining whether the second signal is a valid signal; If not, then performing the step of determining whether the first signal is a valid signal and determining whether the second signal is a valid signal.
6. A touch switch, characterized in that, The touch switch includes: A substrate; A first sensor module and a second sensor module respectively disposed on the effective area and the auxiliary area of the substrate; A chip, where the chip is respectively connected to the first sensor module and the second sensor module. The chip is configured to receive the first signal sent by the first sensor module and the second signal sent by the second sensor module, determine whether the first signal is a valid signal and determine whether the second signal is a valid signal. If the first signal is a valid signal and the second signal is an invalid signal, then responding to the first touch signal.
7. The touch switch according to claim 6, characterized in that, The first sensor module includes a first pressure sensor and a first capacitance sensor; The chip is configured to receive a first pressure signal sent by the first pressure sensor and a first capacitance signal sent by the first capacitance sensor, determine whether the first pressure signal is a valid signal, and determine whether the first capacitance signal is a valid signal. If both the first pressure signal and the first capacitance signal are valid signals, then determine that the first signal is a valid signal.
8. The touch switch according to claim 6, characterized in that, The second sensor module includes a second pressure sensor and a second capacitance sensor; The chip is configured to receive a second pressure signal sent by the second pressure sensor and a second capacitance signal sent by the second capacitance sensor, determine whether the second pressure signal is a valid signal, and determine whether the second capacitance signal is a valid signal. If both the second pressure signal and the second capacitance signal are valid signals, or, the second pressure signal is a valid signal and the second capacitance signal is an invalid signal, then determine that the second signal is a valid signal.
9. The touch switch according to claim 6, wherein The touch switch further includes a first resistor and / or a second resistor; When the touch switch only includes the first resistor, the first resistor is disposed between the chip and the first sensor module; When the touch switch only includes the second resistor, the second resistor is disposed between the chip and the second sensor module; When the touch switch includes the first resistor and the second resistor, the first resistor is disposed between the chip and the first sensor module, and the second resistor is disposed between the chip and the second sensor module.
10. The touch switch according to claim 6, characterized in that, A ground layer with a grid structure is disposed between the substrate and the first sensor module, and / or, a ground layer with a grid structure is disposed between the substrate and the second sensor module.
11. The touch switch according to claim 6, characterized in that, The ground layer with a grid structure is disposed around the outside of the first sensor module, and / or, the ground layer with a grid structure is disposed around the outside of the second sensor module.
12. A switch module, characterized in that, The switch module includes a main control board, a linear motor, and the touch switch according to any one of claims 6 to 11; the main control board is respectively connected to the linear motor and the touch switch; The touch switch sends a touch pressure valid signal to the main control board in response to a first touch signal; The main control board controls the linear motor to vibrate based on the touch pressure valid signal.
Citation Information
Patent Citations
Electronic equipment and key function calling method and device
CN111756913A
Method and device for preventing false triggering of touch switch, electronic equipment and storage medium
CN115296654A
Touch interaction method, device and circuit, computer equipment and storage medium
CN116009754A
Vehicle gear control method, system and device and computer equipment
CN116906560A
Touch control method, touch control switch and switch module
CN117971073A