Capacitive sensing and sampling circuit and sensing and sampling method thereof
10969912 · 2021-04-06
Assignee
Inventors
- Kun-Lin Hsieh (Pitou Township, Changhua County, TW)
- Jyun-Yu Chen (Hsinchu, TW)
- Chia-Hsing Lin (Hsinchu, TW)
Cpc classification
G06F3/0418
PHYSICS
International classification
G09G1/00
PHYSICS
Abstract
A capacitive sensing and sampling circuit and method thereof are disclosed. The capacitive sensing and sampling circuit has a voltage source, a sensing unit and a detecting circuit. The detecting unit has a first sensing output unit, a second sensing output unit and a sampling unit. The first and second sensing output units are electrically connected to an output of the sensing unit and the sampling unit. Therefore, by increasing the number of alternatively sensing the capacitive sensing component to obtain more capacitive signals, the number of sampling the sensed capacitive signal is relatively increased. Therefore, the white noise interference for the capacitive sensing and sampling circuit is effectively suppressed, so the signal-to-noise ratio is increased and accuracy of detecting coordinates of the touch object is increased.
Claims
1. A capacitive sensing and sampling circuit electrically connected to a capacitive sensing component, comprising: a voltage source at least having a 1st-P voltage level and a 2nd-P second voltage level; wherein an operation period of the voltage source corresponds to a sensing period and the sensing period has a first sensing phase, wherein the operation period has a rise time and a fall time; and the rise time of the voltage source corresponds to the first sensing phase and the 1st-P voltage level is smaller than the 2nd-P voltage level in the first sensing phase; and a detecting circuit having a first sensing output unit, a second sensing output unit and a sampling unit, wherein the first and second sensing output units are electrically connected between the capacitive sensing component and the sampling unit; wherein: the capacitive sensing component is sequentially driven by the voltage source with the 1st-P voltage level and the 2nd-P voltage level, wherein: when the capacitive sensing component is driven by the voltage source with the 1st-P voltage level, the first sensing output unit senses the capacitive sensing component and outputs a first capacitive signal to the sampling unit for sampling; and when the capacitive sensing component is driven by the voltage source with the 2nd-P voltage level, the second sensing output unit senses the capacitive sensing component and outputs a second capacitive signal to the sampling unit for sampling.
2. The capacitive sensing and sampling circuit as claimed in claim 1, wherein the sensing period further comprises a second sensing phase, the fall time of the voltage source corresponds to the second sensing phase and the voltage source has a 1st-N voltage level and a 2nd-N second voltage level in the second sensing phase; wherein the 1st-N voltage level is larger than the 2nd-N voltage level.
3. The capacitive sensing and sampling circuit as claimed in claim 2, wherein: in the first sensing phase, the voltage source further has a 3th-P voltage level larger than the 2nd-P voltage level, wherein the voltage source provides the 3th-P voltage level after the 2nd-P voltage level is provided; and in the second sensing phase, the voltage source further has a 3th-N voltage level smaller than the 2nd-N voltage level, wherein the voltage source provides the 3th-N voltage level after the 2nd-N voltage level is provided.
4. The capacitive sensing and sampling circuit as claimed in claim 3, wherein: in the first sensing phase, the voltage source further has a 4th-P voltage level larger than the 3th-P voltage level, wherein the voltage source provides the 4th-P voltage level after the 3th-P voltage is provided; and in the second sensing phase, the voltage source further has a 4th-N voltage level smaller than the 3th-N voltage level, wherein the voltage source provides the 4th-N voltage level after the 3th-N voltage is provided.
5. The capacitive sensing and sampling circuit as claimed in claim 1, further comprising: a sensing unit having multiple inputs and an output, wherein the inputs are respectively and electrically connected to the voltage source and the capacitive sensing component and the output is electrically connected to the first and second sensing output units.
6. The capacitive sensing and sampling circuit as claimed in claim 5, wherein each of the first and second sensing output units comprises: a third switch electrically connected between the output of the sensing unit and the sampling unit; a sensing capacitor having: a first end electrically connected to a first connecting node between the third switch and sampling unit; and a second end electrically connected to a reference voltage of a system power; and a fourth switch having: a third end electrically connected to the first end of the sensing capacitor; and a fourth end electrically connected to a voltage with a reset voltage level.
7. The capacitive sensing and sampling circuit as claimed in claim 5, wherein the detecting circuit further comprises: an analog gain unit electrically connected between the output of the sensing unit and the first and second sensing output unit.
8. The capacitive sensing and sampling circuit as claimed in claim 5, wherein the sensing unit is electrically connected to the capacitive sensing component through a switching unit and the switching unit comprises: a first switch electrically connected between one of the inputs of the sensing unit and the capacitive sensing component; and a second switch having: a fifth end electrically connected to a second connecting node between the first switch and the capacitive sensing component; and a sixth end electrically connected to a reference voltage of a system power.
9. The capacitive sensing and sampling circuit as claimed in claim 1, wherein the voltage source is an analog sin wave voltage source or a digital sin wave voltage source.
10. A sensing and sampling method of a capacitive sensing and sampling circuit at least having a first sensing output unit, a second sensing output unit and a sampling unit, wherein the sensing and sampling method comprises steps of: (a) in a sensing period, driving a capacitive sensing component by a voltage source with a 1st-P voltage level and a 2nd-P second voltage level; wherein the sensing period corresponds to an operation period of the voltage source and has a first sensing phase, wherein the operation period has a rise time and a fall time; and the rise time of the voltage source corresponds to the first sensing phase and the 1st-P voltage level is smaller than the 2nd-P voltage level in the first sensing phase; (b) alternatively sensing the capacitive sensing component by the first and second sensing output units to obtain multiple capacitive signals when the capacitive sensing component is driven by the voltage source with the 1st-P voltage level and the 2nd-P voltage level; and (c) sampling the capacitive signals by the sampling unit.
11. The sensing and sampling method as claimed in claim 10, wherein: in the step (a), the 1st-P voltage level and the 2nd-P voltage level are sequentially provided in the first sensing phase; in the step (b), when the capacitive sensing component is driven by the voltage source with the 1st-P voltage level, the first sensing output unit senses the capacitive sensing component; and when the capacitive sensing component is driven by the voltage source with the 2nd-P voltage level, the second sensing output unit senses the capacitive sensing component.
12. The sensing and sampling method as claimed in claim 11, wherein: in the step (a), the sensing period has a second sensing phase next to the first sensing phase, wherein the fall time of the voltage source corresponds to the second sensing phase; and in the second sensing period, a 1st-N voltage level is provided before a 2nd-N voltage level is provided.
13. The sensing and sampling method as claimed in claim 12, wherein: in the step (b), when the capacitive sensing component is driven by the voltage source with the 1st-N voltage level, the first sensing output unit senses the capacitive sensing component; and when the capacitive sensing component is driven by the voltage source with the 2nd-N voltage level, the second sensing output unit senses the capacitive sensing component.
14. The sensing and sampling method as claimed in claim 12, wherein: in the step (a), a 3th-P voltage level is provided in the first sensing phase after the 2nd-P voltage level is provided and a 3th-N voltage level is provided in the second sensing phase after the 2nd-N voltage level is provided; and in the step (b), when the capacitive sensing component is driven by the voltage source with the 1st-P, 3th-P and 2nd-N voltage levels, the first sensing output unit senses the capacitive sensing component; and when the capacitive sensing component is driven by the voltage source with the 2nd-P, 1st-N and 3th-N voltage levels, the second sensing output unit senses the capacitive sensing component.
15. The sensing and sampling method as claimed in claim 13, wherein: in the step (a), a 3th-P voltage level is provided in the first sensing phase after the 2nd-P voltage level is provided, a 3th-N voltage level is provided in the second sensing phase after the 2nd-N voltage level is provided, a 4th-P voltage level is provided in the first sensing phase after the 3th-P voltage level is provided and a 4th-N voltage level is provided the 3th-N voltage level is provided; and in the step (b), when the capacitive sensing component is driven by the voltage source with the 1st-P, 3th-P, 1st-N and 3th-N voltage levels, the first sensing output unit senses the capacitive sensing component; and when the capacitive sensing component is driven by the voltage source with the 2nd-P, 4th-P, 2nd-N and 4th-N voltage levels, the second sensing output unit senses the capacitive sensing component.
16. The sensing and sampling method as claimed in claim 15, wherein the 1st-N voltage level is larger than the 2nd-N voltage level.
17. The sensing and sampling method as claimed in claim 10, wherein a voltage difference between a pair of the adjacent voltage levels in the first sensing phase is the same as that between a pair of the adjacent voltage levels in the second sensing phase.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
(11) The present invention provides a capacitive sensing and sampling circuit and method and the present invention is described in detail as follow by providing multiple embodiments and related drawings.
(12) With reference to
(13) In the first embodiment, the voltage source 11 is a digital sine wave voltage source. An operation period of the digital sine wave voltage source corresponds to a sensing period D. The operation period has a rise time and a fall time. The sensing period D has a first sensing phase (hereinafter P phase) and a second sensing phase (hereinafter N phase). A time length of the P phase is equal to that of the N phase. The voltage source 11 at least has a first voltage level and a second voltage level. The first voltage level is a voltage level that is provided for driving in a first time in the P phase and in the N phase. The second voltage level is a voltage level that is provided for driving in a second time in the P phase and in the N phase. In particular, the P phase corresponds to the rise time of the voltage source 11 and the N phase corresponds to the fall time of the voltage source 11. Therefore, in the rise time of the digital sine wave voltage source, the first voltage level is smaller than the second voltage level. In the fall time of the digital sine wave voltage source, the first voltage level is larger than the second voltage level. In addition, a difference between the first and second voltage levels in the P phase is equal to a difference between the first and second voltage levels in the N phase.
(14) The sensing unit 12 is electrically connected to the voltage source 11 and a capacitive sensing component C.sub.com. In a touch application, the capacitive sensing component C.sub.com is a common electrode of a display panel but not limited to. In the first embodiment, the sensing unit 12 has an amplifier 121 and a switching unit 122. The amplifier 121 has a negative input (−), a non-negative input (+) and an output o/p. The negative input (−) is electrically connected to the voltage source 11, and the non-negative input (+) is electrically connected to the capacitive sensing component C.sub.com through the switching unit 122. The switching unit 122 has a first switch SW.sub.1 and a second switch SW.sub.2. The first switch SW.sub.1 is electrically connected between the sensing unit 12 and the capacitive sensing component C.sub.com. One end of the second switch SW.sub.2 is electrically connected to a connecting node between the first switch SW.sub.1 and the capacitive sensing component C.sub.om and the other end of the second switch SW.sub.2 is electrically connected to a reference voltage of a system power, such as the ground of the system power.
(15) The detecting circuit 13 is electrically connected to the output o/p of the sensing unit 12 and has a first sensing output unit 131, a second sensing output unit 132 and a sampling unit 133. The first sensing output unit 131 and the second sensing output unit 132 are electrically connected between the output o/p of the sensing unit 12 and the sampling unit 133. Each of the first and second sensing output units 131, 132 has a third switch SW.sub.3, SW.sub.5, a sensing capacitor C.sub.inta, C.sub.intb, and a fourth switch SW.sub.4, SW.sub.6. The third switch SW.sub.3, SW.sub.5 is electrically connected between the output o/p of the sensing unit 12 and the sampling unit 133. One end of the sensing capacitor C.sub.inta, C.sub.intb is electrically connected to a connecting node of the corresponding third switch SW.sub.3, SW.sub.5 and the sampling unit 133 and the other end thereof is electrically connected to the reference voltage of the system power. One end of the fourth switch SW.sub.4, SW.sub.6 is electrically connected to the one end of the sensing capacitor C.sub.inta, C.sub.intb and the other end thereof is electrically connected to a voltage with a reset voltage level. In the first embodiment, the fourth switch SW.sub.4 is electrically connected to a constant voltage Vdd with highest voltage level through a buck circuit 14, so the reset voltage level of the voltage is less than the highest voltage level of the constant voltage Vdd. For example, the reset voltage level is half of the highest voltage (0.5*Vdd). Notably, the first sensing output unit 131 and second sensing output unit 132 are electrically connected to the output o/p of the sensing unit 12 through an analog gain unit 134 to adjust a gain of an output signal of the sensing unit 12 according to particular circuit requirements.
(16) With reference to
(17) In the P phase of the sensing period D, the sensing unit 12 uses the voltage source 11 with the first voltage level through the amplifier 121 to drive the capacitive sensing component C.sub.com since the second switch SW.sub.2 of the switching unit 122 of the sensing unit 12 turns on. At the time, the third switch SW.sub.3 of the first sensing output unit 131 turns on, but the fourth switch SW.sub.4 turns off, so a current mirror 135 of the analog gain unit 134 starts to charge or discharge the sensing capacitor C.sub.inta of the first sensing output unit 131 according to the first voltage level. After a while, charges (hereafter capacitive signal) are stored in the sensing capacitor C.sub.inta, and the third switch SW.sub.3 of the first sensing output unit 131 turns off. Next, the sampling unit 133 samples the capacitive signal of the sensing capacitor C.sub.inta of the first sensing output unit 131 and then the fourth switch SW.sub.4 of the first sensing output unit 131 turns on to clean the charges stored in the sensing capacitor C.sub.inta and wait for the next time of sensing the capacitive signal. Therefore, in the P phase of the sensing period D, the first sensing output unit 131 senses the capacitive sensing component C.sub.com and then outputs the sensed capacitive signal to the sampling unit 133 to sample the sensed capacitive signal after the sensing unit 12 uses the voltage source 11 with the first voltage level to drive the capacitive sensing component C.sub.com.
(18) In the P phase of the sensing period D, the amplifier 121 of the sensing unit 12 uses the voltage source 11 with the second voltage level to drive the capacitive sensing component C.sub.com after the third switch SW.sub.3 of the first sensing output unit 131 turns on. At the time, the third switch SW.sub.5 of the second sensing output unit 132 turns on, but the fourth switch SW.sub.6 turns off, so a current mirror 135 of the analog gain unit 134 starts to charge or discharge the sensing capacitor C.sub.intb of the second sensing output unit 132 according to the second voltage level. After a while, the charges (hereafter capacitive signal) are stored in the sensing capacitor C.sub.intb and the third switch SW.sub.5 of the second sensing output unit 132 turns off. Next, the sampling unit 133 samples the capacitive signal of the sensing capacitor C.sub.intb of the second sensing output unit 132 and then the fourth switch SW.sub.6 of the second sensing output unit 132 turns on to clean the charges stored in the sensing capacitor C.sub.intb and wait for the next time of sensing capacitive signal. Therefore, in the P phase of the sensing period D, the sensing unit 12 uses the voltage source 11 with the second voltage level to drive the capacitive sensing component C.sub.com and then the second sensing output unit 132 senses the capacitive sensing component C.sub.com and outputs the sensed capacitive signal to the sampling unit 133 to sample the sensed capacitive signal.
(19) So far, the capacitive sensing and sampling circuit 10 has sensed and sampled the capacitive signal for two times in the P phase of the sensing period D. Then the N phase of the sensing period D is entered. The sensing unit 12 sequentially uses the voltage source 11 of the first and second voltage levels to drive the capacitive sensing component C.sub.com through the amplifier 121. After the capacitive sensing component C.sub.com is driven by the voltage source with the first voltage level, the first sensing output unit 131 senses the capacitive sensing component C.sub.com through the sensing capacitor C.sub.inta and then outputs the sensed capacitive signal of the sensing capacitor C.sub.inta to the sampling unit 133. The sampling unit 133 samples the sensed capacitive signal. In the first embodiment, the first voltage level in the P phase is different from the first voltage level in the N phase and the second voltage level in the P phase is different from the second voltage level in the N phase. However, the difference between the first and second voltage levels in the P phase is equal to that in the N phase. In another embodiment, the first voltage level in the P phase may be equal to the first voltage level in the N phase, the second voltage level in the P phase may be equal to the second voltage level in the N phase, but the difference between the first and second voltage levels in the P phase is still equal to that in the N phase.
(20) To increase the number of sampling capacitive signal, in a second embodiment as shown in
(21) As a comparison with a circuit operation in the first embodiment, in the second embodiment as shown in
(22) To increase the number of sampling capacitive signal, in a third embodiment as shown in
(23) As a comparison with a circuit operation in the second embodiment, in the third embodiment, in the P phase of the sensing period D, after the capacitive sensing component C.sub.com is driven by the voltage source with the third voltage level and the corresponding capacitive signal is sensed, the voltage source 11b with the fourth voltage level is used to drive the capacitive sensing component C.sub.com through the amplifier 121 of the sensing unit 12. At the time, the third switch SW.sub.5 of the second sensing output unit 132 turns on, but the fourth switch SW.sub.6 turns off. Therefore, the sensing capacitor C.sub.intb of the first sensing output unit 132 starts to sense the touch object and related sensing detail is mentioned above for the first embodiment, so the details are not repeated here. Next, the sampling unit 133 samples the capacitive signal of the sensing capacitor C.sub.intb. So far, the capacitive sensing and sampling circuit 10 has sensed and sampled the capacitive signal for four times in the P phase of the sensing period D. Then the N phase of the sensing period D is entered. The sensing unit 12 sequentially uses the first voltage level, the second voltage level, the voltage source 11b with the third voltage level and the fourth voltage level to drive the capacitive sensing component C.sub.com through the amplifier 121. When the capacitive sensing component C.sub.com is driven by the voltage source with the first voltage level, the first sensing output unit 131 senses the capacitive sensing component C.sub.com through the sensing capacitor C.sub.inta and outputs the capacitive signal of the sensing capacitor C.sub.inta to the sampling unit 133. The sampling unit 133 samples the sensed capacitive signal. After then the capacitive sensing component C.sub.com is driven by the voltage source with the second voltage level, the second sensing output unit 132 senses the capacitive sensing component C.sub.com through the sensing capacitor C.sub.intb and outputs the capacitive signal of the sensing capacitor C.sub.intb to the sampling unit 133. The sampling unit 133 samples the sensed capacitive signal. Next, the capacitive sensing component C.sub.com is driven by the voltage source with the third voltage level, the first sensing output unit 131 senses the capacitive sensing component C.sub.com through the sensing capacitor C.sub.inta and outputs the capacitive signal of the sensing capacitor C.sub.inta to the sampling unit 133. The sampling unit 133 samples the sensed capacitive signal. After then the capacitive sensing component C.sub.com is driven by the voltage source with the fourth voltage level, the second sensing output unit 132 senses the capacitive sensing component C.sub.com through the sensing capacitor C.sub.intb and outputs the capacitive signal of the sensing capacitor C.sub.intb to the sampling unit 133 samples the sensed capacitive signal. The details of sensing operation in the third embodiment can be more clearly understood with a timing sequence diagram as shown in
(24) With reference to
(25) Therefore, a sensing and sampling method of the capacitive sensing and sampling circuit in accordance with the present invention has steps of providing the voltage source with multiple different voltage levels to drive the capacitive sensing component in the sensing period D by different voltage levels; sensing the capacitive sensing component to output the capacitive signal after each time of driving capacitive sensing component; and sampling the sensed capacitive signal after each time of sensing capacitive signal.
(26) In particular, the capacitive sensing and sampling circuit 10 has a first sensing output unit 131, a second sensing output unit 132 and a sampling unit 133. In
(27) With reference to
(28) With reference to
(29) Based on the foregoing description, in the capacitive sensing and sampling circuit, the sensing unit has the first and second sensing output units to alternatively obtain capacitive signals and output the sensed capacitive signals to the sampling unit. Since the capacitive sensing component is driven by the voltage source with different voltage levels and the number of alternatively sensing the capacitive sensing component is increased, the number of sampling the sensed capacitive signal is relatively increased. Therefore, the white noise interference for the capacitive sensing and sampling circuit is effectively suppressed, so the signal-to-noise ratio is increased and accuracy of detecting coordinates of the touch object is increased, too.
(30) Even though numerous characteristics and advantages of the present invention have been set forth in the foregoing description, together with details of the structure and features of the invention, the disclosure is illustrative only. Changes may be made in the details, especially in matters of shape, size, and arrangement of parts within the principles of the invention to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.