JPH1117504A - Comparator - Google Patents

Comparator

Info

Publication number
JPH1117504A
JPH1117504A JP18445797A JP18445797A JPH1117504A JP H1117504 A JPH1117504 A JP H1117504A JP 18445797 A JP18445797 A JP 18445797A JP 18445797 A JP18445797 A JP 18445797A JP H1117504 A JPH1117504 A JP H1117504A
Authority
JP
Japan
Prior art keywords
voltage
refresh
switch
cmos inverter
capacitive coupling
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
JP18445797A
Other languages
Japanese (ja)
Inventor
Kokuriyou Kotobuki
国梁 寿
Kazunori Motohashi
一則 本橋
Ei Chin
潁 陳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yozan Inc
Original Assignee
Yozan Inc
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 Yozan Inc filed Critical Yozan Inc
Priority to JP18445797A priority Critical patent/JPH1117504A/en
Publication of JPH1117504A publication Critical patent/JPH1117504A/en
Pending legal-status Critical Current

Links

Landscapes

  • Measurement Of Current Or Voltage (AREA)

Abstract

PROBLEM TO BE SOLVED: To easily secure comparison accuracy by using a 1st switch which causes a short circuit between the input and output sides of a CMOS inverter and a 2nd switch which secures connection of the refresh voltage that is common to the inputs of all capacitances for the capacitive coupling. SOLUTION: When a 1st refresh switch SW1 is closed, the input/output of a CMOS inverter I1 is set at its threshold voltage level. The refresh voltage Vref is set equal to the threshold voltage level and at 1/2 normal power voltage level. The voltage inputted to the capacitors C1 to Cn are set at V1 to Vn and the switches SWin and SW21 to SW2n are connected to the voltage Vref when the switch SW1 is closed. Thus, the electric charge is accumulated to the capacitive coupling and the parasitic capacitance Cp. Then the switch SW1 is opened with switches SWin and SW21 to SW2n connected to the voltage Vin and V1 to Vn respectively, and a comparative operation is carried out. Thus, the measurement value that is never affected by the capacitance Cp and the threshold voltage is obtained.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はアナログ入力電圧と
所定電圧との比較を行うための比較回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a comparison circuit for comparing an analog input voltage with a predetermined voltage.

【0002】[0002]

【従来の技術】デジタル技術の進歩は、微細加工技術の
進歩によるところ大きいが、その設備投資金額は加速度
的に増加しつつあり、現在アナログ技術およびアナログ
・デジタル混在技術が注目されている。そこで出願人
は、多くのアナログ・デジタル混在回路による高精度演
算を実現してきており、アナログ入力電圧と所定の電圧
の比較のための回路として、図2に示す回路を開発して
いる。
2. Description of the Related Art Advances in digital technology are largely due to advances in microfabrication technology. However, the amount of capital investment is increasing at an accelerating rate, and analog technology and analog / digital mixed technology are currently attracting attention. Therefore, the applicant has realized high-precision arithmetic using many analog / digital mixed circuits, and has developed a circuit shown in FIG. 2 as a circuit for comparing an analog input voltage with a predetermined voltage.

【0003】図2において、比較回路は複数のキャパシ
タンスC21、C22を並列し、かつその出力を統合し
てなる容量結合CC2を有し、その出力はCMOSイン
バータI2に接続されている。C21、C22にアナロ
グ入力電圧Vin、Voが印加されたとき、I2の入力
電圧Vbは式(1)のとおりとなる。
In FIG. 2, the comparison circuit has a capacitive coupling CC2 in which a plurality of capacitances C21 and C22 are arranged in parallel and their outputs are integrated, and the output is connected to a CMOS inverter I2. When the analog input voltages Vin and Vo are applied to C21 and C22, the input voltage Vb of I2 is as shown in Expression (1).

【数1】 CMOSインバータI1は、Vbが閾値電圧以下のとき
には電源電圧Vddに等しい出力電圧Voutを出力
し、閾値電圧を越えると出力Voutは接地電圧に反転
する。これによって、電圧Vbと閾値電圧との比較が可
能になる。
(Equation 1) The CMOS inverter I1 outputs an output voltage Vout equal to the power supply voltage Vdd when Vb is equal to or lower than the threshold voltage, and inverts the output Vout to the ground voltage when Vb exceeds the threshold voltage. This enables comparison between the voltage Vb and the threshold voltage.

【0004】以上の比較回路の比較精度は、キャパシタ
ンスC21、C22における残留電荷およびこれらに付
随する寄生容量の残留電荷の影響を受け、またI2の閾
値電圧の製造時のばらつきによって変化する。このため
従来は、寄生容量および閾値電圧の均一化のために多大
のシミュレーション、試作作業を要した。
The comparison accuracy of the above-described comparison circuit is affected by the residual charges in the capacitances C21 and C22 and the residual charges of the parasitic capacitances associated therewith, and changes due to variations in the manufacturing of the threshold voltage of I2. For this reason, conventionally, a large amount of simulation and trial work were required to equalize the parasitic capacitance and the threshold voltage.

【0005】[0005]

【発明が解決しようとする課題】本発明はこのような背
景の下に創案されたものであり、比較精度を容易に確保
し得る比較回路を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made under such a background, and an object of the present invention is to provide a comparison circuit which can easily ensure comparison accuracy.

【0006】本発明に係る比較回路は、CMOSインバ
ータの入出力を短絡し、かつ容量結合の入力側に所定の
リフレッシュ電圧を接続するのみで比較精度を確保する
ものである。
A comparison circuit according to the present invention secures comparison accuracy only by short-circuiting the input and output of a CMOS inverter and connecting a predetermined refresh voltage to the input side of capacitive coupling.

【0007】[0007]

【発明の実施の形態】本願出願人は比較精度の確保につ
いて長年研究を重ね、誤差要因の軽重を検討した。その
結果、寄生容量の影響とインバータの閾値のばらつきと
の相関関係を見出し、大部分の誤差要因を解消し得る構
成を発案した。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The applicant of the present invention has studied for a long time to ensure the accuracy of comparison, and has studied the significance of error factors. As a result, a correlation between the influence of the parasitic capacitance and the variation in the threshold value of the inverter was found, and a configuration capable of eliminating most error factors was proposed.

【0008】図1はこのような知見に基づいて開発され
た比較回路であり、複数のキャパシタンスCinおよび
C1〜Cnを並列し、かつその出力を統合してなる容量
結合CC1が構成され、これらキャパシタンス全体、配
線およびCMOSインバータのゲートにおける寄生容量
の総和をCpで示している。そして容量結合CC1の出
力にはCMOSインバータI1が接続されている。
FIG. 1 shows a comparison circuit developed on the basis of such knowledge. A plurality of capacitances Cin and C1 to Cn are arranged in parallel, and a capacitive coupling CC1 is formed by integrating the outputs thereof. The total sum of the parasitic capacitance of the whole, the wiring and the gate of the CMOS inverter is indicated by Cp. The output of the capacitive coupling CC1 is connected to the CMOS inverter I1.

【0009】CMOSインバータI1の入出力は第1リ
フレッシュスイッチSW1によって接続され、適宜これ
ら入出力を短絡し得るようになっている。各キャパシタ
ンスCin、C1〜Cnの入力には、第2リフレッシュ
スイッチSWin、SW21〜SW2nをそれぞれ介し
て、アナログ入力電圧またはリフレッシュ電圧Vref
が接続されている。
The input and output of the CMOS inverter I1 are connected by a first refresh switch SW1, so that these inputs and outputs can be short-circuited as appropriate. An analog input voltage or a refresh voltage Vref is input to the input of each of the capacitances Cin and C1 to Cn via the second refresh switches SWin and SW21 to SW2n, respectively.
Is connected.

【0010】第1リフレッシュスイッチSW1を閉成す
ると、CMOSインバータI1の入出力はCMOSイン
バータの閾値電圧Vtとなる。前記Vrefは通常この
閾値電圧Vtと等しく設定されるが、ここでは別個の符
号で示す。VtおよびVrefは、通常電源電圧Vdd
の1/2に設定される。また、Cinに入力されるアナ
ログ入力電圧をVin、C1〜Cnに入力される電圧を
V1〜Vnとし、SW1閉成時に、スイッチSWin、
SW21〜SW2nをVrefに接続すると、容量結合
および寄生容量には以下の電荷Qが蓄積される。
When the first refresh switch SW1 is closed, the input / output of the CMOS inverter I1 becomes the threshold voltage Vt of the CMOS inverter. Vref is usually set to be equal to the threshold voltage Vt, but is indicated by a different symbol here. Vt and Vref are equal to the normal power supply voltage Vdd
Is set to の. The analog input voltage input to Cin is Vin, the voltages input to C1 to Cn are V1 to Vn, and when SW1 is closed, the switches SWin,
When SW21 to SW2n are connected to Vref, the following charges Q are accumulated in the capacitive coupling and the parasitic capacitance.

【数2】 (Equation 2)

【0011】比較演算の実行に際しては、SW1を開放
し、SWin、SW21〜SW2nをVin、V1〜V
nにそれぞれ接続する。この比較演算では前記Vbが閾
値電圧Vtと等しくなる電圧が重要であり、このときの
電荷は、
When performing the comparison operation, SW1 is opened and SWin and SW21 to SW2n are changed to Vin, V1 to V1.
n. In this comparison operation, the voltage at which the Vb is equal to the threshold voltage Vt is important, and the charge at this time is:

【数3】 であり、電荷保存則より、式(2)、(3)の電荷Qは
等しい。故に、
(Equation 3) According to the law of conservation of charge, the charges Q in the equations (2) and (3) are equal. Therefore,

【数4】 であり、式(4)の両辺を整理して式(5)を得る。(Equation 4) And rearranging both sides of equation (4) yields equation (5).

【数5】 (Equation 5)

【0012】式(5)は、所定のV1〜Vnに対してV
inを入力したとき、VbがVtと等しくなる条件を示
し、これはVinに対する比較演算結果が電源電圧から
接地電圧に反転する電圧となる。式(5)においては、
前記寄生容量Cpおよび閾値Vtを含む項が消去されて
おり、これらの影響が完全に解消されたことが分かる。
またVb=VtとなるときのVinはVrefの値によ
って変化し、したがって比較条件をVrefの設定のみ
によって容易調整し得る。
Equation (5) shows that for a given V1 to Vn, V
When in is input, a condition is shown in which Vb becomes equal to Vt, which is a voltage at which the comparison operation result for Vin is inverted from the power supply voltage to the ground voltage. In equation (5),
The term including the parasitic capacitance Cp and the threshold Vt has been eliminated, and it can be seen that these effects have been completely eliminated.
In addition, Vin when Vb = Vt changes depending on the value of Vref, and therefore, the comparison condition can be easily adjusted only by setting Vref.

【0013】ここにVinは測定対象となるアナログ入
力電圧であり、V1〜Vnは比較のための基準電圧であ
る。これらV1〜Vnのうちの1つまたは複数の変更に
よっても上記比較条件を変更し得る。
Here, Vin is an analog input voltage to be measured, and V1 to Vn are reference voltages for comparison. The comparison condition can be changed by changing one or more of these V1 to Vn.

【0014】すなわち、リフレッシュスイッチの付加の
みによって容易に比較精度を確保し得る。さらに、Vb
=Vtとなる時点はCi/Cinによって設定可能であ
り、Vinと種々の電圧との比較が可能である。これら
キャパシタンスのVinに対する影響はCi/Cinと
いう比の形で与えられるので、各キャパシタンスの微少
な誤差の影響な無視でき、比較精度は良好である。なお
Ci/Cinを2のべき乗の値とすることにより、式
(6)に示すように、V1〜Vnに対して2進数の重み
付をした結果を比較基準とすることができ、
That is, comparison accuracy can be easily ensured only by adding a refresh switch. Further, Vb
The time point at which = Vt can be set by Ci / Cin, and Vin can be compared with various voltages. Since the influence of these capacitances on Vin is given in the form of the ratio Ci / Cin, the influence of minute errors in each capacitance can be neglected and the comparison accuracy is good. By making Ci / Cin a value of a power of 2, as shown in Expression (6), a result obtained by weighting V1 to Vn with a binary number can be used as a comparison reference.

【数6】 実用上有利である。(Equation 6) It is practically advantageous.

【0015】[0015]

【発明の効果】本発明に係る比較回路は、CMOSイン
バータの入出力を短絡し、かつ容量結合の入力側に所定
のリフレッシュ電圧を接続するのみで比較精度を確保す
るので、比較精度を容易に確保し得るという優れた効果
を有する。
The comparison circuit according to the present invention secures the comparison accuracy only by short-circuiting the input and output of the CMOS inverter and connecting a predetermined refresh voltage to the input side of the capacitive coupling. It has an excellent effect that it can be secured.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明に係る比較回路の一実施例を示す回路
図である。
FIG. 1 is a circuit diagram showing one embodiment of a comparison circuit according to the present invention.

【図2】 従来の比較回路を示す回路図である。FIG. 2 is a circuit diagram showing a conventional comparison circuit.

【符号の説明】[Explanation of symbols]

C1〜Cn、C21、C22...キャパシタンス CC1、CC2...容量結合 Cp...寄生容量 I1、I2...CMOSインバータ Vin、V1〜Vn、Vo...入力アナログ電圧 Vout... 出力電圧 Vb...容量結合出力電圧。 SW1...第1リフレッシュスイッチ SW21〜SW2n...第2リフレッシュスイッチ。 C1 to Cn, C21, C22. . . Capacitance CC1, CC2. . . Capacitive coupling Cp. . . Parasitic capacitances I1, I2. . . CMOS inverter Vin, V1 to Vn, Vo. . . Input analog voltage Vout. . . Output voltage Vb. . . Capacitively coupled output voltage. SW1. . . First refresh switches SW21 to SW2n. . . Second refresh switch.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 複数のキャパシタンスを並列し、かつそ
の出力を統合した容量結合と、この容量結合の出力に接
続されたCMOSインバータとを備え、前記各キャパシ
タンスに入力されたアナログ入力電圧の重み付加算結果
と前記CMOSインバータの閾値電圧の大小関係を、C
MOSインバータの出力に基づいて判定するための比較
回路において、前記CMOSインバータには、その入出
力を短絡させる第1リフレッシュスイッチが接続され、
前記容量結合における全てのキャパシタンスの入力に共
通のリフレッシュ電圧を接続する第2リフレッシュスイ
ッチが接続されたことを特徴とする比較回路。
1. A capacitive coupling in which a plurality of capacitances are connected in parallel and their outputs are integrated, and a CMOS inverter connected to an output of the capacitive coupling is provided, and a weight of an analog input voltage inputted to each of the capacitances is provided. The magnitude relationship between the addition result and the threshold voltage of the CMOS inverter is represented by C
In a comparison circuit for making a determination based on the output of a MOS inverter, a first refresh switch for short-circuiting the input and output of the CMOS inverter is connected to the CMOS inverter,
A comparison circuit, wherein a second refresh switch for connecting a common refresh voltage to inputs of all capacitances in the capacitive coupling is connected.
【請求項2】 リフレッシュ電圧は電源電圧の1/2で
あることを特徴とする請求項1記載の比較回路。
2. The comparison circuit according to claim 1, wherein the refresh voltage is a half of the power supply voltage.
【請求項3】 リフレッシュ電圧は可変であり、これに
よって大小関係の判定条件を変更し得るようになってい
る請求項1記載の比較回路。
3. The comparison circuit according to claim 1, wherein the refresh voltage is variable, so that the condition for determining the magnitude relation can be changed.
【請求項4】 アナログ入力電圧は1つまたは複数の測
定対象と、1つまたは複数の基準電圧とよりなり、1つ
または複数の基準電圧は可変であることを特徴とする請
求項1記載の比較回路。
4. The analog input voltage according to claim 1, wherein the analog input voltage comprises one or more measurement objects and one or more reference voltages, and the one or more reference voltages are variable. Comparison circuit.
JP18445797A 1997-06-25 1997-06-25 Comparator Pending JPH1117504A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18445797A JPH1117504A (en) 1997-06-25 1997-06-25 Comparator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18445797A JPH1117504A (en) 1997-06-25 1997-06-25 Comparator

Publications (1)

Publication Number Publication Date
JPH1117504A true JPH1117504A (en) 1999-01-22

Family

ID=16153494

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18445797A Pending JPH1117504A (en) 1997-06-25 1997-06-25 Comparator

Country Status (1)

Country Link
JP (1) JPH1117504A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI403730B (en) * 2010-12-22 2013-08-01 Inventec Corp Inspecting method for detecting by-pass capacitors

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI403730B (en) * 2010-12-22 2013-08-01 Inventec Corp Inspecting method for detecting by-pass capacitors

Similar Documents

Publication Publication Date Title
CN106130557A (en) A kind of comparator imbalance voltage self-correcting circuit
JPH0322103B2 (en)
JPH0456519A (en) A/d converter
JP3479506B2 (en) Weighted average calculation circuit
US6169440B1 (en) Offset-compensated switched-opamp integrator and filter
WO2016203522A1 (en) Successive approximation a/d converter
CN113295930B (en) Micro-watt level micro-capacitance measuring method and circuit
US20040217895A1 (en) Analog-digital conversion apparatus
JPH05111241A (en) Dc/dc converter
JPH0429246B2 (en)
JPH06168349A (en) Multiplying circuit
JPH1117504A (en) Comparator
KR101317227B1 (en) Touch sensor interface using passive sigma-delta modulator
JPH09186594A (en) Comparator, a/d converter, semiconductor device and voltage comparison method
JPS5829891B2 (en) A/D conversion circuit
JP3731334B2 (en) Modulator and oversampled A / D converter
CN111726113A (en) Capacitance detection circuit, integrated circuit, and capacitance detection method
JP3177636B2 (en) Pulse modulation operation circuit
US6911849B2 (en) Chopper type comparator having input voltage conversion circuit outputting converted input voltage lower than withstand voltage of inverter
JPH10322162A (en) Time constant adjusting circuit
JP2000114970A (en) Comparator circuit and analog-to-digital conversion circuit
JPH03190429A (en) D/a converter
JPH05243857A (en) Offset immune type switched capacitor amplifier circuit
JP3630796B2 (en) Switched capacitor arithmetic circuit
JPH01243623A (en) Signal level converter