[go: up one dir, main page]

TWI850116B - Capacitance measurement circuit - Google Patents

Capacitance measurement circuit Download PDF

Info

Publication number
TWI850116B
TWI850116B TW112135998A TW112135998A TWI850116B TW I850116 B TWI850116 B TW I850116B TW 112135998 A TW112135998 A TW 112135998A TW 112135998 A TW112135998 A TW 112135998A TW I850116 B TWI850116 B TW I850116B
Authority
TW
Taiwan
Prior art keywords
circuit
excitation signal
voltage
signal
capacitance
Prior art date
Application number
TW112135998A
Other languages
Chinese (zh)
Other versions
TW202514069A (en
Inventor
黃一洲
Original Assignee
晶豪科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 晶豪科技股份有限公司 filed Critical 晶豪科技股份有限公司
Priority to TW112135998A priority Critical patent/TWI850116B/en
Application granted granted Critical
Publication of TWI850116B publication Critical patent/TWI850116B/en
Publication of TW202514069A publication Critical patent/TW202514069A/en

Links

Images

Landscapes

  • Measurement Of Resistance Or Impedance (AREA)
  • Measuring Fluid Pressure (AREA)
  • Transmission And Conversion Of Sensor Element Output (AREA)

Abstract

A capacitance measurement circuit includes a charge to voltage converter (CVC) that includes at least one first variable capacitor, an excitation signal generation circuit, a differential amplifier, a first switch circuit, and at least one second variable capacitor, wherein a parasitic capacitance from a sensing capacitance sensed by a capacitance sensor is reduced by the at least one first variable capacitor. The excitation signal generation circuit is arranged to generate and connect a first excitation signal to the capacitance sensor, and generate and connect a second excitation signal to the at least one first variable capacitor, wherein the first excitation signal and the second excitation signal are out-of-phase, and a voltage amplitude of the first excitation signal is different from a voltage amplitude of the second excitation signal. The inverting input terminal of the differential amplifier is arranged to receive the sensing capacitance from the capacitance sensor.

Description

電容量測電路 Capacitance measurement circuit

本發明係有關於電容量測,且尤指一種電容至數位轉換器(capacitance to digital converter,CDC)以及其中的電荷至電壓轉換器(charge to voltage converter,CVC)。 The present invention relates to capacitance measurement, and in particular to a capacitance to digital converter (CDC) and a charge to voltage converter (CVC) therein.

對於電容量測電路(例如包含有電荷至電壓轉換器以及電壓至數位轉換器(例如類比至數位轉換器(analog to digital converter,ADC))的電容至數位轉換器)來說,電荷至電壓轉換器內的可變電容可用來減少/抵銷待測電容的感測電容值中的寄生電容值,或為後續訊號轉換調整輸入動態範圍,其中待測電容係藉由電容至數位轉換器前端電路的電荷轉換電路所感測。然而,倘若寄生電容值遠大於可變電容的電容值的話,則可能無法透過可變電容來減少/抵銷寄生電容值,在寄生電容值過大而無法減少/抵銷的情況下,電荷至電壓轉換器之輸出電壓的電壓振幅可能會超過類比至數位轉換器的輸入電壓範圍,其導致類比至數位轉換器無法正常操作。 For a capacitance measurement circuit (e.g., a capacitance-to-digital converter including a charge-to-voltage converter and a voltage-to-digital converter (e.g., an analog-to-digital converter (ADC))), a variable capacitor in the charge-to-voltage converter can be used to reduce/offset a parasitic capacitance value in a sensed capacitance value of a capacitance to be measured, or to adjust an input dynamic range for subsequent signal conversion, wherein the capacitance to be measured is sensed by a charge conversion circuit of a front-end circuit of the capacitance-to-digital converter. However, if the parasitic capacitance value is much larger than the capacitance value of the variable capacitor, the parasitic capacitance value may not be reduced/offset by the variable capacitor. If the parasitic capacitance value is too large to be reduced/offset, the voltage amplitude of the output voltage of the charge-to-voltage converter may exceed the input voltage range of the analog-to-digital converter, causing the analog-to-digital converter to not operate normally.

因此,本發明的目的之一在於提供一種可分別產生具有不同電壓振幅的多個激勵訊號至外部電容感測器與至少一內部補償電容的電容量測電路, 以解決上述問題。 Therefore, one of the purposes of the present invention is to provide a capacitance measuring circuit that can generate multiple excitation signals with different voltage amplitudes to an external capacitance sensor and at least one internal compensation capacitor, to solve the above-mentioned problem.

根據本發明之一實施例,提供了一種電容量測電路。電容量測電路可包含有一電荷至電壓轉換器,電荷至電壓轉換器可包含有至少一第一可變電容、一激勵訊號產生電路、一差動放大器、一第一開關電路以及至少一第二可變電容,其中藉由至少一第一可變電容來減少透過一電容感測器所量測的一感測電容值中的一寄生電容值。激勵訊號產生電路可用以產生並連接一第一激勵訊號至電容感測器的一第一端,以及產生並連接一第二激勵訊號至至少一第一可變電容,其中第一激勵訊號與第二激勵訊號為反相,以及第一激勵訊號的一電壓振幅係不同於第二激勵訊號的一電壓振幅。差動放大器具有一反相輸入端、一非反相輸入端、一反相輸出端以及一非反相輸出端,其中反相輸入端係用以自電容感測器的一第二端接收感測電容值,第一開關電路係耦接於差動放大器的反相輸入端以及非反相輸出端之間,以及第一開關電路與至少一第二可變電容係並聯於差動放大器的反相輸入端以及非反相輸出端之間。 According to an embodiment of the present invention, a capacitance measuring circuit is provided. The capacitance measuring circuit may include a charge-to-voltage converter, and the charge-to-voltage converter may include at least one first variable capacitor, an excitation signal generating circuit, a differential amplifier, a first switching circuit, and at least one second variable capacitor, wherein a parasitic capacitance value in a sensed capacitance value measured by a capacitance sensor is reduced by the at least one first variable capacitor. The excitation signal generating circuit may be used to generate and connect a first excitation signal to a first end of the capacitance sensor, and to generate and connect a second excitation signal to the at least one first variable capacitor, wherein the first excitation signal and the second excitation signal are in antiphase, and a voltage amplitude of the first excitation signal is different from a voltage amplitude of the second excitation signal. The differential amplifier has an inverting input terminal, a non-inverting input terminal, an inverting output terminal and a non-inverting output terminal, wherein the inverting input terminal is used to receive a sensed capacitance value from a second terminal of the capacitance sensor, the first switch circuit is coupled between the inverting input terminal and the non-inverting output terminal of the differential amplifier, and the first switch circuit and at least one second variable capacitor are connected in parallel between the inverting input terminal and the non-inverting output terminal of the differential amplifier.

此外,電荷至電壓轉換器可用以根據感測電容值產生一輸出電壓,電容量測電路可以是一電容至數位轉換器,並且另包含有一類比至數位轉換器,其中類比至數位轉換器可用以將輸出電壓轉換為一數位脈衝流。 In addition, the charge-to-voltage converter can be used to generate an output voltage according to the sensed capacitance value, and the capacitance measuring circuit can be a capacitance-to-digital converter and further include an analog-to-digital converter, wherein the analog-to-digital converter can be used to convert the output voltage into a digital pulse current.

本發明的好處之一在於,本發明的電容量測電路(其包含有電荷至電壓轉換器以及類比至數位轉換器)可分別產生具有不同電壓振幅的多個激勵訊號至外部電容感測器與至少一內部補償電容的電容量測電路,在待測電容的感測電容值中的寄生電容值遠大於至少一補償電容的電容值的情況下,本發明的電荷至電壓轉換器可藉由具有不同電壓振幅的激勵訊號來利用該至少一補償 電容以成功地減少/抵銷寄生電容值。如此一來,電荷至電壓轉換器之輸出電壓的電壓振幅不會超過類比至數位轉換器的輸入動態範圍,其可使得類比至數位轉換器正常地操作。 One of the advantages of the present invention is that the capacitance measuring circuit of the present invention (which includes a charge-to-voltage converter and an analog-to-digital converter) can generate a plurality of excitation signals with different voltage amplitudes to an external capacitance sensor and a capacitance measuring circuit of at least one internal compensation capacitor, respectively. In the case that the parasitic capacitance value in the sensed capacitance value of the capacitor to be measured is much larger than the capacitance value of at least one compensation capacitor, the charge-to-voltage converter of the present invention can utilize the at least one compensation capacitor to successfully reduce/offset the parasitic capacitance value by using the excitation signals with different voltage amplitudes. In this way, the voltage amplitude of the output voltage of the charge-to-voltage converter will not exceed the input dynamic range of the analog-to-digital converter, which allows the analog-to-digital converter to operate normally.

100,300,400:電荷至電壓轉換器 100,300,400: Charge to voltage converter

102,200:激勵訊號產生電路 102,200: Excitation signal generating circuit

104:差動放大器 104: Differential amplifier

106,306,308,310,312,406,408:開關電路 106,306,308,310,312,406,408: Switching circuit

108:至少一可變電容 108: At least one variable capacitor

110:至少一補償電容 110: At least one compensation capacitor

112:自校準電容 112: Self-calibration capacitor

114,116,302,304,402,404:驅動電路 114,116,302,304,402,404:Drive circuit

118:迴轉率限制器 118: Slew rate limiter

150:電容感測器 150: Capacitor sensor

ΦR:時脈訊號 Φ R : Clock signal

VOUT+:第一差動輸出電壓 V OUT+ : First differential output voltage

VOUT-:第二差動輸出電壓 V OUT- : Second differential output voltage

CS:感測電容值 C S : Sensing capacitance value

VEXC:激勵電壓訊號 V EXC : Excitation voltage signal

VEXC1:第一激勵訊號 V EXC1 : First excitation signal

VEXC2:第二激勵訊號 V EXC2 : Second excitation signal

VEXC1’:第一限制激勵訊號 V EXC1 ': First limiting excitation signal

VEXC2’:第二限制激勵訊號 V EXC2 ': Second limiting excitation signal

VOUT:輸出電壓 V OUT : Output voltage

202:低壓差穩壓器 202: Low voltage differential regulator

204:縮放電路 204: Scaling circuit

206:P型電晶體 206: P-type transistor

208:放大器 208:Amplifier

210:擇取電路 210: Select circuit

212,214:緩衝器 212,214: Buffer

216,218,503:多工器 216,218,503:Multiplexer

VREF:參考電壓 VREF: reference voltage

GND:接地電壓 GND: Ground voltage

R1,R2:電阻 R1, R2: resistors

V_SCAL_1~V_SCAL_N:縮放電壓 V_SCAL_1~V_SCAL_N: scaling voltage

SEL_S,SEL_S’:擇取訊號 SEL_S,SEL_S’: Select signal

Figure 112135998-A0305-02-0018-18
:控制訊號
Figure 112135998-A0305-02-0018-18
:Control signal

500:電容量測電路 500: Capacitance measurement circuit

501:溫度感測器 501: Temperature sensor

502:減法電路 502: Subtraction circuit

504:積分器電路 504: Integrator circuit

506:回授電路 506: Feedback circuit

510:類比至數位轉換器 510:Analog to digital converter

第1圖為依據本發明第一實施例之電荷至電壓轉換器的示意圖。 Figure 1 is a schematic diagram of a charge-to-voltage converter according to the first embodiment of the present invention.

第2圖為依據本發明一實施例之激勵訊號產生電路的示意圖。 Figure 2 is a schematic diagram of an excitation signal generating circuit according to an embodiment of the present invention.

第3圖為依據本發明第二實施例之電荷至電壓轉換器的示意圖。 Figure 3 is a schematic diagram of a charge-to-voltage converter according to the second embodiment of the present invention.

第4圖為依據本發明第三實施例之電荷至電壓轉換器的示意圖。 Figure 4 is a schematic diagram of a charge-to-voltage converter according to the third embodiment of the present invention.

第5圖為依據本發明一實施例之電容量測電路的示意圖。 Figure 5 is a schematic diagram of a capacitance measurement circuit according to an embodiment of the present invention.

第1圖為依據本發明第一實施例之電荷至電壓轉換器(charge to voltage converter,CVC)100的示意圖。如第1圖所示,電荷至電壓轉換器100可包含有激勵訊號產生電路102、差動放大器104、開關電路106、至少一可變電容108、至少一補償電容110、自校準電容112、多個驅動電路114與116以及迴轉率(slew rate,SR)限制器118,其中供應電壓VDD可供應至電荷至電壓轉換器100,並且至少一補償電容110可以是至少一可變電容。此外,電容感測器150位於電荷至電壓轉換器100之外部,其中電容感測器150具有兩端連接架構,並且可用以感測一感測電容值CS。電容感測器150可作為一可變元件,並且感測電容值CS的動態範圍可隨著外部環境的變化而改變。電荷至電壓轉換器100可用以根據感測電容值CS來產生輸出電壓VOUT(其係藉由VOUT+與VOUT-所產生的差動輸出),舉例來說,感測電容值CS可包含有一實際待測電容值(為簡潔起見,表示為 “CS’”)以及一寄生電容值CP(亦即CS=CS’+CP),其中至少一補償電容110可用以自感測電容值CS減少/抵銷寄生電容值CP。此外,在電容感測器150沒有耦接於電荷至電壓轉換器100(亦即沒有待測電容)的情況下,電荷至電壓轉換器100可能會有浮接(floating connection)的問題,為解決此問題,自校準電容112可用以為電荷至電壓轉換器100進行一自校準操作。 FIG. 1 is a schematic diagram of a charge to voltage converter (CVC) 100 according to a first embodiment of the present invention. As shown in FIG. 1 , the charge to voltage converter 100 may include an excitation signal generating circuit 102, a differential amplifier 104, a switching circuit 106, at least one variable capacitor 108, at least one compensation capacitor 110, a self-calibration capacitor 112, a plurality of driving circuits 114 and 116, and a slew rate (SR) limiter 118, wherein a supply voltage VDD may be supplied to the charge to voltage converter 100, and at least one compensation capacitor 110 may be at least one variable capacitor. In addition, the capacitance sensor 150 is located outside the charge-to-voltage converter 100, wherein the capacitance sensor 150 has a two-terminal connection structure and can be used to sense a sensing capacitance value CS . The capacitance sensor 150 can be used as a variable element, and the dynamic range of the sensing capacitance value CS can change with changes in the external environment. The charge-to-voltage converter 100 can be used to generate an output voltage V OUT (which is a differential output generated by V OUT+ and V OUT− ) according to a sensed capacitance value CS . For example, the sensed capacitance value CS may include an actual capacitance value to be measured (expressed as “ CS ′” for simplicity) and a parasitic capacitance value CP (i.e., CS =CS + CP ), wherein at least one compensation capacitor 110 can be used to reduce/offset the parasitic capacitance value CP from the sensed capacitance value CS . In addition, when the capacitance sensor 150 is not coupled to the charge-to-voltage converter 100 (i.e., there is no capacitance to be measured), the charge-to-voltage converter 100 may have a floating connection problem. To solve this problem, the self-calibration capacitor 112 can be used to perform a self-calibration operation for the charge-to-voltage converter 100.

激勵訊號產生電路102可用以產生一第一激勵訊號VEXC1並透過驅動電路114與迴轉率限制器118來將第一激勵訊號VEXC1連接至電容感測器150的一第一端,以及產生一第二激勵訊號VEXC2並透過驅動電路116與迴轉率限制器118來將第二激勵訊號VEXC2連接至至少一補償電容110,其中第一激勵訊號VEXC1與第二激勵訊號VEXC2係反相(out-of-phase)並不重疊(non-overlapping),以及第一激勵訊號VEXC1的電壓振幅不同於第二激勵訊號VEXC2的電壓振幅,尤其是,第一激勵訊號VEXC1的電壓振幅低於第二激勵訊號VEXC2的電壓振幅。為了更好的理解,第一激勵訊號VEXC1可以是激勵電壓訊號VEXC的K1倍(亦即VEXC1=K1 * VEXC),並且第二激勵訊號VEXC2可以是激勵電壓訊號VEXC的K2倍(亦即VEXC2=K2 * VEXC),舉例來說,在寄生電容值CP遠大於至少一補償電容110之電容值的情況下,可藉由激勵訊號產生電路102來將第一激勵訊號VEXC1的電壓振幅設置為低於第二激勵訊號VEXC2的電壓振幅(亦即K1<K2)。 The excitation signal generating circuit 102 can be used to generate a first excitation signal V EXC1 and connect the first excitation signal V EXC1 to a first terminal of the capacitor sensor 150 through the driving circuit 114 and the slew rate limiter 118, and generate a second excitation signal V EXC2 and connect the second excitation signal V EXC2 to at least one compensation capacitor 110 through the driving circuit 116 and the slew rate limiter 118, wherein the first excitation signal V EXC1 and the second excitation signal V EXC2 are out-of-phase and non-overlapping, and the voltage amplitude of the first excitation signal V EXC1 is different from that of the second excitation signal V The voltage amplitude of the first excitation signal V EXC1 is lower than the voltage amplitude of the second excitation signal V EXC2 . For better understanding, the first excitation signal V EXC1 may be K1 times the excitation voltage signal V EXC (i.e., V EXC1 =K1 * V EXC ), and the second excitation signal V EXC2 may be K2 times the excitation voltage signal V EXC (i.e., V EXC2 =K2 * V EXC ). For example, when the parasitic capacitance value CP is much larger than the capacitance value of at least one compensation capacitor 110, the excitation signal generating circuit 102 may be used to set the voltage amplitude of the first excitation signal V EXC1 to be lower than the voltage amplitude of the second excitation signal V EXC2 (i.e., K1<K2).

詳細地來說,請參照第2圖,第2圖為依據本發明一實施例之激勵訊號產生電路200的示意圖,其中第1圖所示之激勵訊號產生電路102可藉由激勵訊號產生電路200來實現。如第2圖所示,激勵訊號產生電路200可包含有低壓差穩壓器(low dropout regulator,LDO regulator)202以及縮放電路204,低壓差穩壓器202可用以調節供應電壓VDD來產生激勵電壓訊號VEXC(亦即低壓差穩壓器202 的輸入與輸出分別為供應電壓VDD與激勵電壓訊號VEXC),並可包含有P型電晶體206以及放大器208,其中激勵電壓訊號VEXC可以是具有自32kHz至500kHz的頻率範圍中的一頻率值的一方波(例如具有32kHz的方波),激勵電壓訊號VEXC的高電壓位準(表示為“VEXC+”)係不同於供應電壓VDD,以及激勵電壓訊號VEXC的低電壓位準(表示為“VEXC-”)係不同於一接地電壓GND。P型電晶體206具有耦接於供應電壓VDD的一源極端以及耦接於縮放電路204的一汲極端。放大器208具有一反相輸入端(在第2圖中標記為“-”)、一非反相輸入端(在第2圖中標記為“+”)以及一輸出端,其中非反相輸入端係耦接於一參考電壓VREF,反相輸入端係耦接於縮放電路204,以及輸出端係耦接於P型電晶體206的一閘極端。激勵電壓訊號VEXC係自P型電晶體206的汲極端輸出至縮放電路204。 For details, please refer to FIG. 2 , which is a schematic diagram of an excitation signal generating circuit 200 according to an embodiment of the present invention, wherein the excitation signal generating circuit 102 shown in FIG. 1 can be implemented by the excitation signal generating circuit 200 . As shown in FIG. 2 , the excitation signal generating circuit 200 may include a low dropout regulator (LDO regulator) 202 and a scaling circuit 204. The low dropout regulator 202 may be used to regulate the supply voltage VDD to generate an excitation voltage signal VEXC (i.e., the input and output of the low dropout regulator 202 are the supply voltage VDD and the excitation voltage signal VEXC , respectively), and may include a P-type transistor 206 and an amplifier 208. The excitation voltage signal VEXC may be a square wave having a frequency value in the frequency range from 32kHz to 500kHz (e.g., a square wave having 32kHz). The excitation voltage signal VEXC may be a square wave having a frequency value in the frequency range from 32kHz to 500kHz (e.g., a square wave having 32kHz). The high voltage level of EXC (denoted as "V EXC+ ") is different from the supply voltage VDD, and the low voltage level of the excitation voltage signal V EXC (denoted as "V EXC- ") is different from a ground voltage GND. The P-type transistor 206 has a source terminal coupled to the supply voltage VDD and a drain terminal coupled to the scaling circuit 204. The amplifier 208 has an inverting input terminal (marked as "-" in FIG. 2 ), a non-inverting input terminal (marked as "+" in FIG. 2 ), and an output terminal, wherein the non-inverting input terminal is coupled to a reference voltage VREF, the inverting input terminal is coupled to the scaling circuit 204, and the output terminal is coupled to a gate terminal of the P-type transistor 206. The excitation voltage signal V EXC is output from the drain terminal of the P-type transistor 206 to the scaling circuit 204.

縮放電路204可用以對激勵電壓訊號VEXC進行多個縮放操作以產生第一激勵訊號VEXC1以及第二激勵訊號VEXC2,具體上來說,縮放電路204可包含有多個電阻R1與R2、擇取電路210以及多個緩衝器212與214,其中第一激勵訊號VEXC1以及第二激勵訊號VEXC2可透過電阻R1、電阻R2與擇取電路210之間的一配置來產生。電阻R1具有耦接於接地電壓GND的一第一端以及耦接於放大器208之反相輸入端的一第二端。電阻R2具有耦接於電阻R1之第二端的一第一端以及耦接於P型電晶體206之汲極端的一第二端。擇取電路210係耦接於電阻R2的第一端。藉由改變電阻R1之電阻值與電阻R2之電阻值之間的比例,可藉由擇取電路210來取得複數個縮放電壓V_SCAL_1~V_SCAL_N(其包含有第一激勵訊號VEXC1以及第二激勵訊號VEXC2),其中N係大於1的整數(亦即N>1)。舉例來說,縮放電壓V_SCAL_1~V_SCAL_N的設置參數可儲存於一暫存器(未顯示於第2圖)中,並且對於第一激勵訊號VEXC1與第二激勵訊號VEXC2中的任一個激勵訊號來說,擇取電路210可用以自該暫存器擇取縮放電壓V_SCAL_1~V_SCAL_N中的 一縮放電壓。 The scaling circuit 204 can be used to perform a plurality of scaling operations on the excitation voltage signal V EXC to generate a first excitation signal V EXC1 and a second excitation signal V EXC2 . Specifically, the scaling circuit 204 can include a plurality of resistors R1 and R2, a selection circuit 210, and a plurality of buffers 212 and 214, wherein the first excitation signal V EXC1 and the second excitation signal V EXC2 can be generated through a configuration between the resistor R1, the resistor R2, and the selection circuit 210. The resistor R1 has a first end coupled to the ground voltage GND and a second end coupled to the inverting input terminal of the amplifier 208. The resistor R2 has a first end coupled to the second end of the resistor R1 and a second end coupled to the drain terminal of the P-type transistor 206. The selection circuit 210 is coupled to the first end of the resistor R2. By changing the ratio between the resistance value of the resistor R1 and the resistance value of the resistor R2, the selection circuit 210 can obtain a plurality of scaling voltages V_SCAL_1~V_SCAL_N (including the first excitation signal VEXC1 and the second excitation signal VEXC2 ), where N is an integer greater than 1 (ie, N>1). For example, the setting parameters of the scaling voltages V_SCAL_1-V_SCAL_N may be stored in a register (not shown in FIG. 2 ), and for any one of the first excitation signal V EXC1 and the second excitation signal V EXC2 , the selection circuit 210 may be used to select a scaling voltage from the scaling voltages V_SCAL_1-V_SCAL_N from the register.

擇取電路210可包含有多個N至1多工器(multiplexer,MUX;例如複數個多工器216與218),其中多工器216可用以接收縮放電壓V_SCAL_1~V_SCAL_N並根據一擇取訊號SEL_S來將縮放電壓V_SCAL_1~V_SCAL_N中的一縮放電壓(例如第一激勵訊號VEXC1)輸出至緩衝器212,多工器218可用以接收縮放電壓V_SCAL_1~V_SCAL_N並根據擇取訊號SEL_S來將縮放電壓V_SCAL_1~V_SCAL_N中的一縮放電壓(例如第二激勵訊號VEXC2)輸出至緩衝器214,以及擇取訊號SEL_S可指示第一激勵訊號VEXC1的電壓振幅與第二激勵訊號VEXC2的電壓振幅之間的一比例(例如K1與K2之間的一比例)。舉例來說,在擇取訊號SEL_S指示K1與K2之間的比例係8(例如K2=8 * K1)的情況下,擇取電路210可自縮放電壓V_SCAL_1~V_SCAL_N擇取與K1 * VEXC相等的一縮放電壓並將該縮放電壓輸出至緩衝器212,以及自縮放電壓V_SCAL_1~V_SCAL_N擇取與8 * K1 * VEXC相等的另一縮放電壓並將該另一縮放電壓輸出至緩衝器214。 The selection circuit 210 may include a plurality of N-to-1 multiplexers (MUXs; for example, a plurality of multiplexers 216 and 218), wherein the multiplexer 216 may be used to receive the scaled voltages V_SCAL_1 to V_SCAL_N and output a scaled voltage (for example, the first excitation signal V EXC1 ) among the scaled voltages V_SCAL_1 to V_SCAL_N to the buffer 212 according to a selection signal SEL_S, and the multiplexer 218 may be used to receive the scaled voltages V_SCAL_1 to V_SCAL_N and output a scaled voltage (for example, the second excitation signal V EXC2 ) among the scaled voltages V_SCAL_1 to V_SCAL_N according to the selection signal SEL_S. ) is output to the buffer 214, and the selection signal SEL_S may indicate a ratio between the voltage amplitude of the first excitation signal V EXC1 and the voltage amplitude of the second excitation signal V EXC2 (eg, a ratio between K1 and K2). For example, when the selection signal SEL_S indicates that the ratio between K1 and K2 is 8 (e.g., K2=8*K1), the selection circuit 210 can select a scaled voltage equal to K1* VEXC from the scaled voltages V_SCAL_1~V_SCAL_N and output the scaled voltage to the buffer 212, and select another scaled voltage equal to 8*K1* VEXC from the scaled voltages V_SCAL_1~V_SCAL_N and output the other scaled voltage to the buffer 214.

緩衝器212可用以自擇取電路210(尤其是,多工器216)接收第一激勵訊號VEXC1,並透過驅動電路114與迴轉率限制器118來將第一激勵訊號VEXC1連接至電容感測器150的第一端。緩衝器214可用以自擇取電路210(尤其是,多工器218)接收第二激勵訊號VEXC2,並透過驅動電路116與迴轉率限制器118來將第二激勵訊號VEXC2連接至至少一補償電容110。 The buffer 212 can be used to receive the first excitation signal V EXC1 from the selection circuit 210 (especially the multiplexer 216), and connect the first excitation signal V EXC1 to the first end of the capacitor sensor 150 through the driving circuit 114 and the slew rate limiter 118. The buffer 214 can be used to receive the second excitation signal V EXC2 from the selection circuit 210 (especially the multiplexer 218), and connect the second excitation signal V EXC2 to at least one compensation capacitor 110 through the driving circuit 116 and the slew rate limiter 118.

請參照回第1圖,由於縮放後的電壓(例如第一激勵訊號VEXC1與第二激勵訊號VEXC2)可能會有較差的驅動能力,因此驅動電路114可用以自激勵訊 號產生電路102/200(尤其是,緩衝器212)接收第一激勵訊號VEXC1,並根據第一激勵訊號VEXC1來驅動電容感測器150,而驅動電路116可用以自激勵訊號產生電路102/200(尤其是,緩衝器214)接收第二激勵訊號VEXC2,並根據第二激勵訊號VEXC2來驅動至少一補償電容110。在本實施例中,驅動電路114與116中的每一個驅動電路係推輓驅動器(push-pull driver),其中推輓驅動器係由一P型電晶體與一N型電晶體串聯所組成的一數位驅動電路,但是本發明不限於此。在某些實施例中,驅動電路114與116中的每一個驅動電路可包含有多個開關(例如多個傳輸閘(transmission gate))。在某些實施例中,驅動電路114與116可以是推輓驅動器與多個開關的一組合,其中驅動電路114與116中的一驅動電路係推輓驅動器,而驅動電路114與116中的另一驅動電路可包含有多個傳輸閘。 Referring back to FIG. 1 , since the scaled voltage (e.g., the first excitation signal V EXC1 and the second excitation signal V EXC2 ) may have poor driving capability, the driving circuit 114 may be used to self-excite the signal generating circuit 102/200 (especially, the buffer 212) to receive the first excitation signal V EXC1 and drive the capacitor sensor 150 according to the first excitation signal V EXC1 , and the driving circuit 116 may be used to self-excite the signal generating circuit 102/200 (especially, the buffer 214) to receive the second excitation signal V EXC2 and drive at least one compensation capacitor 110 according to the second excitation signal V EXC2 . In this embodiment, each of the driver circuits 114 and 116 is a push-pull driver, wherein the push-pull driver is a digital driver circuit composed of a P-type transistor and an N-type transistor connected in series, but the present invention is not limited thereto. In some embodiments, each of the driver circuits 114 and 116 may include a plurality of switches (e.g., a plurality of transmission gates). In some embodiments, the driver circuits 114 and 116 may be a combination of a push-pull driver and a plurality of switches, wherein one of the driver circuits 114 and 116 is a push-pull driver and the other of the driver circuits 114 and 116 may include a plurality of transmission gates.

在第一激勵訊號VEXC1與第二激勵訊號VEXC2分別直接地自驅動電路114與116連接至電容感測器150與至少一補償電容110的情況下,方波可能會在高電壓位準與低電壓位準之間急劇地上升與下降,其可能會導致電磁干擾(electromagnetic interference,EMI)並干擾附近的電子元件,為解決此問題,迴轉率限制器118可用以分別對第一激勵訊號VEXC1與第二激勵訊號VEXC2進行迴轉率限制操作,以產生並連接一第一限制激勵訊號VEXC1’至電容感測器150的第一端,以及產生並連接一第二限制激勵訊號VEXC2’至至少一補償電容110。 In the case where the first excitation signal V EXC1 and the second excitation signal V EXC2 are directly driven by the circuits 114 and 116 to connect to the capacitor sensor 150 and at least one compensation capacitor 110, the square wave may rise and fall sharply between a high voltage level and a low voltage level, which may cause electromagnetic interference (EMI) and interfere with nearby electronic components. To solve this problem, the slew rate limiter 118 can be used to perform slew rate limiting operations on the first excitation signal V EXC1 and the second excitation signal V EXC2 , respectively, to generate and connect a first limited excitation signal V EXC1 to the first end of the capacitor sensor 150, and to generate and connect a second limited excitation signal V EXC2 to the first end of the capacitor sensor 150. ' to at least one compensation capacitor 110.

差動放大器104具有一反相輸入端(在第1圖中標記為“-”)、一非反相輸入端(在第1圖中標記為“+”)、一非反相輸出端(亦即輸出一第一差動輸出電壓VOUT+的一端)以及一反相輸出端(亦即輸出一第二差動輸出電壓VOUT-的一端),其中反相輸入端可耦接於至少一補償電容110、自校準電容112以及電容感測器150,並可用以自電容感測器150的一第二端接收感測電容值CS;非反相輸 入端可耦接於一共模(common-mode)電壓(在第1圖中標記為“VCM”);以及輸出電壓VOUT係差動放大器104之反相輸出端與非反相輸出端之間的電壓差(亦即VOUT=VOUT+-VOUT-)。開關電路106可耦接於差動放大器104的反相輸入端與非反相輸出端之間,其中開關電路106係藉由與第一激勵訊號VEXC1同相(in-phase)的一控制訊號(亦即該控制訊號與第二激勵訊號VEXC2反相)所控制。舉例來說,該控制訊號可以是一時脈訊號ΦR,其中時脈訊號ΦR可以是具有自32kHz至500kHz的頻率範圍中的一頻率值的一方波(例如具有32kHz的方波),時脈訊號ΦR的高電壓位準可以是供應電壓VDD,以及時脈訊號ΦR的低電壓位準可以是接地電壓GND。 The differential amplifier 104 has an inverting input terminal (marked as "-" in FIG. 1), a non-inverting input terminal (marked as "+" in FIG. 1), a non-inverting output terminal (i.e., a terminal outputting a first differential output voltage V OUT+ ) and an inverting output terminal (i.e., a terminal outputting a second differential output voltage V OUT- ), wherein the inverting input terminal can be coupled to at least one compensation capacitor 110, the self-calibration capacitor 112 and the capacitance sensor 150, and can be used to receive the sensed capacitance value C S from a second terminal of the capacitance sensor 150; the non-inverting input terminal can be coupled to a common-mode voltage (marked as "VCM" in FIG. 1); and the output voltage V OUT is the voltage difference between the inverting output terminal and the non-inverting output terminal of the differential amplifier 104 (i.e., V OUT =V OUT+ −V OUT− ). The switch circuit 106 can be coupled between the inverting input terminal and the non-inverting output terminal of the differential amplifier 104, wherein the switch circuit 106 is controlled by a control signal in-phase with the first excitation signal V EXC1 (i.e., the control signal is in-phase with the second excitation signal V EXC2 ). For example, the control signal may be a clock signal Φ R , wherein the clock signal Φ R may be a square wave having a frequency value in a frequency range from 32 kHz to 500 kHz (e.g., a square wave having 32 kHz), a high voltage level of the clock signal Φ R may be the supply voltage VDD, and a low voltage level of the clock signal Φ R may be the ground voltage GND.

在本實施例中,假設當時脈訊號ΦR位於高電壓位準(例如供應電壓VDD)時開關電路106係關閉的,以及當時脈訊號ΦR位於低電壓位準(例如接地電壓GND)時開關電路106係打開的,此外,開關電路106與至少一可變電容108並聯於差動放大器104的反相輸入端以及非反相輸出端之間。至少一補償電容110可具有多個待擇取的電容值,舉例來說,至少一補償電容110可被配置為與寄生電容值CP相等或相近的某個數值(例如自多個電容值所則取出來的一電容值),以根據第二激勵訊號VEXC2來進行寄生電容減少/抵銷。藉由差動放大器104、開關電路106以及至少一可變電容108之間的配置,輸出電壓VOUT可藉由以下公式來取得:

Figure 112135998-A0305-02-0012-20
其中VEXC1係第一激勵訊號VEXC1的電壓振幅,CS係感測電容值CS,VEXC2係第二激勵訊號VEXC2的電壓振幅,CDAC係至少一補償電容110的電容值,以及Ci係至少一可變電容108的電容值。 In this embodiment, it is assumed that the switch circuit 106 is closed when the clock signal Φ R is at a high voltage level (for example, the supply voltage VDD), and that the switch circuit 106 is open when the clock signal Φ R is at a low voltage level (for example, the ground voltage GND). In addition, the switch circuit 106 and at least one variable capacitor 108 are connected in parallel between the inverting input terminal and the non-inverting output terminal of the differential amplifier 104. At least one compensation capacitor 110 may have a plurality of capacitance values to be selected. For example, at least one compensation capacitor 110 may be configured to be a certain value equal to or close to the parasitic capacitance value CP (e.g., a capacitance value selected from a plurality of capacitance values) to reduce/offset the parasitic capacitance according to the second excitation signal VEXC2 . Through the configuration between the differential amplifier 104, the switch circuit 106 and the at least one variable capacitor 108, the output voltage VOUT may be obtained by the following formula:
Figure 112135998-A0305-02-0012-20
Wherein V EXC1 is the voltage amplitude of the first excitation signal V EXC1 , CS is the sensing capacitance CS , V EXC2 is the voltage amplitude of the second excitation signal V EXC2 , C DAC is the capacitance of at least one compensation capacitor 110 , and Ci is the capacitance of at least one variable capacitor 108 .

此外,在第一激勵訊號VEXC1係激勵電壓訊號VEXC的K1倍(亦即VEXC1=K1 * VEXC)以及第二激勵訊號VEXC2係激勵電壓訊號VEXC的K2倍(亦即VEXC2=K2 * VEXC)的情況下,上述公式可簡化如下:

Figure 112135998-A0305-02-0013-21
其中VEXC係激勵電壓訊號VEXC的電壓振幅。在感測電容值CS中的寄生電容值CP遠大於(例如10倍於)至少一補償電容110的電容值的情況下,可藉由激勵訊號產生電路102/200來將K2設置為K1的10倍(例如K2=10 * K1),如此一來,寄生電容值CP可成功地被至少一補償電容110所減少/抵銷。 In addition, when the first excitation signal V EXC1 is K1 times the excitation voltage signal V EXC (ie, V EXC1 =K1 * V EXC ) and the second excitation signal V EXC2 is K2 times the excitation voltage signal V EXC (ie, V EXC2 =K2 * V EXC ), the above formula can be simplified as follows:
Figure 112135998-A0305-02-0013-21
Wherein V EXC is the voltage amplitude of the excitation voltage signal V EXC . When the parasitic capacitance value C P in the sense capacitance value C S is much larger (e.g., 10 times) than the capacitance value of at least one compensation capacitor 110, the excitation signal generating circuit 102 / 200 can be used to set K2 to 10 times of K1 (e.g., K2=10*K1), so that the parasitic capacitance value C P can be successfully reduced/offset by at least one compensation capacitor 110.

第3圖為依據本發明第二實施例之電荷至電壓轉換器300的示意圖,其中第3圖所示之電荷至電壓轉換器300與第1圖所示之電荷至電壓轉換器100之間的差異在於電荷至電壓轉換器100中的驅動電路114與116被修改以分別藉由電荷至電壓轉換器300的驅動電路302與304來實現。當縮放電壓(例如第一激勵訊號VEXC1)的電壓位準低於P型電晶體及/或N型電晶體的門檻電壓位準時,推輓驅動器中的P型電晶體及/或N型電晶體可能無法正常地運作,其導致推輓驅動器無法正常工作並因此無法具備驅動能力,為解決此問題,不受縮放電壓的電壓位準影響的多個開關(例如多個傳輸閘)可嵌入於電荷至電壓轉換器300之驅動電路302與304中的每一個驅動電路中。 FIG. 3 is a schematic diagram of a charge-to-voltage converter 300 according to a second embodiment of the present invention, wherein the difference between the charge-to-voltage converter 300 shown in FIG. 3 and the charge-to-voltage converter 100 shown in FIG. 1 is that the driving circuits 114 and 116 in the charge-to-voltage converter 100 are modified to be implemented by the driving circuits 302 and 304 of the charge-to-voltage converter 300, respectively. When the voltage level of the scaling voltage (e.g., the first excitation signal V EXC1 ) is lower than the threshold voltage level of the P-type transistor and/or the N-type transistor, the P-type transistor and/or the N-type transistor in the push-pull driver may not operate normally, which causes the push-pull driver to fail to operate normally and therefore fail to have driving capability. To solve this problem, multiple switches (e.g., multiple transmission gates) that are not affected by the voltage level of the scaling voltage can be embedded in each of the driving circuits 302 and 304 of the charge-to-voltage converter 300.

具體上來說,驅動電路302可包含有多個開關電路306與308,開關電路306具有一第一端以及一第二端,其中開關電路306的第一端係用以自激勵訊號產生電路102接收第一激勵訊號VEXC1的高電壓位準(表示為“VEXC1+”),並且開 關電路306係被與第一激勵訊號VEXC1同相的一控制訊號(例如時脈訊號ΦR)所控制,以將第一激勵訊號VEXC1的高電壓位準連接至開關電路306的第二端。假設當時脈訊號ΦR位於高電壓位準(亦即第一激勵訊號VEXC1亦位於高電壓位準)時開關電路306係關閉的,以及當時脈訊號ΦR位於低電壓位準(亦即第一激勵訊號VEXC1亦位於低電壓位準)時開關電路306係開啟的。 Specifically, the driving circuit 302 may include a plurality of switch circuits 306 and 308, wherein the switch circuit 306 has a first end and a second end, wherein the first end of the switch circuit 306 is used for the self-excitation signal generating circuit 102 to receive the high voltage level of the first excitation signal V EXC1 (expressed as “V EXC1+ ”), and the switch circuit 306 is controlled by a control signal (e.g., a clock signal Φ R ) in phase with the first excitation signal V EXC1 to connect the high voltage level of the first excitation signal V EXC1 to the second end of the switch circuit 306. Assume that when the clock signal Φ R is at a high voltage level (ie, the first excitation signal V EXC1 is also at a high voltage level), the switch circuit 306 is closed, and when the clock signal Φ R is at a low voltage level (ie, the first excitation signal V EXC1 is also at a low voltage level), the switch circuit 306 is opened.

開關電路308具有一第一端以及一第二端,其中開關電路308的第一端係用以自激勵訊號產生電路102接收第一激勵訊號VEXC1的低電壓位準(表示為“VEXC1-”),並且開關電路308係被與第一激勵訊號VEXC1反相的一控制訊號

Figure 112135998-A0305-02-0014-12
所控制,以將第一激勵訊號VEXC1的低電壓位準連接至開關電路308的第二端。假設當控制訊號
Figure 112135998-A0305-02-0014-13
位於高電壓位準(亦即第一激勵訊號VEXC1位於低電壓位準)時開關電路308係關閉的,以及當控制訊號
Figure 112135998-A0305-02-0014-14
位於低電壓位準(亦即第一激勵訊號VEXC1位於高電壓位準)時開關電路308係開啟的。電容感測器150係透過迴轉率限制器118來耦接於開關電路306的第二端以及開關電路308的第二端。 The switch circuit 308 has a first terminal and a second terminal, wherein the first terminal of the switch circuit 308 is used to receive the low voltage level (denoted as "V EXC1- ") of the first excitation signal V EXC1 from the excitation signal generating circuit 102, and the switch circuit 308 is driven by a control signal that is inverted from the first excitation signal V EXC1.
Figure 112135998-A0305-02-0014-12
is controlled to connect the low voltage level of the first excitation signal V EXC1 to the second end of the switch circuit 308. Assuming that the control signal
Figure 112135998-A0305-02-0014-13
When the first excitation signal V EXC1 is at a high voltage level (i.e., the first excitation signal V EXC1 is at a low voltage level), the switch circuit 308 is closed, and when the control signal
Figure 112135998-A0305-02-0014-14
When the first excitation signal V EXC1 is at a low voltage level (ie, the first excitation signal V EXC1 is at a high voltage level), the switch circuit 308 is turned on. The capacitance sensor 150 is coupled to the second terminal of the switch circuit 306 and the second terminal of the switch circuit 308 through the slew rate limiter 118 .

驅動電路304可包含有多個開關電路310與312,開關電路310具有一第一端以及一第二端,其中開關電路310的第一端係用以自激勵訊號產生電路102接收第二激勵訊號VEXC2的高電壓位準(表示為“VEXC2+”),並且開關電路310係被與第一激勵訊號VEXC1反相的控制訊號

Figure 112135998-A0305-02-0014-15
所控制,以將第二激勵訊號VEXC2的高電壓位準連接至開關電路310的第二端。假設當控制訊號
Figure 112135998-A0305-02-0014-16
位於高電壓位準(亦即第二激勵訊號VEXC2亦位於高電壓位準)時開關電路310係關閉的,以及當控制訊號
Figure 112135998-A0305-02-0014-17
位於低電壓位準(亦即第二激勵訊號VEXC2亦位於低電壓位準)時開關電路310係開啟的。 The driving circuit 304 may include a plurality of switch circuits 310 and 312. The switch circuit 310 has a first terminal and a second terminal. The first terminal of the switch circuit 310 is used to receive the high voltage level (expressed as "V EXC2+ ") of the second excitation signal V EXC2 from the excitation signal generating circuit 102, and the switch circuit 310 is controlled by a control signal that is inverted from the first excitation signal V EXC1.
Figure 112135998-A0305-02-0014-15
is controlled to connect the high voltage level of the second excitation signal V EXC2 to the second end of the switch circuit 310. Assuming that the control signal
Figure 112135998-A0305-02-0014-16
When the second excitation signal V EXC2 is at a high voltage level (i.e., the second excitation signal V EXC2 is also at a high voltage level), the switch circuit 310 is closed, and when the control signal
Figure 112135998-A0305-02-0014-17
When the voltage level is low (ie, the second excitation signal V EXC2 is also at a low voltage level), the switch circuit 310 is turned on.

開關電路312具有一第一端以及一第二端,其中開關電路312的第一端係用以自激勵訊號產生電路102接收第二激勵訊號VEXC2的低電壓位準(表示為“VEXC2-”),並且開關電路312係被與第一激勵訊號VEXC1同相的一控制訊號(例如時脈訊號ΦR)所控制,以將第二激勵訊號VEXC2的低電壓位準連接至開關電路312的第二端。假設當時脈訊號ΦR位於高電壓位準(亦即第二激勵訊號VEXC2位於低電壓位準)時開關電路312係關閉的,以及當時脈訊號ΦR位於低電壓位準(亦即第二激勵訊號VEXC2位於高電壓位準)時開關電路312係開啟的。至少一補償電容110係透過迴轉率限制器118來耦接於開關電路310的第二端以及開關電路312的第二端。 The switch circuit 312 has a first end and a second end, wherein the first end of the switch circuit 312 is used for the self-excitation signal generating circuit 102 to receive the low voltage level of the second excitation signal V EXC2 (denoted as “V EXC2− ”), and the switch circuit 312 is controlled by a control signal (e.g., a clock signal Φ R ) in phase with the first excitation signal V EXC1 to connect the low voltage level of the second excitation signal V EXC2 to the second end of the switch circuit 312. Assuming that the switch circuit 312 is closed when the clock signal ΦR is at a high voltage level (i.e., the second excitation signal VEXC2 is at a low voltage level), and the switch circuit 312 is opened when the clock signal ΦR is at a low voltage level (i.e., the second excitation signal VEXC2 is at a high voltage level), at least one compensation capacitor 110 is coupled to the second end of the switch circuit 310 and the second end of the switch circuit 312 through the slew rate limiter 118.

第4圖為依據本發明第三實施例之電荷至電壓轉換器400的示意圖,其中第4圖所示之電荷至電壓轉換器400與第1圖所示之電荷至電壓轉換器100之間的差異在於電荷至電壓轉換器100中的驅動電路114與116被修改以分別藉由電荷至電壓轉換器400的驅動電路402與404來實現。在本實施例中,由於對應於第一激勵訊號VEXC1的縮放範圍(例如減少範圍)過小,因此第一激勵訊號VEXC1的電壓位準不夠大來驅動推輓驅動器,而第二激勵訊號VEXC2仍可正常地驅動推輓驅動器,為解決此問題,驅動電路402包含有不受縮放電壓的電壓位準影響的多個開關(例如多個傳輸閘,諸如多個開關電路406與408),並且驅動電路404仍可藉由推輓驅動器來實現。由於本領域具通常知識者可透過上述第1圖所示之電荷至電壓轉換器100以及第3圖所示之電荷至電壓轉換器300的說明書相關段落來熟知電荷至電壓轉換器400的操作,為簡潔起見在此不再重複詳細描述。 FIG. 4 is a schematic diagram of a charge-to-voltage converter 400 according to a third embodiment of the present invention, wherein the difference between the charge-to-voltage converter 400 shown in FIG. 4 and the charge-to-voltage converter 100 shown in FIG. 1 is that the driving circuits 114 and 116 in the charge-to-voltage converter 100 are modified to be implemented by the driving circuits 402 and 404 of the charge-to-voltage converter 400, respectively. In this embodiment, since the scaling range (e.g., reduction range) corresponding to the first excitation signal V EXC1 is too small, the voltage level of the first excitation signal V EXC1 is not large enough to drive the push driver, while the second excitation signal V EXC2 can still drive the push driver normally. To solve this problem, the driver circuit 402 includes a plurality of switches (e.g., a plurality of transmission gates, such as a plurality of switch circuits 406 and 408) that are not affected by the voltage level of the scaling voltage, and the driver circuit 404 can still be implemented by the push driver. Since a person skilled in the art can be familiar with the operation of the charge-to-voltage converter 400 through the relevant paragraphs of the instructions of the charge-to-voltage converter 100 shown in FIG. 1 and the charge-to-voltage converter 300 shown in FIG. 3 , a detailed description will not be repeated here for the sake of brevity.

第5圖為依據本發明一實施例之電容量測電路500的示意圖,其中電容量測電路500係一電容至數位轉換器(capacitance to digital converter,CDC)。如 第5圖所示,電容量測電路500可至少包含有第1圖所示之電荷至電壓轉換器100以及一類比至數位轉換器(analog to digital converter,ADC)510,並另包含有溫度感測器501以及一2至1多工器(例如多工器503),其中類比至數位轉換器510可用以將輸出電壓VOUT轉換為數位脈衝流(digital pulse stream)D_S。在本實施例中,類比至數位轉換器510係一三角積分類比至數位轉換器(sigma-delta ADC),但是本發明不限於此,實際上,類比至數位轉換器510可採用任一種能夠將輸出電壓VOUT轉換為數位脈衝流D_S的類比至數位轉換器架構,該些替代設計皆落入本發明的範疇。 FIG. 5 is a schematic diagram of a capacitance measuring circuit 500 according to an embodiment of the present invention, wherein the capacitance measuring circuit 500 is a capacitance to digital converter (CDC). As shown in FIG. 5 , the capacitance measuring circuit 500 may include at least the charge to voltage converter 100 shown in FIG. 1 and an analog to digital converter (ADC) 510, and further includes a temperature sensor 501 and a 2 to 1 multiplexer (e.g., multiplexer 503), wherein the analog to digital converter 510 may be used to convert the output voltage V OUT into a digital pulse stream D_S. In the present embodiment, the analog-to-digital converter 510 is a sigma-delta ADC, but the present invention is not limited thereto. In fact, the analog-to-digital converter 510 may adopt any analog-to-digital converter architecture that can convert the output voltage V OUT into a digital pulse current D_S, and these alternative designs all fall within the scope of the present invention.

此外,由於感測電容值CS的動態範圍可能會隨著外部環境而改變,因此溫度感測器501可用以感測環境溫度來產生溫度資料TEM_D。多工器503可用以自電荷至電壓轉換器100接收輸出電壓VOUT,自溫度感測器501接收溫度資料TEM_D,並根據一擇取訊號SEL_S’來將輸出電壓VOUT與溫度資料TEM_D的其一輸出至類比至數位轉換器510,其中可藉由類比至數位轉換器510來根據溫度資料TEM_D以微調感測電容值CSIn addition, since the dynamic range of the sensing capacitance value C S may change with the external environment, the temperature sensor 501 can be used to sense the ambient temperature to generate the temperature data TEM_D. The multiplexer 503 can be used to receive the output voltage V OUT from the charge-to-voltage converter 100, receive the temperature data TEM_D from the temperature sensor 501, and output one of the output voltage V OUT and the temperature data TEM_D to the analog-to-digital converter 510 according to a selection signal SEL_S', wherein the analog-to-digital converter 510 can fine-tune the sensing capacitance value C S according to the temperature data TEM_D.

類比至數位轉換器510可至少包含有減法電路502、積分器電路504以及回授電路506,減法電路502可用以自電荷至電壓轉換器100接收輸出電壓VOUT,並自輸出電壓VOUT減去一回授訊號F_S以產生一處理後訊號P_S,積分器電路504可耦接於減法電路502,並且可用以對處理後訊號P_S進行積分操作以產生數位脈衝流D_S,回授電路506可耦接於減法電路502與積分器電路504,並且可用以自數位脈衝流D_S取得回授訊號F_S,以及將回授訊號F_S傳送至減法電路502。由於三角積分類比至數位轉換器已被該領域者具有通常知識者所熟知,因此為簡潔起見,關於類比至數位轉換器510的詳細內容在此不描述。 The analog-to-digital converter 510 may include at least a subtraction circuit 502, an integrator circuit 504, and a feedback circuit 506. The subtraction circuit 502 may be used to receive the output voltage V OUT from the charge-to-voltage converter 100 and generate an output voltage V OUT subtracts a feedback signal F_S to generate a processed signal P_S. The integrator circuit 504 may be coupled to the subtractor circuit 502 and may be used to integrate the processed signal P_S to generate a digital pulse stream D_S. The feedback circuit 506 may be coupled to the subtractor circuit 502 and the integrator circuit 504 and may be used to obtain the feedback signal F_S from the digital pulse stream D_S and transmit the feedback signal F_S to the subtractor circuit 502. Since the trigonometric analog-to-digital converter is well known to those skilled in the art, the details of the analog-to-digital converter 510 are not described herein for brevity.

總結來說,本發明的電容量測電路(其包含有電荷至電壓轉換器以及類比至數位轉換器)可分別產生具有不同電壓振幅的多個激勵訊號至外部電容感測器與至少一內部補償電容的電容量測電路,在待測電容的感測電容值中的寄生電容值遠大於至少一補償電容的電容值的情況下,本發明的電荷至電壓轉換器可藉由具有不同電壓振幅的激勵訊號來利用該至少一補償電容以成功地減少/抵銷寄生電容值。如此一來,電荷至電壓轉換器之輸出電壓的電壓振幅不會超過類比至數位轉換器的輸入動態範圍,其可使得類比至數位轉換器正常地操作。 In summary, the capacitance measurement circuit of the present invention (which includes a charge-to-voltage converter and an analog-to-digital converter) can generate multiple excitation signals with different voltage amplitudes to an external capacitance sensor and a capacitance measurement circuit of at least one internal compensation capacitor, respectively. When the parasitic capacitance value in the sensed capacitance value of the capacitor to be measured is much larger than the capacitance value of at least one compensation capacitor, the charge-to-voltage converter of the present invention can utilize the at least one compensation capacitor to successfully reduce/offset the parasitic capacitance value by using the excitation signals with different voltage amplitudes. In this way, the voltage amplitude of the output voltage of the charge-to-voltage converter will not exceed the input dynamic range of the analog-to-digital converter, which allows the analog-to-digital converter to operate normally.

以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。 The above is only the preferred embodiment of the present invention. All equivalent changes and modifications made according to the scope of the patent application of the present invention shall fall within the scope of the present invention.

100,:電荷至電壓轉換器 100,: Charge to voltage converter

102:激勵訊號產生電路 102: Excitation signal generating circuit

104:差動放大器 104: Differential amplifier

106:開關電路 106: Switching circuit

108:至少一可變電容 108: At least one variable capacitor

110:至少一補償電容 110: At least one compensation capacitor

112:自校準電容 112: Self-calibration capacitor

114,116:驅動電路 114,116:Drive circuit

118:迴轉率限制器 118: Slew rate limiter

150:電容感測器 150: Capacitor sensor

ΦR:時脈訊號 Φ R : Clock signal

VOUT+:第一差動輸出電壓 V OUT+ : First differential output voltage

VOUT-:第二差動輸出電壓 V OUT- : Second differential output voltage

CS:感測電容值 C S : Sensing capacitance value

VEXC:激勵電壓訊號 V EXC : Excitation voltage signal

VEXC1:第一激勵訊號 V EXC1 : First excitation signal

VEXC2:第二激勵訊號 V EXC2 : Second excitation signal

VEXC1’:第一限制激勵訊號 V EXC1 ': First limiting excitation signal

VEXC2’:第二限制激勵訊號 V EXC2 ': Second limiting excitation signal

VOUT:輸出電壓 V OUT : Output voltage

Claims (17)

一種電容量測電路,包含有:一電荷至電壓轉換器,包含有:至少一第一可變電容,其中藉由該至少一第一可變電容來減少透過一電容感測器所量測的一感測電容值中的一寄生電容值;一激勵訊號產生電路,用以產生並連接一第一激勵訊號至該電容感測器的一第一端,以及產生並連接一第二激勵訊號至該至少一第一可變電容,其中該第一激勵訊號與該第二激勵訊號為反相,以及該第一激勵訊號的一電壓振幅係不同於該第二激勵訊號的一電壓振幅;一差動放大器,具有一反相輸入端、一非反相輸入端、一反相輸出端以及一非反相輸出端,其中該反相輸入端係用以自該電容感測器的一第二端接收該感測電容值;一第一開關電路,耦接於該差動放大器的該反相輸入端以及該非反相輸出端之間;以及至少一第二可變電容,其中該第一開關電路以及該至少一第二可變電容係並聯於該差動放大器的該反相輸入端以及該非反相輸出端之間。 A capacitance measuring circuit comprises: a charge-to-voltage converter, comprising: at least one first variable capacitor, wherein a parasitic capacitance value in a sensed capacitance value measured by a capacitance sensor is reduced by the at least one first variable capacitor; an excitation signal generating circuit, for generating and connecting a first excitation signal to a first end of the capacitance sensor, and generating and connecting a second excitation signal to the at least one first variable capacitor, wherein the first excitation signal and the second excitation signal are in anti-phase, and a voltage amplitude of the first excitation signal is different from a voltage amplitude of the second excitation signal; a differential amplifier having an inverting input terminal, a non-inverting input terminal, an inverting output terminal and a non-inverting output terminal, wherein the inverting input terminal is used to receive the sensed capacitance value from a second terminal of the capacitance sensor; a first switching circuit coupled between the inverting input terminal and the non-inverting output terminal of the differential amplifier; and at least one second variable capacitor, wherein the first switching circuit and the at least one second variable capacitor are connected in parallel between the inverting input terminal and the non-inverting output terminal of the differential amplifier. 如申請專利範圍第1項所述之電容量測電路,其中該第一激勵訊號的該電壓振幅係小於該第二激勵訊號的該電壓振幅。 As described in item 1 of the patent application scope, the capacitance measurement circuit, wherein the voltage amplitude of the first excitation signal is smaller than the voltage amplitude of the second excitation signal. 如申請專利範圍第1項所述之電容量測電路,其中該激勵訊號產生電路包含有: 一低壓差穩壓器,用以調節一供應電壓以產生一激勵電壓訊號,其中該供應電壓被供應至該電荷至電壓轉換器;以及一縮放電路,用以對該激勵電壓訊號進行多個縮放操作,以產生並連接該第一激勵訊號至該電容感測器的該第一端,並產生且連接該第二激勵訊號至該至少一第一可變電容。 As described in the first item of the patent application scope, the excitation signal generating circuit includes: a low voltage difference regulator for regulating a supply voltage to generate an excitation voltage signal, wherein the supply voltage is supplied to the charge-to-voltage converter; and a scaling circuit for performing multiple scaling operations on the excitation voltage signal to generate and connect the first excitation signal to the first end of the capacitance sensor, and generate and connect the second excitation signal to the at least one first variable capacitor. 如申請專利範圍第3項所述之電容量測電路,其中該低壓差穩壓器包含有:一P型電晶體,具有耦接於該供應電壓的一源極端以及耦接於該縮放電路的一汲極端;以及一放大器,具有一反相輸入端、一非反相輸入端以及一輸出端,其中該非反相輸入端係耦接於一第一參考電壓,該反相輸入端係耦接於該縮放電路,以及該輸出端係耦接於該P型電晶體的一閘極端;其中該激勵電壓訊號係自該P型電晶體的該汲極端輸出至該縮放電路。 As described in item 3 of the patent application scope, the capacitance measuring circuit, wherein the low voltage difference regulator comprises: a P-type transistor having a source terminal coupled to the supply voltage and a drain terminal coupled to the scaling circuit; and an amplifier having an inverting input terminal, a non-inverting input terminal and an output terminal, wherein the non-inverting input terminal is coupled to a first reference voltage, the inverting input terminal is coupled to the scaling circuit, and the output terminal is coupled to a gate terminal of the P-type transistor; wherein the excitation voltage signal is output from the drain terminal of the P-type transistor to the scaling circuit. 如申請專利範圍第4項所述之電容量測電路,其中該縮放電路包含有:一第一電阻,具有耦接於一第二參考電壓的一第一端以及耦接於該放大器之該反相輸入端的一第二端;一第二電阻,具有耦接於該第一電阻之該第二端的一第一端以及耦接於該P型電晶體之該汲極端的一第二端;以及一擇取電路,耦接於該第二電阻的該第一端;其中該第一激勵訊號以及該第二激勵訊號係透過該第一電阻、該第二電阻以及該擇取電路之間的一配置來產生。 As described in item 4 of the patent application scope, the capacitance measuring circuit includes: a first resistor having a first end coupled to a second reference voltage and a second end coupled to the inverting input end of the amplifier; a second resistor having a first end coupled to the second end of the first resistor and a second end coupled to the drain end of the P-type transistor; and a selection circuit coupled to the first end of the second resistor; wherein the first excitation signal and the second excitation signal are generated through a configuration between the first resistor, the second resistor and the selection circuit. 如申請專利範圍第5項所述之電容量測電路,其中該縮放電路另包含有:一第一緩衝器,用以自該擇取電路接收該第一激勵訊號,並將該第一激勵訊號連接至該電容感測器的該第一端;以及一第二緩衝器,用以自該擇取電路接收該第二激勵訊號,並將該第二激勵訊號連接至該至少一第一可變電容。 As described in item 5 of the patent application scope, the scaling circuit further comprises: a first buffer for receiving the first excitation signal from the selection circuit and connecting the first excitation signal to the first end of the capacitance sensor; and a second buffer for receiving the second excitation signal from the selection circuit and connecting the second excitation signal to the at least one first variable capacitor. 如申請專利範圍第5項所述之電容量測電路,其中該電荷至電壓轉換器另包含有:一第一驅動電路,用以自該激勵訊號產生電路接收該第一激勵訊號,並根據該第一激勵訊號來驅動該電容感測器;以及一第二驅動電路,用以自該激勵訊號產生電路接收該第二激勵訊號,並根據該第二激勵訊號來驅動該至少一第一可變電容。 As described in item 5 of the patent application scope, the charge-to-voltage converter further comprises: a first driving circuit for receiving the first excitation signal from the excitation signal generating circuit and driving the capacitance sensor according to the first excitation signal; and a second driving circuit for receiving the second excitation signal from the excitation signal generating circuit and driving the at least one first variable capacitor according to the second excitation signal. 如申請專利範圍第7項所述之電容量測電路,其中該第一驅動電路以及該第二驅動電路中的每一個驅動電路係一推輓驅動器。 A capacitance measuring circuit as described in Item 7 of the patent application, wherein each of the first drive circuit and the second drive circuit is a push-pull drive. 如申請專利範圍第7項所述之電容量測電路,其中該第一驅動電路以及該第二驅動電路中的每一個驅動電路包含有多個開關。 As described in Item 7 of the patent application scope, the capacitance measuring circuit, wherein each of the first driving circuit and the second driving circuit includes a plurality of switches. 如申請專利範圍第9項所述之電容量測電路,其中該第一驅動電路包含有:一第二開關電路,具有一第一端以及一第二端,其中該第二開關電路的該 第一端係用以自該激勵訊號產生電路接收該第一激勵訊號的一高電壓位準,該第二開關電路被一第一控制訊號所控制以將該第一激勵訊號的該高電壓位準連接至該第二開關電路的該第二端,以及該第一控制訊號與該第一激勵訊號係同相;以及一第三開關電路,具有一第一端以及一第二端,其中該第三開關電路的該第一端係用以自該激勵訊號產生電路接收該第一激勵訊號的一低電壓位準,該第三開關電路被一第二控制訊號所控制以將該第一激勵訊號的該低電壓位準連接至該第三開關電路的該第二端,以及該第二控制訊號與該第一激勵訊號係反相;其中該電容感測器的該第一端係耦接於該第二開關電路的該第二端以及該第三開關電路的該第二端。 The capacitance measuring circuit as described in item 9 of the patent application, wherein the first driving circuit comprises: a second switching circuit having a first end and a second end, wherein the first end of the second switching circuit is used to receive a high voltage level of the first excitation signal from the excitation signal generating circuit, the second switching circuit is controlled by a first control signal to connect the high voltage level of the first excitation signal to the second end of the second switching circuit, and the first control signal is in phase with the first excitation signal; and a third switching circuit having a first end and a second end. The third switch circuit has a first end and a second end, wherein the first end of the third switch circuit is used to receive a low voltage level of the first excitation signal from the excitation signal generating circuit, the third switch circuit is controlled by a second control signal to connect the low voltage level of the first excitation signal to the second end of the third switch circuit, and the second control signal is inversely proportional to the first excitation signal; wherein the first end of the capacitance sensor is coupled to the second end of the second switch circuit and the second end of the third switch circuit. 如申請專利範圍第9項所述之電容量測電路,其中該第二驅動電路包含有:一第二開關電路,具有一第一端以及一第二端,其中該第二開關電路的該第一端係用以自該激勵訊號產生電路接收該第二激勵訊號的一高電壓位準,該第二開關電路被一第一控制訊號所控制以將該第二激勵訊號的該高電壓位準連接至該第二開關電路的該第二端,以及該第一控制訊號與該第一激勵訊號係反相;以及一第三開關電路,具有一第一端以及一第二端,其中該第三開關電路的該第一端係用以該激勵訊號產生電路接收該第二激勵訊號的一低電壓位準,該第三開關電路被一第二控制訊號所控制以將該第二激勵訊號的該低電壓位準連接至該第三開關電路的該第二端,以及該第二控制訊號與該第二激勵訊號係同相; 其中該至少一第一可變電容係耦接於該第二開關電路的該第二端以及該第三開關電路的該第二端。 The capacitance measuring circuit as described in item 9 of the patent application, wherein the second driving circuit comprises: a second switching circuit having a first end and a second end, wherein the first end of the second switching circuit is used to receive a high voltage level of the second excitation signal from the excitation signal generating circuit, the second switching circuit is controlled by a first control signal to connect the high voltage level of the second excitation signal to the second end of the second switching circuit, and the first control signal is in antiphase with the first excitation signal; and a third switching circuit having a first end and a second end. The third switch circuit has a first end and a second end, wherein the first end of the third switch circuit is used for the excitation signal generating circuit to receive a low voltage level of the second excitation signal, the third switch circuit is controlled by a second control signal to connect the low voltage level of the second excitation signal to the second end of the third switch circuit, and the second control signal and the second excitation signal are in phase; wherein the at least one first variable capacitor is coupled to the second end of the second switch circuit and the second end of the third switch circuit. 如申請專利範圍第7項所述之電容量測電路,其中該第一驅動電路與該第二驅動電路中的一驅動電路係一推輓驅動器,以及該第一驅動電路與該第二驅動電路中的另一驅動電路包含有多個開關。 As described in item 7 of the patent application scope, the capacitance measuring circuit, wherein one of the first driving circuit and the second driving circuit is a push-pull driver, and the other of the first driving circuit and the second driving circuit includes a plurality of switches. 如申請專利範圍第12項所述之電容量測電路,其中該第一驅動電路包含有該多個開關,以及該第二驅動電路係該推輓驅動器。 The capacitance measuring circuit as described in item 12 of the patent application scope, wherein the first driving circuit includes the plurality of switches, and the second driving circuit is the push-pull driver. 如申請專利範圍第1項所述之電容量測電路,其中該電荷至電壓轉換器另包含有:一迴轉率限制器,用以分別對該第一激勵訊號與該第二激勵訊號進行一迴轉率限制操作,以產生一第一限制後激勵訊號以及一第二限制後激勵訊號。 As described in the first item of the patent application scope, the charge-to-voltage converter further includes: a slew rate limiter for performing a slew rate limiting operation on the first excitation signal and the second excitation signal respectively to generate a first limited excitation signal and a second limited excitation signal. 如申請專利範圍第1項所述之電容量測電路,其中該電荷至電壓轉換器另包含有:一自校準電容,用以為該電荷至電壓轉換器進行一自校準操作。 As described in the first item of the patent application scope, the charge-to-voltage converter further comprises: a self-calibration capacitor for performing a self-calibration operation for the charge-to-voltage converter. 如申請專利範圍第1項所述之電容量測電路,其中該電荷至電壓轉換器係用以根據該感測電容值來產生一輸出電壓;以及該電容量測電路係一電容至數位轉換器,並另包含有:一類比至數位轉換器,用以將該輸出電壓轉換為一數位脈衝流。 As described in item 1 of the patent application scope, the charge-to-voltage converter is used to generate an output voltage according to the sensed capacitance value; and the capacitance measurement circuit is a capacitance-to-digital converter, and further includes: an analog-to-digital converter for converting the output voltage into a digital pulse current. 如申請專利範圍第16項所述之電容量測電路,其中該類比至數位轉換器係一三角積分類比至數位轉換器,以及該三角積分類比至數位轉換器至少包含有:一減法電路,用以自該電荷至電壓轉換器接收該輸出電壓,並且自該輸出電壓減去一回授訊號以產生一處理後訊號;一積分器電路,耦接於該減法電路,並且用以對該處理後訊號進行積分以產生該數位脈衝流;以及一回授電路,耦接於該積分器電路以及該減法電路,並且用以自該數位脈衝流取得該回授訊號,以及將該回授訊號傳送至該減法電路。 The capacitance measuring circuit as described in claim 16, wherein the analog-to-digital converter is a delta-integral analog-to-digital converter, and the delta-integral analog-to-digital converter at least comprises: a subtraction circuit for receiving the output voltage from the charge-to-voltage converter and subtracting a feedback signal from the output voltage to generate a processed signal; an integrator circuit coupled to the subtraction circuit and used to integrate the processed signal to generate the digital pulse stream; and a feedback circuit coupled to the integrator circuit and the subtraction circuit and used to obtain the feedback signal from the digital pulse stream and transmit the feedback signal to the subtraction circuit.
TW112135998A 2023-09-21 2023-09-21 Capacitance measurement circuit TWI850116B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW112135998A TWI850116B (en) 2023-09-21 2023-09-21 Capacitance measurement circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW112135998A TWI850116B (en) 2023-09-21 2023-09-21 Capacitance measurement circuit

Publications (2)

Publication Number Publication Date
TWI850116B true TWI850116B (en) 2024-07-21
TW202514069A TW202514069A (en) 2025-04-01

Family

ID=92929635

Family Applications (1)

Application Number Title Priority Date Filing Date
TW112135998A TWI850116B (en) 2023-09-21 2023-09-21 Capacitance measurement circuit

Country Status (1)

Country Link
TW (1) TWI850116B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201140256A (en) * 2009-12-31 2011-11-16 Mapper Lithography Ip Bv Integrated sensor system
US20180011125A1 (en) * 2015-02-17 2018-01-11 Hitachi, Ltd. Acceleration sensor
US10817114B2 (en) * 2016-12-21 2020-10-27 Alps Alpine Co., Ltd. Capacitance detection device for detecting capacitance between object proximate to detection electrode and the detection electrode and input device used for inputting information according to proximity of object
CN116670529A (en) * 2021-02-04 2023-08-29 阿尔卑斯阿尔派株式会社 Capacitance detection device, capacitance detection method, and input device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201140256A (en) * 2009-12-31 2011-11-16 Mapper Lithography Ip Bv Integrated sensor system
US20180011125A1 (en) * 2015-02-17 2018-01-11 Hitachi, Ltd. Acceleration sensor
US10817114B2 (en) * 2016-12-21 2020-10-27 Alps Alpine Co., Ltd. Capacitance detection device for detecting capacitance between object proximate to detection electrode and the detection electrode and input device used for inputting information according to proximity of object
CN116670529A (en) * 2021-02-04 2023-08-29 阿尔卑斯阿尔派株式会社 Capacitance detection device, capacitance detection method, and input device

Also Published As

Publication number Publication date
TW202514069A (en) 2025-04-01

Similar Documents

Publication Publication Date Title
CN101384882B (en) Physical quantity sensor
US8872589B2 (en) System and method for a programmable gain amplifier
KR102847503B1 (en) Capacitance sensing circuits
US7656231B2 (en) High bandwidth apparatus and method for generating differential signals
JP2010109937A (en) Comparator and analog-to-digital converter
US9565379B2 (en) Ramp signal generator and CMOS image sensor having the same
US11294504B2 (en) Oversampled high signal to noise ratio analog front end for touch screen controllers
US6281831B1 (en) Analog to digital converter
US9160948B2 (en) Replica noise generator using pixel modeling and ramp signal generator including the same
WO2010131640A1 (en) Electrostatic capacitance detection circuit
JP2007074670A (en) Differential amplifier circuit and semiconductor device
TWI850116B (en) Capacitance measurement circuit
JPWO2009096192A1 (en) Buffer circuit, image sensor chip including the same, and imaging device
US12313664B2 (en) Capacitance measurement circuit
JP3196020B2 (en) Variable delay circuit for semiconductor memory device
JP7159634B2 (en) Comparator and AD converter
US9112523B1 (en) Multiplying digital to analog converter (MDAC) with error compensation and method of operation
US8941438B2 (en) Bandwidth limiting for amplifiers
US8354887B1 (en) Charge compensation for operational transconductance amplifier based circuits
CN119667297A (en) Capacitance measurement circuit
TWI852186B (en) Capacitance measurement circuit
US7583130B2 (en) Input biasing system for bracketing a floating power supply about an input signal
JP4635612B2 (en) Sample and hold circuit
JP3527076B2 (en) Computation error correction method for analog computation circuit and filter circuit
JP2025108871A (en) Programmable gain amplifier and circuit device