JP5210918B2 - Variable gain amplifier - Google Patents

Variable gain amplifier Download PDF

Info

Publication number
JP5210918B2
JP5210918B2 JP2009036142A JP2009036142A JP5210918B2 JP 5210918 B2 JP5210918 B2 JP 5210918B2 JP 2009036142 A JP2009036142 A JP 2009036142A JP 2009036142 A JP2009036142 A JP 2009036142A JP 5210918 B2 JP5210918 B2 JP 5210918B2
Authority
JP
Japan
Prior art keywords
input
current
output
value
voltage
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.)
Expired - Fee Related
Application number
JP2009036142A
Other languages
Japanese (ja)
Other versions
JP2010193233A (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.)
Rohm Co Ltd
Original Assignee
Rohm Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Rohm Co Ltd filed Critical Rohm Co Ltd
Priority to JP2009036142A priority Critical patent/JP5210918B2/en
Publication of JP2010193233A publication Critical patent/JP2010193233A/en
Application granted granted Critical
Publication of JP5210918B2 publication Critical patent/JP5210918B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Control Of Amplification And Gain Control (AREA)

Description

本発明は、利得可変増幅器に関するものである。   The present invention relates to a variable gain amplifier.

図12Aは、利得可変増幅器の一従来例を示す回路図である。本図の利得可変増幅器はメインアンプ101と、DAC[Digital/Analog Convertor]102と、を有して成る。   FIG. 12A is a circuit diagram showing a conventional example of a variable gain amplifier. The variable gain amplifier of this figure includes a main amplifier 101 and a DAC [Digital / Analog Converter] 102.

メインアンプ101の非反転入力端(+)は、入力電圧VINの印加端に接続されている。メインアンプ101の反転入力端(−)は、帰還電圧VFBの印加端(DAC102の出力端)に接続されている。メインアンプ101の出力端は、出力電圧VOUTの出力端に接続される一方、DAC102の電源端にも接続されている。   The non-inverting input terminal (+) of the main amplifier 101 is connected to the application terminal for the input voltage VIN. The inverting input terminal (−) of the main amplifier 101 is connected to the application terminal of the feedback voltage VFB (the output terminal of the DAC 102). The output terminal of the main amplifier 101 is connected to the output terminal of the output voltage VOUT, and is also connected to the power supply terminal of the DAC 102.

DAC102は、メインアンプ101の負帰還ループ内に挿入され、nビット(ただしn≧2)の外部デジタルデータTHIDをデジタル/アナログ変換することにより、帰還電圧VFBを生成する手段である。帰還電圧VFBの電圧値は、次の(1)式で算出される。(1)式において、パラメータTHID(d)は、nビットの外部デジタルデータTHIDのデータ値を10進数表記したものであり、1〜2n−1の整数値を取り得る。 The DAC 102 is inserted in the negative feedback loop of the main amplifier 101 and is a means for generating a feedback voltage VFB by digital / analog conversion of n-bit (where n ≧ 2) external digital data THID. The voltage value of the feedback voltage VFB is calculated by the following equation (1). In the equation (1), the parameter THID (d) is a decimal value representing the data value of the n-bit external digital data THID, and can take an integer value of 1 to 2 n -1.

Figure 0005210918
Figure 0005210918

メインアンプ101は、非反転入力端(+)に入力される入力電圧VINと反転入力端(−)に入力される帰還電圧VFBとが一致するように、出力電圧VOUTを生成する。従って、出力電圧VOUTの電圧値は、次の(2)式で算出される。   The main amplifier 101 generates the output voltage VOUT so that the input voltage VIN input to the non-inverting input terminal (+) matches the feedback voltage VFB input to the inverting input terminal (−). Therefore, the voltage value of the output voltage VOUT is calculated by the following equation (2).

Figure 0005210918
Figure 0005210918

なお、上記に関連する従来技術の一例としては、特許文献1を挙げることができる。   As an example of the related art related to the above, Patent Document 1 can be cited.

特開平5−120615号公報JP-A-5-120615

確かに、上記構成から成る利得可変増幅器であれば、先出の(2)式からも分かるように、外部デジタルデータTHIDのデータ値を適宜調整することにより、その利得を可変制御することが可能である。具体的には、外部デジタルデータTHIDのデータ値を小さく設定するほど、利得可変増幅器の利得を高く設定することが可能であり、逆に、外部デジタルデータTHIDのデータ値を大きく設定するほど、利得可変増幅器の利得を低く設定することが可能である。   Certainly, with the variable gain amplifier configured as described above, the gain can be variably controlled by appropriately adjusting the data value of the external digital data THID, as can be seen from the above equation (2). It is. Specifically, the gain of the variable gain amplifier can be set higher as the data value of the external digital data THID is set smaller, and conversely, the gain is increased as the data value of the external digital data THID is set larger. It is possible to set the gain of the variable amplifier low.

しかしながら、上記構成から成る利得可変増幅器では、入力電圧VINの増幅手段がメインアンプ101のみであるため、メインアンプ101自体の増幅能力が不足していた場合には、外部デジタルデータTHIDのデータ値をどれだけ小さく設定しても、メインアンプ101自体の増幅能力を超える利得は得ることができない、という問題があった(図13の実線X1と破線X1’を比較参照)。   However, in the variable gain amplifier configured as described above, the amplification means for the input voltage VIN is only the main amplifier 101. Therefore, if the amplification capability of the main amplifier 101 itself is insufficient, the data value of the external digital data THID is set. There is a problem that a gain exceeding the amplification capability of the main amplifier 101 itself cannot be obtained no matter how small it is set (see comparison between the solid line X1 and the broken line X1 ′ in FIG. 13).

なお、上記の問題を解決する手段としては、図12Bに示すように、入力電圧VINの印加端とメインアンプ101の非反転入力端(+)との間に、所定の利得Aを有するプリアンプ103を挿入し、メインアンプ101の非反転入力端(+)に対して、プリアンプ103から出力される増幅電圧VIN2(=A×VIN)を印加することが考えられる。   As a means for solving the above problem, as shown in FIG. 12B, a preamplifier 103 having a predetermined gain A between the application terminal of the input voltage VIN and the non-inverting input terminal (+) of the main amplifier 101 is used. It is conceivable that the amplified voltage VIN2 (= A × VIN) output from the preamplifier 103 is applied to the non-inverting input terminal (+) of the main amplifier 101.

確かに、上記構成から成る利得可変増幅器であれば、大きな出力電圧VOUTを出力する必要がある場合であっても、メインアンプ101自体の利得については、プリアンプ103が挿入されていない構成(図12Aの構成)に比べて低く設定すれば足りるので、メインアンプ101自体の増幅能力を不要に増強する必要がなくなる。   Certainly, in the case of the variable gain amplifier configured as described above, even if it is necessary to output a large output voltage VOUT, the gain of the main amplifier 101 itself is configured such that the preamplifier 103 is not inserted (FIG. 12A). Therefore, it is not necessary to unnecessarily increase the amplification capability of the main amplifier 101 itself.

しかしながら、上記構成から成る利得可変増幅器において、プリアンプ103の利得Aを固定した場合には、プリアンプ103の利得分だけ、利得可変増幅器の利得可変範囲が高利得側にオフセットされた形となるので、利得可変範囲の最低値が高くなってしまう、という問題があった(図13の実線X2を参照)。また、上記構成から成る利得可変増幅器において、利得可変増幅器全体の利得Bを設定するためには、プリアンプ103の利得Aを考慮に入れて、メインアンプ101の利得がB/Aとなるように、外部デジタルデータTHIDのデータ値を調整しなければならず、ユーザに煩雑な演算作業を強いる必要があった。   However, in the variable gain amplifier configured as described above, when the gain A of the preamplifier 103 is fixed, the gain variable range of the variable gain amplifier is offset to the high gain side by the gain of the preamplifier 103. There has been a problem that the minimum value of the variable gain range becomes high (see the solid line X2 in FIG. 13). Further, in the variable gain amplifier having the above configuration, in order to set the gain B of the entire variable gain amplifier, the gain A of the preamplifier 103 is taken into consideration so that the gain of the main amplifier 101 becomes B / A. The data value of the external digital data THID had to be adjusted, and the user had to be forced to perform complicated calculation work.

図13は、従来における利得可変増幅器の入出力特性の一例を示す図である。なお、図13の横軸には、外部デジタルデータTHID(8ビット)のデータ値が10進数表記で示されており、図13の縦軸には、利得可変増幅器の全体利得α(=出力電圧VOUT/入力電圧VIN)が示されている。また、実線X1は、図12Aの構成から成る利得可変増幅器(プリアンプなし)の現実の入出力特性を示しており、破線X1’は、図12Aの構成から成る利得可変増幅器(プリアンプなし)の理論上の入出力特性を示している。実線X2は、図12Bの構成から成る利得可変増幅器(プリアンプあり/利得A=2)の現実の入出力特性(=理論上の入出力特性)を示している。   FIG. 13 is a diagram illustrating an example of input / output characteristics of a conventional variable gain amplifier. The horizontal axis of FIG. 13 indicates the data value of the external digital data THID (8 bits) in decimal notation, and the vertical axis of FIG. 13 indicates the overall gain α (= output voltage) of the variable gain amplifier. VOUT / input voltage VIN). A solid line X1 indicates an actual input / output characteristic of the variable gain amplifier (without preamplifier) having the configuration of FIG. 12A, and a broken line X1 ′ indicates the theory of the variable gain amplifier (without preamplifier) having the configuration of FIG. 12A. The above input / output characteristics are shown. A solid line X2 indicates an actual input / output characteristic (= theoretical input / output characteristic) of the variable gain amplifier (with preamplifier / gain A = 2) configured as shown in FIG. 12B.

本発明は、上記の問題点に鑑み、メインアンプの増幅能力を不要に増強することなく、利得を広範囲に可変制御することが可能な利得可変増幅器を提供することを目的とする。   In view of the above problems, an object of the present invention is to provide a variable gain amplifier capable of variably controlling the gain over a wide range without unnecessarily increasing the amplification capability of the main amplifier.

上記目的を達成すべく、本発明に係る利得可変増幅器は、非反転入力端に入力される増幅電圧と反転入力端に入力される帰還電圧とが一致するように出力電圧を生成するメインアンプと、前記メインアンプの負帰還ループ内に挿入され、nビット(ただしn≧2)の内部デジタルデータをデジタル/アナログ変換することにより前記帰還電圧を生成するDACと、nビットの外部デジタルデータに基づいてm値設定信号(ただし0≦m<n)を生成するm値設定回路と、前記m値設定信号に基づいて入力電圧を2m倍することにより前記増幅電圧を生成するプリアンプと、前記m値設定信号に基づいて外部デジタルデータをmビット分だけ上位側にシフトすることにより内部デジタルデータを生成するmビットシフト回路と、を有して成る構成(第1の構成)とされている。 In order to achieve the above object, a variable gain amplifier according to the present invention includes a main amplifier that generates an output voltage so that an amplified voltage input to a non-inverting input terminal and a feedback voltage input to an inverting input terminal match. Based on a DAC inserted in the negative feedback loop of the main amplifier and generating the feedback voltage by digital / analog conversion of n-bit (where n ≧ 2) internal digital data and n-bit external digital data An m value setting circuit for generating an m value setting signal (where 0 ≦ m <n), a preamplifier for generating the amplified voltage by multiplying an input voltage by 2 m based on the m value setting signal, and the m An m-bit shift circuit that generates internal digital data by shifting external digital data to the upper side by m bits based on a value setting signal. There is a (first configuration).

なお、上記した第1の構成から成る利得可変増幅器において、前記m値設定回路は、外部デジタルデータのデータ値が小さいほど前記プリアンプの利得を高く設定するように、逆に、外部デジタルデータのデータ値が大きいほど前記プリアンプの利得を低く設定するように、前記m値設定信号を生成する構成(第2の構成)にするとよい。   In the variable gain amplifier having the first configuration described above, the m-value setting circuit, conversely, sets the gain of the preamplifier to be higher as the data value of the external digital data is smaller. The m value setting signal may be generated (second configuration) so that the gain of the preamplifier is set lower as the value increases.

また、上記した第2の構成から成る利得可変増幅器において、前記m値設定回路は、前記外部デジタルデータを形成するnビットのうち、値「1」が入力されている最上位のビットがsビット目(ただし1≦s≦n)であるとき、m≦n−sを満たすように、前記m値設定信号を生成する構成(第3の構成)にするとよい。   In the variable gain amplifier having the second configuration described above, the m-value setting circuit has s bits as the most significant bit to which the value “1” is input among n bits forming the external digital data. When it is the first (where 1 ≦ s ≦ n), the m value setting signal may be generated (third configuration) so as to satisfy m ≦ ns.

また、上記第1〜第3いずれかの構成から成る利得可変増幅器において、前記DACはR−2Rはしご型抵抗回路を有して成る構成(第4の構成)にするとよい。   In the variable gain amplifier having any one of the first to third configurations, the DAC may be configured to include an R-2R ladder resistor circuit (fourth configuration).

また、上記第1〜第4いずれかの構成から成る利得可変増幅器において、前記プリアンプは、前記入力電圧を電圧/電流変換することにより入力電流を生成する電圧/電流変換回路と、前記m値設定信号に基づいて前記入力電流を2m倍することにより出力電流を生成するカレントミラー回路と、前記出力電流を電流/電圧変換することにより前記増幅電圧を生成する電流/電圧変換回路と、を有して成る構成(第5の構成)にするとよい。 In the variable gain amplifier having any one of the first to fourth configurations, the preamplifier includes a voltage / current conversion circuit that generates an input current by performing voltage / current conversion on the input voltage, and the m value setting. A current mirror circuit that generates an output current by multiplying the input current by 2 m based on a signal; and a current / voltage conversion circuit that generates the amplified voltage by current / voltage conversion of the output current. (5th configuration).

また、上記第5の構成から成る利得可変増幅器において、前記カレントミラー回路は、前記入力電流に応じたミラー電流を出力するミラー電流出力段を複数有して成り、各ミラー電流出力段から出力されるミラー電流を合算することにより前記出力電流を生成するものであり、前記ミラー電流出力段の少なくとも一は、前記m値設定信号に基づいて、その出力可否を制御するスイッチを有して成る構成(第6の構成)にするとよい。   In the variable gain amplifier having the fifth configuration, the current mirror circuit includes a plurality of mirror current output stages that output a mirror current corresponding to the input current, and is output from each mirror current output stage. The output current is generated by adding together the mirror currents, and at least one of the mirror current output stages has a switch for controlling whether or not to output based on the m-value setting signal (Sixth configuration) is preferable.

また、上記第1〜第6いずれかの構成から成る利得可変増幅器において、前記mビットシフト回路は、前記m値設定信号に基づき、前記内部デジタルデータのtビット目(ただし1≦t≦n)の値として、前記外部デジタルデータの(t−m)ビット目の値、もしくは、値「0」を選択するn個のセレクタモジュールを有して成る構成(第7の構成)にするとよい。   Further, in the variable gain amplifier having any one of the first to sixth configurations, the m-bit shift circuit is based on the m-value setting signal, and the t-th bit (where 1 ≦ t ≦ n) of the internal digital data. The value of the (t−m) -th bit of the external digital data or the configuration (seventh configuration) including n selector modules for selecting the value “0” may be used.

また、上記第7の構成から成る利得可変増幅器において、前記mビットシフト回路は、前記外部デジタルデータを形成する全ビットに値「0」が入力されているとき、前記出力電圧の出力動作を停止させるためのゼロ検出信号を生成するゼロ検出モジュールを有して成る構成(第8の構成)にするとよい。   In the variable gain amplifier having the seventh configuration, the m-bit shift circuit stops the output operation of the output voltage when a value “0” is input to all the bits forming the external digital data. It is preferable to adopt a configuration (eighth configuration) including a zero detection module that generates a zero detection signal.

本発明に係る利得可変増幅器であれば、メインアンプの増幅能力を不要に増強することなく、利得を広範囲に可変制御することが可能となる。   With the variable gain amplifier according to the present invention, it is possible to variably control the gain over a wide range without unnecessarily increasing the amplification capability of the main amplifier.

本発明に係る利得可変増幅器の一実施形態を示すブロック図である。1 is a block diagram showing an embodiment of a variable gain amplifier according to the present invention. 本実施形態の利得可変増幅器の入出力特性の一例を示す図である。It is a figure which shows an example of the input-output characteristic of the variable gain amplifier of this embodiment. DAC2の一構成例を示す回路図である。It is a circuit diagram which shows one structural example of DAC2. DAC2の一変形例を示す回路図である。It is a circuit diagram which shows one modification of DAC2. m値設定回路3の一構成例を示す論理ゲート図である。3 is a logic gate diagram showing an example of the configuration of an m value setting circuit 3. FIG. 外部デジタルデータTHIDとm値設定信号x1、x8、x32との相関関係を示すテーブルである。4 is a table showing a correlation between external digital data THID and m-value setting signals x1, x8, and x32. プリアンプ4の一構成例を示す回路図である。2 is a circuit diagram showing a configuration example of a preamplifier 4. FIG. mビットシフト回路5の一構成例を示すブロック図である。2 is a block diagram showing an example of the configuration of an m-bit shift circuit 5. FIG. セレクタモジュール50−kの一構成例を示す論理ゲート図である。It is a logic gate figure which shows one structural example of the selector module 50-k. ゼロ検出モジュール51の一構成例を示す論理ゲート図である。FIG. 3 is a logic gate diagram illustrating an example configuration of a zero detection module 51. 本実施形態の利得可変増幅器の一適用例を示す図である。It is a figure which shows one example of application of the variable gain amplifier of this embodiment. 利得可変増幅器の一従来例を示す回路図である。It is a circuit diagram which shows one prior art example of a variable gain amplifier. 利得可変増幅器の別の一従来例を示す回路図である。It is a circuit diagram which shows another prior art example of a variable gain amplifier. 従来における利得可変増幅器の入出力特性の一例を示す図である。It is a figure which shows an example of the input-output characteristic of the conventional variable gain amplifier.

図1は、本発明に係る利得可変増幅器の一実施形態を示すブロック図である。本実施形態の利得可変増幅器は、メインアンプ1と、DAC2と、m値設定回路3と、プリアンプ4と、mビットシフト回路5と、を有して成る。   FIG. 1 is a block diagram showing an embodiment of a variable gain amplifier according to the present invention. The variable gain amplifier according to this embodiment includes a main amplifier 1, a DAC 2, an m value setting circuit 3, a preamplifier 4, and an m bit shift circuit 5.

メインアンプ1の非反転入力端(+)は、増幅電圧VIN2の印加端(プリアンプ4の出力端)に接続されている。メインアンプ1の反転入力端(−)は、帰還電圧VFBの印加端(DAC2の出力端)に接続されている。メインアンプ1の出力端は、出力電圧VOUTの出力端に接続される一方、DAC2の電源端にも接続されている。   The non-inverting input terminal (+) of the main amplifier 1 is connected to the application terminal of the amplified voltage VIN2 (the output terminal of the preamplifier 4). The inverting input terminal (−) of the main amplifier 1 is connected to the application terminal of the feedback voltage VFB (the output terminal of the DAC 2). The output terminal of the main amplifier 1 is connected to the output terminal of the output voltage VOUT, and is also connected to the power supply terminal of the DAC 2.

DAC2は、メインアンプ1の負帰還ループ内に挿入され、nビット(ただしn≧2)の内部デジタルデータIDをデジタル/アナログ変換することによって、帰還電圧VFBを生成する手段である。帰還電圧VFBの電圧値は、次の(3)式で算出される。なお、(3)式において、パラメータID(d)は、nビットの内部デジタルデータIDのデータ値を10進数で表記したものであり、1〜2n−1の整数値を取り得る。 The DAC 2 is a unit that is inserted into the negative feedback loop of the main amplifier 1 and generates a feedback voltage VFB by performing digital / analog conversion on the n-bit (where n ≧ 2) internal digital data ID. The voltage value of the feedback voltage VFB is calculated by the following equation (3). In the equation (3), the parameter ID (d) represents the data value of the n-bit internal digital data ID in a decimal number, and can take an integer value of 1 to 2 n -1.

Figure 0005210918
Figure 0005210918

メインアンプ1は、非反転入力端(+)に入力される増幅電圧VIN2と、反転入力端(−)に入力される帰還電圧VFBとが一致するように、出力電圧VOUTを生成する。従って、出力電圧VOUTの電圧値は、次の(4)式で算出される。   The main amplifier 1 generates the output voltage VOUT so that the amplified voltage VIN2 input to the non-inverting input terminal (+) matches the feedback voltage VFB input to the inverting input terminal (−). Therefore, the voltage value of the output voltage VOUT is calculated by the following equation (4).

Figure 0005210918
Figure 0005210918

m値設定回路3は、nビットの外部デジタルデータTHIDに応じてm値設定信号(ただし0≦m<n)を生成し、これをプリアンプ4及びmビットシフト回路5に出力する。   The m-value setting circuit 3 generates an m-value setting signal (where 0 ≦ m <n) according to the n-bit external digital data THID and outputs it to the preamplifier 4 and the m-bit shift circuit 5.

プリアンプ4は、入力電圧VINを2m倍することで増幅電圧VIN2を生成し、これをメインアンプ1の非反転入力端(+)に出力する。増幅電圧VIN2の電圧値は、次の(5)式で算出される。 The preamplifier 4 generates the amplified voltage VIN2 by multiplying the input voltage VIN by 2 m and outputs it to the non-inverting input terminal (+) of the main amplifier 1. The voltage value of the amplified voltage VIN2 is calculated by the following equation (5).

Figure 0005210918
Figure 0005210918

mビットシフト回路5は、外部デジタルデータTHIDをmビット分だけ上位側にシフトすることで内部デジタルデータIDを生成し、これをDAC2に出力する。外部デジタルデータTHIDをmビット分だけ上位側にシフトさせるという演算処理は、外部デジタルデータTHIDのデータ値を10進数表記で2m倍することに相当する。すなわち、内部デジタルデータIDのデータ値は、次の(6)式で算出される。なお、(6)式において、パラメータTHID(d)とパラメータID(d)は、外部デジタルデータTHIDのデータ値と内部デジタルデータIDのデータ値を各々10進数表記したものである。 The m-bit shift circuit 5 generates the internal digital data ID by shifting the external digital data THID to the upper side by m bits, and outputs this to the DAC 2. The arithmetic processing of shifting the external digital data THID to the upper side by m bits corresponds to multiplying the data value of the external digital data THID by 2 m in decimal notation. That is, the data value of the internal digital data ID is calculated by the following equation (6). In equation (6), parameter THID (d) and parameter ID (d) are data values of external digital data THID and data values of internal digital data ID expressed in decimal numbers.

Figure 0005210918
Figure 0005210918

先出の(4)式に(5)式と(6)式を代入すると、出力電圧VOUTの電圧値は、次の(7)式で算出される。   When the formulas (5) and (6) are substituted into the previous formula (4), the voltage value of the output voltage VOUT is calculated by the following formula (7).

Figure 0005210918
Figure 0005210918

上記の(7)式は、先出の(2)式と同一である。すなわち、本実施形態の利得可変増幅器で生成される出力電圧VOUTの電圧値は、プリアンプ4で設定されている利得2mの影響を何ら受けないことが分かる。 The above equation (7) is the same as the above equation (2). That is, it can be seen that the voltage value of the output voltage VOUT generated by the variable gain amplifier of the present embodiment is not affected by the gain 2 m set by the preamplifier 4.

このように、本実施形態の利得可変増幅器では、m値設定回路3で生成されるm値設定信号に基づいて、プリアンプ4の利得可変制御とmビットシフト回路5による外部デジタルデータTHIDのビットシフト制御とが互いに連携して実施されており、DAC2に入力される内部デジタルデータIDのデータ値(延いてはメインアンプ1の利得)は、プリアンプ4の利得分をキャンセルするように、利得可変増幅器の内部(mビットシフト回路5)で自動的に最適化されている。従って、本実施形態の利得可変増幅器であれば、ユーザにプリアンプ4の存在を意識させることなく、メインアンプ1の増幅能力不足をプリアンプ4で補填することができる。   As described above, in the variable gain amplifier of the present embodiment, the variable gain control of the preamplifier 4 and the bit shift of the external digital data THID by the m bit shift circuit 5 based on the m value setting signal generated by the m value setting circuit 3. The control is performed in cooperation with each other, and the data value of the internal digital data ID input to the DAC 2 (and hence the gain of the main amplifier 1) is a variable gain amplifier so as to cancel the gain of the preamplifier 4. Are automatically optimized (in the m-bit shift circuit 5). Therefore, with the variable gain amplifier according to the present embodiment, the preamplifier 4 can compensate for the insufficient amplification capability of the main amplifier 1 without making the user aware of the presence of the preamplifier 4.

また、本実施形態の利得可変増幅器では、m値設定回路3で生成されるm値設定信号に基づき、プリアンプ4の利得2mが外部デジタルデータTHIDのデータ値(延いては、利得可変増幅器全体の利得)に応じて可変制御される。より具体的に述べると、プリアンプ4の利得2mは、外部デジタルデータTHIDのデータ値が小さいほど高く設定され、逆に、外部デジタルデータTHIDのデータ値が大きいほど低く設定される。 In the variable gain amplifier according to the present embodiment, the gain 2 m of the preamplifier 4 is set to the data value of the external digital data THID based on the m value setting signal generated by the m value setting circuit 3 (and thus the entire variable gain amplifier). The gain is controlled variably according to the gain. More specifically, the gain 2 m of the preamplifier 4 is set higher as the data value of the external digital data THID is smaller, and conversely, it is set lower as the data value of the external digital data THID is larger.

従って、本実施形態の利得可変増幅器であれば、大きな出力電圧VOUTを出力する必要がある場合であっても、メインアンプ1自体の利得については、プリアンプ4が挿入されていない構成(図12Aの構成)に比べて低く設定すれば足りるので、メインアンプ1自体の増幅能力を不要に増強する必要がなくなる。また、本実施形態の利得可変増幅器であれば、図12Bの従来構成(プリアンプの利得を固定した構成)と異なり、利得可変増幅器の利得可変範囲が常に高利得側にオフセットされた形とはならず、利得可変範囲の最低値が高くなってしまうことはない。   Therefore, with the variable gain amplifier according to the present embodiment, even when it is necessary to output a large output voltage VOUT, the gain of the main amplifier 1 itself is configured such that the preamplifier 4 is not inserted (FIG. 12A). Therefore, it is not necessary to unnecessarily increase the amplification capability of the main amplifier 1 itself. Further, in the variable gain amplifier of this embodiment, unlike the conventional configuration of FIG. 12B (a configuration in which the gain of the preamplifier is fixed), the variable gain range of the variable gain amplifier is not always offset to the high gain side. Therefore, the minimum value of the variable gain range does not increase.

図2は、本実施形態の利得可変増幅器の入出力特性の一例を示す図である。なお、図2の横軸には、外部デジタルデータTHID(8ビット)のデータ値が10進数表記で示されており、図2の縦軸には、利得可変増幅器の全体利得α(=出力電圧VOUT/入力電圧VIN)が示されている。本図に示すように、本実施形態の利得可変増幅器では、外部デジタルデータTHIDのデータ値に応じて、プリアンプ4の利得可変制御とmビットシフト回路5による外部デジタルデータTHIDのビットシフト制御とが互いに連携して実施されるので、本実施形態の利得可変増幅器の入出力特性(図2の実線X1)は、プリアンプなしの理論上の入出力特性(図12の破線X1’)と一致する。   FIG. 2 is a diagram illustrating an example of input / output characteristics of the variable gain amplifier according to the present embodiment. The horizontal axis in FIG. 2 shows the data value of the external digital data THID (8 bits) in decimal notation, and the vertical axis in FIG. 2 shows the overall gain α (= output voltage) of the variable gain amplifier. VOUT / input voltage VIN). As shown in this figure, in the variable gain amplifier of this embodiment, the variable gain control of the preamplifier 4 and the bit shift control of the external digital data THID by the m-bit shift circuit 5 are performed according to the data value of the external digital data THID. Since they are implemented in cooperation with each other, the input / output characteristics (solid line X1 in FIG. 2) of the variable gain amplifier of the present embodiment match the theoretical input / output characteristics without a preamplifier (dashed line X1 ′ in FIG. 12).

このように、本実施形態の利得可変増幅器であれば、メインアンプ1自体の増幅能力を不要に増強することなく、外部デジタルデータTHIDに基づいて、利得を広範囲に可変制御することが可能となる。   Thus, with the variable gain amplifier according to the present embodiment, the gain can be variably controlled over a wide range based on the external digital data THID without unnecessarily increasing the amplification capability of the main amplifier 1 itself. .

また、本実施形態の利得可変増幅器であれば、プリアンプ4からメインアンプ1に至る信号ラインのノイズ耐性を向上することが可能となる。   Further, with the variable gain amplifier of the present embodiment, it is possible to improve the noise resistance of the signal line from the preamplifier 4 to the main amplifier 1.

以下では、外部デジタルデータTHIDと内部デジタルデータIDのビット数nを8とし、プリアンプ4の利得可変制御とmビットシフト回路5による外部デジタルデータTHIDのビットシフト制御の双方に用いられるm値設定信号として、1倍設定信号x1(m=0)、8倍設定信号x8(m=3)、及び、32倍設定信号x32(m=5)が生成される構成を例に挙げて、利得可変増幅器を形成する各部の具体的な回路構成を説明する。   In the following, the bit number n of the external digital data THID and the internal digital data ID is set to 8, and an m value setting signal used for both the variable gain control of the preamplifier 4 and the bit shift control of the external digital data THID by the m bit shift circuit 5. As an example, a configuration in which a 1 × setting signal x1 (m = 0), an 8 × setting signal x8 (m = 3), and a 32 × setting signal x32 (m = 5) are generated will be described. A specific circuit configuration of each part forming the circuit will be described.

なお、下記の説明中においては、外部デジタルデータTHIDの各ビット毎に入力されている値を最下位ビットから順にそれぞれTHID<0>〜THID<7>と表記する。同様に、内部デジタルデータIDの各ビット毎に入力されている値を最下位ビットから順にそれぞれID<0>〜ID<7>と表記する。   In the following description, values input for each bit of the external digital data THID are expressed as THID <0> to THID <7> in order from the least significant bit. Similarly, values input for each bit of the internal digital data ID are expressed as ID <0> to ID <7> in order from the least significant bit.

図3は、DAC2の一構成例を示す回路図である。図3に示す通り、本構成例のDAC2は、抵抗200〜205(抵抗値:R)と、抵抗210〜219(抵抗値:2R)と、スイッチ220〜228と、インバータ230〜235及びインバータ237と、否定論理和演算器236と、否定論理積演算器238と、を有して成る。   FIG. 3 is a circuit diagram showing a configuration example of the DAC 2. As shown in FIG. 3, the DAC 2 of this configuration example includes resistors 200 to 205 (resistance value: R), resistors 210 to 219 (resistance value: 2R), switches 220 to 228, inverters 230 to 235, and an inverter 237. And a negative OR operator 236 and a negative AND operator 238.

抵抗200の一端は、抵抗210の一端と抵抗211の一端に接続されている。抵抗200の他端は、抵抗201の一端と抵抗212の一端に接続されている。抵抗201の他端は、抵抗202の一端と抵抗213の一端に接続されている。抵抗202の他端は、抵抗203の一端と抵抗214の一端に接続されている。抵抗203の他端は、抵抗204の一端と抵抗215の一端に接続されている。抵抗204の他端は、抵抗205の一端と抵抗216の一端に接続されている。抵抗205の他端は、帰還電圧VFBの出力端と抵抗217〜219の各一端に接続されている。抵抗210の他端は、接地端に接続されている。抵抗211〜219の各他端は、それぞれ、スイッチ220〜228の各共通端に接続されている。スイッチ220〜228の各第1選択端は、いずれも出力電圧VOUTの印加端(DAC2の電源端)に接続されている。スイッチ220〜228の各第2選択端は、いずれも接地端に接続されている。   One end of the resistor 200 is connected to one end of the resistor 210 and one end of the resistor 211. The other end of the resistor 200 is connected to one end of the resistor 201 and one end of the resistor 212. The other end of the resistor 201 is connected to one end of the resistor 202 and one end of the resistor 213. The other end of the resistor 202 is connected to one end of the resistor 203 and one end of the resistor 214. The other end of the resistor 203 is connected to one end of the resistor 204 and one end of the resistor 215. The other end of the resistor 204 is connected to one end of the resistor 205 and one end of the resistor 216. The other end of the resistor 205 is connected to the output end of the feedback voltage VFB and one end of each of the resistors 217 to 219. The other end of the resistor 210 is connected to the ground terminal. The other ends of the resistors 211 to 219 are connected to common ends of the switches 220 to 228, respectively. Each of the first selection terminals of the switches 220 to 228 is connected to the application terminal of the output voltage VOUT (power supply terminal of the DAC 2). Each of the second selection terminals of the switches 220 to 228 is connected to the ground terminal.

インバータ230〜235の各入力端は、それぞれTHID<0>〜THID<5>の各入力端に接続されている。インバータ230〜235の各出力端は、それぞれスイッチ220〜225の各制御端に接続されている。否定論理和演算器236の第1入力端は、THID<6>の入力端に接続されている。否定論理和演算器236の第2入力端は、THID<7>の入力端に接続されている。否定論理和演算器236の出力端は、スイッチ226の制御端に接続されている。インバータ237の入力端は、THID<7>の入力端に接続されている。インバータ237の出力端は、スイッチ227の制御端に接続されている。否定論理積演算器238の第1入力端は、THID<7>の入力端に接続されている。否定論理積演算器238の第2入力端は、THID<6>の入力端に接続されている。否定論理積演算器238の出力端は、スイッチ228の制御端に接続されている。   The input terminals of the inverters 230 to 235 are connected to the input terminals of THID <0> to THID <5>, respectively. The output terminals of the inverters 230 to 235 are connected to the control terminals of the switches 220 to 225, respectively. The first input terminal of the negative OR calculator 236 is connected to the input terminal of THID <6>. The second input terminal of the negative OR calculator 236 is connected to the input terminal of THID <7>. The output terminal of the negative OR calculator 236 is connected to the control terminal of the switch 226. The input terminal of the inverter 237 is connected to the input terminal of THID <7>. The output terminal of the inverter 237 is connected to the control terminal of the switch 227. A first input terminal of the NAND operator 238 is connected to an input terminal of THID <7>. The second input terminal of the NAND operator 238 is connected to the input terminal of THID <6>. The output terminal of the NAND operator 238 is connected to the control terminal of the switch 228.

上記構成から成るDAC2において、スイッチ220〜228は、各々の制御端に入力される制御信号がローレベルであるときに、各々の第1選択端と共通端とを導通させて、抵抗211〜219の各他端に出力電圧VOUTを印加する。逆に、スイッチ220〜228は、各々の制御端に入力される制御信号がハイレベルであるときに、各々の第2選択端と共通端とを導通させて、抵抗211〜219の各他端に接地電圧GNDを印加する。   In the DAC 2 configured as described above, the switches 220 to 228 make the resistors 211 to 219 conductive when the control signals input to the respective control terminals are at a low level, causing the first selection terminals and the common terminals to conduct. The output voltage VOUT is applied to the other end of each. On the contrary, the switches 220 to 228 conduct the respective second selection terminals and the common terminals when the control signals input to the respective control terminals are at a high level, and connect the other terminals of the resistors 211 to 219. Is applied with ground voltage GND.

このように、R−2Rはしご型抵抗回路を有して成るDAC2であれば、桁数の多い高精度のデジタル/アナログ変換処理を簡易な回路構成によって実現することができる。なお、DAC2の入出力線形性を高めるために、図3の回路構成では、THID<6>、THID<7>の2値に基づいて、3つのスイッチ226〜228の切替制御(延いては、3つの抵抗217〜219の各他端に対する電圧印加制御)を行う構成を例に挙げたが、本発明の構成はこれに限定されるものではなく、例えば、図4に示すように、否定論理和演算器236をインバータ236Xに置き換えた上で、否定論理積演算器238、スイッチ228、及び、抵抗219を削除し、抵抗217と抵抗218との間に、新たに抵抗値Rの抵抗206を挿入した構成に変更しても構わない。   As described above, if the DAC 2 includes the R-2R ladder-type resistor circuit, high-precision digital / analog conversion processing with a large number of digits can be realized with a simple circuit configuration. In order to improve the input / output linearity of the DAC 2, in the circuit configuration of FIG. 3, the switching control of the three switches 226 to 228 (by extension, based on the binary values of THID <6> and THID <7>) The configuration of performing the voltage application control to the other ends of the three resistors 217 to 219) is given as an example, but the configuration of the present invention is not limited to this. For example, as shown in FIG. After replacing the sum calculator 236 with the inverter 236X, the NAND operator 238, the switch 228, and the resistor 219 are deleted, and a resistor 206 having a resistance value R is newly added between the resistors 217 and 218. It may be changed to the inserted configuration.

図5は、m値設定回路3の一構成例を示す論理ゲート図である。図5に示すように、本構成例のm値設定回路3は、論理和演算器31〜33と、インバータ34及び35と、論理積演算器36及び37と、を有して成る。   FIG. 5 is a logic gate diagram illustrating a configuration example of the m-value setting circuit 3. As shown in FIG. 5, the m-value setting circuit 3 of this configuration example includes OR calculators 31 to 33, inverters 34 and 35, and AND calculators 36 and 37.

論理和演算器31の第1入力端は、THID<3>の入力端に接続されている。論理和演算器31の第2入力端は、THID<4>の入力端に接続されている。論理和演算器32の第1入力端は、THID<5>の入力端に接続されている。論理和演算器32の第2入力端は、THID<6>の入力端に接続されている。論理和演算器32の第3入力端はTHID<7>の入力端に接続されている。論理和演算器33の第1入力端は、論理和演算器31の出力端に接続されている。論理和演算器33の第2入力端は、論理和演算器32の出力端に接続されている。インバータ34の入力端は、論理和演算器33の出力端に接続されている。インバータ35の入力端は、論理和演算器32の出力端に接続されている。論理積演算器36の第1入力端は、インバータ34の出力端に接続されている。論理積演算器36の第2入力端は、インバータ35の出力端に接続されている。論理積演算器37の第1入力端は、インバータ35の出力端に接続されている。論理積演算器37の第2入力端は、論理和演算器33の出力端に接続されている。1倍設定信号x1は、論理和演算器32の出力端から引き出されている。8倍設定信号x8は、論理積演算器37の出力端から引き出されている。32倍設定信号x32は、論理積演算器36の出力端から引き出されている。   The first input terminal of the logical sum calculator 31 is connected to the input terminal of THID <3>. The second input terminal of the logical sum calculator 31 is connected to the input terminal of THID <4>. The first input terminal of the logical sum calculator 32 is connected to the input terminal of THID <5>. The second input terminal of the logical sum calculator 32 is connected to the input terminal of THID <6>. The third input terminal of the logical sum calculator 32 is connected to the input terminal of THID <7>. The first input terminal of the logical sum calculator 33 is connected to the output terminal of the logical sum calculator 31. The second input terminal of the logical sum calculator 33 is connected to the output terminal of the logical sum calculator 32. An input terminal of the inverter 34 is connected to an output terminal of the logical sum calculator 33. The input terminal of the inverter 35 is connected to the output terminal of the logical sum calculator 32. The first input terminal of the AND operator 36 is connected to the output terminal of the inverter 34. The second input terminal of the AND operator 36 is connected to the output terminal of the inverter 35. The first input terminal of the AND operator 37 is connected to the output terminal of the inverter 35. A second input terminal of the AND operator 37 is connected to an output terminal of the OR operator 33. The 1 × setting signal x 1 is drawn from the output terminal of the logical sum calculator 32. The 8-fold setting signal x8 is drawn from the output terminal of the AND operator 37. The 32-times setting signal x32 is drawn from the output terminal of the AND operator 36.

上記構成から成るm値設定回路3は、THID<3>〜THID<7>がいずれもローレベル(値「0」)であるとき、言い換えれば、外部デジタルデータTHIDのデータ値が10進数表記で1〜7であるときには、32倍設定信号x32(m=5)をハイレベルとし、1倍設定信号x1(m=0)と8倍設定信号x8(m=3)をローレベルとする。   In the m-value setting circuit 3 having the above configuration, when THID <3> to THID <7> are all at a low level (value “0”), in other words, the data value of the external digital data THID is expressed in decimal notation. When 1 to 7, the 32 × setting signal x32 (m = 5) is set to the high level, and the 1 × setting signal x1 (m = 0) and the 8 × setting signal x8 (m = 3) are set to the low level.

また、上記構成から成るm値設定回路3は、THID<5>〜THID<7>がいずれもローレベル(値「0」)であるが、THID<3>及びTHID<4>の少なくとも一がハイレベル(値「1」)であるとき、言い換えれば、外部デジタルデータTHIDのデータ値が10進数表記で8〜31であるときには、8倍設定信号x8(m=3)をハイレベルとし、1倍設定信号x1(m=0)と32倍設定信号x32(m=5)をいずれもローレベルとする。   In the m-value setting circuit 3 configured as described above, THID <5> to THID <7> are all at a low level (value “0”), but at least one of THID <3> and THID <4> is When it is at the high level (value “1”), in other words, when the data value of the external digital data THID is 8 to 31 in decimal notation, the 8-fold setting signal x8 (m = 3) is set to the high level. Both the double setting signal x1 (m = 0) and the 32-times setting signal x32 (m = 5) are set to the low level.

また、上記構成から成るm値設定回路3は、THID<5>〜THID<7>の少なくとも一がハイレベル(値「1」)であるとき、すなわち、外部デジタルデータTHIDのデータ値が10進数表記で32〜255であるときには、1倍設定信号x1(m=0)をハイレベルとし、8倍設定信号x8(m=3)と32倍設定信号x32(m=5)をローレベルとする。   Further, the m-value setting circuit 3 configured as described above is configured such that when at least one of THID <5> to THID <7> is at a high level (value “1”), that is, the data value of the external digital data THID is a decimal number. In the case of 32 to 255, the 1 × setting signal x1 (m = 0) is set to the high level, and the 8 × setting signal x8 (m = 3) and the 32 × setting signal x32 (m = 5) are set to the low level. .

図6は、外部デジタルデータTHID(d)とm値設定信号(1倍設定信号x1、8倍設定信号x8、及び、32倍設定信号x32)との相関関係を示すテーブルである。   FIG. 6 is a table showing the correlation between the external digital data THID (d) and the m-value setting signal (1 × setting signal x1, 8 × setting signal x8, and 32 × setting signal x32).

上記したように、本実施形態の利得可変増幅器において、m値設定回路3は、外部デジタルデータTHIDを形成する8ビット(THID<0>〜THID<7>)のうち、値「1」が入力されている最上位のビットがsビット目(ただし1≦s≦8)であるとき、m≦8−sを満たすように、m値設定信号(1倍設定信号x1、8倍設定信号x8、及び32倍設定信号x32)を生成する構成とされている。   As described above, in the variable gain amplifier of the present embodiment, the m-value setting circuit 3 receives the value “1” among the 8 bits (THID <0> to THID <7>) forming the external digital data THID. When the most significant bit is the sth bit (where 1 ≦ s ≦ 8), the m value setting signal (1 × setting signal x1, 8 × setting signal x8, And 32 times setting signal x32).

このような構成とすることにより、mビットシフト回路5で生成される内部デジタルデータIDは、THID<0>〜THID<s>の欠落を招くことなく、これをmビット分だけ上位側にシフトさせたデータ値、すなわち、先出の数式(6)で算出されるデータ値を有することになる。従って、本実施形態の利得可変増幅器は、先にも説明した通り、プリアンプ4の利得可変制御とmビットシフト回路5による外部デジタルデータTHIDのビットシフト制御とを互いに連携させて、ユーザの意図した出力電圧VOUTを生成することが可能となる。   By adopting such a configuration, the internal digital data ID generated by the m-bit shift circuit 5 is shifted to the upper side by m bits without causing loss of THID <0> to THID <s>. The data value thus obtained, that is, the data value calculated by the above-described equation (6) is provided. Therefore, as described above, the variable gain amplifier according to the present embodiment links the gain variable control of the preamplifier 4 and the bit shift control of the external digital data THID by the m-bit shift circuit 5 to each other. The output voltage VOUT can be generated.

図7は、プリアンプ4の一構成例を示す回路図である。図7に示すように、本構成例のプリアンプ4は、電圧/電流変換回路41と、カレントミラー回路42と、電流/電圧変換回路43と、を有して成る。   FIG. 7 is a circuit diagram showing a configuration example of the preamplifier 4. As shown in FIG. 7, the preamplifier 4 of this configuration example includes a voltage / current conversion circuit 41, a current mirror circuit 42, and a current / voltage conversion circuit 43.

電圧/電流変換回路41は、入力電圧VINを電圧/電流変換して入力電流i0を生成する手段であり、Nチャネル型MOS[Metal Oxide Semiconductor]電界効果トランジスタ410と、抵抗411(抵抗値:Rx)と、アンプ412と、を有して成る。   The voltage / current conversion circuit 41 is means for generating an input current i0 by performing voltage / current conversion on the input voltage VIN, and includes an N-channel MOS [Metal Oxide Semiconductor] field effect transistor 410 and a resistor 411 (resistance value: Rx). ) And an amplifier 412.

トランジスタ410のドレインは、電圧/電流変換回路41の電流出力端に相当し、カレントミラー回路42の電流入力端に接続されている。トランジスタ410のソース及びバックゲートは、抵抗411を介して、接地端に接続されている。トランジスタ410のゲートは、アンプ412の出力端に接続されている。アンプ412の非反転入力端(+)は、入力電圧VINの印加端に接続されている。アンプ412の反転入力端(−)は、抵抗411の一端に接続されている。   The drain of the transistor 410 corresponds to the current output terminal of the voltage / current conversion circuit 41 and is connected to the current input terminal of the current mirror circuit 42. The source and back gate of the transistor 410 are connected to the ground terminal via the resistor 411. The gate of the transistor 410 is connected to the output terminal of the amplifier 412. The non-inverting input terminal (+) of the amplifier 412 is connected to the application terminal for the input voltage VIN. An inverting input terminal (−) of the amplifier 412 is connected to one end of the resistor 411.

上記の構成から成る電圧/電流変換回路41において、アンプ412は、非反転入力端(+)と反転入力端(−)の各印加電圧が互いに一致するように、トランジスタ410のゲート信号を生成する。すなわち、抵抗411の一端には、入力電圧VINが印加されることになるので、入力電流i0の電流値は、次の(8)式で算出される。   In the voltage / current conversion circuit 41 configured as described above, the amplifier 412 generates the gate signal of the transistor 410 so that the applied voltages at the non-inverting input terminal (+) and the inverting input terminal (−) match each other. . That is, since the input voltage VIN is applied to one end of the resistor 411, the current value of the input current i0 is calculated by the following equation (8).

Figure 0005210918
Figure 0005210918

カレントミラー回路42は、m値設定信号(1倍設定信号x1(m=0)、8倍設定信号x8(m=3)、及び、32倍設定信号x32(m=5))に基づいて入力電流i0を2m倍することにより、出力電流i4(=i0×2m)を生成する手段であり、Pチャネル型MOS電界効果トランジスタ421〜426と、スイッチ427及び428と、論理和演算器429と、を有して成る。 The current mirror circuit 42 is input based on an m-value setting signal (1 × setting signal x1 (m = 0), 8 × setting signal x8 (m = 3), and 32 × setting signal x32 (m = 5)). This is means for generating an output current i4 (= i0 × 2 m ) by multiplying the current i0 by 2 m , and includes P-channel MOS field effect transistors 421 to 426, switches 427 and 428, and an OR calculator 429. And comprising.

トランジスタ421〜426のソース及びバックゲートは、いずれも電源端に接続されている。トランジスタ421のゲート及びドレインは、カレントミラー回路42の電流入力端に相当し、電圧/電流変換回路41の電流出力端に接続されている。トランジスタ422〜424のドレインは、カレントミラー回路42の電流出力端に相当し、電流/電圧変換回路43の電流入力端に接続されている。トランジスタ422のゲートは、トランジスタ421のゲートに直接接続されている。トランジスタ423のゲートは、スイッチ427を介してトランジスタ421のゲートに接続されている。トランジスタ424のゲートは、スイッチ428を介してトランジスタ421のゲートに接続されている。トランジスタ425のドレインは、トランジスタ423のゲートに接続されている。トランジスタ426のドレインは、トランジスタ424のゲートに接続されている。論理和演算器429の第1入力端は、8倍設定信号x8の入力端に接続されている。論理和演算器429の第2入力端は、32倍設定信号x32の入力端に接続されている。トランジスタ425のゲート及びスイッチ427の制御端は、いずれも論理和演算器429の出力端に接続されている。トランジスタ426のゲート及びスイッチ428の制御端は、いずれも32倍設定信号x32の入力端に接続されている。   The sources and back gates of the transistors 421 to 426 are all connected to the power supply terminal. The gate and drain of the transistor 421 correspond to the current input terminal of the current mirror circuit 42 and are connected to the current output terminal of the voltage / current conversion circuit 41. The drains of the transistors 422 to 424 correspond to the current output terminal of the current mirror circuit 42 and are connected to the current input terminal of the current / voltage conversion circuit 43. The gate of the transistor 422 is directly connected to the gate of the transistor 421. The gate of the transistor 423 is connected to the gate of the transistor 421 through the switch 427. The gate of the transistor 424 is connected to the gate of the transistor 421 through the switch 428. The drain of the transistor 425 is connected to the gate of the transistor 423. The drain of the transistor 426 is connected to the gate of the transistor 424. The first input terminal of the logical sum calculator 429 is connected to the input terminal of the 8 × setting signal x8. The second input terminal of the logical sum calculator 429 is connected to the input terminal of the 32-times setting signal x32. The gate of the transistor 425 and the control terminal of the switch 427 are both connected to the output terminal of the logical sum calculator 429. The gate of the transistor 426 and the control terminal of the switch 428 are both connected to the input terminal of the 32-times setting signal x32.

上記構成から成るカレントミラー回路42は、入力電流i0を等倍した第1ミラー電流i1(=i0)を出力する第1ミラー電流出力段(トランジスタ422)と、入力電流i0を7倍した第2ミラー電流i2(=i0×7)を出力する第2ミラー電流出力段(トランジスタ423、トランジスタ425、及び、スイッチ427)と、入力電流i0を24倍した第3ミラー電流i3(=i0×24)を出力する第3ミラー電流出力段(トランジスタ424、トランジスタ426、及び、スイッチ428)と、を有して成り、第1ミラー電流i1、第2ミラー電流i2、及び、第3ミラー電流i3を合算することにより、出力電i4を生成する構成とされている。   The current mirror circuit 42 configured as described above includes a first mirror current output stage (transistor 422) that outputs a first mirror current i1 (= i0) obtained by multiplying the input current i0 by an equal number, and a second mirror current output stage that is multiplied by seven. A second mirror current output stage (transistor 423, transistor 425, and switch 427) that outputs a mirror current i2 (= i0 × 7), and a third mirror current i3 (= i0 × 24) obtained by multiplying the input current i0 by 24 A third mirror current output stage (transistor 424, transistor 426, and switch 428) that outputs the first mirror current i1, the second mirror current i2, and the third mirror current i3. By doing so, it is configured to generate the output electricity i4.

また、上記の第2ミラー電流出力段は、m値設定信号(図7の例では、8倍設定信号x8と32倍設定信号x32との論理和信号)に基づいて、第2ミラー電流i2の出力可否を制御するスイッチ427及びトランジスタ425を有して成る。なお、スイッチ427は、その制御端に入力される制御信号がハイレベルであるときにオンとなり、ローレベルであるときにオフとなるアナログスイッチである。すなわち、上記の第2ミラー電流出力段は、8倍設定信号x8と32倍設定信号x32の少なくとも一方がハイレベルであるときに第2ミラー電流i2の出力を行い、両方がローレベルであるときに第2ミラー電流i2の出力を停止するように、その出力可否が制御される。   In addition, the second mirror current output stage described above is based on the m-value setting signal (in the example of FIG. 7, the logical sum signal of the 8-fold setting signal x8 and the 32-fold setting signal x32). It has a switch 427 and a transistor 425 for controlling the output availability. The switch 427 is an analog switch that is turned on when the control signal input to the control terminal is at a high level and turned off when the control signal is at a low level. That is, the second mirror current output stage outputs the second mirror current i2 when at least one of the 8 × setting signal x8 and the 32 × setting signal x32 is at a high level, and when both are at a low level. The output availability is controlled so that the output of the second mirror current i2 is stopped.

同様に、上記の第3ミラー電流出力段は、m値設定信号(図7の例では、32倍設定信号x32)に基づいて、第3ミラー電流i3の出力可否を制御するスイッチ428及びトランジスタ426を有して成る。なお、スイッチ428は、その制御端に入力される制御信号がハイレベルであるときにオンとなり、ローレベルであるときにオフとなるアナログスイッチである。すなわち、上記の第3ミラー電流出力段は、32倍設定信号x32がハイレベルであるときに第3ミラー電流i3の出力を行い、ローレベルであるときに第3ミラー電流i3の出力を停止するように、その出力可否が制御される。   Similarly, the third mirror current output stage includes a switch 428 and a transistor 426 that control whether or not the third mirror current i3 can be output based on an m-value setting signal (32 times setting signal x32 in the example of FIG. 7). It has. Note that the switch 428 is an analog switch that is turned on when the control signal input to the control terminal is at a high level and turned off when the control signal is at a low level. That is, the third mirror current output stage outputs the third mirror current i3 when the 32-fold setting signal x32 is at the high level, and stops outputting the third mirror current i3 when the signal is at the low level. As described above, whether or not the output is possible is controlled.

上記の動作をまとめると、カレントミラー回路42は、32倍設定信号x32がハイレベルであるときには、入力電流i0を32倍した出力電流i4(=i1+i2+i3=i0+i0×7+i0×24)を出力し、8倍設定信号x8がハイレベルであるときには、入力電流i0を8倍した出力電流i4(=i1+i2=i0+i0×7)を出力し、32倍設定信号x32と8倍設定信号x8の双方がローレベルであるとき(1倍設定信号x1がハイレベルであるとき)には、入力信号i0を等倍した出力電流i4(=i1=i0)を出力する構成とされている。   In summary, the current mirror circuit 42 outputs the output current i4 (= i1 + i2 + i3 = i0 + i0 × 7 + i0 × 24) obtained by multiplying the input current i0 by 32 when the 32-fold setting signal x32 is at the high level. When the double setting signal x8 is at the high level, an output current i4 (= i1 + i2 = i0 + i0 × 7) obtained by multiplying the input current i0 by 8 is output, and both the 32-fold setting signal x32 and the 8-fold setting signal x8 are at the low level. In some cases (when the 1 × setting signal x1 is at a high level), an output current i4 (= i1 = i0) obtained by multiplying the input signal i0 by an equal magnification is output.

電流/電圧変換回路43は、出力電流i4を電流/電圧変換することにより増幅電圧VIN2を生成する手段であり、抵抗431(抵抗値:Rx)を有して成る。抵抗431の一端は、電流/電圧変換回路43の電流入力端に相当し、カレントミラー回路42の電流出力端に接続されている。また、抵抗431の一端は、電流/電圧変換回路43の電圧出力端(増幅電圧VIN2の出力端)にも相当し、メインアンプ1の非反転入力端(+)にも接続されている。抵抗431の他端は、接地端に接続されている。   The current / voltage conversion circuit 43 is means for generating the amplified voltage VIN2 by current / voltage conversion of the output current i4, and includes a resistor 431 (resistance value: Rx). One end of the resistor 431 corresponds to the current input terminal of the current / voltage conversion circuit 43 and is connected to the current output terminal of the current mirror circuit 42. One end of the resistor 431 corresponds to the voltage output terminal of the current / voltage conversion circuit 43 (the output terminal of the amplified voltage VIN2), and is also connected to the non-inverting input terminal (+) of the main amplifier 1. The other end of the resistor 431 is connected to the ground terminal.

上記の構成から成る電流/電圧変換回路43において、抵抗431には、カレントミラー回路43から出力電流i4が流れ込むので、抵抗431の一端から引き出される増幅電圧VIN2の電圧値は、次の(9)式で算出される。   In the current / voltage conversion circuit 43 configured as described above, since the output current i4 flows from the current mirror circuit 43 into the resistor 431, the voltage value of the amplified voltage VIN2 drawn from one end of the resistor 431 is (9) Calculated by the formula.

Figure 0005210918
Figure 0005210918

上記の(9)式は、先出の(5)式と同一である。このように、本構成例のプリアンプ2であれば、簡易な回路構成を用いてm値設定信号に基づく利得可変制御を行い、入力電圧VINを2m倍した増幅電圧VIN2を生成することが可能となる。 The above equation (9) is the same as the above equation (5). Thus, with the preamplifier 2 of this configuration example, it is possible to perform gain variable control based on the m-value setting signal using a simple circuit configuration, and generate the amplified voltage VIN2 that is 2 m times the input voltage VIN. It becomes.

図8は、mビットシフト回路5の一構成例を示すブロック図である。図8に示す通り、本構成例のmビットシフト回路5は、8個のセレクタモジュール50−0〜50−7を有して成る。また、図8では明示されていないが、mビットシフト回路5は、外部デジタルデータTHIDを形成する全ビットに値「0」が入力されているとき、出力電圧VOUTの出力動作を停止させるためのゼロ検出信号ZEROを生成するゼロ検出モジュール51を有して成る。   FIG. 8 is a block diagram illustrating a configuration example of the m-bit shift circuit 5. As shown in FIG. 8, the m-bit shift circuit 5 of this configuration example includes eight selector modules 50-0 to 50-7. Although not clearly shown in FIG. 8, the m-bit shift circuit 5 is used to stop the output operation of the output voltage VOUT when the value “0” is input to all the bits forming the external digital data THID. It has a zero detection module 51 for generating a zero detection signal ZERO.

セレクタモジュール50−0は、x1入力端子に入力される1倍設定信号x1がハイレベルであるとき、x1_sig入力端子に入力されるTHID<0>をID<0>として出力する。また、セレクタモジュール50−0は、x8入力端子に入力される8倍設定信号x8がハイレベルであるとき、x8_sig端子に入力される値「0」をID<0>として出力する。また、セレクタモジュール50−0は、x32入力端子に入力される32倍設定信号x32がハイレベルであるとき、x32_sig端子に入力される値「0」をID<0>として出力する。   When the 1 × setting signal x1 input to the x1 input terminal is at a high level, the selector module 50-0 outputs THID <0> input to the x1_sig input terminal as ID <0>. The selector module 50-0 outputs the value “0” input to the x8_sig terminal as ID <0> when the 8 × setting signal x8 input to the x8 input terminal is at a high level. The selector module 50-0 outputs the value “0” input to the x32_sig terminal as ID <0> when the 32 × setting signal x32 input to the x32 input terminal is at a high level.

セレクタモジュール50−1は、x1入力端子に入力される1倍設定信号x1がハイレベルであるとき、x1_sig入力端子に入力されるTHID<1>をID<1>として出力する。また、セレクタモジュール50−1は、x8入力端子に入力される8倍設定信号x8がハイレベルであるとき、x8_sig端子に入力される値「0」をID<1>として出力する。また、セレクタモジュール50−0は、x32入力端子に入力される32倍設定信号x32がハイレベルであるとき、x32_sig端子に入力される値「0」をID<1>として出力する。   When the 1 × setting signal x1 input to the x1 input terminal is at a high level, the selector module 50-1 outputs THID <1> input to the x1_sig input terminal as ID <1>. The selector module 50-1 outputs the value “0” input to the x8_sig terminal as ID <1> when the 8 × setting signal x8 input to the x8 input terminal is at a high level. The selector module 50-0 outputs the value “0” input to the x32_sig terminal as ID <1> when the 32-times setting signal x32 input to the x32 input terminal is at the high level.

セレクタモジュール50−2は、x1入力端子に入力される1倍設定信号x1がハイレベルであるとき、x1_sig入力端子に入力されるTHID<2>をID<2>として出力する。また、セレクタモジュール50−2は、x8入力端子に入力される8倍設定信号x8がハイレベルであるとき、x8_sig端子に入力される値「0」をID<2>として出力する。また、セレクタモジュール50−2は、x32入力端子に入力される32倍設定信号x32がハイレベルであるとき、x32_sig端子に入力される値「0」をID<2>として出力する。   The selector module 50-2 outputs THID <2> input to the x1_sig input terminal as ID <2> when the 1 × setting signal x1 input to the x1 input terminal is at a high level. The selector module 50-2 outputs the value “0” input to the x8_sig terminal as ID <2> when the 8 × setting signal x8 input to the x8 input terminal is at a high level. The selector module 50-2 outputs the value “0” input to the x32_sig terminal as ID <2> when the 32 × setting signal x32 input to the x32 input terminal is at a high level.

セレクタモジュール50−3は、x1入力端子に入力される1倍設定信号x1がハイレベルであるとき、x1_sig入力端子に入力されるTHID<3>をID<3>として出力する。また、セレクタモジュール50−3は、x8入力端子に入力される8倍設定信号x8がハイレベルであるとき、x8_sig端子に入力されているTHID<0>をID<3>として出力する。また、セレクタモジュール50−3は、x32入力端子に入力される32倍設定信号x32がハイレベルであるとき、x32_sig端子に入力される値「0」をID<3>として出力する。   The selector module 50-3 outputs THID <3> input to the x1_sig input terminal as ID <3> when the 1 × setting signal x1 input to the x1 input terminal is at a high level. The selector module 50-3 outputs THID <0> input to the x8_sig terminal as ID <3> when the 8-fold setting signal x8 input to the x8 input terminal is at a high level. The selector module 50-3 outputs the value “0” input to the x32_sig terminal as ID <3> when the 32 × setting signal x32 input to the x32 input terminal is at the high level.

セレクタモジュール50−4は、x1入力端子に入力される1倍設定信号x1がハイレベルであるとき、x1_sig入力端子に入力されるTHID<4>をID<4>として出力する。また、セレクタモジュール50−4は、x8入力端子に入力される8倍設定信号x8がハイレベルであるとき、x8_sig端子に入力されているTHID<1>をID<4>として出力する。また、セレクタモジュール50−4は、x32入力端子に入力される32倍設定信号x32がハイレベルであるとき、x32_sig端子に入力される値「0」をID<4>として出力する。   The selector module 50-4 outputs THID <4> input to the x1_sig input terminal as ID <4> when the 1 × setting signal x1 input to the x1 input terminal is at a high level. The selector module 50-4 outputs THID <1> input to the x8_sig terminal as ID <4> when the 8 × setting signal x8 input to the x8 input terminal is at a high level. The selector module 50-4 outputs the value “0” input to the x32_sig terminal as ID <4> when the 32 × setting signal x32 input to the x32 input terminal is at a high level.

セレクタモジュール50−5は、x1入力端子に入力される1倍設定信号x1がハイレベルであるとき、x1_sig入力端子に入力されるTHID<5>をID<5>として出力する。また、セレクタモジュール50−5は、x8入力端子に入力される8倍設定信号x8がハイレベルであるとき、x8_sig端子に入力されているTHID<2>をID<5>として出力する。また、セレクタモジュール50−5は、x32入力端子に入力される32倍設定信号x32がハイレベルであるとき、x32_sig端子に入力されるTHID<0>をID<5>として出力する。   When the 1 × setting signal x1 input to the x1 input terminal is at a high level, the selector module 50-5 outputs THID <5> input to the x1_sig input terminal as ID <5>. The selector module 50-5 outputs THID <2> input to the x8_sig terminal as ID <5> when the 8-fold setting signal x8 input to the x8 input terminal is at a high level. The selector module 50-5 outputs THID <0> input to the x32_sig terminal as ID <5> when the 32-fold setting signal x32 input to the x32 input terminal is at a high level.

セレクタモジュール50−6は、x1入力端子に入力される1倍設定信号x1がハイレベルであるとき、x1_sig入力端子に入力されるTHID<6>をID<6>として出力する。また、セレクタモジュール50−6は、x8入力端子に入力される8倍設定信号x8がハイレベルであるとき、x8_sig端子に入力されているTHID<3>をID<6>として出力する。また、セレクタモジュール50−6は、x32入力端子に入力される32倍設定信号x32がハイレベルであるとき、x32_sig端子に入力されるTHID<1>をID<6>として出力する。   When the 1 × setting signal x1 input to the x1 input terminal is at a high level, the selector module 50-6 outputs THID <6> input to the x1_sig input terminal as ID <6>. The selector module 50-6 outputs THID <3> input to the x8_sig terminal as ID <6> when the 8-fold setting signal x8 input to the x8 input terminal is at a high level. The selector module 50-6 outputs THID <1> input to the x32_sig terminal as ID <6> when the 32-fold setting signal x32 input to the x32 input terminal is at a high level.

セレクタモジュール50−7は、x1入力端子に入力される1倍設定信号x1がハイレベルであるとき、x1_sig入力端子に入力されるTHID<7>をID<7>として出力する。また、セレクタモジュール50−7は、x8入力端子に入力される8倍設定信号x8がハイレベルであるとき、x8_sig端子に入力されているTHID<4>をID<7>として出力する。また、セレクタモジュール50−7は、x32入力端子に入力される32倍設定信号x32がハイレベルであるとき、x32_sig端子に入力されるTHID<2>をID<7>として出力する。   When the 1 × setting signal x1 input to the x1 input terminal is at a high level, the selector module 50-7 outputs THID <7> input to the x1_sig input terminal as ID <7>. Further, the selector module 50-7 outputs THID <4> input to the x8_sig terminal as ID <7> when the 8-fold setting signal x8 input to the x8 input terminal is at a high level. The selector module 50-7 outputs THID <2> input to the x32_sig terminal as ID <7> when the 32-times setting signal x32 input to the x32 input terminal is at a high level.

このように、本構成例のmビットシフト回路5であれば、簡易な回路構成を用いてm値設定信号に基づく外部デジタルデータTHIDのビットシフト制御を行い、適切な内部デジタルデータIDを生成することが可能となる。   As described above, the m-bit shift circuit 5 of the present configuration example performs bit shift control of the external digital data THID based on the m-value setting signal using a simple circuit configuration, and generates an appropriate internal digital data ID. It becomes possible.

図9は、セレクタモジュール50−k(ただしk=0、1、…、7)の一構成例を示す論理ゲート図である。図9に示すように、本構成例のセレクタモジュール50−kは、論理積演算器501−k〜503−kと、論理和演算器504−kと、を有して成る。   FIG. 9 is a logic gate diagram showing a configuration example of the selector module 50-k (where k = 0, 1,..., 7). As shown in FIG. 9, the selector module 50-k of this configuration example includes AND operation units 501-k to 503-k and an OR operation unit 504-k.

論理積演算器501−kの第1入力端は、x32入力端子に接続されている。論理積演算器501−kの第2入力端は、x32_sig入力端子に接続されている。論理積演算器502−kの第1入力端は、x8入力端子に接続されている。論理積演算器502−kの第2入力端は、x8_sig入力端子に接続されている。論理積演算器503−kの第1入力端は、x1入力端子に接続されている。論理積演算器503−kの第2入力端は、x1_sig入力端子に接続されている。論理和演算器504−kの第1入力端は、論理積演算器501−kの出力端に接続されている。論理和演算器504−kの第2入力端は論理積演算器502−kの出力端に接続されている。論理和演算器504−kの第3入力端は、論理積演算器503−kの出力端に接続されている。論理和演算器504−kの出力端は、ID<k>の出力端子に接続されている。   The first input terminal of the AND operator 501 -k is connected to the x32 input terminal. The second input terminal of the AND operator 501-k is connected to the x32_sig input terminal. The first input terminal of the AND operator 502-k is connected to the x8 input terminal. The second input terminal of the AND operator 502-k is connected to the x8_sig input terminal. The first input terminal of the AND operator 503-k is connected to the x1 input terminal. The second input terminal of the AND operator 503-k is connected to the x1_sig input terminal. The first input terminal of the logical sum calculator 504-k is connected to the output terminal of the logical product calculator 501-k. A second input terminal of the logical sum calculator 502-k is connected to an output terminal of the logical product calculator 502-k. The third input terminal of the logical sum calculator 504-k is connected to the output terminal of the logical product calculator 503-k. The output terminal of the logical sum calculator 504-k is connected to the output terminal of ID <k>.

上記構成から成るセレクタモジュール50−kにおいて、x32入力端子に入力される32倍設定信号x32がハイレベルであり、x8入力端子に入力される8倍設定信号x8とx1入力端子に入力される1倍設定信号x1がいずれもローレベルである場合には、x32入力端子に入力される信号がID<k>として出力される。また、x8入力端子に入力される8倍設定信号x8がハイレベルであり、x32入力端子に入力される32倍設定信号x32とx1入力端子に入力される1倍設定信号x1がいずれもローレベルである場合には、x8入力端子に入力される信号がID<k>として出力される。また、x1入力端子に入力される1倍設定信号x1がハイレベルであり、x8入力端子に入力される8倍設定信号x8とx32入力端子に入力される32倍設定信号x32がいずれもローレベルである場合には、x1入力端子に入力される信号がID<k>として出力される。   In the selector module 50-k configured as described above, the 32 × setting signal x32 input to the x32 input terminal is at a high level, and the 8 × setting signal x8 input to the x8 input terminal and 1 input to the x1 input terminal. When both of the multiplication setting signals x1 are at a low level, a signal input to the x32 input terminal is output as ID <k>. Further, the 8 × setting signal x8 input to the x8 input terminal is at the high level, and both the 32 × setting signal x32 input to the x32 input terminal and the 1 × setting signal x1 input to the x1 input terminal are both at the low level. In this case, the signal input to the x8 input terminal is output as ID <k>. Further, the 1 × setting signal x1 input to the x1 input terminal is at a high level, and both the 8 × setting signal x8 input to the x8 input terminal and the 32 × setting signal x32 input to the x32 input terminal are both at a low level. In this case, the signal input to the x1 input terminal is output as ID <k>.

このように、本構成例のセレクタモジュール50−kであれば、簡易な回路構成を用いてm値設定信号に基づく入力信号の選択制御を行い、適切なID<k>を生成することが可能となる。   Thus, with the selector module 50-k of this configuration example, it is possible to perform selection control of the input signal based on the m-value setting signal using a simple circuit configuration and generate an appropriate ID <k>. It becomes.

図10は、ゼロ検出モジュール51の一構成例を示す論理ゲート図である。図10に示すように、本構成例のゼロ検出モジュール51は、THID<0>〜THID<7>を入力とする否定論理和演算器51を有して成る。すなわち、ゼロ検出信号ZEROは、THID<0>〜THID<7>全てがローレベル(値「0」)である場合にのみハイレベルとなり、その余の場合にはローレベルとなる。このようなゼロ検出モジュール51を用いれば、先に説明したプリアンプ4の利得可変制御や外部デジタルデータTHIDのビットシフト制御とは別に、出力電圧VOUTの出力可否制御を行うことが可能となる。   FIG. 10 is a logic gate diagram showing one configuration example of the zero detection module 51. As shown in FIG. 10, the zero detection module 51 of this configuration example includes a negative OR calculator 51 having THID <0> to THID <7> as inputs. That is, the zero detection signal ZERO is at a high level only when all of THID <0> to THID <7> are at a low level (value “0”), and is at a low level in other cases. If such a zero detection module 51 is used, output enable / disable control of the output voltage VOUT can be performed separately from the above-described variable gain control of the preamplifier 4 and bit shift control of the external digital data THID.

図11は、本実施形態の利得可変増幅器の一適用例を示す図である。なお、本図では、スイッチングレギュレータに含まれる過電流保護回路の一部として、本実施形態の利得可変増幅器を適用した構成を例に挙げて説明を行う。   FIG. 11 is a diagram illustrating an application example of the variable gain amplifier according to the present embodiment. In this figure, as an example, a configuration in which the variable gain amplifier according to the present embodiment is applied as a part of the overcurrent protection circuit included in the switching regulator will be described.

本構成例のスイッチングレギュレータは、制御部A1と、駆動部A2と、過電流保護部A3と、Pチャネル型MOS電界効果トランジスタP1と、Nチャネル型MOS電界効果トランジスタN1と、コイルL1と、抵抗R1と、コンデンサC1及びC2と、を有して成り、入力電圧Vinを降圧して所望の出力電圧Voutを生成する同期整流方式の降圧型スイッチングレギュレータである。   The switching regulator of this configuration example includes a control unit A1, a drive unit A2, an overcurrent protection unit A3, a P-channel MOS field effect transistor P1, an N-channel MOS field effect transistor N1, a coil L1, and a resistance. The synchronous rectification step-down switching regulator includes R1 and capacitors C1 and C2, and generates a desired output voltage Vout by stepping down the input voltage Vin.

トランジスタP1のソースは、入力電圧Vinの入力端に接続されている。トランジスタP1のドレインは、トランジスタN1のドレインに接続されている。トランジスタN1のソースは、接地端に接続されている。トランジスタP1、N1のゲートは、それぞれ、駆動部A2のゲート信号出力端に接続されている。コイルL1の一端は、トランジスタP1のドレインとトランジスタN1のドレインの接続ノードに接続されている。コイルL1の他端は、出力電圧Voutの出力端に接続されている。抵抗R1の一端は、コイルL1の一端に接続されている。抵抗R1の他端は、コンデンサC1の一端に接続されている。コンデンサC1の他端は、コイルL1の他端に接続されている。コンデンサC2の一端は出力電圧Voutの出力端に接続されている。コンデンサC2の他端は、接地端に接続されている。出力電圧Voutの出力端には、負荷Zが接続されている。   The source of the transistor P1 is connected to the input terminal of the input voltage Vin. The drain of the transistor P1 is connected to the drain of the transistor N1. The source of the transistor N1 is connected to the ground terminal. The gates of the transistors P1 and N1 are each connected to the gate signal output terminal of the drive unit A2. One end of the coil L1 is connected to a connection node between the drain of the transistor P1 and the drain of the transistor N1. The other end of the coil L1 is connected to the output end of the output voltage Vout. One end of the resistor R1 is connected to one end of the coil L1. The other end of the resistor R1 is connected to one end of the capacitor C1. The other end of the capacitor C1 is connected to the other end of the coil L1. One end of the capacitor C2 is connected to the output end of the output voltage Vout. The other end of the capacitor C2 is connected to the ground terminal. A load Z is connected to the output terminal of the output voltage Vout.

制御部A1は、出力電圧Voutが所定の目標設定値となるように、駆動部A2の制御信号を生成する一方、過電流保護部A3から入力される過電流保護信号OSPを監視し、過電流状態が検出されたときには、出力電圧Voutの出力をシャットダウンする機能を備えている。   The control unit A1 generates a control signal for the drive unit A2 so that the output voltage Vout becomes a predetermined target set value, while monitoring the overcurrent protection signal OSP input from the overcurrent protection unit A3. When the state is detected, a function of shutting down the output of the output voltage Vout is provided.

駆動部A2は、制御部A1からの制御信号に基づいて、トランジスタP1及びトランジスタN1の各ゲート信号を生成し、各々のオン/オフ制御を行う。   The drive unit A2 generates each gate signal of the transistor P1 and the transistor N1 based on the control signal from the control unit A1, and performs on / off control of each.

過電流保護部A3は、利得可変増幅器A31と、差動増幅器A32と、比較器A33とを有して成る。   The overcurrent protection unit A3 includes a variable gain amplifier A31, a differential amplifier A32, and a comparator A33.

利得可変増幅器A31は、基本的に図1の利得可変増幅器と同様の構成から成り、メインアンプ1と、DAC2と、m値設定回路3と、プリアンプ4と、mビットシフト回路5と、を有して成る。なお、プリアンプ4の入力端は、抵抗R1とコンデンサC1との接続ノードに接続されている。また、DAC2は、メインアンプ1の出力端(利得可変増幅器A3で生成される出力電圧VOUTの出力端)と、スイッチングレギュレータで生成される出力電圧Voutの出力端との間に接続されている。   The variable gain amplifier A31 basically has the same configuration as the variable gain amplifier of FIG. 1, and includes a main amplifier 1, a DAC 2, an m value setting circuit 3, a preamplifier 4, and an m bit shift circuit 5. It consists of The input terminal of the preamplifier 4 is connected to a connection node between the resistor R1 and the capacitor C1. The DAC 2 is connected between the output terminal of the main amplifier 1 (the output terminal of the output voltage VOUT generated by the variable gain amplifier A3) and the output terminal of the output voltage Vout generated by the switching regulator.

差動増幅器A32の非反転入力端(+)は、利得可変増幅器A31の出力端(出力電圧VOUTの出力端)に接続されている。差動増幅器A32の反転入力端(−)は、スイッチングレギュレータの出力端(出力電圧Voutの出力端)に接続されている。   The non-inverting input terminal (+) of the differential amplifier A32 is connected to the output terminal of the variable gain amplifier A31 (the output terminal of the output voltage VOUT). The inverting input terminal (−) of the differential amplifier A32 is connected to the output terminal of the switching regulator (the output terminal of the output voltage Vout).

比較器A33の非反転入力端(+)は、差動増幅器A32の出力端に接続されている。比較器A33の反転入力端(−)は、参照電圧Vref(固定電圧値)の入力端に接続されている。比較器A33の出力端は、過電流保護信号OCPの出力端として、制御部A1に接続されている。   The non-inverting input terminal (+) of the comparator A33 is connected to the output terminal of the differential amplifier A32. The inverting input terminal (−) of the comparator A33 is connected to the input terminal of the reference voltage Vref (fixed voltage value). The output terminal of the comparator A33 is connected to the control unit A1 as the output terminal of the overcurrent protection signal OCP.

上記構成から成る過電流保護部A3において、過電流保護をかけるための過電流保護値は、比較器A33の反転入力端(−)に入力される参照電圧Vrefの電圧値によって設定される。従来、上記の過電流保護値を調整するためには、参照電圧Vrefを可変制御する必要があったが、本発明に係る利得可変増幅器A31を用いれば、外部デジタルデータTHIDのデータ値を任意に設定して、電流検出信号(プリアンプ4に入力される入力電圧VIN)を増幅する際の利得を可変制御することにより、参照電圧Vrefの電圧値を固定したまま、過電流保護部A3の過電流保護値を任意に調整することが可能となる。   In the overcurrent protection unit A3 configured as described above, the overcurrent protection value for applying overcurrent protection is set by the voltage value of the reference voltage Vref input to the inverting input terminal (−) of the comparator A33. Conventionally, in order to adjust the overcurrent protection value, it has been necessary to variably control the reference voltage Vref. However, if the variable gain amplifier A31 according to the present invention is used, the data value of the external digital data THID can be arbitrarily set. By setting and variably controlling the gain at the time of amplifying the current detection signal (input voltage VIN input to the preamplifier 4), the overcurrent of the overcurrent protection unit A3 is maintained while the voltage value of the reference voltage Vref is fixed. The protection value can be arbitrarily adjusted.

なお、本発明の構成は、上記実施形態のほか、発明の主旨を逸脱しない範囲で種々の変更を加えることが可能である。   The configuration of the present invention can be variously modified in addition to the above-described embodiment without departing from the gist of the invention.

例えば、上記実施形態(特に図2以降)では、外部デジタルデータTHIDと内部デジタルデータIDのビット数nを8とし、プリアンプ4の利得可変制御とmビットシフト回路5による外部デジタルデータTHIDのビットシフト制御の双方に用いられるm値設定信号として、1倍設定信号x1(m=0)、8倍設定信号x8(m=3)、及び、32倍設定信号x32(m=5)が生成される構成を例に挙げて、利得可変増幅器を形成する各部の具体的な回路構成を説明したが、このような変数値m、nの設定は、発明の内容を説明する上で便宜を図るための単なる例示に過ぎず、本発明の構成が上記に限定されるものでないことは言うまでもない。   For example, in the above embodiment (particularly after FIG. 2), the number of bits n of the external digital data THID and the internal digital data ID is set to 8, the gain variable control of the preamplifier 4 and the bit shift of the external digital data THID by the m-bit shift circuit 5. As an m-value setting signal used for both controls, a 1 × setting signal x1 (m = 0), an 8 × setting signal x8 (m = 3), and a 32 × setting signal x32 (m = 5) are generated. The specific circuit configuration of each part forming the variable gain amplifier has been described by taking the configuration as an example, but such setting of the variable values m and n is for convenience in explaining the contents of the invention. Needless to say, the configuration of the present invention is not limited to the above example.

本発明は、例えば、電源装置の出力電流や駆動電流を計測するに際して、電流値に応じた電圧信号の増幅手段として用いられる利得可変増幅器に利用可能な技術である。   The present invention, for example, is a technique that can be used for a variable gain amplifier that is used as a means for amplifying a voltage signal according to a current value when measuring an output current or a drive current of a power supply device.

1 メインアンプ
2 DAC(nビット)
3 m値設定回路
4 プリアンプ
5 mビットシフト回路
200〜206 抵抗(抵抗値:R)
210〜219 抵抗(抵抗値:2R)
220〜228 スイッチ
230〜235、236X、237 インバータ
236 否定論理和演算器
238 否定論理積演算器
31〜33 論理和演算器
34、35 インバータ
36、37 論理積演算器
41 電圧/電流変換回路
42 カレントミラー回路
43 電流/電圧変換回路
410 Nチャネル型MOS電界効果トランジスタ
411 抵抗(抵抗値:Rx)
412 アンプ
421〜426 Pチャネル型MOS電界効果トランジスタ
427、428 スイッチ
429 論理和演算器
431 抵抗(抵抗値:Rx)
50−k(k=0、1、…、7) セレクタモジュール
501−k〜503−k(k=0、1、…、7) 論理積演算器
504−k(k=0、1、…、7) 論理和演算器
51 ゼロ検出モジュール(否定論理和演算器)
VIN 入力電圧
VIN2 増幅入力電圧
VOUT 出力電圧
VFB 帰還電圧
THID 外部デジタルデータ(nビット)
ID 内部デジタルデータ(nビット)
x1 m値設定信号(1倍設定信号;m=0)
x8 m値設定信号(8倍設定信号;m=3)
x32 m値設定信号(32倍設定信号;m=5)
i0 入力電流
i1 第1ミラー電流(i1=i0)
i2 第2ミラー電流(i2=i0×7)
i3 第3ミラー電流(i3=i0×24)
i4 出力電流(i4=i1+i2+i3)
A1 制御部
A2 駆動部
A3 過電流保護部
A31 利得可変増幅器
A32 差動増幅器
A33 比較器
P1 Pチャネル型MOS電界効果トランジスタ(出力トランジスタ)
N1 Nチャネル型MOS電界効果トランジスタ(同期整流トランジスタ)
L1 コイル
R1 抵抗
C1、C2 コンデンサ
Vin 入力電圧
Vout 出力電圧
1 Main amplifier 2 DAC (n bits)
3 m value setting circuit 4 preamplifier 5 m bit shift circuit 200 to 206 resistance (resistance value: R)
210-219 Resistance (resistance value: 2R)
220-228 Switch 230-235, 236X, 237 Inverter 236 Negative OR operator 238 Negative AND operator 31-33 OR operator 34, 35 Inverter 36, 37 AND operator 41 Voltage / current conversion circuit 42 Current Mirror circuit 43 Current / voltage conversion circuit 410 N-channel MOS field effect transistor 411 Resistance (resistance value: Rx)
412 Amplifier 421 to 426 P-channel MOS field effect transistor 427, 428 switch 429 OR operator 431 resistance (resistance value: Rx)
50-k (k = 0, 1,..., 7) selector modules 501-k to 503-k (k = 0, 1,..., 7) AND operator 504-k (k = 0, 1,..., 7) 7) OR operator 51 Zero detection module (Negation operator)
VIN input voltage VIN2 amplified input voltage VOUT output voltage VFB feedback voltage THID external digital data (n bits)
ID Internal digital data (n bits)
x1 m value setting signal (1x setting signal; m = 0)
x8 m value setting signal (8 times setting signal; m = 3)
x32 m value setting signal (32 times setting signal; m = 5)
i0 input current i1 first mirror current (i1 = i0)
i2 Second mirror current (i2 = i0 × 7)
i3 Third mirror current (i3 = i0 × 24)
i4 output current (i4 = i1 + i2 + i3)
A1 control unit A2 drive unit A3 overcurrent protection unit A31 variable gain amplifier A32 differential amplifier A33 comparator P1 P-channel MOS field effect transistor (output transistor)
N1 N-channel MOS field effect transistor (synchronous rectification transistor)
L1 Coil R1 Resistor C1, C2 Capacitor Vin Input voltage Vout Output voltage

Claims (8)

非反転入力端に入力される増幅電圧と反転入力端に入力される帰還電圧とが一致するように出力電圧を生成するメインアンプと、
前記メインアンプの負帰還ループ内に挿入され、nビット(ただしn≧2)の内部デジタルデータをデジタル/アナログ変換することにより前記帰還電圧を生成するDACと、
nビットの外部デジタルデータに基づいてm値設定信号(ただし0≦m<n)を生成するm値設定回路と、
前記m値設定信号に基づいて入力電圧を2m倍することにより前記増幅電圧を生成するプリアンプと、
前記m値設定信号に基づいて前記外部デジタルデータをmビット分だけ上位側にシフトすることにより前記内部デジタルデータを生成するmビットシフト回路と、
を有して成ることを特徴とする利得可変増幅器。
A main amplifier that generates an output voltage so that the amplified voltage input to the non-inverting input terminal matches the feedback voltage input to the inverting input terminal;
A DAC inserted in the negative feedback loop of the main amplifier and generating the feedback voltage by digital / analog conversion of n-bit (where n ≧ 2) internal digital data;
an m-value setting circuit that generates an m-value setting signal (where 0 ≦ m <n) based on n-bit external digital data;
A preamplifier for generating the amplified voltage by multiplying an input voltage by 2 m based on the m-value setting signal;
An m-bit shift circuit that generates the internal digital data by shifting the external digital data to the upper side by m bits based on the m-value setting signal;
A variable gain amplifier comprising:
前記m値設定回路は、前記外部デジタルデータのデータ値が小さいほど前記プリアンプの利得を高く設定するように、逆に、前記外部デジタルデータのデータ値が大きいほど前記プリアンプの利得を低く設定するように、前記m値設定信号を生成することを特徴とする請求項1に記載の利得可変増幅器。   The m value setting circuit sets the gain of the preamplifier higher as the data value of the external digital data is smaller, and conversely sets the gain of the preamplifier as lower as the data value of the external digital data is larger. The variable gain amplifier according to claim 1, wherein the m-value setting signal is generated. 前記m値設定回路は、前記外部デジタルデータを形成するnビットのうち、値「1」が入力されている最上位のビットがsビット目(ただし1≦s≦n)であるとき、m≦n−sを満たすように、前記m値設定信号を生成することを特徴とする請求項2に記載の利得可変増幅器。   The m value setting circuit, when the most significant bit to which the value “1” is input among the n bits forming the external digital data is the s bit (where 1 ≦ s ≦ n), m ≦ The variable gain amplifier according to claim 2, wherein the m-value setting signal is generated so as to satisfy n−s. 前記DACは、R−2Rはしご型抵抗回路を有して成ることを特徴とする請求項1〜請求項3のいずれかに記載の利得可変増幅器。   4. The variable gain amplifier according to claim 1, wherein the DAC includes an R-2R ladder resistor circuit. 前記プリアンプは、前記入力電圧を電圧/電流変換することにより入力電流を生成する電圧/電流変換回路と、前記m値設定信号に基づいて前記入力電流を2m倍することにより出力電流を生成するカレントミラー回路と、前記出力電流を電流/電圧変換することにより前記増幅電圧を生成する電流/電圧変換回路と、を有して成ることを特徴とする請求項1〜請求項4のいずれかに記載の利得可変増幅器。 The preamplifier generates an output current by multiplying the input current by 2 m based on a voltage / current conversion circuit that generates an input current by performing voltage / current conversion on the input voltage and the m-value setting signal. 5. A current mirror circuit, and a current / voltage conversion circuit that generates the amplified voltage by converting the output current into a current / voltage. 5. The variable gain amplifier described. 前記カレントミラー回路は、前記入力電流に応じたミラー電流を出力するミラー電流出力段を複数有して成り、各ミラー電流出力段から出力されるミラー電流を合算することにより前記出力電流を生成するものであり、
前記ミラー電流出力段の少なくとも一は、前記m値設定信号に基づいて、その出力可否を制御するスイッチを有して成ることを特徴とする請求項5に記載の利得可変増幅器。
The current mirror circuit includes a plurality of mirror current output stages that output a mirror current corresponding to the input current, and generates the output current by adding the mirror currents output from the mirror current output stages. Is,
6. The variable gain amplifier according to claim 5, wherein at least one of the mirror current output stages includes a switch for controlling whether or not to output based on the m-value setting signal.
前記mビットシフト回路は、前記m値設定信号に基づき、前記内部デジタルデータのtビット目(ただし1≦t≦n)の値として、前記外部デジタルデータの(t−m)ビット目の値、もしくは、値「0」を選択するn個のセレクタモジュールを有して成ることを特徴とする請求項1〜請求項6のいずれかに記載の利得可変増幅器。   The m-bit shift circuit, based on the m-value setting signal, sets the value of the (t−m) -th bit of the external digital data as the value of the t-th bit (where 1 ≦ t ≦ n) of the internal digital data, The variable gain amplifier according to claim 1, further comprising n selector modules for selecting a value “0”. 前記mビットシフト回路は、前記外部デジタルデータを形成する全ビットに値「0」が入力されているとき、前記出力電圧の出力動作を停止させるためのゼロ検出信号を生成するゼロ検出モジュールを有して成ることを特徴とする請求項7に記載の利得可変増幅器。   The m-bit shift circuit includes a zero detection module that generates a zero detection signal for stopping the output operation of the output voltage when a value “0” is input to all the bits forming the external digital data. 8. The variable gain amplifier according to claim 7, wherein
JP2009036142A 2009-02-19 2009-02-19 Variable gain amplifier Expired - Fee Related JP5210918B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009036142A JP5210918B2 (en) 2009-02-19 2009-02-19 Variable gain amplifier

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009036142A JP5210918B2 (en) 2009-02-19 2009-02-19 Variable gain amplifier

Publications (2)

Publication Number Publication Date
JP2010193233A JP2010193233A (en) 2010-09-02
JP5210918B2 true JP5210918B2 (en) 2013-06-12

Family

ID=42818787

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009036142A Expired - Fee Related JP5210918B2 (en) 2009-02-19 2009-02-19 Variable gain amplifier

Country Status (1)

Country Link
JP (1) JP5210918B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6618247B2 (en) * 2014-10-21 2019-12-11 ローム株式会社 Variable gain amplifier circuit

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5693408A (en) * 1979-12-27 1981-07-29 Nec Corp Variable gain amplifier
JPH09153748A (en) * 1995-11-30 1997-06-10 Sharp Corp Sound volume varying device
JPH11340760A (en) * 1998-05-28 1999-12-10 Fuji Film Microdevices Co Ltd Variable gain amplifier circuit
JP2001298336A (en) * 2000-04-12 2001-10-26 Victor Co Of Japan Ltd Microphone amplifier circuit

Also Published As

Publication number Publication date
JP2010193233A (en) 2010-09-02

Similar Documents

Publication Publication Date Title
JP6205142B2 (en) Constant voltage circuit
JP4657799B2 (en) Light emitting diode drive circuit
JP5835005B2 (en) D / A converter
JP2008124726A (en) Ramp generating circuit and a/d converter
US8058862B2 (en) Reference voltage generation circuit
US7541844B2 (en) Current weighted voltage interpolation buffer
JP5566211B2 (en) Switched capacitor D / A converter
JP2018137576A (en) Class D amplifier
US10985721B2 (en) Switched capacitor amplifier circuit, voltage amplification method, and infrared sensor device
US11437908B2 (en) Voltage regulator generating an output voltage according to a coupled load unit
JPWO2018055666A1 (en) Interface circuit
JP5210918B2 (en) Variable gain amplifier
JP3878607B2 (en) Semiconductor integrated circuit
KR100623343B1 (en) Regulator
JP5091101B2 (en) Soft start circuit and power supply circuit including the soft start circuit
JP2014048681A (en) Power source device
JPWO2010137095A1 (en) Resistive digital / analog converter
JP2010268387A (en) Reference voltage generation circuit, a/d converter and d/a converter
JP5186818B2 (en) Chopper type comparator
KR101939147B1 (en) Variable Voltage Reference Generator and Analog-to-Digital Converter using thereof
KR101111268B1 (en) Cross-coupled folding circuit and analog-to-digital converter provided with such a folding circuit
US11863127B2 (en) Amplifier device
JP2006157105A (en) A/d converter
JP2005191919A (en) Variable attenuator circuit
JP2009100278A (en) Peak hold circuit, and operational amplifier

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120217

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130130

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130225

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160301

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees