This application is based upon and claims the benefit of priority from the prior Japanese Patent Application No. 2016-080864, filed Apr. 14, 2016, the entire contents of which are incorporated herein by reference.
The present invention relates to an electrostatic capacitance measurement apparatus.
In recent years, various kinds of electronic devices such as computers, smartphones, tablet terminals, portable audio devices, and the like include a touch-type input apparatus mounted as a user interface. Known examples of such a touch-type input apparatus include touch pads, pointing devices, and the like. By operating such a touch-type input apparatus by touch or otherwise by proximity with a finger or stylus, such an arrangement allows the user to perform various kinds of input operations.
The methods employed in such touch-type input apparatuses can be classified into two principal methods, i.e., a resistive film method and an electrostatic capacitance method. With the electrostatic capacitance method, when the user performs an input operation, this leads to a change in the electrostatic capacitances (which will simply be referred to as the “capacitances” hereafter) formed by the multiple sensor electrodes. By converting such a change in the electrostatic capacitance into an electric signal, such an arrangement is capable of detecting the presence or absence, as well as the coordinate position, of user input.
A touch panel is configured including multiple sensor electrodes. An X-Y matrix touch panel includes row sensor electrodes each of which is assigned to a corresponding matrix row, and column sensors each of which is assigned to a corresponding matrix column. By detecting respective changes in the capacitance of the multiple sensor electrodes, such an arrangement is capable of identifying a coordinate position touched by the user.
With conventional techniques, typically, a capacitance detection circuit detects the capacitance of each of the multiple sensor electrodes in a time sharing manner. For example, with the aforementioned X-Y matrix touch panel, the capacitance is sequentially detected for each of the multiple column sensors. Furthermore, the capacitance is sequentially detected for each of the multiple row sensors. With such a method, there is a difference between the respective sensor electrodes in the timing at which the capacitance is detected. This leads to a difference in noise effects between the respective sensor electrodes, which is a problem.
The present invention has been made in order to solve such a problem. Accordingly, it is an exemplary purpose of an embodiment of the present invention to provide a capacitance measurement circuit that is capable of detecting the capacitance values of the multiple sensor electrodes at the same time, or of individually detecting the capacitance of each sensor electrode.
An embodiment of the present invention relates to a capacitance measurement circuit structured to measure multiple electrostatic capacitances. The capacitance measurement circuit comprises multiple analog frontend circuits. Each of the multiple analog frontend circuits comprises: a sensing terminal to be coupled to a corresponding electrostatic capacitance; a first transistor arranged between the corresponding electrostatic capacitance and a first fixed voltage line; a second transistor and a third transistor coupled so as to form, together with the first transistor, a first current mirror circuit; a fourth transistor arranged between the third transistor and a second fixed voltage line; and a fifth transistor coupled between the second transistor and the second fixed voltage line so as to form, together with the fourth transistor, a second current mirror. Each of the analog frontend circuits is structured to generate a signal that corresponds to a difference between a current that flows through the first transistor and a current that flows through the fifth transistor. Control terminals of the fourth transistors and control terminals of the fifth transistors of the multiple analog frontend circuits are coupled so as to form a common control terminal. The operation mode is switchable between: (i) a first mode in which a current flows through each of the first transistor through the fifth transistor; and (ii) a second mode in which a current flows through each of the first transistor and the second transistor, and no current flows through the fifth transistor.
In the first mode, the average current of the multiple detection currents flows through the fifth transistor included in each analog frontend circuit. Accordingly, in the first mode, such an arrangement is capable of detecting the difference between each electrostatic capacitance and the overall electrostatic capacitance, i.e., a relative change in each electrostatic capacitance. In contrast, in the second mode, the current that flows through the fifth transistor is set to zero. Accordingly, in the second mode, such an arrangement is capable of detecting each electrostatic capacitance.
Also, each of the analog frontend circuits may further comprise a first mode switch arranged in parallel with the fourth transistor. When the first mode switch is turned on, the current that flows through the fourth transistor is set to zero, which sets the operation mode to the second mode.
Also, each of the analog frontend circuits may further comprise a second mode switch arranged between the second fixed voltage line and the common control terminal of the fourth transistor and the fifth transistor. When the second mode switch is turned on, the fourth transistor and the fifth transistor are turned off, which sets the operation mode to the second mode.
Also, each of the analog frontend circuits may further comprise: a third mode switch arranged between a common control terminal of the first transistor and the second transistor and a control terminal of the third transistor; and a fourth mode switch arranged between the control terminal of the third transistor and the first fixed voltage line. When the third mode switch is turned off, and the fourth mode switch is turned on, the third transistor is turned off, which sets the operation mode to the second mode.
Also, each of the analog frontend circuits may further comprise: a sensing switch structured to switch, between an on state and an off state, a charging operation of the first transistor for charging the electrostatic capacitance; and an initializing switch arranged between the sensing terminal and the second fixed voltage line. Also, the sensing switch may be arranged in series with the first transistor between the sensing terminal and the first fixed voltage line.
Also, each of the analog frontend circuits may further comprise: a bypass switch having one end coupled to the sensing terminal; and an integrating circuit having an input terminal coupled to the second transistor and the other end of the bypass switch, and structured to integrate a current input via the input terminal so as to generate a detection voltage.
Also, the integrating circuit may comprise: an operational amplifier; an integrating capacitor arranged between an output terminal and an inverting input terminal of the operational amplifier; and a feedback resistor coupled in parallel with the integrating capacitor.
Another embodiment of the present invention also relates to a capacitance measurement circuit structured to measure multiple electrostatic capacitances. The capacitance measurement circuit comprises: multiple charger circuits that are respectively associated with the multiple electrostatic capacitances, and each of which is structured to charge the corresponding electrostatic capacitance so as to generate a detection current that corresponds to a charging current; and a current averaging circuit structured to be switchable between: an on state in which the current averaging circuit outputs an average current obtained by averaging the detection currents generated by the multiple charger circuits; and an off state in which the current averaging circuit outputs an average current of zero. Each electrostatic capacitance is measured based on a differential current between the corresponding detection current and the average current.
In the first mode, each detection current corresponds to the electrostatic capacitance of the corresponding sensor capacitance. The average current corresponds to the average value of the electrostatic capacitances of the multiple sensor capacitances. Accordingly, in the first mode, such an arrangement is capable of detecting the difference between the sensor capacitance of each channel and the average capacitance over all the channels, i.e., of detecting a relative change in the capacitance for each channel. On the other hand, in the second mode, the average current is set to zero. Accordingly, such an arrangement is capable of detecting the sensor capacitance for each channel.
Also, the charger circuit may comprise: a reset switch structured to initialize a charge stored in the corresponding electrostatic capacitance; a sensing switch and a first transistor configured as a MOSFET, which are sequentially arranged in series between the corresponding electrostatic capacitance and a fixed voltage terminal; and a second transistor coupled to the first transistor so as to form a first current mirror circuit. A current that flows through the second transistor may be output as the detection current that corresponds to the corresponding electrostatic capacitance.
Also, the current averaging circuit may comprise: multiple third transistors that are respectively associated with the multiple electrostatic capacitances, and each of which is coupled to a corresponding first transistor so as to form a current mirror circuit; multiple fourth transistors that are respectively associated with the multiple electrostatic capacitances, and that have control terminals coupled so as to form a common control terminal, and each of which is arranged in series with the corresponding third transistor; and multiple fifth transistors that are respectively associated with the multiple electrostatic capacitances, and each of which is coupled to a corresponding fourth transistor so as to form a current mirror circuit. Also, currents that flows through the multiple fifth transistors may each be output as the average current.
Also, the capacitance measurement circuit may further comprise multiple first mode switches that are respectively associated with the multiple electrostatic capacitances, and each of which is coupled in parallel with a corresponding fourth transistor.
Also, the capacitance measurement circuit may further comprise multiple second mode switches that are respectively associated with the multiple electrostatic capacitances, and each of which is arranged between a gate of the corresponding fourth transistor and a ground.
Also, the current averaging circuit may comprise: multiple third mode switches that are respectively associated with the multiple electrostatic capacitances, and each of which is arranged between a common control terminal of the corresponding first transistor and the corresponding second transistor and a control terminal of the corresponding third transistor; and multiple fourth mode switches that are respectively associated with the multiple electrostatic capacitances, and each of which is arranged between the control terminal of the corresponding third transistor and a power supply line.
Also, each of the multiple fifth transistors may have one end coupled to one terminal of the corresponding second transistor. Also, a difference between a current that flows through the second transistor and a current that flows through the fifth transistor may be output.
Also, the capacitance measurement circuit may monolithically be integrated on a single semiconductor substrate. Examples of such a “monolithically integrated” arrangement include: an arrangement in which all the circuit components are formed on a semiconductor substrate; and an arrangement in which principal circuit components are monolithically integrated. Also, a part of the circuit components such as resistors and capacitors may be arranged in the form of components external to such a semiconductor substrate in order to adjust the circuit constants. By monolithically integrating the circuit on a single chip, such an arrangement allows the circuit area to be reduced, and allows the circuit elements to have uniform characteristics.
Yet another embodiment of the present invention relates to an input apparatus. The input apparatus may comprise: a touch panel comprising multiple sensor electrodes structured such that electrostatic capacitances thereof change in the vicinity of a coordinate position at which a user touches the touch panel; and any one of the aforementioned capacitance measurement circuits structured to measure the multiple electrostatic capacitances formed by the multiple sensor electrodes.
Yet another embodiment of the present invention relates to an electronic device. The electronic device may comprise the aforementioned input apparatus.
It is to be noted that any arbitrary combination or rearrangement of the above-described structural components and so forth is effective as and encompassed by the present embodiments. Moreover, this summary of the invention does not necessarily describe all necessary features so that the invention may also be a sub-combination of these described features.
Embodiments will now be described, by way of example only, with reference to the accompanying drawings which are meant to be exemplary, not limiting, and wherein like elements are numbered alike in several Figures, in which:
The invention will now be described based on preferred embodiments which do not intend to limit the scope of the present invention but exemplify the invention. All of the features and the combinations thereof described in the embodiment are not necessarily essential to the invention.
In the present specification, the state represented by the phrase “the member A is coupled to the member B” includes a state in which the member A is indirectly coupled to the member B via another member that does not substantially affect the electric connection therebetween, or that does not damage the functions or effects of the connection therebetween, in addition to a state in which the member A is physically and directly coupled to the member B.
Similarly, the state represented by the phrase “the member C is provided between the member A and the member B” includes a state in which the member A is indirectly coupled to the member C, or the member B is indirectly coupled to the member C via another member that does not substantially affect the electric connection therebetween, or that does not damage the functions or effects of the connection therebetween, in addition to a state in which the member A is directly coupled to the member C, or the member B is directly coupled to the member C.
When the user of the electronic device 1 touches the touch panel 3 with a finger 5 or otherwise a stylus, this leads to a change in the electrostatic capacitance of the sensor capacitance Cs at the coordinate position the user has touched. The DSP 6 detects the coordinate position at which the user has touched, based on the electrostatic capacitances of the multiple sensor capacitances Cs. For example, the touch panel 3 may be mounted on the surface of the LCD 7. Also, the touch panel 3 may be arranged at other locations.
The above is the overall configuration of the electronic device 1. Next, detailed description will be made regarding the input apparatus 2.
The capacitance measurement circuit 100 measures the electrostatic capacitance for each of the multiple sensor capacitances Cs1 through Csn using a so-called self-capacitance method. For example, the capacitance measurement circuit 100 generates a detection voltage Vs that corresponds to each electrostatic capacitance. Buffer units BUF1 through BUFn receive the detection voltages Vs1 through Vsn, and output the detection voltages Vs1 through Vsn to the multiplexer 40. The multiplexer 40 sequentially selects the multiple detection voltages Vs1 through Vsn in a time sharing manner. The A/D converter 50 sequentially converts the detection voltages Vs thus selected by the multiplexer 40 into digital values DOUT.
The capacitance measurement circuit 100 includes multiple charger circuits 101 through 10n, a current averaging circuit 20, and multiple integrating circuits 301 through 30n.
The charger circuits 101 through 10n are provided for the sensor capacitances Cs1 through Csn, respectively. Each charger circuit 10i (1≦i≦n) generates a detection current Isi that corresponds to the corresponding sensor capacitance Csi, and outputs the detection current Isi thus generated to the corresponding integrating circuit 30i and the current averaging circuit 20.
The current averaging circuit 20 is configured to be switchable between the on state and the off state. In the on state, the current averaging circuit 20 averages the detection currents Is1 through Isn generated by the multiple charger circuits 101 through 10n. The detection current (which will also be referred to as the “average current” hereafter) IAVE thus obtained by averaging is supplied to each of the multiple integrating circuits 301 through 30n.
I
AVE=Σi=1:nIsi/n (1a)
In the off state, the current averaging circuit 20 generates an average current IAVE of zero.
I
AVE=0 (1b)
The current averaging circuit 20 receives, as an input signal, a mode control signal MODE that indicates the mode. When the mode control signal MODE indicates a first mode, the current averaging circuit 20 is set to the on state. On the other hand, when the mode control signal MODE indicates a second mode, the current averaging circuit 20 is set to the off state.
The capacitance measurement circuit 100 outputs, for each sensor capacitance Cs, a signal that corresponds to a differential current IDIFFi (Isi−IAVE) which is the difference between the detection current Isi and the average current IAVE.
The multiple integrating circuits 301 through 30n are provided for the sensor capacitances Cs1 through Csn, respectively. Each integrating circuit 30i converts the corresponding differential current IDIFFi (=Isi−IAVE) into a voltage, and outputs the voltage thus converted as the detection voltage Vsi. Each integrating circuit 30 can also be regarded as a current/voltage converter (I/V converter) circuit.
The above is the configuration of the capacitance measurement circuit 100.
The multiple AFE circuits 102 have the same configurations. Accordingly, description will be made regarding the configuration of the AFE circuit 102 with reference to a single AFE circuit of a given channel as a representative example.
Each AFE circuit 102i includes the corresponding charger circuit 10i and a part of the current averaging circuit 20. Each sensing terminal SENSEi is coupled to the corresponding electrostatic capacitance Csi. Each charger circuit 10i includes a sensor switch (sensing switch) SW1, an initializing switch (reset switch) SW2, a first transistor M1, and a second transistor M2.
The sensing switch SW1 and the first transistor M1 are sequentially arranged in series between the sensor capacitance Cs and a first fixed voltage line (in this example, a power supply line). The sensing switch SW1 is configured as a P-channel MOSFET. A sensing signal EVALB is input to the gate of the sensing switch SW1. When the sensing signal EVALB is asserted (set to the low level), the sensing switch SW1 is turned on.
The initializing switch SW2 is provided in order to allow the charge stored in the corresponding sensor capacitance Cs to be initialized. For example, the initializing switch SW2 is arranged in parallel with the sensor capacitance Cs. When the initializing switch SW2 is turned on, the charge stored in the sensor capacitance Cs is discharged, thereby initializing the sensor capacitance Cs. That is to say, in this state, the voltage difference becomes zero across both ends of the sensor capacitance Cs. For example, the initializing switch SW2 includes an N-channel MOSFET arranged such that a reset signal RST is input to its gate. When the reset signal RST is asserted (set to the high level), the initializing switch SW2 is turned on.
The first transistor M1 is configured as a P-channel MOSFET. Specifically, the drain of the first transistor M1 is coupled to the sensor capacitance Cs via the sensing switch SW1. The source of the first transistor M1 is coupled to the power supply terminal. Furthermore, the gate and the drain of the first transistor M1 are coupled to each other. A charging current ICHGi flows through the first transistor M1 according to the capacitance value of the corresponding sensor capacitance Csi.
The second transistor M2 is configured as a P-channel MOSFET of the same type as that of the first transistor M1. The second transistor M2 is coupled to the first transistor M1 such that they form a current mirror circuit. Specifically, the gate of the second transistor M2 is coupled to the gate of the first transistor M1. Furthermore, the source of the second transistor M2 is coupled to the power supply terminal. A detection current Is flows through the second transistor M2 according to the capacitance value of the corresponding sensor capacitance Cs. With the mirror ratio (size ratio) between the first transistor M1 and the second transistor M2 as K1, the detection current Isi, is represented by the following Expression (2).
Is
i
=I
CHGi
×K1 (2)
Each AFE circuit 1021, includes a third transistor M3 through a fifth transistor M5, which correspond to the current averaging circuit 20.
The third transistor M3 is configured as a MOSFET of the same type as that of the first transistor M1. The third transistor M3 is coupled to the corresponding first transistor M1 so as to form a current mirror circuit, which generates a current Is′ that corresponds to the corresponding detection current Is. The fourth transistor M4 is arranged between the third transistor M3 and the second fixed voltage line (ground line), i.e., on a path of the current Is′. The fourth transistor M4 is arranged such that its gate and its drain are coupled to each other.
The fifth transistor M5 is coupled between the second transistor M2 and the second fixed voltage line (ground line), so as to form, together with the fourth transistor M4, a second current mirror circuit. In each of the multiple AFE circuits 102, the fourth transistor M4 and the fifth transistor M5 are arranged such that their control terminals (gates) are coupled to each other so as to form a common control terminal. The average current IAVE, which is obtained by averaging the detection currents Is1 through Is of all the channels, flows through the fifth transistor M5.
Each AFE circuit 102 outputs a current, which corresponds to the difference between the current Isi that flows through the first transistor M1 and the current IAVE that flows through the fifth transistor M5, to the corresponding integrating circuit 30 configured as a downstream stage. That is to say, when Isi>IAVE, the AFE circuit 102 supplies a current (in the form of a source current) to the corresponding integrating circuit 30i. Conversely, when Isi<IAVE, the AFE circuit 102 draws a current (in the form of a sink current) from the corresponding integrating circuit 30i.
Each AFE circuit 102 is configured to be switchable between (i) the first mode in which a current flows through each of the first transistor M1 through the fifth transistor M5 and (ii) the second mode in which a current flows through each of the first transistor M1 and the second transistor M2, and current does not flow through the fifth transistor M5. As described above, the current averaging circuit 20 enables switching between the first mode and the second mode.
The first mode switch SW51 is controlled according to the mode control signal MODE. When the first mode switch SW51 is turned off, the average current IAVE becomes the average of the detection currents Is1 through Is of all the channels. Accordingly, in this state, the mode is set to the first mode. Conversely, when the first mode switch SW51 is turned on, the operation of the current mirror circuit formed of the transistors M4 and M5 stops, which sets the average current IAVE to zero.
The current averaging circuit 20 shown in
The third mode switch SW53 is arranged between the common control terminal (gate) of the first transistor M1 and the second transistor M2 and the control terminal (gate) of the third transistor M3. The fourth mode switch SW54 is arranged between the control terminal (gate) of the third transistor M3 and the first fixed voltage line (power supply line), i.e., between the gate and the source of the third transistor M3.
The third mode switch SW53 and the fourth mode switch SW54 are controlled according to the mode control signal MODE. When the third mode switch SW53 is turned on and the fourth mode switch SW54 is turned off, the current mirror circuit including the first transistor M1 through the third transistor M3 becomes operable, which sets the mode to the first mode. Conversely, when the third mode switch SW53 is turned off and the fourth mode switch SW54 is turned on, the third transistor M3 becomes OFF. In this state, the current Isi′ becomes zero, and the average current IAVE that flows through the fifth transistor M5 becomes zero, which sets the mode to the second mode.
It can be clearly understood by those skilled in this art that the configuration of the current averaging circuit 20 (AFE circuit 102) that is switchable between the first mode and the second mode is not restricted to such arrangements as described above with reference to
Returning to
The initializing switch SW3i, functions as an initializing circuit that initializes the voltage across the integrating capacitor CINT before the detection. Each initializing switch SW3i, is arranged such that its one end is coupled to the integrating capacitor CINT, and a buffer (voltage follower) 52 applies a reference voltage VCM to the other end thereof. Each initializing switch SW3i may be configured as a transfer gate or may be configured as other kinds of switches. When an initializing signal VCM_SW is asserted, the initializing switch SW3i becomes ON. The reference voltage VCM may be configured as a voltage in the vicinity of the midpoint between the power supply voltage Vdd and the ground voltage Vss, for example.
The multiplexer 40 shown in
The above is a specific configuration of the control IC 4. Next, description will be made regarding the operation thereof.
First, the buffer 52 is set to the on state. In this state, the reference voltage VCM is set to a predetermined level. Furthermore, the initializing signal VCM_SW is asserted for all the channels, which turns on the initializing switches SW31 through SW3n (time point t0). This initializes the voltage level of each of the integrating capacitors CINT1 through CINTn of all the channels to the reference voltage VCM. After the initialization of the integrating capacitors CINT ends, the reference voltage VCM is set to 0 V. In this stage, the initializing signal VCM_SW is negated, which turns off the initializing switches SW31 through SW3n.
Subsequently, the reset signal RST is asserted, which turns on the initializing switches SW21 through SW2n. This resets the charge of each of the sensor capacitances Cs1 through Csn to zero, i.e., the sensor capacitances Cs1 through Csn are initialized (time point t1). Subsequently, the reset signal RST is negated, which turns off the initializing switches SW21 through SW2n.
Subsequently, at time point t2, the sensing signal EVALB is asserted (set to the low level), which turns on the sensing switches SW11 through SW1n.
Description will be made directing attention to the i-th channel. After the sensing switch SW1i is turned on, a charging current ICHGi flows to the sensor capacitance Csi via the first transistor M1 and the sensing switch SW1, which raises the voltage across the sensor capacitance Csi. When the voltage Vxi across the sensor capacitance Csi rises and reaches (Vdd−Vth), the first transistor M1 is turned off, which stops the charging operation. The voltage Vth matches the gate-source threshold voltage of the first transistor M1. The amount of charge supplied to the sensor capacitance Csi in this charging operation is represented by the following Expression.
Qs
i
=C·V=Cs
i×(Vdd−Vth) (3)
The amount of charge supplied to the sensor capacitance Csi in this charging operation depends on the sensor capacitance Csi. That is to say, the charger circuit 10i supplies the current ICHGi to the sensor capacitance Cs until the voltage across the corresponding sensor capacitance Csi reaches a predetermined level (Vdd−Vth).
The charger circuit 10 duplicates the charging current ICHGi so as to generate a detection current Isi that corresponds to the capacitance value, which charges the integrating capacitor CINT. The detection current Isi is represented by Isi=K1×ICHGi. Accordingly, the amount of charge QINTi supplied to the integrating capacitor CINTi is represented by the following Expression (4).
Q
INTi
=Qs
i
×K1 (4)
The current averaging circuit 20 discharges the integrating capacitor CINTi using the average current IAVE of the detection currents Is1 through Is of all the channels. The amount of charge QINTAVE discharged from the integrating capacitor CINTi by means of the current averaging circuit 20 is represented by the following Expression (5).
Q
INTAVE
=Qs
AVE
×K1 (5)
Here, QsAVE represents the average of the amounts of charge supplied to the sensor capacitances Cs1 through Csn of all the channels, which is represented by ΣQsi/n. Furthermore, QsAVE is represented by the following Expression (6).
Qs
AVE
=ΣQs
i
/n=ΣCs
i
/n×(Vdd−Vth) (6)
When the sensor capacitance Csi is larger than the average CsAVE of the sensor capacitances Cs1 through Csn of all the channels, the relation Isi>IAVE holds true. In this case, the integrating capacitor CINTi is charged. As a result, the detection voltage Vsi becomes higher by ΔVi than the reference voltage VCM configured as an initial value.
Conversely, when the sensor capacitance Csi is smaller than the average CsAVE, i.e., when the relation Qsi<QsAVE holds true, the relation Isi<IAVE holds true. In this case, the integrating capacitor CINTi is discharged, which lowers the detection voltage Vsi by ΔVi from the reference voltage VCM configured as an initial value.
When the sensor capacitance Csi is equal to the average CsAVE, i.e., when the relation Qsi=QsAVE holds true, the relation Isi=IAVE holds true. In this case, there is no change in the amount of charge stored in the integrating capacitor CINTi. That is to say, the relation ΔVi=0 holds true.
Finally, the detection voltage Vsi is represented by the following Expression (8).
As described above, the changes in capacitance of the sensor capacitances Cs1 through Csn of all the channels are converted into the detection voltages Vs1 through Vsn, respectively, which are held by the integrating capacitors CINT1 through CINTn, respectively.
Subsequently, the switches SW41 through SW4n are controlled according to an appropriate sequence, so as to instruct the pair of A/D converters ADC1 and ADC2 to convert the detection voltages Vs1 through Vsn of all the channels into digital values.
In the first mode, such an arrangement is capable of detecting the electrostatic capacitance of each channel in the form of a relative change in the capacitance. This provides improved noise resistance.
Description will be made directing attention to the i-th channel. After the sensing switch SW1i is turned on, a charging current ICHGi flows to the sensor capacitance Csi via the first transistor M1 and the sensing switch SW1, which raises the voltage across the sensor capacitance Csi. When the voltage Vxi across the sensor capacitance Csi rises and reaches (Vdd−Vth), the first transistor M1 is turned off, which stops the charging operation. The voltage Vth matches the gate-source threshold voltage of the first transistor M1. The amount of charge supplied to the sensor capacitance Csi in this charging operation is represented by the following Expression.
Qs
i
=C·V=Cs
i×(Vdd−Vth) (3)
The charger circuit 10 duplicates the charging current ICHGi so as to generate a detection current Isi that corresponds to the capacitance value, which charges the integrating capacitor CINT. The detection current Isi is represented by Isi=K1×ICHGi. Accordingly, the amount of charge QINTi supplied to the integrating capacitor CINTi is represented by the following Expression (4).
Q
INTi
=Qs
i
×K1 (4)
As a result, the detection voltage Vsi becomes higher by ΔVi than the reference voltage VCM configured as an initial value.
In the second mode, such an arrangement is capable of detecting the electrostatic capacitance of each channel in the form of an absolute value of the capacitance. Thus, such an arrangement allows an abnormal state and deviation of the overall capacitance (drift) to be detected. The result of detection of such capacitance drift may be employed as an indicator for variation due to change in temperature, and for aging degradation.
In order to solve such a problem, the channels coupled to the touch panel 3 are operated in the first mode (or otherwise the second mode), and the channels coupled to the electrostatic switches 8 are operated in the second mode. Such an operation allows such a single control IC 4 to perform sensing for both the electrostatic switches 8 and the touch panel 3.
It should be noted that, in a case in which the number of the electrostatic switches 8 is great, and such electrostatic switches 8 have uniform characteristics, the channels coupled to the electrostatic switches 8 may be operated in the first mode.
The self-capacitance method has advantages of low power consumption and high sensitivity. In contrast, the mutual-capacitance method has an advantage of allowing multi-touch detection. Accordingly, before the user starts a touch operation (standby state), the first mode is selected, so as to detect a touch operation via a finger (stylus). After a touch operation is detected, the detection mode is switched to the second mode, which allows various kinds of input operations to be detected.
A sensing terminal SN is coupled to an electrostatic capacitance to be measured. In order to support the self-capacitance method, the charger circuit 10 and the integrating circuit 30 are provided. In the first mode or otherwise the second mode, which corresponds to the self-capacitance method, the charger circuit 10 is set to an active state. In the first mode, the current averaging circuit 20 is set to an active state. On the other hand, in the second mode, the current averaging circuit 20 is set to an inactive state.
The charger circuit 10 applies a fixed voltage (e.g., the power supply voltage VDD) to the self capacitance Cs, so as to charge the self capacitance Cs. In this charging operation, the detection current IS is generated according to the charging current ICHG. The difference between the detection current IS and the average current IAVE is input to the integrating circuit 30 configured as a downstream stage.
In the first mode or otherwise the second mode, the integrating circuit 30 integrates the difference in the current IS generated by the charger circuit 10 in the sensing period and the current IAVE generated by the current averaging circuit 20, i.e., integrates the differential current (IS−IAVE), so as to generate the detection voltage VS that corresponds to the integrated value.
In order to support the mutual capacitance method, a bypass switch SW6, the integrating circuit 30, a transmitter 60, and a transmission (TX) terminal are provided. The TX terminal is coupled to one end of a mutual capacitance CM. The transmitter 60 generates a pulse-shaped driving signal SDRV, and supplies the driving signal SDRV thus generated to one end of the mutual capacitance CM.
For example, the integrating circuit 30 includes an operational amplifier 32, an integrating capacitor CINT, a feedback resistor RFB, and a fourth switch SW4. The integrating capacitor CINT is arranged between the output terminal and the inverting input terminal of the operational amplifier 32. The feedback resistor RFB is coupled in parallel with the integrating capacitor CINT. The fourth switch SW4 is arranged in parallel with the integrating capacitor CINT in order to allow the charge stored in the integrating capacitor CINT to be initialized (discharged). Before the sensing period, the fourth switch SW4 is turned on. During the sensing period, the fourth switch SW4 is turned off.
The bypass switch SW6 is arranged such that its one end is coupled to the sensing terminal SN. In the first mode or otherwise the second mode, the bypass switch SW6 is turned off. In the third mode, the bypass switch SW6 is turned on. An input terminal 34 of the integrating circuit 30 is coupled to the other end of the bypass switch SW6 in addition to the second transistor M2 of the charger circuit 10. In the third mode, a received current IRX that corresponds to the mutual capacitance CM flows into the input terminal 34 via the mutual capacitance CM and the bypass switch SW6. In the third mode, the integrating circuit 30 integrates the received current IRX so as to generate the detection voltage VS.
Furthermore, the A/D converter 50 is provided as a downstream stage of the integrating circuit 30. However, the A/D converter 50 is not shown in
The operations in the first mode and the operation in the second mode are performed in the same way as described above.
Before the sensing period, the fourth switch SW4 is turned on, which initializes the charge stored in the integrating capacitor CINT. As a result, the detection voltage VS becomes equal to the reference voltage VREF. In the subsequent sensing period, the driving signal SDRV is supplied to the mutual capacitance CM, which generates the flow of the received current IRX. The integrating capacitor CINT is charged (or discharged) using the received current IRX, which generates the detection voltage VS.
The above is the operation of the capacitance measurement circuit 100a. The capacitance measurement circuit 100a requires only such a single integrating circuit 30 to support both a function of converting the detection current IS into the voltage VS in the self-capacitance method and a function of integrating the received current IRX in the mutual-capacitance method. This allows the circuit area to be reduced.
The above is the configuration of the input apparatus 2. The input apparatus 2 is capable of detecting, based on the relative changes of the multiple self-capacitances Cs1 through Csn, the coordinate position at which the user operates the input apparatus 2 by touch or otherwise by proximity with a finger or stylus.
Description has been made above regarding the present invention with reference to the embodiment. The above-described embodiment has been described for exemplary purposes only, and is by no means intended to be interpreted restrictively. Rather, it can be readily conceived by those skilled in this art that various modifications may be made by making various combinations of the aforementioned components or processes, which are also encompassed in the technical scope of the present invention. Description will be made below regarding such modifications.
Description has been made in the embodiment regarding an example in which the sensor capacitances Cs are substantially arranged in a matrix form. However, the usage of the capacitance measurement circuit 100 is not restricted to such an arrangement. For example, the capacitance measurement circuit 100 is applicable to an X-Y-type touch panel. In this case, such an arrangement is capable of detecting the electrostatic capacitances of multiple row sensor electrodes and the electrostatic capacitances of multiple column sensor electrodes at the same time.
The capacitance measurement circuit 100 described in the embodiment may be electrically reversed. It can clearly be understood that, in order to provide such a modification, each P-channel MOSFET and each N-channel MOSFET may be exchanged as appropriate. In this modification, the charging operation and the discharging operation are also exchanged. However, such a modification provides substantially the same operation. Also, a part of the transistors may be substituted by bipolar transistors.
Description has been made in the embodiment regarding an arrangement in which the capacitance measurement circuit 100 is applied to an input apparatus employing a change in the electrostatic capacitance. However, the usage of the capacitance measurement circuit 100 is not restricted to such an arrangement. For example, the capacitance measurement circuit 100 is also applicable to a microphone including a diaphragm electrode and a back plate electrode structured to form a capacitor having an electrostatic capacitance that changes according to sound pressure.
Description has been made in the embodiment regarding an arrangement in which the capacitance measurement circuit 100 is monolithically integrated on a single semiconductor circuit. However, the present invention is not restricted to such an arrangement. Also, each circuit block may be configured including chip components or discrete elements. With such a modification, judgement of whether or not each block is to be integrated may be made based on costs, required characteristics, or the like.
While the preferred embodiments of the present invention have been described using specific terms, such description is for illustrative purposes only, and it is to be understood that changes and variations may be made without departing from the spirit or scope of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
2016-080864 | Apr 2016 | JP | national |