Self-capacitance drive offset cancellation in touch controller ICs
By using drive resistors and current drivers in the touch panel interface circuit to generate a trapezoidal voltage waveform, combined with current source switching technology, the problems of limited dynamic range and flicker noise caused by self-capacitors are solved, and the detection performance and chip area of the touch panel are improved. use.
Patent Information
- Application Number
- CN201980023878.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-04-06
- Filing Date
- 2019-02-11
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2039-02-11
AI Technical Summary
The self-capacitance in existing touch panels results in a limited dynamic range, making it difficult to accurately analyze the positions of multiple fingers. The offset cancellation circuit requires a large area of on-chip capacitors and may introduce transistor flicker noise.
Adopt an interface circuit design to match the touch panel capacitor by driving resistors and driving capacitors, use a current driver to distribute the first and second driving currents to generate a trapezoidal voltage waveform, reduce the influence of the baseline capacitance, and switch the current source at the amplifier input reduce flicker noise.
It improves the dynamic range and reduces the chip area, while reducing the flicker noise and achieving more efficient touch panel capacitance detection.
Smart Images

Figure CN111937310B_ABST
Abstract
Description
[0001] Priority claim
[0002] This patent application claims priority to application No. 15 / 947,547, filed on April 6, 2018, entitled “SELF-CAPACITANCE DRIVE OFFSET CANCELLATION IN A TOUCH CONTROLLER INTEGRATED CIRCUIT,” which application has been assigned to its assignee and is hereby expressly incorporated herein by reference. Technical Field
[0003] Various aspects of the present disclosure relate generally to touch panels, and more particularly to touch panels having capacitive touch sensors. Background Art
[0004] A touch panel includes an array of touch sensors overlaid on a display. The touch sensors may employ capacitive sensing, where a user's finger is detected by detecting a change in capacitance (eg, mutual capacitance and / or self capacitance) of the sensor caused by the user's finger. Summary of the invention
[0005] A simplified overview of one or more implementations is given below to provide a basic understanding of such implementations. This overview is not an extensive overview of all contemplated implementations, and is neither intended to identify key elements or important elements of all implementations, nor to delineate the scope of any or all implementations. Its sole purpose is to present some concepts of one or more implementations in a simplified form as a prelude to the detailed embodiments presented later.
[0006] A first aspect relates to an interface circuit. The interface circuit includes an amplifier having a first input, a second input, and an output; a drive capacitor coupled to the first input of the amplifier; and a feedback path coupled between the output of the amplifier and the second input of the amplifier. The interface circuit also includes a current driver coupled to the first input of the amplifier and the second input of the amplifier, wherein the current driver is configured to drive the drive capacitor using a first current and drive a touch panel capacitor using a second current, the touch panel capacitor being coupled to the second input of the amplifier.
[0007] A second aspect relates to a method for operating an interface circuit of a touch panel. The interface circuit includes an amplifier; a drive capacitor coupled to a first input of the amplifier; and a feedback path coupled between an output of the amplifier and a second input of the amplifier. The method includes: driving the drive capacitor using a first current; and driving a touch panel capacitor using a second current, the touch panel capacitor coupled to the second input of the amplifier. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] Figure 1 An example of an interface circuit for a touch panel is shown.
[0009] Figure 2 An example of an interface circuit with offset cancellation is shown.
[0010] Figure 3 Examples of current drivers configured to provide offset cancellation currents in accordance with certain aspects of the present disclosure are shown.
[0011] Figure 4 An example of a trapezoidal drive voltage according to certain aspects of the present disclosure is shown.
[0012] Figure 5 An exemplary implementation of a current driver including a plurality of current sources switched between a first input and a second input of an amplifier in an interface circuit in accordance with certain aspects of the present disclosure is shown.
[0013] Figure 6 An exemplary implementation of one of the current sources according to certain aspects of the present disclosure is shown.
[0014] Figure 7 An exemplary implementation of a bias circuit for a current source according to certain aspects of the present disclosure is shown.
[0015] Figure 8 An example is shown in which a first input and a second input of an amplifier are weakly coupled to a voltage buffer in accordance with certain aspects of the present disclosure.
[0016] Fig. 9 is a flow chart illustrating a method for operating an interface circuit of a touch panel according to certain aspects of the present disclosure. DETAILED DESCRIPTION
[0017] The specific embodiments described below in conjunction with the accompanying drawings are intended as descriptions of various configurations and are not intended to represent the only configurations in which the concepts described herein may be practiced. The specific embodiments include specific details to provide a thorough understanding of the various concepts. However, it is apparent to those skilled in the art that these concepts may be practiced without these specific details. In some instances, well-known structures and components are shown in block diagram form to avoid obscuring these concepts.
[0018] A touch panel includes an array of touch sensors overlaid on a display. The touch sensors may employ capacitive sensing, where a user's finger is detected by detecting a change in capacitance (eg, mutual capacitance and / or self capacitance) of the sensor caused by the user's finger.
[0019] A touch panel generally includes a first electrode set and a second electrode set arranged in a grid, wherein the first electrode set extends perpendicular to the second electrode set. The first electrode set and the second electrode set form mutual capacitors due to the mutual coupling capacitance between the electrodes. Each mutual capacitor is located at the intersection of one electrode in the first electrode set and one electrode in the second electrode set, and acts as a capacitive touch sensor. In this case, the presence of a user's finger at or near the location of the mutual capacitor is detected by detecting the change in capacitance of the mutual capacitor caused by the user's finger. Typically, the user's finger reduces the capacitance of the mutual capacitor by interfering with the electric field between the corresponding electrodes.
[0020] In addition, each of the electrodes in the touch panel forms a corresponding self-capacitor due to the capacitance between the electrode and ground. Each self-capacitor can be used as a capacitive touch sensor to detect the presence of a user's finger at or near the corresponding electrode. In this case, the presence of the user's finger at or near the electrode is detected by detecting the change in capacitance of the corresponding self-capacitor caused by the user's finger. Typically, the user's finger increases the capacitance of the self-capacitor by adding the capacitance between the finger and the corresponding electrode to the self-capacitor. Due to ghosting, the self-capacitor reduces the ability of the touch controller to accurately resolve the positions of multiple fingers on the touch panel compared to the mutual capacitor. However, the power required by the self-capacitor is generally less than that required by the mutual capacitor, so these self-capacitors can be used in certain applications to save power.
[0021] Figure 1 An example of an interface circuit 105 configured to drive and sense the capacitance of a touch panel capacitor (referred to as "Cpanel") in a touch panel is shown. As discussed above, the touch panel capacitor Cpanel may include a self-capacitor formed by one of the electrodes in the touch panel. In addition, Figure 1 Also shown is a resistor (denoted as "Rpanel") that simulates the resistance of the electrode corresponding to the touch panel capacitor Cpanel. Note that the capacitance and resistance of the electrode can be distributed along the electrode, in which case, Figure 1 The touch panel capacitor Cpanel and resistor Rpanel shown may represent lumped model approximations of capacitance and resistance. Interface circuit 105 may be integrated on a chip coupled to the touch panel. Although Figure 1 One interface circuit 105 is shown in FIG. 1 , but it should be appreciated that the touch controller may include multiple instances (ie, copies) of the interface circuit 105 , with each instance of the interface circuit coupled to a corresponding touch panel capacitor (eg, a self-capacitor) in the touch panel.
[0022] The interface circuit 105 includes an amplifier 110 (e.g., a low noise amplifier); a feedback capacitor (denoted as “Cf”) coupled between the output of the amplifier 110 and the negative input of the amplifier 110; and a feedback resistor (denoted as “Rf”) coupled between the output of the amplifier 110 and the negative input of the amplifier 110. Figure 1 , the output of the amplifier 110 is labeled “Out”. The feedback capacitor Cf and the feedback resistor Rf form a feedback path between the output of the amplifier 110 and the negative input of the amplifier 110. The interface circuit 105 also includes a voltage driver 120 coupled to the positive input of the amplifier 110. The voltage driver 120 is configured to drive the positive input of the amplifier 110 using a voltage drive signal.
[0023] In operation, amplifier 110 reverse drives touch panel capacitor Cpanel according to the voltage drive signal input to the positive input of amplifier 110 through voltage driver 120. This is because the feedback path between the output of amplifier 110 and the negative input of amplifier 110 causes the output of amplifier 110 to supply current to touch panel capacitor Cpanel through the feedback path, causing the voltage at the negative input of amplifier 110 to track the voltage at the positive input of amplifier 110. In other words, amplifier 110 supplies charge to touch panel capacitor Cpanel through the feedback path, causing the voltage at the negative input of amplifier 110 to be approximately equal to the voltage of the drive signal at the positive input of amplifier 110. The amount of charge supplied to touch panel capacitor Cpanel for a given drive signal depends on the capacitance of touch panel capacitor Cpanel.
[0024] The amplifier 110 outputs an output signal, wherein the amplitude of the output signal depends on the amount of charge supplied to the touch panel capacitor Cpanel by the amplifier 110. Since the amount of charge supplied to the touch panel capacitor Cpanel for a given drive signal depends on the capacitance of the touch panel capacitor Cpanel, the amplitude of the output signal also depends on the capacitance of the touch panel capacitor Cpanel. Therefore, the output signal can be used to sense the capacitance of the touch panel capacitor Cpanel, and therefore sense the change in capacitance of the touch panel capacitor Cpanel due to the presence of a user's finger. This information can be used to detect the presence of a user's finger. In this regard, the output of the amplifier 110 can be coupled to a processor (not shown) that detects a user's finger by detecting a change in the output signal caused by the presence of a user's finger.
[0025] In order to detect the user's finger, it is not necessary to sense the absolute capacitance of the touch panel capacitor Cpanel. It is only necessary to sense the capacitance change caused by the user's finger to detect the user's finger. The capacitance change caused by the user's finger can be called incremental capacitance, which can be defined as the difference between the capacitance of the touch panel capacitor Cpanel in the presence of the user's finger and the baseline capacitance of the touch panel capacitor Cpanel (i.e., the capacitance of the touch panel capacitor Cpanel without the user's finger). Because only the incremental capacitance needs to be detected to detect the user's finger, the dynamic range of the amplifier 110 can be increased by reducing the portion of the output signal caused by the baseline capacitance of the touch panel capacitor Cpanel.
[0026] In this regard, Figure 2 An example of an offset cancellation circuit 210 is shown that is configured to reduce a portion of an output signal that is due to a baseline capacitance of a touch panel capacitor Cpanel. The offset cancellation circuit 210 includes a voltage driver 220, an on-chip resistor 222, an on-chip capacitor 225, a bias circuit 230, and current sources 240(1)-240(N). The current sources 240(1)-240(N) are coupled to the touch panel capacitor Cpanel. The capacitance of the on-chip capacitor 225 approximately matches the baseline capacitance of the touch panel capacitor Cpanel, and the resistance of the on-chip resistor 222 approximately matches the resistance of the resistor Rpanel.
[0027] In operation, voltage driver 220 drives on-chip capacitor 225 through on-chip resistor 222 using approximately the same drive signal as voltage driver 120 coupled to the positive input of amplifier 110. On-chip capacitor 225 differentiates the voltage of the drive signal, thereby generating a current that is input to bias circuit 230. Bias circuit 230 biases current sources 240(1)-240(N) based on the input current, so that the current sources provide current to touch panel capacitor Cpanel based on the input current, thereby generating a voltage across touch panel capacitor Cpanel.
[0028] When a user's finger is not present, the voltage on the touch panel capacitor Cpanel generated by the current from current sources 240(1)-240(N) approximately matches the voltage of the drive signal at the positive input of amplifier 110. Therefore, for the case where a user's finger is not present, offset cancellation circuit 210 supplies the touch panel capacitor Cpanel with the charge required to approximately match the voltage on the touch panel capacitor Cpanel with the voltage of the drive signal.
[0029] When a user's finger is present, the capacitance change (i.e., incremental capacitance) of the touch panel capacitor Cpanel caused by the user's finger changes the amount of charge required to match the voltage on the touch panel capacitor to the voltage of the drive signal. The charge difference is provided by the output of the amplifier 110 through a feedback path. Therefore, in this example, the amplifier 110 only needs to provide a charge difference corresponding to the incremental capacitance, and the output signal of the amplifier 110 indicates the incremental capacitance. This significantly reduces the portion of the output signal of the amplifier 110 caused by the baseline capacitance of the touch panel capacitor Cpanel, thereby increasing the dynamic range of the amplifier 110.
[0030] Figure 2 A disadvantage of the offset cancellation circuit 210 in is that it requires a relatively large on-chip capacitor 225 that matches the touch panel capacitor Cpanel. As a result, the on-chip capacitor 225 occupies a large area on the chip. Another disadvantage is that the current sources 240(1)-240(N) introduce transistor flicker noise into the output signal. The flicker noise can be reduced by making the width and length of the transistors in the current sources 240(1)-240(N) larger. However, this approach may require large transistors that occupy a large area on the chip. Therefore, there is a need for an offset cancellation circuit that overcomes one or more of the above-mentioned disadvantages.
[0031] Figure 3 FIG. 3 shows an example of an interface circuit 305 configured to drive and sense the capacitance of a touch panel capacitor Cpanel (eg, a self-capacitor) according to certain aspects of the present disclosure. The interface circuit 305 overcomes the problems associated with Figure 2 One or more of the disadvantages associated with the offset cancellation circuit 210 in the embodiment of the present invention, as further discussed below.
[0032] Interface circuit 305 includes amplifier 110, feedback capacitor Cf, and feedback resistor Rf discussed above. The description of amplifier 110, feedback capacitor Cf, and feedback resistor Rf provided above is applicable to Figure 3 The interface circuit 305 in FIG. 1 is described in detail for the sake of brevity.
[0033] The interface circuit 305 also includes a drive resistor 330 and a drive capacitor 335, which are coupled in series between the positive input of the amplifier 110 and ground. The drive resistor 330 and / or the drive capacitor 335 can be integrated on the same chip as the amplifier 110. In some aspects, the drive capacitor 335 is a scaled-down version of the touch panel capacitor Cpanel, and its capacitance is approximately equal to 1 / N of the baseline capacitance of the touch panel capacitor Cpanel, where N is a scaling factor. The drive resistor 330 is a scaled-up version of the resistor Rpanel, and its resistance is approximately equal to N times the resistance of the resistor Rpanel. As discussed above, the resistor Rpanel simulates the resistance of the electrode corresponding to the touch panel capacitor Cpanel.
[0034] Interface circuit 305 also includes replica feedback capacitor 340 coupled between the positive input of amplifier 110 and ground. Replica feedback capacitor 340 is a scaled-down version of feedback capacitor Cf in the feedback path and has a capacitance approximately equal to 1 / N of the capacitance of feedback capacitor Cf.
[0035] The interface circuit 305 also includes a current driver 310 having a first output 315 coupled to the negative input of the amplifier 110 and a second output 320 coupled to the positive input of the amplifier 110. In certain aspects, the current driver 310 is configured to drive the drive capacitor 335 and the replica feedback capacitor 340 using a first drive current (which is represented as "Id / N"), and to drive the touch panel capacitor Cpanel and the feedback capacitor Cf using a second drive current (which is represented as "Id"), wherein the first drive current is approximately equal to 1 / N of the second drive current. In other words, the second drive current is approximately equal to N times the first drive current.
[0036] exist Figure 3 In the example of , the first drive current Id / N is divided into a current Ifb / N, which drives the replica feedback capacitor 340; and a current Ipanel / N, which drives the drive capacitor 335. Therefore, in this example, the current driver 310 drives the replica feedback capacitor 340 using the current Ifb / N, and drives the drive capacitor 335 using the current Ipanel / N. The second drive current Id is divided into a current Ifb, which drives the feedback capacitor Cf; and a current Ipanel, which drives the touch panel capacitor Cpanel. Therefore, in this example, the current driver 310 drives the feedback capacitor Cf using the current Ifb, and drives the touch panel capacitor Cpanel using the current Ipanel. In this example, the current Ipanel / N is approximately equal to 1 / N of the current of the current Ipanel, and the current Ifb / N is approximately equal to 1 / N of the current of the current Ifb.
[0037] In operation, current driver 310 drives drive capacitor 335 and replica feedback capacitor 340 using a first drive current Id / N to generate a voltage drive signal at the positive input of amplifier 110. Thus, in this example, by using the first drive current Id / N instead of Figure 2 The voltage driver 120 drives the driving capacitor 335 and the replica feedback capacitor 340 to generate a voltage driving signal at the positive input of the amplifier.
[0038] For example, the current driver 310 may drive the driving capacitor 335 and the replica feedback capacitor 340 using the first driving current Id / N to generate a voltage driving signal having a trapezoidal waveform. In this regard, Figure 4 An example of a trapezoidal waveform is shown. Figure 4 As shown, the voltage ramps up to a voltage of approximately Vc in a first time interval (which is represented as "t1"), stays at a voltage of approximately Vc in a second time interval (which is represented as "t2"), and ramps down in a third time interval (which is represented as "t3"). In this example, the current driver 310 ramps the voltage up to approximately Vc by driving a first drive current into the drive capacitor 335 and the replica capacitor 340 over the first time interval t1. When the voltage reaches approximately Vc, the current driver 310 turns off the first drive current for the duration of the second time interval t2. During this time, the touch panel capacitor Cpanel maintains the voltage at approximately Vc. At the end of the second time interval t2, the current driver 310 turns the first drive current back on in the reverse direction to ramp down the voltage. The reverse direction is Figure 3 In this example, the amplitude of the first drive current is approximately constant in both directions.
[0039] The current driver 310 also drives the touch panel capacitor Cpanel and the feedback capacitor Cf using a second drive current Id that is N times the current of the first drive current used to drive the drive capacitor 335 and the replica feedback capacitor 340. Since the capacitance of the drive capacitor 335 is approximately equal to 1 / N of the baseline capacitance of the touch panel capacitor Cpanel and the capacitance of the replica feedback capacitor 340 is approximately equal to 1 / N of the capacitance of the feedback capacitor Cf, the voltage at the negative input of the amplifier generated by driving the touch panel capacitor Cpanel and the feedback capacitor Cf using the second drive current Id approximately matches the voltage at the positive input of the amplifier generated by driving the drive capacitor 335 and the replica feedback capacitor 340 using the first drive current Id / N for the baseline case (i.e., the case where the user's finger is not present).
[0040] For the example in which the current driver 310 drives the drive capacitor 335 and the replica feedback capacitor 340 using a first drive current Id / N to generate a trapezoidal voltage waveform at the positive input of the amplifier 110, the current driver 310 drives the touch panel capacitor Cpanel and the feedback capacitor Cf using a second drive current Id for a baseline condition to generate a matching trapezoidal voltage waveform at the negative input of the amplifier 110. In this example, the current driver 310 ramps the voltage at the negative input to approximately Vc by driving a second drive current into the touch panel capacitor Cpanel and the feedback capacitor Cf during a first time interval t1. When the voltage reaches approximately Vc, the current driver 310 turns off the second drive current for the duration of a second time interval t2. During this time, the touch panel capacitor Cpanel maintains the voltage at approximately Vc. At the end of the second time interval t2, the current driver 310 turns the second drive current back on in the reverse direction to ramp down the voltage. Note that the reverse direction is Figure 3 The direction opposite to the direction indicated by the arrow.
[0041] Thus, for the baseline condition (i.e., the absence of a user's finger), current driver 310 supplies the touch panel capacitor Cpanel and feedback capacitor Cf with the charge required to approximately match the voltage at the negative input of amplifier 110 to the voltage at the positive input of amplifier 110. This substantially cancels the baseline capacitance from the output signal of amplifier 110, thereby increasing the dynamic range of amplifier 110.
[0042] When a user's finger is present, the change in capacitance of the touch panel capacitor Cpanel (i.e., the incremental capacitance) caused by the user's finger changes the amount of charge at the touch panel capacitor Cpanel required to match the voltage at the negative input of the amplifier 110 with the voltage at the positive input of the amplifier 110. In this case, the amplifier 110 provides the charge difference to the touch panel capacitor Cpanel to match the voltage at the negative input of the amplifier 110 with the voltage at the positive input of the amplifier 110. As a result, the output signal of the amplifier 110 indicates the change in capacitance of the touch panel capacitor Cpanel (i.e., the incremental capacitance) caused by the user's finger, and thus can be used to detect the user's finger.
[0043] Figure 3 One advantage of the interface circuit 305 in FIG. 3 is that the drive capacitor 335 can be Figure 2 The on-chip capacitor 225 shown is much smaller. This is because Figure 1The on-chip capacitor 225 in FIG. 2 needs to be larger in order to match the capacitance of the touch panel capacitor Cpanel, while the drive capacitor 335 is a scaled-down version of the touch panel capacitor Cpanel. For example, if the scaling factor N is equal to 16, the drive capacitor 335 is approximately 16 times smaller than the touch panel capacitor Cpanel and therefore occupies a much smaller area on the chip. In some aspects, the scaling factor can be at least four.
[0044] The resistance of the driving resistor 330 is greater than Figure 2 This is because the resistance of the drive resistor 330 is approximately equal to the panel resistance multiplied by the scaling factor N. However, the drive resistor 330 can be made smaller by using area-efficient techniques. Figure 2 The on-chip capacitor 225 shown can be implemented in a much smaller area, such as by implementing the drive resistor 330 as a switched capacitor resistor. Therefore, the total chip area occupied by the drive capacitor 335 and the drive resistor 330 can be smaller than Figure 2 The total chip area occupied by the on-chip capacitor 225 and the on-chip resistor 222 in FIG. 2 is much smaller, resulting in a net reduction in chip area.
[0045] In the above discussion, the current flowing through the feedback resistor Rf is ignored. The resistance of the feedback resistor Rf may be hundreds of K ohms. In this case, the current flowing through the feedback resistor Rf is very small, and the error introduced when it is ignored is negligible.
[0046] Figure 5 An exemplary implementation of a current driver 310 including a plurality of current sources 540(1)-540(N+1) is shown, wherein the current driver 310 swaps the current sources 540(1)-540(N+1) between the drive capacitor 335 and the touch panel capacitor Cpanel (i.e., between the positive and negative inputs of the amplifier 110) over multiple swap cycles to reduce flicker noise. During each swap cycle, one of the current sources is coupled to the drive capacitor 335, while the remaining N current sources are coupled to the touch panel capacitor Cpanel. At the beginning of each swap cycle, the current source coupled to the drive capacitor 335 is changed so that each of the current sources is coupled to the drive capacitor 335 in turn over N+1 swap cycles. Assuming that each current source has approximately the same current, the current supplied to the drive current capacitor 335 is approximately equal to 1 / N of the current supplied to the touch panel capacitor Cpanel. Thus, at a given time, one of the current sources is coupled to the positive input of amplifier 110 to provide a first drive current Id / N, and N of the current sources are coupled to the negative input of amplifier 110 to provide a second drive current Id.
[0047] Swapping current sources 540(1)-540(N+1) between the touch panel capacitor Cpanel and the drive capacitor 335 (i.e., between the positive and negative inputs of amplifier 110) reduces transistor flicker noise at the output of amplifier 110. This is because the flicker noise of each current source is applied to both inputs of amplifier 110 and is therefore reduced by common-mode rejection. This approach reduces flicker noise without increasing the width and length of the transistors in the current sources and is therefore a more chip area efficient solution to flicker noise.
[0048] exist Figure 5 In the example of FIG. 1 , the current driver 310 includes a switch network 550; and a switching controller 570 for switching current sources 540(1)-540(N+1) between the driving capacitor 335 and the touch panel capacitor Cpanel (i.e., between the positive input and the negative input of the amplifier 110). The switch network 550 includes a plurality of switch devices 555(1)-555(N+1), each of which corresponds to a respective current source in the current sources 540(1)-540(N+1). Figure 5 As shown, each of the switch devices 555(1)-555(N+1) includes a corresponding first switch 556(1)-556(N+1), which is coupled between the corresponding current source and the drive capacitor 335 (i.e., the positive input of the amplifier 110); and a corresponding second switch 558(1)-558(N+1), which is coupled between the corresponding current source and the touch panel capacitor Cpanel (i.e., the negative input of the amplifier 110). In this example, the current source is coupled to the drive capacitor 335 by closing the first switch in the corresponding switch device and opening the second switch, and is coupled to the touch panel capacitor Cpanel by opening the first switch in the corresponding switch device and closing the second switch. Note that the reference numerals of the switches in the switch devices 555(2) and 555(N) are not shown in FIG. Figure 5 Indicated in order to avoid Figure 5 In addition, note that for ease of illustration, the various connections between the switch controller 570 and the switches are not shown in FIG. Figure 5 Clearly shown in.
[0049] The exchange controller 570 controls the switch devices 555(1)-555(N+1) to exchange the current sources 540(1)-540(N+1) between the drive capacitor 335 and the touch panel capacitor Cpanel (i.e., between the positive input and the negative input of the amplifier 110) during a plurality of exchange cycles. During each exchange cycle, the exchange controller 570 couples one of the current sources to the drive capacitor 335 by closing the first switch in the corresponding switch device and opening the second switch, and couples each of the remaining N current sources to the touch panel capacitor by opening the first switch in the corresponding switch device and closing the second switch. The exchange controller 570 controls the switch devices so that the current source coupled to the drive capacitor 335 is changed at the beginning of each exchange cycle, and each of the current sources is coupled to the drive capacitor 335 in turn during the N+1 exchange cycles.
[0050] In some aspects, the output signal of the amplifier 110 is output to the processor 580, which processes the output signal to detect the presence of a user's finger at or near the touch panel capacitor Cpanel. For example, the processor 580 can integrate the output signal over an integration time interval and determine whether the user's finger is present based on the amplitude of the resulting integrated signal. In this example, the amplitude of the integrated signal when the user's finger is present is different from the amplitude of the integrated signal when the user's finger is not present, allowing the processor to determine whether the user's finger is present based on the amplitude of the integrated signal. The integration time interval can span at least N+1 switching cycles, so that each current source is coupled to the drive capacitor 335 at least once during the integration time interval in turn.
[0051] You should understand that Figure 5 Each of the illustrated current sources 540 ( 1 )- 540 ( 1+N) may be comprised of multiple smaller current sources (eg, multiple smaller current sources coupled in parallel).
[0052] Figure 6 2 shows an exemplary implementation of a current source 540 according to certain aspects of the present disclosure. The current source 540 may be used to implement Figure 5 Each of the current sources 540(1)-540(N+1) shown is. In other words, each of the current sources 540(1)-540(N+1) can be Figure 6 A separate instance (copy) of current source 540 in .
[0053] The current source 540 includes a p-type field effect transistor (PFET) 610, a first switch 625, a second switch 630, and an n-type field effect transistor (NFET) 620. The PFET 610 and the first switch 625 are coupled in series between the power rail Vdd and the output 640 of the current source 540. The NFET 620 and the second switch 630 are coupled in series between the output 640 of the current source 540 and ground. The output 640 is coupled to a corresponding switch device (e.g., NFET 620) in the switch devices 555(1)-555(N+1). Figure 5 As discussed above, the corresponding switch device couples the output 640 to the touch panel capacitor Cpanel or the drive capacitor 335 under the control of the switch controller 570.
[0054] The gate of the PFET 610 is biased by a first bias voltage (denoted as "pbias") and the gate of the NFET 620 is biased by a second bias voltage (denoted as "nbias"). In this regard, the interface circuit 305 includes a bias circuit 530 (eg, Figure 5 6 and 7 (as shown in FIG. 1 ), which are used to generate bias voltages pbias and nbias. The first bias voltage pbias controls the amount of current flowing through PFET 610 by controlling the channel conductance of PFET 610. Similarly, the second bias voltage nbias controls the amount of current flowing through NFET 620 by controlling the channel conductance of PFET 620.
[0055] The first switch 625 receives a first control signal (which is denoted as "c1"), and the second switch 630 receives a second control signal (which is denoted as "c2"). Each of the control signals c1 and c2 controls a corresponding switch. In this regard, the interface circuit 305 includes a current controller 560 that generates control signals c1 to c2 to control the current of the current sources 540(1)-540(N+1), as further discussed below. Note that for ease of illustration, Figure 5 The individual connections between the current controller 560 and the current sources 540(1)-540(N+1) are not explicitly shown.
[0056] In operation, the current controller 560 causes the current source 540 to provide current in the direction 642 by closing the first switch 625 and opening the second switch 630. In this case, depending on which of the inputs of the amplifier the current source 540 is coupled to at a given time through the corresponding switching device, the current flows into the touch panel capacitor Cpanel and the feedback capacitor Cf or into the drive capacitor 335 and the replica capacitor 340. As discussed above, the current level of the current in the direction 642 is controlled by the first bias voltage pbias.
[0057] The current controller 560 causes the current source 540 to provide current in a direction 644 by opening the first switch 625 and closing the second switch 630, wherein the direction 644 of the current is the opposite of the direction 642. In this case, depending on which of the inputs of the amplifier the current source 540 is coupled to through the corresponding switching device at a given time, the current flows out of the touch panel capacitor Cpanel and the feedback capacitor Cf, or out of the drive capacitor 335 and the replica feedback capacitor 340. As discussed above, the current level of the current in the direction 644 is controlled by the second bias voltage nbias.
[0058] The current controller 560 turns off the current source 540 by turning on the first switch 625 and the second switch 630 at the same time.
[0059] In some aspects, current controller 560 can control current sources 540(1)-540(1+N) to generate a trapezoidal voltage waveform at the input of amplifier 110. For example, referring to Figure 4 , the current controller 560 can generate a trapezoidal voltage waveform at each input of the amplifier 110 by performing the following steps. The current controller 560 can first ramp up the voltage at each input within a first time interval t1 by closing the first switch in each current source and opening the second switch. Then, the current controller 560 can turn off the current source within a second time interval t2 by opening the first switch and the second switch in each current source. At the end of the second time interval t2, the current controller 560 can ramp down the voltage at each input within a third time interval t3 by opening the first switch in each current source and closing the second switch.
[0060] The current controller 560 can sequentially generate multiple trapezoidal voltage waveforms at each input of the amplifier 110 within multiple drive cycles by repeating the above steps within each drive cycle. In this case, a trapezoidal voltage waveform is generated at each input during each drive cycle. In one example, each drive cycle can correspond to an exchange cycle. In this example, the exchange controller 570 can change the current source 540(1)-540(1+N) coupled to the positive input of the amplifier 110 between adjacent trapezoidal voltage waveforms. In another example, each drive cycle can span multiple exchange cycles. In this example, the exchange controller 570 can also change the current source coupled to the positive input of the amplifier 110 during each trapezoidal waveform (e.g., between the voltage ramp up and voltage ramp down of the trapezoidal waveform).
[0061] In the above example, the PFETs and NFETs in current sources 540(1)-540(N+1) are turned on and off at the switching frequency. This causes the frequency of the flicker noise of the PFETs and NFETs to shift due to the switching frequency. As discussed above, this flicker noise is reduced by swapping current sources 540(1)-540(N+1) between the inputs of amplifier 110.
[0062] It should be appreciated that the present disclosure is not limited to the example of a trapezoidal voltage waveform, and that the current driver 310 may drive the capacitor with a current that generates other types of voltage waveforms.
[0063] Figure 7 An exemplary implementation of a bias circuit 530 according to certain aspects of the present disclosure is shown. As discussed above, the bias circuit 530 generates bias voltages pbias and nbias, which control the current levels of current sources 540(1)-540(N+1). In this example, the bias circuit 530 includes an amplifier 710, a first bias PFET 715, and a bias resistor Rb.
[0064] The first bias PFET 715 and the bias resistor Rb are coupled in series between the power rail Vdd and ground. The positive input of the amplifier 710 is coupled to the node between the first bias PFET 715 and the bias resistor Rb, and the negative input of the amplifier 710 receives a reference voltage (which is represented as "Vref"). In addition, the output of the amplifier 710 is coupled to the gate of the first bias PFET 715. Therefore, the output voltage of the amplifier 710 controls the channel conductance of the first bias PFET 715. As further discussed below, the amplifier 715 provides a first bias voltage pbias.
[0065] In this example, the voltage across the bias resistor (which is denoted as "Vb") is fed back to the amplifier 710. This causes the amplifier 710 to adjust the output voltage of the amplifier 710 (and therefore the conductivity of the first bias PFET 715) so that the voltage Vb across the resistor Rb is approximately equal to the reference voltage Vref. In this case, the current through the first bias PFET 715 (which is denoted as "Ib") is approximately equal to Vref / Rb. Therefore, by setting the reference voltage Vref and / or the resistance of the bias resistor Rb accordingly, the current Ib through the first bias PFET 715 can be set to a desired current level.
[0066] The output voltage of amplifier 710 provides a first bias voltage pbias, which is output to the gates of the PFETs in current sources 540(1)-540(1+N). Therefore, if first bias PFET 715 is approximately matched to the PFETs in current sources 540(1)-540(1+N), the first bias voltage pbias causes each of the PFETs in the current sources to conduct a current approximately equal to the current Ib in bias circuit 530.
[0067] The bias circuit 530 also includes a second bias PFET 720 and a bias NFET 725, which are coupled in series between the power rail Vdd and ground. The drain and gate of the bias NFET 725 are tied together. As discussed further below, a second bias voltage nbias is generated at the gate of the bias NFET 725.
[0068] The gate of the second bias PFET 720 is biased by the first bias voltage pbias. Therefore, assuming that the first bias PFET 715 and the second bias PFET 720 match, the current flowing through the second bias PFET 720 is approximately equal to the current Ib. Since the second bias PFET 720 and the bias NFET 725 are coupled in series, the current flowing through the second bias PFET 720 also flows through the bias NFET 725. The current flowing through the bias NFET 725 causes a second bias voltage nbias to be generated at the gate of the bias NFET 725. Since the current flowing through the bias NFET 725 is approximately equal to the current Ib, the second bias voltage nbias corresponds to the current Ib. Therefore, if the bias NFET 725 is approximately matched to the NFETs in the current sources 540(1)-540(1+N), the second bias voltage nbias causes each of the NFETs in the current sources to conduct a current approximately equal to the current Ib.
[0069] In the above example, bias voltages pbias and nbias cause each of current sources 540(1)-540(N+1) to provide a current approximately equal to current Ib in bias circuit 530. Since Ib is approximately equal to Vref / Rb, the current of each current source can be set to a desired current level by setting reference voltage Vref and / or the resistance of bias resistor Rb accordingly.
[0070] It should be appreciated that the current of each current source can be scaled relative to the current Ib in the bias circuit 530. For example, the width of each transistor in the current source can be M times the width of each bias transistor in the bias circuit 530, where M is the current scaling factor. In this example, the current of each current source is approximately equal to M times the current Ib. Therefore, in this example, the current of each current source can also be set to a desired current level by setting the current scaling factor M accordingly.
[0071] In some aspects, each of the current sources 540(1)-540(N+1) may include a multi-bit current source. The multi-bit current source is configured to provide a current at one of a plurality of selectable current levels based on a multi-bit value input to the multi-bit current source. Each of the selectable current levels may be a different multiple of a base current level, where the base current level is set by the bias voltages pbias and nbias discussed above. For example, a two-bit current source may provide one of two current levels based on a one-bit value, where one of the two current levels is equal to the base current level and the other of the two current levels is equal to twice the base current level or other multiples of the base current.
[0072] As discussed above, current sources 540(1)-540(N+1) may include a PFET for providing current in direction 642 and an NFET for providing current in direction 644. There may be a small difference in the currents provided by the PFET and the NFET, resulting in an incremental current. In this case, over time, the incremental current may be integrated across the drive capacitor 335 and the touch panel capacitor Cpanel, causing the DC voltage at the input of the amplifier 110 to drift upward or downward over time. If not corrected, this may result in current source cutoff. To address this issue, the interface circuit 305 may include a voltage buffer 810, a first resistor Rvcm, and a second resistor Rvcm / N, such as Figure 8 As shown in the example of . The resistance of the second resistor Rvcm / N is approximately 1 / N of the resistance of the first resistor Rvcm.
[0073] In this example, the voltage buffer 810 is configured to output a DC voltage (denoted as "Vcm") that may be approximately equal to half of the supply voltage of the amplifier 110. Assuming that the resistance of the resistors is relatively high, the positive input of the amplifier 110 is weakly coupled to the voltage buffer 810 through the first resistor Rvcm, while the negative input of the amplifier 110 is weakly coupled to the voltage buffer 810 through the second resistor Rvcm / N. For example, the resistance of the first resistor Rvcm may be 1.25M ohms. By implementing the resistors using switched capacitor resistors, the high resistance of the resistors may be achieved with a small area. By pulling the DC voltage toward Vcm, the resistors help prevent the DC voltage at the input of the amplifier 110 from drifting upward or downward over time due to the incremental current discussed above. For example, if the incremental current is approximately 0.1 μA and the resistance of the first resistor Rvcm is approximately 1.25M ohms, the DC voltage at the positive input is stabilized at about Vcm+125mV. If the drive signal is a trapezoidal signal, then in this example, the center of the trapezoidal signal is approximately at about Vcm+125mV. It should be appreciated that other techniques may be employed to reduce the delta current discussed above.
[0074] Fig. 9 900 is a flow chart illustrating a method 900 of an interface circuit for operating a touch panel according to certain aspects. The interface circuit (e.g., interface circuit 305) includes an amplifier (e.g., amplifier 110); a drive capacitor (e.g., drive capacitor 335) coupled to a first input of the amplifier (e.g., a positive input of amplifier 110); and a feedback path coupled between an output of the amplifier and a second input of the amplifier (e.g., a negative input of amplifier 110).
[0075] At block 910, a drive capacitor is driven using a first current. For example, the drive capacitor may be driven using a first current (eg, Ipanel / N) to generate a drive voltage at a first input of an amplifier (eg, a positive input of amplifier 110).
[0076] At block 920, a touch panel capacitor coupled to a second input of the amplifier is driven using a second current. For example, a touch panel capacitor (e.g., a self-capacitor) may be driven using a second current (e.g., Ipanel) to generate a voltage at a second input of the amplifier (e.g., the negative input of amplifier 110) that approximately matches the drive voltage of the first input of the amplifier for a baseline case of the touch panel capacitor. This may be done to substantially cancel the baseline capacitance of the touch panel capacitor from the output of the amplifier.
[0077] Method 900 may also include the optional steps of generating the first current and the second current using current sources (e.g., current sources 540(1)-540(1+N)) and swapping the current sources between the first input of the amplifier and the second input of the amplifier. This may be done to reduce flicker noise of transistors in the current sources.
[0078] It should be appreciated that the present disclosure is not limited to the specific terms used above to describe various aspects of the present disclosure, and the present disclosure also covers equivalent terms. For example, it should be appreciated that a touch panel may also be referred to as a touch screen, a touch interface, or other terms. In another example, it should be appreciated that a current source may also be referred to as a current unit or another term. In yet another example, it should be appreciated that the term "swap" may also be referred to as an exchange, a switch, or another term.
[0079] In the above example, the touch panel capacitor Cpanel is used to detect a user's finger. However, it should be appreciated that the present disclosure is not limited to this example, and the touch panel capacitor Cpanel can be used to detect another object (e.g., a stylus) at or near the touch panel capacitor Cpanel, where the object changes (modifies) the capacitance of the touch panel capacitor Cpanel. In this case, the baseline capacitance of the touch panel capacitor Cpanel is the capacitance of the touch panel capacitor Cpanel when the object is not present.
[0080] It should be appreciated that the touch panel capacitor Cpanel may include a self-capacitor, a self-capacitor and a mutual-capacitor in parallel, and / or another type of touch-sensitive capacitor.
[0081] As used herein, the term "about" with respect to a specified value or property is intended to mean within 20% of the specified value or property.
[0082] Further, it should be appreciated that the present disclosure is not limited to coupling the feedback path and touch panel capacitor Cpanel to the negative input of amplifier 110 and coupling drive capacitor 335 to the positive input of amplifier 110. In general, drive capacitor 335 and replica feedback capacitor 340 are coupled to a first input of amplifier 110, and the feedback path and touch panel capacitor Cpanel are coupled to a second input of amplifier 110.
[0083] Any reference to an element herein by using designations such as "first", "second", etc. does not generally limit the number or order of those elements. On the contrary, these designations are used herein as a convenient way to distinguish two or more elements or element instances. Therefore, the reference to the first element and the second element is not intended to be limited to only two elements or that the first element must be before the second element. These designations can also be used as a convenient way to distinguish two or more currents. For example, "first" can be used to specify any current in the currents discussed above, and "second" can be used to specify another current in the currents discussed above.
[0084] In this disclosure, the word "exemplary" is used to mean "serving as an example, instance, or illustration." Any implementation or aspect described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other aspects of the disclosure. Likewise, the term "aspect" does not require that all aspects of the disclosure include the discussed feature, advantage, or mode of operation. The term "coupled" is used herein to refer to a direct electrical coupling or an indirect electrical coupling between two structures.
[0085] The current controller 560 and the switching controller 570 discussed above can be implemented using a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete hardware components (e.g., logic gates), or any combination thereof designed to perform the functions described herein. The processor can perform the functions described herein by executing software including codes for performing the functions. The software can be stored on a computer readable storage medium, such as RAM, ROM, EEPROM, optical disk, and / or magnetic disk.
[0086] The previous description of the disclosure is provided to enable any person skilled in the art to make or use the disclosure. Various modifications to the disclosure will be apparent to those skilled in the art, and the general principles defined herein may be applied to other variations without departing from the spirit or scope of the disclosure. Therefore, the disclosure is not intended to be limited to the examples described herein, but should be given the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. An interface circuit, comprising: an amplifier having a first input, a second input, and an output; a drive capacitor coupled to the first input of the amplifier; a feedback path coupled between the output of the amplifier and the second input of the amplifier; as well as a current driver coupled to the first input of the amplifier and the second input of the amplifier, wherein the current driver is configured to drive the drive capacitor using a first current and to drive a touch panel capacitor coupled to the second input of the amplifier using a second current, wherein a capacitance of the drive capacitor is equal to 1 / N of a baseline capacitance of the touch panel capacitor, where N is a scaling factor. 2 . The interface circuit according to claim 1 , wherein a current level of the first current is equal to 1 / N of a current level of the second current. 3 . The interface circuit of claim 2 , wherein the current driver is configured to drive the drive capacitor with the first current to generate a first voltage waveform at the first input of the amplifier. 4 . The interface circuit of claim 3 , wherein the current driver is configured to drive the touch panel capacitor with the second current to generate a second voltage waveform at the second input of the amplifier. 5 . The interface circuit of claim 4 , wherein for a baseline condition of the touch panel capacitor, the first voltage waveform matches the second voltage waveform. 6 . The interface circuit of claim 4 , wherein the first voltage waveform comprises a first trapezoidal voltage waveform, and the second voltage waveform comprises a second trapezoidal voltage waveform.
7. The interface circuit of claim 1, wherein the touch panel capacitor comprises a self-capacitor in the touch panel.
8. The interface circuit of claim 1, wherein the feedback path comprises a feedback capacitor.
9. The interface circuit of claim 8, further comprising a replica feedback capacitor coupled to the first input of the amplifier. 10 . The interface circuit of claim 9 , wherein a capacitance of the replica feedback capacitor is equal to 1 / N of a capacitance of the feedback capacitor in the feedback path.
11. The interface circuit of claim 1, wherein the drive capacitor is coupled between the first input of the amplifier and ground. 12 . The interface circuit of claim 1 , wherein the current driver comprises a current source, and the current driver is configured to swap the current source between the first input of the amplifier and the second input of the amplifier.
13. The interface circuit of claim 12, wherein the current driver is configured to swap the current sources within a plurality of swap cycles such that during each of the plurality of swap cycles, a different one of the current sources is coupled to the first input of the amplifier.
14. The interface circuit of claim 13, wherein each of the current sources is coupled to the first input of the amplifier in turn during a plurality of the switching cycles.
15. A method for operating an interface circuit of a touch panel, the interface circuit comprising an amplifier; a drive capacitor coupled to a first input of the amplifier; and a feedback path coupled between the output of the amplifier and a second input of the amplifier, the method comprising: driving the capacitor using a first current; as well as A touch panel capacitor is driven using a second current, the touch panel capacitor being coupled to the second input of the amplifier, wherein the capacitance of the drive capacitor is equal to 1 / N of the baseline capacitance of the touch panel capacitor, where N is a scaling factor. The method of claim 15 , wherein a current level of the first current is equal to 1 / N of a current level of the second current.
17. The method of claim 16, wherein driving the drive capacitor using the first current comprises: The drive capacitor is driven using the first current to generate a first voltage waveform at the first input of the amplifier.
18. The method of claim 17, wherein driving the touch panel capacitor using the second current comprises: The touch panel capacitor is driven using the second current to generate a second voltage waveform at the second input of the amplifier.
19. The method of claim 18, wherein the first voltage waveform matches the second voltage waveform for a baseline condition of the touch panel capacitor.
20. The method of claim 18, wherein the first voltage waveform comprises a first trapezoidal voltage waveform, and the second voltage waveform comprises a second trapezoidal voltage waveform.
21. The method of claim 15, wherein the touch panel capacitor comprises a self-capacitor in the touch panel.
22. The method of claim 15, further comprising: generating the first current and the second current using a current source; as well as The current source is swapped between the first input of the amplifier and the second input of the amplifier.
23. The method of claim 22, wherein swapping the current source comprises: The current sources are swapped between the first input of the amplifier and the second input of the amplifier over a plurality of swap cycles such that a different one of the current sources is coupled to the first input of the amplifier during each of the plurality of swap cycles.
24. The method of claim 23, wherein during the plurality of switching cycles, each of the current sources is coupled to the first input of the amplifier in turn.
