JP2012114501A - Double integral a/d converter - Google Patents

Double integral a/d converter Download PDF

Info

Publication number
JP2012114501A
JP2012114501A JP2010259258A JP2010259258A JP2012114501A JP 2012114501 A JP2012114501 A JP 2012114501A JP 2010259258 A JP2010259258 A JP 2010259258A JP 2010259258 A JP2010259258 A JP 2010259258A JP 2012114501 A JP2012114501 A JP 2012114501A
Authority
JP
Japan
Prior art keywords
reference voltage
voltage
integrator
comparator
output
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.)
Granted
Application number
JP2010259258A
Other languages
Japanese (ja)
Other versions
JP5508233B2 (en
Inventor
Minoru Kumahara
稔 熊原
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.)
Panasonic Corp
Original Assignee
Panasonic Corp
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 Panasonic Corp filed Critical Panasonic Corp
Priority to JP2010259258A priority Critical patent/JP5508233B2/en
Publication of JP2012114501A publication Critical patent/JP2012114501A/en
Application granted granted Critical
Publication of JP5508233B2 publication Critical patent/JP5508233B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a double integral A/D converter that can convert a bipolar input voltage and can prevent an outlier from being output as a digital value.SOLUTION: The double integral A/D converter capable of converting a bipolar input voltage includes correction means 8 for resetting to zero a count value of a counter 4 for counting constant period clock pulses within a second integration period of integration of a first referential voltage Vhigher than the reference voltage Vor a second referential voltage Vlower than the reference voltage Vand outputting as a digital value the count value on the return of an output voltage Vof an integrator 1 to a reference voltage V, if the counter 4 overflows, while the output voltage Vof the integrator 1 is within a range V-Vbetween a first comparative reference voltage Vhigher than the reference voltage Vand a second comparative reference voltage Vlower than the reference voltage Vjust before the end of a first integration period of integration of an input voltage V.

Description

本発明は、二重積分型A/D変換器に関するものである。   The present invention relates to a double integration type A / D converter.

従来から、アナログ値をディジタル値に変換するA/D変換器の一種として、積分器を用いた二重積分型A/D変換器が知られている。また、二重積分型A/D変換器としては、両極性(バイポーラ)の入力電圧をディジタル値に変換することが可能なものが知られている(例えば、特許文献1)。   2. Description of the Related Art Conventionally, a double integration type A / D converter using an integrator is known as a kind of A / D converter that converts an analog value into a digital value. As a double integration type A / D converter, one capable of converting a bipolar (bipolar) input voltage into a digital value is known (for example, Patent Document 1).

両極性の入力電圧を変換可能な二重積分型A/D変換器では、抵抗とコンデンサと演算増幅器とを有する積分器が、変換対象の入力電圧を所定の第1積分期間だけ積分した後、入力電圧とは逆極性の参照電圧を積分する。ここで、積分器は、参照電圧を積分する第2積分期間においては出力電圧が基準電圧(例えば、0V)に戻るように動作する。なお、第2積分期間において積分器の出力電圧が基準電圧に戻るまでの時間は放電期間とも呼ばれている。   In a double integration type A / D converter capable of converting a bipolar input voltage, an integrator having a resistor, a capacitor, and an operational amplifier integrates the input voltage to be converted for a predetermined first integration period. Integrates a reference voltage that is opposite in polarity to the input voltage. Here, the integrator operates so that the output voltage returns to the reference voltage (for example, 0 V) in the second integration period in which the reference voltage is integrated. Note that the time until the output voltage of the integrator returns to the reference voltage in the second integration period is also called a discharge period.

また、両極性の入力電圧を変換可能な二重積分型A/D変換器では、積分器と、複数のアナログスイッチを具備し積分器に入力電圧と第1の参照電圧と第2の参照電圧とのいずれかを択一的に入力させる入力切替部と、積分器の出力電圧を基準電圧と比較するコンパレータ(比較器)と、入力切替部および積分器を制御する制御部と、コンパレータの出力に基づいて放電期間の間だけ一定周期のクロックパルスをカウントしカウント値をディジタル値として出力するカウンタとを備えた構成が一般的である。ここにおいて、制御部は、コンパレータの出力に基づいて積分器の第1積分期間の出力電圧の極性を判別し、その判別結果に基づいて、積分器に入力電圧とは逆極性の第1の参照電圧あるいは第2の参照電圧が入力されるように入力切替部を制御する。   In addition, a double integration type A / D converter capable of converting a bipolar input voltage includes an integrator and a plurality of analog switches, and the integrator includes an input voltage, a first reference voltage, and a second reference voltage. An input switching unit that selectively inputs one of the above, a comparator (comparator) that compares the output voltage of the integrator with a reference voltage, a control unit that controls the input switching unit and the integrator, and an output of the comparator And a counter that counts clock pulses with a constant period only during the discharge period and outputs the count value as a digital value. Here, the control unit determines the polarity of the output voltage in the first integration period of the integrator based on the output of the comparator, and based on the determination result, the first reference of the polarity opposite to the input voltage is input to the integrator. The input switching unit is controlled so that the voltage or the second reference voltage is input.

両極性の入力電圧を変換可能な二重積分型A/D変換器は、単極性(モノポーラ)の入力電圧のみを変換可能な二重積分型A/D変換器に比べて、積分器の出力電圧範囲が広いことによって入力電圧のダイナミックレンジを広くできるという利点や、積分器での放電期間の長さが短いことによって変換レートを速くできるという利点がある。   The double-integration A / D converter that can convert the input voltage of both polarities is the output of the integrator compared to the double-integration A / D converter that can convert only the unipolar (monopolar) input voltage. The wide voltage range has the advantage that the dynamic range of the input voltage can be widened, and the short discharge period in the integrator has the advantage that the conversion rate can be increased.

特開2002−271203号公報JP 2002-271203 A

本願発明者らは、両極性の入力電圧を変換可能な二重積分型A/D変換器において、積分器の入力電圧が基準電圧付近の場合に、ディジタル値として異常値が発生してしまうことがあるという知見を得た。   In the double integration type A / D converter capable of converting a bipolar input voltage, the inventors of the present application may generate an abnormal value as a digital value when the input voltage of the integrator is near the reference voltage. I got the knowledge that there is.

本発明は上記事由に鑑みて為されたものであり、その目的は、両極性の入力電圧を変換可能であり、且つ、ディジタル値として異常値が出力されるのを防止することが可能な二重積分型A/D変換器を提供することにある。   The present invention has been made in view of the above-described reasons, and an object of the present invention is to convert bipolar input voltages and to prevent output of abnormal values as digital values. An object of the present invention is to provide a double integration type A / D converter.

本発明の二重積分型A/D変換器は、両極性の入力電圧を変換可能な二重積分型A/D変換器であって、入力電圧を積分する第1積分期間が終了する直前において積分器の出力電圧が基準電圧よりも高い第1の比較基準電圧と前記基準電圧よりも低い第2の比較基準電圧との範囲内にあり、且つ、前記基準電圧よりも高い第1の参照電圧あるいは前記基準電圧よりも低い第2の参照電圧を積分する第2積分期間において一定周期のクロックパルスをカウントし前記積分器の出力電圧が前記基準電圧に戻るまでのカウント値をディジタル値として出力するカウンタがオーバーフローしたときに、前記カウンタのカウント値をゼロにリセットさせる補正手段を備えることを特徴とする。   The double integration type A / D converter of the present invention is a double integration type A / D converter capable of converting a bipolar input voltage, immediately before the end of the first integration period for integrating the input voltage. A first reference voltage in which the output voltage of the integrator is in a range between a first comparison reference voltage higher than a reference voltage and a second comparison reference voltage lower than the reference voltage and higher than the reference voltage. Alternatively, in a second integration period in which a second reference voltage lower than the reference voltage is integrated, clock pulses having a constant period are counted, and a count value until the output voltage of the integrator returns to the reference voltage is output as a digital value. When the counter overflows, there is provided correction means for resetting the count value of the counter to zero.

この二重積分型A/D変換器において、複数のアナログスイッチを具備し前記積分器に前記入力電圧と前記第1の参照電圧と前記第2の参照電圧とのいずれかを択一的に入力させる入力切替部と、前記積分器の出力電圧を前記基準電圧と比較するコンパレータと、前記第1積分期間が終了する直前において前記積分器の出力電圧が前記範囲内にあるか否かを判別するウィンドウコンパレータと、少なくとも前記入力切替部および前記カウンタを制御する制御部とを備え、前記制御部は、前記第1積分期間が終了した直後における前記コンパレータの出力に基づいて前記積分器の出力電圧の前記基準電圧に対する大小に基づく極性を判定し判定結果の極性に応じて前記入力切替部を制御する機能と、前記第2積分期間の開始後に前記第2積分期間において前記コンパレータの出力が反転したときに前記カウンタのカウント動作を停止させる機能と、前記カウンタのカウント値に前記判定結果の極性とは逆の極性を表す符号を付加させる機能とを有し、前記補正手段は、前記ウィンドウコンパレータにより前記積分器の出力電圧が前記範囲内にあると判定され、且つ、前記カウンタのオーバーフローフラグがセットされているときに、前記カウンタのカウント値をゼロにリセットさせることが好ましい。   In the double integration type A / D converter, a plurality of analog switches are provided, and any one of the input voltage, the first reference voltage, and the second reference voltage is input to the integrator. An input switching unit to be used; a comparator that compares the output voltage of the integrator with the reference voltage; and whether or not the output voltage of the integrator is within the range immediately before the end of the first integration period. A window comparator, and a control unit that controls at least the input switching unit and the counter, wherein the control unit is configured to adjust an output voltage of the integrator based on an output of the comparator immediately after the first integration period ends. A function of determining the polarity based on the magnitude of the reference voltage and controlling the input switching unit according to the polarity of the determination result; and the second integration period after the start of the second integration period A function of stopping the counting operation of the counter when the output of the comparator is inverted, and a function of adding a sign representing a polarity opposite to the polarity of the determination result to the count value of the counter, The correction means resets the count value of the counter to zero when the output voltage of the integrator is determined to be within the range by the window comparator and the overflow flag of the counter is set. Is preferred.

この二重積分型A/D変換器において、前記ウィンドウコンパレータは、前記積分器の出力電圧と前記第1の比較基準電圧とを比較する第1のコンパレータと、前記積分器の出力電圧と前記第2の比較基準電圧とを比較する第2のコンパレータとを有することが好ましい。   In the double integration type A / D converter, the window comparator includes a first comparator that compares an output voltage of the integrator with the first comparison reference voltage, an output voltage of the integrator, and the first comparator. It is preferable to have a second comparator that compares the two comparison reference voltages.

この二重積分型A/D変換器において、前記コンパレータの基準電圧入力端への前記基準電圧の入力をオンオフする第1のアナログスイッチを備え、前記ウィンドウコンパレータは、前記コンパレータと、前記コンパレータの前記基準電圧入力端への前記第1の比較基準電圧の入力をオンオフする第2のアナログスイッチと、前記コンパレータの前記基準電圧入力端への前記第2の比較基準電圧の入力をオンオフする第3のアナログスイッチとを有し、前記制御部は、前記ウィンドウコンパレータを制御する機能を有し、前記第1〜前記第3のアナログスイッチを択一的にオンさせることが好ましい。   The double integration type A / D converter includes a first analog switch for turning on and off the input of the reference voltage to a reference voltage input terminal of the comparator, and the window comparator includes the comparator and the comparator. A second analog switch for turning on / off the input of the first comparison reference voltage to the reference voltage input terminal, and a third analog switch for turning on / off the input of the second comparison reference voltage to the reference voltage input terminal of the comparator It is preferable that the control unit has a function of controlling the window comparator and alternatively turns on the first to third analog switches.

この二重積分型A/D変換器において、前記制御部は、前記コンパレータの動作期間において、前記第2のアナログスイッチ、前記第3のアナログスイッチ、前記第1のアナログスイッチの順で前記第1〜前記第3のアナログスイッチを択一的にオンさせる、もしくは、前記第3のアナログスイッチ、前記第2のアナログスイッチ、前記第1のアナログスイッチの順で前記第1〜前記第3のアナログスイッチを択一的にオンさせることが好ましい。   In the double integration type A / D converter, the control unit includes the first analog switch, the third analog switch, and the first analog switch in order of the first analog switch during an operation period of the comparator. The third analog switch is turned on alternatively, or the first analog switch, the second analog switch, and the first analog switch in this order. Is preferably turned on alternatively.

この二重積分型A/D変換器において、前記第1の比較基準電圧として前記第1の参照電圧を兼用し、前記第2の比較基準電圧として前記第2の参照電圧を兼用することが好ましい。   In the double integration type A / D converter, it is preferable that the first reference voltage is also used as the first comparison reference voltage and the second reference voltage is also used as the second comparison reference voltage. .

この二重積分型A/D変換器において、前記第1積分期間をT1、前記第1積分期間の開始から前記第1積分期間が終了する前記直前までの時間をT12とするとき、前記第1の比較基準電圧および前記第2の比較基準電圧それぞれの前記基準電圧との電圧差は、予め設定された前記カウンタの最大出力値に対応する前記積分器の出力電圧の(T12/T1)倍以下に設定されてなることが好ましい。   In the double integration type A / D converter, when the first integration period is T1, and the time from the start of the first integration period to just before the end of the first integration period is T12, the first integration period The difference between the reference voltage of each of the comparison reference voltage and the reference voltage of the second comparison reference voltage is not more than (T12 / T1) times the output voltage of the integrator corresponding to the preset maximum output value of the counter. It is preferable that it is set.

この二重積分型A/D変換器において、前記第1の比較基準電圧および前記第2の比較基準電圧は、前記基準電圧から生成されてなることが好ましい。   In the double integration type A / D converter, it is preferable that the first comparison reference voltage and the second comparison reference voltage are generated from the reference voltage.

本発明の二重積分型A/D変換器においては、両極性の入力電圧を変換可能であり、且つ、ディジタル値として異常値が出力されるのを防止することが可能となる。   In the double integration type A / D converter of the present invention, it is possible to convert bipolar input voltages and prevent an abnormal value from being output as a digital value.

実施形態1の二重積分型A/D変換器の回路図である。FIG. 3 is a circuit diagram of the double integration A / D converter according to the first embodiment. 同上の動作説明図である。It is operation | movement explanatory drawing same as the above. 同上の動作説明図である。It is operation | movement explanatory drawing same as the above. 実施形態2の二重積分型A/D変換器の回路図である。6 is a circuit diagram of a double integration type A / D converter of Embodiment 2. FIG. 同上の動作説明図である。It is operation | movement explanatory drawing same as the above.

(実施形態1)
以下、本実施形態の二重積分型A/D変換器について図1〜図3に基づいて説明する。
(Embodiment 1)
Hereinafter, the double integration type A / D converter of this embodiment will be described with reference to FIGS.

本実施形態の二重積分型A/D変換器は、両極性(バイポーラ)のアナログの入力電圧Vinをディジタル値に変換することが可能なものである。 Double integral type A / D converter of the present embodiment is capable of converting both polarities of input voltage V in analog (bipolar) into a digital value.

本実施形態の二重積分型A/D変換器は、積分器1と、積分器1への入力を切り替える入力切替部2とを備えている。また、二重積分型A/D変換器は、積分器1の出力電圧Voutを基準電圧VAGNDと比較するコンパレータ3と、一定周期のクロックパルスをカウントしカウント値をディジタル値として出力するカウンタ4とを備えている。さらに、二重積分型A/D変換器は、積分器1、入力切替部2およびカウンタ4それぞれを制御する機能を有する制御部5とを備えている。なお、制御部5は、適宜のプログラムを搭載したマイクロコンピュータなどにより構成してもよいし、タイミングコントロール回路や、それぞれ所望の機能を実現するように設計した複数の回路などの組み合わせにより構成してもよい。 The double integration type A / D converter of the present embodiment includes an integrator 1 and an input switching unit 2 that switches an input to the integrator 1. The double integration type A / D converter includes a comparator 3 that compares the output voltage V out of the integrator 1 with a reference voltage V AGND, and a counter that counts clock pulses with a constant period and outputs the count value as a digital value. 4 is provided. Further, the double integration type A / D converter includes a control unit 5 having a function of controlling the integrator 1, the input switching unit 2, and the counter 4. The control unit 5 may be configured by a microcomputer equipped with an appropriate program, or may be configured by a combination of a timing control circuit and a plurality of circuits each designed to realize a desired function. Also good.

積分器1は、演算増幅器OP1を備え、演算増幅器OP1の反転入力端子に抵抗(入力抵抗)Rが接続されるとともに、演算増幅器OP1の反転入力端子と出力端子との間にコンデンサCが接続されている。ここで、積分器1は、演算増幅器OP1の非反転入力端子の電位が、基準電圧VAGNDに設定されるように構成されている。要するに、積分器1は、演算増幅器OP1と抵抗RとコンデンサCとを用いた反転積分器の構成となっており、抵抗RとコンデンサCとの直列回路を有している。 The integrator 1 includes an operational amplifier OP1, a resistor (input resistance) R is connected to the inverting input terminal of the operational amplifier OP1, and a capacitor C is connected between the inverting input terminal and the output terminal of the operational amplifier OP1. ing. Here, the integrator 1 is configured such that the potential of the non-inverting input terminal of the operational amplifier OP1 is set to the reference voltage V AGND . In short, the integrator 1 has a configuration of an inverting integrator using the operational amplifier OP1, the resistor R, and the capacitor C, and has a series circuit of the resistor R and the capacitor C.

これに対し、入力切替部2は、積分器1に入力電圧Vinと当該入力電圧Vinとは逆極性の第1の参照電圧VREF+あるいは第2の参照電圧VREF-とのいずれかを択一的に入力させることができる構成となっている。ここで、第1の参照電圧VREF+は、基準電圧VAGNDよりも所定電圧Vrefだけ高い電圧であって、VREF+=VAGND+Vrefであり、第2の参照電圧VREF-は、基準電圧VAGNDよりも所定電圧Vrefだけ低い電圧であり、VREF-=VAGND−Vrefである。 In contrast, the input switching section 2, either the input voltage V in and the first opposite polarity from that of the input voltage V in of the reference voltage V REF + or the second reference voltage V REF- the integrator 1 It has a configuration that can be alternatively input. Here, the first reference voltage V REF + is a voltage higher than the reference voltage V AGND by a predetermined voltage V ref , and is V REF + = V AGND + V ref , and the second reference voltage V REF− is the reference voltage The voltage is lower than the voltage V AGND by a predetermined voltage V ref , and V REF− = V AGND −V ref .

入力切替部2は、入力電圧Vinが入力される入力端子(図示せず)と積分器1との間に設けられたアナログスイッチSW1と、第1の参照電圧VREF+が入力される第1参照電圧端子(図示せず)と積分器1との間に設けられたアナログスイッチSW2と、第2の参照電圧VREF-が入力される第2参照電圧端子(図示せず)と積分器1との間に設けられたアナログスイッチSW3とを備えている。要するに、入力切替部2は、複数のアナログスイッチSW1〜SW3を具備している。 Input switching unit 2, the first input voltage V in is an analog switch SW1 provided between the input terminal of the input (not shown) and the integrator 1, the first reference voltage V REF + is input An analog switch SW2 provided between a reference voltage terminal (not shown) and the integrator 1, a second reference voltage terminal (not shown) to which the second reference voltage V REF− is input, and the integrator 1 And an analog switch SW3 provided between the two. In short, the input switching unit 2 includes a plurality of analog switches SW1 to SW3.

上述の入力端子に入力される入力電圧Vinとしては、例えば、図示しないセンサ(例えば、赤外線センサなど)の出力電圧をプリアンプ(図示せず)などにより増幅して得られた電圧信号がある。また、演算増幅器OP1の非反転入力端子が接続される基準電圧端子には、基準電圧VAGNDを出力する基準電圧源(図示せず)を接続する。また、上述の第1参照電圧端子には、第1の参照電圧VREF+を出力する第1参照電圧源(図示せず)を接続し、上述の第2参照電圧端子には、第2の参照電圧VREF-を出力する第2参照電圧源(図示せず)を接続する。ここで、第1の参照電圧VREF+および第2の参照電圧VREF-は、基準電圧VAGNDから生成されていることが好ましい。すなわち、第1の参照電圧源、第2の参照電圧源は、基準電圧源から出力される基準電圧VAGNDから第1の参照電圧VREF+、第2の参照電圧VREF-を生成するものが好ましい。基準電圧源としては、例えば、基準電圧発生回路を用いることが好ましい。 The input voltage V in applied to the input terminal of the above, for example, a sensor (not shown) (e.g., an infrared sensor, etc.) (not shown) the output voltage of the preamplifier is a voltage signal obtained by amplifying the like. Further, a reference voltage source (not shown) that outputs a reference voltage V AGND is connected to a reference voltage terminal to which a non-inverting input terminal of the operational amplifier OP1 is connected. Further, a first reference voltage source (not shown) that outputs a first reference voltage V REF + is connected to the first reference voltage terminal, and a second reference is connected to the second reference voltage terminal. A second reference voltage source (not shown) that outputs the voltage V REF− is connected. Here, it is preferable that the first reference voltage V REF + and the second reference voltage V REF− are generated from the reference voltage V AGND . That is, the first reference voltage source and the second reference voltage source generate the first reference voltage V REF + and the second reference voltage V REF− from the reference voltage V AGND output from the reference voltage source. preferable. For example, a reference voltage generation circuit is preferably used as the reference voltage source.

上述の積分器1は、入力電圧Vinを第1積分期間T1(図2、図3参照)だけ積分した後に、基準電圧VAGNDに対して入力電圧Vinとは逆極性の第1の参照電圧VREF+あるいは第2の参照電圧VREF-を積分する。ここで、積分器1は、第1の参照電圧VREF+あるいは第2の参照電圧VREF-を積分する第2積分期間T2(図2、図3参照)に、コンデンサCの電荷が放電される。 Integrator 1 described above, the input voltage V in the first integration period T1 (see FIGS. 2 and 3) after integration by the first reference opposite polarity to the input voltage V in the reference voltage V AGND The voltage V REF + or the second reference voltage V REF− is integrated. Here, the integrator 1 discharges the capacitor C during the second integration period T2 (see FIGS. 2 and 3) in which the first reference voltage V REF + or the second reference voltage V REF− is integrated. .

制御部5は、第1積分期間T1には、演算増幅器OP1の反転入力端子に抵抗Rを介して入力電圧Vinが入力され、第2積分期間T2には、演算増幅器OP1の反転入力端子に抵抗Rを介して第1の参照電圧VREF+あるいは第2の参照電圧VREF-が入力されるように入力切替部2を制御する。ここにおいて、制御部5は、アナログスイッチSW1〜SW3のオンオフを制御する制御信号S1〜S3を出力する。この制御部5は、第1積分期間T1が終了した直後におけるコンパレータ3の出力V3に基づいて積分器1の出力電圧Voutの基準電圧VAGNDに対する大小に基づく極性を判定し判定結果の極性に応じて入力切替部2を制御する機能を有している。ここで、制御部5は、コンパレータ3の出力V3に基づいて積分器1の出力電圧Voutの極性を判定する。具体的には、制御部5は、第1積分期間T1が終了した直後において、コンパレータ3の出力V3がHレベルの場合には積分器1の出力電圧Voutをプラス(入力電圧Vinの極性をマイナス)と判定し、コンパレータ3の出力V3がLレベルの場合には積分器1の出力電圧Voutをマイナス(入力電圧Vinの極性をプラス)と判定する。そして、制御部5は、積分器1の出力電圧Voutについての極性の判定結果に応じて、積分器1に第1の参照電圧VREF+と第2の参照電圧VREF-とのいずれか一方が入力されるように入力切替部2を制御する。要するに、制御部5は、第1積分期間T1が終了した直後において、コンパレータ3の出力V3がHレベルの場合には積分器1に第1の参照電圧VREF+を入力させ、コンパレータ3の出力V3がLレベルの場合には積分器1に第2の参照電圧VREF-を入力させる。 Control unit 5, the first integration period T1, the input voltage V in via the resistor R to the inverting input terminal of the operational amplifier OP1 is inputted to the second integration period T2, the inverting input terminal of the operational amplifier OP1 The input switching unit 2 is controlled so that the first reference voltage V REF + or the second reference voltage V REF− is input via the resistor R. Here, the control unit 5 outputs control signals S1 to S3 for controlling on / off of the analog switches SW1 to SW3. The control unit 5 determines the polarity based on the magnitude of the output voltage V out of the integrator 1 with respect to the reference voltage V AGND based on the output V 3 of the comparator 3 immediately after the end of the first integration period T1, and the polarity of the determination result The input switching unit 2 is controlled according to the function. Here, the control unit 5 determines the polarity of the output voltage V out of the integrator 1 based on the output V 3 of the comparator 3. Specifically, the control unit 5, immediately after the first integration period T1 is finished, the output voltage V out of the integrator 1 when the output V 3 of the comparator 3 is at the H level plus (the input voltage V in determining the polarity negative) and determines the polarity of the output voltage V out of the integrator 1 minus (the input voltage V in when the output V 3 of the comparator 3 is at the L level plus) and. Then, the control unit 5 applies either one of the first reference voltage V REF + and the second reference voltage V REF− to the integrator 1 according to the polarity determination result for the output voltage V out of the integrator 1. Is controlled so as to be input. In short, the control unit 5 causes the integrator 1 to input the first reference voltage V REF + when the output V 3 of the comparator 3 is at the H level immediately after the end of the first integration period T 1, and outputs the output of the comparator 3. When V 3 is at L level, the second reference voltage V REF− is input to the integrator 1.

これにより、積分器1の第1積分期間T1には、入力電圧VinとコンデンサCの容量値と抵抗Rの抵抗値とで決まる第1の電流が流れてコンデンサCが充電され、第2積分期間T2には、第1の参照電圧VREF+あるいは第2の参照電圧VREF-とコンデンサCの容量値と抵抗Rの抵抗値とで決まる第2の電流が流れてコンデンサCの電荷が放電される。 Thus, the first integration period T1 of the integrator 1, the capacitor C is charged first current determined by the capacitance value of the input voltage V in a capacitor C and the resistance value of the resistor R flows, the second integration In the period T2, a second current determined by the first reference voltage V REF + or the second reference voltage V REF− , the capacitance value of the capacitor C, and the resistance value of the resistor R flows, and the charge of the capacitor C is discharged. The

また、積分器1は、コンデンサCに、リセット用のアナログスイッチSW4が並列接続されている。したがって、積分器1は、リセット用のアナログスイッチSW4をオンさせることにより、コンデンサCの残留電荷を放電させるリセット期間T0(図3参照)を設けることができる。このアナログスイッチSW4のオンオフは、上述の制御部5からの制御信号S4によって制御される。カウンタ4のカウント値は、第2積分期間T2の後の読み出し期間T3(図2、図3参照)に読み出される。   In the integrator 1, a reset analog switch SW4 is connected in parallel to the capacitor C. Therefore, the integrator 1 can provide a reset period T0 (see FIG. 3) for discharging the residual charge of the capacitor C by turning on the reset analog switch SW4. On / off of the analog switch SW4 is controlled by the control signal S4 from the control unit 5 described above. The count value of the counter 4 is read in a reading period T3 (see FIGS. 2 and 3) after the second integration period T2.

制御部5は、リセット期間T0、第1積分期間T1、第2積分期間T2、読み出し期間T3がサイクリックに繰り返されるように、各アナログスイッチSW1〜SW4のオンオフのタイミングを制御する。したがって、本実施形態の二重積分型A/D変換器の変換レートは、リセット期間T0と第1積分期間T1と第2積分期間T2と読み出し期間T3との合計の時間により決まる。各アナログスイッチSW1〜SW4は、nチャネルMOSトランジスタにより構成することが好ましく、これにより、pチャネルMOSトランジスタにより構成する場合に比べて、オン抵抗を低減できるとともに、高速動作が可能となる。   The controller 5 controls the on / off timings of the analog switches SW1 to SW4 so that the reset period T0, the first integration period T1, the second integration period T2, and the readout period T3 are cyclically repeated. Therefore, the conversion rate of the double integration type A / D converter of this embodiment is determined by the total time of the reset period T0, the first integration period T1, the second integration period T2, and the readout period T3. Each of the analog switches SW1 to SW4 is preferably configured by an n-channel MOS transistor, which can reduce the on-resistance and enable high-speed operation as compared with the case where the analog switches SW1 to SW4 are configured by a p-channel MOS transistor.

上述のカウンタ4は、一定周期のクロックパルスを出力するクロックパルス発生部6からのクロックパルスをカウントする。このカウンタ4は、積分器1のリセット期間T0に、制御部5からのリセット信号によってリセットされ、制御部5からのカウント開始信号によって積分器1の第2積分期間T2の開始と同時に動作(カウント動作)が開始され、その後にコンパレータ3の出力V3が変化(反転)したときに動作(カウント動作)が終了される。したがって、カウンタ4は、第2積分期間T2において積分器1の出力電圧Voutが基準電圧VAGNDに戻るまでの放電期間T4のみクロックパルスをカウントしカウント値をディジタル値として出力する。ここにおいて、制御部5は、カウンタ4のカウント値に判定結果の極性を表す符号を付加させる機能を有している。具体的には、例えば、カウンタ4のカウント値に極性を表す符号(+、−)を付加する符号付加回路をカウンタ4の後段に設け、制御部5によって符号付加回路を制御することでカウント値に符号を付加させればよい。 The above-described counter 4 counts clock pulses from the clock pulse generator 6 that outputs clock pulses having a constant period. The counter 4 is reset by a reset signal from the control unit 5 during the reset period T0 of the integrator 1, and operates simultaneously with the start of the second integration period T2 of the integrator 1 (counting) by the count start signal from the control unit 5. The operation (counting operation) is ended when the output V 3 of the comparator 3 changes (inverts) thereafter. Therefore, the counter 4 counts clock pulses only during the discharge period T4 until the output voltage Vout of the integrator 1 returns to the reference voltage V AGND in the second integration period T2, and outputs the count value as a digital value. Here, the control unit 5 has a function of adding a sign representing the polarity of the determination result to the count value of the counter 4. Specifically, for example, a sign addition circuit for adding a sign (+, −) indicating polarity to the count value of the counter 4 is provided in the subsequent stage of the counter 4, and the count value is controlled by the control unit 5 controlling the sign addition circuit. A code may be added to.

積分器1の出力電圧Voutの絶対値は、第1積分期間T1においては入力電圧Vinの値に比例した傾きで増加し、第2積分期間T2においては一定の傾きで減少するので、放電期間T4の長さは、入力電圧Vinに比例する。さらに説明すれば、第1積分期間T1の終了時における積分器1の出力電圧VoutをVaとすると、
Va=−(T1・Vin)/(C・R) (式1)
となる。したがって、第1積分期間T1は、
T1=(C・R)・Va/Vin (式2)
となる。一方、放電期間T4は、
T4=(C・R)・Va/Vref (式3)
となる。そして、式2および式3から、
in=(T4/T1)・Vref
となる。したがって、カウンタ4のカウント値は、入力電圧Vinに比例した値となる。なお、積分器1の第2積分期間T2は、積分器1のコンデンサCの容量値と抵抗Rの抵抗値とで決まる時定数に基づいて決定すればよい。
The absolute value of the output voltage V out of the integrator 1 increases with a slope proportional to the value of the input voltage Vin in the first integration period T1, and decreases with a constant slope in the second integration period T2, so that the discharge the length of the period T4 is proportional to the input voltage V in. More specifically, when the output voltage Vout of the integrator 1 at the end of the first integration period T1 is Va,
Va = − (T1 · V in ) / (C · R) (Formula 1)
It becomes. Therefore, the first integration period T1 is
T1 = (C · R) · Va / V in ( Equation 2)
It becomes. On the other hand, the discharge period T4 is
T4 = (CR) Va / Vref (Formula 3)
It becomes. From Equation 2 and Equation 3,
V in = (T4 / T1) · V ref
It becomes. Accordingly, the count value of the counter 4, a value proportional to the input voltage V in. The second integration period T2 of the integrator 1 may be determined based on a time constant determined by the capacitance value of the capacitor C of the integrator 1 and the resistance value of the resistor R.

カウンタ4としては、12ビットのカウンタを用いている。ここで、カウンタ4は、カウント値がオーバーフローしたとき(カウント値がFFFhで飽和したとき)に、オーバーフローフラグがセットされる(Hレベルとなる)。なお、カウンタ4は、12ビットのカウンタに限らず、例えば、8ビットのカウンタや16ビットのカウンタなどを用いてもよい。また、クロックパルス発生部6は、例えば、発振器やクロックパルス発生回路などにより構成すればよい。   As the counter 4, a 12-bit counter is used. Here, when the count value overflows (when the count value is saturated with FFFh), the counter 4 has an overflow flag set (becomes H level). The counter 4 is not limited to a 12-bit counter, and for example, an 8-bit counter or a 16-bit counter may be used. Further, the clock pulse generation unit 6 may be constituted by, for example, an oscillator or a clock pulse generation circuit.

積分器1の出力電圧Voutのフルスケールは、二重積分型A/D変換器から出力(本実施形態では、カウンタ4から出力)されるディジタル値のフルスケール(最大出力値)に対応する積分器1の出力電圧幅である。 The full scale of the output voltage V out of the integrator 1 corresponds to the full scale (maximum output value) of the digital value output from the double integration type A / D converter (in this embodiment, output from the counter 4). This is the output voltage width of the integrator 1.

本実施形態の二重積分型A/D変換器は、第1積分期間T1が終了する直前において積分器1の出力電圧Voutが基準電圧VAGNDよりも高い第1の比較基準電圧VHと基準電圧VAGNDよりも低い第2の比較基準電圧VLとの範囲(以下、規定範囲と称する)VH〜VL内にあり、且つ、第2積分期間T2において一定周期のクロックパルスをカウントしカウント値をディジタル値として出力するカウンタ4がオーバーフローしたときに、カウンタ4のカウント値をゼロにリセットさせる補正手段8を備えている。この補正手段8については後述する。 Double integral type A / D converter of this embodiment includes a first comparison reference voltage V H higher than the output voltage V out and the reference voltage V AGND of the integrator 1 immediately before the first integration period T1 ends range of the reference voltage V AGND second comparison reference voltage V L is lower than (hereinafter, referred to as the specified range) is within V H ~V L, and the count of clock pulses with a constant period in the second integration period T2 When the counter 4 that outputs the count value as a digital value overflows, the correction means 8 is provided for resetting the count value of the counter 4 to zero. The correction means 8 will be described later.

ところで、本願発明者は、本実施形態の二重積分型A/D変換器において制御部5が上述の補正機能を備えていない基本例について研究開発を行っている際に下記の知見を得た。   By the way, the inventor of the present application has obtained the following knowledge when conducting research and development on a basic example in which the control unit 5 does not have the above-described correction function in the double integration type A / D converter of this embodiment. .

物体の温度を検出する赤外線センサの出力電圧をプリアンプにより増幅して基本例の二重積分型A/D変換器の入力電圧Vinとし、当該基本例の二重積分型A/D変換器から出力されるディジタル値を用いて適宜の演算式による演算で物体の温度を求めた場合に、異常値が発生してしまうことがあるという知見を得た。この演算により求めた温度が異常値であるということは、二重積分型A/D変換器により得られたディジタル値が異常値であるということになる。 An input voltage V in of the double integral type A / D converter basic example the output voltage of the infrared sensor for detecting the temperature of an object is amplified by a preamplifier, a double integral type A / D converter of the basic example It has been found that an abnormal value may occur when the temperature of an object is obtained by calculation using an appropriate arithmetic expression using the output digital value. That the temperature obtained by this calculation is an abnormal value means that the digital value obtained by the double integration type A / D converter is an abnormal value.

ここで、赤外線センサとしては物体の温度の上昇に伴い出力電圧が低下する負特性を有するサーモパイルを感温部として備えたものを用いた。そして、本願発明者は、物体としての黒体の温度を連続的に変化させた場合に、黒体の温度と上述の演算式に求められた温度から換算した赤外線センサの出力電圧との関係を調べたところ、換算した赤外線センサの出力電圧に値飛びが発生してしまうことがあるという知見を得た。すなわち、換算した赤外線センサの出力電圧が、黒体の温度の連続的な変化に伴って連続的に変化している途中で値飛びを起こしてしまうことがあるという知見を得た。   Here, as the infrared sensor, a sensor provided with a thermopile having a negative characteristic in which the output voltage decreases as the temperature of the object rises is used as the temperature sensing unit. And when this inventor changes the temperature of the black body as an object continuously, the relationship between the temperature of a black body and the output voltage of the infrared sensor converted from the temperature calculated | required by the said computing equation is shown. As a result of the investigation, it was found that there is a case where a value jump may occur in the output voltage of the converted infrared sensor. That is, it has been found that the converted output voltage of the infrared sensor may cause a jump in the middle of the continuous change of the temperature of the black body.

本願発明者は、さらに、実験を重ねて鋭意研究を行い、入力電圧Vinの値を種々変更して入力電圧Vinの値とカウンタ4のカウント値とを対比したところ、異常値が発生したのは、積分器1の入力電圧Vinが基準電圧VAGND付近であり、且つ、第2積分期間T2にカウンタ4のオーバーフローフラグがセットされていた場合である、という知見を得た。また、積分器1の出力電圧Vout、基準電圧VAGND、コンパレータ3の出力V3、それぞれの波形をオシロスコープによって計測した結果から、積分器1の入力電圧Vinが基準電圧VAGND付近の場合には、積分器1の出力電圧Vout、コンパレータ3の出力V3それぞれの波形にチャタリングが生じており、第2積分期間T2において、積分器1の出力電圧Voutが、第1積分期間T1の終了時における積分器1の出力電圧Voutの平均値と同じ極性で時間経過とともに基準電圧VAGNDから離れる方向へ変化する現象が起こることがあるという知見を得た。しかしながら、積分器1の出力電圧Voutと基準電圧VAGNDとは熱雑音によってランダムに変動するので、チャタリングがなくても熱雑音に起因して同様の現象が起こる可能性があると推測される。そこで、本願発明者は、異常値が発生する原因について、制御部5において積分器1の出力電圧Voutの極性が誤判定され(言い換えれば、積分器1の入力電圧Vinの極性が誤判定され)、カウンタ4のカウント値がオーバーフローしてしまう現象によるものと推定した。 The inventors have further conducted extensive studies and repeated experiments, the value of the input voltage V in with various changes were comparing the count value of the value and the counter 4 of the input voltage V in, the abnormal value occurs the input voltage V in of the integrator 1 is near the reference voltage V AGND, and the overflow flag counter 4 to the second integration period T2 is if it was set to obtain a finding that. Further, the output voltage V out of the integrator 1, the reference voltage V AGND, output V 3 of the comparator 3, the results obtained by measuring the respective waveform by an oscilloscope, when the input voltage V in of the integrator 1 is near the reference voltage V AGND the output voltage V out of the integrator 1, the output V 3 chattering has occurred in each of the waveform of the comparator 3, the second integration period T2, the output voltage V out of the integrator 1 is, first integration period T1 It was found that a phenomenon may occur in which the output voltage V out of the integrator 1 has the same polarity as that of the average value at the end of the period and changes from the reference voltage V AGND with time. However, since the output voltage V out of the integrator 1 and the reference voltage V AGND fluctuate randomly due to thermal noise, it is assumed that the same phenomenon may occur due to thermal noise even without chattering. . Therefore, the present inventor has for the cause of abnormal value occurs, in other words the control unit 5 is determined polarity of the output voltage V out of the integrator 1 is false (the polarity of the input voltage V in of the integrator 1 misjudgment It was estimated that this was due to a phenomenon that the count value of the counter 4 overflowed.

これに対して、本実施形態の二重積分型A/D変換器は、第1積分期間T1が終了する直前において積分器1の出力電圧Voutが上記規定範囲VH〜VL内にあるか否かを判別するウィンドウコンパレータ7と、上述の補正手段8とを設けてある。これにより、本実施形態の二重積分型A/D変換器では、補正手段8が、ウィンドウコンパレータ7により積分器1の出力電圧Voutが上記規定範囲VH〜VL内にあると判定され、且つ、カウンタ4のオーバーフローフラグがセットされているときに、カウンタ4のカウント値をゼロにリセットさせる。つまり、補正手段8は、読み出し期間T3に、カウンタ4にリセット信号を与えることでカウンタ4をリセットさせてカウンタ4のカウント値をゼロとして出力させる。 In contrast, in the double integration type A / D converter of the present embodiment, the output voltage Vout of the integrator 1 is within the specified range VH to VL immediately before the end of the first integration period T1. A window comparator 7 for determining whether or not and the correction means 8 described above are provided. Thereby, in the double integration type A / D converter of the present embodiment, the correcting means 8 determines that the output voltage V out of the integrator 1 is within the specified range V H to V L by the window comparator 7. When the overflow flag of the counter 4 is set, the count value of the counter 4 is reset to zero. That is, the correction unit 8 resets the counter 4 by giving a reset signal to the counter 4 during the readout period T3, and outputs the count value of the counter 4 as zero.

ウィンドウコンパレータ7は、制御部5からのトリガ信号の立ち上がりにより動作開始のタイミングが制御され、積分器1の第1積分期間T1が終了する直前において積分器1の出力電圧Voutが上記規定範囲VH〜VL内にあるか否かを判別する。 The window comparator 7 has an operation start timing controlled by the rising edge of the trigger signal from the control unit 5, and the output voltage V out of the integrator 1 is set to the specified range V just before the end of the first integration period T 1 of the integrator 1. It is determined whether it is within H to V L.

ウィンドウコンパレータ7は、積分器1の出力電圧Voutと第1の比較基準電圧VHとを比較する第1のコンパレータ71と、積分器1の出力電圧Voutと第2の比較基準電圧VLとを比較する第2のコンパレータ72とを備えている。また、ウィンドウコンパレータ7は、第1のコンパレータ71の出力V71と第2のコンパレータ72の出力V72とを入力とする論理回路73を備えている。ここで、論路回路73は、下記表1の真理値表に示すように第1のコンパレータ71の出力V71がLレベル、第2のコンパレータ72の出力V72がHレベルの場合のみ、この論理回路73の出力V73(ウィンドコンパレータ7の出力V7)がHレベルとなるように構成すればよい。 The window comparator 7 includes a first comparator 71 that compares the output voltage V out of the integrator 1 with the first comparison reference voltage V H, and the output voltage V out of the integrator 1 and the second comparison reference voltage V L. And a second comparator 72 for comparing the two. Further, the window comparator 7 is provided with a logic circuit 73 which receives the output V 71 of the first comparator 71 and an output V 72 of the second comparator 72. Here, as shown in the truth table of Table 1 below, the logic circuit 73 is only in the case where the output V 71 of the first comparator 71 is L level and the output V 72 of the second comparator 72 is H level. What is necessary is just to comprise so that the output V73 (output V7 of the window comparator 7 ) of the logic circuit 73 may become H level.

Figure 2012114501
Figure 2012114501

補正手段8は、例えば、ウィンドウコンパレータ7の出力V7がHレベル、且つ、カウンタ4のオーバーフローフラグがHレベルの場合に、Hレベルのリセット信号を出力するよう論理回路により構成することができる。この補正手段8は、制御部5に設けてもよい。また、上述のクロックパルス発生部6も、制御部5に設けてもよい。 Correcting means 8, for example, the output V 7 is H-level window comparator 7, and the overflow flag of the counter 4 when the H-level, can be constituted by a logic circuit to output a reset signal of H level. The correction unit 8 may be provided in the control unit 5. Further, the above-described clock pulse generation unit 6 may also be provided in the control unit 5.

本実施形態の二重積分型A/D変換器の基本となる動作例について図2に基づいて説明する。   An example of the basic operation of the double integration type A / D converter of this embodiment will be described with reference to FIG.

図2は、積分器1の入力電圧Vinの極性がマイナスの場合の説明図であり、積分器1の出力電圧Voutの極性が正常に判定された場合の動作例(1)〜(3)と、積分器1の出力電圧Voutの極性が誤判定された場合の動作例(4)とを、例示してある。 Figure 2 is an explanatory view of a case where the polarity is negative the input voltage V in of the integrator 1, the operation example in which the polarity of the output voltage V out of the integrator 1 is determined normally (1) - (3 ) And an operation example (4) when the polarity of the output voltage V out of the integrator 1 is erroneously determined.

動作例(1)は、第1積分期間T1が終了した時点での積分器1の出力電圧Voutが、第1の比較基準電圧VHよりも高く且つフルスケールに達していないときの例である。この動作例(1)では、第1積分期間T1が終了する直前におけるウィンドウコンパレータ7の出力V7がLレベル、且つ、読み出し期間T3においてカウンタ4のオーバーフローフラグがLレベルである。したがって、補正手段8は、リセット信号を出力しない。その結果、カウンタ4のカウント値は、第2積分期間T2の開始後に当該第2積分期間T2においてコンパレータ3の出力V3が反転するまでの期間(放電期間T4に相当する)にカウントされるクロックパルスの数となる。 The operation example (1) is an example when the output voltage V out of the integrator 1 at the time when the first integration period T1 ends is higher than the first comparison reference voltage V H and does not reach full scale. is there. In this operation example (1), the output V 7 of the window comparator 7 immediately before the end of the first integration period T1 is L level, and the overflow flag of the counter 4 is L level in the reading period T3. Therefore, the correction unit 8 does not output a reset signal. As a result, the count value of the counter 4 is counted in a period (corresponding to the discharge period T4) until the output V3 of the comparator 3 is inverted in the second integration period T2 after the start of the second integration period T2. The number of pulses.

また、動作例(2)は、第1積分期間T1が終了した時点での積分器1の出力電圧Voutが、第1の比較基準電圧VHよりも低く且つ基準電圧VAGNDよりも高いときの例である。この動作例(2)では、第1積分期間T1が終了する直前におけるウィンドウコンパレータ7の出力V7がHレベル、且つ、読み出し期間T3においてカウンタ4のオーバーフローフラグがLレベルである。したがって、補正手段8は、リセット信号を出力しない。その結果、カウンタ4のカウント値は、第2積分期間T2の開始後に当該第2積分期間T2においてコンパレータ3の出力V3が反転するまでの期間(放電期間T4に相当する)にカウントされたクロックパルスの数となる。 Further, in the operation example (2), when the output voltage V out of the integrator 1 at the time when the first integration period T1 ends is lower than the first comparison reference voltage V H and higher than the reference voltage V AGND. It is an example. In this operation example (2), the output V 7 of the window comparator 7 immediately before the end of the first integration period T1 is H level, and the overflow flag of the counter 4 is L level in the reading period T3. Therefore, the correction unit 8 does not output a reset signal. As a result, the count value of the counter 4 is the clock counted during the period (corresponding to the discharge period T4) until the output V3 of the comparator 3 is inverted in the second integration period T2 after the start of the second integration period T2. The number of pulses.

動作例(3)は、第1積分期間T1が終了した時点での積分器1の出力電圧Voutがフルスケールを超えているときの例である。この動作例(3)では、第1積分期間T1が終了する直前におけるウィンドウコンパレータ7の出力V7がLレベル、且つ、読み出し期間T3においてカウンタ4のオーバーフローフラグがHレベルである。したがって、補正手段8は、リセット信号を出力しない。その結果、カウンタ4のカウント値は、第2積分期間T2にカウントされるクロックパルスの数となる。 The operation example (3) is an example when the output voltage Vout of the integrator 1 exceeds the full scale at the time when the first integration period T1 ends. In this operation example (3), the output V 7 of the window comparator 7 immediately before the end of the first integration period T1 is L level, and the overflow flag of the counter 4 is H level in the reading period T3. Therefore, the correction unit 8 does not output a reset signal. As a result, the count value of the counter 4 becomes the number of clock pulses counted in the second integration period T2.

また、動作例(4)は、第1積分期間T1が終了した時点での積分器1の出力電圧Voutが、第1の比較基準電圧VHよりも低く且つ基準電圧VAGNDよりも高いときの例である。この動作例(4)では、第1積分期間T1が終了する直前におけるウィンドウコンパレータ7の出力V7がHレベル、且つ、読み出し期間T3においてカウンタ4のオーバーフローフラグがHレベルである。したがって、補正手段8は、リセット信号を出力する。その結果、カウンタ4のカウント値は、第2積分期間T2にカウントされるクロックパルスの数から、ゼロにリセットされる。 Further, the operation example (4), the output voltage V out of the integrator 1 at the time the first integration period T1 is finished, is higher than and the reference voltage V AGND lower than the first comparison reference voltage V H It is an example. In this operation example (4), the output V 7 of the window comparator 7 immediately before the end of the first integration period T1 is H level, and the overflow flag of the counter 4 is H level in the reading period T3. Therefore, the correction means 8 outputs a reset signal. As a result, the count value of the counter 4 is reset to zero from the number of clock pulses counted in the second integration period T2.

ところで、動作例(4)について更に詳しいタイムチャートが図3であり、読み出し期間T3において、補正手段8からカウンタ4へ与えられるリセット信号(図3(j)参照)によってカウンタ4のカウント値がゼロにリセットされる。ところで、本実施形態の二重積分型A/D変換器では、補正手段8を上述のように、ウィンドウコンパレータ7の出力V7がHレベル、且つ、カウンタ4のオーバーフローフラグがHレベルの場合に、Hレベルのリセット信号を出力する論理回路により構成する。ここで、ウィンドウコンパレータ7の動作は制御部5からのトリガ信号(図3(g)参照)により開始される。本実施形態では、このトリガ信号の立ち下り時に論理回路73の出力V73をウィンドウコンパレータ7の出力V7(図3(h)参照)としてラッチするようにしている。ただし、トリガ信号の立ち上がり時に論理回路73の出力V73をウィンドウコンパレータ7の出力V7としてラッチしてもよい。いずれにしても、論理回路73を上記表1の真理値表を満足するラッチ回路により構成すればよい。 Incidentally, FIG. 3 shows a more detailed time chart for the operation example (4), and the count value of the counter 4 is zero by the reset signal (see FIG. 3 (j)) given from the correction means 8 to the counter 4 in the reading period T3. Reset to. By the way, in the double integration type A / D converter of this embodiment, the correction means 8 is used when the output V 7 of the window comparator 7 is at the H level and the overflow flag of the counter 4 is at the H level as described above. And a logic circuit that outputs an H level reset signal. Here, the operation of the window comparator 7 is started by a trigger signal from the control unit 5 (see FIG. 3G). In this embodiment, the output V 73 of the logic circuit 73 is latched as the output V 7 of the window comparator 7 (see FIG. 3 (h)) when the trigger signal falls. However, the output V 73 of the logic circuit 73 may be latched as the output V 7 of the window comparator 7 when the trigger signal rises. In any case, the logic circuit 73 may be configured by a latch circuit that satisfies the truth table of Table 1 above.

図2および図3は、積分器1の入力電圧Vinの極性がマイナスの場合の説明図であるが、入力電圧Vinの極性がプラスの場合の動作は積分器1の出力電圧Voutの極性が逆になるだけでその他は同様である。 2 and 3, the polarity of the input voltage V in of the integrator 1 is an explanatory diagram in the case of a negative, when the polarity of the input voltage V in is positive behavior of the output voltage V out of the integrator 1 Others are the same except that the polarity is reversed.

ところで、本実施形態では、基準電圧VAGNDを1.2Vに設定してあるが、これに限らず、例えば、0.6Vなどでもよい。また、上述の基本例の二重積分型A/D変換器では、上述の赤外線センサの出力電圧をプリアンプにより増幅して入力電圧Vinとした場合に積分器1の出力電圧Voutのチャタリングによる変動幅が±40mV程度であった。そこで、本実施形態の二重積分型A/D変換器を上述の基本例と同様の使用形態で使用する場合には、例えば、所定電圧Vrefを、例えば、50mV〜150mV程度の範囲で適宜設定すればよい。また、この場合、例えば、リセット期間T0を0.3msec、第1積分期間T1を2msec、第2積分期間T2を0.8msec、読み出し期間T3を0.1msec、第1積分期間T1が終了する直前を規定する時間を30μsecとすればよいが、これらの値は一例であり、特に限定するものではない。 By the way, in this embodiment, although the reference voltage V AGND is set to 1.2V, it is not limited to this and may be 0.6V, for example. Further, in the double-integrating A / D converter of the basic example above, due to chattering of the output voltage V out of the integrator 1 when the input voltage V in the output voltage of the infrared sensor described above is amplified by a preamplifier The fluctuation range was about ± 40 mV. Therefore, when the double integration type A / D converter of the present embodiment is used in the same usage pattern as the basic example described above, for example, the predetermined voltage V ref is appropriately set within a range of, for example, about 50 mV to 150 mV. You can set it. In this case, for example, the reset period T0 is 0.3 msec, the first integration period T1 is 2 msec, the second integration period T2 is 0.8 msec, the readout period T3 is 0.1 msec, and immediately before the end of the first integration period T1. However, these values are merely examples and are not particularly limited.

以上説明した本実施形態の二重積分型A/D変換器は、入力電圧Vinを積分する第1積分期間T1が終了する直前において積分器1の出力電圧Voutが上記規定範囲VH〜VL内にあり、且つ、第2積分期間T2において一定周期のクロックパルスをカウントし積分器1の出力電圧Voutが基準電圧VAGNDに戻るまでのカウント値をディジタル値として出力するカウンタ4がオーバーフローしたときに、カウンタ4のカウント値をゼロにリセットさせる補正手段8を備えていることにより、両極性の入力電圧Vinを変換可能とするように構成としながらも、ディジタル値として異常値が出力されるのを防止する(異常値が出力される可能性を低減する)ことが可能となる。 The above-described double integrating A / D converter of this embodiment, the integrator first output voltage V out is the specified range V H ~ immediately before the first integration period T1 for integrating an input voltage V in is completed A counter 4 that is within VL and outputs a count value until the output voltage Vout of the integrator 1 returns to the reference voltage V AGND as a digital value after counting clock pulses with a constant period in the second integration period T2. when overflows, due to the provision of the correction means 8 for resetting the count value of the counter 4 to zero, while the structure to allow converting an input voltage V in bipolar, outliers as a digital value It is possible to prevent the output (reducing the possibility that an abnormal value is output).

また、本実施形態の二重積分型A/D変換器における補正手段8は、ウィンドウコンパレータ7により積分器1の出力電圧Voutが上記規定範囲VH〜VL内にあると判定され、且つ、カウンタ4のオーバーフローフラグがセットされているときに、カウンタ4のカウント値をゼロにリセットさせるので、ウィンドウコンパレータ7の出力V7とカウンタ4のオーバーフローフラグの出力とを入力とする論理回路により構成することができる。 The correcting means 8 in the double integration type A / D converter of the present embodiment determines that the output voltage V out of the integrator 1 is within the specified range V H to V L by the window comparator 7, and When the overflow flag of the counter 4 is set, the count value of the counter 4 is reset to zero, so that it is constituted by a logic circuit that receives the output V 7 of the window comparator 7 and the output of the overflow flag of the counter 4 as inputs. can do.

また、本実施形態の二重積分型A/D変換器では、ウィンドウコンパレータ7が、積分器1の出力電圧Voutと第1の比較基準電圧VHとを比較する第1のコンパレータ71と、積分器1の出力電圧Voutと第2の比較基準電圧VLとを比較する第2のコンパレータ72とを有しているので、A/D変換用のコンパレータ3と、ウィンドウコンパレータ7とが別回路で構成されるから、ウィンドウコンパレータ7がA/D変換動作へ与える影響を少なくすることが可能となる。 In the double integration type A / D converter of the present embodiment, the window comparator 7 includes a first comparator 71 that compares the output voltage V out of the integrator 1 and the first comparison reference voltage V H ; Since the second comparator 72 that compares the output voltage V out of the integrator 1 and the second comparison reference voltage V L is provided, the comparator 3 for A / D conversion and the window comparator 7 are separated. Since it is configured by a circuit, it is possible to reduce the influence of the window comparator 7 on the A / D conversion operation.

本実施形態の二重積分型A/D変換器において用いる基準電圧VAGNDは、基準電圧発生回路により生成されており、第1の比較基準電圧VHおよび第2の比較基準電圧VLは、基準電圧VAGNDから生成されている。したがって、基準電圧VAGND、第1の比較基準電圧VH、第2の比較基準電圧VLが時間や温度により変動するような場合でも、第1の比較基準電圧VHおよび第2の比較基準電圧VLが基準電圧VAGNDと同じ傾向で変動することとなる。これにより、基準電圧VAGNDの変動にかかわらず、第1の比較基準電圧VHおよび第2の比較基準電圧VLそれぞれの基準電圧VAGNDとの電圧差を略一定に保つことが可能となる。 The reference voltage V AGND used in the double integration type A / D converter of the present embodiment is generated by a reference voltage generation circuit, and the first comparison reference voltage V H and the second comparison reference voltage V L are: It is generated from the reference voltage V AGND . Therefore, even when the reference voltage V AGND , the first comparison reference voltage V H , and the second comparison reference voltage V L vary with time and temperature, the first comparison reference voltage V H and the second comparison reference The voltage V L varies with the same tendency as the reference voltage V AGND . Thus, regardless of the variation of the reference voltage V AGND, it is possible to keep the voltage difference between the first reference voltage V H and the second comparison reference voltage V L respective reference voltages V AGND substantially constant .

また、第1の比較基準電圧VHとして第1の参照電圧VREF+を兼用し、第2の比較基準電圧VLとして第2の参照電圧VREF-を兼用することが好ましい。これにより、第1の比較基準電圧VHおよび第2の比較基準電圧VLを生成するための基準電圧発生回路を省略することができる。 Further, it is preferable that the first reference voltage V REF + is also used as the first comparison reference voltage V H , and the second reference voltage V REF− is also used as the second comparison reference voltage V L. Thereby, the reference voltage generation circuit for generating the first comparison reference voltage V H and the second comparison reference voltage V L can be omitted.

また、第1積分期間T1の開始から第1積分期間T1が終了する直前(極性判定を行う時点)までの時間をT12(図2参照)とするとき、第1の比較基準電圧VHおよび第2の比較基準電圧VLそれぞれの基準電圧VAGNDとの電圧差は、予め設定されたカウンタ4の最大出力値に対応する積分器1の出力電圧Voutの(T12/T1)倍以下に設定することが好ましい。これにより、ウィンドウコンパレータ7によって積分器1の出力電圧Voutが上記規定範囲VH〜VL内にあるか否かを判断した後に、第1積分期間T1において積分器1の出力電圧が飽和するようなことが起こるのを防ぐことが可能となり、本来ならカウンタ4のカウント値をゼロに補正する必要がないにもかかわらず、ゼロに補正されてしまうのを防止することが可能となる。ただし、電圧差は、より小さい方が好ましい。 In addition, when the time from the start of the first integration period T1 to immediately before the end of the first integration period T1 (when the polarity determination is performed) is T12 (see FIG. 2), the first comparison reference voltage V H and the first The difference between the reference voltage V AGND of each of the two comparison reference voltages V L and the reference voltage V AGND is set to (T12 / T1) times or less of the output voltage V out of the integrator 1 corresponding to the preset maximum output value of the counter 4. It is preferable to do. Thereby, after determining whether or not the output voltage V out of the integrator 1 is within the specified range V H to V L by the window comparator 7, the output voltage of the integrator 1 is saturated in the first integration period T1. It is possible to prevent this from happening, and it is possible to prevent the counter 4 from being corrected to zero even though it is not necessary to correct the count value of the counter 4 to zero. However, it is preferable that the voltage difference is smaller.

なお、上述の赤外線センサとしては、例えば感温部および当該感温部の出力電圧を取り出すためのMOSトランジスタを具備する複数の画素部が、半導体基板の一表面側において2次元アレイ状に配置されており、全ての感温部の出力を時系列的に読み出すことが可能なものを用いることが考えられる。この場合には、赤外線センサとプリアンプとの間にマルチプレクサ(アナログマルチプレクサ)を設ければよい。また、感温部がサーモパイルにより構成された赤外線センサを温度センサとして用いる場合、半導体基板の温度を一定に保つことで冷接点の温度を一定温度に保つペルチェ素子を用いるようにすれば、赤外線センサの出力電圧をプリアンプで増幅してからA/D変換して得られるディジタル値を用いて温度を演算することができる。また、ペルチェ素子を用いず、冷接点の温度が周囲温度に依存して変動するような場合には、サーミスタにより冷接点の温度を測定し、赤外線センサの出力電圧およびサーミスタの出力電圧それぞれをプリアンプで増幅してからA/D変換して得られる各ディジタル値を用いて温度を演算すればよい。   As the above-described infrared sensor, for example, a plurality of pixel portions including a temperature sensing portion and a MOS transistor for taking out an output voltage of the temperature sensing portion are arranged in a two-dimensional array on one surface side of the semiconductor substrate. It is conceivable to use one that can read out the outputs of all the temperature sensing parts in time series. In this case, a multiplexer (analog multiplexer) may be provided between the infrared sensor and the preamplifier. In addition, when using an infrared sensor whose temperature sensing part is composed of a thermopile as a temperature sensor, if a Peltier element that keeps the temperature of the cold junction constant by keeping the temperature of the semiconductor substrate constant is used, the infrared sensor The temperature can be calculated using a digital value obtained by A / D conversion after the output voltage is amplified by a preamplifier. If the temperature of the cold junction fluctuates depending on the ambient temperature without using a Peltier element, the temperature of the cold junction is measured with a thermistor, and the output voltage of the infrared sensor and the output voltage of the thermistor are preamplified. What is necessary is just to calculate temperature using each digital value obtained by A / D conversion after amplifying in (4).

また、センサとしては、赤外線センサを例示したが、赤外線センサに限らず、例えば、他の物理量センサや化学量センサなどでもよい。   Moreover, although the infrared sensor was illustrated as a sensor, it is not restricted to an infrared sensor, For example, another physical quantity sensor, a chemical quantity sensor, etc. may be sufficient.

(実施形態2)
本実施形態の二重積分型A/D変換器の基本構成は実施形態1と略同じであり、図4に示すように、コンパレータ3の基準電圧入力端への基準電圧VAGNDの入力をオンオフする第1のアナログスイッチSW11を備えている点、ウィンドウコンパレータ7の構成などが相違する。なお、実施形態1と同様の構成要素には同一の符号を付して説明を適宜省略する。
(Embodiment 2)
The basic configuration of the double integration type A / D converter of this embodiment is substantially the same as that of the first embodiment. As shown in FIG. 4, the reference voltage V AGND input to the reference voltage input terminal of the comparator 3 is turned on / off. The first analog switch SW11 is provided, and the configuration of the window comparator 7 is different. In addition, the same code | symbol is attached | subjected to the component similar to Embodiment 1, and description is abbreviate | omitted suitably.

本実施形態では、実施形態1にて説明したコンパレータ3をウィンドウコンパレータ7の構成要素として兼用している。すなわち、本実施形態におけるウィンドウコンパレータ7は、コンパレータ3と、コンパレータ3の基準電圧入力端への第1の比較基準電圧VHの入力をオンオフする第2のアナログスイッチSW12と、コンパレータ3の基準電圧入力端への第2の比較基準電圧VLの入力をオンオフする第3のアナログスイッチSW13とを有している。また、ウィンドウコンパレータ7は、第2のアナログスイッチSW12がオンのときのコンパレータ3の出力V3(V312)がLレベルであり、且つ、第3のアナログスイッチSW13がオンのときのコンパレータ3の出力V3(V313)がHレベルである場合のみ、出力V74がHレベルとなる論理回路74を備えており、この論理回路74の出力V74が、ウィンドウコンパレータ7の出力V7となるように構成してある。 In the present embodiment, the comparator 3 described in the first embodiment is also used as a component of the window comparator 7. That is, the window comparator 7 in this embodiment includes the comparator 3, the second analog switch SW 12 that turns on and off the input of the first comparison reference voltage V H to the reference voltage input terminal of the comparator 3, and the reference voltage of the comparator 3. And a third analog switch SW13 for turning on and off the input of the second comparison reference voltage V L to the input terminal. Further, the window comparator 7 is configured such that the output V 3 (V 312 ) of the comparator 3 when the second analog switch SW12 is on is at the L level and the comparator 3 when the third analog switch SW13 is on. Only when the output V 3 (V 313 ) is at the H level, the logic circuit 74 having the output V 74 at the H level is provided. The output V 74 of the logic circuit 74 becomes the output V 7 of the window comparator 7. It is constituted as follows.

第1のアナログスイッチSW11は、コンパレータ3の基準電圧入力端と基準電圧VAGNDが入力される第1端子21との間に設けてあり、第2のアナログスイッチSW12は、コンパレータ3の基準電圧入力端と第1の比較基準電圧VHが入力される第2端子22との間に設けてあり、第3のアナログスイッチSW13は、コンパレータ3の基準電圧入力端と第2の比較基準電圧VLが入力される第3端子23との間に設けてある。 The first analog switch SW11 is provided between the reference voltage input terminal of the comparator 3 and the first terminal 21 to which the reference voltage V AGND is input, and the second analog switch SW12 is the reference voltage input of the comparator 3. The third analog switch SW13 is provided between the terminal and the second terminal 22 to which the first comparison reference voltage V H is input. The third analog switch SW13 is connected to the reference voltage input terminal of the comparator 3 and the second comparison reference voltage V L. Is provided between the third terminal 23 and the third terminal 23.

そして、本実施形態の二重積分型A/D変換器では、制御部5が、第1のアナログスイッチSW11、第2のアナログスイッチSW12および第3のアナログスイッチSW13のオンオフのタイミングを制御する機能を有している。ここにおいて、制御部5は、コンパレータ3の動作期間において、第2のアナログスイッチSW12、第3のアナログスイッチSW13、第1のアナログスイッチSW11の順で第1〜第3のアナログスイッチSW11〜SW13を択一的にオンさせる、もしくは、第3のアナログスイッチSW13、第2のアナログスイッチSW12、第1のアナログスイッチSW11の順で第1〜第3のアナログスイッチSW11〜SW13を択一的にオンさせる。これにより、本実施形態の二重積分型A/D変換器では、第1〜第3のアナログスイッチSW11〜SW13が時分割で切り替えられ、コンパレータ3の基準電圧入力端の電圧VREFが時分割で切り替えられるので、第1〜第3のアナログスイッチSW11〜SW13のオンオフによるノイズを低減することが可能となる。ここにおいて、第2のアナログスイッチSW12および第3のアナログスイッチSW13は、第1積分期間T1において第1積分期間T1が終了する直前において順次オンされ、第1のアナログスイッチSW1は、第2のアナログスイッチSW2およびアナログスイッチSW3がオンのとき以外にオンとなる。要するに、制御部5は、第2のアナログスイッチSW12および第3のアナログスイッチSW13を択一的にオンさせる期間以外は第1のアナログスイッチSW1がオンとなるように第1〜第3のアナログスイッチSW1〜SW3をオンさせる。 In the double integration type A / D converter of the present embodiment, the control unit 5 controls the on / off timing of the first analog switch SW11, the second analog switch SW12, and the third analog switch SW13. have. Here, the control unit 5 switches the first to third analog switches SW11 to SW13 in the order of the second analog switch SW12, the third analog switch SW13, and the first analog switch SW11 during the operation period of the comparator 3. Alternatively, the first to third analog switches SW11 to SW13 are alternatively turned on in the order of the third analog switch SW13, the second analog switch SW12, and the first analog switch SW11. . Thereby, in the double integration type A / D converter of the present embodiment, the first to third analog switches SW11 to SW13 are switched in a time division manner, and the voltage V REF at the reference voltage input terminal of the comparator 3 is time division. Therefore, noise due to on / off of the first to third analog switches SW11 to SW13 can be reduced. Here, the second analog switch SW12 and the third analog switch SW13 are sequentially turned on immediately before the end of the first integration period T1 in the first integration period T1, and the first analog switch SW1 is connected to the second analog switch SW1. It is turned on except when the switch SW2 and the analog switch SW3 are turned on. In short, the control unit 5 includes the first to third analog switches so that the first analog switch SW1 is turned on except during a period in which the second analog switch SW12 and the third analog switch SW13 are alternatively turned on. SW1 to SW3 are turned on.

本実施形態の二重積分型A/D変換器の動作例を図5に示した動作説明図(タイムチャート)に基づいて説明する。   An operation example of the double integration type A / D converter of this embodiment will be described based on an operation explanatory diagram (time chart) shown in FIG.

図5に示した動作例は、積分器1の入力電圧Vinの極性がマイナスであり、第1積分期間T1が終了した時点での積分器1の出力電圧Voutが、第1の比較基準電圧VHよりも低く且つ基準電圧VAGNDよりも高いときの例である。 In the operation example shown in FIG. 5, the polarity of the input voltage V in of the integrator 1 is negative, and the output voltage V out of the integrator 1 at the end of the first integration period T1 is the first comparison reference. This is an example when the voltage is lower than the voltage V H and higher than the reference voltage V AGND .

この動作例では、ウィンドウコンパレータ7の出力V7がHレベル、且つ、読み出し期間T3においてカウンタ4のオーバーフローフラグがHレベルである。したがって、補正手段8は、リセット信号を出力する。その結果、カウンタ4のカウント値は、第2積分期間T2にカウントされるクロックパルスの数から、ゼロにリセットされる。 In this operation example, the output V 7 of the window comparator 7 is at the H level, and the overflow flag of the counter 4 is at the H level in the reading period T3. Therefore, the correction means 8 outputs a reset signal. As a result, the count value of the counter 4 is reset to zero from the number of clock pulses counted in the second integration period T2.

以上説明した本実施形態の二重積分型A/D変換器は、実施形態1と同様、入力電圧Vinを積分する第1積分期間T1が終了する直前において積分器1の出力電圧Voutが上記規定範囲VH〜VL内にあり、且つ、第2積分期間T2において一定周期のクロックパルスをカウントし積分器1の出力電圧Voutが基準電圧VAGNDに戻るまでのカウント値をディジタル値として出力するカウンタ4がオーバーフローしたときに、カウンタ4のカウント値をゼロにリセットさせる補正手段8を備えていることにより、両極性の入力電圧Vinを変換可能とするように構成としながらも、ディジタル値として異常値が出力されるのを防止する(異常値が出力される可能性を低減する)ことが可能となる。 In the double integration type A / D converter of the present embodiment described above, the output voltage Vout of the integrator 1 is just before the end of the first integration period T1 for integrating the input voltage Vin as in the first embodiment. The count value until the output voltage Vout of the integrator 1 returns to the reference voltage V AGND after counting clock pulses with a fixed period within the specified range V H to V L and in the second integration period T2 is a digital value. when the counter 4 to output overflows as, by that it comprises a correction means 8 for resetting the count value of the counter 4 to zero, while the structure to allow converting an input voltage V in bipolar, It is possible to prevent an abnormal value from being output as a digital value (reduce the possibility of an abnormal value being output).

また、本実施形態の二重積分型A/D変換器では、実施形態1にて説明したウィンドウコンパレータ7を構成するための第1のコンパレータ71および第2のコンパレータ72を追加する必要がないので、コンパレータ3とは別途に形成する第1のコンパレータ71および第2のコンパレータ72を用いてウィンドウコンパレータ7を構成する場合に比べて、回路面積および消費電力を低減することが可能となる。   In the double integration type A / D converter of this embodiment, it is not necessary to add the first comparator 71 and the second comparator 72 for configuring the window comparator 7 described in the first embodiment. Compared with the case where the window comparator 7 is configured using the first comparator 71 and the second comparator 72 formed separately from the comparator 3, the circuit area and the power consumption can be reduced.

1 積分器
2 入力切替部
3 コンパレータ
4 カウンタ
5 制御部
6 クロックパルス発生回路
7 ウィンドウコンパレータ
8 補正手段
71 第1のコンパレータ
72 第2のコンパレータ
73 論理回路
T1 第1積分期間
T2 第2積分期間
in 入力電圧
out 出力電圧
AGND 基準電圧
REF+ 第1の参照電圧
REF- 第2の参照電圧
H 第1の比較基準電圧
L 第2の比較基準電圧
SW1 アナログスイッチ
SW2 アナログスイッチ
SW3 アナログスイッチ
SW11 第1のアナログスイッチ
SW12 第2のアナログスイッチ
SW13 第3のアナログスイッチ
1 integrator 2 the input switching section 3 Comparator 4 counter 5 control unit 6 a clock pulse generation circuit 7 window comparator 8 correcting unit 71 first comparator 72 a second comparator 73 the logic circuit T1 first integration period T2 second integration period V in input voltage V out output voltage V AGND reference voltage V REF + first reference voltage V REF- second reference voltage V H first comparison reference voltage V L the second comparison reference voltage SW1 analog switch SW2 analog switch SW3 analog switch SW11 First analog switch SW12 Second analog switch SW13 Third analog switch

Claims (8)

両極性の入力電圧を変換可能な二重積分型A/D変換器であって、入力電圧を積分する第1積分期間が終了する直前において積分器の出力電圧が基準電圧よりも高い第1の比較基準電圧と前記基準電圧よりも低い第2の比較基準電圧との範囲内にあり、且つ、前記基準電圧よりも高い第1の参照電圧あるいは前記基準電圧よりも低い第2の参照電圧を積分する第2積分期間において一定周期のクロックパルスをカウントし前記積分器の出力電圧が前記基準電圧に戻るまでのカウント値をディジタル値として出力するカウンタがオーバーフローしたときに、前記カウンタのカウント値をゼロにリセットさせる補正手段を備えることを特徴とする二重積分型A/D変換器。   A double integration type A / D converter capable of converting a bipolar input voltage, wherein the output voltage of the integrator is higher than the reference voltage immediately before the end of the first integration period for integrating the input voltage. Integrate a first reference voltage that is within the range of the comparison reference voltage and a second comparison reference voltage that is lower than the reference voltage and that is higher than the reference voltage or a second reference voltage that is lower than the reference voltage When a counter that outputs a count value until the output voltage of the integrator returns to the reference voltage overflows in the second integration period, and the counter value overflows, the count value of the counter is reduced to zero. A double-integrating A / D converter, comprising a correction means for resetting the power supply. 複数のアナログスイッチを具備し前記積分器に前記入力電圧と前記第1の参照電圧と前記第2の参照電圧とのいずれかを択一的に入力させる入力切替部と、前記積分器の出力電圧を前記基準電圧と比較するコンパレータと、前記第1積分期間が終了する直前において前記積分器の出力電圧が前記範囲内にあるか否かを判別するウィンドウコンパレータと、少なくとも前記入力切替部および前記カウンタを制御する制御部とを備え、前記制御部は、前記第1積分期間が終了した直後における前記コンパレータの出力に基づいて前記積分器の出力電圧の前記基準電圧に対する大小に基づく極性を判定し判定結果の極性に応じて前記入力切替部を制御する機能と、前記第2積分期間の開始後に前記第2積分期間において前記コンパレータの出力が反転したときに前記カウンタのカウント動作を停止させる機能と、前記カウンタのカウント値に前記判定結果の極性とは逆の極性を表す符号を付加させる機能とを有し、前記補正手段は、前記ウィンドウコンパレータにより前記積分器の出力電圧が前記範囲内にあると判定され、且つ、前記カウンタのオーバーフローフラグがセットされているときに、前記カウンタのカウント値をゼロにリセットさせることを特徴とする請求項1記載の二重積分型A/D変換器。   An input switching unit that includes a plurality of analog switches and selectively inputs any one of the input voltage, the first reference voltage, and the second reference voltage to the integrator; and an output voltage of the integrator A comparator for comparing the reference voltage with the reference voltage, a window comparator for determining whether the output voltage of the integrator is within the range immediately before the end of the first integration period, at least the input switching unit and the counter And a control unit that determines polarity based on the magnitude of the output voltage of the integrator with respect to the reference voltage based on the output of the comparator immediately after the end of the first integration period. The function of controlling the input switching unit according to the polarity of the result, and the output of the comparator is reversed in the second integration period after the start of the second integration period. A function to stop the counting operation of the counter and a function to add a sign representing a polarity opposite to the polarity of the determination result to the count value of the counter, and the correction means includes the window comparator 2. When the output voltage of the integrator is determined to be within the range and the counter overflow flag is set, the count value of the counter is reset to zero. The double integral A / D converter described. 前記ウィンドウコンパレータは、前記積分器の出力電圧と前記第1の比較基準電圧とを比較する第1のコンパレータと、前記積分器の出力電圧と前記第2の比較基準電圧とを比較する第2のコンパレータとを有することを特徴とする請求項2記載の二重積分型A/D変換器。   The window comparator compares a first comparator that compares the output voltage of the integrator with the first comparison reference voltage, and a second comparator that compares the output voltage of the integrator and the second comparison reference voltage. The double integration type A / D converter according to claim 2, further comprising a comparator. 前記コンパレータの基準電圧入力端への前記基準電圧の入力をオンオフする第1のアナログスイッチを備え、前記ウィンドウコンパレータは、前記コンパレータと、前記コンパレータの前記基準電圧入力端への前記第1の比較基準電圧の入力をオンオフする第2のアナログスイッチと、前記コンパレータの前記基準電圧入力端への前記第2の比較基準電圧の入力をオンオフする第3のアナログスイッチとを有し、前記制御部は、前記ウィンドウコンパレータを制御する機能を有し、前記第1〜前記第3のアナログスイッチを択一的にオンさせることを特徴とする請求項2記載の二重積分型A/D変換器。   A first analog switch for turning on and off the input of the reference voltage to the reference voltage input terminal of the comparator; and the window comparator includes the comparator and the first comparison reference to the reference voltage input terminal of the comparator. A second analog switch that turns on and off the voltage input; and a third analog switch that turns on and off the input of the second comparison reference voltage to the reference voltage input terminal of the comparator. 3. The double integration type A / D converter according to claim 2, wherein the double integration type A / D converter has a function of controlling the window comparator and selectively turns on the first to third analog switches. 前記制御部は、前記コンパレータの動作期間において、前記第2のアナログスイッチ、前記第3のアナログスイッチ、前記第1のアナログスイッチの順で前記第1〜前記第3のアナログスイッチを択一的にオンさせる、もしくは、前記第3のアナログスイッチ、前記第2のアナログスイッチ、前記第1のアナログスイッチの順で前記第1〜前記第3のアナログスイッチを択一的にオンさせることを特徴とする請求項4記載の二重積分型A/D変換器。   The controller alternatively selects the first to third analog switches in the order of the second analog switch, the third analog switch, and the first analog switch during an operation period of the comparator. Or turning on the third analog switch, the second analog switch, and the first analog switch in order of the third analog switch, the second analog switch, and the first analog switch. The double integration type A / D converter according to claim 4. 前記第1の比較基準電圧として前記第1の参照電圧を兼用し、前記第2の比較基準電圧として前記第2の参照電圧を兼用することを特徴とする請求項1ないし請求項5のいずれか1項に記載の二重積分型A/D変換器。   6. The device according to claim 1, wherein the first reference voltage is also used as the first comparison reference voltage, and the second reference voltage is also used as the second comparison reference voltage. 2. The double integration type A / D converter according to item 1. 前記第1積分期間をT1、前記第1積分期間の開始から前記第1積分期間が終了する前記直前までの時間をT12とするとき、前記第1の比較基準電圧および前記第2の比較基準電圧それぞれの前記基準電圧との電圧差は、予め設定された前記カウンタの最大出力値に対応する前記積分器の出力電圧の(T12/T1)倍以下に設定されてなることを特徴とする請求項1ないし請求項6のいずれか1項に記載の二重積分型A/D変換器。   When the first integration period is T1, and the time from the start of the first integration period to the time immediately before the end of the first integration period is T12, the first comparison reference voltage and the second comparison reference voltage The voltage difference from each of the reference voltages is set to (T12 / T1) times or less of an output voltage of the integrator corresponding to a preset maximum output value of the counter. The double integration type A / D converter according to any one of claims 1 to 6. 前記第1の比較基準電圧および前記第2の比較基準電圧は、前記基準電圧から生成されてなることを特徴とする請求項1ないし請求項7のいずれか1項に記載の二重積分型A/D変換器。   The double integration type A according to any one of claims 1 to 7, wherein the first comparison reference voltage and the second comparison reference voltage are generated from the reference voltage. / D converter.
JP2010259258A 2010-11-19 2010-11-19 Double integral type A / D converter Active JP5508233B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010259258A JP5508233B2 (en) 2010-11-19 2010-11-19 Double integral type A / D converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010259258A JP5508233B2 (en) 2010-11-19 2010-11-19 Double integral type A / D converter

Publications (2)

Publication Number Publication Date
JP2012114501A true JP2012114501A (en) 2012-06-14
JP5508233B2 JP5508233B2 (en) 2014-05-28

Family

ID=46498284

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010259258A Active JP5508233B2 (en) 2010-11-19 2010-11-19 Double integral type A / D converter

Country Status (1)

Country Link
JP (1) JP5508233B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113839677A (en) * 2021-08-31 2021-12-24 中国计量大学 Integral analog-to-digital converter and analog-to-digital conversion method thereof
CN113852372A (en) * 2021-08-31 2021-12-28 中国计量大学 Method and device for compensating reference charge of integral analog-to-digital converter

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108494407A (en) * 2018-05-24 2018-09-04 佛山科学技术学院 A kind of conversion circuit of voltage to the time

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4848063A (en) * 1971-10-20 1973-07-07
JPS544556A (en) * 1977-06-13 1979-01-13 Nippon Telegr & Teleph Corp <Ntt> Counter type encoder

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4848063A (en) * 1971-10-20 1973-07-07
JPS544556A (en) * 1977-06-13 1979-01-13 Nippon Telegr & Teleph Corp <Ntt> Counter type encoder

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113839677A (en) * 2021-08-31 2021-12-24 中国计量大学 Integral analog-to-digital converter and analog-to-digital conversion method thereof
CN113852372A (en) * 2021-08-31 2021-12-28 中国计量大学 Method and device for compensating reference charge of integral analog-to-digital converter
CN113852372B (en) * 2021-08-31 2024-02-02 中国计量大学 Reference charge compensation method and device for integral analog-to-digital converter
CN113839677B (en) * 2021-08-31 2024-02-02 中国计量大学 Integral analog-to-digital converter and analog-to-digital conversion method thereof

Also Published As

Publication number Publication date
JP5508233B2 (en) 2014-05-28

Similar Documents

Publication Publication Date Title
US9077357B2 (en) Semiconductor device and electronic control device
US9236876B2 (en) Double-integration type A/D converter
US9143151B2 (en) Pulse generator and analog-digital converter including the same
JP5508233B2 (en) Double integral type A / D converter
KR100845323B1 (en) Analog-digital converter
US8803725B2 (en) Single slope AD converter circuit provided with compartor for comparing ramp voltage with analog input voltage
JP2004340916A (en) Battery charge/discharge monitoring circuit and battery charge/discharge monitoring method
US9791322B2 (en) Measurement circuit for bolometric detector
US20160132066A1 (en) Hall Sensor Chip with Timing Control
US9912898B2 (en) Amplifier, electric circuit, and image sensor
JP6027625B2 (en) Current sensing device for multi-sensor arrays
JP2014048046A (en) Semiconductor integrated circuit device
JP2012114502A (en) Double integral a/d converter
JP5508242B2 (en) A / D converter
JP2012151683A (en) A/d conversion device
JP2012112665A (en) Sensor device
JP2013187784A (en) Analog-digital conversion device
JP2012124589A (en) A/d converter
JP6393669B2 (en) Sensor device and sensing method
JP7298366B2 (en) Capacitance detector
JP3589507B2 (en) Electromagnetic flow meter
JP5447979B2 (en) Temperature measuring instrument
JP2006135655A (en) Semiconductor integrated circuit
JP2012195764A (en) Ad converter, dial type input device and resistance-voltage conversion circuit
JP6237370B2 (en) Time voltage converter

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130725

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140218

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140225

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140320

R151 Written notification of patent or utility model registration

Ref document number: 5508233

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151