JP6786829B2 - AD converter - Google Patents
AD converter Download PDFInfo
- 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
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.
非特許文献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.
以下本発明の実施の形態を図面を参照しつつ説明する。
<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
The
増幅器100は、アナログ入力信号I_Sの電圧を増幅し、その増幅結果であるアナログ信号M_Sを出力する。図1に示すように、増幅器100の出力信号M_Sは、ゲイン調整回路110とAD変換回路120に与えられる。図1では詳細な図示を省略したが、AD変換器10Aの前段にはAD変換の対象となるアナログ信号を一定のサンプリング周期でサンプリングし、サンプル値を当該サンプリング周期に応じた期間に亘って保持するとともに当該サンプル値を表すアナログ信号をAD変換器10Aに与えるサンプルホールド回路が設けられている。増幅器100には、当該サンプルホールド回路の出力信号が与えられる。
The
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
ゲイン調整回路110は、増幅器100の出力信号M_Sに応じてゲインGを算出するように構成されており、この点に本実施形態の特徴がある。以下、本実施形態の特徴を顕著に示すゲイン調整回路110を中心に説明する。図2は、ゲイン調整回路110の構成例を示す図である。図2に示すように、ゲイン調整回路110は、比較器110aおよび110bと、ゲイン計算回路110cを有する。図2では詳細な図示を省略したが、比較器110aおよび比較器110bの各々は、高電位側電源線と低電位側電源線に接続されており、両電源線の電位差が比較器110aおよび比較器110bの動作電圧となる。
The
比較器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
比較器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
ゲイン調整回路110cは例えばCPU(Central Processing Unit)であり、例えばAD変換回路10Aの電源(図示略)等を契機として、予めメモリに記憶されたゲイン調整プログラムを読み出し当該プログラムを実行する。ゲイン調整プログラムにしたがって作動しているゲイン調整回路110cは、増幅器100のゲインGに初期値A(Aは1以上の予め定められた実数))を設定し、以降、図3に示すゲイン調整処理を実行する。
The
図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
ステップ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
ステップSA140では、ゲイン調整回路110cは増幅器100にゲインGを出力する。ステップSA140に後続するステップSA150では、ゲイン調整回路110はAD変換の終了を指示されたか否かを判定し、判定結果が“No”である場合にはステップSA100以降の処理を再度実行する一方、判定結果が“Yes”である場合には、ゲイン調整処理を終了する。
以上がゲイン調整処理の流れである。
In step SA140, the
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
以上のゲイン調整処理が実行される結果、増幅器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
ここで留意しなければならないのは、本実施形態ではゲイン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変換器10Aにおけるゲイン調整回路110は、比較器と定電圧発生回路とを2組だけ有するのであるが、逐次更新によってゲインGをきめ細やかに調整することができる。つまり、本実施形態によれば、ゲインGの調整段数に応じた数分の比較器を設ける必要はなく、回路規模が大きくなることを避けつつゲインGをきめ細やかに調整することが可能になる。また、本実施形態では、アナログ入力信号I_Sの信号レベルが低い場合であっても、第1の参照電圧Vref1を低くする必要はなく、ノイズの影響を受け難い。つまり、本実施形態によれば、回路規模を抑えつつきめ細やかなゲインの設定が可能で、アナログ入力信号の信号レベルが低くてもノイズの影響を受け難いフロート出力型AD変換を実現できる。
The
<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
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
復元回路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
例えば、ゲイン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変換回路10Bは復元回路130を有する点のみが第1実施形態のAD変換回路10Aと異なるため、本実施形態によっても第1実施形態と同様の効果が得られることに変わりはない。すなわち、本実施形態によっても、入力アナログ信号I_Sの信号レベルが低くても、ノイズの影響を受け難いフロート出力型AD変換を実現することが可能になる。
Since the
<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
ゲイン調整回路210は、増幅器100の出力信号M_Sの信号レベルがAD変換回路120の許容入力電圧範囲に収まるように増幅器100におけるゲインGを信号M_Sに応じて調整する点に関しては、第1および第2実施形態におけるゲイン調整回路110と同一である。ただし、本実施形態ではアナログ入力信号I_Sとしてピークにおける信号レベルが0V未満となる信号(以下、負信号)が入力され得る点が上記第1および第2実施形態と異なり、ゲイン調整回路210は負信号に対応可能なように構成されている点がゲイン調整回路110と異なる。
The
図7は、ゲイン調整回路210の構成例を示す図である。図7に示すようにゲイン調整回路210は、比較器210cおよび比較器210dを有する点と、ゲイン計算回路110cに代えてゲイン計算回路210eを有する点がゲイン調整回路110と異なる。以下、ゲイン調整回路110との相違点である比較器210c、比較器210dおよびゲイン計算回路210eについて説明する。
FIG. 7 is a diagram showing a configuration example of the
比較器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
比較器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
ゲイン計算回路210eはゲイン調整回路110cと同様にCPUであり、AD変換回路10Cの電源(図示略)等を契機として、予めメモリに記憶されたゲイン調整プログラムを読み出し、当該プログラムにしたがってゲイン調整処理を実行する。ただし、ゲイン計算回路210eは図9に示すゲイン調整処理を実行する点がゲイン計算回路110cと異なる。図9では、図3における処理と同一の処理には同一の符号が付されている。図9と図3とを対比すれば明らかなように、本実施形態におけるゲイン調整処理は、ステップSA105およびステップSA115の2つの処理を含む点が第1および第2実施形態におけるゲイン調整処理と異なる。以下、第1および第2実施形態におけるゲイン調整処理との相違点であるステップSA105の処理およびステップSA115の処理について説明する。
The
ステップ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
ステップ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
増幅器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
これに対して、増幅器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
以上説明したように本実施形態では、図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
本実施形態においても、ゲインGの更新段数に応じた数分の比較器をゲイン調整回路210に設ける必要はなく、回路規模が大きくなることを避けつつゲインGをきめ細やかに調整することが可能になる。また、本実施形態では、アナログ入力信号I_Sの信号レベルが低い場合であっても、第1の参照電圧Vref1や第4の参照電圧Vref4の絶対値を小さくする必要はなく、ノイズの影響を受け難い。つまり、本実施形態によっても、回路規模を抑えつつきめ細やかなゲインの設定が可能で、アナログ入力信号の信号レベルが低くてもノイズの影響を受け難いフロート出力型AD変換を実現できる。
Also in this embodiment, it is not necessary to provide the
<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
(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
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.
ことを特徴とする請求項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.
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)
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)
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 |
-
2016
- 2016-03-18 JP JP2016056015A patent/JP6786829B2/en active Active
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 |