JP6786829B2 - AD converter - Google Patents

AD converter Download PDF

Info

Publication number
JP6786829B2
JP6786829B2 JP2016056015A JP2016056015A JP6786829B2 JP 6786829 B2 JP6786829 B2 JP 6786829B2 JP 2016056015 A JP2016056015 A JP 2016056015A JP 2016056015 A JP2016056015 A JP 2016056015A JP 6786829 B2 JP6786829 B2 JP 6786829B2
Authority
JP
Japan
Prior art keywords
voltage
gain
amplifier
circuit
output signal
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
JP2016056015A
Other languages
Japanese (ja)
Other versions
JP2017175215A (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.)
Yamaha Corp
Original Assignee
Yamaha 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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP2016056015A priority Critical patent/JP6786829B2/en
Publication of JP2017175215A publication Critical patent/JP2017175215A/en
Application granted granted Critical
Publication of JP6786829B2 publication Critical patent/JP6786829B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Analogue/Digital Conversion (AREA)

Description

本発明は、AD変換器に関し、特にフロート出力型AD変換器に関する。 The present invention relates to an AD converter, and more particularly to a float output type AD converter.

フロート出力型AD変換とは、アナログ入力信号を、当該アナログ信号にAD変換を施すことで得られる値を浮動小数点方式で表した場合の仮数部を表すデジタルデータ(以下、単に「データ」という場合がある)と指数部を表すデータとに変換することを言う。フロート出力型AD変換を行うAD変換器の用途としては、例えばアナログオーディオ信号をデジタルデータに変換して記録或いは再生するデジタルオーディオ録音再生機における利用が挙げられる。デジタルオーディオ録音再生機では、元のアナログオーディオ信号の音波形を忠実に復元することが必要となる。フロート出力型AD変換であれば、仮数部および指数部を表す各データから元のアナログオーディオ信号の値を復元することができるからである。このようなフロート出力型AD変換を行うAD変換器の一例としては、非特許文献1に開示のAD変換器が挙げられる。 Float output type AD conversion is digital data representing the mantissa part of an analog input signal when the value obtained by subjecting the analog signal to AD conversion is expressed in a floating point system (hereinafter, simply referred to as "data"). There is) and the data that represents the exponent part. Applications of the AD converter that performs float output type AD conversion include, for example, use in a digital audio recording / playback device that converts an analog audio signal into digital data and records or reproduces it. In a digital audio recording / playback machine, it is necessary to faithfully restore the sound wave shape of the original analog audio signal. This is because the float output type AD conversion can restore the value of the original analog audio signal from the data representing the mantissa and the exponent. An example of an AD converter that performs such a float output type AD conversion is an AD converter disclosed in Non-Patent Document 1.

非特許文献1に開示のAD変換器は、増幅器、AD変換回路、およびゲイン調整回路を有する。増幅器は、ゲインの調整が可能な増幅器であって、AD変換の対象となるアナログ入力信号を増幅してAD変換回路へ出力する。AD変換回路は、増幅器の出力信号にAD変換を施し、仮数部を表すデータとして出力する。ゲイン調整回路は、増幅器の出力信号の信号レベルがAD変換回路の許容入力電圧範囲に収まるように当該増幅器におけるゲインを上記アナログ入力信号に応じて調整する。例えば増幅器におけるゲインを1倍〜10倍までの10段階とする場合には、倍率の区切りに各々対応する9種類の参照電圧を各々発生させる9種類の参照電圧発生回路と、各参照電圧と入力アナログ信号の大小比較を行う比較器とをゲイン調整回路に設け、各比較器による比較結果に応じて増幅器にゲインを設定する処理をゲイン調整回路に実行させれば良い。非特許文献1に開示の技術では上記ゲインを表すデータが、上記指数部を表すデータとして出力される。 The AD converter disclosed in Non-Patent Document 1 includes an amplifier, an AD conversion circuit, and a gain adjustment circuit. The amplifier is an amplifier whose gain can be adjusted, and amplifies an analog input signal to be AD-converted and outputs it to an AD conversion circuit. The AD conversion circuit performs AD conversion on the output signal of the amplifier and outputs it as data representing the mantissa. The gain adjusting circuit adjusts the gain in the amplifier according to the analog input signal so that the signal level of the output signal of the amplifier falls within the allowable input voltage range of the AD conversion circuit. For example, when the gain in the amplifier is set to 10 steps from 1 to 10 times, 9 types of reference voltage generation circuits that generate 9 types of reference voltages corresponding to each magnification division, and each reference voltage and input. A comparator for comparing the magnitude of the analog signal may be provided in the gain adjusting circuit, and the gain adjusting circuit may execute a process of setting the gain in the amplifier according to the comparison result by each comparator. In the technique disclosed in Non-Patent Document 1, the data representing the gain is output as the data representing the exponent portion.

特開2012−049626号公報Japanese Unexamined Patent Publication No. 2012-049626 特開平07−045000号公報Japanese Unexamined Patent Publication No. 07-045000

“FLOATING-POINT CONVERSION” AD526: Software Programmable GainAmplifier Data Sheet (Rev. D)、p.12、[online]、1999年、Analog Devices, Inc、[平成28年3月16日検索]、インターネット<URL:http://www.analog.com/media/en/technical-documentation/data-sheets/AD526.pdf>"FLOATING-POINT CONVERSION" AD526: Software Programmable GainAmplifier Data Sheet (Rev. D), p.12, [online], 1999, Analog Devices, Inc, [Searched March 16, 2016], Internet <URL: http://www.analog.com/media/en/technical-documentation/data-sheets/AD526.pdf >

非特許文献1に開示に技術には、量子化誤差を小さくするために増幅器におけるゲインをきめ細やかに設定できるようにすると、AD変換器の回路規模が大きくなるといった問題がある。ゲインの調整段数が多くなるほど、ゲイン調整回路に設ける参照電圧発生回路および比較器の数が増えるからである。また、非特許文献1に開示の技術には、アナログ入力信号の信号レベルが低い場合にノイズの影響により動作が不安定になり易いといった問題もある。信号レベルの低いアナログ入力信号に対応するためには、高倍率に対応する参照電圧を十分に低くする必要がある一方、当該参照電圧を低くするとゲイン調整回路の動作が不安定になる場合があるからである。 The technique disclosed in Non-Patent Document 1 has a problem that the circuit scale of the AD converter becomes large if the gain in the amplifier can be finely set in order to reduce the quantization error. This is because as the number of gain adjustment stages increases, the number of reference voltage generation circuits and comparators provided in the gain adjustment circuit increases. Further, the technique disclosed in Non-Patent Document 1 also has a problem that when the signal level of the analog input signal is low, the operation tends to be unstable due to the influence of noise. In order to correspond to an analog input signal with a low signal level, it is necessary to sufficiently lower the reference voltage corresponding to the high magnification, but if the reference voltage is lowered, the operation of the gain adjustment circuit may become unstable. Because.

本発明は上記課題に鑑みて為されたものであり、回路規模を抑えつつきめ細やかなゲインの設定が可能で、アナログ入力信号の信号レベルが低くてもノイズの影響を受け難いフロート出力型AD変換を実現する技術を提供することを目的とする。 The present invention has been made in view of the above problems, and it is possible to finely set the gain while suppressing the circuit scale, and the float output type AD which is not easily affected by noise even if the signal level of the analog input signal is low. The purpose is to provide a technology that realizes conversion.

上記課題を解決するために本発明は、アナログ入力信号の電圧を増幅して出力する増幅器と、増幅器の出力信号にAD変換を施して出力するAD変換回路と、増幅器の出力信号の電圧がAD変換回路の許容入力電圧範囲に収まるまで増幅器におけるゲインを当該増幅器の出力信号に応じて調整する処理を繰り返し、当該ゲインを出力するゲイン調整回路と、有することを特徴とするAD変換器、を提供する。 In order to solve the above problems, the present invention presents an amplifier that amplifies and outputs the voltage of an analog input signal, an AD conversion circuit that performs AD conversion on the output signal of the amplifier and outputs it, and an AD conversion circuit that outputs the output signal of the amplifier. Provided are a gain adjusting circuit that repeats a process of adjusting a gain in an amplifier according to an output signal of the amplifier until it falls within the allowable input voltage range of the conversion circuit and outputs the gain, and an AD converter characterized by having the gain adjusting circuit. To do.

本発明のAD変換器におけるAD変換回路の出力を、アナログ入力信号にAD変換を施すことで得られる値を浮動小数点方式で表した場合の仮数部とし、ゲイン調整回路の出力を同指数部として扱えば、フロート型AD変換が実現される。本発明においては、ゲイン調整回路は、増幅器の出力信号の電圧が許容入力電圧範囲の上限に対応する参照電圧よりも大きければゲインを一定の割合で減少させ、増幅器の出力信号の電圧が許容入力電圧範囲の下限に対応する参照電圧よりも小さければゲインを一定の割合で増加させる処理を、増幅器の出力信号の電圧が許容入力電圧範囲に収まるまで繰り返し行う。本発明では、許容入力電圧範囲の下限に対応する参照電圧を、アナログ入力信号の信号レベル(電圧)に応じて引き下げる必要はなく、ノイズの影響を受け難くなる。また、本発明ではゲイン調整回路は逐次処理でゲインを算出するため、ゲイン調整の段数に応じた数の比較器を設ける必要はなく、ゲイン調整回路の小規模化、すなわち当該ゲイン調整回路を含むAD変換器全体の小規模化を実現することができる。 The output of the AD conversion circuit in the AD converter of the present invention is a mantissa part when the value obtained by subjecting the analog input signal to AD conversion is expressed by a floating point method, and the output of the gain adjustment circuit is the exponent part. If handled, float-type AD conversion will be realized. In the present invention, the gain adjustment circuit reduces the gain at a constant rate if the voltage of the output signal of the amplifier is larger than the reference voltage corresponding to the upper limit of the allowable input voltage range, and the voltage of the output signal of the amplifier is the allowable input. If it is smaller than the reference voltage corresponding to the lower limit of the voltage range, the process of increasing the gain at a constant rate is repeated until the voltage of the output signal of the amplifier falls within the allowable input voltage range. In the present invention, it is not necessary to lower the reference voltage corresponding to the lower limit of the allowable input voltage range according to the signal level (voltage) of the analog input signal, and it becomes less susceptible to noise. Further, in the present invention, since the gain adjustment circuit calculates the gain by sequential processing, it is not necessary to provide a number of comparators according to the number of gain adjustment stages, and the gain adjustment circuit is downsized, that is, the gain adjustment circuit is included. It is possible to reduce the size of the entire AD converter.

特許文献1には、アナログ入力信号を増幅してAD変換回路に供給する増幅器を有し、当該増幅器におけるゲインを当該増幅器の出力信号に応じて調整する構成のAD変換器が開示されている。しかし、特許文献1に開示のAD変換器では上記ゲインを表すデータは外部へ出力されない。つまり、特許文献1に開示のAD変換器はフロート出力型のAD変換器ではなく、本願発明とは異なる。また、特許文献2には、アナログ入力信号をデジタルデータに変換するAD変換手段と、AD変換手段で変換されたデジタルデータがフルスケールデータを超えることを検出する検出手段と、上記デジタルデータがフルスケールデータを超える場合に所定のオフセット電圧を加えてAD変換手段の出力をフルスケールデータ以下に抑える減衰手段とを有するデジタルオーディオ再生装置の発明が開示されている。特許文献2に開示の技術もフロート出力型のAD変換に関する技術ではなく、本願発明とは異なる技術である。 Patent Document 1 discloses an AD converter having an amplifier that amplifies an analog input signal and supplies it to an AD conversion circuit, and that adjusts the gain of the amplifier according to the output signal of the amplifier. However, in the AD converter disclosed in Patent Document 1, the data representing the above gain is not output to the outside. That is, the AD converter disclosed in Patent Document 1 is not a float output type AD converter, and is different from the present invention. Further, Patent Document 2 describes AD conversion means for converting an analog input signal into digital data, detection means for detecting that the digital data converted by the AD conversion means exceeds full-scale data, and the digital data being full. The invention of a digital audio reproduction apparatus having a damping means for suppressing the output of an AD conversion means to a full scale data or less by applying a predetermined offset voltage when the scale data is exceeded is disclosed. The technique disclosed in Patent Document 2 is not a technique related to a float output type AD conversion, but is a technique different from the present invention.

より好ましい態様によれば、上記ゲイン調整回路は、参照電圧と増幅器の出力信号の電圧との差が大きいほど、ゲインの調整量を大きくすることを特徴とする。このような態様によれば、参照電圧と増幅器の出力信号の電圧との差によらず常に一定の割合でゲインを増減させる態様に比較して、増幅器の出力信号の電圧が許容入力電圧範囲に収まるまでに要する時間を短縮することができる。 According to a more preferred embodiment, the gain adjusting circuit is characterized in that the larger the difference between the reference voltage and the voltage of the output signal of the amplifier, the larger the gain adjusting amount. According to such an embodiment, the voltage of the output signal of the amplifier is within the allowable input voltage range as compared with the embodiment in which the gain is always increased or decreased at a constant rate regardless of the difference between the reference voltage and the voltage of the output signal of the amplifier. The time required to settle can be shortened.

さらに好ましい態様においては、上記AD変換器は、AD変換回路の出力信号値をアナログ入力信号にAD変換を施して得られる値を浮動小数点形式で表現した場合の仮数部とし、ゲイン調整回路の出力信号値を指数部として当該アナログ入力信号にAD変換を施して得られる値を復元する復元回路をさらに有する。 In a more preferred embodiment, the AD converter uses the output signal value of the AD conversion circuit as an improper part when the value obtained by subjecting the analog input signal to AD conversion is expressed in a floating point format, and is the output of the gain adjustment circuit. It further has a restoration circuit that restores the value obtained by subjecting the analog input signal to AD conversion using the signal value as an exponent unit.

この発明の第1実施形態のAD変換器10Aの構成例を示す図である。It is a figure which shows the structural example of the AD converter 10A of the 1st Embodiment of this invention. 同AD変換器10Aが有するゲイン調整回路110の構成例を示す図である。It is a figure which shows the structural example of the gain adjustment circuit 110 which the AD converter 10A has. 同ゲイン調整回路110が実行するゲイン調整処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the gain adjustment processing which the gain adjustment circuit 110 executes. 同実施形態における第1の参照電圧Vref1および第2の参照電圧Vref2の各々を説明するための図である。It is a figure for demonstrating each of the 1st reference voltage Vref1 and the 2nd reference voltage Vref2 in the same embodiment. この発明の第2実施形態のAD変換器10Bの構成例を示す図である。It is a figure which shows the structural example of the AD converter 10B of the 2nd Embodiment of this invention. この発明の第3実施形態のAD変換器10Cの構成例を示す図である。It is a figure which shows the structural example of the AD converter 10C of the 3rd Embodiment of this invention. 同AD変換器10Cが有するゲイン調整回路210の構成例を示す図である。It is a figure which shows the structural example of the gain adjustment circuit 210 which the AD converter 10C has. 同実施形態における各参照電圧を説明するための図である。It is a figure for demonstrating each reference voltage in the same embodiment. 同ゲイン調整回路210が実行するゲイン調整処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the gain adjustment processing which the gain adjustment circuit 210 executes.

以下本発明の実施の形態を図面を参照しつつ説明する。
<A:第1実施形態>
図1は、この発明の第1実施形態のAD変換器10Aの構成例を示す図である。
AD変換器10Aは外部から与えられるアナログ入力信号にAD変換を施し、このAD変換により得られた値を浮動小数点方式で表現した場合の仮数部を表すデータと指数部を表すデータとを出力するフロート出力型のAD変換器である。AD変換器10Aは、例えばデジタルオーディオ録音再生機に組み込まれる。本実施形態では、AD変換の対象となるアナログ入力信号として正電圧の範囲で信号レベルが変動する信号、すなわち、信号の谷(負のピーク)においても信号レベルが正の値となる信号がAD変換器10Aに入力される。図1に示すように、AD変換器10Aは、増幅器100と、ゲイン調整回路110と、AD変換回路120とを有する。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
<A: First Embodiment>
FIG. 1 is a diagram showing a configuration example of the AD converter 10A according to the first embodiment of the present invention.
The AD converter 10A performs AD conversion on an analog input signal given from the outside, and outputs data representing a mantissa part and data representing an exponent part when the value obtained by this AD conversion is expressed by a floating point method. It is a float output type AD converter. The AD converter 10A is incorporated in, for example, a digital audio recording / playback device. In the present embodiment, as an analog input signal to be AD-converted, a signal whose signal level fluctuates in the positive voltage range, that is, a signal whose signal level is a positive value even in a signal valley (negative peak) is AD. It is input to the converter 10A. As shown in FIG. 1, the AD converter 10A includes an amplifier 100, a gain adjusting circuit 110, and an AD conversion circuit 120.

増幅器100は、アナログ入力信号I_Sの電圧を増幅し、その増幅結果であるアナログ信号M_Sを出力する。図1に示すように、増幅器100の出力信号M_Sは、ゲイン調整回路110とAD変換回路120に与えられる。図1では詳細な図示を省略したが、AD変換器10Aの前段にはAD変換の対象となるアナログ信号を一定のサンプリング周期でサンプリングし、サンプル値を当該サンプリング周期に応じた期間に亘って保持するとともに当該サンプル値を表すアナログ信号をAD変換器10Aに与えるサンプルホールド回路が設けられている。増幅器100には、当該サンプルホールド回路の出力信号が与えられる。 The amplifier 100 amplifies the voltage of the analog input signal I_S and outputs the analog signal M_S which is the amplification result. As shown in FIG. 1, the output signal M_S of the amplifier 100 is given to the gain adjustment circuit 110 and the AD conversion circuit 120. Although detailed illustration is omitted in FIG. 1, the analog signal to be AD-converted is sampled at a constant sampling cycle in the previous stage of the AD converter 10A, and the sample value is held for a period corresponding to the sampling cycle. At the same time, a sample hold circuit for giving an analog signal representing the sample value to the AD converter 10A is provided. The output signal of the sample hold circuit is given to the amplifier 100.

AD変換回路120は、増幅器100の出力信号M_SにAD変換を施し、その変換結果を表すデータO_SをAD変換器10Aの後段へ出力する。AD変換回路120から出力されるデータO_Sは、アナログ入力信号I_SにAD変換を施すことで得られる値を浮動小数点方式で表現した場合の仮数部を表すデータとして用いられる。この点は従来のフロート出力型AD変換器と同一である。ゲイン調整回路110は、増幅器100の出力信号M_Sの電圧がAD変換回路120の許容入力電圧範囲に収まるように増幅器100における増幅率(ゲイン)Gを調整する回路である。図1に示すように、ゲイン調整回路110により算出されたゲインGを表すデータは増幅器100に与えられる他、AD変換器10Aの後段へ出力され、アナログ入力信号I_SにAD変換を施すことで得られる値を浮動小数点方式で表現した場合の指数部を表すデータとして用いられる。この点も従来のフロート出力型AD変換器と同一である。 The AD conversion circuit 120 performs AD conversion on the output signal M_S of the amplifier 100, and outputs data O_S representing the conversion result to the subsequent stage of the AD converter 10A. The data O_S output from the AD conversion circuit 120 is used as data representing the mantissa when the value obtained by subjecting the analog input signal I_S to AD conversion is expressed in a floating point system. This point is the same as the conventional float output type AD converter. The gain adjustment circuit 110 is a circuit that adjusts the amplification factor (gain) G in the amplifier 100 so that the voltage of the output signal M_S of the amplifier 100 falls within the allowable input voltage range of the AD conversion circuit 120. As shown in FIG. 1, the data representing the gain G calculated by the gain adjustment circuit 110 is given to the amplifier 100, output to the subsequent stage of the AD converter 10A, and obtained by performing AD conversion on the analog input signal I_S. It is used as data representing the exponent part when the value to be expressed is expressed by the floating point method. This point is also the same as the conventional float output type AD converter.

ゲイン調整回路110は、増幅器100の出力信号M_Sに応じてゲインGを算出するように構成されており、この点に本実施形態の特徴がある。以下、本実施形態の特徴を顕著に示すゲイン調整回路110を中心に説明する。図2は、ゲイン調整回路110の構成例を示す図である。図2に示すように、ゲイン調整回路110は、比較器110aおよび110bと、ゲイン計算回路110cを有する。図2では詳細な図示を省略したが、比較器110aおよび比較器110bの各々は、高電位側電源線と低電位側電源線に接続されており、両電源線の電位差が比較器110aおよび比較器110bの動作電圧となる。 The gain adjustment circuit 110 is configured to calculate the gain G according to the output signal M_S of the amplifier 100, which is a feature of the present embodiment. Hereinafter, the gain adjustment circuit 110, which remarkably exhibits the features of the present embodiment, will be mainly described. FIG. 2 is a diagram showing a configuration example of the gain adjustment circuit 110. As shown in FIG. 2, the gain adjusting circuit 110 includes comparators 110a and 110b and a gain calculation circuit 110c. Although detailed illustration is omitted in FIG. 2, each of the comparator 110a and the comparator 110b is connected to the high potential side power supply line and the low potential side power supply line, and the potential difference between the two power supply lines is compared with that of the comparator 110a. It becomes the operating voltage of the device 110b.

比較器110aの非反転入力端子には第1の参照電圧Vref1を表す信号が供給され、同反転入力端子には増幅器100の出力信号M_Sが供給される。第1の参照電圧Vref1は、AD変換回路120の許容入力電圧範囲の下限に応じて定められる電圧値である。第1の参照電圧Vref1の発生については、周知の定電圧発生回路等を用いるようにすれば良い。比較器110aは、増幅器100の出力信号M_Sの電圧値と第1の参照電圧Vref1との大小比較を行い、比較結果信号CSaをゲイン算出回路110cへ出力する。出力信号M_Sの電圧値が第1の参照電圧Vref1よりも低ければ、比較結果信号CSaはHレベル(本実施形態では、高電位側電源線の電圧)となり、出力信号M_Sの電圧値が第1の参照電圧Vref1以上であれば、比較結果信号CSaはLレベル(本実施形態では、低電位側電源線の電圧)となる。 A signal representing the first reference voltage Vref1 is supplied to the non-inverting input terminal of the comparator 110a, and the output signal M_S of the amplifier 100 is supplied to the inverting input terminal. The first reference voltage Vref1 is a voltage value determined according to the lower limit of the allowable input voltage range of the AD conversion circuit 120. For the generation of the first reference voltage Vref1, a well-known constant voltage generation circuit or the like may be used. The comparator 110a compares the magnitude of the voltage value of the output signal M_S of the amplifier 100 with the first reference voltage Vref1 and outputs the comparison result signal CSa to the gain calculation circuit 110c. If the voltage value of the output signal M_S is lower than the first reference voltage Vref1, the comparison result signal CSa becomes H level (voltage of the high potential side power supply line in this embodiment), and the voltage value of the output signal M_S is the first. If the reference voltage is Vref1 or higher, the comparison result signal CSa becomes the L level (in this embodiment, the voltage of the low potential side power supply line).

比較器110bの反転入力端子には第2の参照電圧Vref2を表す信号が供給され、同非反転入力端子には増幅器100の出力信号M_Sが供給される。第2の参照電圧Vref2は、AD変換回路120の許容入力電圧範囲の上限に応じて定められる電圧値である。つまり、第2の参照電圧Vref2と第1の参照電圧Vref1の大小関係は、第1の参照電圧Vref1<第2の参照電圧Vref2である。この第2の参照電圧Vref2の発生についても、周知の定電圧発生回路等を用いるようにすれば良い。比較器110bは、増幅器100の出力信号M_Sの電圧値と第2の参照電圧Vref2との大小比較を行い、比較結果信号CSbをゲイン算出回路110cへ出力する。出力信号M_Sの電圧値が第2の参照電圧Vref2よりも高ければ、比較結果信号CSbはHレベルとなり、出力信号M_Sの電圧値が第2の参照電圧Vref2以下であれば、比較結果信号CSbはLレベルとなる。 A signal representing the second reference voltage Vref2 is supplied to the inverting input terminal of the comparator 110b, and the output signal M_S of the amplifier 100 is supplied to the non-inverting input terminal. The second reference voltage Vref2 is a voltage value determined according to the upper limit of the allowable input voltage range of the AD conversion circuit 120. That is, the magnitude relationship between the second reference voltage Vref2 and the first reference voltage Vref1 is that the first reference voltage Vref1 <the second reference voltage Vref2. For the generation of the second reference voltage Vref2, a well-known constant voltage generation circuit or the like may be used. The comparator 110b compares the magnitude of the voltage value of the output signal M_S of the amplifier 100 with the second reference voltage Vref2, and outputs the comparison result signal CSb to the gain calculation circuit 110c. If the voltage value of the output signal M_S is higher than the second reference voltage Vref2, the comparison result signal CSb becomes H level, and if the voltage value of the output signal M_S is equal to or less than the second reference voltage Vref2, the comparison result signal CSb is It becomes L level.

ゲイン調整回路110cは例えばCPU(Central Processing Unit)であり、例えばAD変換回路10Aの電源(図示略)等を契機として、予めメモリに記憶されたゲイン調整プログラムを読み出し当該プログラムを実行する。ゲイン調整プログラムにしたがって作動しているゲイン調整回路110cは、増幅器100のゲインGに初期値A(Aは1以上の予め定められた実数))を設定し、以降、図3に示すゲイン調整処理を実行する。 The gain adjustment circuit 110c is, for example, a CPU (Central Processing Unit), and for example, when the power supply (not shown) of the AD conversion circuit 10A is used as an opportunity, the gain adjustment program stored in the memory in advance is read out and the program is executed. The gain adjustment circuit 110c operating according to the gain adjustment program sets an initial value A (A is a predetermined real number of 1 or more) to the gain G of the amplifier 100, and thereafter, the gain adjustment process shown in FIG. To execute.

図3に示すよう、ゲイン調整回路110cは、まず、増幅器100の出力信号M_Sの電圧値が第1の参照電圧Vref1より低いか否かを比較結果信号CSaを参照して判定する(ステップSA100)。本実施形態では、比較結果信号CSaがHレベルである場合に、ステップSA100の判定結果は“Yes”となる。ステップSA100の判定結果が“Yes”であった場合、ゲイン調整回路110cは、ゲインGを一段階引き上げ(ステップSA130)、ステップSA140以降の処理を実行する。より詳細に説明すると、ステップSA130では、ゲイン調整回路110cは、ゲインGをA倍する。 As shown in FIG. 3, the gain adjusting circuit 110c first determines whether or not the voltage value of the output signal M_S of the amplifier 100 is lower than the first reference voltage Vref1 with reference to the comparison result signal CSa (step SA100). .. In the present embodiment, when the comparison result signal CSa is H level, the determination result in step SA100 is “Yes”. When the determination result in step SA100 is “Yes”, the gain adjustment circuit 110c raises the gain G by one step (step SA130) and executes the processes after step SA140. More specifically, in step SA130, the gain adjusting circuit 110c multiplies the gain G by A.

ステップSA100の判定結果が“No”であった場合には、ゲイン調整回路110cは、増幅器100の出力信号M_Sの電圧値が第2の参照電圧Vref2より高いか否かを比較結果信号CSbを参照して判定する(ステップSA110)。本実施形態では、比較結果信号CSbがHレベルである場合に、ステップSA110の判定結果は“Yes”となる。ステップSA110の判定結果が“Yes”であった場合、ゲイン調整回路110cは、ゲインGを一段階引き下げ(ステップSA120)、ステップSA140以降の処理を実行する。より詳細に説明すると、ステップSA120では、ゲイン調整回路110cは、ゲインGを1/A倍する。これに対してステップSA110の判定結果が“No”であった場合には、ゲイン調整回路110cはステップSA120の処理を実行することなく、ステップSA140の処理を実行する。 When the determination result in step SA100 is "No", the gain adjustment circuit 110c refers to the comparison result signal CSb whether or not the voltage value of the output signal M_S of the amplifier 100 is higher than the second reference voltage Vref2. (Step SA110). In the present embodiment, when the comparison result signal CSb is H level, the determination result in step SA110 is “Yes”. If the determination result in step SA110 is “Yes”, the gain adjustment circuit 110c reduces the gain G by one step (step SA120) and executes the processes after step SA140. More specifically, in step SA120, the gain adjusting circuit 110c multiplies the gain G by 1 / A. On the other hand, when the determination result of step SA110 is "No", the gain adjustment circuit 110c executes the process of step SA140 without executing the process of step SA120.

ステップSA140では、ゲイン調整回路110cは増幅器100にゲインGを出力する。ステップSA140に後続するステップSA150では、ゲイン調整回路110はAD変換の終了を指示されたか否かを判定し、判定結果が“No”である場合にはステップSA100以降の処理を再度実行する一方、判定結果が“Yes”である場合には、ゲイン調整処理を終了する。
以上がゲイン調整処理の流れである。
In step SA140, the gain adjustment circuit 110c outputs the gain G to the amplifier 100. In step SA150 following step SA140, the gain adjustment circuit 110 determines whether or not the end of AD conversion has been instructed, and if the determination result is "No", the processes after step SA100 are executed again, while the processing is executed again. If the determination result is "Yes", the gain adjustment process is terminated.
The above is the flow of the gain adjustment process.

図4に示すように、アナログ入力信号I_Sの正のピーク(振幅の山)と負のピーク(振幅の谷)はAD変換回路120の許容入力電圧範囲に収まっているとは限らない。なお、図4では、AD変換回路120の許容入力電圧範囲の上限=第2の参照電圧Vref2であり、同下限=第1の参照電圧Vref1である場合について例示されている。本実施形態では、出力信号M_Sの電圧値が第1の参照電圧Vref1を下回っている間、ゲインGは一段階ずつ引き上げられ、ゲインGの引き上げに応じて増幅器100の出力信号M_Sの信号レベルも段階的に増加する。増幅器100の出力信号M_Sの信号レベルが増加して第1の参照電圧Vref1以上になると、比較結果信号CSaはLレベルとなって、ゲインGの引き上げは行われなくなる。また、出力信号M_Sの電圧値が第2の参照電圧Vref2を上回っている間は、ゲインGは一段階ずつ引き下げられ、ゲインGの引き下げに応じて増幅器100の出力信号M_Sの信号レベルも段階的に減少する。増幅器100の出力信号M_Sの信号レベルが減少して第2の参照電圧Vref2以下になると、比較結果信号CSbはLレベルとなって、ゲインGの引き下げが行われなくなる。 As shown in FIG. 4, the positive peak (amplitude peak) and the negative peak (amplitude valley) of the analog input signal I_S are not always within the allowable input voltage range of the AD conversion circuit 120. Note that FIG. 4 illustrates a case where the upper limit of the allowable input voltage range of the AD conversion circuit 120 = the second reference voltage Vref2 and the lower limit = the first reference voltage Vref1. In the present embodiment, while the voltage value of the output signal M_S is lower than the first reference voltage Vref1, the gain G is increased step by step, and the signal level of the output signal M_S of the amplifier 100 is also increased according to the increase of the gain G. Increase gradually. When the signal level of the output signal M_S of the amplifier 100 increases to be equal to or higher than the first reference voltage Vref1, the comparison result signal CSa becomes the L level and the gain G is not increased. Further, while the voltage value of the output signal M_S exceeds the second reference voltage Vref2, the gain G is lowered step by step, and the signal level of the output signal M_S of the amplifier 100 is also stepwise according to the lowering of the gain G. Decreases to. When the signal level of the output signal M_S of the amplifier 100 decreases to the second reference voltage Vref2 or less, the comparison result signal CSb becomes the L level, and the gain G is not lowered.

以上のゲイン調整処理が実行される結果、増幅器100の出力信号M_Sの山と谷が第1の参照電圧Vref1および第2の参照電圧Vref2の間、すなわちAD変換回路120の許容入力電圧範囲に収まるところでゲインGは収束する。 As a result of executing the above gain adjustment processing, the peaks and valleys of the output signal M_S of the amplifier 100 fall within the allowable input voltage range between the first reference voltage Vref1 and the second reference voltage Vref2, that is, the AD conversion circuit 120. By the way, the gain G converges.

ここで留意しなければならないのは、本実施形態ではゲインGは逐次更新されるため、ゲインGが収束するまでにある程度の時間を要すること、当該時間を前述したサンプルホール回路におけるサンプリング周期よりも短くする必要があること、ゲインGの収束に要する時間長はゲインGの調整量Aに応じて定まること、である。ゲインGの調整量Aが大きいほどゲインGの収束は早くなると期待されるが、動作理論上、第2の参照電圧Vref2<第1の参照電圧Vref1×Aの場合、動作が不安定になる。 It should be noted here that since the gain G is sequentially updated in the present embodiment, it takes a certain amount of time for the gain G to converge, and the time is longer than the sampling period in the sample hall circuit described above. It is necessary to shorten it, and the time length required for the convergence of the gain G is determined according to the adjustment amount A of the gain G. It is expected that the larger the adjustment amount A of the gain G is, the faster the convergence of the gain G is. However, in the operation theory, when the second reference voltage Vref2 <the first reference voltage Vref1 × A, the operation becomes unstable.

そこで、第1の参照電圧Vref1、第2の参照電圧Vref2およびゲインGの調整量Aについては、第2の参照電圧Vref2>第1の参照電圧Vref1×Aを満たすように定める必要があることに留意しなければならない。例えば、AD変換回路120の許容入力電圧範囲の上限が2Vであり、A=2と定めた場合には、第1の参照電圧Vref1を0.5V、第2の参照電圧V2を1.1Vに設定する、といった具合である。なお、AD変換回路120によるAD変換についてはゲインGの収束を契機として行うようにしても良く、サンプルホールド回路におけるサンプルホールドのタイミングから1サンプル周期分だけ遅れたタイミングでAD変換を行わせるようにしても良い。 Therefore, it is necessary to determine the adjustment amount A of the first reference voltage Vref1, the second reference voltage Vref2, and the gain G so as to satisfy the second reference voltage Vref2> the first reference voltage Vref1 × A. You have to be careful. For example, when the upper limit of the allowable input voltage range of the AD conversion circuit 120 is 2V and A = 2, the first reference voltage Vref1 is set to 0.5V and the second reference voltage V2 is set to 1.1V. Set it, and so on. The AD conversion by the AD conversion circuit 120 may be performed with the convergence of the gain G as an opportunity, and the AD conversion may be performed at a timing delayed by one sample cycle from the timing of the sample hold in the sample hold circuit. You may.

本実施形態のAD変換器10Aにおけるゲイン調整回路110は、比較器と定電圧発生回路とを2組だけ有するのであるが、逐次更新によってゲインGをきめ細やかに調整することができる。つまり、本実施形態によれば、ゲインGの調整段数に応じた数分の比較器を設ける必要はなく、回路規模が大きくなることを避けつつゲインGをきめ細やかに調整することが可能になる。また、本実施形態では、アナログ入力信号I_Sの信号レベルが低い場合であっても、第1の参照電圧Vref1を低くする必要はなく、ノイズの影響を受け難い。つまり、本実施形態によれば、回路規模を抑えつつきめ細やかなゲインの設定が可能で、アナログ入力信号の信号レベルが低くてもノイズの影響を受け難いフロート出力型AD変換を実現できる。 The gain adjustment circuit 110 in the AD converter 10A of the present embodiment has only two sets of a comparator and a constant voltage generation circuit, and the gain G can be finely adjusted by sequential update. That is, according to the present embodiment, it is not necessary to provide a number of comparators corresponding to the number of adjustment stages of the gain G, and the gain G can be finely adjusted while avoiding an increase in the circuit scale. .. Further, in the present embodiment, even when the signal level of the analog input signal I_S is low, it is not necessary to lower the first reference voltage Vref1 and it is not easily affected by noise. That is, according to the present embodiment, it is possible to finely set the gain while suppressing the circuit scale, and it is possible to realize a float output type AD conversion that is not easily affected by noise even if the signal level of the analog input signal is low.

<B:第2実施形態>
図5は、この発明の第2実施形態のAD変換器10Bの構成例を示す図である。
図5では図1におけるものと同一の構成要素には同一の符号が付されている。図5と図1とを対比すれば明らかなように、AD変換器10Bの構成は、復元回路130を設けた点のみがAD変換回路10Aの構成と異なる。
<B: Second embodiment>
FIG. 5 is a diagram showing a configuration example of the AD converter 10B according to the second embodiment of the present invention.
In FIG. 5, the same components as those in FIG. 1 are designated by the same reference numerals. As is clear from comparing FIGS. 5 and 1, the configuration of the AD converter 10B differs from the configuration of the AD conversion circuit 10A only in that the restoration circuit 130 is provided.

復元回路130にはAD変換回路120の出力データO_S、およびゲイン調整回路120により算出されたゲインGが与えられる。復元回路130は、AD変換回路110の出力データO_Sを、アナログ入力信号I_SにAD変換を施して得られる値を浮動小数点形式で表現した場合の仮数部を表すデータとし、ゲイン調整回路120の出力データ(すなわち、ゲインGを表すデータ)を当該値の指数部として、当該値を復元し後段へ出力する。復元回路130は例えば乗算器である。図5に示すように、復元回路130は、AD変換回路110の出力データO_Sの表す値を、ゲイン調整回路120により算出されたゲインGで除算し、その除算結果であるデータO_S´を出力する。 The output data O_S of the AD conversion circuit 120 and the gain G calculated by the gain adjustment circuit 120 are given to the restoration circuit 130. The restoration circuit 130 uses the output data O_S of the AD conversion circuit 110 as data representing the improper part when the value obtained by subjecting the analog input signal I_S to AD conversion is expressed in a floating point format, and is the output of the gain adjustment circuit 120. Using the data (that is, the data representing the gain G) as the exponent part of the value, the value is restored and output to the subsequent stage. The restoration circuit 130 is, for example, a multiplier. As shown in FIG. 5, the restoration circuit 130 divides the value represented by the output data O_S of the AD conversion circuit 110 by the gain G calculated by the gain adjustment circuit 120, and outputs the data O_S'which is the division result. ..

例えば、ゲインGがアナログ入力信号を10倍に増幅することを示す値である場合、AD変換回路110の出力データO_Sを1/10倍したデータO_S´が復元回路130から出力される。このように、本実施形態のAD変換器10Bによれば、アナログ入力信号I_Sの信号レベルを復元したデジタルデータO_S´が出力され、AD変換器10Bの後段の回路では上記復元を行う必要はなく、デジタルデータO_S´をそのまま用いて記録或いは再生等の処理を行うことができる。 For example, when the gain G is a value indicating that the analog input signal is amplified 10 times, the data O_S'in which the output data O_S of the AD conversion circuit 110 is multiplied by 1/10 is output from the restoration circuit 130. As described above, according to the AD converter 10B of the present embodiment, the digital data O_S'in which the signal level of the analog input signal I_S is restored is output, and it is not necessary to perform the above restoration in the circuit after the AD converter 10B. , Digital data O_S'can be used as it is for processing such as recording or reproduction.

本実施形態のAD変換回路10Bは復元回路130を有する点のみが第1実施形態のAD変換回路10Aと異なるため、本実施形態によっても第1実施形態と同様の効果が得られることに変わりはない。すなわち、本実施形態によっても、入力アナログ信号I_Sの信号レベルが低くても、ノイズの影響を受け難いフロート出力型AD変換を実現することが可能になる。 Since the AD conversion circuit 10B of the present embodiment differs from the AD conversion circuit 10A of the first embodiment only in that it has the restoration circuit 130, the same effect as that of the first embodiment can be obtained by this embodiment. Absent. That is, also in this embodiment, it is possible to realize a float output type AD conversion that is not easily affected by noise even if the signal level of the input analog signal I_S is low.

<C:第3実施形態>
図6は、この発明の第3実施形態のAD変換器10Cの構成例を示す図である。図6では図5におけるものと同一の構成要素には同一の符号が付されている。図6と図5とを対比すれば明らかように、AD変換器10Cの構成は、ゲイン調整回路110に代えてゲイン調整回路210を設けた点のみがAD変換器10Bの構成と異なる。以下、第2実施形態との相違点であるゲイン調整回路210を中心に説明する。
<C: Third Embodiment>
FIG. 6 is a diagram showing a configuration example of the AD converter 10C according to the third embodiment of the present invention. In FIG. 6, the same components as those in FIG. 5 are designated by the same reference numerals. As is clear from the comparison between FIGS. 6 and 5, the configuration of the AD converter 10C is different from the configuration of the AD converter 10B only in that the gain adjustment circuit 210 is provided instead of the gain adjustment circuit 110. Hereinafter, the gain adjusting circuit 210, which is a difference from the second embodiment, will be mainly described.

ゲイン調整回路210は、増幅器100の出力信号M_Sの信号レベルがAD変換回路120の許容入力電圧範囲に収まるように増幅器100におけるゲインGを信号M_Sに応じて調整する点に関しては、第1および第2実施形態におけるゲイン調整回路110と同一である。ただし、本実施形態ではアナログ入力信号I_Sとしてピークにおける信号レベルが0V未満となる信号(以下、負信号)が入力され得る点が上記第1および第2実施形態と異なり、ゲイン調整回路210は負信号に対応可能なように構成されている点がゲイン調整回路110と異なる。 The gain adjusting circuit 210 first and first adjusts the gain G in the amplifier 100 according to the signal M_S so that the signal level of the output signal M_S of the amplifier 100 falls within the allowable input voltage range of the AD conversion circuit 120. It is the same as the gain adjustment circuit 110 in the second embodiment. However, in the present embodiment, unlike the first and second embodiments, the gain adjustment circuit 210 is negative in that a signal having a peak signal level of less than 0 V (hereinafter, negative signal) can be input as an analog input signal I_S. It differs from the gain adjustment circuit 110 in that it is configured to be compatible with signals.

図7は、ゲイン調整回路210の構成例を示す図である。図7に示すようにゲイン調整回路210は、比較器210cおよび比較器210dを有する点と、ゲイン計算回路110cに代えてゲイン計算回路210eを有する点がゲイン調整回路110と異なる。以下、ゲイン調整回路110との相違点である比較器210c、比較器210dおよびゲイン計算回路210eについて説明する。 FIG. 7 is a diagram showing a configuration example of the gain adjustment circuit 210. As shown in FIG. 7, the gain adjusting circuit 210 differs from the gain adjusting circuit 110 in that it has a comparator 210c and a comparator 210d and that it has a gain calculation circuit 210e instead of the gain calculation circuit 110c. Hereinafter, the comparator 210c, the comparator 210d, and the gain calculation circuit 210e, which are differences from the gain adjustment circuit 110, will be described.

比較器210cおよび210dの各々は、比較器110aおよび110bの各々と同様に高電位側電源線と低電位側電源線に接続されており、両電源線の電位差が比較器210cおよび210dの動作電圧となる。比較器210cの非反転入力端子には第3の参照電圧Vref3を表す信号が供給され、同反転入力端子には増幅器100の出力信号M_Sが供給される。図8に示すように、第3の参照電圧Vref3は、AD変換回路120の許容入力電圧範囲の負の上限に応じた電圧値である。第3の参照電圧Vref3の発生についても、周知の定電圧発生回路等を用いるようにすれば良い。比較器210cは、増幅器100の出力信号M_Sの電圧値と第3の参照電圧Vref3との大小比較を行い、比較結果信号CScをゲイン算出回路210eへ出力する。出力信号M_Sの電圧値が第3の参照電圧Vref3よりも低ければ、比較結果信号CScはHレベルとなり、出力信号M_Sの電圧値が第3の参照電圧Vref3以上であれば、比較結果信号CScはLレベルとなる。 Each of the comparators 210c and 210d is connected to the high potential side power supply line and the low potential side power supply line in the same manner as each of the comparators 110a and 110b, and the potential difference between the two power supply lines is the operating voltage of the comparators 210c and 210d. It becomes. A signal representing the third reference voltage Vref3 is supplied to the non-inverting input terminal of the comparator 210c, and the output signal M_S of the amplifier 100 is supplied to the inverting input terminal. As shown in FIG. 8, the third reference voltage Vref3 is a voltage value corresponding to the negative upper limit of the allowable input voltage range of the AD conversion circuit 120. For the generation of the third reference voltage Vref3, a well-known constant voltage generation circuit or the like may be used. The comparator 210c compares the magnitude of the voltage value of the output signal M_S of the amplifier 100 with the third reference voltage Vref3, and outputs the comparison result signal CSc to the gain calculation circuit 210e. If the voltage value of the output signal M_S is lower than the third reference voltage Vref3, the comparison result signal CSc becomes H level, and if the voltage value of the output signal M_S is equal to or higher than the third reference voltage Vref3, the comparison result signal CSc is It becomes L level.

比較器210dの反転入力端子には第4の参照電圧Vref4を表す信号が供給され、同非反転入力端子には増幅器100の出力信号M_Sが供給される。第4の参照電圧Vref4は、AD変換回路120の許容入力電圧範囲の負の下限に対応する電圧値である(図8参照)。したがって、第4の参照電圧Vref4の絶対値は第3の参照電圧Vref3の絶対値よりも小さい。第4の参照電圧Vref4の発生についても、周知の定電圧発生回路等を用いるようにすれば良い。比較器210dは、増幅器100の出力信号M_Sの電圧値と第4の参照電圧Vref4との大小比較を行い、比較結果信号CSdをゲイン算出回路210eへ出力する。出力信号M_Sの電圧値が第4の参照電圧Vref4よりも高ければ、比較結果信号CSdはHレベルとなり、出力信号M_Sの電圧値が第4の参照電圧Vref4以下であれば、比較結果信号CSdはLレベルとなる。 A signal representing the fourth reference voltage Vref4 is supplied to the inverting input terminal of the comparator 210d, and the output signal M_S of the amplifier 100 is supplied to the non-inverting input terminal. The fourth reference voltage Vref4 is a voltage value corresponding to the negative lower limit of the allowable input voltage range of the AD conversion circuit 120 (see FIG. 8). Therefore, the absolute value of the fourth reference voltage Vref4 is smaller than the absolute value of the third reference voltage Vref3. For the generation of the fourth reference voltage Vref4, a well-known constant voltage generation circuit or the like may be used. The comparator 210d compares the magnitude of the voltage value of the output signal M_S of the amplifier 100 with the fourth reference voltage Vref4, and outputs the comparison result signal CSd to the gain calculation circuit 210e. If the voltage value of the output signal M_S is higher than the fourth reference voltage Vref4, the comparison result signal CSd becomes H level, and if the voltage value of the output signal M_S is equal to or less than the fourth reference voltage Vref4, the comparison result signal CSd is It becomes L level.

ゲイン計算回路210eはゲイン調整回路110cと同様にCPUであり、AD変換回路10Cの電源(図示略)等を契機として、予めメモリに記憶されたゲイン調整プログラムを読み出し、当該プログラムにしたがってゲイン調整処理を実行する。ただし、ゲイン計算回路210eは図9に示すゲイン調整処理を実行する点がゲイン計算回路110cと異なる。図9では、図3における処理と同一の処理には同一の符号が付されている。図9と図3とを対比すれば明らかなように、本実施形態におけるゲイン調整処理は、ステップSA105およびステップSA115の2つの処理を含む点が第1および第2実施形態におけるゲイン調整処理と異なる。以下、第1および第2実施形態におけるゲイン調整処理との相違点であるステップSA105の処理およびステップSA115の処理について説明する。 The gain calculation circuit 210e is a CPU like the gain adjustment circuit 110c, and when the power supply (not shown) of the AD conversion circuit 10C is used as an opportunity, the gain adjustment program stored in the memory in advance is read out and the gain adjustment process is performed according to the program. To execute. However, the gain calculation circuit 210e is different from the gain calculation circuit 110c in that the gain adjustment process shown in FIG. 9 is executed. In FIG. 9, the same processes as those in FIG. 3 are designated by the same reference numerals. As is clear from comparing FIGS. 9 and 3, the gain adjustment process in the present embodiment differs from the gain adjustment process in the first and second embodiments in that it includes two processes, step SA105 and step SA115. .. Hereinafter, the process of step SA105 and the process of step SA115, which are differences from the gain adjustment process in the first and second embodiments, will be described.

ステップSA105は、ステップSA100の判定結果が“Yes”であった場合に実行される処理である。ステップSA105では、ゲイン調整回路210eは、増幅器100の出力信号M_Sの電圧値が第4の参照電圧Vref4より高いか否かを比較結果信号CSdを参照して判定する。本実施形態では、比較結果信号CSdがHレベルである場合に、ステップSA105の判定結果は“Yes”となる。ステップSA105の判定結果が“No”であった場合には、ゲイン計算回路210eはステップSA110以降の処理を実行する。これに対して、ステップSA105の判定結果が“Yes”であった場合には、ゲイン調整回路210eは、ゲインGを一段階引き上げ(ステップSA130)、ステップSA140以降の処理を実行する。 Step SA105 is a process executed when the determination result of step SA100 is “Yes”. In step SA105, the gain adjusting circuit 210e determines whether or not the voltage value of the output signal M_S of the amplifier 100 is higher than the fourth reference voltage Vref4 with reference to the comparison result signal CSd. In the present embodiment, when the comparison result signal CSd is H level, the determination result in step SA105 is “Yes”. If the determination result in step SA105 is "No", the gain calculation circuit 210e executes the processes after step SA110. On the other hand, when the determination result in step SA105 is "Yes", the gain adjustment circuit 210e raises the gain G by one step (step SA130) and executes the processes after step SA140.

ステップSA115は、ステップSA110の判定結果が“No”であった場合に実行される処理である。ステップSA115では、ゲイン調整回路210eは、増幅器100の出力信号M_Sの電圧値が第3の参照電圧Vref3より低いか否かを比較結果信号CScを参照して判定する。本実施形態では、比較結果信号CScがHレベルである場合に、ステップSA115の判定結果は“Yes”となる。ステップSA115の判定結果が“No”であった場合には、ゲイン計算回路210eはステップSA140以降の処理を実行する。これに対して、ステップSA115の判定結果が“Yes”であった場合には、ゲイン調整回路210eは、ゲインGを一段階引き下げ(ステップSA120)、ステップSA140以降の処理を実行する。 Step SA115 is a process executed when the determination result of step SA110 is “No”. In step SA115, the gain adjusting circuit 210e determines whether or not the voltage value of the output signal M_S of the amplifier 100 is lower than the third reference voltage Vref3 with reference to the comparison result signal CSc. In the present embodiment, when the comparison result signal CSc is H level, the determination result in step SA115 is “Yes”. If the determination result in step SA115 is “No”, the gain calculation circuit 210e executes the processes after step SA140. On the other hand, when the determination result in step SA115 is “Yes”, the gain adjustment circuit 210e reduces the gain G by one step (step SA120) and executes the processes after step SA140.

増幅器100の出力信号M_Sが正電圧の範囲で変動する場合、ステップSA100の判定結果が“Yes”となってステップSA105の判定処理が行われる場合には、当該ステップSA105の判定結果は常に“Yes”となってステップSA130の処理が実行される。出力信号M_Sは正の電圧値を示す一方、第4の参照電圧Vref4は負の電圧値であるため、常に出力信号M_S>第4の参照電圧Vref4となるからである。ステップSA100の判定結果がNoとなってステップSA110の判定が行われる場合、ステップSA110の判定結果が“No”となってステップSA115の判定処理が実行される場合には、ステップSA115の判定結果は常に“No”となってステップSA120の処理が実行されることはない。第3の参照電圧Vref3は負の電圧値であるため、常に出力信号M_S>第3の参照電圧Vref3となるからである。増幅器100の出力信号M_Sが正電圧の範囲で変動する状況下でステップSA120の処理が実行されるのはステップSA110の判定結果が“Yes”となった場合のみである。つまり、増幅器100の出力信号M_Sが正電圧の範囲で変動する場合、本実施形態におけるゲイン調整処理は第1および第2実施形態におけるゲイン調整処理と同一の処理となり、増幅器100の出力信号M_Sの山と谷が第1の参照電圧Vref1および第2の参照電圧Vref2の間に収まるようにゲインGは逐次更新される。 When the output signal M_S of the amplifier 100 fluctuates in the positive voltage range, the determination result of step SA100 becomes “Yes” and the determination process of step SA105 is performed, the determination result of step SA105 is always “Yes”. , And the process of step SA130 is executed. This is because the output signal M_S indicates a positive voltage value, while the fourth reference voltage Vref4 is a negative voltage value, so that the output signal M_S> the fourth reference voltage Vref4 always. When the determination result of step SA100 becomes No and the determination of step SA110 is performed, when the determination result of step SA110 becomes "No" and the determination process of step SA115 is executed, the determination result of step SA115 is It is always "No" and the process of step SA120 is not executed. This is because the third reference voltage Vref3 is a negative voltage value, so that the output signal M_S> the third reference voltage Vref3 always. The process of step SA120 is executed in a situation where the output signal M_S of the amplifier 100 fluctuates in the positive voltage range only when the determination result of step SA110 is “Yes”. That is, when the output signal M_S of the amplifier 100 fluctuates in the positive voltage range, the gain adjustment process in the present embodiment is the same as the gain adjustment process in the first and second embodiments, and the output signal M_S of the amplifier 100 The gain G is sequentially updated so that the peaks and valleys fall between the first reference voltage Vref1 and the second reference voltage Vref2.

これに対して、増幅器100の出力信号M_Sが負電圧の範囲で変動する負信号である場合、ステップSA100の判定結果は常に“Yes”となってステップSA105の判定処理が必ず実行される。同様にステップSA110の判定結果は常に“No”となってステップSA115の判定処理が必ず実行される。本実施形態では、出力信号M_Sの電圧値が第4の参照電圧Vref4を上回っている場合、ゲインGは一段階ずつ引き上げられ、ゲインGの引き上げに応じて増幅器100の出力信号M_Sの絶対値は段階的に大きくなるため、出力信号M_Sの信号レベルは段階的に減少する。増幅器100の出力信号M_Sの信号レベルが減少して第4の参照電圧Vref4以下になると、比較結果信号CSdはLレベルとなって、ゲインGの引き上げは行われなくなる。また、出力信号M_Sの電圧値が第3の参照電圧Vref3を下回っている場合には、ゲインGは一段階ずつ引き下げられ、ゲインGの引き下げに応じて増幅器100の出力信号M_Sの絶対値は段階的に減少するため、出力信号M_Sの信号レベルは段階的に増加する。増幅器100の出力信号M_Sの信号レベルが増加して第23参照電圧Vref3以上になると、比較結果信号CSbはLレベルとなって、ゲインGの引き下げが行われなくなる。 On the other hand, when the output signal M_S of the amplifier 100 is a negative signal that fluctuates in the range of the negative voltage, the determination result in step SA100 is always “Yes” and the determination process in step SA105 is always executed. Similarly, the determination result of step SA110 is always "No", and the determination process of step SA115 is always executed. In the present embodiment, when the voltage value of the output signal M_S exceeds the fourth reference voltage Vref4, the gain G is increased step by step, and the absolute value of the output signal M_S of the amplifier 100 is increased according to the increase of the gain G. Since it increases stepwise, the signal level of the output signal M_S decreases stepwise. When the signal level of the output signal M_S of the amplifier 100 decreases to the fourth reference voltage Vref4 or less, the comparison result signal CSd becomes the L level, and the gain G is not increased. When the voltage value of the output signal M_S is lower than the third reference voltage Vref3, the gain G is lowered step by step, and the absolute value of the output signal M_S of the amplifier 100 is lowered in steps according to the lowering of the gain G. Therefore, the signal level of the output signal M_S increases stepwise. When the signal level of the output signal M_S of the amplifier 100 increases to the 23rd reference voltage Vref3 or higher, the comparison result signal CSb becomes the L level, and the gain G is not lowered.

以上説明したように本実施形態では、図9に示す要領でゲインGが逐次更新され、増幅器100の出力信号M_Sが正電圧の範囲で変動する場合には、当該出力信号M_Sが第1の参照電圧Vref1および第2の参照電圧Vref2の間に収まるところでゲインGは収束する。同様に、増幅器100の出力信号M_Sが負信号である場合には、当該出力信号M_Sが第3の参照電圧Vref3および第4の参照電圧Vref4の間に収まるところでゲインGは収束する。 As described above, in the present embodiment, when the gain G is sequentially updated as shown in FIG. 9 and the output signal M_S of the amplifier 100 fluctuates within the positive voltage range, the output signal M_S is referred to as the first reference. The gain G converges where it falls between the voltage Vref1 and the second reference voltage Vref2. Similarly, when the output signal M_S of the amplifier 100 is a negative signal, the gain G converges when the output signal M_S falls between the third reference voltage Vref3 and the fourth reference voltage Vref4.

本実施形態においても、ゲインGの更新段数に応じた数分の比較器をゲイン調整回路210に設ける必要はなく、回路規模が大きくなることを避けつつゲインGをきめ細やかに調整することが可能になる。また、本実施形態では、アナログ入力信号I_Sの信号レベルが低い場合であっても、第1の参照電圧Vref1や第4の参照電圧Vref4の絶対値を小さくする必要はなく、ノイズの影響を受け難い。つまり、本実施形態によっても、回路規模を抑えつつきめ細やかなゲインの設定が可能で、アナログ入力信号の信号レベルが低くてもノイズの影響を受け難いフロート出力型AD変換を実現できる。 Also in this embodiment, it is not necessary to provide the gain adjusting circuit 210 with a number of comparators corresponding to the number of update stages of the gain G, and the gain G can be finely adjusted while avoiding an increase in the circuit scale. become. Further, in the present embodiment, even when the signal level of the analog input signal I_S is low, it is not necessary to reduce the absolute values of the first reference voltage Vref1 and the fourth reference voltage Vref4, and it is affected by noise. hard. That is, also in this embodiment, it is possible to finely set the gain while suppressing the circuit scale, and it is possible to realize a float output type AD conversion that is not easily affected by noise even if the signal level of the analog input signal is low.

<D:その他の実施形態>
以上本発明の第1〜第3実施形態について説明したが、これら実施形態に以下の変形を加えても勿論良い。
(1)第1実施形態のAD変換器10Aにおいて、ゲイン調整回路110を第3実施形態のゲイン調整回路210に置き換えても良い。また、上記第1および第2実施形態では正電圧の範囲で変動するアナログ入力信号をAD変換の対象とし、上記第3実施形態では正電圧の範囲で変動するアナログ入力信号と負電圧の範囲で変動するアナログ入力信号の両方をAD変換の対象としたが、負電圧の範囲で変動するアナログ入力信号のみをAD変換の対象とする態様も考えられる。負電圧の範囲で変動するアナログ入力信号のみをAD変換の対象とする場合には、第1または第2実施形態におけるAD変換器のゲイン計算回路に、図3におけるステップSA100の判定処理をステップSA105の判定処理に置き換え、同ステップSA110の判定処理をステップSA115の判定処理に置き換えたゲイン調整処理を実行させるようにすれば良い。
<D: Other Embodiment>
Although the first to third embodiments of the present invention have been described above, the following modifications may be added to these embodiments.
(1) In the AD converter 10A of the first embodiment, the gain adjusting circuit 110 may be replaced with the gain adjusting circuit 210 of the third embodiment. Further, in the first and second embodiments, the analog input signal fluctuating in the positive voltage range is targeted for AD conversion, and in the third embodiment, the analog input signal fluctuating in the positive voltage range and the negative voltage range. Although both fluctuating analog input signals are targeted for AD conversion, it is also conceivable that only analog input signals fluctuating in the negative voltage range are targeted for AD conversion. When only the analog input signal fluctuating in the negative voltage range is targeted for AD conversion, the determination process of step SA100 in FIG. 3 is applied to the gain calculation circuit of the AD converter in the first or second embodiment in step SA105. The gain adjustment process may be executed by replacing the determination process of step SA110 with the determination process of step SA115.

(2)上記各実施形態では、ゲインGの初期値とゲインGの調整量とを同じ値Aとしたが、両者が異なる値であっても良い。また、上記各実施形態では、ゲインGを常に一定の割合で段階的に更新する場合について説明した。しかし、参照電圧と増幅器100の出力信号M_Sの信号レベルとの差が大きいほど、ゲインGの調整量を大きくしても良い。例えば、図3のステップSA130では第1の参照電圧Vref1と信号M_Sの電圧値の差の絶対値に応じた大きさの値(例えば当該絶対値に比例する値)でゲインGに除算すれば良く、同ステップSA120では第2の参照電圧Vref2と信号M_Sの電圧値の差の絶対値に応じた大きさの値をゲインGに乗算すれば良い。このような態様によれば、ゲインGの収束までに要する時間を上記各実施形態よりも短縮できると期待される。 (2) In each of the above embodiments, the initial value of the gain G and the adjustment amount of the gain G are set to the same value A, but both may be different values. Further, in each of the above embodiments, the case where the gain G is always updated stepwise at a constant rate has been described. However, the larger the difference between the reference voltage and the signal level of the output signal M_S of the amplifier 100, the larger the adjustment amount of the gain G may be. For example, in step SA130 of FIG. 3, the gain G may be divided by a value having a magnitude corresponding to the absolute value of the difference between the voltage values of the first reference voltage Vref1 and the signal M_S (for example, a value proportional to the absolute value). In the same step SA120, the gain G may be multiplied by a value having a magnitude corresponding to the absolute value of the difference between the voltage values of the second reference voltage Vref2 and the signal M_S. According to such an embodiment, it is expected that the time required for the gain G to converge can be shortened as compared with each of the above-described embodiments.

10A,10B,10C…AD変換器、100…増幅器、110,210…ゲイン調整回路、110a,110b,210c,210d…比較器、110c,210e…ゲイン計算回路、120…AD変換回路、130…復元回路。
10A, 10B, 10C ... AD converter, 100 ... amplifier, 110, 210 ... gain adjustment circuit, 110a, 110b, 210c, 210d ... comparator, 110c, 210e ... gain calculation circuit, 120 ... AD conversion circuit, 130 ... restoration circuit.

Claims (3)

正電圧の範囲又は負電圧の範囲で時間変化するアナログ入力信号の電圧を増幅して出力する増幅器と、
前記増幅器の出力信号にAD変換を施して出力するAD変換回路と、
前記増幅器の出力信号の電圧が前記AD変換回路の許容入力電圧範囲に収まるまで前記増幅器におけるゲインを前記出力信号に応じて調整する処理を繰り返し、前記ゲインを出力するゲイン調整回路と、を備え、
前記ゲイン調整回路は、
前記増幅器の出力信号の電圧が第1電圧より低く、かつ第4電圧より高い場合には前記ゲインを上げ、前記増幅器の出力信号の電圧が第2電圧より高い場合、又は前記増幅器の出力信号の電圧が第3電圧よりも低い場合には前記ゲインを下げ、
前記第2電圧>前記第1電圧>0ボルト>前記第4電圧>前記第3電圧であり、
前記第1電圧は、前記許容入力電圧範囲の正の下限に応じて定められ、
前記第2電圧は、前記許容入力電圧範囲の正の上限に応じて定められ、
前記第3電圧は、前記許容入力電圧範囲の負の上限に応じて定められ、
前記第4電圧は、前記許容入力電圧範囲の負の下限に応じて定められる、
ことを特徴とするAD変換器。
An amplifier that amplifies and outputs the voltage of an analog input signal that changes over time in the positive voltage range or negative voltage range, and
An AD conversion circuit that performs AD conversion on the output signal of the amplifier and outputs it.
A gain adjusting circuit that outputs the gain by repeating the process of adjusting the gain in the amplifier according to the output signal until the voltage of the output signal of the amplifier falls within the allowable input voltage range of the AD conversion circuit is provided.
The gain adjustment circuit
Lower than the voltage the first voltage output signal of the amplifier, or Tsu when the fourth higher than the voltage increases the gain, when the voltage of the output signal of the amplifier is higher than the second voltage, or the output signal of the amplifier If the voltage of is lower than the third voltage , the gain is lowered.
The second voltage> the first voltage> 0 volt> the fourth voltage> the third voltage.
The first voltage is determined according to the positive lower limit of the allowable input voltage range.
The second voltage is determined according to the positive upper limit of the allowable input voltage range.
The third voltage is determined according to the negative upper limit of the allowable input voltage range.
The fourth voltage is determined according to the negative lower limit of the allowable input voltage range.
An AD converter characterized by that.
前記ゲイン調整回路は、
前記第1電圧、前記第2電圧、前記第3電圧又は前記第4電圧と前記増幅器の出力信号の電圧との差が大きいほど、前記ゲインの調整量を大きくすることを特徴とする請求項1に記載のAD変換器。
The gain adjustment circuit
Claim 1 is characterized in that the larger the difference between the first voltage, the second voltage, the third voltage, or the fourth voltage and the voltage of the output signal of the amplifier, the larger the adjustment amount of the gain. AD converter described in.
前記AD変換回路の出力信号値を前記アナログ入力信号にAD変換を施して得られる値を浮動小数点形式で表現した場合の仮数部とし、前記ゲイン調整回路の出力信号値を指数部として前記アナログ入力信号にAD変換を施して得られる値を復元する復元回路をさらに有する
ことを特徴とする請求項1又は請求項2に記載のAD変換器。
The output signal value of the AD conversion circuit is used as an improper part when the value obtained by subjecting the analog input signal to AD conversion is expressed in a floating point format, and the output signal value of the gain adjustment circuit is used as an exponent part for the analog input. The AD converter according to claim 1 or 2, further comprising a restoration circuit that restores a value obtained by subjecting a signal to AD conversion.
JP2016056015A 2016-03-18 2016-03-18 AD converter Active JP6786829B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016056015A JP6786829B2 (en) 2016-03-18 2016-03-18 AD converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016056015A JP6786829B2 (en) 2016-03-18 2016-03-18 AD converter

Publications (2)

Publication Number Publication Date
JP2017175215A JP2017175215A (en) 2017-09-28
JP6786829B2 true JP6786829B2 (en) 2020-11-18

Family

ID=59972588

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016056015A Active JP6786829B2 (en) 2016-03-18 2016-03-18 AD converter

Country Status (1)

Country Link
JP (1) JP6786829B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7218637B2 (en) * 2019-03-20 2023-02-07 ヤマハ株式会社 A/D conversion device and A/D conversion method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6465927A (en) * 1987-09-04 1989-03-13 Fujitsu Ltd Automatic gain switching system for a/d converter
JP3183417B2 (en) * 1992-04-17 2001-07-09 ソニー株式会社 A / D converter
JPH05343994A (en) * 1992-06-05 1993-12-24 Fujitsu Ltd Analog signal level conversion circuit
JPH07273650A (en) * 1994-03-31 1995-10-20 Nec Corp A/d converter circuit for nonlinear signal
JP5565206B2 (en) * 2010-08-24 2014-08-06 ソニー株式会社 AD converter and voltage control method for AD converter circuit

Also Published As

Publication number Publication date
JP2017175215A (en) 2017-09-28

Similar Documents

Publication Publication Date Title
CN105519133B (en) Signal processing for MEMS capacitive energy converter
US8446220B2 (en) Method and apparatus for increasing the effective resolution of a sensor
JP5561195B2 (en) Noise removing apparatus and noise removing method
TW200828820A (en) Auto ranging system and method for an analog signal
TW201126914A (en) Self-calibrating pipeline ADC and method thereof
JP6786829B2 (en) AD converter
JP2017130916A (en) Method for controlling operation of moving average filter
JP2011193144A (en) Signal processing device, digital output microphone unit
RU2614345C1 (en) Method of exapanding dynamic range in radio systems
US9634683B1 (en) Low power sigma-delta modulator architecture capable of correcting dynamic range automatically, method for implementing low power circuit thereof, and method for correcting and extending dynamic range of sigma-delta modulator automatically
JP5147420B2 (en) Amplifier circuit
US9276599B2 (en) Method and apparatus for non-uniform analog-to-digital conversion
JP7151472B2 (en) AUDIO SIGNAL CONTROL CIRCUIT, AUDIO SYSTEM, AND AUDIO SIGNAL CONTROL METHOD
JP5023794B2 (en) Digital audio processing apparatus and digital audio processing program
KR101605745B1 (en) Appratus and mehod for compensating error of analog signal
WO2019193909A1 (en) Amplifier and offset adjustment method for amplifier
US9124286B1 (en) Protection for analog to digital converters
JP5103203B2 (en) Amplifying device and voice processing device using the same
CN107077862B (en) Digital voice processing device, digital voice processing method, and digital voice processing program
KR20170066044A (en) Offset control apparatus and sensor apparatus using the same
US9306591B2 (en) Calibration of high speed asynchronous convertor
KR100932388B1 (en) Stepwise converter and offset voltage elimination method that sequentially removes offset voltage in pipeline-to-analog converter
JP3541263B2 (en) Gain setting method
JP4230937B2 (en) Digital equalizer
JP7240826B2 (en) SOUND PROCESSING DEVICE, SOUND SYSTEM AND SOUND PROCESSING METHOD

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190124

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20191023

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20191029

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191219

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200414

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200602

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20201012

R151 Written notification of patent or utility model registration

Ref document number: 6786829

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151