JP5426992B2 - A / D converter - Google Patents

A / D converter Download PDF

Info

Publication number
JP5426992B2
JP5426992B2 JP2009239974A JP2009239974A JP5426992B2 JP 5426992 B2 JP5426992 B2 JP 5426992B2 JP 2009239974 A JP2009239974 A JP 2009239974A JP 2009239974 A JP2009239974 A JP 2009239974A JP 5426992 B2 JP5426992 B2 JP 5426992B2
Authority
JP
Japan
Prior art keywords
circuit
output
voltage
value
data
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.)
Active
Application number
JP2009239974A
Other languages
Japanese (ja)
Other versions
JP2011087206A (en
Inventor
宏昌 田中
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.)
New Japan Radio Co Ltd
Original Assignee
New Japan Radio Co Ltd
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 New Japan Radio Co Ltd filed Critical New Japan Radio Co Ltd
Priority to JP2009239974A priority Critical patent/JP5426992B2/en
Publication of JP2011087206A publication Critical patent/JP2011087206A/en
Application granted granted Critical
Publication of JP5426992B2 publication Critical patent/JP5426992B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Analogue/Digital Conversion (AREA)

Description

本発明は、入力するアナログ信号をデジタル信号に変換して出力する二重積分型のA/D変換器に関する。   The present invention relates to a double integration type A / D converter that converts an input analog signal into a digital signal and outputs the digital signal.

図6に従来の二重積分型のA/D変換器の構成を示す(例えば、特許文献1参照)。21は正のアナログ電圧Viが入力する入力端子、22は負の基準電圧−Vrefが入力する入力端子、23は入力端子21,22の一方を選択するスイッチ回路、24はスイッチ回路23の出力電圧を積分する積分回路、25は積分回路24の出力電圧をグランド端子26のグランド電位と比較する比較器、27は比較器25の出力信号に応じてスイッチ回路23の切り替えを制御するとともに入力電圧Viに応じたデジタルデータを出力する制御回路、28は出力端子である。   FIG. 6 shows a configuration of a conventional double integration type A / D converter (for example, see Patent Document 1). 21 is an input terminal to which a positive analog voltage Vi is input, 22 is an input terminal to which a negative reference voltage −Vref is input, 23 is a switch circuit for selecting one of the input terminals 21 and 22, and 24 is an output voltage of the switch circuit 23. , 25 is a comparator that compares the output voltage of the integration circuit 24 with the ground potential of the ground terminal 26, and 27 controls the switching of the switch circuit 23 according to the output signal of the comparator 25 and the input voltage Vi. A control circuit 28 for outputting digital data according to the reference numeral 28 is an output terminal.

さて、開始時刻をt=0とし、このとき積分回路24の出力電圧は0Vであるとする。まず、制御回路27は、スイッチ回路23の入力側を入力端子21の側に一定時間T1だけ接続する。これにより、積分回路24の出力側には、入力電圧Viを時間積分した電圧が現れる。積分の比例係数をaとすると、時刻tが0≦t<T1において、積分回路24の出力電圧Vint(t)は、

Figure 0005426992
となる。t=T1における積分回路24の出力電圧Vint(t)は、
Figure 0005426992
となる。 Now, it is assumed that the start time is t = 0, and the output voltage of the integrating circuit 24 is 0V at this time. First, the control circuit 27 connects the input side of the switch circuit 23 to the input terminal 21 side for a predetermined time T1. As a result, a voltage obtained by time-integrating the input voltage Vi appears on the output side of the integrating circuit 24. Assuming that the integral proportional coefficient is a, when the time t is 0 ≦ t <T1, the output voltage Vint (t) of the integration circuit 24 is
Figure 0005426992
It becomes. The output voltage Vint (t) of the integrating circuit 24 at t = T1 is
Figure 0005426992
It becomes.

次に、制御回路27によって、スイッチ回路23の入力側を、入力端子22の側に接続する。これにより、積分回路24は、入力端子22に入力する負の基準電圧−Vrefを積分する。つまり、前回の積分と逆方向の積分を行う。T1≦tにおいて、積分回路24の出力電圧Vint(t)は、

Figure 0005426992
となる。 Next, the control circuit 27 connects the input side of the switch circuit 23 to the input terminal 22 side. Thereby, the integrating circuit 24 integrates the negative reference voltage −Vref input to the input terminal 22. That is, the integration in the direction opposite to the previous integration is performed. At T1 ≦ t, the output voltage Vint (t) of the integrating circuit 24 is
Figure 0005426992
It becomes.

積分回路24の入力電圧と出力電圧の波形を図7に示す。スイッチ回路23の接点を入力端子22の側に接続してから、積分回路24の出力電圧Vint(t)が0になるまでの時間をT2とすると、

Figure 0005426992
となる。 The waveforms of the input voltage and output voltage of the integrating circuit 24 are shown in FIG. Let T2 be the time from when the contact of the switch circuit 23 is connected to the input terminal 22 side until the output voltage Vint (t) of the integrating circuit 24 becomes zero.
Figure 0005426992
It becomes.

以上から、入力端子21に入力する電圧Viは、

Figure 0005426992
で与えられる。 From the above, the voltage Vi input to the input terminal 21 is
Figure 0005426992
Given in.

よって、制御回路27において、時間T1,T2を計測することにより、入力電圧Viを求めることができ、その値をデジタル値にエンコードすることで、A/D変換が完了する。なお、通常では、制御回路27はデジタル回路で構成され、時間T1,T2はカウンタで計測される。   Therefore, the input voltage Vi can be obtained by measuring the times T1 and T2 in the control circuit 27, and the A / D conversion is completed by encoding the value into a digital value. Normally, the control circuit 27 is constituted by a digital circuit, and the times T1 and T2 are measured by a counter.

特開平01−175418号公報Japanese Patent Laid-Open No. 01-175418

ところが、上記のA/D変換器では、第1に、変換レートが低いという問題がある。すなわち、1つのA/D変換結果を得るために「T1+T2」という長い時間を必要とするので、通常、デジタル回路のクロック周波数の約1/100以下の変換レートしか得られない。第2に、入力電圧Viが大きい場合や時間T1が不適切な場合には、積分回路24の出力電圧が飽和し、変換結果に誤差が生じる可能性がある。第3に、変換時間と変換精度のトレードオフを動的に制御することが困難である。すなわち、二重積分型A/D変換の変換時間と変換精度は、積分時間T1,T2と関係があるので、上記のように時間T1を変更すると、積分回路24の出力電圧が飽和する可能性があるため、変換精度を動的に制御することが困難となる。第4に、積分回路24の出力電圧が入力電圧Viや負の基準電圧−Vrefの積分に伴って変化するため、積分回路24のキャパシタに加わる電圧も変化し、このため、そのキャパシタの電圧依存性(キャパシタの容量値が印加電圧によって変化する)の影響を受けやすい。第5に、積分回路24を一次遅れ回路に置き換えると、例えば抵抗とキャパシタだけの受動部品で構成することができ、小型化を図ることができるが、上記のA/D変換器では積分結果に誤差が生じ、変換誤差が生じるので、一次遅れ回路に置き換えることができない。   However, the A / D converter has a problem that the conversion rate is low. That is, since a long time of “T1 + T2” is required to obtain one A / D conversion result, normally, only a conversion rate of about 1/100 or less of the clock frequency of the digital circuit can be obtained. Second, when the input voltage Vi is large or the time T1 is inappropriate, the output voltage of the integrating circuit 24 is saturated, and an error may occur in the conversion result. Third, it is difficult to dynamically control the trade-off between conversion time and conversion accuracy. That is, since the conversion time and conversion accuracy of the double integration type A / D conversion are related to the integration times T1 and T2, the output voltage of the integration circuit 24 may be saturated when the time T1 is changed as described above. Therefore, it becomes difficult to dynamically control the conversion accuracy. Fourth, since the output voltage of the integration circuit 24 changes with the integration of the input voltage Vi and the negative reference voltage −Vref, the voltage applied to the capacitor of the integration circuit 24 also changes. It is easy to be influenced by the property (capacitance value of the capacitor varies depending on the applied voltage). Fifth, if the integration circuit 24 is replaced with a first-order lag circuit, for example, the integration circuit 24 can be configured with passive components including only resistors and capacitors, and downsizing can be achieved. Since an error occurs and a conversion error occurs, it cannot be replaced with a first-order lag circuit.

本発明の目的は、高い変換レートが実現でき、積分回路の出力電圧の飽和を防止でき、変換時間と変換精度のトレードオフを動的に制御でき、積分回路のキャパシタの電圧依存性の影響を少なくし、さらに積分回路を一次遅れ回路に置き換え可能とし、以って上記した問題点を解決したA/D変換器を提供することである。   The object of the present invention is to realize a high conversion rate, to prevent saturation of the output voltage of the integration circuit, to dynamically control the trade-off between conversion time and conversion accuracy, and to influence the voltage dependence of the capacitor of the integration circuit. The present invention provides an A / D converter in which the integration circuit can be replaced with a first-order lag circuit, thereby solving the above-described problems.

上記目的を達成するために、請求項1にかかる発明は、入力アナログ電圧および該入力アナログ電圧と逆極性の基準電圧の一方を選択するスイッチ回路と、該スイッチ回路から出力する電圧を時間積分する積分回路と、該積分回路の出力電圧をグランド電位と比較して第1の値又は第2の値のデータを出力する比較器と、該比較器の出力データをクロック毎に更新して保持するDFF回路と、該DFF回路から出力する時間的に連続する現在から過去にさかのぼった合計N個のデータのうちの前記第1の値の数と前記第2の値の数の割合に応じた出力データを前記クロック毎に出力する処理回路とを備え、前記スイッチ回路は、前記DFF回路の出力データに応じて前記積分回路での積分方向が、前記積分回路の出力電圧がグランド電位に近づく方向になるように、前記入力アナログ電圧および前記基準電圧の一方を選択することを特徴とする。 To achieve the above object, the invention according to claim 1 time-integrates a switch circuit that selects one of an input analog voltage and a reference voltage having a polarity opposite to that of the input analog voltage, and a voltage output from the switch circuit. An integration circuit, a comparator that compares the output voltage of the integration circuit with the ground potential and outputs data of the first value or the second value, and updates and holds the output data of the comparator for each clock. A DFF circuit and an output corresponding to a ratio of the number of the first value and the number of the second value of the total N pieces of data going back in time from the present time output from the DFF circuit and a processing circuit for outputting data for each of the clock, the switch circuit integration direction at the integrator circuit in response to output data of the DFF circuit, close to the output voltage ground potential of the integrating circuit Ku so that the direction, and selects one of the input analog voltage and the reference voltage.

請求項2にかかる発明は、請求項1に記載のA/D変換器において、前記積分回路を、一次遅れ回路に置き換えたことを特徴とする。   According to a second aspect of the present invention, in the A / D converter according to the first aspect, the integrating circuit is replaced with a first-order lag circuit.

請求項3にかかる発明は、請求項1又は2に記載のA/D変換器において、前記処理回路は、前記N個のデータのうちの前記第1の値の数を演算する移動平均フィルタと、1の値から前記移動平均フィルタの出力値を減算して前記N個のデータのうちの前記第2の値の数を演算する減算器と、前記移動フィルタの出力値と前記減算器の出力値の割合を演算する除算器と、を含むことを特徴とする。   According to a third aspect of the present invention, in the A / D converter according to the first or second aspect, the processing circuit includes a moving average filter that calculates the number of the first values of the N pieces of data. A subtractor that subtracts an output value of the moving average filter from a value of 1 to calculate the number of the second values of the N data, an output value of the moving filter, and an output of the subtractor And a divider for calculating a ratio of values.

請求項1にかかる発明によれば、A/D変換後のデジタルデータをクロック周期毎に出力できるので、デジタル回路のクロック周波数と同じ変換レートを実現できる。また、積分回路の出力電圧が0に近づくようにクロック時間単位でフィードバック制御がかかるので、積分回路の出力電圧が飽和する可能性が小さくなる。また、移動平均フィルタの次数を変化させることによって、変換時間と変換精度のトレードオフを動的に制御できる。通常、移動平均フィルタはデジタル回路で構成するため、実装は容易である。また、積分回路の出力電圧が0に近づくようにクロック時間単位でフィードバック制御がかかるので、積分回路の出力電圧は0近傍で推移するため、キャパシタの電圧依存性の影響を受けにくくなる。さらに、積分回路を一次遅れ回路に置き換えた場合に、従来の二重積分型A/D変換器では誤差の大きさが出力電圧に比例するが、請求項2にかかる発明によれば、積分回路の出力電圧が0近傍で推移するので、その誤差が小さくなり、変換誤差も小さくなる。   According to the first aspect of the invention, the digital data after A / D conversion can be output every clock cycle, so that the same conversion rate as the clock frequency of the digital circuit can be realized. Further, since feedback control is applied in units of clock time so that the output voltage of the integration circuit approaches 0, the possibility that the output voltage of the integration circuit will be saturated is reduced. Further, by changing the order of the moving average filter, the trade-off between conversion time and conversion accuracy can be dynamically controlled. Usually, since the moving average filter is composed of a digital circuit, mounting is easy. Further, since feedback control is applied in units of clock time so that the output voltage of the integration circuit approaches 0, the output voltage of the integration circuit changes in the vicinity of 0, so that it is less susceptible to the voltage dependency of the capacitor. Further, when the integrating circuit is replaced with a first-order lag circuit, the error magnitude is proportional to the output voltage in the conventional double integrating A / D converter. According to the invention of claim 2, the integrating circuit Since the output voltage of the output voltage shifts in the vicinity of 0, the error is reduced and the conversion error is also reduced.

本発明の第1の実施例のA/D変換器のブロック図である。It is a block diagram of the A / D converter of the 1st example of the present invention. 図1の積分回路の回路図である。FIG. 2 is a circuit diagram of the integrating circuit of FIG. 1. 本発明の第2の実施例のA/D変換器のブロック図である。It is a block diagram of the A / D converter of the 2nd example of the present invention. 図3の一次遅れ回路の回路図である。FIG. 4 is a circuit diagram of a first-order lag circuit in FIG. 3. 図1のA/D変換器の動作のシミュレーション結果を示す特性図である。It is a characteristic view which shows the simulation result of operation | movement of the A / D converter of FIG. 従来の二重積分型A/D変換器のブロック図である。It is a block diagram of the conventional double integration type A / D converter. 図5のA/D変換器の動作波形図である。FIG. 6 is an operation waveform diagram of the A / D converter of FIG. 5.

<第1の実施例>
図1に本発明の第1の実施例のA/D変換器の構成を示す。1は正のアナログ電圧Viが入力する入力端子、2は負の基準電圧−Vrefが入力する入力端子、3は入力端子1,2の一方を選択するスイッチ回路、4はスイッチ回路3の出力電圧を積分する積分回路である。5は比較器であり、積分回路4の出力電圧Vintをグランド端子6で与えられる基準値(=0V)と比較して、0<Vintであれば“1”のデータを出力し、Vint≦0であれば“0”のデータを出力する。7はDFF回路であり、周期ΔTのクロックCKで動作して、1クロック毎に比較器5の出力データを更新して保持する。上記のスイッチ回路3は、このDFF回路7の出力データが“0”のとき入力端子1を選択して入力電圧Viを取り込み、“1”のとき入力端子2を選択して基準電圧−Vrefを取り込む。つまり、スイッチ回路3は、積分回路4における積分方向が前回の積分方向と逆方向となるように、DFF回路7の出力データに応じて入力側を切り替える。8はタップ数がNの移動平均フィルタであり、DFF回路7から出力した現在から過去にさかのぼった合計N個の出力データの平均を演算する。つまり、「(DFF回路7のN個の出力データの内の“1”の数)/N」を演算する。9は減算器であり、1から移動平均フィルタ8の出力データを減算する。つまり、「(DFF回路7のN個の出力データの内の“0”の数)/N」を演算する。10は除算器であり、移動平均フィルタ8の出力データを被除数とし減算器9の出力データを除数とする除算を行う。つまり、「(DFF回路7のN個の出力データの内の“1”の数)/(DFF回路7のN個の出力データの内の“0”の数)」を演算する。11は出力端子である。移動平均フィルタ8、減算器9および除算器10は、処理回路を構成する。
<First embodiment>
FIG. 1 shows the configuration of the A / D converter of the first embodiment of the present invention. 1 is an input terminal to which a positive analog voltage Vi is input, 2 is an input terminal to which a negative reference voltage −Vref is input, 3 is a switch circuit for selecting one of the input terminals 1 and 2, and 4 is an output voltage of the switch circuit 3 Is an integration circuit for integrating. Reference numeral 5 denotes a comparator which compares the output voltage Vint of the integrating circuit 4 with a reference value (= 0V) given by the ground terminal 6 and outputs data of “1” if 0 <Vint, and Vint ≦ 0 If so, data “0” is output. Reference numeral 7 denotes a DFF circuit which operates with a clock CK having a period ΔT and updates and holds the output data of the comparator 5 every clock. When the output data of the DFF circuit 7 is “0”, the switch circuit 3 selects the input terminal 1 to take in the input voltage Vi, and when it is “1”, selects the input terminal 2 to set the reference voltage −Vref. take in. That is, the switch circuit 3 switches the input side according to the output data of the DFF circuit 7 so that the integration direction in the integration circuit 4 is opposite to the previous integration direction. Reference numeral 8 denotes a moving average filter having N taps, which calculates an average of a total of N output data output from the DFF circuit 7 from the present to the past. That is, “(the number of“ 1 ”in N output data of the DFF circuit 7) / N” is calculated. A subtractor 9 subtracts the output data of the moving average filter 8 from 1. That is, “(the number of“ 0 ”in N output data of the DFF circuit 7) / N” is calculated. Reference numeral 10 denotes a divider which performs division using the output data of the moving average filter 8 as a dividend and the output data of the subtracter 9 as a divisor. That is, “(number of“ 1 ”in N output data of DFF circuit 7) / (number of“ 0 ”in N output data of DFF circuit 7)” is calculated. Reference numeral 11 denotes an output terminal. The moving average filter 8, the subtractor 9, and the divider 10 constitute a processing circuit.

いま、クロックCKの周期に比べて十分長い積分時間Tをt1〜t2までとし、その間のスイッチ回路3の制御信号(DFF回路7が“1”のデータを出力する割合)をs(τ)とすると、

Figure 0005426992
と表すことができる。ここで、入力信号Viが積分時間Tの間で変化しないと仮定すると、上記の式(6)は、
Figure 0005426992
となる。よって、入力電圧Viは、
Figure 0005426992
で表される。 Now, the integration time T that is sufficiently longer than the cycle of the clock CK is set to t1 to t2, and the control signal of the switch circuit 3 (ratio at which the DFF circuit 7 outputs “1” data) between them is s (τ). Then
Figure 0005426992
It can be expressed as. Assuming that the input signal Vi does not change during the integration time T, the above equation (6) is
Figure 0005426992
It becomes. Therefore, the input voltage Vi is
Figure 0005426992
It is represented by

ここで、k,Nをクロック数とし、t1=kΔT、t2=(N+k)ΔTとすると、式(8)の分子は、Nクロックの内でDFF回路7の出力データが“1”になったクロック数に比例し、分母はNクロックの内でDFF回路7の出力データが“0”になったクロック数に比例する。kΔTから(N+k)ΔTまでのDFF回路7の出力データが“1”であるクロック数を、

Figure 0005426992
で表し、“0”であるクロック数を、
Figure 0005426992
で表すと、上記の式(8)は、
Figure 0005426992
となる。このように、現在から過去にさかのぼったNクロック内におけるDFF回路7の出力データの“1”と“0”の数の割合から、現在の入力電圧Viの値を求めることができることがわかる。 Here, if k and N are clock numbers, and t1 = kΔT and t2 = (N + k) ΔT, the numerator of equation (8) indicates that the output data of the DFF circuit 7 is “1” within N clocks. The denominator is proportional to the number of clocks in which the output data of the DFF circuit 7 becomes “0” in N clocks. The number of clocks in which the output data of the DFF circuit 7 from kΔT to (N + k) ΔT is “1”,
Figure 0005426992
And the number of clocks that are "0"
Figure 0005426992
When the above equation (8) is expressed as
Figure 0005426992
It becomes. Thus, it can be seen that the current value of the input voltage Vi can be obtained from the ratio of the numbers of “1” and “0” of the output data of the DFF circuit 7 within N clocks going back from the present to the past.

次に、DFF回路7の出力データからNクロック内の“0”と“1”の比率を求めるには、まず、DFF回路7の出力データを移動平均フィルタ8に入力させる。移動平均フィルタ8の出力データYfiltは、

Figure 0005426992
となる。減算器9によって、1からデータYfiltを減じてデータYsubを求めると、
Figure 0005426992
となる。そして、データYfiltを被除数、データYsubを除数として、除算器10に入力すると、除算器10の出力データYdivは、
Figure 0005426992
となる。 Next, in order to obtain the ratio of “0” and “1” in N clocks from the output data of the DFF circuit 7, first, the output data of the DFF circuit 7 is input to the moving average filter 8. The output data Yfilt of the moving average filter 8 is
Figure 0005426992
It becomes. When subtracter 9 subtracts data Yfilt from 1 to obtain data Ysub,
Figure 0005426992
It becomes. Then, when the data Yfilt is used as a dividend and the data Ysub is used as a divisor to be input to the divider 10, the output data Ydiv of the divider 10 is
Figure 0005426992
It becomes.

これにより、アナログ入力電圧Viに比例するデータYdivが求まる。このデータYdivはDFF回路7のデータを更新するクロックCK毎に出力されるため、本発明によれば、二重積分型A/D変換器でクロックCKの周波数と等しい変換レートが得られる。   Thereby, data Ydiv proportional to the analog input voltage Vi is obtained. Since the data Ydiv is output for each clock CK for updating the data of the DFF circuit 7, according to the present invention, a conversion rate equal to the frequency of the clock CK can be obtained by the double integration type A / D converter.

図2は図1の積分回路4の内部回路を示し、41は演算増幅器、42はキャパシタ、43は抵抗である。出力電圧Voutは、キャパシタ42の値をC、抵抗43の値をRとすれば、

Figure 0005426992
で表される。ただし、この図2に示した積分回路は、入力電圧Vinに対して出力電圧Voutの極性が反転しているので、その出力電圧Voutの極性をさらに反転した電圧Vintにしてから、比較器5の非反転入力端子に入力させる必要がある。 2 shows an internal circuit of the integrating circuit 4 of FIG. 1, wherein 41 is an operational amplifier, 42 is a capacitor, and 43 is a resistor. If the value of the capacitor 42 is C and the value of the resistor 43 is R, the output voltage Vout is
Figure 0005426992
It is represented by However, since the polarity of the output voltage Vout is inverted with respect to the input voltage Vin in the integrating circuit shown in FIG. 2, the polarity of the output voltage Vout is further inverted to the voltage Vint before the comparator 5 It is necessary to input to the non-inverting input terminal.

<第2の実施例>
図3に本発明の第2の実施例のA/D変換器の構成を示す。図3のA/D変換器が図1のA/D変換器と異なる点は、積分回路4を一次遅れ回路4Aに置き換えた点である。
<Second embodiment>
FIG. 3 shows the configuration of the A / D converter according to the second embodiment of the present invention. The A / D converter in FIG. 3 differs from the A / D converter in FIG. 1 in that the integration circuit 4 is replaced with a first-order lag circuit 4A.

図1における積分回路4の入出力特性は、入力電圧をVin、出力電圧をVint、時定数をτaとすると、次の微分方程式

Figure 0005426992
で表すことができる。 The input / output characteristics of the integrating circuit 4 in FIG. 1 are as follows, where the input voltage is Vin, the output voltage is Vint, and the time constant is τa:
Figure 0005426992
It can be expressed as

一方、一次遅れ回路4Aの入出力特性は、図4に示すように、抵抗44とキャパシタ45で構成され、その一次遅れ回路4Aの入力電圧をVin、出力電圧をVint、時定数をτaとおくと、次の微分方程式

Figure 0005426992
で表すことができ、式(16)とは右辺の第2項が異なる。 On the other hand, as shown in FIG. 4, the input / output characteristics of the primary delay circuit 4A are composed of a resistor 44 and a capacitor 45. The input voltage of the primary delay circuit 4A is Vin, the output voltage is Vint, and the time constant is τa. And the differential equation
Figure 0005426992
The second term on the right side is different from the equation (16).

一次遅れ回路4Aを積分回路4に置き換えた場合、式(17)の右辺の第2項は誤差の原因となる。この誤差項の大きさは出力電圧Vintに比例している。しかし、本発明では、積分回路4の出力電圧Vintが0に近づくようにフィードバック制御がかかっているので、図1の積分回路4を一次遅れ回路4Aに置き換えても、その一次遅れ回路4Aの誤差成分は小さく抑えられる。この結果、第2の実施例によれば、積分回路4の代わりにコストの小さい一次遅れ回路4Aを利用することができる。   When the primary delay circuit 4A is replaced with the integration circuit 4, the second term on the right side of the equation (17) causes an error. The magnitude of this error term is proportional to the output voltage Vint. However, in the present invention, feedback control is applied so that the output voltage Vint of the integrating circuit 4 approaches 0. Therefore, even if the integrating circuit 4 in FIG. Ingredients are kept small. As a result, according to the second embodiment, the first-order lag circuit 4A having a low cost can be used instead of the integration circuit 4.

<その他の実施例>
なお、図1および図3のA/D変換器において、入力端子1の入力電圧Viを正、入力端子2の基準電圧を負の−Vrefとしたが、逆に、入力端子1の入力電圧Viを負、入力端子2の基準電圧を正の+Vrefとしてもよい。この場合は、積分回路4の出力側を比較器5の反転入力端子に接続し、グランド端子6は比較器5の非反転入力端子に接続する。このとき、スイッチ回路3は、積分回路4における積分方向が前回の積分方向と逆方向となるように、DFF回路7の出力データに応じて入力側を切り替えるので、図1および図3と同様に、DFF回路7の出力が“1”のとき入力端子2を選択し、“0”のとき入力端子1が選択する。
<Other examples>
1 and 3, the input voltage Vi of the input terminal 1 is positive and the reference voltage of the input terminal 2 is negative -Vref. Conversely, the input voltage Vi of the input terminal 1 is May be negative, and the reference voltage of the input terminal 2 may be positive + Vref. In this case, the output side of the integrating circuit 4 is connected to the inverting input terminal of the comparator 5, and the ground terminal 6 is connected to the non-inverting input terminal of the comparator 5. At this time, the switch circuit 3 switches the input side according to the output data of the DFF circuit 7 so that the integration direction in the integration circuit 4 is opposite to the previous integration direction. The input terminal 2 is selected when the output of the DFF circuit 7 is “1”, and the input terminal 1 is selected when it is “0”.

また、移動平均フィルタ8のタップ数Nの値は、特に制約はないが、要求される変換時間と変換精度によって決まる。Nの値を大きくすると変換精度は上がるが、変換速度が低下する。図1のA/D変換器のシミュレーション結果を図5に示した。(a)がN=50のとき、(b)がN=200のときの結果である。A/D変換出力はここではアナログ値換算値を示す。N=50のときの方がN=200のときよりも変換時間は早いが、リプルが大きくなって変換精度が低下している。   The value of the tap number N of the moving average filter 8 is not particularly limited, but is determined by the required conversion time and conversion accuracy. Increasing the value of N increases the conversion accuracy but decreases the conversion speed. A simulation result of the A / D converter of FIG. 1 is shown in FIG. This is the result when (a) is N = 50 and (b) is N = 200. Here, the A / D conversion output indicates an analog value converted value. When N = 50, the conversion time is faster than when N = 200, but the ripple becomes large and the conversion accuracy decreases.

1:正のアナログ入力信号Viの入力端子、2:負の基準電圧−Vrefの入力端子、3:スイッチ回路、4:積分回路、4A:一次遅れ回路、5:比較器、6:グランド端子、7:DFF回路、8:移動平均フィルタ、9:減算器、10:除算器、11:出力端子
21:正のアナログ入力信号Viの入力端子、22:負の基準電圧−Vrefの入力端子、23:スイッチ回路、24:積分回路、25:比較器、26:グランド端子、27:制御回路、28:出力端子
1: input terminal of positive analog input signal Vi, 2: input terminal of negative reference voltage −Vref, 3: switch circuit, 4: integration circuit, 4A: primary delay circuit, 5: comparator, 6: ground terminal, 7: DFF circuit, 8: Moving average filter, 9: Subtractor, 10: Divider, 11: Output terminal 21: Input terminal for positive analog input signal Vi, 22: Input terminal for negative reference voltage -Vref, 23 : Switch circuit, 24: integration circuit, 25: comparator, 26: ground terminal, 27: control circuit, 28: output terminal

Claims (3)

入力アナログ電圧および該入力アナログ電圧と逆極性の基準電圧の一方を選択するスイッチ回路と、該スイッチ回路から出力する電圧を時間積分する積分回路と、該積分回路の出力電圧をグランド電位と比較して第1の値又は第2の値のデータを出力する比較器と、該比較器の出力データをクロック毎に更新して保持するDFF回路と、該DFF回路から出力する時間的に連続する現在から過去にさかのぼった合計N個のデータのうちの前記第1の値の数と前記第2の値の数の割合に応じた出力データを前記クロック毎に出力する処理回路とを備え、前記スイッチ回路は、前記DFF回路の出力データに応じて前記積分回路での積分方向が、前記積分回路の出力電圧がグランド電位に近づく方向になるように、前記入力アナログ電圧および前記基準電圧の一方を選択することを特徴とするA/D変換器。 A switch circuit that selects one of the input analog voltage and a reference voltage having a polarity opposite to that of the input analog voltage, an integration circuit that time-integrates the voltage output from the switch circuit, and the output voltage of the integration circuit is compared with a ground potential. A comparator that outputs data of the first value or the second value, a DFF circuit that updates and holds the output data of the comparator for each clock, and a temporally continuous current output from the DFF circuit And a processing circuit for outputting output data corresponding to the ratio of the number of the first value and the number of the second value among the total N pieces of data dating back to the past, and the switch In accordance with output data of the DFF circuit, the circuit integrates the input analog voltage and the previous voltage so that the integration direction in the integration circuit is a direction in which the output voltage of the integration circuit approaches a ground potential. A / D converter and selects one of the reference voltage. 請求項1に記載のA/D変換器において、
前記積分回路を、一次遅れ回路に置き換えたことを特徴とするA/D変換器。
The A / D converter according to claim 1,
An A / D converter, wherein the integrating circuit is replaced with a first-order lag circuit.
請求項1又は2に記載のA/D変換器において、
前記処理回路は、前記N個のデータのうちの前記第1の値の数を演算する移動平均フィルタと、1の値から前記移動平均フィルタの出力値を減算して前記N個のデータのうちの前記第2の値の数を演算する減算器と、前記移動フィルタの出力値と前記減算器の出力値の割合を演算する除算器と、を含むことを特徴とするA/D変換器。
The A / D converter according to claim 1 or 2,
The processing circuit includes a moving average filter that calculates the number of the first values of the N pieces of data, and subtracts an output value of the moving average filter from a value of one of the N pieces of data. An A / D converter, comprising: a subtractor for calculating the number of the second values of the first subtractor; and a divider for calculating a ratio of the output value of the moving filter and the output value of the subtractor.
JP2009239974A 2009-10-19 2009-10-19 A / D converter Active JP5426992B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009239974A JP5426992B2 (en) 2009-10-19 2009-10-19 A / D converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009239974A JP5426992B2 (en) 2009-10-19 2009-10-19 A / D converter

Publications (2)

Publication Number Publication Date
JP2011087206A JP2011087206A (en) 2011-04-28
JP5426992B2 true JP5426992B2 (en) 2014-02-26

Family

ID=44079819

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009239974A Active JP5426992B2 (en) 2009-10-19 2009-10-19 A / D converter

Country Status (1)

Country Link
JP (1) JP5426992B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5088962A (en) * 1973-12-10 1975-07-17
JPH102951A (en) * 1996-06-14 1998-01-06 Mitsubishi Electric Corp Method and device for monitoring substance by using sound wave

Also Published As

Publication number Publication date
JP2011087206A (en) 2011-04-28

Similar Documents

Publication Publication Date Title
US9157937B2 (en) Capacitance to digital converter and method
JP4702723B2 (en) DC-DC converter with switchable estimator
EP2198313B1 (en) Switched capacitor measurement circuit for measuring the capacitance of an input capacitor
TW201140001A (en) Method of measuring a physical parameter and electronic interface circuit for a capacitive sensor for implementing the same
CN101420212A (en) Capacity resistance time constant calibrator unit
JP6293516B2 (en) Double integral type A / D converter
WO2002027919A2 (en) Non-linear signal correction
JP5426992B2 (en) A / D converter
WO2010086348A2 (en) Method and system for measuring a time constant of an integrated circuit, and integrated circuit provided with such a system
US10797715B2 (en) Filtering method and filter
JP5696540B2 (en) AD converter, dial input device, and resistance-voltage conversion circuit
JP4775214B2 (en) ΣΔ AD converter circuit
JP6371646B2 (en) Feedback type pulse width modulator
JP4422284B2 (en) A / D converter and semiconductor pressure sensor device
JP6132095B2 (en) Signal converter
JP6405149B2 (en) D / A converter circuit
US20210067169A1 (en) Signal processing device
JPH05243857A (en) Offset immune type switched capacitor amplifier circuit
WO2009019632A1 (en) Signal processor comprising an integrating analog-to-digital converter
JPH09205367A (en) Integration a/d conversion method
JPH0530084B2 (en)
JPS60217732A (en) Digital-analog converter
JP3825565B2 (en) Integration type A / D conversion calibration method and integration type A / D converter
JP2012165330A (en) Analog-digital converter
JPH0877282A (en) Analog arithmetic circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120903

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130910

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130912

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131028

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: 20131122

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131129

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 5426992

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250