Professional Documents
Culture Documents
A Simulation and Modeling Environment Fo PDF
A Simulation and Modeling Environment Fo PDF
74
Out
CMSB = 2(N-1)C
Out
Cpar
(N-1) (N-2)
2 Cu 2 Cu 4Cu 2Cu Cu Cu Cpar
DN DN-1 D3 D2 D1 (N-2) (N-2)
VREF,P 2 C 2C C C 2 C 2C C C
VREF,N DMSB,N DMSB,2 DMSB,2 DMSB,1 DN-1 D2 D1
VREF,P
Fig. 1: Schematic of a N-bit CBW array. VREF,N
affecting the unit capacitor. The effect of the parasitic capac- Cpar,main Catt
itances Cpar,i can be considered deterministic, depending on Cpar,sub
Out
layout inaccuracies, capacitor geometry and wirings. On the
contrary, the capacitor mismatch can be modeled as a Gaussian 2(m-1)Cu 2Cu Cu 2(l-1)Cu 2Cu Cu
distribution of the unit capacitor value with a mean equal to Dl+m Dl+2 Dl+1 Dl D2 D1
VREF,P
the nominal capacitance, Cu , and a standard deviation equal VREF,N
to [10] √
Cu kc cspec ·Cu Fig. 3: Schematic of a (m + l)-bit BWA array.
σC = √ = kc · , (2)
2A 2
kc , Cu , A and cspec being the Pelgrom mismatch coefficient,
This DAC topology features an improved switching ef-
the unit capacitance, the area and the specific capacitance,
ficiency [12] and also a reduced impact of the capacitors
respectively. In presence of mismatch or parasitics, the DAC
mismatch. In fact, the maximum standard deviation of DNL √
output voltage levels differ from their ideal values being not
and INL, which still occurs at the mid-code, is a factor 2
equally spaced and determining a nonlinearity in the ADC
lower than in the CBW array topology [7] being
input-output characteristic. Another important parasitic in the
charge-redistribution array is the stray capacitance connected N −1 σC
σDN L,SBW = 2 2 · (5)
to top-plate node of the array to a fixed voltage node, e.g. Cu
N −2 σC
Cpar in Fig. 1. This parasitic capacitance causes a gain error σIN L,SBW = 2 2 · . (6)
in the converter characteristic but in some ADC topologies [5] Cu
it can also affect the converter nonlinearity. These relations are referred to a single-ended√configuration
while a fully-differential topology is a further 2-factor less
A. Conventional Binary Weighted Array (CBW) sensitive to mismatch. Moreover, as in the CBW array, only
the parasitics connected between top- and bottom-plate nodes
The classic binary weighted array [6], depicted in Fig. 1, is of each array capacitor limit the converter nonlinearity.
the most common topology, its linearity being affected only
by the mismatch and parasitic capacitances connected between
the top- and the bottom-plate nodes of each capacitance block, C. Binary Weighted Array with Attenuation Capacitor (BWA)
Ci . The statistical DNL and INL depend on the technology A single-ended BWA array [13] is shown in Fig. 3. An
mismatch and vary with the output code. In a single-ended attenuation capacitor Catt divides the DAC into two binary
configuration, the maximum standard deviation of the DNL weighted arrays, main- and sub-DAC, of m and l capacitors,
occurs in correspondence of the converter mid-code, being [5], respectively. In this work, we’ll refer to the architecture shown
[7] N σC in Fig. 3, with the same number of bits in the main- and
σDN L,CBW = 2 2 · , (3) sub-DAC (i.e. m = l = N/2) and Catt = Cu , which has
Cu
been shown to be the most energy efficient [5] among all the
while the correspondent INL maximum standard deviation is
possible choices. For the same unit capacitance, this topology
σC
σIN L,CBW = 2 2 −1 ·
N
. (4) is more sensitive to capacitor mismatch with respect to CBW
Cu and SBW arrays because of the reduction of the overall DAC
In a fully-differential
√ configuration, these results have to be capacitance. In fact, the maximum σDN L and σIN L are
divided by a factor 2 [11]. 3N σC
In this array topology, the parasitic capacitance related to the σDN L,BW A = 2 4 · (7)
Cu
top-plate node, Cpar , causes a difference between two adjacent σC
σIN L,BW A = 2 4 −1 ·
3N
(8)
output voltage levels to be smaller than the nominal value. This Cu
turns into a gain error without affecting the converter linearity. N
which are a factor 2 4 larger than in the conventional topology.
As far as the parasitic effect, the linearity is degraded also by
B. Split Binary Weighted Array (SBW) the stray capacitance connected to the top-plate node of the
The split DAC topology [12] is shown in Fig. 2. It consists sub-DAC, Cpar,sub in Fig. 3, which determines a dependence
of a binary weighted array where the MSB capacitor imple- on the input code of the DAC output voltage, while the
ments a binary weighted sub-array that perfectly reflects the parasitic capacitance connected to the main-DAC, Cpar,main ,
structure of the remaining banks. only affects the converter gain [5].
75
Fig. 4: Screenshot of the Graphic User Interface.
III. CSA MATLAB S IMULATION TOOL where FSR is the full scale range of the converter and H, as
shown in Fig. 5, is the scalar product
The proposed simulation platform (CSAtool, Charge-
1
redistribution SAR ADC tool) is implemented in MATLAB H= ×C̄×D̄′ (10)
and allows to evaluate the linearity, either static and dynamic, Ctot + Cpar
and the array power consumption of each array topology. Both where Ctot is the total capacitance of the array, Cpar the
statistical and deterministic effects due to capacitor mismatch parasitic capacitance shown in Fig. 1, C̄ the vector of the
and parasitics can be taken into account once evaluating the array capacitances Ci (see (1)) and D̄ the vector of the digital
ADC performance. The tool provides a graphic user interface word updated at each conversion cycle,
(GUI) which is shown in Fig. 4. A behavioral model is defined [ ]
for each array topology and for a number of bits from 6 to 14. C̄ = C1 . . . CN (11)
[ ]
The model does not simply implement the known equations D̄ = D1 . . . DN (12)
that estimate the nonlinearity (maximum standard deviation
The digital word D̄, which encodes the DAC output levels at
of DNL and INL) and the average power consumption of the
each conversion step, is determined by the adopted switching
different topologies. It reproduces the behavior of a specific
algorithm. By means of (10), (11) and (12), it is possible to
circuit architecture, which is described by functional capacitive
compute the ADC conversion characteristic.
blocks, including the effects of mismatch and parasitics (see
Fig. 5). The simulations can be performed with a high degree
of customization, giving the possibility to accurately evaluate B. SBW model
the impact of mismatch, through both single or multiple The simple model described in the previous section can
statistical runs, and also of the parasitics of each specific be extended to the SBW architecture of Fig. 2. The MSB
array capacitor, thus representing a suitable alternative to capacitor is implemented as a sub-array and the switching
Cadence MonteCarlo and post-layout simulations. This section scheme differs from the conventional algorithm [12]. Thus,
is devoted to the description of the different converter models the DAC output voltage can be expressed as
that are implemented in the proposed tool. DACout,SBW = F SR · (HM SB + H1,M SB−1 ) , (13)
HM SB and H1,M SB−1 being coefficients related to the MSB
A. CBW model and the residual capacitance array, respectively,
In a generic SAR ADC, the analog-to-digital conversion is 1 ′
effectively performed by comparing the input analog voltage HM SB = × C̄M SB × D̄M SB (14)
Ctot + Cpar
signal with subsequent voltage levels generated by the capac- 1 ′
itive DAC. For a N-bit converter, the input signal is compared H1,M SB−1 = × C̄1,M SB−1 × D̄1,M SB−1 . (15)
Ctot + Cpar
with N successive DAC output levels. In a conventional binary
weighted topology, the DAC output voltage at each conversion Thus, the conversion voltage level is set by two different
step can be written as N-bit words, D̄M SB and D̄1,M SB−1 , and two vectors of
capacitances, C̄M SB and C̄1,M SB−1 , related to the MSB sub-
DACout,CBW = F SR · H (9) array and to the residual array, respectively.
76
Input Mismatch
(Yes / No) Options
Parasitics
(Yes / No) Output
Oversampled
A/D
VREF,P , VREF,N Characteristic
Sinusoid
N runs
None
N
Parasitics Parasitics
Models
Y
module
A/D
Switching D1-2 N
transition levels ADC
Topology
+
algorithm
DACout
ideal
Nbit DAC
Complete
Basic Array H(code)
+
Array + Structure
+
Structure
Cu C DNL/INL
FFT
Y N (SNDR, ENOB)
Tech Parameters
kc, cspec None
C. BWA model i.e. kc and cspec . This simple modeling approach allows to
As for as the BWA topology concerns, two equal capacitive accurately take into account the effects of mismatch and
arrays must be considered: the main-DAC, which is connected stray capacitances, which affect the converter linearity. The
to the MSB switches, and the sub-DAC, related to the least tool allows to run both nominal and statistical simulations in
significant bits. Let us indicate as Ctot,main and Ctot,sub to order to accurately evaluate the DNL and INL taking into
the overall capacitance of the main-DAC and of the sub- account at the same time capacitor mismatch and parasitic
DAC, respectively, and as Cpar,main and Cpar,sub the parasitic effects. The tool also allows to estimate the degradation of
capacitance at the top-plate node of the corresponding DAC both SNDR and ENoB due the converter nonlinearity. These
(see Fig. 3). Due to the presence of the attenuation capacitor, two parameters are evaluated by feeding the real ADC with an
Catt , the sub-DAC contribution to the overall DAC output oversampled sinewave of variable amplitude and re-converting
voltage is reduced by an attenuation factor AR, the digital output signal to an analog waveform by means
of an ideal DAC. Hence, the signal-to-noise ratio and the
Catt
AR = , (16) effective number of bits are evaluated by performing a FFT
Ctot,main + Cpar,main + Catt on the DAC output. Both SNDR and ENoB can be estimated
Ctot,main being the total capacitance of the ideal main-DAC, while considering both deterministic parasitic effects and the
while Cpar,main is the parasitic capacitance connected to the contribute of statistical capacitor mismatch on multiple runs.
top-plate node of the main array. Thus, the DAC output in the Thus, CSAtool allows to obtain results accurate enough to be
BWA topology is evaluated as compared with post-layout and MonteCarlo simulations in Ca-
dence Virtuoso environment but with a large improvement in
DACout,BW A = F SR · (Hmain + AR·Hsub ) , (17) terms of simulation time. In this section, the simulation results
for the three converter topologies are shown and compared
where Hmain and Hsub are coefficients related to the main-
to both analytic expressions and Cadence results in terms of
and sub-DAC,
accuracy and simulation time. The presented results are related
1
Hmain = ′
× C̄main × D̄main (18) to converters featuring a 20-fF 2MiM unit capacitor with a
Ctot,main + Cpar,main + Catt specific capacitance of 1f F/µm and a Pelgrom coefficient
1 ′ of 1% · µm.
Hsub = × C̄sub × D̄sub . (19)
Ctot,sub + Cpar,sub + Catt
where C̄main , C̄sub , D̄main and D̄sub are the capacitance and A. Static metrics
digital output code vectors related to the main- and the sub- The estimate of parasitic contribution to static non-linearity
DAC, has been evaluated by means of the CSAtool and compared
[ ] with Cadence Virtuoso simulation results. A single-ended SAR
C̄main = C N +1 . . . CN (20)
[ 2
] ADC has been designed in Cadence Virtuoso adopting a
C̄sub = C1 . . . C N (21) VerilogA description for the logic circuit and the comparator,
[ 2
]
D̄main = D N +1 . . . DN (22) while the feedback DAC has been implemented with ideal
[ 2
] capacitors. Arbitrary parasitic capacitances have been added
D̄sub = D1 . . . D N . (23)
2 between the main capacitor top- and bottom-plate nodes in
order to estimate their effect on the converter nonlinearity.
IV. S IMULATION R ESULTS Hence, the input-output characteristic has been evaluated by
The CSAtool implements in MATLAB the three above- means of a transient simulation applying a full-scale ramp as
mentioned converter topologies by considering each array input signal. To reduce the simulation time, only the converter
capacitor as a composition of unit elements, Cu , each with input and output values have been saved. The strobe and the
its own variability that depends on technologic parameters, sampling periods have been chosen short enough to guarantee
77
CBW
70
1.0 1.0
60 CBW
SNDR [dB]
0.5 0.5
DNL
INL
0.0 0.0 50
-0.5 -0.5
40 CSAtool
-1.0 -1.0 Cadence
30
SBW 20
1.0 1.0
0.5 0.5
70
DNL
INL
SNDR [dB]
0.0 0.0 60 SBW
-0.5 -0.5
50
-1.0 -1.0
40
CSAtool
BW A
30 Cadence
1.0 1.0
0.5 0.5
20
INL
DNL
0.0 0.0 70
SNDR [dB]
-0.5 -0.5
60 BWA
-1.0 -1.0
0 256 512 768 1024 0 256 512 768 1024
50
Code Code
40
Fig. 6: Comparison between DNL and INL estimated by Cadence simulations 30
CSAtool
Cadence
(black lines) and by CSAtool (red lines) for a given pattern of parasitic
20
capacitances and for each converter topology. -35 -30 -25 -20 -15 -10 -5 0
CBW
Fig. 8: SNDR as function of the input signal amplitude for the three converter
0.06 0.03
topologies.
0.05
(DNL)
(INL)
0.04 0.02
0.03
0.02 0.01
0.01
0.00 0.00
B. Dynamic metrics
SBW
The dynamic metrics have been computed in the CSAtool
0.06 0.03
0.04 0.02
(INL)
BWA
in the previous section. The input signal is a sinewave at 1-
0.3 0.15 kHz frequency but featuring a variable amplitude, while the
0.12
sampling rate has been set to 30 kHz.
(DNL)
(INL)
0.2
0.09
0.1
0.06
0.03
Fig. 8 shows the SNDR evaluated by means of Cadence
0.0
0 256 512 768 1024
0.00
0 256 512 768 1024
Spectre simulations and CSAtool as function of the input
Code Code signal amplitude (referred to the full scale range) for the three
Fig. 7: Standard deviation of DNL and INL as a function of the output code converter topologies. The maximum discrepancy between the
for a CBW, SBW and BWA 10-bit converter. Cadence and CSAtool results is always lower than 0.45 dB.
However, it’s worth pointing out that the CSAtool allows to
easily compute the SNDR vs. input amplitude curve, while
the same simulations in Cadence takes a long time allowing
at least 100 points per each conversion level, thus keeping to compute only few points of the dynamic characteristic. This
the systematic error on the DNL below 1%. Fig. 6 shows the can results in a not correct evaluation of the SNDR peak and
comparison between the DNL and INL characteristics obtained thus of the ENoB.
by CSAtool and Cadence Spectre simulations for the three
converter topologies affected by parasitics extracted in Assura.
The error between the CSAtool and Cadence results is never C. Power consumption
larger than 0.05 LSB, confirming the good accuracy of the The models implemented in the CSAtool allow to evaluate
implemented converter models. the array switching energy as function of the output code.
Fig. 7 shows the results obtained by the CSAtool once the Fig. 9 shows the average switching energies as function of
capacitor mismatch has been considered in terms of standard the number of bits for the three considered single-ended arrays
deviation of DNL and INL. Since a MonteCarlo simulation evaluated by means of the analytic expressions [5],
performed in the Cadence environment requires at least 100 [ ]
Eave,CBW ∼
2
runs to achieve confident results, thus being impractical, the = 0.66 · 2N Cu (VREF,P − VREF,N ) (24)
[ ]
effect of capacitor mismatch has been compared to the analytic Eave,SBW ∼
2
= 0.41 · 2N Cu (VREF,P − VREF,N ) (25)
expressions by using (3), (4), (5) and (8). Table I compares the [ ]
Eave,BW A ∼
2
maximum values of DNL/INL standard deviation, i.e. σDN L = 1.25 · Cu (VREF,P − VREF,N ) . (26)
and σIN L , computed by the CSAtool running 100 simulations
and the estimates obtained by the analytic expressions. The The average energy evaluated with the CSAtool for the same
error between estimates and CSAtool results is always lower arrays is also shown in Fig. 9 as symbols, showing a good
than 0.005 LSB. agreement with the theoretical estimates.
78
TABLE III: M ONTE C ARLO SIMULATION TIMES FOR 100 RUNS
) ]
2
10k
REF,N
Analytic expressions
CBW
-V
CSA Tool
SBW
Resolution Static metrics Dynamic metrics
REF,P
1k 6 2.13s 160s
Switching Energy [C (V
u
BWA
8 6.491s 172s
79