Professional Documents
Culture Documents
Lecture 15
• D/A converters
– Practical aspects of current-switched DACs
(continued)
– Segmented current-switched DACs
– DAC dynamic non-idealities
– DAC design considerations
– Self calibration techniques
• Current copiers
• Dynamic element matching
– DAC reconstruction filter
• A/D converter introduction
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 1
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 2
INL & DNL for Binary Weighted DAC
Iout
• INL same as for unit
element DAC
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 3
DAC DNL
Example: 4bit DAC
..
.
Iout
Analog ..
Output [Iref]
8
I8 I2 I1 6
I4
5
8Iref 4Iref Iref –e1
4
2Iref +2e2
..
..
.
3 I2on ,I1on
• DNL depends on transition DNL= -e1
2 I2on ,I1off
– Example:
DNL=e1+2e2
I1on
0 to 1 sDNL2 = s(dIref/Iref)2 1
Digital
DNL= -e1
1 to 2 sDNL2 = 3s(dIref/Iref)2 0 Input
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 4
Binary Weighted DAC DNL
• Worst-case transition
DNL for a 4-Bit DAC occurs at mid-scale:
15
s DNL
2
)
2B1 1 se2 + 2B1 se2 )
sDNL2/ se2
0111... 1000...
10
2Bse2
s DNLmax 2B / 2se
5 1 1
s INLmax 2B 1 s e s DNLmax
2 2
• Example:
0 2 4 6 8 10 12 14 B = 12, se = 1%
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 5
1
s INL 2 1
s e 1 6s e s INL 2 s e 16s e
B B
2 2
S 2B 1 0 24 S B 10
Requires B to (2B-1) decoder to B-bit digital input can be
address switches used directly
Significant difference in performance and complexity!
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 6
10Bit DAC DNL/INL Comparison
Plots: RMS for 100 Simulation Runs
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: se=2%
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 7
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 8
Segmented DAC
Combination of Unit-Element & Binary-Weighted
• 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 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 9
Comparison
Example: B2 +1)
B = 12, B1 = 5, B2 = 7 s DNL 2 2
s e 2s INL
B1 = 6, B2 = 6
2 1
s INL 2 se
B
MSB LSB
S 2B1 1 + B2
Assuming: se = 1%
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 11
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 12
Segmented Current-Switched DAC
Cont’d
• 4-bit MSB Unit
element DAC + 4-
bit binary weighted
DAC
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 13
IN
• Register
Latched NAND gate:
CTRL=1 OUT=INB
Register
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 14
Segmented Current-Switched DAC
Reference Current Considerations
• Iref is referenced
to VDD
Problem:
Reference
current
varies with +
supply -
voltage
Iref =(VDD-Vref ) / R
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 15
+
-
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 16
DAC Dynamic Non-Idealities
• Finite settling time
– Linear settling issues: (e.g. RC time constants)
– Slew limited settling
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 17
5
• DAC output depends on
0
timing 10
1 1.5 2 2.5 3
Early
5
• Plot shows situation where
0
the control signals for LSB & 1 1.5 2 2.5 3
10
MSB
Late
– LSB/MSBs on time 5
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 18
Glitch Energy
• Glitch energy (worst case) proportional to: dt x 2B-1
• dt error in timing & 2B-1 associated with half of the switches changing
state
• LSB energy proportional to: T=1/fs
• Examples:
fs [MHz] B dt [ps]
1 12 << 488
20 16 << 1.5
1000 12 << 0.5
Timing accuracy for logic circuitry associated with data converters much
more critical compared to digital circuitry e.g. DSP
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 19
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 20
DAC Implementation Examples
• Untrimmed segmented
– T. Miki et al, “An 80-MHz 8-bit CMOS D/A Converter,” JSSC
December 1986, pp. 983
– A. Van den Bosch et al, “A 1-GSample/s Nyquist Current-Steering
CMOS D/A Converter,” JSSC March 2001, pp. 315
• Current copiers:
– D. W. J. Groeneveld et al, “A Self-Calibration Technique for
Monolithic High-Resolution D/A Converters,” JSSC December
1989, pp. 1517
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 21
2m tech., 5Vsupply
8x8 array
6+2 segmented
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 22
Two sources of systematic error:
- Finite current source output resistance
- Voltage drop due to finite ground bus resistance
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 23
I2 k VGSM 2 Vth )
2
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 24
Current-Switched DACs in CMOS
2
4RI Iout
I2 k VGSM 2 Vth ) I1 1
2
VGSM 1 Vth
2I1 VDD
gmM 1
VGSM 1 Vth
4RgmM 1
2 M1 I1 M2 I2 M3
I3 M4 I4 M 5 I5
I2 I1 1 I1 1 4RgmM 1 )
2
2
7RgmM 1
I3 I1 1 I1 1 7RgmM 1 ) Rx4I Rx3I Rx2I RxI
2
2
9RgmM 1
I4 I1 1 I1 1 9RgmM 1 ) Example: 5 unit element current sources
2
2
10RgmM 1
I5 I1 1 I1 1 10RgmM 1 )
2
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 25
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 26
Current-Switched DACs in CMOS
Example: INL of 3-Bit unit element DAC
0.3
Sequential current
0.2
source switching
INL [LSB]
-0.1
0 1 2 3 4 5 6 7
Input
Example: 7 unit element current source DAC- assume gmR=1/100
•If switching of current sources arranged sequentially (1-2-3-4-5-6-7)
INL= +0.25LSB
•If switching of current sources symmetrical (4-3-5-2-6-1-7 )
INL = +0.09, -0.058LSB INL reduced by a factor of 2.6
This technique is also effective in compensating for systematic errors associated with
process gradients.
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 27
source switching
0
Symmetrical current
source switching
-0.1
-0.2 1 2 3 4 5 6 7
Input
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 28
(5+5)
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 29
• Layout of Current
sources -each
current source
made of 4 devices
in parallel each
located in one of
the 4 quadrants
• Thermometer
decoder used to
convert incoming
binary digital
control for the 5
MSB bits
• Dummy decoder
used on the LSB
side to match the
latency due to the
MSB decoder
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 30
• Current source layout
– MSB current sources layout
in the mid sections of the
four quad
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 31
t
• Note that each current cell has its clocked latch and clock signal laid out to be close
to its switch to ensure simultaneous switching of current sources
• Special attention paid to the final latch to have the cross point of the complementary
switch control signal such that the two switches are not both turned off during
transition
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 32
DNL/INL [LSB]
IFull-Scale [mA]
• Measured DNL/INL with current associated with the current cells as variable
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 33
Called:
Current Copier
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 34
16bit DAC (6+10) - MSB DAC uses current copier technique
I/2 I/2
Current
Divider I
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 35
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 36
• Idea is:
o Even though the two
outputs of the diff pair
divider may not be
exactly equal (due to
device mismatch)
o The sum of the two
currents stays
constant
By using switching
tie both outputs to
sum of the two
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 37
I1 I2 I2(1) 21 Io 1 1 ) I2( 2 ) 21 Io 1 + 1 )
fclk
Average of I2 :
/ 2 error 1 I (1) + I2( 2 )
I2 2
2
Io
I 1 1 ) + 1 + 1 )
o
2 2
I
o
Note: DAC frequency of operation < fclk 2
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 38
Dynamic Element Matching
T=1/fclk
During F1 During F2
I1(1) 21 Io 1 + 1 ) I1 2 Io 1 1 )
(2) 1
fclk
I1 I2
I2(1) 21 Io 1 1 ) I2( 2 ) 21 Io 1 + 1 )
Note:
For optimum current division accuracy clock
frequency is divided by two for each finer division
Problem: DAC frequency of operation drastically
reduced
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 40
Dynamic Element Matching
During F1 During F2 Io/4 Io/4 Io/2
I3
I1(1) 12 I o 1 + 1 ) I1( 2 ) 12 I o 1 1 )
I4 I2
I (1)
12 I o 1 1 ) I ( 2)
12 I o 1 + 1 )
fclk
2 2
Io
E.g. 1 = 2 = 1% matching error is (1%)2 = 0.01%
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 41
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 42
Example: State-
of-the-Art current
steering DAC
Segmented:
6bit unit-element
8bit binary
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 43
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 44
DAC In the Big Picture
Analog Input
• Learned to build
DACs Analog Anti-Aliasing
Preprocessing Filter
– Convert the
incoming digital A/D Sampling
signal to analog Conversion +Quantization
000
• DAC output DSP ...001...
staircase form 110
D/A "Bits to
• Some applications Conversion Staircase"
require filtering
(smoothing) of DAC Reconstruction
Analog
output Post processing Filter
Reconstruction
filter Analog Output
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 45
0.5
• Tasks: 0
0 0.5 1 1.5 2 2.5 3
– Correct for sinc droop if needed
DAC Output
1 6
x 10
– Remove “aliases”
0.5
(stair-case approximation)
Reconstruction filter: Need and 0
0 0.5 1 1.5 2 2.5 3
requirements depend on
Normalized Frequency f/fs
application
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 46
Reconstruction Filter Options
Reconstruction Filters
Digital DAC SC CT
Filter Filter Filter
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 47
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 48
Summary
D/A Converter
• D/A architecture
– Unit element – complexity proportional to 2B- excellent DNL
– Binary weighted- complexity proportional to B- poor DNL
– Segmented- unit element MSB(B1)+ binary weighted LSB(B2)
Complexity proportional ((2B1-1) + B2) -DNL compromise between the two
• Static performance
– Component matching
• Dynamic performance
– Time constants, Glitches
• DAC improvement techniques
– Symmetrical switching rather than sequential switching
– Current source self calibration
– Dynamic element matching
• Depending on the application, reconstruction filter may be needed
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 49
What Next?
Analog Input
D/A "Bits to
– Need to build Conversion Staircase"
circuits for
amplitude Analog
Post processing
Reconstruction
quantization Filter
Analog Output
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 50
Analog-to-Digital Converters
•Two categories:
– Nyquist rate ADCs fsigmax ~ 0.5xfsampling
• Maximum achievable signal bandwidth higher compared
to oversampled type
• Resolution limited to max. 14bits
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 51
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 52
Ideal Sampling
1
• In an ideal world, zero
resistance sampling
switches would close for vIN vOUT
S1
the briefest instant to
sample a continuous C
voltage vIN onto the
capacitor C
Output Dirac-like
pulses with amplitude 1
equal to VIN at the time
of sampling
T=1/fS
• In practice not realizable!
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 53
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 54
Ideal T/H Sampling
Continuous time
Time
Track
Hold
T/H signal
(Sampled-Data
Signal)
Clock
Discrete-Time
Signal
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 55
Practical Sampling
Issues
1
vIN vOUT
M1
C
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 58
Sampling Network kT/C Noise
22 B
C 12k BT
VFS 2
The large area required for C limit highest achievable resolution for
Nyquist rate ADCs
Oversampling results in reduction of required value for C (will be covered in
oversampled converter lectures)
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 59
Clock Jitter
• So far : clock signal controls sampling instants –
which we assumed to be precisely equi-distant in
time (period T)
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 60
Clock Jitter
• Sampling jitter x(t)
adds an error actual
sampling
voltage time tJ
proportional to the x’(t0)
product of (tJ-t0)
and the derivative
of the input signal
at the sampling nominal (ideal)
instant sampling
time t0
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 61
Clock Jitter
• The error voltage is x(t)
actual
e = x’(t0)(tJ – t0) sampling
time tJ
x’(t0)
error
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 62
Effect of Clock Jitter on Sampling of a
Sinusoidal Signal
Sinusoidal input Worst case
Ampl i t ude: A A AFS f x fs
Frequency: fx 2 2
Ji t t er: dt
AFS
e( t )
x( t ) A si n 2p f xt ) 2 2B +1
x' ( t ) 2p f x Acos 2p f xt ) 1
dt
2 p fs
B
x' ( t ) max 2p f x A
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 63
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 64
Statistical Jitter Analysis
• If x’(t) and the jitter are independent
– E{[x’(t)(tJ-t0)]2}= E{[x’(t)]2} E{(tJ-t0)2}
1
2p f x2 2
2
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 66
Example: ADC Spectral Tests
SFDR
SDR
Ref: W. Yang et al., "A 3-V 340-mW 14-b 75-Msample/s CMOS ADC with 85-dB SFDR
at Nyquist input," IEEE J. of Solid-State Circuits, Dec. 2001
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 67
More on Jitter
• In cases where clock signal is provided from off-chip have to
choose a clock signal source with low enough jitter
• On-chip precautions to keep the clock jitter less than single-digit
pico-second :
– Separate supplies as much as possible
– Separate analog and digital clocks
– Short inverter chains between clock source and destination
• Few, if any, other analog-to-digital conversion non-idealities
have the same symptoms as sampling jitter:
– RMS noise proportional to input signal frequency
– RMS noise proportional to input signal amplitude
In cases where clock jitter limits the dynamic range, it’s easy
to tell, but may be difficult to fix...
EECS 247 Lecture 15: Data Converters- DAC Design & Intro. to ADCs © 2010 Page 68