JP3767431B2 - D / A converter - Google Patents

D / A converter Download PDF

Info

Publication number
JP3767431B2
JP3767431B2 JP2001225962A JP2001225962A JP3767431B2 JP 3767431 B2 JP3767431 B2 JP 3767431B2 JP 2001225962 A JP2001225962 A JP 2001225962A JP 2001225962 A JP2001225962 A JP 2001225962A JP 3767431 B2 JP3767431 B2 JP 3767431B2
Authority
JP
Japan
Prior art keywords
resistance
elements
converter
output
digital data
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
JP2001225962A
Other languages
Japanese (ja)
Other versions
JP2003037503A (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.)
Denso Corp
Original Assignee
Denso Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Corp filed Critical Denso Corp
Priority to JP2001225962A priority Critical patent/JP3767431B2/en
Publication of JP2003037503A publication Critical patent/JP2003037503A/en
Application granted granted Critical
Publication of JP3767431B2 publication Critical patent/JP3767431B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Analogue/Digital Conversion (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、電源母線間に複数の抵抗素子を接続して構成される抵抗回路を備え、入力されるnビットのディジタルデータをD/A変換したアナログデータを出力する抵抗ストリング型のD/A変換器に関する。
【0002】
【従来の技術】
この種のD/A変換器として、特開平08−130477号公報に開示されるものがある。この発明は、電源電位VDD−GND電位間に抵抗値が等しい抵抗を複数直列接続して抵抗分圧回路を構成し、この抵抗分圧回路の各分圧点における電圧を、デコーダにより選択されたスイッチ回路を介して出力するものであり、各分圧点の中間電位近辺のスイッチ回路をトランスミッションゲート(アナログスイッチ)で構成することで、出力電圧の低下を確実に防止しながら、使用するトランジスタの数を減少させる等の効果を図るものである。
【0003】
【発明が解決しようとする課題】
しかしながら、上述した発明においても、次のような欠点を生じる。D/A変換器の要部であるところのデコーダは一般的に普及している構成のものにおいては、使用するMOSトランジスタの数が多い。
【0004】
この種のnビットのディジタルデータを入力するD/A変換器においては、NOTゲートをn個,NANDゲートを2個用いることで構成できるが、このとき、特に、デコーダに入力するビット数が多ければ多いほど、ビット数のほぼ2の累乗に比例してMOSトランジスタの個数が激増するため、このMOSトランジスタ等の占有面積により回路面積の増大を招くという事情がある。
【0005】
さらに、特開平08−130477号公報に示される発明においては、出力電圧の低下を確実に防止し低電圧電源を用いたときでも安定した動作を行うために、中央電位付近にトランスミッションゲートを設ける構成としているが、この出力電圧の低下を防止等する構成の下で回路面積を縮小したいという要望もある。
【0006】
本発明は、上記事情に鑑みてなされたもので、その目的は、回路の素子数を大幅に減少させることで回路面積を縮小できる抵抗ストリング型のD/A変換器を提供することにある。
【0007】
【課題を解決するための手段】
請求項1記載のD/A変換器によれば、次のように作用する。すなわち、デコード手段は、MSB側のmビットデータをデコードする。部分D/A変換部は、このデコード出力に基づいて2個の分圧用スイッチング素子をオンオフし、電源母線間に接続された抵抗回路によって分圧電位を2段階で出力端子に出力する。このとき、分圧電位変化手段がこの分圧電位を2n−m段階で変化させることになり、2n−m×2=2段階のアナログデータが得られる。そして、mビット入力のデコード手段は、nビット入力のデコード手段に比較して大幅に少ない素子数で構成することができる。
【0008】
また、従来のD/A変換器(例えば、特開平08−130477号公報参照)であれば、nビットデータをD/A変換出力するためには単純に2個のスイッチング素子を必要とする。これに対して、本発明によれば、部分D/A変換部を構成するスイッチング素子の個数は2個となるので、少なくとも(n−m=1であれば)従来構成の1/2に削減することが可能である。従って、分圧電位変化手段を構成するために多少の回路素子を要するとしても、上述したデコード手段による削減効果と合わせて全体で必要な素子数は極めて少なくなるため、回路面積を大幅に縮小することが可能となる。
【0009】
しかも、分圧電位変化手段として機能する短絡用スイッチング素子は、(n−m)ビットのディジタルデータに応じてオンオフされ、オン状態になると抵抗回路を構成する一部の抵抗素子を短絡するので、抵抗回路による分圧電位を変化させて複雑な回路構成を必要とせずに2n段階のアナログデータを得ることができる。
【0013】
さらに、部分D/A変換部は、それら2つの分圧電位変化手段の間に位置するように配置され、各抵抗値がRである2m個の抵抗素子によって分圧電位を出力する。分圧電位変化手段は、抵抗回路の電源側とグランド側とに夫々配置されており、各抵抗値がR/2n-mである夫々2n-m個の抵抗素子により2n-m段階で分圧電位を変化させることになる。このとき、2つの分圧電位変化手段は、グランド側の短絡用スイッチング素子が短絡させる抵抗素子数を2n-m個から1個まで変化させると同時に電源側の短絡用スイッチング素子が短絡させる抵抗素子数を1個から2n-m個まで変化させる。
【0014】
即ち、短絡用スイッチング素子が短絡させる抵抗素子数が夫々変化しても、2つの分圧電位変化手段によって抵抗回路に接続される素子数の合計は常に2n−m−1個となるため、電源とグランドとの間の抵抗値は変わらない。
【0015】
そして、LSB側の2n−mビットによるデータが「1」増加するのに応じて、グランド側の分圧電位変化手段により短絡される抵抗素子数は1個減ると同時に電源側の分圧電位変化手段により短絡される抵抗素子数は1個増えるので、アナログデータとして出力される電位は、電源側及びグランド側の抵抗素子の抵抗値R/2n−mに応じて段階的に変化するようになる。したがって、(n−m)が2以上の場合にも分圧電位変化手段により分圧電位を段階的に変化させることで、デコード手段を構成する素子やその他スイッチング素子を一層削減することができる。
【0016】
請求項記載のD/A変換器によれば、請求項記載の発明において、nが偶数であればmをn/2に設定し、nが奇数であればmを(n+1)/2または(n−1)/2に設定するように構成するので、(n−m)が2以上の場合における素子の削減効率を最大にすることができる。
【0017】
【発明の実施の形態】
(第1実施形態)
以下本発明を、5ビット入力の直列抵抗型D/A変換器に適用した場合の第1実施形態として図1ないし図4を参照して説明する。図1は、5ビット入力直列抵抗型D/A変換器(以下、D/A変換器と略す)1の電気的構成を示している。
このD/A変換器1は、デコード手段としてのデコーダ2と、このデコーダ2の出力に接続されると共に夫々16個のNOTゲート3a〜3pを図示のように介して接続される16個のアナログスイッチ4a〜4pと、分圧電位変化手段としてのpMOSトランジスタ5及びnMOSトランジスタ6と、複数の抵抗素子7,8a〜8q,9とから構成されている。
【0018】
デコーダ2は、5ビット(nビット)のディジタルデータ(IN5〜IN1)のうち上位4ビット(mビット)のディジタルデータIN5〜IN2を入力し、16つの出力端子D16〜D1にデコード信号を出力するようになっており、これらのデコード出力によりNOTゲート3a〜3pを介してアナログスイッチ4a〜4pのうちいずれか1つをオンするようになっている。尚、本発明における部分D/A変換部10は、NOTゲート3a〜3p,アナログスイッチ4a〜4pおよび抵抗素子8a〜8pにより構成されている。尚、抵抗素子8qを含んでいてもよい。
【0019】
抵抗素子7,8a〜8q,9は、電源VDD−GND間(電源母線間)に抵抗素子7,8p,・・,8a,9,8qの順に直列に接続されており、抵抗回路12を構成している。また、抵抗素子8a〜8qはそれぞれ同一の抵抗値Rに設定されており、抵抗素子7及び抵抗素子9は、抵抗素子8a〜8qの抵抗値Rの1/2となる同一の抵抗値R/2に設定されている。
【0020】
短絡用スイッチング素子としてのpMOSトランジスタ5は、そのドレイン・ソースが抵抗素子7の両端に接続されており、さらに、短絡用スイッチング素子としてのnMOSトランジスタ6は、そのドレイン・ソースが抵抗素子9の両端に接続されている。MOSトランジスタ5及び6のゲートは、ディジタルデータIN1(LSB)が与えられる入力端子に接続されている。したがって、ディジタルデータIN1がハイ状態(以下、「H」と称する)であれば、MOSトランジスタ6により抵抗素子9の両端が短絡されて抵抗素子7の両端は短絡されず、逆にロウ状態(以下、「L」と称する)であれば、MOSトランジスタ5により抵抗素子7の両端が短絡されて抵抗素子9の両端は短絡されない。本実施形態における分圧電位変化手段11は、pMOSトランジスタ5およびnMOSトランジスタ6により構成されている。
【0021】
抵抗素子9と抵抗素子8aとの共通接続点となる分圧点T1には、アナログスイッチ4aを介して出力端子OUTが接続されており、デコーダ2によりアナログスイッチ4aが選択されると、出力端子OUTの電位は分圧点T1の電位に略等しくなる。
【0022】
同様に、抵抗素子8a〜8pよりなる直列回路の各共通接続点となる分圧点T2〜T16には、アナログスイッチ4b〜4pがそれぞれ接続されており、デコーダ2によりアナログスイッチ4b〜4pのいずれかが選択されると、出力端子OUTの電位は、アナログスイッチ4b〜4pにより選択された分圧点T2〜T16のいずれかの電位に略等しくなる。
【0023】
ここで、以下、このD/A変換器1の動作原理を図4を参照して説明する。図4は、図1におけるnMOSトランジスタ6及び抵抗素子9を省略したD/A変換器の電気的構成を示している。図4には、図1の内部構成に対応した符号を付して説明を行う。
【0024】
抵抗素子8a〜8q及び7の抵抗値をすべて加えた抵抗値をA[Ω]、抵抗素子7の抵抗値をB[Ω]、抵抗素子8a〜8qのそれぞれの抵抗値をC[Ω]とする。例えば、デコーダ2の出力端子D16に基づいてアナログスイッチ4pがオンした場合において、pMOSトランジスタ5がオン状態となり抵抗素子7の両端が短絡すると出力端子OUTに出力される電位V1は、
V1 = VDD×(A−B−C)/(A−B) [V] ・・(1)
となる。また、このときpMOSトランジスタ5がオフすると、出力端子OUTに出力される電位V2は、
V2 = VDD×(A−B−C)/A [V] ・・(2)
となる。すなわち、ディジタルデータIN1の値が変化すると、分圧電位が2段階に変化する。したがって、ディジタルデータIN5〜IN2の値に応じて、部分D/A変換部10の出力が分圧点T1〜T16の分圧電位として16段階で得られるが、ディジタルデータIN1の値に応じて、この分圧電位が2段階で変化することになるので結果として、16×2=32段階のアナログデータが出力されることになる。
【0025】
以下、図1における電気的構成の作用を図2をも参照して説明する。
図2は、ディジタルデータIN5〜IN1の値に応じた出力端子OUTにおける電位の変化を示している。ディジタルデータIN5〜IN2がデコーダ2における入力端子D〜Aに入力されると、その出力端子D1〜D16の何れかの信号レベルが「H」、その他の信号レベルが「L」となり、これに対応して導通する分圧点T1〜T16の何れかの電位が出力端子OUTに出力される。
【0026】
この第1実施形態の作用説明においてはわかりやすくするため、ディジタルデータIN5〜IN1の各ビットが全て「L」である状態(00000B)からデータがインクリメントされ、全て「H」となる状態(11111B)に向けて遷移する場合について述べる。
【0027】
ディジタルデータIN5〜IN2の各ビットが、何れも「L」であれば、デコーダ2の出力端子D1が「H」となるため、アナログスイッチ4aがオン状態となり、分圧点T1と出力端子OUTとが導通する。また、ディジタルデータIN1が「L」であり、電源側に対応するMOSトランジスタ5がオフ、グランド側に対応するMOSトランジスタ6がオンすると、電源側に配置されている抵抗素子7の両端は短絡されず、グランド側に配置されている抵抗素子9の両端は短絡される。
【0028】
このとき、電源−GND間の抵抗素子7,8a〜8q,9による抵抗値の合計は、(抵抗素子8a〜8qの合計抵抗値17R)+(抵抗素子7の抵抗値R/2)=17.5Rとなる。また、出力端子OUTに出力される分圧点T1の電位は、VDD×(抵抗素子8qの抵抗値R)/17.5R=VDD×2/35[V]になる(図2,分圧点T1の欄参照)。
【0029】
そして、ディジタルデータIN5〜IN1の値がインクリメントされ、IN1が「H」になると、MOSトランジスタ5,6がそれぞれオン,オフとなり、抵抗素子7の両端は短絡され、抵抗素子9の両端は短絡されない。
【0030】
このとき、電源−GND間の抵抗素子の抵抗値の合計は、(抵抗素子9の抵抗値R/2)+(抵抗素子8a〜8qの合計抵抗値17R)=17.5Rとなり、ディジタルデータIN5〜IN1が全て「L」のときと一致する。このとき、出力端子に出力される分圧点T1の電位は、VDD×(抵抗素子8q,9の合計抵抗値3R/2)/17.5R=VDD×3/35[V]となる(図2,分圧点T1の欄参照)。
【0031】
ディジタルデータIN5〜IN1の値がさらにインクリメントされると、デコーダ2の入力端子D〜Aにはそれぞれ信号レベル「L」「L」「L」「H」が与えられ、ディジタルデータIN1には信号レベル「L」が与えられる。このとき、デコーダ2の出力端子D2が「H」となるため、アナログスイッチ4bがオン状態となり、分圧点T2と出力端子OUTとが導通する。また、IN1が「L」となるため、MOSトランジスタ5,6がそれぞれオフ状態,オン状態となる。このとき、電源−GND間の抵抗素子の抵抗値の合計は、上述と同様に17.5Rとなり、出力端子OUTに出力される分圧点T2の電位は、VDD×(抵抗素子8q,8aの合計抵抗値2R)/17.5R=VDD×4/35[V]となる(図2,分圧点T2の欄参照)。
【0032】
以下同様に、ディジタルデータIN5〜IN1がインクリメントされた場合でも、電源−GND間の抵抗値の合計は常に17.5Rとなり、分圧電位を定める抵抗値はR/2ずつ増加する。従って、出力端子OUTより出力されるアナログデータは線形的に上昇することになる(図2参照)。
【0033】
<D/A変換器1に要するMOSトランジスタの個数の算出>
以下、D/A変換器1に要するpチャネル型およびnチャネル型のMOSトランジスタの個数を算出する。尚、負論理で構成されるのが一般的であり、正論理で説明した本実施形態において算出した個数は参考程度となるが、この算出した計算結果を示す。
【0034】
一般的な4ビット入力のデコーダの元となる構成を図3(a)に示す。また、その内部のNANDゲートの一般的な構成を図3(b)に示す。本実施形態におけるデコーダ2に要するMOSトランジスタの数を、図3(a)に示した構成の各出力端子に、NOTゲートとなるCMOSインバータが付加される形態として算出する。このとき、D/A変換器1に要するMOSトランジスタの数は、

Figure 0003767431
となり、総合計234個となる。
【0035】
<参考 従来構成における5ビット抵抗ストリング型D/A変換器に要するMOSトランジスタの個数>
Figure 0003767431
となり、デコーダのみでも合計330個程度となる。その他にもスイッチ回路等に32〜40個程度のMOSトランジスタを必要とする。
【0036】
このような第1実施形態によれば、デコーダ2は、MSB側のディジタルデータIN5〜IN2をデコードし、部分D/A変換部10は電源−GND間に接続された抵抗回路12を用いて分圧した電位を発生するが、この分圧電位をMOSトランジスタ5,6及び抵抗7,9により2段階で変化させるように構成しているので、2×2=32段階のアナログデータの出力が得られる。
【0037】
そして、4ビット入力のデコーダ2は、5ビット入力のデコーダに比較して大幅に少ない素子数で構成されるので、ディジタルデータIN1に応じて設けられたMOSトランジスタ5,6の素子数を合わせたとしても、D/A変換器1全体で使用する素子数を大幅に減少させることができる。これにより、回路面積を縮小することができる。
【0038】
さらに、MOSトランジスタ5,6に対応する2つの抵抗素子7,9の抵抗値を他の素子の1/2に設定し、MOSトランジスタ5,6の何れか一方をLSBデータの値に応じてオンさせるようにしたので、出力されるアナログデータのレベルを抵抗素子7または9の端子電圧VDD/35を単位として段階的に変化させることができる。
【0039】
(第2実施形態)
図5及び図6は、本発明の第2実施形態を示すもので、第1実施形態における回路構成を応用した5ビット入力直列抵抗型D/A変換器の回路構成を示すものである。
5ビット入力直列抵抗型D/A変換器(以下、D/A変換器と略す)21は、デコード手段としてのデコーダ22と、デコーダ23と、NOTゲート24a〜24dと、短絡用スイッチング素子としてのpMOSトランジスタ25a〜25dおよびnMOSトランジスタ26a〜26dと、電源−GND間に直列に接続された複数の抵抗素子27a〜27d,28a〜28h,29a〜29dと、NOTゲート30a〜30hと、アナログスイッチ31a〜31hとから構成されている。
【0040】
尚、分圧電位変化手段32aは、電源側に配置されているpMOSトランジスタ25a〜25dによって構成されており、分圧電位変化手段32bは、グランド側に配置されているnMOSトランジスタ26a〜26dによって構成されている。また、部分D/A変換部33は、NOTゲート30a〜30h,アナログスイッチ31a〜31hおよび抵抗素子28a〜28hから構成されている。
【0041】
デコーダ22は、5ビット(nビット)のうち上位3ビット(mビット)のディジタルデータIN5〜IN3を8つの出力端子D8〜D1に正論理で選択的に出力するようになっている。
【0042】
デコーダ23は、下位2ビットのディジタルデータIN2,IN1をデコードした結果をそれぞれ4つの出力端子D4〜D1を介してNOTゲート24d〜24a及びnMOSトランジスタ26d〜26aのゲートに正論理で選択的に出力するようになっている。このとき、ディジタルデータIN5がMSBであり、IN1がLSBとなる。
【0043】
一方、抵抗素子27a〜27d,28a〜28h,29a〜29dは、電源−GND間(電源母線間)に抵抗素子27d,・・,27a,28h,・・,28a,29a,・・,29dの順で直列に接続されている。抵抗素子27a〜27d及び抵抗素子29a〜29dは同じ値に設計されており、また、抵抗素子28a〜28hは同じ抵抗値Rに設計されている。抵抗素子27a〜27d,29a〜29dのそれぞれの抵抗値は抵抗素子28a〜28hの夫々の1/4、すなわち、R/4に設定されている。
【0044】
NOTゲート24a〜24dは、デコーダ23により選択出力された論理を反転してそれぞれpMOSトランジスタ25a〜25dのゲートに出力するようになっている。
【0045】
pMOSトランジスタ25d〜25aのドレインは、何れも抵抗素子27a及び28hの共通接続点に接続されており、各トランジスタ25d〜25aのソースは、電源,抵抗素子27d及び27cの共通接続点,抵抗素子27c及び27bの共通接続点,抵抗素子27b及び27aの共通接続点に夫々接続されている。一方、nMOSトランジスタ26a〜26dのソースは、何れもグランドに接続されており、各トランジスタ26a〜26dのドレインは、抵抗素子28a及び29a,抵抗素子29a及び29b,抵抗素子29b及び29c,抵抗素子29c及び29dの各共通接続点に夫々接続されている。
【0046】
デコーダ22の出力端子D1〜D8は、それぞれ図5に示すように直接またはNOTゲート30a〜30hを介してアナログスイッチ31a〜31hの制御端子に接続されている。
【0047】
各抵抗素子28a〜28hのグランド側における分圧点T101〜T108は、アナログスイッチ31a〜31hを介してD/A変換器21の出力端子OUTに接続されている。そして、デコーダ22のデコード出力によってアナログスイッチ31a〜31hの何れかが選択されると、分圧点T101〜T108の何れかの電位が出力端子OUTに出力される。
【0048】
したがって、部分D/A変換部33は、デコーダ22の出力に基づいて、抵抗回路34による分圧電位を8段階で出力端子OUTに出力するようになっている。尚、アナログスイッチ31a〜31hは、それぞれpMOSトランジスタ及びnMOSトランジスタにより構成されている。
【0049】
以下、上述構成の作用につき、図6をも参照して説明する。
図6は、ディジタルデータIN5〜IN1の値に応じた出力端子OUTにおける電位の変化を示している。ディジタルデータIN2〜IN1がデコーダ23における入力端子B〜Aに与えられると、その出力端子D1〜D4のいずれかの信号レベルが「H」、その他の信号レベルが「L」となる。したがって、pMOSトランジスタ25a〜25dとnMOSトランジスタ26a〜26dとの符号の添え字(a〜d)の同じものが対でオン状態となり、その他のMOSトランジスタはオフ状態となる。図6には、このときのオン状態となるMOSトランジスタと出力端子OUTの電位との対応をも示している。
【0050】
この第2実施形態においても、ディジタルデータIN5〜IN1の各ビットが全て「L」である状態(00000B)から徐々にインクリメントされ、全て「H」となる状態(11111B)に向けて遷移する場合について説明する。
【0051】
ディジタルデータIN2,IN1が、何れも「L」であれば、デコーダ23の出力端子D1が「H」となり、MOSトランジスタ25a,26aがオン状態となる。また、ディジタルデータIN5〜IN3が何れも「L」であれば、デコーダ22の出力端子D1が「H」となり、アナログスイッチ31aがオン状態となる。
【0052】
このとき、電源−GND間の抵抗素子の抵抗値の合計は、(抵抗素子27d〜27bの合計抵抗値3R/4)+(抵抗素子28h〜28aの合計抵抗値8R)=8.75Rとなる。アナログスイッチ31aを介して出力端子OUTに出力される分圧点T101の電位は、VDD×0R/8.75R=0[V]となる(図6,分圧点T101の欄参照)。
【0053】
そして、ディジタルデータIN2,IN1の値がインクリメントされ、デコーダ23の入力端子B,Aに対してそれぞれ「L」,「H」として与えられると、デコーダ23の出力端子D2が「H」となり、MOSトランジスタ25b,26bがオン状態、その他がオフ状態となる。このとき、電源−GND間の抵抗の抵抗値の合計は、(抵抗素子27d,27cの合計抵抗値2R/4)+(抵抗素子28h〜28aの合計抵抗値8R)+(抵抗素子29aの抵抗値R/4)=8.75Rとなり、ディジタルデータIN5〜IN1が全て「L」のときと一致する。このとき、出力端子OUTに出力される分圧点T101の電位は、VDD×(抵抗素子29aの抵抗値R/4)/8.75R=VDD×1/35[V]となる(図6,分圧点T101の欄参照)。
【0054】
ディジタルデータIN2,IN1の値がさらにインクリメントされ、デコーダ23の入力端子B,Aに対してそれぞれ「H」,「L」として入力されると、デコーダ23の出力端子D3が「H」となり、MOSトランジスタ25c,26cがオン状態、その他がオフ状態となる。このとき、電源−GND間の抵抗の抵抗値の合計は、(抵抗素子27dの抵抗値R/4)+(抵抗素子28h〜28aの合計抵抗値8R)+(抵抗素子29a,29bの合計抵抗値2R/4)=8.75Rとなり、前述と同様に一致する。このとき、出力端子OUTに出力される分圧点T101の電位は、VDD×(抵抗素子29a,29bの合計抵抗値2R/4)/8.75R=VDD×2/35[V]となる(図6,分圧点T101の欄参照)。
【0055】
同様に、ディジタルデータIN2,IN1の値がインクリメントされ、それぞれ「H」,「H」として入力されたときにも、MOSトランジスタ25d,26dがオン状態となり、電源−GND間の抵抗の抵抗値の合計は8.75Rとなり、出力端子OUTに出力される分圧点T101の電位は、VDD×(抵抗素子29a,29b,29cの合計抵抗値3R/4)/8.75R=VDD×3/35[V]となる(図6,分圧点T101の欄参照)。
【0056】
さらに、ディジタルデータIN5〜IN1がインクリメントされ、ディジタルデータIN5〜IN1が、「L」,「L」,「H」,「L」,「L」として、デコーダ22及び23の入力端子にそれぞれ入力されると、デコーダ22の出力端子D2が「H」となり、これに伴いアナログスイッチ31bがオン状態となり、アナログスイッチ31aがオフ状態となる。また、上述と同様にMOSトランジスタ25a,26aがオン状態となる。このとき、同様に電源−GND間の抵抗の抵抗値の合計は8.75Rとなる。アナログスイッチ31bがオン状態となるので、出力端子OUTの電位は分圧点T102の電位に略等しくなり、VDD×(抵抗素子28aの抵抗値R)/8.75R=VDD×4/35[V]となる(図6,分圧点T102の欄参照)。
【0057】
このように、D/A変換器21に対して与えられるディジタルデータIN5〜IN1が順次インクリメントされると、MOSトランジスタ25a〜25d,26a〜26dのオン状態となる素子が変化して、電源−GND間の抵抗値は常に8.75Rになると共に、分圧点の電位はVDD/35[V]ずつ線形的に変化する。
【0058】
また、デコーダ22に与えられるディジタルデータIN5〜IN3の値が順に増加すると、アナログスイッチ31a,・・,31hの順で導通する素子が遷移し、これに伴い出力端子OUTに導通する分圧点が分圧点T101,・・,T108の順に遷移する。このとき、デコーダ23への入力データ(下位2ビット)が変化しなければ、抵抗素子28a〜28gの各抵抗値R単位で分圧点−GND間の抵抗値が段階的に増すことになり、出力電圧はVDD×4/35[V]ずつ増すことになる。
【0059】
まとめると、部分D/A変換部33は、5ビットデータの上位3ビット(IN5〜IN3)に基づき抵抗値がRである8個の抵抗素子28h〜28aによって分圧点T101〜T108における分圧電位を出力端子OUTに出力する。また、分圧電位変化手段32a,32bは、下位2ビットの入力データ(IN2,IN1)に応じて、抵抗値がR/4である夫々4個の抵抗素子27a〜27d,29a〜29dにより分圧電位を変化させる。
【0060】
即ち、入力データがインクリメントされると、グランド側の分圧電位変化手段32bが短絡させる抵抗素子数を4個から1個まで変化させると同時に電源側の分圧電位変化手段32aが短絡させる抵抗素子数を1個から4個まで変化させている。その結果、抵抗27a〜27d,29a〜29dのうち、抵抗回路34に実質的に接続されている素子数は常に「3」となり、分圧電位を定める抵抗値はR/4ずつ増加する。したがって、分圧電位を抵抗値R/4に応じて段階的に変化させることになる。
【0061】
すなわち、ディジタルデータIN5〜IN1の値が順にインクリメントされると、0[V]からVDD×31/35[V]までVDD×1/35[V]単位の線形出力が得られることになる(図6参照)。
【0062】
<D/A変換器21の構成に要するMOSトランジスタの個数>
次に、D/A変換器21の構成に要するMOSトランジスタの個数の算出結果を説明する。尚、上述と同様にデコーダ22,23を正論理で構成した際の個数の計算結果を示す。D/A変換器21に要するMOSトランジスタの個数は、
Figure 0003767431
で、総合計146個となる。
【0063】
このような第2実施形態によれば、線形出力を得られる構成において、この構成に要するMOSトランジスタは総合計146個となるため、D/A変換器21全体でさらに大幅に素子数を減少させることができる。これにより、第1実施形態の構成よりもさらに回路面積を縮小することができる。
【0064】
5ビット入力のD/A変換器21に対して、3ビット入力,2ビット入力のデコーダ22,23を使用しているので、素子の削減効率を最大にすることができる。
【0065】
電源−GND間の中央電位付近のアナログスイッチ31a〜31hをpMOSトランジスタ及びnMOSトランジスタから構成しているので、出力電圧の低下を確実に防止でき、また、低電圧電源を用いた場合でも安定して動作させることができる。
【0066】
さらに、抵抗素子27a〜27d,28a〜28h,29a〜29dによる抵抗素子数も16個で済むため素子数を減少させることができる。
【0067】
(他の実施形態)
上述実施形態においては、5ビット入力のD/A変換器に適用したが、5ビット以外のD/A変換器にも適用できる。この場合、第2実施形態のデコーダ22に対応するデコード手段としては、nが偶数であればn/2ビット入力のデコーダを使用し、nが奇数であれば(n−1)/2ビット入力または(n+1)/2ビット入力のデコーダを使用することが望ましい。これにより、素子の削減効率を最大にすることができる。
【0068】
上述実施形態においては、部分D/A変換部10,33における分圧用スイッチング素子としてアナログスイッチを用いて構成したが、MOSトランジスタで構成しても良い。
【0069】
上述第2実施形態においては、2つのデコーダ22,23を用いて構成したが、特にデコーダ23に相当するデコーダを2つ以上に分けて構成してもよい。例えば、7ビット入力のD/A変換器を構成する場合、図5の構成に対して3ビット入力のデコーダ22をそのまま採用し、デコーダ23に4ビット入力のデコーダを採用する場合も考えられる。このとき、デコーダ23に相当するものとして、2つの2ビット入力のデコーダを採用し、分圧電位変化手段32a,32bに相当する部分を2つの2ビット入力のデコーダに対応する形態で電源側およびグランド側にそれぞれ付加し、抵抗回路34に相当する抵抗素子数,抵抗値を選定することで、7ビット入力のD/A変換器を構成してもよい。これにより、さらに素子数を低減することができる。
【図面の簡単な説明】
【図1】本発明の第1実施形態を示す電気的構成図
【図2】出力端子における電位と分圧点との関係を示す図
【図3】(a)一般的なデコーダの電気的構成図、(b)一般的なNAND回路の電気的構成図
【図4】動作原理を説明するための電気的構成図
【図5】本発明の第2実施形態を示す図1相当図
【図6】図2相当図
【符号の説明】
1はD/A変換器、2はデコーダ(デコード手段)、4a〜4pはアナログスイッチ(分圧用スイッチング素子)、5はpMOSトランジスタ(短絡用スイッチング素子)、6はnMOSトランジスタ(短絡用スイッチング素子)、7は抵抗素子、8a〜8qは抵抗素子、9は抵抗素子、10は部分D/A変換部、11は分圧電位変化手段、12は抵抗回路、21はD/A変換器、22はデコーダ(デコード手段)、23はデコーダ、25a〜25dはpMOSトランジスタ(短絡用スイッチング素子)、26a〜26dはnMOSトランジスタ(短絡用スイッチング素子)、27a〜27dは抵抗素子、28a〜28hは抵抗素子、29a〜29dは抵抗素子、31a〜31hはアナログスイッチ(分圧用スイッチング素子)、32aは分圧電位変化手段、32bは分圧電位変化手段、33は部分D/A変換部、34は抵抗回路、OUTは出力端子である。[0001]
BACKGROUND OF THE INVENTION
The present invention includes a resistor circuit configured by connecting a plurality of resistance elements between power supply buses, and outputs a resistor string type D / A that outputs analog data obtained by D / A conversion of input n-bit digital data. Concerning the converter.
[0002]
[Prior art]
An example of this type of D / A converter is disclosed in Japanese Patent Application Laid-Open No. 08-130477. In the present invention, a resistor voltage dividing circuit is configured by connecting a plurality of resistors having the same resistance value between power supply potential VDD and GND potentials in series, and a voltage at each voltage dividing point of the resistor voltage dividing circuit is selected by a decoder. Outputs via a switch circuit. By configuring the switch circuit in the vicinity of the intermediate potential at each voltage dividing point with a transmission gate (analog switch), it is possible to reliably prevent a drop in the output voltage while preventing a drop in the output voltage. The effect of reducing the number is intended.
[0003]
[Problems to be solved by the invention]
However, the above-described invention also has the following drawbacks. The decoder which is the main part of the D / A converter has a large number of MOS transistors to be used in a general configuration.
[0004]
In this type of D / A converter for inputting n-bit digital data, n NOT gates and 2 NAND gates are provided. n However, at this time, as the number of bits input to the decoder increases, the number of MOS transistors increases dramatically in proportion to the power of almost 2 bits. There is a situation in which the circuit area increases due to the occupied area.
[0005]
Furthermore, in the invention disclosed in Japanese Patent Application Laid-Open No. 08-130477, a configuration in which a transmission gate is provided in the vicinity of the central potential in order to reliably prevent a decrease in output voltage and perform stable operation even when a low-voltage power supply is used. However, there is also a desire to reduce the circuit area under a configuration that prevents such a decrease in output voltage.
[0006]
The present invention has been made in view of the above circumstances, and an object thereof is to provide a resistance string type D / A converter capable of reducing the circuit area by greatly reducing the number of elements of the circuit.
[0007]
[Means for Solving the Problems]
The D / A converter according to claim 1 operates as follows. That is, the decoding means decodes m-bit data on the MSB side. The partial D / A conversion unit is configured to perform 2 based on the decoded output. m Each of the voltage-dividing switching elements is turned on and off, and the divided potential is set to 2 by a resistor circuit connected between the power supply buses. m Output to the output terminal in stages. At this time, the divided potential changing means converts this divided potential to 2 nm Will change in stages, 2 nm × 2 m = 2 n Stage analog data is obtained. The m-bit input decoding means can be configured with a significantly smaller number of elements than the n-bit input decoding means.
[0008]
Further, in the case of a conventional D / A converter (for example, see Japanese Patent Application Laid-Open No. 08-130477), in order to output n-bit data by D / A conversion, simply 2 n Switching elements are required. On the other hand, according to the present invention, the number of switching elements constituting the partial D / A converter is 2. m Therefore, at least (if n−m = 1), the number can be reduced to ½ of the conventional configuration. Therefore, even if some circuit elements are required to form the divided potential changing means, the total number of elements required is extremely small in combination with the reduction effect by the decoding means described above, so that the circuit area is greatly reduced. It becomes possible.
[0009]
Moreover, The short-circuit switching element that functions as the divided potential changing means is turned on / off according to (n−m) -bit digital data, and when it is turned on, a part of the resistance elements constituting the resistance circuit is short-circuited. Without changing the divided potential due to 2 and requiring a complicated circuit configuration n Stage analog data can be obtained.
[0013]
further, The partial D / A converter is arranged so as to be positioned between the two divided potential changing means, and each resistance value is R 2 m Divided potential is output by the individual resistance elements. Divided potential changing means are arranged on the power supply side and the ground side of the resistance circuit, respectively, and each resistance value is R / 2. nm 2 each nm 2 by one resistive element nm The divided potential is changed in stages. At this time, the two divided potential changing means set the number of resistance elements to be short-circuited by the ground-side short-circuit switching element to 2 nm The number of resistance elements to be short-circuited by the short-circuiting switching element on the power source side at the same time is changed from one to two. nm Change to pieces.
[0014]
That is, even if the number of resistance elements to be short-circuited by the short-circuit switching element changes, the total number of elements connected to the resistance circuit by the two divided potential changing means is always 2. nm Therefore, the resistance value between the power source and the ground does not change.
[0015]
And 2 on the LSB side nm As the data by the bit increases by “1”, the number of resistance elements short-circuited by the divided voltage potential changing means on the ground side decreases by one and simultaneously the number of resistance elements short-circuited by the divided potential changing means on the power supply side Is increased by 1, the potential output as analog data is the resistance value R / 2 of the resistance element on the power supply side and the ground side. nm It will change step by step according to. Therefore, even when (nm) is 2 or more, by changing the divided potential stepwise by the divided potential changing means, the elements constituting the decoding means and other switching elements can be further reduced.
[0016]
Claim 2 According to the described D / A converter, the claims 1 In the described invention, when n is an even number, m is set to n / 2, and when n is an odd number, m is set to (n + 1) / 2 or (n-1) / 2. The element reduction efficiency when (nm) is 2 or more can be maximized.
[0017]
DETAILED DESCRIPTION OF THE INVENTION
(First embodiment)
A first embodiment when the present invention is applied to a 5-bit input series resistance D / A converter will be described below with reference to FIGS. FIG. 1 shows an electrical configuration of a 5-bit input series resistance type D / A converter (hereinafter abbreviated as D / A converter) 1.
This D / A converter 1 is connected to the decoder 2 as a decoding means and the output of the decoder 2 and 16 analog gates connected via 16 NOT gates 3a to 3p as shown in the figure. The switches 4a to 4p, the pMOS transistor 5 and the nMOS transistor 6 as the divided potential changing means, and a plurality of resistance elements 7, 8a to 8q, 9 are configured.
[0018]
The decoder 2 inputs the upper 4 bits (m bits) of the digital data IN5 to IN2 out of the 5 bits (n bits) of the digital data (IN5 to IN1), and outputs a decode signal to the 16 output terminals D16 to D1. With these decode outputs, any one of the analog switches 4a to 4p is turned on via the NOT gates 3a to 3p. The partial D / A conversion unit 10 according to the present invention includes NOT gates 3a to 3p, analog switches 4a to 4p, and resistance elements 8a to 8p. The resistance element 8q may be included.
[0019]
The resistance elements 7, 8 a to 8 q, 9 are connected in series in the order of the resistance elements 7, 8 p,..., 8 a, 9, 8 q between the power supply VDD and GND (between the power supply buses), and constitute the resistance circuit 12. is doing. The resistance elements 8a to 8q are set to the same resistance value R, and the resistance elements 7 and 9 have the same resistance value R / that is 1/2 of the resistance value R of the resistance elements 8a to 8q. 2 is set.
[0020]
The drain / source of the pMOS transistor 5 as the short-circuit switching element is connected to both ends of the resistance element 7. Further, the nMOS transistor 6 as the short-circuit switching element has the drain / source connected to both ends of the resistance element 9. It is connected to the. The gates of the MOS transistors 5 and 6 are connected to an input terminal to which digital data IN1 (LSB) is applied. Therefore, if the digital data IN1 is in a high state (hereinafter referred to as “H”), both ends of the resistance element 9 are short-circuited by the MOS transistor 6 and both ends of the resistance element 7 are not short-circuited. , Referred to as “L”), both ends of the resistance element 7 are short-circuited by the MOS transistor 5 and both ends of the resistance element 9 are not short-circuited. The divided potential changing means 11 in this embodiment is composed of a pMOS transistor 5 and an nMOS transistor 6.
[0021]
An output terminal OUT is connected via an analog switch 4a to a voltage dividing point T1 that is a common connection point between the resistance element 9 and the resistance element 8a. When the analog switch 4a is selected by the decoder 2, the output terminal OUT The potential at OUT is substantially equal to the potential at the voltage dividing point T1.
[0022]
Similarly, analog switches 4b to 4p are respectively connected to voltage dividing points T2 to T16 which are common connection points of the series circuit composed of the resistance elements 8a to 8p, and any one of the analog switches 4b to 4p is connected by the decoder 2. Is selected, the potential of the output terminal OUT becomes substantially equal to the potential of any one of the voltage dividing points T2 to T16 selected by the analog switches 4b to 4p.
[0023]
Here, the operation principle of the D / A converter 1 will be described below with reference to FIG. FIG. 4 shows an electrical configuration of a D / A converter in which the nMOS transistor 6 and the resistance element 9 in FIG. 1 are omitted. 4 will be described with reference numerals corresponding to the internal configuration of FIG.
[0024]
The resistance value obtained by adding all the resistance values of the resistance elements 8a to 8q and 7 is A [Ω], the resistance value of the resistance element 7 is B [Ω], and the resistance values of the resistance elements 8a to 8q are C [Ω]. To do. For example, when the analog switch 4p is turned on based on the output terminal D16 of the decoder 2, when the pMOS transistor 5 is turned on and both ends of the resistance element 7 are short-circuited, the potential V1 output to the output terminal OUT is
V1 = VDD × (A-B-C) / (A-B) [V] (1)
It becomes. If the pMOS transistor 5 is turned off at this time, the potential V2 output to the output terminal OUT is
V2 = VDD × (ABC) / A [V] (2)
It becomes. That is, when the value of the digital data IN1 changes, the divided potential changes in two stages. Therefore, according to the values of the digital data IN5 to IN2, the output of the partial D / A converter 10 is obtained in 16 stages as the divided potentials of the voltage dividing points T1 to T16, but depending on the value of the digital data IN1, Since this divided potential changes in two steps, as a result, 16 × 2 = 32 steps of analog data are output.
[0025]
The operation of the electrical configuration in FIG. 1 will be described below with reference to FIG.
FIG. 2 shows a change in potential at the output terminal OUT according to the values of the digital data IN5 to IN1. When the digital data IN5 to IN2 are input to the input terminals D to A of the decoder 2, one of the output terminals D1 to D16 has a signal level of “H” and the other signal levels have “L”. Then, any potential of the voltage dividing points T1 to T16 that are conducted is output to the output terminal OUT.
[0026]
In the explanation of the operation of the first embodiment, for the sake of easy understanding, the data is incremented from the state where all the bits of the digital data IN5 to IN1 are all “L” (00000B), and the state is all “H” (11111B). The case of transitioning to will be described.
[0027]
If each bit of the digital data IN5 to IN2 is “L”, the output terminal D1 of the decoder 2 is “H”, so that the analog switch 4a is turned on, and the voltage dividing point T1 and the output terminal OUT Is conducted. When the digital data IN1 is “L”, the MOS transistor 5 corresponding to the power supply side is turned off, and the MOS transistor 6 corresponding to the ground side is turned on, both ends of the resistance element 7 arranged on the power supply side are short-circuited. Instead, both ends of the resistance element 9 arranged on the ground side are short-circuited.
[0028]
At this time, the total resistance value by the resistance elements 7, 8a to 8q, 9 between the power supply and the GND is (total resistance value 17R of the resistance elements 8a to 8q) + (resistance value R / 2 of the resistance element 7) = 17. .5R. The potential of the voltage dividing point T1 output to the output terminal OUT is VDD × (resistance value R of the resistance element 8q) /17.5R=VDD×2/35 [V] (FIG. 2, voltage dividing point). (See column for T1).
[0029]
When the values of the digital data IN5 to IN1 are incremented and IN1 becomes “H”, the MOS transistors 5 and 6 are turned on and off, both ends of the resistance element 7 are short-circuited, and both ends of the resistance element 9 are not short-circuited. .
[0030]
At this time, the sum of the resistance values of the resistance elements between the power supply and GND is (resistance value R / 2 of the resistance element 9) + (total resistance value 17R of the resistance elements 8a to 8q) = 17.5R, and the digital data IN5 This coincides with when all of IN1 are “L”. At this time, the potential of the voltage dividing point T1 output to the output terminal is VDD × (total resistance value 3R / 2 of the resistance elements 8q and 9) /17.5R=VDD×3/35 [V] (FIG. 2, see column of partial pressure point T1).
[0031]
When the values of the digital data IN5 to IN1 are further incremented, the signal levels “L”, “L”, “L”, and “H” are respectively given to the input terminals D to A of the decoder 2, and the signal level is applied to the digital data IN1. “L” is given. At this time, since the output terminal D2 of the decoder 2 becomes “H”, the analog switch 4b is turned on, and the voltage dividing point T2 and the output terminal OUT are brought into conduction. Further, since IN1 becomes “L”, the MOS transistors 5 and 6 are turned off and on, respectively. At this time, the total resistance value of the resistance elements between the power supply and GND is 17.5R as described above, and the potential of the voltage dividing point T2 output to the output terminal OUT is VDD × (resistance elements 8q and 8a. Total resistance value 2R) /17.5R=VDD×4/35 [V] (refer to FIG. 2, column of voltage dividing point T2).
[0032]
Similarly, even when the digital data IN5 to IN1 are incremented, the total resistance value between the power supply and GND is always 17.5R, and the resistance value that determines the divided potential increases by R / 2. Therefore, the analog data output from the output terminal OUT rises linearly (see FIG. 2).
[0033]
<Calculation of the number of MOS transistors required for the D / A converter 1>
Hereinafter, the number of p-channel and n-channel MOS transistors required for the D / A converter 1 is calculated. In general, it is configured by negative logic, and the number calculated in the present embodiment described in the positive logic is a reference level, and the calculated result is shown.
[0034]
FIG. 3A shows a basic configuration of a general 4-bit input decoder. FIG. 3B shows a general configuration of the NAND gate inside. The number of MOS transistors required for the decoder 2 in the present embodiment is calculated as a form in which a CMOS inverter serving as a NOT gate is added to each output terminal having the configuration shown in FIG. At this time, the number of MOS transistors required for the D / A converter 1 is
Figure 0003767431
The total number is 234.
[0035]
<Reference: Number of MOS transistors required for 5-bit resistor string type D / A converter in conventional configuration>
Figure 0003767431
Thus, the total number of decoders alone is about 330. In addition, about 32 to 40 MOS transistors are required for the switch circuit and the like.
[0036]
According to the first embodiment, the decoder 2 decodes the MSB side digital data IN5 to IN2, and the partial D / A converter 10 uses the resistor circuit 12 connected between the power supply and GND. Although the divided potential is generated, the divided potential is changed in two stages by the MOS transistors 5 and 6 and the resistors 7 and 9. 4 X2 = 32 levels of analog data output can be obtained.
[0037]
Since the 4-bit input decoder 2 is configured with a significantly smaller number of elements than the 5-bit input decoder, the number of elements of the MOS transistors 5 and 6 provided in accordance with the digital data IN1 is combined. However, the number of elements used in the entire D / A converter 1 can be greatly reduced. Thereby, the circuit area can be reduced.
[0038]
Further, the resistance values of the two resistance elements 7 and 9 corresponding to the MOS transistors 5 and 6 are set to 1/2 of the other elements, and either one of the MOS transistors 5 and 6 is turned on according to the value of the LSB data. Thus, the level of the analog data to be output can be changed step by step with the terminal voltage VDD / 35 of the resistance element 7 or 9 as a unit.
[0039]
(Second Embodiment)
5 and 6 show a second embodiment of the present invention, and show a circuit configuration of a 5-bit input series resistance type D / A converter to which the circuit configuration in the first embodiment is applied.
A 5-bit input series resistance type D / A converter (hereinafter abbreviated as D / A converter) 21 includes a decoder 22 as a decoding means, a decoder 23, NOT gates 24a to 24d, and a short-circuit switching element. pMOS transistors 25a to 25d and nMOS transistors 26a to 26d, a plurality of resistance elements 27a to 27d, 28a to 28h, 29a to 29d connected in series between the power source and GND, NOT gates 30a to 30h, and an analog switch 31a To 31h.
[0040]
The divided potential changing means 32a is constituted by pMOS transistors 25a to 25d arranged on the power supply side, and the divided potential changing means 32b is constituted by nMOS transistors 26a to 26d arranged on the ground side. Has been. The partial D / A conversion unit 33 includes NOT gates 30a to 30h, analog switches 31a to 31h, and resistance elements 28a to 28h.
[0041]
The decoder 22 selectively outputs the upper 3 bits (m bits) of the digital data IN5 to IN3 among the 5 bits (n bits) to the eight output terminals D8 to D1 with positive logic.
[0042]
The decoder 23 selectively outputs the result of decoding the lower two bits of digital data IN2 and IN1 to the gates of the NOT gates 24d to 24a and the nMOS transistors 26d to 26a via the four output terminals D4 to D1, respectively. It is supposed to be. At this time, the digital data IN5 is MSB and IN1 is LSB.
[0043]
On the other hand, the resistance elements 27a to 27d, 28a to 28h, 29a to 29d are connected between the power supply and GND (between the power supply buses) of the resistance elements 27d, ..., 27a, 28h, ..., 28a, 29a, ..., 29d. They are connected in series in order. The resistance elements 27a to 27d and the resistance elements 29a to 29d are designed to have the same value, and the resistance elements 28a to 28h are designed to have the same resistance value R. The resistance values of the resistance elements 27a to 27d and 29a to 29d are set to 1/4 of the resistance elements 28a to 28h, that is, R / 4.
[0044]
The NOT gates 24a to 24d invert the logic selected and output by the decoder 23 and output the inverted logic to the gates of the pMOS transistors 25a to 25d, respectively.
[0045]
The drains of the pMOS transistors 25d to 25a are all connected to the common connection point of the resistance elements 27a and 28h. The sources of the transistors 25d to 25a are the power source, the common connection point of the resistance elements 27d and 27c, and the resistance element 27c. And 27b, and the common connection point of the resistance elements 27b and 27a, respectively. On the other hand, the sources of the nMOS transistors 26a to 26d are all connected to the ground, and the drains of the transistors 26a to 26d are the resistance elements 28a and 29a, the resistance elements 29a and 29b, the resistance elements 29b and 29c, and the resistance element 29c. And 29d are respectively connected to the common connection points.
[0046]
As shown in FIG. 5, the output terminals D1 to D8 of the decoder 22 are connected to the control terminals of the analog switches 31a to 31h directly or via NOT gates 30a to 30h, respectively.
[0047]
The voltage dividing points T101 to T108 on the ground side of the resistance elements 28a to 28h are connected to the output terminal OUT of the D / A converter 21 via the analog switches 31a to 31h. When any one of the analog switches 31a to 31h is selected by the decode output of the decoder 22, any potential of the voltage dividing points T101 to T108 is output to the output terminal OUT.
[0048]
Therefore, the partial D / A conversion unit 33 outputs the divided potential by the resistance circuit 34 to the output terminal OUT in eight stages based on the output of the decoder 22. The analog switches 31a to 31h are each composed of a pMOS transistor and an nMOS transistor.
[0049]
The operation of the above configuration will be described below with reference to FIG.
FIG. 6 shows a change in potential at the output terminal OUT according to the values of the digital data IN5 to IN1. When the digital data IN2 to IN1 are given to the input terminals B to A in the decoder 23, the signal level of any one of the output terminals D1 to D4 becomes "H" and the other signal levels become "L". Therefore, pMOS transistors 25a to 25d and nMOS transistors 26a to 26d having the same reference numerals (a to d) are turned on in pairs, and the other MOS transistors are turned off. FIG. 6 also shows the correspondence between the MOS transistor that is turned on at this time and the potential of the output terminal OUT.
[0050]
Also in the second embodiment, a case where all the bits of the digital data IN5 to IN1 are gradually incremented from a state (00000B) in which all the bits are “L” and transition to a state (11111B) in which all the bits are “H”. explain.
[0051]
If the digital data IN2 and IN1 are both “L”, the output terminal D1 of the decoder 23 is “H”, and the MOS transistors 25a and 26a are turned on. If the digital data IN5 to IN3 are all “L”, the output terminal D1 of the decoder 22 is “H”, and the analog switch 31a is turned on.
[0052]
At this time, the total resistance value of the resistance elements between the power supply and GND is (total resistance value 3R / 4 of resistance elements 27d to 27b) + (total resistance value 8R of resistance elements 28h to 28a) = 8.75R. . The potential of the voltage dividing point T101 output to the output terminal OUT via the analog switch 31a is VDD × 0R / 8.75R = 0 [V] (see the column of the voltage dividing point T101 in FIG. 6).
[0053]
When the values of the digital data IN2 and IN1 are incremented and given to the input terminals B and A of the decoder 23 as "L" and "H", respectively, the output terminal D2 of the decoder 23 becomes "H" and the MOS The transistors 25b and 26b are turned on, and the others are turned off. At this time, the total resistance value of the resistance between the power source and the GND is (total resistance value 2R / 4 of the resistance elements 27d and 27c) + (total resistance value 8R of the resistance elements 28h to 28a) + (resistance of the resistance element 29a) Value R / 4) = 8.75R, which is the same as when the digital data IN5 to IN1 are all "L". At this time, the potential of the voltage dividing point T101 output to the output terminal OUT is VDD × (resistance value R / 4 of the resistance element 29a) /8.75R=VDD×1/35 [V] (FIG. 6, (See column of partial pressure point T101).
[0054]
When the values of the digital data IN2 and IN1 are further incremented and input to the input terminals B and A of the decoder 23 as "H" and "L", respectively, the output terminal D3 of the decoder 23 becomes "H" and the MOS The transistors 25c and 26c are turned on, and the others are turned off. At this time, the total resistance value of the resistance between the power supply and GND is (resistance value R / 4 of the resistance element 27d) + (total resistance value 8R of the resistance elements 28h to 28a) + (total resistance of the resistance elements 29a and 29b). Value 2R / 4) = 8.75R, which is the same as described above. At this time, the potential of the voltage dividing point T101 output to the output terminal OUT is VDD × (total resistance value 2R / 4 of the resistance elements 29a and 29b) /8.75R=VDD×2/35 [V] ( (Refer to the column of FIG. 6, partial pressure point T101).
[0055]
Similarly, when the values of the digital data IN2 and IN1 are incremented and input as “H” and “H”, respectively, the MOS transistors 25d and 26d are turned on, and the resistance value of the resistance between the power supply and GND is set. The total is 8.75R, and the potential of the voltage dividing point T101 output to the output terminal OUT is VDD × (total resistance value 3R / 4 of the resistance elements 29a, 29b, and 29c) /8.75R=VDD×3/35. [V] (refer to the column of the partial pressure point T101 in FIG. 6).
[0056]
Further, the digital data IN5 to IN1 are incremented, and the digital data IN5 to IN1 are input to the input terminals of the decoders 22 and 23 as “L”, “L”, “H”, “L”, “L”, respectively. Then, the output terminal D2 of the decoder 22 becomes “H”, and accordingly, the analog switch 31b is turned on and the analog switch 31a is turned off. Similarly to the above, the MOS transistors 25a and 26a are turned on. At this time, similarly, the total resistance value of the resistor between the power source and the GND is 8.75R. Since the analog switch 31b is turned on, the potential of the output terminal OUT is substantially equal to the potential of the voltage dividing point T102, and VDD × (resistance value R of the resistance element 28a) /8.75R=VDD×4/35 [V (See the column of the partial pressure point T102 in FIG. 6).
[0057]
As described above, when the digital data IN5 to IN1 given to the D / A converter 21 are sequentially incremented, the elements in which the MOS transistors 25a to 25d and 26a to 26d are turned on change, and the power supply -GND The resistance value between them is always 8.75R, and the potential at the voltage dividing point changes linearly by VDD / 35 [V].
[0058]
Further, when the values of the digital data IN5 to IN3 given to the decoder 22 increase in order, the elements that conduct in the order of the analog switches 31a,..., 31h transition, and accordingly, the voltage dividing point that conducts to the output terminal OUT is changed. Transition is made to the partial pressure points T101,. At this time, if the input data (lower 2 bits) to the decoder 23 does not change, the resistance value between the voltage dividing point and GND increases step by step for each resistance value R of the resistance elements 28a to 28g. The output voltage increases by VDD × 4/35 [V].
[0059]
In summary, the partial D / A conversion unit 33 uses the eight resistance elements 28h to 28a having a resistance value R based on the upper 3 bits (IN5 to IN3) of the 5-bit data to provide the voltage dividing points T101 to T108. Is output to the output terminal OUT. The divided potential changing means 32a and 32b are divided by four resistance elements 27a to 27d and 29a to 29d, each having a resistance value of R / 4, in accordance with the lower two bits of input data (IN2, IN1). The barometric potential is changed.
[0060]
That is, when the input data is incremented, the number of resistance elements to be short-circuited by the ground-side divided potential changing means 32b is changed from four to one, and at the same time, the resistance elements to be short-circuited by the power-supply-side divided potential changing means 32a The number is changed from 1 to 4. As a result, among the resistors 27a to 27d and 29a to 29d, the number of elements substantially connected to the resistor circuit 34 is always “3”, and the resistance value that determines the divided potential increases by R / 4. Therefore, the divided potential is changed stepwise according to the resistance value R / 4.
[0061]
That is, when the values of the digital data IN5 to IN1 are sequentially incremented, a linear output in units of VDD × 1/35 [V] from 0 [V] to VDD × 31/35 [V] can be obtained (FIG. 6).
[0062]
<The number of MOS transistors required for the configuration of the D / A converter 21>
Next, a calculation result of the number of MOS transistors required for the configuration of the D / A converter 21 will be described. In addition, the calculation result of the number at the time of comprising the decoders 22 and 23 by positive logic similarly to the above is shown. The number of MOS transistors required for the D / A converter 21 is
Figure 0003767431
The total is 146.
[0063]
According to the second embodiment, since the total number of MOS transistors required for this configuration is 146 in a configuration capable of obtaining a linear output, the number of elements is further greatly reduced in the entire D / A converter 21. be able to. Thereby, the circuit area can be further reduced as compared with the configuration of the first embodiment.
[0064]
Since the 3-bit input and 2-bit input decoders 22 and 23 are used for the 5-bit input D / A converter 21, the element reduction efficiency can be maximized.
[0065]
Since the analog switches 31a to 31h in the vicinity of the central potential between the power supply and GND are composed of pMOS transistors and nMOS transistors, it is possible to reliably prevent a decrease in output voltage, and even when a low voltage power supply is used, it is stable. It can be operated.
[0066]
Furthermore, the number of resistance elements 27a to 27d, 28a to 28h, and 29a to 29d is only 16, and the number of elements can be reduced.
[0067]
(Other embodiments)
In the above-described embodiment, the present invention is applied to a D / A converter with a 5-bit input. In this case, as a decoding means corresponding to the decoder 22 of the second embodiment, an n / 2-bit input decoder is used if n is an even number, and an (n-1) / 2-bit input is used if n is an odd number. Alternatively, it is desirable to use a (n + 1) / 2-bit input decoder. Thereby, the reduction efficiency of an element can be maximized.
[0068]
In the above-described embodiment, the analog switch is used as the voltage dividing switching element in the partial D / A conversion units 10 and 33, but it may be formed of a MOS transistor.
[0069]
In the second embodiment, the two decoders 22 and 23 are used. However, the decoder corresponding to the decoder 23 may be divided into two or more. For example, when a 7-bit input D / A converter is configured, a 3-bit input decoder 22 may be employed as it is in the configuration of FIG. 5 and a 4-bit input decoder may be employed as the decoder 23. At this time, two 2-bit input decoders are employed as the decoder 23, and the portions corresponding to the divided potential changing means 32a and 32b are connected to the power supply side in a form corresponding to the two 2-bit input decoders. A 7-bit input D / A converter may be configured by adding to the ground side and selecting the number of resistance elements corresponding to the resistance circuit 34 and the resistance value. Thereby, the number of elements can be further reduced.
[Brief description of the drawings]
FIG. 1 is an electrical configuration diagram showing a first embodiment of the present invention.
FIG. 2 is a diagram showing a relationship between a potential at an output terminal and a voltage dividing point.
3A is an electrical configuration diagram of a general decoder, and FIG. 3B is an electrical configuration diagram of a general NAND circuit.
FIG. 4 is an electrical configuration diagram for explaining the operating principle.
FIG. 5 is a view corresponding to FIG. 1, showing a second embodiment of the present invention.
6 is a view corresponding to FIG.
[Explanation of symbols]
1 is a D / A converter, 2 is a decoder (decoding means), 4a to 4p are analog switches (voltage dividing switching elements), 5 is a pMOS transistor (short-circuit switching element), and 6 is an nMOS transistor (short-circuit switching element). , 7 is a resistance element, 8a to 8q are resistance elements, 9 is a resistance element, 10 is a partial D / A conversion unit, 11 is a divided potential changing means, 12 is a resistance circuit, 21 is a D / A converter, and 22 is Decoder (decoding means), 23 a decoder, 25a-25d are pMOS transistors (short-circuit switching elements), 26a-26d are nMOS transistors (short-circuit switching elements), 27a-27d are resistance elements, 28a-28h are resistance elements, 29a to 29d are resistance elements, 31a to 31h are analog switches (voltage dividing switching elements), and 32a is a minute element. Potential changing means, 32b is divided potential changing means, 33 parts D / A conversion unit, the resistor circuit 34, OUT denotes an output terminal.

Claims (2)

電源母線間に複数の抵抗素子を接続して構成される抵抗回路を備え、入力されるnビット(nは整数)のディジタルデータをD/A変換したアナログデータを出力する抵抗ストリング型のD/A変換器において、
入力されるデータのうちMSB側のmビットデータ(mは2以上n未満の整数)をデコードするデコード手段と、
このデコード手段のデコード出力に基づいてオンオフされ、前記抵抗回路によって分圧される分圧電位を出力端子に出力するための2m個の分圧用スイッチング素子を備えてなる部分D/A変換部と、
前記デコード手段に与えられる以外の(n−m)ビット分のディジタルデータに応じて、前記部分D/A変換部によって前記出力端子に出力される分圧電位を2n-m段階で変化させる分圧電位変化手段とを備え
前記分圧電位変化手段は、前記抵抗回路の電源側とグランド側とに夫々配置され、各抵抗値がR/2 n-m (n−mは2以上の整数)である夫々2 n-m 個の抵抗素子により前記分圧電位を変化させるように構成されると共に、前記(n−m)ビットのディジタルデータに応じてオンオフされ、オン状態になると前記抵抗回路を構成する一部の抵抗素子を短絡するように配置される短絡用スイッチング素子により構成され、
前記部分D/A変換部は、それら2つの分圧電位変化手段の間に位置するように配置され、各抵抗値がRである2 m 個の抵抗素子によって前記分圧電位を生成するように構成されており、
前記2つの分圧電位変化手段は、前記(n−m)ビットのディジタルデータに応じて、グランド側の短絡用スイッチング素子が短絡させる抵抗素子数を2 n-m 個から1個まで変化させると同時に電源側の短絡用スイッチング素子が短絡させる抵抗素子数を1個から2 n-m 個まで変化させるように構成されていることを特徴とするD/A変換器。
A resistor string type D / D having a resistance circuit configured by connecting a plurality of resistance elements between power supply buses and outputting analog data obtained by D / A conversion of input n-bit (n is an integer) digital data In the A converter,
Decoding means for decoding m-bit data on the MSB side (m is an integer of 2 or more and less than n) of input data;
A partial D / A converter comprising 2 m voltage-dividing switching elements that are turned on and off based on the decode output of the decode means and output the divided potential divided by the resistor circuit to the output terminal; ,
A divided potential for changing the divided potential output to the output terminal by the partial D / A converter in accordance with digital data of (n−m) bits other than that given to the decoding means in 2 nm steps. Change means ,
The divided potential changing means are arranged on the power supply side and the ground side of the resistance circuit, respectively, and each resistance value is R / 2 nm ( nm is an integer of 2 or more) 2 nm resistance elements Is configured to change the divided potential, and is turned on / off in accordance with the (n−m) -bit digital data. When turned on, a part of the resistance elements constituting the resistance circuit is short-circuited. Is constituted by a short-circuit switching element arranged in
The partial D / A conversion unit is arranged so as to be positioned between the two divided potential changing means, and generates the divided potential by 2 m resistance elements each having a resistance value R. Configured,
The two divided potential changing means change the number of resistance elements to be short-circuited by the short-circuit switching element on the ground side from 2 nm to 1 according to the (n−m) -bit digital data, and simultaneously supply power D / a converter, characterized that you have been configured to change the number of resistive elements shorting switching element to short side from 1 to 2 nm pieces.
前記nが偶数である場合にはm=n/2になるように設定し,前記nが奇数である場合にはm=(n−1)/2またはm=(n+1)/2になるように設定することを特徴とする請求項1記載のD/A変換器。 When n is an even number, it is set so that m = n / 2, and when n is an odd number, m = (n−1) / 2 or m = (n + 1) / 2. D / a converter according to claim 1, wherein that you set.
JP2001225962A 2001-07-26 2001-07-26 D / A converter Expired - Fee Related JP3767431B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001225962A JP3767431B2 (en) 2001-07-26 2001-07-26 D / A converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001225962A JP3767431B2 (en) 2001-07-26 2001-07-26 D / A converter

Publications (2)

Publication Number Publication Date
JP2003037503A JP2003037503A (en) 2003-02-07
JP3767431B2 true JP3767431B2 (en) 2006-04-19

Family

ID=19058868

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001225962A Expired - Fee Related JP3767431B2 (en) 2001-07-26 2001-07-26 D / A converter

Country Status (1)

Country Link
JP (1) JP3767431B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101095812B1 (en) * 2007-03-16 2011-12-21 후지쯔 세미컨덕터 가부시키가이샤 Data transfer system
EP3566310A4 (en) * 2017-01-06 2020-01-08 Texas Instruments Incorporated Area efficient digital to analog and analog to digital converters

Also Published As

Publication number Publication date
JP2003037503A (en) 2003-02-07

Similar Documents

Publication Publication Date Title
US5731774A (en) Digital-to-analog converter
US8618971B1 (en) Signal level shift circuit and method for dual resistor ladder digital-to-analog converters
JP3828667B2 (en) Digital / analog converter
US6163289A (en) Differential voltage digital-to-analog converter
US7375670B1 (en) Digital-to-analog converter
US7157941B2 (en) Differential switching circuit and digital-to-analog converter
JPH0197020A (en) Resolution power expanding device for analog -to-digital converter
US20140266838A1 (en) Digital to analog converter with an intra-string switching network
US8941522B2 (en) Segmented digital-to-analog converter having weighted current sources
US20080055135A1 (en) Digital-to-analog converter with triode region transistors in resistor/switch network
JP4299419B2 (en) Digital-analog converter circuit
US20030141998A1 (en) D/A converter circuit, and portable terminal device and audio device using the D/A converter circuit
US8937568B2 (en) D/A converter
US7453385B2 (en) D/A converter
JP3621249B2 (en) Voltage selection circuit, LCD drive circuit, and D / A converter
JPH0377430A (en) D/a converter
KR100311043B1 (en) Digital-to-analog converter capable of fast switching and precision voltage conversion
JP3767431B2 (en) D / A converter
JP2598138B2 (en) D / A converter
JP2007232977A (en) Decoder circuit and liquid crystal driving device using the decoder circuit
JPS6224713A (en) Digital-analog converter
JP5711013B2 (en) Resistor string type D / A converter
JP4630488B2 (en) Digital / analog conversion circuit
JP3358722B2 (en) Encoder matrix circuit
JP2991117B2 (en) D / A converter

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051116

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051122

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051209

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060123

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090210

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100210

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110210

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120210

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees