JP4008473B2 - Current generation circuit - Google Patents

Current generation circuit Download PDF

Info

Publication number
JP4008473B2
JP4008473B2 JP2006018673A JP2006018673A JP4008473B2 JP 4008473 B2 JP4008473 B2 JP 4008473B2 JP 2006018673 A JP2006018673 A JP 2006018673A JP 2006018673 A JP2006018673 A JP 2006018673A JP 4008473 B2 JP4008473 B2 JP 4008473B2
Authority
JP
Japan
Prior art keywords
current
voltage
circuit
power supply
node
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
JP2006018673A
Other languages
Japanese (ja)
Other versions
JP2006191654A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2006018673A priority Critical patent/JP4008473B2/en
Publication of JP2006191654A publication Critical patent/JP2006191654A/en
Application granted granted Critical
Publication of JP4008473B2 publication Critical patent/JP4008473B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

本発明は、半導体装置に備えられ、高電位電源と低電位電源の電位差を分圧する分圧抵抗を備えた電流発生回路に関するものである。
近年の半導体装置には、デジタルーアナログ変換回路(D/A変換回路)や電流発生回路等の様々な回路が1つのチップ上に搭載されるようになってきている。そして、それぞれの回路において特性の向上が要求されている。例えば、D/A変換回路は、デジタル回路とアナログ回路との間のインタフェース回路として搭載され、出力するアナログ信号の直線性の精度向上が要求されている。また、電流発生回路は半導体装置の内部回路に所定の電流を供給するために搭載され、電源電圧に対して出力電流の直線性の向上が要求されている。
The present invention relates to a current generation circuit provided in a semiconductor device and provided with a voltage dividing resistor for dividing a potential difference between a high potential power source and a low potential power source.
In recent semiconductor devices, various circuits such as a digital-analog conversion circuit (D / A conversion circuit) and a current generation circuit have been mounted on one chip. Each circuit is required to improve characteristics. For example, a D / A conversion circuit is mounted as an interface circuit between a digital circuit and an analog circuit, and improvement in accuracy of linearity of an analog signal to be output is required. In addition, the current generation circuit is mounted to supply a predetermined current to the internal circuit of the semiconductor device, and it is required to improve the linearity of the output current with respect to the power supply voltage.

従来、半導体装置には、様々な回路が搭載されている。図21は、半導体装置に搭載された抵抗ストリング方式のデジタルーアナログ変換回路(D/A変換回路)11の一部回路図である。   Conventionally, various circuits are mounted on a semiconductor device. FIG. 21 is a partial circuit diagram of a resistor string type digital-analog conversion circuit (D / A conversion circuit) 11 mounted on a semiconductor device.

D/A変換回路11の分圧回路12は、入力される6ビットのデジタル信号Dinに対応する数の抵抗R1〜R11を備えている。抵抗R1〜R11は、高電位電源VDDの第1電源線L1と低電位電源VSSの第2電源線L2の間に直列接続されている。各抵抗R1〜R11の抵抗値は、D/A変換回路11に入力されるデジタル信号Dinのビット数に応じて重み付けされている。   The voltage dividing circuit 12 of the D / A conversion circuit 11 includes a number of resistors R1 to R11 corresponding to the input 6-bit digital signal Din. The resistors R1 to R11 are connected in series between the first power supply line L1 of the high potential power supply VDD and the second power supply line L2 of the low potential power supply VSS. The resistance values of the resistors R1 to R11 are weighted according to the number of bits of the digital signal Din input to the D / A conversion circuit 11.

図21には、各抵抗R1〜R11の抵抗値を、抵抗R1を基準とし、その抵抗R1の抵抗値に対する比率にて示してある。抵抗R1の抵抗値を(1)とすると、抵抗R2a,R2bの抵抗値は(1)に、抵抗R3a,R3bの抵抗値は(2)に、抵抗R4a,R4bの抵抗値は(4)に設定されている。抵抗R5〜R11の抵抗値は(8)に設定されている。   FIG. 21 shows the resistance values of the resistors R1 to R11 as a ratio with respect to the resistance value of the resistor R1, with the resistor R1 as a reference. When the resistance value of the resistor R1 is (1), the resistance values of the resistors R2a and R2b are (1), the resistance values of the resistors R3a and R3b are (2), and the resistance values of the resistors R4a and R4b are (4). Is set. The resistance values of the resistors R5 to R11 are set to (8).

高電位電源VDD側と低電位電源VSS側に対をなして接続された抵抗R2a〜R4a,R2b〜R4bにはスイッチSW1a〜SW3a,SW1b〜SW3bが並列に接続されている。D/A変換回路11は、デジタル信号Dinの下位3ビットに基づいて、スイッチSW1a〜SW3bをオン又はオフに制御する。   Switches SW1a to SW3a and SW1b to SW3b are connected in parallel to resistors R2a to R4a and R2b to R4b connected in pairs to the high potential power supply VDD side and the low potential power supply VSS side. The D / A conversion circuit 11 controls the switches SW1a to SW3b to be turned on or off based on the lower 3 bits of the digital signal Din.

例えば、D/A変換回路11は、デジタル信号の下位3ビットが「000」の場合、スイッチSW1b〜SW3bをオフ(スイッチSW1a〜SW3aをオン)にする。これにより、ノードN2と第2電源線L2の間の抵抗値は0(第1電源線L1とノードN1の間の抵抗値は8)となる。また、D/A変換回路11は、デジタル信号の下位3ビットが「001」の場合、スイッチSW1b,SW2b,SW3aをオフ(スイッチSW1a,SW2a,SW3bをオン)にする。これにより、ノードN2と第2電源線L2の間の抵抗値は1(第1電源線L1とノードN1の間の抵抗値は7)となる。   For example, when the lower 3 bits of the digital signal are “000”, the D / A conversion circuit 11 turns off the switches SW1b to SW3b (turns on the switches SW1a to SW3a). As a result, the resistance value between the node N2 and the second power supply line L2 becomes 0 (the resistance value between the first power supply line L1 and the node N1 is 8). Further, when the lower 3 bits of the digital signal are “001”, the D / A conversion circuit 11 turns off the switches SW1b, SW2b, and SW3a (turns on the switches SW1a, SW2a, and SW3b). As a result, the resistance value between the node N2 and the second power supply line L2 is 1 (the resistance value between the first power supply line L1 and the node N1 is 7).

ノードN1とノードN2の間の抵抗値は、直列接続された抵抗R5〜R11を合成した抵抗値であり、常に一定(=56=8×7)となる。従って、D/A変換回路11は、第1電源線L1と第2電源線L2の間を常に一定の抵抗値(=64)とする。更に、D/A変換回路11は、デジタル信号Dinの下位3ビットに基づいて、第1電源線L1とノードN1間の抵抗値,ノードN2と第2電源線L2間の抵抗値を1ずつ変更する。   The resistance value between the node N1 and the node N2 is a combined resistance value of the resistors R5 to R11 connected in series, and is always constant (= 56 = 8 × 7). Therefore, the D / A conversion circuit 11 always sets a constant resistance value (= 64) between the first power supply line L1 and the second power supply line L2. Further, the D / A conversion circuit 11 changes the resistance value between the first power supply line L1 and the node N1 and the resistance value between the node N2 and the second power supply line L1 one by one based on the lower 3 bits of the digital signal Din. To do.

ノードN1,N2の電位は、第1電源線L1と第2電源線L2の間の電位差と、第1電源線L1とノードN1の間の抵抗値,ノードN1,N2間の抵抗値,ノードN2と第1電源線の間の抵抗値に基づいた電圧となる。従って、D/A変換回路11は、デジタル信号Dinの下位3ビットに基づいて、ノードN1,N2の電位を第1電源線L1と第2電源線L2の間の電位差の1/64のステップで変更する。   The potentials of the nodes N1 and N2 are the potential difference between the first power supply line L1 and the second power supply line L2, the resistance value between the first power supply line L1 and the node N1, the resistance value between the nodes N1 and N2, and the node N2. And a voltage based on a resistance value between the first power line and the first power line. Therefore, the D / A conversion circuit 11 sets the potentials of the nodes N1 and N2 in steps of 1/64 of the potential difference between the first power supply line L1 and the second power supply line L2 based on the lower 3 bits of the digital signal Din. change.

分圧回路12は、ノードN1とノードN2の間の電位差を抵抗R5〜R11により等分割した複数(図21において8個)の分圧電圧を生成する。D/A変換回路11は、デジタル信号Dinの上位3ビットに基づいてスイッチSW4〜SW11のうちの1つをオンに制御する。そのオンされたスイッチを介して分圧回路12にて生成された分圧電圧の1つが増幅回路13に供給され、その増幅回路13からアナログ信号Aoutとして出力される。   The voltage dividing circuit 12 generates a plurality (eight in FIG. 21) of divided voltages obtained by equally dividing the potential difference between the node N1 and the node N2 by the resistors R5 to R11. The D / A conversion circuit 11 controls one of the switches SW4 to SW11 to be turned on based on the upper 3 bits of the digital signal Din. One of the divided voltages generated by the voltage dividing circuit 12 is supplied to the amplifier circuit 13 via the turned on switch, and is output from the amplifier circuit 13 as an analog signal Aout.

以上により、D/A変換回路11は、高電位電源VDDと低電位電源VSSの間の電位差を均等に64分割し、デジタル信号Dinに対応する電位(=(VDD−VSS) ×(n/64)+VSS)のアナログ信号Aoutを出力する。   As described above, the D / A conversion circuit 11 equally divides the potential difference between the high potential power supply VDD and the low potential power supply VSS into 64, and the potential corresponding to the digital signal Din (= (VDD−VSS) × (n / 64). ) + VSS) analog signal Aout is output.

尚、増幅回路13の非反転入力端子はコンデンサC1を介して低電位電源VSSに接続されている。このコンデンサC1は、スイッチSW4〜SW11の切替時に発生するノイズを低減するために設けられたものである。   The non-inverting input terminal of the amplifier circuit 13 is connected to the low potential power supply VSS via the capacitor C1. The capacitor C1 is provided to reduce noise generated when the switches SW4 to SW11 are switched.

ところで、図21のD/A変換回路11の抵抗R2aに並列に接続されたスイッチSW1aは、図22に示すように、並列接続されたPチャネルMOSトランジスタ(以下、PMOSトランジスタという)14とNチャネルMOSトランジスタ(以下、NMOSトランジスタという)15にて構成されている。PMOSトランジスタ14のゲートには、スイッチSW1aをオンオフ制御するための制御信号Contがインバータ回路16により反転されて入力され、NMOSトランジスタ15のゲートには制御信号Contが入力される。この制御信号Contにより、両トランジスタ14,15は同時にオン又はオフする。尚、他の抵抗R2b,R3a〜R4bに並列に接続されたスイッチSW1b,SW2a〜SW3bは、スイッチSW1aと同じ構成であるため、図面を省略する。   Incidentally, the switch SW1a connected in parallel to the resistor R2a of the D / A conversion circuit 11 of FIG. 21 includes a P-channel MOS transistor (hereinafter referred to as PMOS transistor) 14 connected in parallel and an N-channel as shown in FIG. A MOS transistor (hereinafter referred to as an NMOS transistor) 15 is configured. A control signal Cont for turning on and off the switch SW1a is inverted and input to the gate of the PMOS transistor 14 by the inverter circuit 16, and a control signal Cont is input to the gate of the NMOS transistor 15. By this control signal Cont, both transistors 14 and 15 are simultaneously turned on or off. Since the switches SW1b and SW2a to SW3b connected in parallel to the other resistors R2b and R3a to R4b have the same configuration as the switch SW1a, the drawings are omitted.

しかしながら、各スイッチSW1a〜SW3bは、オン状態においても抵抗値が0オーム(Ω)にならない。従って、抵抗R2a〜R4bにはオンされたスイッチSW1a〜SW3bのオン抵抗が並列に接続された状態となる。これによりノードN1,N2の間の電位がスイッチSW1b〜SW3bの抵抗値が0Ωの場合と比べて変化する。その結果、D/A変換回路11は、高電位電源VDDと低電位電源VSSの間の電位差を均等に64分割する事ができなくなる。これにより、デジタル信号からアナログ信号への変換精度の劣化を招いていた。このことは、半導体装置の動作を不安定にする原因となっていた。   However, the resistances of the switches SW1a to SW3b do not become 0 ohms (Ω) even in the on state. Accordingly, the on-resistances of the turned-on switches SW1a to SW3b are connected in parallel to the resistors R2a to R4b. As a result, the potential between the nodes N1 and N2 changes compared to the case where the resistance values of the switches SW1b to SW3b are 0Ω. As a result, the D / A conversion circuit 11 cannot evenly divide the potential difference between the high potential power supply VDD and the low potential power supply VSS into 64 parts. As a result, the conversion accuracy from the digital signal to the analog signal is deteriorated. This has been a cause of unstable operation of the semiconductor device.

また、半導体装置に備えられ、内部回路等に所定の電流を供給する電流発生回路は、供給される電源電圧の変動により供給する電流値を設定することが難しいという問題を含むものがある。このことは、内部回路等の安定した動作が得られず、やはり半導体装置の動作を不安定にする原因となる。   Further, a current generation circuit that is provided in a semiconductor device and supplies a predetermined current to an internal circuit or the like includes a problem that it is difficult to set a current value to be supplied due to fluctuations in a supplied power supply voltage. This prevents a stable operation of the internal circuit or the like, and also causes the operation of the semiconductor device to become unstable.

本発明は上記問題点を解決するためになされたものであって、その目的は電源電圧の変化に対して出力電流を一定に変化させることができる電流発生回路を提供することにある。   The present invention has been made to solve the above problems, and an object of the present invention is to provide a current generation circuit capable of changing the output current constant with respect to a change in power supply voltage.

上記目的を達成するため、請求項1に記載の発明は、互いに異なる第1,第2の電圧を供給するための第1,第2の電源線の間に接続され、前記第1,第2の電圧の間を分圧した第1の分圧電圧を生成する第1の分圧回路と、前記第1,第2の電源線に接続された同一インピーダンスを有する第1,第2のインピーダンス手段と、該第1,第2のインピーダンス手段の間に接続された複数の素子よりなる第3のインピーダンス手段とを備え、第3のインピーダンス手段において前記第1の分圧電圧と異なる電圧の第2の分圧電圧を生成する第2の分圧回路と、前記第2の分圧回路を構成する第1,第2のインピーダンス手段と第3のインピーダンス手段との間の第1,第2の接続点にそれぞれ接続され、第1,第2の接続点にそれぞれ同一値の第1,第2の電流を供給する第1,第2の電流源と、前記第1の分圧電圧と第2の分圧電圧が入力され、第1,第2の分圧電圧が一致するように前記第1,第2の電流を供給するべく前記第1,第2の電流源を制御する差動回路と、前記第1,第2の電流と同一値の第3の電流を流すように接続され、その第3の電流を出力電流として出力する第3の電流源とを備えた。   In order to achieve the above object, the invention according to claim 1 is connected between first and second power supply lines for supplying different first and second voltages, and the first and second power lines are provided. A first voltage dividing circuit for generating a first divided voltage obtained by dividing the voltage between the first voltage and the first impedance means connected to the first and second power supply lines and having the same impedance. And a third impedance means comprising a plurality of elements connected between the first and second impedance means, and a second impedance having a voltage different from the first divided voltage in the third impedance means. A second voltage dividing circuit for generating a divided voltage of the first voltage, and a first and a second connection between the first and second impedance means and the third impedance means constituting the second voltage dividing circuit Each connected to a point, and the same value at each of the first and second connection points The first and second current sources for supplying the first and second currents, the first divided voltage and the second divided voltage are inputted, and the first and second divided voltages coincide with each other. The differential circuit for controlling the first and second current sources to supply the first and second currents, and the third current having the same value as the first and second currents. And a third current source that outputs the third current as an output current.

上記構成の発明によれば、第1の分圧回路は、第1,第2の電圧の間を分圧した第1の分圧電圧を生成する。第2の分圧回路は、第3のインピーダンス手段において第1の分圧電圧と異なる電圧の第2の分圧電圧を生成する。第1,第2の電流源は、差動回路により制御される第1,第2の電流を第2の分圧かいろの第1,第2の接続点に供給する。これにより、第1,第2の分圧電圧が一致する。そして、第1,第2の電流源による定電流と同一値の第3の電流が出力電流として第2の電流源から出力される。   According to the invention having the above-described configuration, the first voltage dividing circuit generates the first divided voltage obtained by dividing the voltage between the first and second voltages. The second voltage dividing circuit generates a second divided voltage having a voltage different from the first divided voltage in the third impedance means. The first and second current sources supply the first and second currents controlled by the differential circuit to the first and second connection points of the second voltage divider. As a result, the first and second divided voltages match. Then, a third current having the same value as the constant current from the first and second current sources is output from the second current source as an output current.

本発明によれば、電源電圧の変化に対して出力電流を一定に変化させることが可能な電流発生回路を提供することができる。   According to the present invention, it is possible to provide a current generation circuit capable of changing the output current constant with respect to a change in power supply voltage.

(第一実施形態)
以下、本発明を具体化した第一実施形態を図1〜図5に従って説明する。
図2は、本発明を具体化したD/A変換回路の回路図である。
(First embodiment)
Hereinafter, a first embodiment of the present invention will be described with reference to FIGS.
FIG. 2 is a circuit diagram of a D / A conversion circuit embodying the present invention.

D/A変換回路21は、分圧回路22を備えている。分圧回路22は、高電位電源VDDを供給する第1の電源線L1と低電位電源VSSを供給する第2の電源線L2の間に接続されている。   The D / A conversion circuit 21 includes a voltage dividing circuit 22. The voltage dividing circuit 22 is connected between the first power supply line L1 for supplying the high potential power supply VDD and the second power supply line L2 for supplying the low potential power supply VSS.

分圧回路22は、複数のインピーダンス素子としての抵抗R1〜R4を含む。抵抗R1〜R4は、第1の電源線L1と第2の電源線L2の間に直列に接続されている。
第1の電源線L1に接続された第1のインピーダンス手段としての第1抵抗R1と、第2の電源線L2に接続された第2のインピーダンス手段としての第4抵抗R4は、同一インピーダンスを有する。言い換えれば、分圧回路22は、同一インピーダンスを有する一対の素子がそれぞれ高電位電源VDDのための第1の電源線L1と低電位電源VSSのための第2の電源線L2に接続されている。
The voltage dividing circuit 22 includes resistors R1 to R4 as a plurality of impedance elements. The resistors R1 to R4 are connected in series between the first power supply line L1 and the second power supply line L2.
The first resistor R1 as the first impedance means connected to the first power supply line L1 and the fourth resistor R4 as the second impedance means connected to the second power supply line L2 have the same impedance. . In other words, in the voltage dividing circuit 22, a pair of elements having the same impedance are connected to the first power supply line L1 for the high potential power supply VDD and the second power supply line L2 for the low potential power supply VSS, respectively. .

第3のインピーダンス手段として作用する第2,第3抵抗R2,R3は、同一のインピーダンスを有する。従って、第2,第3抵抗R2,R3は、第1抵抗R1の低電位電源側端子と第4抵抗R4の高電位電源側端子との間の電位差を等分割する分圧抵抗として作用する。   The second and third resistors R2 and R3 acting as the third impedance means have the same impedance. Accordingly, the second and third resistors R2 and R3 function as voltage dividing resistors that equally divide the potential difference between the low potential power supply side terminal of the first resistor R1 and the high potential power supply side terminal of the fourth resistor R4.

即ち、第1〜第4抵抗R1〜R4間の接続点を高電位電源側から順番にノードN1,N2,N3とし、各ノードN1〜N3における分圧電圧を分圧電圧V1,V2,V3とする。すると、分圧電圧V1,V2の電位差は、分圧電圧V2,V3の電位差と等しい。   That is, the connection points between the first to fourth resistors R1 to R4 are nodes N1, N2, and N3 in order from the high potential power supply side, and the divided voltages at the nodes N1 to N3 are divided into divided voltages V1, V2, and V3. To do. Then, the potential difference between the divided voltages V1 and V2 is equal to the potential difference between the divided voltages V2 and V3.

尚、本実施形態では、第1〜第4抵抗R1〜R4は、同一のインピーダンスを有するように設定されている。従って、各ノードN1〜N3における分圧電圧V1〜V3は、高電位電源VDDと低電位電源VSSの間の電位差を等分割した電圧となる。   In the present embodiment, the first to fourth resistors R1 to R4 are set to have the same impedance. Therefore, the divided voltages V1 to V3 at the nodes N1 to N3 are voltages obtained by equally dividing the potential difference between the high potential power supply VDD and the low potential power supply VSS.

第3抵抗R3は、複数(本実施形態では8個)の抵抗R3a〜R3hにて構成されている。各抵抗R3a〜R3hは、同一のインピーダンスを有する。従って、各抵抗R3a〜R3hは、第3抵抗R3の両端の電位差を等分割する分圧抵抗として作用する。   The third resistor R3 includes a plurality (eight in this embodiment) of resistors R3a to R3h. Each of the resistors R3a to R3h has the same impedance. Accordingly, each of the resistors R3a to R3h acts as a voltage dividing resistor that equally divides the potential difference between both ends of the third resistor R3.

第3抵抗R3を構成する8個の抵抗R3a〜R3hの高電位電源VDD側端子には、それぞれ8個のスイッチSW1〜SW8の第1端子が接続されている。前記各スイッチSW1〜SW8は、デコーダ23から出力される制御信号に応答してオンオフする。デコーダ23には、デジタル信号Dinが入力される。デジタル信号Dinが入力される。デジタル信号Dinは複数ビット(本実施形態では5ビット)の信号であり、各ビットの信号D4〜D0により構成される。   The first terminals of the eight switches SW1 to SW8 are connected to the high potential power supply VDD side terminals of the eight resistors R3a to R3h constituting the third resistor R3, respectively. The switches SW1 to SW8 are turned on / off in response to a control signal output from the decoder 23. A digital signal Din is input to the decoder 23. A digital signal Din is input. The digital signal Din is a signal of a plurality of bits (5 bits in this embodiment), and is composed of signals D4 to D0 of each bit.

デコーダ23は、デジタル信号Dinに基づいて、スイッチSW1〜SW8をオンオフ制御するための制御信号を生成する。詳しくは、デコーダ23は、デジタル信号Dinのうち、スイッチSW1〜SW8の数に対応する下位3ビットの信号D2〜D0をデコードして、スイッチSW1〜SW8のうちの1つをオンにするべく制御信号を生成するように構成されている。   The decoder 23 generates a control signal for on / off control of the switches SW1 to SW8 based on the digital signal Din. Specifically, the decoder 23 decodes the lower 3 bits of the signals D2 to D0 corresponding to the number of the switches SW1 to SW8 in the digital signal Din, and controls to turn on one of the switches SW1 to SW8. It is configured to generate a signal.

前記各スイッチSW1〜SW8の第2端子は、共通に接続されている。その接続点は、第1制御回路24に接続されている。第1制御回路24は、比較回路としての差動増幅回路25を含む。   The second terminals of the switches SW1 to SW8 are connected in common. The connection point is connected to the first control circuit 24. The first control circuit 24 includes a differential amplifier circuit 25 as a comparison circuit.

前記デコーダ23の出力する制御信号に応答してオンしたスイッチSW1〜SW8のうちの1つは、分圧回路22のノードN4a〜N4hのうちの1つを差動増幅回路25の反転入力端子に接続する。これにより、ノードN4a〜N4hのうちの1つのノードが選択される。その選択されたノードN4a〜N4hの電圧、即ち、ノードN2,N3間の電位差を抵抗R3a〜R3hにて8等分した分圧電圧のうちの1つが、選択電圧Vaとして第1制御回路24に出力される。   One of the switches SW1 to SW8 turned on in response to the control signal output from the decoder 23 uses one of the nodes N4a to N4h of the voltage dividing circuit 22 as the inverting input terminal of the differential amplifier circuit 25. Connecting. Thereby, one of the nodes N4a to N4h is selected. The voltage of the selected nodes N4a to N4h, that is, one of the divided voltages obtained by dividing the potential difference between the nodes N2 and N3 by eight resistors R3a to R3h is supplied to the first control circuit 24 as the selection voltage Va. Is output.

差動増幅回路25の反転入力端子は前記スイッチSW1〜SW8の共通接続点に接続され、選択電圧Vaが入力される。差動増幅回路25の非反転入力端子は、基準電圧発生回路26に接続され、その基準電圧発生回路26は、所定の基準電圧Vrefを生成し、第1差動増幅回路25に供給する。   The inverting input terminal of the differential amplifier circuit 25 is connected to the common connection point of the switches SW1 to SW8, and receives the selection voltage Va. The non-inverting input terminal of the differential amplifier circuit 25 is connected to the reference voltage generation circuit 26, and the reference voltage generation circuit 26 generates a predetermined reference voltage Vref and supplies it to the first differential amplifier circuit 25.

尚、本実施形態では、基準電圧発生回路26は、図3に示すように、高電位電源VDDと低電位電源VSSの電源線L1,L2間に直列接続された抵抗Ra,Rbにて構成される。抵抗Ra,Rbは、同一インピーダンスを有する。従って、基準電圧発生回路26は、高電位電源VDDと低電位電源VSSを2分割した電圧(=(VDD+VSS)/2)の基準電圧Vrefを生成するように構成されている。   In this embodiment, the reference voltage generating circuit 26 is constituted by resistors Ra and Rb connected in series between the power lines L1 and L2 of the high potential power supply VDD and the low potential power supply VSS as shown in FIG. The The resistors Ra and Rb have the same impedance. Therefore, the reference voltage generation circuit 26 is configured to generate a reference voltage Vref of a voltage (= (VDD + VSS) / 2) obtained by dividing the high potential power supply VDD and the low potential power supply VSS into two.

第1差動増幅回路25の出力端子は、NチャネルMOSトランジスタよりなる第1トランジスタTr1のゲートに接続されている。第1差動増幅回路25は、入力される基準電圧Vrefと選択電圧Vaの電位差に基づいて、第1トランジスタTr1のゲート電圧を制御し、該トランジスタTr1は、そのゲート電圧に対応する電流Iaを流す。   The output terminal of the first differential amplifier circuit 25 is connected to the gate of the first transistor Tr1 made of an N-channel MOS transistor. The first differential amplifier circuit 25 controls the gate voltage of the first transistor Tr1 based on the potential difference between the input reference voltage Vref and the selection voltage Va. The transistor Tr1 generates a current Ia corresponding to the gate voltage. Shed.

第1トランジスタTr1のソースは低電位電源VSSを供給する第2電源線L2に接続され、第1トランジスタTr1のドレインはPチャネルMOSトランジスタよりなる第2トランジスタTr2のドレインに接続されている。第2トランジスタTr2のソースは高電位電源VDDを供給する第1電源線L1に接続されている。   The source of the first transistor Tr1 is connected to the second power supply line L2 for supplying the low potential power supply VSS, and the drain of the first transistor Tr1 is connected to the drain of the second transistor Tr2 made of a P-channel MOS transistor. The source of the second transistor Tr2 is connected to a first power supply line L1 that supplies a high potential power supply VDD.

第2トランジスタTr2のゲートは、同トランジスタTr2のドレインに接続されている。更に、第2トランジスタTr2のゲートは、PチャネルMOSトランジスタよりなる第3,第4トランジスタTr3,Tr4のゲートに接続されている。   The gate of the second transistor Tr2 is connected to the drain of the transistor Tr2. Further, the gate of the second transistor Tr2 is connected to the gates of third and fourth transistors Tr3 and Tr4 made of P-channel MOS transistors.

第3トランジスタTr3のソースは第1電源線L1に接続され、同トランジスタTr3のドレインは前記分圧回路22のノードN1に接続されている。第4トランジスタTr4のソースは第1電源線L1に接続され、同トランジスタTr4のドレインは前記分圧回路22のノードN3に接続されている。   The source of the third transistor Tr3 is connected to the first power supply line L1, and the drain of the transistor Tr3 is connected to the node N1 of the voltage dividing circuit 22. The source of the fourth transistor Tr4 is connected to the first power supply line L1, and the drain of the transistor Tr4 is connected to the node N3 of the voltage dividing circuit 22.

第2トランジスタTr2は、第3トランジスタTr3と共にカレントミラー回路よりなる第1の電流源27を形成する。また、第2トランジスタTr2は、第4トランジスタTr4とカレントミラー回路よりなる第2の電流源28を形成する。   The second transistor Tr2 forms a first current source 27 formed of a current mirror circuit together with the third transistor Tr3. The second transistor Tr2 forms a second current source 28 including a fourth transistor Tr4 and a current mirror circuit.

これら第1,第2の電流源27,28は、第2トランジスタTr2を共有している。従って、第1,第2の電流源27,28は、第2トランジスタTr2に流れる電流、即ち、第1制御回路24の差動増幅回路25が制御する前記第1トランジスタTr1に流れる電流Iaと同じ電流値の電流Ib,Icを流すように動作する。そして、第1の電流源27は、ノードN1に電流Ibを供給する。第2の電流源28は、ノードN3に第1の電流源27の電流Ibと同じ値の電流Icを供給する。   The first and second current sources 27 and 28 share the second transistor Tr2. Accordingly, the first and second current sources 27 and 28 are the same as the current flowing through the second transistor Tr2, that is, the current Ia flowing through the first transistor Tr1 controlled by the differential amplifier circuit 25 of the first control circuit 24. It operates so as to flow currents Ib and Ic having current values. The first current source 27 supplies a current Ib to the node N1. The second current source 28 supplies a current Ic having the same value as the current Ib of the first current source 27 to the node N3.

第2トランジスタTr2には、第1トランジスタTr1が流す電流Iaと同じ電流が流れる。その第1トランジスタTr1は、差動増幅回路25から印加されるゲート電圧に応じた値の電流Iaを流す。従って、差動増幅回路25を含む第1制御回路24は、前記分圧電圧Vaと基準電圧Vrefに基づいて第1,第2の電流源27,28がノードN1,N3にそれぞれ供給する電流Ib,Icの電流値を制御する。   The same current as the current Ia flowing through the first transistor Tr1 flows through the second transistor Tr2. The first transistor Tr1 passes a current Ia having a value corresponding to the gate voltage applied from the differential amplifier circuit 25. Accordingly, the first control circuit 24 including the differential amplifier circuit 25 has the current Ib that the first and second current sources 27 and 28 supply to the nodes N1 and N3, respectively, based on the divided voltage Va and the reference voltage Vref. , Ic current values are controlled.

分圧回路22は、スイッチSW9を含む。スイッチSW9は、複数のスイッチSW9a〜SW9cを含む。スイッチSW9a〜SW9cは、その分圧回路22のノードN1〜N3における分圧電圧V1〜V3のうちの1つを選択するために備えられる。   The voltage dividing circuit 22 includes a switch SW9. The switch SW9 includes a plurality of switches SW9a to SW9c. The switches SW9a to SW9c are provided for selecting one of the divided voltages V1 to V3 at the nodes N1 to N3 of the voltage dividing circuit 22.

スイッチSW9a〜SW9cの第1端子はノードN1〜N3にそれぞれ接続されている。各スイッチSW9a〜SW9cの第2端子は、共通に接続されている。その接続点であるノードN6は、第2増幅回路29の非反転入力端子に接続されている。   The first terminals of the switches SW9a to SW9c are connected to the nodes N1 to N3, respectively. The second terminals of the switches SW9a to SW9c are connected in common. The node N6 that is the connection point is connected to the non-inverting input terminal of the second amplifier circuit 29.

スイッチSW9a〜SW9cは、前記デコーダ23から出力される制御信号に基づいて、オンオフする。デコーダ23は、デジタル信号Dinに基づいて、スイッチSW9a〜SW9cをオンオフ制御するための制御信号を生成する。詳しくは、デコーダ23は、デジタル信号Dinのうち、スイッチSW9a〜SW9cの数に対応する上位2ビットの信号D4,D3に基づいて、スイッチSW9a〜SW9cのうちの1つをオンにするべく制御信号を生成するように構成されている。   The switches SW9a to SW9c are turned on / off based on a control signal output from the decoder 23. The decoder 23 generates a control signal for on / off control of the switches SW9a to SW9c based on the digital signal Din. Specifically, the decoder 23 controls a signal to turn on one of the switches SW9a to SW9c based on the higher-order 2-bit signals D4 and D3 corresponding to the number of the switches SW9a to SW9c in the digital signal Din. Is configured to generate

そして、オンしたスイッチSW9a〜SW9cのうちの1つを介して、分圧回路22のノードN1〜N3のうちの1つが選択される。従って、ノードN6の電圧は、選択されたノードN1〜N3の電圧V1〜V3となる。   Then, one of the nodes N1 to N3 of the voltage dividing circuit 22 is selected through one of the switches SW9a to SW9c that are turned on. Therefore, the voltage of the node N6 becomes the voltages V1 to V3 of the selected nodes N1 to N3.

第2増幅回路29の出力端子は、該増幅回路29の反転入力端子に接続されている。従って、第2増幅回路29は、バッファとして作用し、ノードN6の電位を持つアナログ信号Aoutを出力する。   The output terminal of the second amplifier circuit 29 is connected to the inverting input terminal of the amplifier circuit 29. Therefore, the second amplifier circuit 29 functions as a buffer and outputs an analog signal Aout having the potential of the node N6.

第2増幅回路29の非反転入力端子は、コンデンサC1を介して低電位電源VSSの電源線L2に接続されている。コンデンサC1は、スイッチSW9a〜SW9cを切り替える際に発生するノイズを減衰させるノイズ減衰回路として作用する。   The non-inverting input terminal of the second amplifier circuit 29 is connected to the power supply line L2 of the low potential power supply VSS via the capacitor C1. The capacitor C1 functions as a noise attenuation circuit that attenuates noise generated when the switches SW9a to SW9c are switched.

次に、上記のD/A変換回路21の動作原理を説明する。
図1は、図2のD/A変換回路21の一部回路図であって、分圧回路22を構成する抵抗R1〜R4と第1,第2の電流源27,28を示す。
Next, the operation principle of the D / A conversion circuit 21 will be described.
FIG. 1 is a partial circuit diagram of the D / A conversion circuit 21 shown in FIG. 2, and shows resistors R1 to R4 and first and second current sources 27 and 28 constituting the voltage dividing circuit 22.

第1,第2の電流源27,28が出力する電流Ib,Icが0アンペア(A)である時、各抵抗R1〜R4に流れる電流I1a,I2a,I3a,I4aは、
I1a=I2a=I3a=I4a=(VDD−VSS)/(R1+R2+R3+R4)
となる。このとき、各抵抗R1〜R4に流れる電流をIref (=I1a=I2a=I3a=I4a)とする。
When the currents Ib and Ic output from the first and second current sources 27 and 28 are 0 amperes (A), the currents I1a, I2a, I3a and I4a flowing through the resistors R1 to R4 are
I1a = I2a = I3a = I4a = (VDD-VSS) / (R1 + R2 + R3 + R4)
It becomes. At this time, the current flowing through the resistors R1 to R4 is Iref (= I1a = I2a = I3a = I4a).

すると、各抵抗R1〜R4間のノードN1〜N3における分圧電圧V1a〜V3aは、
V1a=I2a・R2+I3a ・R3+I4a ・R4
=Iref ・(R2+R3+R4)
V2a=I3a ・R3+I4a ・R4
=Iref ・(R3+R4)
V3a=I4a ・R4
=Iref ・R4
となる。
Then, the divided voltages V1a to V3a at the nodes N1 to N3 between the resistors R1 to R4 are:
V1a = I2a, R2 + I3a, R3 + I4a, R4
= Iref (R2 + R3 + R4)
V2a = I3a ・ R3 + I4a ・ R4
= Iref (R3 + R4)
V3a = I4a ・ R4
= Iref ・ R4
It becomes.

そして、ノードN1とノードN3の電位差、即ち分圧電圧V1a,V3aの差電圧ΔV1aは、
ΔV1a=V1a−V3a
=Iref ・(R2+R3+R4)−Iref ・(R4)
=Iref ・(R2+R3)
となる。
The potential difference between the node N1 and the node N3, that is, the difference voltage ΔV1a between the divided voltages V1a and V3a is:
ΔV1a = V1a-V3a
= Iref (R2 + R3 + R4) -Iref (R4)
= Iref (R2 + R3)
It becomes.

次に、第1,第2の電流源27,28が所定値の電流Ib,Icを出力する時、各抵抗R1〜R4に流れる電流I1b,I2b,I3b,I4bは、
I1b=Iref −Ib
I2b=I1b+Ib=Iref
I3b=I2b=Iref
I4b=I3b+Ic=Iref +Ic
となる。ここで、第1,第2の電流源27,28は同一値の電流Ib,Icを出力するため、抵抗R4に流れる電流I4bは、
I4b=Iref +Ib
となる。
Next, when the first and second current sources 27 and 28 output currents Ib and Ic having predetermined values, the currents I1b, I2b, I3b and I4b flowing through the resistors R1 to R4 are:
I1b = Iref-Ib
I2b = I1b + Ib = Iref
I3b = I2b = Iref
I4b = I3b + Ic = Iref + Ic
It becomes. Here, since the first and second current sources 27 and 28 output currents Ib and Ic having the same value, the current I4b flowing through the resistor R4 is
I4b = Iref + Ib
It becomes.

すると、各ノードN1〜N3における分圧電圧V1b〜V3bは、
V1b=I2b・R2+I3b・R3+I4b・R4
=Iref ・R2+Iref ・R3+(Iref +Ib)・R4
=Iref ・(R2+R3+R4)+Ib・R4
V2b=I3b・R3+I4b・R4
=Iref ・R3+(Iref +Ib)・R4
=Iref ・(R3+R4)+Ib・R4
V3b=I4b・R4
=(Iref +Ib)・R4
=Iref ・R4+Ib・R4
となる。
Then, the divided voltages V1b to V3b at the nodes N1 to N3 are as follows:
V1b = I2b * R2 + I3b * R3 + I4b * R4
= Iref R2 + Iref R3 + (Iref + Ib) R4
= Iref. (R2 + R3 + R4) + Ib.R4
V2b = I3b ・ R3 + I4b ・ R4
= Iref R3 + (Iref + Ib) R4
= Iref · (R3 + R4) + Ib · R4
V3b = I4b ・ R4
= (Iref + Ib) .R4
= Iref · R4 + Ib · R4
It becomes.

そして、ノードN1とノードN3の電位差、即ち分圧電圧V1b,V3bの差電圧ΔV1bは、
ΔV1b=V1b−V3b
=(Iref ・(R2+R3+R4)+Ib・R4)
−(Iref ・(R4)+Ib・R4)
=Iref ・(R2+R3)
となる。
The potential difference between the node N1 and the node N3, that is, the difference voltage ΔV1b between the divided voltages V1b and V3b is:
ΔV1b = V1b−V3b
= (Iref. (R2 + R3 + R4) + Ib.R4)
− (Iref · (R4) + Ib · R4)
= Iref (R2 + R3)
It becomes.

従って、上記の2つの場合の差電圧ΔV1a、ΔV1bは、
ΔV1a=ΔV1b
となる。即ち、ノードN1とノードN3の電位差ΔV1は、第1,第2の電流源27,28から供給される電流Ib,Icに関わらず一定となる。
Therefore, the difference voltages ΔV1a and ΔV1b in the above two cases are
ΔV1a = ΔV1b
It becomes. That is, the potential difference ΔV1 between the node N1 and the node N3 is constant regardless of the currents Ib and Ic supplied from the first and second current sources 27 and 28.

また、電流Ibを供給した時の各ノードN1〜N3の電圧V1b〜V3bは、電流を供給しない時の各ノードN1〜N3の電圧V1a〜V3aに比べて、電圧(Ib・R4)だけ相違する。従って、第1,第2の電流源27,28の出力電流Ib,Icを適宜変更することにより、ノードN1,N3の間の分圧電圧V1,V3の電位差を一定に保ったままで、各ノードN1〜N3の分圧電圧V1〜V3を変更することができる。   Further, the voltages V1b to V3b of the nodes N1 to N3 when the current Ib is supplied are different from the voltages V1a to V3a of the nodes N1 to N3 when no current is supplied by a voltage (Ib · R4). . Therefore, by appropriately changing the output currents Ib and Ic of the first and second current sources 27 and 28, the potential difference of the divided voltages V1 and V3 between the nodes N1 and N3 is kept constant, and each node The divided voltages V1 to V3 of N1 to N3 can be changed.

次に、上記のように構成されたD/A変換回路21の作用を説明する。尚、以降の説明においても、説明をわかりやすくするために低電位電源VSSを0ボルト(V)として説明する。   Next, the operation of the D / A conversion circuit 21 configured as described above will be described. In the following description, the low-potential power supply VSS is assumed to be 0 volts (V) for easy understanding.

先ず、入力されるデジタル信号Dinに基づいてスイッチSW1をオンさせた場合について説明する。
このとき、第1制御回路24の第1差動増幅回路25には、オンしたスイッチSW1を介して分圧回路22のノードN4aにおける分圧電圧が選択電圧Vaとして入力される。
First, a case where the switch SW1 is turned on based on the input digital signal Din will be described.
At this time, the divided voltage at the node N4a of the voltage dividing circuit 22 is input to the first differential amplifier circuit 25 of the first control circuit 24 as the selection voltage Va via the switched switch SW1.

この選択電圧Vaは、
Va=VDD・(R3+R4)/(R1+R2+R3+R4)
となる。第1,第4抵抗R1,R4は同一のインピーダンスを有し、第2,第3抵抗R2,R3は同一インピーダンスを有している。従って、上記の選択電圧Vaは、
Va=VDD/2
となる。この選択電圧Vaは、基準電圧Vref(=VDD/2)と一致している。従って、第1差動増幅回路25は、同じ値の選択電圧Vaと基準電圧Vrefに基づいて第1トランジスタTr1のゲート電圧を制御する。その第1トランジスタTr1は、ゲート電圧に応答してオフするため、電流Iaは0アンペアになる。これにより、第1,第2の電流源27,28は、電流Ib,Ic(=0A)を出力する。
This selection voltage Va is
Va = VDD. (R3 + R4) / (R1 + R2 + R3 + R4)
It becomes. The first and fourth resistors R1 and R4 have the same impedance, and the second and third resistors R2 and R3 have the same impedance. Therefore, the selection voltage Va is
Va = VDD / 2
It becomes. This selection voltage Va coincides with the reference voltage Vref (= VDD / 2). Accordingly, the first differential amplifier circuit 25 controls the gate voltage of the first transistor Tr1 based on the selection voltage Va and the reference voltage Vref having the same value. Since the first transistor Tr1 is turned off in response to the gate voltage, the current Ia becomes 0 amperes. As a result, the first and second current sources 27 and 28 output currents Ib and Ic (= 0 A).

その結果、各ノードN1〜N3の分圧電圧V1〜V3は、
V1=VDD・(R2+R3+R4)/(R1+R2+R3+R4)
V2=VDD・(R3+R4)/(R1+R2+R3+R4)
V3=VDD・(R4)/(R1+R2+R3+R4)
となる。
As a result, the divided voltages V1 to V3 of the nodes N1 to N3 are
V1 = VDD. (R2 + R3 + R4) / (R1 + R2 + R3 + R4)
V2 = VDD. (R3 + R4) / (R1 + R2 + R3 + R4)
V3 = VDD. (R4) / (R1 + R2 + R3 + R4)
It becomes.

ここで、各抵抗R1〜R4の抵抗値を「8」とすると、各分圧電圧V1〜V3は、
V1=VDD・24/32
V2=VDD・16/32
V3=VDD・8/32
となる。
Here, when the resistance values of the resistors R1 to R4 are “8”, the divided voltages V1 to V3 are:
V1 = VDD ・ 24/32
V2 = VDD · 16/32
V3 = VDD ・ 8/32
It becomes.

そして、D/A変換回路21は、入力されるデジタル信号Dinの上位2ビットの信号D4,D3に基づいてスイッチSW9a〜SW9cのうちの1つをオンに制御する。そのオンしたスイッチSW9a〜SW9cを介して、分圧電圧V1〜V3のうちの1つが第2増幅回路29に入力され、第2増幅回路29は、入力される分圧電圧V1〜V3に応じたアナログ信号Aoutを出力する。   Then, the D / A conversion circuit 21 controls one of the switches SW9a to SW9c to be on based on the higher-order 2-bit signals D4 and D3 of the input digital signal Din. One of the divided voltages V1 to V3 is input to the second amplifying circuit 29 via the turned on switches SW9a to SW9c, and the second amplifying circuit 29 corresponds to the input divided voltages V1 to V3. An analog signal Aout is output.

次に、入力されるデジタル信号Dinに基づいてスイッチSW3をオンさせた場合について説明する。
このとき、第1制御回路24の第1差動増幅回路25には、オンしたスイッチSW3を介して分圧回路22のノードN4cにおける分圧電圧が選択電圧Vaとして入力される。
Next, a case where the switch SW3 is turned on based on the input digital signal Din will be described.
At this time, the divided voltage at the node N4c of the voltage dividing circuit 22 is input to the first differential amplifier circuit 25 of the first control circuit 24 as the selection voltage Va via the switch SW3 that is turned on.

この選択電圧Vaは、上記と同様に各抵抗R1〜R4の抵抗を「8」とし、第3抵抗R3を構成する抵抗R3a〜R3hの抵抗をそれぞれ「1」とすると、
Va=VDD・14/32 --(1)
となる。
As in the above, the selection voltage Va is set such that the resistances of the resistors R1 to R4 are “8” and the resistances of the resistors R3a to R3h constituting the third resistor R3 are “1”.
Va = VDD.14 / 32 (1)
It becomes.

第1差動増幅回路25は、選択電圧Vaと基準電圧Vrefに基づいて第1トランジスタTr1のゲート電圧を制御する。その第1トランジスタTr1は、ゲート電圧に応答して電流Iaを流す。第1,第2の電流源27,28は、電流Iaと同じ値の電流Ib,Icを分圧回路22のノードN1,N3に供給する。   The first differential amplifier circuit 25 controls the gate voltage of the first transistor Tr1 based on the selection voltage Va and the reference voltage Vref. The first transistor Tr1 passes a current Ia in response to the gate voltage. The first and second current sources 27 and 28 supply currents Ib and Ic having the same value as the current Ia to the nodes N1 and N3 of the voltage dividing circuit 22, respectively.

各ノードN1〜N3の電位は、供給される電流Ib,Icにより、ノードN1,N3の間の電位差を保ったまま上昇する。これにより、ノードN4cの分圧電圧、即ち選択電圧Vaは上昇する。そして、第1差動増幅回路25は、ノードN4cの分圧電圧(選択電圧Va)が基準電圧Vrefと一致するように第1トランジスタTr1のゲート電圧を制御する。   The potentials of the nodes N1 to N3 are raised by the supplied currents Ib and Ic while maintaining the potential difference between the nodes N1 and N3. As a result, the divided voltage of the node N4c, that is, the selection voltage Va increases. Then, the first differential amplifier circuit 25 controls the gate voltage of the first transistor Tr1 so that the divided voltage (selection voltage Va) at the node N4c matches the reference voltage Vref.

即ち、第1制御回路24は、ノードN4cにおける分圧電圧を、基準電圧Vrefと一致させるように、第1,第2の電流源27,28を制御して電流Ib,Icを分圧回路22に供給する。   That is, the first control circuit 24 controls the first and second current sources 27 and 28 so as to match the divided voltage at the node N4c with the reference voltage Vref, thereby dividing the currents Ib and Ic into the voltage dividing circuit 22. To supply.

このとき、ノードN4cの電位は、上記の(1)式における選択電圧Vaと基準電圧Vref(=VDD/2)の差電圧ΔV(=VDD・2/32)だけ上昇している。従って、各ノードN1〜N3の分圧電圧V1〜V3は、電流Ib=Ic=0の時から差電圧ΔVだけ上昇する。   At this time, the potential of the node N4c is increased by the difference voltage ΔV (= VDD · 2/32) between the selection voltage Va and the reference voltage Vref (= VDD / 2) in the above equation (1). Therefore, the divided voltages V1 to V3 of the nodes N1 to N3 rise by the difference voltage ΔV from the time when the current Ib = Ic = 0.

その結果、各ノードN1〜N3の分圧電圧V1〜V3は、
V1=VDD・24/32+ΔV
=VDD・26/32
V2=VDD・16/32+ΔV
=VDD・18/32
V3=VDD・8/32+ΔV
=VDD・10/32
となる。
As a result, the divided voltages V1 to V3 of the nodes N1 to N3 are
V1 = VDD.24 / 32 + ΔV
= VDD ・ 26/32
V2 = VDD.16 / 32 + ΔV
= VDD ・ 18/32
V3 = VDD ・ 8/32 + ΔV
= VDD · 10/32
It becomes.

そして、D/A変換回路21は、入力されるデジタル信号Dinの上位2ビットの信号D4,D3に基づいてスイッチSW9a〜SW9cのうちの1つをオンに制御する。そのオンしたスイッチSW9a〜SW9cを介して、分圧電圧V1〜V3のうちの1つが第2増幅回路29に入力され、第2増幅回路29は、入力される分圧電圧V1〜V3に応じたアナログ信号Aoutを出力する。   Then, the D / A conversion circuit 21 controls one of the switches SW9a to SW9c to be on based on the higher-order 2-bit signals D4 and D3 of the input digital signal Din. One of the divided voltages V1 to V3 is input to the second amplifying circuit 29 via the turned on switches SW9a to SW9c, and the second amplifying circuit 29 corresponds to the input divided voltages V1 to V3. An analog signal Aout is output.

同様にして、入力されるデジタル信号Dinに基づいてスイッチSW8をオンさせた場合について説明する。
このとき、第1制御回路24の第1差動増幅回路25には、オンしたスイッチSW3を介して分圧回路22のノードN4hにおける分圧電圧が選択電圧Vaとして入力される。
Similarly, a case where the switch SW8 is turned on based on the input digital signal Din will be described.
At this time, the divided voltage at the node N4h of the voltage dividing circuit 22 is input to the first differential amplifier circuit 25 of the first control circuit 24 as the selection voltage Va via the switch SW3 that is turned on.

この選択電圧Vaは、上記と同様に各抵抗R1〜R4の抵抗を「8」とし、第3抵抗R3を構成する抵抗R3a〜R3hの抵抗をそれぞれ「1」とすると、
Va=VDD・9/32 --(2)
となる。
As in the above, the selection voltage Va is set such that the resistances of the resistors R1 to R4 are “8” and the resistances of the resistors R3a to R3h constituting the third resistor R3 are “1”.
Va = VDD. 9/32 (2)
It becomes.

第1差動増幅回路25は、選択電圧Vaと基準電圧Vrefに基づいて第1トランジスタTr1のゲート電圧を制御する。その第1トランジスタTr1は、ゲート電圧に応答して電流Iaを流す。第1,第2の電流源27,28は、電流Iaと同じ値の電流Ib,Icを分圧回路22のノードN1,N3に供給する。   The first differential amplifier circuit 25 controls the gate voltage of the first transistor Tr1 based on the selection voltage Va and the reference voltage Vref. The first transistor Tr1 passes a current Ia in response to the gate voltage. The first and second current sources 27 and 28 supply currents Ib and Ic having the same value as the current Ia to the nodes N1 and N3 of the voltage dividing circuit 22, respectively.

各ノードN1〜N3の電位は、供給される電流Ib,Icにより、ノードN1,N3の間の電位差を保ったまま上昇する。これにより、ノードN4cの分圧電圧、即ち選択電圧Vaは上昇する。そして、第1差動増幅回路25は、ノードN4hの分圧電圧(選択電圧Va)が基準電圧Vrefと一致するように第1トランジスタTr1のゲート電圧を制御する。   The potentials of the nodes N1 to N3 are raised by the supplied currents Ib and Ic while maintaining the potential difference between the nodes N1 and N3. As a result, the divided voltage of the node N4c, that is, the selection voltage Va increases. Then, the first differential amplifier circuit 25 controls the gate voltage of the first transistor Tr1 so that the divided voltage (select voltage Va) at the node N4h matches the reference voltage Vref.

即ち、第1制御回路24は、ノードN4hにおける分圧電圧を、基準電圧Vrefと一致させるように、第1,第2の電流源27,28を制御して電流Ib,Icを分圧回路22に供給する。   That is, the first control circuit 24 controls the first and second current sources 27 and 28 so as to match the divided voltage at the node N4h with the reference voltage Vref, thereby dividing the currents Ib and Ic into the voltage dividing circuit 22. To supply.

このとき、ノードN4hの電位は、上記の(2)式における選択電圧Vaと基準電圧Vref(=VDD/2)の差電圧ΔV(=VDD・7/32)だけ上昇している。従って、各ノードN1〜N3の分圧電圧V1〜V3は、電流Ib=Ic=0の時から差電圧ΔVだけ上昇する。   At this time, the potential of the node N4h is increased by the difference voltage ΔV (= VDD · 7/32) between the selection voltage Va and the reference voltage Vref (= VDD / 2) in the above equation (2). Therefore, the divided voltages V1 to V3 of the nodes N1 to N3 rise by the difference voltage ΔV from the time when the current Ib = Ic = 0.

その結果、各ノードN1〜N3の分圧電圧V1〜V3は、
V1=VDD・24/32+ΔV
=VDD・31/32
V2=VDD・16/32+ΔV
=VDD・23/32
V3=VDD・8/32+ΔV
=VDD・15/32
となる。
As a result, the divided voltages V1 to V3 of the nodes N1 to N3 are
V1 = VDD.24 / 32 + ΔV
= VDD ・ 31/32
V2 = VDD.16 / 32 + ΔV
= VDD ・ 23/32
V3 = VDD ・ 8/32 + ΔV
= VDD ・ 15/32
It becomes.

そして、D/A変換回路21は、入力されるデジタル信号Dinの上位2ビットの信号D4,D3に基づいてスイッチSW9a〜SW9cのうちの1つをオンに制御する。そのオンしたスイッチSW9a〜SW9cを介して、分圧電圧V1〜V3のうちの1つが第2増幅回路29に入力され、第2増幅回路29は、入力される分圧電圧V1〜V3に応じたアナログ信号Aoutを出力する。   Then, the D / A conversion circuit 21 controls one of the switches SW9a to SW9c to be on based on the higher-order 2-bit signals D4 and D3 of the input digital signal Din. One of the divided voltages V1 to V3 is input to the second amplifying circuit 29 via the turned on switches SW9a to SW9c, and the second amplifying circuit 29 corresponds to the input divided voltages V1 to V3. An analog signal Aout is output.

図4には、スイッチSW1〜SW8,SW9a〜SW9cを適宜オンオフ制御した時のアナログ信号Aoutを示す。尚、図4においても、上記の説明と同様に低電位電源VSSを0ボルト(V)とした場合のアナログ信号Aoutを示してある。図4から明らかなように、D/A変換回路21は、スイッチSW1〜SW8,SW9a〜SW9cを適宜オンオフ制御することにより、高電位電源VDDと低電位電源VSSの間の電位差を等分割(32分割)した電圧(=(VDD−VSS)/32)を1ステップとするアナログ信号Aout)を出力する。   FIG. 4 shows an analog signal Aout when the switches SW1 to SW8 and SW9a to SW9c are appropriately turned on / off. 4 also shows the analog signal Aout when the low-potential power supply VSS is 0 volts (V) as in the above description. As is apparent from FIG. 4, the D / A converter circuit 21 equally divides the potential difference between the high potential power supply VDD and the low potential power supply VSS by appropriately turning on / off the switches SW1 to SW8 and SW9a to SW9c (32 An analog signal Aout) having the divided voltage (= (VDD−VSS) / 32) as one step is output.

前記コンデンサC1の容量は、スイッチSW9a〜SW9cと第2増幅回路29の間の配線につく容量成分と、第2増幅回路29の入力端子につく容量成分と、分圧回路22を構成する抵抗R1〜R4についている容量成分を含む。   The capacitance of the capacitor C1 includes a capacitance component attached to the wiring between the switches SW9a to SW9c and the second amplification circuit 29, a capacitance component attached to the input terminal of the second amplification circuit 29, and a resistor R1 constituting the voltage dividing circuit 22. The capacity component attached to ~ R4 is included.

このコンデンサC1は、スイッチSW9a〜SW9cの切り替え時に発生するノイズを低減する。
図21に示す従来のD/A変換回路21と抵抗,スイッチの数及び接続が異なるため、本実施形態のD/A変換回路21と単純に比較することができない。しかし、本実施形態のD/A変換回路21は、第1,第2の電流源27,28を設けている。従って、ここでは、便宜上、従来のD/A変換回路を第1,第2の電流源27,28を用いない、即ち、分圧回路22、第2増幅回路29、コンデンサC1を含む構成として説明する。
The capacitor C1 reduces noise generated when the switches SW9a to SW9c are switched.
Since the conventional D / A conversion circuit 21 shown in FIG. 21 is different in the number of resistors, switches, and connections, it cannot be simply compared with the D / A conversion circuit 21 of the present embodiment. However, the D / A conversion circuit 21 of the present embodiment includes first and second current sources 27 and 28. Therefore, here, for the sake of convenience, the conventional D / A conversion circuit is described as a configuration that does not use the first and second current sources 27 and 28, that is, includes the voltage dividing circuit 22, the second amplifier circuit 29, and the capacitor C1. To do.

今、スイッチSW9cがオンされているものとする。このとき、図5に示すように、コンデンサC1の第1端子が接続されたノードN6の電位V(N6)は、オンしたスイッチSW9cにより分圧電圧V3となっている。   It is assumed that the switch SW9c is turned on now. At this time, as shown in FIG. 5, the potential V (N6) of the node N6 to which the first terminal of the capacitor C1 is connected is the divided voltage V3 by the switch SW9c that is turned on.

図5に示す時刻t1において、D/A変換回路21は、入力されるデジタル信号Dinに基づいて、スイッチSW9cに代えてスイッチSW9aをオンする。すると、図2のノードN1の電位V(N1)は、それまでコンデンサC1に蓄えられていた電荷量による電圧(=V3)まで低下する。それに伴い、分圧回路22から第1制御回路24に出力される選択電圧Vaも一旦低下する。   At time t1 shown in FIG. 5, the D / A conversion circuit 21 turns on the switch SW9a instead of the switch SW9c based on the input digital signal Din. Then, the potential V (N1) of the node N1 in FIG. 2 drops to a voltage (= V3) due to the amount of charge stored in the capacitor C1 until then. Along with this, the selection voltage Va output from the voltage dividing circuit 22 to the first control circuit 24 also temporarily decreases.

その後、コンデンサC1には、第1抵抗R1を介して第1電源線L1から電荷が供給される。これにより、ノードN6の電位は、第1抵抗R1の抵抗値とコンデンサC1の容量、及び第1抵抗R1の両端の電圧差によって決定される時定数により、図5の一点鎖線で示すように上昇する。そして、時刻t2において、ノードN6の電位は、分圧回路22により設定されたノードN1の電位まで上昇し安定する。従って、従来のD/A変換回路では、時刻t1から時刻t2までの時間Δt1が動作速度となる。   Thereafter, charge is supplied to the capacitor C1 from the first power supply line L1 via the first resistor R1. As a result, the potential of the node N6 rises as shown by the one-dot chain line in FIG. 5 due to the time constant determined by the resistance value of the first resistor R1, the capacitance of the capacitor C1, and the voltage difference across the first resistor R1. To do. At time t2, the potential of the node N6 rises to the potential of the node N1 set by the voltage dividing circuit 22 and becomes stable. Therefore, in the conventional D / A conversion circuit, the time Δt1 from time t1 to time t2 is the operation speed.

これに対し、本実施形態のD/A変換回路21では、時刻t1においてスイッチSW9cからスイッチSW9aに切り替えると、図2のノードN1の電位V(N1)は従来の回路と同様にそれまでコンデンサC1に蓄えられていた電荷量による電圧(=V3)まで低下する。それに伴い、分圧回路22から第1制御回路24に出力される選択電圧Vaも一旦低下する。   On the other hand, in the D / A conversion circuit 21 of this embodiment, when the switch SW9c is switched to the switch SW9a at time t1, the potential V (N1) of the node N1 in FIG. The voltage drops to the voltage (= V3) due to the amount of charge stored in. Along with this, the selection voltage Va output from the voltage dividing circuit 22 to the first control circuit 24 also temporarily decreases.

その後、コンデンサC1には、第1抵抗R1に流れる電流に加えて、第1の電流源27によりノードN1に供給する電流Ibにより電荷が供給される。従って、コンデンサC1に供給される単位時間あたりの電荷量は、従来のそれよりも多くなる。これにより、ノードN6の電位は、図5に実線で示すように、所定の電位まで従来よりも早く上昇する。そして、従来の時刻t2よりも早い時刻t3において、ノードN6の電位はノードN1の電位まで上昇し安定する。そのため、スイッチSW9a,SW9cを切り替えてからノードN6の電位が所望の電位になるまでに要する時間Δt2(=t3−t1)が従来に比べて短くなる。即ち、D/A変換回路21の動作速度は、従来のそれに比べて速くなる。   Thereafter, electric charge is supplied to the capacitor C1 by the current Ib supplied from the first current source 27 to the node N1 in addition to the current flowing through the first resistor R1. Therefore, the amount of charge per unit time supplied to the capacitor C1 is larger than that of the conventional case. As a result, the potential at the node N6 rises to a predetermined potential faster than before, as indicated by a solid line in FIG. At time t3 earlier than the conventional time t2, the potential of the node N6 rises to the potential of the node N1 and becomes stable. Therefore, the time Δt2 (= t3−t1) required from when the switches SW9a and SW9c are switched until the potential of the node N6 becomes a desired potential is shorter than that in the related art. That is, the operation speed of the D / A conversion circuit 21 is faster than that of the conventional one.

このことは、スイッチSW9a〜SW9cの切り替え時に生じるグリッジのエネルギーを小さくする。グリッジのエネルギーは、例えばグリッジの波形の面積によりその大きさを規定する。従って、グリッジは、グリッジが発生している時間が同じであれば、ピーク電圧が高いほどエネルギーが高いといえる。また、グリッジは、ピーク電圧が同じであれば、グリッジが発生している時間が長いほどエネルギーが高いといえる。   This reduces the energy of the glitch that occurs when the switches SW9a to SW9c are switched. The magnitude of the energy of the glitch is determined by the area of the waveform of the glitch, for example. Therefore, it can be said that the glitch has higher energy as the peak voltage is higher if the time during which the glitch is generated is the same. In addition, if the glitch has the same peak voltage, it can be said that the longer the glitch is generated, the higher the energy.

そして、本実施形態のD/A変換回路21は、スイッチSW9a〜SW9cの切り替え時にノードN6における電位の変化量は、従来のそれと同じである。従って、グリッジのピーク電圧は従来と本実施形態において同じ値になる。   In the D / A conversion circuit 21 of the present embodiment, the amount of change in potential at the node N6 is the same as that in the past when the switches SW9a to SW9c are switched. Therefore, the peak voltage of the glitch has the same value in the present embodiment as in the prior art.

一方、本実施形態のD/A変換回路21は、ノードN6の電圧が安定するまでの時間Δt2(=t3−t1)は、従来の時間Δt1に比べて短い。従って、グリッジが発生している時間は、本実施形態のD/A変換回路21の方が従来に比べて短くなる。   On the other hand, in the D / A conversion circuit 21 of this embodiment, the time Δt2 (= t3−t1) until the voltage at the node N6 is stabilized is shorter than the conventional time Δt1. Therefore, the time during which the glitch is generated is shorter in the D / A conversion circuit 21 of the present embodiment than in the conventional case.

従って、本実施形態のD/A変換回路21は、従来のそれに比べて動作時間が短い。そのため、グリッジのエネルギーは従来のD/A変換回路に比べて小さくなる。
以上記述したように、第一実施形態によれば、以下の効果を奏する。
Therefore, the operation time of the D / A conversion circuit 21 of this embodiment is shorter than that of the conventional one. Therefore, the energy of the glitch is smaller than that of the conventional D / A conversion circuit.
As described above, according to the first embodiment, the following effects are obtained.

(1)同一抵抗値を有する第1,第4抵抗R1,R4を第1,第2の電源線L1,L2に接続し、その間に第2,第3抵抗R2,R3を接続する。そして、第1,第2抵抗R1,R2間のノードN1と、第3,第4抵抗R3,R4間のノードN3に第1,第2の電流源27,28から同一値の第1,第2の電流Ib,Icを供給する。ノードN1,N3における電圧は、両ノードN1,N3間の電位差を保ったまま、第1,第2の電流Ib,Icの値に応じて変化する。そして、第3抵抗R3を構成する複数の抵抗R3a〜R3hの間の分圧電圧のうちの1つをデジタル信号Dinに基づいて選択して選択電圧Vaとし、その選択電圧Vaが基準電圧Vrefと一致するように第1,第2の電流Ib,Icを制御するようにした。   (1) First and fourth resistors R1 and R4 having the same resistance value are connected to first and second power supply lines L1 and L2, and second and third resistors R2 and R3 are connected therebetween. The first and second current sources 27 and 28 have the same value of the first and first current sources 27 and 28 as the node N1 between the first and second resistors R1 and R2 and the node N3 between the third and fourth resistors R3 and R4. 2 currents Ib and Ic are supplied. The voltages at the nodes N1 and N3 change according to the values of the first and second currents Ib and Ic while maintaining the potential difference between the nodes N1 and N3. Then, one of the divided voltages between the plurality of resistors R3a to R3h constituting the third resistor R3 is selected based on the digital signal Din to be a selection voltage Va, and the selection voltage Va is the reference voltage Vref. The first and second currents Ib and Ic are controlled so as to match.

その結果、ノードN1〜N3における電圧は、デジタル信号Dinに基づいて変化した所望の電圧にて安定する。このノードN1〜N3の電圧のうちの1つをデジタル信号Dinに基づいて選択してアナログ信号Aoutを出力するようにした。   As a result, the voltages at the nodes N1 to N3 are stabilized at a desired voltage changed based on the digital signal Din. One of the voltages at the nodes N1 to N3 is selected based on the digital signal Din to output an analog signal Aout.

これにより、従来の抵抗R1a〜R3bに並列に接続したスイッチSW1a〜SW1cが不要になるため、スイッチSW1a〜SW3bのオン抵抗による影響が無くなり、精度の高いアナログ信号Aoutを出力することができる。   This eliminates the need for the switches SW1a to SW1c connected in parallel to the conventional resistors R1a to R3b, eliminates the influence of the on-resistance of the switches SW1a to SW3b, and outputs a highly accurate analog signal Aout.

(2)分圧回路22のノードN1,N3に第1,第2の電流源27,28を接続し、それらのノードN1,N3に定電流Ib,Icを供給している。そのため、デジタル信号Dinの上位2ビットの信号D4,D3に基づいて、スイッチSW9a〜SW9cを切り替えた時にアナログ信号Aoutが所望の電圧に安定するまでの時間を従来に比べて短縮することができる。このことは、スイッチSW9a〜Sw9cの切り替え時に生じるグリッジのエネルギーを減少させることができる。   (2) The first and second current sources 27 and 28 are connected to the nodes N1 and N3 of the voltage dividing circuit 22, and the constant currents Ib and Ic are supplied to the nodes N1 and N3. Therefore, the time until the analog signal Aout is stabilized at a desired voltage when the switches SW9a to SW9c are switched based on the upper two bits of the signals D4 and D3 of the digital signal Din can be shortened as compared with the related art. This can reduce the glitch energy generated when the switches SW9a to Sw9c are switched.

(第二実施形態)
以下、本発明を具体化した第二実施形態を図6〜図17に従って説明する。
尚、説明の便宜上、第一実施形態と同様の構成については同一の符号を付してその説明を一部省略する。
(Second embodiment)
Hereinafter, a second embodiment of the present invention will be described with reference to FIGS.
For convenience of explanation, the same components as those in the first embodiment are denoted by the same reference numerals, and a part of the explanation is omitted.

図6は、本実施形態におけるD/A変換回路31の回路図である。
本実施形態の第1制御回路32は、第一実施形態における第1制御回路24の構成に加えて、安定化電流回路35とNチャネルMOSトランジスタよりなる第5トランジスタTr5を含む。
FIG. 6 is a circuit diagram of the D / A conversion circuit 31 in the present embodiment.
The first control circuit 32 of the present embodiment includes a stabilized current circuit 35 and a fifth transistor Tr5 composed of an N-channel MOS transistor in addition to the configuration of the first control circuit 24 in the first embodiment.

安定化電流回路35の第1端子は高電位電源VDDを供給する第1電源線L1に接続されている。同電流回路35の第2端子は第5トランジスタTr5のドレインに接続されている。   A first terminal of the stabilized current circuit 35 is connected to a first power supply line L1 that supplies a high potential power supply VDD. The second terminal of the current circuit 35 is connected to the drain of the fifth transistor Tr5.

第5トランジスタTr5のソースは低電位電源VSSを供給する第2電源線L2に接続されている。該トランジスタTr5のゲートは同トランジスタTr5のドレインに接続されている。更に、第5トランジスタTr5のゲートは、NチャネルMOSトランジスタよりなる第6,第7トランジスタTr6,Tr7のゲートに接続されている。   The source of the fifth transistor Tr5 is connected to the second power supply line L2 that supplies the low potential power supply VSS. The gate of the transistor Tr5 is connected to the drain of the transistor Tr5. Further, the gate of the fifth transistor Tr5 is connected to the gates of sixth and seventh transistors Tr6 and Tr7 made of N-channel MOS transistors.

第6トランジスタTr6のソースは第2電源線L2に接続され、同トランジスタTr6のドレインは前記分圧回路22のノードN1に接続されている。第7トランジスタTr7のソースは第2電源線L2に接続され、同トランジスタTr7のドレインは前記分圧回路22のノードN3に接続されている。   The source of the sixth transistor Tr6 is connected to the second power supply line L2, and the drain of the transistor Tr6 is connected to the node N1 of the voltage dividing circuit 22. The source of the seventh transistor Tr7 is connected to the second power supply line L2, and the drain of the transistor Tr7 is connected to the node N3 of the voltage dividing circuit 22.

第6トランジスタTr6は、第5トランジスタTr5と共にカレントミラー回路よりなる第3の電流源33を形成する。第7トランジスタTr7は、第5トランジスタTr5と共にカレントミラー回路よりなる第4の電流源34を形成する。   The sixth transistor Tr6 forms a third current source 33 formed of a current mirror circuit together with the fifth transistor Tr5. The seventh transistor Tr7 forms a fourth current source 34 including a current mirror circuit together with the fifth transistor Tr5.

これら第3,第4の電流源33,34は、第5トランジスタTr5を共有している。従って、第3,第4の電流源33,34は、第5トランジスタTr5に流れる電流、即ち、定電流源35が流す電流Idと同じ値の電流Ie,Ifを流すように動作する。この第3,第4の電流源33,34が流す電流Ie,Ifの方向は、前記第1,第2の電流源27,28が流す電流Ib,Icと同一である。   The third and fourth current sources 33 and 34 share the fifth transistor Tr5. Accordingly, the third and fourth current sources 33 and 34 operate so as to flow currents Ie and If having the same value as the current flowing through the fifth transistor Tr5, that is, the current Id flowing through the constant current source 35. The directions of the currents Ie and If flowing through the third and fourth current sources 33 and 34 are the same as the currents Ib and Ic flowing through the first and second current sources 27 and 28.

次に、上記ように構成されたD/A変換回路31の作用を説明する。
尚、本実施形態のD/A変換回路31は、第一実施形態のD/A変換回路21と、第1制御回路32の構成、及び第3,第4の電流源33,34が追加されていることが相違するため、それら相違する部分についてのみ説明する。
Next, the operation of the D / A conversion circuit 31 configured as described above will be described.
The D / A conversion circuit 31 of the present embodiment is the same as the D / A conversion circuit 21 of the first embodiment, the configuration of the first control circuit 32, and the third and fourth current sources 33 and 34. Therefore, only those different parts will be described.

上記第一実施形態において、スイッチSW1をオンに制御した場合に、第1制御回路24の差動増幅回路25に入力される基準電圧Vrefと選択電圧Vaが、Vref<Vaとなる場合がある。これは、アンプの設定誤差、抵抗R1〜R4の抵抗値誤差等に起因する。   In the first embodiment, when the switch SW1 is controlled to be on, the reference voltage Vref and the selection voltage Va that are input to the differential amplifier circuit 25 of the first control circuit 24 may be Vref <Va. This is caused by an amplifier setting error, resistance value errors of the resistors R1 to R4, and the like.

このような場合、図2に示す第1制御回路24の第1差動増幅回路25は、基準電圧Vrefと選択電圧Vaに基づいて、第1トランジスタTr1をオフに制御する。第1トランジスタTr1は電流を流さない(Ia=0)ので、第1,第2の電流源27,28は、ノードN1,N2に電流を供給しない。その結果、第1制御回路24は、選択電圧Vaを基準電圧Vrefと一致させることができない。その選択電圧Vaと基準電圧Vrefの電位差は、D/A変換回路21の出力するアナログ信号Aoutの電圧と所望の電圧の差、即ち精度誤差となる。   In such a case, the first differential amplifier circuit 25 of the first control circuit 24 shown in FIG. 2 controls the first transistor Tr1 to be turned off based on the reference voltage Vref and the selection voltage Va. Since the first transistor Tr1 does not flow current (Ia = 0), the first and second current sources 27 and 28 do not supply current to the nodes N1 and N2. As a result, the first control circuit 24 cannot make the selection voltage Va coincide with the reference voltage Vref. The potential difference between the selection voltage Va and the reference voltage Vref is a difference between the voltage of the analog signal Aout output from the D / A conversion circuit 21 and a desired voltage, that is, an accuracy error.

一方、本実施形態のD/A変換回路31は、分圧回路22のノードN1,N3にそれぞれ第3,第4の電流源33,34を接続し、各ノードN1,N3から低電位電源VSSの第2電源線L2に同一電流値の電流Ie,Ifを常時流している。従って、第3,第4の電流源33,34は、第1,第2の電流源27,28と逆にノードN1〜N3の電位を下げるように作用する。即ち、第3,第4の電流源33,34は、選択電圧Vaを基準電圧Vrefより低くする。   On the other hand, the D / A conversion circuit 31 of the present embodiment connects the third and fourth current sources 33 and 34 to the nodes N1 and N3 of the voltage dividing circuit 22, respectively, and the low potential power supply VSS from each of the nodes N1 and N3. Currents Ie and If having the same current value are always supplied to the second power supply line L2. Therefore, the third and fourth current sources 33 and 34 act to lower the potentials of the nodes N1 to N3, contrary to the first and second current sources 27 and 28. That is, the third and fourth current sources 33 and 34 make the selection voltage Va lower than the reference voltage Vref.

そして、第1制御回路32は、低下する選択電圧Vaを基準電圧Vrefと一致させるように電流第1,第2の電流源27,28を制御する。これにより、ノードN6の電位が正確に基準電圧Vrefと一致するため、分圧回路22により生じるアナログ信号Aoutの電圧と所望の電圧の差である精度誤差を無くすることができる。   Then, the first control circuit 32 controls the current first and second current sources 27 and 28 so that the decreasing selection voltage Va matches the reference voltage Vref. Thereby, since the potential of the node N6 exactly matches the reference voltage Vref, an accuracy error that is a difference between the voltage of the analog signal Aout generated by the voltage dividing circuit 22 and a desired voltage can be eliminated.

更に、本実施形態のD/A変換回路31は、デジタル信号Dinに応答してアナログ信号Aoutの電圧を低くする場合に発生するグリッジのエネルギーを小さくことができる。それを以下に説明する。   Furthermore, the D / A conversion circuit 31 of the present embodiment can reduce the energy of glitch that occurs when the voltage of the analog signal Aout is lowered in response to the digital signal Din. This will be described below.

今、スイッチSW9aがオンされているものとする。このとき、図7に示すように、コンデンサC1の第1端子が接続されたノードN6の電位V(N6)は、オンしたスイッチSW9aにより分圧電圧V1となっている。   It is assumed that the switch SW9a is turned on now. At this time, as shown in FIG. 7, the potential V (N6) of the node N6 to which the first terminal of the capacitor C1 is connected is the divided voltage V1 by the switch SW9a that is turned on.

図7に示す時刻t1において、図6のD/A変換回路31は、入力されるデジタル信号Dinに基づいて、スイッチSW9aに代えてスイッチSW9cをオンする。すると、スイッチSW9cが接続されたノードN3の電位V(N3)は、それまでコンデンサC1に蓄えられていた電荷量による電圧(=V1)まで上昇する。それに伴い、分圧回路22から第1制御回路32に出力される選択電圧Vaも一旦上昇する。   At time t1 shown in FIG. 7, the D / A conversion circuit 31 in FIG. 6 turns on the switch SW9c instead of the switch SW9a based on the input digital signal Din. Then, the potential V (N3) of the node N3 to which the switch SW9c is connected rises to a voltage (= V1) based on the amount of charge stored in the capacitor C1. Along with this, the selection voltage Va output from the voltage dividing circuit 22 to the first control circuit 32 also rises once.

その後、コンデンサC1に蓄えられた電荷は、第3抵抗R3を介して第2電源線L2に流れ出し、該コンデンサC1はディスチャージされる。これにより、ノードN6の電位は、第3抵抗R3の抵抗値とコンデンサC1の容量、及び第3抵抗R3の両端の電圧差によって決定される時定数により、図7の一点鎖線で示すように低下する。そして、時刻t2において、ノードN6の電位は、分圧回路22により設定されたノードN3の電位まで低下し安定する。従って、従来のD/A変換回路では、時刻t1から時刻t2までの時間Δt1が動作速度となる。   Thereafter, the charge stored in the capacitor C1 flows out to the second power supply line L2 via the third resistor R3, and the capacitor C1 is discharged. As a result, the potential of the node N6 decreases as shown by the one-dot chain line in FIG. 7 due to the time constant determined by the resistance value of the third resistor R3, the capacitance of the capacitor C1, and the voltage difference across the third resistor R3. To do. At time t2, the potential of the node N6 decreases to the potential of the node N3 set by the voltage dividing circuit 22 and becomes stable. Therefore, in the conventional D / A conversion circuit, the time Δt1 from time t1 to time t2 is the operation speed.

これに対し、本実施形態のD/A変換回路31では、時刻t1においてスイッチSW9aからスイッチSW9cに切り替えると、図6のノードN3の電位V(N3)は従来の回路と同様にそれまでコンデンサC1に蓄えられていた電荷量による電圧(=V1)まで上昇する。それに伴い、分圧回路22から第1制御回路32に出力される選択電圧Vaも一旦上昇する。   On the other hand, in the D / A conversion circuit 31 of the present embodiment, when the switch SW9a is switched to the switch SW9c at time t1, the potential V (N3) of the node N3 in FIG. It rises to a voltage (= V1) due to the amount of charge stored in. Along with this, the selection voltage Va output from the voltage dividing circuit 22 to the first control circuit 32 also rises once.

その後、コンデンサC1に蓄えられた電荷は、第3抵抗R3及び第3の電流源33を介して第2電源線L2に流れ出し、該コンデンサC1はディスチャージされる。従って、コンデンサC1から流れ出す単位時間あたりの電荷量は、従来のそれよりも多くなる。これにより、ノードN6の電位は、図7に実線で示すように、所定の電位まで従来よりも早く低下する。そして、従来の時刻t2よりも早い時刻t3において、ノードN6の電位はノードN3の電位まで低下し安定する。そのため、スイッチSW9a,SW9cを切り替えてからノードN6の電位が所望の電位になるまでに要する時間Δt2(=t3−t1)が従来に比べて短くなる。即ち、D/A変換回路31の動作速度は、従来のそれに比べて速くなる。   Thereafter, the charge stored in the capacitor C1 flows out to the second power supply line L2 through the third resistor R3 and the third current source 33, and the capacitor C1 is discharged. Therefore, the amount of electric charge per unit time flowing out from the capacitor C1 is larger than that in the past. As a result, the potential of the node N6 drops to a predetermined potential faster than before, as indicated by a solid line in FIG. Then, at time t3 earlier than the conventional time t2, the potential of the node N6 drops to the potential of the node N3 and becomes stable. Therefore, the time Δt2 (= t3−t1) required from when the switches SW9a and SW9c are switched until the potential of the node N6 becomes a desired potential is shorter than that in the related art. That is, the operation speed of the D / A conversion circuit 31 is faster than that of the conventional one.

このことは、スイッチSW9a〜SW9cの切り替え時に生じるグリッジのエネルギーを小さくする。グリッジのエネルギーは、例えばグリッジの波形の面積によりその大きさを規定する。従って、グリッジは、グリッジが発生している時間が同じであれば、ピーク電圧が高いほどエネルギーが高いといえる。また、グリッジは、ピーク電圧が同じであれば、グリッジが発生している時間が長いほどエネルギーが高いといえる。   This reduces the energy of the glitch that occurs when the switches SW9a to SW9c are switched. The magnitude of the energy of the glitch is determined by the area of the waveform of the glitch, for example. Therefore, it can be said that the glitch has higher energy as the peak voltage is higher if the time during which the glitch is generated is the same. In addition, if the glitch has the same peak voltage, it can be said that the longer the glitch is generated, the higher the energy.

そして、本実施形態のD/A変換回路31は、スイッチSW9a〜SW9cの切り替え時にノードN6における電位の変化量は、従来のそれと同じである。従って、グリッジのピーク電圧は従来と本実施形態において同じ値になる。   In the D / A conversion circuit 31 of this embodiment, the amount of change in potential at the node N6 when switching the switches SW9a to SW9c is the same as that in the related art. Therefore, the peak voltage of the glitch has the same value in the present embodiment as in the prior art.

一方、本実施形態のD/A変換回路31は、ノードN6の電圧が安定するまでの時間Δt2(=t3−t1)は、従来の時間Δt1に比べて短い。従って、グリッジが発生している時間は、本実施形態のD/A変換回路31の方が従来に比べて短くなる。   On the other hand, in the D / A conversion circuit 31 of this embodiment, the time Δt2 (= t3−t1) until the voltage of the node N6 is stabilized is shorter than the conventional time Δt1. Therefore, the time during which the glitch is generated is shorter in the D / A conversion circuit 31 of the present embodiment than in the conventional case.

従って、本実施形態のD/A変換回路31は、従来のそれに比べて動作時間が短い。そのため、グリッジのエネルギーは従来のD/A変換回路に比べて小さくなる。
尚、上記第二実施形態において、図8に示すように、第1,第2の電流源27,28を第2電源線L2に接続し、第3,第4の電流源33,34を第1電源線L1に接続する構成としてもよい。即ち、第1,第2の電流源27,28をそれぞれNMOSトランジスタよりなる第3,第4トランジスタTr3,Tr4を含む構成とする。第3,第4の電流源33,34をそれぞれPチャネルMOSトランジスタよりなる第6,第7トランジスタTr6,Tr7を含む構成とする。
Therefore, the operation time of the D / A conversion circuit 31 of this embodiment is shorter than that of the conventional one. Therefore, the energy of the glitch is smaller than that of the conventional D / A conversion circuit.
In the second embodiment, as shown in FIG. 8, the first and second current sources 27 and 28 are connected to the second power supply line L2, and the third and fourth current sources 33 and 34 are connected to the second power source line L2. It is good also as a structure connected to 1 power supply line L1. That is, the first and second current sources 27 and 28 include third and fourth transistors Tr3 and Tr4 made of NMOS transistors, respectively. The third and fourth current sources 33 and 34 include sixth and seventh transistors Tr6 and Tr7 each made of a P-channel MOS transistor.

第1,第2の電流源27,28は、図6の差動増幅回路25にて制御された第1トランジスタTr1に流れる電流Iaと同じ値の電流Ib,IcをそれぞれノードN1,N3から第2電源線L2に流す。第3,第4の電流源33,34は、定電流回路35に流れる電流Idと同じ値の電流Ie,IfをそれぞれノードN1,N3に供給する。   The first and second current sources 27 and 28 receive currents Ib and Ic having the same value as the current Ia flowing through the first transistor Tr1 controlled by the differential amplifier circuit 25 of FIG. 6 from the nodes N1 and N3, respectively. Two power lines L2. The third and fourth current sources 33 and 34 supply currents Ie and If having the same value as the current Id flowing through the constant current circuit 35 to the nodes N1 and N3, respectively.

図14は、第二実施形態の詳細な回路図の一例を示す。このD/A変換回路は、第1〜第4の電流源27,28,33,34を図8のように接続した場合を示す。尚、図14に示すD/A変換回路は、図6に示す第2抵抗R2を第3抵抗R3の両側、即ち、第1,第3抵抗R1,R3の間と第3,第4抵抗R3,R4の間にそれぞれ7個づつ設けて構成した例が示されている。尚、図14に示すD/A変換回路は、図では省略してあるが、図6のスイッチSW9は16個のスイッチにて構成される。従って、図14のD/A変換回路は、下位3ビットと上位4ビットよりなるデジタル信号Dinに対応する。尚、図14には、上記実施形態におけるスイッチSW9,コンデンサC1,デコーダ23,第2増幅回路29を省略してある。   FIG. 14 shows an example of a detailed circuit diagram of the second embodiment. This D / A conversion circuit shows a case where the first to fourth current sources 27, 28, 33, and 34 are connected as shown in FIG. In the D / A conversion circuit shown in FIG. 14, the second resistor R2 shown in FIG. 6 is connected to both sides of the third resistor R3, that is, between the first and third resistors R1 and R3 and the third and fourth resistors R3. , R4 are provided in an example of seven each. The D / A conversion circuit shown in FIG. 14 is omitted in the figure, but the switch SW9 in FIG. 6 is composed of 16 switches. Accordingly, the D / A conversion circuit of FIG. 14 corresponds to a digital signal Din composed of lower 3 bits and upper 4 bits. In FIG. 14, the switch SW9, the capacitor C1, the decoder 23, and the second amplifier circuit 29 in the above embodiment are omitted.

ところで、第一,第二実施形態のD/A変換回路21,31において、入力されるデジタル信号Dinに対して出力するアナログ信号Aoutの電圧が安定するまでの時間、即ち、動作速度は、分圧回路22へ電流Ib,Icを供給する第1,第2の電流源27,28を制御する第1制御回路24、32の動作速度、詳しくは電流Iaを流す第1トランジスタTr1を制御する第1差動増幅回路25の動作速度に起因する。そのため、第1差動増幅回路25は、安定した動作速度が要求される。   By the way, in the D / A conversion circuits 21 and 31 of the first and second embodiments, the time until the voltage of the analog signal Aout to be output with respect to the input digital signal Din is stabilized, that is, the operation speed is The operating speed of the first control circuits 24 and 32 for controlling the first and second current sources 27 and 28 for supplying the currents Ib and Ic to the voltage circuit 22, more specifically, the first transistor Tr1 for controlling the first transistor Tr1 for flowing the current Ia. 1 due to the operating speed of the differential amplifier circuit 25. For this reason, the first differential amplifier circuit 25 is required to have a stable operation speed.

第1差動増幅回路25の動作速度は、図3の定電流源25aによる内部のバイアス電流の電流値に依存する。そのバイアス電流の値は、電源電圧の変動が大きく影響する。従って、第1差動増幅回路25は、電源電圧が変動しても、安定したバイアス電流を供給する定電流源が要求される。そのような定電流回路の一例を図9に示す。   The operation speed of the first differential amplifier circuit 25 depends on the current value of the internal bias current by the constant current source 25a of FIG. The value of the bias current is greatly affected by fluctuations in the power supply voltage. Therefore, the first differential amplifier circuit 25 is required to be a constant current source that supplies a stable bias current even if the power supply voltage fluctuates. An example of such a constant current circuit is shown in FIG.

定電流回路41は、図3に示す第1差動増幅回路25に設けられた抵抗よりなる定電流回路25aに置き換えて用いられる。尚、この定電流回路41を図8の電流源35として用いてもよい。また、定電流回路41を構成するPチャネルMOSトランジスタをNチャネルMOSトランジスタに、NチャネルMOSトランジスタをPチャネルMOSトランジスタに置き換えると共に、高電位電源VDDと低電位電源VSSの供給を逆にした回路構成としてもよい。この構成による定電流回路は、図8の電流源35に置き換えられる。   The constant current circuit 41 is used in place of the constant current circuit 25a made of a resistor provided in the first differential amplifier circuit 25 shown in FIG. The constant current circuit 41 may be used as the current source 35 in FIG. Further, the P channel MOS transistor constituting the constant current circuit 41 is replaced with an N channel MOS transistor, the N channel MOS transistor is replaced with a P channel MOS transistor, and the supply of the high potential power supply VDD and the low potential power supply VSS is reversed. It is good. The constant current circuit having this configuration is replaced with the current source 35 of FIG.

図9の定電流回路41は、ゲートが接続された第1,第2NMOSトランジスタTN1,TN2を含む。第2NMOSトランジスタTN2は、第1NMOSトランジスタTN1のn倍の素子サイズを有する。第1NMOSトランジスタTN1のソースは低電位電源VSSを供給するための第2電源線L2に接続されている。第2NMOSトランジスタTN2のソースは第1抵抗R11を介して第2電源線L2に接続されている。   The constant current circuit 41 of FIG. 9 includes first and second NMOS transistors TN1 and TN2 having gates connected thereto. The second NMOS transistor TN2 has an element size n times that of the first NMOS transistor TN1. The source of the first NMOS transistor TN1 is connected to the second power supply line L2 for supplying the low potential power supply VSS. The source of the second NMOS transistor TN2 is connected to the second power supply line L2 via the first resistor R11.

第1,第2NMOSトランジスタTN1,TN2のドレインは、カレントミラー回路を構成する一対の第1,第2PMOSトランジスタTP1,TP2のドレインにそれぞれ接続されている。第1PMOSトランジスタTP1のソースは第2PMOSトランジスタTP2のソースに接続され、その接続点は電流源42を介して高電位電源VDDを供給するための第1電源線L1に接続されている。前記第1,第2NMOSトランジスタTN1,TN2のドレインは、一対の第3,第4PMOSトランジスタTP3,TP4のゲートにそれぞれ接続されている。   The drains of the first and second NMOS transistors TN1 and TN2 are respectively connected to the drains of a pair of first and second PMOS transistors TP1 and TP2 constituting a current mirror circuit. The source of the first PMOS transistor TP1 is connected to the source of the second PMOS transistor TP2, and the connection point is connected to the first power supply line L1 for supplying the high potential power supply VDD via the current source. The drains of the first and second NMOS transistors TN1 and TN2 are connected to the gates of a pair of third and fourth PMOS transistors TP3 and TP4, respectively.

第3PMOSトランジスタTP3のソースは第4PMOSトランジスタTP4のソースに接続され、その接続点は定電流源43を介して第1電源線L1に接続されている。前記第3,第4PMOSトランジスタTP3,TP4のドレインは、カレントミラー回路を構成する一対の第3,第4NMOSトランジスタTN3,TN4のドレインにそれぞれ接続されている。第3,第4NMOSトランジスタTN3,TN4のソースは、第2電源線L2に接続されている。これら一対のNMOSトランジスタTN3,TN4、一対のPMOSトランジスタTP3,TP4、定電流源43は、差動回路としての差動増幅回路44を形成する。   The source of the third PMOS transistor TP3 is connected to the source of the fourth PMOS transistor TP4, and the connection point is connected to the first power supply line L1 via the constant current source 43. The drains of the third and fourth PMOS transistors TP3 and TP4 are respectively connected to the drains of a pair of third and fourth NMOS transistors TN3 and TN4 constituting a current mirror circuit. The sources of the third and fourth NMOS transistors TN3 and TN4 are connected to the second power supply line L2. The pair of NMOS transistors TN3 and TN4, the pair of PMOS transistors TP3 and TP4, and the constant current source 43 form a differential amplifier circuit 44 as a differential circuit.

前記第3NMOSトランジスタTN3のドレインは第3,第4NMOSトランジスタTN3,TN4のゲートに接続されている。第4NMOSトランジスタTN4のドレインは第5NMOSトランジスタTN5のゲートに接続されている。   The drain of the third NMOS transistor TN3 is connected to the gates of the third and fourth NMOS transistors TN3 and TN4. The drain of the fourth NMOS transistor TN4 is connected to the gate of the fifth NMOS transistor TN5.

第5NMOSトランジスタTN5のソースは第2電源線L2に接続され、ドレインは第5PMOSトランジスタTP5のドレインに接続されている。第5PMOSトランジスタTP5のソースは第1電源線L1に接続されている。第5PMOSトランジスタTP5のゲートは同トランジスタTP5のドレインに接続されている。また、第5PMOSトランジスタTP5のゲートは、前記定電流回路(電流源)42に接続されている。   The source of the fifth NMOS transistor TN5 is connected to the second power supply line L2, and the drain is connected to the drain of the fifth PMOS transistor TP5. The source of the fifth PMOS transistor TP5 is connected to the first power supply line L1. The gate of the fifth PMOS transistor TP5 is connected to the drain of the transistor TP5. The gate of the fifth PMOS transistor TP5 is connected to the constant current circuit (current source) 42.

定電流回路42は、本実施形態では第6PMOSトランジスタTP6にて構成されている。第6PMOSトランジスタTP6のソースは第1電源線L1に接続され、同トランジスタTP6のドレインは前記カレントミラー回路を構成する一対の第1,第2PMOSトランジスタTP1,TP2のソースに接続されている。前記第5PMOSトランジスタTP5のゲートは第6PMOSトランジスタTP6のゲートに接続されている。この第5,第6PMOSトランジスタTP5,TP6は、カレントミラー回路を形成する。   In the present embodiment, the constant current circuit 42 is configured by a sixth PMOS transistor TP6. The source of the sixth PMOS transistor TP6 is connected to the first power supply line L1, and the drain of the transistor TP6 is connected to the sources of the pair of first and second PMOS transistors TP1 and TP2 constituting the current mirror circuit. The gate of the fifth PMOS transistor TP5 is connected to the gate of the sixth PMOS transistor TP6. The fifth and sixth PMOS transistors TP5 and TP6 form a current mirror circuit.

第6PMOSトランジスタTP6のドレインは、第2,第3抵抗R12,R13を介して第2電源線L2に接続されている。第2,第3抵抗R12,R13の接続点であるノードN11は、前記第1,第2NMOSトランジスタTN1,TN2のゲートに接続されている。また、ノードN11は、第6NMOSトランジスタTN6のゲートに接続されている。第6NMOSトランジスタTN6のソースは第2電源線L2に接続されている。第6NMOSトランジスタTN6のドレインは、出力端子45に接続されている。   The drain of the sixth PMOS transistor TP6 is connected to the second power supply line L2 via the second and third resistors R12 and R13. A node N11, which is a connection point between the second and third resistors R12 and R13, is connected to the gates of the first and second NMOS transistors TN1 and TN2. The node N11 is connected to the gate of the sixth NMOS transistor TN6. The source of the sixth NMOS transistor TN6 is connected to the second power supply line L2. The drain of the sixth NMOS transistor TN6 is connected to the output terminal 45.

前記第2,第3抵抗R12,R13は、それぞれの抵抗値により前記第6PMOSトランジスタTP6のドレインにおける電位と第2電源線L2により供給を受ける低電位電源VSSとの間の電位差を分圧した分圧電圧を生成する分圧回路として動作する。この分圧回路は、ノードN11の電圧を第1,第2NMOSトランジスタTN1,TN2のゲート、及び第6NMOSトランジスタTN6のゲートに供給する。   The second and third resistors R12 and R13 are obtained by dividing the potential difference between the potential at the drain of the sixth PMOS transistor TP6 and the low potential power supply VSS supplied by the second power supply line L2 according to the respective resistance values. It operates as a voltage dividing circuit that generates a voltage. This voltage dividing circuit supplies the voltage of the node N11 to the gates of the first and second NMOS transistors TN1 and TN2 and the gate of the sixth NMOS transistor TN6.

次に、上記の定電流回路41の動作を図10〜図13を用いて説明する。
図10は、定電流回路41の第1原理説明図である。
上記したように、第2NMOSトランジスタTN2は、第1NMOSトランジスタTN1のn倍の素子サイズを有している。また、第2NMOSトランジスタTN2のソースは第1抵抗R11を介して第2の電源線L2、即ち第1NMOSトランジスタTN1のソースに接続されている。そして、第1,第2NMOSトランジスタTN1,TN2のゲートには可変電圧源からゲート電圧VGが供給される。
Next, the operation of the constant current circuit 41 will be described with reference to FIGS.
FIG. 10 is a first principle explanatory diagram of the constant current circuit 41.
As described above, the second NMOS transistor TN2 has an element size n times that of the first NMOS transistor TN1. The source of the second NMOS transistor TN2 is connected to the second power supply line L2, that is, the source of the first NMOS transistor TN1 via the first resistor R11. The gate voltage VG is supplied from the variable voltage source to the gates of the first and second NMOS transistors TN1 and TN2.

図11は、ゲート電圧VGに対して第1,第2NMOSトランジスタTN1,TN2に流れるドレイン電流を示す。第2NMOSトランジスタTN2は、第1NMOSトランジスタTN1に比べて第1抵抗R1,素子サイズに基づいて特性の傾きが異なる。図11から明らかなように、第1,第2NMOSトランジスタTN1,TN2は、ゲート電圧VG1に対して同一値のドレイン電流を流す。   FIG. 11 shows drain currents flowing through the first and second NMOS transistors TN1 and TN2 with respect to the gate voltage VG. The second NMOS transistor TN2 has a characteristic gradient different from that of the first NMOS transistor TN1 based on the first resistance R1 and the element size. As is apparent from FIG. 11, the first and second NMOS transistors TN1 and TN2 cause the drain current having the same value to flow with respect to the gate voltage VG1.

しかしながら、第1,第2NMOSトランジスタTN1,TN2に流れるドレイン電流の値は、それぞれトランジスタTN1,TN2のドレインにおける電圧値、即ち、高電位電源VDDの影響を受ける。従って、第1,第2NMOSトランジスタTN1,TN2のドレイン電流を一定にするため、両トランジスタTN1,TN2のドレイン電圧は高電位電源VDDの変動の影響がないようにする必要がある。   However, the value of the drain current flowing through the first and second NMOS transistors TN1 and TN2 is affected by the voltage value at the drain of the transistors TN1 and TN2, that is, the high potential power supply VDD. Therefore, in order to make the drain currents of the first and second NMOS transistors TN1 and TN2 constant, the drain voltages of both the transistors TN1 and TN2 need not be affected by the fluctuation of the high potential power supply VDD.

図12は、上記の問題を解消した第2原理説明図である。
第1,第2NMOSトランジスタTN1,TN2のドレインは、それぞれカレントミラーを構成する一対の第1,第2PMOSトランジスタTP1,TP2のドレインに接続されている。この第1,第2PMOSトランジスタTP1,TP2は、ソースに接続された電流源42から電流Iaの供給を受ける。この電流源42は、前記第1NMOSトランジスタTN1のゲート−ソース間に接続されたインピーダンス素子としての第3抵抗R13に第2抵抗R12を介して電流を供給する。
FIG. 12 is a diagram illustrating the second principle in which the above problem has been solved.
The drains of the first and second NMOS transistors TN1 and TN2 are respectively connected to the drains of a pair of first and second PMOS transistors TP1 and TP2 constituting a current mirror. The first and second PMOS transistors TP1 and TP2 receive the current Ia from the current source 42 connected to the source. The current source 42 supplies current to the third resistor R13 as an impedance element connected between the gate and source of the first NMOS transistor TN1 via the second resistor R12.

第2,第3抵抗R12,R13の間のノードN11は、第1,第2NMOSトランジスタTN1,TN2のゲートに接続されている。従って、第1,第2NMOSトランジスタTN1,TN2のゲートに供給される電圧値は、第3抵抗R13の抵抗値と、その第3抵抗R13に流れる電流I13の値により決定される。同様に、第1,第2PMOSトランジスタTP1,TP2のソースが接続されたノードN12の電圧値は、電流I13の値と第2抵抗R12の抵抗値により決定される。   A node N11 between the second and third resistors R12 and R13 is connected to the gates of the first and second NMOS transistors TN1 and TN2. Therefore, the voltage value supplied to the gates of the first and second NMOS transistors TN1 and TN2 is determined by the resistance value of the third resistor R13 and the value of the current I13 flowing through the third resistor R13. Similarly, the voltage value of the node N12 to which the sources of the first and second PMOS transistors TP1 and TP2 are connected is determined by the value of the current I13 and the resistance value of the second resistor R12.

従って、第1,第2NMOSトランジスタTN1,TN2のゲート電圧、即ち、ノードN11における電圧を決定することは、ノードN12、即ち、第1,第2PMOSトランジスタTP1,TP2のソースにおける電圧を決定する。この、ノードN12の電圧は、高電位電源VDDの変動による影響を受けない。   Accordingly, determining the gate voltages of the first and second NMOS transistors TN1 and TN2, ie, the voltage at the node N11, determines the voltage at the node N12, ie, the sources of the first and second PMOS transistors TP1 and TP2. The voltage at the node N12 is not affected by fluctuations in the high potential power supply VDD.

即ち、上記第1原理説明図で述べたように、所定のゲート電圧VG1に対して、第1,第2NMOSトランジスタTN1,TN2は、同一値の電流を流す。このゲート電圧VG1は、電流源42の供給する電流Iaにより決定される。   That is, as described in the first principle explanatory diagram, the first and second NMOS transistors TN1 and TN2 pass the same value current with respect to the predetermined gate voltage VG1. The gate voltage VG1 is determined by the current Ia supplied from the current source 42.

第1,第2NMOSトランジスタTN1,TN2に流れる同一値の電流は、カレントミラー回路を構成する第1,第2PMOSトランジスタTP1,TP2に流れる電流値を同一にする。その第1,第2PMOSトランジスタTP1,TP2は、ソースが共通に接続されている。また、第1,第2PMOSトランジスタTP1,TP2は、同じ素子サイズに形成されるとともに、同一のゲート電圧が印加されている。従って、第1,第2PMOSトランジスタTP1,TP2のドレイン電圧は同一値となる。   The same current value flowing in the first and second NMOS transistors TN1 and TN2 makes the current value flowing in the first and second PMOS transistors TP1 and TP2 constituting the current mirror circuit the same. The sources of the first and second PMOS transistors TP1 and TP2 are connected in common. The first and second PMOS transistors TP1 and TP2 are formed to have the same element size, and the same gate voltage is applied. Accordingly, the drain voltages of the first and second PMOS transistors TP1 and TP2 have the same value.

従って、電流源42が図13の電流Ia1を流すことは、第1,第2NMOSトランジスタTN1,TN2に流れる電流、即ち両トランジスタTN1,TN2のドレイン電圧を同一値にする。換言すれば、第1,第2NMOSトランジスタTN1,TN2のドレイン電圧が同じとなるように電流源42が供給する電流Iaを制御する事で、両NMOSトランジスタTN1,TN2のゲート電圧に対する高電位電源VDDの変動による影響をなくすことができる。   Therefore, when the current source 42 supplies the current Ia1 of FIG. 13, the currents flowing through the first and second NMOS transistors TN1 and TN2, that is, the drain voltages of both the transistors TN1 and TN2 are set to the same value. In other words, by controlling the current Ia supplied from the current source 42 so that the drain voltages of the first and second NMOS transistors TN1 and TN2 are the same, the high-potential power supply VDD with respect to the gate voltages of both NMOS transistors TN1 and TN2. It is possible to eliminate the influence of fluctuations.

即ち、図9に示すように、第1,第2NMOSトランジスタTN1,TN2のドレイン電圧を、それぞれ差動増幅回路44を構成する第3,第4PMOSトランジスタTP3,TP4のゲートに供給する。差動増幅回路44は、第1,第2NMOSトランジスタTN1,TN2のドレイン電圧を一致させるように第5NMOSトランジスタTN5のゲート電圧を制御する。第5NMOSトランジスタTN5は、そのゲート電圧に応答して電流を流し、第5,第6PMOSトランジスタTP5,TP6は、第5NMOSトランジスタTN5に流れる電流と同一値の電流Iaを流す。即ち、差動増幅回路44は、第1,第2NMOSトランジスタTN1,TN2のドレイン電圧を一致させるように電流源42に流れる電流Iaを制御する。   That is, as shown in FIG. 9, the drain voltages of the first and second NMOS transistors TN1 and TN2 are supplied to the gates of the third and fourth PMOS transistors TP3 and TP4 constituting the differential amplifier circuit 44, respectively. The differential amplifier circuit 44 controls the gate voltage of the fifth NMOS transistor TN5 so that the drain voltages of the first and second NMOS transistors TN1 and TN2 are matched. The fifth NMOS transistor TN5 passes a current in response to the gate voltage, and the fifth and sixth PMOS transistors TP5 and TP6 pass a current Ia having the same value as the current flowing through the fifth NMOS transistor TN5. That is, the differential amplifier circuit 44 controls the current Ia flowing through the current source 42 so that the drain voltages of the first and second NMOS transistors TN1 and TN2 are matched.

差動増幅回路44は、第1,第2NMOSトランジスタTN1,TN2のドレイン電流IN1,IN2がIN1>IN2の関係にあるとき、第6PMOSトランジスタTP6のドレイン電流Iaを増加させる。逆に、差動増幅回路44は、第1,第2NMOSトランジスタTN1,TN2のドレイン電流IN1,IN2がIN1<IN2の関係にあるとき、第6PMOSトランジスタTP6のドレイン電流Iaを減少させる。これにより、第6PMOSトランジスタTP6のドレイン電流Iaは、第1,第2NMOSトランジスタTN1,TN2のドレイン電流IN1,IN2がIN1=IN2のときに安定する。このとき第6PMOSトランジスタTP6のドレイン電流Iaは、高電位電源VDDの変動の影響を受けない。   The differential amplifier circuit 44 increases the drain current Ia of the sixth PMOS transistor TP6 when the drain currents IN1 and IN2 of the first and second NMOS transistors TN1 and TN2 are in a relationship of IN1> IN2. Conversely, the differential amplifier circuit 44 reduces the drain current Ia of the sixth PMOS transistor TP6 when the drain currents IN1 and IN2 of the first and second NMOS transistors TN1 and TN2 are in a relationship of IN1 <IN2. As a result, the drain current Ia of the sixth PMOS transistor TP6 is stabilized when the drain currents IN1 and IN2 of the first and second NMOS transistors TN1 and TN2 are IN1 = IN2. At this time, the drain current Ia of the sixth PMOS transistor TP6 is not affected by the fluctuation of the high potential power supply VDD.

そして、ドレイン電流Iaは、ノードN11の電圧を決定し、第6NMOSトランジスタTN6はノードN11の電圧に応じた電流を流す。これにより、第6NMOSトランジスタTN6に流れる電流は高電位電源VDDの変動による影響を受けない。そして、この第6NMOSトランジスタTN6に流れる電流は、定電流回路41の出力電流Ioutとして出力される。   The drain current Ia determines the voltage at the node N11, and the sixth NMOS transistor TN6 passes a current according to the voltage at the node N11. As a result, the current flowing through the sixth NMOS transistor TN6 is not affected by fluctuations in the high potential power supply VDD. The current flowing through the sixth NMOS transistor TN6 is output as the output current Iout of the constant current circuit 41.

上記のように構成された定電流回路41の出力電流Ioutは、図2,6の第1差動増幅回路25のバイアス電流の供給に用いられる。これにより、第1差動増幅回路25は、バイアス電流が安定して供給されるため、動作速度が安定する。   The output current Iout of the constant current circuit 41 configured as described above is used to supply the bias current of the first differential amplifier circuit 25 of FIGS. Thereby, since the bias current is stably supplied to the first differential amplifier circuit 25, the operation speed is stabilized.

図15〜18は、図9の定電流回路41を含む第二実施形態の詳細な回路の第2例を示す。これにより、D/A変換回路の動作速度の安定化及びグリッジエネルギーの低減が図られている。   15 to 18 show a second example of a detailed circuit of the second embodiment including the constant current circuit 41 of FIG. As a result, the operation speed of the D / A conversion circuit is stabilized and the glitch energy is reduced.

尚、図15〜18に示す回路は、図6に示す第3抵抗R3を8個用いて構成した例が示されている。従って、図15〜18に示すD/A変換回路は、下位3ビットと上位4ビットよりなるデジタル信号Dinに対応する。尚、図15〜図17には、上記実施形態におけるスイッチSW9,コンデンサC1,第2増幅回路29,デコーダ23を省略してある。   In addition, the circuit shown to FIGS. 15-18 has shown the example comprised using eight 3rd resistance R3 shown in FIG. Accordingly, the D / A conversion circuits shown in FIGS. 15 to 18 correspond to the digital signal Din composed of the lower 3 bits and the upper 4 bits. 15 to 17, the switch SW9, the capacitor C1, the second amplifier circuit 29, and the decoder 23 in the above embodiment are omitted.

以上記述したように、本実施形態によれば、第一実施形態における(1),(2)の効果に加えて以下の効果を奏する。
(3)第1,第2の電流源27,28に対して、同一方向に常に電流を流す第3,第4の電流源33,34を接続した。第3,第4の電流源33,34は、選択電圧Vaを低下させるように作用する。これにより、各抵抗R1〜R4の設定誤差により選択電圧Vaが基準電圧Vrefより高くなっても、第3,第4の電流源33,34が選択電圧Vaを基準電圧Vrefより低くする。その結果、第1,第2の電流源27,28は、選択電圧Vaを基準電圧Vrefと一致させるように動作する事ができるため、精度誤差を無くすることができる。
As described above, according to this embodiment, in addition to the effects (1) and (2) in the first embodiment, the following effects can be obtained.
(3) The third and fourth current sources 33 and 34 that always flow current in the same direction are connected to the first and second current sources 27 and 28. The third and fourth current sources 33 and 34 act to lower the selection voltage Va. Thereby, even if the selection voltage Va becomes higher than the reference voltage Vref due to setting errors of the resistors R1 to R4, the third and fourth current sources 33 and 34 make the selection voltage Va lower than the reference voltage Vref. As a result, the first and second current sources 27 and 28 can operate so that the selection voltage Va coincides with the reference voltage Vref, so that an accuracy error can be eliminated.

(4)分圧回路22のノードN1,N3に第3,第4の電流源33,34を接続し、それらのノードN1,N3から定電流Ie,Ifを第2電源線L2に流すようにしている。そのため、デジタル信号Dinの上位2ビットの信号D4,D3に基づいて、スイッチSW9a〜SW9cを切り替えた時にアナログ信号Aoutが所望の電圧に低下して安定するまでの時間を従来に比べて短縮することができる。このことは、スイッチSW9a〜Sw9cの切り替え時に生じるグリッジのエネルギーを減少させることができる。   (4) The third and fourth current sources 33 and 34 are connected to the nodes N1 and N3 of the voltage dividing circuit 22, and the constant currents Ie and If are allowed to flow from the nodes N1 and N3 to the second power supply line L2. ing. Therefore, when the switches SW9a to SW9c are switched based on the upper two bits of the signals D4 and D3 of the digital signal Din, the time until the analog signal Aout decreases to a desired voltage and stabilizes is shortened compared to the conventional case. Can do. This can reduce the glitch energy generated when the switches SW9a to Sw9c are switched.

(第三実施形態)
以下、本発明を具体化した第三実施形態を図18〜図20に従って説明する。
図18は、本発明を具体化した電流発生回路の回路図である。電流発生回路51は、第1,第2分圧回路52,53、差動増幅回路54、第1,第2,第3の電流源55,56,57を備えている。
(Third embodiment)
Hereinafter, a third embodiment of the present invention will be described with reference to FIGS.
FIG. 18 is a circuit diagram of a current generation circuit embodying the present invention. The current generation circuit 51 includes first and second voltage dividing circuits 52 and 53, a differential amplifier circuit 54, and first, second and third current sources 55, 56 and 57.

第1分圧回路52は、複数(本実施形態では8個)の抵抗R31〜R38にて構成される。抵抗R31〜R38は、高電位電源VDDの第1電源線L1と低電位電源VSSの第2電源線L2の間に直列接続されている。抵抗R34,R35間のノードN31は、差動増幅回路54に接続されている。   The first voltage dividing circuit 52 includes a plurality (eight in this embodiment) of resistors R31 to R38. The resistors R31 to R38 are connected in series between the first power supply line L1 of the high potential power supply VDD and the second power supply line L2 of the low potential power supply VSS. A node N31 between the resistors R34 and R35 is connected to the differential amplifier circuit 54.

各抵抗R31〜R38は、全て同じ抵抗値を有する。従って、ノードN31の電位は、第1電源線L1の電位(高電位電源VDD)と第2電源線L2の電位(低電位電源VSS)の中間の電位(=(VDD−VSS)/2)となる。   Each of the resistors R31 to R38 has the same resistance value. Therefore, the potential of the node N31 is an intermediate potential (= (VDD−VSS) / 2) between the potential of the first power supply line L1 (high potential power supply VDD) and the potential of the second power supply line L2 (low potential power supply VSS). Become.

第2分圧回路53は、複数(本実施形態では8個)の抵抗R41〜R48にて構成される。抵抗R41〜R48は、第1電源線L1と第2電源線L2の間に直列接続されている。   The second voltage dividing circuit 53 includes a plurality (eight in this embodiment) of resistors R41 to R48. The resistors R41 to R48 are connected in series between the first power supply line L1 and the second power supply line L2.

各抵抗R41〜R48は、全て同じ抵抗値を有する。従って、第1電源線L1とノードN34の間に接続された抵抗R41,R42を合成した抵抗値と、第2電源線L2とノードN35の間に接続された抵抗R47,R48を合成した抵抗値は同じ値になる。即ち、第1電源線L1とノードN32の間と第2電源線L2とノードN33の間には、同じ抵抗値の抵抗(合成抵抗)が接続されていることになる。   Each of the resistors R41 to R48 has the same resistance value. Therefore, a resistance value obtained by synthesizing the resistors R41 and R42 connected between the first power supply line L1 and the node N34 and a resistance value obtained by synthesizing the resistors R47 and R48 connected between the second power supply line L2 and the node N35. Have the same value. That is, a resistor (combined resistor) having the same resistance value is connected between the first power supply line L1 and the node N32 and between the second power supply line L2 and the node N33.

抵抗R43,R44間のノードN32は、差動増幅回路54に接続されている。差動増幅回路54は、一対の第1,第2PMOSトランジスタTP11,TP12を含む。第1PMOSトランジスタTP11のゲートは前記第1分圧回路52のノードN31に接続されている。第2PMOSトランジスタTP12のゲートは前記第2分圧回路53のノードN32に接続されている。   A node N32 between the resistors R43 and R44 is connected to the differential amplifier circuit 54. The differential amplifier circuit 54 includes a pair of first and second PMOS transistors TP11 and TP12. The gate of the first PMOS transistor TP11 is connected to the node N31 of the first voltage dividing circuit 52. The gate of the second PMOS transistor TP12 is connected to the node N32 of the second voltage dividing circuit 53.

第1,第2PMOSトランジスタTP11,TP12のソースは共通に接続され、その接続点は電流源58を介して高電位電源VDDを供給するための第1電源線L1に接続されている。第1,第2PMOSトランジスタTP11,TP12のドレインは、それぞれ一対の第1,第2NMOSトランジスタTN11,TN12のドレインに接続されている。   The sources of the first and second PMOS transistors TP11 and TP12 are connected in common, and the connection point is connected to a first power supply line L1 for supplying a high potential power supply VDD through a current source 58. The drains of the first and second PMOS transistors TP11 and TP12 are connected to the drains of the pair of first and second NMOS transistors TN11 and TN12, respectively.

第1,第2NMOSトランジスタTN11,TN12のソースは低電位電源VSSを供給するための第2電源線L2に接続されている。第1NMOSトランジスタTN11のゲートは、第2NMOSトランジスタTN12のゲート及びドレインに接続されている。従って、第1,第2NMOSトランジスタTN11,TN12は、カレントミラー回路を形成する。   The sources of the first and second NMOS transistors TN11 and TN12 are connected to a second power supply line L2 for supplying a low potential power supply VSS. The gate of the first NMOS transistor TN11 is connected to the gate and drain of the second NMOS transistor TN12. Accordingly, the first and second NMOS transistors TN11 and TN12 form a current mirror circuit.

第1PMOSトランジスタTP11のドレインと第1NMOSトランジスタTN11のドレインが接続されたノードN33は、第1〜第3の電流源55〜57に接続されている。   A node N33 to which the drain of the first PMOS transistor TP11 and the drain of the first NMOS transistor TN11 are connected is connected to the first to third current sources 55 to 57.

第1〜第3の電流源55〜57は、本実施形態ではそれぞれNMOSトランジスタTN13〜TN15を含む。前記ノードN33は、各NMOSトランジスタTN13〜TN15のゲートに接続されている。各NMOSトランジスタTN13〜TN15のソースは第2電源線L2に接続されている。従って、第1〜第3の電流源55〜57は、同一値の電流I3a,I3b,I3cを流す。   In the present embodiment, the first to third current sources 55 to 57 include NMOS transistors TN13 to TN15, respectively. The node N33 is connected to the gates of the NMOS transistors TN13 to TN15. The sources of the NMOS transistors TN13 to TN15 are connected to the second power supply line L2. Accordingly, the first to third current sources 55 to 57 pass the currents I3a, I3b, and I3c having the same value.

第1の電流源55の第3NMOSトランジスタTN13のドレインは前記第2分圧回路53の抵抗R42,R43間のノードN34に接続されている。第1の電流源55は、ノードN33の電圧に応じた電流I3aをノードN34から第2電源線L2に流す。   The drain of the third NMOS transistor TN13 of the first current source 55 is connected to a node N34 between the resistors R42 and R43 of the second voltage dividing circuit 53. The first current source 55 causes a current I3a corresponding to the voltage at the node N33 to flow from the node N34 to the second power supply line L2.

第2の電流源56の第4NMOSトランジスタTN14のドレインは前記第2分圧回路53の抵抗R46,R47間のノードN35に接続されている。第2の電流源56は、ノードN33の電圧に応じた電流I3bをノードN35から第2電源線L2に流す。   The drain of the fourth NMOS transistor TN14 of the second current source 56 is connected to a node N35 between the resistors R46 and R47 of the second voltage dividing circuit 53. The second current source 56 allows a current I3b corresponding to the voltage at the node N33 to flow from the node N35 to the second power supply line L2.

次に、上記のように構成された電流発生回路51の作用を説明する。
差動増幅回路54は、一対の第1,第2PMOSトランジスタTP11,TP12のゲートに印加されるノードN31の電圧とノードN32の電圧の差に応じて第1,第2の電流源55,56の第3,第4NMOSトランジスタTN13,TN14のゲート電圧を制御する。第3,第4NMOSトランジスタTN13,TN14は、ゲート電圧に応じた電流I3a,I3bを流す。従って、第1,第2の電流源55,56は、ノードN31,N32の電圧差に応じた電流I3a,I3bを流す。
Next, the operation of the current generation circuit 51 configured as described above will be described.
The differential amplifying circuit 54 includes the first and second current sources 55 and 56 according to the difference between the voltage at the node N31 applied to the gates of the pair of first and second PMOS transistors TP11 and TP12 and the voltage at the node N32. The gate voltages of the third and fourth NMOS transistors TN13 and TN14 are controlled. The third and fourth NMOS transistors TN13 and TN14 pass currents I3a and I3b corresponding to the gate voltage. Accordingly, the first and second current sources 55 and 56 pass currents I3a and I3b corresponding to the voltage difference between the nodes N31 and N32.

第1電源線L1とノードN34間のインピーダンス(抵抗R41,R42の合成抵抗値)は、第2電源線L2とノードN35間のインピーダンス(抵抗R47,R48の合成抵抗値)と同じ値である。従って、前記第一実施形態で述べたように、第2分圧回路53のノードN34,N35における電圧は、両ノードN34,N35間の電位差を一定に保ったままで、第1,第2の電流源55,56に流れる電流I3a,I3bの電流値に応じて変更される。   The impedance between the first power supply line L1 and the node N34 (the combined resistance value of the resistors R41 and R42) is the same value as the impedance between the second power supply line L2 and the node N35 (the combined resistance value of the resistors R47 and R48). Therefore, as described in the first embodiment, the voltages at the nodes N34 and N35 of the second voltage dividing circuit 53 are the first and second currents while the potential difference between the nodes N34 and N35 is kept constant. It is changed according to the current values of the currents I3a and I3b flowing through the sources 55 and 56.

そして、本実施形態では、第1,第2の電流源55,56は、ノードN34,N35から低電位電源VSSの電位である第2電源線L2に電流を流すように接続されている。従って、差動増幅回路54は、ノードN31における分圧電圧と、ノードN32における分圧電圧とを一致させるように、第3,第4NMOSトランジスタTN13,TN14のゲート電圧を制御する。そして、ノードN31とノードN32における分圧電圧が一致すると、第1,第2の電流源55,56からノードN34,N35に供給される第1,第2の電流I3a,I3bは安定し一定値となる。   In the present embodiment, the first and second current sources 55 and 56 are connected so that current flows from the nodes N34 and N35 to the second power supply line L2, which is the potential of the low potential power supply VSS. Therefore, the differential amplifier circuit 54 controls the gate voltages of the third and fourth NMOS transistors TN13 and TN14 so that the divided voltage at the node N31 matches the divided voltage at the node N32. When the divided voltages at the node N31 and the node N32 match, the first and second currents I3a and I3b supplied from the first and second current sources 55 and 56 to the nodes N34 and N35 are stable and have a constant value. It becomes.

ノードN31,N32の電圧VN31 ,VN32 は、各抵抗R31〜R38,R41〜R48の抵抗値を「1」とすると、
VN31 =(VDD−VSS)・4/8+VSS
VN32 =(VDD−VSS)・5/8+VSS
となる。従って、差動増幅回路54は、両電圧VN31 ,VN32 の差電圧ΔV(=(VDD−VSS)/8)だけ第2分圧回路53の各ノードN32,N34,N35の電圧を低くするように動作する。
The voltages VN31 and VN32 of the nodes N31 and N32 are set to “1” when the resistance values of the resistors R31 to R38 and R41 to R48 are “1”.
VN31 = (VDD-VSS) · 4/8 + VSS
VN32 = (VDD-VSS) · 5/8 + VSS
It becomes. Accordingly, the differential amplifier circuit 54 reduces the voltages at the nodes N32, N34, and N35 of the second voltage dividing circuit 53 by the difference voltage ΔV (= (VDD−VSS) / 8) between the voltages VN31 and VN32. Operate.

このとき、第1,第2の電流源55,56に流れる電流I3a,I3bは、差電圧ΔVと、ノードN35と第2電源線L2の間のインピーダンスの積であるから、
I3a=I3b=((VDD−VSS)/8)/2
=(VDD−VSS)/16
となる。
At this time, the currents I3a and I3b flowing through the first and second current sources 55 and 56 are the product of the difference voltage ΔV and the impedance between the node N35 and the second power supply line L2.
I3a = I3b = ((VDD-VSS) / 8) / 2
= (VDD-VSS) / 16
It becomes.

そして、第3の電流源57は、第1,第2の電流源55,56における電流I3a,I3bと同じ値の電流I3cを流す。従って、電流I3cは、
I3c=I3a=I3b=(VDD−VSS)/16
となる。
The third current source 57 supplies a current I3c having the same value as the currents I3a and I3b in the first and second current sources 55 and 56. Therefore, the current I3c is
I3c = I3a = I3b = (VDD-VSS) / 16
It becomes.

この電流I3cは、電流発生回路51の出力電流Ioutとなる。この出力電流Ioutは、上記式から明らかなように、電源電圧の変化に対して直線的(リニア)に変化する特性(図20参照)となる。   This current I3c becomes the output current Iout of the current generation circuit 51. As is apparent from the above equation, the output current Iout has a characteristic (see FIG. 20) that changes linearly with respect to the change in the power supply voltage.

図19には、一般的な電流発生回路の回路図を示す。
この電流発生回路61は、カレントミラー回路を構成する一対のNMOSトランジスタTN21,TN22と抵抗R61にて構成されている。この電流発生回路61は、出力端子62から電流Iout2を出力する。この電流Iout2は、抵抗R61の抵抗値をRn、NMOSトランジスタTN21のゲート−ソース間電圧をVgsとすると、
Iout2=((VDD−VSS)−Vgs)/Rn
となる。
FIG. 19 shows a circuit diagram of a general current generating circuit.
The current generation circuit 61 is composed of a pair of NMOS transistors TN21 and TN22 and a resistor R61 that constitute a current mirror circuit. The current generation circuit 61 outputs a current Iout2 from the output terminal 62. This current Iout2 is represented by a resistance value Rn of the resistor R61 and a gate-source voltage of the NMOS transistor TN21 as Vgs.
Iout2 = ((VDD-VSS) -Vgs) / Rn
It becomes.

NMOSトランジスタTN21のゲート−ソース間電圧Vgsは、該トランジスタTN21のドレイン電流とドレイン電圧によって変化する。そのため、出力電流Iout2は、図20に一点鎖線で示すように、電源電圧の変化に対してリニアに変化しない。このことは、出力電流Iout2の設定にNMOSトランジスタTN21の特性を考慮することを要求するため、所望の値の出力電流Iout2を得ることを困難にする。   The gate-source voltage Vgs of the NMOS transistor TN21 varies depending on the drain current and drain voltage of the transistor TN21. Therefore, the output current Iout2 does not change linearly with respect to the change in the power supply voltage, as indicated by a one-dot chain line in FIG. This requires that the characteristics of the NMOS transistor TN21 be considered in setting the output current Iout2, making it difficult to obtain an output current Iout2 having a desired value.

これに対し、本実施形態の電流発生回路51は、図20に実線で示すように、電源電圧の変化に対して直線的に変化する出力電流Ioutを出力する。これにより、出力電流の値を任意に設定することが可能となる。   On the other hand, the current generation circuit 51 of the present embodiment outputs an output current Iout that changes linearly with respect to a change in power supply voltage, as shown by a solid line in FIG. This makes it possible to arbitrarily set the output current value.

以上記述したように、本実施形態によれば、以下の効果を奏する。
(1)第1,第2の電流源55,56は、ノードN34,N35から低電位電源VSSの電位である第2電源線L2に電流を流すように接続されている。従って、差動増幅回路54は、ノードN31における分圧電圧と、ノードN32における分圧電圧とを一致させるように、第3,第4NMOSトランジスタTN13,TN14のゲート電圧を制御する。そして、ノードN31とノードN32における分圧電圧が一致すると、第1,第2の電流源55,56からノードN34,N35に供給される第1,第2の電流I3a,I3bは安定し一定値となる。
As described above, according to the present embodiment, the following effects can be obtained.
(1) The first and second current sources 55 and 56 are connected so that current flows from the nodes N34 and N35 to the second power supply line L2 which is the potential of the low potential power supply VSS. Therefore, the differential amplifier circuit 54 controls the gate voltages of the third and fourth NMOS transistors TN13 and TN14 so that the divided voltage at the node N31 matches the divided voltage at the node N32. When the divided voltages at the node N31 and the node N32 match, the first and second currents I3a and I3b supplied from the first and second current sources 55 and 56 to the nodes N34 and N35 are stable and have a constant value. It becomes.

その結果、電流発生回路51は、電源電圧の変化に対して直線的に変化する出力電流Ioutを出力する。これにより、出力電流の値を任意に設定することが可能となる。
尚、本発明は前記各実施形態の他、以下の態様で実施してもよい。
As a result, the current generation circuit 51 outputs an output current Iout that changes linearly with respect to a change in power supply voltage. This makes it possible to arbitrarily set the output current value.
The present invention may be carried out in the following modes in addition to the above embodiments.

・第一,第二実施形態において、高電位電源VDDと低電位電源VSSの間の電位差を等分に分割する抵抗の数、及びスイッチの数を適宜変更して実施してもよい。
・第一,第二実施形態において、入力するデジタル信号Dinのビット数を適宜変更して実施してもよい。
In the first and second embodiments, the number of resistors that divide the potential difference between the high potential power supply VDD and the low potential power supply VSS equally and the number of switches may be changed as appropriate.
In the first and second embodiments, the number of bits of the input digital signal Din may be changed as appropriate.

・第三実施形態では、第1,第2分圧回路52,53を構成する抵抗R31〜R38,R41〜R48を全て同じ抵抗値としたが、ノードN31を高電位電源VDDと低電位電源VSSの中間電位(=(VDD+VSS)/2)に設定することができれば良く、第1分圧回路52を複数の抵抗により構成してもよい。また、第1電源線L1とノードN31との間の抵抗の数を、ノードN31と第2電源線L2の間の抵抗の数と異なる構成としてもよい。   In the third embodiment, the resistors R31 to R38 and R41 to R48 constituting the first and second voltage dividing circuits 52 and 53 are all set to the same resistance value, but the node N31 is set to the high potential power supply VDD and the low potential power supply VSS. The first voltage dividing circuit 52 may be composed of a plurality of resistors as long as it can be set to an intermediate potential (= (VDD + VSS) / 2). The number of resistors between the first power supply line L1 and the node N31 may be different from the number of resistors between the node N31 and the second power supply line L2.

・第三実施形態では、第1〜第3の電流源55〜57をそれぞれNMOSトランジスタTN13〜TN15にて構成したが、複数のNMOSトランジスタにて構成してもよい。
・ノードN33に接続する電流源の数を、上記実施形態では3個としたが、4個以上任意の個数を接続する構成としてもよい。
In the third embodiment, the first to third current sources 55 to 57 are configured by NMOS transistors TN13 to TN15, respectively, but may be configured by a plurality of NMOS transistors.
In the above embodiment, the number of current sources connected to the node N33 is three, but an arbitrary number of four or more may be connected.

電圧発生回路の原理説明図。The principle explanatory drawing of a voltage generation circuit. 第一実施形態のD/A変換回路の回路図。The circuit diagram of the D / A conversion circuit of a first embodiment. 差動増幅回路の回路図。The circuit diagram of a differential amplifier circuit. 第一実施形態のD/A変換回路の動作説明図。Operation | movement explanatory drawing of the D / A converter circuit of 1st embodiment. 第一実施形態のD/A変換回路の動作を説明するための波形図。The wave form diagram for demonstrating operation | movement of the D / A converter circuit of 1st embodiment. 第二実施形態のD/A変換回路の回路図。The circuit diagram of the D / A conversion circuit of a second embodiment. 第二実施形態のD/A変換回路の動作を説明するための波形図。The wave form diagram for demonstrating operation | movement of the D / A converter circuit of 2nd embodiment. 第二実施形態のD/A変換回路の一部回路図。The partial circuit diagram of the D / A conversion circuit of 2nd embodiment. 安定化電流回路の回路図。The circuit diagram of a stabilized current circuit. 図9の安定化電流回路の第一原理説明図。FIG. 10 is a first principle explanatory diagram of the stabilized current circuit of FIG. 9. 図10の安定化電流回路の特性を示す波形図。FIG. 11 is a waveform diagram showing characteristics of the stabilized current circuit of FIG. 10. 図9の安定化電流回路の第二原理説明図。FIG. 10 is a second principle explanatory diagram of the stabilized current circuit of FIG. 9. 図12の安定化電流回路の特性を示す波形図。FIG. 13 is a waveform diagram showing characteristics of the stabilized current circuit of FIG. 12. 第二実施形態のD/A変換回路の詳細な回路図。The detailed circuit diagram of the D / A conversion circuit of a second embodiment. 第二実施形態の別のD/A変換回路の詳細な一部回路図。The detailed partial circuit diagram of another D / A conversion circuit of 2nd embodiment. 第二実施形態の別のD/A変換回路の詳細な一部回路図。The detailed partial circuit diagram of another D / A conversion circuit of 2nd embodiment. 第二実施形態の別のD/A変換回路の詳細な一部回路図。The detailed partial circuit diagram of another D / A conversion circuit of 2nd embodiment. 第三実施形態の電流発生回路の回路図。The circuit diagram of the current generation circuit of a third embodiment. 従来の電流発生回路の回路図。The circuit diagram of the conventional electric current generation circuit. 電流発生回路の特性を示す波形図。The wave form diagram which shows the characteristic of a current generation circuit. 従来のD/A変換回路の回路図。The circuit diagram of the conventional D / A conversion circuit. スイッチの回路図。The circuit diagram of a switch.

符号の説明Explanation of symbols

52 第1の分圧回路
53 第2の分圧回路
54 差動増幅回路
55 第1の電流源
56 第2の電流源
57 第3の電流源
I3a 第1の電流
I3b 第2の電流
I3c 第3の電流
52 1st voltage divider circuit 53 2nd voltage divider circuit 54 differential amplifier circuit 55 1st current source 56 2nd current source 57 3rd current source I3a 1st current I3b 2nd current I3c 3rd Current

Claims (1)

互いに異なる第1,第2の電圧を供給するための第1,第2の電源線の間に接続され、前記第1,第2の電圧の間を分圧した第1の分圧電圧を生成する第1の分圧回路と、
前記第1,第2の電源線に接続された同一インピーダンスを有する第1,第2のインピーダンス手段と、該第1,第2のインピーダンス手段の間に接続された複数の素子よりなる第3のインピーダンス手段とを備え、第3のインピーダンス手段において前記第1の分圧電圧と異なる電圧の第2の分圧電圧を生成する第2の分圧回路と、
前記第2の分圧回路を構成する第1,第2のインピーダンス手段と第3のインピーダンス手段との間の第1,第2の接続点にそれぞれ接続され、第1,第2の接続点にそれぞれ同一値の第1,第2の電流を供給する第1,第2の電流源と、
前記第1の分圧電圧と第2の分圧電圧が入力され、第1,第2の分圧電圧が一致するように前記第1,第2の電流を供給するべく前記第1,第2の電流源を制御する差動回路と、
前記第1,第2の電流と同一値の第3の電流を流すように接続され、その第3の電流を出力電流として出力する第3の電流源と
を備えた電流発生回路。
Connected between first and second power supply lines for supplying different first and second voltages to generate a first divided voltage obtained by dividing between the first and second voltages. A first voltage divider circuit that
A first and second impedance means having the same impedance connected to the first and second power lines, and a third element comprising a plurality of elements connected between the first and second impedance means And a second voltage dividing circuit for generating a second divided voltage having a voltage different from the first divided voltage in the third impedance means,
The first and second impedance means constituting the second voltage dividing circuit are connected to the first and second connection points between the third impedance means and the first and second connection points, respectively. First and second current sources for supplying the same first and second currents, respectively;
The first and second divided voltages are inputted so that the first and second currents are supplied so that the first and second divided voltages are matched. A differential circuit for controlling the current source of
A current generation circuit including a third current source connected to flow a third current having the same value as the first and second currents and outputting the third current as an output current.
JP2006018673A 2006-01-27 2006-01-27 Current generation circuit Expired - Fee Related JP4008473B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006018673A JP4008473B2 (en) 2006-01-27 2006-01-27 Current generation circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006018673A JP4008473B2 (en) 2006-01-27 2006-01-27 Current generation circuit

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP01900698A Division JP3779056B2 (en) 1998-01-30 1998-01-30 Voltage generation circuit and D / A conversion circuit

Publications (2)

Publication Number Publication Date
JP2006191654A JP2006191654A (en) 2006-07-20
JP4008473B2 true JP4008473B2 (en) 2007-11-14

Family

ID=36798221

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006018673A Expired - Fee Related JP4008473B2 (en) 2006-01-27 2006-01-27 Current generation circuit

Country Status (1)

Country Link
JP (1) JP4008473B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5466598B2 (en) * 2010-08-23 2014-04-09 三菱電機株式会社 Semiconductor device

Also Published As

Publication number Publication date
JP2006191654A (en) 2006-07-20

Similar Documents

Publication Publication Date Title
JP3779056B2 (en) Voltage generation circuit and D / A conversion circuit
US8063808B2 (en) Multi-input operational amplifier circuit, digital/analog converter using same, and driver for display device using same
US6266001B1 (en) Method and apparatus for switching low voltage CMOS switches in high voltage digital to analog converters
US6522280B2 (en) Adjustable digital-to-analog converter
US7038502B2 (en) LVDS driver circuit and driver circuit
US9515671B1 (en) Apparatus for gain selection with compensation for parasitic elements and associated methods
JP3832943B2 (en) Constant current source circuit and digital / analog conversion circuit using the same
JP2917877B2 (en) Reference current generation circuit
KR101080560B1 (en) Transconductance adjusting circuit
JP5253753B2 (en) Offset cancel device
US7321326B2 (en) Current source cell and D/A converter using the same
US20040263373A1 (en) Monotonic precise current DAC
US6344769B1 (en) Precision differential switched current source
JP3803505B2 (en) Voltage generation circuit and D / A conversion circuit
JP2002009623A (en) Digital/analog conversion circuit
JP4008473B2 (en) Current generation circuit
US7205799B2 (en) Input buffer having a stabilized operating point and an associated method
JP2001094354A (en) Driver circuit and its output stabilizing method
JPH09246885A (en) Input circuit, operational amplifier circuit and semiconductor integrated circuit device
JP2006202299A (en) Constant current circuit
US7639168B1 (en) Systems and methods for switch resistance control in digital to analog converters (DACs)
JP2776285B2 (en) Current switch circuit
JP3209967B2 (en) Current cell and digital / analog converter using the same
WO2000079685A1 (en) Ladder switch circuit for dac
JPH09139638A (en) Current mirror circuit

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070823

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070829

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

Free format text: PAYMENT UNTIL: 20100907

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20100907

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20100907

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110907

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110907

Year of fee payment: 4

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

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

Free format text: PAYMENT UNTIL: 20110907

Year of fee payment: 4

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20120907

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120907

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130907

Year of fee payment: 6

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees