Method for reducing false touch in touch sensing, touch sensor and Bluetooth earphone

By using the combination of positive and negative change counters in touch sensing technology, the environmental threshold is effectively updated, and the occurrence of false touch events in the prior art is solved, and the stability and accuracy of touch detection are improved.

CN119148877AActive Publication Date: 2024-12-17SHENZHEN BLUETRUM TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410993799.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-12-17
Estimated Expiration
2044-07-24

AI Technical Summary

Technical Problem

When judging touch events, existing touch sensing technology ignores the impact of negative changes, resulting in the occurrence of false touch events. Especially when positive changes and negative changes frequently occur, the environmental threshold update is inaccurate, resulting in the inaccurate touch determination. reliable.

Method used

By using the combination of a positive change counter and a negative change counter during touch detection, the environment threshold is effectively updated, and the positive and negative changes are distinguished, so as to reduce the occurrence of false touch events. The specific steps include obtaining the environmental threshold, judging the positive or negative change of the detected value, and updating the threshold according to the counter value to ensure the stability of the capacitance value.

Benefits of technology

By distinguishing positive and negative changes, the occurrence of false touch events is reduced, the stability of touch detection is improved, the negative interference of the counter during the positive change is avoided, and the accurate update of environmental thresholds is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119148877A_ABST
    Figure CN119148877A_ABST
Patent Text Reader

Abstract

The invention discloses a method for reducing false touch in touch sensing. The method comprises the following steps: acquiring a first environment threshold value when equipment is started; collecting a current detection value of the touch area; subtracting the first environment threshold value from the current detection value to obtain a first difference value, and then judging whether the first detection value is greater than the first environment threshold value or not; a positive change counter and a negative change counter are matched for use according to a judgment result, and the occurrence of mistaken touch events is reduced by effectively updating the positive and negative directions of an environment threshold value with relatively large environment change; and meanwhile, the positive change and the negative change are distinguished, so that the problem that one counter cannot eliminate the interference of the negative change in the positive change process is solved, and the touch detection is more stable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of touch sensing, and in particular to a method for reducing false touches in touch sensing, a touch sensor and a Bluetooth headset. Background Art

[0002] In general touch sensing methods, the first threshold value and the second threshold value are used to judge and implement touch. Only the positive change of touch is considered, while the impact of negative change is ignored; some touch sensing algorithms will add some filtering considerations, but this consideration is only for the impact of absolute value mutation, ignoring the difference brought by the mutation direction (especially the impact of negative mutation), which will actually cause false touch.

[0003] The following situations may cause false touches. The first situation is that positive and negative changes occur frequently, resulting in incorrect updates of the environmental threshold. In the N consecutive detections, the detection value is greater than the first environmental threshold and the difference meets the first threshold, allowing the counter to accumulate (at the Nth time, the counter has not yet met the second threshold). At this time, the external environmental factors change, causing the subsequent situation to become that the detection value is less than the first environmental threshold, but the absolute value of the difference between the detection value and the first environmental threshold meets the first threshold, causing the counter to accumulate incorrectly instead of resetting the counter and recounting. In this case, the counter is accumulated until the second threshold is met and incorrectly updated to the second environmental threshold. The second situation is that during the positive change process, several negative changes occur, resulting in incorrect updates of the environmental threshold. Inappropriate environmental thresholds make touch determination unreliable and cause false touches. As described above, at the N+1th time, the external factors change, but still meet the first threshold. If the situation where the detection value is less than the first environmental threshold exists for a short time, after the second environmental threshold is updated, the current detection value is restored to the situation where the detection value is greater than the first environmental threshold. However, the second environmental threshold is smaller than the first environmental threshold, which means that the current detection value is larger than the second environmental threshold, and a false touch event may occur. Summary of the invention

[0004] Based on the above situation, the present invention proposes a method for reducing false touches in touch sensing, which utilizes the coordinated use of a positive change counter and a negative change counter. During touch detection, the occurrence of false touch events is reduced by effectively updating the environmental threshold in the positive and negative directions in an environment with large environmental changes.

[0005] The present invention provides a method for reducing false touches in touch sensing, comprising: S1, start the device, obtain the first environmental threshold; collect the current detection value of the touch area; S2, subtract the first environmental threshold from the first detection value to obtain a first difference; if the first difference is less than the preset first threshold, repeat S1-S2; if the first difference is greater than the preset first threshold, enter S3; S3, determining whether the current detection value is greater than the first environmental threshold; If so, the positive change counter is increased by 1, and the negative change counter is reset to 0; the current value of the positive change counter is compared with the preset second threshold value. If the current value of the positive change counter is less than the preset second threshold value, the current value of the positive change counter is retained and S1-S2 is repeated; if the positive change counter is greater than the preset second threshold value, the first environmental threshold is updated to the second environmental threshold according to the currently detected first detection value, and the positive change counter is cleared, and S1-S2 is repeated; If not, the negative change counter is increased by 1, the positive change counter is reset to 0, the current value of the negative change counter is compared with the preset second threshold value, if the current value of the negative change counter is less than the preset second threshold value, the current value of the negative change counter is retained and S1-S2 is repeated; if the negative change counter is greater than the preset second threshold value, the first environmental threshold is updated to the second environmental threshold according to the currently detected first detection value, and the negative change counter is cleared, and S1-S2 is repeated.

[0006] Meanwhile, the present invention also provides a touch sensor, including: the touch sensor is formed by the cooperation and execution of a sensor, a calibration register and a controller to implement the above-mentioned method for reducing false touches in touch sensing.

[0007] Some technical effects of the present disclosure are: obtaining the first environmental threshold when starting the device; collecting the current detection value of the touch area; subtracting the first environmental threshold from the current detection value to obtain a first difference, and then judging whether the first detection value is greater than the first environmental threshold; using the positive change counter and the negative change counter in conjunction with the judgment result, by effectively updating the positive and negative environmental thresholds with large environmental changes, so that there will be no intermittent increase between the capacitance values, reducing the occurrence of false touches. At the same time, positive changes and negative changes are distinguished, solving the problem that a counter cannot eliminate the interference of negative changes in the positive change process, making touch detection more stable. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] To better understand the technical solution of the present disclosure, you may refer to the following drawings for auxiliary explanation of the prior art or embodiments. These drawings will selectively display the products or methods involved in the prior art or some embodiments of the present disclosure. The basic information of these drawings is as follows: Figure 1 It is a flow chart of an embodiment of a method for reducing false touches in touch sensing of the present invention; Figure 2 It is a schematic structural diagram of an embodiment of a touch sensor of the present invention. DETAILED DESCRIPTION

[0009] The technical means or technical effects involved in the present disclosure will be further described below. Obviously, the embodiments provided are only some of the embodiments of the present disclosure, not all of them. Based on the embodiments in the present disclosure and the explicit or implicit descriptions of the figures and texts, all other embodiments that can be obtained by those skilled in the art without making creative efforts will be within the scope of protection of the present disclosure.

[0010] like Figure 1 As shown, the method in this embodiment includes the steps of: S1, start the device, obtain the first environmental threshold; collect the current detection value of the touch area; When the device is started, the detection value when the touch area is not touched is used as the first environmental threshold. When the device is started when someone is touching it, the collected detection value will also be used as the first environmental threshold, but at this time the first environmental threshold is consistent with or almost the same as the capacitance value pressed by the person, so it will not be judged as a touch. As the subsequent environment changes, the first environmental threshold will continue to be updated. Subsequently, the detection value when the touch area is not touched by anyone is collected cyclically as the current detection value; the first environmental threshold obtained at the current moment is the current environmental threshold; the situation where the current detection value is greater than the current environmental threshold is defined as a positive change in the detection value; the situation where the current detection value is less than the current environmental threshold is defined as a negative change in the detection value. In this embodiment, the detection value is preferably a capacitance value.

[0011] S2, subtract the first environmental threshold from the current detection value to obtain a first difference; if the first difference is less than the preset first threshold, repeat S1-S2; if the first difference is greater than the preset first threshold, enter S3; Since the environment is constantly changing, the current detection value of the touch area will also change with the environment. The detection value will be collected when someone touches it or not. The difference is that the capacitance value is stable when someone touches it, and the probability of false touch is extremely low. The current detection value collected for the Nth time is compared with the first environmental threshold, and the first difference is compared with the preset first threshold value. The preset first threshold value here is to limit the fluctuation range of the detection value and the first environmental threshold. If the fluctuation is small, the filtering process will not be started, and the environmental threshold will not be updated (that is, the environment is stable and false touch will not occur). If the fluctuation is large, the filtering process will be started (that is, the environment is unstable and false touch will occur, and filtering is required to reduce the occurrence of false touch).

[0012] The first difference obtained by subtracting the first environmental threshold from the current detection value is the absolute value of the first environmental threshold subtracted from the current detection value. Since this embodiment distinguishes between positive changes and negative changes. The first difference may be a negative number, while the first threshold value is a positive number. If the absolute value processing is not performed, when the first difference is a negative number, the first threshold cannot be met, and the subsequent filtering step S3 cannot be started.

[0013] S3, determining whether the current detection value is greater than the first environmental threshold; If yes, enter the positive change filtering step. Add 1 to the positive change counter and reset the negative change counter to 0; compare the current value of the positive change counter with the preset second threshold value. If the current value of the positive change counter is less than the preset second threshold value, retain the current value of the positive change counter and repeat S1-S2; if the positive change counter is greater than the preset second threshold value, update the first environmental threshold to the second environmental threshold according to the current detection value, and clear the positive change counter, and repeat S1-S2; If not, enter the negative change filtering step. Add 1 to the negative change counter, reset the positive change counter to 0, compare the current value of the negative change counter with the preset second threshold value, and if the current value of the negative change counter is less than the preset second threshold value, retain the current value of the negative change counter and repeat S1-S2; if the negative change counter is greater than the preset second threshold value, update the first environmental threshold to the second environmental threshold according to the current detection value, and clear the negative change counter, and repeat S1-S2.

[0014] The preset second threshold value here is to monitor the frequency of updating the environmental threshold. If the preset second threshold value is too small, the number of filtering times is insufficient, resulting in frequent updates of the environmental threshold. The environmental threshold quickly follows the environmental fluctuations, which will lead to poor anti-false touch effect. If the preset second threshold value is too large, the environmental threshold is updated slowly, resulting in a probability that normal touch cannot be recognized.

[0015] When the current value of the positive change counter is less than the second threshold value, if the absolute value of the difference between the currently detected first detection value and the first environmental threshold is less than the preset first threshold value, the current value of the positive change counter and the current value of the negative change counter are both cleared. When the current value of the negative change counter is less than the second threshold value, if the absolute value of the difference between the current detection value and the first environmental threshold is less than the preset first threshold value, the current value of the positive change counter and the current value of the negative change counter are both cleared. In this way, only when the collected capacitance value increases continuously will it be judged that the environmental threshold has increased. There will be no situation where the environmental threshold changes after the capacitance value intermittently increases. At the same time, positive changes and negative changes are distinguished, which solves the problem that a counter cannot eliminate the interference of negative changes during positive changes, making touch detection more stable.

[0016] like Figure 2 As shown, this embodiment also includes a touch sensor, including: a sensor, a calibration register and a controller, and each component is signal-connected.

[0017] The sensor is used to start the device to obtain a first environmental threshold value; and collect the current detection value of the touch area; the calibration register includes a positive change counter and a negative change counter, the positive change counter is used to record the number of times the current detection value is greater than the first environmental threshold value, and the negative change counter is used to record the number of times the current detection value is less than the first environmental threshold value; the controller is used to use the first environmental threshold value to obtain a first difference value by subtracting the first detection value, and when it is determined that the first difference value is greater than a preset first threshold value, then determine whether the first detection value is greater than the first environmental threshold value; If yes, the positive change counter is incremented by 1 and the negative change counter is reset to 0; when the current value of the positive change counter is greater than the preset second threshold value, the first environmental threshold is updated to the second environmental threshold according to the current detection value, and the positive change counter is cleared; If not, the negative change counter is increased by 1 and the positive change counter is reset to 0; when the current value of the negative change counter is greater than the preset second threshold value, the first environmental threshold is updated to the second environmental threshold according to the current detection value, and the negative change counter is cleared.

[0018] As an application of this embodiment, this embodiment also provides a Bluetooth headset, including: a Bluetooth headset body, the headset body is provided with the above-mentioned touch sensor, and the touch sensor is electrically connected to the touch area of ​​the Bluetooth headset body. As a simple replacement, this touch sensor can also be used in other products, such as touch sensing lights, etc., which are all simple replacements of this embodiment.

[0019] Those skilled in the art can understand that all or part of the steps in the embodiment can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable medium, which can include a flash drive, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk or an optical disk, and other media that can store program codes. In one embodiment, the present disclosure provides a computer-readable medium, in which a computer program is stored, and the computer program is loaded and executed by a processing module to implement a method for reducing false touches in touch sensing.

[0020] Within the scope of the knowledge and ability level of those skilled in the art, the various embodiments or technical features mentioned herein may be combined with each other as other optional embodiments without conflict. These limited number of optional embodiments, which are not listed one by one and are formed by combining a limited number of technical features, still fall within the technical scope disclosed in the present disclosure and can be understood or inferred by those skilled in the art in combination with the drawings and the above text.

[0021] In addition, the description of most embodiments is based on different focuses. For details not described in detail, please refer to the content of the prior art or other relevant descriptions in this article for understanding.

[0022] It is emphasized again that the embodiments listed above are typical and preferred embodiments of the present disclosure, which are only used to explain and interpret the technical solutions of the present disclosure in detail to facilitate the understanding of the readers, and are not intended to limit the protection scope or application of the present disclosure. Any technical solutions obtained by any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A method for reducing false touches in touch sensing, characterized in that: S1, start the device, obtain the first environmental threshold; collect the current detection value of the touch area; S2. Subtracting the first environmental threshold from the current detection value to obtain a first difference; If the first difference is greater than a preset first threshold, proceed to S3; S3, determining whether the current detection value is greater than the first environmental threshold; If so, the positive change counter is increased by 1, and the negative change counter is reset to 0; the current value of the positive change counter is compared with the preset second threshold value, if the current value of the positive change counter is less than the preset second threshold value, the current value of the positive change counter is retained and S1-S2 is repeated; if the current value of the positive change counter is greater than the preset second threshold value, the first environmental threshold is updated to the second environmental threshold according to the current detection value, and the positive change counter is cleared, and S1-S2 is repeated; If not, the negative change counter is increased by 1, the positive change counter is reset to 0, the current value of the negative change counter is compared with the preset second threshold value, if the current value of the negative change counter is less than the preset second threshold value, the current value of the negative change counter is retained and S1-S2 is repeated; if the current value of the negative change counter is greater than the preset second threshold value, the first environmental threshold is updated to the second environmental threshold according to the current detection value, and the negative change counter is cleared, and S1-S2 is repeated.

2. The method for reducing false touches according to claim 1, characterized in that: When the current value of the positive change counter is less than the second threshold value, if the absolute value of the difference between the current detection value and the first environmental threshold value is less than the preset first threshold value, the current value of the positive change counter and the current value of the negative change counter are both cleared.

3. The method for reducing false touches according to claim 1, characterized in that: When the current value of the negative change counter is less than the second threshold value, if the absolute value of the difference between the current detection value and the first environmental threshold value is less than the preset first threshold value, the current value of the positive change counter and the current value of the negative change counter are both cleared.

4. The method for reducing false touches according to claim 1, characterized in that: If the first difference is less than the preset first threshold, steps S1 to S2 are repeated.

5. The method for reducing false touches according to any one of claims 1 to 4, characterized in that: The first difference value obtained by subtracting the first environmental threshold from the current detection value is the absolute value of the first environmental threshold subtracted from the current detection value.

6. A touch sensor, characterized in that: include: Sensor, calibration register and controller, each component is signal connected; the sensor is used to start the device to obtain the first environmental threshold; and collecting the current detection value of the touch area; the calibration register includes a positive change counter and a negative change counter, the positive change counter is used to record the number of times the current detection value is greater than the first environmental threshold, and the negative change counter is used to record the number of times the current detection value is less than the first environmental threshold; The controller is used to obtain a first difference by subtracting the first environmental threshold from the first detection value, and when it is determined that the first difference is greater than a preset first threshold value, then determine whether the first detection value is greater than the first environmental threshold; If yes, the positive change counter is incremented by 1 and the negative change counter is reset to 0; when the current value of the positive change counter is greater than the preset second threshold value, the first environmental threshold is updated to the second environmental threshold according to the current detection value, and the positive change counter is cleared; If not, the negative change counter is increased by 1 and the positive change counter is reset to 0; when the current value of the negative change counter is greater than the preset second threshold value, the first environmental threshold is updated to the second environmental threshold according to the current detection value, and the negative change counter is cleared.

7. The touch sensor according to claim 6, characterized in that: When the current value of the positive change counter is less than the second threshold value, if the absolute value of the difference between the current detection value and the first environmental threshold value is less than the preset first threshold value, the current value of the positive change counter and the current value of the negative change counter are both cleared.

8. The touch sensor according to claim 6, characterized in that: When the current value of the negative change counter is less than the second threshold value, if the absolute value of the difference between the current detection value and the first environmental threshold value is less than the preset first threshold value, the current value of the positive change counter and the current value of the negative change counter are both cleared.

9. A Bluetooth headset, characterized in that include: A Bluetooth headset body, wherein the Bluetooth headset body is provided with a touch sensor as described in any one of claims 6-8.

Citation Information

Patent Citations

  • Baseline updating method and touch device

    CN102855032A

  • Method for updating environment threshold value in touch sensing, touch sensor and water outlet device

    CN113810038A

  • Benchmark updating method and system for touch detection terminal capable of eliminating large-area interference

    US20150081249A1

  • Method for updating environmental threshold in touch sensing, touch sensor, and water outlet device

    US20210389840A1