JP2010154358A - D/a converter - Google Patents

D/a converter Download PDF

Info

Publication number
JP2010154358A
JP2010154358A JP2008331515A JP2008331515A JP2010154358A JP 2010154358 A JP2010154358 A JP 2010154358A JP 2008331515 A JP2008331515 A JP 2008331515A JP 2008331515 A JP2008331515 A JP 2008331515A JP 2010154358 A JP2010154358 A JP 2010154358A
Authority
JP
Japan
Prior art keywords
circuit
ladder
converter
setting
current
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.)
Granted
Application number
JP2008331515A
Other languages
Japanese (ja)
Other versions
JP5287228B2 (en
Inventor
Shogo Ito
正吾 伊藤
Hisao Suzuki
久雄 鈴木
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 Semiconductor Ltd
Original Assignee
Fujitsu Semiconductor 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 Semiconductor Ltd filed Critical Fujitsu Semiconductor Ltd
Priority to JP2008331515A priority Critical patent/JP5287228B2/en
Publication of JP2010154358A publication Critical patent/JP2010154358A/en
Application granted granted Critical
Publication of JP5287228B2 publication Critical patent/JP5287228B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Analogue/Digital Conversion (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a D/A converter which improves conversion accuracy, from digital signal into analog signal. <P>SOLUTION: Added using current for a D/A conversion circuit 50 and an output voltage setting circuit 12 has a variation rate that decreases, as values of input digital signals D0-D3 increase. The third using current for a driving circuit 13 has a variation rate that increases as the values of input digital signals D0-D3 increase. First-third conversion resistances Rh1-Rh3 for the driving circuit 13 are set, such that they are offset with the variation rate of the added using current and the variation rate of the third used current. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

D/A変換器に関する。   The present invention relates to a D / A converter.

従来、デジタル信号をアナログ信号に変換するためにD/A変換器が用いられている。この種のD/A変換器の回路構成としては、R−2Rラダー抵抗の回路構成が知られている(例えば特許文献1参照)。   Conventionally, a D / A converter is used to convert a digital signal into an analog signal. As a circuit configuration of this type of D / A converter, a circuit configuration of an R-2R ladder resistor is known (for example, see Patent Document 1).

図8は、4ビットのデジタル信号を入力するR−2Rラダー抵抗のD/A変換回路(ラダーD/A変換回路)50の一例を示している。ラダーD/A変換回路50は、4ビットのデジタル信号D0〜D3を入力して、アナログ信号Aoutを出力する。なお、デジタル信号D0が最下位ビット、デジタル信号D3が最上位ビットである。つまり、ラダーD/A変換回路50は、4ビットの設定コード「0000」〜「1111」として4ビットのデジタル信号D0〜D3を入力して、設定コード(デジタル信号D0〜D3)に応じたアナログ信号Aoutを出力している。   FIG. 8 shows an example of an R-2R ladder resistor D / A conversion circuit (ladder D / A conversion circuit) 50 for inputting a 4-bit digital signal. The ladder D / A conversion circuit 50 inputs 4-bit digital signals D0 to D3 and outputs an analog signal Aout. The digital signal D0 is the least significant bit and the digital signal D3 is the most significant bit. That is, the ladder D / A conversion circuit 50 inputs the 4-bit digital signals D0 to D3 as the 4-bit setting codes “0000” to “1111”, and the analog corresponding to the setting code (digital signals D0 to D3). The signal Aout is output.

ラダーD/A変換回路50は、抵抗値が同じ第1〜第13ラダー抵抗Rd1〜Rd13、第1〜第4スイッチSW1〜SW4を備えている。第1及び第2ラダー抵抗Rd1,Rd2は直列接続されて第1ラダー部RL1を構成している。第3及び第4ラダー抵抗Rd3,Rd4は直列接続されて第2ラダー部RL2を構成している。第5及び第6ラダー抵抗Rd5,Rd6は直列接続されて第3ラダー部RL3を構成している。第7及び第8ラダー抵抗Rd7,Rd8は直列接続されて第4ラダー部RL4を構成している。第9及び第10ラダー抵抗Rd9,Rd10は直列接続されて第5ラダー部RL5を構成している。   The ladder D / A conversion circuit 50 includes first to thirteenth ladder resistors Rd1 to Rd13 and first to fourth switches SW1 to SW4 having the same resistance value. The first and second ladder resistors Rd1, Rd2 are connected in series to form a first ladder portion RL1. The third and fourth ladder resistors Rd3 and Rd4 are connected in series to form a second ladder portion RL2. The fifth and sixth ladder resistors Rd5 and Rd6 are connected in series to form a third ladder portion RL3. The seventh and eighth ladder resistors Rd7 and Rd8 are connected in series to form a fourth ladder portion RL4. The ninth and tenth ladder resistors Rd9, Rd10 are connected in series to form a fifth ladder portion RL5.

第1ラダー部RL1は、第1端子が第2ラダー部RL2の第1端子と接続され、第2端子が接地電位に接地されている。
第2ラダー部RL2は、前記第1ラダー部RL1の第1端子と接続された第1端子が第3ラダー部RL3の第1端子と第11ラダー抵抗Rd11を介して接続され、その第2端子が第1スイッチSW1に接続されている。第1スイッチSW1は、デジタル信号D0の論理値「0」(Lレベル)及び「1」(Hレベル)に応じてオン・オフして、第2ラダー部RL2の第2端子に第1電圧としての電源電圧Vccを印加又は第2電圧としての接地電位GNDに接地する。つまり、第1スイッチSW1は、論理値「0」のデジタル信号D0を入力すると、第2ラダー部RL2の第2端子に接地電位GNDを接地する。反対に、第1スイッチSW1は、論理値「1」のデジタル信号D0を入力すると、第2ラダー部RL2の第2端子に電源電圧Vccを印加する。
The first ladder unit RL1 has a first terminal connected to a first terminal of the second ladder unit RL2, and a second terminal grounded to a ground potential.
The second ladder part RL2 has a first terminal connected to the first terminal of the first ladder part RL1 connected to the first terminal of the third ladder part RL3 via the eleventh ladder resistor Rd11, and the second terminal. Is connected to the first switch SW1. The first switch SW1 is turned on / off according to the logical values “0” (L level) and “1” (H level) of the digital signal D0, and the first voltage is applied to the second terminal of the second ladder unit RL2. Is applied or grounded to the ground potential GND as the second voltage. That is, when the first switch SW1 receives the digital signal D0 having the logical value “0”, the first switch SW1 grounds the ground potential GND to the second terminal of the second ladder unit RL2. On the other hand, the first switch SW1 applies the power supply voltage Vcc to the second terminal of the second ladder unit RL2 when the digital signal D0 having the logical value “1” is input.

第3ラダー部RL3は、第1端子が第4ラダー部RL4の第1端子と第12ラダー抵抗Rd12を介して接続され、その第2端子が第2スイッチSW2に接続されている。第2スイッチSW2は、デジタル信号D1の論理値「0」及び「1」に応じてオン・オフして、第3ラダー部RL3の第2端子に電源電圧Vccを印加又は接地電位GNDに接地する。つまり、第2スイッチSW2は、論理値「0」のデジタル信号D1を入力すると、第3ラダー部RL3の第2端子を接地電位GNDに接地する。反対に、第2スイッチSW2は、論理値「1」のデジタル信号D1を入力すると、第3ラダー部RL3の第2端子に電源電圧Vccを印加する。   The third ladder unit RL3 has a first terminal connected to the first terminal of the fourth ladder unit RL4 via the twelfth ladder resistor Rd12, and a second terminal connected to the second switch SW2. The second switch SW2 is turned on / off according to the logical values “0” and “1” of the digital signal D1, and applies the power supply voltage Vcc to the second terminal of the third ladder unit RL3 or grounds it to the ground potential GND. . That is, when the digital signal D1 having the logical value “0” is input, the second switch SW2 grounds the second terminal of the third ladder unit RL3 to the ground potential GND. On the other hand, the second switch SW2 applies the power supply voltage Vcc to the second terminal of the third ladder unit RL3 when the digital signal D1 having the logical value “1” is input.

第4ラダー部RL4は、第1端子が第5ラダー部RL5の第1端子と第13ラダー抵抗Rd13を介して接続され、その第2端子が第3スイッチSW3に接続されている。第3スイッチSW3は、デジタル信号D2の論理値「0」及び「1」に応じてオン・オフして、第4ラダー部RL4の第2端子に電源電圧Vccを印加又は接地電位GNDに接地する。つまり、第3スイッチSW3は、論理値「0」のデジタル信号D2を入力すると、第4ラダー部RL4の第2端子を接地電位GNDに接地する。反対に、第3スイッチSW3は、論理値「1」のデジタル信号D2を入力すると、第4ラダー部RL4の第2端子に電源電圧Vccを印加する。   The fourth ladder unit RL4 has a first terminal connected to the first terminal of the fifth ladder unit RL5 via the thirteenth ladder resistor Rd13, and a second terminal connected to the third switch SW3. The third switch SW3 is turned on / off according to the logical values “0” and “1” of the digital signal D2, and applies the power supply voltage Vcc to the second terminal of the fourth ladder unit RL4 or grounds it to the ground potential GND. . That is, when the digital signal D2 having the logical value “0” is input, the third switch SW3 grounds the second terminal of the fourth ladder unit RL4 to the ground potential GND. On the other hand, the third switch SW3 applies the power supply voltage Vcc to the second terminal of the fourth ladder unit RL4 when the digital signal D2 having the logical value “1” is input.

第5ラダー部RL5は、第1端子が出力端子Toに接続され、その第2端子が第4スイッチSW4に接続されている。第4スイッチSW4は、デジタル信号D3の論理値「0」及び「1」に応じてオン・オフして、第4ラダー部RL4の第2端子に電源電圧Vccを印加又は接地電位GNDに接地する。つまり、第4スイッチSW4は、論理値「0」のデジタル信号D3を入力すると、第5ラダー部RL5の第2端子を接地電位GNDに接地する。反対に、第4スイッチSW4は、論理値「1」のデジタル信号D3を入力すると、第5ラダー部RL5の第2端子に電源電圧Vccを印加する。   The fifth ladder unit RL5 has a first terminal connected to the output terminal To and a second terminal connected to the fourth switch SW4. The fourth switch SW4 is turned on / off according to the logical values “0” and “1” of the digital signal D3, and applies the power supply voltage Vcc to the second terminal of the fourth ladder unit RL4 or grounds it to the ground potential GND. . That is, when the digital signal D3 having the logical value “0” is input, the fourth switch SW4 grounds the second terminal of the fifth ladder unit RL5 to the ground potential GND. On the contrary, the fourth switch SW4 applies the power supply voltage Vcc to the second terminal of the fifth ladder unit RL5 when the digital signal D3 having the logical value “1” is input.

上記の回路構成により、入力される設定コード(デジタル信号D0〜D3)に応じて、第1〜第4スイッチSW1〜SW4をオン・オフして、設定コードに応じたアナログ信号Aoutを出力端子Toから出力する。   With the above circuit configuration, the first to fourth switches SW1 to SW4 are turned on / off according to the input setting code (digital signals D0 to D3), and the analog signal Aout corresponding to the setting code is output to the output terminal To. Output from.

つまり、設定コード「0001」を入力すると、第1スイッチSW1のみがオンして、(1/16)Vccのアナログ信号Aoutを出力する。設定コード「0010」を入力すると、第2スイッチSW2のみがオンして、(1/8)Vccのアナログ信号Aoutを出力する。設定コード「0100」を入力すると、第3スイッチSW3のみがオンして(1/4)Vccのアナログ信号Aoutを出力する。設定コード「1000」を入力すると、第4スイッチSW4のみがオンして、(1/2)Vccのアナログ信号Aoutを出力する。   That is, when the setting code “0001” is input, only the first switch SW1 is turned on, and the analog signal Aout of (1/16) Vcc is output. When the setting code “0010” is input, only the second switch SW2 is turned on, and the analog signal Aout of (1/8) Vcc is output. When the setting code “0100” is input, only the third switch SW3 is turned on and (1/4) Vcc analog signal Aout is output. When the setting code “1000” is input, only the fourth switch SW4 is turned on, and the analog signal Aout of (½) Vcc is output.

上記の各設定コードにおけるアナログ信号Aoutの足し合わせより、入力される設定コードに応じてアナログ信号Aoutは、以下の式で表される。
Aout={(1/2)D3+(1/4)D2+(1/8)D1+(1/16)D0}Vcc
ここで、「D0」〜「D3」は、デジタル信号D0〜D3を示し、入力される設定コードに応じて「1」又は「0」が与えられる。つまり、ラダーD/A変換回路50は、設定コード「0000」〜「1111」を入力すると、接地電位GND〜(15/16)×電源電圧Vccまでのアナログ信号Aoutを出力端子Toから出力する。
From the sum of the analog signals Aout in the above setting codes, the analog signal Aout is expressed by the following expression according to the input setting code.
Aout = {(1/2) D3 + (1/4) D2 + (1/8) D1 + (1/16) D0} Vcc
Here, “D0” to “D3” indicate digital signals D0 to D3, and “1” or “0” is given according to the input setting code. That is, when the setting codes “0000” to “1111” are input, the ladder D / A conversion circuit 50 outputs the analog signal Aout from the output terminal To to the ground potential GND to (15/16) × the power supply voltage Vcc.

ところで、ラダーD/A変換回路50は、入力される設定コードによって、第1〜第13ラダー抵抗Rd1〜Rd13の合成抵抗値が異なるため消費電流が異なりばらつきがある。   By the way, the ladder D / A conversion circuit 50 has different current consumption and varies depending on the input setting code, because the combined resistance values of the first to thirteenth ladder resistors Rd1 to Rd13 are different.

図9の表52は、ラダーD/A変換回路50の設定コードに対するアナログ信号Aout及び消費電流Iについてシミュレーションを行った結果を示す。図9において、「コード」は、4ビットの設定コード「0000」〜「1111」に対応する10進数を示し、「D0」〜「D3」は、デジタル信号D0〜D3の論理値を示し、「消費電流I」は、ラダーD/A変換回路50の消費電流Iを示す。そして、「Aout」は、アナログ信号Aoutを示し、「偏差」は、1つ下の設定コードとのアナログ信号Aoutの電圧差を示している。なお、シミュレーション条件として、電源電圧Vcc=1.0V、第1〜第13ラダー抵抗Rd1〜Rd13の抵抗値は全て10kΩである。   Table 52 in FIG. 9 shows the result of simulation of the analog signal Aout and the current consumption I for the setting code of the ladder D / A conversion circuit 50. In FIG. 9, “code” indicates a decimal number corresponding to 4-bit setting codes “0000” to “1111”, “D0” to “D3” indicate logical values of the digital signals D0 to D3, and “ The “current consumption I” indicates the current consumption I of the ladder D / A conversion circuit 50. “Aout” indicates the analog signal Aout, and “deviation” indicates a voltage difference between the analog signal Aout and the next lower setting code. As simulation conditions, the power supply voltage Vcc = 1.0 V, and the resistance values of the first to thirteenth ladder resistors Rd1 to Rd13 are all 10 kΩ.

図9に示すように、ラダーD/A変換回路50は、設定コード「0000」〜設定コード「1111」の順で、アナログ信号Aoutが高い電圧に設定されている。設定コード「0000」〜設定コード「1111」の各アナログ信号Aoutは、ほぼ0.0625Vずつ等間隔でアナログ信号Aoutが設定されている。つまり、ラダーD/A変換回路50は、設定コード「0000」〜設定コード「1111」の順で入力されると、アナログ信号Aoutを線形に上昇させて出力している。   As shown in FIG. 9, in the ladder D / A conversion circuit 50, the analog signal Aout is set to a high voltage in the order of the setting code “0000” to the setting code “1111”. The analog signals Aout of the setting code “0000” to the setting code “1111” are set at regular intervals of approximately 0.0625V. That is, when the ladder D / A conversion circuit 50 is input in the order of the setting code “0000” to the setting code “1111”, the ladder D / A conversion circuit 50 linearly raises and outputs the analog signal Aout.

また、ラダーD/A変換回路50の消費電流Iは、設定コード毎に異なり、電流が流れない設定コード「0000」を除き、設定コード「0001」のときの消費電流Iが25.0uAであって最小値、設定コード「1010」、設定コード「1101」のときの消費電流Iが55.1uAであって最大値となり、30.1uAのばらつきがある。
特開平9−172374号公報
The consumption current I of the ladder D / A conversion circuit 50 is different for each setting code. Except for the setting code “0000” in which no current flows, the consumption current I when the setting code is “0001” is 25.0 uA. The current consumption I when the minimum value, the setting code “1010”, and the setting code “1101” is 55.1 uA, which is the maximum value, varies by 30.1 uA.
JP-A-9-172374

しかしながら、実際のラダーD/A変換回路50において電源電圧Vccを供給する電源ラインL1の配線抵抗、接地電位GNDを供給するGNDラインL2の配線抵抗、及びスイッチSW1〜SW4のオン抵抗を考慮する必要がある。   However, in the actual ladder D / A conversion circuit 50, it is necessary to consider the wiring resistance of the power supply line L1 that supplies the power supply voltage Vcc, the wiring resistance of the GND line L2 that supplies the ground potential GND, and the ON resistance of the switches SW1 to SW4. There is.

これにより、ラダーD/A変換回路50の消費電流Iは、設定コード毎に異なりばらつきがあるため、実際のラダーD/A変換回路50では、電源ラインL1の配線抵抗、GNDラインL2の配線抵抗、及び第1〜第4スイッチSW1〜SW4のオン抵抗における電圧降下分等によって、アナログ信号Aoutがばらついてしまう。つまり、実際に使用した場合、ラダーD/A変換回路50は、設定コード「0000」〜設定コード「1111」の順で入力しても、線形にアナログ信号Aoutを出力できず、デジタル信号D0〜D3からアナログ信号Aoutへの変換精度が悪くなってしまう。   As a result, the current consumption I of the ladder D / A conversion circuit 50 varies depending on the setting code, so that in the actual ladder D / A conversion circuit 50, the wiring resistance of the power supply line L1 and the wiring resistance of the GND line L2 The analog signal Aout varies depending on the voltage drop in the ON resistances of the first to fourth switches SW1 to SW4. That is, when actually used, even if the ladder D / A conversion circuit 50 inputs the setting code “0000” to the setting code “1111” in this order, the ladder D / A conversion circuit 50 cannot output the analog signal Aout linearly. The conversion accuracy from D3 to the analog signal Aout is deteriorated.

このD/A変換器は、デジタル信号からアナログ信号への変換精度を向上させることを目的とする。   This D / A converter aims to improve the conversion accuracy from a digital signal to an analog signal.

このD/A変換器は、デジタル信号をアナログ信号に変換するD/A変換回路と、前記D/A変換回路の出力端子と第1電圧との間に第1抵抗部を介在し、前記出力端子と第2電圧との間に第2抵抗部を介在して構成する出力電圧設定回路とを備え、入力されるデジタル信号に応じて消費電流が変動するD/A変換器であって、前記D/A変換回路の出力信号が入力されるアンプ回路を備え、前記入力されるデジタル信号に対するD/A変換回路及び出力電圧設定回路の消費電流の変動に対して前記消費電流の変動を相殺する消費電流を持つ駆動回路を備えるようにした。   The D / A converter includes a D / A conversion circuit that converts a digital signal into an analog signal, a first resistor portion interposed between an output terminal of the D / A conversion circuit and a first voltage, and the output An output voltage setting circuit configured by interposing a second resistor between the terminal and the second voltage, and a D / A converter in which current consumption varies according to an input digital signal, An amplifier circuit to which an output signal of the D / A conversion circuit is input is provided, and the fluctuation of the consumption current is offset against the fluctuation of the consumption current of the D / A conversion circuit and the output voltage setting circuit with respect to the input digital signal. A drive circuit with current consumption is provided.

このD/A変換器によれば、D/A変換回路及び出力電圧設定回路の消費電流の変動を、駆動回路の消費電流の変動が相殺する。これにより、入力されるデジタル信号に対するD/A変換器の消費電流の変動は無くなり、消費電流のばらつきが小さくなる。従って、D/A変換器は、アナログ信号のばらつきが小さくなり、デジタル信号からアナログ信号への変換精度を向上することができる。   According to this D / A converter, fluctuations in current consumption in the D / A conversion circuit and output voltage setting circuit cancel out fluctuations in current consumption in the drive circuit. As a result, the fluctuation of the consumption current of the D / A converter with respect to the input digital signal is eliminated, and the fluctuation of the consumption current is reduced. Therefore, the D / A converter can reduce the variation of the analog signal and improve the conversion accuracy from the digital signal to the analog signal.

開示されたこのD/A変換器は、デジタル信号からアナログ信号への変換精度を向上させる。   The disclosed D / A converter improves the accuracy of conversion from a digital signal to an analog signal.

以下、本実施形態を図1〜図7に従って説明する。
図1に示すように、D/A変換器10は、設定コードとして入力される複数ビット(本実施形態では4ビット)のデジタル信号(本実施形態ではデジタル信号D0〜D3)をアナログ信号Aoutに変換する。つまり、D/A変換器10は、デジタル信号D0〜D3に対応して電源電圧Vccと接地電位GNDとの間の電圧を駆動アナログ信号Akoutとして出力する。
Hereinafter, the present embodiment will be described with reference to FIGS.
As shown in FIG. 1, the D / A converter 10 converts a multi-bit (4 bits in this embodiment) digital signal (digital signals D0 to D3 in this embodiment) inputted as a setting code into an analog signal Aout. Convert. That is, the D / A converter 10 outputs a voltage between the power supply voltage Vcc and the ground potential GND as the drive analog signal Akout corresponding to the digital signals D0 to D3.

D/A変換器10は、ラダーD/A変換回路50、出力電圧設定回路12、駆動回路13を備えている。D/A変換器10は、ラダーD/A変換回路50の出力端子Toから出力される設定アナログ信号Asoutの駆動能力を駆動回路13にて上げている。本実施形態では、駆動回路13中のアンプ回路14は差動増幅回路にて構成され、その差動対をNチャネルMOSトランジスタにて構成している。   The D / A converter 10 includes a ladder D / A conversion circuit 50, an output voltage setting circuit 12, and a drive circuit 13. In the D / A converter 10, the drive circuit 13 increases the drive capability of the set analog signal Asout output from the output terminal To of the ladder D / A conversion circuit 50. In the present embodiment, the amplifier circuit 14 in the drive circuit 13 is configured by a differential amplifier circuit, and the differential pair is configured by an N-channel MOS transistor.

従って、駆動回路13が動作するための設定アナログ信号Asoutの電圧範囲(入力電圧範囲)は、ラダーD/A変換回路50単体でのアナログ信号Aoutの電圧範囲(接地電位GND〜電源電圧Vcc)より狭くなっている。   Therefore, the voltage range (input voltage range) of the set analog signal Asout for operating the drive circuit 13 is more than the voltage range of the analog signal Aout (ground potential GND to power supply voltage Vcc) in the ladder D / A conversion circuit 50 alone. It is narrower.

このため、ラダーD/A変換回路50単体でのアナログ信号Aoutの電圧範囲を、駆動回路13の入力電圧範囲に設定するため、D/A変換器10は、ラダーD/A変換回路50と駆動回路13との間に出力電圧設定回路12を備えている。   For this reason, in order to set the voltage range of the analog signal Aout in the ladder D / A conversion circuit 50 alone to the input voltage range of the drive circuit 13, the D / A converter 10 drives with the ladder D / A conversion circuit 50. An output voltage setting circuit 12 is provided between the circuit 13 and the circuit 13.

ラダーD/A変換回路50は周知な回路構成であって、図8と同じため、説明の便宜上説明を省略する。
出力電圧設定回路12は、第1抵抗部21と第2抵抗部22を備えている。
The ladder D / A conversion circuit 50 has a well-known circuit configuration and is the same as that shown in FIG.
The output voltage setting circuit 12 includes a first resistance unit 21 and a second resistance unit 22.

第1抵抗部21は複数の抵抗素子で構成されていて、本実施形態では、8本の第1設定抵抗Rs1にて構成されている。第1抵抗部21は、それぞれ2本の第1設定抵抗Rs1が直列接続され、その4つの直列回路が並列に接続されている。そして、その並列回路の第1端子は、ラダーD/A変換回路50の出力端子To及びアンプ回路14のプラス入力端子に接続され、その第2端子は電源電圧Vccが印加される。   The first resistance portion 21 is composed of a plurality of resistance elements, and in the present embodiment, is composed of eight first setting resistors Rs1. The first resistor section 21 has two first setting resistors Rs1 connected in series, and four series circuits thereof are connected in parallel. The first terminal of the parallel circuit is connected to the output terminal To of the ladder D / A conversion circuit 50 and the plus input terminal of the amplifier circuit 14, and the power supply voltage Vcc is applied to the second terminal.

第2抵抗部22は複数の抵抗素子で構成され、本実施形態では、4本の第2設定抵抗Rs2にて構成されている。第2抵抗部22は、それぞれ2本の第2設定抵抗Rs2が直列接続され、その2つの直列回路が並列接続されている。そして、その直列回路の第1端子は、ラダーD/A変換回路50の出力端子To及びアンプ回路14のプラス入力端子に接続され、その第2端子は接地電位GNDに接地されている。   The second resistance portion 22 is composed of a plurality of resistance elements, and in the present embodiment, is composed of four second setting resistors Rs2. The second resistor section 22 includes two second setting resistors Rs2 connected in series, and the two series circuits are connected in parallel. The first terminal of the series circuit is connected to the output terminal To of the ladder D / A conversion circuit 50 and the plus input terminal of the amplifier circuit 14, and the second terminal is grounded to the ground potential GND.

上記の構成により、出力電圧設定回路12は、第1抵抗部21の抵抗値と第2抵抗部22の抵抗値に応じて、アンプ回路14のプラス入力端子に入力される設定アナログ信号Asoutの電圧範囲を設定している。つまり、第1及び第2抵抗部21,22の合成抵抗値がラダーD/A変換回路50の合成抵抗値に対して大きいほど、設定アナログ信号Asoutの電圧範囲は小さくなる。反対に、第1及び第2抵抗部21,22の合成抵抗値がラダーD/A変換回路50の合成抵抗値に対して小さいほど、設定アナログ信号Asoutの電圧範囲は大きくなる。   With the above configuration, the output voltage setting circuit 12 has the voltage of the setting analog signal Asout input to the plus input terminal of the amplifier circuit 14 in accordance with the resistance value of the first resistance unit 21 and the resistance value of the second resistance unit 22. A range is set. That is, as the combined resistance value of the first and second resistance units 21 and 22 is larger than the combined resistance value of the ladder D / A conversion circuit 50, the voltage range of the set analog signal Asout becomes smaller. On the contrary, the voltage range of the set analog signal Asout increases as the combined resistance value of the first and second resistance units 21 and 22 is smaller than the combined resistance value of the ladder D / A conversion circuit 50.

また、第1抵抗部21の抵抗値が第2抵抗部22の抵抗値に対して大きいほど、設定アナログ信号Asoutの電圧範囲が全体的に低くなる。反対に、第1抵抗部21の抵抗値が第2抵抗部22の抵抗値に対して小さいほど、設定アナログ信号Asoutの電圧範囲が全体的に高くなる。   In addition, as the resistance value of the first resistance unit 21 is larger than the resistance value of the second resistance unit 22, the voltage range of the setting analog signal Asout is generally lowered. On the contrary, as the resistance value of the first resistance unit 21 is smaller than the resistance value of the second resistance unit 22, the voltage range of the setting analog signal Asout becomes higher overall.

本実施形態では、第1及び第2設定抵抗Rs1,Rs2の抵抗値はそれぞれ25kΩになっている。そして、ラダーD/A変換回路50を構成する第1〜第13ラダー抵抗Rd1〜Rd13の抵抗値はそれぞれ25kΩになっている。このような抵抗値の場合、設定アナログ信号Asoutの電圧範囲は、ラダーD/A変換回路50単体でのアナログ信号Aoutの電圧範囲の50%〜75%に設定される。つまり、ラダーD/A変換回路50単体での出力電圧範囲は0.00V(接地電位GND)〜1.00V(電源電圧Vcc)の電圧範囲であるのに対して、出力電圧設定回路12を備えることで、設定アナログ信号Asoutは、0.50V〜0.75Vの出力電圧範囲に設定されている。   In the present embodiment, the resistance values of the first and second setting resistors Rs1, Rs2 are each 25 kΩ. The resistance values of the first to thirteenth ladder resistors Rd1 to Rd13 constituting the ladder D / A conversion circuit 50 are each 25 kΩ. In the case of such a resistance value, the voltage range of the set analog signal Asout is set to 50% to 75% of the voltage range of the analog signal Aout in the ladder D / A conversion circuit 50 alone. In other words, the output voltage range of the ladder D / A conversion circuit 50 alone is 0.00V (ground potential GND) to 1.00 V (power supply voltage Vcc), whereas the output voltage setting circuit 12 is provided. Thus, the set analog signal Asout is set to an output voltage range of 0.50V to 0.75V.

このとき、ラダーD/A変換回路50及び出力電圧設定回路12の消費電流(以下、加算消費電流Iaという)は、ラダーD/A変換回路50の消費電流I(以下、本実施形態では第1消費電流I1という)に比べて、出力電圧設定回路12の消費電流(以下、第2消費電流I2という)の分だけ増大する。   At this time, the consumption current of the ladder D / A conversion circuit 50 and the output voltage setting circuit 12 (hereinafter referred to as the addition consumption current Ia) is the consumption current I of the ladder D / A conversion circuit 50 (hereinafter referred to as the first in the present embodiment). The current consumption is increased by an amount corresponding to the current consumption of the output voltage setting circuit 12 (hereinafter referred to as the second current consumption I2).

従って、第2消費電流I2だけ増大することから、加算消費電流Iaに対するラダーD/A変換回路50における第1消費電流I1のばらつきの割合は、ラダーD/A変換回路50及び出力電圧設定回路12の加算消費電流Iaが大きくなっただけ小さくなる。その結果、設定アナログ信号Asoutのばらつきは小さくなる。   Therefore, since the second consumption current I2 increases, the ratio of the variation of the first consumption current I1 in the ladder D / A conversion circuit 50 to the addition consumption current Ia is the ladder D / A conversion circuit 50 and the output voltage setting circuit 12. The additional consumption current Ia becomes smaller as it becomes larger. As a result, the variation in the set analog signal Asout is reduced.

ここで、入力される設定コード「0000」〜設定コード「1111」に対するラダーD/A変換回路50及び出力電圧設定回路12の加算消費電流Ia(=I1+I2)は、設定コードが大きくなるほど小さくなっている。図3は設定コード「0000」〜設定コード「1111」に対するラダーD/A変換回路50及び出力電圧設定回路12の加算消費電流Iaの近似線K1を示す。図3に示すように、ラダーD/A変換回路50及び出力電圧設定回路12の加算消費電流Iaは、設定コード「0000」から順番に設定コード「1111」まで上げていくと、近似線K1は下降傾斜になっていてその傾斜の分、加算消費電流Iaのばらつきが大きくなっている。   Here, the additional consumption current Ia (= I1 + I2) of the ladder D / A conversion circuit 50 and the output voltage setting circuit 12 with respect to the input setting codes “0000” to “1111” becomes smaller as the setting code becomes larger. Yes. FIG. 3 shows an approximate line K1 of the additional consumption current Ia of the ladder D / A conversion circuit 50 and the output voltage setting circuit 12 for the setting codes “0000” to “1111”. As shown in FIG. 3, when the addition consumption current Ia of the ladder D / A conversion circuit 50 and the output voltage setting circuit 12 is increased from the setting code “0000” to the setting code “1111” in order, the approximate line K1 is The slope is a downward slope, and the variation in the additional consumption current Ia increases by the slope.

即ち、出力電圧設定回路12は、第1及び第2抵抗部21,22の抵抗値を設定することで、駆動回路13(アンプ回路14のプラス入力端子)に入力されるべき入力電圧範囲に設定アナログ信号Asoutの電圧範囲を合せている。つまり、出力電圧設定回路12は、設定コード「0000」〜設定コード「1111」に対応した設定アナログ信号Asoutを、駆動回路13(アンプ回路14)の入力電圧範囲に合せ、駆動回路13から出力されない設定コードのアナログ信号Aoutがないようにしている。   That is, the output voltage setting circuit 12 sets the resistance value of the first and second resistance units 21 and 22 to set the input voltage range to be input to the drive circuit 13 (plus input terminal of the amplifier circuit 14). The voltage range of the analog signal Asout is matched. That is, the output voltage setting circuit 12 matches the setting analog signal Asout corresponding to the setting code “0000” to the setting code “1111” with the input voltage range of the driving circuit 13 (amplifier circuit 14), and is not output from the driving circuit 13. There is no analog signal Aout of the setting code.

駆動回路13は周知な回路にて構成され(特開2005−217855号公報参照)、アンプ回路14、第1〜第3変換抵抗Rh1〜Rh3にて構成されている。アンプ回路14は、プラス入力端子にラダーD/A変換回路50の出力端子Toが接続され、設定アナログ信号Asoutが入力される。アンプ回路14は、マイナス入力端子と出力端子Toa間に第3変換抵抗Rh3が接続されている。   The drive circuit 13 is configured by a well-known circuit (see JP 2005-217855 A), and is configured by an amplifier circuit 14 and first to third conversion resistors Rh1 to Rh3. In the amplifier circuit 14, the output terminal To of the ladder D / A conversion circuit 50 is connected to the plus input terminal, and the setting analog signal Asout is input. In the amplifier circuit 14, a third conversion resistor Rh3 is connected between the negative input terminal and the output terminal Toa.

第1変換抵抗Rh1と第2変換抵抗Rh2は直列に接続され、その直列回路の一端は電源電圧Vccが印加され、他端は接地電位GNDに接地されている。そして、第1変換抵抗Rh1と第2変換抵抗Rh2との接続点は、アンプ回路14のマイナス入力端子に接続されている。   The first conversion resistor Rh1 and the second conversion resistor Rh2 are connected in series. One end of the series circuit is applied with the power supply voltage Vcc, and the other end is grounded to the ground potential GND. The connection point between the first conversion resistor Rh1 and the second conversion resistor Rh2 is connected to the negative input terminal of the amplifier circuit 14.

上記の構成により、駆動回路13は、設定アナログ信号Asoutの駆動能力を上げ、かつ出力電圧設定回路12にて電圧範囲が設定された設定アナログ信号Asoutを入力して、ラダーD/A変換回路50単体での出力電圧範囲である接地電位GNDから電源電圧Vccに変換して駆動アナログ信号Akoutとして出力端子Toaから出力する。   With the above configuration, the drive circuit 13 increases the drive capability of the set analog signal Asout and inputs the set analog signal Asout in which the voltage range is set by the output voltage setting circuit 12, and the ladder D / A conversion circuit 50. The ground potential GND, which is a single output voltage range, is converted to the power supply voltage Vcc and output from the output terminal Toa as the drive analog signal Akout.

駆動回路13の消費電流(以下、第3消費電流I3という)は、入力される設定コード「0000」〜設定コード「1111」に対応した設定アナログ信号Asoutの電圧範囲において近似式を求めると、設定コードが大きいほど大きくなっている。つまり、駆動回路13の第3消費電流I3は、入力される設定コード「0000」から順番に設定コード「1111」まで上げていくと設定アナログ信号Asoutの電圧範囲において、第3消費電流I3が変動、即ち、上昇傾向になる。   The consumption current of the drive circuit 13 (hereinafter referred to as the third consumption current I3) is set when an approximate expression is obtained in the voltage range of the setting analog signal Asout corresponding to the input setting code “0000” to the setting code “1111”. The larger the code, the larger it is. That is, as the third consumption current I3 of the drive circuit 13 increases from the input setting code “0000” to the setting code “1111” in order, the third consumption current I3 fluctuates in the voltage range of the setting analog signal Asout. That is, it tends to rise.

ここで、駆動回路13は、第1〜第3変換抵抗Rh1〜Rh3の抵抗値に応じて、入力電圧範囲の最小値Vmin及び最大値Vmax、つまり入力電圧範囲を設定することができる。また、駆動回路13は、第1〜第3変換抵抗Rh1〜Rh3の抵抗値に応じて、第3消費電流I3の最小値Imin及び最大値Imax、つまり、入力される設定コード「0000」〜設定コード「1111」に対応した設定アナログ信号Asoutの電圧範囲において、駆動回路13の第3消費電流I3の変動率(最大値Imax−最小値Imin)を設定することができる。なお、駆動回路13の最大値Imax及び最小値Iminには、アンプ回路14の消費電流分は含まれていない。   Here, the drive circuit 13 can set the minimum value Vmin and the maximum value Vmax of the input voltage range, that is, the input voltage range, according to the resistance values of the first to third conversion resistors Rh1 to Rh3. Further, the drive circuit 13 determines the minimum value Imin and the maximum value Imax of the third consumption current I3, that is, the input setting code “0000” to the setting in accordance with the resistance values of the first to third conversion resistors Rh1 to Rh3. In the voltage range of the setting analog signal Asout corresponding to the code “1111”, the variation rate (maximum value Imax−minimum value Imin) of the third consumption current I3 of the drive circuit 13 can be set. Note that the maximum value Imax and the minimum value Imin of the drive circuit 13 do not include the current consumption of the amplifier circuit 14.

入力電圧範囲の最小値Vminは、
Vmin=(R2//R3)/{R1+(R2//R3)}
入力電圧範囲の最大値Vmaxは、
Vmax=R2/{(R1//R3)+R2}
第3消費電流I3の変動率(I=max−Imin)は、
Imax−Imin=Vcc/(R2×Gain)
Gain={(R1//R2)+R3}/(R1//R2)
になっている。
The minimum value Vmin of the input voltage range is
Vmin = (R2 // R3) / {R1 + (R2 // R3)}
The maximum value Vmax of the input voltage range is
Vmax = R2 / {(R1 // R3) + R2}
The variation rate (I = max−Imin) of the third consumption current I3 is
Imax−Imin = Vcc / (R2 × Gain)
Gain = {(R1 // R2) + R3} / (R1 // R2)
It has become.

なお、「R1」〜「R3」は第1〜第3変換抵抗Rh1〜Rh3の抵抗値、「Vcc」は電源電圧Vccの電圧値、「//」は、並列接続を示している。
上記の第1〜第3変換抵抗Rh1〜Rh3の抵抗値は、図2に示す通り以下のステップ30〜ステップ38の処理を行うことにより設定されている。
“R1” to “R3” indicate resistance values of the first to third conversion resistors Rh1 to Rh3, “Vcc” indicates a voltage value of the power supply voltage Vcc, and “//” indicates parallel connection.
The resistance values of the first to third conversion resistors Rh1 to Rh3 are set by performing the following steps 30 to 38 as shown in FIG.

まず、ステップ30(駆動回路13の入出力電圧を設定)において、入出力電圧設定に合わせて第1〜第3変換抵抗Rh1〜Rh3を算出する。これ以降の各ステップでは、この入出力電圧設定を維持するように抵抗値を検討する。   First, in step 30 (setting the input / output voltage of the drive circuit 13), the first to third conversion resistors Rh1 to Rh3 are calculated in accordance with the input / output voltage setting. In each subsequent step, the resistance value is examined so as to maintain this input / output voltage setting.

次に、ステップ31(加算消費電流Iaについて計算)において、ラダーD/A変換回路50及び出力電圧設定回路12の加算消費電流Iaについて算出を行う。
ステップ32(加算消費電流Iaの変動率測定)において、ステップ31において得られた結果からラダーD/A変換回路50及び出力電圧設定回路12の加算消費電流Iaの最大値及び最小値の差電流を測定する。図3に、ラダーD/A変換回路50及び出力電圧設定回路12の加算消費電流Iaについてシミュレーションを行った結果を示す。本実施形態では、コード0〜15(設定コード「0000」〜設定コード「1111」)に対するラダーD/A変換回路50及び出力電圧設定回路12の加算消費電流Iaの近似線K1は、最大値と最小値の差電流が10uAになっている。
Next, in step 31 (calculation of the additional consumption current Ia), the addition consumption current Ia of the ladder D / A conversion circuit 50 and the output voltage setting circuit 12 is calculated.
In step 32 (measurement of fluctuation rate of the additional consumption current Ia), the difference current between the maximum value and the minimum value of the addition consumption current Ia of the ladder D / A conversion circuit 50 and the output voltage setting circuit 12 is calculated from the result obtained in step 31. taking measurement. FIG. 3 shows the result of simulation of the additional consumption current Ia of the ladder D / A conversion circuit 50 and the output voltage setting circuit 12. In the present embodiment, the approximate line K1 of the added consumption current Ia of the ladder D / A conversion circuit 50 and the output voltage setting circuit 12 for the codes 0 to 15 (setting code “0000” to setting code “1111”) is the maximum value. The minimum difference current is 10 uA.

ステップ33(変換抵抗の算出)において、ラダーD/A変換回路50及び出力電圧設定回路12の加算消費電流Iaの最大値及び最小値の差電流値と、駆動回路13の第3消費電流I3の最大値及び最小値の差電流値とが等しくなるように第1〜第3変換抵抗Rh1〜Rh3の抵抗値を上記の計算式から算出する。本実施形態では、コード「0」〜「15」(設定コード「0000」〜設定コード「1111」)における駆動回路13の第3消費電流I3の最大値と最小値の差電流値が10uAになるように、第1〜第3変換抵抗Rh1〜Rh3を算出する。   In step 33 (calculation of conversion resistance), the difference current value between the maximum value and the minimum value of the additional consumption current Ia of the ladder D / A conversion circuit 50 and the output voltage setting circuit 12 and the third consumption current I3 of the drive circuit 13 are calculated. The resistance values of the first to third conversion resistors Rh1 to Rh3 are calculated from the above formula so that the difference current value between the maximum value and the minimum value becomes equal. In the present embodiment, the difference current value between the maximum value and the minimum value of the third current consumption I3 of the drive circuit 13 in the codes “0” to “15” (setting code “0000” to setting code “1111”) is 10 uA. Thus, the first to third conversion resistors Rh1 to Rh3 are calculated.

ステップ34(D/A変換器10の消費電流(以下、総消費電流Itという)について算出)において、ステップ33において算出した第1〜第3変換抵抗Rh1〜Rh3の抵抗値をD/A変換器10のシミュレーション回路に反映して、D/A変換器10の総消費電流Itについて算出を行う。   In step 34 (calculated for the consumption current of the D / A converter 10 (hereinafter referred to as the total consumption current It)), the resistance values of the first to third conversion resistors Rh1 to Rh3 calculated in step 33 are used as the D / A converter. The total consumption current It of the D / A converter 10 is calculated by reflecting on the 10 simulation circuits.

ステップ35(総消費電流Itの変動率測定)において、ステップ34において得られた算出結果からD/A変換器10の総消費電流Itの最大値及び最小値の差電流値を測定する。上記のように、駆動回路13の第3消費電流I3の最大値及び最小値を第1〜第3変換抵抗Rh1〜Rh3から算出する計算式中の駆動回路13の第3消費電流I3には、アンプ回路14の消費電流を含んでいない。   In step 35 (measurement of fluctuation rate of total consumption current It), the difference current value between the maximum value and the minimum value of the total consumption current It of the D / A converter 10 is measured from the calculation result obtained in step 34. As described above, the third consumption current I3 of the drive circuit 13 in the calculation formula for calculating the maximum value and the minimum value of the third consumption current I3 of the drive circuit 13 from the first to third conversion resistors Rh1 to Rh3 includes: The consumption current of the amplifier circuit 14 is not included.

このため、ラダーD/A変換回路50及び出力電圧設定回路12の加算消費電流Iaの最大値及び最小値の差電流値と、駆動回路13の第3消費電流I3の最大値及び最小値の差電流値とが等しくならずに第1〜第3変換抵抗Rh1〜Rh3の抵抗値の補正が必要となる。   Therefore, the difference between the maximum current value and the minimum current value of the addition current consumption Ia of the ladder D / A conversion circuit 50 and the output voltage setting circuit 12 and the maximum value and the minimum value of the third current consumption I3 of the drive circuit 13. The resistance values of the first to third conversion resistors Rh1 to Rh3 need to be corrected without being equal to the current value.

つまり、再度、ラダーD/A変換回路50及び出力電圧設定回路12の加算消費電流Iaの最大値及び最小値の差電流値と、駆動回路13の第3消費電流I3の最大値及び最小値の差電流値とが等しくなるように、ステップ33において算出した第1〜第3変換抵抗Rh1〜Rh3を補正する必要がある。   That is, again, the difference between the maximum value and the minimum value of the additional consumption current Ia of the ladder D / A conversion circuit 50 and the output voltage setting circuit 12, and the maximum value and the minimum value of the third consumption current I3 of the drive circuit 13. It is necessary to correct the first to third conversion resistors Rh1 to Rh3 calculated in step 33 so that the difference current value becomes equal.

図4に、D/A変換器10の総消費電流Itについてシミュレーションを行った結果を示す。本実施形態では、コード「0」〜「15」におけるD/A変換器10の総消費電流Itの近似線K2は、最大値と最小値の差電流値が5uAになっている。   FIG. 4 shows the result of simulation for the total current consumption It of the D / A converter 10. In the present embodiment, the approximate line K2 of the total consumption current It of the D / A converter 10 in the codes “0” to “15” has a difference current value of 5 uA between the maximum value and the minimum value.

ステップ36(変換抵抗補正)において、ステップ35において測定したD/A変換器10の総消費電流Itの最大値及び最小値の差電流値が無くなるように、ステップ33において算出した第1〜第3変換抵抗Rh1〜Rh3に、ステップ35において求めたコード「0」〜「15」(設定コード「0000」〜設定コード「1111」)におけるD/A変換器10の総消費電流Itの近似線K2についての最大値と最小値の差電流値を考慮して再算出する。本実施形態では、駆動回路13の第3消費電流I3の最大値及び最小値の差電流値に、さらに、5uAを加えて計算式から算出して、第1〜第3変換抵抗Rh1〜Rh3の抵抗値はそれぞれ18kΩ、36kΩ、36kΩとなっている。   In step 36 (conversion resistance correction), the first to third values calculated in step 33 so that the difference between the maximum value and the minimum value of the total consumption current It of the D / A converter 10 measured in step 35 is eliminated. For the conversion resistors Rh1 to Rh3, an approximate line K2 of the total current consumption It of the D / A converter 10 in the codes “0” to “15” (setting code “0000” to setting code “1111”) obtained in step 35. Recalculation taking into account the difference current value between the maximum and minimum values. In this embodiment, 5 uA is further added to the difference current value between the maximum value and the minimum value of the third consumption current I3 of the drive circuit 13 to calculate from the calculation formula, and the first to third conversion resistors Rh1 to Rh3. The resistance values are 18 kΩ, 36 kΩ, and 36 kΩ, respectively.

ステップ37(D/A変換器10の総消費電流Itについて算出)において、ステップ36において再算出した第1〜第3変換抵抗Rh1〜Rh3の抵抗値をD/A変換器10の回路に反映して、D/A変換器10の総消費電流Itについて算出を行う。   In step 37 (calculated for the total current consumption It of the D / A converter 10), the resistance values of the first to third conversion resistors Rh1 to Rh3 recalculated in step 36 are reflected in the circuit of the D / A converter 10. Thus, the total consumption current It of the D / A converter 10 is calculated.

ステップ38(総消費電流Itに変動率があるか?)において、ステップ37において得られた算出結果からD/A変換器10の総消費電流Itの近似線K3を求めて、近似線K3に傾斜があるか否かを判定する。そして、D/A変換器10の総消費電流Itの近似線K3に傾き(変動率)がある場合(ステップ38でYES)、ステップ36に移行する。つまり、ステップ36〜ステップ38までの処理を再度行うことで、設定コード「0000」〜設定コード「1111」におけるD/A変換器10の総消費電流Itの近似線K3に傾斜がなくなる。 反対に、設定コード「0000」〜設定コード「1111」におけるD/A変換器10の総消費電流Itの近似線K3に傾き(変動率)がない場合(ステップ38でNO)、第1〜第3変換抵抗Rh1〜Rh3の設定を終了する。図5に、D/A変換器10の総消費電流Itについてシミュレーションを行った結果を示す。本実施形態では、コード0〜15(設定コード「0000」〜設定コード「1111」)におけるD/A変換器10の総消費電流Itの近似線K3は、最大値と最小値の差電流が0uAになり、傾き(変動率)がなくなっている。   In step 38 (whether there is a variation rate in the total consumption current It?), An approximate line K3 of the total consumption current It of the D / A converter 10 is obtained from the calculation result obtained in step 37, and the approximate line K3 is inclined. It is determined whether or not there is. If the approximate line K3 of the total consumption current It of the D / A converter 10 has a slope (variation rate) (YES in step 38), the process proceeds to step 36. That is, by performing the processing from step 36 to step 38 again, there is no inclination in the approximate line K3 of the total consumption current It of the D / A converter 10 in the setting code “0000” to the setting code “1111”. On the contrary, when there is no slope (variation rate) in the approximate line K3 of the total consumption current It of the D / A converter 10 in the setting code “0000” to the setting code “1111” (NO in step 38), the first to first The setting of the three conversion resistors Rh1 to Rh3 is completed. FIG. 5 shows the result of simulation for the total current consumption It of the D / A converter 10. In the present embodiment, the approximate line K3 of the total current consumption It of the D / A converter 10 in the codes 0 to 15 (setting code “0000” to setting code “1111”) has a difference current of 0 uA between the maximum value and the minimum value. And the slope (rate of change) disappears.

このとき、入力電圧範囲の最小値Vminは0.50Vになり、入力電圧範囲の最大値Vmaxは0.75Vになっている。つまり、駆動回路13の入力電圧範囲が設定アナログ信号Asoutの電圧範囲と合うように第1〜第3変換抵抗Rh1〜Rh3の抵抗値を設定されている。   At this time, the minimum value Vmin of the input voltage range is 0.50V, and the maximum value Vmax of the input voltage range is 0.75V. That is, the resistance values of the first to third conversion resistors Rh1 to Rh3 are set so that the input voltage range of the drive circuit 13 matches the voltage range of the set analog signal Asout.

これにより、D/A変換器10の総消費電流Itは、入力される設定コード「0000」〜設定コード「1111」の全範囲において、ほぼ一定になってばらつきが小さくなっている。   As a result, the total current consumption It of the D / A converter 10 is substantially constant and has a small variation in the entire range of the input setting code “0000” to setting code “1111”.

即ち、ラダーD/A変換回路50は、設定コードに応じてアナログ信号Aoutを出力する。出力電圧設定回路12は、ラダーD/A変換回路50の出力電圧を駆動回路13の入力電圧範囲に設定して設定アナログ信号Asoutとして出力している。駆動回路13は、出力電圧設定回路12から入力した設定アナログ信号Asoutの駆動能力を上げて、かつ接地電位GNDから電源電圧Vccの電圧範囲に変換して駆動アナログ信号Akoutとして出力している。   That is, the ladder D / A conversion circuit 50 outputs the analog signal Aout according to the setting code. The output voltage setting circuit 12 sets the output voltage of the ladder D / A conversion circuit 50 within the input voltage range of the drive circuit 13 and outputs the set analog signal Asout. The drive circuit 13 increases the drive capability of the set analog signal Asout input from the output voltage setting circuit 12, converts the ground potential GND into the voltage range of the power supply voltage Vcc, and outputs the drive analog signal Akout.

上記のD/A変換器10及びラダーD/A変換回路50の配線抵抗を考慮した場合の総消費電流It及び第1消費電流I1と駆動アナログ信号Akoutについてシミュレーションを行った結果を図6(a)〜図7(b)に示す。なお、シミュレーション条件として、電源電圧Vcc=1.0V、第1〜第13ラダー抵抗Rd1〜Rd13の抵抗値は全て25kΩである。そして、D/A変換器10及びラダーD/A変換回路50と電源ラインL1との間の配線抵抗、D/A変換器10及びラダーD/A変換回路50とGNDラインL2との間の配線抵抗は25Ωである。   FIG. 6A shows the result of simulation of the total consumption current It, the first consumption current I1, and the drive analog signal Akout when the wiring resistance of the D / A converter 10 and the ladder D / A conversion circuit 50 is taken into consideration. ) To FIG. 7B. As simulation conditions, the power supply voltage Vcc = 1.0 V and the resistance values of the first to thirteenth ladder resistors Rd1 to Rd13 are all 25 kΩ. The wiring resistance between the D / A converter 10 and the ladder D / A conversion circuit 50 and the power supply line L1, and the wiring between the D / A converter 10 and the ladder D / A conversion circuit 50 and the GND line L2. The resistance is 25Ω.

図6(a)は、コード「0」〜コード「15」(設定コード「0000」〜設定コード「1111」)に対するD/A変換器10の総消費電流Itを示し、図6(b)は、コード「0」〜コード「15」(設定コード「0000」〜設定コード「1111」)に対するラダーD/A変換回路50単体での第1消費電流I1を示している。D/A変換器10の総消費電流Itの最大値及び最小値の差電流値が、ラダーD/A変換回路50の最大値及び最小値の差電流値より小さくなっていることがわかる。   6A shows the total current consumption It of the D / A converter 10 with respect to code “0” to code “15” (setting code “0000” to setting code “1111”), and FIG. , The first consumption current I1 of the ladder D / A conversion circuit 50 alone with respect to the codes “0” to “15” (setting code “0000” to setting code “1111”). It can be seen that the difference current value between the maximum value and the minimum value of the total consumption current It of the D / A converter 10 is smaller than the difference current value between the maximum value and the minimum value of the ladder D / A conversion circuit 50.

図7(a)コード「0」〜コード「15」(設定コード「0000」〜設定コード「1111」)に対するD/A変換器10の駆動アナログ信号Akoutのコード間の出力電圧変動量を示し、図7(b)は、コード「0」〜コード「15」(設定コード「0000」〜設定コード「1111」)に対するラダーD/A変換回路50単体でのアナログ信号Aoutのコード間の出力電圧変動量を示している。D/A変換器10の駆動アナログ信号Akoutのコード間変動量の最大値及び最小値の差電圧値が、ラダーD/A変換回路50のアナログ信号Aoutでの最大値及び最小値の差電圧値より小さくなっていることがわかる。   FIG. 7A shows the output voltage fluctuation amount between the codes of the drive analog signal Akout of the D / A converter 10 with respect to the codes “0” to “15” (setting code “0000” to setting code “1111”), FIG. 7B shows the output voltage fluctuation between the codes of the analog signal Aout in the ladder D / A conversion circuit 50 alone with respect to the codes “0” to “15” (setting code “0000” to setting code “1111”). Indicates the amount. The difference voltage value between the maximum value and the minimum value of the inter-code fluctuation amount of the drive analog signal Akout of the D / A converter 10 is the difference voltage value between the maximum value and the minimum value of the analog signal Aout of the ladder D / A conversion circuit 50. It can be seen that it is smaller.

従って、上記のシミュレーションの結果より、D/A変換器10は、総消費電流Itのばらつきが抑えられるため、駆動アナログ信号Akoutのばらつきが小さくなり、デジタル信号からアナログ信号への変換精度が向上していることがわかる。   Therefore, from the result of the above simulation, the D / A converter 10 can suppress the variation in the total current consumption It, so that the variation in the drive analog signal Akout is reduced, and the conversion accuracy from the digital signal to the analog signal is improved. You can see that

以上記述したように、本実施の形態によれば、以下の効果を奏する。
(1)D/A変換器10は、ラダーD/A変換回路50の抵抗値より、抵抗値が大きく設定コードにより第2消費電流I2がばらつかない出力電圧設定回路12を備えたことで、設定コードによる総消費電流Itのばらつきを小さくすることができる。
(2)D/A変換器10は、入力される設定コード「0000」〜設定コード「1111」におけるラダーD/A変換回路50及び出力電圧設定回路12の加算消費電流Iaのばらつき(変動率)を、駆動回路13の第3消費電流I3のばらつき(変動率)で相殺している。これにより、D/A変換器10は、入力される設定コード「0000」〜設定コード「1111」の全範囲において総消費電流Itのばらつきを小さくして、駆動アナログ信号Akoutのばらつき(変動率)を小さくすることができる。従って、D/A変換器10は、デジタル信号D0〜D3から駆動アナログ信号Akoutへの変換精度を向上することができる。
As described above, according to the present embodiment, the following effects can be obtained.
(1) The D / A converter 10 includes the output voltage setting circuit 12 that has a resistance value larger than the resistance value of the ladder D / A conversion circuit 50 and does not vary the second consumption current I2 due to the setting code. Variations in the total current consumption It due to the setting code can be reduced.
(2) The D / A converter 10 has a variation (variation rate) in the added consumption current Ia of the ladder D / A conversion circuit 50 and the output voltage setting circuit 12 in the input setting codes “0000” to “1111”. Is offset by the variation (variation rate) in the third consumption current I3 of the drive circuit 13. Thereby, the D / A converter 10 reduces the variation of the total consumption current It in the entire range of the setting code “0000” to the setting code “1111” to be input, and the variation (variation rate) of the drive analog signal Akout. Can be reduced. Therefore, the D / A converter 10 can improve the conversion accuracy from the digital signals D0 to D3 to the drive analog signal Akout.

尚、上記実施の形態は、以下の態様で実施してもよい。
・上記実施形態では、出力電圧設定回路12は、第1抵抗部21と第2抵抗部22がそれぞれ8本の抵抗素子と4本の抵抗素子にて構成されている。これに限らず、所定の抵抗値にすることができれば何本の抵抗素子にて構成しても良く、どのような回路構成にしてもよい。
In addition, you may implement the said embodiment in the following aspects.
In the above embodiment, in the output voltage setting circuit 12, the first resistor portion 21 and the second resistor portion 22 are each configured by eight resistor elements and four resistor elements. The present invention is not limited to this, and any number of resistance elements may be used as long as a predetermined resistance value can be obtained, and any circuit configuration may be used.

・上記実施形態では、設定アナログ信号Asoutの電圧範囲は、0.5Vから0.75Vに設定されていた。これに限らず、設定アナログ信号Asoutの電圧範囲は、駆動回路13が動作するための電圧範囲であればよい。   In the above embodiment, the voltage range of the setting analog signal Asout is set from 0.5V to 0.75V. The voltage range of the setting analog signal Asout is not limited to this, and may be a voltage range for the drive circuit 13 to operate.

D/A変換器の電気ブロック回路図である。It is an electric block circuit diagram of a D / A converter. 駆動回路が備える抵抗の設定処理を示すフローチャートである。It is a flowchart which shows the setting process of the resistance with which a drive circuit is provided. シミュレーションの結果を示す説明図である。It is explanatory drawing which shows the result of simulation. シミュレーションの結果を示す説明図である。It is explanatory drawing which shows the result of simulation. シミュレーションの結果を示す説明図である。It is explanatory drawing which shows the result of simulation. (a)、(b)はシミュレーションの結果を示す説明図である。(A), (b) is explanatory drawing which shows the result of simulation. (a)、(b)はシミュレーションの結果を示す説明図である。(A), (b) is explanatory drawing which shows the result of simulation. 従来のラダーD/A変換回路の電気回路図である。It is an electric circuit diagram of a conventional ladder D / A conversion circuit. ラダーD/A変換回路の動作説明図である。It is operation | movement explanatory drawing of a ladder D / A conversion circuit.

符号の説明Explanation of symbols

10 D/A変換器
12 出力電圧設定回路
13 駆動回路
14 アンプ回路
50 D/A変換回路
D0〜D3 デジタル信号
GND 第2電圧
Rh1〜Rh3 第1〜第3抵抗
To 出力端子
Vcc 第1電圧
DESCRIPTION OF SYMBOLS 10 D / A converter 12 Output voltage setting circuit 13 Drive circuit 14 Amplifier circuit 50 D / A conversion circuit D0-D3 Digital signal GND 2nd voltage Rh1-Rh3 1st-3rd resistance To Output terminal Vcc 1st voltage

Claims (5)

デジタル信号をアナログ信号に変換するD/A変換回路と、前記D/A変換回路の出力端子と第1電圧との間に第1抵抗部を介在し、前記出力端子と第2電圧との間に第2抵抗部を介在して構成する出力電圧設定回路とを備え、入力されるデジタル信号に応じて消費電流が変動するD/A変換器であって、
前記入力されるデジタル信号に対するD/A変換回路及び前記出力電圧設定回路の消費電流の変化に対して逆向きの変化を有する消費電流を持つ駆動回路を備えることを特徴とするD/A変換器。
A D / A conversion circuit for converting a digital signal into an analog signal, a first resistor portion interposed between the output terminal of the D / A conversion circuit and the first voltage, and between the output terminal and the second voltage And an output voltage setting circuit configured by interposing a second resistor portion, and a D / A converter whose current consumption varies according to an input digital signal,
A D / A converter comprising a D / A converter circuit for the input digital signal and a drive circuit having a consumption current having a change opposite to a change in the consumption current of the output voltage setting circuit. .
請求項1に記載のD/A変換器において、
前記入力されるデジタル信号に対するD/A変換回路及び出力電圧設定回路の前記消費電流の変動率は、デジタル信号の値が大きいほど消費電流が小さくなる第1変動率であり、
前記入力されるデジタル信号において前記駆動回路の消費電流の変動率は、デジタル信号の値が大きいほど大きくなる第2変動率であることを特徴とするD/A変換器。
The D / A converter according to claim 1, wherein
The fluctuation rate of the consumption current of the D / A conversion circuit and the output voltage setting circuit with respect to the input digital signal is a first fluctuation rate in which the consumption current decreases as the value of the digital signal increases.
The D / A converter characterized in that the fluctuation rate of the consumption current of the drive circuit in the input digital signal is a second fluctuation rate that increases as the value of the digital signal increases.
請求項2に記載のD/A変換器において、
前記第1変動率及び前記第2変動率は、
その絶対値が等しく設定されていることを特徴とするD/A変換器。
The D / A converter according to claim 2,
The first variation rate and the second variation rate are:
A D / A converter characterized in that the absolute values are set equal.
請求項1〜3のいずれかに記載のD/A変換器において、
前記駆動回路は、前記D/A変換回路の出力信号が入力されるアンプ回路を備え、
第1抵抗が前記アンプ回路のマイナス入力端子と第1電圧との間に介在し、第2抵抗が前記アンプ回路のマイナス入力端子と第2電圧との間に介在し、第3抵抗が前記アンプ回路のマイナス入力端子と出力端子との間に介在することを特徴とするD/A変換器。
The D / A converter in any one of Claims 1-3 WHEREIN:
The drive circuit includes an amplifier circuit to which an output signal of the D / A conversion circuit is input,
A first resistor is interposed between the negative input terminal of the amplifier circuit and the first voltage, a second resistor is interposed between the negative input terminal of the amplifier circuit and the second voltage, and a third resistor is the amplifier. A D / A converter characterized by being interposed between a negative input terminal and an output terminal of a circuit.
請求項4に記載のD/A変換器において、
前記駆動回路は、
第1〜第3抵抗の抵抗値に基づいて、入力電圧範囲と該入力電圧範囲における消費電流の最小値及び最大値を設定することを特徴とするD/A変換器。
The D / A converter according to claim 4,
The drive circuit is
A D / A converter characterized by setting an input voltage range and a minimum value and a maximum value of current consumption in the input voltage range based on resistance values of the first to third resistors.
JP2008331515A 2008-12-25 2008-12-25 D / A converter Expired - Fee Related JP5287228B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008331515A JP5287228B2 (en) 2008-12-25 2008-12-25 D / A converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008331515A JP5287228B2 (en) 2008-12-25 2008-12-25 D / A converter

Publications (2)

Publication Number Publication Date
JP2010154358A true JP2010154358A (en) 2010-07-08
JP5287228B2 JP5287228B2 (en) 2013-09-11

Family

ID=42572878

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008331515A Expired - Fee Related JP5287228B2 (en) 2008-12-25 2008-12-25 D / A converter

Country Status (1)

Country Link
JP (1) JP5287228B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0531366A (en) * 1991-07-29 1993-02-09 Kao Corp Hydrogenation catalyst and its manufacture
JP2002204165A (en) * 2000-12-28 2002-07-19 Matsushita Electric Ind Co Ltd One-chip microcomputer
JP2003168977A (en) * 2001-11-30 2003-06-13 Matsushita Electric Ind Co Ltd Semiconductor device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0531366A (en) * 1991-07-29 1993-02-09 Kao Corp Hydrogenation catalyst and its manufacture
JP2002204165A (en) * 2000-12-28 2002-07-19 Matsushita Electric Ind Co Ltd One-chip microcomputer
JP2003168977A (en) * 2001-11-30 2003-06-13 Matsushita Electric Ind Co Ltd Semiconductor device

Also Published As

Publication number Publication date
JP5287228B2 (en) 2013-09-11

Similar Documents

Publication Publication Date Title
US10735018B2 (en) Successive approximation algorithm-based ADC self-correcting circuit
KR100520299B1 (en) Current-added-type digital to analog converter and digital to analog converting method thereof
US8537043B1 (en) Digital-to-analog converter with controlled gate voltages
JP6725498B2 (en) Hybrid digital-analog conversion system
US9503113B1 (en) Apparatus for offset trimming and associated methods
CN105486434B (en) Semiconductor device, resistance measuring system including the semiconductor device, and load cell apparatus including the semiconductor device
US8390264B2 (en) Differential reference voltage generator
US7453386B2 (en) Digital to analog converter and source driver
US6445325B1 (en) Piecewise linear digital to analog conversion
KR20010095167A (en) Digital-to-analog converter
US20100033356A1 (en) Circuits and methods to minimize nonlinearity errors in interpolating circuits
TW201351890A (en) Digital-to-analog-converter with resistor ladder
US10379693B2 (en) Current output circuit
US20110050470A1 (en) Digital-to-analog converter
JP4897365B2 (en) regulator
JP5287228B2 (en) D / A converter
JP2000323991A (en) Voltage generating circuit and d/a converting circuit
CN113454562B (en) Compensation for binary weighted voltage divider
KR101096088B1 (en) Digital-Analog Converter using resistor-string
CN106253898B (en) Apparatus for gain selection with parasitic element compensation and related methods
JP2007020021A (en) A/d converter, and power supply device and electronic device using same
JP4596421B2 (en) DA converter
CN106253899B (en) Apparatus and associated method for offset trimming
JP2005026830A (en) A/d converter
JPH08125538A (en) Digital/analog converter

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110823

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130123

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130212

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130410

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130520

R150 Certificate of patent or registration of utility model

Ref document number: 5287228

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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