Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
D. Strle
E-mail: drago.strle@fe.uni-lj.si
Overview:
1. Introduction
2. Flash AD converter
3. Sub ranging and two-step converter
4. Folding and interpolation
5. Time-interlieved converter
6. Successive approximation converter
7. Pipeline converter
8. Algorithmic converter
9. Integrating converter
10. Voltage to frequency converter
1
Introduction
This session presents some architectures, features and limitis of Nyquist rate A/D
Converters.
The main feature is low ratio between sampling frequency and usefull frequency
Band.
The main problem is complicated antialiasing filter and therefore big silicon area and
high power consumption.
fo fs/2 fs f
vout t vin t 1 e t Output of a first order system;
1
= ; is feedback factor; f T is GBW of the opamp
2 f T
1 fT fT N 1 ln 2
f clk ;
2 tsett N 1 ln 2 f clk
2
Introduction - Max. Frequency for high speed
RU CU L2
TD ; RU CU 1017 s / m2 ;
4 4
At what length L the delay is 1ps?
3
Introduction – Metastability error
Cp
Regenerative time-constant : L
gm
t
V0 rL
Metastability Error probability : PE e
Vin A0
V0 is voltage swing required for valid logic level
1
tr = is period of latch phase
Example: 2 fs
17 L
2018/2019 Microelectronic systems 7
Flash AD converter - 1
i 1 2
Vr ,i Vref
2 1
N Vref Vref ; i 1, 2,...2 N 1
Errors (Vref):
• Static
• Matching
• Dynamic
Errors (comparators):
• Offset
• Meta-stability
4
Flash AD converter - 2
Flash AD converter - 3
INL estimation due to gradient:
Rpoly=25Ω/□
Runit=50 Ω
Gradient= 300ppm (linear)
Error sources:
b • Temperature gradient
• TC<=10000ppm/°C
• Voltage dependency
• Dynamic errors (resistance-
capacitance)
5
Flash AD converter - 3
Offset of comparators is added directly to the reference voltage and modifies the
transition threshold.
i Vth ,i Vth ,i 1 Voff ,i Voff ,i 1
LSB
For monotonous ADC and no missing codes Voff ,i
2
For example:
N 8, VFS 1V , 3.3 to ensure 99.9% yield: Voff 0.59mV
0.6mV
For 0.18um process: AVT 1 mV m ; VGS Vth 0.12; VTH dim ;
2
Voff is several mV for CMOS.
W 5 m mA 2mV L
; g m 0.8 ; I bias 80uA; AVT ; 1.8%
L 0.18 m V m L
Solution:
2
4 106 80 106
Voff , MOS 3
0.00182 2.77mV
0.9 0.8 10
The offset of a comparator is too big to be useful and to reach good yield (99.9%
for example)
LSB
3.3 off off LSB 0.15 sub mV range
2
Auto-zero technique
6
Flash AD converter – 5: auto zero
AZ : Vout Vos AZ
V in Vos AZ
VCos AZ V1 AZ Vos AZ
AZ : Vout AZ A0Vd ,in AZ (decision HI or LO )
Vd ,in AZ Vin AZ Vin AZ
Vd ,in AZ V2 AZ V1 AZ
7
Flash AD converter – 6:
Practical limits:
• Small unit resistance is needed to maintain the speed and small area
Loading the reference (DC to HF)
For fs>100MHz, reference is critical
• Exponential increase (with N) of area and power
• Metastability of a comparator
• Capacitive load of the S&H circuit:
• For N=8, α=0.1, fs=500MHz, 2^NCp=2.5pF
f s 2 N C par Vin,max
I S & H , peak 16mA
2
For fs>500MHz and N=8 the circuit is impractical
For fs>2GHz and N=6 the circuit is impractical
8
Sub ranging A/D converter - accuracy requirements
S&H circuit noise: Error of coarse ADC:
– kT/C < 1/2LSB CS&H=0.5pf
– leads to Vn,kT/C=90uV (not very demanding )
• Error of coarse ADC
• Error of DAC:
• Error of fine ADC
9
Folding and interpolation - 1
10
Folding architectures: Current based
Problem:
• Describe the circuit and determine basic equations of its operation
11
Interpolation
Definition:
An interpolator generates value that is intermediate between two other values
(voltage,…) using resistive or capacitive dividers for voltage or current division.
V1 R2 V2 R1 V1C1 V2C2
Vint er Vint er 1 I int er I1 1 I 2
R1 R2 C1 C2
W L 1,i W L 2,i
; 1 ;
W L 1 W L 2
2018/2019 Microelectronic systems 23
Reduction of
• Preamplifiers,
• parasitic caps,
• reference taps,
• Improved settling
12
Interpolation in folding converters
Preamplifier
equivalent circuit
13
Time interlieved converter
Clock misaligment:
• Similar problem as jitter.
• If delay errors are fixed the error occurs with period fs/N:
• For clock missaligment between K-th channel and 1st channel δK and sinewave input signal
the error is ( sampled at fs/N) :
dVin
clk , K K K Ainin cos in nT ; n i N K
dt nT
Pin K2 in2
P ,clk
N
Pin P 1
SNDR in
Pn P ,clk Pn Pin
1 K in
2 2
N Pn
14
Time interlieved converter – Accuracy requirements: offset
• Identical offset in all chanells causes only overall offset usually not a problem
• Different offsets bring tones at fs/N and its multiples fall into the base-band of
signal band
• Allowed Vof missmatch is defined by SFDR. Worst case scenario have offsets with
+Voff and –Voff for adjacent chanels, which leads to square-wave with 1st
harmonic with amplitude:
Voff , H 1 4 Voff
VFS
SFDR 20 log10
2 4 V
off
8
Voff 0.32 LSB for SNR=SFDR
8 12
For 10bits, VFS 1V , and 99% yield 2.57 off 0.5 LSB
off 0.19mV
• Identical gain errors are not a problem gain error of the complete converter
• Different gains: causes tones because of multiplication of input signal with different
chanel gains. Worst case occurs for alternating gains (1+εG) and (1-εG), which is
equivalent as multiplication of input signal with square-wave having amplitude 2 εG
at fs/2 and/or its multiples.
The largest component occur at: (fs/2±fin) or (fs/4±fin) ....with amplitude:
4
AG , H 1 G Ain
Ain
SFDR 20 log10 20 log10
4 G Ain 4 G
For example:
G 0.1% leads to SFDR 58dB
15
Time interlieved converter- Example
16
Succesive approximation converters: errors - 1
Error sources:
• S&H
• Comparator
• DAC
They produce random term and INL and DNL
Home-work:
Simulate with matlab a static behavior of an 8-bit successive approximation converter.
Use slow ramp as an input and estimate INL and DNL. Model the non-ideality of the
DAC using 2nd and 3rd order harmonic distortions terms.
Write first a matlab program for ideal SA ADC.
17
Succesive approximation converters: charge redistribution - 1
C1
Parasitic capacitance of the top plate Cp attenuates the voltage on comparator input
by factor α but does not change the sign, so it is not a contributor to the errors:
Cu 2n
Cu 2n C p
This happens because of pre-charging phase.
Auto-zero of the comparator could be used for offset cancellation
18
Pipeline converters: architecture
Vres j Vres j 1 VDAC b j K j
n
For DAC gain GDAC 2 j the DR of residue is equal to DR of input
This allows the same reference voltage used in all stages
1 bit ADC and DAC, K=2 3 bit ADC and DAC, K=8
19
Pipeline converters: accuracy - 1
ADC:
Accuracy requirement is greatest for the first stage in the pipeline and S&H stage.
Figure above show error of the ADC threshold for 1 bit and 3 bit case with
• ideal DAC
• Ideal amplifier (K)
An error will not occur until ADC of the next stage will not be able to convert
residue voltage outside the range (±Vref).
This is the basis for error correction.
DAC:
• DAC error of the first stage modify residue over complete LSBs segment.
• Input referred INL of any DAC must be better than INL of the converter
and better than 1LSB to maintain monotonicity ( at the input !! ). Therefore, the
accuracy requirement for each successive DAC is relaxed since residue is divided
by 2k. After a few stages INL of DAC becomes of no concern
GAIN:
• Interstate increases or decreases the slope of the residue; the error is zero in the
middle and max at the ending of the segment.
Gj 2
nj
1 G
V G 2Vref
• ΔV referred to the input must be less than INL ( less than LSB to ensure
monotonicity )
20
Pipeline converters: digital correction - 1
Errors caused by non-idealities in the ADC can be cancelled out using digital
correction technique.
The error occurs when next stage can not properly convert out-of-range signal.
Solution:
Add additional levels to the ADC. This redundant levels:
• Avoids out-of-range residuals
• Provide info for digital domain
For example 1 bit DAC requires 1 threshold.
Adding 2 threshold (symmetrical around zero) levels to the ADC has name
1.5bit/stage
(1.5bits because 2 bits ADC employs 3 levels)
Vout t V out V e
t tslew
t tslew
Exponential settling produce
nonlinear error.
Settling error is important at the
V out 1 begenning and is reduced in later
V SR ; tslew ;
SR 2 fT stages ( errors devided by previous
interstage gains)
fT is unity gain bandwidth Use this equ. for behavioral.
is feedback factor simulations
2018/2019 Microelectronic systems 42
21
Algorithmic A/D converter
2n Tclk kTclk
Vin Vref
Vref
Vin k ;
2n
k is digital conversion result
22
Voltage to frequency converter
Problems
1. Repeat Example 2 but for the interconnection use polysilicon with specific
resistance of 20 Ω/□ and parasitic capacitance of 0.7 fF /µm2 . The length of the
interconnection is 100 µm.
2. A comparator must be able to detect an input signal with 5 mV accuracy. The
parasitic capacitance of the regenerative loop of the latch is 0.1 pF and the gain of
the pre amplifier is 100. Determine the transconductance of the regenerative loop
that ensures a metastability error probability equal to 0.001 at 400 MHz.
3. The resistive divider used to generate the reference voltages for 8-bit flash
converter is a serpentine made by 32 unity elements per linear segment. The value
of resistances is affected by a gradient by 0.1% per resistance position in both y
and x directions. Determine the maximum INL and estimates the harmonic
distortion for a full scale input sine wave.
4. Determine the transistor sizing of an MOS pre-amplifier which differential pair
uses 300 µA bias current and uses 300 mV over- drive. The variance of the
offset must be 1 mV with dominant contribution from the tem controlled by the
process parameter AVT = 1.6 mV /µ.
23
Problems
Problems
10. Use the simulation file of the Example 6 for a 5+5-bit converter. The maximum
loss in resolution is 0.5 bits and the SFDR must be better than 70 dB.
11. Describe with a behavioral language the non-linear response of a 3-bit folder and
determine the output spectrum with a full scale input sine wave. Compare the
results with the input-output characteristics of a 3-bit residue generator.
12. Assume that the real folding response of Fig. 4.19 (with 4-bit) is approximated by
parabolas joining together the 10% terminations of the linear segments with
continuous derivative. Unfold the response and use the result to estimate the
output spectrum with a half-scale sine wave.
13. The input-output transfer function of a preamplifier is modeled by
Vout=2/πatan(Vin/0.1). Determine the minimum number of preamplifiers that
obtain, with interpolation, a 6-bit flash.
14. The folding response of a 4-bit folder is linear in the 20% to 80% fraction of each
folding segment. The joining parts are part of sine waves. Determine the 1/8, 1/4,
and 1/2 interpolation curves and estimate possible errors in the zero crossings.
15. Estimate the INL improvement obtained by the interpolation network used in
Example 7 by averaging the results of 100 simulations. Use interpolating
resistances equal to 2 and 1/2 Rout.
24
Problems
16. Repeat the Example 9 studying separately effect of time jitter, random noise in the
comparator, and random and systematic errors of the DAC.
17. Determine the input-output characteristics of a residue generator that uses a 6
comparator flash with thresholds uniformly distributed on the dynamic range.
Assume that the residue is converted by a 5-bit flash and the system uses digital
correction. What is the obtained number of bits?
18. Repeat the Example 4.10 but use a gain error in the residue generator. Assume
that the gain of the three stages are 2.1, 1.96, 2.07 respectively. Use a linear
ramp at the input and determine the analog equivalent of the output. Plot the error
as a function of the input amplitude.
19. Extend the number of stages of the pipeline of Example 4.10 to 6 and convert the
residue of the last stage with a 4-bit flash. Use a gain equal to (2+2/27) in the last
pipeline stage and plot the input-output characteristics. Try different gain errors
and explain the results.
Problems
20. Use the stage model of Example 4.11 for a 10-bit pipeline made by k stages
followed by a (10-k)-bit flash. The pipeline runs at 100MHz. An empiric equation
for estimating the power consumption of the residue generator is P = (SR+fT /β)/10
mW while the power consumption of a comparator is 2 mW. Scale the
performance requirements along the pipeline so that the SFDR is better than 70
dB. Determine the value of k that minimizes the power consumption.
21. Determine the result of 8 bit SAR ADC if Vref=1V, Vin=0.353V and during 4th bit
determination the output mad a wrong decision because of a spike. All other steps
are correct.
22. 4 bit algorithmic converter with Veref=1V converts Vin=0.21 V. The error is in
multiplication by 2 capacitor ( 1,95 instead of 2 ). Determine the result.
25