Anti-interference capacitive sensing device and anti-interference capacitive sensing method

By using the control circuit and the ratio judgment of internal and external capacitance sensing elements in the capacitance sensing device, the problem of false triggering and numerical instability of capacitance sensing under interference is solved, and accurate capacitance sensing in an interference environment is achieved.

CN118740137APending Publication Date: 2024-10-01GENERALPLUS TECH INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310335331.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Existing capacitive sensing technology is difficult to accurately determine capacitive sensing in the presence of interference, and is prone to false triggering and numerical instability, especially under the influence of electromagnetic interference and power supply noise.

Method used

Design a capacitance sensing device including a control circuit, an internal capacitance sensing element and an external capacitance sensing element, and convert the capacitance value of the internal capacitance sensing element into a reference reading value through the reference sensing interface and the capacitance sensing interface. , and convert the capacitance value of the external capacitive sensing element into an external read value, use the ratio to determine whether there is a user touch event, use a direct or inverse ratio method to eliminate the influence of voltage and current, and use the memory to record the sampled value to eliminate interference.

Benefits of technology

In the presence of interference, it can accurately determine whether the external capacitive sensing element is operated by the user, reduce the occurrence of false triggers, improve the stability and accuracy of capacitive sensing, and avoid the influence of voltage and current interference.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118740137A_ABST
    Figure CN118740137A_ABST
Patent Text Reader

Abstract

The invention provides an anti-interference capacitance sensing device and an anti-interference capacitance sensing method. The anti-interference capacitance sensing method comprises the steps that an internal capacitance sensing element and at least one external capacitance sensing element are provided, and the internal capacitance sensing element cannot be operated by a user; converting the capacitance value sensed by the internal capacitance sensing element into a reference read value; converting the capacitance value sensed by the external capacitance sensing element into an external read value; and according to the reference read value and the external read value, determining whether the external capacitance sensing element has a touch event operated by the user. According to the invention, an actually existing internal capacitance sensing element is used as a capacitance detection reference, and a capacitance sensing mechanism irrelevant to voltage is found out aiming at different capacitance sensing modes, so that the capacitance detection result is not influenced no matter how interference occurs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a capacitance sensing technology, and more specifically, the present invention relates to an anti-interference capacitance sensing device and an anti-interference capacitance sensing method. Background Art

[0002] Capacitive sensing is a technology based on the principle of capacitive coupling, which can be used in a variety of sensors, such as detecting and measuring: distance, position and displacement, humidity, liquid level and acceleration. Capacitive sensing technology is gradually replacing the traditional input device mouse and is becoming more and more popular. Capacitive sensors are used in touch pads of tablets, computer monitors, mobile phones and other devices. More and more engineering designers choose capacitive sensors, which have the advantages of versatility, reliability and robustness, unique human-computer interaction interface, and lower price than mechanical input devices.

[0003] Capacitive sensors can detect any object that is conductive or has dielectric properties. It can replace traditional mechanical buttons. The basic principle of capacitive sensors is to detect the change in capacitance between an electrode and the ground. When a conductive object approaches, the capacitance of the conductive object will increase the capacitance of the electrode to the ground. Due to the popularity of electronic products and the price advantage of capacitive sensors, there are often products that use capacitive sensors. Figure 1 This is a waveform diagram of the operation of an electronic product in the prior art. Please refer to Figure 1 In this embodiment, it is assumed that the first interface (Channel 1) of the integrated circuit is coupled to the first capacitance sensor, and the second interface (Channel 2) of the integrated circuit is coupled to the second capacitance sensor. Assume that when the user touches the capacitance sensor of the second interface, the product will continue to play voice. When the voice is playing, power noise will appear, affecting the capacitance sensor of the first interface, causing the value read by the capacitance sensor to become lower. After stopping touching the capacitance sensor of the second interface, the value read by the capacitance sensor of the first interface will quickly rise, but the reference value will rise slowly. The waveform at this time is like someone touching the capacitance sensor of the first interface. Since in this example, the judgment of the capacitance sensor is that the difference between the reference value and the value read by the capacitance sensor is greater than the threshold value, it will trigger a touch event, so it will cause a false trigger at this time.

[0004] In addition, the product may encounter electromagnetic interference, so general electronic products will undergo electromagnetic compatibility testing, mainly to detect whether the product can work normally in various electromagnetic environments. This test includes testing the product's resistance to external electromagnetic interference, and whether the product itself will generate electromagnetic interference to the external environment. This test is an important test in touch testing, which detects whether the touch screen can accurately identify touch actions and respond in the presence of interference. It can ensure that the product can work stably during use and will not generate electromagnetic interference to the external environment.

[0005] Among them, a large part of electromagnetic interference is transmitted from the power supply. The conducted tolerance test in electromagnetic compatibility is to inject 150kHz~80MHz noise interference from the AC power supply to simulate the noise generated by other electrical appliances, which may interfere with the touch panel through the mains. Through this test, we can understand whether the function of capacitive sensing will be affected by these noises. However, in the test, the numerical instability is often caused, resulting in the inability to correctly judge capacitive sensing using a fixed threshold value. Summary of the invention

[0006] An object of the present invention is to provide an anti-interference capacitance sensing device and an anti-interference capacitance sensing method, so as to correctly determine capacitance sensing in the presence of interference and avoid misjudgment.

[0007] In view of this, the present invention provides a capacitance sensing device. The capacitance sensing device includes a control circuit, an internal capacitance sensing element and an external capacitance sensing element. The control circuit includes a reference sensing connection interface and a capacitance sensing connection interface. The internal capacitance sensing element is electrically connected to the reference sensing connection interface, wherein the internal capacitance sensing element cannot be operated by a user. The external capacitance sensing element is electrically connected to the capacitance sensing connection interface. The control circuit is used to convert the capacitance value sensed by the internal capacitance sensing element into a reference reading value, and convert the capacitance value sensed by the external capacitance sensing element into an external reading value, so as to determine whether a touch event operated by a user occurs in the external capacitance sensing element.

[0008] According to the capacitance sensing device described in the preferred embodiment of the present invention, the control circuit includes a memory, wherein, at each first predetermined time, a plurality of reference reading values ​​of the internal capacitance sensing element are sampled multiple times by the reference sensing connection interface and stored in the memory. And at each second predetermined time, a plurality of external reading values ​​of the external capacitance sensing element are sampled multiple times by the capacitance sensing connection interface and stored in the memory. An available time is determined based on the reference reading value of the internal capacitance sensing element sampled by the reference sensing connection interface stored in the memory and its corresponding time, and based on the available time, the external reading value of the external capacitance sensing element sampled by the corresponding capacitance sensing connection interface is selected to determine whether a touch event operated by a user occurs in the external capacitance sensing element.

[0009] According to the capacitance sensing device described in the preferred embodiment of the present invention, the above-mentioned available time is determined by the time from the internal capacitance sensing element sampled by the reference sensing connection interface starting to sample the first reference reading value to the time corresponding to the extreme value of the multiple reference reading values ​​of the internal capacitance sensing element sampled by the reference sensing connection interface. In a preferred embodiment, the first predetermined time and the second predetermined time are of the same length and occur at the same time. In another preferred embodiment, the first predetermined time and the second predetermined time occur alternately.

[0010] According to the capacitance sensing device described in the preferred embodiment of the present invention, the control circuit includes a memory, wherein at each first predetermined time, the first sensing connection interface sequentially samples N reference reading values ​​of the internal capacitance sensing element and stores them in the memory, wherein at each second predetermined time, the second sensing connection interface sequentially samples N external reading values ​​of the external capacitance sensing element and stores them in the memory. The control circuit finds the Kth reference reading value among the N reference reading values ​​of the internal capacitance sensing element, wherein the Kth reference reading value is the extreme value among the N reference reading values ​​of the internal capacitance sensing element, wherein the control circuit takes out the Kth external reading value of the external capacitance sensing element as the external reading value of the external capacitance sensing element, so as to determine whether a touch event operated by a user occurs to the external capacitance sensing element, wherein N and K are natural numbers, 0 <K≤N。

[0011] According to the capacitance sensing device described in the preferred embodiment of the present invention, whether a touch event operated by a user occurs in the external capacitance sensing element is determined based on the size of the ratio of the reference reading value sensed by the internal capacitance sensing element to the external reading value sensed by the external capacitance sensing element and at least one threshold value.

[0012] According to the capacitance sensing device described in the preferred embodiment of the present invention, the control circuit further includes a plurality of capacitance sensing connection interfaces, and the capacitance sensing device further includes P external capacitance sensing elements electrically connected to the control circuit. At the first preset time, the control circuit converts the capacitance value sensed by the first external capacitance sensing element into the first external reading value, wherein at the first second preset time, the control circuit converts the capacitance value sensed by the internal capacitance sensing element into the first reference reading value, wherein the control circuit determines whether the first external capacitance sensing element has a touch event operated by a user according to the size of the ratio of the first reference reading value sensed by the internal capacitance sensing element and the first external reading value sensed by the external capacitance sensing element and at least one threshold value, wherein P and I are natural numbers, and 0 <I≤P。

[0013] According to the capacitance sensing device described in the preferred embodiment of the present invention, the control circuit further includes a plurality of capacitance sensing connection interfaces, and the capacitance sensing device further includes: P external capacitance sensing elements electrically connected to the control circuit. At the I first preset time, the control circuit converts the capacitance value sensed by the I external capacitance sensing element into the I external reading value, wherein at the K second preset time, the control circuit converts the capacitance value sensed by the internal capacitance sensing element into a K reference reading value, wherein the control circuit determines whether the corresponding Q external capacitance sensing elements have a touch event operated by the user according to the size of the K reference reading value sensed by the internal capacitance sensing element and the Q external reading values ​​sensed at the Q first preset times before and after the K second preset time and at least one threshold value, wherein P, Q, K and I are natural numbers, and 0 is a value greater than or equal to 0. <I≤P、0<Q≤P。

[0014] The present invention further provides an anti-interference capacitance sensing method. The anti-interference capacitance sensing method includes: providing an internal capacitance sensing element and at least one external capacitance sensing element, wherein the internal capacitance sensing element cannot be operated by a user; converting the capacitance value sensed by the internal capacitance sensing element into a reference reading value; converting the capacitance value sensed by the external capacitance sensing element into an external reading value; and judging whether a touch event operated by a user occurs in the external capacitance sensing element according to the reference reading value and the external reading value.

[0015] The spirit of the preferred embodiment of the present invention is to use an actual internal capacitance sensing element as a capacitance detection reference. Since the actual internal capacitance sensing element will be disturbed at the same time, it will also float with the disturbance. Therefore, for different capacitance sensing methods, for example, the minimum interference time can be found to determine the touch, or mathematical principles can be used to find a capacitance sensing mechanism that is independent of voltage, so no matter how the interference occurs, it will not affect the capacitance detection result.

[0016] In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The accompanying drawings are provided to enable those with ordinary knowledge in the technical field to which the present invention belongs to further understand the present invention, and are incorporated into and constitute a part of the specification of the present invention. The accompanying drawings illustrate exemplary embodiments of the present invention, and together with the description of the present invention, are used to explain the principles of the present invention.

[0018] Figure 1 A waveform diagram of an electronic product in the prior art when in operation.

[0019] Figure 2 FIG. 4 is a circuit block diagram of a capacitance sensing device according to a preferred embodiment of the present invention.

[0020] Figure 3 FIG. 4 is a sensing timing diagram of a capacitance sensing device according to a preferred embodiment of the present invention.

[0021] Figure 4 FIG. 4 is a circuit block diagram of a capacitance sensing device according to a preferred embodiment of the present invention.

[0022] Figure 5 FIG. 4 is a sensing timing diagram of a capacitance sensing device according to a preferred embodiment of the present invention.

[0023] Figure 6 FIG. 4 is a sensing timing diagram of a capacitance sensing device according to a preferred embodiment of the present invention.

[0024] Figure 7 FIG. 4 is a circuit block diagram of a capacitance sensing device according to a preferred embodiment of the present invention.

[0025] Figure 8 FIG. 1 is a graph showing a change in a reference reading value after the capacitance value of the internal capacitance sensing element 202 is converted and recorded in the memory 701 of the capacitance sensing device according to a preferred embodiment of the present invention.

[0026] Fig.9A FIG. 4 is a schematic diagram of the operation of a capacitance sensing device according to a preferred embodiment of the present invention.

[0027] Fig. 9B FIG. 4 is a schematic diagram of the operation of a capacitance sensing device according to a preferred embodiment of the present invention.

[0028] Fig. 9C FIG. 4 is a schematic diagram of the operation of a capacitance sensing device according to a preferred embodiment of the present invention.

[0029] Fig.10 FIG. 4 is a flow chart of an anti-interference capacitance sensing method according to a preferred embodiment of the present invention.

[0030] Fig.11 FIG. 4 is a flow chart of an anti-interference capacitance sensing method according to a preferred embodiment of the present invention.

[0031] Fig.12 FIG. 4 is a flow chart of an anti-interference capacitance sensing method according to a preferred embodiment of the present invention.

[0032] Fig.13 FIG. 4 is a flow chart of an anti-interference capacitance sensing method according to a preferred embodiment of the present invention.

[0033] Fig.14 FIG. 4 is a flow chart of an anti-interference capacitance sensing method according to a preferred embodiment of the present invention.

[0034] Description of Figure Numbers:

[0035] 201: Control circuit

[0036] 202: Internal capacitive sensing element

[0037] 203, 401~404: External capacitive sensing element

[0038] P1: Reference sensing connection interface

[0039] P2: Capacitive sensing connection interface

[0040] T1: First scheduled time

[0041] T2, T2-1~T2-4: Second scheduled time

[0042] 701: Memory

[0043] S1001-S1004, S1101-S1103, S1201, S1301-S1304, S1401-S1404: process steps of an anti-interference capacitive sensing method according to a preferred embodiment of the present invention. DETAILED DESCRIPTION

[0044] Reference will now be made in detail to exemplary embodiments of the present invention, which are illustrated in the accompanying drawings. Where possible, the same reference numerals are used in the drawings and the specification to refer to the same or similar components. In addition, the exemplary embodiments are only one of the implementation methods of the design concept of the present invention, and the following examples are not intended to limit the present invention.

[0045] Figure 2 This is a circuit block diagram of a capacitance sensing device according to a preferred embodiment of the present invention. Figure 2, the capacitance sensing device includes a control circuit 201, an internal capacitance sensing element 202 and an external capacitance sensing element 203. The control circuit 201 includes a reference sensing connection interface P1 and a capacitance sensing connection interface P2. The internal capacitance sensing element 202 is electrically connected to the reference sensing connection interface P1. The external capacitance sensing element 202 is electrically connected to the capacitance sensing connection interface P2. The control circuit 201 is used to convert the capacitance value sensed by the internal capacitance sensing element 201 into a reference reading value, and convert the capacitance value sensed by the external capacitance sensing element 202 into an external reading value.

[0046] In the above embodiment, the external capacitive sensing element 203 can be, for example, a membrane key switch, a touch key switch, a silicone key switch, a touch pad, or a capacitive touch key switch. The present invention is not limited thereto. In addition, in the above embodiment, the internal capacitive sensing element 202 is, for example, a physical capacitive sensing element that cannot be pressed or touched by the user. Generally speaking, it can be hidden inside the product housing or designed inside the circuit. Specifically, it is a capacitive sensing element 202 that cannot be affected or operated by the user.

[0047] In actual operation, the control circuit 201 samples the external capacitance sensing element 203 and the internal capacitance sensing element 202, and converts them into external reading values ​​and reference reading values, respectively. As for the sampling method of the external reading value and the reference reading value, it can be determined by the size of the charge and discharge voltage, the length of the charge and discharge time, etc. Since the conversion of the above-mentioned capacitance and value can be implemented by various existing technologies, the present invention is not limited to this. In addition, in the prior art, capacitance sensing is often interfered by the voltage of the operating product. Therefore, in this embodiment, in order to avoid the interference of voltage, the influence of voltage or current on capacitance sensing is eliminated in this embodiment. The following is explained mathematically.

[0048] First, various capacitors have different capacitances due to the size, shape, material, distance between plates, and dielectric type of the conductor, but the amount of charge Q that can be stored is proportional to its potential V, i.e., Q = C × V. And the amount of charge Q is equal to the product of the current I passing through the conductor and the power-on time T, i.e., Q = I × T. Therefore

[0049] Q=C×V=I×T.

[0050] The above mathematics can be rewritten as:

[0051]

[0052] From the formula, we can know that the capacitance value (C) is proportional to the time (T) of the capacitor charge and discharge, and under stable voltage and current, the time of capacitor charge and discharge is fixed. Therefore, the change of the capacitor charge and discharge time (T) can be used to determine whether an external conductor is approaching (touching). When an external conductor approaches (touches), the capacitance of the body will be added to the sensing pad, causing the capacitor charge and discharge time (T) to become longer.

[0053] However, when the voice is playing or the motor is rotating, the voltage will drop, affecting the capacitor charging and discharging time (T). In order to eliminate the influence of voltage and current, an internal capacitance sensing element 202 (reference pad) is added for reference, which is marked as Cref in the mathematical formula.

[0054]

[0055] Taking advantage of the fact that the voltage and current do not change much in a short period of time, it is assumed that the voltage and current (I / V) terms are the same. Therefore, the capacitance value C of the external capacitance sensing element 203 to be sensed is divided by the capacitance value Cref of the internal capacitance sensing element 202 for reference, and the following formula can be obtained, which can eliminate the voltage and current (I / V) terms and remove the influence of voltage and current.

[0056]

[0057] Similarly, the capacitance Cref of the reference internal capacitance sensing element 202 may be divided by the capacitance C of the external capacitance sensing element 203 to be sensed in an inverse ratio, which can also eliminate the voltage-current (I / V) term and remove the influence of voltage and current.

[0058]

[0059] In the above-mentioned proportional method, when the capacitance value C of the external capacitance sensing element 203 to be sensed increases, the charging and discharging time becomes longer and the ratio becomes larger. Conversely, in the inverse proportional method, when the capacitance value C of the external capacitance sensing element 203 to be sensed increases, the charging and discharging time becomes longer and the ratio becomes smaller.

[0060] In order to simply illustrate the spirit of the present invention, in this embodiment, a proportional method (C / Cref) is adopted, and the inverse proportional method is similar to the proportional method, so it will not be repeated. Therefore, when a conductor approaches the external capacitance sensing element 203, the capacitance value C of the external capacitance sensing element 203 to be sensed will increase, so the ratio will become larger. In addition, since the capacitance value C of the external capacitance sensing element 203 to be sensed and the capacitance value Cref of the internal capacitance sensing element 202 for reference will both be disturbed when the voltage and current are disturbed, it can be seen from the above mathematical formula that the ratio will not be affected. Therefore, as long as this ratio is compared with the threshold value designed separately, it can be determined whether the external capacitance sensing element 203 is approached by a conductor (or touched).

[0061] As for the threshold value of the ratio, the capacitance sensing value of the external capacitance sensing element 203 when it is not touched (that is, the external reading value mentioned above) can be measured first. In this embodiment, it is assumed to be 5700. After that, the capacitance sensing value of the external capacitance sensing element 203 after being touched (the external reading value) is measured. In this embodiment, it is assumed to be 9730. Next, the capacitance sensing value of the internal capacitance sensing element 202 is measured (that is, the reference reading value mentioned above), and the untouched ratio can be obtained as 3.85135 and the touched ratio as 6.57432. The designer can design an appropriate single threshold value between the above 3.85135 and 6.57432 or set an appropriate hysteresis threshold value around 3.85135. Since the threshold value can be designed according to different needs, it will not be repeated here.

[0062] Similarly, those skilled in the art should know that if the inverse ratio is used as the above embodiment, the design of the threshold value will also change accordingly, which will not be elaborated here.

[0063] In the above embodiment, the control circuit 201 is used for capacitance sensing. One of them is to simultaneously sense the capacitance value of the internal capacitance sensing element 202 and the capacitance value of the external capacitance sensing element 203, and simultaneously obtain the reference reading value and the external reading value. Another method for capacitance sensing of the control circuit 201 is to use a time division duplex method. Figure 3 This is a sensing timing diagram of a capacitance sensing device according to a preferred embodiment of the present invention. Figure 3 For example, on the control time axis, it is divided into a first predetermined time T1 and a second predetermined time T2. The first predetermined time T1 senses the capacitance value of the internal capacitance sensing element 202 to obtain a reference reading value, and the second predetermined time T2 senses the capacitance value of the external capacitance sensing element 203 to obtain an external reading value.

[0064] The adjacent first predetermined time T1 and the second predetermined time T2 are paired. That is to say, the control circuit 201 will take C1 and Cref1 as a pair as a ratio, and C2 and Cref2 as a pair as a ratio. Since the time is close, the interference is also very close, so here we deliberately use two adjacent reference readings close in time and the external reading value as the above touch ratio to determine whether the conductor is close to the external capacitance sensing element 203 or whether the external capacitance sensing element 203 is touched. Although the above embodiment is Figure 3 In the diagram, T1 and T2 appear to be at the same time and do not overlap each other, but in fact, T1 and T2 do not necessarily have to be at the same time and can actually overlap each other. The present invention is not limited to this.

[0065] In the above embodiment, although a single external capacitive sensing element 203 is used as an example, an actual product may also have multiple external capacitive sensing elements. Figure 4 This is a circuit block diagram of a capacitance sensing device according to a preferred embodiment of the present invention. Figure 4 The capacitance sensing device includes a control circuit 201, an internal capacitance sensing element 202, and four external capacitance sensing elements 401 to 404. The control circuit 201 is also used to convert the capacitance value sensed by the internal capacitance sensing element 201 into a reference reading value, and convert the capacitance values ​​sensed by the four external capacitance sensing elements 202 into first to fourth external reading values, respectively.

[0066] Similarly, in this embodiment, one control method is to simultaneously sense the capacitance value of the internal capacitance sensing element 202 and the capacitance values ​​of the four external capacitance sensing elements 401-404, and simultaneously obtain the reference reading value and the first external reading value to the fourth external reading value. Another preferred embodiment of the control method is a sequential scanning method. Figure 5 This is a sensing timing diagram of a capacitance sensing device according to a preferred embodiment of the present invention. Figure 5 For example, on the control time axis, it is divided into a first predetermined time T1 and four second predetermined times T2-1 to T2-4.

[0067] At the first first predetermined time T1, the control circuit 201 obtains the first reference reading value Cref1, and then at the first second predetermined time T2-1, the control circuit 201 obtains the first external reading value C1, and at this time the control circuit 201 obtains the first ratio (C1 / Cref1) corresponding to the external capacitance sensing element 401. At the second first predetermined time T1, the control circuit 201 obtains the second reference reading value Cref2, and then at the second second predetermined time T2-2, the control circuit 201 obtains the second external reading value C2, and at this time the control circuit 201 obtains the second ratio (C2 / Cref2) corresponding to the external capacitance sensing element 402.

[0068] Similarly, at the third first predetermined time T1, the control circuit 201 obtains the third reference reading value Cref3, and then at the third second predetermined time T2-3, the control circuit 201 obtains the third external reading value C3, and at this time the control circuit 201 obtains the third ratio (C3 / Cref3) corresponding to the external capacitance sensing element 403. At the fourth first predetermined time T1, the control circuit 201 obtains the fourth reference reading value Cref4, and then at the fourth second predetermined time T2-4, the control circuit 201 obtains the fourth external reading value C4, and at this time the control circuit 201 obtains the fourth ratio (C4 / Cref4) corresponding to the external capacitance sensing element 404. The subsequent operation is the same as the above cycle. By using the above-mentioned first ratio (C1 / Cref1), second ratio (C2 / Cref2), third ratio (C3 / Cref3), and fourth ratio (C4 / Cref4), it is possible to respectively determine whether a conductor is approaching (or being touched) the four external capacitive sensing elements 401~404 during the above-mentioned first second predetermined time T2-1 to fourth second predetermined time T2-4.

[0069] In the above embodiment, scanning the internal capacitance sensing element 202 once corresponds to scanning the external capacitance sensing elements 401 to 404 once. However, when the number of external capacitance sensing elements is greater, the number of scans will also be greater, which will also cause a burden on the circuit. Figure 6 This is a sensing timing diagram of a capacitance sensing device according to a preferred embodiment of the present invention. Figure 6 In this embodiment, scanning the internal capacitance sensing element 202 once corresponds to scanning the external capacitance sensing elements 401-404 twice. In this embodiment, the first second predetermined time T2-1 is followed by the first first predetermined time T1, followed by the second second predetermined time T2-3 and the third second predetermined time T2-3, followed by the second first predetermined time T1, followed by the fourth second predetermined time T2-4 and the first second predetermined time T2-1, and so on.

[0070] At the first second predetermined time T2-1, the control circuit 201 obtains the first external reading value C1. Next, at the first first predetermined time T1, the control circuit 201 obtains the first reference reading value Cref1. Next, at the second second predetermined time T2-2, the control circuit 201 obtains the second external reading value C2. At this time, the control circuit 201 obtains the first ratio (C1 / Cref1) and the second ratio (C2 / Cref1) corresponding to the external capacitance sensing element 401 and the external capacitance sensing element 402.

[0071] At the third second predetermined time T2-3, the control circuit 201 obtains the third external reading value C3. Next, at the second first predetermined time T1, the control circuit 201 obtains the second reference reading value Cref2. Next, at the fourth second predetermined time T2-4, the control circuit 201 obtains the fourth external reading value C4. At this time, the control circuit 201 obtains the third ratio (C3 / Cref2) and the second ratio (C4 / Cref2) corresponding to the external capacitance sensing element 403 and the external capacitance sensing element 404.

[0072] The subsequent operation is the same as the above cycle. By using the above first ratio (C1 / Cref1), second ratio (C2 / Cref1), third ratio (C3 / Cref2), and fourth ratio (C4 / Cref2), it can be determined whether a conductor approaches (or is touched) the four external capacitive sensing elements 401-404 during the above first second predetermined time T2-1 to the fourth second predetermined time T2-4.

[0073] From the above embodiments, it can be seen that the preferred embodiment of the present invention adopts the above scanning method, which can reduce the scanning time by 1 / 4. The external capacitive sensing elements 401-402 share the scanning of the internal capacitive sensing element 202 once, and the external capacitive sensing elements 403-404 share the scanning of the internal capacitive sensing element 202 once. In this way, the product computing burden and scanning time can be reduced.

[0074] Although the above embodiment uses two external capacitance sensing elements to scan and share the internal capacitance sensing element 202 once, those skilled in the art should know that when there are more buttons, multiple external capacitance sensing elements can scan and share the internal capacitance sensing element 202 once. If expressed algebraically, assuming that there are P external capacitance sensing elements, the designer can design the Kth reference reading value to be obtained by scanning the internal capacitance sensing element 202 for the Kth time, using the Q external reading values ​​sensed at the first Q preset times before the Kth reference reading value and the R external reading values ​​sensed at the last R first preset times, as a group, to obtain Q+R ratios, and by using the size of the Q+R ratios and at least one threshold value, determine whether the corresponding Q+R external capacitance sensing elements have a touch event operated by the user. Therefore, the present invention is not limited to the above one-to-two. Although the above embodiment uses Figure 5 , 6 In the diagram, T1, T2-1, T2-2, T2-3, and T2-4 appear to be at the same time and do not overlap each other, but in fact, T1, T2-1, T2-2, T2-3, and T2-4 do not necessarily have to be at the same time and can actually overlap each other. The present invention is not limited to this.

[0075] The above embodiments are designed under the condition that the capacitor will not be saturated. However, the interference may be large enough and exist periodically for a long time, so general products will undergo electromagnetic compatibility testing to ensure that the product can operate normally under interference and will not interfere with the operation of other electronic products. In the following embodiments, 150kHz to 80MHz noise interference is injected into the AC power supply to simulate the above noise, and under this condition, an anti-interference capacitance sensing device is proposed.

[0076] Figure 7 This is a circuit block diagram of a capacitance sensing device according to a preferred embodiment of the present invention. Figure 7 as well as Figure 2 , this capacitive sensing device is Figure 2 The difference between the capacitive sensing device is that Figure 7 The capacitive sensing device of FIG. 200 further includes a memory 701. The memory may be built into the control circuit 201 or configured outside the control circuit 201. This is a design choice and the present invention is not limited thereto.

[0077] Figure 8 This is a graph showing the change of the reference reading value after the capacitance value of the internal capacitance sensing element 202 is converted and recorded in the memory 701 of the capacitance sensing device of a preferred embodiment of the present invention. Figure 8, where the vertical axis represents the difference between the reference reading value and the undisturbed reference reading value, and the horizontal axis represents the sampling time. Among them, the undisturbed reference reading value is 191, so when the vertical axis is 0, it means that the reference reading value after the capacitance value of the internal capacitance sensing element 202 is converted is 191, so in this example, the value varies between 191 and 203. In this change graph record, the value after interference will rise and fall with the size of the conduction tolerance (CS) interference. Generally speaking, low-frequency interference is more likely to affect the accuracy of capacitance sensing. Therefore, in this example, it can be seen that the reference reading value after the capacitance value of the internal capacitance sensing element 202 is converted almost changes with the low-frequency interference.

[0078] According to the above properties, the operation mode of this circuit is different from the above embodiment. In this embodiment, the control circuit 201 samples a plurality of reference reading values ​​of the internal capacitance sensing element 202 at different times within a preset time. Similarly, the control circuit 201 samples a plurality of external reading values ​​of the external capacitance sensing element 203 at different times within a preset time. When sampling, the reference reading values ​​and the external reading values ​​can be stored in the memory without being processed by the processor in the control circuit 201 using a method similar to direct memory access (DMA).

[0079] The control circuit 201 then finds the minimum value based on the reference reading value of the internal capacitance sensing element stored in the memory 701, and finds the corresponding time of the reference reading value of the minimum value. Generally speaking, when designing a capacitance sensing device, each capacitance sensing element 202, 203 has a fixed sampling time interval. Depending on the design, the sampling time intervals can be the same or different. In this embodiment, it is assumed that the sampling time intervals of the capacitance sensing elements 202, 203 are the same.

[0080] Table 1 below is the reference reading values ​​stored in the memory.

[0081] Table 1

[0082] 197 6 193 2 191 0 191 0 194 3 201 10 195 4 192 1 191 0 191 0 198 7 199 8 194 3 191 0 191 0 192 1 201 10 196 5 192 1 191 0 191 0 197 6

[0083] It can be seen from Table 1 above that the base value without interference is 191, and there will be two samples of the lowest value 191 for every three to four samples. This lowest value is the lowest point of interference. In other words, the time when these differences are 0 is the time when the value sampled by the external capacitance sensing element 203 is a credible value. Assume that the capacitance values ​​of the external capacitance sensing element 203 and the internal capacitance sensing element 202 are sampled by the control circuit 201 at the same time and stored in the memory. Therefore, the control circuit 201 can determine that the 3rd, 4th, 9th, 10th, 14th, 15th, 20th, and 21st external reading value data sampled from the external capacitance sensing element 203 are the most credible, and the 6th and 17th external reading values ​​are the most unreliable. Therefore, the best situation of the control circuit 201 can be based on the above-mentioned 3rd, 4th, 9th, 10th, 14th, 15th, 20th, and 21st external reading value data and a preset threshold value to determine whether the external capacitance sensing element 203 has a touch event operated by the user or whether there is a conductor close to the external capacitance sensing element 203. However, in actual situations, the control circuit 201 only needs to exclude the 6th and 17th external reading values, and the other external reading values ​​can be used. Generally speaking, an averaging method can be used to average the external reading value data that can be used to determine whether a touch event caused by a user operation occurs in the external capacitive sensing element 203.

[0084] Similarly, if the interval of the sampling time of the internal capacitance sensing element 202 is half of the interval of the sampling time of the external capacitance sensing element 203, then according to the above data, the control circuit 201 can determine that the 2nd, 5th, 7th, and 10th internal reading value data sampled from the internal capacitance sensing element 202 are credible, and the 3rd and 8th internal reading values ​​are the least credible. Therefore, the 6th and 17th external reading values ​​can be excluded, or the 3rd, 4th, 9th, 10th, 13th, 14th, 19th, and 20th external reading values ​​can be taken to determine whether the external capacitance sensing element 203 has a touch event operated by the user. In the same way, the basic operation of this circuit is simply that the control circuit 201 determines an available time or excludes an unavailable time according to the reference reading value of the internal capacitance sensing element 202 stored in the memory 701 and its corresponding sampling time, and selects the corresponding external reading value of the external capacitance sensing element 203 according to the above available time to determine whether the external capacitance sensing element has a touch event operated by the user.

[0085] Although the above embodiment uses the memory 701 to simply record the reference reading value and the external reading value as an example, those skilled in the art should know that when the circuit is operating, the memory 701 can also be used to record the index number related to the sampling time. At this time, as long as the index number of the extreme value is found, and according to the index number, a reliable external reading value is found, and it is used to determine whether a touch event operated by a user occurs in the external capacitive sensing element, it can also be used as an embodiment of the present invention. Therefore, the present invention is not limited to this.

[0086] In addition, if the sampling speed of the above embodiment is faster and the sampling interval is smaller, a reliable external reading value can be found more accurately. Therefore, the present invention is not limited to the above embodiment.

[0087] Fig.9A This is a schematic diagram of the operation of a capacitance sensing device according to a preferred embodiment of the present invention. Fig.9A In the above embodiment, although the external capacitance sensing element 203 and the internal capacitance sensing element 203 are sampled at the same time as an example, however, the actual application is likely to adopt a time division duplex method to sample different capacitance sensing elements at different times. In particular, the more buttons a product has, the more likely it is to use time division duplex technology. Therefore, in this embodiment, the capacitance value Cref of the internal capacitance sensing element 203 is sampled at time T1, and the capacitance value C1 of the external capacitance sensing element 203 is sampled at time T2. Generally speaking, when sampling the internal capacitance sensing element 203, the frequency of noise occurrence and the relative noise low point can be known. Therefore, based on the time of occurrence of the relative noise low point, the reliable data in the data sampled by the external capacitance sensing element 203 can be found, thereby determining whether a touch event operated by the user occurs in the external capacitance sensing element 203.

[0088] Although the above embodiment Fig.9A In the diagram, T1 and T2 appear to be at the same time and do not overlap each other, but in fact, T1 and T2 do not necessarily have to be at the same time and can actually overlap each other. The present invention is not limited to this.

[0089] Fig. 9B This is a schematic diagram of the operation of a capacitance sensing device according to a preferred embodiment of the present invention. Fig. 9BIn this embodiment, an example of sampling a reliable capacitance sensing time is designed. For example, in this embodiment, the capacitance value Cref of the internal capacitance sensing element 203 and the capacitance value C1 of the external capacitance sensing element 203 are sampled simultaneously. When it is determined that, for example, period T01 and period T08 are extreme values, that is, the maximum value of the noise, the capacitance value C1 corresponding to period T01 and period T08 is discarded, and even the capacitance value C1 corresponding to period T02 and period T07 can be discarded, and the capacitance value C1 sampled at other remaining times is used to determine whether a touch event operated by the user occurs. Therefore, based on the occurrence time of the relative noise low point, the reliable data in the data sampled by the external capacitance sensing element 203 can be found, thereby determining whether a touch event operated by the user occurs in the external capacitance sensing component 203.

[0090] Fig. 9C This is a schematic diagram of the operation of a capacitance sensing device according to a preferred embodiment of the present invention. Fig. 9C In this embodiment, an example of designing a reliable capacitance sensing time for sampling is also used, but it is in a time-sharing multitasking manner. For example, in this embodiment, the capacitance value Cref of the internal capacitance sensing element 203 and the capacitance value C1 of the external capacitance sensing element 203 are sampled in different periods. When it is determined that, for example, period T01 and period T07 are extreme values, that is, the maximum value of the noise, the capacitance value C1 corresponding to period T02 and period T06 is discarded, and the capacitance value C1 during period T04 is used to determine whether a touch event operated by the user occurs. Therefore, based on the time of occurrence of the relative noise low point, the reliable data in the data sampled by the external capacitance sensing element 203 can be found to determine whether a touch event operated by the user occurs in the external capacitance sensing element 203. Those skilled in the art should know that when the sampling speed is fast enough, this embodiment will be more accurate.

[0091] Fig.10 This is a flow chart of an anti-interference capacitance sensing method according to a preferred embodiment of the present invention. Fig.10 , the anti-interference capacitive sensing method comprises the following steps:

[0092] Step S1000: Start.

[0093] Step S1001: Provide an internal capacitive sensing element and at least one external capacitive sensing element. As described in the above embodiment, the internal capacitive sensing element 202 is a capacitive sensing element that cannot be operated by the user, while the external capacitive sensing element is a capacitive sensing element that is actually controlled by the user.

[0094] Step S1002: Convert the capacitance sensed by the internal capacitance sensing element into a reference reading value. That is, the control circuit 201 samples the internal capacitance sensing element 202 and converts it into a reference reading value. Whether the reference reading value is proportional to the capacitance value of the internal capacitance sensing element 202 or inversely proportional to the capacitance value of the internal capacitance sensing element 202 is not the key point.

[0095] Step S1003: Convert the capacitance sensed by the external capacitance sensing element into an external reading value. That is, the control circuit 201 samples the external capacitance sensing element 203 and converts it into an external reading value. Whether the external reading value is proportional to the capacitance value of the external capacitance sensing element 203 or inversely proportional to the capacitance value of the external capacitance sensing element 203 is not the key point.

[0096] Step S1004: Determine whether a touch event caused by a user has occurred in the external capacitive sensing element according to the reference reading value and the external reading value. As described in the above-mentioned several different embodiments, the reference reading value and the external reading value are used to determine whether a touch event caused by a user has occurred in the external capacitive sensing element or an event in which a conductor approaches the external capacitive sensing element.

[0097] Fig.11 This is a flow chart of an anti-interference capacitance sensing method according to a preferred embodiment of the present invention. Fig.11 In this embodiment, the original steps S1002 to S1004 are all changed. This anti-interference capacitive sensing method, following S1001, includes the following steps:

[0098] Step S1101: Sample multiple reference reading values ​​of the internal capacitance sensing element multiple times at each first predetermined time. As in the above embodiment, the reference reading value will vary with the interference, so by sampling the internal capacitance sensing element 202 multiple times, a relatively low point of the interference is found.

[0099] Step S1102 : sampling a plurality of external reading values ​​of the external capacitance sensing element multiple times at each second predetermined time. As in the above embodiment, the external capacitance sensing element 203 is sampled multiple times.

[0100] Step S1103: Determine an available time according to the reference reading value of the sampled internal capacitance sensing element and its corresponding time, and select the corresponding external reading value of the sampled external capacitance sensing element according to the available time to determine whether a touch event operated by a user occurs in the external capacitance sensing element. As in the above embodiment, since the reference reading value will change with the interference, by sampling the internal capacitance sensing element 202 multiple times, the relative high point of the interference can be found, and the frequency of the interference can also be found. In this way, it is possible to determine which is an unreliable external reading value, and by using the other reliable external reading values, it is determined whether a touch event operated by a user occurs in the external capacitance sensing element.

[0101] In the above embodiment, the first predetermined time and the second predetermined time may overlap. This type of embodiment is an embodiment in which the external capacitance sensing element 203 and the internal capacitance sensing element 202 are sampled at the same time. If the external capacitance sensing element 203 and the internal capacitance sensing element 202 have the same sampling rate, as long as the external reading value corresponding to the same sampling time with an extreme value (that is, a reference reading value with a relatively high interference point) is found and excluded, the remaining external reading values ​​can be determined to be credible. The remaining external reading values ​​can be used as a basis for determining whether a touch event operated by a user occurs when the external capacitance sensing element 203 is sampled.

[0102] In addition, the external capacitance sensing element 203 and the internal capacitance sensing element 202 have the same sampling rate. As long as it is found that the Kth sampled reference reading value is an extreme value (with the largest noise), it can be known that the Kth external reading value is unreliable. The external reading values ​​other than the Kth external reading value can be used as a basis for determining whether a touch event operated by a user occurs when the external capacitance sensing element 203 is sampled. As shown in the above table, for example, the 3rd, 4th, 9th, 10th, 14th, 15th, 20th, and 21st external reading value data are relatively reliable.

[0103] In the above embodiment, the first predetermined time and the second predetermined time can also be separated, that is, a time division duplex embodiment. This type of embodiment is an embodiment in which the above external capacitance sensing element 203 and the above internal capacitance sensing element 202 are sampled at different times. In the same way, as long as the reference reading value is found to be the same sampling time as the extreme value (that is, the reference reading value of the relatively high point of interference), the regularity of the interference can be found. By finding the corresponding external reading value sampled at the second predetermined time, it can be determined that the above external reading value is unreliable. The remaining external reading values ​​can be used as a basis for determining whether a touch event operated by the user occurs when the external capacitance sensing element 203 is sampled. As for the part of determining the sampling time point, programming processing methods such as additional sampling time index numbers can be added when storing reference reading values ​​and external reading values, which will not be repeated here.

[0104] Fig.12 This is a flow chart of an anti-interference capacitance sensing method according to a preferred embodiment of the present invention. Fig.12 In this embodiment, the original steps S1001 to S1003 remain unchanged, while the original step S1004 is changed as follows:

[0105] S1201: Determine whether a touch event caused by a user occurs in the external capacitive sensing element according to the ratio of the reference reading value sensed by the internal capacitive sensing element to the external reading value sensed by the external capacitive sensing element and at least one threshold value. Figure 2 In order to eliminate the influence of voltage on capacitive sensing, the voltage component is eliminated by the ratio relationship. Therefore, it is possible to determine whether a touch event operated by a user occurs in the external capacitive sensing element by the ratio and a threshold value as described in the above embodiment.

[0106] Fig.13 This is a flow chart of an anti-interference capacitance sensing method according to a preferred embodiment of the present invention. Fig.13 In this embodiment, the original steps S1001 to S1004 are changed as follows:

[0107] Step S1301: Provide an internal capacitive sensing element and provide P external capacitive sensing elements.

[0108] Step S1302: During the I-th first preset time, convert the capacitance value sensed by the I-th external capacitance sensing element into the I-th external reading value.

[0109] Step S1303: During the I second preset time, convert the capacitance value sensed by the internal capacitance sensing element into an I reference reading value.

[0110] Step S1304: Determine whether a touch event caused by a user operation occurs in the Ith external capacitive sensing element according to the ratio of the Ith reference reading value sensed by the internal capacitive sensing element to the Ith external reading value sensed by the external capacitive sensing element and at least one threshold value. The above P and I are both natural numbers, and I is less than P.

[0111] In this embodiment, as Figure 3 In the embodiment, the adjacent first predetermined time T1 and the adjacent second predetermined time T2 are paired. That is to say, the control circuit will take C1 and Cref1 as a pair as a ratio, and C2 and Cref2 as a pair as a ratio. Since the time is close, the interference is also very close, so at this moment, two adjacent reference reading values ​​close in time and the external reading value are deliberately used as the basis for the above touch ratio to determine whether a conductor approaches the external capacitive sensing element 203 or whether a touch event occurs at the external capacitive sensing element 203.

[0112] Fig.14 This is a flow chart of an anti-interference capacitance sensing method according to a preferred embodiment of the present invention. Fig.14 In this embodiment, the original steps S1001 to S1004 are changed as follows:

[0113] Step S1401: Provide an internal capacitive sensing element and P external capacitive sensing elements.

[0114] Step S1402: During the I-th first preset time, convert the capacitance value sensed by the I-th external capacitance sensing element into the I-th external reading value.

[0115] Step S1403: At the Kth second preset time, convert the capacitance value sensed by the internal capacitance sensing element into a Kth reference reading value.

[0116] Step S1404: According to the magnitude of the Kth reference reading value sensed by the internal capacitance sensing element and the Q ratios of the Q external reading values ​​sensed at the Q first preset times before the Kth second preset time, and the magnitude of the R ratios of the R external reading values ​​sensed at the R first preset times after the Kth second preset time, and at least one threshold value, determine whether the corresponding Q+R external capacitance sensing elements have a touch event operated by the user. The above P, Q, K, R and I are natural numbers, and 0 <I≤P、0<Q≤P、0<R≤P、0<K≤P。

[0117] In this embodiment, as Figure 6 The embodiment, however, Figure 6In the embodiment, the above Q and R are both 1. However, in actual situations, if there are enough buttons or enough external capacitive sensing elements, and the sampling rate is high enough and the speed is fast enough, Q and R can be greater than 1, as described in the above embodiment, so it is not repeated here. Since general products are likely to be designed with multiple buttons or multiple capacitive sensing elements, as described in the above embodiment, when there are more buttons, multiple external capacitive sensing elements can share the scanning of the internal capacitive sensing element 202.

[0118] In summary, the spirit of the preferred embodiment of the present invention is to use an actual internal capacitance sensing element as a capacitance detection reference. Since the actual internal capacitance sensing element will be interfered with at the same time, it will also float with the interference. Therefore, for different capacitance sensing methods, for example, the minimum interference time can be found to determine the touch, or mathematical principles can be used to find a capacitance sensing mechanism that is independent of voltage, so no matter how the interference occurs, it will not affect the capacitance detection result.

[0119] The specific embodiments proposed in the detailed description of the preferred embodiments are only used to facilitate the description of the technical content of the present invention, and are not intended to narrowly limit the present invention to the above embodiments. All changes and implementations made without exceeding the spirit of the present invention and the scope of the claims are within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the scope defined by the claims.

Claims

1. A capacitive sensing device, characterized in that: include: A control circuit including a reference sensing connection interface and a capacitive sensing connection interface; an internal capacitive sensing element electrically connected to the reference sensing connection interface, wherein the internal capacitive sensing element is not operable by a user; an external capacitive sensing element electrically connected to the capacitive sensing connection interface, wherein the external capacitive sensing element is operable by a user; The control circuit is used to convert the capacitance value sensed by the internal capacitance sensing element into a reference reading value, and convert the capacitance value sensed by the external capacitance sensing element into an external reading value, so as to determine whether a touch event operated by a user occurs in the external capacitance sensing element.

2. The capacitance sensing device according to claim 1, wherein: The control circuit includes a memory. In which, at each first predetermined time, the reference sensing connection interface samples multiple reference reading values ​​of the internal capacitance sensing element multiple times and stores them in the memory. In each second predetermined time, the capacitance sensing connection interface samples multiple external reading values ​​of the external capacitance sensing element multiple times and stores them in the memory. Among them, an available time is determined according to the reference reading value of the internal capacitive sensing element sampled by the reference sensing connection interface stored in the memory and its corresponding time, and according to the available time, the external reading value of the external capacitive sensing element sampled by the corresponding capacitive sensing connection interface is selected to determine whether a touch event operated by a user occurs in the external capacitive sensing element.

3. The capacitance sensing device according to claim 2, wherein: The available time is determined by the time from when the internal capacitive sensing element sampled by the reference sensing connection interface starts sampling the first reference reading value to when the reference sensing connection interface samples an extreme value of a plurality of reference reading values ​​of the internal capacitive sensing element.

4. The capacitance sensing device according to claim 2, wherein: The first scheduled time and the second scheduled time occur simultaneously.

5. The capacitance sensing device according to claim 2, wherein: The first predetermined time and the second predetermined time occur alternately.

6. The capacitance sensing device according to claim 1, wherein: The control circuit includes a memory. Wherein, at each first predetermined time, N reference reading values ​​of the internal capacitance sensing element are sampled in sequence and stored in the memory, Wherein, at each second predetermined time, N external reading values ​​of the external capacitance sensing element are sampled in sequence and stored in the memory, The control circuit finds a Kth reference reading value among the N reference reading values ​​of the internal capacitance sensing element, wherein the Kth reference reading value is an extreme value among the N reference reading values ​​of the internal capacitance sensing element, The control circuit excludes the Kth external reading value of the external capacitance sensing element to determine whether a touch event operated by a user occurs on the external capacitance sensing element. Among them, N and K are natural numbers, 0 <K≤N。 7. The capacitance sensing device according to claim 6, wherein: The first scheduled time and the second scheduled time occur simultaneously.

8. The capacitance sensing device according to claim 6, wherein: The first predetermined time and the second predetermined time occur alternately.

9. The capacitance sensing device according to claim 1, wherein: According to the size of the ratio of the reference reading value sensed by the internal capacitance sensing element to the external reading value sensed by the external capacitance sensing element and at least one threshold value, it is determined whether a touch event operated by a user occurs in the external capacitance sensing element.

10. The capacitance sensing device according to claim 1, wherein: The control circuit further includes a plurality of capacitance sensing connection interfaces, And wherein, the capacitance sensing device further comprises: P external capacitive sensing elements electrically connected to the control circuit; In which, at the I first preset time, the control circuit converts the capacitance value sensed by the I external capacitance sensing element into the I external reading value. In which, at the I second preset time, the control circuit converts the capacitance value sensed by the internal capacitance sensing element into an I reference reading value, The control circuit determines whether a touch event operated by a user occurs in the first external capacitive sensing element according to the ratio of the first reference reading value sensed by the internal capacitive sensing element to the first external reading value sensed by the external capacitive sensing element and at least one threshold value. Where P and I are natural numbers, and 0 <I≤P。 11. The capacitance sensing device according to claim 1, wherein: The control circuit further includes a plurality of capacitance sensing connection interfaces, And wherein, the capacitance sensing device further comprises: P external capacitive sensing elements electrically connected to the control circuit; In which, at the I first preset time, the control circuit converts the capacitance value sensed by the I external capacitance sensing element into the I external reading value. In which, at the Kth second preset time, the control circuit converts the capacitance value sensed by the internal capacitance sensing element into a Kth reference reading value, The control circuit determines whether a touch event operated by a user occurs in the corresponding Q+R external capacitive sensing elements according to the magnitude of the Kth reference reading value sensed by the internal capacitive sensing element and the magnitude of the Q ratios of the Q external reading values ​​sensed at the Q first preset times before the Kth second preset time, and the magnitude of the R ratios of the R external reading values ​​sensed at the R first preset times after the Kth second preset time, and at least one threshold value. Among them, P, Q, K, R and I are natural numbers, and 0 <I≤P、0<Q≤P、0<R≤P、0<K≤P。 12. An anti-interference capacitance sensing method, characterized in that: include: Providing an internal capacitive sensing element and at least one external capacitive sensing element, wherein the internal capacitive sensing element is not operable by a user; converting the capacitance value sensed by the internal capacitance sensing element into a reference reading value; Converting the capacitance value sensed by the external capacitance sensing element into an external read value; and According to the reference reading value and the external reading value, it is determined whether a touch event operated by a user occurs on the external capacitance sensing element.

13. The anti-interference capacitance sensing method according to claim 12, characterized in that: Converting the capacitance value sensed by the internal capacitance sensing element into a reference reading value, comprising: At each first predetermined time, sampling a plurality of reference reading values ​​of the internal capacitance sensing element a plurality of times; The step of converting the capacitance value sensed by the external capacitance sensing element into an external read value comprises: At every second predetermined time, a plurality of external reading values ​​of the external capacitance sensing element are sampled a plurality of times; The method of determining whether a touch event caused by a user occurs on the external capacitive sensing element according to the reference reading value and the external reading value includes: Determine an available time according to the reference reading value sampled from the internal capacitance sensing element and its corresponding time; and According to the available time, a corresponding sampled external reading value of the external capacitance sensing element is selected to determine whether a touch event operated by a user occurs on the external capacitance sensing element.

14. The anti-interference capacitance sensing method according to claim 13, characterized in that: The available time is determined by the time from the first reference reading value sampled from the internal capacitance sensing element to the extreme value among the multiple reference reading values ​​sampled from the internal capacitance sensing element.

15. The anti-interference capacitance sensing method according to claim 13, characterized in that: The first scheduled time and the second scheduled time occur simultaneously.

16. The anti-interference capacitance sensing method according to claim 13, characterized in that: The first predetermined time and the second predetermined time occur alternately.

17. The anti-interference capacitance sensing method according to claim 12, characterized in that: Converting the capacitance value sensed by the internal capacitance sensing element into a reference reading value, comprising: At each first predetermined time, sequentially sampling N reference reading values ​​of the internal capacitance sensing element; The step of converting the capacitance value sensed by the external capacitance sensing element into an external read value comprises: At every second predetermined time, sequentially sampling N external reading values ​​of the external capacitive sensing element; The method of determining whether a touch event caused by a user occurs on the external capacitive sensing element according to the reference reading value and the external reading value includes: Finding a Kth reference reading value among the N reference reading values ​​of the internal capacitive sensing element, wherein the Kth reference reading value is an extreme value among the N reference reading values ​​of the internal capacitive sensing element; Excluding the Kth external reading value of the external capacitance sensing element, and determining whether a touch event operated by a user occurs on the external capacitance sensing element with the external reading values ​​not excluded, Among them, N and K are natural numbers, 0 <K≤N。 18. The anti-interference capacitance sensing method according to claim 17, characterized in that: The first scheduled time and the second scheduled time occur simultaneously.

19. The anti-interference capacitance sensing method according to claim 17, characterized in that: The first predetermined time and the second predetermined time occur alternately.

20. The anti-interference capacitance sensing method according to claim 12, characterized in that: Determining whether a touch event caused by a user occurs on the external capacitive sensing element according to the reference reading value and the external reading value, including: According to the size of the ratio of the reference reading value sensed by the internal capacitance sensing element to the external reading value sensed by the external capacitance sensing element and at least one threshold value, it is determined whether a touch event operated by a user occurs in the external capacitance sensing element.

21. The anti-interference capacitance sensing method according to claim 12, characterized in that: An internal capacitive sensing element and at least one external capacitive sensing element are provided, wherein the internal capacitive sensing element is not operable by a user, comprising: Providing P external capacitive sensing elements; The step of converting the capacitance value sensed by the external capacitance sensing element into an external read value comprises: At the I first preset time, the capacitance value sensed by the I external capacitance sensing element is converted into the I external reading value; The step of converting the capacitance value sensed by the internal capacitance sensing element into a reference reading value comprises: During the first second preset time, the capacitance value sensed by the internal capacitance sensing element is converted into a first reference reading value; The method of determining whether a touch event caused by a user occurs on the external capacitive sensing element according to the reference reading value and the external reading value includes: According to the ratio of the first reference reading value sensed by the internal capacitance sensing element to the first external reading value sensed by the external capacitance sensing element and at least one threshold value, it is determined whether the first external capacitance sensing element has a touch event operated by a user, Where P and I are natural numbers, and 0 <I≤P。 22. The anti-interference capacitance sensing method according to claim 12, characterized in that: An internal capacitive sensing element and at least one external capacitive sensing element are provided, wherein the internal capacitive sensing element is not operable by a user, comprising: Providing P external capacitive sensing elements; The step of converting the capacitance value sensed by the external capacitance sensing element into an external read value comprises: At the I first preset time, the capacitance value sensed by the I external capacitance sensing element is converted into the I external reading value; The step of converting the capacitance value sensed by the internal capacitance sensing element into a reference reading value comprises: At a Kth second preset time, converting the capacitance value sensed by the internal capacitance sensing element into a Kth reference reading value; The step of converting the capacitance value sensed by the internal capacitance sensing element into a reference reading value comprises: According to the magnitude of the Kth reference reading value sensed by the internal capacitance sensing element and the Q ratios of the Q external reading values ​​sensed at the Q first preset times before the Kth second preset time, and the magnitude of the R ratios of the R external reading values ​​sensed at the R first preset times after the Kth second preset time, and at least one threshold value, it is determined whether a touch event operated by a user occurs in the corresponding Q+R external capacitance sensing elements, Among them, P, Q, K, R and I are natural numbers, and 0 <I≤P、0<Q≤P、0<R≤P、0<K≤P。