Professional Documents
Culture Documents
D/A Converters Continued:: - Component Matching - Systematic & Random Errors
D/A Converters Continued:: - Component Matching - Systematic & Random Errors
Lecture 14
• D/A converters continued:
– Resistor string DACs (continued)
– Serial charge redistribution DACs
– Charge scaling DACs
– R-2R type DACs
– Current based DACs
– Static performance of D/As
• Component matching
• Systematic & random errors
– Practical aspects of current-switched DACs
– Segmented current-switched DACs
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 1
R-String DAC
• Advantages:
– Takes full advantage of availability Vref
of almost perfect switches in MOS
technologies
– Simple, fast for <8-10bits
– Inherently monotonic
– Compatible with purely digital
technologies
• Disadvantages:
– 2B resistors & ~2x2B switches for B C
bits Æ High element count & large
area for B >10bits
– High settling time for high resolution
DACs:
τmax ~ 0.25 x 2B RC
Ref:
M. Pelgrom, “A 10-b 50-MHz CMOS D/A Converter with 75-W Buffer,” JSSC, Dec. 1990, pp. 1347
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 2
R-String DAC
Including Interpolation
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 3
R-String DAC
Including Interpolation
Vref
Use buffers to prevent
loading of the main
ladder
Issues:
Æ Buffer DC offset
Æ Effect of buffer
bandwidth
limitations on
overall speed
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 4
Charge Based: Serial Charge Redistribution DAC
Simplified Operation
Nominally C1=C2
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 5
QCT11 = VREF × C1 & QCT11 = 0 QCT11 + QCT12 = QCT 2 + QCT 2 = (C1 + C2 )Vo
1 2
C1
Vo = VREF ×
C1 + C2
VREF
S i nce C1 = C2 → Vo =
2
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 6
Serial Charge Redistribution DAC
Simplified Operation (Cont’d)
T1 T2
• Conversion sequence:
– Next cycle
• If S3 closed VC1=0 then when S1 closes VC1 = VC2 = VREF/4
• If S2 closed VC1=VREF then when S1 closes VC1 =VC2 =VREF/2+VREF/4
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 7
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 8
Serial Charge Redistribution DAC
Example: Input Code 101
LSB
MSB
b3 b2 b1
• Example input code 101Æ output (4/8 +0/8 +1/8 )VREF =5/8 VREF
• Very small area
• For an N-bit DAC, N redistribution cycles for one full analog output
generation Æ quite slow
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 9
Vout
Cy Cx C Cx
Vout = Vref
Cx + Cy + C
Vref
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 10
Parallel Charge Scaling DAC
reset
Vout
2(B-1) C 8C 4C 2C C C
Vref
B −1
• E.g. “Binary weighted” ∑ bi 2 i C
Vout = i =0 Vref
• B+1 capacitors & switches 2B C
(Cs built of unit elements
Æ 2B units of C)
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 11
8C 4C 2C C C 8C 4C 2C C C
b3 b2
b3 b2 b1 b1 b0 (lsb)
b0 (lsb)
Vref Vref
20 C + 21 C + 23C 11
Vout = Vref = Vref
24 C 16
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 12
Charge Scaling DAC
reset CP
Vout
2(B-1) C 8C 4C 2C C C B −1
Vout = i =0
Vref
2 B C + CP
Vref
Parasitic Insensitive
Charge Scaling DAC
CI
reset CP
-
2(B-1) C 8C 4C 2C C
+ Vout
bB-1 (msb) b3 b2 b1 b0 (lsb)
Vref
B −1 i B −1 i
∑ bi 2 C ∑ bi 2
Vout = − i = 0 Vref , B
CI = 2 C → Vo ut = − i = 0 Vref
CI 2B
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 14
Charge Scaling DAC
Incorporating Offset Compensation
CI S2
reset
reset CP S1
-
S3 Vos
2(B-1) C 8C 4C 2C C reset Vout
+
Vref
• During reset phase:
– Opamp disconnected from capacitor array via switch S3
– Opamp connected in unity-gain configuration (S1)
– CI Bottom plate connected to ground (S2)
– Vout ~ - Vos Æ VCI = -Vos
• This effectively compensates for offset during normal phase
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 15
Vref
∑ all LSB arra y C
Cse rie s = C
∑ a ll MS B a rr ay C
• Split arrayÆ reduce the total area of the capacitors required for high
resolution DACs
– E.g. 10bit regular binary array requires 1024 unit Cs while split array
(5&5) needs 64 unit Cs
– Issue: Sensitive to parasitic capacitor
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 16
Charge Scaling DAC
• Advantages:
– Low power dissipation Æ capacitor array does not dissipate DC power
– Output is sample and held Æ no need for additional S/H
– INL function of capacitor ratio
– Possible to trim or calibrate for improved INL
– Offset cancellation almost for free
• Disadvantages:
– Process needs to include good capacitive material Æ not
compatible with standard digital process
– Requires large capacitor ratios
– Not inherently monotonic (more later)
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 17
Segmented DAC
Resistor Ladder (MSB) & Binary Weighted Charge Scaling (LSB)
• Example: 12bit
DAC
– 6-bit MSB DACÆ
R- string reset
– 6-bit LSB DAC Æ Vout
binary weighted 32 C 16C 8C 4C 2C C C
charge scaling ...
... b1 b0
• Complexity much ... b5 b4 b3 b2
lower compared to .
full R-string
– Full R stringÆ
6-bit
4096 resistors
binary weighted
– Segmented Æ 64 charge redistribution DAC
R + 7 Cs (64 unit 6bit
caps) resistor
ladder Switch
Network
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 18
Current Based DACs
R-2R Ladder Type
• R-2R DAC basics:
R V/2
– Simple R network I/2
I I/2
divides both voltage V
& current by 2 2R 2R
Iout
VB
2R 2R 2R 2R 2R 2R
R R R R
VEE
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 20
R-2R Ladder DAC
How Does it Work?
Consider a simple 3bit R-2R DAC:
Iout
2R 2R 2R 2R
R R
VEE
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 21
I3 I2 I1 IT I3 I2 I1+IT
VB Q3 Q2 Q1 QT VB Q3 Q2
2R 2R 2R 2R 2R 2R R
R R R R
VEE VEE
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 22
R-2R Ladder DAC
How Does it Work?
Simple 3bit DAC-
2- Consolidate next two stages:
I1+IT I2+I1+IT
I3 I2 I3
VB Q3 Q2 VB Q3 Q2
2R 2R R 2R R
R R R
VEE VEE
I I I
I3 = I2 + I1 + IT → I3 = T ot al , I2 = T ot a l , I1 = To t al
2 4 8
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 23
Iout
4I 2R 2I 2R I 2R I 2R
R R
VEE
4I 2I
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 24
R-2R Ladder DAC
RTotal
R
-
+ Vout
VB
16I 2R 8I 2R 4I 2R 2I 2R I 2R I 2R
R R R R
VEE
16I 8I 4I 2I
Trans-resistance amplifier added to:
- Convert current to voltage
- Generate virtual ground @ current summing node so that output
impedance of current sources do not cause error
- Issue: error due to opamp offset
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 25
S i nce RT ota l i s co d e d ep en d an t
ou t
→ Vos w ou l d b e co de d ep en da n t
→ G i ves r i s e t o I N L & DN L
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 26
R-2R Ladder
Summary
• Advantages:
– Resistor ratios only x2
– Does not require precision capacitors
• Disadvantages:
– Total device emitter area Æ AEunitx 2B
Æ Not practical for high resolution DACs
– INL/DNL error due to amplifier offset
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 27
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 28
Current Source DAC
Unit Element R
…………… -
Vout
+
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 29
• “Binary weighted”
• B current sources & switches (2B-1 unit current sources but less
# of switches)
• Monotonicity depends on element matching Ænot guaranteed
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 30
Static DAC Errors -INL / DNL
Static DAC errors mainly due to component mismatch
– Systematic errors
• Contact resistance
• Edge effects in capacitor arrays
• Process gradients
• Finite current source output resistance
– Random variations
• Lithography etc…
• Often Gaussian distribution (central limit theorem)
*Ref: C. Conroy et al, “Statistical Design Techniques for D/A Converters,” JSSC
Aug. 1989, pp. 1118-28.
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 31
-
Vout
+
• Simplified example:
– 3-bit DAC
– Assume only two of the current sources mismatched (# 4 & #5)
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 32
Current Source DAC
DNL/INL Due to Element Mismatch
( I + Δ I )R − IR 2
DN L[ 5] =
IR
1xIref R
DN L[ 5 ] = Δ I / I [ L S B ] Digital
Input
→ IN Lmax = −Δ I / I [ L S B ] 0
000 001 010 011 100 101 110 111
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 33
Component Mismatch
Probability Distribution Function
• Component parameters Æ Random variables
* Æ
pdf [f(x1,x2)] pdf [f(x3,x4)] pdf [f(xm,xn)] Gaussian pdf
..……..
* * Æ
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 34
Gaussian Distribution
0.4
0.2
2 0.1
−(
x−μ )
1 2σ 2
p( x ) = e
2πσ 0
-3 -2 -1 0 1 2 3
where: (x-μ) /σ
μ is the expected value and
standard deviation :σ = E( X 2 ) − μ 2
σ 2 → variance
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 35
Yield
In most cases we are
0.4
Probability density
P (− X ≤ x ≤ + X ) = 1
P(-X ≤ x ≤ +X)
95.4
2
0.8
+X − x 68.3
1 0.6
= ∫e
2π − X
2 dx
0.4 38.3
0.2
0
⎛ X ⎞ 0 0.5 1 1.5 2 2.5 3
= e rf ⎜ ⎟ X/σ
⎝ 2⎠
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 36
Yield
X/σ P(-X ≤ x ≤ X) [%] X/σ P(-X ≤ x ≤ X) [%]
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 37
Example
• Measurements show that the offset voltage of
a batch of operational amplifiers follows a
Gaussian distribution with σ = 2mV and μ = 0.
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 38
Component Mismatch
Example: Resistors layouted out 400
side-by-side
No. of resistors
300
……. ……. ΔR
200
R
100
After fabrication large # of
devices measured 0
& graphed Æ typically if 988 992 996 1000 1004 1008 1012
sample size large shape R[ Ω ]
is Gaussian E.g. Let us assume in this example 1000 Rs measured
& 68.5% fall within +-4OHM or +-0.4% of average
Æ 1σ for resistorsÆ 0.4%
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 39
Component Mismatch
Example: Two resistors 0.4
Probability density p(x)
R1 + R2 0.1
R= 0.05
2
0
dR = R1 − R2 −3σ −2σ −σ 0 σ 2σ 3σ
dR
For typical technologies & geometries R
1 1σ for resistors Æ 0.02 to 5%
σ dR
2
∝
Are a
R In the case of resistors σ is a function of area
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 40
DNL Unit Element DAC
E.g. Resistor string DAC: Vref
Assumption: No systematic error- only random error
2B −1
Iref
∑o Ri
Δ = Rmedi an Iref w h ere Rmedian =
2B
Δi = Ri Iref
Δi − Δmedian
D N Li =
Δmedian Δi = Ri I ref
Ri − R dR dR
medi an
= = ≈
R R Ri
median median
σ DNL = σ dRi
Ri
To first order Æ DNL of unit element DAC is independent of resolution!
Note: Similar results for other unit-element based DACs
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 41
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 42
Yield
X/σ P(-X ≤ x ≤ X) [%] X/σ P(-X ≤ x ≤ X) [%]
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 43
Ri Answer:
From table: for 99.9%
Æ X/σ = 3.3
σDNL = σdR/R = 0.4%
3.3 σDNL = 3.3x0.4%=1.3%
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 44
DAC INL Analysis
Ideal Variance
N A=n+E n n.σε2
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 45
DAC INL
σINL/σε
⎛ n⎞
σ E2 = n ⎜ 1 − ⎟ ×σ ε
2 (2B-1)0.5/2
⎝ N⎠
dσ E 2
T o f i n d ma x. var i a nce : =0
dn
N
→ n = N / 2 → σ E2 = ×σ ε 2
4
• Error is maximum at mid-scale (N/2):
1
σ IN L = 2B − 1 σε 0
2 0 0.5 1
w i th N = 2B − 1 n/N
• INL depends on both DAC resolution & element matching σε
• While σDNL = σε is to first order independent of DAC resolution and is
only a function of element matching
Ref: Kuboki et al, TCAS, 6/1982
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 46
Untrimmed DAC INL
Example:
1 B
σ INL ≅ 2 − 1 σε
Assume the following requirement 2
for a DAC:
σINL = 0.1 LSB ⎡ σ INL ⎤
B ≅ 2 + 2log 2 ⎢ ⎥
⎣ σε ⎦
Find maximum resolution for:
σε = 1% σε = 1% → Bmax = 8.6bits
σε = 0.5% σε = 0.5% → Bmax = 10.6bits
σε = 0.2% σε = 0.2% → Bmax = 13.3bits
σε = 0.1% σε = 0.1% → Bmax = 15.3bits
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 47
Simulation Example
12 Bit converter DNL and INL
2 σε = 1%
B = 12
DNL [LSB]
0
Why is the
results not as
-1
500 1000 1500 2000 2500 3000 3500 4000 expected per our
bin derivation?
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 48
INL & DNL for Binary Weighted DAC
Iout
• INL same as for unit
element DAC
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 49
DAC DNL
Example: 4bit DAC
..
Analog ..
Iout Output [Iref]
.
I8on, I4off ,I2off ,I1off
8
I8off, I4on ,I2on ,I1on
7
I8 I2 I1 6
I4
8Iref 5
4Iref 2Iref Iref
4 I4on ,I2off ,I1off
..
..
.
3 I2on ,I1on
• DNL depends on transition
2 I2on ,I1off
– Example:
I1on
0 to 1 ÆσDNL2 = σ(dΙref/Ιref)2 1
Digital
1 to 2 Æ σDNL2 = 3σ(dΙref/Ιref)2
Input
0
0000 0001 0010 0011 0100 0101 0110 0111 1000
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 50
Binary Weighted DAC DNL
• Worst-case transition
DNL for a 4-Bit DAC occurs at mid-scale:
15
2
σ DNL ( )
= 2B−1 − 1 σ ε2 + 2B−1 σε2
144244
3 14243
( )
σDNL2/ σε2
0111... 1000...
10
≅ 2Bσ ε2
σ DNLma x = 2B / 2σε
5 1 1
σ INLmax ≅ 2B − 1 σ ε ≅ σ DNLmax
2 2
• Example:
0 2 4 6 8 10 12 14 B = 12, σε = 1%
DAC Output [LSB] ÆσDNL = 0.64 LSB
ÆσINL = 0.32 LSB
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 51
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 52
Current-Switched DACs in CMOS
Iout
Iref Switch Array
dId dW L 2d Vth
= +
Id W
L VGS − Vth ……
• Disadvantages:
Accuracy depends on device W/L & Vth matching
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 53
−1 B −1 B
σ IN L ≅ 2 2 σε σ IN L ≅ 2 2 σε
S = 2B S=B
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 54
Unit Element versus Binary Weighted DAC
Example: B=10
Unit Element DAC Binary Weighted DAC
σ D NL = σ ε σ DNL ≅ 2 σ ε = 32σ ε
B
2
−1 −1
σ INL ≅ 2 σ ε = 16σ ε
B
σ I NL ≅ 2 σ ε = 1 6σ ε
B 2
2
S = B = 10
S = 2B = 1 0 2 4
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 55
1
0
-1
-2 Statistical result!
500 1000 1500 2000 2500 3000 3500 4000
bin
2
INL [LSB]
-1
500 1000 1500 2000 2500 3000 3500 4000
bin
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 56
10Bit DAC DNL/INL Comparison
Plots: 100 Simulation Runs Overlaid
Ref: C. Lin
and K. Bult,
"A 10-b,
500-
MSample/s
CMOS DAC
in 0.6
mm2," IEEE
Journal of
Solid-State
Circuits, vol.
33, pp. 1948
- 1958,
December
1998.
Note: σε=2%
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 57
Ref: C. Lin
and K. Bult,
"A 10-b,
500-
MSample/s
CMOS DAC
in 0.6
mm2," IEEE
Journal of
Solid-State
Circuits, vol.
33, pp. 1948
- 1958,
December
1998.
Note: σε=2%
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 58
DAC INL/DNL Summary
• DAC choice of architecture has significant impact on
DNL
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 59
Segmented DAC
• Objective:
Compromise between unit element and binary weighted DAC
• Approach: VAnalog
B1 MSB bits Æ unit elements
B2 LSB bits Æ binary weighted BTotal = B1+B2
EECS 247- Lecture 14 Data Converters: DAC Design © 2008 H.K. Page 60
Comparison
Example: ( B2 +1)
B = 12, B1 = 5, B2 = 7 σ DNL ≅ 2 2
σ ε = 2σ I NL
B1 = 6, B2 = 6 −1
σ I NL ≅ 2 σε
B
2
MSB LSB
S = 2B1 − 1 + B2
Assuming: σε = 1%