Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4237347B2 - D / A conversion method and D / A converter - Google Patents
[go: Go Back, main page]

JP4237347B2 - D / A conversion method and D / A converter - Google Patents

D / A conversion method and D / A converter Download PDF

Info

Publication number
JP4237347B2
JP4237347B2 JP26723399A JP26723399A JP4237347B2 JP 4237347 B2 JP4237347 B2 JP 4237347B2 JP 26723399 A JP26723399 A JP 26723399A JP 26723399 A JP26723399 A JP 26723399A JP 4237347 B2 JP4237347 B2 JP 4237347B2
Authority
JP
Japan
Prior art keywords
capacitor
switch
bit
capacitors
electrically connected
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
JP26723399A
Other languages
Japanese (ja)
Other versions
JP2001094426A (en
JP2001094426A5 (en
Inventor
剛 野坂
Original Assignee
日本テキサス・インスツルメンツ株式会社
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 日本テキサス・インスツルメンツ株式会社 filed Critical 日本テキサス・インスツルメンツ株式会社
Priority to JP26723399A priority Critical patent/JP4237347B2/en
Publication of JP2001094426A publication Critical patent/JP2001094426A/en
Publication of JP2001094426A5 publication Critical patent/JP2001094426A5/ja
Application granted granted Critical
Publication of JP4237347B2 publication Critical patent/JP4237347B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Analogue/Digital Conversion (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、ディジタル信号をアナログ信号に変換するためのD/A(Digital to Analog)変換技術に係り、より詳細には電荷再分配(Charge Redistribution)型のD/A変換技術に関する。
【0002】
【従来の技術】
図16に、従来の電荷再分配型D/Aコンバータの要部の回路構成を示す。このD/Aコンバータは、同一の値(C)に設定されたキャパシタンスを有する3個のコンデンサ100,102,104と、7個の開閉スイッチ106〜118と、1個の出力バッファ120とを有している。
【0003】
コンデンサ100は、一方の電極がスイッチ106を介して基準電位Vrefの電源電圧端子に電気的に接続されるとともにスイッチ108を介して基準電位Vssの電源電圧端子に電気的に接続され、他方の電極が基準電位Vssの電源電圧端子に電気的に接続される。
【0004】
コンデンサ102は、一方の端子がスイッチ110を介してコンデンサ100の一方の電極に電気的に接続されるとともにスイッチ112を介して出力バッファ120の入力端子に電気的に接続され、他方の端子が基準電位Vssの電源電圧端子に電気的に接続される。
【0005】
コンデンサ104は、一方の端子がスイッチ114を介してコンデンサ100の一方の電極に電気的に接続されるとともにスイッチ116を介して出力バッファ120の入力端子に電気的に接続され、他方の端子が基準電位Vssの電源電圧端子に電気的に接続される。
【0006】
出力バッファ120は、たとえば演算増幅器からなる電圧フォロア回路として構成されている。出力バッファ120の入力端子は、スイッチ118を介して基準電位Vssの電源電圧端子に電気的に接続される。
【0007】
このD/Aコンバータでは、入力ディジタル信号の各バイナリコード[Dm‥‥D1D0]に対して、以下のような手順でスイッチ106〜118のオン(閉)/オフ(開)を制御して、出力バッファ120の出力端子にアナログ出力電圧Voutを得るようにしている。なお、以下の手順の中で特に言及しないスイッチはオフ状態にあるものとする。
【0008】
(1) 先ず、スイッチ112,118をそれぞれオンにして出力側コンデンサ102の充電電圧(電荷)を零にリセットする。その後、スイッチ112,118をそれぞれオフにする。
【0009】
(2) 入力バイナリコードの最下位ビットD0に対して、そのビットの論理値が“1”(“0”)のときはスイッチ106(108)をオンにし、コンデンサ100を基準電位Vrefでチャージ(基準電位Vssでディスチャージ)する。その後、当該スイッチ106(108)をオフにする。
【0010】
(3) スイッチ110をオンにしてコンデンサ100に蓄積されている電荷を第1および第2のコンデンサ100,102間で各1/2に分配させる。その後、スイッチ110をオフにする。
【0011】
(4) 上記(2)、(3)の動作を最上位ビットDmまで上位の各ビットD1,D2,‥‥に対して繰り返す。
【0012】
(5) 最上位ビットに対する上記(3)の動作の後にスイッチ116,118をそれぞれオンにしてコンデンサ104の充電電圧(電荷)を零にリセットする。その後、スイッチ116,118をそれぞれオフにする。
【0013】
(6) スイッチ112をオンにして、コンデンサ102の充電電圧を上記入力バイナリコードに対応するアナログ出力電圧Voutとして出力する。
【0014】
(7) 次の入力バイナリコードに対して、コンデンサ102をコンデンサ104に置き換えるとともにスイッチ114,116をスイッチ110,112にそれぞれ置き換えて、上記の動作(1)〜(6)を繰り返す。
【0015】
図17に、入力バイナリコードが2ビットのコード[D1D0]で、そのデータ値が[01]である場合を例にとり、このD/Aコンバータの動作原理を模式的に示す。
【0016】
この場合、最下位ビットD0(“1”)に対しては、ステップ(2)において基準電位Vrefでコンデンサ100に電荷Q(C・Vref)がチャージされ、ステップ(3)においてコンデンサ100とコンデンサ102(またはコンデンサ104)との間でそれぞれ蓄積している電荷の和または総量(Q+0)が各1/2(Q/2)に分配される。この時、コンデンサ102(またはコンデンサ104)の充電電圧はVref/2になる。次の上位ビットD1(“0”)に対しては、ステップ(2)においてコンデンサ100が基準電位Vssによりそれまでの蓄積電荷(Q/2)を全てディスチャージして無電荷状態となり、ステップ(3)においてこの無電荷状態のコンデンサ100と電荷Q/2を蓄積しているコンデンサ102(またはコンデンサ104)との間でそれぞれの蓄積電荷の和または総量(0+Q/2)が各1/2(Q/4)に分配される。これにより、コンデンサ102(またはコンデンサ104)の充電電圧はVref/4になる。この例では、D1が最上位ビットであるから、ここでデコードを終了し、コンデンサ102(またはコンデンサ104)の充電電圧Vref/4をアナログ出力電圧Voutとして出力バッファ120より出力する。
【0017】
表1に、上記の電荷再分配型D/Aコンバータにおいて、基準電位Vref=8(Volt)、Vss=0(Volt)とし、入力バイナリコードを3ビット・コード[D2D1D0]とした場合のデコード過程および結果を示す。
【0018】
【表1】

Figure 0004237347
【0019】
たとえば、[D2D1D0]=[101]の場合、第1(最下位)ビットD0(“1”)から第2ビットD1(“0”)までの工程は図17の工程と同じであり、第2ビットD1のデコード終了時でコンデンサ102(またはコンデンサ104)の蓄積電荷はQ/4で、充電電圧はVref/4つまり2(Volt)になっている。第3(最上位)ビットD2(“1”)に対しては、ステップ(2)においてコンデンサ100が基準電位Vrefで電荷Qをチャージし、ステップ(3)においてコンデンサ100とコンデンサ102(またはコンデンサ104)との間でそれぞれの蓄積電荷の和または総量(Q+Q/4)が各1/2(5Q/8)に分配される。これにより、出力側コンデンサ102(またはコンデンサ104)の充電電圧は5Vref/8つまり5(Volt)となり、これがアナログ出力電圧Voutとして出力バッファ120より出力される。
【0020】
表1は3ビット・コード[D2D1D0]のデコード例であるが、原理的には同一の回路で任意のビット数のバイナリ・コードをアナログ出力電圧に変換することが可能である。
【0021】
【発明が解決しようとする課題】
上記のような電荷再分配型D/Aコンバータにおいて、理想的なD/A変換出力特性を得るには、コンデンサ100,102間およびコンデンサ100,104間で電荷を均等につまり正確に各1/2にシェア(share)し合うことが必要であり、そのためにはコンデンサ100、102、104のそれぞれのキャパシタンスC1,C2,C3においてC1=C2(C1=C3)の条件を満たすことが必要である。しかしながら、実際にはC1とC2(C1とC3)の間に誤差が存在し、このキャパシタンス誤差が原因でコンデンサ100,102(104)間の電荷分配は正確に均等とはならず、デコード後のコンデンサ充電電圧(デコード電圧)に誤差が生ずる。
【0022】
図18に、上記従来のD/Aコンバータにおけるキャパシタンス誤差の影響を示す。以下の説明ではコンデンサ100,102間のキャパシタンス誤差をとりあげるが、コンデンサ100,104間でも同様のことがあてはまる。
【0023】
図示の例では、C1=C、C2=(1+n)C、n≧0とし、第1(最下位)ビットD0から第iビットDi-1までのデコードの結果、コンデンサ102の充電電圧がVi-1になっているとする。この時、コンデンサ102の蓄積電荷Q2(i-1)は(1+n)CVi-1である。
【0024】
次に、第(i+1)ビットDiの論理値が“1”の場合、ステップ(2)でコンデンサ100が基準電位Vrefでチャージされ、電荷Q(=CVref)を蓄積する。そして、ステップ(3)でコンデンサ100,102間でそれぞれ蓄積している電荷の和または総量{CVref+(1+n)CVi-1}が分配される。この電荷分配後のデコード電圧Viは下記の式(1)で与えられる。
【0025】
Vi=(Vref+Vi-1)/2−n(Vref−Vi-1)/2(2+n)‥‥(1)
【0026】
第(i+1)ビットDiの論理値が“0”の場合は、ステップ(2)でコンデンサ100が基準電位Vssでディスチャージし、蓄積電荷は零になる。そして、ステップ(3)でコンデンサ100,102間でそれぞれの蓄積電荷の和または総量{0+(1+n)CVi-1}が分配される。この電荷分配後のデコード電圧Viは下記の式(2)で与えられる。
【0027】
Vi=Vi-1/2+nVi-1/2(2+n)‥‥(2)
【0028】
上式(1),(2)の各右辺において、第1項はn=0つまりC1=C2=Cのときの理想値であり、第2項がn>0のときの誤差である。デコードされるビットDiの論理値が“1”の場合、電荷分配後の実際のデコード電圧Viは理想値よりもマイナス(−)側にシフトする。反対に、デコードされるビットDiの論理値が“0”の場合、電荷分配後の実際のデコード電圧Viは理想値よりもプラス(+)側にシフトする。
【0029】
このようにDiの論理値が“1”か“0”かでデコード電圧Viのずれの方向が異なるため、D/A変換出力特性の精度が、特に直線性、単調性の精度が大きく崩れやすくなる。しかも、このD/A変換出力特性の精度の低下は、D/A変換の分解能が小さくなるほど、つまり入力ディジタル信号のビット数が多くなるほど大きくなり、特に連続する階調間で最上位ビットの値が変化するときに最も顕著になる。
【0030】
たとえば、Vref=10.24(Volt)、Vss=0(Volt)、n=0.01の条件下で11ビットのD/A変換を行うアプリケーションにおいて、階調「1023」のコード[01111111111]と階調「1024」のコード[10000000000]をデコードする場合を例にとる。
【0031】
この場合、フルスケール(Vref−Vss)が10.24(Volt)でディジタル入力が11ビットであるから、分解能(1LSB)は5mVoltである。したがって、理想的には、階調「1023」のコード[01111111111]に対応するアナログ出力電圧Vout(1023)よりも階調「1024」のコード[10000000000]に対応するアナログ出力電圧Vout(1024)が5mVoltだけ高くなる。
【0032】
しかしながら、上式(1)、(2)を計算して求まるように、階調「1023」のコード[01111111111]について最上位ビット(“0”)をデコードした時点で得られる誤差は約+25mVoltであるのに対して、階調「1024」のコード[10000000000]について最上位ビット(“1”)をデコードした時点で得られる誤差は約−25mVoltである。なお、これらの誤差の算出に当たり、上式(1),(2)のVi-1にはV9が該当し、その理想値はそれぞれ(29−1)/29 Vref,0で与えられる。
【0033】
したがって、実際には、図19に概念的に示すように、階調「1023」のコード[01111111111]をデコードして得られるアナログ出力電圧Vout(1023)よりも階調「1024」のコード[10000000000]に対応するアナログ出力電圧Vout(1024)が低くなって、A/D変換後の両者の階調関係が逆転してしまい、直線性はもちろん単調性までも崩れる。一般に、D/Aコンバータは、微分直線性誤差が±1LSBを越えると単調性が失われるため、直線性は保たれず、リニアD/Aコンバータとしては使えなくなる。
【0034】
本発明は、かかる従来技術の問題点に鑑みてなされたもので、電荷を互いに分配し合うデコード用コンデンサ間のキャパシタンスの誤差による影響を少なくして、信頼性の高いD/A変換特性を得るようにした電荷再分配型のD/A変換方法およびD/Aコンバータを提供することを目的とする。
【0035】
【課題を解決するための手段】
上記の目的を達成するために、本発明のD/A変換方法は、互いに同一または近似したキャパシタンスする第1および第2のコンデンサと、前記第1および第2のコンデンサを電気的に並列接続するためのスイッチとを用いてディジタル信号をアナログ信号に変換するD/A変換方法であって、入力ディジタル信号のバイナリコードについて最下位ビットから最上位ビットまで1ビット毎に、対象ビットが第1の論理値を有するときは前記スイッチを開いた状態で前記第1のコンデンサを前記第1の論理値に対応する第1の基準電圧でチャージしてから前記スイッチを閉じて前記第1および第2のコンデンサ間で電荷を分配し、対象ビットが第2の論理値を有するときは前記スイッチを開いた状態で前記第2のコンデンサを前記第2の論理値に対応する第2の基準電圧でチャージしてから前記スイッチを閉じて前記第1および第2のコンデンサ間で電荷を分配し、前記最上位ビットにおける前記第1および第2のコンデンサ間の電荷分配の結果得られる前記第1または第2のコンデンサの充電電圧を前記入力ディジタル信号に対応する出力アナログ信号として出力する方法とした。
【0036】
本発明の第1のD/Aコンバータは、第1の論理値に対応した第1の基準電位を与える第1の基準電圧端子と、第2の論理値に対応した第2の基準電位を与える第2の基準電圧端子と、第3の基準電位を与える第3の基準電圧端子と、一方の電極が第1のスイッチを介して前記第1の基準電圧端子に電気的に接続され、他方の電極が前記第3の基準電圧端子に電気的に接続される第1のコンデンサと、前記第1のコンデンサのキャパシタンスと同一または近似したキャパシタンスを有し、一方の電極が第2のスイッチを介して前記第2の基準電圧端子に電気的に接続されるとともに第3のスイッチを介して前記第1のコンデンサの一方の電極に電気的に接続され、他方の電極が前記第3の基準電圧端子に電気的に接続される第2のコンデンサと、入力ディジタル信号のバイナリコードについて最下位ビットから最上位ビットまで1ビット毎に、対象ビットの論理値に応じて前記第3のスイッチをオフ状態にしたうえで前記第1のスイッチもしくは前記第2のスイッチのいずれかをオン状態にして前記第1のコンデンサもしくは前記第2のコンデンサのいずれかを前記第1の基準電位もしくは前記第2の基準電位でチャージし、次いで前記第1および第2のスイッチの双方をオフ状態にしたうえで前記第3のスイッチをオン状態にして前記第1および第2のコンデンサ間で電荷を分配する制御手段とを有し、前記最上位ビットにおける前記第1および第2のコンデンサ間の電荷分配の結果得られる前記第1または第2のコンデンサの充電電圧を前記ディジタル信号に対応する出力アナログ信号として出力する構成とした。
【0037】
また、本発明の第2のD/Aコンバータは、第1の論理値に対応した第1の基準電位を与える第1の基準電圧端子と、第2の論理値に対応した第2の基準電位を与える第2の基準電圧端子と、第3の基準電位を与える第3の基準電圧端子と、 一方の電極が第1のスイッチを介して前記第1の基準電圧端子に電気的に接続され、他方の電極が前記第3の基準電圧端子に電気的に接続される第1のコンデンサと、前記第1のコンデンサのキャパシタンスと同一または近似したキャパシタンスを有し、一方の電極が第2のスイッチを介して前記第2の基準電圧端子に電気的に接続されるとともに第3のスイッチを介して前記第1のコンデンサの一方の電極に電気的に接続され、他方の電極が前記第3の基準電圧端子に電気的に接続される第2のコンデンサと、前記第1のコンデンサのキャパシタンスと同一または近似したキャパシタンスを有し、一方の電極が第4のスイッチを介して前記第2の基準電圧端子に電気的に接続されるとともに第5のスイッチを介して前記第1のコンデンサの一方の電極に電気的に接続され、他方の電極が前記第の基準電圧端子に電気的に接続される第3のコンデンサと、入力ディジタル信号のバイナリコードの奇数番目の各データについては最下位ビットから最上位ビットまで1ビット毎に、対象ビットの論理値に応じて前記第3、第4および第5のスイッチをオフ状態にしたうえで前記第1のスイッチもしくは前記第2のスイッチのいずれかをオン状態にして前記第1のコンデンサもしくは前記第2のコンデンサのいずれかを前記第1の基準電位もしくは前記第2の基準電位でチャージし、次いで前記第1、第2、第4および第5のスイッチをオフ状態にしたうえで前記第3のスイッチをオン状態にして前記第1および第2のコンデンサ間で電荷を分配し、前記入力ディジタル信号のバイナリコードの偶数番目の各データについては最下位ビットから最上位ビットまで1ビット毎に、対象ビットの論理値に応じて前記第2、3および第5のスイッチをオフ状態にしたうえで前記第1のスイッチもしくは前記第4のスイッチのいずれかをオン状態にして前記第1のコンデンサもしくは前記第3のコンデンサのいずれかを前記第1の基準電位もしくは前記第2の基準電位でチャージし、次いで前記第1、第2、第3および第4のスイッチをオフ状態にしたうえで前記第5のスイッチをオンにして前記第1および第3のコンデンサ間で電荷を分配する制御手段とを有し、前記奇数番目のデータについては前記最上位ビットにおける前記第1および第2のコンデンサ間の電荷分配の結果得られる前記第1または第2のコンデンサの充電電圧を前記入力ディジタル信号に対応する出力アナログ信号として出力し、前記偶数番目のデータについては前記最上位ビットにおける前記第1および第3のコンデンサ間の電荷分配の結果得られる前記第1または第3のコンデンサの充電電圧を前記入力ディジタル信号に対応する出力アナログ信号として出力する構成とした。
【0038】
本発明によれば、第1のコンデンサと第2のコンデンサ(または第3のコンデンサ)の間にキャパシタンスの誤差があっても、両コンデンサ間の電荷分配によって得られるデコード電圧が理想値からずれる方向は同じである。このため、微分直線性および単調性が保証される。
【0039】
【発明の実施の形態】
以下、図1〜図15を参照して本発明の実施例を説明する。
【0040】
図1に、本発明の一実施例による電荷再分配型D/Aコンバータの回路構成を示す。このD/Aコンバータは、デコード回路10と制御回路12とを有している。
【0041】
デコード回路10は、同一の値(C)に設定されたキャパシタンスを有する3個のコンデンサ14,16,18と、8個の開閉スイッチ20〜34と、1個の出力バッファ36とで構成される。従来方式のもの(図16)と比較してスイッチが1個だけ増えている。
【0042】
コンデンサ14は、一方の電極がスイッチ20を介して基準電位Vrefの電源電圧端子に電気的に接続され、他方の電極が基準電位Vssの電源電圧端子に電気的に接続される。
【0043】
コンデンサ16は、一方の端子がスイッチ22を介して基準電位Vssの電源電圧端子に、スイッチ24を介してコンデンサ14の一方の電極に、スイッチ26を介して出力バッファ36の入力端子にそれぞれ電気的に接続され、他方の端子が基準電位Vssの電源電圧端子に電気的に接続される。
【0044】
コンデンサ18は、一方の端子がスイッチ28を介して基準電位Vssの電源電圧端子に、スイッチ30を介してコンデンサ14の一方の電極に、スイッチ32を介して出力バッファ36の入力端子にそれぞれ電気的に接続され、他方の端子が基準電位Vssの電源電圧端子に電気的に接続される。
【0045】
出力バッファ36は、たとえば演算増幅器からなる電圧フォロア回路として構成されている。出力バッファ36の入力端子は、スイッチ34を介して基準電位Vssの電源電圧端子に電気的に接続される。
【0046】
制御回路12は、D/A変換を受けるべき入力ディジタル信号の各バイナリコードDATAを入力(ラッチ)し、そのコードをデコードするようにデコード回路10内のスイッチ群20〜34を制御信号SH〜S5によって制御する。制御回路12には、入力ディジタル・コードをラッチするためのタイミング信号TCやデコード用クロックCK等も入力される。
【0047】
制御回路12より生成される制御信号のうち、SHはスイッチ20に、SL1はスイッチ22に、S1はスイッチ24に、S2はスイッチ26に、SL2はスイッチ28に、S3はスイッチ30に、S4はスイッチ32に、S5はスイッチ34にそれぞれ与えられる。
【0048】
このD/Aコンバータでは、入力ディジタル信号の各バイナリコード[DmDm-1‥‥D0]に対し、制御回路12が以下のような手順でデコード回路10内のスイッチ20〜34のオン(閉)/オフ(開)を制御して、デコード回路10の出力バッファ36の出力端子にアナログ出力電圧Voutを得るようにしている。なお、以下の手順の中で特に言及しないスイッチはオフ状態にあるものとする。
【0049】
▲1▼ 先ず、スイッチ24,26,34をそれぞれオンにしてコンデンサ14,16の充電電圧(電荷)を零にリセットする。その後、スイッチ24,26,34をそれぞれオフにする。
【0050】
▲2▼ 入力バイナリコードの最下位ビットD0に対して、そのビットの論理値が“1”(“0”)のときはスイッチ20(22)をオンにし、コンデンサ14を基準電位Vrefでチャージ(コンデンサ16を基準電位Vssでディスチャージ)する。その後、当該スイッチ20(22)をオフにする。
【0051】
▲3▼ スイッチ24をオンにしてコンデンサ14(16)に蓄積されている電荷を両コンデンサ14,16間で各1/2に分配させる。その後、スイッチ24をオフにする。
【0052】
▲4▼ 上記▲2▼、▲3▼の動作を最上位ビットDmまで上位の各ビットD1,D2,‥‥に対して繰り返す。
【0053】
▲5▼ 最上位ビットDmに対する上記▲3▼の動作の後にスイッチ30,32,34をそれぞれオンにしてコンデンサ14,18の充電電圧(電荷)を零にリセットする。その後、スイッチ30,32,34をそれぞれオフにする。
【0054】
▲6▼ スイッチ26をオンにして、コンデンサ16の充電電圧を入力バイナリコード[DmDm-1‥‥D0]に対応するアナログ出力電圧Voutとして出力する。
【0055】
▲7▼ 次の入力バイナリコードに対して、コンデンサ16をコンデンサ18に置き換えるとともにスイッチ22,24,26をスイッチ28,30,32にそれぞれ置き換えて、上記の動作▲1▼〜▲6▼を繰り返す。
【0056】
図2および図3に、入力バイナリコードが2ビットのコード[D1D0]で、そのデータ値が[01]である場合(図2)および[11]である場合(図3)について、このD/Aコンバータの動作原理を模式的に示す。
【0057】
図2の場合、最下位ビットD0(“1”)に対しては、ステップ▲2▼において基準電位Vrefでコンデンサ14に電荷Q(C・Vref)がチャージされ、ステップ▲3▼においてコンデンサ14とコンデンサ16(またはコンデンサ18)との間でそれぞれ蓄積している電荷の和または総量(Q+0)が各1/2(Q/2)に分配される。この電荷分配によって、コンデンサ16(またはコンデンサ18)およびコンデンサ14の充電電圧はそれぞれVref/2になる。次の上位ビットD1(“0”)に対しては、ステップ▲2▼においてコンデンサ16(またはコンデンサ18)が基準電位Vssによりそれまでの蓄積電荷(Q/2)を全てディスチャージして無電荷状態となり、ステップ▲3▼においてこの無電荷状態のコンデンサ16(またはコンデンサ18)と電荷Q/2を蓄積しているコンデンサ14との間でそれぞれの蓄積電荷の和または総量(0+Q/2)が各1/2(Q/4)に分配される。これにより、コンデンサ16(またはコンデンサ18)およびコンデンサ14の充電電圧はそれぞれVref/4になる。この例では、D1が最上位ビットであるから、ここでデコードが終了し、出力側コンデンサ16(または出力側コンデンサ18)の充電電圧Vref/4がアナログ出力電圧Voutとして出力バッファ36より出力される。
【0058】
図3の場合、最下位ビットD0(“1”)に対しては図2の場合と同じである。次の上位ビットD1(“1”)に対しては、ステップ▲2▼においてコンデンサ14に基準電位Vrefで電荷Q(C・Vref)がチャージされ、ステップ▲3▼においてこの電荷Qを蓄積したコンデンサ14と電荷Q/2を蓄積しているコンデンサ16(またはコンデンサ18)との間でそれぞれの蓄積電荷の和または総量(Q+Q/2)が各1/2(3Q/4)に分配される。これにより、コンデンサ16(またはコンデンサ18)およびコンデンサ14の充電電圧はそれぞれ3Vref/4となり、出力側コンデンサ16(または出力側コンデンサ18)の充電電圧3Vref/4がアナログ出力電圧Voutとして出力バッファ36より出力される。
【0059】
このように、この実施例のD/Aコンバータでは、入力コードの各ビットについて、当該ビットの論理値が“1”のときは専らコンデンサ14が電荷Q(C・Vref)をチャージし、当該ビットの論理値が“0”のときは専らコンデンサ16(またはコンデンサ18)が電荷を零までディスチャージし、次いで両コンデンサ14,16(18)間でそれぞれ蓄積している電荷を各1/2に分配し合うことで、両コンデンサ14,16(18)に均等なデコード電圧を得るようにしている。
【0060】
この実施例のD/Aコンバータは、原理的には同一の回路で任意のビット数のバイナリ・コードをアナログ出力電圧に変換することが可能であり、たとえば基準電位Vref=8(Volt)、Vss=0(Volt)で3ビット・コード[D2D1D0]を入力するアプリケーションでは、表1と同一のデコード過程および結果が得られる。
【0061】
ところで、本実施例のD/Aコンバータにおいても、理想的なD/A変換出力特性を得るには、コンデンサ14,16間およびコンデンサ14,18間で電荷を均等につまり正確に各1/2にシェア(share)し合うことが必要であり、そのためにはコンデンサ14、16、18のそれぞれのキャパシタンスC1,C2,C3においてC1=C2(C1=C3)の条件を満たすことが必要である。しかしながら、実際にはC1とC2(C1とC3)の間に誤差が存在し、このキャパシタンス誤差が原因でコンデンサ14,16(18)間で電荷が正確に各1/2に分配されず、デコード後のコンデンサ充電電圧(デコード電圧)に誤差が生ずる。
【0062】
しかし、本実施例のD/Aコンバータでは、以下に説明するように、各ビットDiの論理値が“1”であっても“0”であってもデコード電圧Viの誤差の方向(極性)が同じであるため、D/A変換特性、特に微分直線性および単調性の精度が保証されている。
【0063】
図4に、本実施例のD/Aコンバータにおいてコンデンサ間のキャパシタンスの誤差がデコード電圧に及ぼす影響を示す。以下の説明ではコンデンサ14,16間のキャパシタンス誤差をとりあげるが、コンデンサ14,18間でも同様のことがあてはまる。
【0064】
図示の例では、C1=C、C2=(1+n)C、n≧0とし、第1(最下位)ビットD0から第iビットDi-1までのデコードの結果、コンデンサ16,14の充電電圧がVi-1になっているとする。この時、コンデンサ16の蓄積電荷Q2(i-1)は(1+n)CVi-1である。一方、コンデンサ14の蓄積電荷Q1(i-1)はCVi-1である。
【0065】
次に、第(i+1)ビットDiの論理値が“1”の場合、ステップ▲2▼でコンデンサ14が基準電位Vrefでチャージされ、電荷Q(=CVref)を蓄積する。そして、ステップ▲3▼でコンデンサ14,16間でそれぞれ蓄積している電荷の和または総量{CVref+(1+n)CVi-1}が分配される。この電荷分配後のデコード電圧Viは下記の式(3)で与えられる。
【0066】
Vi=(Vref+Vi-1)/2−n(Vref−Vi-1)/2(2+n)‥‥(3)
【0067】
第(i+1)ビットDiの論理値が“0”の場合は、ステップ▲2▼でコンデンサ16が基準電位Vssでディスチャージし、蓄積電荷は零になる。そして、ステップ▲3▼でコンデンサ14,16間でそれぞれの蓄積電荷の和または総量{0+(1+n)CVi-1}が分配される。この電荷分配後のデコード電圧Viは下記の式(4)で与えられる。
【0068】
Vi=Vi-1/2−nVi-1/2(2+n)‥‥(4)
【0069】
上式(3),(4)の各右辺において、第1項はn=0つまりC1=C2=Cのときの理想値であり、第2項がn>0のときの誤差である。デコードされるビットDiの論理値が“1”、“0”のいずれの場合でも、電荷分配後の実際のデコード電圧Viは理想値からマイナス(−)側にシフトする。
【0070】
なお、n<0のときは、上式(3),(4)はそれぞれ下記の式(5),(6)に置き換わる。
【0071】
Vi=(Vref+Vi-1)/2+n(Vref−Vi-1)/2(2+n)‥‥(5)
Vi=Vi-1/2+nVi-1/2(2+n)‥‥(6)
【0072】
すなわち、右辺の第2項の符号が(−)から(+)に変わり、デコードされるビットDiの論理値が“1”、“0”のいずれの場合でも電荷分配後の実際のデコード電圧Viが理想値からプラス(+)側にシフトする。
【0073】
このように、デコードされるビットDiの論理値が“1”、“0”のいずれの場合でも電荷分配後の実際のデコード電圧Viが理想値からずれる方向は同じであるため、アナログ出力電圧の階調が逆転するようなことはない。
【0074】
ここで、本実施例においても、Vref=10.24(Volt)、Vss=0(Volt)、n=0.01の条件下で11ビットのD/A変換を行うアプリケーションにおいて、階調「1023」のコード[01111111111]と階調「1024」のコード[10000000000]をデコードする場合を考えてみる。
【0075】
本実施例のD/Aコンバータでは、階調「1023」のコード[01111111111]において最上位ビット(“0”)をデコードした結果得られる誤差は約−25mVoltである。一方、階調「1024」のコード[10000000000]において最上位ビット(“1”)をデコードした結果得られる誤差も約−25mVoltである。なお、これらの誤差の算出において上式(3),(4)のVi-1にはV9が該当し、その理想値はそれぞれ(29−1)/29 Vref,0 で与えられる。
【0076】
したがって、図5に概念的に示すように、階調「1023」のコード[01111111111]をデコードして得られる実際のアナログ出力電圧Vout(1023)も階調「1024」のコード[10000000000]をデコードして得られる実際のアナログ出力電圧Vout(1024)もそれぞれの理想値から同じ方向(−側)に、かつ同じ量だけシフトするため、両者の相対電圧差は理想的なD/A変換特性とほぼ同じ(1LSB)になる。
【0077】
表2に、本実施例のD/AコンバータにおけるD/A変換特性のワースト値(シミュレーション結果)を従来方式のD/Aコンバータ(図16)と比較して示す。このシミュレーションではD/A変換特性の評価項目として『出力電圧絶対誤差』、『1LSB電位差(微分直線性誤差)』および『出力電圧振幅差誤差』をとりあげている。
【0078】
【表2】
Figure 0004237347
【0079】
図6に示すように、『出力電圧絶対誤差』とは、各ディジタル入力値に対応するアナログ出力電圧の理想値と実際値との差(実際値−理想値)である。また、『1LSB電位差』とは、階調の連続する2つのアナログ出力電圧Vout(j),Vout(j+1)の差{Vout(j+1)−Vout(j)}である。また、『微分直線性誤差』とは、『1LSB電位差』の理想値と実際値との差(実際値−理想値)である。『出力電圧振幅差誤差』とは、各対象的なディジタル入力値(mと2047−m)にそれぞれ対応するアナログ出力電圧Vout(m),Vout(2047-m)の差{Vout(2047-m) −Vout(m)}についての理想値Va0と実際値Va1との差(実際値−理想値)である。
【0080】
表2に示すように、微分直線性誤差については、目標値が2.5mVolt〜7.5mVolt(±0.5LSB)のところ、従来方式のワースト値が−45.6mVolt(9.12LSB)で目標値から大幅に逸脱しているのに対し、実施例のワースト値は4.7mVolt(0.06LSB)で目標値の範囲内に収まっている。出力電圧振幅差誤差においても、目標値が±5mVolt以内のところ、従来方式のワースト値が−50.8mVoltで目標値から大幅に外れているのに対し、実施例のワースト値は−0.5mVoltで目標値の範囲内にある。
【0081】
図7〜図13に、表2のワースト値の基になるシミュレーション値をグラフで示す。
【0082】
図7は、本実施例および従来方式における11ビットD/A変換の入出力特性を示す。図8は、図7の入出力特性の中間部分(符号Aで示す□の部分)を拡大して示す。図8において、縦線Mは11ビットコードにおけるグレイスケールの中央点(階調[1023]と[1024]との間)を示す。間隔(差分)a、a’は、階調[1021]での本実施例および従来方式における出力電圧絶対誤差をそれぞれ示す。間隔(差分)bは、本実施例の入出力特性において階調[1019]と[1020]間の1LSB電位差を示す。従来方式では、階調[1023]と[1024]間の1LSB電位差が理想値から大幅に外れることがわかる。間隔(差分)cは、本実施例の入出力特性において図6のmを1022としたときの出力電圧振幅差を示す。従来方式では、やはり階調[1023],[1024]間で出力電圧振幅差が理想値から大幅に外れることがわかる。
【0083】
図9は、全ディジタル入力値について本実施例および従来方式における出力電圧絶対誤差を示す。
【0084】
図10は、全ディジタル入力値について本実施例および従来方式における1LSB電位差を示す。従来方式では、ディジタル入力値の比較的上位(特に最上位)のビットが“0”から“1”に変わるところで周期的に1LSB電位差が大きくドロップし、1LSB電位差が零(mV)より低いところもある。つまり、単調増加していない(単調性が崩れている)。したがって、リニアD/A変換器として不適格である。一方、本実施例では、入力値のフルスケールにわたって1LSB電位差が5ミリボルト(mV)付近に収まっている。
【0085】
図11に、本実施例における1LSB電位差を拡大して示す。本実施例でもディジタル入力値の比較的上位(特に最上位)のビットが“0”から“1”に変わるところで周期的に1LSB電位差が約5(mV)を中心に上下に変動するが、変動幅は非常に小さく0.3(mV)以下である。
【0086】
図12は、本実施例および従来方式における出力電圧振幅差誤差を示す。図の横軸上のパラメータmは、図6の横軸上のパラメータ“m”に相当し、0,1,2‥‥1023の整数値をとる。出力電圧振幅差は、入出力特性において階調[m]のディジタル入力値に対応するアナログ出力電圧Vout(m)と階調[2047−m]のディジタル入力値に対応するアナログ出力電圧Vout(2047-m)との差{Vout(2047-m)−Vout(m) }である。出力電圧振幅差誤差は、理想値の出力電圧振幅差に対する本実施例または従来方式における出力電圧振幅差のずれ(誤差)である。従来方式では、ワースト値に限らず、入力フルスケールのほぼ全域にわたって出力電圧振幅差誤差が目標値(±5mV)から大きくはみ出ていることがわかる。これに対して、本実施例では、入力フルスケールの全域にわたって出力電圧振幅差誤差が0mV付近にある。つまり、電圧振幅差は殆ど理想値に近い値を示す。図13に、本実施例における出力電圧振幅差誤差を拡大して示す。
【0087】
上記のように、従来方式のものと比較して、本実施例のD/Aコンバータは、1LSB電位差(微分直線性誤差)および出力電圧振幅差誤差を大幅に改善しており、高信頼性のリニアD/A変換器特性を保証することができる。
【0088】
なお、絶対誤差(非直線性誤差または積分直線性誤差)については従来方式よりも本実施例のほうが大きくなっているが、微分直線性誤差または単調性を重視するアプリケーションでは問題にはならない。たとえば液晶パネル用駆動回路はそのようなアプリケーションの1つである。
【0089】
本発明は、上記実施例におけるD/Aコンバータ(図1)に限定されるものではなく、その技術思想の範囲内で種々の変形・変更が可能である。
【0090】
図14に、デコード回路10の一変形例を示す。この変形例では、スイッチ20の電源側端子が基準電位Vssの電源電圧端子に接続され、スイッチ22,28の電源側端子が基準電位Vrefの電源電圧端子に接続される。その他の回路構成は、上記実施例と同じである。
【0091】
動作において、ステップ▲2▼では、入力コードの各ビットについて、当該ビットの論理値が“1”のときは制御回路12からの制御信号SH1(またはSH2)によりスイッチ22(またはスイッチ28)をオンにしてコンデンサ16(またはコンデンサ18)を基準電位Vrefでチャージし、当該ビットの論理値が“0”のときは制御回路12からの制御信号SLによりスイッチ20をオンにしてコンデンサ14を基準電位Vssでディスチャージする。次に、ステップ▲3▼では、スイッチ24(またはスイッチ30)をオンにしてコンデンサ14とコンデンサ16(またはコンデンサ18)との間でそれぞれに蓄積されている電荷の和を各1/2に分配させる。
【0092】
このように、コンデンサ14とコンデンサ16(またはコンデンサ18)のそれぞれの役割または機能が上記実施例とは反対になっている。つまり、入力コードの各ビットについて、当該ビットの論理値が“1”のときは専らコンデンサ16(またはコンデンサ18)が基準電位Vrefで電荷Q(C・Vref)をチャージし、当該ビットの論理値が“0”のときは専らコンデンサ14が基準電位Vssで電荷を零までディスチャージし、次いで両コンデンサ14,16(18)間でそれぞれ蓄積している電荷を各1/2に分配し合うことで、両コンデンサ14,16(18)に均等なデコード電圧を得るようにしている。
【0093】
この変形例において、コンデンサ14とコンデンサ16(18)のキャパシタンスC1,C2(C3)との間にたとえばC1<C2(C3)の誤差がある場合は、デコードされるビットDiの論理値が“1”、“0”のいずれの場合でも電荷分配後の実際のデコード電圧は理想値から+側(同一方向)にずれる。このため、図15に概念的に示すように、階調の連続する各2つのアナログ出力電圧において逆転現象が生じることはない。C1>C2(C3)の誤差がある場合は、デコード電圧の理想値からずれる方向が−側に変わるだけで、同様の効果が得られる。
【0094】
上記実施例では、コンデンサ16(またはコンデンサ18)に得られるデコード電圧(充電電圧)をスイッチ26(またはスイッチ32)を介して出力バッファ36よりアナログ出力電圧Voutとして取り出している。しかし、コンデンサ14に得られるデコード電圧を同様の出力回路を通してアナログ出力電圧Voutとして取り出すことも可能である。
【0095】
上記実施例では、入力コードの最下位ビットから最上位ビットまで1ビット毎にコンデンサ14とコンデンサ16とを切り換えて(交代で)、一方をコンデンサ14と協働させて当該ビットのデコーディングに充て、他方を前回(1つ下位)のビットのデコード結果(デコード電圧)の出力に充てている。しかし、出力バッファ36の入力または出力側に前回のデコード結果(デコード電圧)を保持するための保持回路を設けることで、コンデンサ14,16の片方だけで連続的に各ビットのデコーディングを行うことも可能である。その場合、他方のコンデンサは不用となり、それに関連するスイッチ類も不要となる。
【0096】
図1および図14に示した実施例においてはコンデンサ14,16,18の他方の端子を基準電位Vssに電気的に接続する構成としていが、これら他方の端子は同一の基準電位に電気的に接続されていればよく、たとえば。Vref,(Vref−Vss)/2などの電源電圧端子に電気的に接続する構成としてもよい。
【0097】
【発明の効果】
以上説明したように、本発明によれば、電荷再分配型D/Aコンバータにおいて、デコードのため電荷を互いに分配し合う2つのコンデンサ間にキャパシタンスの誤差があっても信頼性の高いD/A変換特性を得ることができる。
【図面の簡単な説明】
【図1】本発明の一実施例による電荷再分配型D/Aコンバータの回路構成を示す回路図である。
【図2】実施例におけるD/Aコンバータの動作原理を模式的に示す図である。
【図3】実施例におけるD/Aコンバータの動作原理を模式的に示す図である。
【図4】実施例のD/Aコンバータにおいてコンデンサ間のキャパシタンスの誤差がデコード電圧に及ぼす影響を示す図である。
【図5】実施例においてコンデンサ間のキャパシタンス誤差に対するアナログ出力電圧の変化(シフト)を示す図である。
【図6】D/A変換特性における評価項目を説明するための図である。
【図7】実施例および従来方式における11ビットD/A変換の入出力特性をグラフ示す図である。
【図8】図7の入出力特性の中間部分(符号Aで示す□の部分)を拡大して示す図である。
【図9】実施例および従来方式における出力電圧絶対誤差をグラフで示す図である。
【図10】実施例および従来方式における1LSB電位差をグラフで示す図である。
【図11】実施例における1LSB電位差のグラフを拡大して示す図である。
【図12】実施例および従来方式における出力電圧振幅差誤差をグラフで示す図である。
【図13】実施例における出力電圧振幅差誤差のグラフを拡大して示す。
【図14】実施例におけるデコード回路の一変形例を示す回路図である。
【図15】変形例においてコンデンサ間のキャパシタンス誤差に対するアナログ出力電圧の変化(シフト)を示す図である。
【図16】従来の電荷再分配型D/Aコンバータの要部の回路構成を示す回路図である。
【図17】従来方式のD/Aコンバータの動作原理を模式的に示す図である。
【図18】従来方式のD/Aコンバータにおいてコンデンサ間のキャパシタンスの誤差がデコード電圧に及ぼす影響を示す図である。
【図19】従来方式においてコンデンサ間のキャパシタンス誤差に対するアナログ出力電圧の変化(シフト)を示す図である。
【符号の説明】
10 デコード回路
12 制御回路
14,16,18 コンデンサ
20〜34 スイッチ
36 出力バッファ[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a D / A (Digital to Analog) conversion technique for converting a digital signal into an analog signal, and more particularly to a charge redistribution type D / A conversion technique.
[0002]
[Prior art]
FIG. 16 shows a circuit configuration of a main part of a conventional charge redistribution D / A converter. This D / A converter has three capacitors 100, 102, 104 having capacitances set to the same value (C), seven open / close switches 106 to 118, and one output buffer 120. is doing.
[0003]
The capacitor 100 has one electrode electrically connected to the power supply voltage terminal of the reference potential Vref through the switch 106 and electrically connected to the power supply voltage terminal of the reference potential Vss through the switch 108, and the other electrode. Are electrically connected to the power supply voltage terminal of the reference potential Vss.
[0004]
The capacitor 102 has one terminal electrically connected to one electrode of the capacitor 100 via the switch 110 and electrically connected to the input terminal of the output buffer 120 via the switch 112, and the other terminal being a reference. It is electrically connected to the power supply voltage terminal of the potential Vss.
[0005]
The capacitor 104 has one terminal electrically connected to one electrode of the capacitor 100 via the switch 114 and electrically connected to the input terminal of the output buffer 120 via the switch 116, and the other terminal being a reference. It is electrically connected to the power supply voltage terminal of the potential Vss.
[0006]
The output buffer 120 is configured as a voltage follower circuit including, for example, an operational amplifier. The input terminal of the output buffer 120 is electrically connected to the power supply voltage terminal of the reference potential Vss through the switch 118.
[0007]
In this D / A converter, for each binary code [Dm... D1D0] of the input digital signal, the switches 106 to 118 are controlled to be turned on (closed) / off (open) by the following procedure and output. An analog output voltage Vout is obtained at the output terminal of the buffer 120. It should be noted that switches that are not specifically mentioned in the following procedures are in the OFF state.
[0008]
(1) First, the switches 112 and 118 are turned on to reset the charging voltage (charge) of the output side capacitor 102 to zero. Thereafter, the switches 112 and 118 are turned off.
[0009]
(2) When the logical value of the least significant bit D0 of the input binary code is “1” (“0”), the switch 106 (108) is turned on, and the capacitor 100 is charged with the reference potential Vref ( Discharge with reference potential Vss). Thereafter, the switch 106 (108) is turned off.
[0010]
(3) The switch 110 is turned on to distribute the electric charge accumulated in the capacitor 100 in half between the first and second capacitors 100 and 102. Thereafter, the switch 110 is turned off.
[0011]
(4) The above operations (2) and (3) are repeated for the upper bits D1, D2,... Up to the most significant bit Dm.
[0012]
(5) After the operation (3) for the most significant bit, the switches 116 and 118 are turned on to reset the charging voltage (charge) of the capacitor 104 to zero. Thereafter, the switches 116 and 118 are turned off.
[0013]
(6) The switch 112 is turned on, and the charging voltage of the capacitor 102 is output as the analog output voltage Vout corresponding to the input binary code.
[0014]
(7) For the next input binary code, the capacitor 102 is replaced with the capacitor 104 and the switches 114 and 116 are replaced with the switches 110 and 112, respectively, and the above operations (1) to (6) are repeated.
[0015]
FIG. 17 schematically shows the operation principle of this D / A converter, taking as an example the case where the input binary code is a 2-bit code [D1D0] and the data value is [01].
[0016]
In this case, for the least significant bit D0 (“1”), the charge Q (C · Vref) is charged to the capacitor 100 at the reference potential Vref in step (2), and the capacitor 100 and the capacitor 102 are charged in step (3). The sum or total amount (Q + 0) of charges accumulated with (or the capacitor 104) is distributed to each half (Q / 2). At this time, the charging voltage of the capacitor 102 (or the capacitor 104) becomes Vref / 2. For the next upper bit D1 (“0”), in step (2), the capacitor 100 discharges all of the accumulated charge (Q / 2) up to that time by the reference potential Vss and enters the non-charged state. ), The sum or total amount (0 + Q / 2) of the accumulated charges between the uncharged capacitor 100 and the capacitor 102 (or capacitor 104) accumulating the charge Q / 2 is 1/2 (Q / 4). Thereby, the charging voltage of the capacitor 102 (or the capacitor 104) becomes Vref / 4. In this example, since D1 is the most significant bit, the decoding ends here, and the charging voltage Vref / 4 of the capacitor 102 (or capacitor 104) is output from the output buffer 120 as the analog output voltage Vout.
[0017]
Table 1 shows a decoding process when the reference potential Vref = 8 (Volt), Vss = 0 (Volt) and the input binary code is a 3-bit code [D2D1D0] in the charge redistribution D / A converter described above. And show the results.
[0018]
[Table 1]
Figure 0004237347
[0019]
For example, when [D2D1D0] = [101], the process from the first (least significant) bit D0 (“1”) to the second bit D1 (“0”) is the same as the process of FIG. At the end of decoding of bit D1, the accumulated charge of capacitor 102 (or capacitor 104) is Q / 4, and the charging voltage is Vref / 4, that is, 2 (Volt). For the third (most significant) bit D2 (“1”), the capacitor 100 is charged with the charge Q at the reference potential Vref in step (2), and the capacitor 100 and the capacitor 102 (or capacitor 104) in step (3). ) And the total or total amount (Q + Q / 4) of each accumulated charge is distributed to each ½ (5Q / 8). As a result, the charging voltage of the output side capacitor 102 (or capacitor 104) becomes 5 Vref / 8, that is, 5 (Volt), and this is output from the output buffer 120 as the analog output voltage Vout.
[0020]
Table 1 shows an example of decoding a 3-bit code [D2D1D0]. In principle, a binary code having an arbitrary number of bits can be converted into an analog output voltage by the same circuit.
[0021]
[Problems to be solved by the invention]
In the charge redistribution type D / A converter as described above, in order to obtain an ideal D / A conversion output characteristic, the charges are evenly, that is, accurately, accurately divided between the capacitors 100 and 102 and between the capacitors 100 and 104. 2 must be shared, and for this purpose, the capacitances C1, C2, and C3 of the capacitors 100, 102, and 104 must satisfy the condition of C1 = C2 (C1 = C3). . However, in practice, there is an error between C1 and C2 (C1 and C3), and due to this capacitance error, the charge distribution between the capacitors 100 and 102 (104) is not exactly equal, and after decoding. An error occurs in the capacitor charging voltage (decoding voltage).
[0022]
FIG. 18 shows the effect of capacitance error in the conventional D / A converter. In the following description, the capacitance error between the capacitors 100 and 102 is taken up, but the same applies to the capacitors 100 and 104.
[0023]
In the example shown in the figure, C1 = C, C2 = (1 + n) C, and n ≧ 0. As a result of decoding from the first (least significant) bit D0 to the i-th bit Di-1, the charging voltage of the capacitor 102 is Suppose that it is Vi-1. At this time, the accumulated charge Q2 (i-1) of the capacitor 102 is (1 + n) CVi-1.
[0024]
Next, when the logic value of the (i + 1) th bit Di is “1”, the capacitor 100 is charged with the reference potential Vref in step (2), and the charge Q (= CVref) is accumulated. Then, in step (3), the sum or total amount {CVref + (1 + n) CVi-1} accumulated between the capacitors 100 and 102 is distributed. The decoded voltage Vi after this charge distribution is given by the following equation (1).
[0025]
Vi = (Vref + Vi-1) / 2-n (Vref-Vi-1) / 2 (2 + n) (1)
[0026]
When the logical value of the (i + 1) th bit Di is “0”, the capacitor 100 is discharged at the reference potential Vss in step (2), and the accumulated charge becomes zero. In step (3), the sum or total amount {0+ (1 + n) CVi-1} of the accumulated charges is distributed between the capacitors 100 and 102. The decoded voltage Vi after this charge distribution is given by the following equation (2).
[0027]
Vi = Vi-1 / 2 + nVi-1 / 2 (2 + n) (2)
[0028]
In each right side of the above formulas (1) and (2), the first term is an ideal value when n = 0, that is, C1 = C2 = C, and an error when the second term is n> 0. When the logical value of the bit Di to be decoded is “1”, the actual decode voltage Vi after charge distribution is shifted to the minus (−) side from the ideal value. On the other hand, when the logical value of the bit Di to be decoded is “0”, the actual decoded voltage Vi after charge distribution is shifted to the plus (+) side from the ideal value.
[0029]
Thus, since the direction of deviation of the decode voltage Vi differs depending on whether the logical value of Di is “1” or “0”, the accuracy of the D / A conversion output characteristics, in particular, the accuracy of linearity and monotonicity is likely to be greatly lost. Become. Moreover, the decrease in the accuracy of the D / A conversion output characteristics increases as the resolution of the D / A conversion decreases, that is, as the number of bits of the input digital signal increases. In particular, the value of the most significant bit between successive gradations. It becomes most noticeable when changes.
[0030]
For example, in an application that performs 11-bit D / A conversion under the conditions of Vref = 10.24 (Volt), Vss = 0 (Volt), and n = 0.01, the code [01111111111] of gradation “1023” The case where the code [10000000000] of the gradation “1024” is decoded is taken as an example.
[0031]
In this case, since the full scale (Vref−Vss) is 10.24 (Volt) and the digital input is 11 bits, the resolution (1 LSB) is 5 mVolt. Therefore, ideally, the analog output voltage Vout (1024) corresponding to the code [10000000000] of the gradation “1024” is higher than the analog output voltage Vout (1023) corresponding to the code [01111111111] of the gradation “1023”. Increases by 5 mVolt.
[0032]
However, as obtained by calculating the above equations (1) and (2), the error obtained when the most significant bit (“0”) is decoded for the code [01111111111] of the gradation “1023” is about +25 mVolt. On the other hand, the error obtained when the most significant bit (“1”) is decoded for the code [10000000000] of the gradation “1024” is about −25 mVolt. In calculating these errors, V9 corresponds to Vi-1 in the above equations (1) and (2), and their ideal values are (2 9 -1) / 2 9 Vref, 0.
[0033]
Therefore, in practice, as conceptually shown in FIG. 19, the code [10000000000] of the gradation “1024” than the analog output voltage Vout (1023) obtained by decoding the code [01111111111] of the gradation “1023”. ], The analog output voltage Vout (1024) corresponding to the A / D conversion is lowered, the gradation relationship between the two after A / D conversion is reversed, and the linearity as well as the monotonicity is lost. In general, when the differential linearity error exceeds ± 1 LSB, the D / A converter loses monotonicity, so that the linearity is not maintained and cannot be used as a linear D / A converter.
[0034]
The present invention has been made in view of the problems of the prior art, and obtains highly reliable D / A conversion characteristics by reducing the influence of capacitance errors between the decoding capacitors that distribute charges to each other. An object of the present invention is to provide a charge redistribution type D / A conversion method and a D / A converter.
[0035]
[Means for Solving the Problems]
In order to achieve the above object, according to the D / A conversion method of the present invention, first and second capacitors having the same or similar capacitance to each other and the first and second capacitors are electrically connected in parallel. A D / A conversion method for converting a digital signal to an analog signal using a switch for the purpose, wherein the target bit is the first bit for each bit from the least significant bit to the most significant bit of the binary code of the input digital signal When having a logic value, the first capacitor is charged with a first reference voltage corresponding to the first logic value while the switch is open, and then the switch is closed and the first and second capacitors are closed. When the charge is distributed between the capacitors and the target bit has a second logic value, the second capacitor is connected to the second logic value with the switch open. Charge with a corresponding second reference voltage and then close the switch to distribute charge between the first and second capacitors, and charge sharing between the first and second capacitors in the most significant bit. The charging voltage of the first or second capacitor obtained as a result is output as an output analog signal corresponding to the input digital signal.
[0036]
A first D / A converter according to the present invention provides a first reference voltage terminal that provides a first reference potential corresponding to a first logic value, and a second reference potential that corresponds to a second logic value. A second reference voltage terminal; a third reference voltage terminal for providing a third reference potential; and one electrode electrically connected to the first reference voltage terminal via a first switch, A first capacitor electrically connected to the third reference voltage terminal; and a capacitance that is the same as or similar to a capacitance of the first capacitor, and one electrode is connected via a second switch. It is electrically connected to the second reference voltage terminal and electrically connected to one electrode of the first capacitor via a third switch, and the other electrode is connected to the third reference voltage terminal. Second capacitor electrically connected For the binary code of the input digital signal, the third switch is turned off for each bit from the least significant bit to the most significant bit according to the logical value of the target bit, and then the first switch or the second switch Any one of the switches is turned on to charge either the first capacitor or the second capacitor with the first reference potential or the second reference potential, and then the first and second reference potentials. Control means for distributing charge between the first and second capacitors by turning both the switches off and then turning the third switch on, and the first and second bits in the most significant bit. The charge voltage of the first or second capacitor obtained as a result of the charge distribution between the second capacitors is the output analog corresponding to the digital signal. Configured to output as a grayed signal.
[0037]
In addition, the second D / A converter of the present invention includes a first reference voltage terminal that provides a first reference potential corresponding to the first logic value, and a second reference potential corresponding to the second logic value. A second reference voltage terminal for providing a third reference voltage terminal, a third reference voltage terminal for providing a third reference potential, one electrode is electrically connected to the first reference voltage terminal via a first switch, A first capacitor that is electrically connected to the third reference voltage terminal; and a capacitance that is the same as or similar to a capacitance of the first capacitor; And is electrically connected to the second reference voltage terminal via a third switch and electrically connected to one electrode of the first capacitor via a third switch, and the other electrode is connected to the third reference voltage. A second controller electrically connected to the terminal. A capacitor having a capacitance equal to or close to the capacitance of the first capacitor, one electrode of which is electrically connected to the second reference voltage terminal via a fourth switch and a fifth switch; And is electrically connected to one electrode of the first capacitor via the other electrode. 3 A third capacitor that is electrically connected to the reference voltage terminal of the input and the odd-numbered data of the binary code of the input digital signal for each bit from the least significant bit to the most significant bit, the logical value of the target bit Accordingly, the third switch, the fourth switch, and the fifth switch are turned off, and either the first switch or the second switch is turned on to turn the first capacitor or the second capacitor on. Is charged with the first reference potential or the second reference potential, and then the first, second, fourth and fifth switches are turned off and the third switch is turned on. The charge is distributed between the first and second capacitors, and the least significant bit for each even-numbered data in the binary code of the input digital signal For each bit up to the most significant bit, the second switch, the third switch, and the fifth switch are turned off according to the logical value of the target bit, and then either the first switch or the fourth switch is turned on. And charging either the first capacitor or the third capacitor with the first reference potential or the second reference potential, and then the first, second, third and fourth switches And the control means for distributing the electric charge between the first and third capacitors by turning on the fifth switch and turning on the fifth switch, and for the odd-numbered data, The charging voltage of the first or second capacitor obtained as a result of charge distribution between the first and second capacitors is an output analog signal corresponding to the input digital signal; For the even-numbered data, the charging voltage of the first or third capacitor obtained as a result of charge distribution between the first and third capacitors in the most significant bit corresponds to the input digital signal. The output analog signal is output.
[0038]
According to the present invention, even if there is a capacitance error between the first capacitor and the second capacitor (or the third capacitor), the decode voltage obtained by charge distribution between the two capacitors deviates from the ideal value. Are the same. For this reason, differential linearity and monotonicity are guaranteed.
[0039]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to FIGS.
[0040]
FIG. 1 shows a circuit configuration of a charge redistribution D / A converter according to an embodiment of the present invention. This D / A converter has a decoding circuit 10 and a control circuit 12.
[0041]
The decode circuit 10 includes three capacitors 14, 16 and 18 having capacitances set to the same value (C), eight open / close switches 20 to 34, and one output buffer 36. . Compared with the conventional system (FIG. 16), only one switch is added.
[0042]
The capacitor 14 has one electrode electrically connected to the power supply voltage terminal of the reference potential Vref via the switch 20 and the other electrode electrically connected to the power supply voltage terminal of the reference potential Vss.
[0043]
One terminal of the capacitor 16 is electrically connected to the power supply voltage terminal of the reference potential Vss through the switch 22, one electrode of the capacitor 14 through the switch 24, and the input terminal of the output buffer 36 through the switch 26. And the other terminal is electrically connected to the power supply voltage terminal of the reference potential Vss.
[0044]
One terminal of the capacitor 18 is electrically connected to the power supply voltage terminal of the reference potential Vss through the switch 28, one electrode of the capacitor 14 through the switch 30, and the input terminal of the output buffer 36 through the switch 32. And the other terminal is electrically connected to the power supply voltage terminal of the reference potential Vss.
[0045]
The output buffer 36 is configured as a voltage follower circuit composed of, for example, an operational amplifier. The input terminal of the output buffer 36 is electrically connected to the power supply voltage terminal of the reference potential Vss through the switch 34.
[0046]
The control circuit 12 inputs (latches) each binary code DATA of the input digital signal to be subjected to D / A conversion, and controls the switch groups 20 to 34 in the decoding circuit 10 so as to decode the code. Control by. The control circuit 12 also receives a timing signal TC for latching the input digital code, a decoding clock CK, and the like.
[0047]
Of the control signals generated by the control circuit 12, SH is the switch 20, SL1 is the switch 22, S1 is the switch 24, S2 is the switch 26, SL2 is the switch 28, S3 is the switch 30, and S4 is The switch 32 and S5 are provided to the switch 34, respectively.
[0048]
In this D / A converter, for each binary code [DmDm-1... D0] of the input digital signal, the control circuit 12 turns on / off the switches 20 to 34 in the decoding circuit 10 in the following procedure. The analog output voltage Vout is obtained at the output terminal of the output buffer 36 of the decode circuit 10 by controlling OFF (open). It should be noted that switches that are not specifically mentioned in the following procedures are in the OFF state.
[0049]
(1) First, the switches 24, 26 and 34 are turned on to reset the charging voltages (charges) of the capacitors 14 and 16 to zero. Thereafter, the switches 24, 26, and 34 are turned off.
[0050]
(2) When the logical value of the least significant bit D0 of the input binary code is “1” (“0”), the switch 20 (22) is turned on, and the capacitor 14 is charged with the reference potential Vref ( The capacitor 16 is discharged at the reference potential Vss). Thereafter, the switch 20 (22) is turned off.
[0051]
(3) The switch 24 is turned on to distribute the electric charge accumulated in the capacitor 14 (16) between the capacitors 14 and 16 in half. Thereafter, the switch 24 is turned off.
[0052]
(4) The above operations (2) and (3) are repeated for the upper bits D1, D2,... Up to the most significant bit Dm.
[0053]
(5) After the above operation (3) for the most significant bit Dm, the switches 30, 32 and 34 are turned on to reset the charging voltages (charges) of the capacitors 14 and 18 to zero. Thereafter, the switches 30, 32, and 34 are turned off.
[0054]
(6) The switch 26 is turned on, and the charging voltage of the capacitor 16 is output as the analog output voltage Vout corresponding to the input binary code [DmDm-1... D0].
[0055]
(7) For the next input binary code, the capacitor 16 is replaced with the capacitor 18 and the switches 22, 24, 26 are replaced with the switches 28, 30, 32, respectively, and the above operations (1) to (6) are repeated. .
[0056]
FIGS. 2 and 3 show the case where the input binary code is a 2-bit code [D1D0] and the data value is [01] (FIG. 2) and [11] (FIG. 3). An operation principle of the A converter is schematically shown.
[0057]
In the case of FIG. 2, for the least significant bit D0 (“1”), the charge Q (C · Vref) is charged to the capacitor 14 at the reference potential Vref in step {circle around (2)}. The sum or total amount (Q + 0) of charges accumulated with the capacitor 16 (or the capacitor 18) is distributed to each half (Q / 2). By this charge distribution, the charging voltage of the capacitor 16 (or the capacitor 18) and the capacitor 14 becomes Vref / 2. For the next upper bit D1 ("0"), in step (2), the capacitor 16 (or capacitor 18) discharges all the accumulated charge (Q / 2) up to that time by the reference potential Vss and is in an uncharged state. In step {circle around (3)}, the sum or total amount (0 + Q / 2) of the accumulated charges between the uncharged capacitor 16 (or capacitor 18) and the capacitor 14 storing the charge Q / 2 is It is distributed to 1/2 (Q / 4). Thereby, the charging voltages of the capacitor 16 (or the capacitor 18) and the capacitor 14 become Vref / 4, respectively. In this example, since D1 is the most significant bit, decoding ends here, and the charging voltage Vref / 4 of the output side capacitor 16 (or the output side capacitor 18) is output from the output buffer 36 as the analog output voltage Vout. .
[0058]
In the case of FIG. 3, the least significant bit D0 (“1”) is the same as in FIG. For the next upper bit D1 (“1”), the capacitor 14 is charged with the charge Q (C · Vref) at the reference potential Vref at step {circle around (2)}, and the capacitor that stores this charge Q at step {circle around (3)}. 14 and the capacitor 16 (or capacitor 18) storing the charge Q / 2, the sum or the total amount (Q + Q / 2) of the respective stored charges is distributed to each 1/2 (3Q / 4). As a result, the charging voltages of the capacitor 16 (or capacitor 18) and the capacitor 14 are each 3Vref / 4, and the charging voltage 3Vref / 4 of the output side capacitor 16 (or output side capacitor 18) is output from the output buffer 36 as the analog output voltage Vout. Is output.
[0059]
Thus, in the D / A converter of this embodiment, for each bit of the input code, when the logical value of the bit is “1”, the capacitor 14 is charged exclusively with the charge Q (C · Vref), and the bit When the logical value of “0” is “0”, the capacitor 16 (or the capacitor 18) exclusively discharges the charge to zero, and then distributes the accumulated charge between the capacitors 14 and 16 (18) to each ½. As a result, an equal decode voltage is obtained for both capacitors 14 and 16 (18).
[0060]
In principle, the D / A converter of this embodiment can convert a binary code having an arbitrary number of bits into an analog output voltage with the same circuit. For example, the reference potential Vref = 8 (Volt), Vss. In an application that inputs a 3-bit code [D2D1D0] at = 0 (Volt), the same decoding process and result as in Table 1 are obtained.
[0061]
By the way, also in the D / A converter of the present embodiment, in order to obtain an ideal D / A conversion output characteristic, charges are equally distributed between the capacitors 14 and 16 and between the capacitors 14 and 18, that is, exactly ½ each. Therefore, it is necessary to satisfy the condition of C1 = C2 (C1 = C3) in the capacitances C1, C2, and C3 of the capacitors 14, 16, and 18, respectively. However, in reality, there is an error between C1 and C2 (C1 and C3), and due to this capacitance error, the charge is not accurately distributed between the capacitors 14 and 16 (18), and is decoded. An error occurs in the subsequent capacitor charging voltage (decoding voltage).
[0062]
However, in the D / A converter of this embodiment, as will be described below, the direction (polarity) of the error of the decoded voltage Vi regardless of whether the logical value of each bit Di is “1” or “0”. Are the same, the accuracy of the D / A conversion characteristics, particularly differential linearity and monotonicity is guaranteed.
[0063]
FIG. 4 shows the influence of the capacitance error between the capacitors on the decode voltage in the D / A converter of this embodiment. In the following description, the capacitance error between the capacitors 14 and 16 is taken up, but the same applies to the capacitors 14 and 18.
[0064]
In the example shown in the figure, C1 = C, C2 = (1 + n) C, and n ≧ 0. As a result of decoding from the first (least significant) bit D0 to the i-th bit Di-1, the capacitors 16 and 14 are charged. Assume that the voltage is Vi-1. At this time, the accumulated charge Q2 (i-1) of the capacitor 16 is (1 + n) CVi-1. On the other hand, the accumulated charge Q1 (i-1) of the capacitor 14 is CVi-1.
[0065]
Next, when the logical value of the (i + 1) -th bit Di is “1”, the capacitor 14 is charged with the reference potential Vref in step (2), and the charge Q (= CVref) is accumulated. Then, in step {circle around (3)}, the sum or total amount {CVref + (1 + n) CVi−1} of charges accumulated between the capacitors 14 and 16 is distributed. The decoded voltage Vi after this charge distribution is given by the following equation (3).
[0066]
Vi = (Vref + Vi-1) / 2-n (Vref-Vi-1) / 2 (2 + n) (3)
[0067]
When the logical value of the (i + 1) th bit Di is “0”, the capacitor 16 is discharged at the reference potential Vss in step (2), and the accumulated charge becomes zero. In step {circle around (3)}, the sum or total amount {0+ (1 + n) CVi−1} of the accumulated charges is distributed between the capacitors 14 and 16. The decoded voltage Vi after this charge distribution is given by the following equation (4).
[0068]
Vi = Vi-1 / 2-nVi-1 / 2 (2 + n) (4)
[0069]
In each right side of the above formulas (3) and (4), the first term is an ideal value when n = 0, that is, C1 = C2 = C, and an error when the second term is n> 0. Regardless of whether the logical value of the bit Di to be decoded is “1” or “0”, the actual decoded voltage Vi after charge distribution shifts from the ideal value to the minus (−) side.
[0070]
When n <0, the above equations (3) and (4) are replaced with the following equations (5) and (6), respectively.
[0071]
Vi = (Vref + Vi-1) / 2 + n (Vref-Vi-1) / 2 (2 + n) (5)
Vi = Vi-1 / 2 + nVi-1 / 2 (2 + n) (6)
[0072]
That is, the sign of the second term on the right side changes from (-) to (+), and the actual decoded voltage Vi after charge distribution is obtained regardless of whether the logical value of the bit Di to be decoded is "1" or "0". Shifts from the ideal value to the plus (+) side.
[0073]
In this way, the direction in which the actual decoded voltage Vi after charge distribution deviates from the ideal value is the same regardless of whether the logic value of the bit Di to be decoded is “1” or “0”. The gradation is never reversed.
[0074]
Here, also in this embodiment, in an application that performs 11-bit D / A conversion under the conditions of Vref = 10.24 (Volt), Vss = 0 (Volt), and n = 0.01, the gradation “1023” is used. Let us consider a case where a code [01111111111] of “and a code [10000000000] of gradation“ 1024 ”are decoded.
[0075]
In the D / A converter of this embodiment, the error obtained as a result of decoding the most significant bit (“0”) in the code [01111111111] of the gradation “1023” is about −25 mVolt. On the other hand, the error obtained as a result of decoding the most significant bit (“1”) in the code [10000000000] of gradation “1024” is also about −25 mVolt. In calculating these errors, V9 corresponds to Vi-1 in the above equations (3) and (4), and the ideal values are (2 9 -1) / 2 9 Vref, 0.
[0076]
Therefore, as conceptually shown in FIG. 5, the actual analog output voltage Vout (1023) obtained by decoding the code [01111111111] of the gradation “1023” is also decoded by the code [10000000000] of the gradation “1024”. The actual analog output voltage Vout (1024) obtained in this way is also shifted in the same direction (-side) and by the same amount from each ideal value, so that the relative voltage difference between them is the ideal D / A conversion characteristic. It becomes almost the same (1LSB).
[0077]
Table 2 shows the worst value (simulation result) of the D / A conversion characteristic in the D / A converter of this embodiment in comparison with the conventional D / A converter (FIG. 16). In this simulation, “output voltage absolute error”, “1LSB potential difference (differential linearity error)” and “output voltage amplitude difference error” are taken as evaluation items of the D / A conversion characteristics.
[0078]
[Table 2]
Figure 0004237347
[0079]
As shown in FIG. 6, the “output voltage absolute error” is a difference (actual value−ideal value) between an ideal value and an actual value of the analog output voltage corresponding to each digital input value. The “1LSB potential difference” is a difference {Vout (j + 1) −Vout (j)} between two analog output voltages Vout (j) and Vout (j + 1) having continuous gradations. The “differential linearity error” is a difference (actual value−ideal value) between an ideal value and an actual value of “1LSB potential difference”. "Output voltage amplitude difference error" means the difference between analog output voltages Vout (m) and Vout (2047-m) corresponding to each target digital input value (m and 2047-m) {Vout (2047-m ) −Vout (m)} is a difference between the ideal value Va0 and the actual value Va1 (actual value−ideal value).
[0080]
As shown in Table 2, with regard to differential linearity error, the target value is 2.5 mVolt to 7.5 mVolt (± 0.5 LSB), but the worst value of the conventional method is −45.6 mVolt (9.12 LSB). While deviating, the worst value of the embodiment is 4.7 mVolt (0.06 LSB), which is within the target value range. In the output voltage amplitude difference error, when the target value is within ± 5 mVolt, the worst value of the conventional method is -50.8 mVolt, which is significantly different from the target value, while the worst value of the embodiment is -0.5 mVolt. Within the range of values.
[0081]
7 to 13 are graphs showing simulation values that are the basis of the worst values in Table 2.
[0082]
FIG. 7 shows the input / output characteristics of the 11-bit D / A conversion in this embodiment and the conventional system. FIG. 8 is an enlarged view of the intermediate portion (the portion indicated by □ indicated by reference numeral A) of the input / output characteristics of FIG. In FIG. 8, a vertical line M indicates a gray scale center point (between gradations [1023] and [1024]) in an 11-bit code. The intervals (differences) a and a ′ indicate the output voltage absolute errors in the present embodiment and the conventional method at the gradation [1021]. The interval (difference) b indicates the 1LSB potential difference between the gradations [1019] and [1020] in the input / output characteristics of this embodiment. In the conventional method, it can be seen that the 1LSB potential difference between the gradations [1023] and [1024] deviates significantly from the ideal value. An interval (difference) c indicates an output voltage amplitude difference when m in FIG. In the conventional method, it can be seen that the output voltage amplitude difference between the gradations [1023] and [1024] deviates significantly from the ideal value.
[0083]
FIG. 9 shows the output voltage absolute error in this embodiment and the conventional system for all digital input values.
[0084]
FIG. 10 shows the 1LSB potential difference in this embodiment and the conventional system for all digital input values. In the conventional system, the 1LSB potential difference drops periodically and the 1LSB potential difference is lower than zero (mV) when the relatively high-order (especially most significant) bit of the digital input value changes from “0” to “1”. is there. In other words, it does not increase monotonously (monotonicity has collapsed). Therefore, it is not suitable as a linear D / A converter. On the other hand, in this embodiment, the 1LSB potential difference is within the vicinity of 5 millivolts (mV) over the full scale of the input value.
[0085]
FIG. 11 shows an enlarged view of the 1LSB potential difference in this example. Also in this embodiment, the 1LSB potential difference periodically fluctuates up and down around about 5 (mV) when the relatively high-order (especially most significant) bit of the digital input value changes from “0” to “1”. The width is very small and is 0.3 (mV) or less.
[0086]
FIG. 12 shows an output voltage amplitude difference error in the present embodiment and the conventional method. The parameter m on the horizontal axis corresponds to the parameter “m” on the horizontal axis in FIG. 6 and takes integer values of 0, 1, 2,. In the input / output characteristics, the difference in output voltage amplitude is the analog output voltage Vout (m) corresponding to the digital input value of gradation [m] and the analog output voltage Vout (2047) corresponding to the digital input value of gradation [2047-m]. -m) is the difference {Vout (2047-m) -Vout (m)}. The output voltage amplitude difference error is a deviation (error) of the output voltage amplitude difference in this embodiment or the conventional method with respect to the ideal output voltage amplitude difference. In the conventional method, it can be seen that the output voltage amplitude difference error largely protrudes from the target value (± 5 mV) over almost the entire input full scale, not limited to the worst value. On the other hand, in this embodiment, the output voltage amplitude difference error is in the vicinity of 0 mV over the entire input full scale. That is, the voltage amplitude difference shows a value almost close to the ideal value. FIG. 13 shows an enlarged output voltage amplitude difference error in this embodiment.
[0087]
As described above, the D / A converter of this embodiment greatly improves the 1LSB potential difference (differential linearity error) and the output voltage amplitude difference error as compared with the conventional method, and has high reliability. The linear D / A converter characteristic can be guaranteed.
[0088]
Note that the absolute error (nonlinearity error or integral linearity error) is greater in the present embodiment than in the conventional method, but this is not a problem in an application that emphasizes differential linearity error or monotonicity. For example, a driving circuit for a liquid crystal panel is one such application.
[0089]
The present invention is not limited to the D / A converter (FIG. 1) in the above-described embodiment, and various modifications and changes can be made within the scope of the technical idea.
[0090]
FIG. 14 shows a modification of the decoding circuit 10. In this modification, the power supply side terminal of the switch 20 is connected to the power supply voltage terminal of the reference potential Vss, and the power supply side terminals of the switches 22 and 28 are connected to the power supply voltage terminal of the reference potential Vref. Other circuit configurations are the same as those in the above embodiment.
[0091]
In operation (2), for each bit of the input code, when the logical value of the bit is “1”, the switch 22 (or switch 28) is turned on by the control signal SH1 (or SH2) from the control circuit 12. The capacitor 16 (or the capacitor 18) is charged with the reference potential Vref, and when the logical value of the bit is “0”, the switch 20 is turned on by the control signal SL from the control circuit 12, and the capacitor 14 is set to the reference potential Vss. To discharge. Next, in step (3), the switch 24 (or switch 30) is turned on to distribute the sum of the charges accumulated between the capacitor 14 and the capacitor 16 (or capacitor 18) to each ½. Let
[0092]
Thus, the roles or functions of the capacitor 14 and the capacitor 16 (or the capacitor 18) are opposite to those in the above embodiment. That is, for each bit of the input code, when the logical value of the bit is “1”, the capacitor 16 (or capacitor 18) exclusively charges the charge Q (C · Vref) with the reference potential Vref, and the logical value of the bit Is zero, the capacitor 14 exclusively discharges the charge to zero at the reference potential Vss, and then distributes the accumulated charge between the capacitors 14 and 16 (18) to each ½. A uniform decode voltage is obtained for both capacitors 14 and 16 (18).
[0093]
In this modified example, when there is an error of C1 <C2 (C3) between the capacitors C1 and C2 (C3) of the capacitor 14 and the capacitor 16 (18), the logical value of the decoded bit Di is “1”. In both cases of “0” and “0”, the actual decode voltage after the charge distribution is shifted to the + side (in the same direction) from the ideal value. For this reason, as conceptually shown in FIG. 15, the inversion phenomenon does not occur in each of the two analog output voltages having continuous gradations. When there is an error of C1> C2 (C3), the same effect can be obtained only by changing the direction deviating from the ideal value of the decode voltage to the-side.
[0094]
In the above embodiment, the decode voltage (charge voltage) obtained at the capacitor 16 (or capacitor 18) is taken out from the output buffer 36 as the analog output voltage Vout via the switch 26 (or switch 32). However, it is also possible to take out the decoded voltage obtained in the capacitor 14 as an analog output voltage Vout through a similar output circuit.
[0095]
In the above embodiment, the capacitor 14 and the capacitor 16 are switched for each bit from the least significant bit to the most significant bit of the input code (alternately), and one of them is cooperated with the capacitor 14 for decoding of the bit. The other is used for outputting the decoding result (decoding voltage) of the previous (one lower) bit. However, by providing a holding circuit for holding the previous decoding result (decoding voltage) on the input or output side of the output buffer 36, each bit is continuously decoded by only one of the capacitors 14 and 16. Is also possible. In that case, the other capacitor is not necessary, and the associated switches are not required.
[0096]
In the embodiment shown in FIGS. 1 and 14, the other terminals of the capacitors 14, 16, and 18 are electrically connected to the reference potential Vss. However, these other terminals are electrically connected to the same reference potential. It only needs to be connected, for example. It may be configured to be electrically connected to a power supply voltage terminal such as Vref, (Vref−Vss) / 2.
[0097]
【The invention's effect】
As described above, according to the present invention, in a charge redistribution type D / A converter, even if there is a capacitance error between two capacitors that share charges for decoding, a highly reliable D / A Conversion characteristics can be obtained.
[Brief description of the drawings]
FIG. 1 is a circuit diagram showing a circuit configuration of a charge redistribution D / A converter according to an embodiment of the present invention.
FIG. 2 is a diagram schematically illustrating the operation principle of the D / A converter in the embodiment.
FIG. 3 is a diagram schematically showing the operation principle of the D / A converter in the embodiment.
FIG. 4 is a diagram illustrating an influence of a capacitance error between capacitors on a decode voltage in the D / A converter according to the embodiment.
FIG. 5 is a diagram illustrating a change (shift) of an analog output voltage with respect to a capacitance error between capacitors in the embodiment.
FIG. 6 is a diagram for explaining evaluation items in D / A conversion characteristics.
FIG. 7 is a graph showing input / output characteristics of 11-bit D / A conversion in the example and the conventional system.
8 is an enlarged view showing an intermediate portion (□ indicated by reference numeral A) of the input / output characteristics of FIG.
FIG. 9 is a graph showing an output voltage absolute error in an example and a conventional method.
FIG. 10 is a graph showing a 1LSB potential difference in an example and a conventional method.
FIG. 11 is an enlarged view showing a graph of 1LSB potential difference in an example.
FIG. 12 is a graph showing an output voltage amplitude difference error in the example and the conventional method.
FIG. 13 is an enlarged graph showing an output voltage amplitude difference error in the example.
FIG. 14 is a circuit diagram showing a modification of the decoding circuit in the embodiment.
FIG. 15 is a diagram showing a change (shift) of an analog output voltage with respect to a capacitance error between capacitors in a modified example.
FIG. 16 is a circuit diagram showing a circuit configuration of a main part of a conventional charge redistribution D / A converter.
FIG. 17 is a diagram schematically illustrating the operation principle of a conventional D / A converter.
FIG. 18 is a diagram illustrating an influence of a capacitance error between capacitors on a decoding voltage in a conventional D / A converter.
FIG. 19 is a diagram showing a change (shift) of an analog output voltage with respect to a capacitance error between capacitors in the conventional method.
[Explanation of symbols]
10 Decoding circuit
12 Control circuit
14, 16, 18 capacitors
20-34 switch
36 Output buffer

Claims (4)

互いに同一または近似したキャパシタンスする第1および第2のコンデンサと、前記第1および第2のコンデンサを電気的に並列接続するためのスイッチとを用いてディジタル信号をアナログ信号に変換するD/A変換方法であって、
入力ディジタル信号のバイナリコードについて最下位ビットから最上位ビットまで1ビット毎に、対象ビットが第1の論理値を有するときは前記スイッチを開いた状態で前記第1のコンデンサを前記第1の論理値に対応する第1の基準電圧でチャージしてから前記スイッチを閉じて前記第1および第2のコンデンサ間で電荷を分配し、対象ビットが第2の論理値を有するときは前記スイッチを開いた状態で前記第2のコンデンサを前記第2の論理値に対応する第2の基準電圧でチャージしてから前記スイッチを閉じて前記第1および第2のコンデンサ間で電荷を分配し、前記最上位ビットにおける前記第1および第2のコンデンサ間の電荷分配の結果得られる前記第1または第2のコンデンサの充電電圧を前記入力ディジタル信号に対応する出力アナログ信号として出力するD/A変換方法。
D / A conversion for converting a digital signal into an analog signal by using first and second capacitors having the same or similar capacitance to each other and a switch for electrically connecting the first and second capacitors in parallel. A method,
When the target bit has a first logic value for each bit from the least significant bit to the most significant bit of the binary code of the input digital signal, the first capacitor is connected to the first logic with the switch open. Charge with a first reference voltage corresponding to the value, then close the switch to distribute the charge between the first and second capacitors, and open the switch when the target bit has a second logic value In this state, the second capacitor is charged with a second reference voltage corresponding to the second logic value, and then the switch is closed to distribute the charge between the first and second capacitors, The charging voltage of the first or second capacitor obtained as a result of charge distribution between the first and second capacitors in the upper bits corresponds to the input digital signal. D / A conversion method for outputting as a force analog signal.
第1の論理値に対応した第1の基準電位を与える第1の基準電圧端子と、
第2の論理値に対応した第2の基準電位を与える第2の基準電圧端子と、
第3の基準電位を与える第3の基準電圧端子と、
一方の電極が第1のスイッチを介して前記第1の基準電圧端子に電気的に接続され、他方の電極が前記第3の基準電圧端子に電気的に接続される第1のコンデンサと、
前記第1のコンデンサのキャパシタンスと同一または近似したキャパシタンスを有し、一方の電極が第2のスイッチを介して前記第2の基準電圧端子に電気的に接続されるとともに第3のスイッチを介して前記第1のコンデンサの一方の電極に電気的に接続され、他方の電極が前記第3の基準電圧端子に電気的に接続される第2のコンデンサと、
入力ディジタル信号のバイナリコードについて最下位ビットから最上位ビットまで1ビット毎に、対象ビットの論理値に応じて前記第3のスイッチをオフ状態にしたうえで前記第1のスイッチもしくは前記第2のスイッチのいずれかをオン状態にして前記第1のコンデンサもしくは前記第2のコンデンサのいずれかを前記第1の基準電位もしくは前記第2の基準電位でチャージし、次いで前記第1および第2のスイッチの双方をオフ状態にしたうえで前記第3のスイッチをオン状態にして前記第1および第2のコンデンサ間で電荷を分配する制御手段と
を有し、前記最上位ビットにおける前記第1および第2のコンデンサ間の電荷分配の結果得られる前記第1または第2のコンデンサの充電電圧を前記ディジタル信号に対応する出力アナログ信号として出力するD/Aコンバータ。
A first reference voltage terminal for providing a first reference potential corresponding to the first logic value;
A second reference voltage terminal for providing a second reference potential corresponding to the second logic value;
A third reference voltage terminal for providing a third reference potential;
A first capacitor having one electrode electrically connected to the first reference voltage terminal via a first switch and the other electrode electrically connected to the third reference voltage terminal;
The first capacitor has a capacitance that is the same as or similar to the capacitance of the first capacitor, and one electrode is electrically connected to the second reference voltage terminal via a second switch and via a third switch. A second capacitor electrically connected to one electrode of the first capacitor and the other electrode electrically connected to the third reference voltage terminal;
For the binary code of the input digital signal, for each bit from the least significant bit to the most significant bit, the third switch is turned off according to the logical value of the target bit, and then the first switch or the second switch Either one of the switches is turned on to charge either the first capacitor or the second capacitor with the first reference potential or the second reference potential, and then the first and second switches And a control means for distributing the charge between the first and second capacitors by turning on the third switch and turning on the third switch, and the first and second bits in the most significant bit. Output analog corresponding to the digital signal, the charging voltage of the first or second capacitor obtained as a result of charge distribution between the two capacitors D / A converter that outputs as a signal.
第1の論理値に対応した第1の基準電位を与える第1の基準電圧端子と、
第2の論理値に対応した第2の基準電位を与える第2の基準電圧端子と、
第3の基準電位を与える第3の基準電圧端子と、
一方の電極が第1のスイッチを介して前記第1の基準電圧端子に電気的に接続され、他方の電極が前記第3の基準電圧端子に電気的に接続される第1のコンデンサと、
前記第1のコンデンサのキャパシタンスと同一または近似したキャパシタンスを有し、一方の電極が第2のスイッチを介して前記第2の基準電圧端子に電気的に接続されるとともに第3のスイッチを介して前記第1のコンデンサの一方の電極に電気的に接続され、他方の電極が前記第3の基準電圧端子に電気的に接続される第2のコンデンサと、
前記第1のコンデンサのキャパシタンスと同一または近似したキャパシタンスを有し、一方の電極が第4のスイッチを介して前記第2の基準電圧端子に電気的に接続されるとともに第5のスイッチを介して前記第1のコンデンサの一方の電極に電気的に接続され、他方の電極が前記第の基準電圧端子に電気的に接続される第3のコンデンサと、
入力ディジタル信号のバイナリコードの奇数番目の各データについては最下位ビットから最上位ビットまで1ビット毎に、対象ビットの論理値に応じて前記第3、第4および第5のスイッチをオフ状態にしたうえで前記第1のスイッチもしくは前記第2のスイッチのいずれかをオン状態にして前記第1のコンデンサもしくは前記第2のコンデンサのいずれかを前記第1の基準電位もしくは前記第2の基準電位でチャージし、次いで前記第1、第2、第4および第5のスイッチをオフ状態にしたうえで前記第3のスイッチをオン状態にして前記第1および第2のコンデンサ間で電荷を分配し、前記入力ディジタル信号のバイナリコードの偶数番目の各データについては最下位ビットから最上位ビットまで1ビット毎に、対象ビットの論理値に応じて前記第2、3および第5のスイッチをオフ状態にしたうえで前記第1のスイッチもしくは前記第4のスイッチのいずれかをオン状態にして前記第1のコンデンサもしくは前記第3のコンデンサのいずれかを前記第1の基準電位もしくは前記第2の基準電位でチャージし、次いで前記第1、第2、第3および第4のスイッチをオフ状態にしたうえで前記第5のスイッチをオンにして前記第1および第3のコンデンサ間で電荷を分配する制御手段と
を有し、前記奇数番目のデータについては前記最上位ビットにおける前記第1および第2のコンデンサ間の電荷分配の結果得られる前記第1または第2のコンデンサの充電電圧を前記入力ディジタル信号に対応する出力アナログ信号として出力し、前記偶数番目のデータについては前記最上位ビットにおける前記第1および第3のコンデンサ間の電荷分配の結果得られる前記第1または第3のコンデンサの充電電圧を前記入力ディジタル信号に対応する出力アナログ信号として出力するD/Aコンバータ。
A first reference voltage terminal for providing a first reference potential corresponding to the first logic value;
A second reference voltage terminal for providing a second reference potential corresponding to the second logic value;
A third reference voltage terminal for providing a third reference potential;
A first capacitor having one electrode electrically connected to the first reference voltage terminal via a first switch and the other electrode electrically connected to the third reference voltage terminal;
The first capacitor has a capacitance that is the same as or similar to the capacitance of the first capacitor, and one electrode is electrically connected to the second reference voltage terminal via a second switch and via a third switch. A second capacitor electrically connected to one electrode of the first capacitor and the other electrode electrically connected to the third reference voltage terminal;
The first capacitor has a capacitance that is the same as or close to the capacitance of the first capacitor, and one electrode is electrically connected to the second reference voltage terminal via a fourth switch and via a fifth switch. A third capacitor electrically connected to one electrode of the first capacitor and the other electrode electrically connected to the third reference voltage terminal;
For the odd-numbered data of the binary code of the input digital signal, the third, fourth and fifth switches are turned off for each bit from the least significant bit to the most significant bit according to the logical value of the target bit. In addition, either the first switch or the second switch is turned on, and either the first capacitor or the second capacitor is set to the first reference potential or the second reference potential. Then, the first, second, fourth, and fifth switches are turned off, and the third switch is turned on to distribute the charge between the first and second capacitors. For each even-numbered data of the binary code of the input digital signal, it corresponds to the logical value of the target bit for each bit from the lowest bit to the highest bit. The second switch, the third switch, and the fifth switch are turned off, and either the first switch or the fourth switch is turned on to turn either the first capacitor or the third capacitor on. Is charged with the first reference potential or the second reference potential, and then the first, second, third and fourth switches are turned off and then the fifth switch is turned on. Control means for distributing charge between the first and third capacitors, and the odd-numbered data is obtained as a result of charge distribution between the first and second capacitors in the most significant bit. The charging voltage of the first or second capacitor is output as an output analog signal corresponding to the input digital signal. Wherein the first and third of said first or third D / A converter for outputting a charging voltage as an output analog signal corresponding to the input digital signal of the capacitor resulting from the charge distribution between the capacitors in and.
前記第3の基準電位が前記第2または第1の基準電位に等しい請求項2または3に記載のD/Aコンバータ。  The D / A converter according to claim 2 or 3, wherein the third reference potential is equal to the second or first reference potential.
JP26723399A 1999-09-21 1999-09-21 D / A conversion method and D / A converter Expired - Fee Related JP4237347B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26723399A JP4237347B2 (en) 1999-09-21 1999-09-21 D / A conversion method and D / A converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26723399A JP4237347B2 (en) 1999-09-21 1999-09-21 D / A conversion method and D / A converter

Publications (3)

Publication Number Publication Date
JP2001094426A JP2001094426A (en) 2001-04-06
JP2001094426A5 JP2001094426A5 (en) 2006-10-19
JP4237347B2 true JP4237347B2 (en) 2009-03-11

Family

ID=17441996

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26723399A Expired - Fee Related JP4237347B2 (en) 1999-09-21 1999-09-21 D / A conversion method and D / A converter

Country Status (1)

Country Link
JP (1) JP4237347B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8560784B2 (en) 2009-04-24 2013-10-15 Fujitsu Limited Memory control device and method

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100690434B1 (en) 2006-01-02 2007-03-12 삼성전자주식회사 Digital-to-analog converters, data line drivers, display devices, and methods thereof
JP4155316B2 (en) 2006-06-30 2008-09-24 ソニー株式会社 D / A conversion circuit, liquid crystal drive circuit, and liquid crystal display device
KR100945514B1 (en) 2007-03-27 2010-03-09 삼성전자주식회사 Pipelined Cyclic Digital-to-Analog Converter
JP5138490B2 (en) * 2008-07-17 2013-02-06 ルネサスエレクトロニクス株式会社 Sample and hold circuit and digital / analog converter

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8560784B2 (en) 2009-04-24 2013-10-15 Fujitsu Limited Memory control device and method

Also Published As

Publication number Publication date
JP2001094426A (en) 2001-04-06

Similar Documents

Publication Publication Date Title
TWI482438B (en) Successive approximation analog to digital converter and method thereof
US9171518B2 (en) Two-stage DAC achitecture for LCD source driver utilizing one-bit pipe DAC
CN101807923B (en) Hybrid Analog-to-Digital Converter
US7767953B2 (en) Voltage generator, analog-to-digital converter, and image sensor system
EP0821490B1 (en) Potential generating device
KR102636356B1 (en) Method and apparatus for offset correction in SAR ADC using reduced capacitor array DAC
JP3418676B2 (en) LCD drive circuit
JP2945805B2 (en) A / D converter
JP2010263399A (en) A / D conversion circuit, electronic device, and A / D conversion method
JPS6161578B2 (en)
CN108990427B (en) Analog-to-digital conversion circuit and method
US12592716B2 (en) Adaptive power tuning in a successive approximation analog-to-digital converter
JP4237347B2 (en) D / A conversion method and D / A converter
KR100690434B1 (en) Digital-to-analog converters, data line drivers, display devices, and methods thereof
JP4856245B2 (en) Digital / analog converter
JP2002533973A (en) Electronic circuit for capacitive flash analog-to-digital converter
KR20140015048A (en) Analog-to-digital converter having dc/dc converter for low voltage operation
US7436341B2 (en) Digital/analog converting apparatus and digital/analog converter thereof
JP4428349B2 (en) Digital / analog conversion circuit
JPH1117544A (en) Switched capacitor type d/a converter circuit, control method therefor, lcd drive control circuit, lcd drive control method and integrated circuit for controlling lcd drive
US4468654A (en) Charge redistribution a-law PCM decoder
JP2007019801A (en) Digital/analog converter
CN113658533B (en) Digital-to-analog converter and driving circuit of display device including the same
JP4408932B2 (en) Digital to analog converter
US5805096A (en) A/D converter with interpolation

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060905

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060905

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081119

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20081218

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20111226

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20121226

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20121226

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20131226

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees