CIRCUIT, TOUCH CHIP, AND ELECTRONIC DEVICE FOR CAPACITANCE DETECTION
The present disclosure discloses a circuit, touch chip, and electronic device for capacitance detection. The circuit for capacitance detection comprises: a control module (112), a charge transfer module (142), a processing module (152), a driving module (122), and an offsetting module (132), the control module (112) being configured to charge a detection capacitor (Cx) by controlling the driving module (122), the offsetting module (132) being configured to charge an offset capacitor (Cc), and control the offset capacitor (Cc) to perform charge offsetting on the detection capacitor (Cx); the charge transfer module (142) being configured to convert charge of the detection capacitor after the charge offsetting to generate an output voltage (VOUT); and the processing module (152) being configured to determine, based on the output voltage (VOUT), a capacitance variation of the detection capacitor (Cx) before and after the detection capacitor is affected by an external electric field.
The present application is a continuation of international application PCT/CN2018/117925, filed on Nov. 28, 2018, which claims priority to international application No. PCT/CN2018/104618, filed on Sep. 7, 2018, both of which are hereby incorporated by reference in its entireties.
TECHNICAL FIELDEmbodiments of the present disclosure relate to the field of touch control technology, and in particular to, a circuit, touch chip, and electronic device for capacitance detection.
BACKGROUNDThe principle of self-capacitance detection is that a capacitor will be formed between a detection electrode and system ground, which is known as the self-capacitance detection. When no external electric field is caused by, e.g., a finger, the capacitor formed between the detection electrode and the system ground has base capacitance or initial capacitance. When the finger approaches or touches the detection electrode, the capacitance between the detection electrode and the system ground will be enhanced, and a user-related touch control operation may be determined by detecting a variation of the capacitance.
In the field of capacitance touch control, the flexible screen is an important development direction. When implementing capacitance touch detection using the above self-capacitance principle, the flexible screen is often thinner than a conventional capacitance touch control, such that the detection electrode is closer to the system ground. Thus, the base capacitance of the capacitor is significantly higher than the base capacitance of the capacitor of the conventional capacitance touch screen. Further, since a metal-mesh is used as the detection electrode, the sensing area is relatively small, such that when the finger touches the capacitor, the capacitance variation is very small. A small capacitance variation means to require a high circuit gain, such that the detection circuit can detect an electrical signal generated by the capacitance variation during touching, but since the base capacitance is much higher than the capacitance variation, a high circuit gain, if employed, further tends to cause detection circuit saturation.
Further, the small capacitance variation also generates a very small electrical signal, which is readily submerged in circuit noise, thus failing to be detected. Thus it can be seen that, the prior art has low sensitivity of the self-capacitance detection, finally resulting in the defect of low accuracy of the self-capacitance detection.
SUMMARYIn view of this, one of the technical problems solved by embodiments of the present disclosure is to provide a circuit, touch chip, and electronic device for capacitance detection, to overcome the above defect in the prior art.
An embodiment of the present disclosure provides a circuit for capacitance detection, including: a control module, a charge transfer module, a processing module, a driving module, and an offsetting module, the control module being configured to charge a detection capacitor by controlling the driving module, the offsetting module being configured to charge an offset capacitor, and control the offset capacitor to perform charge offsetting on the detection capacitor; the charge transfer module being configured to convert charge of the detection capacitor after the charge offsetting to generate an output voltage; and the processing module being configured to determine, based on the output voltage, a capacitance variation of the detection capacitor before and after the detection capacitor is affected by an external electric field.
An embodiment of the present disclosure provides a touch chip, including: the circuit for capactance detection according to any one embodiment of the present disclosure.
An embodiment of the present disclosure provides an electronic device, including the touch chip according to any one embodiment of the present disclosure.
In the technical solutions provided by embodiments of the present disclosure, a circuit for capacitance detection includes: a control module, a charge transfer module, a processing module, a driving module, and an offsetting module, the control module being configured to charge a detection capacitor by controlling the driving module, the offsetting module being configured to charge an offset capacitor, and control the offset capacitor to perform charge offsetting on the detection capacitor; the charge transfer module being configured to convert charge of the detection capacitor after the charge offsetting to generate an output voltage; and the processing module being configured to determine, based on the output voltage, a capacitance variation of the detection capacitor before and after the detection capacitor is affected by an external electric field. When the circuit is applied to self-capacitance detection, base capacitance of a detected detection capacitor may be eliminated or reduced by charge offsetting, thereby improving the capacitance variation rate and enhancing the sensitivity of the self-capacitance detection in a circumstance where the capacitance variation remains unchanged, and finally improving the accuracy of the self-capacitance detection.
Some specific embodiments of embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings, by an exemplary approach, instead of a non-limiting approach. Identical reference numerals in the accompanying drawings represent identical or similar components or parts. As will be appreciated by those skilled in the art, these accompanying drawings may not be drawn to scale. In the accompanying drawings:
Any technical solution of embodiments of the present disclosure may not necessarily be implemented to achieve all of the above advantages.
In the technical solutions provided by embodiments of the present disclosure, a circuit for capacitance detection includes: a control module, a charge transfer module, a processing module, a driving module, and an offsetting module, the control module being configured to charge a detection capacitor by controlling the driving module, the offsetting module being configured to charge an offset capacitor, and control the offset capacitor to perform charge offsetting on the detection capacitor; the charge transfer module being configured to convert charge of the detection capacitor after the charge offsetting to generate an output voltage; and the processing module being configured to determine, based on the output voltage, a capacitance variation of the detection capacitor before and after the detection capacitor is affected by an external electric field. When the circuit is applied to self-capacitance detection, base capacitance of a detected detection capacitor may be eliminated or reduced by charge offsetting, thereby improving the capacitance variation rate and enhancing the sensitivity of the self-capacitance detection in a circumstance where the capacitance variation remains unchanged, and finally improving the accuracy of the self-capacitance detection.
Specific implementations of the embodiments of the present disclosure will be further illustrated below in conjunction with the accompanying drawings of the embodiments of the present disclosure.
The following
In the present embodiment, a circuit for capacitance detection is specifically provided on the touch chip 102 in
As shown in
As shown in
Specifically, when the offsetting module 132 includes the second switching unit K2 and the third switching unit K3, the control module 112 controls the second switching unit K2 and the third switching unit K3 to be in a first closed state, and form a charging branch circuit, such that the offsetting module 132 charges the offset capacitor. Specifically, when the second switching unit K2 and the third switching unit K3 are in the first closed state, a first terminal of the offset capacitor Cc is electrically connected to a third voltage (−Vcc) via the second switching unit K2, a second terminal of the offset capacitor Cc is electrically connected to a fourth voltage (Vcc) via the third switching unit K3, and the fourth voltage is higher than the third voltage.
Further, the control module 112 controls the second switching unit K2 and the third switching unit K3 to be in a second closed state, and form an offsetting branch circuit. Charged detection capacitor and charged offset capacitor store different amounts of charge, such that the offset capacitor may perform charge offsetting on the detection capacitor when the charging branch circuit is switched to the offsetting branch circuit. Specifically, when the control module 112 controls the second switching unit K2 and the third switching unit K3 to be in the second closed state, the first terminal of the offset capacitor Cc is electrically connected to the first terminal of the detection capacitor Cx, the second terminal of the offset capacitor Cc is electrically connected to a fifth voltage (−Vcc), and the fifth voltage is lower than the second voltage (GND) electrically connected to the second terminal of the detection capacitor Cx. In the present embodiment, −Vcc is a negative supply voltage.
As shown in
In the present embodiment, the charge transfer module 142 is specifically a fully differential amplifying circuit. Further, a normal phase terminal of the fully differential amplifying circuit is electrically connected to the fourth switch K4, and a negative phase terminal of the fully differential amplifying circuit is connected to a common mode voltage (VCM). A feedback resistor Rf and a feedback capacitor Cf are provided between the normal phase terminal and the output terminal, and between the negative phase terminal and the output terminal, of the fully differential amplifying circuit.
In the present embodiment, the first switching unit K1 and the fourth switching unit K4 are single-pole single-throw switches. The second switching unit K2 and the third switching unit are single-pole double-throw switches. Thus, in order to switch between the charging branch circuit and the offsetting branch circuit, a contact 1 and a contact 2 are provided. The contact 1 is located on the charging branch circuit, and the contact 2 is located on the offsetting branch circuit. The description of
-
- time interval t1: charging the detection capacitor Cx and the offset capacitor Cc;
- time interval t2: performing charge offsetting between the detection capacitor Cx and the offset capacitor Cc;
- time interval t3: transferring charge to convert the charge into a voltage signal; and
- time interval t4: resetting the fully differential amplifying circuit.
In the time interval t1, the first switching unit K1 is switched on (i.e., in the closed state), the second switching unit K2 and the third switching unit K3 are connected to the contact 1 (i.e., in the first closed state), the fourth switching unit K4 is switched off, and the detection capacitor Cx and the offset capacitor Cc are charged simultaneously. When the time interval t1 is completed, a voltage of the detection capacitor Cx is Vcc, and a voltage of the offset capacitor Cc is −2Vcc. In addition, since the fourth switching unit K4 is switched off, the output voltage (Vout) of the charge transfer module is 0. In this case, the amount of charge stored in the detection capacitor Cx is Q1=Vcc*Cx, and the amount of charge stored in the offset capacitor Cc is Q2=−2Vcc*Cc.
In the time interval t2, the first switching unit K1 and the fourth switching unit K4 are switched off, the second switching unit K2 and the third switching unit K3 are connected to the contact 2 (i.e., in the second closed state), and the charge stored in the detection capacitor Cx and the charge stored in the offset capacitor Cc are neutralized and offset. After reaching a steady state, in accordance with the charge conservation law, there is VCCCX−2VCCCC=VXCX+(VX+VCC)CC, and a voltage Vx of the detection capacitor Cx may be obtained as:
In the time interval t3, the first switching unit K1 is switched off, the second switching unit K2 and the third switching unit K3 are connected to the contact 2 (i.e., in the second closed state), and the fourth switching unit K4 is switched on (i.e., in the closed state). Based on the magnitude of the voltage Vx of the detection capacitor Cx, there are the situations below:
If Vx>Vcm, the detection capacitor Cx and the offset capacitor Cc transfer charge to the charge transfer module simultaneously, until the voltage Vx of the detection capacitor Cx reaches Vcm. In this process, the output voltage (Vout) of the charge transfer module is a negative voltage.
If Vx=Vcm, then there is not a process of charge transfer from the detection capacitor Cx and the offset capacitor Cc to the charge transfer module, and the output voltage (VOUT) of the charge transfer module is 0. In this case, the circuit reaches a complete offset state. Circuit parameters (details as below) are reasonably defined, such that in case of no touching, the circuit can reach a complete offset state, and can completely offset the base capacitance of the detection capacitor Cx, while in case of touching, the capacitance of the detection capacitor Cx becomes higher on the basis of the base capacitance thereof, and the voltage of the output voltage (VOUT) is completely caused by touching. Accordingly, the detection sensitivity in this state is highest.
If Vx<Vcm, the charge transfer module will charge the detection capacitor Cx and the offset capacitor Cc via a feedback network (including Rf and Cf), until both the voltage of the detection capacitor Cx and the voltage of the offset capacitor Cc reach Vcm. In this process, the output voltage (Vout) of the charge transfer module is a positive voltage.
In the time interval t4, the first switching unit K1 is switched off, the second switching unit K2 and the third switching unit K3 are in the second closed state, the fourth switching unit K4 is switched off, the detection capacitor Cx and the offset capacitor Cc are reset, and the output voltage (Vout) becomes 0.
As can be seen from the above, when the time interval t2 is completed:
VCCCX−2VCCCC=VXCX(VX+VCC)CC
As can be seen from the above, when the time interval t3 is completed, the voltage of the detection capacitor Cx and the offset capacitor Cc is constant (Wm), and the amount of transferred charge is:
Based on the time sequence of t1-t4, the amount of transferred charge may be obtained as ΔQ=(VCC−VCM)(CX0+ΔC)−(3VCC+VCM)CC. In the complete offset state, the amount of transferred charge is ΔQ=(VCC−VCM)·ΔC, and an average value of the output voltage may be obtained as VOUT=2ΔQ·f·Rf, and f denotes a detection frequency, the value of which is a reciprocal of a detection period composed of the time intervals t1-t4.
In the complete offset state, Vx=Vcm, and there is the following relationship:
(VCC−VCM)CX0=(3VCC+VCM)CC
The capacitance of the offset capacitor Cc may be obtained as
Cc, Cx0, Vcc, and Vcm are defined in accordance with the equation, such that the circuit can reach a complete offset state. In particular, when VCC=2VCM, there is
Thus, in case of complete offset, the capacitance of the offset capacitor Cc is 1/7 of the base capacitance of the detection capacitor Cx.
As can be seen from the above inference process, the offset capacitor Cc is preferably selected or designed such that the capacitance of the offset capacitor is 1/7 of the base capacitance of the detection capacitor Cx. In addition, in order to prevent the capacitance variation of the offset capacitor from affecting the capacitance variation detection of the detection capacitor when the touch screen is touched, the offset capacitance Cc is preferably a capacitor that does not have capacitance variation caused by touching.
In the time interval t1, the first switching unit K1 is switched on, the second switching unit K2 and the third switching unit K3 are connected to the contact 1, the fourth switching unit K4 is switched off, and the detection capacitor Cx and the offset capacitor Cc are charged simultaneously. When the time interval t1 is completed, a voltage of the detection capacitor Cx is Vcc, a voltage of the offset capacitor Cc is −Vcc, and an output voltage (VOUT) of the charge transfer module is 0. In this case, the amount of charge stored in the detection capacitor Cx is Q1=Vcc*Cx, and the amount of charge stored in the offset capacitor Cc is Q2=−Vcc*Cc.
In the time interval t2, the first switching unit K1 and the fourth switching unit K4 are switched off, the second switching unit K2 and the third switching unit K3 are connected to the contact 2, and the charge stored in the detection capacitor Cx and the charge stored in the offset capacitor Cc are neutralized and offset. After reaching a steady state, in accordance with the charge conservation law, there is VCCCX−VCCCC=VX(CX+CC), and a voltage of the detection capacitor Cx may be obtained as
In the time interval t3, the first switching unit K1 is switched off, the second switching unit K2 and the third switching unit K3 are connected to the contact 2, and the fourth switching unit K4 is switched on. Based on the magnitude of the voltage Vx, there are the situations below:
If Vx>Vcm, the detection capacitor Cx and the offset capacitor Cc transfer charge to the charge transfer module simultaneously, until the voltage of the detection capacitor Cx reaches Vcm. In this process, the output voltage (Vout) of the charge transfer module is a negative voltage.
If Vx=Vcm, then there is not a process of charge transfer from the detection capacitor Cx and the offset capacitor Cc to the charge transfer module, and the output voltage (VOUT) of the charge transfer module is 0. In this case, the circuit reaches a perfect offset state. Circuit parameters (details as below) are reasonably defined, such that in case of no touching, the circuit can reach a complete offset state, and can completely offset the base capacitance of the detection capacitor Cx, while in case of touching, the capacitance of the detection capacitor Cx becomes higher, and the output voltage (VOUT) is completely caused by touching. Accordingly, the detection sensitivity in this state is highest.
If Vx<Vcm, the charge transfer module will charge the detection capacitor Cx and the offset capacitor Cc via the feedback network of Rf and Cf, until both the Cx and the Cc reach Vcm. In this process, the output voltage (Vout) of the charge transfer module is a positive voltage.
During t4, the fourth switching unit K4 is switched off, the charge transfer module is reset, and the output voltage (Vout) becomes 0.
Based on the time sequence of t1-t4, the amount of transferred charge may be obtained as ΔQ=(VCC−VCM)(CX0+ΔC)−(VCC+VCM)CC. In the complete offset state, the amount of transferred charge is ΔQ=(VCC−VCM)·ΔC. In the complete offset state, Vx=Vcm, and there is the following relationship:
(VCC−VCM)CX0=(VCC−VCM)CC
The capacitance of the offset capacitor Cc may be obtained as
and in particular, when VCC=VCM, there is
Thus, in case of complete offset, the capacitance of the offset capacitor Cc is ⅓ of the base capacitance of the detection capacitor Cx. Thus it can be seen that, the capacitance of the offset capacitance Cc in the present embodiment is 7/3 times as much as that in the embodiment of
Thus, theoretically, the capacitance of the offset capacitor can be designed in accordance with the above situation of complete offset.
Different from the above embodiments, the offsetting module 132 includes the second switching unit (excluding the third switching unit K3), and the control module 112 is further configured to control the second switching unit K2 to be in the first closed state, and form the charging branch circuit, such that the driving module 122 charges the offset capacitor Cc. When the second switching unit K2 is in the first closed state, the first terminal of the offset capacitor Cc is electrically connected to the third voltage (−VCC) via the second switching unit K2, the second terminal of the offset capacitor Cc is electrically connected to the sixth voltage (GND), and the sixth voltage is higher than the third voltage.
Further, in the present embodiment, the control module 112 controls the second switching unit K2 to be in the second closed state and form the offsetting branch circuit, such that the offset capacitor Cc performs charge offsetting on the detection capacitor Cx. When the second switching unit K2 is in the second closed state, the first terminal of the offset capacitor Cc is electrically connected to the first terminal of the detection capacitor Cx, the second terminal of the offset capacitor Cc is electrically connected to the sixth voltage (GND), and the sixth voltage is equal to the second voltage (GND) electrically connected to the second terminal of the detection capacitor Cx.
That is, the offsetting module 132 only includes the second switching unit K2, and as compared to the
In the time interval t1, the first switching unit K1 is switched on, the second switching unit K2 is connected to the contact 1, the fourth switching unit K4 is switched off, and the detection capacitor Cx and the offset capacitor Cc are charged simultaneously. When the time interval t1 is completed, the voltage of the detection capacitor Cx is Vcc, the voltage of the offset capacitor Cc is −Vcc, and the output voltage (Vout) of the charge transfer module is 0. In this case, the amount of charge stored in the detection capacitor Cx is Q1=Vcc*Cx, and the amount of charge stored in the offset capacitor Cc is Q2=−Vcc*Cc.
In the time interval t2, the first switching unit K1 and the fourth switching unit K4 are switched off, the second switching unit K2 is connected to the contact 2, and the charge stored in the detection capacitor Cx and the charge stored in the offset capacitor Cc are neutralized and offset. After reaching a steady state, in accordance with the charge conservation law, there is VCCCX−VCCCC=VX(CX+CC), and a voltage of the detection capacitor Cx may be obtained as
In the time interval t3, the first switching unit K1 is switched off, the second switching unit K2 is connected to the contact 2, and the fourth switching unit K4 is switched on. Based on the magnitude of the voltage Vx, there are the situations below:
If Vx>Vcm, the detection capacitor Cx and the offset capacitor Cc transfer charge to the charge transfer module 142 simultaneously, until the voltage of the Cx reaches Vcm. In this process, the output voltage (Vout) of the charge transfer module is a negative voltage.
If Vx=Vcm, then there is not a process of charge transfer from the detection capacitor Cx and the offset capacitor Cc to the charge transfer module, and the output voltage (VOUT) of the charge transfer module is 0. In this case, the circuit reaches a perfect offset state. Circuit parameters (details as below) are reasonably defined, such that in case of no touching, the circuit can reach a complete offset state, and can completely offset the base capacitance of the detection capacitor Cx, while in case of touching, the capacitance of the detection capacitor Cx becomes higher on the basis of the base capacitance thereof, and the voltage of the output voltage (VOUT) is completely caused by touching. Accordingly, the detection sensitivity in this state is highest.
If Vx<Vcm, the charge transfer module will charge the detection capacitor Cx and the offset capacitor Cc via the feedback network (Rf and Cf), until both the Cx and the Cc reach Vcm. In this process, the output voltage (Vout) of the charge transfer module is a positive voltage.
During t4, the fourth switching unit K4 is switched off, the charge transfer module is reset, and the output voltage (Vout) becomes 0.
Based on the time sequence of t1-t4, the amount of transferred charge may be obtained as ΔQ=(VCC−VCM)(CX0+ΔC)−(VCC+VCM)CC. In the complete offset state, the amount of transferred charge is ΔQ=(VCC−VCM)·ΔC. In the complete offset state, Vx=Vcm, and there is the following relationship:
(VCC−VCM)CX0=(VCC+VCM)CC
The capacitance of the offset capacitor Cc may be obtained as
and in particular, when VCC=2VCM, there is
Thus, in case of complete offset, the capacitance of the offset capacitor Cc is ⅓ of the base capacitance of the detection capacitor Cx.
The capacitance of the offset capacitance Cc in the present embodiment is 7/3 times as much as that in the embodiment of
In the embodiment shown in
In addition, different from the above embodiments, the eighth switching unit K8 configured to implement capacitance variation detection of the second detection capacitance Cx2 may be connected to the negative phase terminal of the charge transfer module 142.
At a moment t1, the first switching unit K1 and the fifth switching unit K5 are switched on, the second switching unit K2, the third switching unit K3, the sixth switching unit K6, and the seventh switching unit K7 are connected to the contact 1, the fourth switching unit K4 and the eighth switching unit K8 are switched off, and the first detection capacitor Cx1, the second detection capacitor Cx2, the first offset capacitor Cc1, and the second offset capacitor Cc2 are charged simultaneously. When the moment t1 is completed, the voltage of the first detection capacitor Cx1 and the second detection capacitor Cx2 is Vcc, the voltage of the first offset capacitor Cc1 and the second offset capacitor Cc2 is −2Vcc, and the output voltage (VOUT) of the charge transfer module is 0. In this case, the amount of charge stored in the first detection capacitor Cx1 and the second detection capacitor Cx2 is Q1=Vcc*Cx, and the amount of charge stored in the first offset capacitor Cc1 and the second offset capacitor Cc2 is Q2=−2Vcc*Cc.
At a moment t2, the first switching unit K1, the fourth switching unit K4, the fifth switching unit K5, and the eighth switching unit K8 are switched off, the second switching unit K2, the third switching unit K3, the sixth switching unit K6, and the seventh switching unit K7 are connected to the contact 2, and the charge stored in the first detection capacitor Cx1 and the second detection capacitor Cx2, and the charge stored in the first offset capacitor Cc1 and the second offset capacitor Cc2 are neutralized and offset. After reaching a steady state, the voltage of the first detection capacitor Cx1 is
and the voltage of the second detection capacitor Cx2 is
At a moment t3, the fourth switching element K4 and the eighth switching unit K8 are switched on, and there is charge transfer between the first detection capacitor Cx1 the first offset capacitor Cc1 and the charge transfer module, and between the second detection capacitor Cx2 the second offset capacitor Cc2 and the charge transfer module simultaneously. When reaching a steady state, the amount of charge transferred between the first detection capacitor Cx1 and the first offset capacitor Cc1 is ΔQ1=(VX1−VCM)(CX1+CC1), and the amount of charge transferred between the second detection capacitor Cx2 and the second offset capacitor Cc2 is ΔQ2=(VX2−VCM)(CX2+CC2). Based on the magnitude of ΔQ1 and ΔQ2, there are the following situations:
If ΔQ1>ΔQ2, then there is further Vx1>Vx2, and the output voltage (Vout) of the charge transfer module is a negative voltage;
If ΔQ1=ΔQ2, then there is further Vx1=Vx2, and the output voltage (Vout) of the charge transfer module is 0; and
If ΔQ1<ΔQ2, then there is further Vx1<Vx2, and the output voltage (Vout) of the charge transfer module is a positive voltage.
During t4, the fourth switching unit K4 and the eighth switching unit K8 are switched off, the charge transfer module 142 is reset, and the output voltage (Vout) becomes 0.
According to the above process, the amount of charge transferred between the first detection capacitor Cx1, the second detection capacitor Cx2, the first offset capacitor Cc1, the second offset capacitor Cc2, and the charge transfer module is:
ΔQ=ΔQ1−ΔQ2=(VCC−VCM)(CX1−CX2)−(3VCC+VCM)(CC1−CC2).
Further, CX1=(CX10+ΔC1), CX2=(CX20+ΔC2), ΔC1 represents the capacitance variation of the first detection capacitor, CX10 represents the base capacitance of the first detection capacitor; ΔC2 represents the capacitance variation of the second detection capacitor, and CX20 represents the base capacitance of the second detection capacitor.
In case of complete offset, the amount of transferred charge is ΔQ=(VCC−VCM)(ΔC1−ΔC2), and an average value of the output voltage may be obtained as VOUT=2ΔQ·f·Rf.
Like the embodiment of
(VCC−VCM)CX10=(3VCC+VCM)CC,(VCC−VCM)CX20=(3VCC+VCM)CC
Thus, the capacitance satisfying the first offset capacitor and the capacitor satisfying the second offset capacitor meet the following relationship:
i.e., in case of complete offset, the capacitance of the first offset capacitor is 1/7 of the base capacitance of the first detection capacitor, and the capacitance of the second offset capacitor is 1/7 of the base capacitance of the second detection capacitor.
Here, it should be noted that in the embodiment of
In other disclosure scenarios, if only for one detection capacitor, then the first driving module, the first offsetting module, the charge transfer module, and the processing module in
In the present embodiment, when the switches K9-K12 are in the first closed state, the circuit state of the driving module 122 is similar to the circuit state of the first driving module 122 in
Different from the above embodiments, in the present embodiment, when the ninth switching unit K9 is in the second the closed state, and when the first switching unit K1 is in the closed state, the first terminal of the detection capacitor Cx is connected to a seventh voltage (GND). When the tenth switching unit K10 is in the second closed state, the second switching unit K2 is in the first closed state, the third switching unit K3 is in the first closed state, and the eleventh switching unit is in the second closed state, the second terminal of the offset capacitor Cc is connected to a ninth voltage (Vs=−Vcc). When the first switching unit K1 is switched off, the second switching unit K2 is in the second closed state, the third switching unit K3 is in the second closed state, and the twelfth switching unit K12 is in the second closed state, the second terminal of the offset capacitor Cc is connected to a tenth voltage (VCC).
The working principle of the above circuit for capacitance detection in
-
- time interval t1: charging the detection capacitor Cx and the offset capacitor Cc;
- time interval t2: performing charge offsetting between the detection capacitor Cx and the offset capacitor Cc;
- time interval t3: transferring charge to convert the charge into a voltage signal;
- time interval t4: resetting the charge transfer module (output: 0) (or also known as a dead time interval);
- time interval t5: discharging the detection capacitor Cx, and charging the offset capacitor Cc;
- time interval t6: performing charge offsetting between the detection capacitor Cx and the offset capacitor Cc;
- time interval t7: transferring charge to convert the charge into a voltage signal; and
- time interval t8: resetting the charge transfer module, which outputs a voltage signal of 0 (or also known as a dead time interval).
As shown in
In the time interval t1, the first switching unit K1 is switched on, the second switching unit K2, the third switching unit K3, and the ninth switching unit K9 to the twelfth switching unit K12 are connected to the contact 1, so as to be in the first closed state respectively. The fourth switching unit K4 is switched off, such that the first terminal of the detection capacitor Cx is connected to Vcc, and the second terminal of the detection capacitor is connected to GND. The first terminal of the offset capacitor is connected to Vss, and the second terminal of the offset capacitor is connected to Vcc, such that finally the detection capacitor Cx and the offset capacitor Cc are charged respectively. When the time interval t1 is completed, the voltage of the detection capacitor Cx is Vcc (i.e., Vcc−GND), and a voltage of the offset capacitor Cc is −2Vcc (i.e., Vss−Vcc=−2Vcc). In this case, the amount of charge stored in the detection capacitor Cx is Q1=Vcc*Cx, and the amount of charge stored in the offset capacitor Cc is Q2=(Vss−Vcc)*Cc=−2Vcc*Cc. At the same time, since the fourth switching unit K4 is switched off, the output voltage (Vout) of the charge transfer module 142 is 0.
In the time interval t2, the first switching unit K1 and the fourth switching unit K4 are switched off respectively under the control of the first control signal and the third control signal, the second switching unit K2 and the third switching unit K3 are connected to the contact 2 under the control of the second control signal, so as to be in the second closed state, the ninth switching unit K9 to the twelfth switching unit K12 are connected to the contact 1 under the control of the fourth control signal, so as to be in the first closed state. The charge stored in the detection capacitor Cx and the charge stored in the offset capacitor Cc are neutralized and offset. After reaching a steady state, in accordance with the charge conservation law, there is VCCCX−2VCCCC=VX1CX+(VX1+VCC)CC, and a voltage Vx1 of the detection capacitor Cx may be obtained:
Here, it should be noted that, in the time interval t2, the first switching unit K1 and the second switching unit K2 are switched off, and the third switching unit K3 is connected to the contact 2. Therefore, in practice, in another embodiment, the ninth switching unit K9, the tenth switching unit K10, and the eleventh switching unit K11 may also be controlled to contact with the contact 1.
In the time interval t3, the fourth switching unit K4 is switched on, other switches remain in a state consistent with the time interval t2, and there is charge transfer between the detection capacitor Cx, the offset capacitor Cc, and the charge transfer module 142.
In the time interval t4, the fourth switching unit K4 is switched off, other switches remain in a state consistent with the time interval t3, the charge transfer module 142 is reset, and the output voltage (Vout) of the charge transfer module 142 becomes 0.
In the time interval t5, the first switching unit K1 is in the closed state under the control of the first control signal, the second switching unit K2 and the third switching unit K3 are connected to the contact 1 under the control of the second control signal, so as to be in the first closed state respectively, the ninth switching unit K9 to the twelfth switching unit K12 are connected to the contact 2 under the control of the fourth control signal, so as to be in the second closed state. Moreover, the fourth switching unit K4 is switched off, and since both terminals of the detection capacitor Cx are connected to GND, the detection capacitor Cx is discharged to GND. In addition, since the first terminal of the offset capacitor Cc is connected to Vcc, and the second terminal of the offset capacitor is connected to Vss, the offset capacitor Cc is in the charging state. When the time interval t5 is completed, the voltage of the detection capacitor Cx is 0, and the voltage of the offset capacitor Cc is 2Vcc (i.e., Vcc−Vss). For the charge transfer module 142, since the fourth switching unit K4 is switched off, the output voltage (Vout) of the charge transfer module is 0. In this case, the amount of charge stored in the detection capacitor Cx is Q1=0, and the amount of charge stored in the offset capacitor Cc is Q2=2Vcc*Cc.
In the time interval t6, the first switching unit K1 and the fourth switching unit K4 are switched off respectively under the control of the first control signal and the third control signal, the second switching unit K2 to the third switching unit K3, and the ninth switching unit K9 to the twelfth switching unit K12 are connected to the contact 2 respectively under the control of the second control signal and the fourth control signal, so as to be in the second closed state respectively. The charge stored in the detection capacitor Cx and the charge stored in the offset capacitor Cc are neutralized and offset. After reaching a steady state, in accordance with the charge conservation law, there is (VCC−VSS)CC=VX2CX+(VX2−VCC)CC, and a voltage of the detection capacitor Cx may be obtained as
In the time interval t7, the fourth switching unit K4 is switched on, other switches remain in a state identical to the state in the time interval t6, and there is charge transfer between the detection capacitor Cx, the offset capacitor Cc, and the charge transfer module 142.
In the time interval t8, the fourth switching unit K4 is switched off, other switches remain in a state identical to the state in the time interval t6, the charge transfer module 142 is reset, and the output voltage (Vout) of the charge transfer module becomes 0.
In the above working process, there is charge transfer in the time intervals t3 and t7. Based on the voltage Vx (Vx1 or Vx2) on the detection capacitor Cx at the end of the time intervals t2 and t6, there are the following situations:
If Vx>Vcm, the detection capacitor Cx and the offset capacitor Cc transfer charge to the charge transfer module 142 simultaneously, until the voltage of the detection capacitor Cx reaches a common mode voltage (Vcm). In this process, the output voltage (Vout) of the charge transfer module 142 is a negative voltage.
If Vx=Vcm, then charge transferred between the detection capacitor Cx/the offset capacitor Cc and the charge transfer module 142 is 0, and the output voltage (VOUT) of the charge transfer module 142 is 0, too. In this case, the circuit reaches a complete offset state.
If Vx<Vcm, the charge transfer module 142 will charge the detection capacitor Cx and the offset capacitor Cc via the feedback network (Rf and Cf), until both the voltage of the detection capacitor Cx and the voltage of the offset capacitor Cc reach the common mode voltage (Vcm). In this process, the output voltage (Vout) of the charge transfer module 142 is a positive voltage.
Based on Vx1 and Vx2 expressions inferred from the above working process, the following relationship may be obtained:
In the present embodiment, the signal frequency of the first control signal Φ1 to the third control signal Φ3 is twice as much as the fourth control signal Φ4, and the fourth control signal Φ4 is a square wave with 50% duty period, equivalent to a Φ4 period composed of two Φ1 or Φ2 or Φ3. Further, t1=t5, t2=t6, t3=t7, and t4=t8, such that a correlation degree of sampled noises is highest in the periods t1-t4 and the periods t5-t8 (i.e., between two adjacent detection periods). When Vcc=2VCM, Vx1 and Vx2 are symmetrical about VCM, and are independent of the magnitude of the detection capacitor Cx and the offset capacitor Cc, i.e., the symmetry of Vx1 and Vx2 about VCM is not affected by Vx1 and Vx2. When Vx1 and Vx2 are symmetrical about VCM, the corresponding output voltage (Vout) is also symmetrical, as shown in
In particular, when Vx1=Vx2=VCM=½Vcc, and Vss=−Vcc, in combination with any of the above relational expression of Vx1 or Vx2, there is CC=⅕CX, and the circuit reaches a complete offset state. Thus, in case of complete offset, the capacitance of the offset capacitor Cc is ⅕ of the base capacitance of the detection capacitor Cx. Based on the above inference, when Vcc=2VCM, the output voltage (VOUT) is constant and symmetrical, and is independent of the magnitude of the detection capacitor Cx, the offset capacitor Cc and Vss. Thus, Vss is adjusted to Vss<−Vcc, such that the base capacitance of the detection capacitor Cc can be decreased to satisfy the relationship CC<⅕CX.
The output voltage of the charge transfer module 142 is filtered via an anti-aliasing filter (AAF for short) in the processing module 152, and then sent into an analog-digital converter (ADC for short) for sampling, followed by quadrature (IQ) demodulation via a digital signal processor (DSP for short). Raw data thus obtained are sent to a CPU for coordinate calculation, to obtain a touch position.
In the time interval t2, when reaching a steady state, in accordance with the charge conservation law, there is VCCCX+(VSS−VCC)CC=VX1CX+(VX1−VSS)CC, and the voltage of the detection capacitor Cx may be obtained as
In the time interval t6, when reaching a steady state, in accordance with the charge conservation law, there is (VCC−VSS)CC=VX2CX+(VX2−VCC)CC, and the voltage of the detection capacitor Cx may be obtained as
In the present embodiment, to make Vx1 and Vx2 symmetrical about VCM, i.e.,
Vss=0 is necessary when Vcc=2VCM, i.e., nodes connected to Vss in
In the present embodiment, the Vss voltage is reduced to improve the offsetting efficiency. In particular, when Vss=−Vcc, it is impossible to make Vx1 and Vx2 symmetrical about VCM, i.e.,
when Vcc=2VCM. Therefore, only by adjusting the ratio of Vcc/VCM and Cx/Cc, is it possible to make Vx1 and Vx2 symmetrical about VCM. Based on VX1=VX2=VCM, CC=⅙CX, VCM= 3/7VCC, may be obtained. Only when both relational expressions are satisfied, will Vx1 and Vx2 be symmetrical about VCM. In this case, the circuit is in a complete offset state.
Assuming that the circuit has achieved the above complete offset state, the capacitance of the detection capacitor becomes Cx+ΔC during touching, and the amount of charge transferred in stage t3 may be obtained as:
The amount of charge transferred in stage t7 is:
while the magnitude of the output voltage (VOUT) is proportional to the amount of transferred charge ΔQ, showing that in the above case, when the circuit completely offsets the base capacitance, the output voltage generated by touching is actually not completely symmetrical.
As can be seen from comparing the above circuit schemes in
The first driving module 122C and the first offsetting module 132C work in a control timing sequence identical to the second driving module 122D and the second offsetting module 132D, the specific working process of the four modules is consistent with
Specifically, in the time interval t3, the amount of charge transferred between the first driving module 122C/the first offsetting module 132C and the charge transfer module is ΔQ1=(VCC−VCM)CX1+(VSS−VCC−VCM)CC1, and the amount of charge transferred between the second driving module 122D the second offsetting module 132D and the charge transfer module is ΔQ2=(VCC−VCM)CX2+(VSS−VCC−VCM)CC2. Assuming that ΔQa=ΔQ1ΔQ2, the output voltage of the amplifying circuit is proportional to ΔQa, and depending on the polarity of ΔQa, there are the following situations:
-
- if ΔQa>0, the output voltage (Vout) of the charge transfer module is a negative voltage;
- if ΔQa=0, the output voltage (Vout) of the charge transfer module is 0; and
- if ΔQa<0, the output voltage (Vout) of the charge transfer module is a positive voltage.
In the time interval t7, the amount of charge transferred between the first driving module 122C/the first offsetting module 132C and the amplifying circuit is ΔQ2′=−VCMCX1+(2VCC−VSS−VCM)CC1), and the amount of charge transferred between the second driving module 122D/the second offsetting module 132D and the amplifying circuit is ΔQ2′=−VCMCX2+(2VCC−VSS−VCM)CC2. Assuming that ΔQb=ΔQ1′−ΔQ2′, likewise, the magnitude and polarity of the output voltage (Vout) of the charge transfer module depend on the magnitude and polarity of ΔQb.
When Vcc=2Vcm, there is ΔQa+ΔQb=(VCC−2VCM)(CX1−CX2+CC1−CC2)=0. In this case, ΔQa and ΔQb have equal magnitude and opposite polarity, showing that the output voltage (VOUT) of the amplifying circuit also has equal magnitude and opposite polarity, thus making full use of the dynamic range of the amplifying circuit, and suppressing the low frequency noise.
The present embodiment charges two detection capacitors, and offsets and transfers charge of the two detection capacitors at the same moment, and outputs the amplified signal to a post-processing circuit by a differential amplifier, to detect the capacitance difference of the two detection capacitors. The two detection capacitors are on a given capacitive sensor, often have similar base capacitances, have similar capacitance variations during touching, have similar temperature drifts during temperature change, and have similar noise characteristics. Therefore, the present embodiment can suppress noise, and improve the signal to noise ratio.
It should be noted that, the driving module and the offsetting module in
An embodiment of the present disclosure further provides an electronic device, including the touch chip according to any one embodiment of the present disclosure.
In the above embodiments, considering that the offset capacitor Cc is integrated into the touch chip, the lower is the offset capacitor, the smaller are the area and cost of the touch chip. Thus, in a specific disclosure scenario, an offset capacitor with smallest capacitance is preferably selected to form the circuit for capacitance detection on the premise of reducing a detected detection capacitor.
It should be noted that, in the above embodiments, the description is made by taking switching each switching unit with a single switch as an example, but in practice, the switching unit may also be implemented in a circuit combination structure, where the constituent element may be any electronic component having an on-off function as long as the constituent element can form a charging branch circuit and an offsetting branch circuit, can implement switching from the charging branch circuit to the offsetting branch circuit, and can make the detection circuit enter a charge transfer state.
In addition, when implementing touch control detection based on mutual capacitance detection, if base capacitance of the mutual capacitance is high enough to affect the variation rate of the mutual capacitance, the concepts of the following embodiments of the present disclosure may also be applied.
The electronic device according to the embodiments of this disclosure exists in a variety of forms, including but not limited to the following devices:
(1) Mobile communication devices: the characteristics of such devices are that they have mobile communication functions, and mainly aim to provide voice and data communication. Such terminals include: smartphones (such as iPhone), multimedia mobile phones, feature phones, low-end mobile phones, etc.
(2) Ultra-mobile PC devices: such devices belong to the category of PC, have calculating and processing functions, and usually also have mobile Internet access features. Such terminals include: PDA, MID, UMPC devices, etc., e.g. iPad.
(3) Portable entertainment devices: such devices can display and play multimedia contents. Such devices include: audio and video players (such as iPad), handheld game players, e-books, smart toys and portable vehicle navigation devices.
(4) Servers: devices providing computing service. The server components include a processor, a hard drive, an internal memory, a system bus, etc. Structures of the servers are similar to those of general computers. But because of the need of providing highly reliable service, the requirements in respect of processing capacity, stability, reliability, security, scalability, manageability, etc. are very high.
(5) Other electronic devices having data interaction functions.
So far, specific embodiments of the present subject matter have been described. Other embodiments fall within the scope of the appended claims. In some cases, actions disclosed in the appended claims may be performed in different orders and can still achieve the desired results. In addition, the processes depicted in the figures do not necessarily require the shown particular order or sequential order, to achieve desired results. In some embodiments, multitasking and parallel processing may be advantageous.
It should be further noted that the terms such as “comprising”, “including” or any other variations thereof are meant to cover the non-exclusive inclusions, such that the process, method, commodity, or device that includes a series of elements not only includes those elements, but also includes other elements that are not explicitly listed, or further includes elements that already existed in such process, method, commodity, or device. In a circumstance without more constraints, an element defined by the phrase “comprising a . . . ” does not preclude any other similar elements from existing in the process, method, commodity, or device that includes the element.
Various embodiments in the present specification are described progressively, identical or similar portions of various embodiments may be mutually referred to, and differences of each embodiment from other embodiments are mainly described in the embodiment. In particular, embodiments of the system are substantially similar to embodiments of the method, and therefore, the description is relatively simple. A part of description of the embodiments of the method may be referred to for relevant parts.
The above is merely preferred embodiments of the present disclosure, and is not intended to limit the present disclosure. For those skilled in the art, the present disclosure may have various modifications and alterations. Any modification, equivalent replacement, improvement, and the like made within the spirit and principles of the present disclosure should be included within the scope of appended claims of the present disclosure.
Claims
1. A circuit for capacitance detection, comprising: a control module, a charge transfer module, a processing module, a driving module, and an offsetting module, the control module being configured to charge a detection capacitor by controlling the driving module, the offsetting module being configured to charge an offset capacitor, and control the offset capacitor to perform charge offsetting on the detection capacitor; the charge transfer module being configured to convert charge of the detection capacitor after the charge offsetting to generate an output voltage; and the processing module being configured to determine, based on the output voltage, a capacitance variation of the detection capacitor before and after the detection capacitor is affected by an external electric field.
2. The circuit according to claim 1, wherein the driving module comprises a first switching unit, and the control module is further configured to control the first switching unit to be in a closed state, such that the driving module charges the detection capacitor.
3. The circuit according to claim 2, wherein the driving module further comprises a ninth switching unit, and the control module is further configured to control the ninth switching unit to be in the first closed state, and the first switching unit to be in the closed state, such that the driving module charges the detection capacitor.
4. The circuit according to claim 3, wherein the control module is further configured to control the ninth switching unit to be in the second closed state, and the first switching unit to be in the closed state, such that the driving module discharges the detection capacitor.
5. The circuit according to claim 4, wherein when the ninth switching unit is in the second closed state, and the first switching unit is in the closed state, the first terminal of the detection capacitor is electrically connected to a seventh voltage, and the seventh voltage is lower than the first voltage.
6. The circuit according to claim 1, wherein the offsetting module comprises a second switching unit and a third switching unit, the control module is further configured to control the second switching unit and the third switching unit to be in a first closed state and form a charging branch circuit, such that the offsetting module charges the offset capacitor; and accordingly, the control module is further configured to control the second switching unit and the third switching unit to be in a second closed state and form an offsetting branch circuit, such that the offset capacitor performs charge offsetting on the detection capacitor.
7. The circuit according to claim 6, wherein the offsetting module further comprises a tenth switching unit, and the control module is further configured to control the tenth switching unit to be in the first closed state, and form the charging branch circuit when the second switching unit and the third switching unit are in the first closed state, such that the offsetting module charges the offset capacitor.
8. The circuit according to claim 7, wherein the control module is further configured to control the tenth switching unit to be in the second closed state, and form the charging branch circuit when the second switching unit and the third switching unit are in the first closed state, such that the offsetting module charges the offset capacitor.
9. The circuit according to claim 8, wherein when the tenth switching unit is in the second closed state, and the second switching unit and the third switching unit are in the first closed state, the first terminal of the offset capacitor is electrically connected to an eighth voltage, and the eighth voltage is higher than the third voltage.
10. The circuit according to claim 6, wherein the offsetting module further comprises an eleventh switching unit, and the control module is further configured to control the eleventh switching unit to be in the first closed state, and form the charging branch circuit when the second switching unit and the third switching unit are in the first closed state, such that the offsetting module charges the offset capacitor.
11. The circuit according to claim 8, wherein the control module is further configured to control the eleventh switching unit to be in the second closed state, and form the charging branch circuit when the second switching unit and the third switching unit are in the first closed state, such that the offsetting module charges the offset capacitor.
12. The circuit according to claim 11, wherein when the eleventh switching unit is in the second closed state, and the second switching unit and the third switching unit are in the first closed state, the second terminal of the offset capacitor is electrically connected to a ninth voltage, and the ninth voltage is lower than the fourth voltage.
13. The circuit according to claim 6, wherein the offsetting module further comprises a twelfth switching unit, the control module is further configured to control the twelfth switching unit to be in the first closed state and form the offsetting branch circuit when the second switching unit and the third switching unit are in the second closed state, such that the offset capacitor performs charge offsetting on the detection capacitor.
14. The circuit according to claim 13, wherein the control module is further configured to control the twelfth switching unit to be in the second closed state and form the offsetting branch circuit when the second switching unit and the third switching unit are in the second closed state, such that the offset capacitor performs charge offsetting on the detection capacitor.
15. The circuit according to claim 14, wherein when the twelfth switching unit is in the second closed state, and the second switching unit and the third switching unit are in the second closed state, the second terminal of the offset capacitor is electrically connected to the tenth voltage, and the tenth voltage is higher than the fifth voltage.
16. The circuit according to claim 1, wherein the circuit further comprises a fourth switching unit, and the control module is further configured to control the fourth switching unit to be in the closed state, such that the charge transfer module is electrically connected to the detection capacitor, to convert the charge of the detection capacitor after the charge offsetting to generate the output voltage.
17. The circuit according to claim 16, wherein the control module is further configured to control the fourth switching unit to be in an off state, to reset the charge transfer module.
18. The circuit according to claim 17, wherein if there are at least two of the detection capacitors, then each of the detection capacitor is equipped with one of the driving module and one of the offsetting module.
19. A touch chip, comprising a circuit for capacitance detection, the circuit comprising: a control module, a charge transfer module, a processing module, a driving module, and an offsetting module, the control module being configured to charge a detection capacitor by controlling the driving module, the offsetting module being configured to charge an offset capacitor, and control the offset capacitor to perform charge offsetting on the detection capacitor; the charge transfer module being configured to convert charge of the detection capacitor after the charge offsetting to generate an output voltage; and the processing module being configured to determine, based on the output voltage, a capacitance variation of the detection capacitor before and after the detection capacitor is affected by an external electric field.
20. An electronic device, comprising a touch chip, the touch chip comprising a circuit for capacitance detection, the circuit comprising: a control module, a charge transfer module, a processing module, a driving module, and an offsetting module, the control module being configured to charge a detection capacitor by controlling the driving module, the offsetting module being configured to charge an offset capacitor, and control the offset capacitor to perform charge offsetting on the detection capacitor; the charge transfer module being configured to convert charge of the detection capacitor after the charge offsetting to generate an output voltage; and the processing module being configured to determine, based on the output voltage, a capacitance variation of the detection capacitor before and after the detection capacitor is affected by an external electric field.
Type: Application
Filed: Oct 26, 2019
Publication Date: Apr 9, 2020
Patent Grant number: 10949032
Inventors: Hong JIANG (Shenzhen), Zhi TANG (Shenzhen)
Application Number: 16/664,854