Method for setting sampling frequency of capacitive touch switch

By identifying and avoiding key aliasing effects in capacitive touch switches and setting a suitable sampling frequency, the problem of incorrect detection of capacitive touch switches when detecting user manipulation is solved and the accuracy and reliability of detection are improved.

CN114270708BActive Publication Date: 2024-09-03DIEHL AKO STIFTUNG & CO KG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980099200.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-10-08
Publication Date
2024-09-03
Estimated Expiration
2039-10-08

AI Technical Summary

Technical Problem

Capacitive touch switches are susceptible to noise and interference signals when detecting user manipulation, leading to false detections.

Method used

By detecting the measurement signal of the sensor circuit, identify and avoid critical aliasing effects, set a suitable sampling frequency to improve the signal-to-noise ratio and reduce the possibility of false detection. The method involves creating and converting amplitude-time-plots to amplitude-frequency-plots, identifying and evaluating peaks to determine whether critical aliasing effects are present, and adjusting the sampling frequency according to their type.

Benefits of technology

It effectively reduces the possibility of false detection, improves the accuracy and reliability of capacitive touch switches, avoids the aliasing effect caused by noise signals, and ensures the correct identification of touch switch operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114270708B
    Figure CN114270708B
Patent Text Reader

Abstract

In order to operate a capacitive touch switch (10) having a capacitive sensor element (12) and a sensor circuit (14), it is proposed that a sampling frequency (S10) with a good signal-to-noise ratio of the capacitive touch switch (10) is first set and then the capacitive touch switch (10) is operated at the set sampling frequency to detect switch actuation (S20). According to the invention, setting the sampling frequency includes: operating (S102) the touch switch (10) using a first measurement method and at a selected sampling frequency; detecting (S104) a measurement signal of the sensor circuit (14); and checking (S106-110) whether the detected measurement signal contains or may contain a critical aliasing effect. If no critical aliasing effect and no possibility of a critical aliasing effect are detected in the check (S106-110), the sampling frequency can be set to the selected frequency for the detection operation (S20) of the touch switch (10).
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a method for setting a sampling frequency of a capacitive touch switch and an operating method of a capacitive touch switch using the sampling frequency setting method. Background Art

[0002] In many electrical devices, especially also in household devices such as stoves, cookers, microwave ovens, dishwashers, laundry processing equipment, etc., touch switches are used more and more frequently, which trigger a specific switching process (so-called touch control) by a simple touch of the user. In the case of a capacitive touch switch, the capacitive sensor element forms a capacitance with the user's finger through the touch area as a dielectric, which capacitance is variable depending on the manipulation of the touch switch, that is, the touch or non-touch of the touch area assigned to the capacitive sensor element. The change in the capacitance of the capacitive sensor element due to the user's touch affects the output signal of the sensor circuit accordingly, and the output signal is evaluated by the connected control unit with the evaluation circuit as the manipulation of the capacitive touch switch. However, in the case of a capacitive touch switch, the capacitive sensor element may also record interference or noise, which may lead to erroneous detection of the switch manipulation when evaluating the output signal of the sensor circuit. Summary of the invention

[0003] The object of the present invention is to provide a measure for improving the operation of a capacitive touch switch, by means of which the probability of an erroneous detection of a switch actuation can be reduced.

[0004] This object is achieved by the teaching of the present invention.

[0005] According to the present invention, a method for setting a sampling frequency of a capacitive touch switch having a capacitive sensor element and a sensor circuit is proposed, the method comprising:

[0006] - operating the touch switch using a first measurement mode and at a sampling frequency selected from an available sampling frequency group;

[0007] - Detection of measurement signals from sensor circuits;

[0008] - Check whether the detected measurement signal contains or may contain critical aliasing effects; and

[0009] If no critical aliasing effect is identified during the check and no possibility of a critical aliasing effect is identified, setting the sampling frequency to the selected frequency for a detection operation of the touch switch.

[0010] With this method, a sampling frequency with a good signal-to-noise ratio can be selected and set for a capacitive touch switch. A sampling frequency set in this way avoids aliasing effects in the measurement signal of the sensor circuit, which are caused in particular by noise signal frequencies and are critical in the evaluation of the measurement signal, that is, are not recognized as such aliasing effects.

[0011] By avoiding such critical aliasing effects, the risk that the evaluation of the measurement signal leads to an erroneous recognition of an actuation of the touch switch can be reduced. However, uncritical aliasing effects (because they can be reliably recognized as such, for example) do not necessarily have to be avoided when evaluating the measurement signal at the set sampling frequency.

[0012] In the method according to the invention, it is not only checked whether the measurement signal actually contains aliasing effects, i.e. whether aliasing effects can be detected in the measurement signal, but also whether the measurement signal may contain aliasing effects, i.e. whether aliasing effects may be present, although they cannot be detected in the measurement signal. This increases the safety that the sampling frequency set for the detection operation of the touch switch avoids critical, i.e. undetectable, aliasing effects, thereby reducing the probability of erroneous detection of switch actuation.

[0013] In the design of the present invention, the detection of the measurement signal includes creating an amplitude-time-diagram and checking whether the detected measurement signal contains critical aliasing effects or may contain critical aliasing effects, converting the created amplitude-time-diagram into an amplitude-frequency-diagram, and checking whether the amplitude-frequency-diagram contains peaks. Preferably, the detected amplitude-time-diagram is converted into an amplitude-frequency-diagram by means of a fast Fourier transform (FFT).

[0014] In the design of the present invention, if an aliasing effect is identified when checking whether the detected measurement signal contains a critical aliasing effect or may contain a critical aliasing effect, it is further checked whether the identified aliasing effect is critical in the detection operation of the touch switch and should therefore be excluded. Depending on the type of aliasing effect that occurs, the aliasing effect may be critical or non-critical for evaluating the measurement signal. Since the touch of the capacitive touch switch generates low-frequency signals, low-frequency aliasing effects are critical because they cannot be identified as noise, while high-frequency aliasing effects can be identified as noise or filtered out in the evaluation of the measurement signal.

[0015] In the above-described embodiment, which includes converting the created amplitude-time diagram into an amplitude-frequency diagram, checking whether the aliasing effect detected in the detection operation of the touch switch is critical preferably includes comparing the frequency of the peak detected in the amplitude-frequency diagram with a threshold value. The threshold value is, for example, a preset frequency value or half of the corresponding sampling frequency.

[0016] Furthermore, in the above-described design scheme including converting the created amplitude-time-diagram into an amplitude-frequency-diagram, if no peak is identified when checking whether the amplitude-frequency-diagram contains a peak, the sampling frequency is not set to the selected frequency. If no peak is identified at all in the amplitude-frequency-diagram of the measurement result, there may be no aliasing effect, but there is also the possibility that there is an aliasing effect at a very low frequency, wherein a peak at a frequency close to zero in the amplitude-frequency-diagram cannot be identified. Since such low-frequency aliasing effects will be critical in the detection operation of the touch switch, since such low-frequency aliasing effects cannot be identified as such, it is assumed in this case for the sake of caution that a critical aliasing effect may exist at the sampling frequency of the test, and therefore the sampling frequency is not set to the selected frequency without prior consideration.

[0017] In the design of the present invention, the following steps are repeated for a plurality of different sampling frequencies: operating the touch switch, detecting the measurement signal of the sensor circuit, and checking the measurement signal; and the following sampling frequency among the plurality of sampling frequencies is set as the selection frequency, at which neither the critical aliasing effect nor the possibility of the critical aliasing effect is identified when checking the measurement signal of the sampling frequency. If neither the critical aliasing effect nor the possibility of the critical aliasing effect is identified when checking the measurement signals of the plurality of sampling frequencies, the sampling frequency that is most suitable as the selection frequency among the plurality of sampling frequencies is set as the selection frequency. For example, the sampling frequency is better suited to the selection frequency of the detection operation of the touch switch, if the aliasing effect occurs at a higher frequency, because the aliasing effect can be better / easier / more reliably identified than the low-frequency signal generated by touching the capacitive touch switch.

[0018] Preferably, the first measurement mode when operating the touch switch is selected from a measurement mode with a charge-charge cycle or a discharge-discharge cycle. The terms "charge-charge cycle" and "discharge-discharge cycle" refer to the time points at which the measurement signal is detected during the charging or discharging of the capacitance formed by the capacitive sensor element through the sensor circuit.

[0019] The operating method of the capacitive touch switch according to the present invention includes: setting the sampling frequency of the capacitive touch switch according to the present invention as described above, and operating the capacitive touch switch with the sampling frequency set in this way to detect switch manipulation.

[0020] The sampling frequency of the capacitive touch switch may be set during an initialization process when the capacitive touch switch starts to operate for the first time and / or may be set periodically during the operation of the capacitive touch switch.

[0021] In the design of the present invention, a second measurement method different from the first measurement method (in the sampling frequency setting method) is used to perform the operation of the touch switch to detect the switch operation. Preferably, the second measurement method is selected from a measurement method with a charge-discharge cycle or a discharge-charge cycle. The terms "charge-discharge cycle" and "discharge-charge cycle" refer to the time point at which the measurement signal is detected during the charging or discharging of the capacitance formed by the capacitive sensor element through the sensor circuit.

[0022] According to another aspect of the present invention, the capacitive touch switch according to the present invention has a capacitive sensor element, a sensor circuit connected to the capacitive sensor element, and a control unit connected to the sensor circuit for controlling the sensor circuit, wherein the control unit is designed to implement the above-mentioned operating method of the present invention and / or the above-mentioned method for setting the sampling frequency of the capacitive touch switch according to the present invention.

[0023] The capacitive touch switch of the present invention can be used in an advantageous manner in operating devices, in particular in electronic household appliances, such as stoves, ovens, dishwashers, laundry processing appliances, and the like. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The above-mentioned features and other features and advantages of the present invention are better understood from the following description of preferred, non-limiting embodiments with the aid of the accompanying drawings. Here, partially schematically shown:

[0025] Figure 1 The structure of the capacitive touch switch according to the present invention is shown;

[0026] Figure 2 A flow chart showing an operating method of a capacitive touch switch according to an embodiment of the present invention;

[0027] Figure 3 A flow chart showing a method for setting a sampling frequency of a capacitive touch switch according to an embodiment of the present invention; and

[0028] FIG. 4 shows exemplary amplitude-time and amplitude-frequency diagrams for a detected measurement signal at different sampling frequencies. DETAILED DESCRIPTION

[0029] exist Figure 1 Detailed description of the invention The basic structure of a capacitive touch switch is first shown in a very simplified manner.

[0030] The capacitive touch switch 10 has in particular a capacitive sensor element 12, for example in the form of an electrode, which forms a capacitor together with, for example, a finger of a user and a touch area (for example, an operating panel) between them that serves as a dielectric, and the capacitance of which is variable depending on the actuation of the touch switch 10 (i.e., touching or not touching the touch area assigned to the capacitive sensor element 12). The capacitive sensor element 12 is connected to a sensor circuit 14, which detects a change in capacitance on the sensor element, for example, during a charging or discharging phase of the capacitor.

[0031] The control unit 16 is connected to the sensor circuit 14. The control unit 16 controls the sensor circuit 14, for example, to switch the sensor circuit on or off and to predetermine a sampling frequency for detecting a capacitance change for the sensor circuit. The measurement signal detected by the sensor circuit 14 is transmitted to the control unit 16, which evaluates the measurement signal to recognize a touch or no touch of the touch area on the capacitive sensor element 12 by a user.

[0032] Figure 2 The sequence of the operating method according to the invention for such a capacitive touch switch 10 is shown.

[0033] First, in step S10, an appropriate sampling frequency is set for the sensor circuit 14 of the touch switch 10, which provides a good signal-to-noise ratio and avoids critical aliasing effects caused by noise signals. Then, the capacitive touch switch 10 is operated at the sampling frequency determined in step S10 (step S20) to detect the user's manipulation of the switch. When the operating duration T of the touch switch 10 exceeds the preset limit value Tx ("Yes" in step S22), step S10 is repeated. In other words, the sampling frequency is set periodically and repeatedly at a time interval Tx. This is advantageous because the noise signal may change over time and the sampling frequency is adapted accordingly. The step S10 of setting the sampling frequency is also preferably performed during the initialization process when the touch switch 10 starts to operate.

[0034] Figure 3 An embodiment of the setting method of step S10 is shown by way of example.

[0035] In the setting method S10, the touch switch 10 or its sensor circuit 14 is first operated at a first sampling frequency (number x) and using a first measuring method A in step S102. The first sampling frequency number x is selected from the available sampling frequency group; the first sampling frequency number x is, for example, 111 kHz. The first measuring method A is preferably a measuring method with a charge-charge cycle or a measuring method with a discharge-discharge cycle. Then, in step S104, the corresponding measurement signal is detected by the sensor circuit 14 over a predetermined duration (for example 64 measurements), and the corresponding amplitude-time diagram is created by the control unit 16, such as as Figure 4A and Figure 4B As shown in the above figure.

[0036] Then, the control unit 16 converts the created amplitude-time-diagram into an amplitude-frequency-diagram by means of a fast Fourier transformation (FFT) in step S106 , such as Figure 4A and Figure 4B Then, the control unit 16 checks in step S108 whether the amplitude-frequency diagram contains a peak. Such a peak is caused by the aliasing effect generated by the noise signal.

[0037] If the control unit 16 identifies a peak in the amplitude-frequency diagram ("Yes" in S108), the control unit checks in step S110 whether the peak is in the critical area. For example, the control unit 16 checks whether the frequency fp of the peak is lower than a predetermined threshold fs. The threshold fs is, for example, a preset frequency value or half of the current sampling frequency.

[0038] If the peak value in the amplitude-frequency-diagram is lower than the threshold value fs in the critical area (yes in step S110), as Figure 4A As shown in the example in FIG. 1 , the sampling frequency of the current test is not suitable for the detection operation of the touch switch, because the low-frequency aliasing effect cannot be reliably distinguished from the touch of the switch 10 when evaluating the measurement signal and is therefore critical. Therefore, the sampling frequency of the current test is not set as the selected frequency for the detection operation of the touch switch; instead, in this case, the method proceeds directly to step S118 explained later.

[0039] On the contrary, if the peak value in the amplitude-frequency-diagram is in the non-critical region above the threshold value fs (“No” in step S110 ), as Figure 4B As shown by way of example, the sampling frequency currently being tested is then suitable for the detection operation of the touch switch, since the high-frequency aliasing effects can thus be identified when evaluating the measurement signal and can be distinguished from the touches on the switch 10 that generate low-frequency measurement signals. Therefore, in this case, the method continues to step S112.

[0040] In step S112, it is checked whether a suitable sampling frequency has already been set as the selected frequency in the sampling frequency setting method. If this is not the case ("No" in step S112), because, for example, a suitable sampling frequency has not yet been found or because this is the first sampling frequency tested, the method continues to step S114 to set the current sampling frequency judged as suitable in step S110 as the selected frequency for the detection operation of the touch switch 10.

[0041] If the selection frequency has been set in the sampling frequency setting method ("Yes" in step S112), the method proceeds to step S116. In this step S116, the control unit 16 compares the suitability of the current sampling frequency with the suitability of the set selection frequency. For example, the sampling frequency is better suitable for the detection operation of the touch switch 10 if the non-critical aliasing effect is higher frequency and thus produces a peak at a higher frequency fp in the amplitude-frequency-diagram.

[0042] If the previously set selection frequency is better suited than the current sampling frequency (No in step S116), the method proceeds to step S118 and the previously set selection frequency remains set as the selection frequency. Conversely, if the current sampling frequency is more suitable than the previously set selection frequency (Yes in step S116), the method proceeds to step S116 to reset the current sampling frequency to the selection frequency.

[0043] Then, the method ("yes" in step S110, "no" in step S116, or after step S114) proceeds to step S118. In this step S118, it is checked whether all available frequencies have now been tested in the above-described manner for their suitability as sampling frequencies for the detection operation of the touch switch 10. If not all available frequencies have been tested ("no" in step S118), the method proceeds to step S120, in which the next sampling frequency number x+1 is selected from the available sampling frequency group. The new sampling frequency number x+1 is, for example, 80 kHz. Then, the method returns to step S102 again, so that the above-described suitability check is performed on the new sampling frequency number x+1 starting from step S102. On the contrary, if all available frequencies have now been tested (yes in step S118), the method proceeds to step S122, in which the last frequency set as the selected frequency in step S114 is determined as the sampling frequency for the detection operation of the touch switch, which sampling frequency is preferably performed using a second measurement method B different from the first measurement method A.

[0044] In addition, if Figure 3As shown, if no peak is identified in the amplitude-frequency diagram, the method proceeds directly from step S108 to step S118. That is, although no critical aliasing effect is identified, the current sampling frequency is not judged to be suitable and in particular is not set to the selected frequency. The reason for this is that, in this case, it cannot be ruled out that the measurement signal may contain critical aliasing effects that are not identifiable in the amplitude-frequency diagram. Aliasing effects with frequency values ​​fp close to or equal to zero are particularly critical. However, if the aliasing frequency value fp is equal to zero, the amplitude-frequency diagram is flat over the entire frequency range and no peak can be identified. That is, when the control unit 16 does not identify a peak in the amplitude-frequency diagram in step S108, this can mean that there is actually no aliasing effect, or on the other hand, no critical aliasing effect can be identified.

[0045] As described above, in the suitability test method S10, a first measurement method A is used, which is preferably a measurement method with a charge-charge cycle or a discharge-discharge cycle. In the detection operation of the touch switch S20 at the sampling frequency (S122) determined in the suitability test method S10, a second measurement method B different from the first measurement method A is then preferably used. The second measurement method B is preferably a measurement method with a discharge-charge cycle or a charge-discharge cycle.

Claims

1. A method for setting a sampling frequency of a capacitive touch switch (10), the capacitive touch switch having a capacitive sensor element (12) and a sensor circuit (14), the method comprising: - operating the touch switch (10) using a first measurement mode and at a sampling frequency selected from an available sampling frequency group (S102); - detecting ( S104 ) a measurement signal of the sensor circuit ( 14 ), wherein detecting ( S104 ) the measurement signal comprises: creating an amplitude-time-diagram; - checking (S106-110) whether the detected measurement signal contains a critical aliasing effect or may contain a critical aliasing effect, wherein the checking (S106-110) whether the detected measurement signal contains a critical aliasing effect or may contain a critical aliasing effect comprises: converting (S106) the created amplitude-time-diagram into an amplitude-frequency-diagram, and checking (S108) whether the amplitude-frequency-diagram contains a peak; and - if no critical aliasing effect is identified in the checking (S106-110) and no possibility of a critical aliasing effect is identified, setting (S112-116, S122) the sampling frequency to a selected frequency for a detection operation of the touch switch (10), - If no peak is identified when checking ( S108 ) whether the amplitude-frequency-diagram contains a peak, the sampling frequency is not set as the selected frequency.

2. The method according to claim 1, wherein: If an aliasing effect is detected during the check ( S106 - 110 ) of whether the detected measurement signal contains a critical aliasing effect or may contain a critical aliasing effect, it is checked ( S110 ) whether the detected aliasing effect is critical in the detection operation of the touch switch ( 10 ).

3. The method according to claim 2, wherein: The checking (S110) whether the identified aliasing effect is critical in the detection operation of the touch switch (10) comprises comparing the frequency (fp) of a peak identified in the amplitude-frequency diagram with a threshold value (fs).

4. The method according to claim 1 or 2, wherein: Repeating for different multiple sampling frequencies: operating (S102) the touch switch (10), detecting (S104) the measurement signal of the sensor circuit (14), and checking (S106-110) the measurement signal; and setting the following sampling frequency among the multiple sampling frequencies as the selected frequency, when checking (S106-110) the measurement signal of the sampling frequency, neither a critical aliasing effect nor a possibility of a critical aliasing effect is identified.

5. The method according to claim 4, wherein: If neither a critical aliasing effect nor a possibility of a critical aliasing effect is detected when checking ( S106 - 110 ) the measurement signals of the plurality of sampling frequencies, the sampling frequency that is most suitable as a selection frequency is set ( S114 ) as the selection frequency.

6. The method according to claim 1 or 2, wherein: The first measurement mode is selected from a measurement mode having a charge-charge-cycle or a discharge-discharge-cycle.

7. A method for operating a capacitive touch switch, comprising: Setting (S10) a sampling frequency of a capacitive touch switch (10) according to the method of any one of claims 1 to 6; and The capacitive touch switch (10) is operated (S20) at a set sampling frequency to detect switch manipulation.

8. The operating method according to claim 7, wherein: The setting (S10) of the sampling frequency of the capacitive touch switch (10) is performed during an initialization process when the capacitive touch switch (10) starts to operate for the first time and / or is performed periodically during the operation of the capacitive touch switch (10).

9. The operating method according to claim 7 or 8, wherein: The touch switch (10) is operated (S20) to detect switch manipulation using a second measuring method different from the first measuring method.

10. The operating method according to claim 9, wherein: The second measurement method is selected from a measurement method having a charge-discharge cycle or a discharge-charge cycle.

11. A capacitive touch switch (10), comprising: Capacitive sensor element (12); A sensor circuit (14) connected to the capacitive sensor element (12); as well as A control unit (16) connected to the sensor circuit (14) for controlling the sensor circuit (14), wherein the control unit (16) is designed to implement an operating method according to any one of claims 7 to 10 and / or a method for setting a sampling frequency of a capacitive touch switch (10) according to any one of claims 1 to 6.