Title: FE8113
1FE8113 High Speed Data Converters
2Part 2 Digital background calibration
3Papers 3 and 4J.P.Keane et.al Digital
Background Calibration for Memory Effects in
Pipelined Analog-to-Digital Converters, IEEE
Transactions on Circuits and Systems I Regular
Papers Accepted for future publication, Volume
PP, Issue 99, 2005 pp 1-15J.Ming, S.Lewis An
8-bit 80-Msample/s Pipelined Analog-to-Digital
Converter With Background Calibration, IEEE
Journal of Solid-State Circuits, Vol. 36, No. 10,
October 2001, pp 1489-1497
4This weeks funny picture
Nervous moment by G.I.Joe
5J.P.Keane et.al Digital Background Calibration
for Memory Effects in Pipelined Analog-to-Digital
Converters
Outline Memory errors can occur in the stages of
a pipeline ADC due to several effects. This paper
describes the sources of such memory effects and
the impact they have on ADC performance. Then,
two new algorithms for digital calibration of
memory effects are proposed.
6J.P.Keane et.al Digital Background Calibration
for Memory Effects in Pipelined Analog-to-Digital
Converters
Introduction to the pipeline ADC and notation
Stage i output
Stage transfer function
Total ADC output
Everything ideal
7J.P.Keane et.al Digital Background Calibration
for Memory Effects in Pipelined Analog-to-Digital
Converters
Sources of memory effects Capacitor dielectric
absorption/relaxation effect 1) Charge cap to
VCVinit 2) At t0, discharge by short until
tt0 3) Allow the capacitor to float until
ttf Charge gather back from dielectric to
plates Ideal pipleline SC-stage Normalized
values
8J.P.Keane et.al Digital Background Calibration
for Memory Effects in Pipelined Analog-to-Digital
Converters
Sources of memory effects - Add model for cap
dielectric absorption/relaxation memory
effect 1) At t(k-0.5)T Cin and Cf charged to
VDASC(kT-T/2) and Vi1(kT-T/2) 2) During f1
Cin and Cf connected to Vi and ground, voltage gt
Vi(t) 3) At tkT Switch opens, capacitor
terminals float during f2 gt Relaxation
voltage VCin?VDACS(kT-T/2) and ?Vi1(kT-T/2)
at Ci and Cf during f2 - Additional charge
on Cin transferred to Cf - Net additional
charge on Cf CfVCfCinVCin - Set up linear
charge transfer equation for residue
output - Normalized
9J.P.Keane et.al Digital Background Calibration
for Memory Effects in Pipelined Analog-to-Digital
Converters
Sources of memory effects - Incomplete stage
reset effects - T is chosen long enough to
allow settling to the required accuracy of the
conv - Incomplete settling in f2 gt errors in
interstage gain Gi and DASC gain Ki - Can be
corrected using conventional calibration
techniques - Incomplete settling in f1 causes
memory-effects - Can not be corrected using
conventional calibration techniques - Linear
settling model - Phase f1 from tkT-T/2 to
tkT - ?in and ?f are settling time
constants of Cf and Cin - At the end of f1
- Assuming Vcf(kTT/2)Vi1(kTT/2),
VCin(kTT/2)VDASC(kTT/2)
10J.P.Keane et.al Digital Background Calibration
for Memory Effects in Pipelined Analog-to-Digital
Converters
Sources of memory effects - Incomplete stage
reset effects - Assuming VCf(kTT/2)Vi1(kTT/2
), VCin(kTT/2)VDASC(kTT/2) - Changed
coefficient for Vi(kT) - Gi(1-?f)((1-?f)Cin/Cf
- The gammas, and hence the gain is dependant
on previous output and DASC input.
11J.P.Keane et.al Digital Background Calibration
for Memory Effects in Pipelined Analog-to-Digital
Converters
Sources of memory effects - Opamp sharing
effects - Subsequent stages work in opposite
phases and opamp is only needed in the
amplification phase gt two and two stages
share one opamp. Memory effects due to input
parasitic capacitance and limited gain -
Voltage at the end of amplifying phase
Vm-Vout/a - At the end of f2
VoutVi1(kT-T/2) gt Vm-Vi1(kT-T/2)/a - f1
Cp injects CpVm at summing node of second stage
generating VoutVi2(kT) - Transfer function of
stage 2 during f1 - Normalized form
12J.P.Keane et.al Digital Background Calibration
for Memory Effects in Pipelined Analog-to-Digital
Converters
Sources of memory effects - Opamp sharing
effects - f2 Cp injects CpVm at summing node
of first stage generating VoutVi1(kTT/2) -
Transfer function of stage 1 during
f2 - Normalized form - Output
of stage 1 depends on previous output of stage 2
13J.P.Keane et.al Digital Background Calibration
for Memory Effects in Pipelined Analog-to-Digital
Converters
Sources of memory effects - Opamp sharing
effects - Only odd stages have memory
effect - Even stages have an interstage gain
error - Model for opamp sharing memory
effects - Can be constrained within one
stage - Equivalent model for ADC transfer
function given when
14J.P.Keane et.al Digital Background Calibration
for Memory Effects in Pipelined Analog-to-Digital
Converters
Linearity error due to memory effects First
summarize the memory effects described in stage
transfer function ?i and di correspond to
memory effects ?f and ?in resp. Can often
be assumed equal for mentioned memory effects
15J.P.Keane et.al Digital Background Calibration
for Memory Effects in Pipelined Analog-to-Digital
Converters
Linearity error due to memory effects - Now, we
can find nonlinearity due to memory effects by
tracing recursively from the final stage output
(XN(z)) to the output signal of the input SHA
(X0(z)). - First terms is linear filtering,
second term is non-linear error, containing a
weighted sum of past stage decisions. - Past
decisions are correlated with the input.
16J.P.Keane et.al Digital Background Calibration
for Memory Effects in Pipelined Analog-to-Digital
Converters
Simulation of memory error effect on INL in
otherwise ideal ADC 12b LSB-level, 95 of full
scale sinus in a) ?i and di 0.005 for first
stage only b) ?i and di 0.005 two first
stages c) ?i and di 0.005 all stages Memory
error dominated by second stage
17J.P.Keane et.al Digital Background Calibration
for Memory Effects in Pipelined Analog-to-Digital
Converters
Background calibration for memory effects A)
LMS-method using parallel ADC
18J.P.Keane et.al Digital Background Calibration
for Memory Effects in Pipelined Analog-to-Digital
Converters
LMS-method using parallel ADC - Parallel
reference ADC operating at 1/M of main ADC
speed - Ref. ADC is low-power, low-speed high
linearity (e.g. delta-sigma) - Error-signal en
is an estimate of main-ADC nonlinearity - Used
in a negative feedback loop that adjusts the
calibration to minimize the mean-square value
of the error - Digital calibration block
performs - Where are estimates of
the ideal weights wi LMS-algorithms gives
19J.P.Keane et.al Digital Background Calibration
for Memory Effects in Pipelined Analog-to-Digital
Converters
LMS-method using parallel ADC - Output with
memory effect rewritten - Since Q is
unknown, appropriate expression to correct for
mem.errors - To find the estimation
coefficients for wi,k we apply the
LMS-algorithm - µi,k is a small number chosen
as compromise between tracking speed and
steady-state variation
20J.P.Keane et.al Digital Background Calibration
for Memory Effects in Pipelined Analog-to-Digital
Converters
LMS-method using parallel ADC - In direct form,
i1 coefficients are needed for stage i. - Total
number of coefficients for N-stage ADC -
Since later stages contribute very little, only L
first stages are calibrated - Removing
quantization terms similar to the previous
example yields
21J.P.Keane et.al Digital Background Calibration
for Memory Effects in Pipelined Analog-to-Digital
Converters
LMS-method using parallel ADC - Now the number
of coefficients is reduced to - Drawback
Converged value of coefficients will be dependent
on input PDF. - Good calibration relies on
the input varying over many possible levels to
provide different decisions for all din and
hence estimation of all wi - Input signal
waveform with uniform distribution over full
signal range is preferable. - Convergence
time is fastest when input signal is
correlated - Input signal waveform with
discrete distribution is preferable.
22J.P.Keane et.al Digital Background Calibration
for Memory Effects in Pipelined Analog-to-Digital
Converters
Background calibration for memory effects B)
Calibration using DAC dithering and stage
redundancy
23J.P.Keane et.al Digital Background Calibration
for Memory Effects in Pipelined Analog-to-Digital
Converters
Calibration using DAC dithering and stage
redundancy Interstage gain estimated by randomly
dithering DASC input Stage input
estimate Estimate of mi1/Gi Estimate of
error in coefficient Scale of dither signal
determines amount of information about errors in
present in Limits tracking speed
24J.P.Keane et.al Digital Background Calibration
for Memory Effects in Pipelined Analog-to-Digital
Converters
Calibration using DAC dithering and stage
redundancy - Extend model to include interstage
error and memory effect. - Signal flow -
Generally ?idi - If opamp-sharing, di0
and
25J.P.Keane et.al Digital Background Calibration
for Memory Effects in Pipelined Analog-to-Digital
Converters
Calibration using DAC dithering and stage
redundancy - Stage transfer function - In
time-domain - Then, calibration expression
becomes
26J.P.Keane et.al Digital Background Calibration
for Memory Effects in Pipelined Analog-to-Digital
Converters
Calibration using DAC dithering and stage
redundancy - After some algebra, we get -
Where - If the error signal is uncorrelated
and spectrally white, we get - And the
coefficient update equation is given by
27J.P.Keane et.al Digital Background Calibration
for Memory Effects in Pipelined Analog-to-Digital
Converters
Calibration using DAC dithering and stage
redundancy In words - The ADC error due to
memory effect are proportional to the previous
value of the stage residue. - Random
dithering of DASC causes the mean value of the
stage residue to change by Kirin -
Adjusting the coefficient as given forces the
stage input estimate to be uncorrelated with
the previous stage residue, overcoming the memory
effect. - The different dither signals rin
must each be uncorrelated with each
other.
28J.P.Keane et.al Digital Background Calibration
for Memory Effects in Pipelined Analog-to-Digital
Converters
Simulation results - 6-stage pipeline ADC -
2.5b stages with 6 ADSC levels - Gi4 - Final
stage is 4b flash - When simulating dither
calibrated ADC, each stage has 7 ADSC levels and
16 DASC levels to accomodate overhead needed for
dither signal - Memory effect with ?idi0.005
in both cases. - Mean interstage gain error of
-1 also introduced - Calibration of first five
stages
29J.P.Keane et.al Digital Background Calibration
for Memory Effects in Pipelined Analog-to-Digital
Converters
30J.P.Keane et.al Digital Background Calibration
for Memory Effects in Pipelined Analog-to-Digital
Converters
31J.P.Keane et.al Digital Background Calibration
for Memory Effects in Pipelined Analog-to-Digital
Converters
- LMS algorithm gives best results - LMS
algorithm has fastest tracking - Dither algorithm
is independent of input signal statistics -
Dither algorithm does not require highly linear
refrerence DAC.
32J.Ming, S.Lewis An 8-bit 80-Msample/s Pipelined
Analog-to-Digital Converter With Background
Calibration
Outline An 8-bit 80Msample/s pipelined ADC uses
monolothic background calibration to reduce the
nonlinearity caused by interstage gain errors
33J.Ming, S.Lewis An 8-bit 80-Msample/s Pipelined
Analog-to-Digital Converter With Background
Calibration
Introduction and review - Stage with k-bit ADSC,
k-bit DASC and SHA with gain G. - Internal
resolution greater than output resolution to
introduce redundancy - Overcome effects of
comparator and SHA offset. - Accuracy
limitations stem from linearity of DASC and gain
accuracy of SHA.
34J.Ming, S.Lewis An 8-bit 80-Msample/s Pipelined
Analog-to-Digital Converter With Background
Calibration
Introduction and review - Conventional SHA -
With infinite gain and perfect capacitor matching
G2 - Gain error due to mismatch, limited gain
and incomplete settling - Proposed algorithm
corrects all these.
35J.Ming, S.Lewis An 8-bit 80-Msample/s Pipelined
Analog-to-Digital Converter With Background
Calibration
Interstage Gain-Error Compensation - Interstage
gain-error transformed to ADC gain error by
moving GE to output of DASC - Effect is
eliminated in model if VR1VR2/GE - Proposed
algorithm calibrates gain error by adjusting DASC
reference voltages during the normal operation
of the ADC
36J.Ming, S.Lewis An 8-bit 80-Msample/s Pipelined
Analog-to-Digital Converter With Background
Calibration
Interstage Gain-Error Compensation - RNG
produces random, while calib signal Ni1 for
all I - Converted with 1-bit DAC and added to
stage input - Multiplied by GD1 and quantized
at the back end ADC2 - DAC1 reference Vn
digitized by slow-but-accurate ADC - Result is
multiplied with Ni and subtracted from ADC2
output - Producing error signal ei - Error
signal ei is multiplied with Ni, scaled by µ
and accumulated. - Accumulator output control
DAC2 to set reference voltage VR1
37J.Ming, S.Lewis An 8-bit 80-Msample/s Pipelined
Analog-to-Digital Converter With Background
Calibration
Interstage Gain-Error Compensation - Accumulator
input averages to N2 - The NVin product part
averages to zero since they are uncorrelated -
If slow-but-accurate ADC and ADC2 are ideal -
To set the average accumulator input to zero, the
loop adjusts VR1_average until ec_average 0,
which gives
38J.Ming, S.Lewis An 8-bit 80-Msample/s Pipelined
Analog-to-Digital Converter With Background
Calibration
Interstage Gain-Error Compensation - In
practice, random fluctuation occur around
VR1_average - Can be made arbitrarily small by
reducing step-size µ - Also assures stability
of the loop - Injection of calibration signal
must not saturate ADC2 - VnVR2/4 chosen along
with GD11 - Amplitude is half the correction
range of ADC1, leaving headroom for comparator
offset etc
39J.Ming, S.Lewis An 8-bit 80-Msample/s Pipelined
Analog-to-Digital Converter With Background
Calibration
Effect of non-linearity in the back-end ADC -
Back-end measure the calibration signal injected
into first stage - Comparator offset -
Digital redundancy and correction -
Input-referred offset - Has little effect on
loop convergence as it is whitened by Ni -
Gain-error in first backend interstage
amplifier - G2?2
40J.Ming, S.Lewis An 8-bit 80-Msample/s Pipelined
Analog-to-Digital Converter With Background
Calibration
Effect of non-linearity in the back-end ADC -
Gain error in first backend interstage
amplifier. - Case 1 Vresi has a value such
that adding cal.sig. does not change D2 - The
calibration signal appears entirely in VG2 -
Change in VG2 Ni1/2LSBG2 - Case 2
Vresi has a value so that adding cal.sig.
changes D2 one code - The noise appears in
combination of D2 and G2 - Change in VG2
-Ni1/2LSBG2 - Combining the two cases
equal cancels out average error caused by G2 -
Given by shaded regions in figure - Calibration
is only done when the signal is in these regions.
41J.Ming, S.Lewis An 8-bit 80-Msample/s Pipelined
Analog-to-Digital Converter With Background
Calibration
Prototype implementation - 0.5µm CMOS - 1.5b
stages - Calibration of two first stages - VR1
adjusted with respect to VR2 - Delta sigma
slow-but-accurate-ADC - 7b DAC for reference
voltage control - µ2-21 - 0.25pF sampling cap,
54dB open-loop gain, 0.1 settling
42J.Ming, S.Lewis An 8-bit 80-Msample/s Pipelined
Analog-to-Digital Converter With Background
Calibration
43J.Ming, S.Lewis An 8-bit 80-Msample/s Pipelined
Analog-to-Digital Converter With Background
Calibration