JP2004056463A - D/a converter circuit, portable terminal equipment having the same, and audio device - Google Patents
D/a converter circuit, portable terminal equipment having the same, and audio device Download PDFInfo
- Publication number
- JP2004056463A JP2004056463A JP2002211006A JP2002211006A JP2004056463A JP 2004056463 A JP2004056463 A JP 2004056463A JP 2002211006 A JP2002211006 A JP 2002211006A JP 2002211006 A JP2002211006 A JP 2002211006A JP 2004056463 A JP2004056463 A JP 2004056463A
- Authority
- JP
- Japan
- Prior art keywords
- reference voltage
- converter
- input
- voltage
- switch
- 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.)
- Withdrawn
Links
Images
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、入力されるデジタル信号をアナログ信号に変換するR−2Rラダー抵抗網を用いたD/Aコンバータ回路に関し、特に2段階のD/A変換処理にて分解能向上を図る2段階D/Aコンバータ回路に関するものである。
【0002】
【従来の技術】
R−2Rラダー抵抗網からなるD/A(デジタルーアナログ)コンバータは、デジタル入力信号をアナログ信号に変換して出力する回路で、例えば図8に示すR−2R抵抗ラダー型D/Aコンバータ70のように、抵抗値がR、2R(RとRとの直列抵抗値)の抵抗から成る抵抗網71と、この抵抗網71に接続されたスイッチ群73と、オフセットレベル制御抵抗72とから構成される。図8では、スイッチ群73を構成するスイッチSW3・SW4・SW5にそれぞれ、デジタル入力信号D3・D4・D5が入力される3ビットの例が示されている。デジタル入力信号D3はMSBであり、デジタル入力信号D5はLSBである。オフセットレベル制御抵抗72の一端はオフセット端子OFFCRとなっている。
【0003】
R−2R抵抗ラダー型D/Aコンバータ70の動作原理を、図8を用いてより具体的に説明する。スイッチ群73のスイッチSW3〜SW5は、対応するデジタル入力がHIGHであるときにVddを、LOWであるときにGndを抵抗網71に入力するように切り替わる。デジタル入力信号D3〜D5の入力によって、アナログ出力電圧Aoutは、
Aout= {(D3×22 十D4×21 十D5×20 )/23 }Vdd+ オフセット
と表現できる。ここで、Dn(n=3,4,5)は0または1(デジタル入力コードによる)である。オフセットは、オフセット端子OFFCRに入力される電圧によって変動する。
【0004】
図9(a)に示すように、オフセット端子OFFCRにGndを入力したときにはアナログ出力はGnd〜(Vdd−1LSB)となり、図9(b)に示すように、オフセット端子OFFCRにVddを入力したときのアナログ出力は(Gnd+1LSB)〜Vddとなる。また、図9(c)に示すように、オフセット端子OFFCRにGndとVddとの中間値の電圧を入力したときのアナログ出力は図8(a)および(b)の中間の値をとる。
【0005】
このR−2R抵抗ラダー型D/Aコンバータ70は、Rと2Rとの比が正確に1:2のときに上式のアナログ出力Aoutを出力するが、図8からも明らかなように実際はスイッチSW3〜SW5のオン抵抗により、2R側が2R+α(αはスイッチのオン抵抗)であり、特開平01−042924号公報、特開平02−013014号公報、特開平02−202227号公報や特開平04−138725号公報などに開示されている内容では、R側にも常時オンのスイッチを入れて、R側と2R側との1:2の比を補償している。また2R側の抵抗値をスイッチのオン抵抗分だけ元々差し引いて作りこみ、1:2の比を補償することも可能である。また、特開平3−77430号公報では、オフセットレベル制御抵抗の入力端子に入力される電圧を、2R側の入力端子に入力される上限電圧と下限電圧とに切り替えることにより、抵抗素子の高精度化を図らずに高分解能および高精度のD/Aコンバータを実現している。
【0006】
また、このR−2R抵抗ラダー型D/Aコンバータは、図8のR−2Rラダー抵抗型D/Aコンバータ70からも分かるように、デジタル入力信号のビット数nに対する必要なユニット抵抗Rの数は3n+1と計算される。従って、バイナリ抵抗型D/Aコンバータ(ビット数nに対してユニット抵抗数2n −1)に比べて抵抗の使用範囲が狭くて済み、しかも抵抗の精度は絶対値ではなく比精度を確保するだけで高性能のD/Aコンバータを構成できるため、IC化に有利な方式である。
【0007】
しかしながら、上記R−2Rラダー抵抗型D/Aコンバータでのラダー抵抗網に用いられる抵抗間の比精度はトリミング無しで0.05%程度までしか得られないため、10ビット以上のD/AコンバータをR−2R抵抗ラダー網のみで構成するのは困難である。
【0008】
コストのかかるトリミングをせずに分解能を上げるには、図10に示す2段階D/Aコンバータ回路90のようにD/A変換を2段階(一般に複数段でよい)で処理する方法がある。2段階D/Aコンバータ回路90は、初段D/Aコンバータ91、次段R−2Rラダー抵抗型D/Aコンバータ92、ラッチ回路93、および基準電圧発生回路94を備えている。2段階処理の最初のD/A変換処理を行う初段D/Aコンバータ91には、クロック信号CKに従ってラッチ回路93によってラッチが行われたデジタル入力データDinの上位mビットのデジタル入力が行われる。初段D/Aコンバータ91では、上位mビットに応じたアナログ出力電圧と上記上位mビットに1を加えたデジタル入力に応じたアナログ出力電圧を、基準電圧発生回路94から入力される基準電圧VH・VLを用いてそれぞれ基準電圧VL 、基準電圧VH として出力する。
【0009】
2段階処理の次のD/A変換処理を行う次段R−2Rラダー抵抗型D/Aコンバータ92には、クロック信号CKに従ってラッチ回路93によってラッチが行われたデジタル入力データDinの下位nビットのデジタル入力が行われる。次段R−2Rラダー抵抗型D/Aコンバータ92では、初段D/Aコンバータ91から入力される基準電圧VL ・VH と下位nビットとからデジタル入力データDinの最終的なアナログ信号Aoutを生成して出力する。この次段R−2Rラダー抵抗型D/Aコンバータ92には、前述した図8に示すようなR−2Rラダー抵抗型D/Aコンバータが用いられ、図8におけるVddを基準電圧VHH、GNDを基準電圧VLLとすることができる。
【0010】
また、初段D/Aコンバータ91の例として、図11に示す抵抗ストリング型(電圧ポテンショメータ型とも呼ばれる)D/Aコンバータ91aを用いる。図11ではデジタル入力データDinの上位ビットが3ビットで8段階の例を示してある。抵抗ストリング型D/Aコンバータ91aは、抵抗ストリング101、基準電圧スイッチ102・103、上限基準電圧VHHバッファアンプ104、および下限基準電圧VLLバッファアンプ105を備えている。
【0011】
抵抗ストリング101は抵抗r0〜r7が直列に接続された分圧回路であり、抵抗r0側の一端に基準電圧VHが、抵抗r7側の一端に基準電圧VLがそれぞれ入力される。基準電圧スイッチ102はスイッチSH0〜SH7を備えており、各スイッチは順に抵抗r0〜r7の基準電圧VH入力側一端の電圧を上限基準電圧VHHバッファアンプ104に入力するためのスイッチである。基準電圧スイッチ103はスイッチSL0〜SL7を備えており、各スイッチは順に抵抗r0〜r7の基準電圧VL入力側一端の電圧を下限基準電圧VLLバッファアンプ105に入力するためのスイッチである。各スイッチは、図11には図示しないが図10に図示した初段D/Aコンバータ91の内部のデコーダによる上位3ビットのデコード結果に応じた制御信号で開閉される。
【0012】
上限基準電圧VHHバッファアンプ104は基準電圧スイッチ102のいずれかのスイッチを介して入力される電圧を上限基準電圧VHHとして出力する。下限基準電圧VLLバッファアンプ105は基準電圧スイッチ103のいずれかのスイッチを介して入力される電圧を下限基準電圧VLLとして出力する。
【0013】
上記の構成の抵抗ストリング型D/Aコンバータ91aでは、例えば、デジタル入力データDinの上位3ビットが「111」であるときには抵抗r0の両端の各電圧をスイッチSH0およびSL0をオンにして上限基準電圧VHHと下限基準電圧VLLとして出力する。また、上位3ビットが「110」であるときには抵抗r1の両端の各電圧をスイッチSH1およびSL1をオンにして上限基準電圧VHHと下限基準電圧VLLとして出力する。以下、上位3ビットの「000」までをデジタル入力に応じてスイッチを操作することにより基準電圧VH ・VL としての上限基準電圧VHHと下限基準電圧VLLとが出力される。
【0014】
但し、ここで用いられる上限基準電圧VHHバッファアンプ104および下限基準電圧VLLバッファアンプ105の出力電圧には、通常、バッファアンプの入力トランジスタのバラツキに起因するオフセットが存在するため、図12に示すように初段D/Aコンバータ91aでの上位ビットの切り替え時に、アナログ出力電圧範囲の境界に不連続点が発生する可能性がある。従って、単調性および連続性を必須とする用途では、図13のようにスイッチの接続を工夫した抵抗ストリング型D/Aコンバータ91bが用いられる。
【0015】
図13の抵抗ストリング型D/Aコンバータ91bは、抵抗ストリング111、基準電圧スイッチ112、基準電圧VH バッファアンプ113、および基準電圧VL バッファアンプ114を備えている。抵抗ストリング111は図11の抵抗ストリング101と同じ構成である。基準電圧スイッチ112はスイッチSH0〜SH7およびスイッチSL0〜SL7を備えており、スイッチSLkとスイッチSH(k+1)(k=0,1,2,…6)とを同じスイッチが兼ねている。スイッチSH0・SH2(SL1)・SH4(SL3)・SH6(SL5)の各スイッチは順に抵抗r0・r2・r4・r6の基準電圧VH入力側一端の電圧を基準電圧VH バッファアンプ113に入力するためのスイッチであり、スイッチSL7は抵抗r7の基準電圧VL入力側一端の電圧を基準電圧VH バッファアンプ113に入力するためのスイッチである。スイッチSH1(SL0)・SH3(SL4)・SH5(SL4)・SH7(SL6)の各スイッチは順に抵抗r1・r3・r5・r7の基準電圧VH入力側一端の電圧を基準電圧VL バッファアンプ114に入力するためのスイッチである。各スイッチは、図13には図示しないが図14に図示した抵抗ストリング型D/Aコンバータ91bの内部のデコーダによる上位3ビットのデコード結果に応じた制御信号で開閉される。
【0016】
基準電圧VH バッファアンプ113は基準電圧スイッチ112から入力される電圧を基準電圧VH として出力し、基準電圧VL バッファアンプ114は基準電圧スイッチ112から入力される電圧を基準電圧VL として出力する。
【0017】
上記の構成の抵抗ストリング型D/Aコンバータ91bでは、例えば、デジタル入力データDinの上位3ビットが「111」であるときには抵抗r0の両端の各電圧をスイッチSH0およびSL0(SH1)をオンにして基準電圧VH と基準電圧VL として出力する。また、上位3ビットが「110」であるときには抵抗r1の両端の各電圧をスイッチSH1(SL0)およびSL1(SH2)をオンにして基準電圧VL と基準電圧VH として出力する。以下、上位3ビットの「000」までデジタル入力に応じてスイッチを操作することで基準電圧VH ・VL が出力される。この結果、抵抗ストリング型D/Aコンバータ91bでの上位ビットの切り替え時に、アナログ出力電圧範囲の境界に不連続点は発生しない。
【0018】
ここで、図11の抵抗ストリング型D/Aコンバータ91aと異なるのは、抵抗ストリング型D/Aコンバータ91aでは基準電圧VH は常に基準電圧VL よりも高い電圧レベルで出力されるのに対し、抵抗ストリング型D/Aコンバータ91bではデジタル入力に応じて基準電圧VH と基準電圧VL との電圧レベルが交互に入れ替わることである。結果として、図13の抵抗ストリング型D/Aコンバータ91bを用いる2段階D/Aコンバータには、図14に示す2段階D/Aコンバータ回路121のように交換器122が追加される。
【0019】
この交換器122は、基準電圧VH が基準電圧がVL よりも電圧レベルの高いときには、基準電圧VH を上限基準電圧VHHとして、基準電圧VL を下限基準電圧VLLとして出力する。また先の理由によって基準電圧VH が基準電圧VL よりも電圧レベルの低いときには、基準電圧VL を上限基準電圧VHHとして、基準電圧VH を下限基準電圧VLLとして出力し、次段R−2Rラダー型D/Aコンバータ92の基準電圧として用いる。これらの電圧レベルの判定と実際に基準電圧レベルとの交換を行うかどうかは、抵抗ストリング型D/Aコンバータ91bによる上位3ビットのデコード結果から発生させた、基準電圧VH と基準電圧VL との大小関係を示す制御信号CEにて制御する。
【0020】
上記交換器122は図15(a)に示すスイッチSW11・SW12・SW13・SW14のようなスイッチで構成されるのが通常である。図15(a)では、スイッチSW11・SW14に制御信号CEが、スイッチSW12・SW13に制御信号CEの反転信号CEbが入力され、スイッチSW11・SW14がオン(閉)状態のときにはスイッチSW12・SW13がオフ(開)状態、スイッチSW11・SW14がオフ状態のときにはスイッチSW12・SW13がオン状態となるように制御される。また、反転信号CEbは図15(b)に示すように制御信号CEをインバータ131に通して生成する。
【0021】
このように基準電圧VH と基準電圧VL との電圧レベルを交互に入れ替え、次段D/Aコンバータの基準電圧として出力する2段階D/Aコンバータ回路は、『INTEGRATED ANALOG−TO−DIGITAL AND DIGITAL−TO−ANALOG CONVERTERS』,pp233−234,Kluwer Academic Publishers,1994,に紹介されている。
【0022】
【発明が解決しようとする課題】
しかしながら、R−2Rラダー抵抗型D/Aコンバータを次段に用いる2段階D/Aコンバータ回路においては、このように交換器が複数のスイッチを含んでおり、スイッチの製造ばらつきによりスイッチ個々のオン抵抗にはばらつきが生じる可能性がある。従って、図10の基準電圧VH が同じ電圧レベルであっても、例えば図15(a)のSW11を介して上限基準電圧VHHとして出力するのか、SW12を介して下限基準電圧VLLとして出力するのかといったようにオン状態とするスイッチが異なることによって交換器の出力電圧レベルが変動することがある。
【0023】
また、交換器のスイッチのオン抵抗(α)により、等価的に次段R−2Rラダー抵抗型D/Aコンバータにおける2R側の抵抗値が2R+αとなり、Rと2Rとの抵抗比が変動して、αの値によってはD/Aコンバータとして精度よく動作しない可能性がある。
【0024】
このように、従来の2段階D/Aコンバータ回路には、次段のnビットR−2Rラダー抵抗型D/AコンバータのD/A変換精度が劣化する、すなわち2段階D/Aコンバータ回路全体としてのD/A変換精度が劣化することがあるので、出力アナログ電圧値の単調性および連続性の確保が困難であるという問題がある。
【0025】
本発明は、上記従来の間題点を解決するためになされたもので、その目的は、次段のnビットR−2Rラダー抵抗型D/Aコンバータで使用する2種類の基準電圧をmビットD/Aコンバータで生成して(m+n)ビットD/A変換を行う上で、出力アナログ電圧値の単調性および連続性の確保が容易となるように高いD/A変換精度を得ることのできるD/Aコンバータ回路、およびそれを備えた携帯端末装置ならびにオーディオ装置を提供することにある。
【0026】
【課題を解決するための手段】
本発明のD/Aコンバータ回路は、上記課題を解決するために、(m+n)ビットのデジタル入力データの上位mビットに応じた互いに電圧レベルの異なる第1の基準電圧と第2の基準電圧とを生成する第1のD/Aコンバータが設けられ、上記デジタル入力データの下位nビットの情報と上記第1の基準電圧および上記第2の基準電圧とを用いて上記デジタル入力データを上記第1の基準電圧および上記第2の基準電圧の電圧レベルの高い方が上限で低い方が下限となる範囲内のアナログ電圧値に変換するR−2Rラダー抵抗型の第2のD/Aコンバータを備えるD/Aコンバータ回路において、以下の手段を講じたことを特徴としている。
【0027】
すなわち、上記第2のD/Aコンバータのラダー抵抗網のデジタルデータ入力側の各入力端子には、上記第2のD/Aコンバータに入力されるデジタルデータが2値のうちの第1の値であるときに上記第1の基準電圧が入力されるとともに、上記第2のD/Aコンバータに入力されるデジタルデータが2値のうちの第2の値であるときに上記第2の基準電圧が入力されている。さらに、上記D/Aコンバータ回路は、上記第1のD/Aコンバータがそれぞれ出力する第1および第2の基準電圧の電圧レベルを比較して、両者の高低関係に応じた比較信号を生成する比較手段と、上記比較信号が上記第1の基準電圧の電圧レベルが上記第2の基準電圧の電圧レベルよりも高いことを示す場合に上記下位nビットのデジタルデータをそのまま上記第2のD/Aコンバータに入力する一方、上記比較信号が上記第1の基準電圧の電圧レベルが上記第2の基準電圧レベルよりも低いことを示す場合に上記下位nビットのデジタルデータの上記第1の値と上記第2の値とを入れ替えて上記第2のD/Aコンバータに入力する反転手段とを備えている。
【0028】
上記の発明によれば、設けられた第1のD/Aコンバータが(m+n)ビットのデジタル入力データの上位mビットに応じた互いに電圧レベルの異なる第1および第2の基準電圧を生成し、R−2Rラダー抵抗型の第2のD/Aコンバータに入力する。比較手段は、上記第1のD/Aコンバータがそれぞれ出力する第1および第2の基準電圧の電圧レベルを比較して、両者の高低関係に応じた比較信号を生成し、反転手段は比較信号が第1の基準電圧の電圧レベルが第2の基準電圧の電圧レベルよりも高いことを示す場合に下位nビットのデジタルデータをそのまま第2のD/Aコンバータに入力する一方、比較信号が第1の基準電圧の電圧レベルが第2の基準電圧レベルよりも低いことを示す場合に下位nビットのデジタルデータの2値のうちの第1の値と第2の値とを入れ替えて第2のD/Aコンバータに入力する。
【0029】
反転手段の上記動作により、第2のD/Aコンバータのラダー抵抗網のデジタルデータ入力側の各入力端子に反転手段からデジタルデータが入力されると、第1および第2の基準電圧の電圧レベルの高低に関わらず、下位ビットのデジタルデータが第1の値であるときには常に電圧レベルの高い方の基準電圧が対応する入力端子に入力され、下位ビットのデジタルデータが第2の値であるときには常に電圧レベルの低い方の基準電圧が対応する入力端子に入力される。そして、第2のD/Aコンバータは、下位nビットの情報すなわち反転手段から入力されるデジタルデータと、第1の基準電圧および第2の基準電圧とを用いてデジタル入力データを第1の基準電圧および第2の基準電圧の電圧レベルの高い方が上限で低い方が下限となる範囲内のアナログ電圧値に変換する。
【0030】
従って第1のD/Aコンバータが、第1の基準電圧の電圧レベルと第2の基準電圧の電圧レベルとの高低関係が上位mビットに応じて変化するものであっても、交換器などを用いずに第2のD/AコンバータでD/A変換を行うことができる。複数のスイッチを備える交換器が不要となる分、高いD/A変換精度が得られる。
【0031】
さらに、上記比較手段は、第1のD/Aコンバータが出力する第1および第2の基準電圧に基づいて、比較信号を生成するので、比較信号が生成された時点では、必ず、第1および第2の基準電圧が出力されている。したがって、デジタル入力データの上位mビットに基づいて、第1の基準電圧の電圧レベルと第2の基準電圧の電圧レベルとの高低関係を推測して、反転手段の反転/非反転動作を制御する構成と異なり、タイミングを制御するための回路、具体的には、第1のD/Aコンバータが第1および第2の基準電圧を生成するまで、反転手段による反転/非反転動作を遅延させるための回路を、特に設けなくても、グリッチが発生するという不具合、すなわち、第1のD/Aコンバータから第1および第2の基準電圧が出力される前に第2のD/Aコンバータの処理が始まってしまい、デジタル入力データの切り替わり時に、不所望なアナログ電圧値が出力されるという不具合を防止できる。
【0032】
この結果、次段のnビットR−2Rラダー抵抗型D/Aコンバータで使用する2種類の基準電圧をmビットD/Aコンバータで生成して(m+n)ビットD/A変換を行う上で、タイミングを制御するための回路を特に設けることなくグリッチの発生を防止可能で、しかも、出力アナログ電圧値の単調性および連続性の確保が容易となるように高いD/A変換精度を得ることのできるD/Aコンバータ回路を提供することができる。
【0033】
さらに本発明のD/Aコンバータ回路は、上記課題を解決するために、上記第2のD/Aコンバータは、オフセットレベル制御抵抗の入力端子に入力される電圧を切り替える切り替え手段を備えていることを特徴としている。
【0034】
上記の発明によれば、第2のD/Aコンバータは切り替え手段によってオフセットレベル制御抵抗の入力端子に入力される電圧を切り替えるので、(m+n)ビットのデジタルデータの上位mビットが切り替わることにより第1および第2の基準電圧の電圧レベルが切り替わるときにおける出力アナログ電圧値の単調性を確保することができる。
【0035】
さらに本発明のD/Aコンバータ回路は、上記課題を解決するために、上記切り替え手段は、上記比較信号に基づいて上記オフセットレベル制御抵抗の入力端子に入力される電圧を切り替えることを特徴としている。
【0036】
上記の発明によれば、切り替え手段は比較手段が生成する制御信号に基づいてオフセットレベル制御抵抗の入力端子に入力される電圧を切り替えるので、オフセットレベル制御抵抗の入力端子に入力される電圧を自動的に切り替えることができる。
【0037】
さらに本発明のD/Aコンバータ回路は、上記課題を解決するために、上記切り替え手段が切り替える電圧として上記第1の基準電圧および上記第2の基準電圧を含んでいることを特徴としている。
【0038】
上記の発明によれば、切り替え手段はオフセットレベル制御抵抗の入力端子に入力される電圧を第1の基準電圧および第2の基準電圧に切り替えることができるので、上位mビットが切り替わることにより第1および第2の基準電圧の電圧レベルが切り替わるときにも、下位nビットのみが切り替わるときと同じように微分非線型性を抑制することができる。
【0039】
さらに本発明のD/Aコンバータ回路は、上記課題を解決するために、上記切り替え手段は、上記オフセットレベル制御抵抗の入力端子と、電圧の異なる複数の接続端子との接続および遮断を行うCMOSトランジスタ構造のスイッチを各接続端子に対応して備え、上記接続および上記遮断によってオフセットレベル制御抵抗の入力端子に入力される電圧を切り替えることを特徴としている。
【0040】
上記の発明によれば、CMOSトランジスタ構造のスイッチによる接続および遮断によって、電圧の異なる複数の接続端子のいずれかをオフセットレベル制御抵抗の入力端子と接続し、オフセットレベル制御抵抗の入力端子に入力する電圧を切り替える。従って、オフセットレベル制御抵抗の入力端子に入力する電圧を切り替える構成をCMOSプロセスで簡単に作成することができる。
【0041】
さらに本発明のD/Aコンバータ回路は、上記課題を解決するために、上記スイッチをP型とN型との相補型で動作させることを特徴としている。
【0042】
上記の発明によれば、各スイッチはP型とN型との相補型で動作するので、各接続端子の電源電圧からGNDレベルまでの全範囲を通すことができ、D/Aコンバータ回路のダイナミックレンジを拡大することができる。
【0043】
さらに本発明のD/Aコンバータ回路は、上記課題を解決するために、上記スイッチが設けられる信号線の上記スイッチと上記オフセットレベル制御抵抗の入力端子との間に上記信号線と並列になるように、互いに並列なP型MOSトランジスタおよびN型MOSトランジスタからなり各極性のMOSトランジスタに入力されるゲート信号が同極性の上記スイッチのMOSトランジスタに入力されるゲート信号と逆位相となるダミースイッチを備えることを特徴としている。
【0044】
上記の発明によれば、上記ダミースイッチを備えるので、各スイッチのオン状態からオフ状態への移行時に生ずるクロックノイズをキャンセルすることができる。
【0045】
さらに本発明のD/Aコンバータ回路は、上記課題を解決するために、1つの集積回路内に形成され、上記第1のD/Aコンバータが上記第1の基準電圧および上記第2の基準電圧を生成するための原基準電圧を生成する原基準電圧生成手段を備えていることを特徴としている。
【0046】
上記の発明によれば、第1のD/Aコンバータが上記第1の基準電圧および上記第2の基準電圧を生成するための原基準電圧を、同一集積回路内の原基準電圧生成手段によって生成するので、該集積回路の外部から原基準電圧を与える必要がない。
【0047】
また、本発明の携帯端末装置は、上記課題を解決するために、前記いずれかのD/Aコンバータ回路を備えることを特徴としている。
【0048】
上記の発明によれば、携帯端末装置のアナログフロントエンドの制御電圧発生回路など、D/A変換を行う部分において、出力アナログ電圧値の単調性および連続性の確保が容易となるように高いD/A変換精度を得ることができる。
【0049】
また、本発明のオーディオ装置は、上記課題を解決するために、前記いずれかのD/Aコンバータ回路を備えていることを特徴としている。
【0050】
上記の発明によれば、オーディオ装置のボリューム制御回路など、D/A変換を行う部分において、出力アナログ電圧値の単調性および連続性の確保が容易となるように高いD/A変換精度を得ることができる。
【0051】
【発明の実施の形態】
本発明の実施の形態について、図1ないし図7に基づいて説明すれば以下の通りである。
【0052】
図1に、本実施の形態に係るD/Aコンバータ10の構成を示す。D/Aコンバータ10は2段階(m+n)ビットD/Aコンバータであり、初段D/Aコンバータ1、次段R−2Rラダー抵抗型D/Aコンバータ2、ラッチ回路3、比較器4、反転器5、および基準電圧発生回路6を備えている。但し、図14などで示したような、電圧レベルが高い方の基準電圧を上限基準電圧に、電圧レベルが低い方の基準電圧を下限基準電圧に交換する交換器は使用しない。
【0053】
なお、(m+n)ビットのデジタル入力データDinの上位ビット数mと下位ビット数nとは特に問わないが、ここではともに3ビットとして説明を進める。
【0054】
初段D/Aコンバータ(第1のD/Aコンバータ)1は、デジタル入力データDinの上位mビットに応じた互いに電圧レベルの異なる第1の基準電圧と第2の基準電圧とを生成する。ここでは、D/Aコンバータ10を例えば10ビット以上といった高分解能で単調性および連続性を確保することができるものとするために、初段D/Aコンバータ1として、上位mビットの切り替え時にアナログ出力電圧範囲の境界に不連続点が発生しない図14の抵抗ストリング型D/Aコンバータ91bを用いることとし、基準電圧VH を第1の基準電圧、基準電圧VL を第2の基準電圧とする。
【0055】
次段R−2Rラダー抵抗型D/Aコンバータ2については後述する。
【0056】
ラッチ回路3は、入力されるクロック信号CKに従ってデジタル入力データDinのラッチを行い、上位mビットのデジタルデータを出力して初段D/Aコンバータ1に入力するとともに、下位nビットのデジタルデータを出力して反転器5に入力する。
【0057】
比較器(比較手段)4は、初段D/Aコンバータ1から入力される基準電圧VH の電圧レベルと基準電圧VL の電圧レベルとの高低関係を判定し、判定した高低関係に応じた比較信号CSを生成して出力する。基準電圧VH の電圧レベルが基準電圧VL の電圧レベルよりも高い(VH >VL )場合には比較信号CS=HIGHとなり、基準電圧VH の電圧レベルが基準電圧VL の電圧レベルよりも低い(VH <VL )場合には比較信号CS=LOWとなる。出力された比較信号CSは反転器5および次段R−2Rラダー抵抗型D/Aコンバータ2に入力される。
【0058】
反転器(反転手段)5は、比較信号CSがHIGHの場合に下位nビットのデジタルデータをそのまま次段R−2Rラダー抵抗型D/Aコンバータ2に入力する一方、比較信号CSがLOWの場合に下位nビットのデジタルデータの2値のうちの第1の値と第2の値とを入れ替えて次段R−2Rラダー抵抗型D/Aコンバータ2に入力する。ここでは、第1の値は1であり、第2の値は0である。
【0059】
基準電圧発生回路(原基準電圧生成手段)6は、初段D/Aコンバータ1が基準電圧VH および基準電圧VL を生成するための原基準電圧である基準電圧VH・VLを例えばバンドギヤップリファレンス回路などを用いて生成して出力し、初段D/Aコンバータ1に入力する。
【0060】
次段R−2Rラダー抵抗型D/Aコンバータ(第2のD/Aコンバータ)2は、デジタル入力データDinの下位nビットの情報と基準電圧VH および基準電圧VL とを用いて、デジタル入力データDinを基準電圧VH および基準電圧VL の電圧レベルの高い方が上限で低い方が下限となる範囲内のアナログ電圧値に変換して出力する。下位nビットの情報は反転器5から入力されるデジタルデータであって、比較信号CSがHIGHの場合には下位nビットのデジタルデータそのものであり、比較信号CSがLOWの場合には下位nビットの1と0とが入れ替わったデジタルデータである。
【0061】
図2に示すように、次段R−2Rラダー抵抗型D/Aコンバータ2は、抵抗網21、オフセットレベル制御抵抗22、スイッチ群23、および接続切り替え部24を備えている。抵抗網21とオフセットレベル制御抵抗22とでラダー抵抗網が構成される。
【0062】
抵抗網21は、抵抗値Rの8つの抵抗、下位ビット数nに対応して抵抗同士が梯子接続される節点N3・N4・N5、下位nビットの最上位ビット(デジタル入力データDinの4ビット目)入力側の入力端子P3、デジタル入力データDinの5ビット目入力側の入力端子P4、および、下位nビットの最下位ビット(デジタル入力データDinの6ビット目)入力側の入力端子P5を備えている。節点N3と節点N4、また、節点N4と節点N5とはそれぞれ抵抗値Rの抵抗で接続されている。節点N3と入力端子P3、節点N4と入力端子P4、また、節点N5と入力端子P5は、それぞれ抵抗値2Rの抵抗(抵抗値Rの2つの抵抗の直列抵抗)で接続されている。また、節点N3から、デジタル入力データDinに対応するアナログ出力電圧Aoutが出力される。
【0063】
オフセットレベル制御抵抗22は、抵抗値Rの2つの抵抗、および、オフセットレベル制御電圧が入力される入力端子PCを備えている。前記節点N5と入力端子PCとは抵抗値2Rの抵抗(上記抵抗値Rの2つの抵抗の直列抵抗)で接続されている。
【0064】
スイッチ群23はスイッチSW3・SW4・SW5を備えている。スイッチSW3は、節点P3を、基準電圧VH が印加されている接続端子Q3および基準電圧VL が印加されている接続端子R3と接続および遮断するスイッチである。スイッチSW4は、節点P4を、基準電圧VH が印加されている接続端子Q4および基準電圧VL が印加されている接続端子R4と接続および遮断するスイッチである。スイッチSW5は、節点P5を、基準電圧VH が印加されている接続端子Q5および基準電圧VL が印加されている接続端子R5と接続および遮断するスイッチである。スイッチSW3・SW4・SW5には上記接続および遮断を切り替える制御信号として、それぞれ反転器5から出力される下位nビットの各ビットのデジタルデータD3・D4・D5が入力されるようになっており、該デジタルデータが1のときにそれぞれ節点P3・P4・P5を接続端子Q3・Q4・Q5に接続し、該デジタルデータが0のときにそれぞれ節点P3・P4・P5を接続端子R3・R4・R5に接続する。
【0065】
接続切り替え部(切り替え手段)24はスイッチSWCを備えている。スイッチSWCは、入力端子PCを複数の接続端子、ここでは接続端子V1および接続端子V2と接続および遮断するスイッチである。本実施の形態では、接続端子V1には基準電圧VH が印加されており、接続端子V2には基準電圧VL が印加されている。この他、基準電圧VH と基準電圧VL との中間の電圧が印加される接続端子に接続するようになっていてもよい。スイッチSWCは、比較信号CSによって上記接続および遮断を切り替えることができるようになっており、これによりオフセットレベル制御電圧を切り替えることができる。
【0066】
次に、上記の構成のD/Aコンバータ10の動作について説明する。
【0067】
ここでもう一度、初段D/Aコンバータ1の動作について図13を用いて説明する。図13の抵抗ストリング型D/Aコンバータ91bは、抵抗ストリング111、基準電圧スイッチ112、基準電圧VH バッファアンブ113、および基準電圧VL バッファアンプ114を備えており、例えば、上位mビットのデジタル入力が「111」時には抵抗r0の両端の各電圧をスイッチSH0とSL0(SH1と同じ)をオンにして基準電圧VH と基準電圧VL として出力する。また、上位mビットが「110」時には抵抗r1の両端の各電圧をスイッチSH1(S10と同じ)とSL1(SH2と同じ)をオンにして基準電圧VL と基準電圧VH として出力する。以下、上位mビットの「000」までデジタル入力に応じてスイッチを操作することで基準電圧VH ・VL が出力される。
【0068】
ここで、図11の抵抗ストリング型D/Aコンバータ91aと違うのは、抵抗ストリング型D/Aコンバータ91aでは基準電圧VH は常に基準電圧VL より高い電圧レベルで出力されるのに対し、抵抗ストリング型D/Aコンバータ91bでは上記mビットのデジタル入力に応じて基準電圧VH および基準電圧VL の電圧レベルが交互に入れ替わることである。つまり、偶数スイッチSHx、SLx(xは偶数)がオンになる上位mビットのデジタル入力の場合には、基準電圧VH の電圧レベルが基準電圧VL のレベルよりも高くなる。したがって、比較器4が出力する比較信号CSはHIGHとなる。一方、奇数スイッチSHy、SLy(yは奇数)がオンになる上位mビットのデジタル入力の場合には、基準電圧VL の電圧レベルが基準電圧VH のレベルよりも高くなるので、比較信号CS=LOWとなる。この動作により、図3に示すように、抵抗ストリング型D/Aコンバータ91bでは、上位mビットの切り替え時にアナログ出力電圧範囲の境界に不連続点が発生しない。
【0069】
ある上位mビットに対する次段R−2Rラダー抵抗型D/Aコンバータ2のアナログ出力電圧範囲は、接続端子V1に基準電圧VH が入力され接続端子V2に基準電圧VL が入力されているときに、比較信号CSによって入力端子PCに基準電圧VL が入力された場合には図4(a)に示すようにVL 〜(VH −1LSB)の範囲となり、また比較信号CSによって入力端子PCに基準電圧VH が入力された場合には図4(b)に示すように、(VL +1LSB)〜VH の範囲となる。
【0070】
また、スイッチSWCによって入力端子PCを接続V2端子(基準電圧VL )に固定して接続したときの、各上位mビットに対する次段R−2Rラダー抵抗型D/Aコンバータ2のアナログ出力電圧範囲を図5(a)に示す。
【0071】
上位mビットのデジタル入力が「111」であるときには図13の抵抗r0の両端の各電圧をスイッチSH0およびSL0(SH1と同じ)をオンにして基準電圧VH と基準電圧VL として出力する。この場合、基準電圧VH が基準電圧VL よりも高くなるので、比較器4が出力する比較信号CSはHIGHになり、下位nビットのデジタルデータは反転器5により反転されずに次段R−2Rラダー抵抗型D/Aコンバータ2に入力される。入力される上位mビットが「111」であるときの下位nビットのデジタルデータの範囲「111」〜「000」におけるアナログ出力電圧が、図5(a)の「スイッチ状態0(SH0/SL0)で選択される基準電圧範囲」に示されている。
【0072】
次に、入力される上位mビットのデジタルデータが「110」であるときには図13の抵抗r1の両端の各電圧をスイッチSH1(SL0と同じ)およびSL1(SH2と同じ)をオンにして基準電圧VL と基準電圧VH として出力する。この場合、基準電圧VH が基準電圧VL よりも低くなるので、比較器4が出力する比較信号CSはLOWになり、下位nビットのデジタルデータは反転器5により反転されて次段R−2Rラダー抵抗型D/Aコンバータ2に入力される。入力される上位mビットが「110」であるときの下位nビットのデジタルデータの範囲「111」〜「000」におけるアナログ出力電圧が、図5(a)の「スイッチ状態1(SH1/SL1)で選択される基準電圧範囲」に示されている。
【0073】
また次に、入力される上位mビットのデジタルデータが「101」であるときには図13の抵抗r2の両端の各電圧をスイッチSH2(SL1と同じ)およびSL2(SH3と同じ)をオンにして基準電圧VH と基準電圧VL として出力する。この場合、基準電圧VH が基準電圧VL よりも高くなるので、比較器4が出力する比較信号CSはHIGHになり、下位nビットのデジタルデータは反転器5により反転されずに次段R−2Rラダー抵抗型D/Aコンバータ2に入力される。入力される上位mビットが「101」であるときの下位nビットのデジタルデータの範囲「111」〜「000」におけるアナログ出力電圧が、図5(a)の「スイッチ状態2(SH2/SL2)で選択される基準電圧範囲」に示されている。
【0074】
ここで図5(a)のアナログ出力電圧範囲を見ると、上位mビットが「111」で下位nビットが「000」であるときと、上位mビットが「110」で下位nビットが「111」であるときとで同じアナログ出力電圧値をとり(差分が0LSB)、また上位mビットが「110」で下位nビットが「000」であるときと、上位mビットが「101」で下位nビットが「111」であるときとでアナログ出力電圧値が2LSBの差になっていることがわかる。この図から、上位mビットに対してスイッチ状態が奇数にあるとき(例えば上位mビットが「110」)の次段R−2Rラダー抵抗型D/Aコンバータ2のアナログ出力電圧値を1LSBだけ下方に動かすことによって、図5(b)に示すようにどのビット時も1LSBずつの均等な変化(すなわち微分非線型性:DNL=0)になることがわかる。
【0075】
つまり、上位mビットに対してスイッチ状態が偶数にあるとき、すなわち比較信号CS=HIGHのときには、接続切り替え部24のスイッチSWCによりオフセットレベル制御抵抗22の入力端子PCを接続端子V2(基準電圧VL )に接続し、上位mビットに対してスイッチ状態が偶数にあるとき、すなわち比較信号CS=LOWのときには、接続切り替え部24のスイッチSWCによりオフセットレベル制御抵抗22の入力端子PCを接続端子V1(基準電圧VH )に接続するように、スイッチSWCの接続および遮断を切り替える。従って、上位mビットが「111」、「101」、「011」、「001」であり、基準電圧VH が基準電圧VL よりも高いとき、すなわち、比較信号CS=HIGHであるときには、オフセットレベル制御抵抗24の入力端子PCに基準電圧VH を入力し、上位mビットが「110」、「100」、「010」、「000」であり、基準電圧VH が基準電圧VL よりも低いとき、すなわち、比較信号CS=LOWであるときには、オフセットレベル制御抵抗24の入力端子PCに基準電圧VL を入力するように切り替える。このように上位mビットのデジタルデータの値に応じて接続切り替え部24のスイッチSWCを切り替えることによって、どのビットの切替え時も図5(b)に示すような1LSBの変化(微分非線型性:DNL=0)が得られ、不連続性が補償される。
【0076】
なお、基準電圧VH ・VL は交換器などを経ずに、従って変動を受けすにスイッチ群23および接続切り替え部24に入力されるので、これらに入力されるまでの単調性は確保されている。また、スイッチ群23のスイッチSW3〜SW5は後述するように抵抗値の調整を行うことができるので、スイッチ群23を経てもなお単調性は確保することができる。一方、接続切り替え部24のスイッチSWCによる変動を受けるのはオフセットレベル制御抵抗22への入力電圧だけであり、オフセットレベル制御抵抗22はD/A変換そのものではなくオフセット制御に用いられるため、オフセットレベル制御抵抗22への入力電圧が基準電圧VH ・VL の間のどの値をとってもアナログ出力電圧Aoutには1LSB以下の影響しか与えない。従って、スイッチSWCのオン抵抗によりD/A変換精度の劣化が問題となることない。
【0077】
このように、本実施の形態に係るD/Aコンバータ回路10によれば、初段D/Aコンバータ1が、基準電圧VH の電圧レベルと基準電圧VL の電圧レベルとの高低関係が上位mビットに応じて変化するものであっても、交換器などを用いずに次段R−2Rラダー抵抗型D/Aコンバータ2でD/A変換を行うことができる。複数のスイッチを備える交換器が不要となる分、高いD/A変換精度が得られる。
【0078】
さらに、上記比較器4は、初段D/Aコンバータ1が出力する両基準電圧VH ・VL を比較して、比較信号CSを生成するので、比較信号CSが生成された時点では、必ず、両基準電圧VH ・VL が出力されている。
【0079】
ここで、例えば、デジタル入力データDinの上位mビットに基づいて、両基準電圧VH ・VL の高低関係を推定し、推定結果に基づいて、反転器5の反転/非反転動作を制御した場合、推定する回路の動作速度の方が、初段D/Aコンバータ1の動作速度よりも速いと、デジタル入力データDinの切り替わり時に、正しい両基準電圧VH ・VL が出力される前に、推定結果を示す制御信号が出力される虞れがある。この場合、タイミングを制御するための回路(例えば、制御信号を遅延させるラッチ回路など)を設けて、反転器5の反転/非反転動作を遅延させないと、初段D/Aコンバータ1から両基準電圧VH ・VL が出力される前に、次段R−2Rラダー抵抗型D/Aコンバータ2のD/A変換処理が始まってしまい、デジタル入力データDinの切り替わり時に、不所望なアナログ出力電圧Aout(D/Aコンバータでは「グリッチ」と呼ばれる)が出力される虞れがある。
【0080】
これに対して、本実施形態に係るD/Aコンバータ回路10では、上記比較器4は、初段D/Aコンバータ1が出力する両基準電圧VH ・VL を比較して、比較信号CSを生成するので、比較信号CSが生成された時点では、必ず、両基準電圧VH ・VL が出力されている。この結果、特に、タイミングを制御する回路を設けなくても、デジタル入力データDinの切り替わり時において、グリッジの発生を防止できる。
【0081】
これらの結果、次段のnビットR−2Rラダー抵抗型D/Aコンバータで使用する2種類の基準電圧をmビットD/Aコンバータで生成して(m+n)ビットD/A変換を行う上で、タイミングを制御するための回路を特に設けることなくグリッチの発生を防止可能で、しかも、出力アナログ電圧値の単調性および連続性の確保が容易となるように高いD/A変換精度を得ることのできるD/Aコンバータ回路を提供することができる。
【0082】
また、D/Aコンバータ回路10によれば、次段R−2Rラダー抵抗型D/Aコンバータ2は接続切り替え部24によってオフセットレベル制御抵抗22の入力端子PCに入力される電圧を切り替えるので、(m+n)ビットのデジタルデータの上位mビットが切り替わることにより基準電圧VH ・VL の電圧レベルが切り替わるときにおける出力アナログ電圧値の単調性を確保することができる。
【0083】
また、D/Aコンバータ回路10によれば、接続切り替え部24は比較器4が生成する比較信号CSに基づいてオフセットレベル制御抵抗22の入力端子PCに入力される電圧を切り替えるので、入力端子PCに入力される電圧を自動的に切り替えることができる。
【0084】
また、D/Aコンバータ回路10によれば、接続切り替え部24が切り替える電圧として基準電圧VH および基準電圧VL を含んでおり、入力端子PCに入力される電圧を基準電圧VH および基準電圧VL に切り替えることができるので、上位mビットが切り替わることにより基準電圧VH および基準電圧VL の電圧レベルが切り替わるときにも、下位nビットのみが切り替わるときと同じように微分非線型性を抑制することができる。
【0085】
また、D/Aコンバータ回路10は、初段D/Aコンバータ1として抵抗ストリング型D/Aコンバータ回路91bが設けられるものとして説明したが、次段R−2Rラダー抵抗型D/Aコンバータ2に対する初段D/Aコンバータ1としては、基準電圧VH ・VL を出力するD/Aコンバータであれば設けられることが可能である。基準電圧VH ・VL の高低関係が一定であっても構わない。
【0086】
なお、図2には、前述したように初段D/Aコンバータ1の次段のD/Aコンバータとして最も基本的なR−2R抵抗ラダー型D/Aコンバータにオフセットレベル制御電圧の切り替え部24を追加した構成を示した。この次段のD/Aコンバータに用いるR−2R抵抗ラダー型D/Aコンバータは、抵抗値Rと抵抗値2Rとの比を確実に1:2にするためにR側に常時オンのスイッチを挿入した構成や、抵抗値2Rとしての抵抗をスイッチ群23のスイッチのオン抵抗分を元々差し引いて作りこむことにより1:2の比を補償したR−2R抵抗ラダー型D/Aコンバータに接続切り替え部24を追加した構成などの、スイッチのオン抵抗も含んで1:2の比を実現する構成を用いることも可能である。
【0087】
また、次段R−2R抵抗ラダー型D/Aコンバータ2のスイッチ群23を構成するスイッチSW3〜SW5や接続切り替え部24のスイッチSWCは、図6(b)に示すようにCMOSトランジスタ構造で構成するのが好ましい。これによれば、オフセットレベル制御抵抗22の入力端子PCに入力する電圧を切り替える構成をCMOSプロセスで簡単に作成することができる。これらのスイッチの動作を制御する信号として信号Dが与えられる場合に、図6(a)に示すようにインバータ31によって信号Dから反転信号DBを生成しておき、図6(b)に示すようにN型MOSトランジスタ32およびP型MOSトランジスタ35のゲートに信号Dを入力し、P型MOSトランジスタ33およびN型MOSトランジスタ34のゲートに反転信号DBを入力する。スイッチSW3〜SW5の場合には信号Dは反転器5から入力されるデジタルデータD3〜D5に相当し、スイッチSWCの場合には信号Dは比較信号CSを反転させた信号に相当する。また、端子OUTは、スイッチSW3〜SW5の場合には入力端子P3〜P5であり、スイッチSWCの場合には入力端子PCである。
【0088】
また、図6の場合は、N型MOSトランジスタ32およびP型MOSトランジスタ33、N型MOSトランジスタ34およびP型MOSトランジスタ35はそれぞれ対になって動作するアナログスイッチであり、各スイッチはP型MOSトランジスタとN型MOSトランジスタとの相補型で動作する。基準電圧VH 、VL が電源電圧に近いレベルの場合は、N型MOSトランジスタ32・34がオンし、基準電圧VH 、VL がグランドに近いレベルの場合は、P型MOSトランジスタ33・35がオンになるため、接続端子Q3〜Q5やQC、接続端子R3〜R5やRCの、電源電圧からグランドレベルまでの全範囲を通すことでき、D/Aコンバータ回路10のダイナミックレンジを拡大することができる。
【0089】
また、図7(b)に示すように、N型MOSトランジスタ41およびP型MOSトランジスタ42と、N型MOSトランジスタ43およびP型MOSトランジスタ44とがそれぞれダミースイッチとして設けられてもよい。図7(a)は、図6(a)と同様に、インバータ31によって信号Dから反転信号DBを生成する状態を示している。N型MOSトランジスタ41とP型MOSトランジスタ42とは互いに並列で、これらはN型MOSトランジスタ32およびP型MOSトランジスタ33と端子OUTとの間に、N型MOSトランジスタ32およびP型MOSトランジスタ33が設けられる信号線と並列になるように備えられている。N型MOSトランジスタ41は同極性のN型MOSトランジスタ32と、P型MOSトランジスタ42は同極性のP型MOSトランジスタ33と、それぞれゲート信号が逆位相となって入力される。N型MOSトランジスタ41およびP型MOSトランジスタ42の、N型MOSトランジスタ34およびP型MOSトランジスタ35に対する関係も、N型MOSトランジスタ41およびP型MOSトランジスタ42の、N型MOSトランジスタ32およびP型MOSトランジスタ33に対する関係と同様である。
【0090】
このようにして、N型MOSトランジスタ41およびP型MOSトランジスタ42からなるダミースイッチは、N型MOSトランジスタ32およびP型MOSトランジスタ33からなるアナログスイッチと直列に接続され、N型MOSトランジスタ43およびP型MOSトランジスタ44からなるダミースイッチは、N型MOSトランジスタ34およびP型MOSトランジスタ35からなるアナログスイッチと直列に接続される。従って、アナログスイッチのオン時にソースーバルクおよびドレインーバルク間に蓄積された電荷が、アナログスイッチのオン状態からオフ状態への移行時に分配されるクロックフィードスルーにより発生するノイズ(クロックノイズ)をキャンセルすることができる。
【0091】
また、上述したD/Aコンバータ回路10は、1つの集積回路内に形成することができる。このとき、初段D/Aコンバータ1に基準電圧VH、VLを与える基準電圧発生回路6を備えていることにより、基準電圧VH、VLを同一集積回路内で発生することができ、該集積回路の外部から基準電圧を与える必要がなくなる。
【0092】
また、上述のD/Aコンバータ回路10は、例えばW−CDMA(Wideband−Code Division Multiple Access)仕様の携帯端末装置におけるアナログフロントエンド(AFE:Analog Front End)での制御電圧発生回路として用いることができる。これにより、制御電圧発生回路のD/A変換を行う部分において、出力アナログ電圧値の単調性および連続性の確保が容易となるように高いD/A変換精度を得ることができる。
【0093】
さらに、上述のD/Aコンバータ回路10は、オーディオ装置のボリューム制御回路などにも用いることができる。これにより、ボリューム制御回路のD/A変換を行う部分において、出力アナログ電圧値の単調性および連続性の確保が容易となるように高いD/A変換精度を得ることができる。
【0094】
【発明の効果】
本発明のD/Aコンバータ回路は、以上のように、上記第2のD/Aコンバータのラダー抵抗網のデジタルデータ入力側の各入力端子には、上記第2のD/Aコンバータに入力されるデジタルデータが2値のうちの第1の値であるときに上記第1の基準電圧が入力されるとともに、上記第2のD/Aコンバータに入力されるデジタルデータが2値のうちの第2の値であるときに上記第2の基準電圧が入力され、上記第1のD/Aコンバータがそれぞれ出力する第1および第2の基準電圧の電圧レベルを比較して、両者の高低関係に応じた比較信号を生成する比較手段と、上記比較信号が上記第1の基準電圧の電圧レベルが上記第2の基準電圧の電圧レベルよりも高いことを示す場合に上記下位nビットのデジタルデータをそのまま上記第2のD/Aコンバータに入力する一方、上記比較信号が上記第1の基準電圧の電圧レベルが上記第2の基準電圧レベルよりも低いことを示す場合に上記下位nビットのデジタルデータの上記第1の値と上記第2の値とを入れ替えて上記第2のD/Aコンバータに入力する反転手段とを備えている構成である。
【0095】
それゆえ、第1のD/Aコンバータが、第1の基準電圧の電圧レベルと第2の基準電圧の電圧レベルとの高低関係が上位mビットに応じて変化するものであっても、交換器などを用いずに第2のD/AコンバータでD/A変換を行うことができる。複数のスイッチを備える交換器が不要となる分、高いD/A変換精度が得られる。さらに、上記比較手段が第1のD/Aコンバータが出力する第1および第2の基準電圧に基づいて比較信号を生成するので、タイミングを制御するための回路を特に設けなくても、比較信号が生成された時点では、必ず、第1および第2の基準電圧が出力されている。
【0096】
この結果、次段のnビットR−2Rラダー抵抗型D/Aコンバータで使用する2種類の基準電圧をmビットD/Aコンバータで生成して(m+n)ビットD/A変換を行う上で、タイミングを制御するための回路を特に設けることなくグリッチの発生を防止可能で、しかも、出力アナログ電圧値の単調性および連続性の確保が容易となるように高いD/A変換精度を得ることのできるD/Aコンバータ回路を提供することができるという効果を奏する。
【0097】
さらに本発明のD/Aコンバータ回路は、以上のように、上記第2のD/Aコンバータは、オフセットレベル制御抵抗の入力端子に入力される電圧を切り替える切り替え手段を備えている構成である。
【0098】
それゆえ、(m+n)ビットのデジタルデータの上位mビットが切り替わることにより第1および第2の基準電圧の電圧レベルが切り替わるときにおける出力アナログ電圧値の単調性を確保することができるという効果を奏する。
【0099】
さらに本発明のD/Aコンバータ回路は、以上のように、上記切り替え手段は、上記比較信号に基づいて上記オフセットレベル制御抵抗の入力端子に入力される電圧を切り替える構成である。
【0100】
それゆえ、オフセットレベル制御抵抗の入力端子に入力される電圧を自動的に切り替えることができるという効果を奏する。
【0101】
さらに本発明のD/Aコンバータ回路は、以上のように、上記切り替え手段が切り替える電圧として上記第1の基準電圧および上記第2の基準電圧を含んでいる構成である。
【0102】
それゆえ、上位mビットが切り替わることにより第1および第2の基準電圧の電圧レベルが切り替わるときにも、下位nビットのみが切り替わるときと同じように微分非線型性を抑制することができるという効果を奏する。
【0103】
さらに本発明のD/Aコンバータ回路は、以上のように、上記切り替え手段は、上記オフセットレベル制御抵抗の入力端子と、電圧の異なる複数の接続端子との接続および遮断を行うCMOSトランジスタ構造のスイッチを各接続端子に対応して備え、上記接続および上記遮断によってオフセットレベル制御抵抗の入力端子に入力される電圧を切り替える構成である。
【0104】
それゆえ、オフセットレベル制御抵抗の入力端子に入力する電圧を切り替える構成をCMOSプロセスで簡単に作成することができるという効果を奏する。
【0105】
さらに本発明のD/Aコンバータ回路は、以上のように、上記スイッチをP型とN型との相補型で動作させる構成である。
【0106】
それゆえ、各接続端子の電源電圧からGNDレベルまでの全範囲を通すことができ、D/Aコンバータ回路のダイナミックレンジを拡大することができるという効果を奏する。
【0107】
さらに本発明のD/Aコンバータ回路は、以上のように、上記スイッチが設けられる信号線の上記スイッチと上記オフセットレベル制御抵抗の入力端子との間に上記信号線と並列になるように、互いに並列なP型MOSトランジスタおよびN型MOSトランジスタからなり各極性のMOSトランジスタに入力されるゲート信号が同極性の上記スイッチのMOSトランジスタに入力されるゲート信号と逆位相となるダミースイッチを備える構成である。
【0108】
それゆえ、各スイッチのオン状態からオフ状態への移行時に生ずるクロックノイズをキャンセルすることができるという効果を奏する。
【0109】
さらに本発明のD/Aコンバータ回路は、以上のように、1つの集積回路内に形成され、上記第1のD/Aコンバータが上記第1の基準電圧および上記第2の基準電圧を生成するための原基準電圧を生成する原基準電圧生成手段を備えている構成である。
【0110】
それゆえ、原基準電圧を集積回路の外部から原基準電圧を与える必要がないという効果を奏する。
【0111】
また、本発明の携帯端末装置は、以上のように、前記いずれかのD/Aコンバータ回路を備える構成である。
【0112】
それゆえ、携帯端末装置のアナログフロントエンドの制御電圧発生回路など、D/A変換を行う部分において、出力アナログ電圧値の単調性および連続性の確保が容易となるように高いD/A変換精度を得ることができるという効果を奏する。
【0113】
また、本発明のオーディオ装置は、以上のように、前記いずれかのD/Aコンバータ回路を備えている構成である。
【0114】
それゆえ、オーディオ装置のボリューム制御回路など、D/A変換を行う部分において、出力アナログ電圧値の単調性および連続性の確保が容易となるように高いD/A変換精度を得ることができるという効果を奏する。
【図面の簡単な説明】
【図1】本発明の実施の形態に係るD/Aコンバータの構成を示すブロック図である。
【図2】図1のD/Aコンバータが備える次段R−2Rラダー抵抗型D/Aコンバータの構成を示す回路図である。
【図3】図1のD/Aコンバータが備える初段D/Aコンバータの上位ビットデジタル入力に対するアナログ出力電圧の範囲を示す入力−出力対応図である。
【図4】(a)および(b)は、図2の次段R−2Rラダー抵抗型D/Aコンバータの特定の上位ビットにおける下位ビットデジタル入力に対するアナログ出力電圧の範囲の一例を示す入力−出力対応図である。
【図5】(a)および(b)は、図2の次段R−2Rラダー抵抗型D/Aコンバータの各上位ビットにおける下位ビットデジタル入力に対するアナログ出力電圧の範囲を示す入力−出力対応図である。
【図6】(a)および(b)は、図2の次段R−2Rラダー抵抗型D/Aコンバータの各スイッチをCMOSスイッチで構成する場合に用いられる回路を示す回路図である。
【図7】(a)および(b)は、図2の次段R−2Rラダー抵抗型D/Aコンバータの各スイッチをCMOSスイッチで構成するとともにさらにダミースイッチを設ける場合に用いられる回路を示す回路図である。
【図8】従来のR−2Rラダー抵抗型D/Aコンバータの構成を示す回路図である。
【図9】(a)ないし(c)は、図8のR−2Rラダー抵抗型D/Aコンバータのデジタル入力データに対するアナログ出力電圧の範囲を示す入力−出力対応図である。
【図10】従来の2段階D/Aコンバータの構成を示すブロック図である。
【図11】図10の2段階D/Aコンバータが備える初段D/Aコンバータの構成を示す回路図である。
【図12】図11の初段D/Aコンバータの上位ビットデジタル入力に対するアナログ出力電圧の範囲を示す入力−出力対応図である。
【図13】従来の2段階D/Aコンバータが備える他の初段D/Aコンバータの構成を示す回路図である。
【図14】図13の初段D/Aコンバータを備える従来の2段階D/Aコンバータの構成を示すブロック図である。
【図15】(a)および(b)は、図14の2段階D/Aコンバータが備える交換器を構成する場合に用いられる回路を示す回路図である。
【符号の説明】
1 初段D/Aコンバータ(第1のD/Aコンバータ)
2 次段R−2Rラダー抵抗型D/Aコンバータ(第2のD/Aコ
ンバータ)
4 比較器(比較手段)
5 反転器(反転手段)
6 基準電圧発生回路(原基準電圧生成手段)
10 D/Aコンバータ回路
22 オフセットレベル制御抵抗
24 接続切り替え部(切り替え手段)
32、34 N型MOSトランジスタ
33、35 P型MOSトランジスタ
41、43 N型MOSトランジスタ
42、44 P型MOSトランジスタ
91b 抵抗ストリング型D/Aコンバータ(第1のD/Aコンバータ)
CS 比較信号
D3〜D5 デジタルデータ
P3〜P5 入力端子
PC 入力端子
QC、RC 接続端子
SWC スイッチ
VH、VL 原基準電圧
VH 基準電圧(第1の基準電圧)
VL 基準電圧(第2の基準電圧)[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a D / A converter circuit using an R-2R ladder resistor network for converting an input digital signal into an analog signal, and in particular, to a two-stage D / A converter for improving resolution by a two-stage D / A conversion process. It relates to an A-converter circuit.
[0002]
[Prior art]
A D / A (digital-to-analog) converter composed of an R-2R ladder resistor network is a circuit that converts a digital input signal into an analog signal and outputs the signal. For example, an R-2R resistor ladder type D /
[0003]
The operation principle of the R-2R resistance ladder type D /
Aout = {(D3 × 2 2 Ten D4 × 2 1 Ten D5 × 2 0 ) / 2 3 } Vdd + offset
Can be expressed as Here, Dn (n = 3, 4, 5) is 0 or 1 (depending on the digital input code). The offset varies depending on the voltage input to the offset terminal OFFCR.
[0004]
As shown in FIG. 9A, when Gnd is input to the offset terminal OFFCR, the analog output becomes Gnd to (Vdd-1 LSB), and when Vdd is input to the offset terminal OFFCR as shown in FIG. 9B. Are (Gnd + 1 LSB) to Vdd. Further, as shown in FIG. 9C, when a voltage having an intermediate value between Gnd and Vdd is input to the offset terminal OFFCR, the analog output takes an intermediate value between FIGS. 8A and 8B.
[0005]
This R-2R resistance ladder type D /
[0006]
Also, as can be seen from the R-2R ladder resistance type D /
[0007]
However, the ratio accuracy between the resistors used in the ladder resistor network in the above R-2R ladder resistor type D / A converter can be obtained only up to about 0.05% without trimming, so that the D / A converter of 10 bits or more is used. It is difficult to construct only with the R-2R resistance ladder network.
[0008]
In order to increase the resolution without performing costly trimming, there is a method of performing D / A conversion in two stages (generally, a plurality of stages) as in a two-stage D /
[0009]
The lower-order n bits of the digital input data Din latched by the
[0010]
As an example of the first-stage D /
[0011]
The
[0012]
Upper reference voltage V HH The
[0013]
In the resistor string type D /
[0014]
However, the upper limit reference voltage V used here HH
[0015]
13 includes a
[0016]
Reference voltage V H The
[0017]
In the resistor string type D /
[0018]
Here, the difference from the resistor string type D /
[0019]
This
[0020]
The
[0021]
Thus, the reference voltage V H And reference voltage V L A two-stage D / A converter circuit that alternately exchanges the voltage levels with the reference voltage of the next stage D / A converter is referred to as “INTEGRATED ANALOG-TO-DIGITAL AND DIGITAL-TO-ANALOG CONVERTERS”, pp233-234, Kluer Academic Publishers, 1994.
[0022]
[Problems to be solved by the invention]
However, in a two-stage D / A converter circuit using an R-2R ladder resistance type D / A converter in the next stage, the switch includes a plurality of switches as described above, and each switch is turned on due to manufacturing variations of the switches. The resistance may vary. Therefore, the reference voltage V shown in FIG. H Are at the same voltage level, the upper limit reference voltage V HH Is output as the lower limit reference voltage V via the SW12. LL The output voltage level of the exchanger may fluctuate due to the different switches that are turned on, such as whether the output is performed as an output.
[0023]
Also, due to the ON resistance (α) of the switch of the exchanger, the resistance value on the 2R side in the next stage R-2R ladder resistance type D / A converter becomes 2R + α equivalently, and the resistance ratio between R and 2R fluctuates. , Α may not operate as a D / A converter with high accuracy.
[0024]
As described above, in the conventional two-stage D / A converter circuit, the D / A conversion accuracy of the next-stage n-bit R-2R ladder resistance type D / A converter is deteriorated. However, there is a problem that it is difficult to ensure the monotonicity and continuity of the output analog voltage value because the D / A conversion accuracy may deteriorate.
[0025]
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned conventional problem, and an object of the present invention is to provide two types of reference voltages used in the next stage n-bit R-2R ladder resistance type D / A converter by m bits. In performing (m + n) -bit D / A conversion by generating with a D / A converter, high D / A conversion accuracy can be obtained so that monotonicity and continuity of an output analog voltage value can be easily ensured. An object of the present invention is to provide a D / A converter circuit, and a portable terminal device and an audio device including the same.
[0026]
[Means for Solving the Problems]
In order to solve the above problem, a D / A converter circuit according to the present invention includes a first reference voltage and a second reference voltage having different voltage levels according to upper m bits of (m + n) bits of digital input data. And a first D / A converter that generates the digital input data by using the lower n bits of information of the digital input data and the first reference voltage and the second reference voltage. And a second D / A converter of the R-2R ladder resistance type for converting the reference voltage and the second reference voltage into analog voltage values within a range in which a higher voltage level is an upper limit and a lower voltage level is a lower limit. The D / A converter circuit is characterized by taking the following measures.
[0027]
That is, the digital data input to the second D / A converter is applied to each input terminal on the digital data input side of the ladder resistor network of the second D / A converter, the first value of the two values. , The first reference voltage is input, and when the digital data input to the second D / A converter is the second of the two values, the second reference voltage is input. Is entered. Further, the D / A converter circuit compares the voltage levels of the first and second reference voltages respectively output by the first D / A converter, and generates a comparison signal according to the level relationship between the two. Comparing means for comparing the lower-order n-bit digital data with the second D / D signal when the comparison signal indicates that the voltage level of the first reference voltage is higher than the voltage level of the second reference voltage; While input to the A converter, if the comparison signal indicates that the voltage level of the first reference voltage is lower than the second reference voltage level, the first value of the lower n bits of digital data is And inverting means for exchanging the second value and inputting the second value to the second D / A converter.
[0028]
According to the above invention, the provided first D / A converter generates the first and second reference voltages having different voltage levels according to the upper m bits of the (m + n) -bit digital input data, It is input to an R-2R ladder resistor type second D / A converter. The comparing means compares the voltage levels of the first and second reference voltages respectively output by the first D / A converter, and generates a comparison signal according to the level relationship between the two. Indicates that the voltage level of the first reference voltage is higher than the voltage level of the second reference voltage, the lower-order n-bit digital data is directly input to the second D / A converter, while the comparison signal is When the voltage level of the first reference voltage is lower than the second reference voltage level, the first value and the second value of the two values of the lower-order n-bit digital data are replaced with each other, and Input to D / A converter.
[0029]
By the above operation of the inverting means, when digital data is input from the inverting means to each input terminal on the digital data input side of the ladder resistor network of the second D / A converter, the voltage levels of the first and second reference voltages are changed. Irrespective of the level of the digital data, the lower reference bit digital data is always input to the corresponding input terminal when the lower bit digital data has the first value, and the lower reference bit digital data has the second value when the lower bit digital data has the second value. The reference voltage having the lower voltage level is always input to the corresponding input terminal. The second D / A converter converts the digital input data to the first reference voltage using the lower n bits of information, that is, the digital data input from the inverting means, and the first reference voltage and the second reference voltage. The analog voltage value is converted into an analog voltage value within a range in which the higher the voltage level of the voltage and the second reference voltage is, the higher the upper limit and the lower the lower the lower limit.
[0030]
Therefore, even if the first D / A converter has a high / low relationship between the voltage level of the first reference voltage and the voltage level of the second reference voltage depending on the high-order m bits, the first D / A converter can operate the switch or the like. The D / A conversion can be performed by the second D / A converter without using it. Since a switch having a plurality of switches is not required, high D / A conversion accuracy can be obtained.
[0031]
Further, the comparison means generates a comparison signal based on the first and second reference voltages output from the first D / A converter. Therefore, when the comparison signal is generated, the comparison means always generates the first and second reference voltages. The second reference voltage is output. Therefore, the level relationship between the voltage level of the first reference voltage and the voltage level of the second reference voltage is estimated based on the upper m bits of the digital input data, and the inversion / non-inversion operation of the inversion means is controlled. Unlike the configuration, a circuit for controlling timing, specifically, for delaying the inversion / non-inversion operation by the inversion means until the first D / A converter generates the first and second reference voltages. Without providing the circuit described above, the glitch is generated, that is, the processing of the second D / A converter before the first and second reference voltages are output from the first D / A converter. Is started, and an undesirable analog voltage value is output when the digital input data is switched.
[0032]
As a result, two types of reference voltages used in the next stage n-bit R-2R ladder resistance type D / A converter are generated by the m-bit D / A converter, and the (m + n) -bit D / A conversion is performed. It is possible to prevent the occurrence of glitches without providing a circuit for controlling the timing, and to obtain a high D / A conversion accuracy so as to easily ensure monotonicity and continuity of the output analog voltage value. A possible D / A converter circuit can be provided.
[0033]
Further, in order to solve the above problem, the D / A converter circuit according to the present invention, wherein the second D / A converter includes switching means for switching a voltage input to an input terminal of an offset level control resistor. It is characterized by.
[0034]
According to the above invention, the second D / A converter switches the voltage input to the input terminal of the offset level control resistor by the switching means, so that the upper m bits of the (m + n) bits of digital data are switched to the second D / A converter. Monotonicity of the output analog voltage value when the voltage levels of the first and second reference voltages are switched can be ensured.
[0035]
Furthermore, in order to solve the above problem, the D / A converter circuit of the present invention is characterized in that the switching means switches a voltage input to an input terminal of the offset level control resistor based on the comparison signal. .
[0036]
According to the above invention, since the switching means switches the voltage input to the input terminal of the offset level control resistor based on the control signal generated by the comparing means, the switching means automatically changes the voltage input to the input terminal of the offset level control resistance. Can be switched.
[0037]
Further, in order to solve the above-mentioned problem, the D / A converter circuit of the present invention is characterized in that the switching means includes the first reference voltage and the second reference voltage as switching voltages.
[0038]
According to the above invention, the switching means can switch the voltage input to the input terminal of the offset level control resistor between the first reference voltage and the second reference voltage. Also, when the voltage level of the second reference voltage is switched, the differential nonlinearity can be suppressed in the same manner as when only the lower n bits are switched.
[0039]
Further, in the D / A converter circuit according to the present invention, in order to solve the above problem, the switching means includes a CMOS transistor for connecting and disconnecting an input terminal of the offset level control resistor and a plurality of connection terminals having different voltages. A switch having a structure is provided corresponding to each connection terminal, and the voltage input to the input terminal of the offset level control resistor is switched by the connection and the cutoff.
[0040]
According to the above invention, one of the plurality of connection terminals having different voltages is connected to the input terminal of the offset level control resistor by the connection and cutoff by the switch having the CMOS transistor structure, and is input to the input terminal of the offset level control resistor. Switch the voltage. Accordingly, a configuration for switching the voltage input to the input terminal of the offset level control resistor can be easily created by the CMOS process.
[0041]
Further, in order to solve the above-mentioned problem, the D / A converter circuit of the present invention is characterized in that the switch is operated in a complementary type of a P-type and an N-type.
[0042]
According to the above invention, each switch operates in a complementary manner of the P-type and the N-type, so that the switch can pass the entire range from the power supply voltage of each connection terminal to the GND level, and the dynamic range of the D / A converter circuit can be improved. The range can be expanded.
[0043]
Further, in order to solve the above problem, the D / A converter circuit of the present invention is arranged so that the signal line is provided in parallel with the signal line between the switch of the signal line provided with the switch and the input terminal of the offset level control resistor. A dummy switch composed of a P-type MOS transistor and an N-type MOS transistor in parallel with each other and having a gate signal input to the MOS transistor of each polarity in opposite phase to a gate signal input to the MOS transistor of the switch of the same polarity. It is characterized by having.
[0044]
According to the above invention, the provision of the dummy switch makes it possible to cancel clock noise generated when each switch shifts from the on state to the off state.
[0045]
Further, in order to solve the above-mentioned problem, the D / A converter circuit of the present invention is formed in one integrated circuit, and the first D / A converter is provided with the first reference voltage and the second reference voltage. And an original reference voltage generating means for generating an original reference voltage for generating the reference voltage.
[0046]
According to the invention, the original reference voltage for the first D / A converter to generate the first reference voltage and the second reference voltage is generated by the original reference voltage generation means in the same integrated circuit. Therefore, there is no need to apply an original reference voltage from outside the integrated circuit.
[0047]
According to another aspect of the invention, there is provided a portable terminal device including any one of the D / A converter circuits.
[0048]
According to the above invention, in a portion that performs D / A conversion, such as a control voltage generation circuit of an analog front end of a portable terminal device, a high D value is provided so that monotonicity and continuity of an output analog voltage value can be easily ensured. / A conversion accuracy can be obtained.
[0049]
According to another embodiment of the invention, there is provided an audio apparatus including any one of the above D / A converter circuits.
[0050]
According to the above invention, high D / A conversion accuracy is obtained in a portion that performs D / A conversion, such as a volume control circuit of an audio device, so that monotonicity and continuity of an output analog voltage value can be easily ensured. be able to.
[0051]
BEST MODE FOR CARRYING OUT THE INVENTION
An embodiment of the present invention will be described below with reference to FIGS.
[0052]
FIG. 1 shows a configuration of a D /
[0053]
The upper-order bit number m and the lower-order bit number n of the (m + n) -bit digital input data Din are not particularly limited.
[0054]
The first stage D / A converter (first D / A converter) 1 generates a first reference voltage and a second reference voltage having different voltage levels according to the upper m bits of the digital input data Din. Here, in order to ensure that the D /
[0055]
The next stage R-2R ladder resistance type D /
[0056]
The
[0057]
The comparator (comparing means) 4 is provided with a reference voltage V input from the first stage D /
[0058]
The inverter (inverting means) 5 inputs the lower-order n-bit digital data as it is to the next stage R-2R ladder resistance type D /
[0059]
The reference voltage generation circuit (original reference voltage generation means) 6 is configured such that the first-stage D /
[0060]
The next stage R-2R ladder resistance type D / A converter (second D / A converter) 2 is configured to output information of the lower n bits of the digital input data Din and the reference voltage V H And reference voltage V L Is used to convert the digital input data Din to the reference voltage V H And reference voltage V L Is converted to an analog voltage value within a range in which the higher voltage level is the upper limit and the lower voltage level is the lower limit, and is output. The information of the lower n bits is digital data input from the
[0061]
As shown in FIG. 2, the next-stage R-2R ladder resistance type D /
[0062]
The
[0063]
The offset
[0064]
The
[0065]
The connection switching unit (switching means) 24 includes a switch SWC. The switch SWC is a switch that connects and disconnects the input terminal PC to a plurality of connection terminals, here, the connection terminal V1 and the connection terminal V2. In the present embodiment, the connection terminal V1 has the reference voltage V H Is applied, and the reference voltage V is applied to the connection terminal V2. L Is applied. In addition, the reference voltage V H And reference voltage V L May be connected to a connection terminal to which an intermediate voltage is applied. The switch SWC can switch between the connection and the cutoff by the comparison signal CS, thereby switching the offset level control voltage.
[0066]
Next, the operation of the D /
[0067]
Here, the operation of the first-stage D /
[0068]
Here, the difference from the resistor string type D /
[0069]
The analog output voltage range of the next stage R-2R ladder resistance type D /
[0070]
The switch SWC connects the input terminal PC to the V2 terminal (reference voltage V L 5) shows the analog output voltage range of the next-stage R-2R ladder resistance type D /
[0071]
When the digital input of the upper m bits is "111", the switches SH0 and SL0 (same as SH1) are turned on by turning on the switches SH0 and SL0 in FIG. H And reference voltage V L Is output as In this case, the reference voltage V H Is the reference voltage V L Therefore, the comparison signal CS output from the
[0072]
Next, when the input high-order m-bit digital data is “110”, the switches SH1 (same as SL0) and SL1 (same as SH2) are turned on to change the respective voltages at both ends of the resistor r1 in FIG. V L And reference voltage V H Is output as In this case, the reference voltage V H Is the reference voltage V L Therefore, the comparison signal CS output from the
[0073]
Next, when the input high-order m-bit digital data is "101", the voltages at both ends of the resistor r2 in FIG. 13 are set by turning on the switches SH2 (same as SL1) and SL2 (same as SH3). Voltage V H And reference voltage V L Is output as In this case, the reference voltage V H Is the reference voltage V L Therefore, the comparison signal CS output from the
[0074]
Here, looking at the analog output voltage range in FIG. 5A, when the upper m bits are “111” and the lower n bits are “000”, the upper m bits are “110” and the lower n bits are “111”. ”, The same analog output voltage value is taken (the difference is 0 LSB), and when the upper m bits are“ 110 ”and the lower n bits are“ 000 ”, and when the upper m bits are“ 101 ”and the lower n It can be seen that the analog output voltage value has a difference of 2 LSB when the bit is “111”. From this figure, the analog output voltage value of the next stage R-2R ladder resistance type D /
[0075]
That is, when the switch state is an even number for the upper m bits, that is, when the comparison signal CS is HIGH, the switch SWC of the
[0076]
Note that the reference voltage V H ・ V L Is input to the
[0077]
As described above, according to the D /
[0078]
Further, the
[0079]
Here, for example, based on the upper m bits of the digital input data Din, both reference voltages V H ・ V L When the inversion / non-inversion operation of the
[0080]
On the other hand, in the D /
[0081]
As a result, two types of reference voltages used in the next-stage n-bit R-2R ladder resistance type D / A converter are generated by the m-bit D / A converter and the (m + n) -bit D / A conversion is performed. To prevent the occurrence of glitches without particularly providing a circuit for controlling timing, and to obtain high D / A conversion accuracy so that monotonicity and continuity of an output analog voltage value can be easily ensured. And a D / A converter circuit capable of performing the above.
[0082]
Further, according to the D /
[0083]
Further, according to the D /
[0084]
Further, according to the D /
[0085]
Also, the D /
[0086]
In FIG. 2, the offset level control
[0087]
Further, the switches SW3 to SW5 constituting the
[0088]
In the case of FIG. 6, the N-
[0089]
Further, as shown in FIG. 7B, an N-
[0090]
Thus, the dummy switch including the N-
[0091]
Further, the above-described D /
[0092]
Further, the above-described D /
[0093]
Further, the above-described D /
[0094]
【The invention's effect】
As described above, in the D / A converter circuit of the present invention, each input terminal on the digital data input side of the ladder resistor network of the second D / A converter is input to the second D / A converter. The first reference voltage is input when the digital data is the first of the two values, and the digital data input to the second D / A converter is the first of the two values. 2, the second reference voltage is input, and the first and second D / A converters compare the voltage levels of the first and second reference voltages, respectively. Comparing means for generating a corresponding comparison signal; and when the comparison signal indicates that the voltage level of the first reference voltage is higher than the voltage level of the second reference voltage, the lower-order n-bit digital data is output. The second The first value of the lower-order n-bit digital data when the comparison signal indicates that the voltage level of the first reference voltage is lower than the second reference voltage level. And an inverting means for replacing the second value with the second value and inputting the second value to the second D / A converter.
[0095]
Therefore, even if the first D / A converter has a high / low relationship between the voltage level of the first reference voltage and the voltage level of the second reference voltage in accordance with the high-order m bits, The D / A conversion can be performed by the second D / A converter without using such a method. Since a switch having a plurality of switches is not required, high D / A conversion accuracy can be obtained. Further, since the comparison means generates a comparison signal based on the first and second reference voltages output from the first D / A converter, the comparison signal can be obtained without providing a circuit for controlling timing. Are generated, the first and second reference voltages are always output.
[0096]
As a result, two types of reference voltages used in the next stage n-bit R-2R ladder resistance type D / A converter are generated by the m-bit D / A converter, and the (m + n) -bit D / A conversion is performed. It is possible to prevent the occurrence of glitches without providing a circuit for controlling the timing, and to obtain a high D / A conversion accuracy so as to easily ensure monotonicity and continuity of the output analog voltage value. There is an effect that a D / A converter circuit that can be provided can be provided.
[0097]
Further, in the D / A converter circuit of the present invention, as described above, the second D / A converter is provided with switching means for switching the voltage input to the input terminal of the offset level control resistor.
[0098]
Therefore, there is an effect that the monotonicity of the output analog voltage value can be secured when the voltage level of the first and second reference voltages is switched by switching the upper m bits of the (m + n) -bit digital data. .
[0099]
Further, in the D / A converter circuit of the present invention, as described above, the switching means switches the voltage input to the input terminal of the offset level control resistor based on the comparison signal.
[0100]
Therefore, there is an effect that the voltage input to the input terminal of the offset level control resistor can be automatically switched.
[0101]
Further, as described above, the D / A converter circuit of the present invention has a configuration including the first reference voltage and the second reference voltage as the voltage to be switched by the switching means.
[0102]
Therefore, even when the voltage levels of the first and second reference voltages are switched by switching the upper m bits, the differential nonlinearity can be suppressed in the same manner as when only the lower n bits are switched. To play.
[0103]
Further, in the D / A converter circuit of the present invention, as described above, the switching means switches the CMOS transistor structure for connecting and disconnecting the input terminal of the offset level control resistor and a plurality of connection terminals having different voltages. Corresponding to each connection terminal, and the voltage input to the input terminal of the offset level control resistor is switched by the connection and the cutoff.
[0104]
Therefore, there is an effect that the configuration for switching the voltage input to the input terminal of the offset level control resistor can be easily created by the CMOS process.
[0105]
Further, the D / A converter circuit of the present invention has a configuration in which the switch operates in a complementary manner of the P-type and the N-type as described above.
[0106]
Therefore, it is possible to pass the entire range from the power supply voltage of each connection terminal to the GND level, and it is possible to expand the dynamic range of the D / A converter circuit.
[0107]
Further, as described above, the D / A converter circuit according to the present invention is arranged such that the signal line is provided between the switch of the signal line provided with the switch and the input terminal of the offset level control resistor in parallel with the signal line. A dummy switch which is comprised of a parallel P-type MOS transistor and an N-type MOS transistor and has a gate signal input to the MOS transistor of each polarity having a phase opposite to that of the gate signal input to the MOS transistor of the switch having the same polarity is provided. is there.
[0108]
Therefore, it is possible to cancel clock noise generated when each switch changes from the on state to the off state.
[0109]
Further, as described above, the D / A converter circuit of the present invention is formed in one integrated circuit, and the first D / A converter generates the first reference voltage and the second reference voltage. Reference voltage generating means for generating an original reference voltage for use.
[0110]
Therefore, there is an effect that there is no need to supply the original reference voltage from outside the integrated circuit.
[0111]
Further, the portable terminal device of the present invention has a configuration including any one of the D / A converter circuits as described above.
[0112]
Therefore, in a portion that performs D / A conversion, such as a control voltage generation circuit of an analog front end of a portable terminal device, a high D / A conversion accuracy such that monotonicity and continuity of an output analog voltage value are easily ensured. Is obtained.
[0113]
Further, the audio device of the present invention has a configuration including any one of the D / A converter circuits as described above.
[0114]
Therefore, in a portion that performs D / A conversion, such as a volume control circuit of an audio device, high D / A conversion accuracy can be obtained so that monotonicity and continuity of an output analog voltage value can be easily ensured. It works.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a D / A converter according to an embodiment of the present invention.
FIG. 2 is a circuit diagram showing a configuration of a next stage R-2R ladder resistance type D / A converter provided in the D / A converter of FIG. 1;
3 is an input-output correspondence diagram showing a range of an analog output voltage with respect to an upper bit digital input of a first stage D / A converter included in the D / A converter of FIG. 1;
4 (a) and 4 (b) show an example of a range of an analog output voltage with respect to a lower bit digital input in a specific upper bit of a next stage R-2R ladder resistance type D / A converter of FIG. 2; It is an output correspondence diagram.
5 (a) and 5 (b) are input-output correspondence diagrams showing a range of an analog output voltage with respect to a lower bit digital input in each upper bit of a next stage R-2R ladder resistance type D / A converter of FIG. 2; It is.
FIGS. 6A and 6B are circuit diagrams showing a circuit used when each switch of the next stage R-2R ladder resistance type D / A converter in FIG. 2 is configured by a CMOS switch;
7 (a) and 7 (b) show circuits used when each switch of the next stage R-2R ladder resistance type D / A converter of FIG. 2 is constituted by a CMOS switch and further provided with a dummy switch. It is a circuit diagram.
FIG. 8 is a circuit diagram showing a configuration of a conventional R-2R ladder resistance type D / A converter.
FIGS. 9A to 9C are input-output correspondence diagrams showing a range of an analog output voltage with respect to digital input data of the R-2R ladder resistance type D / A converter of FIG. 8;
FIG. 10 is a block diagram showing a configuration of a conventional two-stage D / A converter.
11 is a circuit diagram showing a configuration of a first-stage D / A converter included in the two-stage D / A converter of FIG. 10;
12 is an input-output correspondence diagram showing a range of an analog output voltage with respect to an upper bit digital input of the first stage D / A converter of FIG. 11;
FIG. 13 is a circuit diagram showing a configuration of another initial stage D / A converter included in a conventional two-stage D / A converter.
14 is a block diagram showing a configuration of a conventional two-stage D / A converter including the first-stage D / A converter of FIG.
FIGS. 15 (a) and (b) are circuit diagrams showing a circuit used when configuring an exchange included in the two-stage D / A converter of FIG. 14;
[Explanation of symbols]
1 First-stage D / A converter (first D / A converter)
Secondary stage R-2R ladder resistance type D / A converter (second D / A converter)
Inverter)
4 Comparator (comparing means)
5 Inverter (inversion means)
6. Reference voltage generation circuit (Original reference voltage generation means)
10 D / A converter circuit
22 Offset level control resistor
24 connection switching unit (switching means)
32, 34 N-type MOS transistor
33, 35 P-type MOS transistor
41, 43 N-type MOS transistors
42,44 P-type MOS transistor
91b Resistor string type D / A converter (first D / A converter)
CS comparison signal
D3 to D5 Digital data
P3 to P5 input terminal
PC input terminal
QC, RC connection terminal
SWC switch
VH, VL Original reference voltage
V H Reference voltage (first reference voltage)
V L Reference voltage (second reference voltage)
Claims (10)
上記デジタル入力データの下位nビットの情報と上記第1の基準電圧および上記第2の基準電圧とを用いて上記デジタル入力データを上記第1の基準電圧および上記第2の基準電圧の電圧レベルの高い方が上限で低い方が下限となる範囲内のアナログ電圧値に変換するR−2Rラダー抵抗型の第2のD/Aコンバータを備えるD/Aコンバータ回路において、
上記第2のD/Aコンバータのラダー抵抗網のデジタルデータ入力側の各入力端子には、上記第2のD/Aコンバータに入力されるデジタルデータが2値のうちの第1の値であるときに上記第1の基準電圧が入力されるとともに、上記第2のD/Aコンバータに入力されるデジタルデータが2値のうちの第2の値であるときに上記第2の基準電圧が入力され、
上記第1のD/Aコンバータがそれぞれ出力する第1および第2の基準電圧の電圧レベルを比較して、両者の高低関係に応じた比較信号を生成する比較手段と、
上記比較信号が上記第1の基準電圧の電圧レベルが上記第2の基準電圧の電圧レベルよりも高いことを示す場合に上記下位nビットのデジタルデータをそのまま上記第2のD/Aコンバータに入力する一方、上記比較信号が上記第1の基準電圧の電圧レベルが上記第2の基準電圧レベルよりも低いことを示す場合に上記下位nビットのデジタルデータの上記第1の値と上記第2の値とを入れ替えて上記第2のD/Aコンバータに入力する反転手段とを備えていることを特徴とするD/Aコンバータ回路。A first D / A converter for generating a first reference voltage and a second reference voltage having different voltage levels according to upper m bits of (m + n) -bit digital input data;
Using the lower n bits of information of the digital input data and the first reference voltage and the second reference voltage, the digital input data is converted to the voltage level of the first reference voltage and the second reference voltage. In a D / A converter circuit including an R-2R ladder resistance type second D / A converter that converts an analog voltage value within a range in which a higher one is an upper limit and a lower one is a lower limit,
At each input terminal on the digital data input side of the ladder resistor network of the second D / A converter, the digital data input to the second D / A converter is the first of two values. When the first reference voltage is input, and when the digital data input to the second D / A converter is the second of the two values, the second reference voltage is input. And
Comparing means for comparing the voltage levels of the first and second reference voltages respectively output by the first D / A converter and generating a comparison signal according to the level relationship between the first and second reference voltages;
When the comparison signal indicates that the voltage level of the first reference voltage is higher than the voltage level of the second reference voltage, the lower-order n-bit digital data is directly input to the second D / A converter. On the other hand, if the comparison signal indicates that the voltage level of the first reference voltage is lower than the second reference voltage level, the first value of the lower-order n-bit digital data and the second value A D / A converter circuit comprising: inverting means for inputting a value to the second D / A converter after replacing the value.
上記第1のD/Aコンバータが上記第1の基準電圧および上記第2の基準電圧を生成するための原基準電圧を生成する原基準電圧生成手段を備えていることを特徴とする請求項1ないし7のいずれかに記載のD/Aコンバータ回路。Formed in one integrated circuit,
2. The apparatus according to claim 1, wherein said first D / A converter includes an original reference voltage generating means for generating an original reference voltage for generating said first reference voltage and said second reference voltage. 8. The D / A converter circuit according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002211006A JP2004056463A (en) | 2002-07-19 | 2002-07-19 | D/a converter circuit, portable terminal equipment having the same, and audio device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002211006A JP2004056463A (en) | 2002-07-19 | 2002-07-19 | D/a converter circuit, portable terminal equipment having the same, and audio device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2004056463A true JP2004056463A (en) | 2004-02-19 |
Family
ID=31934361
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002211006A Withdrawn JP2004056463A (en) | 2002-07-19 | 2002-07-19 | D/a converter circuit, portable terminal equipment having the same, and audio device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2004056463A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008244716A (en) * | 2007-03-27 | 2008-10-09 | Seiko Epson Corp | Digital-analog converter with redundant bits, analog-digital converter using the same, and image sensor using the same |
JP2009077025A (en) * | 2007-09-19 | 2009-04-09 | Renesas Technology Corp | Semiconductor integrated circuit |
JP2014184573A (en) * | 2013-03-22 | 2014-10-02 | Seiko Epson Corp | Liquid discharge apparatus and capacitive load drive circuit |
JP2016189539A (en) * | 2015-03-30 | 2016-11-04 | ラピスセミコンダクタ株式会社 | R-2r ladder resistance circuit, ladder resistance type d/a conversion circuit, and semiconductor device |
WO2023182278A1 (en) * | 2022-03-25 | 2023-09-28 | ラピステクノロジー株式会社 | Da converting device, display driver, and display device |
-
2002
- 2002-07-19 JP JP2002211006A patent/JP2004056463A/en not_active Withdrawn
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008244716A (en) * | 2007-03-27 | 2008-10-09 | Seiko Epson Corp | Digital-analog converter with redundant bits, analog-digital converter using the same, and image sensor using the same |
JP2009077025A (en) * | 2007-09-19 | 2009-04-09 | Renesas Technology Corp | Semiconductor integrated circuit |
JP2014184573A (en) * | 2013-03-22 | 2014-10-02 | Seiko Epson Corp | Liquid discharge apparatus and capacitive load drive circuit |
JP2016189539A (en) * | 2015-03-30 | 2016-11-04 | ラピスセミコンダクタ株式会社 | R-2r ladder resistance circuit, ladder resistance type d/a conversion circuit, and semiconductor device |
WO2023182278A1 (en) * | 2022-03-25 | 2023-09-28 | ラピステクノロジー株式会社 | Da converting device, display driver, and display device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10944419B2 (en) | Segmented digital-to-analog converter | |
US6489905B1 (en) | Segmented DAC calibration circuitry and methodology | |
JP2003224477A (en) | D/a converter circuit and portable terminal device, and audio unit having the same | |
JPH0964746A (en) | D/a converter | |
US8941522B2 (en) | Segmented digital-to-analog converter having weighted current sources | |
US20070216563A1 (en) | Bit-adjacency capacitor-switched DAC, method, driver and display device | |
Akbari et al. | A charge sharing–based switching scheme for SAR ADCs | |
JP2004056463A (en) | D/a converter circuit, portable terminal equipment having the same, and audio device | |
US11362668B1 (en) | Leakage compensation for analog decoded thermometric digital-to-analog converter (DAC) | |
CN109586726B (en) | Segmented digital-to-analog converter | |
EP1353445B1 (en) | D/A converter | |
Mathurkar et al. | Segmented 8-bit current-steering digital to analog converter | |
Lee et al. | A 10 bit piecewise linear cascade interpolation DAC with loop gain ratio control | |
Chatterjee et al. | A fully digital foreground calibration technique of a flash ADC | |
JP5279521B2 (en) | Current mode AD converter | |
Kochetkov et al. | High-linearity Radiation-hardened Segmented 12-bit Digital-to-analog Converter Using Binary-weighted Switches | |
CN117134770A (en) | Sectional type digital-to-analog conversion circuit, electronic circuit and electronic equipment | |
KR100495500B1 (en) | Digital to analog converter | |
Wheeler | A fast settling reference generator with signal-dependent charge cancellation for an 8-bit 1.5 bit/stage pipelined ADC | |
Sedighi et al. | An 8-bit switched-resistor pipeline ADC | |
Fernandes et al. | Static and dynamic non-ideal performance of folding ADCs | |
JP2778058B2 (en) | AD conversion circuit | |
Liu et al. | CMOS folding and interpolating A/D Converter with differential compensative T/H circuit | |
JP2778057B2 (en) | AD conversion circuit | |
CN116800272A (en) | High-speed sectional digital-to-analog conversion circuit, electronic circuit and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20051004 |